• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Help? decompile/recompile framework-res.apk (Stock Deodexed)

Firstly...what size are the pngs in your drawable folder? Those look like xhdpi or larger. Keep on mind to use only drawables or resize drawable for hdpi. Or else you'll run into a lot of issues with spacing and layouts.

Ah ha! Just checked that. I'm sure thats the issue, they're both 216x72! lol. I must have made an error in GIMP, I was using a script to auto generate all xhdpi/hdpi/mdpi/ into folders from a single image. I had it set to custom to avoid it being squished width wise. Needs to be on status bar sizes! Face palm.
 
gOFfrCT.png
It worked! :-D I think I can get away with slightly larger icons. It definitely solved the issue though. Thanks a million! You rock!
 
Oh! I get what you're saying. I'll have to be mindful of that. I think it was just the way I was signing using the Gui version. Doing it the manual way, I just use, apktool b SystemUI then copy and past the original manifest and META over and rebuild once more. With the gui, I was using the gui itself to sign, thus the force close errors when pushing it to the system/app with root browser.

I have no issues with the gui?? Did u install framework??
 
I have no issues with the gui?? Did u install framework??

Yep, always. It won't decompile my SystemUI if I don't. It'll just output a dex file, and nothing else. I wish knew what was up with it, because that thing is sweetness. Saves time for sure. I might mess with it again tomorrow see if I can't get it working. If it works for you, it should work for me. I must be making a user error of some kind. Something that I noticed about it, is that after I install framework, it doesnt let me install SystemUI but gives me the option to decompile it anyways. Don't know if thats normal.
 
Well I tested it again today. It went much better than any previous trial. I didnt get any force close errors, and it runs fine, everything works right, except, it won't load my status bar. Tried a second reboot, still won't show up. (I made no changes to the SystemUI) Just decompiled, recompiled, signed, compiled once more, then zipaligned, used root browser to to move to system/app, set proper permission, renamed it from SystemUI-copy.apk to SystemUI.apk, confirmed overwrite, and rebooted. I'm not sure what I'm doing wrong with it. No luck so far though.
 
Back
Top Bottom