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

Status
Not open for further replies.

SuperR.

Recognized Developer
Mar 23, 2014
2,542
8,436
203
Invisible
That broke deodexing the whole framework

(Only part of it all)
Code:
Start deodexing /system/framework ...
----------------------------------------------------


... Extracting services.odex.xz


... Deodexing allshare

Error: Unable to access jarfile oat2dex.jar
mv: cannot stat ‘/home/adam0524/Android_****/Rom_Stuff/deodex_lollipop/system/framework/arm/allshare.dex’: No such file or directory

... Deodexing am

Error: Unable to access jarfile oat2dex.jar
mv: cannot stat ‘/home/adam0524/Android_****/Rom_Stuff/deodex_lollipop/system/framework/arm/am.dex’: No such file or directory

... Deodexing android.test.runner

Error: Unable to access jarfile oat2dex.jar
mv: cannot stat ‘/home/adam0524/Android_****/Rom_Stuff/deodex_lollipop/system/framework/arm/android.test.runner.dex’: No such file or directory

... Deodexing appops

Error: Unable to access jarfile oat2dex.jar
mv: cannot stat ‘/home/adam0524/Android_****/Rom_Stuff/deodex_lollipop/system/framework/arm/appops.dex’: No such file or directory

... Deodexing appwidget

Error: Unable to access jarfile oat2dex.jar
mv: cannot stat ‘/home/adam0524/Android_****/Rom_Stuff/deodex_lollipop/system/framework/arm/appwidget.dex’: No such file or directory

... Deodexing bmgr

Error: Unable to access jarfile oat2dex.jar
mv: cannot stat ‘/home/adam0524/Android_****/Rom_Stuff/deodex_lollipop/system/framework/arm/bmgr.dex’: No such file or directory
Did you start from a completely fresh framework or re-run the script after running it previously? If you ran the script after running it before, try running it on a fully odexed framework. If you started with a fully odexed framework, please zip the fully odexed framework and send me a link so I can see what is going on. Thanks
 

ShinySide

Inactive Recognized Developer
Nov 30, 2013
3,965
4,818
253
IHB
Did you start from a completely fresh framework or re-run the script after running it previously? If you ran the script after running it before, try running it on a fully odexed framework. If you started with a fully odexed framework, please zip the fully odexed framework and send me a link so I can see what is going on. Thanks
Completely fresh run. I'll send it to you in a few when I get a sec
 

ShinySide

Inactive Recognized Developer
Nov 30, 2013
3,965
4,818
253
IHB
Thanks for sending the framework. This one should sort it out for you. Please let me know how it goes :)

deodex_lollipop_linux_v1.9.4.zip
Not working at all. I run the script and get this:

Code:
----------------------------------------------------
-                                                  -
-            Deodex Lollipop for Linux             -
-                    by SuperR                     -
-                                                  -
----------------------------------------------------

ls: cannot access */: No such file or directory
ls: cannot access */: No such file or directory
ls: cannot access */: No such file or directory
ls: cannot access */: No such file or directory


----------------------------------------------------
-                                                  -
-            Deodex Lollipop for Linux             -
-                    by SuperR                     -
-                                                  -
----------------------------------------------------

Configure the arch of your device.

HINT:
Check the framework directory, you should see
another directory inside. The name of it should go
here (ex. arm, arm64, x86).

If you can't get past this part, check the
following:

1. Make sure this is a Lollipop rom.
2. Make sure you typed the arch variable correctly.
3. Make sure your rom is not already deodexed.

Type the arch of your device and press ENTER.




----------------------------------------------------
-                                                  -
-            Deodex Lollipop for Linux             -
-                    by SuperR                     -
-                                                  -
----------------------------------------------------

Configure the arch of your device.

HINT:
Check the framework directory, you should see
another directory inside. The name of it should go
here (ex. arm, arm64, x86).

If you can't get past this part, check the
following:

1. Make sure this is a Lollipop rom.
2. Make sure you typed the arch variable correctly.
3. Make sure your rom is not already deodexed.

Type the arch of your device and press ENTER.

arm


----------------------------------------------------
-                                                  -
-            Deodex Lollipop for Linux             -
-                    by SuperR                     -
-                                                  -
----------------------------------------------------

Configure the arch of your device.

HINT:
Check the framework directory, you should see
another directory inside. The name of it should go
here (ex. arm, arm64, x86).

If you can't get past this part, check the
following:

1. Make sure this is a Lollipop rom.
2. Make sure you typed the arch variable correctly.
3. Make sure your rom is not already deodexed.

Type the arch of your device and press ENTER.

arm


----------------------------------------------------
-                                                  -
-            Deodex Lollipop for Linux             -
-                    by SuperR                     -
-                                                  -
----------------------------------------------------

Configure the arch of your device.

HINT:
Check the framework directory, you should see
another directory inside. The name of it should go
here (ex. arm, arm64, x86).

If you can't get past this part, check the
following:

1. Make sure this is a Lollipop rom.
2. Make sure you typed the arch variable correctly.
3. Make sure your rom is not already deodexed.

Type the arch of your device and press ENTER.
and typing in arm and hitting enter does nothing and have a build prop in the system folder
 

SuperR.

Recognized Developer
Mar 23, 2014
2,542
8,436
203
Invisible
Not working at all. I run the script and get this:

Code:
----------------------------------------------------
-                                                  -
-            Deodex Lollipop for Linux             -
-                    by SuperR                     -
-                                                  -
----------------------------------------------------

ls: cannot access */: No such file or directory
ls: cannot access */: No such file or directory
ls: cannot access */: No such file or directory
ls: cannot access */: No such file or directory
[3;J

----------------------------------------------------
-                                                  -
-            Deodex Lollipop for Linux             -
-                    by SuperR                     -
-                                                  -
----------------------------------------------------

Configure the arch of your device.

HINT:
Check the framework directory, you should see
another directory inside. The name of it should go
here (ex. arm, arm64, x86).

If you can't get past this part, check the
following:

1. Make sure this is a Lollipop rom.
2. Make sure you typed the arch variable correctly.
3. Make sure your rom is not already deodexed.

Type the arch of your device and press ENTER.


[3;J

----------------------------------------------------
-                                                  -
-            Deodex Lollipop for Linux             -
-                    by SuperR                     -
-                                                  -
----------------------------------------------------

Configure the arch of your device.

HINT:
Check the framework directory, you should see
another directory inside. The name of it should go
here (ex. arm, arm64, x86).

If you can't get past this part, check the
following:

1. Make sure this is a Lollipop rom.
2. Make sure you typed the arch variable correctly.
3. Make sure your rom is not already deodexed.

Type the arch of your device and press ENTER.

arm
[3;J

----------------------------------------------------
-                                                  -
-            Deodex Lollipop for Linux             -
-                    by SuperR                     -
-                                                  -
----------------------------------------------------

Configure the arch of your device.

HINT:
Check the framework directory, you should see
another directory inside. The name of it should go
here (ex. arm, arm64, x86).

If you can't get past this part, check the
following:

1. Make sure this is a Lollipop rom.
2. Make sure you typed the arch variable correctly.
3. Make sure your rom is not already deodexed.

Type the arch of your device and press ENTER.

arm
[3;J

----------------------------------------------------
-                                                  -
-            Deodex Lollipop for Linux             -
-                    by SuperR                     -
-                                                  -
----------------------------------------------------

Configure the arch of your device.

HINT:
Check the framework directory, you should see
another directory inside. The name of it should go
here (ex. arm, arm64, x86).

If you can't get past this part, check the
following:

1. Make sure this is a Lollipop rom.
2. Make sure you typed the arch variable correctly.
3. Make sure your rom is not already deodexed.

Type the arch of your device and press ENTER.
and typing in arm and hitting enter does nothing and have a build prop in the system folder
Very strange. I have run it 3 times with the framework you sent and it completes without issues. I do not have your build.prop or app/priv-app directories so maybe try running it without that and choose 22 as the api and see if that lets it finish. Otherwise, please send a link to the rest of the rom so I can try to see what is going on.

If you are running the script from another directory it may cause issues too. Make sure you cd to the script dir and run from there.

Bad example:
Code:
[email protected]:~$/android/deodex_lollipop_linux/deodex_lollipop
Good example:
Code:
[email protected]:~$ cd /android/deodex_lollipop_linux
[email protected]:~/android/deodex_lollipop_linux$ ./deodex_lollipop
 
Last edited:

ShinySide

Inactive Recognized Developer
Nov 30, 2013
3,965
4,818
253
IHB
Very strange. I have run it 3 times with the framework you sent and it completes without issues. I do not have your build.prop or app/priv-app directories so maybe try running it without that and choose 22 as the api and see if that lets it finish. Otherwise, please send a link to the rest of the rom so I can try to see what is going on.

If you are running the script from another directory it may cause issues too. Make sure you cd to the script dir and run from there.

Bad example:
Code:
[email protected]:~$/android/deodex_lollipop_linux/deodex_lollipop
Good example:
Code:
[email protected]:~$ cd /android/deodex_lollipop_linux
[email protected]:~/android/deodex_lollipop_linux$ ./deodex_lollipop
Definitely the correct directory. But I'll try that and let you know or send you all the needed directories. Thanks bud
 

quanganh2627

Senior Member
Aug 13, 2013
353
1,256
0
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
This tool run very fast to deodex ZenFone 2 both of x86 & x86-64 version. Thanks a lots of you to make awesome tool

Sent from my ASUS_T00F using Tapatalk
 

SuperR.

Recognized Developer
Mar 23, 2014
2,542
8,436
203
Invisible
  • Like
Reactions: jenkins-84

darangel212

Senior Member
Oct 1, 2012
228
27
0
Bro,

I'm Using Ubuntu 16 and did everything you said; installed dependencies (java 7 & 7zip) and copied three folders into system directory including build.prop but when I run your tool in terminal it says "Missing framework. You must copy at-least the framework directory from your phone into the system directory located in the root of this tool"


Attaching screenshots for your convenience. I am using Galaxy S5 G900H Official LP 5.0


Any help?
 

Attachments

SuperR.

Recognized Developer
Mar 23, 2014
2,542
8,436
203
Invisible
Bro,

I'm Using Ubuntu 16 and did everything you said; installed dependencies (java 7 & 7zip) and copied three folders into system directory including build.prop but when I run your tool in terminal it says "Missing framework. You must copy at-least the framework directory from your phone into the system directory located in the root of this tool"


Attaching screenshots for your convenience. I am using Galaxy S5 G900H Official LP 5.0


Any help?
As stated in the OP, this tool is no longer supported and has been merged with SuperR's Kitchen found here. Enjoy

http://forum.xda-developers.com/chef...tchen-t3202296
 
Status
Not open for further replies.