[EOL][TOOL][LINUX] Batch Lollipop Deodex (v1.9.4 - 8/15/15) - Android

Disclaimer: I am not responsible for anything bad that may occur from the use of this tool, but I will take all the credit you can give me if it works for you
This tool is now deprecated in favor of SuperR's Kitchen
Batch Lollipop Deodex Tool for Linux
This tool has successfully deodexed the framework, app, and priv-app of the Moto E 2015, Samsung Galaxy Note 4, and Nexus 6. It should work on many others so please let us know your experience.
If you ask a question like "Will this work for the (Android device name here)?" the answer will almost certainly be "I don't know".
There is a readme included in the zip that explains general usage so please have a look there before asking. If there are issues, I will do my best to fix them.
Please do not repost this information or mirror the downloads. Feel free to post a link to this thread anywhere you like.
Enjoy!
Download:
deodex_lollipop_linux_v1.9.4.zip
Dependencies: (more info)
p7zip-full (7za)
java 7 (openjdk-7-jre works well)
Source
Thanks to:
testwhat - for SmaliEx
JesusFreke - for smali/baksmali

Changes:
v1.9.4
Added support for xz compressed odex files (Galaxy s5 and probably others)
v1.9
Adjustments for deodexing arm64 and x86_64 roms
Fixed a problem with deodexing apk's in framework dir
Better auto-detection of arch and api
UI improvments
Sped up performance by eliminating checks for things we already know
Squashed a few other random bugs
v1.8
Added support for ROMs with fake odexed files
Added support for odexed apk's in the framework directory
Added ARCH auto detection
Added API auto detection if build.prop is present
v1.7
Cleaned up the code a bit
Sped up framework deodexing by at least double
v1.6
Added support for gzipped odex files
v1.5
Cleaned UI more
Script will no longer let you pass with the wrong arch variable
v1.4
Cleaned up the UI a bit
Now it will only allow Lollipop API levels to be entered
Sped up the process by eliminating redundancy for frameworks with multiple classes
v1.3
Added check for dependencies
v1.2
Initial release

Welcome
Welcome back @SuperR. great way to make an entrance
Thanks for the Deodex script.

bigrammy said:
Welcome back @SuperR. great way to make an entrance
Thanks for the Deodex script.
Click to expand...
Click to collapse
Thanks for the warm welcome I hope the script helps some people out.

SuperR. said:
Thanks for the warm welcome I hope the script helps some people out.
Click to expand...
Click to collapse
Guaranteed! [emoji89] The most often repeated question I hear repeated over & over is: "How do deodex LP.. Does this or that Kitchen do so?" No, no current Kitchens do so yet and NO more Windows OS required to deodex LP with your new program!! This is Phenomenal. Thanx SuperR!! [emoji41]
Gratefully Sent from my rooted N9510 JollyRoger 4G

bcrichster said:
Guaranteed! [emoji89] The most often repeated question I hear repeated over & over is: "How do deodex LP.. Does this or that Kitchen do so?" No, no current Kitchens do so yet and NO more Windows OS required to deodex LP with your new program!! This is Phenomenal. Thanx SuperR!! [emoji41]
Gratefully Sent from my rooted N9510 JollyRoger 4G
Click to expand...
Click to collapse
Thanks for the kind words
I would thank your post but apparently I am only allowed to thank 8 posts per day and have reached my quota lol

[emoji16] Ur the Mann & this just proves it! I'm very glad to help in any way I can, You're helping way more ppl than anything I could do and I'm excited for you. I hope this takes off in all the right directions and I'm glad you posted here.. But AF was rocking you first!. Props bro! [emoji41]
Gratefully Sent from my rooted N9510 JollyRoger 4G

bcrichster said:
[emoji16] Ur the Mann & this just proves it! I'm very glad to help in any way I can, You're helping way more ppl than anything I could do and I'm excited for you. I hope this takes off in all the right directions and I'm glad you posted here.. But AF was rocking you first!. Props bro! [emoji41]
Gratefully Sent from my rooted N9510 JollyRoger 4G
Click to expand...
Click to collapse
Thanks again.
Pretend I pushed the thanks button What an interesting concept to limit thanking people for their work and helpful comments

v1.4 is up. Changes are in post #2.
Also added some screenshots

SuperR. said:
v1.4 is up. Changes are in post #2.
Also added some screenshots
Click to expand...
Click to collapse
GitHub!! Gonna clone this..
Gratefully Sent from my rooted N9510 JollyRoger 4G

thanks for your work! i downloaded the tool & extracted as instructed... unfortunately, the tool doesn't work for me...
the tool seems to does what it says it should do, deodexing system/app, frameworks & priv-apps...
while deodexing system/app & priv-apps, an error/warning message is generated for each odexed file:
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: Cannot find file or directory "/home/samadhi/Downloads/deodex_v1.4/system/priv-app/Telecom/arm/smali"
at org.jf.smali.main.main(main.java:179)
Click to expand...
Click to collapse
i load the finished files back in the zip, copy it to my device & flash... no probs, unfortunately, my device just bootloops @ the first cyanogen image...
Device: OnePlusOne
ROM: CM 12.1 - odexed
hope you can help!!

laperry1 said:
thanks for your work! i downloaded the tool & extracted as instructed... unfortunately, the tool doesn't work for me...
the tool seems to does what it says it should do, deodexing system/app, frameworks & priv-apps...
while deodexing system/app & priv-apps, an error/warning message is generated for each odexed file:
i load the finished files back in the zip, copy it to my device & flash... no probs, unfortunately, my device just bootloops @ the first cyanogen image...
Device: OnePlusOne
ROM: CM 12.1 - odexed
hope you can help!!
Click to expand...
Click to collapse
Please post a link to the rom you are trying to deodex and I will have a look.

SuperR. said:
Please post a link to the rom you are trying to deodex and I will have a look.
Click to expand...
Click to collapse
Thanks! Try this...
https://www.dropbox.com/s/r7crvwj3lbi8igx/cm-12.1-20150722-UNOFFICIAL-bacon.zip?dl=0

laperry1 said:
Thanks! Try this...
https://www.dropbox.com/s/r7crvwj3lbi8igx/cm-12.1-20150722-UNOFFICIAL-bacon.zip?dl=0
Click to expand...
Click to collapse
The rom you uploaded does not have anything to deodex. Have you already run the script on it before uploading? I need the untouched rom to see what is going on.

SuperR. said:
The rom you uploaded does not have anything to deodex. Have you already run the script on it before uploading? I need the untouched rom to see what is going on.
Click to expand...
Click to collapse
oh, ok... i'll upload it a little later... thanks again...

SuperR. said:
The rom you uploaded does not have anything to deodex. Have you already run the script on it before uploading? I need the untouched rom to see what is going on.
Click to expand...
Click to collapse
Try this one...
https://www.dropbox.com/s/yzmlhi15lq07gtn/cm-12.1-20150720-UNOFFICIAL-bacon.zip?dl=0

laperry1 said:
Try this one...
https://www.dropbox.com/s/yzmlhi15lq07gtn/cm-12.1-20150720-UNOFFICIAL-bacon.zip?dl=0
Click to expand...
Click to collapse
I found the problem. Please try this script. Make sure it is executable.

You have my respect SuperR. I love the way you respond and reply to issues concerning this thread. Keep up the good work
Sent from my C6602 using Tapatalk

SuperR. said:
I found the problem. Please try this script. Make sure it is executable.
Click to expand...
Click to collapse
cool! currently at work. i'll provide an update later this evening!

laperry1 said:
cool! currently at work. i'll provide an update later this evening!
Click to expand...
Click to collapse
I removed the test zip from the post above and posted v1.6 which incorporates the change. Thanks for helping me with this one. It will add a large number of devices to the supported list

Related

How to de-odex a Desire ROM?

Helllo everybody
Can anybody tell me (or a link?) how I can de-odex the rootedupdate.zip version 1.21.405.2?
Thank u
http://code.google.com/p/smali/wiki/DeodexInstructions
how space does de-odexing save? if that is one of its benefit
I tried it with the auto deodexer from this topic: http://forum.xda-developers.com/showthread.php?t=598026
The "De-odexing process" was successful. I de-odexed the /system/framework and the /system/app folder.
But if I replace the old /app and /framework with the de-odexed ones, my device doesn't startup.
Can anybody help me?
Flash the rom and then boot with logcat and search for the problem.
nickiberli said:
I tried it with the auto deodexer from this topic: http://forum.xda-developers.com/showthread.php?t=598026
The "De-odexing process" was successful. I de-odexed the /system/framework and the /system/app folder.
But if I replace the old /app and /framework with the de-odexed ones, my device doesn't startup.
Can anybody help me?
Click to expand...
Click to collapse
I'm having the same problem, do you solve it???
@ nickiberli : Download dsixda's kitchen and install it following his directions. It has all the tools you need to get started customizing ROMs. I believe your problem is that your .zip is not being signed which is another thing that his kitchen does for you.
@ ermacwins : Basically, (I'm not 100% on this explanation) "de-odexed" .apks are simply a .zip with a different extension. This allows further customization of the .apk. "odexed" .apks are split into two files, an ".apk" and an ."odex". The "odexed" .apk still contains the information that the "de-odexed" contains but is spread across the two files. To answer your question, I don't believe that a "de-odexed" rom saves you any more space than an "odexed" rom or vice versa.
@slavatore82 : Try the stuff I posted above. It should work for you. It's the method I've been using and it works great.
salvatore82 said:
I'm having the same problem, do you solve it???
Click to expand...
Click to collapse
When you deodex your files try to set compression level less than default. Till to 0. After deodex first boot-up might take about 10-15 min.
Dont know if this is going to shine light to anyones perspective view, but it did too me.
Link>>> http://www.addictivetips.com/mobile/what-is-odex-and-deodex-in-android-complete-guide/
SystemErrorOne said:
Dont know if this is going to shine light to anyones perspective view, but it did too me.
Link>>> http://www.addictivetips.com/mobile/what-is-odex-and-deodex-in-android-complete-guide/
Click to expand...
Click to collapse
Way to resurrect a 6 month old thread dude! lol, Just joking with ya, btw that link has some good info. Thanks for sharing it.
mbobino said:
Way to resurrect a 6 month old thread dude! lol, Just joking with ya, btw that link has some good info. Thanks for sharing it.
Click to expand...
Click to collapse
haha my bad man just trying to help lol

[ROM][XWKL1] Stock Deodexed SGS2 ROM

This is for those of you who like Samsung stock stuff.
I've created a deodexed ROM from stock XWKL1 firmware.
Its rooted with ChainsDD and BusyBox added.
The freedom of custom with the stock touch...enjoy!
Installation instructions :
1. Copy the ZIP to your sdcard
2. Flash via CWM Recovery.
3. Do a wipe data/factory reset if need.
4. Enjoy
Download the ZIP here.
Hope it helps people
Debadatta said:
This is for those of you who like Samsung stock stuff.
I've created a deodexed ROM from stock XWKL1 firmware.
Its rooted with ChainsDD and BusyBox added.
The freedom of custom with the stock touch...enjoy!
Installation instructions :
1. Copy the ZIP to your sdcard
2. Flash via CWM Recovery.
3. Do a wipe data/factory reset if need.
4. Enjoy
Download the ZIP here.
Hope it helps people
Click to expand...
Click to collapse
Thank you soooo much my friend!!! You saved my life!!! Haha! Exactly what i was lookin' for! Could you explain me in a PM how to deodex a rom please...?
Thanx again for the great work!
Check here http://forum.xda-developers.com/showthread.php?t=633246
SPACE ALIEN said:
Thank you soooo much my friend!!! You saved my life!!! Haha! Exactly what i was lookin' for! Could you explain me in a PM how to deodex a rom please...?
Thanx again for the great work!
Click to expand...
Click to collapse
af974 said:
Check here http://forum.xda-developers.com/showthread.php?t=633246
Click to expand...
Click to collapse
Main problems I had when trying to deodex XWKL1 with dsixda:
Voice Search, Maps, and Phonesky (the new name for the Market APK) would not deodex. This was solvable by:
Pulling VoiceSearch.apk from XXKI3
Pulling the updated Market APK from a working device and replacing Phonesky.apk with it
I didn't bother with Maps because it can be installed from the Market
The remaining issue I have:
On my device, when I press the Back button to exit from video playback, the video player hangs instead of exiting. It seems to be specific to my attempt at deodexing with dsixda.
Edit - Two major issues with your post:
1) You should state the base in the thread title
2) Your release is broken - you didn't bother to rectify the failure of the Market APK to deodex, and as a result, there is no Market in it.
However video playback is working, so it's time to figure out why that isn't working on my own deodexed device.
thx for the f/back, need to wait for market fix first b4 using this
SPACE ALIEN said:
Thank you soooo much my friend!!! You saved my life!!! Haha! Exactly what i was lookin' for! Could you explain me in a PM how to deodex a rom please...?
you can try to deodex rom with xUltimate vs2.2.8;for me is perfect.
Click to expand...
Click to collapse
i am a new in sgs stuffs i want to know what difference between KL1 AND KL2 i know that KL2 is the latest .thanks
Are there any bugs?
zemariaabreusantos said:
Are there any bugs?
Click to expand...
Click to collapse
One bug got to be known today is that Phonesky.apk (Market) failed to deodex and it is not included in the ROM. However, you can install market manually. See attached file.
Report back if you have problems.
zenosteam said:
i am a new in sgs stuffs i want to know what difference between KL1 AND KL2 i know that KL2 is the latest .thanks
Click to expand...
Click to collapse
nop. the latest are LA2 and LA4
question to forum mods. should this be in original android development or in android development ? I say this cause I have a few odexed deodexed roms myself and I use the android development instead of original.
best regards,
remorema
Please if someone could post here a link contains the Android package installer.APK odexed from XWKL1, I'd be grateful. thank you.
ok got it, thank you guys
this should be in android dev and not Original development::: MOd's move this thread please
belongs in the android development
Hi guys how I stock orders?
I've read, but I could not understand :S
afemesya said:
Hi guys how I stock orders?
I've read, but I could not understand :S
Click to expand...
Click to collapse
Please elaborate your question.
Sent from my GT-I9100 using Tapatalk
Debadatta said:
One bug got to be known today is that Phonesky.apk (Market) failed to deodex and it is not included in the ROM. However, you can install market manually. See attached file.
Report back if you have problems.
Click to expand...
Click to collapse
Hi
I installed the market apk as attached, but it keeps forceclosing - I've tried everything!
Help!
Cheers!
guy3001 said:
Hi
I installed the market apk as attached, but it keeps forceclosing - I've tried everything!
Help!
Cheers!
Click to expand...
Click to collapse
Deodexed market is a hard thing to find. Now even more because its Google play. I'll try to fix them in the ICS version.
Sent from my GT-I9100 using Tapatalk
CWM Updater script?
Hi,
Could anyone please provide me the CWM updater script found in this deodexed rom?
Thanks in advance.

[.13] Framework Deodexer

Hi
Here you get:
A automatic Framework Deodexer for newest 13 Firmware.
I already made this for .587, look HERE.
Download
framework_deodex_13_papayayoghurt_20130411.zip
MD5: 247A1889D89CC535107D83017DD90894
FAQ
Q: Bootloop!
A: Try "Fix Permission" in recovery, if it doesn´t help, reflash FW without Wipe using Flashtool
Q: I do not have the Version 4.1.B.1.13.
A: Wait for update or flash this using Flashtool
Q: What is this for?
A: Deodexing gives you more space in /system and you can easy edit the Framework Files. This is very helpful for modders!
...more coming sool
Regards:
papayayoghurt
PS: Don´t forget to press the Thanks Button
And you said, Arc forum is dying out! Ha, I can only laugh, keep up the good work!
Master of Bisaster said:
And you said, Arc forum is dying out! Ha, I can only laugh, keep up the good work!
Click to expand...
Click to collapse
Thanks, I will do it!
Ahhh.... You answer my call.......
Thx , mate.... :fingers-crossed:
Edit : Seems your file is broken. I've check the md5sum, my download is the same with the one in Goo.im.
vashta said:
Ahhh.... You answer my call.......
Thx , mate.... :fingers-crossed:
Edit : Seems your file is broken. I've check the md5sum, my download is the same with the one in Goo.im.
Click to expand...
Click to collapse
Tnx Man, I will Try to install today and Fix the bug for GSM/WCMA.
All frameworks are deodexed the same way and odexed the same way. There is no difference, hence I see no need to create a new thread
emwno said:
All frameworks are deodexed the same way and odexed the same way. There is no difference, hence I see no need to create a new thread
Click to expand...
Click to collapse
No, eight files in /system/framework are odexed.
Oh, the file is really broken, I am currently uploading it again.
EDIT: It´s working now!
papayayoghurt said:
No, eight files in /system/framework are odexed.
Click to expand...
Click to collapse
Well the title is misleading as it says automatic framework deodexer, where as it just pushes files deodexed by you. Just saying
emwno said:
Well the title is misleading as it says automatic framework deodexer, where as it just pushes files deodexed by you. Just saying
Click to expand...
Click to collapse
Automatic can also mean that a zip does this work. Most of the people don´t care if a zip deodexes it or does it push deodexed files.
But if you want, I will remove automatic. Should I?
papayayoghurt said:
Automatic can also mean that a zip does this work. Most of the people don´t care if a zip deodexes it or does it push deodexed files.
But if you want, I will remove automatic. Should I?
Click to expand...
Click to collapse
Na, keep it. I got confused looking at the zip and the title, but that's just me
emwno said:
All frameworks are deodexed the same way and odexed the same way. There is no difference, hence I see no need to create a new thread
Click to expand...
Click to collapse
Usefull Critism as always.
Most users don't know how to do it, hence this thread makes a sence.
Automic is indeed misleading, but won't matter for users.
Main thing is - This already has been posted before, including LED FIX, so there is actually no need for this thread.
jader13254 said:
Usefull Critism as always.
Most users don't know how to do it, hence this thread makes a sence.
Automic is indeed misleading, but won't matter for users.
Main thing is - This already has been posted before, including LED FIX, so there is actually no need for this thread.
Click to expand...
Click to collapse
People PMd me that I should make this. Why not?
FUN?!
Ist da jemand der Dünsch heißt?
http://forum.xda-developers.com/showthread.php?t=2131127
Posted months ago my friend
jader13254 said:
Usefull Critism as always.
Most users don't know how to do it, hence this thread makes a sence.
Automic is indeed misleading, but won't matter for users.
Main thing is - This already has been posted before, including LED FIX, so there is actually no need for this thread.
Click to expand...
Click to collapse
+1 to the useful part. But yeah, your right, user dont really care.
After Installed the .578 version, the Walkman player is always force closing and I don't can hear music... Any solution to solve the problem?
sorry for my little english
Which rom do you use, nobody reported this problem already.
FUN?!
Ist da jemand der Dünsch heißt?
papayayoghurt said:
Which rom do you use, nobody reported this problem already.
FUN?!
Ist da jemand der Dünsch heißt?
Click to expand...
Click to collapse
Stock Rom
sorry for my little english

[Q]how can i put the supercharger v6 script in my rom?

hey ,i`m learning making my own rom now,and i saw the supercharger v6 script,it seems very useful
but when i download the file from XDA,i found it must using by other software ,so i want to ask you if i can put it into my rom without that software?and how?
longlongriver said:
hey ,i`m learning making my own rom now,and i saw the supercharger v6 script,it seems very useful
but when i download the file from XDA,i found it must using by other software ,so i want to ask you if i can put it into my rom without that software?and how?
Click to expand...
Click to collapse
Take the the following file to your ROM
1. system/framework/services.jar
2.system/etc/init.d/s99supercharger <--- Whatever it's named , just make sure it is supercharger's script
Hit the thank !!!
Good luck mate !! 祝你好运
By the way next time please post in Q&A Sections
Oh you need to give him the Credit too
Phillip Wu said:
Take the the following file to your ROM
1. system/framework/services.jar
2.system/etc/init.d/s99supercharger <--- Whatever it's named , just make sure it is supercharger's script
Hit the thank !!!
Good luck mate !! 祝你好运
By the way next time please post in Q&A Sections
Click to expand...
Click to collapse
thanks
it was the first time i post Thread here,so i don`t know that
and i can`t find the file you said ,would you please send it to me ?thanks
You should get permission from the dev first before trying to implement anything.
Sent from my SGH-T999 using Tapatalk 4 Beta
longlongriver said:
hey ,i`m learning making my own rom now,and i saw the supercharger v6 script,it seems very useful
but when i download the file from XDA,i found it must using by other software ,so i want to ask you if i can put it into my rom without that software?and how?
Click to expand...
Click to collapse
Make sure to get permission from Zep and if you post the rom with his tweak,make sure to link to his original post and post thanks for letting you use it.
No need to pm me just the let users know its supercharged and with a link.
Newest versions (currently code named black dog) will have all the files on the sdcard with proper folder structure for easy baking.
zeppelinrox said:
No need to pm me just the let users know its supercharged and with a link.
Newest versions (currently code named black dog) will have all the files on the sdcard with proper folder structure for easy baking.
Click to expand...
Click to collapse
Zep. Thank you for this. I was looking into how to bake it in the ROM.
This is not directed at the OP. CREDIT is the only payment these guys ask for in return for their hardwork, BE GENEROUS. Just my way of saying thanks.

[REQ] Remove CRT Screen animation

Anyone have a .zip I can flash to remove this? It installed itself with newt's NOS m7 4.2.2 rom and i've flashed other roms after that and it won't go away....
whtciv2k said:
Anyone have a .zip I can flash to remove this? It installed itself with newt's NOS m7 4.2.2 rom and i've flashed other roms after that and it won't go away....
Click to expand...
Click to collapse
unfortunately i cannot download the roim currently but if you have the rom available lookin in the the framework folder there should be a file labeled services jar - if you zip that over to me and i will try to fix that for you
xvicedice said:
unfortunately i cannot download the roim currently but if you have the rom available lookin in the the framework folder there should be a file labeled services jar - if you zip that over to me and i will try to fix that for you
Click to expand...
Click to collapse
Thanks dude, I've attached the file. There's a ton of users in the NOS 4.2.2 GPE that want this fixed but we can't seem to figure out how. If you get this fixed for us then you're an absolute life saver. Happen to know this stuck around even when flashing to a completely different rom?
Thanks
whtciv2k said:
Thanks dude, I've attached the file. There's a ton of users in the NOS 4.2.2 GPE that want this fixed but we can't seem to figure out how. If you get this fixed for us then you're an absolute life saver. Happen to know this stuck around even when flashing to a completely different rom?
Thanks
Click to expand...
Click to collapse
apologies can you also please forward me the services.odex file please (in the same folder) again no promises but ill take a look
[/ATTACH]
xvicedice said:
apologies can you also please forward me the services.odex file please (in the same folder) again no promises but ill take a look
Click to expand...
Click to collapse
Attached.
Thanks
xvicedice said:
apologies can you also please forward me the services.odex file please (in the same folder) again no promises but ill take a look
Click to expand...
Click to collapse
Any help that you can provide whether there is a resolution or not is much appreciated.
whtciv2k said:
Any help that you can provide whether there is a resolution or not is much appreciated.
Click to expand...
Click to collapse
i will work on this tonight for you
in the meantime just open up settings go to developer options and deselect windows animations for now reboot your phone and this will disable CRT
xvicedice said:
i will work on this tonight for you
in the meantime backup first - use a fileexplorer and navigate to root, select system and open the build prop with a text editor.. under ui tweaks add the following debug.sf.electron_frames=1
Click to expand...
Click to collapse
Thanks. I'll run a nandroid and give that a shot.
whtciv2k said:
Thanks. I'll run a nandroid and give that a shot.
Click to expand...
Click to collapse
apologies the post you quatoed was meant for another forum, please follow the new post for now just go into the developement options on your phone and deactivate window animations - This will disable the CRT until i take a look at the Services.jar
xvicedice said:
apologies the post you quatoed was meant for another forum, please follow the new post for now just go into the developement options on your phone and deactivate window animations - This will disable the CRT until i take a look at the Services.jar
Click to expand...
Click to collapse
Done. Thanks! :good:

Categories

Resources