Forked from ThEMarD/gist:f3df65b91c8cf58c685a70b044060d7e
Created
March 2, 2022 14:09
-
-
Save laleeroy/e052b5138357905fcf2e3ffa8cd278cf to your computer and use it in GitHub Desktop.
Older method to doing perfect kangs with extract-files.sh script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create a dummy folder to Kang blobs like | |
device/dummy/dummy | |
Then copy proprietary-files.txt, extract-files.sh and setup-makefiles.sh from any device. A device that doesn't use a shared commonized device tree does make it easier. | |
Rename the stuff in the two .sh files to dummy as vendor and device name. | |
Update necessary proprietary-files in dunmy device tree for kang | |
Then do... | |
./extract-files.sh *location of new blobs* | tee ~/Desktop/extractor.log | |
(I like to tee to review the extract worked) | |
In my example, I'll use the LeEco Le Max 2 (x2), so I would then copy the current LeEco msm8996-common and then x2 blobs to desktop in a folder named /system | |
Make sure the device's and/or commonized device proprietary-files are updated with the same blobs from your kang. | |
Then open terminal in the device tree and... | |
./extract-files.sh ~/Desktop | tee ~/Desktop/extractor.log | |
Check extractor.log to ensure it worked ok |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment