yashsingh1/xdaforums huggingface dataset:
[Android Themes] Ticklefish:
NEW VERSION AVAILABLE!!

​

Version 12 of Tickle My Android is finally available for download!

This features a completely rewritten deodex menu, as well as a few other little changes. These include a 'verbose' mode, as requested by [MENTION=1042140]tdunham[/MENTION] (look in the Settings Menu) and...a brand-new apktool!!

Yup, in a wonderful example of lucky timing, "apktool_2.0.2.jar" was released just as I was putting the finishing touches to v12 of TMA, so it's now included as the default.

For those who don't know, apktool is the program that TMA uses to decompile and recompile .APK and .JAR files with. Without apktool, this tool simply couldn't exist. So why don't you head on over to the official apktool thread here: http://xdaforums.com/showthread.php?t=1755243 and give [MENTION=3924617]iBotPeaches[/MENTION] a few presses of the Thanks button? He deserves it.

By the way, if you're having any problems using apktool_2.0.2.jar in TMA, please let me know about it first. I'll see if it's something to do with his code or mine. Please only post issues on that thread if you're using apktool on its own.

Tickle My Android 12 can now decompile and recompile Marshmallow (Android 6.0) files but it can't deodex them. Not yet. It does contain the latest smali and baksmali .JAR files to do it with, but I need to do some research and experimentation before I can introduce this functionality.

Gives me something to do for v12.1, I guess!

Because the deodex menu has been rewritten, I need to rewrite the instructions in the OP and update the screenshots. Unfortunately, I've run out of time today so I'll have to take a look at this in a few days. Hopefully it should be fairly self-explanatory if you want to use it before then. Any problems, just let me know.

Head to the OP now to download version 12 of the Greatest Theming Tool Ever and enjoy!!
[Android Themes] Er. Aditya:
woooop !!!! up up and away :D

thankyou my friend :D

i was thinking can we get something like this pure goodness for linux too ?
[Android Themes] tdunham:
TF, just reporting in on Version 12.0 and the apktool 2.02 release... :)

The apktool.yml bug still persists with 2.02 but at least now we know how to get around that one.
[Android Themes] SnakeFist:
I followed this guide http://xdaforums.com/android/themes/how-to-change-battery-icon-kitkat-rom-t2919361 got confused a bit so i used this guide http://xdaforums.com/showpost.php?p=58955234&postcount=69. I'm using TMA v12.0

I pulled and installed framework first. Then i pulled systemui and decompiled it. I made all the changes needed in the .xml and .smali files. I went and recompiled it with original signature. Then i went to create a flashable zip file. When in the menu i selected << Add "system/priv-app/" File To Project [Android 4.4+] >> then selected << Create Advanced ZIP File [Android 4.1+] >>. After it was done i copied it to my Nexus 7 tablet running Cyanogenmod 4.4.4 with Elementx kernel booted into recovery and installed the zip then rebooted. When it got to the "desktop" an error box came up saying: Unfortunately, the process com.android.systemui has stopped. Backup don't work have to install TWRP backup.

Ok i tried again. But this time after i recompiled i just chose << Create Advanced ZIP File [Android 4.1+] >>. After it was done i copied it over to my tablet and rebooted into recovery. I installed the flash and rebooted. Same error came up after it was done booting.

So i figured i would try one more time. So i recompiled it and then in the zip menu i chose << Create Standard Zip File >> this time. Waited for it to get done then copied it back over to my tablet. Rebooted in to recovery and installed it. Rebooted, and upon showing the "desktop" the same error showed up again.

So i am not sure what is the problem. I will upload my modified and original files along with the history file. Maybe someone can look at them and see what i did wrong. The _in and the _out are the modified files. If you need anything else let me know.

Any help will be greatly appreciated. Thank you.
[Android Themes] 32dave:
Thanks again for an amazing program I love this thing. anyways I keep getting this error both in 11.1.1 and 12 Running stock rooted COI4(5.1.1) 910w8 note 4 I have posted the pictures that are causing the error as well

Recompiling "Daves.apk" With Original Signature,

in work area "_WorkArea3", using "apktool_2.0.2.jar"

With Tickle My Android 12.0.0.

(tinyurl.com\ticklemyandroid)

----------------

I: Using Apktool 2.0.2

I: Smaling smali folder into classes.dex...

I: Building resources...

libpng error: Not enough image data

ERROR: Failure processing PNG image C:\TickleMyAndroid\_WorkArea3\_working\Daves.apk\res\drawable-xxhdpi-v4\theme_grid_preview.png

libpng error: Not enough image data

ERROR: Failure processing PNG image C:\TickleMyAndroid\_WorkArea3\_working\Daves.apk\res\drawable-xxhdpi-v4\theme_preview.png
[Android Themes] tdunham:
Are they the backgrounds? Put a fake/renamed png in their place (some real png renamed) then insert them after the recompile. It sounds like they can't be compressed by apktool because they aren't recognized properly as png images.
[Android Themes] 32dave:
Thanks for your reply But I figured it out about 5 mins ago so I loaded them with Gimp 2.9 then overwrote them and bang it worked not sure why. They were screenshots from my note 4

So I guess the solution to this error is to load in a photo/png editor then export
[Android Themes] Ticklefish:
I did briefly look at making Tickle My Android for Linux but it's not really something I can do at the moment.

The trouble is, I need a working Linux to test it on and my ancient laptop just won't run that OS. Hell, myself and Mrs Fish never use the thing anymore. With two Android phones and a pair of iPad's, we don't really need to.

I still want to make a Linux TMA, I just can't for a while. :(

I think this is being worked on for apktool_2.0.3. So don't worry, we don't have long to wait!

Curious. Could you share your original XML please? I'm not able to decompile your APK's right now as I'm not near a computer.

Well, that's the first time I've encountered that error!

The solution tdunham suggested should work but it's worth checking that the image files aren't corrupt in some way.
[Android Themes] ScouserCL:
HELL YES, got the same error when compiling SystemUI from my Samsung Grand Prime with Lollipop, this solved my problem!
[Android Themes] Zionator:
Hi,

Thanks for this awesome app.

I cannot recompile any systemui or framework for some odd reason after I used the icon changer feature in this app. I keep getting errors.

I am using Samsung galaxy Note 4 with a note 5 rom port. Lollipop 5.1.1 COI3.

In op it says I need to convert the signal and WiFi icons from png to qng or something "sorry cant remember the correct name of extention" but all the icons in systemui and framework all have png files.

So what do I do ? Do I still convert them and if I convert them wouldn't I need to edit some xml files as they most likely are programmed for png's.
[Android Themes] SnakeFist:
Ok here are my originals. I'm not sure what one you wanted so i attached the 2 i thought you might want.
[Android Themes] Er. Aditya:
hi sir , can you look at this error

its making me nuts
[Android Themes] bilgerryan:
I believe that was just answered a few posts back, he said he loaded up the images in GIMP and exported them and then they worked.
[Android Themes] Er. Aditya:
thankyou sir , and sorry for not reading il just try that :) :good::good:
[Android Themes] Zionator:
Can you please explain where I can find the file and the exact name as I am getting recompiling errors no matter what I do :crying:

I can find the file so I hope someone can help me in pointing out where I find it.
[Android Themes] bilgerryan:
Deleted
[Android Themes] ScouserCL:
The file apktool.yml is located inside the DECOMPILED APK folder.
[Android Themes] Ticklefish:
Try the attached .ZIP and let me know what happens. :good:

Can you share your history.txt please?
[Android Themes] Zionator:
Ok. I have added my most recent one where I have done nothing but change the icons with the tikklemyandroid build in features.

Sadly I cannot add the history for the following reasons: history.txt:

Your file of 630.9 KB bytes exceeds the forum's limit of 512.0 KB for this filetype.

I hope the recent text can point out what the issue is about.
[Android Themes] Ticklefish:
Thanks, that does help.

You have a lot of errors that basically look something like this:

This means that there is an drawable file (either an XML or PNG/QNG file) declared on line 739 of public.xml with the filename "stat_sys_signal_0_auto_rotate"...but the file doesn't exist in your APK.

Samsung are annoying because they keep trying to make their APK's as different to standard Android as possible, and Tickle My Android has to try to keep up. So it's possible that these files have been deleted as part of the icon-changing process.

Try deleting the lines mentioned in the error message from your public.xml. This should now let your APK compile.

If it does, but you find that you need these icons, it's worth copying them back into your decompiled APK from the original file.

Let me know how it goes!
[Android Themes] Zionator:
Many thanks for your reply. I will try this tonight when I wake up.
[Android Themes] fargh123:
i cant install framework-res

Tickle My Android 12.0.0. Theming History

tinyurl.com/ticklemyandroid

------------------------------------------------

17-10-2015@1345 --- SESSION STARTED

Tickle My Android Version: "12.0.0."

WorkArea Set To "WorkArea1"

Apktool Version Set To "apktool_2.0.2.jar"

Using adb.exe Version:

Android Debug Bridge version 1.0.32

Revision eac51f2bb6a8-android

Using smali.jar Version:

smali 2.1.0 (http://smali.googlecode.com)

Copyright (C) 2010 Ben Gruver (JesusFreke@JesusFreke.com)

BSD license (http://www.opensource.org/licenses/bsd-license.php)

Using baksmali.jar Version:

baksmali 2.1.0 (http://smali.googlecode.com)

Copyright (C) 2010 Ben Gruver (JesusFreke@JesusFreke.com)

BSD license (http://www.opensource.org/licenses/bsd-license.php)

Using aapt.exe Version:

Android Asset Packaging Tool, v0.2-eng.ibotpeaches.20151011.225425

Using oat2dex.jar Version:

Running In Windows Version:

Microsoft Windows [Version 6.1.7601]

Java Present In PATH Variable - "java version "1.7.0_51""

-----------------------

17-10-2015@1346 --- "_WorkArea1\_in\framework-res.apk" not installed to PC

Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x0108034e drawable/ic_audio_ring_notif, config=-round

at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:63)

at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:56)

at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:223)

at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:191)

at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:159)

at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:116)

at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:78)

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:47)

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:39)

at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:599)

at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:581)

at brut.androlib.Androlib.installFramework(Androlib.java:676)

at brut.apktool.Main.cmdInstallFramework(Main.java:240)

at brut.apktool.Main.main(Main.java:87)
[Android Themes] Ticklefish:
Curious.. Can you share your APK please? What phone are you using and what version of Android?
[Android Themes] SnakeFist:
I have flashed the zip and still the same error. I even did a factory reset and tried it and still the same error.

Let me know if you need anything else.

Thank you.
[Android Themes] fargh123:
my phone is i9100 and i use android 5.1.1 and Resurrection-Remix-LP-v5.5.7 rom
[Android Themes] FunSucker:
[MENTION=4315551]Ticklefish[/MENTION], I have the package for you, sir :D

Bahasa Indonesia for TMA : https://drive.google.com/open?id=0B7eiUz7-dtTOQ0lyM2JMWjdQMmM

and, a link for TMA in Kaskus (Indonesian forum) : http://kask.us/h8AgO , I just got finish it sir.
[Android Themes] Ticklefish:
Hmm. Well, there's nothing wrong with the way the mod's been done. I didn't think you did it incorrectly, I just wanted to do it myself to make sure.

Looks like the mod doesn't work with your ROM for some reason. The best thing here is to post your APK's on the mod thread and ask the OP to take a look at it.

If you can include a logcat as well, that'd be very helpful.

Can you share the APK, please?

That's fantastic! Thank you! I've added this to the ZIP file and I'm uploading it to Mediafire now.

It's always good to see TMA featured on other sites, especially in a language other than English. If you need anything from me, just let me know.!
[Android Themes] inspired55:
can you tell me why i can't decompile systemui.apk app here is my log
[Android Themes] tdunham:
Have you tried in the tool, switching versions of apktool in settings?

Each time you switch version of apktool, I think it is best to resubmit both framework files also before using.
[Android Themes] inspired55:
I have tried both latest versions of apk tool the non lolly pop version I get many more errors
[Android Themes] tdunham:
Are you reloading both frameworks every time you try a different version of apktool? Because what I see are framework public values in history log as if it cannot utilize framework properly for decompile. Maybe you can post stock UI along with matching framework files so we can try too. Framework-res & twframework-res files (or whichever the two are called for your build) must match the build you are working with of course too.
[Android Themes] kyouda:
Uhjn
[Android Themes] tdunham:
Also, it is possible the version of java is affecting the decompile too.

Do you have the latest Java JKD suite installed?
[Android Themes] inspired55:
Thank you for your help. I got it figured out I'm guessing I was working with a systemui file that was highly modified and wasn't using the correct framework-res apk.
[Android Themes] 32dave:
Is there any way to install these as framework files I am trying to decompile a MIUI v7 systemUI and from what I have read I need to install these to do it

#Framework

apktool if framework-res.apk

apktool if framework-ext-res.apk

apktool if miui.apk

apktool if miuisystem.apk

This is what I get with just the two frameworks Note 4 910W8 running MIUI v7 android version 4.4.4

Decompiling "MiuiSystemUI.apk",

in workarea "_WorkArea4", using "apktool_2.0.2.jar"

With Debug Info Disabled

With Tickle My Android 12.0.0.

(tinyurl.com\ticklemyandroid)

----------------

I: Using Apktool 2.0.2 on MiuiSystemUI.apk

I: Loading resource table...

I: Decoding AndroidManifest.xml with resources...

I: Loading resource table from file: C:\Users\davet\apktool\framework\1.apk

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x100d0018

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x100d0033

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x100d0033

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x100d0033

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x100d0033

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x100d0033

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x100d0033

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x100d0051

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x100d0051

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x100d0051

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x100d0051

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x100d0051

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x100d0033

I: Regular manifest package...

I: Decoding file-resources...

I: Decoding values */* XMLs...

I: Loading resource table from file: C:\Users\davet\apktool\framework\17.apk

Can't find framework resources for package of id: 16. You must install proper framework files, see project website for more info.

----------------

Decompile Not Successful!
[Android Themes] Hamidreza2010:
[MENTION=4315551]Ticklefish[/MENTION] HI

this is my log for recompile xposed module ( i didnt any change.just decompile and recompile ) i just want to remove in con from launcher but get error when recompiling even without any change.

http://d-h.st/Qjwj
[Android Themes] Er. Aditya:
Indeed install frameworks each time you switch apktool
[Android Themes] carl1961:
also you need to deodex the MiuiSystemUI, or deodex the whole rom somewere and grab the deodexed MiuiSystemUI from it.

you might can try Jbart to deodex miui with

http://en.miui.com/forum.php?mod=viewthread&tid=85343&highlight=JBART

https://github.com/BurgerZ/jBART/archive/master.zip
[Android Themes] 32dave:
Thanks for the reply but its already deodexed tw based
[Android Themes] Ticklefish:
There is...but you'll have to cheat a little.

TMA is set up to recognise any APK file with "res" in its filename as a potential framework file.

You can use apktool to install any APK file but installing a non-framework file won't make any difference. To make things simpler, and to stop people from thinking they have to install things like SystemUI.apk, I introduced that restriction. After all, framework files are also known as resource files..and that's where the "res" comes from.

Then MIUI decide to do their own thing again. Sigh..

To install "miui.apk" and "miuisystem.apk", just rename them to "miuires.apk" and "miuisystemres.apk". Then TMA will recognise them and let you install them.

Just remember that, if you're modding those two files, you'll need to change their names back before you flash them or your mods won't work!

You might want to think about moving away from using Dev-host....XDA No Longer Recommends Dev-Host

Your recompiling log basically contains two types of errors. The first is this:

libpng error: Not a PNG file
ERROR: Failure processing PNG image C:\TickleMyAndroid\_WorkArea1\_working\1.apk\res\drawable-hdpi-v4\home_drawer_hide_apps.png

This is saying that you have a PNG file which isn't being recognised as such. It could be the wrong format or it could even be corrupt. You'll need to fix it to get rid of this error.

The second type of error is this:

C:\TickleMyAndroid\_WorkArea1\_working\1.apk\res\values\public.xml:302: error: Public symbol drawable/abc_ab_share_pack_mtrl_alpha declared here is not defined.

This is saying that you have a drawable file called "abc_ab_share_pack_mtrl_alpha" declared on line 302 of public.xml...but you don't have the actual file in your APK.

You'll need to either provide that drawable file, or delete this line from public.xml and hope the missing file doesn't cause any issues with your module.

You didn't make any changes to your APK, you just decompiled and recompiled. Which means these missing files have been removed from the APK without decompiling it first. Which is sloppy theming, really, because it means you're faced with all this work now..
[Android Themes] 32dave:
Ya I know I hate that Xiaomi does that to MIUI but I guess they have their reasons I will do that Thanks for the reply, Dave

P.S. I have been using TMA since 7.1 and would be lost with out it, so again, Thanks for a great program
[Android Themes] Ticklefish:
My pleasure. Thank you for your thanks! It's always good to hear that this tool's proving useful. :highfive:
[Android Themes] bilgerryan:
It's useful almost every day... I still haven't updated to Win10 because I don't wanna mess with my setup.
[Android Themes] 32dave:
Yep that worked decompiled no problem and recompiled no problem but I barley recognize the layout files they have done some serious rewriting
[Android Themes] MagicTale Studios:
Tried it and all I can say is good work. Made jobs easier. I personaly use other softwares but tried this and liked it :D Keep up with the good work.
[Android Themes] 32dave:
It works ok I am on Win ten build number 10565 and have had no problems with TMA
[Android Themes] Ticklefish:
That's MIUI for you. Still, it's nice to have a challenge! ;)

I'm glad you liked it, thanks! :good:

TMA should work on everything. Sooner or later, Microsoft will make a change to their OS that will mean I'll have to rewrite the entire tool...but, hopefully, that won't be for a while!
[Android Themes] Ticklefish:
It's taken a while (work is crazy busy right now) but I've just updated the third post in this thread.

That's the one that explains how to use TMA to deodex files. Hopefully it all makes sense but let me know if there are any problems!
[Android Themes] starbucks2010:
[MENTION=4315551]Ticklefish[/MENTION],

I don;t know if you remember that some (many) pages ago I was asking you to check why the SecContacts are not usable once recompiled with TMA.

Today I discovered an interesting thing and I think that this is the reason behind this behavior.

I decompiled an 5.1.1 SecContacts_L.apk from my S6 Edge+ and modified manifest.xml like this in order to be usable after recompilation

[FONT=&quot]android:authorities="@string/file_provider_authorities"[/FONT]

to

[FONT=&quot]android:authorities="com.android.contacts.files"[/FONT]

After recompilation, I put the resulted apm into my phone but the phone complained that could not parse the package (in explorer the apk was having the generic icon instead of normal icon).

So, I took back this apk and decompiled again with TMA and to my surprise, inside the manifest.xml I found again:

[FONT=&quot]android:authorities="@string/file_provider_authorities"[/FONT]

So, what do you think that can be the issue?

2 more things if it helps you identify the source of problem:

- with BDFreak's tool after the same operations, the android:authorities stays [FONT=&quot]"com.android.contacts.files"

- with BDFreak's took I don't have to delete the long list of "doNotCompress" from the end of apktool.yml file and the apk recompiles correctly

Best regards.

[/FONT]
[Android Themes] Ticklefish:
Can you share your APK please?

If you change the Manifest of a system app, you have to sign it with a new key. And you'll then have to sign every other system app with the same key as well. The only way around this is to use the Superuser mod which disables signature verification. Did you do this?
[Android Themes] Ticklefish:
NEW ICONS AVAILABLE!!​

Icon Pack 4 has just been released and is available for download right now. This features a handful of new battery icons, as well as a lot of new softkeys.

To check it out, and to easily change the look of your phone, just download the .EXE from the link in the OP and extract it in the same place that you extracted Tickle My Android.

(So, if you extracted TMA to "c:\", you'll need to extract the icon pack to "c:\" as well.)

Enjoy!
[Android Themes] starbucks2010:
Hello,

Please find the file attached here.

I always sign the file with the original signature and I have the signature verification disabled in my ROM. What I don't understand is why TMA changes back the Manifest.xml after recompilation while BDFreak's tool keeps it as it is.
[Android Themes] Ticklefish:
That link's not working.. :(
[Android Themes] starbucks2010:
There is something wrong on your side. I just test it and is ok. I can see the link and I even download it.

Try with another browser.
[Android Themes] Ticklefish:
Odd. I've tried with both IE and Chrome and just get a message saying "This webpage is not available"..:confused:
[Android Themes] starbucks2010:
It's strange. I tried with 3 browsers and all were ok. Anyway, here is another link.