yashsingh1/xdaforums huggingface dataset:
[Android Themes] zerolam:
oh dear

I saw your post but i fail, I can't confirm where I made mistakes.................

https://xdaforums.com/android/general/guide-how-to-remove-lockscreen-t3819931

I can decompile and recompile the SystemUI.apk without error but bootloop.

I tried to decompile and recompile the SystemUI.apk without modification, bootloop again.

I used APKTool / APK Easy Tool

the following is my steps (APKTool)

1) using root explorer (mixplorer) to copy [/system/priv-app/SystemUI/SystemUI.apk](Phone) and [system/framework/framework-res.apk](Phone) to PC

2) CMD >

apktool

apktool if framework-res.apk

apktool if systemui.apk

apktool d systemui.apk

apktool b systemui.apk

(without any modification)

(no error message)

3) copy the [META-INF] Folder and [AndroidManifest.xml] from the "Original SystemUI.apk" using 7zip to [systemui/build/apk/](PC)

4) CMD >

apktool b systemui.apk

5) using root explorer (Mixplorer) to copy the modified [Systemui.apk] from [systemui\dist\](PC) to [/system/priv-app/SystemUI/](Phone)

6) reboot phone > bootloop

So, now, I am looking for another method

Actually I almost give up
[Android Themes] Tulsadiver:
First of all, you should be using ticklemyandroid.

You got some of that backwards. You copy to original apk, not from original to modded and even then, just what you changed ( resources.arsc and super_status_bar.xml)

No need to install systemui.apk, just frameworks.

I always use a vrthemer.
[Android Themes] zerolam:
the following is my new steps

1) using root explorer (mixplorer) to copy [/system/priv-app/SystemUI/SystemUI.apk](Phone) and [system/framework/framework-res.apk](Phone) to PC

2) CMD >

apktool

apktool if framework-res.apk

apktool d systemui.apk

apktool b systemui.apk

(without any modification)

(no error message)

3) copy the resources.arsc (new systemui.apk\) and super_status_bar.xml (new systemui.apk\res\layout\) to original systemui.apk.

4) using root explorer (Mixplorer) to copy the modified original [Systemui.apk] to [/system/priv-app/SystemUI/](Phone)

5) reboot phone

is this right?

btw, I am trying to use TMA
[Android Themes] Tulsadiver:
That is my understanding. Like I said, I personally use a vrthemer but that is essentially what it does as well.
[Android Themes] alphamale:
What is vrthemer?
[Android Themes] Tulsadiver:
A zip you flash in TWRP to modify your phone.
[Android Themes] zerolam:
Is this?

https://xdaforums.com/showthread.php?t=2774436
[Android Themes] Tulsadiver:
Yes, sir!
[Android Themes] alphamale:
So if I wanted to try 3minit would I decompile edit recompile then unzip and but just modded files in vr themer is that correct
[Android Themes] Tulsadiver:
Yes, that is exactly how it works.
[Android Themes] Ticklefish:
Tickle My Android v16 is now officially available!

I've updated the first three posts in the thread with new instructions and I've uploaded a slightly updated version (16.0.0.2) to the download tab. This has a few minor tweaks as well as an option for using the tool in French! (Many, many thanks go to [MENTION=6976870]Yoanf_26[/MENTION] for their amazing generosity!)

If anybody else feels like helping to translate the tool, they're more than welcome. There are a lot less strings now than there used to be..

V16 is quite a bit different from previous versions of the tool so make sure to read the posts to know how to make the most of it!
[Android Themes] zerolam:
Error - File Not Pulled

the log

I am using ver.16.0.0.2 - 64 bit

ver15.5.0.1a - 64 bit. is work for me.
[Android Themes] Ticklefish:
The pull option isn't working, eh? No problem, I'll look into it and get it fixed.
[Android Themes] zerolam:
is the first page removed in v16?
[Android Themes] Ticklefish:
V16 is a complete redesign. That first menu doesn't exist anymore.
[Android Themes] Ticklefish:
Try v16.0.0.3 in the downloads tab. ;)
[Android Themes] Yoanf_26:
My pleasure for translate
[Android Themes] zerolam:
still fail

getting the same issue

maybe, all the issues are caused by my windows...............fail to recompile, fail to pull file, fail to ........

anyway thankyou so much
[Android Themes] zerolam:
still fail to boot into system with recompile systemui.apk with/without modification.

there are three situations i faced

1) stuck on boot animation

2) boot into home launcher directly, skipped the lockscreen

3) black screen after boot animation

I am thinking whether the issues are caused by my computer system (amd2700, windows 7) or my phone (oneplus 2, android 9.0, Havoc)

here are my systemui.apk and framework-res.apk

could someone test for me?

https://drive.google.com/open?id=1EDC45C1_q5yLmzkhF-93p9eQDRlemoBq

https://drive.google.com/open?id=1LCfJjHR3hg0vCci2733ZNzyzd0_nLi8s

thankyou so much
[Android Themes] Tulsadiver:
You need to start with stock rom. Once you can get it working, then move on to a custom rom. The custom rom could very well be the problem.

Each phone has its own challenges. A/B devices even more so. I have tweaked this to work on my Pixels. You are welcome to give this vrthemer a try.
[Android Themes] zerolam:
I will try with my stock Nexus 5, Android 6.0

Maybe, I have to uninstall and reinstall all the tool.

Is there any thing I should place attention on? Nexus 5, stock Android 6.0

Verison of Apktool?

Btw, how to use your zip?
[Android Themes] SirRoy:
Decompiling and recompiling an Android app

still fail to boot into system with recompile apk with/without modification.

there are three situations i faced

1) stuck on boot animation

2) boot into home launcher directly, skipped the lockscreen

3) black screen after boot animation

Help Please
[Android Themes] Tulsadiver:
Apktool, I would use 2.3.2

This is a vrthemer. Unzip your recompiled apk. You can either put just the modified part in or everything but the META-INF and androidmanifest.

Everything goes into the vrtheme folder.

system/priv-app/SystemUI/SystemUI.apk folder for your systemui. The framework path would be system/framework/framework-res.apk.

The folder names and paths must remain just like you see them when the apk is unzipped. For just a status_bar.xml in SystemUI.apk:

res/layout/status_bar.xml
[Android Themes] Tulsadiver:
Ticklefish, your v16.3 version is really nice. Really fast.

Mouse control works well.

Pulll file from any location isn't working (needed for pixel phones since pulling SystemUI doesn't work on SystemUIGoogle.apk). You probably already know this but just in case. Not a big deal. SystemUIGoogle.apk recompiled even though it has a bad 9.png file. I always had to replace it before. Great job!
[Android Themes] zerolam:
finally, my nexus 5 (android 6.0) boots into system successfully without problem

I am using apktool 2.3.2

but I am facing another problem when I recompile the systemui.apk (android 9.0)

I got the following error

how can i fix it?

C:\Users\TEST\Desktop\APKTool>apktool b systemui
I: Using Apktool 2.3.2
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
W: ERROR: 9-patch image C:\Users\TEST\Desktop\APKTool\systemui\res\drawable-xxhd
pi\pip_dismiss_scrim.9.png malformed.
W: No marked region found along edge.
W: Found along left edge.
W: ERROR: Failure processing PNG image C:\Users\TEST\Desktop\APKTool\systemui\re
s\drawable-xxhdpi\pip_dismiss_scrim.9.png
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit
code = 1): [C:\Users\TEST\AppData\Local\Temp\brut_util_Jar_6393480128239081521.
tmp, p, --forced-package-id, 127, --min-sdk-version, 28, --target-sdk-version, 2
8, --version-code, 28, --version-name, 9, --no-version-vectors, -F, C:\Users\HAN
G\AppData\Local\Temp\APKTOOL3861349953676529260.tmp, -0, dex, -0, arsc, -0, pb,
-0, arsc, -I, C:\Users\TEST\AppData\Local\apktool\framework\1.apk, -S, C:\Users\
TEST\Desktop\APKTool\systemui\res, -M, C:\Users\TEST\Desktop\APKTool\systemui\An
droidManifest.xml]
[Android Themes] Tulsadiver:
Replace that 9.png with this one. Just rename it first by removing the .zip from the name. It wasn't actually zipped.
[Android Themes] zerolam:
bootlooping without modification

android 9.0

Havoc, AOSP custom rom

apktool: tried 2.3.2, 2.3.3, 2.3.4, 2.4.0

using the same method I used to let Nexus 5 android 6.0 (stock rom) booting into system without error.

it may be cased by AOSP custom rom

waiting for the new apktool version 2.4.1
[Android Themes] Tulsadiver:
Your problem isn't ticklemyandroid, smali, baksmali, or apktool related. I'd be happy to help you out with a installer that might work but I hate to keep posting it here in the ticklemyandroid thread. If you want to post in one of my threads in the theming section of any of the Pixel forums, I'll see what I can do.
[Android Themes] zerolam:
you are right

sorry for off-topic here
[Android Themes] mytuhuyennninh:
Thanks , and thanks
[Android Themes] Raiz:
Hi there , I had some problems with apktool, in fact I tried to decompile framework-res.apk (Android 9.0) in apktool but apktool (windows) thinks the framework-res.apk file is corrupted ( he replaced values with dummy values called APKTOOL_DUMMY, see this for more info)

And I tried on a framework-res.apk (Android 7.0) that I successfully decompiled with my previous version of apktool ( on Linux )

But still those dummy values.

I think my apktool config is wrong , may I have any clues ?
[Android Themes] Thebear j koss:
Need another framework installed. If apktool doesn't have the resources to identify those files, it just "dummies" them so not to cause an error or break in the command.

Sent from my PH-1 using Thebear Blue XDA Labs
[Android Themes] Raiz:
I actually installed the frameworks with the command :

java -jar apktool.jar if framework-res.apk

And I also installed SystemUI.apk using this :

java -jar apktool.jar if SystemUI.apk

Since I'm using a non-odexed ROM,I know that the SystemUI.apk file is complete ( without the missing parts stored in SystemUI.odex )

But I still hesitate , should I also install the .jar file that we can find in the framework folder ?

Or did I forgot something?

PS: I used aapt2 and aapt to compile the APK because it gave me better feedbacks on what was wrong. But I also tried without that and it still showed me errors.

Thanks for your answer, I know that you've been here (in XDA) a looong time, and I know that your guidance to other users helped me many times,so I wanted to thank you for that now ( because at that time I was a newbie that didn't know how to use the thank button :silly: ).

Thank you :highfive:
[Android Themes] Thebear j koss:
Which device are you using? Most devices have a secondary framework apk, in Tickle My Android, i believe there is an automated command to pull and install all necessary framework files.

Sent from my PH-1 using Thebear Blue XDA Labs
[Android Themes] Raiz:
I'm using a custom ROM ( Evolution X 2.0 ) on my Nextbit Robin. I'm running Android Pie.

Oh, and yeah, I used the automated command to install frameworks on TMA and then I tried manually with apktool as I used to do before.

I'll search for other files that may be a framework , I'll let you know in one second.

Thank for your answer ?

Edit #1: I checked thoroughly and there isn't any other apk I can install.

If you have any other ideas , I'll take them with pleasure.
[Android Themes] ricardo2511:
Anyone know why i cant change my workarea? When i try to change it pressing the option "change workarea" pressing number 7 it just closes down, so im unable to change it. If anyone has a solution i would really appreciate it!
[Android Themes] Tulsadiver:
Those dummy files won't prevent you from recompiling your framework-res-apk or SystemUI.apk. That being said, modding a custom rom is not always possible.
[Android Themes] Raiz:
But that's what aapt2 pointed me when I tried to recompile, it pointed me all the lines where dummy values were.

I tried on 2 different framework-res.apk (Android Pie And Nougat) , but always, I got in the same file (attrs.xml) at the same lines apktool dummies.

Edit #1:

I used to decompile and recompile successfully the Nougat framework-res.apk with an older version of apktool on my older Linux Ubuntu desktop.

Now that I switched back to windows, things are getting crappy again :rolleyes:

But you made me realize something: when I decompile the APK, apktool replaces unread values with dummy values. So it my have something to do with apktool itself or not the good frameworks install or something else.

What's sure is that something is wrong at the beginning of the process , and dummy values as well as the inability to recompile are only the results of a previous error occurred because ... God knows why!
[Android Themes] Tulsadiver:
don't use aapt2

I get the best results from apktool 2.3.2 It's all I use unless modding android 10

https://www.androidfilehost.com/?fid=6006931924117892396
[Android Themes] Raiz:
Thanks for your answer.

I actually tried to decompile the framework-res.apk with the apktool version you gave me.

But unfortunately, apktool won't decompile correctly this APK nor some others (like the other framework-res APK from Nougat).

I think I'll just give up on this project.

But I wanna try one last thing : could you decompile my framework-res.apk , then compress it and send it though AFH ? I understand 100% if you don't want , because it takes time and I don't want to bother you.

If you want , what I need you to do is to "apktool if systemUI.apk" and "apktool if framework-res.apk", decompile the framework-res.apk with your PC and compress the output files in a zip file to send them through AFH , Dropbox or something.

It would be awesome if you could, but I , again, 100% understand if you don't want.

If what you sent me contains apktool dummy values , I'll open a bug report on the apktool bug tracker on GitHub. But before doing that I want to unsure it's a problem from apktool by trying this out on another PC

Thank for your help looking into the issue.

Have a good day :)
[Android Themes] Tulsadiver:
I'd be happy to. Upload your files.
[Android Themes] Raiz:
Thanks man I really appreciate it ??

• SystemUI

• Framework-res

Here you go , thanks again ?
[Android Themes] Tulsadiver:
Here you go.

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

I used ticklemyandroid.

Edit. Here's a copy using just apktool

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

---------- Post added at 07:34 AM ---------- Previous post was at 07:11 AM ----------

I have a question for all the great devs out there that use ticklemyandroid. It is oneplus 6 related but there might be other phones out there with the same problem. I can edit classes.dex and xml files but any edit to resoursces.arsc and a bootloop occurs. I've tried signing, vrthemer, original apk with only the resources.arsc replaced, zip normally, zip stored, install by copying directly, install zip, Magisk module..... nothing has worked. Does anyone have a suggestion or a work around?
[Android Themes] Raiz:
Thanks for all the help you provided, you and [MENTION=4916750]Thebear j koss[/MENTION].

I just seen what was inside the zip and it's an issue that will probably be fixed in some next release of apktool.

That's an apktool issue.

I'll open a bug report on GitHub so iBotpeach ( the creator of apktool) have a look into this.

I read that similar things happened to other people so that definitely not a single problem.

And I think it touches only the framework-res.apk file ( because I hadn't this issue theming other apps like XDA Labs ).

Again thanks for all the help.

Have a good day ?
[Android Themes] Raiz:
Just to finish the apktool dummy issue, I opened a bug report on GitHub:

https://github.com/iBotPeaches/Apktool/issues/2104

Describing my issue that wasn't as rare as I thought.

Feel free to check it and ask for modifications.
[Android Themes] Raiz:
I'm not a great dev at all lol but it might be because you forgot the -c argument at the end of your command. This argument keep the system signature unchanged , it prevents the device from rebooting each time. ( Idk but I think you know this already but anyway )

Just use apktool without TMA for this time and when you want to recompile enter this command:

apktool b framework-res.apk -c

Ensure you don't make mistakes when modifying the code , good luck with this ?
[Android Themes] bobfrantic:
Hi there [MENTION=4315551]Ticklefish[/MENTION] , been awhile that I have tried to modify things, Pie seems so difficult to work with in some areas in my Galaxy S9+. What I am wanting is in my qs_status_bar_clock.xml, I have managed to be able to add seconds to the clock. But unless I specify a color, like "android:textColor="#ffffffff" for white, it stays a dark color that is hard to see with dark wallpapers. I know if the clock is left stock it can change to go to light on dark backgrounds and dark on light backgrounds. Just wondering how I can get the seconds clock to do the same.... it is not visible on white backgrounds at the moment.

Here is the xml:

<?xml version="1.0" encoding="utf-8"?>

<TextClock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:id="@id/clock" android:tag="status_bar_clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:minWidth="10.0dip" android:singleLine="true" android:textColor="#ffffffff" android:format12Hour="h:mm a" android:format24Hour="H:mm:ss "

xmlns:android="http://schemas.android.com/apk/res/android" />

Thanks in advance for any assistance... :D
[Android Themes] starbucks2010:
Am I blind or the v16 links are missing from the OP?

Thanks.
[Android Themes] Ticklefish:
Apologies for not being online much lately. My life has had a dramatic change - I am looking at a divorce and I haven't seen my kids in ages. (It's a long story but it's my fault really).

I'm not going to close this thread but development on TMA has pretty much stopped for now. Since less than 200 people have downloaded the latest version in the month since it was downloaded, I'm guessing it isn't needed as much as it used to be anyway.

If anybody's interested in taking the project over, let me know.

This is one of the options in v16. TMA can decompile and recompile with pretty much all the options that apktool has.

It's probably easier just to enable the SystemUI Tuner and use that.

They're still in the downloads tab.
[Android Themes] Raiz:
Hi man, I see you're having a hard time, you have all my support man.

I'm personally not interested in take the project over but thanks for asking.

I'll be around here to answer potential questions about TMA since it's based on apktool, but that's all I can do.

Take care of yourself, hope you'll figure your situation out.

Stay strong :highfive:
[Android Themes] bobfrantic:
I tried that buy doesn't work for me go figure...
[Android Themes] Tulsadiver:
There are apps for it. Nova launcher has a built-in utility that launches systemui tuner. You can even uninstall it afterwards and the changes stick.

---------- Post added at 08:24 PM ---------- Previous post was at 08:07 PM ----------

Sorry, ticklefish. You're a good man. I've been through one myself. It's a hard on everyone involved. I wish the best for you and yours.

You have ticklemyandroid in wonderful shape. There are several people on here that can help people with questions. Take all the time you need and do whatever you have to do.
[Android Themes] bobfrantic:
I created a shortcut to the systemui tuner. It will hide clock so that tells me does work but when i try to apply the seconds to the clock, nothing happens.

So I have modified the code for the clock to add seconds. You can see the code on my first post about this. With seconds added, the clock will not change to dark mode on a white background like the rest of the items in the status bar. See screenshot...

Samsung Galaxy S9 plus is my phone running latest firmware.
[Android Themes] bobfrantic:
Sorry to read of your situation. Keep the faith and stay strong. Hope it'll all work out, and it is never just one persons fault remember....
[Android Themes] Tulsadiver:
Text clocks do not adhere to the same theme as the native clock. You apply a color and it stays that color.

I personally do not know how to make it do so without some kind of rom control. You have a Samsung and there are some great guides for it.

Alternative is to change the color of your statusbar to black.

https://xdaforums.com/showthread.php?t=2799050
[Android Themes] bobfrantic:
I figure text clocks are different. What I am curious about is what makes all items go dark in status bar including third party apps like accuweather. Seems like switching from light to dark as it takes a second to occur...
[Android Themes] porkyhontas:
Sorry to hear about the divorce prospects, and of course the seeing the kids part of the deal -- been there, done that. It sucks! But it'll eventually get better in time.

The deal with the decreased TMA downloads likely has a lot to do with most U.S. carriers have locked down most of their devices. I moved on to Note 9, which is a really killer device, well, again, the locked bootloader thing. So now I am forced to theme with Substratum, which is a crazy animal of its own right. And of course much of the problem has to do with many people I guess don't like to theme their devices anymore. As a matter of fact, I haven't released a theme since the Note 3 and have kept my Note 5 themes -- and of course my Substratum theme -- personal and shared between my teammates.

It sucks, but I guess it's the way things roll anymore.

Good luck with the personal problems!
[Android Themes] störte:
Hi

I just downloaded tma after while. having serios problem.

i try to decompile service,jar and have in working just meta,inf

What has changed. I wish i could get old veersion again

---------- Post added at 16:10 ---------- Previous post was at 16:10 ----------

Hi

I just downloaded tma after while. having serios problem.

i try to decompile service,jar and have in working just meta,inf

What has changed. I wish i could get old veersion again
[Android Themes] thereassaad:
For doing custom color for clock u need to mod too onDark something in clock.smali for making it to get custom color with white/dark statusbar ..
[Android Themes] Raiz:
Can you describe better your issue please ?
[Android Themes] bobfrantic:
It's not just the clock, but when background is white the battery, wifi, even the temp from accuweather all go to a dark mode. The status bar is transparent. So I'm not looking to make the clock a custom colour but have the clock behave the same as the rest of the items in the status bar. Hope I'm explaining this ok. Please see the code I posted earlier along with the later screenshot also. Thanks for your input.
[Android Themes] Tulsadiver:
You are only getting META-INF because your service.jar is not deodexed.
[Android Themes] Teracotta:
on my device, the top system bar that has the icons and clock is grey not black, to edit this, do I edit files in the frame-res.apk or is there another apk file to manually change the colors?
[Android Themes] Raiz:
I think that what you're searching for is in the SystemUI.apk file. (You can find it in under /system/priv-app/SystemUI)
[Android Themes] Tulsadiver:
Yes, systemui.apk. Try changing status_bar_icon_drawing_alpha in dimens.xml from 90 to 100%.
[Android Themes] Raiz:
By the way, so you know what kind of values thé dimens file contain ?
[Android Themes] Tulsadiver:
Some dimensions, some numbers, some references, and some percents. The one you are looking for is a percent. You'll have to look at yours to see if it is there and try it to see if it is applicable.
[Android Themes] yklaxds:
……how to download it. I can't found it....
[Android Themes] Tulsadiver:
Under the downloads tab in the header of the thread.
[Android Themes] jututt:
[MENTION=4315551]Ticklefish[/MENTION] Couple of suggestions: add option "Decompile single file" in Decompile menu;

Do not create 8 WorkAreas on installation by default, just 1, add option "Add WorkArea" in Main Menu instead

EDIT :: I'm reading only now about your personal situation, stay strong!