yashsingh1/xdaforums huggingface dataset:
[Android Themes] allofusjw:
Apologies if it's already been reported by another user, but just wanted to say that the battery mod with percent works flawless on Modaco's Jelly Bean rom for the gsm Galaxy Nexus. I followed the steps exactly as posted by op/developer and the process went perfect on my pc and my phone has continued to run flawlessly. I did not attempt any of the other mods.

A big thank you for a really cool, easy, and functional program. Your time and effort are greatly appreciated.
[Android Themes] Ticklefish:
Excellent! That's always good to hear!

Which battery icon did you use?
[Android Themes] odod:
Deodexing error, fle not found

I'm in deodexed my rom, theres a problem when i want do deodex files, it said file not found.
[Android Themes] Nieon.:
Hey, I need a little help here... but first here are the list of what you need to know

What phone/tablet are you using?: Samsung Galaxy Ace 3 (GT-S7270)

What version of Android are you running?: Android JellyBean 4.2.2

What version of Tickle My Android are you running?: 8.1

What sort of rom are you on? Touchwiz (havent used any custom ROM since none is available atm)

What are you trying to decompile/recompile? SystemUI.apk

What resources apps have you installed? framework-res and twframework-res

Are the files you're using odexed or deodexed? I think it's odexed

What mod are you trying to do? Trying to move some icons around statusbar

Do your files work if you decompile, recompile and prepare them without changing anything? I decompiled it and try to recompile it but got brut, I tried changing its version but ends up with the same result: brut

What problems are you having? I'm not really sure, but here are the logs from both versions of TMA:

HISTORY

Tickle My Android v8.1 Theming History

--------------------------------
14-01-2014@1628 --- SESSION STARTED
14-01-2014@1628 --- SESSION ENDED
--------------------------------
31-01-2014@2007 --- SESSION STARTED
31-01-2014@2010 --- "/system/framework/framework-res.apk" pull failed
31-01-2014@2010 --- "/system/framework/framework-res.apk" pull failed
31-01-2014@2011 --- "/system/framework/framework-res.apk" pulled
31-01-2014@2011 --- "framework-res.apk" installed to PC
31-01-2014@2011 --- "/system/framework/twframework-res.apk" pulled
31-01-2014@2011 --- "twframework-res.apk" installed to PC
31-01-2014@2011 --- "/system/app/SystemUI.apk" pulled
31-01-2014@2012 --- "SystemUI.apk" decompile succeeded, using "apktool_2.0.0b7.jar"
31-01-2014@2012 --- "SystemUI.apk" recompile failed with original signature, using "apktool_2.0.0b7.jar"
31-01-2014@2014 --- "SystemUI.apk" decompile succeeded, using "apktool_1.5.2.jar"
31-01-2014@2014 --- "SystemUI.apk" recompile failed with original signature, using "apktool_1.5.2.jar"

Decompile Logs:

Decompiling "SystemUI.apk",
using "apktool_2.0.0b7.jar"

With Tickle My Android
(tinyurl.com\ticklemyandroid)

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

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

Decompile Successful!

Decompiling "SystemUI.apk",
using "apktool_1.5.2.jar"

With Tickle My Android
(tinyurl.com\ticklemyandroid)

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

I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Your\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...

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

Decompile Successful!

Recompile Logs:

(it's too long so I put it in the attachment)

View attachment 2550559

View attachment 2550560
[Android Themes] Nieon.:
Thanks for the reply :) and yeah I put everything in one go so you wouldnt have to ask for it (just in case). I think I'll go and try to do both ways (deleting references or create five styles).. Again, THANKS :highfive: I'll be back if I had another problem with it ;)
[Android Themes] md1982:
Can't b the phone iv got another ray on gingerbread and. Ur tool worked flawlessly on that and its the same icons I'm trying to get on this ray I can put logs on if ya want
[Android Themes] dede24ever:
Bootanimation isn't working for Samsung devices? I picked one from the list ,compiled the file and nothing happend.
[Android Themes] Ticklefish:
That'd be good, yeah.

Let me guess...Samsung have put their bootanimation in a different place to the Android standard? How unusual...lol

Do you know where your bootanimation is stored on your rom?
[Android Themes] xlemuel14:
Need help sir!

I copied the format of the help request above :laugh:

What phone/tablet are you using?:

What version of Android are you running?: Android Gingerbread 2.3.6

What version of Tickle My Android are you running?: 7.1

What sort of rom are you on? Modified custom rom

What are you trying to decompile/recompile? SystemUI.apk

What resources apps have you installed? framework-res.apk

Are the files you're using odexed or deodexed? deodexed

What mod are you trying to do? xml and images

Do your files work if you decompile, recompile and prepare them without changing anything? i got an error while decompliling it

What problems are you having? decompiling

Decompiling "SystemUI.apk"
With Tickle My Android
(tinyurl.com\ticklemyandroid)

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

I: Baksmaling...
unknown opcode encountered - 41. Treating as nop.
Exception in thread "main" org.jf.dexlib.Util.ExceptionWithContext: 6
at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithContext.java:54)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(InstructionIterator.java:91)
at org.jf.dexlib.CodeItem.readItem(CodeItem.java:154)
at org.jf.dexlib.Item.readFrom(Item.java:77)
at org.jf.dexlib.OffsettedSection.readItems(OffsettedSection.java:48)
at org.jf.dexlib.Section.readFrom(Section.java:143)
at org.jf.dexlib.DexFile.<init>(DexFile.java:431)
at org.jf.dexlib.DexFile.<init>(DexFile.java:267)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:49)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:34)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:74)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:89)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 6
at org.jf.dexlib.Code.Format.Instruction23x.<init>(Instruction23x.java:61)
at org.jf.dexlib.Code.Format.Instruction23x.<init>(Instruction23x.java:37)
at org.jf.dexlib.Code.Format.Instruction23x$Factory.makeInstruction(Instruction23x.java:90)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(InstructionIterator.java:82)
... 12 more
Error occured at code address 8
code_item @0xe52c

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

Decompile Not Successful!

All apks that i try decompile are succesfull except of some of the apk's from a custom rom which actually runs perfectly in my gingerbread phone. Hope you can help sir :)
[Android Themes] Ticklefish:
And you did some good copying. :good:

This sounds like you have some unusual smali. Try downloading the latest version of TMA and trying this with apktool 2.0.0b7. Let me know how you get on!
[Android Themes] dede24ever:
It's in media i think.

https://www.dropbox.com/s/y84sjd17dyasd6e/2014-02-02 20.51.35.png
[Android Themes] Madaditya:
Wait,you compiled which file?

take any of the bootanimations, rename it as bootanimation.zip and push to /system/media/here

set permissions to rw-r-r.

I dont know what you compiled ;)
[Android Themes] dede24ever:
Forgot to mention that I think the botanimation.zip which is visible in the screenshot is the one that I recompiled via tickle my android and it is useless in /media/
[Android Themes] Ticklefish:
I suspect I know what happened here. Can you share your history please?
[Android Themes] dede24ever:
--------------------------------
Wed-01-29@2342 --- SESSION STARTED
Wed-01-29@2343 --- "SystemUI.apk" recompile succeeded with original signature, using "apktool_2.0.0b7.jar"
Wed-01-29@2343 --- "_out\SystemUI.apk" added to "system\app" in zip project
Wed-01-29@2343 --- Standard ZIP "tma_Wed-01-29@2343.zip" created in c:\TickleMyAndroid\_out\
Wed-01-29@2350 --- "SystemUI.apk" recompile succeeded with original signature, using "apktool_2.0.0b7.jar"
Wed-01-29@2350 --- "_out\SystemUI.apk" added to "system\app" in zip project
Wed-01-29@2350 --- Standard ZIP "tma_Wed-01-29@2350.zip" created in c:\TickleMyAndroid\_out\
Thu-01-30@017 --- "SystemUI.apk" recompile succeeded with original signature, using "apktool_2.0.0b7.jar"
Thu-01-30@017 --- "_out\SystemUI.apk" added to "system\app" in zip project
Thu-01-30@026 --- "transformer.zip" boot animation added to zip project
Thu-01-30@027 --- Bootanimation details in zip project changed to 320 width, 480 height and 30 frame-rate
Thu-01-30@027 --- "_out\SystemUI.apk" added to "system\app" in zip project
Thu-01-30@027 --- Standard ZIP "tma_Thu-01-30@027.zip" created in c:\TickleMyAndroid\_out\
Thu-01-30@027 --- SESSION ENDED
--------------------------------

and

--------------------------------
Sat-02-01@1717 --- SESSION STARTED
Sat-02-01@1717 --- ZIP project reset
Sat-02-01@1718 --- "[P]Abstract_by_[Fenix].zip" boot animation added to zip project
Sat-02-01@1718 --- Bootanimation details in zip project changed to 320 width, 480 height and 30 frame-rate
Sat-02-01@1718 --- Standard ZIP "tma_Sat-02-01@1718.zip" created in c:\TickleMyAndroid\_out\
Sat-02-01@1718 --- SESSION ENDED
--------------------------------
[Android Themes] Ticklefish:
Thanks..

Last thing then, is it possible you can share your original bootanimation.zip and the one which doesn't work please?

I think I need to compare the two and see what Samsung have done.
[Android Themes] dede24ever:
There isn't an original bootanimation in my rom...the animation is stored in one of the files

bootanimation
bootsamsung.qmg
bootsamsungloop.qmg

bootanimation.zip wasn't in my rom before i put one there via cwm and it has no effect.

LE:

http://xdaforums.com/showthread.php?t=2063280

Found something here about samsung boot animations...
[Android Themes] Ticklefish:
Qmq files are sound files. It looks like your rom uses a different method for boot animations than normal.

Good old Samsung..
[Android Themes] vanitea:
unable to open TMA

i know this is a great tool for android, but why i never success installing it????

error shown like on

someone help please..

i'm using windows 7 ultimate with java instaled

EDIT

aaarrggghhhhh.... sorry for my stupid eyes that did'nt read what error was...

soo TMA should placed on C:/

SORRY ALL...............
[Android Themes] iPusak Gaoq™:
[MENTION=4315551]Ticklefish[/MENTION]....

i'm having a bit problem here...i decompile a themes (CM10 themes) and my plan is to replace the battery inside the themes....i have successfully decompile it and replace the battery images (including com_android_systemui_stat_sys_battery.xml and com_android_systemui_stat_sys_battery_charge.xml inside drawable folder)...after replacing those files i recompile it back (no error) successfully (using original signature)...when i try to install it i got error "app is not installed"....then is try recompile it again with new signature n install it, "signature conflict" appears....

both decompiling and recompiling doesn't give me any error but i can't install the themes on my phone...any suggestion for my problem?

i'm using PAC ROM v4.3.1...
[Android Themes] Madaditya:
Well,what theme is it?

Make sure you uninstall the Original one from your phone before you install the one modded by you.

or if it is already uninstalled,try pushing your theme in /system/app and permissions rw-r-r
[Android Themes] iPusak Gaoq™:
already uninstalled the original one from my phone....i don't think pushing it into system/app is a good idea since this is CM themes not apps...installing will be much more ideal than pushing it...
[Android Themes] Ticklefish:
This is a strange one. So even if you don't even make any changes your recompiled apk doesn't install? There must be something else that your rom is looking for that it gets unhappy about. Maybe there's some sort of msum validation going on..

Have you tried using TMA to unzip then rezip the apk and seeing if that installs?

To be honest, I'm really not sure what's causing this issue. It may be worth asking your rom's dev for some advice.. :confused:
[Android Themes] iPusak Gaoq™:
Well...if just unzip and rezip (decompile and recompile) it with original signature or new signature without modding, yes i can install it on my phone...only when i edit it (replacing the images and xml files) i recompile it using new or original signature i wasn't able to install it...the funny thing is my modded apk has a signature even if i choose to recompile it without any signature...
[Android Themes] Ticklefish:
So the apk is rejected if you edit a file..

This wouldn't affect the signature..or the resources.arsc.. You're not changing the manifestt and you're not altering any compression rates more than you do when you un/rezip..

The only thing I can think of is that your rom runs something like a md5 check on your apk which fails if you change a file. It's a bizarre thing for a third-party rom to do, especially one like Cyanogenmod, but it's possible.

The only thing I can suggest here is either talk to the dev of the rom..or make a whole new theme instead of modding an existing one.

It's frustrating not to be able to give a better answer but that's all I could think of.
[Android Themes] steha:
Hi all tried this tool and all is well until I try to decompile framework res apk it just keeps saying error and the working folder just has an empty folder can any one help I am using version 7.1 as the latest version kept saying can't find rewrite.bat thank you in advanced
[Android Themes] Ticklefish:
Slightly New Version Out Now!

There's a new beta version of apktool 2.0 out. So there's now a new version of TMA out as well. Head to the op to pick up Tickle My Android v8.1.3 and enjoy!

If you want to know just what apktool 2.0.0b9 can do for you, have a look here: http://connortumbleson.com/2014/02/apktool-2-0-0-beta-9-released/

TMA v9 is progressing well. I think I've got the mouse control working properly so now I'm just coding it in. Watch this space!
[Android Themes] Ticklefish:
Try the latest version. But make sure you install it to the root of your c: drive.
[Android Themes] steha:
Still no luck can't install to PC either all I want is to edit an XML file to change some text color is there an easier way

Thanks
[Android Themes] Ticklefish:
To change xml you need to decompile. What's the actual error you're getting? And what's the address of your TickleMyAndroid folder?
[Android Themes] steha:
I'm away from my PC now but it was something about cannot find apk tool main. Then exits program and files are extracted to c;\

Thank you
[Android Themes] Ticklefish:
That sounds like a decompiling error. I thought you were getting an error that said 'rewrite.bat' couldn't be found?

When you're able, please share a screenshot of the error. If you're able to run the tool, I'll need your history.txt as well.
[Android Themes] herobrine_second:
Just checking, can we theme CM11 battery icon with this? I've use this for CM10.1 before, so just checking.
[Android Themes] Ticklefish:
It's certainly possible. Give it a try and let us know what happens! :D
[Android Themes] herobrine_second:
It give me an error when decompiling 4.4 SystemUI.apk :(

Log attached.

Edit: Worked when I went to manually decompile from the main Theming menu (option 5) :)
[Android Themes] steha:
I got rewrite.bat couldn't be found then installed version 1.7 and it worked tried the new version and that starts just fine it just won't install framework or system ui to PC therefore unable to decompile (I believe that's the reason). How would I get the screen grab and history txt. I'm not really the best with computers cheers
[Android Themes] Ticklefish:
No worries. If you're having compiling problems, I'll need the history.txt and the de/recompiling logs. You can find them in the 'user_files\logs' folder.

I'll also need you to fill in the form that's in the first post.

That should give me enough information to know what happened and how to fix it for you. :)
[Android Themes] Ticklefish:
Cool. :cool:
[Android Themes] steha:
What phone/tablet are you using?:s3 i9300

What version of Android are you running?:4.4.2

What version of Tickle My Android are you running?: 8.13

What sort of rom are you on? (I need to know about OEM roms as well. That's things like Sense, Touchwiz, etc) slimkat 2.6 rc2

What are you trying to decompile/recompile?.framework-res.apk also tried systemui.apk and a theme all

What resources apps have you installed? Framework_res.apk

Are the files you're using odexed or deodexed? Deodexed

What mod are you trying to do? Edit secondary_text_holo_dark.xml

Do your files work if you decompile, recompile and prepare them without changing anything?can't get that far

What problems are you having? (Give me some detail here, don't just say "It doesn't work.") Can't decompile framework-res.apk or systemui.apk. framework_res.apk installed to PC according to attached files.

Files from logs folder attached

thank you
[Android Themes] steha:
Do I need apktool installed as well? Thanks for all your help so far
[Android Themes] silverbios:
[MENTION=4315551]Ticklefish[/MENTION]

fix this problem in tma 8.1.3 with apktool 2.0.9b??

tnx:good:
[Android Themes] Ticklefish:
No...and yes.

TMA comes with apktool already built in, so no. But you've got a slimrom which seems to need its own customised apktool, so yes.

Download the zip from here:

http://www.androidfilehost.com?fid=23329332407570026

Extract 'aapt' and 'apktool.jar' from the zip and place in the 'tool_files' folder. You may want to rename 'apktool.jar' to something like 'slim_apktool.jar'.

Now run TMA, go to the settings menu and choose that version of apktool.

Hopefully that'll fix the problem. If it does, I'll update TMA to have that included as standard.

It should be fixed. A LOT of work has gone into the latest beta and it's fixed a lot of issues. Give it a try and let me know!
[Android Themes] steha:
OK will try when I finish work and let you know

thank you
[Android Themes] steha:
Tried it

First it wouldent find slim_apktool until I renamed it to apktool_slim

Changed in TMA settings to use apktool_slim but still no luck iv attached the logs again if that helps at all

Thanks
[Android Themes] Ticklefish:
This is..odd. Can you share your files please? Or link me to your rom?
[Android Themes] steha:
http://xdaforums.com/showthread.php?t=2565166 is the link to slimkat. Also do you mean the files installed by TMA or just the ROM

Cheers

PS downloading a Sammy based ROM to try just in case its my setup on PC

Edit: tried a Sammy ROM same error something about not finding brut.apktool.main.class and top line is

Java.lang.unsupportedclassversionError;brut/android/err/outdirexistsexception. .major.minor version 51.0

Hope this will help
[Android Themes] steha:
Done some googling and found a few ppl having trouble with various java files ( not just apktool ) and they cured the problem by updating JRE so I'll try that tonight see if that helps.

Thank you I'll let you know how I get on
[Android Themes] leyneli:
Can we use thiz app. On mtk phones (replika s4)
[Android Themes] Ticklefish:
Mediatek have been known to build their roms in a non-standard way, making their apk files hard to decompile. So you should be able to use TMA on your phone but there is a chance you might not.

Give it a try and let me know how you get on!
[Android Themes] leyneli:
Okey thnks. When i finish holidey, i try it, and than write results here.

GT-N8000 cihazımdan Tapatalk kullanılarak gönderildi
[Android Themes] Ticklefish:
Thank you! :D
[Android Themes] steha:
Sorry I was so long had a hectic few days.

I updated java but still not working although it takes longer when trying to install framework or decompile it still fails but with a different error code I will upload log files later.

Thank you for your patients
[Android Themes] steha:
These are the logs since upgrading JRE.

The slim apktool still does nothing not even an error log
[Android Themes] FunSucker:
sir, can you help me ?

i extract TMA in C: (Here)

C: \ TickleMyAndroid

but errors when I open (you can see from the attachment)

EDIT -----------

worked , sir :D

I had to add another path in the environment variables lol
[Android Themes] Ticklefish:
Curious. This error is saying that there's something wrong with the way that apktool is packaged...which I know there isn't. I am starting to wonder if it might be caused by the apks themselves.

Can you share your files please?

Glad you got it working! :D
[Android Themes] steha:
Which files do you need? Sorry if its a stupid question.

When I try and remove TMA there are two files in the tools folder I can't delete or replace can't remember what they are will let you know later, but do you think that could cause it
[Android Themes] steha:
It decompiled a data app but not framework apk. But won't recompile data app.Thanks
[Android Themes] Ticklefish:
I don't think so...

I just need your apk files please. I'll try them on my setup and see if I can work out what's going on.
[Android Themes] steha:
OK I'll try upload them. I managed to decompile a cm11 theme and Sammy framework res apk but can't recompile them for some reason.
[Android Themes] markjamezmark:
Is this works on Samsung Galaxy S2 with Carbon ROM and with Carbon Fibers on settings?? thanks!
[Android Themes] XperiaCrazy:
Hi Ticklefish,

Thanks for your updates to make TMA better.

I liked the deodex-ing feature a lot, but it doesn't allow me to deodex from an system image.

Is there any future updates to include it alongside with the current implementation?
[Android Themes] steha:
I have attached files in zip folders just extract whatever you need I have also included framework jar files
[Android Themes] leyneli:
Error..

This is not working on mtk device :(
[Android Themes] steha:
After updating loads of java stuff I can now decompile and recompile all apps except slim system apps. So if you have time could you try and see if you can decompile them please and let me know

Thanks for your help
[Android Themes] daringsmart:
it always how cant find java but installed it correctly .. solution pls :confused:
[Android Themes] steha:
I had to install latest version of jre and any updates it prompts after reboot
[Android Themes] daringsmart:
i have the latest version on java but it still prompt java not not installed :(
[Android Themes] steha:
Hhmm you could try uninstall TMA and re download in case of a corrupt file. If not you would need to fill in the form on OP and upload log files then the dev may be able to point you in the right direction
[Android Themes] daringsmart:
thanks for ur help ill try once again and chk
[Android Themes] carl1961:
from command promp type

java or java -version you should see what is in pictures, if not then your Environment Varibles path should have java in it example "C:\Program Files\Java\jdk1.7.0_17\bin;"
[Android Themes] markjamezmark:
Is this works on Samsung Galaxy S2 with Carbon ROM and with Carbon Fibers on settings?? thanks!?
[Android Themes] Ticklefish:
So your framework-res.apk can't be decompiled. In fact, it can't even be installed.

I think the problem is the apk is constructed in a way that isn't standard. Apktool can't process the files because there are parts of it that aren't recognised.

Unfortunately there isn't much that can be done about that. The developer of apktool doesn't like including too many file types from custom roms, there's too much potential for trouble.

If you really want to use your framework-res.apk, I suggest you contact the rom's developer.

At all? It can't even connect to the phone?

Should do!

When you say it doesn't allow you, what actually happens?

Thanks, this is perfect! Do you mind if I link to this in the op?

Still should do! :cool:
[Android Themes] steha:
OK thanks for trying I have found if I decompile a stock framework and modify that then use 7zip and just extract the modded file(s) and push them with a cwm zip it works fine so I'm doing that for now. Thanks again

P.S don't know if there would be anything in the cwm zip that might help with your future development of TMA but if you need it let me know maybe there's some sort of code in there.