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:
Related
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.
Hi I'm running apk tool to compile settings.apk in LG 02x I have installed the framework and I compile without errors but the result file don't work and its significant smaller than original.
I'm not sure if on LG 02x I need the framework-res file or a different one I tried also a different res file but the result is the same failure.
I tired also different apktool (1.3.1)
So any one knows which framework should I use for this model? Also what is going wrong with the process? I made sure permissions are o.k, adb version etc....
Thanks
Sent from my LG-P990 using XDA App
I've tried multiple ways of decompiling and recompiling the systemui.apk, framework-res.apk aswell as add in custom carrier logo and custom status bar background, all of these mods worked on 4.0.3 but are not working with android 4.0.4, any suggestions?
I would try updating sdk and grab the latest aapt.exe from platform-tools and place it in your apktool folder
Sent from my Nexus S 4G using Tapatalk 2 Beta-4
I think I may have found a problem, fergie, in the SDK Manager, I only see SDK for Android 4.0.3, maybe they have not made an update because 4.0.4 has not been an official release???
patched apktool.jar
try this patched version of apktool.jar, this should help by decompiling and compiling some 403 and 404 version apk´s.
original thread is here :
http://code.google.com/p/android-apktool/issues/detail?id=291
FlatEric0074 said:
try this patched version of apktool.jar, this should help by decompiling and compiling some 403 and 404 version apk´s.
original thread is here :
http://code.google.com/p/android-apktool/issues/detail?id=291
Click to expand...
Click to collapse
Appreciate this but the version of apktool.jar I was using works better (1.4.3), with the version you provided above gets errors like crazy when decompiling the systemui.apk, decompiling the framework-res.apk works fine, recompiling shows too many errors to count :/
There is a specific apktool for 4.0.4 systemui which the guy attached. Its a modded version and works perfectly. Myself and others are using it.
Sent from my Nexus S using xda premium
I found out what I was doing wrong!!! Sorry about this guys I guess when I am building the SystemUI.apk I didn't realize that you only had to use the command "apktool b SystemUI" and it would build the apk in the dist folder thanks a lot guys
This Problem solved by downloading apkmanager.
Hi guys.
I just have to make a small change in the Settings App.
I have done that before on official cm7 and even on stock.
Problem is that if i just decompile the apk using apktool, then even compile it with no change at all. Then Sign It, and copy it to system /app with permissions..It just doesn't show up in the app drawer even after a reboot..
This is surely a problem with apktool, coz i'm not even changing anything, just decompiling and compiling.
The same for cm7 themes. i try to compile cm7 themes but they just don't work when i copy them to system /app.
I copied it to sd card and tried to install from sd card. And it works, but not when it's included in system /app.
Problem solved by downloading apkmanager.
masterex567 said:
Hi guys.
I just have to make a small change in the Settings App.
I have done that before on official cm7 and even on stock.
Problem is that if i just decompile the apk using apktool, then even compile it with no change at all. Then Sign It, and copy it to system /app with permissions..It just doesn't show up in the app drawer even after a reboot..
This is surely a problem with apktool, coz i'm not even changing anything, just decompiling and compiling.
The same for cm7 themes. i try to compile cm7 themes but they just don't work when i copy them to system /app.
I copied it to sd card and tried to install from sd card. And it works, but not when it's included in system /app.
How do i fix this?
Please Reply Soon, as this is urgent.
Click to expand...
Click to collapse
Reboot ?
Sent from my GT-S5830 using xda premium
Nope not working...
Trying to make Settings.apk ICS Style for unofficial cm7. Making it work on the official cm7 was a left hand game. But I don't know what's the issue wid this one.
I tried apk manager, and it's getting errors at decompiling it.
Lemme see what else i can dig up. :/
Why is this flagged as urgent?
On: Which version of apktool do you use? The newer versions may not be compatible!
___________XDA Premium__________
Don't be a noob. Be a newbie..!!
Details here.
____________________________________
Urgent because it's important and i need it for rom cooking.
Using 1.3.2.
Which version do you recommend?
masterex567 said:
Urgent because it's important and i need it for rom cooking.
Using 1.3.2.
Which version do you recommend?
Click to expand...
Click to collapse
Try apk multi-tools
http://apkmultitool.com/node/14
it works without problems for me
your problem is that you're signing the apk. Stock apps, like Settings and SystemUI, cannot be signed. You need to keep the original apk (the one you've decompiled) and change files inside it.
Take a look here: http://forum.xda-developers.com/showthread.php?t=1664292
Renan Lazarotto said:
your problem is that you're signing the apk. Stock apps, like Settings and SystemUI, cannot be signed. You need to keep the original apk (the one you've decompiled) and change files inside it.
Take a look here: http://forum.xda-developers.com/showthread.php?t=1664292
Click to expand...
Click to collapse
I tried.
Then just used apk manager.
Got errors on decompiling copied the apktool 1.4.3 files to the "other" folder.
Decompiled succesfully
followed instructions.
And it worked.
It's not urgent. I'm changing the title.
eagleeyetom said:
It's not urgent. I'm changing the title.
Click to expand...
Click to collapse
It was.
but now it's okk.
You can close this thread.
greetings,
newbie just want to learn, i dont know if this is in the right place ...
i am former users of G-FIT CM 7 by tj_style, and now switched to Lenovo S890 which have Mediatek MT6577 chipset. many variants of the chipset, and the source code is not released by vendors, so few developers really developing this phone. and now I missed the CM look and feel.
my question:
1. can stock rom (or lewa os) modified to look like CM?
2. I've tried to use UOT Kitchen to theming SystemUI, but didnt give any different, only change icon.
(I uploaded the framework-res.apk, lenovosystemui.apk, lenovo-res.apk (to replace twframework)
targets / objectives :
1. change the look of the stock-rom / lewa rom (only two of these are available) to look like CM.
2. add reboot, recovery when the power button is pressed (see some tutorials to change framework-res.apk, but stuck in the "where to put this, where to put that, because the tutorial that I found almost entirely specific to a particular device, and I do not understand patterns / rules in android)
3. use some CM applications (calendar, dialer, etc.), for this, if it could be done with just replace /system/framework and /system/app from CM to Stock Rom?
information relating to the above matters are expected (links, info, guide, hopefully someone will give direct way of how to accomplish my objectives above).
thank you,
jacknb1ack
UP UP
please anyone ?
jacknb1ack said:
2. add reboot, recovery when the power button is pressed (see some tutorials to change framework-res.apk, but stuck in the "where to put this, where to put that, because the tutorial that I found almost entirely specific to a particular device
Click to expand...
Click to collapse
At lot of guides are so unless you can find one specific to your device you need to try and figure it out, but most apks are similar in regards to how you edit them so just decompile a few and examine them and you'll get a general idea. My SystemUI.apk and yours for example will be different, but certain xmls from each are going to be quite similar. Lot's of info and links here - http://forum.xda-developers.com/showthread.php?t=2069287
XperienceD said:
At lot of guides are so unless you can find one specific to your device you need to try and figure it out, but most apks are similar in regards to how you edit them so just decompile a few and examine them and you'll get a general idea. My SystemUI.apk and yours for example will be different, but certain xmls from each are going to be quite similar. Lot's of info and links here - http://forum.xda-developers.com/showthread.php?t=2069287
Click to expand...
Click to collapse
thanks ... 1 more question, if i want to learn by comparing two systemUI.apk from different rom, is it okay to install both framework-res.apk in apktools ?
ex : i want to try comparing Lewa systemUI and stock SystemUI, i need to install framework-res.apk first to decompile systemui.apk (am i right in this or it is actually not needed ? )
thanks,
jacknb1ack
You can, but it will overwrite the first one, install you're own first and just use that, if you have an issue trying to decompile another from another Phone then you know you need to install the resources. This is why I love Virtuous Ten, as you can install multiple resources.
Sent from my C6603 using xda premium
wow, i didnt know there is tools like that, thanks again master... i will try, lewa os just released new stable version, will try messing this one xD.
once again, thanks a lot
Sent from my Lenovo S890 using Tapatalk 2