Decompile, change the file, recompile, then take the recompiled XML file, and put it in the original apk
Here's my method for editing the styles.xml.
With apkmanager, decompile, then immediately recompile your framework-res.apk. If you get errors, then you got an issue that you must fix. If you can read the error log, it will tell you what it is. No errors, then continue.
in the projects folder, navigate to the values folder and open the styles.xml with a text editor (I recommend notepad++).
Make the edit that darkie posted above, save, then recompile.
No errors? good, now sign the apk
Go back to the modded, extract the signedframework-res.apk and open your original framework with 7zip. Then copy the resources.rsc from the extracted folder to the same location in the 7zip window.
Note: this is the method that has worked for me
The problem with your method is the changes to public.xml that is compiled into resources.rsc. There was changes made to public.xml for reboot and the 6 lockscreens
Sent from my SPH-D700 using Tapatalk
The problem with your method is the changes to public.xml that is compiled into resources.rsc. There was changes made to public.xml for reboot and the 6 lockscreens
Sent from my SPH-D700 using Tapatalk
Right, I'm talking about using a framework that already has all the mods cooked in, not a stock framework.The problem with your method is the changes to public.xml that is compiled into resources.rsc. There was changes made to public.xml for reboot and the 6 lockscreens
Sent from my SPH-D700 using Tapatalk
He's talking about using a completely stock framework in reference to the method I posted earlier, and how the mods affect the public.xml.Please excuse me on this one, still new in all this but how does editing the styles.xml affect the public.xml?? Specially since I'm just tinkering with srf 1.2 files to get use to everything.
Posted by some phone named the Epic.
He's talking about using a completely stock framework in reference to the method I posted earlier, and how the mods affect the public.xml.
Wow a lot of experts chimed in for you on this one. Good luck.
cd's or tapes?
Cool new banner!Wow a lot of experts chimed in for you on this one. Good luck.
cd's or tapes?
Then it opens up a can of worm in the public.xml dealing with the .9.pngsW: Cant find 9patch chunk in file: "drawable-hdpi/statusbar_background.9.png". Renaming it to *.png.
Did you decompile, then recompile the framework-res.apk before you made any changes? That is a test I ALWAYS run to make sure I don't have other things to fix first.Okay so i finally got around to doing this.
Heres what im running into thats stopping me (using APK Manager):
- Decompile - OK
- Modify Strings.xml - OK
- Compile - This is where i get lost, when i goto the keep folder and delete the resources.rsc file then sign it. there is no new resources.rsc file... what am i doing wrong? Also just to make sure on these two steps that ask you if its a system file and copy over other files, I assume I say YES to both?
EDIT:
ok so i looked into the logs and found this:
Then it opens up a can of worm in the public.xml dealing with the .9.pngs