I recently tried to de-compile and re-compile the framework-res.apk from an AOSP build but when I try to compile (even without modification to test if it was my fault of editing) right after I decompile, it still gives me a huge line of errors. The apk works just fine in my build but I cannot compile it after de-compiling it. Can I get apktool to ignore all errors and continue compiling or do I have to fix the errors in the apk file?
I looked over the line (119) and I did not find anything wrong, except that the line (and many lines after it) have the "%" symbol in them. Could this be causing the errors?
Thanks in advance
Okay so here is my issue. im de-compiling and compiling fine with no errors. but when i push to the phone for instance SysemUI.apk i lose my status bar. i have all my frameworks installed and have used apktool's ranging from 1.3.0 -1.4.3.
Im not changing the apk etither just decompile , compile and push.
The final apk is generally bigger also.
Hi i am trying to perform some mods on framework-res.apk.
I am using deodex I9105PXXUBMI3_I9105POXXBMJ1_I9105PXXUBMI1_HOME that i deodexed using Pandas guide in the other forum.
I can decompile it without problems but when i try to recompile it even without changing anything i get a lot of erros. Tried to update aapt.exe use diffrent version of apktool, apkmanger and so on but still no luck. Searched both the forum and the web for answer but nothing have worked for me.
Tried to run apk if framework-res.apk and same with twframework and tried without.
No luck.
Below is the log and the framework-res.apk file does anyone know why i get this errors.
Framework-res.apk https://dl.dropboxusercontent.com/u/38268704/delat/framework-res.apk
Edit: temporally solved it by adding a + sign before the missing layouts as described here http://forum.xda-developers.com/showpost.php?p=41563695&postcount=31
apperently i did not search well enough. But it feels like it should exist a better solution
UPDATE:
I was able to get apktool running on my Windows partition. After decompiling SystemUI.apk, I was able to find the strings.xml under res/values. But there's now a new problem, which is the fact that all of the quick settings labels here are in the correct cases whereas on the device they display in allcaps. What could be causing this?
Original post:
Currently I'm using an HDC G900F phone (Galaxy S5 clone) running rooted Android 4.2.2, and trying to change some text in the notifications panel quick settings. In the attached image, you can see that all of the toggle labels are in ALLCAPS and some of them have English spelling mistakes. What I want to do is change the text to correct upper/lower cases and correct the spelling errors (also rearrange them, if possible).
As I understand it, I need to modify some files under res/values in SystemUI.apk but the problem is that when I extract SystemUI.apk and decompress it (with Stuffit or any online APK decompiler), there is no "values" folder under res/ and none of the files from any of the SystemUI.apk modding guides I read seem to exist in my apk. What I want to ask is why these files don't seem to exist and what I can do to achieve the above objectives of correcting the toggle labels?
PS. Installing and using apktools on my Mac is not an option. When I run the installer from the Home Directory, it behaves as if apktools is already installed and takes me directly to the main menu but whenever I select any of the menu options, it says that the relevant command is not found, indicating that apktools is not installed. Clearly something has gone horribly wrong somehow here.
UPDATE:
Never mind. I give up.
So far something has gone wrong every step of the way and it's just too much of a hassle. Mac installation failed and won't let me reinstall, Windows installation failed to detect Java, Java reinstallation failed to be recognised by the system, apktool failed to install the framework, apktool failed to decompile the apt, apktool then fails to build the modded apt. Every step I've had to manually fix things and it's simply too much trouble for just changing a few strings of text on my device.
With a track record for having problems absolutely everywhere, I just uninstalled and deleted everything in case the next step blew up my computer or something.
I know the feeling....
Them feels...tho!
I am having some issues getting CM12S apk files decompiled. I am a pretty experienced when it comes to this kind of stuff but for whatever reason I cannot get it to properly function.
I decompile the Settings.apk file from CM12S and all goes well and all, but when I push it to the device it just crashes immediately and displays the generic android icon. It is not the modifications I have done because I have tested just decompiling and recompiling the apk to see if it would work and no luck :/