yashsingh1/xdaforums huggingface dataset:
[Android Themes] Ticklefish:
If there was a tool available that TMA could use, sure. Right now, it seems that you can only convert qmg files into png files by using an app.

Try copying your system/framework file to a sdcard and from there copying it to your PC. You can just process the workspace then and deodex your file. Don't forget to deodex the classes2 file as well!
[Android Themes] macoX13:
How can I disable mouse control on TMA? Its not working when you have to click continue or cancel.
[Android Themes] Er. Aditya:
Works for me
[Android Themes] CardinalDeath:
[ROM] [STOCK] V10_H901_V20E_Stock [LGHome UIX4.0] [05/08/2016]

custom rom lg v10 tmobile running mm

16-05-2016@2028 --- "/system/priv-app/SystemUI.apk" pull failed

remote object '/system/priv-app/SystemUI.apk' does not exist

16-05-2016@2028 --- "/system/priv-app/SystemUI/SystemUI.apk" pull failed

remote object '/system/priv-app/SystemUI/SystemUI.apk' does not exist

did both versions #2&3
[Android Themes] mitskir_aspro:
TickleMyAndroid doesn't open.

i am using windows 10

please help me
[Android Themes] Er. Aditya:
where have you extracted it , though u can test it placing it in C:/
[Android Themes] mitskir_aspro:
i have it on desktop

---------- Post added at 10:45 AM ---------- Previous post was at 10:41 AM ----------

i move it to C:/ but again it doesn't open :(
[Android Themes] tdunham:
Just to be sure, path should be c:\TickleMyAndroid and folder & file structure inside should be similar to the picture I have added as attachment.
[Android Themes] Ticklefish:
There are a few possibilities here..

Do you have adb drivers for your phone installed on your PC?

Do you have USB Debugging enabled on your phone?

Did you give permission on your phone for your PC to access it?

Do you have SystemUI.apk in "system/priv-app/SystemUI"? (You should have, but with custom roms there's always a chance that something different is going on..)

If you can't get TMA to start, try using the Command Prompt (run CMD.exe). Go to the folder that you've extracted the ZIP file into and enter this command:

"Tickle My Android.exe"

If the program doesn't run, you'll get some sort of error message. Let me know what that error message is and I'll get it sorted out. :)
[Android Themes] Er. Aditya:
I have it under d 》 folder 1 》 folder2 》here....and still TMA works flawlessly such a badass
[Android Themes] Ticklefish:
That was done a few versions ago. I always try to think ahead! ;)

So there's no problem connecting with your phone then. Hmm...interesting.. This is all suggesting that you don't have SystemUI.apk in your rom. Or, if you do, it's in an unusual place.

It's worth having a look around your system partition to find out where it is.

Thinking about it, do you have a file called something like "lgSystemUI.apk" or similar at all? I'm not aware of LG doing something like that, but it's not impossible.
[Android Themes] Er. Aditya:
you have proper reasons for being a great dev and your tool being the best work
[Android Themes] Ticklefish:
Well, that's very kind of you to say so!! :highfive:
[Android Themes] CardinalDeath:
found it its lgsystemui.apk.

system/ priv-app / LGSytemUI/ LGSytemUI.apk
[Android Themes] starbucks2010:
@Ticklefish

I have an issue with the latest 13.3 version of this nice tool. Every time I go 2 - Quick Menu, 2 - Decompile Menu, TMA closes right away without any message. This is the latest extract from history.txt:

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

18-05-2016@1439 --- SESSION STARTED

Tickle My Android Version: "13.3.0.0."

WorkArea Set To "WorkArea1"

Apktool Version Set To "apktool_2.1.1.jar"

Using adb.exe Version:

Android Debug Bridge version 1.0.32

Revision eac51f2bb6a8-android

Using smali.jar Version:

smali 2.1.2 (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.2 (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:

Easy oat2dex 0.87

Running In Windows Version:

Microsoft Windows [Version 10.0.10586]

Java Present In PATH Variable - "java version "1.8.0_92""

What do you think it could be?I never had this issue before with 13.2.

The same issue if I go in 3 - Theming Menu, 5 - Decompile files or 6 - Decompile Multiple Files. The recompile menu works correctly.

Edit. I just discover that this is happening only on _WorkArea1. If I change to _WorkArea2, I can access the Decompile menu.

Edit2. Solved. Actually, TMA doesn't like if the In folder contains files with some special naming i.e spaces, parenthesis, etc. I suspected that this was the issue and renamed the long name file that was there. Now is ok.

Thank you.
[Android Themes] Ticklefish:
I do like it when I check the thread and every problem's already been resolved.. ;)
[Android Themes] starbucks2010:
I like to do my homework. :)

Now another issue without solution so far.

Decompiling "TeleService_ori.apk",

in workarea "_WorkArea1", using "apktool_2.1.1.jar"

With Debug Info Disabled

With Tickle My Android 13.3.0.0.

(tinyurl.com\ticklemyandroid)

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

I: Using Apktool 2.1.1 on TeleService_ori.apk

I: Loading resource table...

I: Decoding AndroidManifest.xml with resources...

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

I: Regular manifest package...

I: Decoding file-resources...

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

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

I: Decoding values */* XMLs...

Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x0102044c

at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:59)

at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:66)

at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:62)

at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:57)

at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:47)

at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:46)

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

at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:369)

at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)

at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)

at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)

at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:83)

at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:141)

at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:33)

at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:120)

at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:105)

at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:259)

at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:128)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:108)

at brut.apktool.Main.cmdDecode(Main.java:163)

at brut.apktool.Main.main(Main.java:81)

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

Decompile Not Successful!

You think that is related to apktool version?

Thank you.
[Android Themes] Dzepar:
Bad/wrong framework or you need to install another res.apk. Try reinstalling framework but first delete it from bla/bla/user_name/apktool. Also remember that apktool have problem with some manufacturers Miui etc.

And it's not TMA that doesn't like special characters and empty space it's Apktool. ;)

Good Luck!

Sent from my XPERIA M2
[Android Themes] Ticklefish:
It's not just apktool that doesn't like whitespace and certain characters, it's MS-DOS. ;)

If you've got a blank space in a filename, MS-DOS will only take the first part of it. So "My app.apk" just becomes "My". There are ways around this if you're using apktool on its own but, in a batch file like TMA, it's best just not to use any spaces at all..

As for the error quoted above:

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

This normally happens because there's a framework that needs to be installed. There's not enough information in that APK to decode that 0x0102044c value. A good way to play it safe is just to install every file in the framework folder that has "res" in the filename.

It won't cause any harm if you install one that's not needed. Apktool will just ignore it.
[Android Themes] CardinalDeath:
Since i found it how do i get systemui to change the path to lgsystemui.apk...
[Android Themes] Ticklefish:
You can't...but you can set up a favourite.

Have a look at the pull menu and you'll see an option for using favourite files. I'm away from the PC right now but I seem to recall you can have up to three of them.
[Android Themes] starbucks2010:
It's not a problem of framework because I compiled/decompiled other apk's from the same ROM with the same framework-res.apk and twframework-res.apk.

Finally I solved it by using apktool_2.0_td.jar instead of apktool_2.1.1.jar. I still have few warnings but it finally recompiled.

Best regards.
[Android Themes] mitskir_aspro:
When i decompile LGSystemUI.apk i get an error
[Android Themes] Ticklefish:
If you share your history.txt, I can find out what that error is and try to fix it.
[Android Themes] Ticklefish:
The answer's right at the bottom. You need to install another framework file, apktool can't get all the information it needs with just the one that you've installed.

Since LG decided to rename their SystemUI.apk to LGSystemUI.apk, there's a good chance there'll be a file with a name like "LGframework-res.apk", "LG-res.apk" or similar in your framework folder.

Find the missing framework file, pull it and install it (it's probably worth setting it as a favourite) and your APK should decompile.
[Android Themes] mitskir_aspro:
How i install it?
[Android Themes] Ticklefish:
Have a look in the first post of this thread. The instructions for pulling and installing files are in there.

You'll get the option to install a framework file when you pull it and there's also an option in the Theming Menu.
[Android Themes] slavomes:
[MENTION=4315551]Ticklefish[/MENTION] can you tell me what this can be?

I used ver. 13.2 and yesterday update to 13.3 and i can't decompile original LGSystemUI.apk (no problem to decompile LGsystemUI.apk recompiled by me).

When i try decompile this file, it creates log like that:

Decompiling "LGSystemUI1.apk",

in workarea "_WorkArea5", using "apktool_2.1.1.jar"

With Debug Info Disabled

With Tickle My Android 13.3.0.0.

(tinyurl.com\ticklemyandroid)

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

I: Using Apktool 2.1.1 on LGSystemUI1.apk

I: Loading resource table...

I: Decoding Shared Library (com.lge), pkgId: 2

Exception in thread "main" brut.androlib.AndrolibException: Multiple res specs: drawable/APKTOOL_DUMMY_56b

at brut.androlib.res.data.ResTypeSpec.addResSpec(ResTypeSpec.java:78)

at brut.androlib.res.decoder.ARSCDecoder.addMissingResSpecs(ARSCDecoder.java:451)

at brut.androlib.res.decoder.ARSCDecoder.readTableTypeSpec(ARSCDecoder.java:156)

at brut.androlib.res.decoder.ARSCDecoder.readTablePackage(ARSCDecoder.java:115)

at brut.androlib.res.decoder.ARSCDecoder.readTableHeader(ARSCDecoder.java:77)

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

at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:555)

at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:72)

at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:64)

at brut.androlib.Androlib.getResTable(Androlib.java:64)

at brut.androlib.ApkDecoder.setTargetSdkVersion(ApkDecoder.java:193)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:102)

at brut.apktool.Main.cmdDecode(Main.java:163)

at brut.apktool.Main.main(Main.java:81)

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

Decompile Not Successful!

I deleted from HDD previous version of TMA which worked perfect? Is there any chance to download v13.2?
[Android Themes] Ticklefish:
I can share a link, sure. But v13.3 has exactly the same code for decompiling that v13.2 has. The only difference is in the deodexing code, I didn't touch the theming menu at all. So the problem would probably continue.

Have you reinstalled all the framework files? That 'apktool_dummy' mention suggests that apktool can't decode something in the APK. Or that it was recompiled incorrectly so it has dummies already inside it..
[Android Themes] slavomes:
Hi. Thanks for answer. I solve my problem just a couple of minutes ago. Using apktool 2.1.0 or 2.1.1 causes this problem. When i use 2.0.3 or unifficial 2.1.0 SNAPSHOT is ok. I don't know why because on apktool for android official files decompiles well. So i decide to use unofficial 2.1.0.

Thanks a lot for this powerful tool.

I think dummies are because file was ported from diffrent phone.

G3 D855 Fulmics 5.2
[Android Themes] Ticklefish:
So your APK decompiles on an old version of apktool but not the new one?

Can you share your APK and framework files please? It's worth mentioning that to apktool's developer..
[Android Themes] slavomes:
Thanks a lot for your support, but files are not mine. I only making mods and themes for this UI and i shouldn't share original files from ROM separately if developer don't agree that in his thread. I understand that and i want to be fair to him. He done lot of work for ROM.

I remember now - on v13.2 TMA was the same situation and i was using unofficial apktool 2.1.0 too.

I saw lines APKTOOL_SO_DUMMY or something like that in some .xml files, it looks this is the cause.

With stock files for LG G3 - there is no problems to decompile. That one which i modding/theming is from Fulmics5 (G5 ported ROM).

Anyway - big thanks to you.

Of course LGSystemUI modded by me can be downloaded here
[Android Themes] mcdachpappe:
hello Ticklefish,

i want to thank you for your awesome program. i want to use this because im not able to decompile .apks for my s5 marshmallow rom (jre 1.7 and latest apktool). somebody said that it would be possible with your program - so i wanted to test it but without success yet.

ive installed the latest jdk (including jre) 8u92 and donwloaded your latest tma v 13.3. but if i start your programm - a command window opens and closes immediately after this without any log file created. in that command window there is the following string printed "...\tool_files\rewrite\settings\DateTime" .

i even deactivated my kaspersky because a rewrite.bat file in my TEMP folder is reported for doing something. but with deactivated antivirus im not able to start your program.

your faq doesnt give any answeres about this and ive searched your thread about it without any solutions.

im trying to run it on a win7 x64 machine and your tma folder is on my system partition. and paths have been set, too.

any suggestions?

//Edit

alright i think this issues was caused by moving your folder to another place. ive extraced it to a different partition first and after that to another place. now the program starts ;)
[Android Themes] Ticklefish:
Oh, I see. It's a modified APK that can't be decompiled. That would explain the presence of that DUMMY. Not every developer makes APK files precisely the way they should and you can end up with this sort of situation.

In fact, it's not impossible that they did it deliberately to stop people from decompiling their work.

Oh well, at least you can still decompile the file you're modding now!

So it's all good now? Excellent! I didn't have to do a thing! ;)
[Android Themes] mcdachpappe:
[MENTION=4315551]Ticklefish[/MENTION]

yes everything is alright now. im able to recompile tw systemui sdk23 version with your program :)

with the latest apktool 2.1.1 (which your program ist using too) i got some errors while recompiling .. strange thing.

now i can start modding again :) thank you again very very much
[Android Themes] CardinalDeath:
Just a question can your program do a unpack and repack a system.dat ( system partition image).

LG H901 T-MOBILE 6.0 V20E,rooted, exposed..(Those that risk everything pave the way for everyone else.)
[Android Themes] Ticklefish:
Not right now, no. The only solution I've seen so far is another batch file by somebody else. I could dig into their code and copy it but I'd rather not. Have a look here: http://xdaforums.com/general/xda-university/unpacking-editing-packing-roms-img-dat-t3350261

I am working on something new for the next version though and right now I have TMA's source code open in one window while it works through 413 files in another. A quick question for everybody: would it be more useful to be able to deodex individual files or the entire rom? Let me know! ;)
[Android Themes] tdunham:
Personally, I do the entire rom. At the very least, do entire framework at once.

For framework, I don't see any advantage to deodexing a single file.

Wont the system still treat a single framework file as odexed if it still detects the .odex file anyway? I haven't really looked into it...

For the added speed, I can see leaving apk's individual since most custom roms could benefit from the extra speed (however marginal) of leaving the majority of the apk's odexed since only a small portion of the apk's in general get edited anyway.

Speaking of odexed... anyone notice the new play store updates come down as both with the .odex files separate and .dex files inside the apk? It makes for some insane data/app folder sizes. I recently flashed a stock rom, took all the play store updates and the data/app folder (with JUST stock updates) was 2.5 gb in size. :eek:

I went through and deleted all the odex stuff out of data app and it saved over a gb of space.
[Android Themes] Ticklefish:
It used to be easier to just deodex the files you need to mod but then ART came along and changed the game. These days it's just easier to deodex the whole thing. (In fact, with a Sony MM rom, a partially deodexed rom always bootloops).

I've nearly finished rewriting the deodex menu so it can deodex an entire rom with a few button presses. I think I'll lose the option to do a single file, it's just too much hassle now.

Plus, most people ask for a complete deodex solution and the customer's always right! ;)

I hadn't noticed the ODEX files in my data partition..but you're right, every app comes with one. Even xda Labs, which makes me suspect it's not just the Play Store. Maybe it's done on purpose to speed up the startup time of the apps? :confused:
[Android Themes] FunSucker:
How to download font pack and boot animation pack ? i get error "404 page not found" :confused:
[Android Themes] Ticklefish:
I've fixed the links. Sorry about that, I think the length of the post is causing some problems with some of the code in it.

Interesting that nobody else has noticed it. Maybe people aren't as interested in using the tool for changing fonts and boot animations as they used to be..lol
[Android Themes] FunSucker:
lol no problemo, sir :D thanks for fixed it.

argh sir, i still used TMA for theming cause easy-to-use . my opinion :good:
[Android Themes] bunnys7679:
Can someone help me to recompile twframework without errors. Android 6.0.1

Gesendet von meinem SM-G925F mit Tapatalk
[Android Themes] tdunham:
Known issue, no resolution right now.
[Android Themes] bunnys7679:
Is there for ClockPackage_M_Osup a solution that they will not be stopped if the color - accepts values changes?
[Android Themes] starbucks2010:
[MENTION=4315551]Ticklefish[/MENTION]

I have decompiled the latest facebook and to my surprise it has smali-classes11. Yes, 11. Do you think that this could have an impact/limitations on the recompilation using TMA v13.3?

Thank you.
[Android Themes] Ticklefish:
Nah, that won't cause a problem at all.

When I mentioned this a few posts ago, it was to do with deodexing not decompiling. Although even then I was wrong. I thought that having more than 4 or 5 classes.dex inside a file would be excessive. My version of Google Maps comes with 35!
[Android Themes] Ticklefish:
SLIGHTLY NEW VERSION AVAILABLE!!​

A few minutes ago, I released v13.4. of TMA. I wasn't going to, I've been working on a few ideas for v14, but I didn't really have much of a choice. As excited as I was about the previous version's ability to deodex Marshmallow rom's, it didn't work very well at all.

Deodexing the SQSH files that Sony have started using didn't work and deodexing a single file was just too complicated. Especially if you wanted to deodex a file like framework.jar.

So I had a rethink and completely rewrote the code from scratch. Now TMA no longer deodexes single files...it deodexes entire rom's!

I still need to write the instructions, which I will tackle tomorrow, but hopefully it's simple enough. Just copy your app, framework and priv-app folders to the _deodex folder as before (or get the tool to pull the files for you). Also copy over your SQSH files if you're using a Sony Marshmallow rom.

Then pick the option that matches the version of Android you're running and let the tool do its thing.

Deodexing a whole rom can take a while (my MM rom had 420 files to process and took an hour..) but, at the end, TMA will create a flashable zip for you. Flash that, wipe the Dalvik Cache and reboot. Easy as that!

Head to the OP, download and enjoy! :highfive:
[Android Themes] Ticklefish:
The 3rd post has just been updated with new instructions for deodexing a rom. Hopefully it all makes sense but do let me know if there are any issues!
[Android Themes] dicksteele:
I just used 13.4 to deodex Note 4 6.0.1 N910CXXS2DPEB. Worked perfectly.

As you posted, it was that easy. I did run into a java heap out of memory error. It choked working on services. Looks like its a beast.

Rebooted and only ran TMA. Sailed through it like a Boss.

Great work as always :good:
[Android Themes] Ticklefish:
That is absolutely great to hear! I am very, very happy. :cool:
[Android Themes] Er. Aditya:
Damn gooooood bro :D your a magician man ...thanks alot for your work master :)

just a little hickup i just activated mouse control and when i try to close after clicking to any option

i get this

then a blunder enters my laptop
[Android Themes] dkonect:
The best tool since I know Android, thanks for this amazing tools and guide, for Marshmallow, really appreciate your works for the android addict we are.
[Android Themes] Ticklefish:
I think I know what's going on here.. How are you closing the tool?
[Android Themes] Er. Aditya:
with the cross on right top
[Android Themes] Ticklefish:
Odd. Are you sure you're not clicking at the top of the window instead (the line that says which workarea you're in and which apktool you're using)?
[Android Themes] Er. Aditya:
sir this happens like this

open TMA.exe > close without touching anything * works perfect *

open TMA.exe > click on any option and then close * problem starts *

if you like i can upload a video

Ps : i am out of thanks atm sir :D
[Android Themes] Ticklefish:
If you can share a video, that'd be great.

I'm away from the computer right now but I think I know what's causing this and it shouldn't be too hard to fix.
[Android Themes] Er. Aditya:
please check the attachment sir
[Android Themes] Ticklefish:
Yup, that's a definite bug. Thanks for letting me know, I'll fix it as soon as I can. Hopefully that'll be later tonight.
[Android Themes] Er. Aditya:
No rush sir .. :D
[Android Themes] stathiskapl7:
Problem!!!

hello i unzipped the tma but i cannot run the ticklemyandroid.exe

I tryied on windows 10 and 7 but in task manager is stucked in 108K.

What am i doin wrong!?

Thank you!!!!
[Android Themes] Josephigloe:
I'm on TMA 13.4, after I put files in working file one, and click TMA to get started it closes right away can some one help me TIA.