yashsingh1/xdaforums huggingface dataset:
[Android Themes] :
Thank you for your quick answer. I tried it 3 ways:

recompile with original signature ->no changes in manifest

recompile with new signature -> empty zip

recompile without signing -> recompile sucessful including the changes in manifest, but secsettings app disapeared after reboot (gave permissions to app)

The tutorial requires disabling signature verification, which i did, using this tutorial https://xdaforums.com/showpost.php?p=66207890&postcount=557

Any further idea?
[Android Themes] zelendel:
To be honest I don't know. It has been many years since I modded for a Samsung device. I dont know everything that it takes.

Are you flashing the modded apk or using a files explorer to change it?
[Android Themes] Thebear j koss:
Drag original meta inf folder from original apk into newly built apk using 7zip.
[Android Themes] :
I use file Explorer and give permissions. Should i try flashing it, will it make a difference?
[Android Themes] Thebear j koss:
Yes. Always flash system apps.
[Android Themes] Ticklefish:
The APK you get when you recompile with new signature is empty? That's odd. Can you share your APK files please? I'll try it on my version and see if I can work out what's going on.

If you're changing the Manifest, you have to use a new signature - the original will no longer be valid (that's why the Manifest doesn't change if you recompile with original signature). If you use a new signature on a system app though, it won't work as the signature has to be the same as all the other system apps. That's why you need to disable signature checking.

If you did that and your recompiled APK with no signature isn't working, it could be because there has to be a signature...or it could be that the mod didn't work.

Hopefully it's an issue with the APK needing a signature as I can fix that. I can't really help if the issue is with the mod itself.

----edit----

I've just tried recompiling a file with a new signature. It works without any problem and the new APK has everything in it that should be there.

If you can share your APK files, I should be able to work out why it isn't working in your particular case.
[Android Themes] :
Thanks for your Information on signing, i attach the sescsettings apk.

The first one is recompiled without signature and includes the change in manifest from gesture anywhere mod.

The second is the apk before this modification, just in case you need it too.

thank you for your Support.
[Android Themes] :
@ ticklefish sorry having technical issues
[Android Themes] :
This is the apk for this modification.
[Android Themes] Ticklefish:
Thank you. Can you share your frameworks as well please?
[Android Themes] :
Framework + twframework
[Android Themes] :
[MENTION=4315551]Ticklefish[/MENTION] [MENTION=521803]The Bear[/MENTION] j koss

Finally i got it done, the hint from the bear j koss was right, i had dragged the Meta.inf + Sec.inf Folder from pulled apk to recompiled (without signature).

Now SecSettings are working, the whole mod is working.

Thank you very much for your Support, both of you.

Still i would be interested to know why the recompile with new signature did turn out that way. [MENTION=4315551]Ticklefish[/MENTION]: if it helps to upload the new Secsetting2.apk for further Investigation let me know.

Thanks again, this is a mod, which i really wanted to build in in my Rom, took a Long time.
[Android Themes] Thebear j koss:
Glad you got it. I am a devout Tickle my android user for years, but even the great [MENTION=4315551]Ticklefish[/MENTION] can't make things fool proof. I am a total idiot and always mess up somewhere, so sometimes I have to manually do things like move signatures or something. Always good to be lazy, but not too lazy that you may have to do a little work yourself... Glad you got it. Nice job.
[Android Themes] :
:D i am happy like a little child on Christmas.

This mod is so great, i wanted to make it since i began modding. Unbelieveable!

Thanks again for your support, really appreciate it!!
[Android Themes] kevintm78:
Modding the SecSettings.apk is tricky. I got mine to work by compiling without signing and then use winwar to drag the modded files into the original. But instead of using the "normal" compression, change it to "store". For future reference, this also worked for the framework-res.apk. It's worth a try maybe, I have a note 4.

Edit: sorry I didn't read far enough to realize that you already fix it .
[Android Themes] Yoanf_26:
Hi

I see an error in recompile

It's isn't WorkareaX\_in but WorkareaX\_working.
[Android Themes] Ticklefish:
Huh. I'd never noticed that. Thanks for letting me know - I'll get it changed shortly. :good:
[Android Themes] Yoanf_26:
Thanks
[Android Themes] Ticklefish:
New Version Available!

​

Well...a slightly new version, that is. Not a big update this one.

15.2 now gives you the option to keep a modified AndroidManifest.xml when you recompile with original signature.

This is something that came up in the thread recently and it seemed like a useful option to have. If you don't know what it means, you don't need to use it. If you do know what it means, you might find it helpful.

I've also fixed a typo in the recompiling all files section.

The next BIG update will probably center on deodexing Android 8.1 files. There are tools available to do this but they all seem to be on Linux only so this may take a while. Hopefully smali and baksmali will be updated soon so TMA can offer this functionality.

I know this program isn't everybody's first choice for deodexing things so I do try to make it as useful as I can for those who actually use it!

Head to the OP now and download the latest version. If you hurry and do it today, you might get a little surprise...
[Android Themes] parth111999:
Once Again Good Job Bruh !!!

Wondering What the Surprise will be :cool::p
[Android Themes] porkyhontas:
Your the man! Thanks for the hard work.

Sent from my SM-N920P using AnaKonda Tapatalk
[Android Themes] :
Great tool
[Android Themes] Ticklefish:
Well, you'll have to wait until the next February the 14th then... ;)
[Android Themes] Sm0k3r83:
i just decompiled the SystemUi from a Zenfone 4(2017) running Oreo and the smali folder is empty, is that normal? I would like to add 3minit battery to my systemui(Ive done it on other devices with different versions of Android but this is the first time the smali folder was totally empty after decompiling
[Android Themes] Thebear j koss:
Is it a deodexed rom or is it stock or odexed? Smali will not appear if the apk is odexed.
[Android Themes] Sm0k3r83:
I used another app to deodex the APK, I've used it b4. It's stock Rom. No roms available for my device.
[Android Themes] Ticklefish:
Try opening the APK with 7Zip or something similar. If there's no classes.dex file in there then it's not deodexed. Either that or your rom had the classes inside another APK file. I haven't seen that before but it's not impossible, I suppose.

If there is a classes.dex file inside the APK then TMA didn't decompile it for some reason. In that case, could you possibly share your APK files (including the framework files)? I'll try it on my setup and see if I can find an answer.
[Android Themes] Sm0k3r83:
so I opened the UI file with winrar and there IS a classes.dex file. Would u like me to share the original framework and systemui or the ones I believe I managed to deodex?
[Android Themes] Ticklefish:
The ones you're using to decompile please.
[Android Themes] Sm0k3r83:
here's the link, and thanks https://drive.google.com/file/d/1bG0vEJkDJg6SP53Vw0gtPO90nyJNqX1q/view?usp=drivesdk
[Android Themes] ANDROIDXFOREVER:
hi [MENTION=4315551]Ticklefish[/MENTION] I do not understand the problem decompile the systemUI modifying and then compile it with original signature ok the first time then I make further changes then recompile it again with original signature and the program crasha does not recompile I do not understand i use windows 10 pro 64 bit thanks for any help
[Android Themes] Thebear j koss:
Need to post logs and history txt to see what the issue is. Should always work on original apk instead of modified apks, especially if frameworks are stock from device.
[Android Themes] ANDROIDXFOREVER:
thanks
[Android Themes] Ticklefish:
Thanks for your files. I can confirm that your decompiled APK doesn't contain any smali files.

However, I don't think this is an error. Your APK does have a classes.dex file inside it..but it's 156 bytes when uncompressed. I know smali files aren't big but I doubt that 156b is enough for anything. You do get a smali folder when the APK is decompiled so I think that might be all there is inside the file.

You'll need to look elsewhere for any smali files you can edit. Is there a SystemUI.apk in your rom that could be decompiled? Is there a ASUSSystemUI.odex that might contain the rest of the smali files? I think you need to do some detective work with this one.

I don't know why the program is crashing either. If it worked when you recompiled the original file but not when you recompiled the changed version, then I would suspect the issue is to do with the changes you've done.

You can rename "tool_files\rewrite\settings\DebugOff" to "DebugOn" if you want. This will open TMA in another window so, if it crashes, you get to see what the error message is that's displayed. This might help you work out what's going on.
[Android Themes] Supermatt01:
This isn't working with miui v9. I'm still trying to learn how to make it work anyway. Is there an update on the way for android N?
[Android Themes] Thebear j koss:
Apktool itself doesn't work with MIUI, need to search for a MIUI apktool to use.
[Android Themes] Supermatt01:
Thanks, I've been digging and this one is the easiest to use. Theming MIUI is hard to do.
[Android Themes] Thebear j koss:
Yup, but if you google how to theme miui there are some options available, it is just hard because it isn't built like stock android.
[Android Themes] Supermatt01:
Thanks, but I think I'm just going to give up. I've been trying a long time now and I'm kinda turned off about it by now. This was really my last ditch attempt for getting what I was after. Thanks for your suggestions though.
[Android Themes] kramer04:
hello

i have a weird issue.

yesterday all works fine but now when i try recompile there's nothing.

no logs, just only history.txt

it's like recompiler's TMA doesn't work at all.

Thanks for help.

Edit ; now it works again... very weird

:good:
[Android Themes] Ticklefish:
I like the sort of problems where I don't have to do anything.. :D
[Android Themes] kramer04:
Yes me too :highfive:
[Android Themes] kramer04:
Finally i can't recompile again. I don't understand why.

But if i decompile an apk then recompile it works :eek:

may be with logs you can understand this weird behavior.
[Android Themes] secretwolf98:
mod edit - quote hidden

On Windows 10, it says this .exe contains trojan malware.
[Android Themes] Thebear j koss:
[MENTION=8036553]secretwolf98[/MENTION] search the thread for Trojan and also never quote the entire OP.
[Android Themes] Ticklefish:
If TMA is crashing then please rename "tool_files\rewrite\settings\DebugOff" to "DebugOn", run the program again and tell me what is shown when the crash happens again.
[Android Themes] kramer04:
Just shown this :

Using Apktool Version: "apktool_2.3.1"

Recompiling Log Being Written To
"user_files\LOGS\rec_WorkArea2_aaa.app.com.samsung.android.app.notes.apk_08-03-2018@712.txt"
( était inattendu.

C:\TickleMyAndroid>

and no log as
[Android Themes] Muhammad Hatmi bin Saidin:
How to deodex on Oreo Rom??
[Android Themes] Ticklefish:
If your rom is Android 8.0. just follow the instructions in the OP.

If your rom is Android 8.1., or above, TMA isn't compatible yet.

It's possible that the filename is too long, or has too much punctuation in it. Try it again with a simpler filename, like "test.apk" or similar, and see what happens.
[Android Themes] Muhammad Hatmi bin Saidin:
if oreo 8.1.0 which apktool can deodex?
[Android Themes] Thebear j koss:
Apktool doesn't deodex, there is a program smali/baksmali that handles the dex files in apks. Changes odex to be readable code smali and back from smali into compressed dex. As of now I don't think there is an update to the program or any tools available that deodex entire 8.1 completely. More info in nerd language I will never understand can be found in this thread- https://xdaforums.com/pixel-xl/help/successfully-deodex-stock-oreo-systemui-t3685034/page3
[Android Themes] triskaw:
I'm trying to get all my icons transparent like this. How can I do it? Is it possible for all icons or only system apks?

I got the image from here https://xdaforums.com/crossdevice-dev/sony-themes-apps/tut-merged-wifi-signal-icons-lp-mm-t3408702
[Android Themes] Thebear j koss:
You want your app icons to look like those? Try the icon pack Nyon in the play store, or I like two pixel icons by Mowmo that have a similar look. Need a custom launcher like Nova to use icon packs as well...
[Android Themes] nhan1411:
Hi Tiklefish,

Is version 15.2 support android P DP1? I just want to try to decompile and recomplile system UI.
[Android Themes] Thebear j koss:
Try and report back. Let us know. If apktool can decompile and recompile android P system ui, then Tickle my android should work as well. Would most likely need to install android P framework to have it work.
[Android Themes] nhan1411:
I have tried. Decompiling works but recompiling does not. Attached is the history for your reference.
[Android Themes] nhan1411:
Hi Developer,

I wonder if you have looked into my issue yet.
[Android Themes] Thebear j koss:
You were answered here on the apktool thread- https://xdaforums.com/showthread.php?t=1755243&p=75917087

If you can't build yourself or add in and try beta apktools into this program, then you will need to be patient until a working apktool is released. Android P beta hasn't been out a week, devs need time to work on projects to update them to work.

Btw, i hate the stupid public beta updates Google puts out. Stupidest thing they have done since switching to material design, which was the stupidest thing they have done since an all white theme ui for their apps and system...
[Android Themes] nhan1411:
Thank you for your reply. As I am not familar with apktool, I don't know how to use that beta apktool. Maybe I have to wait until it is added to TMA.

By the way, I think the material design of android P is nice. All I hate is that they block substratum. That is such a stupid decision.
[Android Themes] methoddon1:
can someone please provide both framework files.. Samsung /Oreo.. thanx.

framework-res.apk and twframework-res.apk
[Android Themes] nguyentankiet:
Oreo have not twframework

https://mega.nz/#!9toWlYrQ!Yv6GX3JIyyvo3mvlvfDvewyTht5QrovSVaNjVpijtpA
[Android Themes] Dovanchuc7521:
Hello! How are you??
[Android Themes] alphamale:
Hello. I'm trying to mod system UI for 3minit battery. I created a flash able zip with just adding system UI apk. It flashes fine, yet no changes take effect. My original system UI still exists. I've do this before using the same process with other devices. Just wondering if maybe I'm missing a step. Does anything else needed added to zip file? Using Google pixel 2xl.
[Android Themes] Thebear j koss:
Is the naming of system ui apk the same? What android version, 8.1? P? Is your system odex? Deodex?
[Android Themes] alphamale:
8.1 name is the same. System is deodex
[Android Themes] Thebear j koss:
TMA is a program that uses apktool to work on apks. To use a different apktool than what came prepackaged in TMA, just download the apktool from the post I shared, and move it to the apktool directory inside TMA,. Now start TMA, go to settings and change apktool, choose the new apktool you just added.
[Android Themes] Ticklefish:
A long time ago I put an FAQ in the 4th post about changing apktool versions. I'm guessing it isn't read by a lot of people.. I'll have to see if I can put it into the 1st post somehow. The trouble is I don't want the post to have too much information in it or people won't read it at all!

The developer previews are a bit of a mixed blessing, really. It's nice to know what's coming in the next version (although waiting for an OTA update can be painful) but everytime they come out people want to be able to mod it straight away. Android P isn't even ready to be a daily driver yet..

Samsung has "samsung-framework-res.apk" these days, if I remember correctly. I don't know why they've changed it. I could say it's to get away from the name "Touchwiz" but I suspect it's just Samsung being difficult..

Can you share your history.txt please? If you're flashing without any trouble but the APK isn't changing, that suggests that either there's something wrong with where the APK is in the ZIP or that the recovery isn't flashing it correctly after all.
[Android Themes] Ticklefish:
One of the great things about TMA, apart from the fact that its developer is insanely handsome, is that it comes in different languages.

Sadly, despite my aforementioned good looks, I really only speak English, a small amount of French and one or two phrases in Japanese. So I am reliant on the kindness of other people to translate the strings in the program. And there's a lot of them. With every new version a few new strings get added to the list.

So I am incredibly impressed, honoured and humbled by [MENTION=5539344]FunSucker[/MENTION] who has recently shared an updated set of translations for "Bahasa Indonesia".

I'll be adding the file to the downloadable EXE soon but until then, if you want to take advantage of this, you can download the new file from here: https://drive.google.com/file/d/1eleh0NR2Gc9c8s45z2QqgqUttK2Rf4vo/view

This just goes in the "user_files\LANGUAGES" folder. Overwrite the existing file, start TMA and select the language in the Settings menu. It's really that simple.

If anybody would like to help translate TMA into another language, just let me know. Translators always get credited and it's a relatively simple, if not very exciting, task.

And, of course, people who help keep TMA going are officially the Coolest People On Earth. You want to join the ranks of the Elite....don't you?
[Android Themes] nguyentankiet:
Dont have
[Android Themes] Thebear j koss:
That happened to me when I had something defined twice somewhere. I tried to substitute a drawable for a color and it was defined as a color in a different folder.

Sent from my Moto G5S Plus using Thebear Blue XDA Labs
[Android Themes] kramer04:
Hello

sorry for OT

i'm trying to code just very simple sh file to use it in recovery

but it doesn't work

create this file

#!/sbin/sh

echo 'test sh file'

and updater-script

unmount("/system");
unmount("/data");
unmount("/cache");
run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/busybox", "mount", "/data");
package_extract_dir("tmp", "/tmp");
set_perm(0, 0, 0777, "/tmp/jsonfiles.sh");
run_program("/tmp/jsonfiles.sh");
delete_recursive("/tmp/jsonfiles.sh");
unmount("/system");
unmount("/cache");
unmount("/data");

But my sh file doesn't see echo command

If some can help me

Thanks
[Android Themes] edzamber:
Try this

#!/sbin/sh

echo "test sh file" >> /data/media/0/test.txt

and updater-script

unmount("/system");
unmount("/data");
unmount("/cache");
run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/busybox", "mount", "/data");
package_extract_file("jsonfiles.sh", "/tmp/jsonfiles.sh");
set_perm(0, 0, 0777, "/tmp/jsonfiles.sh");
run_program("/tmp/jsonfiles.sh");
delete("/tmp/jsonfiles.sh");
unmount("/system");
unmount("/cache");
unmount("/data");
[Android Themes] ANDROIDXFOREVER:
good morning everyone use windows 10 pro 64 bit decompile systemUI android 7.1.1 samsung edit and when you recompile the program closes and do not recompile I also tried to decompile and recompile without changing and the program closes the same ... I do not understand where it is the problem thanks for any help
[Android Themes] kramer04:
Thanks

I will try later
[Android Themes] edzamber:
Try to uninstall and re-install framework.

If it's not solved, re-install TMA
[Android Themes] Ticklefish:
Please rename "tool_files\rewrite\settings\DebugOff" to "DebugOn", then run the program again and let me know what is displayed when the program crashes.

This may be due to the filename. It's worth renaming the file to something short without any punctuation or spaces
[Android Themes] marioo007:
Best app
[Android Themes] ANDROIDXFOREVER:
Tickle My Android Version: "15.2.0.0"

WorkArea Set To "WorkArea1"

Apktool Version Set To "apktool_2.3.2.jar"

Using adb.exe Version:

Android Debug Bridge version 1.0.36

Revision fd9e4d07b0f5-android

Using smali.jar Version:

smali 2.2.2 (http://smali.org)

Copyright (C) 2010 Ben Gruver (JesusFreke@JesusFreke.com)

BSD license (http://www.opensource.org/licenses/bsd-license.php)

Using baksmali.jar Version:

baksmali 2.2.2 (http://smali.org)

Copyright (C) 2010 Ben Gruver (JesusFreke@JesusFreke.com)

BSD license (http://www.opensource.org/licenses/bsd-license.php)

Using aapt.exe Version:

Android Asset Packaging Tool, v0.2-eng.ibotpeaches.20151011.225425

Using oat2dex.jar Version:

Easy oat2dex 0.87

Running In Windows Version:

Microsoft Windows [Versione 10.0.16299.334]

Java Present In PATH Variable - "java version "1.8.0_161""

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

26-03-2018@1053 --- "_WorkArea1\_in\SystemUI.apk" sent to recompiler, from Quick menu
[Android Themes] ANDROIDXFOREVER:
I modified it in DebugOn and now it is blocked so doing nothing as you can see in the image
[Android Themes] Thebear j koss:
No we can't. Need to post that log that was written. It says systemui apk recompiling in progress on the screen.

Sent from my Moto G5S Plus using Thebear Blue XDA Labs
[Android Themes] Ticklefish:
The log was in the previous post, I think.

The error message is saying that the "(" wasn't expected. This is a puzzle as there's nothing obvious that's causing it.

Could I ask you to try not using the Quick Menu? Use the Theming Menu instead and see if the problem happens again.

It does happen again, please can you share your APK files and I'll try it on my setup.
[Android Themes] Thebear j koss:
Yeah I missed that, someone else posted a similar issue with the quick menu which I have never used. I always work out of the theming option.

Sent from my Moto G5S Plus using Thebear Blue XDA Labs
[Android Themes] ANDROIDXFOREVER:
MY APK : https://www.androidfilehost.com/?fid=746010030569964775

THANKS
[Android Themes] Ticklefish:
Did you try the Theming Menu?
[Android Themes] ANDROIDXFOREVER:
Thanks bro now all work :good::victory:
[Android Themes] FunSucker:
no no no, no problemo sir. I'm always glad to help :o

Hopefully it stays alive, simple, and innovate. :fingers-crossed:
[Android Themes] kramer04:
Hello

[MENTION=4315551]Ticklefish[/MENTION]

After an update of Win10 when i use Quick Menu i can't recompile. I have to decompile to be able to recompile and for each folder _WorkArea.

If i use Theming Menu, it works well

an other thing , hope you can help me

echo command doesn't work in sh file. For example, i've made a sh file to debloat some apk.

so i put these lines

rm -rf /system/app/OperaMax
echo "Delete OperaMax"

but in recovery i don't see echo command.

I don't understand why.

If you have an idea ?

Thanks a lot

:good:
[Android Themes] nguyentankiet:
Win10 1803 64bit work fine with TMA 15.2
[Android Themes] kramer04:
It works fine except Quick menu when i want to recompile as it does nothing
[Android Themes] nguyentankiet:
I mean it working all menu. Try disable Defender and install TMA again, remember ignore TMA folder in Defender.
[Android Themes] kramer04:
Already done with Defender

but everytime i've a win10's update i can't recompile with quick menu

I've to reinstall TMA to the last update of win10

:p