yashsingh1/xdaforums huggingface dataset:
[Android Themes] Avilove.Cullen:
i cannot recompile systemui.apk
[Android Themes] flastnoles11:
Make sure your base was unedited before decompiling... you must use the stock systemui.apk
[Android Themes] Ticklefish:
Well, yes and no.

Using stock apps is ideal because they won't have the problems I suspect your SystemUI.apk is having.

Looking at the top of your error attachement, I can see that there are four .9.png files that are causing an issue. It's possible that these have been overwritten at some point and the one-pixel wide border has been overwritten as well. Basically...this is bad.

It's worth dealing with this first as all the other errors may just be a result of this. Rename those files from filename.9.png to filename.png

Then try recompiling again and seeing what happens.

This might fix it, or it might not. But by always tackling the top errors first, you'll eventually get there. :)
[Android Themes] X-Droidinary:
@Ticklefish, do you plan on adding an option to make flashable zips?
[Android Themes] Ticklefish:
I didn't..but I do now. I need to find out a few things about how update zips work across different devices but I'm sure I can come up with something.

I'll get to work on it as soon as I get a chance, though that might not be for a few days.
[Android Themes] Ticklefish:
Version 4.0 is now being worked on. This will have the long-awaited ICS compatibility as well as the ability to make flashable zips of your modded apps, as well as whatever new icons I can find and some improvements to the existing code.

If you know of any icons you want me to include, or there are any features you want me to add, just let me know!
[Android Themes] elRei:
it doesn't seem to be working for me at all
[Android Themes] Ticklefish:
Fantastic! Thank you for your patience. :highfive:
[Android Themes] reddrom:
Awesome program!!

MaRcUs
[Android Themes] Ticklefish:
Thanks! Awesome post! :D
[Android Themes] ..::WD40::..:
Well, I have an interesting problem here.

I tried the same nosystem application to do with 7.1, 8.0 and 8.01 TMA with different results. In all three cases, decompilation and recompilation went without any problems, the application is signed and nicely aligned. Logs are completely without error. But only with 7.1 TMA application could be installed on the phone.

I have no idea what is going on but for now I'd stayed at 7.1.
[Android Themes] Ticklefish:
Really? That could be apktool-related.

Could you share your apks and logs please? I'll have a look and see what's going on.
[Android Themes] ..::WD40::..:
Because it is a paid application, I had to send you a PM.
[Android Themes] Ticklefish:
According to your logs, you recompiled and signed with v7.1 and recompiled with original signature with v8.

Version 8 works a little differently to previous versions. Recompiling with original signature is the same as recompiling and preparing. To recompile and sign like you did before try recompiling with new signature.
[Android Themes] CryptLord:
Error while recompiling SystemUI.apk

Recompiling "SystemUI.apk" With Original Signature

With Tickle My Android

(tinyurl.com\ticklemyandroid)

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

I: Using Apktool 2.0.0-Beta7 on SystemUI.apk

I: Smaling...

I: Building resources...

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

Recompile Not Successful!

The system cannot find the path specified.

Press any key to continue . . .
[Android Themes] Ticklefish:
If you're having a problem with decompiling or recompiling, please can you fill in the form from the op and include your logs?
[Android Themes] ..::WD40::..:
It is the same in both cases, the application is not installed with 8.01

With New Signature: Process installation FC

With Original Signature: Application is not installed

With 7.1 everything is fine
[Android Themes] hhlong89:
I have had same issue, couldn't decompile both system and normal .apk. You can check here.

I'm using Xperia Z, Android 4.3, deodex rom.
[Android Themes] Ticklefish:
I'll have a check later, but this sounds like an issue with the newer version of apktool. Maybe because it's a paid app..?

I can introduce a feature where users can select which version of apktool they want to use. What with Christmas and everything else though, that won't be ready until late January..
[Android Themes] Ticklefish:
Hmm..I'll look into this and let you know.
[Android Themes] defcondev:
Hmm, i'll have to try this out. Been manually doing it for awhile :p

Sent via XDA Premium // Nexus 5
[Android Themes] Ticklefish:
Well, it's 2:45 in Xmas Day morning..and I'm writing code. That's probably not a good thing...lol

Anyway, I've just uploaded a slightly newer version of TMA and the download link is in the op. This should sort out the above issues...probably..

I've downloaded the deodexed 4.3 rom for the XZ and I'm not having any issues decompiling or recompiling.

Give it a try!

Right, I'm off to bed. Happy Holidays everybody, hope you all have a great day! :)
[Android Themes] Ticklefish:
Tickle My Android Goes Global!

Check it out, TMA was recently featured at a modding event in Indonesia! Awesome!

http://en.miui.com/thread-12068-1-1.html
[Android Themes] Prashanth Meesara::


Thanks man
[Android Themes] hhlong89:
Thanks for your hard work, downloading now and will try!

And Happy Holidays to you and your family ^_^ !
[Android Themes] usf1996:
Well i'm getting this issue when installing TMA v8.0.2 (see attachment below). And after the installation is done the TMA folder is created but nothing is working from the icons not opening (they're their but don't show anything) to the tool files not working.

P.S: I tried re-downloading but with no result

Thank you for your time
[Android Themes] xXWeresXx:
Yes i have the same problem.. i thought I'm stupid :D
[Android Themes] xmanberserker:
I have same issue.
[Android Themes] rirozizo:
same here, confirming it's not decompressing anything
[Android Themes] Ticklefish:
I'm going to blame MediaFire for this one. I had a hell of a time uploading that file and I think something got corrupted in the process.

Probably just MediaFire subtly trying to get me to stop messing around on the computer and get back to wrapping presents..;)

Anyway, I've just rezipped and uploaded a new version. I've tested the zip and it unzips just fine.

Sorry about that guys. :crying:
[Android Themes] rirozizo:
still can't unzip :(
[Android Themes] Ticklefish:
Just tried it again and it works fine..

When you double-click on the exe file, what actually happens? Can you share a screenshot?
[Android Themes] Ticklefish:
I'm also looking for ways to make Tickle My Android that little bit better and I may have found something. I won't be able to implement it for quite a while but would you guys appreciate being able to use your mouse with TMA?
[Android Themes] rirozizo:
it's the same screenshot as usf1996 a page ago

of course!

Sent from my Nexus 4
[Android Themes] Ticklefish:
Just downloading it again before trying it again. Watch this space...
[Android Themes] Ticklefish:
And it works..:D
[Android Themes] rirozizo:
nope see attachement
[Android Themes] Ticklefish:
Grr...

Okay, the only real reason I can think of that it works on my machine and not yours could be the compression rate I've used. I'm zipping it again right now at 'normal' compression, instead of 'ultra'. It'll mean a bigger file but hopefully that should fix it.
[Android Themes] rirozizo:
i'm ready to try it whatever the size is :)
[Android Themes] Ticklefish:
New download link in the op. This is at 'normal' compression. Give it a try and let me know what happens.
[Android Themes] rirozizo:
downloaded it, the shortcut doesn't have an icon like it should in your OP screenshots, and went i double click it it says "This app can't run on your PC"

I'm running windows 8... waiting for confirmation from another user...
[Android Themes] devadip:
same problem resolved with your advice.

Thank a lot

this TMA is the powerfull and easy to use program to deco/recompile apk i ever used

thank you
[Android Themes] Ticklefish:
That's..odd...

Have a look at this link here: http://www.storageforum.net/forum/showthread.php/8967-Windows-8?p=169393&viewfull=1#post169393

It might help.
[Android Themes] Geddd:
Sir, I have a problem recompiling my framework-res.apk after some mods I've changed from this thread http://xdaforums.com/showthread.php?t=1773879 I just did the lockscreen thing.

here's the error I get:

LOG:

Recompiling "framework-res.apk" With Original Signature

With Tickle My Android

(tinyurl.com\ticklemyandroid)

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

I: Using Apktool 2.0.0-Beta7 on framework-res.apk

I: Building resources...

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

Recompile Not Successful!

Galaxy Core duos GT-I8262

Sammy's TW

JB 4.1.2

I tried using other tools like latest version of apktool using cmd, apktool for mobile and stil there's no luck. I even searched this thread if someone had the same error with me.

btw, Thank you for your great app, just downloaded and started using it for the first time last night. I find it very easy to use :good:
[Android Themes] iPusak Gaoq™:
Hmmm...recompile using new signature...that should fix your problem...if it doesn't work then recompile without signature but you must copy the signature manually to you modded apk afterwords..
[Android Themes] Madaditya:
Can you share your history? I.e list of events u did?
[Android Themes] eyesore123:
error in pulling apks ..
[Android Themes] Geddd:
it's ok now sir, I just let the above picture as what it is and after waiting it successfully recompiled. I just don't know what does that "Cannot find resources" mean.

problem solved bro. Thanks.
[Android Themes] iPusak Gaoq™:
Well...every time you see "cannot find resources" then signing with new signature is the best solution.....
[Android Themes] rirozizo:
when extracted to C:\ and as administrator, it works flawlessly... worth mentioning that in OP :)
[Android Themes] Ticklefish:
Loving your colour scheme... :)

This error is normally caused when TMA has trouble communicating with your phone. Here's a bunch of questions for you:

What file were you trying to pull?

Is your phone connected to your PC?

Have you got 'USB Debugging' enabled?

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

Aha! Thanks for that! :D
[Android Themes] electrofryed:
wifi pull

Can I just copy and paste the framework, and systemui files to the proper directories wirelessly? I'd rather not use USB for reliability issues. Thank you for such a wonderful tool.
[Android Themes] Ticklefish:
Yup. As long as you can get the files from your phone, you can use TMA. You don't actually need to connect your phone at all.. ;)
[Android Themes] electrofryed:
Thank you sooo much. And thank you for such a speedy response.
[Android Themes] XDguru:
Hi,Ticklefish. Congrats for making such a excellent tool.I think you hav just made Theming ultra easy on android.N I hav a suggestion to creat another thread where users can share,what creativity they hav made through TMA. Thanx for all your hardwork bro.cheers.
[Android Themes] eyesore123:
problem solved bro! :D

i forgot i uninstalled my drivers a couple of days ago.. :D

thanks for the idea :good:

which of these 3 should i choose to recompile system apks?

1 - Recompile App Without Signing

2 - Recompile App With Original Signature

3 - Recompile App With New Signature

thanks :D
[Android Themes] slink722:
[MENTION=4315551]Ticklefish[/MENTION], bro what does this mean? what should i do?
[Android Themes] rirozizo:
so here's what i did:

-stock android 4.4.2 nexus 4

-pulled framework-res.apk from it to use portal_battery by usf1996

-installed the framework

-decompiled the apk

-changed the battery

-recompiled with original signature

-pushed the apk in the _out folder to the nexus 4 and fixed its permissions

-rebooted

it booted fine, except the battery is still the stock one, so to double check:

-pulled the new framework-res.apk, and i can see the battery icons there.

i redid the work with systemUI.apk, the battery is still looking stock.

it seems that android is taking other icons from other places... weird but i can't edit the battery

EDIT: just realized that my ROM is odexed even after flashing the deodex script *facepalm*... i'll keep working on it
[Android Themes] Ticklefish:
Anytime! :D

I'll certainly consider it if enough people are happy to share. Glad to hear you're enjoying TMA! :)

I had a feeling it might be something like that..lol

To recompile system apk files (framework-res.apk, SystemUI.apk, etc) you will normally want to recompile with original signature.

This is the option you'll generally use most when you're modding.

This means that your apk failed to decompile. First, make sure you've got the most recent version of Tickle My Android by using the download link in the op then try decompiling your apk again.

If you still have problems, there's a form in the op that you need to fill out and post here with your logs. These can be found in your user_files folder.

It's more than possible that some other apk is responsible for your battery icon. If there are icons in SystemUI.apk and framework-res.apk, the ones in framework-res.apk will be ignored..but they'll still be in the apk.

If you're running a theme, that can make a difference as well.

I'm happy to take a look for you if you want. Just share a screenshot and your SystemUI.apk. :good:
[Android Themes] DoctorQMM:
T-Fish... thanks for the continued updates. Quick question: most of my apk mods require decompile/recompile... so really like the signature options in the "recompile" section. However, I do have a few apks which I only swap out pngs (using 7-Zip open-archive functionality). For some reason, these apks have always required me to 're-sign' to install on phone. TMA v7.1 has an option (#15) to "Sign Non-System App... which works perfect for me as I just drop the modded apk in the "out" folder, then go to Theming section and re-sign. I don't see this in TMA v8 (other than in the recompile option). Is there a way to re-sign an apk (that doesn't require Recompile) in v8 like v7 had? Thanks!
[Android Themes] Cyserrex:
Hi, can anyone help me

How to change text, divider color? What must i edit in framework-res.apk?
[Android Themes] Ticklefish:
Yeah...I removed the option to sign apps because I had a lot of people who didn't understand the difference between 'preparing' and 'signing'. I can certainly put it back into the program though.

While I'm writing the code, can you do me a favour please? Version 8 has options to upzip and rezip image files from an apk for people who want to do the same as you and just replace pngs. That's options 6 and 15. Try them out and let me know if your rezipped apk installs on your phone.

I'm not sure to be honest. It might be worth looking in your settings.apk/
[Android Themes] Ticklefish:
Happy New Year, everybody!

Here's hoping that 2014 is every bit as fantastic as it can be.

p.s. Santa, I'm still waiting for my Nexus 5, by the way. I'm sure you did mean to give me one for Xmas....didn't you??
[Android Themes] silverbios:
log level is very very poor in ver 8 :(
[Android Themes] Ticklefish:
In what way? :(
[Android Themes] Ticklefish:
Slighty New Version Out Now!

It's come to my attention that apktool 2.0.0.b.7 works a little differently to the previous versions in the way that it displays compiling errors. Which means TMA v8.0 hasn't always been showing these errors correctly, or generating logs correctly.

I've gone through the code, nailed down the problem and uploaded a fixed version.

Head to the op now to pick up TMA v8.0.3. It even comes with a new set of toggle icons! ;)

I'm now working on v8.1..which will have mouse control!

After that, I'll be looking at bringing Tickle My Android to Linux users...

Busy, busy!
[Android Themes] DoctorQMM:
following up... I dropped an apk in the "in" folder, then run option 6 (which created a folder)... swapped out a png, then ran option 15 (which put the updated apk in "working" folder. Then moved to phone and it did install. I use 7-zip so much (open archive), guess I'm comfortable (faster) doing it that way, then just re-signing apk as opposed to the option 6 (new folder), option 15... but it did work which is what you were looking for confirmation. This was on v8.0.3 btw. Hopefully in v8.1 you may add back in the signing option, but if not, guess this old dog will just have to learn a few new tricks. Thanks.
[Android Themes] Ticklefish:
Interesting...that's basically all that TMA does. It uses 7za (command line version of 7-zip) to extract all the drawable folders from an apk when you use Option 6. Then, when you use Option 15, it copies the original apk to the _out folder and adds those folders back to it.

I'm really not sure why you need to re-sign when you do it the drag and drop way. Maybe the META-INF folder is getting recompressed? That could cause your apk to be rejected by Android, as it gets upset if a signature isn't compressed the right way.

I'll consider including the option to sign an apk in v8.1 but, to be honest, I'm quite tempted not to. TMA needs to be noob-friendly and I can see it causing confusion.

Let me know how you get on with the unzip/rezip options and I'll think about it. :good:
[Android Themes] Torch90:
recompile error

hi i have a problem

i want to add k/s meter to a simlpe XZ themed systemui on my Ray

i try follow this steps http://xdaforums.com/showthread.php?t=2208396&highlight=how+to

the decompile is ok. framework installed. i copyed the smali files and edited the few xmls.

when i use the recompile command. this happened

Recompiling "SystemUI.apk" With Original Signature

With Tickle My Android

(tinyurl.com\ticklemyandroid)

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

..\_working\SystemUI.apk\smali\fx\heriawan\Kecepatan$1.smali[24,4] Error for input '.param

eter': Invalid directive

..\_working\SystemUI.apk\smali\fx\heriawan\Kecepatan$1.smali[40,4] Error for input '.param

eter': Invalid directive

..\_working\SystemUI.apk\smali\fx\heriawan\Kecepatan$1.smali[41,4] Error for input '.param

eter': Invalid directive

..\_working\SystemUI.apk\smali\fx\heriawan\Kecepatan$1.smali[40,15] mismatched input '"con

text"' expecting END_METHOD_DIRECTIVE

Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: fx/heria

wan/Kecepatan$1.smali

at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:72)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:56)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)

at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:337)

at brut.androlib.Androlib.buildSources(Androlib.java:298)

at brut.androlib.Androlib.build(Androlib.java:284)

at brut.androlib.Androlib.build(Androlib.java:258)

at brut.apktool.Main.cmdBuild(Main.java:233)

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

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

Recompile Not Successful!

what i doing wrong???
[Android Themes] Madaditya:
You were not wrong,as the log says the smali from the guide isn't completely compatible with your systemUI

and one can debug only if one knows smali

Try other methods.

Or wait,Dzol Cp made that from Tickle's guide,he can help you ;)
[Android Themes] Torch90:
ohhhh:rolleyes:

thanks for the reply
[Android Themes] silverbios:
tnx for fix!:D

but SemcGenericUxpRes not installed!!!:confused::crying:

see LOG!!:D

Exception in thread "main" brut.androlib.AndrolibException: Multiple types: <empty>

at brut.androlib.res.data.ResPackage.addType(ResPackage.java:168)

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

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

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

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

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

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

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

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

at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:216)

at brut.androlib.ApkDecoder.setAnalysisMode(ApkDecoder.java:173)

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

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

at brut.apktool.Main.main(Main.java:85)
[Android Themes] ronin790:
[MENTION=4315551]Ticklefish[/MENTION]

man you are simply awesome :D very good work :good:

but i have one problem, i know it's not your fault but may be you can help me. If i try to edit settings.apk from cm11 (only one thing - res\values-hu\strings.xml add one line with translation) after recompile and flash, etc. i have fc when i try to set sms message limit (settings-security-sms message limit option) :crying:

I try to recompile without any changes, works fine without any errors, try apk multi tool, when i delete resources.arsc in keep folder i have the same error...

I installed framework-res from rom what i tried to edit. If i edit systemui, teleservice, contacts, dialer, etc. i don't have any problems only with settings.apk.

Any solutions? Thanks in advance.
[Android Themes] Ticklefish:
Can you fill in the form from the op please? Oh, and can you share your apk as well please?

Hmm...interesting...

This could be rom-related and you may have to go back to the dev. Before that though, how are you putting your modded apk back to your phone? Are you using a zip?
[Android Themes] smegg:
Having trouble with using the new version. I cannot decompile any jar files. not sure why. 7.1 still works fine ;)
[Android Themes] Ticklefish:
Can you share your logs please?

There is a possibility that this beta version of apktool 2.0 has an issue with turning some davlik files into smali...which could be what's happening to you.

I only found out about this a few minutes ago so I need to see what's going on and what I can do about it...so watch this space!

Thanks go to [MENTION=5057272]Typhus_[/MENTION] for highlighting this..
[Android Themes] ronin790:
Yes flashable zip, root explorer, cygwin-kitchen and in my opinion it's a rom bug:(

~Tapatalk 4 * SIII Mini~
[Android Themes] Ticklefish:
That's a shame. :(

Best have a chat with the dev, I think..
[Android Themes] smegg:
weirdly I installed 8.03 over the top of 7.1 and it seems to work again :confused:
[Android Themes] Ticklefish:
Over the top? Did you delete the folder first?
[Android Themes] smegg:
Nope! Weird huh?
[Android Themes] Madaditya:
Everytime you install newer version of TMA,make sure you delete old TMA from C:\ drive first
[Android Themes] smegg:
Well I would except it works without errors my way...lol