yashsingh1/xdaforums huggingface dataset:
[Android Themes] Sean_Seany:
Is it ok to edit .xml in this ? Im dragging out the file from drawable, open with notepad++ , edit , save and then drag back in to drawable and recompile but I'm getting errors when doing so. I have no problems what so ever recompiling my theme .apk when editing images. Works like a charm :laugh: ....yes chances are its user error hahaha.

Its just basic edits nothing fancy ( yet lol).

Also how can i post the error reports on here please ?

Thanks
[Android Themes] AmmarGitham:
Hi. When will v5 be out. Asking coz soon I'll be starting with a new theme. And I want to start with v5.
[Android Themes] Ticklefish:
Well, I decompiled your framework-res.apk without any issues and changed the battery icons without any issues. There's nothing about the apk files that suggest why they wouldn't work so this might be a process issue rather than a software one.

Do me a favour, reset the tool so you only have the six folders in the 'ticklemyandroid' folder. Then run the tool again.

Every time the tool says something like "Enter 'x' To Cancel, Or Any Other Character To Continue", type the number 1 and press ENTER.

Pull and install twframework-res.apk. Then pull, install and decompile framework-res.apk. Then change the battery icons. I'd suggest using the coffee icons for now. There's only a few of those so they won't take as long to change as some of the others.

When the second window appears, let it run. Once everything's finished, have a look in _working\framework-res.apk\res\drawable-mdpi and see if your battery icons have changed. TMA won't have changed all of them, only the ones that matter, so have a look at stat_sys_battery_0.png as well as 25, 50, 75 and 100.

There's nothing about your files or the tool that should stop this from working. So if it doesn't, it may be an issue with your setup. Maybe you don't have all the command-line commands you should? But we can worry about that if we need to later.
[Android Themes] Ticklefish:
Yup. I use this to decompile my files and Notepad or Notepad++ to edit the xml all the time.

As for posting compiling errors, use the log option and include the log file as an attachment in your post. Oh, and tell me what sort of edits you're doing. :)

sent using the xda app!
[Android Themes] Ticklefish:
Not for a little while yet. For Version 5, I've replaced a lot of code, reworked how some things are processed, introduced two brand-new features, two new types of icons and, of course, more battery icons.

All of which has to be done in my free time which I don't have a lot of. I am working on it though and should be able to release it soon.

If you're up for the challenge of being a beta-tester, or if you can help with translating TMA into different languages, you'll get it early..

sent using the xda app!
[Android Themes] Sean_Seany:
Oh Ok cool , next time i get errors i will post them for you :highfive:

What Im trying to do is rename a theme.I started out messing avout with another authors theme and over time i have basically replaced every single file in the .apk. Its my first theme so i found it easier to work out what was going where.

Renamed manifest Like this

Renamed styles like this :

Renamed Strings like this :

Am I doing something wrong please ? To be honest Im not completely sure what I'm doing ...Like i said its my first theme attempt.

Thanks.
[Android Themes] Ticklefish:
Your syntax seems okay. More than that, I can't say. I don't know a huge amount about creating themes since I tend not to use them.

It may be worth signing your recompiled apk. I did once hear that you need to if the manifest is changed, although I don't know for sure.

sent using the xda app!
[Android Themes] Sean_Seany:
Log for you to look at ,

MotoInspired is the original theme name , if that helps ? Also i have nothing to sign , as it wont recompile ? All i have is "in" and "Working" ?

thanks

Edit : Changed public.xml:2560 , still get the same errors ?

EDIT 2 : just tried to recompile with my ,xml edits on VTS , same result ? So its not a problem with TMA.( didnt think it was to be honest )One more error and i will be head butting my laptop lol
[Android Themes] HammDroid:
Not sure what my issue is. I got everything setup, pulled the framework-res.apk file, decompiled it, added my own battery.png's and appropriate xml files, recompiled, ran the tool to prepare system files, pushed to phone in recovery, and every time it just freezes on the bootanimation.

Just to be sure it wasn't me, I repeated everything above without making any changes to the framework-res.apk at all, and it still does it. Making me think that its not recompiling or preparing the system file properly. I have no idea though.

Feel free to check my apk, which you can download here. This is the one that is completely stock, just decompiled/recompiled/system prepared.

Not sure what I could possibly be doing wrong, especially since everything else seemed to be working correctly.

If it helps, I'm on Dropzeroc's ZR3D-XL,ICS. EVO3D
[Android Themes] Ticklefish:
Have you tried deleting line 2560 in public.xml? It looks like there's something declared there which now isn't in the apk..
[Android Themes] Ticklefish:
Did you install any resource files before decompiling this? That might be the issue..
[Android Themes] HammDroid:
No I did not, I'll try that and see if it corrects it.

Edit: Thought it worked, but turns out it didn't actually push the file. After I got it pushed properly, even the original framework file still isn't working after decompile/recompile & preparing for system.

Thanks!
[Android Themes] Ticklefish:
You can use an ImageView to display the image, that's relatively simple. Toggling it on and off is more of a challenge though. You'll need to do some smali editing for that.

Have a look at this thread here: https://xdaforums.com/showthread.php?t=2799050

That's a thread full of smali modding hints and tips. Hopefully that should help you achieve what you're after.
[Android Themes] mash4077fan:
Things are good here. I am on Nougat stock rooted Sprint Note 5. I noticed facebook and hangouts don't have that uninstall option when you look at app info. I am assuming those are system apps. Can I delete them using root explorer or is there a way to push apps on Nougat?

Oh so when I recompile an app using TMA I should say yes to create a zip file and that should do it?
[Android Themes] Thebear j koss:
Post your recompiled apk you want flashed and I will put it in a zip for you.
[Android Themes] mash4077fan:
https://www.dropbox.com/s/cuksmz7mb3xq6p6/Hangouts.apk?dl=0
[Android Themes] Thebear j koss:
Try this edit- there is something wrong with the apk, not sure if you used correct build for your device or if it was built wrong. I suggest grabbing 1 that works for you, maybe try team blackout's, make sure to use for lp-m-n make your changes, rebuild, swap only what you changed from your's to theirs, like the res folder and resources if changed anything in the values folders, put your new apk into their zip and flash.
[Android Themes] mash4077fan:
Well I tried the link and no luck. I will have to try and find one that works and see what I can do with that. Thank you for trying
[Android Themes] Thebear j koss:
Did you use your modified manifest in the recompiled apk or did you put original from original apk back into the new 1 after recompiling? You need to put original manifest using 7zip or winrar, the 1 you modified was only so the app could be recompiled. See my previous post that I edited and deleted the link.
[Android Themes] quincho54:
Is there someone that can tell me, what's the name of the line for changing the color of the lock screen notification and the same for rounded corners of the notification on the lock screen, please.
[Android Themes] zelendel:
That depends on the device, rom and extras in the roms. Not all devices are the same. Just look for the xml for the lockscreen in the base frameworks and then back track it from there.
[Android Themes] quincho54:
I appreciate this. I hope that I will find it. I'm pretty new in this matter, so it gives me the creep ones in a while..... because there is still not enough basic knowledge... here and there. Thank you for your help.
[Android Themes] zelendel:
There are hundreds of theme tutorials all over the site. Many written from all the way back.

Your best bet is to rip the code apart and just start looking. Things will make sense after a while. It is basic xml setup.
[Android Themes] quincho54:
I will give my best. There is time enough in the rainy season. And I don't like asking people for help. But this is a little bit to much for my old brain..... Thanks again.
[Android Themes] omideagle:
I got this while recompiling apk.plz help me:(:rolleyes:
[Android Themes] quincho54:
Then your changes are not correct. You have to check your changes and correct them or start all over again.
[Android Themes] quincho54:
Dos Tickle My Android exists for Linux. I checked the Internet, couldn't find any information. Thanks.
[Android Themes] Tulsadiver:
Do you have another framework that needs to be installed?
[Android Themes] omideagle:
I have installed all of the frameworks(tw framework and framework-res)
[Android Themes] Tulsadiver:
Your code only lists one. 1.apk
[Android Themes] omideagle:
But i have installed the frameworks.

---------- Post added at 10:03 AM ---------- Previous post was at 09:43 AM ----------

No .i'm certain all of the changes are correct.
[Android Themes] Ticklefish:
Not yet, no. I've considered making a Linux version but I don't have a Linux system to test it on.

You could try using Wine or another Windows emulator.

According to your log, you've only installed one not both. Try installing them both again then decompile and recompile your APK again. If you're still having problems, please share your history.txt
[Android Themes] omideagle:
Okay.i installed both and it showed an error again.

I uploaded the log.

Maybe i edited xmls wrong!
[Android Themes] quincho54:
No, better not. With the emulators always something goes wrong. I tried Windows emulator with Odin for reasons, didn't work. It's never good to gave a mediator working for something delicate.

Would be really great if you get it done some day.

Thanks for your answer.
[Android Themes] Tulsadiver:
Just as a FYI, each work area uses different frameworks and are work area specific. In other words, you have to install frameworks for each one. Your first log was from the 3rd work area and this one is from the 1st work area. Just something to keep in mind. The apktool used is different this time too.
[Android Themes] Ticklefish:
So here are the errors stopping your file from compiling:

W: C:\Users\quit\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\layout-v22\battery_low_heads_up_noti.xml:2: error: Error: Integer types not allowed (at 'layout_maxHeight' with value '-1').
W:
W: C:\Users\quit\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\layout\status_bar_expanded_header.xml:25: error: Error: No resource found that matches the given name (at 'text' with value '@android:string/aerr_report').
W:
W: C:\Users\quit\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable\system_bar_notification_header_bg.xml:5: error: Error: No resource found that matches the given name (at 'drawable' with value '@android:drawable/pointer_alias_icon').

You need to correct that line of XML mentioned in the first error, create a string for the value mentioned in the second error and create an image for the drawable mentioned in the third error.

The string and the image could be anything really. I'm guessing your app doesn't actually use them since they're not there already.
[Android Themes] omideagle:
Okay.Thanks a lot:D:victory:
[Android Themes] Ticklefish:
​

While I sit by the pool with a drink in my hand and the sounds of my children causing chaos in my ears, my mind is drifting towards TMA and what I can do to it next.

Once I'm back home I'm going to start working on v15. There are two features at least that I can think of that people could find useful.

But I need your help. This is a question for anybody who uses Tickle My Android in a language other than English. When you install a framework file you get a message saying where it's been installed to. My question is..do you see that message in English or another language?
[Android Themes] abdelrahmannagi:
I've decompiled system ui and edited it every time I try to recompile I get an error , Iam sure about every thing , I even decompiled and tryed to recompile without any edit I got an error I don't know why :rolleyes:

Any way I've uploaded it if some body can help
[Android Themes] Ticklefish:
I need to know what the error actually is to be able to help you.

Can you share your history.txt please? It's in the USER_FILES folder and contains information I'd need to work out what's going on.
[Android Themes] abdelrahmannagi:
[MENTION=4315551]Ticklefish[/MENTION]

I've just fully deleted TickleMyAndroid and reinstalled it decompiled systemui and recompiled the modded one still error

here is the history file:
[Android Themes] Ticklefish:
Thanks.

According to this, you haven't installed any framework files before decompiling your SystemUI.apk.
[Android Themes] superdild:
I get this message

saluti, mario
[Android Themes] abdelrahmannagi:
fine I've learned re/de compile from your op around 2 weeks ago I missed something ! :confused:

Update: found it in op :)

Thanks. now I'll test again and reply
[Android Themes] Tulsadiver:
All files in your system/framework folder that end in .apk

In the theming menu, #3, install frameworks (you put them all in the _in folder first)
[Android Themes] abdelrahmannagi:
Still getting error when recompiling my System UI :( [MENTION=4315551]Ticklefish[/MENTION]
[Android Themes] Thebear j koss:
You are missing that image or xml in drawable folder for that pointer_wait_4 or whatever it is. May need to add in an image or xml or change those lines to something else.
[Android Themes] Tulsadiver:
This is missing from your frameworks, not your SystemUI.
[Android Themes] abdelrahmannagi:
I didn't understand what frameworks I'm missing. :confused:
[Android Themes] Tulsadiver:
I am not saying you are missing a framework though you may be but I'm saying those missing drawables are missing from one of your frameworks, not from your SystemUI.apk.

Try this, decompile your framework-res.apk or whatever yours is named, go to your drawable folder and copy one of the xml files to your PC somewhere. Rename it pointer_wait_4.xml, then copy it back. Then rename it pointer_wait_29.xml, copy it back, then pointer_wait_21.xml and copy it back.

Now go to values folder, string.xml. go to the bottom and copy one of the strings and paste it at the very bottom. Change the string to "aerr_process_repeated".

Save everything, recompile your frameworks and install it again. Now try to decompile, make your edits, and recompile your SystemUI.apk.
[Android Themes] abdelrahmannagi:
[MENTION=4315551]Ticklefish[/MENTION] [MENTION=5346465]Tulsadiver[/MENTION] [MENTION=4916750]Thebear j koss[/MENTION]

Thank you

every thing is working fine now

Whatever I write, I won't tell what you worth

Have a nice day :o
[Android Themes] Yoanf_26:
Hello

[MENTION=4315551]Ticklefish[/MENTION] : It's possible to add an option to Sign Non-System App for Sign Selected APK Files or Sign All APK Files please?

Thanks a lot
[Android Themes] ydd0ras:
Hello guys, I would like to deodex an brand new Oreo ROM. Can I use TMA to do that? Has someone tried this? Thx.
[Android Themes] Ticklefish:
Sure, I'll add it to my list of things to do. Should be simple enough.

In theory you can, yes. But I haven't tried it.

The trouble is that, every time Google come up with a new version of Android, they make little changes to how the odexed files work and some deodexing methods no longer work.

You're welcome to give it a try. Just make sure to make a full backup first. Let me know how you get on. :)
[Android Themes] ydd0ras:
Hello, just tried it again. Have been using 14.4 and an odexed AOSP Oreo ROM on my Mi 4 (freshly flashed). While pulling the files no errors occurred. Afterwards i have 3 folders in the Workarea1_deodex with the pulled files. In the next step (deodex) an message appeared (Error! Files not found in the folder). Have I missed something?

Many thanks
[Android Themes] ydd0ras:
Sure, but in the evening. I am on work now. Many thanks.
[Android Themes] ydd0ras:
Hello! Here we go! Many thanks!
[Android Themes] kin201303:
i can

tma_Deodex-02-07-2017@2035.zip

you haven't put build.prop

failed to copy 'system/build.prop' to '_WorkArea1\_deodex\build.prop': open failed: Permission denied
[Android Themes] ydd0ras:
Wow, many thanks.
[Android Themes] chrono183:
Trojan:Win32/Tilken.B!cl

I started out reading replies regarding the same issue I have, there was a guy who was mouthing off and I couldn't stand to read it (also got ADD, reading ain't my strong suit) so I moved on.

When I downloaded TMA it got put in quarantine straight away because of a what W10 thought was malware.

Trojan:Win32/Tilken.B!cl <---- I got 4 of these hanging around in QT

How safe is it exactly?

What simple precautions can I do on my desktop?

I'm a novice when it comes to these kinda things, last android i had was probably 10 - 12 years ago.

Now I'm on a Huawei P9, has there been any workaround on the issues at hand when the post was last updated?

I still haven't rooted the phone yet either, but i have prepared the phone for it. Things got put on hold when i got that warning.

Again thank you for any help and guidance you can provide :highfive: :fingers-crossed: And sorry for being a broken record :silly:
[Android Themes] Tulsadiver:
Thousands of people use this. I use it almost every day. All anti-virsus say the same thing and mine will even delete the executible if I don't exclude the folder I put it in from being scanned. Perfectly safe and a great tool.
[Android Themes] quincho54:
I agree. It's save. I did the same Exclude it from scanning.
[Android Themes] chrono183:
[MENTION=5346465]Tulsadiver[/MENTION] yeah, I guess I needed some reassurance. Did a plain o'l google search on the so called Trojan and the info was dismal, sporadic even.
[MENTION=5743512]quincho54[/MENTION] thanks for letting me know

How about the apk trouble's with V2? has it gotten any better over the year?
[Android Themes] quincho54:
I was in the same situation. Now I'm working with the "Tickle tool" and it works just fine. I'm on the latest, even the latest apktool 2.2.4. I couldn't detect any problem.
[Android Themes] chrono183:
That's fantastic, good on you :highfive: Gotta start somewhere though. I started with Android Studio, Eclipse EDT bundle I think it was, and aloooot of other extensions, cause I wanted to create my own original theme and keyboard. But I realized very quickly exactly how hard it would be to code from scratch, I couldn't make copy / past work properly, so I stopped :victory: yes I'm a basic pleb :laugh: So I came snooping back here :cowboy: :D
[Android Themes] starbucks2010:
I just changed my job and McAfee antivirus installed on my new work laptop is detecting TMA as trojan. I know that is a false alarm but I cannot configure anything in McAfee due to company policy (the interface is locked with admin password). Do you know a way to bypass this problem?

[MENTION=4315551]Ticklefish[/MENTION] there is no possibility from your side to change something in the .exe file to not read it as a trojan?

Best regards.
[Android Themes] LiquidT:
[MENTION=4315551]Ticklefish[/MENTION]

I'm having some recompile problems, could you help me. Here is a copy of my history file.
[Android Themes] Tulsadiver:
You need to install framework(s) before decompiling and then recompiling your SystemUI.apk. Also, give more info when asking for help. Your phone and firmware would help.
[Android Themes] LiquidT:
Ok. Thank you. Will give it a go.
[Android Themes] LiquidT:
[MENTION=4315551]Ticklefish[/MENTION], [MENTION=5346465]Tulsadiver[/MENTION]

I'm still having a recompile problem. I went back and installed the framework-res.apk and still no go. Here is a copy of my history.txt files.

Verizon Samsung s8+ stock SystemUI.apk

latest AQGL firmeware
[Android Themes] Thebear j koss:
Error is in your dpi in those layouts xml's. Try changing 0.0 to null.
[Android Themes] LiquidT:
I'm trying to add 3minit battery mod to my systemUI for a new Rom I working on. The information I have told me to change the dpi in layout/system_icon.xml to 0.0dpi. Maybe I'm not supposed to add the dpi just put 0.0, you think?? Any ideas?
[Android Themes] Tulsadiver:
The layout height and width of the batterymeter needs to be 0.0dip. Then you add the 3minit line of code under that. Then the smali not necessarily in that order. You might have to change the dimens of the battery to 0.0 dip in dimens.xml also.

dip, not dpi
[Android Themes] LiquidT:
Ok. The problem probably is I put dpi instead of dip. I just copied and pasted. I will fix and try again. Thank you

UPDATE: Changing the dpi to dip fixed the problem. Thank you.
[Android Themes] Thebear j koss:
Good catch. Always need to be aware of spelling and punctuation. The slightest mistake causes errors.
[Android Themes] LiquidT:
Hey are there a way to deodex an .apk? The problem I having is when I say pull my framework-res.apk and systemUi.apk, the systemui is not deodexed. If I simply install framework and decompile systemui there are no smali files. The rom is modified root stock rom for Verizon s8+
[Android Themes] Tulsadiver:
I believe you need the entire framework folder and build.prop in there as well.
[Android Themes] LiquidT:
Ok thank you. I will give it a go and see.
[Android Themes] Thebear j koss:
Is there an .odex file in the systemui folder when you pull it? Not the apk but the whole folder.
[Android Themes] LiquidT:
No there is not just a oat file
[Android Themes] 22728033:
Can it work on Samsung Galaxy S8+?

I used Deodex ROM but it stuck at second boot logo when I flashed it.
[Android Themes] Ticklefish:
Wow..it's been ages since I last had time to post here.

For those who may not remember, I've recently changed my job. The hours are better, the pay is better, I get to spend more time with my kids, the drive is shorter and the work is more interesting. However..there's much less time to misuse..er..I mean..borrow the company PC to work on TMA.

Consequently I haven't really done anything with the code for v15. But I haven't forgotten this tool and I am planning to do some work on it soon.

For the time being, I've updated the EXE file with the very latest version of Apktool. This is compatible with Oreo files as well as having the latest improvements you'd normally expect.

Download it now from the link on the OP.

(By the way, the EXE was made on my laptop at home. The laptop barely works and is barely more than a glorified paperweight, which is why I don't really use it anymore. It also runs XP, when I normally make these EXE files in Win 7. So if there are any problems, please let me know!)

Deodexing is tricky, every version of Android has its own unique issues. Can you share your history.txt please and I'll see what I can work out?
[Android Themes] zooperaj:
I have Samsung Galaxy Grand Quattro GT-i8552 with Jelly Bean 4.1.2

1) Is TMA suitable for my phone?

2) Which apktool will successfully decompile and recompile apks for jelly bean?