yashsingh1/xdaforums huggingface dataset:
[Android Themes] brainvision:
yea I know very well what those files are, and I also know that they gave me troubles last month into this tablet when I tried to integrate their updated apk from /data partition to /sytem one, I guess it's because of the lib, but cannot be sure. What I can say is that after rebooting the device I was not able to use Play Services, it simply seemed to be not on device anymore because I cannot even add a google account (which depend from play Services)..

But I'm not worry about those because I plan to flash gapps too, so it should not be a problem at all to remove those..

Well, I'm very excited to see how it will work, don't know if I'll be able to do in the very next hours because it's evening here, tomorrow in the morning I'll be very busy, so I think I'll update you in the afternoon, but you can bet I'll update you! ;)

Thanks for your hard work, you really rocks! ;)

See you soon

EDIT: sorry [MENTION=4315551]Ticklefish[/MENTION] but are will you update TMA? Are you waiting for me to confirm the deodex is working?

EDIT2: as I thought, it simply does not flash.. ERROR 255, which is because this tablet has a particular /system mounting point: /android_system (and so all the other partition: /android_boot, /android_data etc etc) :(

so I need to edit the updater-script, but I don't know if the zip is signed or not
[Android Themes] Tulsadiver:
I'm assuming you installed the 3minit resources apk first? This is not the same as the one on playstore.

https://www.androidfilehost.com/?fid=529152257862670024

In order for me to get rid of the original battery (both batteries were showing up) I had to go to the dimens.xml in the values folder and change the battery icon dimensions from 14.5 high and 9.5 wide to 0.0 dip for both.
[Android Themes] Ticklefish:
Yeah, it does look like you'll need to update the script. It's set to work system/ folders, not android_system/ folders.

I'm going to release v14.2 soon. I just need a few spare minutes
[Android Themes] yash92duster:
Good my friend

I have tested it and it works on v2 sign apks

I have tested it on Galaxy A500G running J510F Full Port Rom for SystemUI.apk

After making changes I used recompile without sign then only if I flash it over working Rom the new modded ui will show

The same modded UI if I preclude into Rom zip and clean install Rom then there will be no systemui installed. Just normal app drawer will be shown with UI

I mean modded systemui when flashed over working ui only it's showing

This new systemui has secinf folder so only giving problems right

For all other Rom i have no issues with any app modifications

Thanks for great tool :fingers-crossed::good:
[Android Themes] Ticklefish:
NEW VERSION AVAILABLE NOW!!

​

I've just officially launched v14.2 of everybody's favourite theming tool - Tickle My Android!!

This features improved handling of apps signed with the new "v2" method. I've also added the latest versions of apktool, baksmali, smali and oat2dex to make sure that this tool can handle as wide a range of files as possible.

TMA can now deodex more files than ever before, including some of the more troublesome apps created by Samsung!

Head to the OP to download your copy and don't forget to let me know if you have any problems. This tool is made for you guys, after all.. :highfive:
[Android Themes] Ruben Craveiro:
how to change the design and color of on and off switches? and checkboxes? im on a rom modified by asus, running ZenUI and im modding settings.apk, framework-res and systemui, i cant find where to change the switches and checkboxes..
[Android Themes] Thebear j koss:
Colors.xml in framework and settings. Images are overlayed with a color now. Usually found in an xml in the drawable folder and directed to a color.

Doing 120 plowin over mail boxes, radar detector to tell me where the cops is.
[Android Themes] sud.vastav:
Great that the tool is still active. Thank you so much [MENTION=4315551]Ticklefish[/MENTION] for the continued support.
[Android Themes] Ticklefish:
Thanks for your thanks, my friend! It's always nice to know that people appreciate what I'm doing! :highfive:
[Android Themes] brainvision:
hey [MENTION=4315551]Ticklefish[/MENTION] thanks for the new version!

Is it the same identical of the last beta I tried? Do you remeber that you send me a deodexed version of my ROM to flash? I was finally able to find a update-binary for my x86 arch, I changed permission type in the update-script because the only rom available for my device uses set_matadata and I flash without errors.. but unfortunately it didn't boot! :(

So I'm asking if it's the same version this one or you made any changes so I can still hope! :D
[Android Themes] Ticklefish:
It is the same version, yes. I'm going to try deodexing your files again and I'll see if I can spot what caused the issue.

Deodexing is an imprecise task at the best of times. It's not impossible that there's something about your x86 rom that just doesn't like being deodexed. But, hopefully, I'll be able to see what's happening in your particular case.
[Android Themes] brainvision:
thanks you are very kind!

I'm also trying to investigate and go deeply into this process. What I learnt at today is that I normally need smali/banksmali to deodex: firt boot.oat ad then the rest; but the [MENTION=1299419]JesusFreke[/MENTION] baksmali/smali tool does NOT support Lollipop oat

D:\Programmi\Android\smali>java -jar baksmali-2.2b4.jar d boot.oat
Exception in thread "main" org.jf.dexlib2.DexFileFactory$UnsupportedOatVersionException: Unsupported oat version: 48
at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:118)
at org.jf.baksmali.DexInputCommand.loadDexFile(DexInputCommand.java:140)
at org.jf.baksmali.DisassembleCommand.run(DisassembleCommand.java:158)
at org.jf.baksmali.Main.main(Main.java:102)

And infact from the his wiki:

So I have to use first oat2dex from [MENTION=6258761]_riddle[/MENTION]..

Is it right, somehow?
[Android Themes] gvmiguez:
Are you erasing odex files and folders previously on the updater script??
[Android Themes] Ticklefish:
That's right, yes. TMA first uses oat2dex on boot.oat to extract the classpath ODEX files. Then oat2dex is used on every ODEX file in the framework, app and priv-app folders to extract the relevant DEX files. These are then added into the relevant APK/JAR files as "classes.dex".

I've just tried deodexing your files again. As far as I can tell, everything processed correctly with the exception of the two files we already knew about.

However, there does seem to be one file that's standing out. In the ZIP that's created, there is a file in the framework folder called "com.intel.config.jar" that's unsigned. This file doesn't exist in your original files, there's just an ODEX file in your boot.oat.

It's possible that this is causing your device not to boot, as Android won't normally run an unsigned file. You could try making a copy of another file, changing the name to "com.intel.config.jar" and putting the classes.dex file from the original into it. That might help.

That's the only issue I can see but it's always possible that there's something else going on that we won't be able to spot at this level. Every developer and OEM likes to make odexed roms in different ways.
[Android Themes] Ticklefish:
The updater-script in the ZIPs that are made wipes the framework, app and priv-app folders and then copies over the modified versions, with the right permissions.
[Android Themes] brainvision:
let's try.. :D

I'll treat the jar as normal archive files, right?
[Android Themes] Ticklefish:
That's basically what they are, yes. A normal JAR is an archive file with a META-INF folder and a classes.dex file.
[Android Themes] edzamber:
[MENTION=4315551]Ticklefish[/MENTION],

Hi bro,

Do you know how to fix accent with Apktool ? Its for a friend of mine that change some const-string jumbo into services.jar/smali/com/android/policy/GlobalActions$SinglePressAction

Maybe aapt is needed...

I have do this and for me no problem...

For me :

For him :

method static constructor <clinit>()V
.registers 9

const/4 v8, 0x5

const/4 v7, 0x4

const/4 v6, 0x3

const/4 v5, 0x2

const/4 v4, 0x1

const/4 v3, 0x0

new-array v0, v8, [Ljava/lang/String;

const-string/jumbo v2, "Reboot"

aput-object v2, v0, v3

const-string/jumbo v2, "Hot Reboot"

aput-object v2, v0, v4

const-string/jumbo v2, "Download"

aput-object v2, v0, v5

const-string/jumbo v2, "Recovery"

aput-object v2, v0, v6

const-string/jumbo v2, "Safe Mode"

aput-object v2, v0, v7

Into

method static constructor <clinit>()V
.registers 9

const/4 v8, 0x5

const/4 v7, 0x4

const/4 v6, 0x3

const/4 v5, 0x2

const/4 v4, 0x1

const/4 v3, 0x0

new-array v0, v8, [Ljava/lang/String;

const-string/jumbo v2, "Redémarrage Complet"

aput-object v2, v0, v3

const-string/jumbo v2, "Redémarrage Rapide"

aput-object v2, v0, v4

const-string/jumbo v2, "Mode Download"

aput-object v2, v0, v5

const-string/jumbo v2, "Mode Recovery"

aput-object v2, v0, v6

const-string/jumbo v2, "Mode Sécurisé"

aput-object v2, v0, v7
[Android Themes] brainvision:
nope, still nothing.. :(

I noticed a weird things by the way.. This tablet was sold into different variant, one is mine: i15-TCL (Type C) and another is 15-TD (Micro USB-3); well there also are i15-T (single boot) and maybe i15-TC (it's a chimera this one, never known more but it seems it exists! :D ). A guy here on xda has a TD one and he posted a few mods of the stock roms, deodexed, debloated etc.. The Android version ispretty identical, except the build of mine is a little more recent, a few months only.. Same kernel version, different build date.

So I take a look at his file and I noticed that from my system a few apk and framework jar files are missed! I think it could be those missing files to brake the process. It seems he was also able to correctly deodex GmsCore, Phonesky etc.. :( He used SuperRs, which I used too but didn't work. I'm trying to reach this guy but last time I told me he's really busy these days..

But I was able to find the original system.img of his version: https://www.androidfilehost.com/?w=files&flid=54479 - but my ADSL is quite bleahh today, firefox says I need from 3 to 5 hours to downlaod it! LOOOL

Also you may find interesting to look at his roms: https://www.androidfilehost.com/?w=files&flid=55691 - I got to extract the system.new.dat with a tool to see the content.. My guess is I'll be able to build something like his Debloated, Deodexed, No Google (rooted, of course :D ), but I'm a little bit tired now and I think I'll lose my interest very soon grrrrrrr -

What I'll try next is to take from his builds jar and apks missing from mine and see if that helps.. It could be the right thing to do, right?

I would also like to ask: what if I deodex all the files that do not give error and leave the rest (and in particular the framework jars)? What do you think about? Will I be able to make some basic mods in future? when I extract the framework I always use framework-res.apk, so what is this framework.jar needed for?
[Android Themes] gvmiguez:
Why dont you try this guide?

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

Im using it to translate reboot menu on my S7 Edge
[Android Themes] Ticklefish:
I did some Googling about accents but all I could find were suggestions for altering the original Java..

Sadly I don't know how to fix this in smali but, personally, I wouldn't be setting the text in smali anyway. If it was me, I'd put that information into "strings.xml" and use that.

You might not need to deodex every single file. The problem comes when you want to deodex any file that's in boot.oat. Android will ignore the deodexing unless you process all the files in boot.oat and delete that file along with boot.art.

Some roms need to be deodexed in full or they won't boot. Yours might not be one of those....but it might be.

Do you definitely need to deodex your rom? It's really only useful if you're planning to do any smali editing, or you want to replace one or more of your system apps with deodexed versions made by other people.
[Android Themes] brainvision:
the problem is that my rom is a really stock one, and I would like at least to add a few tiles and reorder them, there's no even the DO not disturb tile (but there Boot the boot to Windows one :D In the notification tiles, baaahhh)

At the moment I'm struggling between "I give up" and "no I want to solve that!", you can imagine :D

BTW I would like to try to integrate the missing files from the ROM where the deodex worked into mine, just to see what happens. But now I'm experiencing with [MENTION=6258761]_riddle[/MENTION] oat2dex tool..

Can I ask you if those are useful in my situation?

Get odex from oat:
java -jar oat2dex.jar odex <oat file>
Get odex smali (with optimized opcode) from oat/odex:
java -jar oat2dex.jar smali <oat/odex file>

because after executing these - all working on boot.oat file - I now have 3 folders: dex, odex and boot. Inside the boot folder there are a lot of subfolders with mostly smali files.. Hope you know if I need somehow those to maybe solve, otherwise I'll try to integrate jar from the other roms; if it doesn't work I'll give up, don't what I could do more! :(
[Android Themes] Ticklefish:
Those dex files can be renamed to classes.dex and placed into the respective JAR files.

Looks like it, yes. You appear to be missing a style called "Animation.ZoomButtons. Did you install both your framework files before you decompiled your file?
[Android Themes] brainvision:
that is to say, same things TMA does, both on boot.oat both on other files..

so useless to look that.

well, it seems I have to forget about customization here :(

EDIT: one last question, then I will not bother for a while (well, I hope :D ): [MENTION=4315551]Ticklefish[/MENTION] could you please link me some reference about framework.jar and what will I be able to realistic mod in terms of colors, settings and system with a odexed rom or a partially deodexed one, if is even possible (I read different statements about that: someone says that to mod a rom a doexed is a requirement while others say that with an odex rom mods are still possible but they are simply harder because of the smali). I searched here and on google but most of the thread are sooooo old, most from the JB age! Maybe it's my impression but I think that xposed framework made people less curious about do-it-yourself mods: they are all ready now!
[Android Themes] drremo12:
installed and workin tnxxxx alot
[Android Themes] KingRaheel:
Hello sir...thank u so much for ur tool...it works great :good: ...keep up the good work and always keep this project alive ..best wishes
[Android Themes] Ticklefish:
A deodexed rom is one in which all the system APK and JAR files have the classes.dex files inside them, as opposed to in a separate file. It's the classes.dex files that get turned into smali when you decompile so, if you're planning to make any smali changes, having a deodexed file is pretty much essential.

If you're not worried about editing smali and you just want to change icons, colours, layouts, etc you can do that with an odexed file.

You can do a lot of mods to an odexed APK, it just depends what you want to do.

Excellent news! :D

That's very kind of you to say so. :highfive:

If you'd like to show your support, I hope you'd consider putting one of the banners from the OP into your signature. It all helps keep this tool going! :)
[Android Themes] brainvision:
yes I got this, but it would always possible to manually deoxed and disassemble an apk or the framework.jat to obtain the smali, make mods on smali and then finally reassemble, wouldn't it? Don't want to go deep now on this, just YES or NO would be great :D

BTW, I was finally able to boot my rom having apk from app and priv-app fully deoxed while framework are deodexed too except that I keep services.jar, framework.jar and the two boot files in my x86 folder. Now I'm basically checking if everything is right using hte rom and also trying to remove one file per one from x86 to see which one gives no boot sit! :)
[Android Themes] Ticklefish:
If you've still got the boot.oat and boot.art files in your rom, it's possible that Android doesn't know your framework folder is fully deodexed yet. It'll use the DEX files inside those and ignore the ones inside the respective JAR files. It's worth bearing in mind if removing either of those makes your rom fail to boot..

About manually deodexing and disassemble an APK to gain access to the smali files...that's pretty much what decompiling does. If you decompile a deodexed APK, the information in the DEX files are translated into smali. When you recompile, the smali files are turned back into the DEX files. So..YES, yes you can. ;)
[Android Themes] aalupatti:
Just to confirm, the tool cannot deodex android 7 based roms right ? or does selecting option 2 in the deodex menu work ?

( Sorry dint do a lot reading )

Thanks
[Android Themes] Tulsadiver:
It mostly deodexed mine 7.1.1 preview on my Nexus 5x. The only things missed were several of the jar files in my framework folder. I used the LG option since mine was made by LG.
[Android Themes] Jamieb88:
Hmm try installing it through tickle its an option then try decompilining.

---------- Post added at 11:22 PM ---------- Previous post was at 11:17 PM ----------

Anytime man im new to theming myself. Making a custom battery mod myself then gonna theme around it.

Hey ticklefish after i make all the battery pngs how do i add it to the framework-res.apk?

Asking cause i wanna test it out to make sure i have it all done correctly and its working on my rom then you can add it to your program :D
[Android Themes] Sean_Seany:
Just made my first edit on a theme.apk , This is a delight to use and very noob friendly. Good luck with the theme !

Has TMA got any limitations at all , or can this be used to make a complete theme ? I guess I will need something to make .9s out of my .pngs but that's no drama.

Thank you so much Ticklefish.:highfive:
[Android Themes] Jamieb88:
Be careful with those .9s i dont mess with them and wont till i get a better understanding on them and between full time job and college and trying to theme one of my favorite roms just havent had time to read up on them. Guess ill get to them when i absolutely have to haha

Ps.

You cant skin your phones interface with it but you can use it to decompile then go to that designated folder find the pngs you want to edit or the xml then you can use it to recompile and make into a flashable zip and your good to go
[Android Themes] Kamy:
decompile error!!!

the same, i got the same error. I really dont understand cuz I see the file in _in folde but it's not possible to decompile!!!
[Android Themes] damnedivan:
_working folder is empty

Hey Ticklefish!

nice tool you've created.

hmm, i think i have a problem here, i'm using Sony XPERIA mini pro.

and i'm on ICS, i have tried to deodex my /system/framework by pulling it to _deodex folder but after the deodexing proccess i found my _working folder empty when i tried to add deodexed file to decompiled file. :silly:

thanks before.
[Android Themes] Kamy:
decompile error

Please help me out!~ I am trying to decompile SystemUI.apk which is in the "_in" folder but cannot.

I am on the ICS 4.0.4 ROM [rooted]

Sony Xperia NEO V
[Android Themes] cowsquad:
Have you installed your required frameworks?
[Android Themes] snip3rb0y:
is there any way to move signal icon to left on status bar ? i succesfully decompile systemui.apk but i dont know how can i move signal to left (like ios) ? please guide me,im on cm7
[Android Themes] Ticklefish:
Many thanks. But I've already got all the files I need. I used to have this as an option on an earlier version of TMA. I'll be bringing it back for v5.
[Android Themes] Ticklefish:
Then now I know where to get it from and I can include it in the next version. Thanks!
[Android Themes] Ticklefish:
Okay, let's take a look at this.

Bootloops are caused by bad framework-res.apk's. Android tries and fails to load them and can't get any further.

Since you didn't spot the bit in my op about installing frameworks, it's possible you decompiled your framework-res.apk without installing the right file first.

The apk will still decompile..but won't be right.

Try filling in the form in the first op so I can see what's going wrong and fix it for you. :)
[Android Themes] Ticklefish:
I'm always happy to have more icons on offer! And you'll get full credit, of course.

To use your own battery icons, add them to the USER_FILES\BATTERY folder and use the 'Add User Files' option. You'll probably want to put some suitable xml in the folder as well.
[Android Themes] Ticklefish:
Tickle My Android may have a silly name but it's a serious compiler/decompiler as well as doing other things. Making .9.PNG's is probably a little beyond the capabilities of the language it's written in though.

There are mouse-controlled programs out there which can make them for you. I think there's one in the official Android sdk..
[Android Themes] Ticklefish:
Ah, I always have a fondness for Mini Pro users. It's the device TMA is always tested on first so I'm always confident it will work. ;)

The deodexing process works on individual files. It almost sounds like you're trying to do the whole folder in one go.

If it's just the one file you're doing, you need to decompile the normal app before you can add the deodexed file to it.

To put it another way:

Decompile framework-res.apk.

Deodex framework-res.odex

Add framework-res.odex to framework-res.apk.

Recompile.

Prepare.

Push/flash.

Delete framework-res.odex from phone.

Don't forget to backup first!!
[Android Themes] Ticklefish:
This looks like TMA is unable to find the file it needs to start the decompile process. Which it should. Which version are you using?

Have a look in the tool_files folder. Do you have a file called 'decompilefile.bat' or similar in there?

It may be that you downloaded the tool incompletely.
[Android Themes] Ticklefish:
There is, yes. Share your statusbar.xml and I'll show you. :)
[Android Themes] Ticklefish:
I haven't been online for a while, thanks to work and family all getting in the way, so a big thanks to all of you who've been helping people out while I wasn't here.

The bad news is that v5 isn't finished yet. But the good news is that it's getting close.

So close in fact that I'm looking for beta testers. I know it works on my Timescape ICS phone and Touchwiz GB tablet, but I don't know for sure that it works on Sense, MIUI and others. Anyone feel like helping me out and testing what I've currently come up with? Let me know!

Beta testers get exclusive preview versions of Tickle My Android and will be credited by name in the tool so the whole world can see how cool they are.

Places are limited so apply now!
[Android Themes] AmmarGitham:
Damn, I would have applied but currently busy. But then too, if you don't mind, give me a link to download it. I'll surely try sometime. :)
[Android Themes] Jamieb88:
I can do it. Im on Samsung infuse. And i bounce between gb ics and jb very frequently :D:p yes Im a flashaholic
[Android Themes] cowsquad:
I am on miui jb v4 hit me back If you need a miui tester :)
[Android Themes] aalupatti:
Thanks... Will try

Sent from my Nexus 6P
[Android Themes] jimbomodder:
Bump
[Android Themes] Ticklefish:
What's up? :)
[Android Themes] jimbomodder:
Nowt, new this side of things and found this thread via 3minit mod. Going to add it to my s7 rom:good:
[Android Themes] Ticklefish:
Well I can't object to that! :D

This tool is designed to be as simple to use as possible but let me know if you have any problems. :highfive:
[Android Themes] jimbomodder:
Well after extraction I try to start tickle exe and it starts and shuts off immediately, what am I missing?
[Android Themes] Ticklefish:
There's a file in the tool_files\rewrite\settings folder called DebugOff.

Rename that to DebugOn and try running the tool again. That should hopefully give an idea of where the problem is.
[Android Themes] jimbomodder:
Ok I'll give it a try soon once kids are in Netherland

... Could it be avast preventing it from working? I had to disable file checker to even get it on PC as flagged up as malware