yashsingh1/xdaforums huggingface dataset:
[Android Themes] Ticklefish:
My work PC (where most of TMA's development secretly takes place) is running Windows 7 and the Quick Menu works fine on that. But I'll try the laptop at home. That's on Windows 10.

I can't think of any reason why the Quick Menu would work on one version of Windows and not another. There's nothing about the code that I can think of that would do that. Especially nothing that wouldn't affect the Theming Menu either. Oh well, I do so love a good challenge!

Regarding your other question, I don't have a lot of experience with scripts but I do have a few ideas.

The first thing to ask is does the rest of the code work? Do your files get deleted? If they don't, then the issue is with the script file itself. You'll need to check that the actual file is running. Does it have the right permissions, etc?

The second thing is...do you actually need a SH file for this? If you're just deleting files, why not use edify instead and put all the commands in your updater script? Edify scripts aren't as flexible as shell ones but it'll certainly do for just deleting certain files.
[Android Themes] kramer04:
What kind of log do you need , if i can help you to solve this issue ?

Because there are not log when i try to recompile with Quick Menu.

Yes the rest of code works, that's why i don't understand and thinking i don't use the command correctly.

I'm trying with sh file to understand the code :)
[Android Themes] Ticklefish:
I don't need any logs, the program isn't generating any because it's crashing. But if you could share your APK files (including framework files) then I can try this at home.

For your script issue, it might be worth trying the code without any quote marks.
[Android Themes] Ticklefish:
On a day like today, you'd be a fool not to use TMA...

Hint, hint, hint..
[Android Themes] Dovanchuc7521:
Hello sir! I have a problem with SystemUi of samsung 8.0. I decomp and recomp normally but when using only black screen and no statusbar. I have worked on many 7.0 files and it has not been that way. Can you help me?
[Android Themes] Ticklefish:
Please share your history.txt and I'll have a look.
[Android Themes] Mentalmuso:
The issue is specifically with the decompiling and recompiling of resources.arsc. using apktool alone results in a bad APK. Classes.dex is fine. I will download this tool and get a history.txt also. I'm trying the same on note 8 Oreo.
[Android Themes] Mentalmuso:
Here is my history.txt. All that was done was a decompile, and recompile with orig sig.

It results in a bad apk that doesnt load on boot. Though if the classes.dex file is copied from the recompiled systemui.apk to the original apk, then that boots fine. Though doing the same with resources.arsc (uncompressed) results in a bad apk.
[Android Themes] Ticklefish:
Looking through the last few posts on the apktool thread, it does seem that some of Samsung's Oreo APKs are doing strange things.

Unfortunately there isn't much I can do about it. You could always not use the changed resources.arsc but that'll drastically reduce your scope for modding.

I suggest posting about this on the apktool thread and including your APK's so the dev can take a look at it.

Samsung always seem to be causing problems. 9 times out of 10 if there's an issue with a strange APK in here, it's been made by Samsung. It's really not encouraging me to buy their products..
[Android Themes] Mentalmuso:
Yeah I figured, thanks for looking into it mate.
[Android Themes] Thebear j koss:
Try dragging resources from new apk into original using 7 zip or winrar.

Sent from my Moto G5S Plus using Thebear Blue XDA Labs
[Android Themes] Mentalmuso:
That doesnt work either. I tried everything.
[Android Themes] Thebear j koss:
Sorry, it was worth a shot. Someone else was having issues with Samsung not decompiling properly, layouts folders were being combined for some reason. May have to just wait it out until something is figured out... Samsung has always caused issues. One last thing to try may be to use an older apktool. Back on the S3 we had to decompile system ui with a new apktool and recompile with an older 1...

Sent from my Moto G5S Plus using Thebear Blue XDA Labs
[Android Themes] Mentalmuso:
Yes, I actually noticed that yesterday also. I'll try and raise an alarm to ibotpeaches about it.
[Android Themes] Thebear j koss:
Yeah, check his github repo for anything related.

Sent from my Moto G5S Plus using Thebear Blue XDA Labs
[Android Themes] porkyhontas:
Agreed, I think when I finally wear this N5 out I'm moving to something else -- don't know what else since I've been running Sammy for the past 6 or so years . Between the stupid .spr, pio, qmg, etc. files it's becoming nearly impossible to theme Samsung. Then add in some of the crazy stuff as mentioned above, it really makes it unbearable. Granted I'm still on Nougat, which hasn't been that bad other than the barrage of dumb image files, but Samsung MM sucked so I can imagine how Oreo is.

Sent from my SM-N920P using AnaKonda Tapatalk
[Android Themes] Mentalmuso:
Yeah ive been watching it closely, and i looks like after a week or so of no new commits, there is some new commits coming through tagged "testing" that refer to renaming resources. I built a snapshot but so far it still decompiles with the incorrect file structure. Good to see its being worked on though.

--->
[Android Themes] Thebear j koss:
Check out Motorola. I got a g5s plus and I love it. Only cost me 200$ at best buy. The g6 comes out soon for only 250$ I think.

Sent from my Moto G5S Plus using Thebear Blue XDA Labs
[Android Themes] Ticklefish:
I was considering a Nokia for my next handset, strangely enough. I've had Sony since even before I started using Android, and I do love their stuff, but it's getting harder to root them. My current phone is an XA1 and it can't be rooted without an unlocked bootloader..and my particular bootloader can't be unlocked.

I don't have a lot of money right now so Nokia seems pretty tempting.
[Android Themes] Thebear j koss:
I was all over the place, but learned everything I know about android from Samsung. I can't justify a 700$-1000$ phone, so the mid range cheapo priced Motorola g5s plus was my choice. I love it, easy root and unlock. Some decent support and custom roms, Motorola stays as close as possible to stock android and I have a good rom with substratum, i am happy with my purchase. Would definitely get another Motorola. Plus i am not locked into any contract which is a huge plus. 40$ a month unlimited through t mobile.

Sent from my Moto G5S Plus using Thebear Blue XDA Labs
[Android Themes] Ticklefish:
This is a little off-topic but I am requesting help from people.

A little over a year ago I started work on a theming mod. It's not that exciting, in all honesty. It's nothing that's going to change the world but it is a bit of fun.

Unfortunately my job changed so I didn't have the same access to a PC that I did, my phone screen cracked so I had to get a new one and the new one can't be rooted, my wife fell ill so I spend a lot of time looking after her and blah blah blah I didn't get any further with the mod.

I'm now at the stage where I can pick up where I left off. But I have no phone I can work on.

What I'm after is a favour from anybody here who's feeling kind. If anybody would like to help, could you please share your SystemUI.apk and the relevant frameworks and let me know what phone, rom and version of Android it's from? I'll then make the mod and send the files back in a ZIP. If that person could then flash the ZIP and share either an animated GIF or video of their homescreen including the new nav bar, I'll include it in the new thread I'll be writing.

Anybody whose files I use will be fully credited, of course. And it's a great way to show off your artistic skills if you've got a homescreen you're particularly proud of.

Nobody has to do this, by the way. Apart from the credit, I can't offer anything in the way of payment or a reward. And I won't hold it against anybody if they don't want to share.

But I would be very grateful if somebody did.

Thanks in advance!

(By the way, this is the sort of mod I had in mind..)
[Android Themes] Dzepar:
Samsung galaxy s3 i9305

Los 14.1

Android 7.1.2

Have fun :)

https://drive.google.com/file/d/1YlZGnHQRGlfkHRT6_PJGqiLdepGkNPhF/view?usp=sharing
[Android Themes] Ticklefish:
Thank you. Unfortunately this is a navbar mod and Samsung devices wouldn't work out.

I really do appreciate the offer though. :highfive:
[Android Themes] kramer04:
I can't recompile with Quick Menu only if i have a Windows update. Are there any key register or inf files to change ?

Thanks for your help. But it doesn't work
[Android Themes] Ticklefish:
NEW VERSION AVAILABLE!

​

I've just uploaded v15.3. to my Mediafire account. This has updated smali and baksmali files (still no sign of 8.1 deodexing, sadly), as well as Apktool v.2.3.2. which was released two days ago.

I've also reworked the recompile screen (you'll know what I mean when you get there) to make it a little clearer. There are so many options when you recompile a file now that this screen was getting messy and unreadable. Hopefully it makes a bit more sense now.

And I've also added yet another recompile option. Apktool v.2.3.2. comes with the option to support "aapt2" when you're recompiling files. Apps are being constructed with aapt2 more frequently these days and, if your APK was made with aapt2 and you don't use this option, your recompile could fail. Conversely using this option on a file that was made with aapt1 could stop that from working as well. It's still early days for aapt2 support so how apktool uses it could change. But TMA will change along with it as well.

For now, if your APK/JAR works without using aapt2, you don't need to use this option. If it doesn't, you might as well give it a try.

Please note that, with more and more apps being built with aapt2, I won't be able to help if your files don't recompile properly unless you've tried with aapt2 support and without.

Head to the OP and grab your copy of the Greatest Theming Tool ever now!
[Android Themes] Tulsadiver:
Nexus 5X stock

8.1 April revision deodexed

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

Pixel 2 stock

8.1 April revsion deodexed

https://www.androidfilehost.com/?fid=890129502657596943
[Android Themes] Tulsadiver:
[MENTION=4315551]Ticklefish[/MENTION], I hope you don't mind but I sent you a pm concerning a deodexing issue.
[Android Themes] Ticklefish:
Thanks for the files, that's very generous of you.

And I'll reply to your PM in a moment :)
[Android Themes] Thebear j koss:
[MENTION=4315551]Ticklefish[/MENTION] for some reason I can't decompile anything anymore. Tried using newest TMA and previous version which was working but now just closes TMA as soon as I choose any decompile option. Not sure if Windows updated something but whatever troubleshooting I have done, the TMA window just closes after choosing any decompile option. Win 10 btw...

Sent from my Moto G5S Plus using Thebear Blue XDA Labs
[Android Themes] kin201303:
Win 10 cann't work you doownload my file put all in TickleMyAndroid /tool_files

the file is my friend give me work for Win 10

my english is bad
[Android Themes] Ticklefish:
Are you still having trouble with this? If so, have you tried TMA v15.2 (the previous version) with the previous version of Apktool?

I doubt the apktool update is behind this but it's worth testing every possibility..

I've tested v15.3 on my work setup, which is using Windows 7. I did discover a small bug in the code relating to automatically recompiling after decompiling, but that wouldn't stop it from actually decompiling.
[Android Themes] Thebear j koss:
Sorry, haven't tried. Super busy at work right now and too beat to stare at a screen and theme. Will test some tomorrow. It did start cutting out on 15.2, so i updated to 15.3 and it still cut out on decompile selection. It may be a strange symbol in apk name or extra space or something, will try again tomorrow. Thanks.

Sent from my Moto G5S Plus using Thebear Blue XDA Labs
[Android Themes] Ticklefish:
Can you flash this ZIP please and let me know what happens? (Nothing bad should happen, I just modded your navbar :))
[Android Themes] Tulsadiver:
Which phone?

Never mind. It was for the pixel 2.

Your zip doesn't work on the dual boot pixel.

Questions. Was the SystemUIGoogleApril.apk supposed to be named that or renamed to just SystemUIGoogle.apk?

Was there supposed to be a resources.zip inside the SystemUIGoogleApril.apk?

Edit 2

I unzipped the SystemUIGoogleApril.apk, took out the resources.zip, put the remaining contents in a pixel friendly zip, and low and behold, an animated home button! The cat is running it's tail off. Good work!
[Android Themes] Ticklefish:
Yeah, I just kept the same name as the APK you gave me.

But the main thing is the home button. Looks like I need to change the background image from showing still.

Does the button still work? And is it definitely animated?
[Android Themes] Tulsadiver:
Yes to both!

Hard to do with all the various phones, some being in drawable-xxxhdpi, some in drawable-xxhdpi, etc.
[Android Themes] Ticklefish:
The images just need to be in the same *dpi folder that your device is using. Or in the "drawable" folder. It's too much effort to make these in different resolutions.

That's the mod I was playing with before I ended up with an unrooted phone. I'll make some tweaks to the code to get rid of that white circular background and I'll send you another ZIP if that's okay.

I have many animations, I just picked the cat as..well, it's one of my favourites to be honest!
[Android Themes] Tulsadiver:
Sounds good
[Android Themes] Ticklefish:
Here's a slightly modified version. Please let me know what happens. If all is good, I can get to work on making a thread about this. :highfive:
[Android Themes] Tulsadiver:
Looks great!
[Android Themes] ANDROIDXFOREVER:
I'm looking for help to move the clock to the center in the statusbar of android oreo can you help me? thank you:good:
[Android Themes] Tulsadiver:
Move the entire clock code to just under this code:

xmlns:SystemUI=http://schema's.android.com/apk/res/com/android.systemui">

Change width to fill_parent, change gravity to just center, remove all padding. Add the code below to remove cc from lockscreen however, your system icons will show instead.
[Android Themes] ANDROIDXFOREVER:
thanks bro but was it for a samsung rom this code looks like a google rom?
[Android Themes] Tulsadiver:
It is but should be the same premise.
[Android Themes] ANDROIDXFOREVER:
because I know that with Android nougat there is much more code to modify
[Android Themes] Tulsadiver:
That method has worked for me on marshmallow,nougat, and now P
[Android Themes] ANDROIDXFOREVER:
therefore it is sufficient to replace the original code with this code?

<com.android.keyguard.AlphaOptimizedLinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="fill_parent" android:layout_height="fill_parent">
[Android Themes] Tulsadiver:
That is just a portion. Upload your decompiled status_bar.xml

Edit:. That particular code was added in order to hide the CC from the lockscreen. You still have to change your clock code as I indicated in my first reply.
[Android Themes] ANDROIDXFOREVER:
thanks bro I'm downloading the rom decompile the systemUI and I send you the status_bar.xml file:o:good:
[Android Themes] libracez:
hi guys, can i use this programm to create custom mods for unrooted s8+ for a stock oreo rom, can someone navigate me to some guide how i can do this (statusbar, icons on notification center especially)
[Android Themes] ANDROIDXFOREVER:
ok i send my ststus_bar.xml in my version of android the 7.1.1 when I touch the clock block the screen and can also add it here and since you are kind and complicated to move the wifi and signal to the left? thanks logically I would like to make a donation for your time thanks
[Android Themes] Tulsadiver:
You want it to look like this?

I'll also need your system_icons.xml

Edit:. This phone does not have a Sim card so no data icon.

Edit:. Strike that. I'll tell you what to do with your system_icons.xml

Change batterymeterview to this:

<com.android.systemui.BatteryMeterView Android:Id="@id/battery" android:layout_width="0.0dip android:layout_height="0.0dip android:visibility="gone"

Try this status_bar.xml. If it doesn't work, pm me. I don't want to keep messing up ticklefish's thread.
[Android Themes] ANDROIDXFOREVER:
my device is note 8 samsung dual sim and exactly what I wanted to do on the clock can I lock the screen? thank you :D
[Android Themes] Tulsadiver:
You can lock the screen but there is going to be a lot of icons showing on your lockscreen where before it was blank.
[Android Themes] ANDROIDXFOREVER:
yes it's not a problem you can hide only middle clock from lockscreen? thank you
[Android Themes] Tulsadiver:
Yes.
[Android Themes] ANDROIDXFOREVER:
thanks bro for your help :D:good:
[Android Themes] Tulsadiver:
I forgot one last edit or you will get double icons on lockscreen.

keyguard_status_bar.xml.

Put android:visibility="invisible" right after android:id="@id/system_icons_container" which is somewhere around line 8.
[Android Themes] ANDROIDXFOREVER:
ok I send you thanks ... this is my lockscreen now with Android 7.1.1 note8
[Android Themes] Ticklefish:
Not really, no.

This is designed for modifying apps. You can't change the apps that control the appearance of your phone unless your phone is rooted.

You could try looking at Substratum www.xda-developers.com/custom-themes-android-oreo-substratum/amp/. That can run on unrooted Oreo and can let you create your own themes.
[Android Themes] libracez:
I have substratum, with is possible to change statusbar only for the like on pixel .. but my point is to change statusbar icons for something else, I dealed with it on nougat with custom themes (from someone) for Samsung themes engine let's say.. but now for oreo it's not a lot custom, but I couldn't find how to create this kind of themes
[Android Themes] Ticklefish:
I don't know if Samsung's themes can change status bar icons on Oreo. If they can't, you'll need to consider rooting your phone.
[Android Themes] Venom0642:
My Wicked Venom theme S9 Plus Oreo.
[Android Themes] Venom0642:
So this is made by me with TickleMyAndroid and been doing custom Samsung themes since Note 5 , so yes icons can be changed in a Samsung theme even the toggles can be changed in Oreo the 4G LTE is stock thought but if i wanted to change it i can lots can be changed on a custom Samsung theme like my Wicked Venom Theme. Also you don't see AT&T name on status bar left corner or in notification since i edit it in my Samsung Wicked Venom theme to be hidden wifi icons can also be changed, as you see my navigation icon is in my theme as well and i also added in my theme animation scales to be much faster as you see here.

All this can be added to a custom Samsung theme. Just thought i reply the question that was asked.
[Android Themes] Venom0642:
Few more things as you can see. Edit: No root AT&T has no root.
[Android Themes] Ticklefish:
Very nice work!

(I won't comment on the lady in the background - Mrs Fish has very good vision at times!)
[Android Themes] Venom0642:
Transparency settings ,wallpaper at Homescreen lol.

---------- Post added at 08:32 PM ---------- Previous post was at 08:30 PM ----------

Thanks to TickleMyAndroid tool .
[Android Themes] ANDROIDXFOREVER:
congratulation nice work :D
[Android Themes] Ticklefish:
I like the problems that resolve themselves. Makes my life so much easier! :highfive:
[Android Themes] Albe96:
Yeah! ;)
[Android Themes] Ticklefish:
NEW VERSION AVAILABLE!​

I've just released v15.4 of everybody's favourite theming tool. I was going to hold onto it for a little bit longer while I make some tweaks but then a new version of apktool came out, so this seemed like good timing.

V15.4 has that new version of apktool in it, apktool_2.3.3.jar to be precise, but it also can now deodex Oreo 8.1 roms! (Many, many thanks to [MENTION=5346465]Tulsadiver[/MENTION] for all their help)

Automated deodexing is getting more and more complicated with every version of Android so, as ever, I can't 100% guarantee that it'll work on every rom. So just make sure you make a backup first!
[Android Themes] louforgiveno:
Thanks [MENTION=4315551]Ticklefish[/MENTION] !!

This is an amazing tool

Sent from my God Mode 8
[Android Themes] Fikri:
How to fix.. brut caused java.util.zip.ZipException = Zip file is empty ?
[Android Themes] Tulsadiver:
TMA makes log files. Include those when needing help.
[Android Themes] Fikri:
Help I'm recompile UI but in LOGS is Decompile

This log :

Decompiling "SystemUI.apk",

in workarea "_WorkArea1", using "apktool_2.3.1.jar"

With Debug Info Disabled

With Tickle My Android 15.1.0.1

(tinyurl.com\ticklemyandroid)

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

Installed Framework File(s):

framework-res.apk [1.apk]

twframework-res.apk [2.apk]

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

I: Using Apktool 2.3.1 on SystemUI.apk

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.DirectoryException: java.util.zip.ZipException: zip file is empty

at brut.androlib.ApkDecoder.hasResources(ApkDecoder.java:307)

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

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

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

Caused by: brut.directory.DirectoryException: java.util.zip.ZipException: zip file is empty

at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:55)

at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:38)

at brut.directory.ExtFile.getDirectory(ExtFile.java:52)

at brut.androlib.ApkDecoder.hasResources(ApkDecoder.java:305)

... 3 more

Caused by: java.util.zip.ZipException: zip file is empty

at java.base/java.util.zip.ZipFile$Source.zerror(Unknown Source)

at java.base/java.util.zip.ZipFile$Source.findEND(Unknown Source)

at java.base/java.util.zip.ZipFile$Source.initCEN(Unknown Source)

at java.base/java.util.zip.ZipFile$Source.<init>(Unknown Source)

at java.base/java.util.zip.ZipFile$Source.get(Unknown Source)

at java.base/java.util.zip.ZipFile$CleanableResource.<init>(Unknown Source)

at java.base/java.util.zip.ZipFile$CleanableResource.get(Unknown Source)

at java.base/java.util.zip.ZipFile.<init>(Unknown Source)

at java.base/java.util.zip.ZipFile.<init>(Unknown Source)

at java.base/java.util.zip.ZipFile.<init>(Unknown Source)

at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:53)

... 6 more

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

Decompile Not Successful!
[Android Themes] Ticklefish:
Your APK appears to be empty..:confused:

Try doing this again with the latest version of TMA and the latest version of Apktool. If you're still having trouble, it may be a problem with the actual file itself.
[Android Themes] Fikri:
Maybe the problem is SystemUI.apk

Because I try to DcRc twframework.apk is succesfull
[Android Themes] Ticklefish:
Can you share your APK's please?
[Android Themes] Fikri:
https://mega.nz/#!0RVmjApI!DcnXwX2WRpvCBknnjFpRqJXeB0rh3YkyZpHRheboROM
[Android Themes] Ticklefish:
Thank you. Could you share your framework APK files as well please? I won't be able to decompile it properly otherwise.
[Android Themes] hypnos17:
i had two TickleMyAndroid folders :D

Sent from Galaxy Tablet
[Android Themes] Ticklefish:
Lol :p
[Android Themes] mzizou10:
Hey Works.

How you made it? are you used SemcGenericUxpRes.apk?

Tell me my wrong:

1. put framework and systemUI into _in folder

2. install framework-res.apk

3. decompile systemUI

4. put battery icon into systemUI

5. recompile systemUI

6. prepare systemUI

7. make zip file
[Android Themes] Ticklefish:
Well, that's pretty much what I did. I did install SemcGenericUxpRes.apk but that's not used for de/recompiling SystemUI.apk.

If your zip didn't work, it's worth checking that you're using the latest version of the tool, or that you're putting the apk in the right folder. Or that you're not getting any errors when de/recompiling.