[Q] Framework-res.apk editing - G3 Q&A, Help & Troubleshooting

Hey guys am doing some Framework-res compiling editing etc. I got everything working great but one small thing. Once installed into a ROM and you go to reboot It seems the shutdown.zip is forced into landscape mode. (Only during shutdown.) Anyone have an Ideas?

Wanna bring this back up and see if anyone knows what this could be or where to look been digging in the framework-res files for a while now.

Related

Hangs at Splash (Was:Rounded corner on taskbar??)

Thanks to prash and *black*silva* for helping below, but I have a new problem/question:
I have made some changes that I want to the akirah3.0 ROM and have manually pushed them via ADB in recovery and it has worked fine with some apps (Launcher, Phone, Contacts, Browser) but when I try to push the new framework-res.apk and reboot, my phone hangs at the T-Mobile G1 splashscreen. Even if I take the original framework-res.apk and unpack, then repack it still hangs. I have tried pushing both an unsigned and a signed apk.
I am able to push the framework-res.apk, android.policy.jar, and services.jar from the blackened theme and it worked fine, so it must be something I am doing, so if anyone has any pointers I'd appreciate it.
Any ideas? Eventually I will put these in an update.zip, but I thought pushing manually would be easier to test.
Code:
I posted this in Q&A yesterday and didn't get any bites. I'm hoping a themer here could help:
I love how some theme's (and Cyan's 4.1.99) have rounded corners on the taskbar. I am attempting to compile a theme for myself and was wondering how this is achieved? I am not seeing anything in the png's that looks like a mask to accomplish this.
Just edit the taskbar image to have rounded corners and fill the rest with black. Its an illusion but since the edges are black it looks smooth.
hmm that seems too easy
I was looking through some themes trying to find the taskbar image that has rounded corners and didn't find any so I figured it was something else.
Did I mention I'm a noob at themeing Clearly I've got more research to do. Thx Prash
edit: Duh, found it. sorry for the clutter
go get 4.1.99 and the extract it then go to system, framework, then extract framework-res.apk, then go to res, then drawable then look for statusbar_background.png thats what you want.
Edit,
sorry didnt notice you found it out already lol.
thx, new problem
Thx prash and *black*silva* I figured it out with your help, but I have a new problem. I added it to the first post and changed the subject title.
framework-res.apk hates to be pushed, the only way i have been able to get it to work is through and update.zip.

Editing a Rom/Theme-How to change dialer and launcher

I have been driving myself crazy trying to get this to work, and after almost 6 hours of no luck, I ve finally just had to ask.
Im basically trying to remove a "feature" of a ROM and add it to another ROM, but without using metamorph. On Clays Reremix of CSDI, he has this little android guy that is in the background on the dialer. Im wanting to move that file over to the original CSDI ROM, but I just cant figure out exactly which files will need to be moved. Is that file stored in the "Phone" apk? Is it just a matter of swapping that apk with the original "phone" apk found in CSDI?
And, Im trying to add the launcher from a theme called Android Plus and move it over to CSDI. I was successful one time in moving the little android dude to the dialer screen, but I havent been successful in changing the launcher ( it always ends in a fc loop after getting past the Google setup). It seems that everytime I sign the zip and flash when Im done, that even with swapped apks, the ROM stays the same.
Is it even possible to accomplish what Im trying to do, or am I simply too much of a n00b to be able to do it?
The easiest thing to do is to push both files using adb. Take both files from Clay's rom and put them where you can find them, plug in your phone to the usb, and use the command:
adb push C://*location*/Launcher.apk /system/app/Launcher.apk
and
adb push C://*location*/Phone.apk /system/app/Phone.apk
That will erase the original launcher and dialer and replace it with the new ones. If you don't know how to use adb, find the thread in the development section and follow that. It's not hard to do.
Or, you can use an app called system app backupper. Backup the apps you want from clays rom, and restore them on csdi.
Awesome! Thanks alot for your help! Btw, Im from Tampa myself. I ve been in Germany for 8 years now. Nice to know we still got the helpful people! j/k
???
If the dialer your talking about is before the call is connected, it's in the Contacts.apk.
thanks for your help!
Thanks RichieDaze, glad I scrolled down...

Need help with APK manager please

Hi guys,
Long time stalker, first time poster.
I am trying to use APK manager to edit some third party app apk's themes.
When i use option 9 to decompile, i try using option 11 to compile again straight away just to see if everything works ok...
If i decompile and change an image in res/drawable hdpi, i always get an error message when i try and compile it again...
Even if i only change one image and then compile it, it will show an error.
Does anyone know why im getting this error?
Thanks for any help you guys can give, its really frustrating!
Does anyone know why?
use the older version of the apktool.jar file. You can get it from his google code page.
Also remember if the image your changing is a 9.png then you need to make sure the all black, and totally clear edges stay that way or else you'll get an error compiling them again.
Another good idea is to post the portion of your log.txt file showing what's causing the error, cause otherwise we're just guessing.
And a final good idea is to ask your question in the apk manager thread. You'll get better support there.

[Q] cant make any changes to framework, help editing apk

this is my first time trying to edit my framework apk. i used apktool, decompiled it, made the changes, recompiled it, then moved the resources file from my brand new apk i just compiled, into the old apk, then flash the old apk... correct? i have tried every single variation of these and cannot get a single change to work. its as if it was never changed at all. im trying to remove my navbar on jbsourcery 3.1, (a 4.1.2 rom) and cant find a single way to do it that works. after 4 hrs of trying every single method i can imagine, reading every guide about apk editing i can find, nothing is working. can someone please help?

Decompiling/Recompiling help

Has anyone been able to successfully decompile/edit/recompile any system apps? I think I managed framework-res.apk, even LGSystemUI.apk ok, but trying to recompile LGTeleService.apk just gives me constant errors (trying to get rid of that insufferable floating bubble that persists on top of the screen while you're on a call). Decompiling looks fine, but recompiling errors. I don't know if I have the wrong framework files or what, but I can't seem to figure it out. Anyone have any luck/tips? Thanks!
itiskonrad said:
Has anyone been able to successfully decompile/edit/recompile any system apps? I think I managed framework-res.apk, even LGSystemUI.apk ok, but trying to recompile LGTeleService.apk just gives me constant errors (trying to get rid of that insufferable floating bubble that persists on top of the screen while you're on a call). Decompiling looks fine, but recompiling errors. I don't know if I have the wrong framework files or what, but I can't seem to figure it out. Anyone have any luck/tips? Thanks!
Click to expand...
Click to collapse
You might want to post what the errors are so we can look.. Without them can't be of much help
Use Apktool 2.0.1
Enviado desde mi LG★G4★H815®
Never mind. Turns out it's a shared library issue. Certain apks on the g4 can't be decompiled properly yet, including LGTeleservice and LGSettings
itiskonrad said:
Never mind. Turns out it's a shared library issue. Certain apks on the g4 can't be decompiled properly yet, including LGTeleservice and LGSettings
Click to expand...
Click to collapse
well that blows. i hate that stupid phone call dialog. absolutely useless when the notification shade has the same damn function
itiskonrad said:
Has anyone been able to successfully decompile/edit/recompile any system apps? I think I managed framework-res.apk, even LGSystemUI.apk ok, but trying to recompile LGTeleService.apk just gives me constant errors (trying to get rid of that insufferable floating bubble that persists on top of the screen while you're on a call). Decompiling looks fine, but recompiling errors. I don't know if I have the wrong framework files or what, but I can't seem to figure it out. Anyone have any luck/tips? Thanks!
Click to expand...
Click to collapse
how to compile and decompile systemui?

Categories

Resources