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

Status
Not open for further replies.

laperry1

Senior Member
Dec 6, 2013
72
12
38
Silver Spring
C'est marche! Well, sorta...I've successfully booted the modded ROM...

2-things tho...
Google play did initiate automatically after initial boot...
Subsequent attempts to manually install any items failed w/the error below...

Next, xposed installed w/no complications, but the one module I use from there doesn't work...

GAPPS: Slim zero (for 5.1.1)
Xposed: v67-sdk-22-arm
Module: Swype back 2

ROM is compiled w/SELinux set to permissive

I'll recompile & submit another report later
 

Attachments

SuperR.

Recognized Developer
Mar 23, 2014
2,542
8,436
203
Invisible
C'est marche! Well, sorta...I've successfully booted the modded ROM...

2-things tho...
Google play did initiate automatically after initial boot...
Subsequent attempts to manually install any items failed w/the error below...

Next, xposed installed w/no complications, but the one module I use from there doesn't work...

GAPPS: Slim zero (for 5.1.1)
Xposed: v67-sdk-22-arm
Module: Swype back 2

ROM is compiled w/SELinux set to permissive

I'll recompile & submit another report later
Glad it is mostly working now :)
Play store should not be in your cm12.1 rom. Have you tried a different GAPPS?
I am not familiar with that xposed module. Wish I could help more.
 

nhokbuon

Member
Feb 21, 2013
11
1
0
Hà Nam
Help me

Help me run Deodex Tool 1.7 for linux . I newbie used Unbutu.
please guide me
pik.vn/2015b636a08f-ae11-4baa-a34b-f50a66e609d6.jpeg
pik.vn/2015d7c488d4-b728-4c33-afd1-adb510af04ce.jpeg
 

nhokbuon

Member
Feb 21, 2013
11
1
0
Hà Nam
Do this instead:
Code:
cd /home/longit/Downloads/deodex_lollipop_linux_v1.7
./deodex_lollipop
OR

Double-click the deodex_lollipop file and choose "Run in Terminal"
pik.vn/201547974bff-794a-47b7-9da7-0cc030930a14.png
I want packed a * .zip file to install via TeamWin Recovery Project is doing what.
thank you

---------- Post added at 02:42 PM ---------- Previous post was at 02:17 PM ----------

pik.vn/201547974bff-794a-47b7-9da7-0cc030930a14.png
I want packed a * .zip file to install via TeamWin Recovery Project is doing what.
thank you
help me....
 

SuperR.

Recognized Developer
Mar 23, 2014
2,542
8,436
203
Invisible
pik.vn/201547974bff-794a-47b7-9da7-0cc030930a14.png
I want packed a * .zip file to install via TeamWin Recovery Project is doing what.
thank you

---------- Post added at 02:42 PM ---------- Previous post was at 02:17 PM ----------



help me....
My tool is only for deodexing Lollipop. It does not create zips.

You can repack the ROM zip where the original odexed files came from. Just replace the odexed framework, app, and priv-app directories with the deodexed versions and zip it up.
 

ShinySide

Inactive Recognized Developer
Nov 30, 2013
3,965
4,818
253
IHB
@SuperR. Tmo S5 5.1.1, Ive been trying to figure it out but I give up. We, pretty much all apks in system, dont have an *.odex. We have *.odex.xz Anyway you can get this working for us with these .dex.xz files? Our framework deodex's fine. Just priv-app and app doesnt.
 

SuperR.

Recognized Developer
Mar 23, 2014
2,542
8,436
203
Invisible
@SuperR. Tmo S5 5.1.1, Ive been trying to figure it out but I give up. We, pretty much all apks in system, dont have an *.odex. We have *.odex.xz Anyway you can get this working for us with these .dex.xz files? Our framework deodex's fine. Just priv-app and app doesnt.
I will do my best :)

Do you have a link to the rom you are trying to deodex?
 

SuperR.

Recognized Developer
Mar 23, 2014
2,542
8,436
203
Invisible
@SuperR. Tmo S5 5.1.1, Ive been trying to figure it out but I give up. We, pretty much all apks in system, dont have an *.odex. We have *.odex.xz Anyway you can get this working for us with these .dex.xz files? Our framework deodex's fine. Just priv-app and app doesnt.
I will do my best :)

Do you have a link to the rom you are trying to deodex?
Actually, try this one and see how it goes. If it does not work I will need a link to the rom. Thanks

link removed
 
Last edited:
  • Like
Reactions: ShinySide

ShinySide

Inactive Recognized Developer
Nov 30, 2013
3,965
4,818
253
IHB
Actually, try this one and see how it goes. If it does not work I will need a link to the rom. Thanks

deodex_lollipop_linux_v1.9.1.zip
That appeared to work for the most part! Havent tried booting it yet tho, but opening the apks classes are now inside. Thanks buddy

I did get this one error tho on maps which is no biggie since I delete it anyways and download it from the playstore. One on SHealth4_1. And I ended finding one *.odex.xz in framework too so services.jar didnt get deodexed. So whatever you did for the app and priv-app will have to be done for the single *.odex.xz in the framework. But appears to work like a charm on everything else

Code:
... Deodexing Maps

Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
	at org.jf.dexlib2.dexbacked.reference.DexBackedReference.makeReference(DexBackedReference.java:47)
	at org.jf.dexlib2.dexbacked.instruction.DexBackedInstruction21c.getReference(DexBackedInstruction21c.java:54)
	at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeNewInstance(MethodAnalyzer.java:1157)
	at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:625)
	at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:211)
	at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:149)
	at org.rh.smaliex.OatUtil$OatDexRewriterModule$1$1.getInstructions(OatUtil.java:591)
	at org.jf.dexlib2.immutable.ImmutableMethodImplementation.of(ImmutableMethodImplementation.java:82)
	at org.jf.dexlib2.immutable.ImmutableMethod.<init>(ImmutableMethod.java:72)
	at org.jf.dexlib2.immutable.ImmutableMethod.of(ImmutableMethod.java:95)
	at org.jf.dexlib2.immutable.ImmutableMethod$1.makeImmutable(ImmutableMethod.java:129)
	at org.jf.dexlib2.immutable.ImmutableMethod$1.makeImmutable(ImmutableMethod.java:120)
	at org.jf.util.ImmutableConverter$3.next(ImmutableConverter.java:139)
	at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:301)
	at com.google.common.collect.ImmutableSet$Builder.addAll(ImmutableSet.java:522)
	at com.google.common.collect.ImmutableSortedSet$Builder.addAll(ImmutableSortedSet.java:551)
	at com.google.common.collect.ImmutableSortedSet.copyOf(ImmutableSortedSet.java:326)
	at org.jf.util.ImmutableConverter.toSortedSet(ImmutableConverter.java:137)
	at org.jf.dexlib2.immutable.ImmutableMethod.immutableSetOf(ImmutableMethod.java:116)
	at org.jf.dexlib2.immutable.ImmutableClassDef.<init>(ImmutableClassDef.java:109)
	at org.jf.dexlib2.immutable.ImmutableClassDef.of(ImmutableClassDef.java:138)
	at org.jf.dexlib2.immutable.ImmutableClassDef$3.makeImmutable(ImmutableClassDef.java:209)
	at org.jf.dexlib2.immutable.ImmutableClassDef$3.makeImmutable(ImmutableClassDef.java:200)
	at org.jf.util.ImmutableConverter$2.next(ImmutableConverter.java:105)
	at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:301)
	at com.google.common.collect.ImmutableSet$Builder.addAll(ImmutableSet.java:522)
	at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:321)
	at org.jf.util.ImmutableConverter.toSet(ImmutableConverter.java:103)
	at org.jf.dexlib2.immutable.ImmutableClassDef.immutableSetOf(ImmutableClassDef.java:196)
	at org.jf.dexlib2.immutable.ImmutableDexFile.<init>(ImmutableDexFile.java:47)
	at org.jf.dexlib2.immutable.ImmutableDexFile.of(ImmutableDexFile.java:58)
	at org.rh.smaliex.OatUtil$OatDexRewriter.rewriteDexFile(OatUtil.java:545)
mv: cannot stat ‘/home/adam0524/Downloads/deodex_lollipop_linux_v1.9.1/system/app/Maps/arm/Maps.dex’: No such file or directory


Code:
... Deodexing SHealth4_1

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
	at java.lang.Integer.valueOf(Integer.java:642)
	at org.jf.dexlib2.writer.DexWriter.writeFields(DexWriter.java:340)
	at org.jf.dexlib2.writer.DexWriter.writeTo(DexWriter.java:215)
	at org.jf.dexlib2.writer.DexWriter.writeTo(DexWriter.java:200)
	at org.jf.dexlib2.writer.pool.DexPool.writeTo(DexPool.java:99)
	at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:317)
	at org.rh.smaliex.OatUtil.oat2dex(OatUtil.java:163)
	at org.rh.smaliex.Main.main(Main.java:75)
 
Last edited:
  • Like
Reactions: bcrichster

SuperR.

Recognized Developer
Mar 23, 2014
2,542
8,436
203
Invisible
That appeared to work for the most part! Havent tried booting it yet tho, but opening the apks classes are now inside. Thanks buddy

I did get this one error tho on maps which is no biggie since I delete it anyways and download it from the playstore. One on SHealth4_1. And I ended finding one *.odex.xz in framework too so services.jar didnt get deodexed. So whatever you did for the app and priv-app will have to be done for the single *.odex.xz in the framework. But appears to work like a charm on everything else

Code:
... Deodexing Maps

Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
	at org.jf.dexlib2.dexbacked.reference.DexBackedReference.makeReference(DexBackedReference.java:47)
	at org.jf.dexlib2.dexbacked.instruction.DexBackedInstruction21c.getReference(DexBackedInstruction21c.java:54)
	at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeNewInstance(MethodAnalyzer.java:1157)
	at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:625)
	at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:211)
	at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:149)
	at org.rh.smaliex.OatUtil$OatDexRewriterModule$1$1.getInstructions(OatUtil.java:591)
	at org.jf.dexlib2.immutable.ImmutableMethodImplementation.of(ImmutableMethodImplementation.java:82)
	at org.jf.dexlib2.immutable.ImmutableMethod.<init>(ImmutableMethod.java:72)
	at org.jf.dexlib2.immutable.ImmutableMethod.of(ImmutableMethod.java:95)
	at org.jf.dexlib2.immutable.ImmutableMethod$1.makeImmutable(ImmutableMethod.java:129)
	at org.jf.dexlib2.immutable.ImmutableMethod$1.makeImmutable(ImmutableMethod.java:120)
	at org.jf.util.ImmutableConverter$3.next(ImmutableConverter.java:139)
	at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:301)
	at com.google.common.collect.ImmutableSet$Builder.addAll(ImmutableSet.java:522)
	at com.google.common.collect.ImmutableSortedSet$Builder.addAll(ImmutableSortedSet.java:551)
	at com.google.common.collect.ImmutableSortedSet.copyOf(ImmutableSortedSet.java:326)
	at org.jf.util.ImmutableConverter.toSortedSet(ImmutableConverter.java:137)
	at org.jf.dexlib2.immutable.ImmutableMethod.immutableSetOf(ImmutableMethod.java:116)
	at org.jf.dexlib2.immutable.ImmutableClassDef.<init>(ImmutableClassDef.java:109)
	at org.jf.dexlib2.immutable.ImmutableClassDef.of(ImmutableClassDef.java:138)
	at org.jf.dexlib2.immutable.ImmutableClassDef$3.makeImmutable(ImmutableClassDef.java:209)
	at org.jf.dexlib2.immutable.ImmutableClassDef$3.makeImmutable(ImmutableClassDef.java:200)
	at org.jf.util.ImmutableConverter$2.next(ImmutableConverter.java:105)
	at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:301)
	at com.google.common.collect.ImmutableSet$Builder.addAll(ImmutableSet.java:522)
	at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:321)
	at org.jf.util.ImmutableConverter.toSet(ImmutableConverter.java:103)
	at org.jf.dexlib2.immutable.ImmutableClassDef.immutableSetOf(ImmutableClassDef.java:196)
	at org.jf.dexlib2.immutable.ImmutableDexFile.<init>(ImmutableDexFile.java:47)
	at org.jf.dexlib2.immutable.ImmutableDexFile.of(ImmutableDexFile.java:58)
	at org.rh.smaliex.OatUtil$OatDexRewriter.rewriteDexFile(OatUtil.java:545)
mv: cannot stat ‘/home/adam0524/Downloads/deodex_lollipop_linux_v1.9.1/system/app/Maps/arm/Maps.dex’: No such file or directory


Code:
... Deodexing SHealth4_1

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
	at java.lang.Integer.valueOf(Integer.java:642)
	at org.jf.dexlib2.writer.DexWriter.writeFields(DexWriter.java:340)
	at org.jf.dexlib2.writer.DexWriter.writeTo(DexWriter.java:215)
	at org.jf.dexlib2.writer.DexWriter.writeTo(DexWriter.java:200)
	at org.jf.dexlib2.writer.pool.DexPool.writeTo(DexPool.java:99)
	at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:317)
	at org.rh.smaliex.OatUtil.oat2dex(OatUtil.java:163)
	at org.rh.smaliex.Main.main(Main.java:75)
Try this one for the *.odex.xz in framework

link removed

Regarding Maps and SHealth4_1, Maps is a known issue. I get the same error on the Moto E 2015 and the Windows Lollipop deodex tools also have the same issue. Sadly I do not know how to fix it yet.
 
Last edited:

ShinySide

Inactive Recognized Developer
Nov 30, 2013
3,965
4,818
253
IHB
Try this one for the *.odex.xz in framework

deodex_lollipop_linux_v1.9.3.zip

Regarding Maps and SHealth4_1, Maps is a known issue. I get the same error on the Moto E 2015 and the Windows Lollipop deodex tools also have the same issue. Sadly I do not know how to fix it yet.
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
 
Status
Not open for further replies.