FORUMS
Remove All Ads from XDA

[TOOL] Tickle My Android - Decompile & Recompile With Ease

6,669 posts
Thanks Meter: 8,481
 
By Ticklefish, Recognized Themer on 3rd May 2012, 04:15 PM
Post Reply Email Thread
Announcement from Ticklefish: Version 16.1 Now Available!
19th November 2016, 08:09 PM |#5861  
ZawZaw's Avatar
Recognized Developer
Flag Pyay, Myanmar.
Thanks Meter: 3,064
 
More
Quote:
Originally Posted by tdunham

This was already answered.

OK Sir, so sorry for my question
Thanks you very much.
20th November 2016, 03:06 AM |#5862  
Senior Member
Flag Kent
Thanks Meter: 88
 
More
Hi trying to use your tool to add 3minit.
everytime i try to recompile izarcc crashes
I'm on windows 8.1, have latest Java SE 8-112 installed
I install both if the framework-res files. prior to decompiling the only systemui file i find
attached one of the many logs.
Any guidance would be greatly appreciated.
Thank you
Attached Files
File Type: txt [email protected] - [Click for QR Code] (89.1 KB, 10 views)
20th November 2016, 06:33 AM |#5863  
Member
France
Thanks Meter: 20
 
More
Hello everyone
Who can tell me how to do or find the guide to remove "battery notification charged"
On Note 4 MM
thank you
@Ticklefish a big thank you for your program and help
20th November 2016, 06:45 AM |#5864  
Thebear j koss's Avatar
Senior Member
Flag NYC
Thanks Meter: 19,913
 
More
Quote:
Originally Posted by Haze39

Hello everyone
Who can tell me how to do or find the guide to remove "battery notification charged"
On Note 4 MM
thank you
@Ticklefish a big thank you for your program and help

Look in @tdunham 's profile for his touchwiz mod thread.

All common sense is gone. All that is left is stupidity.
The Following User Says Thank You to Thebear j koss For This Useful Post: [ View ] Gift Thebear j koss Ad-Free
20th November 2016, 09:02 AM |#5865  
Member
France
Thanks Meter: 20
 
More
[QUOTE=Thebear j koss;69706698]Look in @tdunham 's profile for his touchwiz mod thread.

thank you
Yes great but there are so many that I will spend a good time to look it's cool a real gold mine
The Following 2 Users Say Thank You to Haze39 For This Useful Post: [ View ] Gift Haze39 Ad-Free
20th November 2016, 05:46 PM |#5866  
Senior Member
Flag Kent
Thanks Meter: 88
 
More
realized the log file i attached contained nothing but warnings. (is it the shearing volume of those causing izarcc to crash?)
but found diff log which contained this:

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Suga-Sam\AppData\Local\Temp\brut_util_Jar_7946287800162 96350.tmp, p, --forced-package-id, 127, --min-sdk-version, 16, --target-sdk-version, 23, -F, C:\Users\Suga-Sam\AppData\Local\Temp\APKTOOL147241463933736201.t mp, -0, arsc, -0, assets/scene_config, -0, assets/goldfish/ripple_blend.frag.aes, -0, assets/goldfish/ripple_common.vert.aes, -0, assets/goldfish/ripple_impulse.frag.aes, -0, assets/goldfish/ripple_normal.frag.aes, -0, assets/goldfish/ripple_simulate.frag.aes, -0, assets/goldfish/ripple_swap.frag.aes, -0, so, -0, arsc, -I, C:\Users\Suga-Sam\AppData\Local\apktool\framework\1.apk, -S, C:\TickleMyAndroid\_WorkArea2\_working\SystemUI_ZT E.apk\res, -M, C:\TickleMyAndroid\_WorkArea2\_working\SystemUI_ZT E.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:478)
at brut.androlib.Androlib.buildResources(Androlib.jav a:412)
at brut.androlib.Androlib.build(Androlib.java:311)
at brut.androlib.Androlib.build(Androlib.java:264)
at brut.apktool.Main.cmdBuild(Main.java:227)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Suga-Sam\AppData\Local\Temp\brut_util_Jar_7946287800162 96350.tmp, p, --forced-package-id, 127, --min-sdk-version, 16, --target-sdk-version, 23, -F, C:\Users\Suga-Sam\AppData\Local\Temp\APKTOOL147241463933736201.t mp, -0, arsc, -0, assets/scene_config, -0, assets/goldfish/ripple_blend.frag.aes, -0, assets/goldfish/ripple_common.vert.aes, -0, assets/goldfish/ripple_impulse.frag.aes, -0, assets/goldfish/ripple_normal.frag.aes, -0, assets/goldfish/ripple_simulate.frag.aes, -0, assets/goldfish/ripple_swap.frag.aes, -0, so, -0, arsc, -I, C:\Users\Suga-Sam\AppData\Local\apktool\framework\1.apk, -S, C:\TickleMyAndroid\_WorkArea2\_working\SystemUI_ZT E.apk\res, -M, C:\TickleMyAndroid\_WorkArea2\_working\SystemUI_ZT E.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:439)
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:464)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Suga-Sam\AppData\Local\Temp\brut_util_Jar_7946287800162 96350.tmp, p, --forced-package-id, 127, --min-sdk-version, 16, --target-sdk-version, 23, -F, C:\Users\Suga-Sam\AppData\Local\Temp\APKTOOL147241463933736201.t mp, -0, arsc, -0, assets/scene_config, -0, assets/goldfish/ripple_blend.frag.aes, -0, assets/goldfish/ripple_common.vert.aes, -0, assets/goldfish/ripple_impulse.frag.aes, -0, assets/goldfish/ripple_normal.frag.aes, -0, assets/goldfish/ripple_simulate.frag.aes, -0, assets/goldfish/ripple_swap.frag.aes, -0, so, -0, arsc, -I, C:\Users\Suga-Sam\AppData\Local\apktool\framework\1.apk, -S, C:\TickleMyAndroid\_WorkArea2\_working\SystemUI_ZT E.apk\res, -M, C:\TickleMyAndroid\_WorkArea2\_working\SystemUI_ZT E.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:433)
... 6 more

Anyone have any ideas? Should I try an older version of the tool ?
21st November 2016, 08:33 AM |#5867  
Member
France
Thanks Meter: 20
 
More
Hello
@Ticklefish
On a Galaxy Note 4 N910F Android M 6.0.1 (DPK1)
TMA has well pulled my folders (app, priv-app, framework) and the zip is recompiled in c: \ temp but before flasher I checked the deodex of the files but it did not work too much the three Quarter was still odexer
I used apktool 2.2.1 and method (4) deodexe android 6.0 ....
If you know why
Thanks for your feedback
21st November 2016, 10:57 AM |#5868  
Quote:
Originally Posted by nujackk

realized the log file i attached contained nothing but warnings. (is it the shearing volume of those causing izarcc to crash?)
but found diff log which contained this:

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Suga-Sam\AppData\Local\Temp\brut_util_Jar_7946287800162 96350.tmp, p, --forced-package-id, 127, --min-sdk-version, 16, --target-sdk-version, 23, -F, C:\Users\Suga-Sam\AppData\Local\Temp\APKTOOL147241463933736201.t mp, -0, arsc, -0, assets/scene_config, -0, assets/goldfish/ripple_blend.frag.aes, -0, assets/goldfish/ripple_common.vert.aes, -0, assets/goldfish/ripple_impulse.frag.aes, -0, assets/goldfish/ripple_normal.frag.aes, -0, assets/goldfish/ripple_simulate.frag.aes, -0, assets/goldfish/ripple_swap.frag.aes, -0, so, -0, arsc, -I, C:\Users\Suga-Sam\AppData\Local\apktool\framework\1.apk, -S, C:\TickleMyAndroid\_WorkArea2\_working\SystemUI_ZT E.apk\res, -M, C:\TickleMyAndroid\_WorkArea2\_working\SystemUI_ZT E.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:478)
at brut.androlib.Androlib.buildResources(Androlib.jav a:412)
at brut.androlib.Androlib.build(Androlib.java:311)
at brut.androlib.Androlib.build(Androlib.java:264)
at brut.apktool.Main.cmdBuild(Main.java:227)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Suga-Sam\AppData\Local\Temp\brut_util_Jar_7946287800162 96350.tmp, p, --forced-package-id, 127, --min-sdk-version, 16, --target-sdk-version, 23, -F, C:\Users\Suga-Sam\AppData\Local\Temp\APKTOOL147241463933736201.t mp, -0, arsc, -0, assets/scene_config, -0, assets/goldfish/ripple_blend.frag.aes, -0, assets/goldfish/ripple_common.vert.aes, -0, assets/goldfish/ripple_impulse.frag.aes, -0, assets/goldfish/ripple_normal.frag.aes, -0, assets/goldfish/ripple_simulate.frag.aes, -0, assets/goldfish/ripple_swap.frag.aes, -0, so, -0, arsc, -I, C:\Users\Suga-Sam\AppData\Local\apktool\framework\1.apk, -S, C:\TickleMyAndroid\_WorkArea2\_working\SystemUI_ZT E.apk\res, -M, C:\TickleMyAndroid\_WorkArea2\_working\SystemUI_ZT E.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:439)
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:464)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Suga-Sam\AppData\Local\Temp\brut_util_Jar_7946287800162 96350.tmp, p, --forced-package-id, 127, --min-sdk-version, 16, --target-sdk-version, 23, -F, C:\Users\Suga-Sam\AppData\Local\Temp\APKTOOL147241463933736201.t mp, -0, arsc, -0, assets/scene_config, -0, assets/goldfish/ripple_blend.frag.aes, -0, assets/goldfish/ripple_common.vert.aes, -0, assets/goldfish/ripple_impulse.frag.aes, -0, assets/goldfish/ripple_normal.frag.aes, -0, assets/goldfish/ripple_simulate.frag.aes, -0, assets/goldfish/ripple_swap.frag.aes, -0, so, -0, arsc, -I, C:\Users\Suga-Sam\AppData\Local\apktool\framework\1.apk, -S, C:\TickleMyAndroid\_WorkArea2\_working\SystemUI_ZT E.apk\res, -M, C:\TickleMyAndroid\_WorkArea2\_working\SystemUI_ZT E.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:433)
... 6 more

Anyone have any ideas? Should I try an older version of the tool ?

Can you share your files please? I'll try them on my setup and see if I can find out what's going on.

Quote:
Originally Posted by Haze39

Hello
@Ticklefish
On a Galaxy Note 4 N910F Android M 6.0.1 (DPK1)
TMA has well pulled my folders (app, priv-app, framework) and the zip is recompiled in c: \ temp but before flasher I checked the deodex of the files but it did not work too much the three Quarter was still odexer
I used apktool 2.2.1 and method (4) deodexe android 6.0 ....
If you know why
Thanks for your feedback

Is there a chance you can share your files as well? Deodexing is a tricky process and it's always possible Samsung have introduced something new I need to take into consideration.
21st November 2016, 07:05 PM |#5869  
Senior Member
Flag Kent
Thanks Meter: 88
 
More
Quote:
Originally Posted by Ticklefish

Can you share your files please? I'll try them on my setup and see if I can find out what's going on.


Yep here they are. If it makes a difference its a ZTE Axon 7. trying to add 3minit and change signal icon to steel blue.
SystemUI too big to upload here is link https://www.dropbox.com/s/m9ba3t1oca...I_ZTE.apk?dl=0
Attached Files
File Type: apk framework-res.apk - [Click for QR Code] (13.68 MB, 4 views)
File Type: apk framework-zte-res.apk - [Click for QR Code] (2.56 MB, 4 views)
The Following User Says Thank You to nujackk For This Useful Post: [ View ] Gift nujackk Ad-Free
22nd November 2016, 12:10 PM |#5870  
edzamber's Avatar
Senior Member
Thanks Meter: 3,401
 
Donate to Me
More
@Ticklefish,

I think there is an inversion for recompil between option 2 and option 4 (7.0+).

I have mod my SystemUI (6.0.1 Samsung base) with option 2 and at the end of compilation, there is a lot of files witch are copy (ressources.arsc, qmg...). It result that it break something on my phone into data/system/users/0/runtime-permissions.xml. Then if i flash a vrtheme for change some png into my systemUI, statusbar disappeare, SystemUI is broken.

If i recompil with option 4 (7.0+), no files are copyed at the end of compilation, no problem, everything working, even if i flash my vrtheme.
The Following User Says Thank You to edzamber For This Useful Post: [ View ] Gift edzamber Ad-Free
22nd November 2016, 01:23 PM |#5871  
Quote:
Originally Posted by nujackk

Yep here they are. If it makes a difference its a ZTE Axon 7. trying to add 3minit and change signal icon to steel blue.
SystemUI too big to upload here is link https://www.dropbox.com/s/m9ba3t1oca...I_ZTE.apk?dl=0

This is why your APK won't recompile:

Code:
W: res\drawable-v19\stat_sys_signal_0.xml:0: error: Resource entry stat_sys_signal_0 is already defined.
W: res\drawable-v19\stat_sys_signal_0.png:0: Originally defined here.
You have a lot of these sort of errors in the recompile log. This is because your APK uses XML files to draw the signal icons (these are known as 'Drawable Vectors') and you've used TMA to add a load of PNG files with the same filename. Apktool doesn't like it when two or more files have the same filename in the same folder and that's why the recompile fails.

All you need to do is go into your "drawable-v19" and "drawable-v21" folders and delete all the "stat_sys_signal_*.xml" files that you have a matching PNG file for.

Quote:
Originally Posted by edzamber

@Ticklefish,

I think there is an inversion for recompil between option 2 and option 4 (7.0+).

I have mod my SystemUI (6.0.1 Samsung base) with option 2 and at the end of compilation, there is a lot of files witch are copy (ressources.arsc, qmg...). It result that it break something on my phone into data/system/users/0/runtime-permissions.xml. Then if i flash a vrtheme for change some png into my systemUI, statusbar disappeare, SystemUI is broken.

If i recompil with option 4 (7.0+), no files are copyed at the end of compilation, no problem, everything working, even if i flash my vrtheme.

Option 2 creates a copy of the original APK and then copies the res folder into it, along with the manifest and the classes.dex. This is to keep the signature the same.

With Option 4, you can't keep the signature the same as Nougat won't accept it. So TMA deletes the SEC-INF folder (if it exists) in the new APK and signs it with a new signature.

It sounds like some files in your original APK aren't being put into the recompiled one. This sadly has happened before and was discussed here: http://forum.xda-developers.com/show...postcount=5854
I've reported this bug to apktool's developer here: https://github.com/iBotPeaches/Apktool/issues/1366
Have a look at the number of files in your original res folder and the recompiled one. If there's a difference that's probably what's causing the problem.
The Following 2 Users Say Thank You to Ticklefish For This Useful Post: [ View ] Gift Ticklefish Ad-Free
Post Reply Subscribe to Thread

Tags
apktool, decompile, recompile, smali, xml

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes