Closed GoogleCodeExporter closed 9 years ago
Forgot to mention that Linux has the same result.
Original comment by dconnoll...@gmail.com
on 5 Mar 2014 at 3:52
Is this from the v6 (4.4) miui rom?
Original comment by connor.tumbleson
on 5 Mar 2014 at 3:59
Nah, just the latest v5 ROM. MTK (4.2) branch so maybe it's different to the
others. The previous AntiSpam MIUI's could recompile fine though, seems it was
recently turned into a stub-like app.
Original comment by dconnoll...@gmail.com
on 5 Mar 2014 at 11:09
It had changed to this new APK in 4.2.21 it seems, see
https://github.com/MiCode/patchrom_miui/tree/jellybean42-mtk/XHDPI/system/app
Looking at the AAPT sources, I guessed it's to do with the renamed manifest
(looking at status_t ResourceTable::addPublic) - but I've no idea how to deal
with it. I confirmed it by changing the package name from "miui" to
"com.miui.antispam" in manifest, it compiled fine then but obviously that's
dirty.
Original comment by dconnoll...@gmail.com
on 5 Mar 2014 at 11:20
Sorry for the triple post, but by "dirty" I mean the recompiled APK after
renaming appears to work fine. So I guess this is just a case of the
renamed-manifest fix being not quite ready.
Original comment by dconnoll...@gmail.com
on 6 Mar 2014 at 1:13
I have the same issue with MIUI v6 SystemUI Changing package name works for
that as well (but ofc you have to change package name to
"com.android.systemui").
Original comment by klekan...@gmail.com
on 6 Mar 2014 at 3:55
I have a fix. Testing with another MIUI member.
Original comment by connor.tumbleson
on 6 Mar 2014 at 3:58
I need a link to a ROM that has this problem. I could not duplicate with the
4.4 flo rom I had.
Original comment by connor.tumbleson
on 6 Mar 2014 at 4:19
Roger that, I'm uploading a 4.2.28 PatchROM build for one of our MT6589 devices
at the moment - it'll be a few hours. About half of the packages since 4.2.21
have this new behavior, but as klekan... mentioned I just sed the package name
in manifest to its original for now, no problems whatsoever.
Original comment by dconnoll...@gmail.com
on 7 Mar 2014 at 3:46
Oh duh, the firmware I'm uploading has the packages renamed - that won't help.
I'm not too keen on uploading a whole ~500MB ZIP file again so here is a
smaller ZIP of just the framework APK's; along with AntiSpam.apk attached in OP
this should be enough?
http://www.mediafire.com/download/c3xdraenldj7dil/frameworks.zip
Original comment by dconnoll...@gmail.com
on 7 Mar 2014 at 5:51
This'll work thank you.
Original comment by connor.tumbleson
on 7 Mar 2014 at 3:53
This patch I believe fixes it, but we also moved a variable around. Which will
require me to test in more details against other renamed packages (htc and
android).
If it passes. This will get merged.
Original comment by connor.tumbleson
on 7 Mar 2014 at 8:04
Attachments:
Not a problem, it's easy to work around this particular case so take your time
ensuring there's no regression. Cheers!
Original comment by dconnoll...@gmail.com
on 8 Mar 2014 at 7:40
https://github.com/iBotPeaches/Apktool/commit/1e3b66f9be3e1c78afe20192e0c828e952
0bcc2c
It worked. Should be good now.
Original comment by connor.tumbleson
on 9 Mar 2014 at 10:48
In lewa it is the same error on files with rename.
Original comment by indian...@gmail.com
on 31 May 2014 at 5:24
Original issue reported on code.google.com by
dconnoll...@gmail.com
on 5 Mar 2014 at 3:46Attachments: