Framework-res.apk won't compile - LG Optimus 2x

Hi everyone,
it's 3 days I'm trying to edit the framework-res.apk, but I can't make it work either with apkmanager (no errors shown) nor with apktool (here some exception errors). I've even tested the UOT Kitchen but when I flash the archive, it just doesn't run and get struck on the boot loop. Working on MoDaCo Fr16 beta3, any idea of what this could mean?
Thanks in advance,
Tiwiz

use a version 1.3.1 of APKtool instead of 1.3.2

I'll try and update the post if I succed or not
Tiwiz

tiwiz said:
I'll try and update the post if I succed or not
Tiwiz
Click to expand...
Click to collapse
Let us know your progress.

tiwiz said:
Hi everyone,
it's 3 days I'm trying to edit the framework-res.apk, but I can't make it work either with apkmanager (no errors shown) nor with apktool (here some exception errors). I've even tested the UOT Kitchen but when I flash the archive, it just doesn't run and get struck on the boot loop. Working on MoDaCo Fr16 beta3, any idea of what this could mean?
Thanks in advance,
Tiwiz
Click to expand...
Click to collapse
i´ve got the same problem with framework-res.apk from FR17 ...
no matter if i extract, decompile, compile, use UOT kitchten ... after flashing i get bootloop ...
but my themed framework-res.apk took out from fr14 works flawless in fr17 rom .... strange !!!
i don´t know what paul did with framework-res.apk when he updated Norwegian resources in framework-res.apk ...

75markus said:
i´ve got the same problem with framework-res.apk from FR17 ...
no matter if i extract, decompile, compile, use UOT kitchten ... after flashing i get bootloop ...
but my themed framework-res.apk took out from fr14 works flawless in fr17 rom .... strange !!!
i don´t know what paul did with framework-res.apk when he updated Norwegian resources in framework-res.apk ...
Click to expand...
Click to collapse
The problem already started on FR16 because it happened to me since FR16.

Dunno how to ask him, already posted on MoDaCo forum as well... trying to tweet him.
Btw, tried even with new apktool 1.4.1 but nothing, still struck on boot loop.
I'll attach my framework-res, in case someone finds out how to deal with it.
Tiwiz

i tried with apkmanager 1.4.7. , also no success !
UOT kitchen the same ...
i can´t find out what´s wrong ...
folder names have changed (from drawable-hdpi-v4 to drawable-hdpi) but this can´t be the problem or ?
As a workaround, you can use themed framework-res.apk from FR14, it works for me on FR17 ...

75markus said:
i tried with apkmanager 1.4.7. , also no success !
UOT kitchen the same ...
i can´t find out what´s wrong ...
folder names have changed (from drawable-hdpi-v4 to drawable-hdpi) but this can´t be the problem or ?
As a workaround, you can use themed framework-res.apk from FR14, it works for me on FR17 ...
Click to expand...
Click to collapse
Could you post a working framework-res.apk? I'd try to use it on the kitchen and see if it works. Tweeted to Paul twice about this bug, but no answer yet.
Tiwiz

Tell me what modifications you want to apply and i'll upload the one i compiled. Then someone needs to test if it works cuz i dont have an o2x (maybe i will in the future)...
Sent from my GT-I9000 using Tapatalk

I'd just need a basic (LG version) framework-res.apk that surely works, but I can't find it anywhere... in case, I can test yours, if you like
Tiwiz

Fix builded framework-res.apk
Hi guys,
I got same problem. I fix it by these steps after compiling with apktool 1.3.1 is done.
1. Open original framework-res.apk file in 7zip.
2. Open compiled version of framework-res.apk from dist folder in 7zip.
3. Drag & Drop META-INF and AndroidManifest.xml from original into compiled.
That's all. Now compiled version is fixed & signed. This extra step works for me.

Can't get it work... could you take a look to mine? I can't understand what's wrong with it :-S
I'll post both mine and the original apk from MoDaCo's Kitchen.
^^ Link ^^
Tiwiz

tiwiz said:
Could you post a working framework-res.apk? I'd try to use it on the kitchen and see if it works. Tweeted to Paul twice about this bug, but no answer yet.
Tiwiz
Click to expand...
Click to collapse
take this one, it works with UOT Kitchern and you can apply without bootloop in FR18
orig.framework_MoDaCo_fr14

What worked for me is this:
Compile a theme using the upload of the framework-res.
Then when it is ready replace the update-binary, and insert the lge-res.apk in the same map as framework-res. Do this with a program like winrar.
It was a pain in the butt getting there for a newbie like me.
files you need are in this rar:
http://www.megaupload.com/?d=I46AAQA6
My theme as a example:
http://www.megaupload.com/?d=HKZBEFHX

JJnJ said:
What worked for me is this:
Compile a theme using the upload of the framework-res.
Then when it is ready replace the update-binary, and insert the lge-res.apk in the same map as framework-res. Do this with a program like winrar.
It was a pain in the butt getting there for a newbie like me.
files you need are in this rar:
http://www.megaupload.com/?d=I46AAQA6
My theme as a example:
http://www.megaupload.com/?d=HKZBEFHX
Click to expand...
Click to collapse
Compiling framework-res.apk using your method still gives me bootloops. So it doesn't really work.

Related

Help, any alternative to apktool

Hi can anyone suggest an alternative tool for apktool. It just doesn't work for me. Whatever I do either gives compiling errors or just a bootloop. Thanks guys.
It's nice to know I'm not the only one. Anything past extract optimize and zip is useless for me. I have never had it actually compile an .apk without an error.
I'm having serious problems compiling the framework-res from a CM6.1 based ROM. It decompiles fine, but won't recompile I get hundreds of errors about missing referances.
I only wanna edit a few XML's :sad:
Sent from my HTC Hero using Tapatalk
l0st.prophet said:
I'm having serious problems compiling the framework-res from a CM6.1 based ROM. It decompiles fine, but won't recompile I get hundreds of errors about missing referances. I only wanna edit a few XML's :sad: Sent from my HTC Hero using Tapatalk
Click to expand...
Click to collapse
Which xmls do you want to edit, and what are you wanting to change?
dean.d said:
Which xmls do you want to edit, and what are you wanting to change?
Click to expand...
Click to collapse
Thanks for replying, but I worked it out. I had some dodgy .9.png's that were breaking the compile, so I just had to remove them before compiling.
For anyone else having trouble, check the logs after you decompile to see if there are any messages about .9.pngs. If there are, remove them from the decompiled folder, compile when you are finished, then just add the .9.png's back in afterwards with WinRAR.
I was tryna change the color of the text and the border in the bottom popup menu for my Gingerbread theme
l0st.prophet said:
Thanks for replying, but I worked it out. I had some dodgy .9.png's that were breaking the compile, so I just had to remove them before compiling.
For anyone else having trouble, check the logs after you decompile to see if there are any messages about .9.pngs. If there are, remove them from the decompiled folder, compile when you are finished, then just add the .9.png's back in afterwards with WinRAR.
I was tryna change the color of the text and the border in the bottom popup menu for my Gingerbread theme
Click to expand...
Click to collapse
The reason that happens is the original "dev" who themed the framework did not decompile/modify/recompile. He merely dragged and dropped the modified .9.png
Hence when u decompile, apktool cannot find the necessarry data within resources.arsc to decompile the .9.png and hence when u go to recompile, it complains. Ur safest bet is to always decompile an apk as close to stock as possible.
Where do you place your framework-res.apk I placed mine in the platform tools folder but apktool can not find it

[Q] Edit control bar colours

How can I edit the control bar ?
Any help would be appreciated.
I can provide you whatever you need from the ROM.
Thanks !
Anyone ? .
I have no idea about you r phone...but they are 9.png´s and probably in framework-res.apk.
I've searched everything in framework-res.apk but I cannot find them anywhere.
what´s your Rom?
Void ROM. Do you want me to upload something ?
badeaioan said:
Void ROM. Do you want me to upload something ?
Click to expand...
Click to collapse
yeah, framework-res.apk
Here you go.
Thank you !
u use a theme?..cause the battery icon is different..
Yes, I have modified it using the online theme kitchen.
Only the notification bar is modified.
ok.
It´s all in frameworks... but as you use kitchen, I dont know how about applying a morph over it, never tried kitchen......I would use default "void" framework and apply a morph for all your changes.
I can extract the original framework-res.apk from the void ROM. Can you do something with it ?
badeaioan said:
I can extract the original framework-res.apk from the void ROM. Can you do something with it ?
Click to expand...
Click to collapse
do morphs work on your Rom?
Haven't tried any morph yet. Any way I could check ?
Here is the original framework.
yes, take a morph for your phone and try it..a framwork morph would be good.
Sorry to say but there are none morphs for my phone. It is pretty new in this area.
Where have you found them in the framework ? Can't I modify it and then repack + sign the framework ?
Test Morph_DarkX
ok...if this test morph works on your default framework-res.apk (not kitchen!)..you can start to theme
- put "DarkX.zip" in /sdcard/AndrodThemes/
- apply with MetaMorph (app from Market)
It gets stuck at Applying framework-res.apk.
badeaioan said:
It gets stuck at Applying framework-res.apk.
Click to expand...
Click to collapse
- You got Void's default framework-res.apk ?
- Applied DarkX.zip with MetaMorph?
Sent from my Nexus One

[Q] Milestone2 2.3UI framework-res.apk

I just edit the framework-res.apk for my milestone2,
it have a black status bar now
but the text-color still black,I try deodex the services.odex ,edit it and smali
insert classes.dex into services.jar
adb push services.jar /system/framework
but it doesn't work... and cann't boot~~
what's the right way to deodex it?
I'm having problems deodexing too...
I used dsixda's Android Kitchen to deodex the framework from my system.img (created a blank boot.img to be able to load the files), but can't deodex android policy and service. They're the only two apks I can't deodex.
Someone could post a tutorial or already patched files.
Sent from my Milestone 2 XDA App
http://forum.xda-developers.com/showthread.php?t=765270
PS: Could a mod put this into Dev Forum of MS2 ? Since deodexing & Framework stuff is less or more developing..
I'm having black bar since the second day of my phone...
so if u don't want to bother:
download metamorph from market and open this file and apply:
http://www.megaupload.com/?d=YQ8CDVBU
you have to be rooted!
not my work somebody made it here on xda i just couldn't find the threat now...
Hi
Do anyone know wich Gingerbread Notification Bar can I use in my Milestone 2?
I installed the one posted by elfodd and I don't really like.
Thanks!
hey,,,u know how install burhome.apk, launcher in edited rom argen2stone ??i hope u so much that u can help me with this...thanks
elfodd said:
I'm having black bar since the second day of my phone...
so if u don't want to bother:
download metamorph from market and open this file and apply:
http://www.megaupload.com/?d=YQ8CDVBU
you have to be rooted!
not my work somebody made it here on xda i just couldn't find the threat now...
Click to expand...
Click to collapse
It works but clock and date (and operator also) are still black instead of white

[Theme] Make your own theme: UOT Kitchen

Hi everybody!
I found a kitchen to make your own theme's but then i got stuck because cwm would instal it.
http://www.uot.dakra.lt/
After a lot of trail and error this is what worked for me:
Compile a theme using the upload of the framework-res.
Then when it is ready replace the update-binary, and insert the lge-res.apk in the same map as framework-res. Do this with a program like winrar.
Upload to external sd and instal with cwm
It was a pain in the butt getting there for a newbie like me.
files you need are in this rar:
http://www.megaupload.com/?d=I46AAQA6
My theme as a example:
http://www.megaupload.com/?d=HKZBEFHX
JJnJ said:
Hi everybody,
I found a kitchen where you can make your personal theme's for froyo and cm7.
Does anybody know what i need to do to make it work for the 2x?
Tried it with framework-res.apk upload from a excisting 2x theme.
This is the site:
http://www.uot.dakra.lt/
Thank you!!
Click to expand...
Click to collapse
Awesome find ..better try to get used to "search function" - it´s a amazing thing
And good luck, kitchen is famous!
rori~ said:
Awesome find ..better try to get used to "search function" - it´s a amazing thing
And good luck, kitchen is famous!
Click to expand...
Click to collapse
Yea i tried to search but there to much info for a Dutch guy... Is there a special .apk i have to upload?
awesome man !!!!
Great.. Thanx
JJnJ said:
Yea i tried to search but there to much info for a Dutch guy... Is there a special .apk i have to upload?
Click to expand...
Click to collapse
framework-res.apk found in /system/framework
Tiwiz
After a lot of work i got is:
Compile a theme using the upload of the framework-res.
Then when it is ready replace the update-binary, and insert the lge-res.apk in the same map as framework-res. Do this with a program like winrar.
files you need are in this rar:
http://www.megaupload.com/?d=I46AAQA6
My theme as a example:
http://www.megaupload.com/?d=HKZBEFHX
hmmm, I get a bootloop. Anyone has the same problem?
JJnJ said:
After a lot of work i got is:
Compile a theme using the upload of the framework-res.
Then when it is ready replace the update-binary, and insert the lge-res.apk in the same map as framework-res. Do this with a program like winrar.
files you need are in this rar:
http://www.megaupload.com/?d=I46AAQA6
My theme as a example:
http://www.megaupload.com/?d=HKZBEFHX
Click to expand...
Click to collapse
This mod is not working for me.. I'm using BlazingDragon rom FR18 and created my own battery mod from the kitchen using BlazingDragon own framework. After creating the UOT zip file, I've replace the update-binary and inserted the lge-res.apk file from the file that was uploaded in the same directory of the framework.res. After flashing, i have a boot-loop.
Tried wiping cache and dalvik but still to no avail... Any ideas pls??
blu3angel said:
This mod is not working for me.. I'm using BlazingDragon rom FR18 and created my own battery mod from the kitchen using BlazingDragon own framework. After creating the UOT zip file, I've replace the update-binary and inserted the lge-res.apk file from the file that was uploaded in the same directory of the framework.res. After flashing, i have a boot-loop.
Tried wiping cache and dalvik but still to no avail... Any ideas pls??
Click to expand...
Click to collapse
theming framework-res.apk from versions newer than FR16 will always result in bootloop, no idea why ...
i posted original framework from FR14 here, you can theme it with UOT Kitchen and apply it to MCR Fr18, it will work flawless
here you go :
http://forum.xda-developers.com/showpost.php?p=14014735&postcount=14
75markus said:
theming framework-res.apk from versions newer than FR16 will always result in bootloop, no idea why ...
i posted original framework from FR14 here, you can theme it with UOT Kitchen and apply it to MCR Fr18, it will work flawless
here you go :
http://forum.xda-developers.com/showpost.php?p=14014735&postcount=14
Click to expand...
Click to collapse
doesn't change anything. bootloop.....again
j.blaze said:
doesn't change anything. bootloop.....again
Click to expand...
Click to collapse
strange, works for me ...
75markus said:
theming framework-res.apk from versions newer than FR16 will always result in bootloop, no idea why ...
i posted original framework from FR14 here, you can theme it with UOT Kitchen and apply it to MCR Fr18, it will work flawless
here you go :
http://forum.xda-developers.com/showpost.php?p=14014735&postcount=14
Click to expand...
Click to collapse
I am on fr17 and using the files in the rar zip. Works great without bootloop. The only thing that doens't work is a custom bootanimation
JJnJ said:
I am on fr17 and using the files in the rar zip. Works great without bootloop. The only thing that doens't work is a custom bootanimation
Click to expand...
Click to collapse
to get custom bootanimation working, you have to zip it WITHOUT compression !!
then it´s working
75markus said:
to get custom bootanimation working, you have to zip it WITHOUT compression !!
then it´s working
Click to expand...
Click to collapse
haha i extracted it and copied it into the folder with rootexplorer... thanks for the tip, wil try it
I also got bootloop, despite using FR14 files. Very annoying.
do it work whit stock roms ?
jimminez said:
do it work whit stock roms ?
Click to expand...
Click to collapse
i don´t think so, cause stock rom isn´t de-odexed ...
what vanilla custom rom dos it support ?
Figures, this is bootlooping for me. x.o If anyone feels like rummaging through my file, it's here: http://dl.dropbox.com/u/20296909/UOT-05-24-23-32-1.zip

Need help by (de)compiling frameworkr-res.apk

hello
i cant figure out how to decompile and compile framework-res.apk from free optimus project nightly 6
i tried many versions of apktool and apkmanager some of them works if i change the version for compiling and decompiling and i have one version which is extra for ics and this works without changing
but if i include a framework-res.apk in the rom.zip which is successfully decompiled and compiled (without errors) the phone gets into a bootloop.
can anybody teach me how to do this correctly?
i already have tried to sign the apk and repackaged the whole rom
Müllname said:
hello
i cant figure out how to decompile and compile framework-res.apk from free optimus project nightly 6
i tried many versions of apktool and apkmanager some of them works if i change the version for compiling and decompiling and i have one version which is extra for ics and this works without changing
but if i include a framework-res.apk in the rom.zip which is successfully decompiled and compiled (without errors) the phone gets into a bootloop.
can anybody teach me how to do this correctly?
i already have tried to sign the apk and repackaged the whole rom
Click to expand...
Click to collapse
Means you are missing a software.
And please post in the appropriate category.
THANK ME
CM10 P970 - SouLMoD - TD
SoulExertz said:
Means you are missing a software.
And please post in the appropriate category.
THANK ME
CM10 P970 - SouLMoD - TD
Click to expand...
Click to collapse
if i'm missing any software apktool won't compile without errors or it won't finally start cause it checks all needed sources before starting.
which category do u think is right? q&a - this is not just a question, there's an simple answer 4. dev - i haven't developed anything and want to publish it - theming apps - nothing to do with this.. :cyclops:

Categories

Resources