
Originally Posted by
chris420o
thanks for this ima try it out...but i do have a question...i had done the softkeymod on fgummy 6.5 or w.e was before 6.6...now when i flashed 6.6 they were removed so i went and reflashed the same zip i made using the 7zipper app method and it took away the battary bar on the top in gummy 6.6...now im sure it was bc this replaced the framework.apk with the older one i had...now if i was to do this now on gummy 7.7 how can i make sure a situation like that doesnt happen again?...do i have to redo the settings in the 7zip program or im not sure im skeptical to try mods like this now for fear ill ruin mods in the framework done by the rom
If you did the softkeys, and flashing 6.6 erased them, it was because you replaced the old SystemUI.apk with the new one from 6.6. The softkeys are in the SystemUI.apk, not the framework-res.apk.
One way to do it is to take the SystemUI.apk(or any .apk for that matter) out of the rom you want, place the icons in it & flash it like you did before with this blank update.zip: blank_Galaxy_Nexus_update - Minus . Most of the time, it safer to use the .apk's from the newer rom than trying to use ones from the previous one.
Or, if you use ADB, place the SystemUI.apk in the same folder that ADB is on your computer. Then connect your usb cable to the phone, open the command prompt & type this;
Code:
(enter the path to your ADB. Mine is in SDK\tools. So it would look like this)
(press enter after each bold line)
cd C:\SDK\tools
adb devices <--just to make sure ADB sees you phone
adb remount
adb push SystemUI.apk /system/app/SystemUI.apk
adb reboot
Just to be clear, thats for the softkeys. You can do the same ADB commands with the framework-res.apk. The only difference would be the "adb push" part. It would look like this
Code:
adb push framework-res.apk /system/framework/framework-res.apk
Personally I prefer using ADB. But if you have any trouble, just let me know.