rover12421/ShakaApktool

Support miui7?

What-Zit-Tooya opened this issue · 9 comments

  1. is this apktool support miui 7?
  2. and what is different from apktool.jar from ibotpeaches?

1.I don't known either. if you have a sample can upload to here.
2.more exception handing, but don't guarantee stability.

  1. Wow, i can't believe this, i just tested , it works like a charm with miui 7. I can decompile & compile with no errors. But when i use ibotpeaches, i can decompile but when compiling, i have error.
    Beside it, i found a bug, baksmaling classes.dex with your apktool take long time and use high cpu resource. I use windows 7 enterprise x86 , JDK & JRE 8. baksmaling classes.dex with ibotpeaches apktool is very fast.
    Here as example app & framework from miui 7 http://rghost.net/6zPXkTlBg
    I use this rom as example (i'm using this rom in my device) http://bigota.d.miui.com/V7.0.2.0.KHDMICI/miui_HMNoteWGlobal_V7.0.2.0.KHDMICI_06591801ab_4.4.zip
    Here for the logs http://pastebin.com/cmaCqYJj
  2. I think i'll use your apktool. (y)
  3. I also found a bug, when i use this command apktool d -r -b ThemeManager.apk , the result like this:

[code].method public isOnlinePage()Z

.locals 1



iget-boolean v0, p0, Lmiui/resourcebrowser/view/ResourceOperationHandler;->mIsOnlinePage:Z



return v0

.end method/code]
There are long gaps , 3 spaces gaps.

Sorry for my english.

  1. Should be performance problems caused by multi-language support. I will have time to re-design, or consider removing.
  2. thx.
  3. Paste code please use markdown syntax. I'll check this problem, if fix, I'll mark this issues.
.method public isOnlinePage()Z

.locals 1



iget-boolean v0, p0, Lmiui/resourcebrowser/view/ResourceOperationHandler;->mIsOnlinePage:Z



return v0
.end method

ThemeManager.apk in MIUI 7.rar ?

Yes, ThemeManager.apk inside it. :)
Sorry, i'm new about github, i think its same with forum, so i use [code] . hehe

I try is normal. You're using latest version ?

.method public isOnlinePage()Z
    .locals 1

    iget-boolean v0, p0, Lmiui/resourcebrowser/view/ResourceOperationHandler;->mIsOnlinePage:Z

    return v0
.end method

Yes, i tried latest version from pan.baidu.com. It's weird. How did you do?

You download ShakaApktool_2.0.0-master-e30c8e8-20151120-release.jar try again.

Why i still get gaps like this

Image of Error

Still using old command : apktool d -r -b ThemeManager.apk

Log:

D:\MASTER\Android\TOOLS\APKTool>apktool d -r -b ThemeManager.apk
I: Using ShakaApktool 2.0.0-master-e30c8e8-20151120
I: Copying raw resources...
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...

fix f92155b

It has confirmed that the problem of windows platform.
together with performance problems have been fixed.