BurgerZ / WSM-Project

WSM is reworked Xposed framework for MIUI ROMs
http://burgerz.pro/wsm-project/
46 stars 42 forks source link

MI3 bootloop #45

Closed zdunex25 closed 10 years ago

zdunex25 commented 10 years ago

WSM makes MI 3W loop, I do not have logcat cause it was a friend of mine that reported such behavior. I will try to get logcat, but wanted to let you know anyway.

BurgerZ commented 10 years ago

I know about this issue, but I have no logs from users who have reported bootloops. That is the main problem in solving issues. But I hope that in 2.1.8 there will be no bootloops.

vagyula1 commented 10 years ago

How to help you? Where i find the log file?Because still get bootloop.

zdunex25 commented 10 years ago

You should connect your Mi3W to PC, open terminal then type adb logcat >> log.txt and the next step would be sharing log.txt with us.

vagyula1 commented 10 years ago

https://www.dropbox.com/s/aghmrrnd3wswzc5/log.txt Is it okay for you?

zdunex25 commented 10 years ago

Log is good, now we should wait to see whether @BurgerZ will be able to find a cause.

BurgerZ commented 10 years ago

oh.... The log is no good (log is good, but things in it are not), I'll try to find ut the reason, but.. I'll have mi3 soon, so I'll fix it anyway))) I want to use WSM on all my Android-based phones.

vagyula1 commented 10 years ago

Any news?:-)

miuirussia commented 10 years ago

In new MIUI v5/v6 firmwares there is protection (or fitch) from programs like WSM/Xposed. It's called DexSpy and works the same (patching original method without changing method), but without opened API.

BurgerZ commented 10 years ago

@miuirussia Oh. Yeah, that's the reason of bootloop! android.policy and services jars has methods that pointed to dexspy, app_process from that miui versions has dexspy classloader, but xposed app_process has no, so jvm failes while loading frameworks. I can try to avoid bootloops.

MIUIwolfpapa commented 10 years ago

Please solve it ...THX! Please help Xiaomi Mi3 community. XDA/Xposed: " here is one stack trace: E/AndroidRuntime( 7078): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:568) E/AndroidRuntime( 7078): at miui.dexspy.DexspyInstaller.main(DexspyInstaller.java:170) E/AndroidRuntime( 7078): at dalvik.system.NativeStart.main(Native Method) "

"Well I would have to say that it is, at least it looks like it from logs like this https://github.com/KDGDev/miui-v5-russian-translation-for-miuiandroid/issues/24 Code: at miui.dexspy.DexspyInstaller.invokeOriginalMethodNative(Native Method) at miui.dexspy.DexspyInstaller.invokeOriginalMethod(DexspyInstaller.java:490) at miui.dexspy.DexspyInstaller.handleHookedMethod(DexspyInstaller.java:404) This seams very familiar.

But would this not be overwritten if you install Xposed? I mean there can only be one binary. "

MIUIwolfpapa commented 10 years ago

http://en.miui.com/thread-16609-1-2.html

zdunex25 commented 10 years ago

@miuirussia @BurgerZ is this going to help you guys: https://github.com/MiCode/dexspy ?

BurgerZ commented 10 years ago

@zdunex25 I hope. I'm trying to build new app_process for mi3w now.

zdunex25 commented 10 years ago

Fingers crossed @BurgerZ

vagyula1 commented 10 years ago

v2.2.3 works fine on my Mi3W. @BurgerZ: Many thanks :)

BurgerZ commented 10 years ago

Updated to v2.2.4. Fixed some stuff to improve boot time on our device (Mi3W) and fix some FCs. Reinstall binaries manually.

zdunex25 commented 10 years ago

Well done :) thank you.

MIUIwolfpapa commented 10 years ago

Thank You!