hi whenever I try to decompile SystemUI.apk I get this error:
Cant find framework resources for package id:2
Plz help someone ???
Sent from my HTC Explorer using xda app-developers app
Install framework-res.apk from the framework folder using the -if switch
Sent from my HTC Explorer A310e using xda app-developers app
vineethraj49 said:
Install framework-res.apk from the framework folder using the -if switch
Sent from my HTC Explorer A310e using xda app-developers app
Click to expand...
Click to collapse
plz elaborate a bit ???
Use apktool to decompile systemui.apk..
Make a folder called apktools in c drive
Put the apktool.jar,apktool.bat,aapt file from the zip...
Pull out the framework-res.apk from the rom ur working..
If it is based on touch wiz,miui ,etc., then pull its framework also..
Then open cmd
Type this:::
Code:
cd c:\apktools
Then:::
Code:
apktool if framework-res.apk
If it is not working try to set path for java and try that step again
To set it:::
Code:
setpath=%path;"here comes the jdk bin directory"
Without quotes..
Then:::
Code:
javac
Once framework is installed,Then to decompile ::::
Code:
java -jar apktool.jar d systemui.apk
To decompile without any problems.....
Related
guys,do one know what lidroid-res.apk does?
modding it makes status bar gone!
Modding it doesnt make d status bar go! Mod it correctly and it' ll be there. Lidroid-res.apk contains the png's for d widget buttons, their background etc.
Sent from my GT-S5670 using xda premium
Feras.Rehman said:
Modding it doesnt make d status bar go! Mod it correctly and it' ll be there. Lidroid-res.apk contains the png's for d widget buttons, their background etc.
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
i did it correctly...it ddnt showed error while compiling..let me try once again...
is there any thing else to change while we mod it.
U have to just replace png's! Dun use apkmanager or apktool. Use winrar.
Sent from my GT-S5670 using xda premium
Feras.Rehman said:
U have to just replace png's! Dun use apkmanager or apktool. Use winrar.
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
while decompiling why does apk tool shows error ..??
Feras.Rehman said:
U have to just replace png's! Dun use apkmanager or apktool. Use winrar.
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
how to use winrar for this?
droidxpert said:
how to use winrar for this?
Click to expand...
Click to collapse
Open apk's using winrar
Sent from my GT-S5670 using xda premium
avilove4u said:
while decompiling why does apk tool shows error ..??
Click to expand...
Click to collapse
Why do u wanna decompile it? :/ just extract it using winrar na! And exchange d png's
Sent from my GT-S5670 using xda premium
Feras.Rehman said:
Why do u wanna decompile it? :/ just extract it using winrar na! And exchange d png's
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
Ok ...!!
And no one is solving my problem regarding .xml !!
Notepad++ is showing odd type of characters on opening it
just decompile it with the framework of ur rom u wanna build ;-)
Use this commands here:
1. Place framework-res.apk and twframework-res.apk in apktool file
2. Install it via:
apktool if twframework-res.apk
apktool if framework-res.apk
3. Just decompile lidroid-res.apk
Feras.Rehman said:
Why do u wanna decompile it? :/ just extract it using winrar na! And exchange d png's
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
after replacing png's how are we supposed to repack it?
Delete the old drawable-hdpi, then replace it wid d edited one using winrar
Sent from my GT-S5670 using xda premium
still no status bar!
yes its done..thank you Feras
U replaced it with hdpi icons?
Sent from my GT-S5670 using xda premium
hey guys can you help me
i have placed apktool in windows folder
when i try to decomplie any apk it decompiles it to c;\
and its not installing framework and tw framework
thanks
I have a problem
My rom is deodexed .... but.... There is no classes.dex file in my framework-res.apk
:what:
Any help here ???
This make it a pain in the butt when i want to theme
sent from my super advanced mini fridge
Framework-res.apk doesnt include classes.dex. Doesnt matter for dexed ot odexed. Just decompile and mod it.
Sent from my LT15i using xda app-developers app
Erhany said:
Framework-res.apk doesnt include classes.dex. Doesnt matter for dexed ot odexed. Just decompile and mod it.
Sent from my LT15i using xda app-developers app
Click to expand...
Click to collapse
Got it now frameworks classes.dex is stored in framework.jar
Btw that was n00b me
Sent from my A500 using XDA Premium 4 mobile app
Hello guys i am only sharing this cool app called apktool
With this apk tool you can compile and decompile apk and sign apks too
Here is the link
http://code.google.com/p/apktool/
Instructions:
Download the archive apktool4.0_armhf.zip from
http://code.google.com/p/apktool/downloads/list
Download the updated apk file Apktool4.0.apk
Extract/unzip archive to /sdcard/apktool
Install the updated Apktool4.0.apk
Open app from app drawer, and have fun using it!
If u getting error then go to system/framework/ and hold the framework-res apk and install as framework then recompile and decompile apk it will definately work
Sent from my Micromax A110 using xda premium
akashvfx said:
Hello guys i am only sharing this cool app called apktool
With this apk tool you can compile and decompile apk and sign apks too straight on your android device
Here is the link
http://code.google.com/p/apktool/
Instructions:
Download the archive apktool4.0_armhf.zip from
http://code.google.com/p/apktool/downloads/list
Download the updated apk file Apktool4.0.apk
Extract/unzip archive to /sdcard/apktool
Install the updated Apktool4.0.apk
Open app from app drawer, and have fun using it!
If u getting error then go to system/framework/ and hold the framework-res apk and install as framework then recompile and decompile apk it will definately work
Sent from my Micromax A110 using xda premium
Click to expand...
Click to collapse
Sent from my Micromax A110 using Tapatalk 4
akashvfx said:
Hello guys i am only sharing this cool app called apktool
With this apk tool you can compile and decompile apk and sign apks too
Here is the link
http://code.google.com/p/apktool/
Instructions:
Download the archive apktool4.0_armhf.zip from
http://code.google.com/p/apktool/downloads/list
Download the updated apk file Apktool4.0.apk
Extract/unzip archive to /sdcard/apktool
Install the updated Apktool4.0.apk
Open app from app drawer, and have fun using it!
If u getting error then go to system/framework/ and hold the framework-res apk and install as framework then recompile and decompile apk it will definately work
Sent from my Micromax A110 using xda premium
Click to expand...
Click to collapse
Nice Work Bro
Sent from my Micromax A110 using xda premium
m facing prob in decompiling system ui. While i decompiled it there is no smali folder . I think apktool wont decode resources.dex. I also installed proper frameworks.
:banghead::screwy::banghead:
Is dere ny special way to decompile it.
Sent from my HTC Explorer A310e using xda app-developers app
Sent from my HTC Explorer A310e using xda app-developers app
Did u install framework , systemui , framework-res,before decompiling
If u didn't then install the every apk files in framework folder and systemui.apk,then decompile it
sent from
little pico
nit_in said:
Did u install framework , systemui , framework-res,before decompiling
If u didn't then install the every apk files in framework folder and systemui.apk,then decompile it
sent from
little pico
Click to expand...
Click to collapse
Ya bro as i previously said I installed framework-res.apk & htc-resources.apk as framework but System ui decompiled but there is no smali folder
Sent from my HTC Explorer A310e using xda app-developers app
xactor said:
Ya bro as i previously said I installed framework-res.apk & htc-resources.apk as framework but System ui decompiled but there is no smali folder
Sent from my HTC Explorer A310e using xda app-developers app
Click to expand...
Click to collapse
from which rom
you took that systemui.apk??
nit_in said:
from which rom
you took that systemui.apk??
Click to expand...
Click to collapse
Prob solved . Apktool needed to be updated!
Sent from my HTC Explorer A310e using xda app-developers app
How to port sony xperia z phone apk
steps
1.download any of my ported phone.apk(phone apk)
2.extract it using winzip or 7zip
3.also extract your phone.apk
4.now copy 9png from ported phone apk(drawable-mdpi folder) to your extracted apk (head to same folder)
clh_large_end_call_button_bg,clh_large_end_call_button_bg_focused,clh_large_end_call_button_bg_pressed
semc_sliding_tab_answer_ghost(all png like that),slider_bg,slider_bg_left,slider_bg_right,telephony_app_contact_picture_default_icn
5.after that move one step back(on location where you find all these folder meta-inf,res,andriod mainfest etc)
6.select all (ctrl+A) and right click and open add to archive
7.when it open a window just edit phone.zip to phone.apk
8.now your new ported apk is ready put it in your system/app folder and give premission rw-r-r-
9.open my thread and hit:good: button if it works
I am on Xperia j. Should i copy from drawable mdpi or hdpi?
Sent from my ST26i using xda app-developers app
Wouldn't it be easier to find a universal flashable zip file or simply push the app and give 644 permissions?
It depends upon your device that whether it is mdpi or hdpi
If you do't know place it in both folder
Report me,and hit thanks
Sent from my ST21i2 using xda premium
@fonetalker101
Use ticklemyandriod to make flashable zip
Sent from my ST21i2 using xda premium
Thanks for the tutorial mate! i have successfully ported phone.apk for odexed stock JB XJ
And i will upload it soon ... And tag u in the credits section thank u..
Sent from my ST26i using xda app-developers app
s.mihir94 said:
Thanks for the tutorial mate! i have successfully ported phone.apk for odexed stock JB XJ
And i will upload it soon ... And tag u in the credits section thank u..
Sent from my ST26i using xda app-developers app
Click to expand...
Click to collapse
Your welcome
Plz also hit thankss button.....
If you are using xda on mobile than
Just tap on my post and you will find a :thumbup: button hit that
Sent from my ST21i2 using xda premium