yashsingh1/xdaforums huggingface dataset:
[Android Themes] Ticklefish:
Sorry for taking so long to get back to you. It's been manic over here the last few days.

You asked about changing the font size for this tool. TMA is basically a batch file (just a very complex one) and it runs in a standard, Windows batch-file window. Right-click on the titlebar and select 'Properties'. There you can change various things, including the size of the font.
[Android Themes] Bajanman:
[MENTION=4315551]Ticklefish[/MENTION]

No problem taking a long time to respond sir.

I completely understand about life keeping you busy busy. Wanted to say thanks for popping in with the how-to info about changing the font size. :good:
[Android Themes] Terraalpha:
Hi [MENTION=4315551]Ticklefish[/MENTION]

It is possible to sign Apk's with the V2 signature with this Tool?
[Android Themes] Ticklefish:
Not yet, no. V2 signing is proving to be awkward. Google have created a tool that does it..but I haven't been able to get it to make a V2 signature yet for some reason.

It seems to be debatable what V2 signing actually does in Nougat. In theory a V2 signed APK won't run if it's been modified - unless it's signed with a new signature or you have signature verification disabled. But I've seen examples of them running in Nougat so....I dunno...:confused:

Essentially it's a work in progress.
[Android Themes] FunSucker:
Thanks, sir. No problemo.

Wow look at that, new features. I do not know about it. Thats really cool :fingers-crossed:
[Android Themes] Marília de Oliveira:
Help

I can't run on windows 10. any fix? Nice tool :D
[Android Themes] bunnys7679:
Works great with windows 10

Gesendet von meinem SM-G925F mit Tapatalk
[Android Themes] Ticklefish:
[QUOTE=Mar
[Android Themes] Terraalpha:
OK, thanks for your reply [emoji106]
[Android Themes] Ticklefish:
Weird. I wonder if Labs is having trouble.. Let's see what the work PC makes of it..

I can't see your error sadly - it's not loading. What trouble are you having?
[Android Themes] Archangel:
Hey brother for some reason I keep getting the error "system can not find the specified path". I had an earlier version of TMA installed a few months back with no problem. I extracted 14.3 to my c drive like usual and installed the framework.apk from my pixel and tried to decompile some apks like normal and it keeps popping up with that error?
[Android Themes] Ticklefish:
That's odd. When does it produce that error? Are you able to decompile?
[Android Themes] Archangel:
It comes up just as I start to decompile? Funny thing is I can theme using apk tool but like TMA as it is easier.
[Android Themes] Ticklefish:
Well, if you prefer TMA then I

have

to fix the issue!! ;)

Your username on your PC has a space in it and batch files traditionally have an issue with those. I have a suspicion that's what's going on and I'll be looking into the code shortly. Thanks for letting me know!
[Android Themes] Archangel:
Thank you brother!
[Android Themes] Tulsadiver:
I have a Pixel as well. My 14.3 will decompile okay, or so it says, but after I put the 3minit smali files in smali_classes2 and recompile then decompile again (manually by copying from out to in folder) the smali files are not there. 14.2 worked fine. I recompile with original signature.
[Android Themes] Ticklefish:
This should now be fixed. :)

What happens if you use TMA to recompile and decompile?
[Android Themes] Tulsadiver:
Same thing.

---------- Post added at 08:32 AM ---------- Previous post was at 08:01 AM ----------

Did another test. I put a new folder of smali files in the regular smali folder instead of smali_classes2. They were still there after a recompile, then decompile. It appears to be a problem with smali_classes2
[Android Themes] Ticklefish:
This may be an issue with APK's with more than one classes.dex. I've just made a small adjustment to the code and uploaded a version. Please download and try again. Let me know what happens!
[Android Themes] Tulsadiver:
I haven't uploaded the systemui.apk yet to check it but the smali files were there! Thanks, Ticklefish!! Best theming tool ever!

Edit: Flashed fine! Yea! Thanks again.
[Android Themes] Ticklefish:
I'm just glad it worked. We should be good for any file with up to 30 classes*.DEX in it.

Hopefully it'll be a while before we're dealing with files with more than that in it...
[Android Themes] Archangel:
Everything seems to be working great thanks brother!
[Android Themes] Thebear j koss:
What does facebook have now in the dex files numbers? Lol. That app is just ridiculous. [MENTION=2744223]Archangel[/MENTION] can attest to that.

Those who cannot*remember*the past*are condemned to repeat it. The Dark Ages have returned...
[Android Themes] Ticklefish:
I'll work on a more permanent solution when I have the time. I seem to recall that Facebook does have an insane number of dex files...
[Android Themes] -->:
im wondering why is the main screen is so small. im guessing its my windows problem but i dont know what causing it though.

:confused:
[Android Themes] Kamy:
Right click on the TMA window>properties>layout. Default windows size is 80x25.
[Android Themes] Er. Aditya:
where are frameworks installed for different work space ?
[Android Themes] Ticklefish:
They're in your user area, inside apktool\ticklemyandroid.

Or ticklemyandroid\apktool.

I honestly can't remember which and I'm away from the PC so I can't check. Definitely one of the two.
[Android Themes] Er. Aditya:
i remember like i installed frameworks from suppose 2 different work spaces they used to install in different folders like 1 and 2 ( correct me if i am wrong ) but now i dont have that
[Android Themes] Tulsadiver:
My history.text is showing that it is going to the same place my Apktool uses

C:Users/user/AppData/Local/apktool/framework/1.apk
[Android Themes] EHSAN™:
Hellow

I wanna for Deodex Xperia M4 Aqua And in Process Give Me error GSMCore.Dex Cant Deodexed From priv-app.

Android 6.0.1 MM.

==============================

in Hitory.txt all things Work good!
[Android Themes] Tulsadiver:
Xperia has two different frameworks doesn't it? Did you install both?

Sorry, that is for theming rather than deodexing.
[Android Themes] Ticklefish:
If you delete the whole GSMCore.dex folder the tool will skip it and try to deodex everything else. You'll need to install gmscore separately though.

It might be worth looking here: https://microg.org
[Android Themes] FunSucker:
how to change android 6.x icons battery ?! I cant found it, sir.
[Android Themes] tdunham:
To my knowledge, the stock battery icons are not feasible to replace since they are no longer regular images that you can just swap out.

Most of us use 3minit battery as a really good alternative.
[Android Themes] FunSucker:
Oke, i see. Thanks for your answers, sir :)
[Android Themes] Tulsadiver:
You can add battery percent in text either next to your battery icon or in replacement of your battery icon. Or change its color. At least on a lot of phones you can. My battery changes color every percent charge that it drops. These are possible mods for after you use tickle my android to decompile your your system apks, not made through it with the touch of a button.
[Android Themes] starbucks2010:
[MENTION=4315551]Ticklefish[/MENTION] I'm trying to decompile some apps but I get quite a large number of lines with <item type="layout" name="APKTOOL_DUMMY_xxx">false</item>. Even files filled entirely with these APKTOOL_DUMMY_xxx lines. Do you know any method to reduce the number of these undecoded lines?

Thank you in advance.
[Android Themes] tdunham:
I think those are inserted because apktool can't interpret framework properly still. Have you tried other versions of apktool yet? Reload both frameworks for each try.

What version of android?
[Android Themes] starbucks2010:
Hello TD,

I tried several versions of apktool and the result was the same. The same result I got using different versions of Android framework: LP, MM. I always installed both frameworks because I mainly worked with Samsung apps. Since few days I went from MM to N and I just have installed the N framework (I see that Samsung have dropped the tw-framework-res) and I get the same result

For ex. when I decompile facebook.apk I get 27637 lines with APKTOOL_DUMMY_xxx.

Thank you.
[Android Themes] tdunham:
Ahh Facebook :rolleyes:

I don't know. As long as it recompiles and works, I don't know if there's any way around that.
[Android Themes] starbucks2010:
The most strange thing is the fact that I have these undecoded lines even in colors.xml and I don't understand what it couldn't decode there.
[Android Themes] Ticklefish:
So Samsung have stopped using twframework-res.apk? That's good to know. Have they replaced it with something else?

Without seeing the original source there's no real way to know unfortunately.
[Android Themes] thereassaad:
Its samsung-framework-res.apk on Samsung nougat , i have to change the the name to twframework-res.apk for getting it installed on any tools but on apktool u can do it as normal just type samsung-framework-res.apk instead of twframework-res.apk , that's it guys ..
[Android Themes] starbucks2010:
Yes, thereassaad has right. There is a samsung-framework.jar but it has a size of 89.31kB.

@Ticklefish what do you mean by original source?

PS. I ese that iBotPeaches has just released v2.2.2 of his apktool with quite many fixes.

Thank you.
[Android Themes] Ticklefish:
You have to change the name? Even with TMA? It should automatically detect any APK with "res" in the filename as a framework file..

I meant seeing the original source code. Somehow I doubt Facebook will be happy to share though...lol

I've spotted the new version, yes. What a lovely surprise! I've added it to v14.3 and I'm uploading it now. :D
[Android Themes] thereassaad:
The 1st things i have do it when i see the name changed so i change renamed it to twframework-res.apk , that's it , idk if tma should detected it as samsung-framework-res.apk but other tool doesn't detected it as it is mate , so just renamed it that's it ..
[Android Themes] Ticklefish:
Hey, as long as you're happy that's all that matters. :good:

I was just checking to see that my code was doing what it's supposed to.
[Android Themes] TONY6669:
Quick question has anyone been able to compile note 5 twframework-res.apk it decompile with 2.1.1 but can't get it to compile anyone try and get it to work thanks

Sent From Gurple TapaTalk
[Android Themes] tdunham:
No it does not, still the bug in apktool for that.

BUT, I just added 2.2.2 official release and it works now!!! :D

[UTIL][Jan 23 2017] Apktool v2.2.2 - a tool for reverse engineering apk files
[Android Themes] TONY6669:
Cool I'll give it a shot

Sent From Gurple TapaTalk

---------- Post added at 06:48 AM ---------- Previous post was at 06:45 AM ----------

Worked you are the man thanks

Sent From Gurple TapaTalk
[Android Themes] nguyentankiet:
I cant deodex success service.jar. Include TMA 14.3 newest. My service.jar and alot file in framework folder is not change after deodex.

My phone is note5 android MM
[Android Themes] edzamber:
Fantastic !!!!
[Android Themes] mysterio619:
Hi Guys i tried to decompile systemui of my device.......it successfully decompiled......while recompiling i am getting a exception in apktool log.......can anyone please help me is correcting the error

log : http://pastebin.com/LamiQsME

Device: oneplus 3T
[Android Themes] JrSmilez:
Did you make any edits or is that just recompiling the original? The part that's red on the log is missing.
[Android Themes] mysterio619:
i didnt remove anything except changed some lines in res\values\dimens.xml :(
[Android Themes] JrSmilez:
Something I learned was to always recompile without edits first. That way you know if there's a problem before you start.

It could be the version of apktool itself you are using. I always kept several versions of it. Try searching the apk for what is missing.
[Android Themes] Ticklefish:
V14.3 was updated with this version of apktool yesterday. I was trying to fix a mod I was working on and spotted it had been released.

I still get very excited every time there's a new version of apktool available. It's like Xmas all over again!

Can you share your history.txt please? I need to see what happened to tell you what went wrong.

This is saying the resources used in the APK aren't available in your installed frameworks. I see that you installed one framework file - do you have any others in your system/framework folder?

They usually have 'res' in their filename.
[Android Themes] nguyentankiet:
This is history and service.jar after deodex
[Android Themes] mysterio619:
Thank you so much for the reply....... Yes I have two framework files........ How Can I install both?

EDIT: Installed both and it failed again......can anyone help me...i have just decompiled and tried to recompile without any edits.

[MENTION=4315551]Ticklefish[/MENTION] History latest log : http://pastebin.com/CrVRu31L
[Android Themes] Ticklefish:
This is saying that you haven't provided your app and priv-app folders. Without those, TMA can't properly deodex your rom and it won't boot correctly.

Try installing both frameworks before you decompile the APK.

This error is saying that there's a resource that is needed but it can't be found in the APK. Installing both frameworks before decompiling should hopefully fix that.
[Android Themes] mysterio619:
Thank you so much [MENTION=4315551]Ticklefish[/MENTION]...... Have finished modding systemui with your tool without errors... Thanks for the guidance.... Amazing tool ?
[Android Themes] wowo213:
Galaxy S7 Android 7,0 error

25-01-2017@2329 --- "/system/framework/twframework-res.apk" pull failed

adb: error: remote object '/system/framework/twframework-res.apk' does not exist

I have problem when I decompile automapa.apk and compile and signed options on 1-9 then instal and run app show black screen why ?
[Android Themes] maz izaackovich:
hello guys

i just try to deodex my rom recently, in 1st step i change "ZIP file destination" (inTMA) to "C:\" , then i do every step mentioned in this TMA tool to deodex my rom, but seems lil bit odd that my "odexed ROM.zip" showed up in "C:\users\ndaakoezae\AppData\VirtualStore\

i thought it would be showed up in parent folder of Local Disk C: (it doesnt matter to me anyway)

BUT

- did i do something wrong in changing "ZIP file destination" (inTMA)? or is it supposed to be like that?

- does anyone could explain to me why this is happened

many many maaaannnyyy thanks for ur help :fingers-crossed::fingers-crossed:

nb: this is great TOOL anyway.. awesome job :good::good::good:

and how can i place one of your banner, i really newbie in this forum :laugh:lol
[Android Themes] Techvir:
Just came here to say thanks for the awesome tool.

It has made life so much easier for some of the noobie tweaks that I do.

Works perfectly for my needs for n6p
[Android Themes] Ticklefish:
Looking good! :good:

There's a lot of possibilities - can you share your history.txt please? That'll give me a lot of information that I need to see what happened.

That's odd, I haven't encountered that before. It could be that batch files aren't able to write to the root of your hard drive...maybe. There's nothing in the code that would send it to where it went. Do you get a similar issue if you change the ZIP destination to anywhere else?

Adding a banner to your signature automatically makes you one of the most amazing people here and would be really appreciated! To do it, just save the image that you want to use, go to your User Control Panel and put it in.

That's exactly the sort of post I like to hear! Thanks for making a miserable day so much better! :highfive:
[Android Themes] maz izaackovich:
tried to change its directory to "D:/" . . . succeded.. hmm :confused::confused:

thx for reply mate, appreciate it much
[Android Themes] starbucks2010:
Samsung Nougat don't have anymore twframework-res.. Now is called samsung-framework.jar.
[Android Themes] tdunham:
I don't think that is a res framework file. Jar files do not contain resources, only smali classes.
[Android Themes] wowo213:
[MENTION=4315551]Ticklefish[/MENTION]

This is the log file history.txt

http://pastebin.com/raw/3F1DcdcT

and this is an application that tries to run after compilation

http://www1.zippyshare.com/v/nJ1b6w3o/file.html

the decompilation and compilation and signature android 7.0 application installs but when you start a black screen .....
[Android Themes] Ticklefish:
It looks like Samsung's new framework file is called "samsung-framework-res.apk". Maybe they're moving away from calling the name "Touchwiz" or maybe they're just being annoying as Samsung have a habit of being..

I'll be working on an update in the next few days. Nothing major but I will be adding this to the list of pre-defined files you can pull. I'll also be adding the filenames for OnePlus roms as well as possibly removing the ones for HTC. I can't recall anybody mentioning using this to decompile HTC files since I launched it years ago so there's no point having them on the list.

I'm also considering adding a feature to the deodex menu as well. All in the name of making this tool as useful as possible to you guys!

Looks like you've tried every single option with this app.. It may be that it's got V2 signing and that's what is causing the issue. V2 signing in Nougat can stop a modified app from running, even if you haven't changed anything. The trick with that is to sign the app with a new signature and disable signature verification on your phone. That should hopefully get it working...hopefully...
[Android Themes] kevintm78:
I get the same black screen when using tma to sign systemui and what I've been doing is picking the option with no signature and after it compiles I use winrar to drag the modified part into the original app. I usually always drag the resources over as well. I just figured I would offer another method in case the above post doesn't work for you.
[Android Themes] Ticklefish:
Yeah, if it's V2 signing that's causing the problem that wouldn't fix it.

Did you try what I suggested in my last post?
[Android Themes] kevintm78:
Oh, I must be confused on what the v2 signature is then. I was under the impression that it was that sec-inf file that started showing up in newer firmwares, my bad.
[Android Themes] wowo213:
still not working on android 6.0.1 I Xposed module to lucky patcher and then easily edit application after working so 99% think that the fault signature this method of dragging the file being edited and repackaging also checked and further black screen and I got lucky patcher such settings
[Android Themes] Ticklefish:
That is the V2 signature, yes. It essentially creates check numbers based on exactly what files are in the APK and what size they are, etc. If you make any changes, the signature doesn't match and the app won't install. That's the theory, anyway.
[Android Themes] kevintm78:
Oh ok. Yeah that drag and drop with winrar has been working for me. I do have that sig disabled though so maybe that's the difference. Also I'm on 6.0 so maybe it doesn't work with 7.0?
[Android Themes] Tulsadiver:
On 7.1.1 Nexus 5X and Pixel, disabling signature check in services.jar and using original signature in tickle-my-android works for me on system files like Systemui.apk and framework-res.apk. New signature on jar files and other ones like settings apk. First thing though I always flash my modded services.jar wipe dalvik cache. Then I am good to go. When I get a black screen I know I screwed up somewhere.
[Android Themes] frankcck:
[MENTION=5346465]Tulsadiver[/MENTION] could you share the systemUI.apk and framework-res.apk from your Pixel or Nexus? I'd like to make signal icons from it, If this won't cause you any trouble.

Thanks in advance.
[Android Themes] Tulsadiver:
Mine is modded. Would you prefer stock?
[Android Themes] Ticklefish:
Ooookay..I think I got too distracted by the TV and thought different people were replying to different things..:eek:

So let's clarify. Using drag and drop with winrar or 7zip or something similar is basically the same as signing with the original signature - it's essentially what TMA does. The v2 signing only makes a difference on Nougat. The SEC-INF folder is ignored with any version of Android below that.

Signing with the original signature is essential for system apps. Using a new signature will nearly always make it FC.

If an app decompiles and recompiles without any errors, and with all the frameworks installed before the decompiling, but it doesn't work no matter what the signature method on a version of Android below 7.0 (even without any changes at all) it's possible the app just can't be modded. Automapa is a commercial app downloadable from Google Play - apktool isn't intended to be used with those. Some apps have been constructed by their creators deliberately so they can't be recompiled. ES File Explorer can't (or at least it couldn't, I havent tried lately), kik can.

In other words, if you've used every possible signature option and none of them work..I'm sorry but you might be out of luck.
[Android Themes] frankcck:
Did you mod the signal, wifi signal status bar icons? If not, that would be fine. ?
[Android Themes] Ticklefish:
I'd second that request, if you don't mind. I need to update the icon pack and that'll come in very handy.
[Android Themes] frankcck:
Or I may can just wait for your converted png or svg? :fingers-crossed: J/K. But absolutely appreciate if you'd like to share. :D
[Android Themes] Tulsadiver:
Here is the Pixel. I'll update with the Nexus a little later. I don't have it on me.

Pixel

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

Edit:

Nexus 5X

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

I apologize on the size. My phone zips them but with no compression.
[Android Themes] frankcck:
No problem at all. Much appreciated, mate. :fingers-crossed::fingers-crossed:
[Android Themes] frankcck:
[MENTION=4315551]Ticklefish[/MENTION] Hi sir, would you be able to create the correct pngs from /drawable? I've tried several ways and all I got are incorrect icons.( For example, I got wifi icon with an cross mark on the lower right corner)

Also, I used stat_sys_wifi_signal_*.xml. and no matter I use 0 or 4, I got the same icon.
[Android Themes] tdunham:
What version of android are you using?

A screenshot of the problem may help as well.
[Android Themes] frankcck:
Hi, I'm using android 7.0. I've attached the png that I got from /drawable. From stat_sys_signal_0~4 and stat_sys_wifi_signal_0~4.

:rolleyes::rolleyes:
[Android Themes] Tulsadiver:
Are you including the fully pngs?
[Android Themes] frankcck:
I didn't, but from 0~4, they all are same. I think there must be something I did it wrong during conversion.

It makes me feel generating those icons has something to do with smali. Or I'm just dumb. :p

Edit: I found a pretty nice resource that have wifi and cellular signal icons that I want. https://www.materialui.co/icons
[Android Themes] tdunham:
Are there similar filenames in the drawable-xhdpi folders (there are normally more than 1, in touchwiz anyway)? I cant say for Android 7.x, but I don't think android would not normally use files from the base drawable folder unless it didn't see them in the appropriate dpi folder.
[Android Themes] frankcck:
There's not for Pixel phones. I'm using HTC and HTC is still putting pngs in appropriate folders(xxhdpi, xxxhdpi) and using pngs instead.

But I'm looking everywhere in pixel's systemUI and couldn't find anything of those icons.

Since lollipop or MM, google introduced the way to generate those icons by code. But I don't really understand which files they use for.
[Android Themes] Tulsadiver:
You might have these already but here are the wifi and data icons.
[Android Themes] frankcck:
Thank you so much sir! Much appreciated.

Only if you have some free time, I'm wondering how did you create those icons. ?
[Android Themes] Tulsadiver:
I created a new project in Android Studio with a kitkat level api so it would generate icons as well as vectors. I created new vector assets and selected the Material icons which happens to be what is on the Pixel and picked the various WiFi and data icons and added them as vectors. When done I built my project and png files were generated as well as vectors. xhdpi, xxhdpi, and xxxhdpi.