yashsingh1/xdaforums huggingface dataset:
[Android Themes] Bradco:
thank you for your answer, I will try again tonight. do you have any advice on how to properly uninstall TMA? just delete the TMA directory? and can be clean the registry keys? I'll let you know about all this

Edit1

I just try again it's the same I have a problem when recompiling the systemui.apk file. I noticed when I pull the file systemui TMA tells me error try lollipop method and he copies it but does not install it. for information i added a single png in res / drewable and when i move in res / xhdpi the recompilation works it's weird.
[Android Themes] Ticklefish:
Just delete the directory. That's it. TMA doesn't do anything to your registry.
[Android Themes] studywes:
Hi,

I am trying to launch the app but i have always the message Error! Invalid memory access!!

Can you help me please?

I am with windows 10

---------- Post added at 06:15 PM ---------- Previous post was at 06:15 PM ----------

Hi,

I am trying to launch the app but i have always the message Error! Invalid memory access!!

Can you help me please?

I am with windows 10
[Android Themes] Ticklefish:
That's odd. Have you tried running it as an administrator?
[Android Themes] studywes:
Hi,

Thanks for help, i solved it:

- Install TMA in c:/user/XXX/desktop/TMA -> result by the error

- Install TMA in c:/TMA -> is ok

Don't understantd why but it work now :)
[Android Themes] Cheemaa:
can someone instruct me on how to decompile the systemui.apk in touchwiz Oreo and recompile it with mods with ticklemyandroid.I have tried every method and even replaced the malfuncting 9.png file. Can someone make their OWN detailed instructions and instruct me how to do it? Thank you so much. I would appreciate if you make your own instructions with details because I have tried every single method.
[Android Themes] msubhani:
Rename png without 9
[Android Themes] Cheemaa:
Are you sure? Just decompile the oreo systemui. Rename the PNG without 9? And recompile with all the mods? Have you ever done it and is it tested? Sorry if I'm being rude . It's just this method is so much different than the others I have seen. Let me know if you have tested it and I will begin testing it tomorrow. Thank you sir
[Android Themes] msubhani:
I always did this that why told you
[Android Themes] Cheemaa:
Basically. I decompile the file. Rename. And then apply mods. And recompile and that is the file I use? Correct?
[Android Themes] msubhani:
Bro just rename without 9 before recompile.
[Android Themes] Cheemaa:
Alright thank you. Will try it out and let you know if it works. Thanks bro!
[Android Themes] Cheemaa:
like i knew.... that process didn't work and my phone booted up into my homescreen black background with no lockscreen and no way to pull down the notification panel. basically the systemui was corrupted lol. anyone have a working solution for oreo touchwiz to deecompile systemui and recompile systemui with mods in a working state. please tell us
[Android Themes] kin201303:
yes,msubhani is right

you change the pip_dismiss_scrim.9.png to pip_dismiss_scrim.png And recompile

you must del the stock Ui pip_dismiss_scrim.9.png

my english is bad
[Android Themes] kin201303:
i knew.... that process didn't work and my phone booted up into my homescreen black background with no lockscreen and no way to pull down the notification panel.

in may i have this situation

i change the tool OK,you must use apktool.jar(2.3.3 or 2.3.4)
[Android Themes] Cheemaa:
So can you just tell me the instructions. Tell me if I am doing it right. And someone said I have to delete the stock pip image?

Here's what I understand on how to do it--->

Tell me if I'm correct guys. Thank you! Sorry for being annoying. I'm having difficulties

1.use apktool 2.3.4(tickle my Android)

2.install firmware files

3.decompile

4.rename the .9.png to .PNG

5.recompile using original signature correct?
[Android Themes] Cheemaa:
okay so this is what i have to do?correct me if i am wrong.

1.Changed the apktool version to 2.3.4

2.installed framework files. (odexed) ------the firmware files are odexed

3.decompiled systemui.(deodexed) -------the systemui apk is deodexed using TOAD

4.changed the name from pip_dismiss_scrim.9.png to pip_dismiss_scrim.png

5.recompile using original signature

---i put some pictures to show you guys what i am doing(forgot to add the picture when i was installing the odexed firmware files)

---------- questions

1. should i deodex the firmware files before i install them in tickle my android?

2. can i make a flash this on a odexed stock rom with twrp ony?

3. if i make a flashable zip. do i have to modify the updater script to delete the oat folder in system?(i know how to do that, just wondering if it needs to be done on a odexed system) .

thats all. thank you. i hope you guys can help me out.
[Android Themes] Cheemaa:
did this method and it did the same thing . "systemui has crashed-----> my updater script . i am using a premade flashable zip

ui_print(" ++++++++++++++++++++++++++++++++++++++++++++++ ");

ui_print(" ++++++++++++++++++++++++++++++++++++++++++++++ ");

ui_print(" ****************Y@$\-/92Du$ter**************** ");

ui_print(" ++++++++++++++++++++++++++++++++++++++++++++++ ");

ui_print(" ++++++++++++++++++++++++++++++++++++++++++++++ ");

ui_print(" Flashable Zip For Flashing System Files ");

ui_print(" ++++++++++++++++++++++++++++++++++++++++++++++ ");

ui_print(" ++++++++++++++++++++++++++++++++++++++++++++++ ");

run_program("/sbin/busybox", "mount", "/system");

package_extract_dir("system", "/system");

package_extract_dir("data", "/data");

package_extract_dir("efs", "/efs");

ui_print(" ++++++++++++++++++++++++++++++++++++++++++++++ ");

ui_print(" ++++++++++++++++++++++++++++++++++++++++++++++ ");

ui_print(" ****************Y@$\-/92Du$ter**************** ");

ui_print(" ++++++++++++++++++++++++++++++++++++++++++++++ ");

ui_print(" ++++++++++++++++++++++++++++++++++++++++++++++ ");

ui_print(" Installing ");

ui_print(" ++++++++++++++++++++++++++++++++++++++++++++++ ");

ui_print(" ++++++++++++++++++++++++++++++++++++++++++++++ ");

delete_recursive("/system/abc/abc");

delete_recursive("/system/priv-app/SystemUI/oat"); I DELETED THE systemui odex files here.

package_extract_file("yash92duster/fix_permissions", "/tmp/fix_permissions");

set_perm(0, 0, 0777, "/tmp/fix_permissions");

run_program("/tmp/fix_permissions");

ui_print("Unmounting System");

unmount("/system");

ui_print(" ++++++++++++++++++++++++++++++++++++++++++++++ ");

ui_print(" ++++++++++++++++++++++++++++++++++++++++++++++ ");

ui_print(" INSTALLATION COMPLETED SUCCESSFULLY ");

ui_print(" ++++++++++++++++++++++++++++++++++++++++++++++ ");

ui_print(" ++++++++++++++++++++++++++++++++++++++++++++++ ");

ui_print(" Hit Thanks in my Xda Thread ");

ui_print(" ++++++++++++++++++++++++++++++++++++++++++++++ ");

ui_print(" ++++++++++++++++++++++++++++++++++++++++++++++ ");
[Android Themes] msubhani:
Delete oat folder from systemUI before flash or update your script to delete oat folder.
[Android Themes] Cheemaa:
I did delete oat folder in script. If u saw it on the computer or the xda website . Not on Tapatalk. It LL be easier. I even made a mark where I deleted the oat folder. Thanks for helping

---------- Post added at 03:45 AM ---------- Previous post was at 03:44 AM ----------

Is my script wrong? Should I mount system and use twrp file manager to delete the oat folder?

---------- Post added at 03:47 AM ---------- Previous post was at 03:45 AM ----------

And could you answer these questions too man?[emoji26] Thank you again!
[Android Themes] Albe96:
LMAO Guys.That's not it.I don't think renaming it would work even if you fix it in public.xml.This should work: https://xdaforums.com/showpost.php?p=76361966&postcount=49
[Android Themes] nikkali25:
Help for windows 10

Tickle version 15.5.0.1

This app cant run on your pc
[Android Themes] Dzepar:
You need to provide more details. Did you install it in C://TMA? Try Run as Administrator?

Good Luck :)
[Android Themes] hahagu:
VirusTotal Results

Why though...
[Android Themes] Eleo:
Remove the TMA folder from virus scanned folders and continue
[Android Themes] starbucks2010:
Hello,

Is there a way to choose between appt and aapt2 in TMA? I use apktool v2.3.4 and the TMA seems to use aapt v0.2.

Using aapt.exe Version:

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

Thanks.
[Android Themes] Ticklefish:
If you're using the Theming Menu, just select it when you confirm which file you want to recompile.
[Android Themes] starbucks2010:
Thank you for your reply. Unfortunately, aapt2 doesn't let me recompile the apk due to lines containing APKTOOL_DUMMY_xx in res/values folder.

Best regards.
[Android Themes] ninja_unmatched:
Yeah same thing here....
[Android Themes] Ticklefish:
Generally, if there are APKTOOL_DUMMY values in your APK or JAR, it's because apktool wasn't able to fully decompile it. There would have been a value that apktool wouldn't have been able to decipher so it puts a dummy value in instead.
[Android Themes] starbucks2010:
Yes, I know that.Too bad that aapt2 cannot pass this obstacle as aapt1 do.

I don't recall in all my years since I decompile apk's to see a single apk to not have at least few dummy (un-decoded) value,s no mater what frameworks I use.

For Samsung Oreo fw I have only 1 framework file and if that one is not able to decode all values then I don't know other solution. Do you have any ideas how can I at least improve the decoding of these missing values?

Thank you.
[Android Themes] Jhfreeze:
Havne't been here in a while, so glad to see your still here Ticklefish keeping this tool updated. After a two year break I just got the N960F and will be modding again trying to add all the possible goodies from the guides threads so setting up a fresh install of TMA. Thanks for your long continued support for the tool and its users.
[Android Themes] Ticklefish:
I generally never experience dummy values when I'm decompiling my APK's. The best solution I can suggest is to ask on the apktool thread, or on the apktool github. It's going to be something about the APK you're trying that apktool doesn't like.

Why, thank you very much! I do the best I can.
[Android Themes] Hamidreza2010:
[MENTION=4315551]Ticklefish[/MENTION] Hi bro

bro i downloaded a Apk and wanted to edit it but get error

for test , i decompile and recompile it without any edit but get same error.

I: Using Apktool 2.3.4
I: Smaling smali folder into classes.dex...
I: Smaling smali_assets folder into assets.dex...
..\_WorkArea1\_working\yes.apk\smali_assets\devoptions\devoptions2\com\instagram\analytics\eventlog\EventLogListFragment.smali[18,16] Class Lcom/instagram/analytics/eventlog/EventLogListFragment; has already been interned
Could not smali file: devoptions/devoptions2/com/instagram/analytics/eventlog/EventLogListFragment.smali

here is my history and recompile and decompile logs.

would you please help me here?
[Android Themes] Ticklefish:
If a class has 'already been interned', it's normally because it's inside another smali file as well. Try finding out which smali file that is and deleting one of the classes.

It might let the APK recompile but I can't guarantee it'll work.

This may be something that the instagram developer did on purpose - I can imagine they don't want people modding their app.
[Android Themes] Hamidreza2010:
Bro do you have any other tip for recompile it?

i cant solve my problem with your last tip

thanks
[Android Themes] Eleo:
As Ticklefish said, there is no guarantee it will work. Some apks are protected from being decompiled and/or recompiled. You probably need to get sources or help/permission from the original developer
[Android Themes] DaRdamnDoG:
Dear expert, could you please make the latest version x86 compatible please?

Cheers!
[Android Themes] Ticklefish:
Not a problem, I'll upload a version suitable for 32 bit PC's soon. I'm planning to change this thread to a 'devDB' style, like the one for TOAD. That'll provide a tab for downloads and I'll put the files in there. Hopefully I'll be able to do that today.
[Android Themes] Eleo:
I was going to post "but users on mobile/android device wouldn't be able to download without desktop mode"... But then thought " who would download it to android device anyway"

:D

You are right. DevDB would be great step
[Android Themes] DaRdamnDoG:
You're a gentleman ?
[Android Themes] Ticklefish:
It is done. This is now a DevDB thread, which allows me to upload the tool directly to the downloads tab. No more messing around with file sharing sites!

I've uploaded v15.5.0.1 to the tab, but in two different versions. There's a 64 bit version, which is the same as before, and one made for 32 bit PC's. I'll carry on doing it this way as it's quick and easy enough for me to do so.

Development on TMA has paused for a while. All of my attention is going towards TOAD, my deodexing tool, which is working out nicely. We can even deodex Pie with it.. :cool:

I'm working on v3 of that right now, then I'll take a look at TMA. This thread could do with a tidy up - nobody needs the posts about icon-changing or deodexing anymore - and the tool itself could do with having some of the old, redundant code taken out. That may happen December, or late January.

But TMA hasn't been forgotten! I know it's been over six years but we're still going strong!
[Android Themes] Ticklefish:
Ha! I loved this, thank you!
[Android Themes] Er. Aditya:
Haha anytime sir
[Android Themes] DaRdamnDoG:
TOAD would be perfect if it has pull feature ?

---------- Post added at 01:42 AM ---------- Previous post was at 01:40 AM ----------

Is the pull feature going to be implemented? Also maybe add in Re-Odex.
[Android Themes] Ticklefish:
This is really for the TOAD thread. I get confused easily.

But no, it won't. Pulling entire folders doesn't always work for some reason and odexing just makes things more complex. TOAD is about deodexing only, otherwise things will get messy.

Plus, odexing isn't really possible past Lollipop anymore.
[Android Themes] Robgeorge:
Hello,

I made some changes to SystemUI. apk and everything worked, as long as I deleted cache/dalvik after flashing the new file.

However, if I then make a backup using TWRP (Boot/System/Data) and then reinstall that backup, SystemUI stops working.

Any ideas as to what causes this?

I am using a Galaxy S5, MM 6.0.1

- MMD29M. G900IDVS1CQA1

Rooted and Xposed

Any help will be very much appreciated.

Thanks.
[Android Themes] kevintm78:
I'm not entirely sure what causes it (permissions getting reset maybe?) but I've been able solve a similar issue using this fix. I have a note 4 which seems to be pretty similar to the s5. Maybe it will work for you too. That little trick has saved me from a factory reset many times.
[Android Themes] Robgeorge:
Thanks,

I can reinstall a previous backup with the original SystemUi and it works just fine, which is what I am finding confusing?

I will see if resetting the runtime permissions will work on the changed SystemUI.

I appreciate the reply, thanks again.
[Android Themes] Robgeorge:
Okay, I tried deleting runtime-permissions.xml after installing a backup with the modified SystemUI. Unfortunately it didn't work.

I want to alter SystemUI but only if I am able to continue making full backups after doing so (and having it work obviously).

After I install the modified SystemUI I can reboot, power off and on, etc without any problems. The issue only arises after I do a backup with TWRP and then reinstall that backup.
[Android Themes] Eleo:
You should pull adb logs to understand what is going on at boot and why your systemUI malfunctions after it is restored from TWRP. Without a UI, you will not be able to do a matlog for that. Truth to be told, I haven't experienced it on my own with loads of edits on my systemUI in MagMa NX ROM. Does it involve only changes in res or smali?
[Android Themes] Robgeorge:
Hi,

Only changes I made were in res, just color and dimension values. Even restoring a backup of the original file with no changes has the same effect, FC. If I try to restart it, it returns an error saying unable to parse file.
[Android Themes] Thebear j koss:
Those are resources.arc files. Won't be in res folder when recompiled

Sent from my PH-1 using Thebear Blue XDA Labs
[Android Themes] Robgeorge:
Sorry, I didn't know that , they were in res\values when decompiled - colors.xml and dimens.xml.

Thanks, I'm trying to learn so all information is appreciated.
[Android Themes] Eleo:
I dont think he edited apk while it is compiled (i.e. openning as a zipped folder). Since this is TMA thread, I presumed he decompiled, edited and then recompiled. And yes, colors and dimens xml are located in values folder under res... so it is passed as res editing afaik.

Though [MENTION=9626981]Robgeorge[/MENTION], the question will still stay unanswered until you can pull those adb logs when trying to boot after restoring system in TWRP that contains edited UI. They should state the whole story
[Android Themes] Robgeorge:
I ran logcat at boot, I'm trying to figure out how to get logcat to print to file. When I tried I ended up with error message saying couldn't open destination file.

Doing some more reading to figure out what I am doing wrong. I guess I could always cut and paste output from screen though if I have to.

Sorry, I'm not very proficient at all this so I apologise for any inconvenience or stupidity.
[Android Themes] Eleo:
This command is what I use to print it to file:

adb logcat -d > logcat.txt

Be sure to use platform-tools folder and give admin rights to command prompt (or windows powershell, whichever you use)
[Android Themes] Thebear j koss:
Nope. Those files are not located in the res folder after recompile. They are resources.

Sent from my PH-1 using Thebear Blue XDA Labs

---------- Post added at 11:34 PM ---------- Previous post was at 11:31 PM ----------

@robgeorge try taking resources.arc from new recompiled apk and dropping into original apk, overwriting the original. Then flash the original with the new resources to the system directory path of your systemui.

Sent from my PH-1 using Thebear Blue XDA Labs
[Android Themes] Robgeorge:
Thanks,

I will try that. I had originally moved everything except Android.Manifest.xml and META-INF from the new SystemUI to the old.
[Android Themes] Ticklefish:
​

It's a few minutes into December the 25th at the Fish household, which means its officially Christmas and Santa is on his way (please bring me a Pixel this time! Please,please, please!)

I just wanted to take a few minutes to talk to the greatest people in the whole wide world: the people who use TMA.

Thank you for using my humble program. I know I haven't been online much. Life away from the keyboard has been a bit too busy. But I haven't forgotten you and I'll be back as soon as I can.

Have a fantastic next few days, whether you celebrate the festive period or no!
[Android Themes] Venom0642:
Merry Christmas mate enjoy ????
[Android Themes] Robgeorge:
I tried swapping only resources.arc as you suggested.

You were correct, the changes showed after flashing.

It also solved the problem of the SystemUI FC after reinstalling a backup containing the new SystemUI.

So a big thank you for that!

If I end up wanting to edit res or smali then I guess that's where the headache will start again. [MENTION=4598795]Eleo[/MENTION], I took adb logs after booting restored system in TWRP that contained edited UI. The link is below.

https://drive.google.com/file/d/1Fogq1B2QtRA_d39qi2b_cVyDBjqBzFec/view?usp=drivesdk

Thanks again for all the help, and merry Christmas to all.
[Android Themes] Thebear j koss:
Only move what you have changed from new recompiled apk into original apk. You will be fine. Glad it is working...

Sent from my PH-1 using Thebear Blue XDA Labs
[Android Themes] thinkwise98:
Can someone help me, I successfully modded my SecSettings and build.prop but I experience errors in recompiling SystemUI. Here's the logs.

http://prntscr.com/m0wejr
[Android Themes] kevintm78:
Is there a typo perhaps in your res/layout/keygaurd_statusbar.xml? Check line 10 of that file and see if your edits are correct.
[Android Themes] Thebear j koss:
Yup. Something wrong right there.

Sent from my PH-1 using Thebear Blue XDA Labs
[Android Themes] thinkwise98:
I also tried decompiling and recompiling the stock systemui and that is the error . I am on blackpearl s9 port
[Android Themes] thinkwise98:
I thought it successully recompile secsettings because it worked without errors and the mod I see it in my settings,

but there's an error in all apk I recompile.

https://drive.google.com/open?id=1nYAij3wTgkrj5PtsXB4fK-pa__WbIXeu logs
[Android Themes] Ticklefish:
Happy New Year everybody!

Then you need to see what's going on with that line of XML, if you're getting the exact same error.

This is a known issue with apktool. Hopefully it'll be resolved soon.
[Android Themes] Hamidreza2010:
[MENTION=4315551]Ticklefish[/MENTION] Hi bro

i want to edit Firefox lite.I decompile and recompile it without any changes but get error

I attach history.would you please let me know whats problem?

thanks a lot
[Android Themes] Thebear j koss:
Broken 9 patch pngs.

Sent from my PH-1 using Thebear Blue XDA Labs
[Android Themes] Hamidreza2010:
Thanks

How can i solve this problem?
[Android Themes] Hassan92:
How can I delete lockscreen/screenlock option from settings menu of a rom .... If I don't want the option in the rom
[Android Themes] Hamidreza2010:
Anybody cant help me?
[Android Themes] zelendel:
You were already told what was wrong and a simple search will tell you how to fix the broken file.
[Android Themes] Hamidreza2010:
Yes but i searched and didnt found anything

For this asked again
[Android Themes] Thebear j koss:
http://lmgtfy.com/?q=How+to+fix+9+patch+pngs

Sent from my PH-1 using Thebear Blue XDA Labs
[Android Themes] whalesplaho:
[MENTION=4315551]Ticklefish[/MENTION] i got error recompiling.... please help i have searched but couldnt get a solution, i once solved it but dnt remembered.

With Tickle My Android 15.5.0.1
(tinyurl.com\ticklemyandroid)

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

Installed Framework File(s):

framework-res.apk [1.apk]

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

I: Using Apktool 2.3.4
I: Smaling smali folder into classes.dex...
I: Building resources...
W: ERROR: 9-patch image C:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable-xxxhdpi\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:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable-xxxhdpi\pip_dismiss_scrim.9.png

---------- Post added at 03:53 PM ---------- Previous post was at 03:42 PM ----------

edit: i just saw dis now but tried didnt work. maybe i didnt get the method well dnt know
[Android Themes] Thebear j koss:
Same issue as the last user. 9 patch error. Hit the link I posted above.

Sent from my PH-1 using Thebear Blue XDA Labs
[Android Themes] whalesplaho:
I was able to get some solutions through Google thanks but just dnt know if i did it well and also after applying, systemui.apk recompiled successfully buh after replacing n fixing permission, i restarted and was stuck on Android is starting screen, i had to flash my stock rom. Nokia 8/Oreo 8.1!
[Android Themes] Thebear j koss:
Take original apk, using 7 zip or any zip rar archiver program, open original apk as a zip and open new built apk(modified apk) and take only what you have changed in new apk and overwrite them in the original. Meaning, if you changed something in colors.xml, only take the resources.arc out of new and overwrite it in the original. Close the apks. Take the original apk with changes moved into it and flash it to your system partition. Never replace and fix permissions.

Sent from my PH-1 using Thebear Blue XDA Labs
[Android Themes] whalesplaho:
If i get yhu right, i should replace tha png.9 back with tha original one and den flash after. I tried creating flushable zip using TMA buh couldnt get tha location, Dnt know where its saved. I hope it works dis time!!!

I have an A/B partition device, it has 2 system, where do i put tha modded systemui.apk.

- /system/priv-app/

-/system_root/system/priv-app/