[Android Themes] Ticklefish:
Right...this could take some explaining...

This is a short version of your recompiling error:

[COLOR="Red"]C:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable-normal\stat_sys_signal_0.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited[/COLOR]

...

[COLOR="Blue"]res\drawable\ic_qs_airplane_off.xml:0: error: Resource entry ic_qs_airplane_off is already defined.
res\drawable\ic_qs_airplane_off.png:0: Originally defined here.[/COLOR]

...

[COLOR="Purple"]C:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:482: error: Public symbol drawable/stat_sys_signal_0_auto_rotate declared here is not defined.[/COLOR]

...

The line in RED you don't need to worry about. I can go into some detail about what it means but, basically, this is a warning. Warnings don't stop your APK from recompiling. It's errors we need to look out for..

The line in BLUE is a warning so we do need to take care of that. It looks like your ROM generates the toggles in code, instead of using an image file. So there's an XML file with the same filename as the PNG file. We can't get away with that in Android, which is why we're getting the error.

I'll update TMA's code to get around this issue when I get a chance but, for now, all you need to do is delete those XML files and this error will go.

The PURPLE error is saying that you have an image file declared in public.xml (which lists all the image files in the APK) but you don't have the actual image file itself. This is a bit strange, TMA shouldn't be deleting those files. If they're not in the original, decompiled APK, just delete the lines from public.xml and your APK should now recompile.

De/recompiling errors are long, and have a lot of text, but they do make sense. And they normally do say why the file isn't de/recompiling..

Thanks for letting me know about the toggles being generated by code. It all helps me make this tool as perfect as possible!

That's a very good question.

There used to be an option to push files back to the device. In fact, half the code is still in the file. I removed it a few versions ago in favour of the flashable zips for two reasons.

- Replacing system app's while those app's are running (like framework-res.apk, SystemUI.apk) is potentially hazardous. It's perfectly possible to do it hundreds of times without any issues but it's a bit like changing your cars gearbox...while you're driving. It always screwed up one of my old handsets and it practically destroyed my previous tablet. Everytime I turned the tablet on, after pushing SystemUI.apk to it, the data partition would wipe. Which was helpful..

Like I said, it doesn't always happen. But the safest way to push a file is in recovery with the system partition mounted. And, since you're in recovery already, flashing a ZIP isn't much harder.

- TMA is meant for everybody...including people who don't necessarily know how to push properly. The Advanced ZIP files create a flashable backup meaning that, if you've made a mistake, you can easily get your system back to the way it was.

However....Tickle My Android is made for the people who use it. So if a push menu option really is needed, I'll happily put one in. Let me know and I'll start coding. :highfive:

Thank you for your thanks! :good: