yashsingh1/xdaforums huggingface dataset:
[Android Themes] hugoqueiroz94:
Thanks man, 100%, But I found it hard to see the percentage, is very small.
[Android Themes] Ticklefish:
That's the way the icon is designed unfortunately. It probably works best on big screens or high resolutions.
[Android Themes] Ticklefish:
If you're getting a "Device Not Found" error, you might not have the drivers for your phone installed on the PC.
[Android Themes] Ticklefish:
This is done, but I'll have to upload it later today when I'm not at work.
[Android Themes] Half Man Half Biscuit:
Yup that could be it probably then,i mean you explained it so well,nothing not to be understood :)

Will try to find out what´s causing the problem for me.

Thanks a bunch,really appreciate your effort.

Will try again so i can do some harder things too lol,if i can´t get past this then i really suck.....

Thanks one more time :highfive:
[Android Themes] Ticklefish:
Here we go. You'll just need to rename them before using. Enjoy!

https://www.dropbox.com/s/lv4kj4p4tbxk2z4/HMHB_framework-res.apk

https://www.dropbox.com/s/avgf4p6e7nxg6c9/HMHB_SystemUI.apk
[Android Themes] Ticklefish:
Just a sudden thought..do you have USB Debugging turned on?
[Android Themes] Half Man Half Biscuit:
First of all many thanks for your time :good:

Yes it´s on USB Debugging

Ok just changed SettingsUI.apk nothing,after that changed Framework.res still nothing.

Could it be that my ICS ROM doesn´t support that???

Normally it shouldn´t be a problem,though the ROM itself has 5 different battery styles.

I´m currently on this ROM

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

Any ideas maybe
[Android Themes] Ticklefish:
ICS isn't the issue, the battery icon still works in the same way.

I've replaced every battery icon in those two files. If you've put them on your phone, rebooted and still have the same icon then they must be stored in another file.

How did you put the files back on your phone?
[Android Themes] Half Man Half Biscuit:
First i copied/replaced them didn´t work.

Then i just installed them like any other .apk,also didn´t work.

I rebooted every time after i did it.

Probably they are stored somewhere else,i will PM the dev of the ROM.Already did it once but he isn´t answering anybody.Will let you know soon ;)

Any way thanks for your effort and time :good:

Would like to Thank you properly but i thanked too much today,so tomorrow you´ll get them promise :highfive:
[Android Themes] hugoqueiroz94:
I will use your battery icon, is better than my old xD

Thanks
[Android Themes] Ticklefish:
Ah, no. Those methods won't work. Possibly the best thing to do, if TMA doesn't recognise your phone, is put them inside a flashable zip file. If your rom came as a zip, you could modify a copy of that.

If not, I can probably make you a zip file tomorrow.
[Android Themes] Half Man Half Biscuit:
Yep my ROM came from a flashable zip.

So you mean i should change the Settings and Framework apk in my flashable ROM and flash again ROM???

Or how did you meant it???
[Android Themes] Ticklefish:
Well, that would work but it would wipe your personal data. The best thing to do is probably wait for me to make you a zip file if you're unsure.
[Android Themes] Hamidreza2010:
thanks bro

when i try to decompile the SemcPhone or Phonebook , is error:

what do i do

the jdk and jre is installed
[Android Themes] Ticklefish:
I'll need your history.txt, which you'll find in the user_files\logs folder. Have you got the most recent version of java?
[Android Themes] Hamidreza2010:
my jre is v8 and jdk is v7

this is my log:

just this
[Android Themes] Ticklefish:
Hmm..have you tried apktool 1.5.2?
[Android Themes] Hamidreza2010:
yes bro

i tried whith you tools and apktool and advance apk tools and bla bla bla

i dont know whats the problem bro?

confused :rolleyes:
[Android Themes] Ticklefish:
Curious. Can you share your files please? I'll need your framework-res.apk, SemcGenericUxpRes.apk as well as the file you're trying to decompile.
[Android Themes] Hamidreza2010:
yes is Curious.but maybe problem is mine

here you are bro . its my file.its odex :

http://d-h.st/Rl6

please deodex first and try to decompile SemcPhone.apk and Phonebook.apk and say me how my work is wrong

thanks
[Android Themes] Ticklefish:
Thanks. I won't be able to deodex it without the entire contents of your framework folder, but I will try decompiling your files.
[Android Themes] Hamidreza2010:
ok bro

you,ll try and say what my work is wrong or how to decompile this files?
[Android Themes] Ticklefish:
Hmm... I'm getting a message that the SemcPhone.apk is broken. And I don't see your framework-res.apk and SemcGenericUxpRes.apk anywhere in the rar..:confused:
[Android Themes] Hamidreza2010:
No bro the framework-res.apk is be in the rar file. and i dont have SemcGenericUxpRes.apk because not needed

in your opinion whats the problem which not allowed to decompile?
[Android Themes] Ticklefish:
I don't know, I wasn't able to unrar your files. I got an error about your SemcPhone.apk and that's as far as I was able to get.
[Android Themes] Hamidreza2010:
HHmmm

Ok , i reupload my file again and give you

please wait
[Android Themes] Hamidreza2010:
hi

here you are bro

this is all file you wanted.all file is deodex.

http://d-h.st/r5m

please see and tell me how to decompile it ( semcphone and framework and .... )

thanks bro
[Android Themes] Ticklefish:
Still not working. This time, when I try to extract the files from the archive, I get an error saying: 'CRC failed in 'New folder\framework-res.apk'. File is broken.'
[Android Themes] Hamidreza2010:
oh no bro :crying:

this file is correct

which file you need now?

tell me , give you again :(
[Android Themes] carl1961:
CRC failed most likely because your upload may be corrupted
[Android Themes] Ticklefish:
I need the apks you're trying to decompile as well as your framework-res.apk.

Once you've uploaded them, try downloading them as well, just to check the archive is okay.
[Android Themes] Hamidreza2010:
thanks bro

i find the problems and solve them

my problem is the previous framework , i remove it and install new one and try again , then decompile completely

thansk alot bro :good:
[Android Themes] Ticklefish:
Excellent!
[Android Themes] limyuyang:
Hi there.

I'm using TMA 9.0 and when I tried to pull framework-res.apk or any other systems app from my phone, it shows this error.

https://www.dropbox.com/s/kvkvk84kboc19aj/Screenshot 2014-05-29 18.22.30.png

Edit:

I found what's the problem. When I click ADB shell, it says more than one android devices or emulator has found. At this time, I thought about my android emulator - Blue Stack. Therefore, I uninstall blue stack, and now it works again. So I hope that you can explain to me why I can't have blue stack and TMA at the same PC ? Or is there a way to get blue stack back, and TMA working again ?

Thank you. :D
[Android Themes] Ticklefish:
There is, yes. It's possible to make adb only work on devices connected by usb. I'll update v9.1 with it.

That's almost ready for release so you won't have long to wait. :)
[Android Themes] limyuyang:
Alright. Thanks. :victory:

So I guess I just have to uninstall blue stack for a while. :)
[Android Themes] Ticklefish:
It shouldn't be too long. :)
[Android Themes] limyuyang:
Hope so. :highfive:
[Android Themes] Hid3rs:
I've been using TMA for quite a while, and this is one of my favorite tool for sure!

However, I'm facing a little issue now:

I tried decompiling the new LG G3 apps/framework files, and it doesn't pull the xxxhdpi folders. Of course, I've installed the G3 framework files.

If I open the .apk, I can see there's the xxxhdpi folder, but it's just not there after decompiling. Extracting the pngs directly from the apk doesn't really work as you know.
[Android Themes] Ticklefish:
Can you share a screenshot of your opened apk please?
[Android Themes] Hid3rs:
Asking for the screenshot actually solved my problem. :victory:

I opened the apk with winrar and saw that there are 27 subfolders in /res/, which was weird because the decompiled one also had 27 subs (without the vaules ones). I was like what?! Then I realized the xxxhdpi folder is indeed there, it's just called drawable-640dpi.

I don't know how I missed that earlier.

So once again, thanks for this tool, it's pretty awesome!
[Android Themes] Ticklefish:
Good old LG..always have to do it differently! Lol
[Android Themes] joecool666:
i have tired version 5,8,and 9 watched the youtube vid, i did everything possiable to get this tool to work and still no joy,hope the next release is fixed cause i realy want to have ago at this modding, looks like it could be fun regards joe,
[Android Themes] carl1961:
what is the issue? to decompile you need the framework files
[Android Themes] joecool666:
yeah i need to do a bit more reading,i will get there in the end lol i hope
[Android Themes] carl1961:
I just tested this with decompiling and compiling SystemUI.apk with no issues ( of course I did not change anything)

Put framework-res.apk,twframework-res.apk and SystemUI.apk in the _in folder

SystemUI.apk is a resource dependent file (along with other OEM framework files ( I yet to learn what those may be, like com.htc.resources.apk is HTC and lge-res.apk is LG and I think twframework-res.apk is Samsung TouchWiz )

"read post" about resource

Apktool v1.5.2 - a tool for reverse engineering apk files

But I see in "Tickle My Android" it does not show as a resource maybe Ticklefish will add it in next update ;)

but attached is my Resource Installers I zipped, unzip and put the SystemUI.apk in that folder and double click SystemUI.apk.bat it will install to your apktool resource dependency folder c:\Users\yourname\apkrool\framework\127.apk

From Mail Menu click on

<<Theming Menu>>

then click on

<<Install Frameworks On PC>>

<<framework-res.apk >>

<<Continue >>

<<Click Here To Continue >>

<<twframework-res.apk >>

<<Continue >>

<<Click Here To Continue >>

Remember to install SystemUI.apk (if needed)

You may want to do:

<<Uninstall All Frameworks On PC>>

<<Continue >>

<<Click Here To Continue >>

To start clean, then install apktool dependent resources files

hope this is easy to understand
[Android Themes] Ticklefish:
If you're still having problems, I'm more than happy to help. You just need to say what the actual problem is. :)

Nope...I won't. :p

But I'll explain why.

Resource files (also known as framework files) are apk files that contain resources that are used by other apks files. Resources are things like image files, styles, strings, etc.

The 'official' resource file is framework-res.apk (framework-resource.apk). But some OEM's like to theme their roms and so you have files like twframework-res.apk (TouchWizframework-resource.apk), SemcGenericUxpRes.apk (Sony Ericsson Generic Xperia Resource.apk) and so on.

Resource files need to be installed to your PC before you can decompile resource-dependant apk files like SystemUI.apk.

Technically you can install any apk file with apktool as all that happens is the contents of the 'res' folder are copied into your user folder. However, not every apk file is an actual resource file. SystemUI.apk is not a resource file, it's a resource-dependant file. Installing it won't make any difference to whether you can decompile another file or not.

In the post linked to by [MENTION=3271517]carl1961[/MENTION], I think the issue was more likely caused by LG creating apk files with non-standard directory names that aren't recognised by that version of apktool. Something they annoyingly have a tendency to do a lot..

Tickle My Android is designed to allow you to install any file with 'res' in the filename and I won't be updating it to allow people to install SystemUI.apk. There's no need and it would just cause confusion. There's enough potential for confusion with de/recompiling as it is.

However, Android is an open-source OS and there's always a chance that someone might actually make a rom that has files which depend on SystemUI.apk's resources. I wouldn't recommend it but it's always possible. So I'm always open to making that file installable in the future..if it's actually needed.
[Android Themes] devadip:
[MENTION=4315551]Ticklefish[/MENTION]

You're always n°1 [emoji106][emoji106][emoji2]

When you explain, everything

seem so symply

inviato telepaticamente
[Android Themes] joecool666:
thanks

thanks very much for your guidance its helpful to me and others,going to have another go today maybe just maybe i will get the hang of this modding, i dont want to use others roms want to make my device with a personal touch lol and ticklefish your program can help me achive this, looking forward to learning about modding, thanks for your reply ticklefish and the rest of you who have inlightend me, regards joe,
[Android Themes] Ticklefish:
New Version Released!!

Well, I think it's about time for an updated version of everyone's favourite theming tool. Wouldn't you agree?

I thought you would. ;)

Tickle My Android Version 9.1 is now available for download!

Check out the updated link in the op to grab yourself a copy.

9.1 features a lot of code enhancements to make your modding experience quicker and more enjoyable, some new icons (it's not an update without new icons!), an updated appearance, the latest unofficial apktool compiled from source, the ability to change lockring icons and...the big one...Work Areas!

Now you can use TMA to theme more than one device or rom..at the same time. Very handy if you've got two Android phones and a tablet in the household..or if you find yourself modding other peoples files from a certain Android forum..

The addition of Work Areas is something for the experienced themer but TMA remains just as user-friendly and easy to use as ever.

In fact, it's even easier. Now, if you have issues with decompiling or recompiling, you no longer need to supply your logs. All you need to give me is your history.txt. Which should help a lot.

So head on over to the first post and enjoy the goodness!

(I am a bit short of time today and won't be able to update the other posts in the OP, but nothing significant has changed. I'll be updating them over the next few days.)
[Android Themes] devadip:
I like new look of TMA!!!

this evening i will download[emoji106][emoji106][emoji2]

inviato telepaticamente
[Android Themes] Hamidreza2010:
special thanks bro

really useful tools

thanks :good:
[Android Themes] Hid3rs:
Hi there, I've been trying to fix something for hours, but I just can't figure this d#mn thing out.

Here's my situation:

- I'm modding LG Flex's SystemUI.apk

- Flex apks only have xhdpi folders in them (it has a 720p screen)

- I use VRTheme installer to "inject"/change files

And here comes my problem:

When I inject xxhdpi folder using VRTheme, the app acts like it's not even there. There's xyz.png in the xhdpi folder, and there's the same xyz.png in xxhdpi (in bigger size, of course), but the apk still prefers the one in the xhdpi folder. Whyyy?! :crying:

I do the SAME thing while modding an other LGSystemUI (for a different ROM), and it works just fine.

Oh and the weird part is, when I copy the same xxhdpi folder in /_working/LGSystemUI/res/ and recompile it with TMA, the mod works perfectly. How is it possible? If I pull the the apk (the one I modded with VRTheme), it looks identical to the one I recompiled, so I'm really clueless.

The reason I'd like to use VRTheme installer instead of just recompiling the apk is that using the second option breaks ART compatibility (I also don't understand why that happens, but now it doesn't matter).

TL;DR: how come the apk prefers the png files in the xhdpi folder to the ones in the xxhdpi?
[Android Themes] alphamale:
Can someone tell me why this won't decompile secsettings apk kitkat
[Android Themes] alphamale:
Nvm I figured it out
[Android Themes] Ticklefish:
So you've got a xhdpi device and you're asking why it won't show the xxhdpi images?

Y'know, TMA comes with its own injection tool. Have a look at the Advanced Zip. That can inject files into apk's as well..
[Android Themes] Ticklefish:
Any Xperia users out there enjoying a KitKat rom? If so, you may be pleased to know that I've just updated TMA v9.1.

Now the tool can change your battery icons for you..although you do need to some smali-editing first.

Have a look here http://xdaforums.com/showthread.php?t=2761928 to find out what to do.
[Android Themes] Hid3rs:
Well, not exactly; I havea G2 (xxhdpi), but I'm modding a Flex-based ROM. By the way, the G2 has no problem showing xxxhdpi images, that's why I thought xxhdpi should work on the Flex port as well (and it actually works if I flash the recompiled apk, but that's not how I would like to get it to work).

I'll give Advanced Zip a try, thanks for the heads up! :)
[Android Themes] Ticklefish:
I see. This could be an issue with ZipThemer, perhaps.

If you want to replace images without decompiling and recompiling, you could try using the unzip and zip options in the theming menu.

That will extract the drawable folders...then put them back again. No decompiling involved.
[Android Themes] the_original_teknikl:
First I would like to say that I am in no way a dev....

Take the below explanation as an experienced themers EXPERIENCE ONLY (I COULD BE WRONG SO SOMEONE CORRECT ME IF I AM)....

the apk u are trying to theme is setup for xhdpi right?..... That means all the codes inside that apps smali and xml point to an IMAGE ID # that is located in the xhdpi folder.... Just inserting a previously non existent folder or image, without recompiling then adding them then recompiling, (most likely) will not work....

That's kinda like hiding your money under a rock in a banks parking lot.... Even THO its at the bank, they don't know, so it won't show in ur account.... Same with an app... If the folder doesn't exist before, just adding it is kinda like the example above.

When you decompile.. Then add the images... Then recompile.... Apktool or whatever you use, will generate an Id code for those images..... Sometimes you'll get lucky and it'll work by JUST doing that (NOT VERY OFTEN THO IF AT ALL)....

To get the app to point to another image in a different folder... You have to decompile the app.... then add the images and recompile so the id's are created.... Then decompile again.... Open public.xml to get the images Id number.... Then search thru the other xmls and smali to change the old id to the new one.... Then recompile......

Then the app will pull the new images from that xxhdpi folder you have inserted...

Again, this is from MY experience..... and how I'VE done it...... and how it was explained to me (or atleast how i understood it lol) IF THERES AN EASIER WAY.... PLEASE LET ME KNOW.

Sent from a Wicked Virgin Mobile Samsung Galaxy S3 running KT747 Kernel on KITKAT Touchwiz.
[Android Themes] 22sl22:
Hi, I was wondering if anyone can help me:

I did some smali mods to add clear all in recents and I get the following parameter error:

..\3-Out\SystemUI.apk\smali\com\android\systemui\recent\RecentsHorizontalScrollView$6.smali[27,4] Error for input '.parameter': Invalid directive
..\3-Out\SystemUI.apk\smali\com\android\systemui\recent\RecentsHorizontalScrollView$6.smali[28,4] Error for input '.parameter': Invalid directive
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/systemui/recent/RecentsHorizontalScrollView$6.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:338)
at brut.androlib.Androlib.buildSources(Androlib.java:299)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)

I saw the first post to use apktool 1.5.2 to try and re compile and I get this error:

Exception in thread "main" java.lang.NullPointerException
at org.jf.util.PathUtil.getRelativeFile(PathUtil.java:44)
at org.jf.smali.smaliFlexLexer.getSourceName(smaliFlexLexer.java:2922)
at org.jf.smali.smaliFlexLexer.getErrorHeader(smaliFlexLexer.java:3014)
at org.jf.smali.smaliFlexLexer.nextToken(smaliFlexLexer.java:2883)
at org.antlr.runtime.CommonTokenStream.fillBuffer(CommonTokenStream.java
:119)
at org.antlr.runtime.CommonTokenStream.LT(CommonTokenStream.java:238)
at org.jf.smali.smaliParser.smali_file(smaliParser.java:464)
at brut.androlib.mod.SmaliMod.assembleSmaliFile(SmaliMod.java:71)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:43)

at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)

at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:64)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:48)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:35)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:222)
at brut.androlib.Androlib.buildSources(Androlib.java:179)
at brut.androlib.Androlib.build(Androlib.java:170)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)

C:\apktool>
[Android Themes] Ticklefish:
Yeesss..pretty much.

If your rom uses an icon called xyz.png and you want it to use abc.png, you do need to edit some smali and use the reference from public.xml.

Much easier just to rename abc.png as xyz.png though.

I think this issue is more to do with using xxhdpi images on a xhdpi device. Which isn't technically possible, I think. Although, now I think about it, it might be possible with a build.prop edit..hmm...

Null pointer errors in java are caused by declaring reference types with no value. Have a look here: http://stackoverflow.com/questions/218384/what-is-a-null-pointer-exception-and-how-do-i-fix-it

Exactly how this relates to smali, I don't know, but I suspect this error is down to one or more of your mods..
[Android Themes] porkyhontas:
Just wanted to pop in and say, wow, I love this app!!!
[Android Themes] szunyi77:
Hello

First of all, thanks for the update, great job!

One comment!

If the Package it will do a mistake, you have the v9.0 Indicates the command line.

When the envoys 9.1 Package it in error, this does not indicate to me the problem and I do not know what the wrong place! So I do not know which line is the problem

I just wrote a mistake and did not know what the reason!

What could be the problem?

I hope you understand what I'm ...
[Android Themes] alphamale:
Getting error while recompiling system ui apk
[Android Themes] Ticklefish:
Look at the log file in your user_files\LOGS folder.

I'm not sure right now why you're getting that problem. All I can suggest is making sure you've downloaded the very latest version of TMA. It may be worth downloading the tool again.

But the details of the error will be in that log.

Have a look at the FAQ post. There's an entry for this error.
[Android Themes] szunyi77:
Thank you!

Yes there I found the log!

I downloaded it again, unpacked and now it works fine ...
[Android Themes] alphamale:
Does this work on kit kit I tried different versions none have change my signal icon
[Android Themes] Ticklefish:
In theory, yes. However it's more than possible that the icons in your rom have different filenames to normal, so Tickle My Android won't know to replace them.

Can you share your apk's please?
[Android Themes] alphamale:
https://www.dropbox.com/s/k2uyhdn1ushn11f/framework-res.apk

https://www.dropbox.com/s/578krbodr8rmoqv/SystemUI.apk

https://www.dropbox.com/s/1s3sa7cshztbh2e/twframework-res.apk
[Android Themes] Ticklefish:
Can you share a screenshot of your current statusbar please?
[Android Themes] alphamale:
the WiFi icon is from exthemer not tma
[Android Themes] Ticklefish:
Yup...this is Samsung's fault. They've used a non-standard filename again.

I'll update TMA with it tomorrow.
[Android Themes] alphamale:
[MENTION=4315551]Ticklefish[/MENTION]. Do you know if any way to make lockscreen see through on tw roms.
[Android Themes] Ticklefish:
No..

It might be worth looking at the xml for your lockscreen app and seeing if there's any background or something similar than you can make transparent..