Note:- Select aapt version same as your android version
like for jb 4.1.2 aapt = 4.1
for jb 4.2 aapt = 4.2
Requirements:-
Apktool 1.5.2 (mobile apktool)
Busybox installed
framework.jar
framework.odex
Patience.apk
Brain.jar
Procedure:-
1) Create A folder named Deodex in your sdcard.
2) Copy framework.jar and framework.odex to it.
3) Now using apktool decompile framework.odex
4) When it gets decompiled recompile it again.
5) When it gets recompiled , it will either form framework.dex or classes.dex ,,,, click on it and select add to the jar of same name.
6) Now your jar file is completely deodexed.
I have taken the example of framework.jar but you can do it with other jars also with same procedure.
Dont forget to hit thanks
Credits:- Apktool Developer and Apps Developer
eboybasit said:
Note:- Select aapt version same as your androidversion
like for jb 4.1.2 aapt = 4.1
for jb 4.2 aapt = 4.2
Requirements:-
Apktool 1.5.2 (mobile apktool)
SystemUI.apk
SystemUI.odex
Patience.apk
Brain.jar
Procedure:-
1) Create A folder named Deodex in your sdcard.
2) Copy SystemUI.apk and SystemUI.odex to it.
3) Now using apktool decompile SystemUI.odex
4) When it gets decompiled recompile it again.
5) When it gets recompiled , it will either form SystemUI.dex or classes.dex ,,,, click on it and select add to the apk of same name.
6) Now your apk is completely deodexed.
I have taken the example of systemui.apk but you can do it with other apks also with same procedure.
Dont forget to hit thanks
Credits:- Apktool Developer and Apps Developer
Click to expand...
Click to collapse
http://forum.xda-developers.com/android/development/guide-how-to-deodex-app-pcfully-t2979042
For your information I already posted this guide here..... That also around 5 months ago
sdeepb said:
http://forum.xda-developers.com/android/development/guide-how-to-deodex-app-pcfully-t2979042
For your information I already posted this guide here..... That also around 5 months ago
Click to expand...
Click to collapse
oh sorry i didn't it saw
sdeepb said:
http://forum.xda-developers.com/android/development/guide-how-to-deodex-app-pcfully-t2979042
For your information I already posted this guide here..... That also around 5 months ago
Click to expand...
Click to collapse
I changed my guide now its for jar files
eboybasit said:
oh sorry i didn't it saw
Click to expand...
Click to collapse
It's okay..... So what you'll do now
sdeepb said:
It's okay..... So what you'll do now
Click to expand...
Click to collapse
My thread applicable to jar files now ,,,, so no issues with your thread
Okay....
sdeepb said:
Okay....
Click to expand...
Click to collapse
Okay
Thread closed.
We already have an apk tool thread
http://forum.xda-developers.com/android/development/guide-how-to-deodex-app-pcfully-t2979042
Related
Extract framework.jar from zipped file and replace the same in /system/framework
Note: This is a deodexed version; hence i am not sure it will work on odexed. If you have cwm, you can take a chance by replacing (take backup of original file which can be replaced via CWM)
Edit1: extract framework-res.apk from zipped file and replace in /system/framework for CRT effect and blue overscroll. As usual take back of orignal file.
Edit 2: Added framework.jar overscroll for jpkp5. This is for deodexed roms. If you want to test on odexed can test it but make sure you have CWM and backup of orignal file.
Extract framework.jar from zipped file and paste in /system/framework
Take backup of original file in case you run into bootloop. I will not be responsible for bricking.
hi, can you make also for jkp5 please......
ebmq8 said:
hi, can you make also for jkp5 please......
Click to expand...
Click to collapse
Kindly send me the deodexed framework.jar in /system/framework
Ask him to send deodexed framework.jar!!
Sent from my GT-I9003 using XDA App
View attachment framework.zip
here the framework. My device was cf-rooted already
but not deodex. dont know how to deodex
thanx jaskiratsingh...this is exact mod which i was finding so many days. Really thank u...!!!
ebmq8 said:
View attachment 707795
here the framework. My device was cf-rooted already
but not deodex. dont know how to deodex
Click to expand...
Click to collapse
Refer to below link for deodexing
http://forum.xda-developers.com/showpost.php?p=15657738&postcount=1
Thanks men.
so i can use the files for kph?
ebmq8 said:
Thanks men.
so i can use the files for kph?
Click to expand...
Click to collapse
These files are for kph. Use framework.jar for overscroll glow (yellow) and framework-res.apk for CRT and blue overscroll glow.
askiratsingh said:
Kindly send me the deodexed framework.jar in /system/framework
Click to expand...
Click to collapse
Hi
This is the deodexed framework.jar for jpkp5
db.tt/p6rFhMh
ahmadalsaady said:
Hi
This is the deodexed framework.jar for jpkp5
db.tt/p6rFhMh
Click to expand...
Click to collapse
Hi! Where did you get deodex system file for jkp5. Coz i asked mizled his not sure if the system file posted for the newbies will work on jkp5.
Sent from my GT-I9003 using XDA App
ebmq8 said:
Hi! Where did you get deodex system file for jkp5. Coz i asked mizled his not sure if the system file posted for the newbies will work on jkp5.
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
Learn deodexing after reading vishal's post on deodexing.... that guide applies to all firmwares ..
Sent from my gt-I9003 with A.I. Type
Could someone have a look at this http://forum.xda-developers.com/showthread.php?t=1289896 and try to do it for stock Indian ROM (XWKI5) rooted.....I have attached the SystemUI apk from my ROM. I tried this but am stuck with no status bar at all. Can someone try to get it to work for the stock roms plzzzzz...will be really grateful:fingers-crossed:
saurabh.khare1000 said:
Could someone have a look at this http://forum.xda-developers.com/showthread.php?t=1289896 and try to do it for stock Indian ROM (XWKI5) rooted.....I have attached the SystemUI apk from my ROM. I tried this but am stuck with no status bar at all. Can someone try to get it to work for the stock roms plzzzzz...will be really grateful:fingers-crossed:
Click to expand...
Click to collapse
Follow the guide carefully, you should be able to do this.
If you have got Android SDK installed
then copy the attached apktool.jar file to
C:\Program Files\Android\android-sdk\platform-tools\
make sure you have set the correct PATH variables
then use the following commands to compile/decompile
COMPILE:
Code:
apktool d <filename>
<filename> can be .apk or .jar
DECOMPILE:
Code:
apktool b <folder name> <filename>
where <foldername> is the previously decompiled apk/jar
I've attached NEO ROMs SystemUI.apk that you can use as reference.
I can easily compile and decompile the systemui.apk but the smali folder in the decompiled systemui.apk does not contain the statusbarservice.smali file....so I end up with no status bar...I have followed the guide exactly....any suggestions..
saurabh.khare1000 said:
I can easily compile and decompile the systemui.apk but the smali folder in the decompiled systemui.apk does not contain the statusbarservice.smali file....so I end up with no status bar...I have followed the guide exactly....any suggestions..
Click to expand...
Click to collapse
Did you copy .smali files from LidroidSystemUI.apk to your SystemUI.apk?
Also you need to push lidroid-res.apk to /system/framework folder.
EDIT: I decompiled your SystemUI.apk
It showed me error on decompiling.
SystemUI.apk must be deodexed & since you are on stock, so it seems you have got ODEXED one.
You need to deodex first.
pankaj88 said:
Did you copy .smali files from LidroidSystemUI.apk to your SystemUI.apk?
Also you need to push lidroid-res.apk to /system/framework folder.
EDIT: I decompiled your SystemUI.apk
It showed me error on decompiling.
SystemUI.apk must be deodexed & since you are on stock, so it seems you have got ODEXED one.
You need to deodex first.
Click to expand...
Click to collapse
I have copied the smali files and also pushed the lidroid-res.apk, however I haven't deodexed, how am I supposed to do that? Plz explain
saurabh.khare1000 said:
I have copied the smali files and also pushed the lidroid-res.apk, however I haven't deodexed, how am I supposed to do that? Plz explain
Click to expand...
Click to collapse
I am unable to decompile your SystemUI.apk
since it is framework-dependent, framework-res as well as twframework are aslo required.
Can you upload decompiled zip file for your SystemUI.apk
stock one.. without having the lidroidsystemui smali files??
Use dsixda's kitchen for deodexing
I've posted a guide in dev section.
pankaj88 said:
I am unable to decompile your SystemUI.apk
since it is framework-dependent, framework-res as well as twframework are aslo required.
Can you upload decompiled zip file for your SystemUI.apk
stock one.. without having the lidroidsystemui smali files??
Use dsixda's kitchen for deodexing
I've posted a guide in dev section.
Click to expand...
Click to collapse
Here are all the files that you may require....meanwhile I'll try deodexing through dsixda's kitchen....but I was just thinking...wouldn't deodexing just the SystemUI.apk cause problems, considering that my other system files are still in the stock odexed form??
saurabh.khare1000 said:
Here are all the files that you may require....meanwhile I'll try deodexing through dsixda's kitchen....but I was just thinking...wouldn't deodexing just the SystemUI.apk cause problems, considering that my other system files are still in the stock odexed form??
Click to expand...
Click to collapse
yeah.. you need to deodex both /system/app as well as /system/framework folder.
pankaj88 said:
yeah.. you need to deodex both /system/app as well as /system/framework folder.
Click to expand...
Click to collapse
Hey, I'm waiting for your help....can you guide me through deodexing a stock rooted ROM? also did you have a look at the attached files? I had a look at dsixda's kitchen but there isn't a proper deodexing guide. Since you are the creator of the NEO ROM...I feel you would know the exact procedure for deodexing a stock Galaxy R ROM using dsixda's kitchen...plz help me out with the process...I trying to implement the 14toggles and overscroll glow mods which obviously requires deodexing
saurabh.khare1000 said:
Hey, I'm waiting for your help....can you guide me through deodexing a stock rooted ROM? also did you have a look at the attached files? I had a look at dsixda's kitchen but there isn't a proper deodexing guide. Since you are the creator of the NEO ROM...I feel you would know the exact procedure for deodexing a stock Galaxy R ROM using dsixda's kitchen...plz help me out with the process...I trying to implement the 14toggles and overscroll glow mods which obviously requires deodexing
Click to expand...
Click to collapse
ok. tomorrow I will post a guide about deodexing stock odexed ROM.
Sent from my GT-I9103 using xda app-developers app
pankaj88 said:
ok. tomorrow I will post a guide about deodexing stock odexed ROM.
Sent from my GT-I9103 using xda app-developers app
Click to expand...
Click to collapse
Oh boy....thanx a lot.....This is really going to be helpful....:good::good:
saurabh.khare1000 said:
Hey, I'm waiting for your help....can you guide me through deodexing a stock rooted ROM? also did you have a look at the attached files? I had a look at dsixda's kitchen but there isn't a proper deodexing guide. Since you are the creator of the NEO ROM...I feel you would know the exact procedure for deodexing a stock Galaxy R ROM using dsixda's kitchen...plz help me out with the process...I trying to implement the 14toggles and overscroll glow mods which obviously requires deodexing
Click to expand...
Click to collapse
Overscroll glow mod can be applied to stock ODEXED ROM.
But 14 toggles require deodexed ROM.
pankaj88 said:
Overscroll glow mod can be applied to stock ODEXED ROM.
But 14 toggles require deodexed ROM.
Click to expand...
Click to collapse
I tried searching for a guide to implement the overscroll glow mod on stock odexed ROM....but couldn't find any....If you have come across a guide please redirect me to the appropriate thread...that would be very helpful.
saurabh.khare1000 said:
I tried searching for a guide to implement the overscroll glow mod on stock odexed ROM....but couldn't find any....If you have come across a guide please redirect me to the appropriate thread...that would be very helpful.
Click to expand...
Click to collapse
UOT kitchen supports stock ODEXED ROM
see here, I myself implemented overscroll glow using uot for stock ZSLE5 odexed.
Also I think 14 toggles can be implemented on odexed ROM too.
click here
you can download odexed version and compare it with yours.
pankaj88 said:
UOT kitchen supports stock ODEXED ROM
see here, I myself implemented overscroll glow using uot for stock ZSLE5 odexed.
Also I think 14 toggles can be implemented on odexed ROM too.
click here
you can download odexed version and compare it with yours.
Click to expand...
Click to collapse
Thanx for the links bud....now the only problem is that though I can compare the SystemUI.apk file with my modded file for 14toggles...I cannot do the same for SystemUI.odex file since I'm not aware how to decompile it. I'm assuming that both the SystemUI.apk and SystemUI.odex files would be different for our Galaxy R ROM and that I wont be able to directly flash the CWM package from the link. In short I can easily obtain a updater-script and can also mod my SystemUI.apk by following lidroid's guide, but the main problem is modding the SystemUI.odex file. Please guide.
saurabh.khare1000 said:
Thanx for the links bud....now the only problem is that though I can compare the SystemUI.apk file with my modded file for 14toggles...I cannot do the same for SystemUI.odex file since I'm not aware how to decompile it. I'm assuming that both the SystemUI.apk and SystemUI.odex files would be different for our Galaxy R ROM and that I wont be able to directly flash the CWM package from the link. In short I can easily obtain a updater-script and can also mod my SystemUI.apk by following lidroid's guide, but the main problem is modding the SystemUI.odex file. Please guide.
Click to expand...
Click to collapse
http://www.jordanhotmann.com/2011/09/android-hacking-101-compiling-and.html
http://forum.xda-developers.com/showthread.php?t=841287
hey guys,
can anyone please provide me patched services.jar (superuser mod) for xperia e ics
thanks..
@bakshish007 here only for deodexed rom
H3LL said:
@bakshish007 here only for deodexed rom
Click to expand...
Click to collapse
yes I'm using deodex rom
I was having some issues while compiling back services.jar that's why I asked
thanks bro
and im really having issue will decompiling and recompiling ics apks [eg: settings] any solutions like any suggested framework~res for that?????
keep calm and call J.A.R.V.I.S
bakshish007 said:
yes I'm using deodex rom
I was having some issues while compiling back services.jar that's why I asked
thanks bro
and im really having issue will decompiling and recompiling ics apks [eg: settings] any solutions like any suggested framework~res for that?????
keep calm and call J.A.R.V.I.S
Click to expand...
Click to collapse
What problem??
DanielFlorin said:
What problem??
Click to expand...
Click to collapse
error while decompileing and compiling both
while decompileing apktool gives an error. after that I found some xmls blank
and also auto apktool says no success
keep calm and call J.A.R.V.I.S
bakshish007 said:
error while decompileing and compiling both
while decompileing apktool gives an error. after that I found some xmls blank
and also auto apktool says no success
keep calm and call J.A.R.V.I.S
Click to expand...
Click to collapse
post error log.....then we can say what causing problem
H3LL said:
post error log.....then we can say what causing problem
Click to expand...
Click to collapse
it gives framework-res error checked the logs of auto aoktool
Code:
W: Skipping "android" package group
W: Skipping "android" package group
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
i get this error while decompiling ics settings and i have already installed ics framework-res before decompiling @DanielFlorin please suggest something
keep calm and call J.A.R.V.I.S
bakshish007 said:
it gives framework-res error checked the logs of auto aoktool
Code:
W: Skipping "android" package group
W: Skipping "android" package group
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
i get this error while decompiling ics settings and i have already installed ics framework-res before decompiling @DanielFlorin please suggest something
keep calm and call J.A.R.V.I.S
Click to expand...
Click to collapse
SemcGenericUxpRes.apk...?
bakshish007 said:
it gives framework-res error checked the logs of auto aoktool
Code:
W: Skipping "android" package group
W: Skipping "android" package group
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
Click to expand...
Click to collapse
JAVA installed? here the solution - see project website for more info!
TiVON said:
SemcGenericUxpRes.apk...?
Click to expand...
Click to collapse
didn't tried SemvGenericUxpRes.apk (i will try today)
and @sportik555 I've installed the latest JDK, JRE, and I have latest ADT bundle.....
keep calm and call J.A.R.V.I.S
bakshish007 said:
didn't tried SemvGenericUxpRes.apk (i will try today)
and @sportik555 I've installed the latest JDK, JRE, and I have latest ADT bundle.....
keep calm and call J.A.R.V.I.S
Click to expand...
Click to collapse
My dear friend: you have to install both framework-res.apk and SemcGenericUxpRes.apk.
apktool if framework-res.apk
apktool if SemcGenericUxpRes.apk
apktool d services.jar
--do mods--
apktool b services.jar.out
Go to dist folder and open .jar. Open original .jar and copy META-INF from original to modded .jar.
TiVON said:
My dear friend: you have to install both framework-res.apk and SemcGenericUxpRes.apk.
apktool if framework-res.apk
apktool if SemcGenericUxpRes.apk
apktool d services.jar
--do mods--
apktool b services.jar.out
Go to dist folder and open .jar. Open original .jar and copy META-INF from original to modded .jar.
Click to expand...
Click to collapse
thanks bro setting.apk success wit semcgenericuxpres.apk
keep calm and call J.A.R.V.I.S
Test this:
Click me
Could you upload the deodex package as well please?
thanks
NeoTrix said:
Test this:
Click me
Could you upload the deodex package as well please?
thanks
Click to expand...
Click to collapse
Thanx neo but H3LL already provided a services.jar and install xboost it's a kind of stock deodex ics
keep calm and call J.A.R.V.I.S
hello everyone
i searched a lot but couldnt find anything so postiong here
i was trying to add some featues to home.apk and i got some errors while recompiling
so i tried decompile and recompile without editing anything...i didnt even open the decompiled home apk folder LOL
but i am getting lots of smali errors only in styles.xml
i think that apktool removes some templates from styles.xml i dont know what it means i just got it from my search
so can someone help me in fixing that error....
@serajr
@SpaceCaker
@marcussmith2626
@iSiddharth
Either wrong framework loaded or using wrong apktool version
And please stop abusing the mention system - I won't reply to anymore mentions
marcussmith2626 said:
Either wrong framework loaded or using wrong apktool version
And please stop abusing the mention system - I won't reply to anymore mentions
Click to expand...
Click to collapse
Ah sorry
But what do u mean by WRONG apktool version??
abhishekr700 said:
Ah sorry
But what do u mean by WRONG apktool version??
Click to expand...
Click to collapse
use
gingerbread/ics/jb 1.5.2
https://code.google.com/p/android-apktool/downloads/list
jb/kitkat/lolipop apktool rc3
https://bitbucket.org/iBotPeaches/apktool/downloads
use correct framework-res
plus any other framework eg tw-framework
Use Advanced APK Tools for decompiling the APK files and you can also use the Attached Dex Editor to edit classes.dex files.....
Advanced APK tools is specially made for Xperia devicex. (use your "framework-res.apk" to install firmware in Advanced APK Tools)
(Drag and drop classes.dex in "Quick-Baksmali.cmd" to decompile and drag and drop the output folder is "Quick-Smali.cmd" to recompile.
Advanced APK Tools : http://forum.xda-developers.com/showthread.php?t=2639400
Items required:-
Apktool 1.5.2
Attachment L
Notepad++
SystemUI.apk
Winrar
Brain.jar and common sense.apk :what:
Procedure:-
1) Decompile SystemUI.apk
2) Navigate res/layout.
3) Open tw_status_bar_expanded.xml (for single sim samsung) or tw_status_bar_expanded_dual.xml (for dual sim samsung) or gemini_status_bar_expanded.xml (for mtk)
4) Just below this line
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
5) Add This :-
Code:
<include layout="@layout/fmd_locker_start" />
6) So that it becomes like this :-
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<include layout="@layout/fmd_locker_start" />
7) Save the xml file.
8) Now merge the files of attachment L.zip to the mentioned folders.
9) Recompile SystemUI.apk
10) Sign it (if signature verification is disabled) or merge meta-inf and androidmanifest.xml of original systemui.apk to the modded one using winrar. :what:
11) Install the given FMD locker like an normal apk and push SystemUI.apk to system/app.
Set permissions to rw--rr
And reboot
Dont forget to hit thanks hehe
Full Credits:-
FMD Devs
Klark Luis Perlata
Screenshot
eboybasit said:
Those people who comment false things on my post are having some problems with me,,,,when i post on xda,,,, they always create barriers for me so that moderator will lock my thread,,,,,one time they were successful in closing my thread but failed to prove their claim and then moderator unlocked my thread
Click to expand...
Click to collapse
I just closed your thread and this time you not be successful in reopening it. Please check your PM
Also, I removed all of the off topic conversations. @ everyone Please remember to either post in English or provide a translation if you post in your native language.
Reserved
Reserved
eboybasit said:
Items required:-
Apktool 1.5.2
Attachment L
Notepad++
SystemUI.apk
Winrar
Brain.jar and common sense.apk :what:
Procedure:-
1) Decompile SystemUI.apk
2) Navigate res/layout.
3) Open tw_status_bar_expanded.xml (for single sim samsung) or tw_status_bar_expanded_dual.xml (for dual sim samsung) or gemini_status_bar_expanded.xml (for mtk)
4) Just below this line
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
5) Add This :-
Code:
<include layout="@layout/fmd_locker_start" />
6) So that it becomes like this :-
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<include layout="@layout/fmd_locker_start" />
7) Save the xml file.
8) Now merge the files of attachment L.zip to the mentioned folders.
9) Recompile SystemUI.apk
10) Sign it (if signature verification is disabled) or merge meta-inf and androidmanifest.xml of original systemui.apk to the modded one using winrar. :what:
11) Install the given FMD locker like an normal apk and push SystemUI.apk to system/app.
Set permissions to rw--rr
And reboot
Dont forget to hit thanks hehe
Full Credits:-
FMD Devs
Klark Luis Perlata
Click to expand...
Click to collapse
nice one !
123vipulj said:
nice one !
Click to expand...
Click to collapse
thanks bro ^_^
Nice one. Looks good.
Keep it up :thumbup::thumbup::thumbup:
@DSttr said:
Keep it up :thumbup::thumbup::thumbup:
Click to expand...
Click to collapse
Thanks bro
how do i fix it !!!!
Uchiha_Dev said:
how do i fix it !!!!
Click to expand...
Click to collapse
Use apktool 1.5.2
Really interesting Thank you for this Information!
sdeepb said:
Use apktool 1.5.2
Click to expand...
Click to collapse
if i use apktool 1.5.2 i cannot use the apktool if framework-res.apk command it gives me errors
Uchiha_Dev said:
if i use apktool 1.5.2 i cannot use the apktool if framework-res.apk command it gives me errors
Click to expand...
Click to collapse
Press the button ...... And install framework again if you're having trouble..... Read the post it clearly says use apktool 1.5.2 and please post in the Q&A thread from now....
sdeepb said:
Press the button ...... And install framework again if you're having trouble..... Read the post it clearly says use apktool 1.5.2 and please post in the Q&A thread from now....
Click to expand...
Click to collapse
i tried many times to install the framework-res.apk but always get errors
Uchiha_Dev said:
i tried many times to install the framework-res.apk but always get errors
Click to expand...
Click to collapse
This smali is only for apktool 1.5.2 other higher apktool versions might give you error on recompiling
eboybasit said:
This smali is only for apktool 1.5.2 other higher apktool versions might give you error on recompiling
Click to expand...
Click to collapse
i cant use apktool 1.5.2 i cannot install my framework-res.apk with it
Uchiha_Dev said:
i cant use apktool 1.5.2 i cannot install my framework-res.apk with it
Click to expand...
Click to collapse
Use these smali for apktool 2
https://db.tt/FAEnxgBO
If i helped you dont forget to hit thanks
eboybasit said:
Use these smali for apktool 2
https://db.tt/FAEnxgBO
If i helped you dont forget to hit thanks
Click to expand...
Click to collapse
yay !!! thank you, can you upload apktool 2.0 smali for all your smali mods ?