[Q] How to deodex the services.odex,services.jar? - Atrix 4G Android Development

How to deodex the services.odex,services.jar?
i used the baksmali , but always has an error .like this:
Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Code.Analysis.ClassPath$ClassNotFoundException: Could not find int
erface Lcom/motorola/android/widget/SlideButton$OnSlideEndListener;
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loadAllImplementedInte
rfaces(ClassPath.java:819)
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.<init>(ClassPath.java:
675)
at org.jf.dexlib.Code.Analysis.ClassPath.loadClassDef(ClassPath.java:280
)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:16
3)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPathFromOdex(Cla
ssPath.java:110)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:96)
at org.jf.baksmali.main.main(main.java:278)
Error while loading class Lcom/android/internal/policy/impl/LockScreen; from fil
e .\android.policy.zip
Error while loading ClassPath class Lcom/android/internal/policy/impl/LockScreen

Its already been done...

Related

[Q] Deodexing v20p fails on five files

Fails on the same files using both Rom kitchen and xUltimate. Happy I've followed both tutorials to the letter. What do you suggest I do next? I'm just eager to learn. Who knows where that will lead.
Here's the five files from kitchens log.
smali/baksmali version: 1.3.2
Folder: app
-------------------
* Warning: GoogleQuickSearchBox.odex (trying brute-force method)
* ERROR: Aborting GoogleQuickSearchBox.odex!
* Warning: Maps.odex (trying brute-force method)
* ERROR: Aborting Maps.odex!
* Warning: Phonesky.odex (trying brute-force method)
* ERROR: Aborting Phonesky.odex!
* Warning: PlusOne.odex (trying brute-force method)
* ERROR: Aborting PlusOne.odex!
* Warning: VoiceSearch.odex (trying brute-force method)
* ERROR: Aborting VoiceSearch.odex!
NOW AT FILE 2 OF 5 IN system/app: Maps.odex
Disassembling Maps.odex ...
java -Xmx512m -jar baksmali.jar -a 10 -d ../framework -x Maps.odex
Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Code.Analysis.ClassPath$ClassNotFoundException: Could not find int
erface Landroid/os/Parcelable$ClassLoaderCreator;
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loadAllImplementedInte
rfaces(ClassPath.java:865)
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.<init>(ClassPath.java:
690)
at org.jf.dexlib.Code.Analysis.ClassPath.loadClassDef(ClassPath.java:280
)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:16
3)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPathFromOdex(Cla
ssPath.java:110)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:104)
at org.jf.baksmali.main.main(main.java:293)
Error while loading class Landroid/support/v4/os/ParcelableCompatCreatorHoneycom
bMR2; from file Maps.odex
Error while loading ClassPath class Landroid/support/v4/os/ParcelableCompatCreat
orHoneycombMR2;
-> Using brute-force method (ignore above error if successful):
Disassembling Maps.odex ...
java -Xmx512m -jar baksmali.jar -a 10 -d ../framework -c :am.jar:android.policy.
jar:android.test.runner.jar:bmgr.jar:bouncycastle.jar:com.android.location.provi
der.jar:com.google.android.maps.jar:core-junit.jar:core.jar:ext.jar:framework.ja
r:ime.jar:input.jar:javax.obex.jar:monkey.jarm.jar:services.jar:sqlite-jdbc.ja
r:svc.jar -x Maps.odex
Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Code.Analysis.ClassPath$ClassNotFoundException: Could not find int
erface Landroid/os/Parcelable$ClassLoaderCreator;
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loadAllImplementedInte
rfaces(ClassPath.java:865)
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.<init>(ClassPath.java:
690)
at org.jf.dexlib.Code.Analysis.ClassPath.loadClassDef(ClassPath.java:280
)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:16
3)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPathFromOdex(Cla
ssPath.java:110)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:104)
at org.jf.baksmali.main.main(main.java:293)
Error while loading class Landroid/support/v4/os/ParcelableCompatCreatorHoneycom
bMR2; from file Maps.odex
Error while loading ClassPath class Landroid/support/v4/os/ParcelableCompatCreat
orHoneycombMR2;
ERROR: Aborting Maps.odex

[Q] Help with deodexing stock XXBMF1

Hi.
Been trying to deodex my favourite stock XXBMF1.
Working on dsixda kitchen and for some reason can`t go any further with deodexing as stuck with 2 files from framework directory.
Have a look below please and let me know what can be done to finish with deodexing.
Thanks a lot in advance.
p.s. Tried deodexing files manually but no luck either..
Code:
Going into system/framework ...
NOW AT FILE 1 OF 2 IN system/framework: framework.odex
Disassembling framework.odex ...
java -Xmx512m -jar baksmali.jar -a 17 -d ../framework -x framework.odex
Error occured while disassembling class Lcom.android.internal.telephony.gsm.GsmCallTracker; - skipping class
java.lang.RuntimeException: regCount does not match the number of arguments of the method
at org.jf.dexlib.Code.Format.Instruction35c.checkItem(Instruction35c.java:160)
at org.jf.dexlib.Code.Format.Instruction35c.<init>(Instruction35c.java:69)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:3681)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1106)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:213)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:389)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:311)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:132)
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:338)
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:310)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:117)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:186)
at org.jf.baksmali.main.main(main.java:308)
Assembling into classes.dex ...
java -Xmx512m -jar smali.jar -a 17 -o classes.dex out
out\com\android\internal\telephony\gsm\GsmCallTracker.smali[0,-1] no viable alternative at input '<EOF>'
WARNING: Unable to produce classes.dex!
ERROR: Aborting framework.odex
NOW AT FILE 2 OF 2 IN system/framework: framework2.odex
Disassembling framework2.odex ...
java -Xmx512m -jar baksmali.jar -a 17 -d ../framework -x framework2.odex
Error occured while disassembling class Lcom.android.internal.telephony.msim.MSimCDMAPhone; - skipping class
java.lang.RuntimeException: regCount does not match the number of arguments of the method
at org.jf.dexlib.Code.Format.Instruction35c.checkItem(Instruction35c.java:160)
at org.jf.dexlib.Code.Format.Instruction35c.<init>(Instruction35c.java:69)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:3681)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1106)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:213)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:389)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:311)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:132)
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:338)
at org.jf.baksmali.Adaptors.ClassDefinition.writeDirectMethods(ClassDefinition.java:294)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:116)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:186)
at org.jf.baksmali.main.main(main.java:308)
Error while disassembling method Lcom/android/internal/telephony/msim/MSimCdmaDataConnectionTracker;->getUiccCardApplication()Lcom/android/internal/telephony/uicc/IccRecords;. Continuing.
org.jf.dexlib.Code.Analysis.ValidationException: Could not resolve the field in class Ljava/lang/String; at offset 36
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeIputIgetQuick(MethodAnalyzer.java:3590)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1104)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:213)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:389)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:311)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:132)
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:338)
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:310)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:117)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:186)
at org.jf.baksmali.main.main(main.java:308)
opcode: iget-quick
CodeAddress: 10
Method: Lcom/android/internal/telephony/msim/MSimCdmaDataConnectionTracker;->getUiccCardApplication()Lcom/android/internal/telephony/uicc/IccRecords;
Error while disassembling method Lcom/android/internal/telephony/msim/MSimCdmaDataConnectionTracker;->update()V. Continuing.
org.jf.dexlib.Code.Analysis.ValidationException: Could not resolve the method in class Lcom/android/internal/telephony/msim/MSimCDMAPhone; at index 317
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:3655)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1106)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:213)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:389)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:311)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:132)
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:338)
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:310)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:117)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:186)
at org.jf.baksmali.main.main(main.java:308)
opcode: invoke-virtual-quick
CodeAddress: 42
Method: Lcom/android/internal/telephony/msim/MSimCdmaDataConnectionTracker;->update()V
ERROR: Aborting framework2.odex
Finished system/framework
WARNING: Could not deodex the following (you can try to deodex these files again):
framework.odex framework2.odex
A summary of the deodexing has been logged in deodex_100113_204254.log
135 *.odex files remain in system/app
2 *.odex files remain in system/framework
Press Enter to continue

[Q] Xposed doesn't work after reboot, it needs subsequent soft reboot - S7198

Hello,
I have installed Xposed Framework on my Chinese S7198 (02_jbla668) phone. It works fine except that if I reboot the phone it looks like Xposed is not active: none of the modules work.
If I go to Xposed Frameword and tap "Soft Reboot" everything works again. I couldn't find an answer to this in the forum.
I just did a reboot and got the log from Xposed. It shows it can't find the module files.Timing problem on the availability of the files?
Log file follows.
Thanks in advance.
Code:
-----------------
1 Jul 2014 14:31:31 UTC
Loading Xposed v54 (for Zygote)...
Running ROM '02_v89_jbla668_20131109' with fingerprint 'alps/2101_v89_jbla668/2101_v89_jbla668:4.2.2/JDQ39/1383966244:usr/tst-kys'
Loading modules from /mnt/asec/com.zst.xposed.xuimod-2/pkg.apk
File does not exist
Loading modules from /mnt/asec/de.robv.android.xposed.mods.appsettings-1/pkg.apk
File does not exist
Loading modules from /mnt/asec/com.pyler.xssidindicator-2/pkg.apk
File does not exist
Loading modules from /mnt/asec/ma.wanam.torch-1/pkg.apk
File does not exist
Loading modules from /data/app/ccc71.at.free-1.apk
Loading class ccc71.at.xposed.at_xposed_enabled
Loading class ccc71.at.xposed.at_remove_battery_icon
Loading class ccc71.at.xposed.at_remove_low_battery_warning
Loading class ccc71.at.xposed.at_apps
Loading class ccc71.at.xposed.at_fix_mnt_asec
Loading modules from /mnt/asec/com.mohammadag.burnttoast-1/pkg.apk
File does not exist
Loading modules from /mnt/asec/com.zst.xposed.halo.floatingwindow-1/pkg.apk
File does not exist
Loading modules from /data/app/ro.brucelee.xposed.fullscreencallpicture-1.apk
Loading class ro.brucelee.xposed.fullscreencallpicture.FullScreenCallPicture
Loading modules from /mnt/asec/hk.kennethso168.xposed.advancedrebootmenu-1/pkg.apk
File does not exist
Loading modules from /mnt/asec/pk.qwerty12.alternateapppicker-1/pkg.apk
File does not exist
Loading modules from /mnt/asec/us.shandian.mod.swipeback-1/pkg.apk
File does not exist
Loading modules from /mnt/asec/ma.wanam.youtubeadaway-1/pkg.apk
File does not exist
Hooking: android from /data/data/ccc71.at.free/xposed/at_crystal_apps
Hooking: android from /data/data/ccc71.at.free/xposed/at_sd_apps
FullScreenCallPicture: init
OlivierS said:
Hello,
I have installed Xposed Framework on my Chinese S7198 (02_jbla668) phone. It works fine except that if I reboot the phone it looks like Xposed is not active: none of the modules work.
If I go to Xposed Frameword and tap "Soft Reboot" everything works again. I couldn't find an answer to this in the forum.
I just did a reboot and got the log from Xposed. It shows it can't find the module files.Timing problem on the availability of the files?
Log file follows.
Thanks in advance.
Click to expand...
Click to collapse
Log file after soft reboot:
1 Jul 2014 14:57:24 UTC
Loading Xposed v54 (for Zygote)...
Running ROM '02_v89_jbla668_20131109' with fingerprint 'alps/2101_v89_jbla668/2101_v89_jbla668:4.2.2/JDQ39/1383966244:usr/tst-kys'
Loading modules from /mnt/asec/com.zst.xposed.xuimod-2/pkg.apk
Loading class com.zst.xposed.xuimod.XuiMod
Loading modules from /mnt/asec/de.robv.android.xposed.mods.appsettings-1/pkg.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /mnt/asec/com.pyler.xssidindicator-2/pkg.apk
Loading class com.pyler.xssidindicator.XSSIDIndicator
Loading modules from /mnt/asec/ma.wanam.torch-1/pkg.apk
Loading class ma.wanam.torch.Module
Loading modules from /data/app/ccc71.at.free-1.apk
Loading class ccc71.at.xposed.at_xposed_enabled
Loading class ccc71.at.xposed.at_remove_battery_icon
Loading class ccc71.at.xposed.at_remove_low_battery_warning
Loading class ccc71.at.xposed.at_apps
Loading class ccc71.at.xposed.at_fix_mnt_asec
Loading modules from /mnt/asec/com.mohammadag.burnttoast-1/pkg.apk
Loading class com.mohammadag.burnttoast.XposedMod
Loading modules from /mnt/asec/com.zst.xposed.halo.floatingwindow-1/pkg.apk
Loading class com.zst.xposed.halo.floatingwindow.MainXposed
Loading modules from /data/app/ro.brucelee.xposed.fullscreencallpicture-1.apk
Loading class ro.brucelee.xposed.fullscreencallpicture.FullScreenCallPicture
Loading modules from /mnt/asec/hk.kennethso168.xposed.advancedrebootmenu-1/pkg.apk
Loading class hk.kennethso168.xposed.advancedrebootmenu.Main
Loading modules from /mnt/asec/pk.qwerty12.alternateapppicker-1/pkg.apk
Loading class pk.qwerty12.alternateapppicker.AlternateAppPicker
Loading modules from /mnt/asec/us.shandian.mod.swipeback-1/pkg.apk
Loading class us.shandian.mod.swipeback.hook.ModSwipeBack
Loading modules from /mnt/asec/ma.wanam.youtubeadaway-1/pkg.apk
Loading class ma.wanam.youtubeadaway.Xposed
Hooking: android from /data/data/ccc71.at.free/xposed/at_crystal_apps
Hooking: android from /data/data/ccc71.at.free/xposed/at_sd_apps
FullScreenCallPicture: init
java.lang.NoSuchMethodError: de.robv.android.xposed.installer.WelcomeActivity#convertFromTranslucent()#bestmatch
at de.robv.android.xposed.XposedHelpers.findMethodBestMatch(XposedHelpers.java:271)
at de.robv.android.xposed.XposedHelpers.findMethodBestMatch(XposedHelpers.java:284)
at de.robv.android.xposed.XposedHelpers.callMethod(XposedHelpers.java:947)
at us.shandian.mod.swipeback.app.SwipeBackActivityHelper.convertActivityFromTranslucent(SwipeBackActivityHelper.java:126)
at us.shandian.mod.swipeback.app.SwipeBackActivityHelper.onPostCreate(SwipeBackActivityHelper.java:75)
at us.shandian.mod.swipeback.hook.ModSwipeBack$100000001.afterHookedMethod(ModSwipeBack.java:121)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
at android.app.Activity.onPostCreate(Native Method)
at android.app.Instrumentation.callActivityOnPostCreate(Instrumentation.java:1210)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2334)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2403)
at android.app.ActivityThread.access$600(ActivityThread.java:165)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1373)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5391)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
java.lang.NoSuchMethodError: de.robv.android.xposed.installer.XposedInstallerActivity#convertFromTranslucent()#bestmatch
at de.robv.android.xposed.XposedHelpers.findMethodBestMatch(XposedHelpers.java:271)
at de.robv.android.xposed.XposedHelpers.findMethodBestMatch(XposedHelpers.java:284)
at de.robv.android.xposed.XposedHelpers.callMethod(XposedHelpers.java:947)
at us.shandian.mod.swipeback.app.SwipeBackActivityHelper.convertActivityFromTranslucent(SwipeBackActivityHelper.java:126)
at us.shandian.mod.swipeback.app.SwipeBackActivityHelper.onPostCreate(SwipeBackActivityHelper.java:75)
at us.shandian.mod.swipeback.hook.ModSwipeBack$100000001.afterHookedMethod(ModSwipeBack.java:121)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
at android.app.Activity.onPostCreate(Native Method)
at android.app.Instrumentation.callActivityOnPostCreate(Instrumentation.java:1210)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2334)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2403)
at android.app.ActivityThread.access$600(ActivityThread.java:165)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1373)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5391)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
java.lang.NullPointerException
at pk.qwerty12.alternateapppicker.AlternateAppPicker$1.afterHookedMethod(AlternateAppPicker.java:68)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
at com.android.internal.app.ResolverActivity.onCreate(Native Method)
at com.android.internal.app.ChooserActivity.onCreate(ChooserActivity.java:53)
at android.app.Activity.performCreate(Activity.java:5122)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1146)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2315)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2403)
at android.app.ActivityThread.access$600(ActivityThread.java:165)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1373)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5391)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
java.lang.NoSuchMethodError: com.dropbox.android.activity.DropboxSendTo#convertFromTranslucent()#bestmatch
at de.robv.android.xposed.XposedHelpers.findMethodBestMatch(XposedHelpers.java:271)
at de.robv.android.xposed.XposedHelpers.findMethodBestMatch(XposedHelpers.java:284)
at de.robv.android.xposed.XposedHelpers.callMethod(XposedHelpers.java:947)
at us.shandian.mod.swipeback.app.SwipeBackActivityHelper.convertActivityFromTranslucent(SwipeBackActivityHelper.java:126)
at us.shandian.mod.swipeback.app.SwipeBackActivityHelper.onPostCreate(SwipeBackActivityHelper.java:75)
at us.shandian.mod.swipeback.hook.ModSwipeBack$100000001.afterHookedMethod(ModSwipeBack.java:121)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
at android.app.Activity.onPostCreate(Native Method)
at com.actionbarsherlock.app.SherlockFragmentActivity.onPostCreate(panda.py:94)
at android.app.Instrumentation.callActivityOnPostCreate(Instrumentation.java:1210)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2334)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2403)
at android.app.ActivityThread.access$600(ActivityThread.java:165)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1373)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5391)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
Are those modules on your SD card? If so, move them to the internal storage.
GermainZ said:
Are those modules on your SD card? If so, move them to the internal storage.
Click to expand...
Click to collapse
I moved all the modules to Internal Storage and had to deselect and reselect them and reboot one more time before it worked.
Thanks
I got the same log error that Files do not Exist. I checked the device storage at the location showed in the log and files are there...it seem to be security issue that Xposed cannot load these files. Below is the log. HELP!!!!!
Jul 2, 2014 4:39:30 PM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'KOT49H.G900VVRU1ANCG' with fingerprint 'Verizon/kltevzw/kltevzw:4.4.2/KOT49H/G900VVRU1ANCG:user/release-keys'
Loading modules from /data/app/ccc71.at-1.apk
Loading class ccc71.at.xposed.at_xposed_enabled
Loading class ccc71.at.xposed.at_remove_battery_icon
Loading class ccc71.at.xposed.at_remove_low_battery_warning
Loading class ccc71.at.xposed.at_apps
Loading class ccc71.at.xposed.at_fix_mnt_asec
Loading modules from /mnt/asec/us.shandian.mod.swipeback-1/pkg.apk
File does not exist
Loading modules from /mnt/asec/ma.wanam.xposed-1/pkg.apk
File does not exist
Hooking: android from /data/data/ccc71.at/xposed/at_crystal_apps
Hooking: android from /data/data/ccc71.at/xposed/at_sd_apps
-----------------
Jul 2, 2014 4:51:38 PM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'KOT49H.G900VVRU1ANCG' with fingerprint 'Verizon/kltevzw/kltevzw:4.4.2/KOT49H/G900VVRU1ANCG:user/release-keys'
Loading modules from /data/app/ccc71.at-1.apk
Loading class ccc71.at.xposed.at_xposed_enabled
Loading class ccc71.at.xposed.at_remove_battery_icon
Loading class ccc71.at.xposed.at_remove_low_battery_warning
Loading class ccc71.at.xposed.at_apps
Loading class ccc71.at.xposed.at_fix_mnt_asec
Loading modules from /mnt/asec/us.shandian.mod.swipeback-1/pkg.apk
File does not exist
Loading modules from /mnt/asec/ma.wanam.xposed-1/pkg.apk
File does not exist
Hooking: android from /data/data/ccc71.at/xposed/at_crystal_apps
Hooking: android from /data/data/ccc71.at/xposed/at_sd_apps
flyaway718 said:
I got the same log error that Files do not Exist. I checked the device storage at the location showed in the log and files are there...it seem to be security issue that Xposed cannot load these files. Below is the log. HELP!!!!!
Click to expand...
Click to collapse
How about you read what's posted in this thread? Some more info: /mnt/asec isn't mounted yet when Xposed loads the modules, so while you see them fine once you're booted, they just don't exist when Xposed tried to load them.
I did simple trick it solved my same problem
OlivierS said:
Hello,
I have installed Xposed Framework on my Chinese S7198 (02_jbla668) phone. It works fine except that if I reboot the phone it looks like Xposed is not active: none of the modules work.
If I go to Xposed Frameword and tap "Soft Reboot" everything works again. I couldn't find an answer to this in the forum.
I just did a reboot and got the log from Xposed. It shows it can't find the module files.Timing problem on the availability of the files?
Log file follows.
Thanks in advance.
Code:
-----------------
1 Jul 2014 14:31:31 UTC
Loading Xposed v54 (for Zygote)...
Running ROM '02_v89_jbla668_20131109' with fingerprint 'alps/2101_v89_jbla668/2101_v89_jbla668:4.2.2/JDQ39/1383966244:usr/tst-kys'
Loading modules from /mnt/asec/com.zst.xposed.xuimod-2/pkg.apk
File does not exist
Loading modules from /mnt/asec/de.robv.android.xposed.mods.appsettings-1/pkg.apk
File does not exist
Loading modules from /mnt/asec/com.pyler.xssidindicator-2/pkg.apk
File does not exist
Loading modules from /mnt/asec/ma.wanam.torch-1/pkg.apk
File does not exist
Loading modules from /data/app/ccc71.at.free-1.apk
Loading class ccc71.at.xposed.at_xposed_enabled
Loading class ccc71.at.xposed.at_remove_battery_icon
Loading class ccc71.at.xposed.at_remove_low_battery_warning
Loading class ccc71.at.xposed.at_apps
Loading class ccc71.at.xposed.at_fix_mnt_asec
Loading modules from /mnt/asec/com.mohammadag.burnttoast-1/pkg.apk
File does not exist
Loading modules from /mnt/asec/com.zst.xposed.halo.floatingwindow-1/pkg.apk
File does not exist
Loading modules from /data/app/ro.brucelee.xposed.fullscreencallpicture-1.apk
Loading class ro.brucelee.xposed.fullscreencallpicture.FullScreenCallPicture
Loading modules from /mnt/asec/hk.kennethso168.xposed.advancedrebootmenu-1/pkg.apk
File does not exist
Loading modules from /mnt/asec/pk.qwerty12.alternateapppicker-1/pkg.apk
File does not exist
Loading modules from /mnt/asec/us.shandian.mod.swipeback-1/pkg.apk
File does not exist
Loading modules from /mnt/asec/ma.wanam.youtubeadaway-1/pkg.apk
File does not exist
Hooking: android from /data/data/ccc71.at.free/xposed/at_crystal_apps
Hooking: android from /data/data/ccc71.at.free/xposed/at_sd_apps
FullScreenCallPicture: init
Click to expand...
Click to collapse
I copied every apk files ( xposed installer and its modules) to my internal memory .
after that I removed my memory card rebooted device and installed all files i.e xposed installer and modules and then activated all modules and rebooted normally.
it worked for me and now there is no problem of performing soft reboot every time.
try if it works for you. I'm sure it will work for you too.
-----------------
31-Jan-2017 6:45:51 pm UTC
Loading Xposed v54 (for Zygote)...
Running ROM '4.4.026.P0.140702.A109' with fingerprint 'Micromax/A109/A109:4.4.2/KOT49H/4.4.026.P0.140702.A109:user/release-keys'
-----------------
31-Jan-2017 6:50:39 pm UTC
Loading Xposed v54 (for Zygote)...
Running ROM '4.4.026.P0.140702.A109' with fingerprint 'Micromax/A109/A109:4.4.2/KOT49H/4.4.026.P0.140702.A109:user/release-keys'
Loading modules from /data/app/com.mohammadag.knockcode-1.apk
Loading class com.mohammadag.knockcode.XposedMod
-----------------
31-Jan-2017 6:52:36 pm UTC
Loading Xposed v54 (for Zygote)...
Running ROM '4.4.026.P0.140702.A109' with fingerprint 'Micromax/A109/A109:4.4.2/KOT49H/4.4.026.P0.140702.A109:user/release-keys'
Loading modules from /data/app/com.mohammadag.knockcode-1.apk
Loading class com.mohammadag.knockcode.XposedMod
-----------------
31-Jan-2017 7:00:52 pm UTC
Loading Xposed v54 (for Zygote)...
Running ROM '4.4.026.P0.140702.A109' with fingerprint 'Micromax/A109/A109:4.4.2/KOT49H/4.4.026.P0.140702.A109:user/release-keys'
Loading modules from /mnt/asec/com.mohammadag.knockcode-1/pkg.apk
Loading class com.mohammadag.knockcode.XposedMod
-----------------
31-Jan-2017 7:05:33 pm UTC
Loading Xposed v54 (for Zygote)...
Running ROM '4.4.026.P0.140702.A109' with fingerprint 'Micromax/A109/A109:4.4.2/KOT49H/4.4.026.P0.140702.A109:user/release-keys'
Loading modules from /mnt/asec/com.mohammadag.knockcode-1/pkg.apk
File does not exist
I have move apps to internal bt didn't help plz i want solution

Xposed on Nubia Red Magic

Hello,
Has someone installed Xposed on his NX609J?
I have installed it but somehow it doesn't work. I get following Error in my log:
HTML:
ERROR: Could not access Xposed jar '/system/framework/XposedBridge.jar'
Full log:
HTML:
03-30 18:08:07.326 I/Xposed ( 1188): -----------------
03-30 18:08:07.326 I/Xposed ( 1188): Starting Xposed version 90-beta3, compiled for SDK 27
03-30 18:08:07.326 I/Xposed ( 1188): Device: NX609J (nubia), Android version 8.1.0 (SDK 27)
03-30 18:08:07.326 I/Xposed ( 1188): ROM: NX609J_ENCommon_V1.12
03-30 18:08:07.326 I/Xposed ( 1188): Build fingerprint: nubia/NX609J/NX609J:8.1.0/OPM1.171019.011/eng.nubia.20180907.173257:user/release-keys
03-30 18:08:07.326 I/Xposed ( 1188): Platform: arm64-v8a, 64-bit binary, system server: yes
03-30 18:08:07.326 I/Xposed ( 1188): SELinux enabled: yes, enforcing: yes
03-30 18:08:07.349 I/Xposed ( 1188): -----------------
03-30 18:08:07.349 E/Xposed ( 1188): ERROR: Could not access Xposed jar '/system/framework/XposedBridge.jar'
03-30 18:08:17.391 I/Xposed ( 1189): -----------------
03-30 18:08:17.391 I/Xposed ( 1189): Starting Xposed version 90-beta3, compiled for SDK 27
03-30 18:08:17.391 I/Xposed ( 1189): Device: NX609J (nubia), Android version 8.1.0 (SDK 27)
03-30 18:08:17.391 I/Xposed ( 1189): ROM: NX609J_ENCommon_V1.12
03-30 18:08:17.391 I/Xposed ( 1189): Build fingerprint: nubia/NX609J/NX609J:8.1.0/OPM1.171019.011/eng.nubia.20180907.173257:user/release-keys
03-30 18:08:17.391 I/Xposed ( 1189): Platform: arm64-v8a, 32-bit binary, system server: no
03-30 18:08:17.391 I/Xposed ( 1189): SELinux enabled: yes, enforcing: yes
03-30 18:08:17.392 I/Xposed ( 1189): -----------------
03-30 18:08:17.392 E/Xposed ( 1189): ERROR: Could not access Xposed jar '/system/framework/XposedBridge.jar'
03-30 18:08:20.550 W/Xposed ( 2133): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:20.555 W/Xposed ( 2114): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:20.558 W/Xposed ( 2105): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:20.778 W/Xposed ( 2214): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:20.784 W/Xposed ( 2231): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:20.803 W/Xposed ( 2238): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:20.833 W/Xposed ( 2282): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:20.839 W/Xposed ( 2238): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:21.065 W/Xposed ( 2383): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:21.500 W/Xposed ( 2238): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:22.234 W/Xposed ( 2674): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:21.448 W/Xposed ( 2760): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected][email protected]@[email protected]' : No such file or directory
03-30 18:08:22.880 W/Xposed ( 2949): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:22.938 W/Xposed ( 2972): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:22.967 W/Xposed ( 2997): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:23.003 W/Xposed ( 3012): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:23.146 W/Xposed ( 1785): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:23.282 W/Xposed ( 3142): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected][email protected]: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected][email protected][email protected]@xposed' : No such file or directory
03-30 18:08:23.307 W/Xposed ( 2214): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:23.543 W/Xposed ( 3209): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:23.745 W/Xposed ( 3297): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:24.048 W/Xposed ( 3362): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:24.069 W/Xposed ( 3362): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:26.616 W/Xposed ( 3862): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:26.627 W/Xposed ( 3862): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected][email protected]@[email protected]' : No such file or directory
03-30 18:08:26.732 W/Xposed ( 3933): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:27.440 W/Xposed ( 4149): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:27.527 W/Xposed ( 4172): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:27.615 W/Xposed ( 4193): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:27.984 W/Xposed ( 4259): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:28.199 W/Xposed ( 4294): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:28.635 W/Xposed ( 2238): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:28.828 W/Xposed ( 1785): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:38.708 W/Xposed ( 2238): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:38.783 W/Xposed ( 5566): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected][email protected]: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected][email protected][email protected]@xposed' : No such file or directory
03-30 18:08:38.858 W/Xposed ( 5581): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:39.027 W/Xposed ( 5618): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:40.162 W/Xposed ( 5768): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:40.346 W/Xposed ( 5768): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:08:40.374 W/Xposed ( 5618): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
03-30 18:09:00.930 W/Xposed ( 5989): Failed to load Xposed info for /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex: Unable to open '/data/dalvik-cache/arm64/[email protected]@[email protected]@[email protected]@[email protected]@xposed' : No such file or directory
I tried all the fixes i found on xda. But none of them worked. Can someone help me?
On the international firmware, I believe the Xposed framework is unsupported.
You might have better luck with using Magisk though, I'm sure Magisk is also unsupported on the international firmware.
Due to the international firmware locking certain partitions such as system and data, I believe you won't be able to install Xposed.
The firmware forces encryption which causes the partitions to be locked completely.
Do I understand you right: If I install the Chinese Frimware Xposed will work?
Florian Bichl said:
Do I understand you right: If I install the Chinese Frimware Xposed will work?
Click to expand...
Click to collapse
Well I guess you need root for using x-posed and that requires you to stay on Oreo.
Florian Bichl said:
Do I understand you right: If I install the Chinese Frimware Xposed will work?
Click to expand...
Click to collapse
I think now in pie already can be rooted! no need to stay on oreo again.

How to call apktool (dalvikvm) in a magisk module?

Hello,
I'm currently trying to run apktool using dalvikvm in the customize.sh script:
Bash:
apktool_d() {
#ANDROID_DATA=$TMPDIR_JCD ANDROID_ROOT=/system LD_LIBRARY_PATH=/system/lib dalvikvm -Xbootclasspath:/system/framework/core.jar:/system/framework/conscrypt.jar:/system/framework/apache-xml.jar -classpath $BIN/apktool_*-dexed.jar brut.apktool.Main d --frame-path $TMPDIR_JCD/framework --no-src -o $TMPDIR_JCD/resout $1
dalvikvm -classpath $BIN/apktool_*-dexed.jar brut.apktool.Main d --no-src -o $TMPDIR_JCD/resout $1
test $? != 0 && abort "Decoding APK resources failed. Aborting..."
}
I've tried to port that code from an outdated template: https://github.com/djb77/magisk-module-template-apkpatcher
When using the commented out method the command aborts with "Decoding APK resources failed" and logcat *:E is telling me the following:
Code:
04-17 21:11:53.649 11641 11641 E dalvikvm: Could not create image space with image file '/system/framework/boot.art'. Attempting to fall back to imageless running. Error was: Unexpected component count in /system/framework/arm/boot.art, received 11, expected non-zero and <= 3
04-17 21:11:53.677 11641 11641 E dalvikvm: Could not initialize without image: Boot classpath is empty.
When trying the second approach without -Xbootclasspath and so on I'm getting a NullPointerException directly in the magisk log (saved file):
Code:
I: Using Apktool 2.3.4 on Bluetooth.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
Exception in thread "main" java.lang.ExceptionInInitializerError
at brut.util.OSDetection.isMacOSX(OSDetection.java:28)
at brut.androlib.res.AndrolibResources.getFrameworkDir(AndrolibResources.java:913)
at brut.androlib.res.AndrolibResources.getFrameworkApk(AndrolibResources.java:754)
at brut.androlib.res.AndrolibResources.loadFrameworkPkg(AndrolibResources.java:116)
at brut.androlib.res.data.ResTable.getPackage(ResTable.java:84)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:67)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:63)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:39)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:385)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.parseManifest(XmlPullStreamDecoder.java:97)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:65)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:141)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPullStreamDecoder.java:153)
at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecoder.java:155)
at brut.androlib.res.AndrolibResources.decodeManifestWithResources(AndrolibResources.java:204)
at brut.androlib.Androlib.decodeManifestWithResources(Androlib.java:136)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:122)
at brut.apktool.Main.cmdDecode(Main.java:164)
at brut.apktool.Main.main(Main.java:73)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.toLowerCase()' on a null object reference
at brut.util.OSDetection.<clinit>(OSDetection.java:21)
... 20 more
Decoding APK resources failed. Aborting...
! Installation failed
After some research I tried to find out if the customize.sh is running as root because some posts telling that setting LD_LIBRARY_PATH setting as root fixed those "Could not create image space" dalvikvm errors but can't find any info about that. see https://github.com/termux/termux-packages/issues/900#issuecomment-322207233
I'm out of ideas and happy for any help.
Thanks in advance
Danny.

Categories

Resources