yashsingh1/xdaforums huggingface dataset:
[Android Themes] jds3118:
I've used this tool for Samsung roms and worked great, can this be used to make roms for the oneplus 6t?
[Android Themes] Thebear j koss:
System/priv-app. Only replace what you have changed in the apk from 1 to the other.

Sent from my PH-1 using Thebear Blue XDA Labs
[Android Themes] whalesplaho:
please can yhu help with a flashable zip dat will work... i tried creating flashable zip through tma but dnt know where its saved [MENTION=4315551]Ticklefish[/MENTION]
[Android Themes] micosal:
Scroll down on the below link. There is flashable zip for download.

xdaforums.com/android/general/guides-android-8-0-oreo-mods-thread-t3772017/page4

---------- Post added at 05:43 PM ---------- Previous post was at 05:34 PM ----------

Scroll down on the below link. There is flashable zip for download.

https://xdaforums.com/android/general/guides-android-8-0-oreo-mods-thread-t3772017/page4
[Android Themes] whalesplaho:
thanks man, gotten it.... but i have a problelem, i tried replacing the 9.png from the original to the modded one but it shows not implemented. any help. i m using 7zip!
[Android Themes] micosal:
Here is a guide on how a Dev (a.Raul) has been doing it without having any issue. I will advise you download the pictures added and use it to read through the steps for better understanding.

https://xdaforums.com/showpost.php?p=76259485&postcount=39
[Android Themes] ManhDV:
Can't recompile :(

Recompiling "framework-res.apk" With Original Signature, using original "AndroidManifest.xml"

in work area "_WorkArea1", using "apktool_2.3.4.jar"

With Tickle My Android 15.5.0.1

(tinyurl.com\ticklemyandroid)

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

Installed Framework File(s):

framework-res.apk [1.apk]

wos-framework-res.apk [9.apk]

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

I: Using Apktool 2.3.4

W: Could not find sources

I: Building resources...

brut.androlib.AndrolibException: brut.common.BrutException: could not exec: [C:\Users\ManhIT\AppData\Local\Temp\brut_util_Jar_7896136142450242555.tmp, p, --forced-package-id, 1, --min-sdk-version, 27, --target-sdk-version, 27, --version-code, 27, --version-name, 8.1.0, --no-version-vectors, -F, C:\Users\ManhIT\AppData\Local\Temp\APKTOOL8939736842373256155.tmp, -x, -0, arsc, -0, png, -0, res/drawable-hdpi-v4/ab_bottom_solid_dark_holo.9.png, -0, res/drawable-hdpi-v4/ab_bottom_solid_inverse_holo.9.png, -0, res/drawable-hdpi-v4/ab_bottom_solid_light_holo.9.png, -0, ogg, -0, arsc, -S, E:\ANDROID-ROM\Samsung-A6s_G6200\G6200ZCU0ARL2\TickleMyAndroid\_WorkArea1\_working\framework-res.apk\res, -M, E:\ANDROID-ROM\Samsung-A6s_G6200\G6200ZCU0ARL2\TickleMyAndroid\_WorkArea1\_working\framework-res.apk\AndroidManifest.xml]

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

Recompile Not Successful!
[Android Themes] Thebear j koss:
Broken 9 pngs. Search the thread...

Sent from my PH-1 using Thebear Blue XDA Labs
[Android Themes] StardustDroid:
signature spoofing

Hi,

is this works with Android 9 Pie ?

If no, please any pointer to a new project that simplify signature spoofing ?

Thanks
[Android Themes] Thebear j koss:
Yes. And there is no simple way to signature spoofing besides flashing a rom that includes it.

Sent from my PH-1 using Thebear Blue XDA Labs
[Android Themes] AnonVendetta:
I have never used [MENTION=4315551]Ticklefish[/MENTION]'s deodexing tool, but I had thought I had earlier read something here that might relate to my issue, so please pardon the interruption.

I am trying to deodexing an Oreo ROM, but am running into issues after booting. I used SuperR's Kitchen to deodex my ROM, and it does boot up fine. Some info:

Device: ZTE Axon 7

ROM: Phh Treble Oreo 8.x

Boot/vendor/modem source: official LineageOS 15.1

After deodexing, the ROM does boot fine after a few mins, but lags slightly. I read something in the Kitchen thread that mentioned an sepolicy patch that is designed to address the lag. I applied that patch to my boot.img, reflashed the deodexed ROM with modified boot.img, the lag is gone.

But there is another issue:

The contents of /data/dalvik-cache isn't generated at all, it is always empty, even after multiple reboots. I also flashed Xposed, which is known to rebuild the dalvik cache, but the directory is never populated. On the unmodded odexed ROM, dalvik is populated normally.

So I am just wondering if anyone in the thread has had a similar issue when deodexing Oreo/Treble ROMs. I have read somewhere that this issue has something to do with oat2dex not having write permission on the dalvik directory, and something about sepolicy blocking it from doing so. As it is now, I can run the ROM just fine, but reboots can take up to several mins, I think it has something to do with dalvik always being empty.

Thanks!
[Android Themes] Ticklefish:
This is starting to run into areas that I don't fully understand, sadly. I can't think why the dalvik cache isn't being generated.

In fact I can't think how your rom can run without it at all! If you find an answer, can you let me know?
[Android Themes] Ticklefish:
It's nearly the end of January, which means my job is about to get significantly quieter and I turn my attention back to xda and all you lovely people.

I've been having a think about what I can do next with Tickle My Android to make it more useful to people and I've got a few ideas. I think version 16 is going to be a redesign with a more stream-lined interface, a smaller file to download and more efficient code.

However, this will take a bit of time, so while I'm planning and experimenting and messing about with code...is there anything you guys would want to see? Could TMA do anything for you that it currently doesn't do? Is there anything it does that you don't use or need?

Let me know and I'll see what I can do for you.

I'm also going to be looking for translators so if you can help with that let me know as well! :cool:
[Android Themes] Ticklefish:
Version 5 should hopefully be released over the next few days. I've done all the coding, I just need the family to give me enough time to do all the screenshots, etc so I can update the posts.

The selfish people expect me to spend time with them! :rolleyes:

So..probably not, no. I've subscribed to the apktool thread and as soon as it or any of the other programs that TMA use are updated, I'll update Tickle My Android as well.
[Android Themes] Felimenta97:
Still needs help with translation? I can do it for Brazilian Portuguese. BUT PLEASE, include a option to force other languages. I like those kind of things in English :P
[Android Themes] Vaizen:
Hey Ticklefish, any luck finding time to see the status_bar.xml?
[Android Themes] Rafael.:
Hello,

I'm having some issues when trying to decompile/recompile the SystemUI.apk, so that I could change the statusbar clock color following your other tutorial.

Answering your form:

1: Galaxy S3 International Version (GT-I9300)

2: 4.1.2

3: CM10 Nightly build date 15/12/2012

4: I am trying to compile/decompile SystemUI.apk (and also framework-res.apk, as it is needed)

5: Only the Framework (1.apk)

6: deodexed, I guess. I don't see any ",odex" files.

7: I'm trying to change the statusbar color

8: No

9: When I try to de/recompile the SystemUI.apk, both the statusbar and the wallpaper become unavailable, and the phone won't boot if I try to do it with the framework-res.apk.

10:

framework-res.apk

SystemUI.apk

Sorry for the long text and thanks for the support!

Best regards
[Android Themes] Ticklefish:
I can only do a quick reply right now but.. Did you install twframework-res.apk before you decompiled your files? And did you use the Prepare File option?
[Android Themes] Rafael.:
Thanks for the reply, you're fast!!

I hadn't installed it, but I just tried and got an error message, saying that the file doesn't exist.
[Android Themes] Ticklefish:
Lol I'm using the xda app right now. It's erratic but the notifications come fast!

I wasn't sure about twframework-res.apk. It's part of standard Samsung rom's but I didn't know if it'd be in a Samsung CM.

Have a look in your system/framework folder for any other apk file with 'res' in the title. If you have one, then it'll need to be installed.

If this isn't the issue and if you did prepare your modded files, then it's one of two things.

Either you pushed those files to your phone (not always working in 4.3, use the zip menu instead)

or

There's something wrong with what you modded (in which case, we need to closely examine what you did)
[Android Themes] Rafael.:
There isn't any other ".apk" files with "res" in its title.

I did prepare the files every time, but I really was trying to push them to the phone instead of creating a flashable zip. Anyway, I tried to create the zip and it also failed: an error message appears saying that the zip file wasn't created, even though it's there in the folder that I previously selected. I checked it and the SystemUI.apk file is in there, inside /system/app, where it should be. But, when I try to flash it, the installation gets aborted.

I don't get the "Decompile/Recompile went successfully" (or something like this, as I seen in some of the messages in this thread) in the logs, as you can see two posts above. Is it normal or the problem is there?

Thanks one more time
[Android Themes] Vaizen:
Hi Ticklefish, Been trying to make some other flashable zips with other battery designs but I don't know what's going on now, every time I try to recompile SystemUI.apk on TMA this error shows up and i can't move forward.
[Android Themes] soundsofmath:
inquiries

can i use this on any ics or jellybean custom rom preferably p.a.c.man rom and on any phone i have the tmobile galaxy s 2 thanks in advance and nice work on building this program peace
[Android Themes] Ticklefish:
Can you share your files please? I'll try and make a zip for you. Oh, and remind me what mod you're doing.
[Android Themes] Ticklefish:
The key is in the text. It's a bulky error message but it does all make sense.

You have a duplicate attribute on line 14 of one of your xml files (I can't remember which one and the xda app won't show me your post until I've finished writing this one). Open the file and correct the line. Then you should be fine.
[Android Themes] Ticklefish:
In theory, this will de/recompile any apk and jar file.

However, Android 4.2 and above, along with Sense 4 and above are exceptions. 4.2 is too new while HTC have done odd things with their works so not every file will work.
[Android Themes] Rafael.:
OK, thanks..

The files are here:

framework-res.apk:

SystemUI.apk

I'm trying to change the status bar color to white (#ffffffff). Following your other tutorial, I should change line 19 of status_bar.xml to

<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="6.0dip" android:clickable="false" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" [COLOR="Lime"]android:textColor="#ffffffff"[/COLOR] />

In fact, I want to change the entire status bar to white, including the battery. I think more code needs to be changed, but I don't know what yet. Was going to give it a try, but the files won't work after I decompile/recompile/prepare, even without any changes, and I can't make a working ZIP. I reinstalled Tickle my android today and got the messages "Decompile and Recompile successfully", but that's it. The zips that I create won't install (tickle my android displays a message saying that they weren't created, even though the zip file is there) and if I push the files to the system they don't get recognized.
[Android Themes] Rafael.:
Ticklefish, I finally got it, no need for you to send me the zip anymore. Did it with apktool itself, and the main problem I guess was in the permissions of the file (I changed to 644 and it worked).

Thank you very much for the tutorials! Now I am gonna try to figure out how to change the color of the other icons (wifi/data/battery).
[Android Themes] Vaizen:
Thanks for the heads up, I managed to correct it and finally did 3 more flashable mods.

Ticklefish I've been wondering, of those last three mods they all work perfectly even the charging animation / icon, but in the first one i did, which was the Stencil Battery, the charging icon doesn't show up, don't know what's wrong or if that mod needs something else. So I want to ask for your help, whenever you have the time, check that mod for me.

You already have my files so i attach the modified status_bar.xml, which goes inside systemui.apk decompiled res/layout, to make things easier.
[Android Themes] Ticklefish:
So it was a permissions issue. Thought so. If you'd got the zip maker working, that would have fixed that.

Are you sure you want your icons to be white? If your statusbar is white as well, you won't see anything.
[Android Themes] Rafael.:
My statusbar is blackish (the stock color), I want only the icons to be white. I managed to change the battery text and the clock following your other tutorial, and both of them are white now. But the wifi/battery/signal icons are still blue.. I found the icons already (they're also in SystemUI.apk), and tried to change them through TMA, but, once again, the status bar was missing. I fixed the permissions and rebooted but it didn't work, so I am restoring the nandroid right now. I have to go to work in a few minutes, but if I tell you what icons I want (they're all already in TMA) latter and send you my updated files, could you make the flashable zip for me?

Thanks once again
[Android Themes] allan1313:
Fill out this form here:

What phone/tablet are you using? ASUS TF700

What version of Android are you running? 4.1.1

What sort of rom are you on? (I need to know about OEM roms as well. That's things like Sense, Touchwiz, etc) OEM Based ROM

What are you trying to decompile/recompile? Step 1 Framework.jar

What resources files have you installed? Just your toolkit and my tablet was already set up for adb

Are the files you're using odexed or deodexed? deodexed

What mod are you trying to do? Clcok, wifi, battery color change

Do your files work if you decompile, recompile and prepare them without changing anything? I can't get that far

What problems are you having? (Give me some detail here, don't just say "It doesn't work.")

Please also attach the log files for the files you're modding (use Option 1 in the theming menu)

When I try to pull the framework.jar I get an error message "tool_files\adb is not recognized as an internal or external commmand"

What did i do wrong?
[Android Themes] funiewski:
decompile error

my first try with this interesting tool, but i got error while decompiling, log attached, pls help

my phone is rooted xperia v, stock rom
[Android Themes] msubhani:
Hi thanks dev for your awesome job it is highly appreciated you ask for suggestions for next TMA.

Sir if you agree with me there should be option to decompile jars files, i mean decompile and compile smalis (classes) only and intact the rest of the structure as well as the original signature.*

Thanks.
[Android Themes] Thebear j koss:
It decompile smali. If you change anything in smali, just take the new dex file from new recompiled apk and overwrite the original dex file from original apk. Signature is never touched, flash the original apk with your new dex file in it to system directory.

Sent from my PH-1 using Thebear Blue XDA Labs
[Android Themes] msubhani:
You didn't get my point i am talking about jars only i know it decompile smalis and i did the same with apk as you said.

But here my suggestion is about jars files only because for modding jars we need only classes.dex i want the tool should only decompile classes not the whole jar and when we recompile the modded classes will replace the original classes in jar without touching the other structure of file like signature etc.... hope you understand my point.
[Android Themes] hossein_sys:
lost status bar and nav bar in ore - Samsung J7Core

Hello

I need to remove the access to status bar permanently in android Oreo with visible interface

I follow from this post and this one :

My steps is:

0- my test on (Samsung j7core - android 8)(Apktool 2.3.3)

1- adb pull /system/priv-app/SystemUI/SystemUI.apk

2- adb pull /system/framework/framework-res.apk

3- apktool if framework-res.apk

4- apktool if SystemUI.apk

5- apktool d SystemUI.apk

6- Open SystemUI\res\layout\status_bar.xml and add android:clickable="false" to the top most xml element

7- Open xhdpi folder and replace the corrupt pip_dismiss_scrim.9.png file with the file on the top of my post link

8- run apktool b SystemUI

9- Go to SystemUI\original and copy AndroidManifest.xml and META-INF to SystemUI\build\apk\

10- run apktool b SystemUI again

11- Go to SystemUI\dist\ and override the device's original SystemUI.apk with the one at SystemUI\dist\SystemUI.apk with adb push SystemUI\dist\SystemUI.apk /system/priv-app/SystemUI/SystemUI.apk

12- change the permissions of SystemUI.apk

13- reboot device

14- see result >>> failed > the status bar and nav bar are lost ! cant see both of them

I do this steps on android 6 and worked perfectly .

Which step is wrong or must be do ?

please help ...

Many thanks.
[Android Themes] Ticklefish:
Intriguing..

Serious question and not a sarcastic one - would that be significantly faster and/or more efficient than just decompiling and recompiling the whole JAR file?

That's not really anything to do with Tickle My Android.

But I would suggest checking your process first. Make sure you can decompile and recompile your APK and it'll still work on your phone. Then, if it does, you can look at making changes to it.
[Android Themes] msubhani:
Sir its efficient and bit faster because you save little time of repalacing modded classes in original jar after recompile. [emoji6]
[Android Themes] Ticklefish:
I see. And recompiling with the original signature doesn't work?
[Android Themes] Albe96:
It works.But he just wants an option to decompile the dex only.
[Android Themes] msubhani:
Yes, you are right.
[Android Themes] Tulsadiver:
Jar files only have dex files, right?

For regular apks, yes it would be quicker. I also ran into the need for using the --keep-broken-res command because the errors found in the res was keeping me from Decompiling a SystemUI.apk. There are times when the --no-res and --no-src commands would also be useful.
[Android Themes] Ticklefish:
Then I will look into adding the option. It should be simple enough - all I'd need to do is extract all the DEX files, decompile, recompile, and replace them in a copy of the original APK or JAR file.

I've only ever changed smali by decompiling the whole file but I don't see any reason why that wouldn't work. I'll add it to the list.

And I've got an idea about those apktool options as well. I'm guessing nobody uses apktool 1.5.2. anymore..?
[Android Themes] Tulsadiver:
Personally, I use 2.3.2. It does everything I need with the least (or no) problems.
[Android Themes] Thebear j koss:
I think dex will only work when able to read the public.xml, therefore it needs the resources.arc, which would require the apk or jar to be decompiled. I could be wrong, but without the public.xml, the dex would not get the correct id's of the files to read.

Sent from my PH-1 using Thebear Blue XDA Labs
[Android Themes] Tulsadiver:
When you decompile using -r or, --no-res, the dex files are decompiled to a readable state for editing. The resources.arsc is there both in whole, and extracted, but not in a readable state. When you recompile the dex, it still has the res to draw upon.
[Android Themes] Thebear j koss:
If you edit the smali wouldn't you want the id's from the public.xnl to know what you are changing? I'm not a big fan of messing with smali, but i wouldn't even attempt it without having the public.xml

Sent from my PH-1 using Thebear Blue XDA Labs
[Android Themes] Tulsadiver:
Depends on the mod. The way I changed the statusbar black on the Pixel 3 XL to hide the notch is a smali mod. I just tried it to see if it would work by just decompiling the classes.dex. For this mod I simply copied the code that dictates whether the status bar is transparent, opaque, etc. Hard coded it black, renamed it. Redirected the code that computes the color of the status bar to that code and recompiled it and it worked fine. I personally decompile the whole SystemUI but it does decompile and recompile much quicker when just doing the dex by itself.

Edit: I'll definitely be incorporating this into the series of bash files I run to make my Mods Installer only I'll use the --no-src method and not decompile the classes.dex. That will come close to cutting my computing time in half.
[Android Themes] Albe96:
True!
[Android Themes] Thebear j koss:
Thanks for explaining. As I had said I am not a big fan of smali, and try to steer clear of it as much as possible. Whenever I do wander into it, I feel a little better knowing that I can at least know what I am looking at because I can match file ids in the public

Sent from my PH-1 using Thebear Blue XDA Labs
[Android Themes] Tulsadiver:
I agree wholeheartedly. My mods were definitely made and figured out with everything decompiled. However, once a person has it figured out, to replicate, he doen't need to see the res. My zip Installer has over 300 options including color variations (aroma doesn't work in TWRP for the Pixel 3 phones) anything to speed things up is a blessing.
[Android Themes] Ticklefish:
Then consider this an option for Version 16! :D

I'm working on the code at the moment. I'm taking the opportunity to completely rewrite the whole tool. A lot of the code in there is now redundant and I've since discovered better ways for the remaining code to do what it's supposed to.

So this will be a faster, better and more streamlined TMA. It's just going to take that little bit longer to write..
[Android Themes] Azazel6002:
Hey guys, I have a Galaxy tab S4 on root 8.1. When I decompile service.jar I never get a smali folder. I have framework-res.apk installed. Service.jar folder has original, unknown, apktool.yml.

Can someone explain to me how to get the smali folder? From what I read I thought once I installed Framework-res that would unlock that folder.
[Android Themes] kevintm78:
It sounds like your rom isn't deodexed yet. You'll need to deodex first before modifying services.jar. Fortunately, programs like this exist to make it easy.
[Android Themes] Hamidreza2010:
[MENTION=4315551]Ticklefish[/MENTION] hi

When i want to decompile an Apk i get this error

how can i solve this?

Exception in thread "main" brut.androlib.AndrolibException: Could not decode XML
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:147)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPullStreamDecoder.java:153)
at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecoder.java:155)
at brut.androlib.res.AndrolibResources.decodeManifestWithResources(AndrolibResources.java:204)
at brut.androlib.Androlib.decodeManifestWithResources(Androlib.java:136)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:122)
at brut.apktool.Main.cmdDecode(Main.java:164)
at brut.apktool.Main.main(Main.java:73)
Caused by: java.io.EOFException
at com.google.common.io.LittleEndianDataInputStream.readAndCheckByte(LittleEndianDataInputStream.java:226)
at com.google.common.io.LittleEndianDataInputStream.readInt(LittleEndianDataInputStream.java:116)
at brut.util.DataInputDelegate.readInt(DataInputDelegate.java:61)
at brut.androlib.res.decoder.AXmlResourceParser.doNext(AXmlResourceParser.java:890)
at brut.androlib.res.decoder.AXmlResourceParser.next(AXmlResourceParser.java:102)
at brut.androlib.res.decoder.AXmlResourceParser.nextToken(AXmlResourceParser.java:112)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.nextToken(XmlPullParserDelegate.java:105)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:140)
... 7 more
[Android Themes] Eleo:
Are you still on the same instagram modded apk?

https://xdaforums.com/showthread.php?t=1633333&p=7821468

If not, you may need to provide more info.

As much as I can see, there is "end of file" error (i.e. apk file may not be incomplete or missing some parts).

But before having more info on file and full logs (not cut logs) I cannot comment on it.