yashsingh1/xdaforums huggingface dataset:
[Android Themes] kramer04:
Try to decompile recompile framework with apktool.jar 2.3.2

It works for me
[Android Themes] kubura2999:
I tryed 2.3.2 also, still the same output error.

Thanks anyway.
[Android Themes] Ticklefish:
It looks like this may be an issue with apktool itself. I've posted on the apktool thread about it, in reply to [MENTION=3502310]kramer04[/MENTION]'s post and we'll have to see what happens.

TMA does come with the ability to change apktool versions so, if using an older version works for you, then that's a solution of sorts at least.

Can you try recompiling with aapt2 support please? You'll need to go through the Theming Menu for that.
[Android Themes] kubura2999:
Thats the first thing i did, but its the same output. I didnt have problem with sistem.ui and services, but with TW and framework-res and i think secsettings i have a problem recompiling.

I tryed last 3 apktool versions but its the same.

I used A5 2017 deodexed(with SuperRsKitchen) files oreo 8.0

.
[Android Themes] Ticklefish:
Can you share your APK files please? I'll have a go on my setup and see if I can come up with something.
[Android Themes] kubura2999:
Sorry for delay for files, but i was buisy at work all day.

Here they are...
[Android Themes] Ticklefish:
Thank you. I'll see if I can take a look later today.
[Android Themes] amakuramio:
its not pulling anything, and even if I manually copy framework it says not found in _deodex folder...
[Android Themes] ve zein:
Thanks you bro..
[Android Themes] inspired55:
I can't seem to get the mouse to work on latest version worked on earlier versions. And ideas?
[Android Themes] Astrako:
Hi [MENTION=4315551]Ticklefish[/MENTION], I am having problems with recompilation in lastest version.

I install framework-res.apk and lge-res.apk like many times before.

Decompiling is always good.

I try to recompile framework-res.apk and is unsuccessfully. LGSystemUI recompilation is fine but the size of file is 0 Kb.

I have attached here recompile logs.

EDIT: I was using bad framework files, once installed the right ones all is fine. Thanks!
[Android Themes] Ticklefish:
Sorry for the delay folks. Things have been manic at home and at work so I haven't been online much.

Thanks for your files. This is the same issue that kramer04 had and is a known problem with apktool.

Can you share your history.txt please?

When TMA says the files aren't found in the _deodex folder, have you copied over the build.prop file as well? TMA needs that to be able to work out what deodexing method to use..

Curious. I've just tried it and it works without any trouble at all.

When you try does the mouse just not work at all all? Or does it only work in some places? Or does it work but it's not giving you the results it should be?
[Android Themes] francitato02:
hi, i'm having a problem. if i try to lunch ticklemydroid, something go wrong. A text appear and say that an access in /tool_files/rewrite/settings/DateTime is denied. The history log is empty, i already tried to reinstall the app, but i get always the same error. What i can try to do?
[Android Themes] Ticklefish:
That's a new one. DateTime is just a text file so there shouldn't be any access issues..

Are you running this as an administrator?
[Android Themes] nguyentankiet:
[MENTION=4315551]Ticklefish[/MENTION]

Smali updated

https://bitbucket.org/JesusFreke/smali/downloads/
[Android Themes] kurtn:
Any chance to deodex lineageOS 15.1 (Oreo 8.1 custom ROM)?
[Android Themes] Albe96:
Deleted
[Android Themes] Ticklefish:
Nicely spotted! I'll update the files in TMA as soon as I can.

Yep. Give it a try and let me know if you have any trouble. :good:

That's deep, bro. It's like, at the end of the day, when all is said and done, aren't we all going to be deleted?

Words to think about, man. :cool:
[Android Themes] Albe96:
LOL.I wasn't sure about the answer for if it can deodex 8.1 roms.So yeah,I deleted,why should I give false statement when I've not tried.. ?
[Android Themes] kurtn:
mabye i'm too noob
[Android Themes] Albe96:
Looks like it failed to pull the build.prop from "system/".Most of manufacturer's like Samsung has the build.prop inside "system/".The ROM you're trying to deodex maybe has it in other location,so it failed to pull it I guess.

What's your opinion [MENTION=4315551]Ticklefish[/MENTION] ? Maybe you can implement someting to pull it whereever it's located.
[Android Themes] Ticklefish:
Adb isn't that clever, sadly. The pull command just copies a file or folder from a set location. "build.prop" should always be in the same place though, I think.

Not that that is the issue here. The error message is this:

adb: error: connect failed: device unauthorized. This adb server's $ADB_VENDOR_KEYS is not set Try 'adb kill-server' if that seems wrong. Otherwise check for a confirmation dialog on your device.

Adb isn't able to pull any files from the phone at all. I'm guessing that it wasn't given permission on the phone when the first pull attempt was done.

If that's the case then you can go into the Developer Options in the Settings menu on the phone and 'revoke the USB debugging authorisations'. This will make the phone ask again next time the pull is tried. Just make sure you have USB debugging enabled!
[Android Themes] Albe96:
Ehm, On AOSP Roms there's no system/build.prop in the zip(the zips are block based).and maybe the same for Oneplus.They don't have it in system/.But yeah,most of the device's build.prop in in there
[Android Themes] kurtn:
The problem begins after daemon started successfully. A black window pops up and closes instantly. Nothing happens thereafter.

I've copied the files manually. Now tickle says cygwin1.dll is missing. But I know it is there. [MENTION=4315551]Ticklefish[/MENTION]
[Android Themes] Ticklefish:
I've just updated the tool with the latest smali and baksmali, as well as making some small tweaks to the deodexing code. Please try downloading the tool from the new link in the OP and trying again.

If you're still not having much luck, I can try it on my setup for you if you're able to share your files.
[Android Themes] Er. Aditya:
hi sir sorry for ealier time i couldnt upload logs but here are the error i face now
[Android Themes] Ticklefish:
Try going through the Theming Menu and recompiling with aapt2 support.
[Android Themes] Er. Aditya:
same story again sir here are the logs
[Android Themes] Albe96:
[MENTION=4315551]Ticklefish[/MENTION] Seems Like I was having the same error as [MENTION=5750672]Er. Aditya[/MENTION] mentioned while recompiling framework-res.apk 6.0.1 .Thought it was only me..

It basically,not supported qmg errors I guess.If we convert them to png and then try it may be a success.But that's alot....

Besides that I tried other tools and I got the same error.So I'm not sure if it's TMA's fault or the framework itself... ?.Not sure what to do.A project stucked on there.I can't continue till this error got fixed
[Android Themes] Er. Aditya:
I tried another apktool and it worked fine sir
[Android Themes] Albe96:
Not for me
[Android Themes] Er. Aditya:
On android 6 or any other later then tgat ?
[Android Themes] Albe96:
I was working for low-end device with 6.0.1 lol
[Android Themes] Er. Aditya:
Higher versions are pure **** imho
[Android Themes] Albe96:
Not really... I like higher versions :p
[Android Themes] Er. Aditya:
Lol lets swap the device
[Android Themes] Albe96:
Lets do it ?
[Android Themes] Er. Aditya:
Haha whenever u like sir i guess dev is gonna kill us
[Android Themes] Albe96:
That's for sure ?
[Android Themes] Ticklefish:
I've seen this a few times recently, including inside this very thread. It's a known issue with apktool and there doesn't seem to be a fix for it yet. Have a look here (https://xdaforums.com/showpost.php?p=76601579&postcount=5440) to see my post on the apktool thread about it..
[Android Themes] Albe96:
Ehm,it's a common error we are facing atm.Please check previous post and it seems to be an apktool error.

---------- Post added at 06:32 PM ---------- Previous post was at 06:30 PM ----------

Did he respond? I'm freaking out with the error.Hope that he'd look at it soon...
[Android Themes] Er. Aditya:
hmmm waiting is the only option i guess

: edit sir can there be an extra option in quick menu to zip up the current file we are working on
[Android Themes] :
Best option for the moment is using older version of apktool2.3.2.jar to sucessfully recompile Framework.res.

You can download it here: https://androidfilehost.com/?fid=673956719939831047

Just put it in Ticklemyandroid /userfiles/apktool and in tma menu choose 21 (Change apktool Version).

Unfurtunately i can not compile the Secsettings2.apk (Nougat, Galaxy S6) correctly. It does recompile, but i get bootloop afterwards.

I did not change anything in the apk and tried different Version of apktool.jar (2.3.2, 2.3.3). Did someone else expierenced Problems with the SecSettings2.apk?
[Android Themes] Albe96:
First of all this seems like a invalid attr issue.Uou must have added attrs value in wrong format that's why it's not recompiling.And secondly I think it'll not recompile either after you fix the attrs error.But you can give a shot.

You can see the attrs.xml:1994 that means something is wrong with line 1994 in res/values/attrs.xml.And do the same for other line.Find and fix it!

Good Luck

---------- Post added at 10:28 AM ---------- Previous post was at 10:27 AM ----------

Ehm,Thanks buddy will try this apktool
[Android Themes] Eleo:
Try firstly recompile right after decompiling (with no changes) and see whether you can recompile. If you cannot recompile then it means most probably it is not even related with what you edited.

What are the boot logs saying? You need to capture boot logs to find out what went wrong. It is possible that something in signature went wrong... just try to compare compiled and original secsettings.apk
[Android Themes] :
I solved this Problem using this method from a.raul: https://xdaforums.com/showpost.php?p=76259533&postcount=40

Although it is meant for Oreo Secsettings, it worked for me on Nougat 7.0 G920Fxxu6erd1 (with minorchanges from the description).

Now i still have to look at the Framework jar files. The deodexing Progress did not work correctly using TMA. Right now i can make changes to systemui, twhome, Services.jar, Framework.res, Secsettings2 but Framework.jar has to be solved later, next month i have barely time for modding.

Thanks for your support, and if other user experience same Problem, just follow the link in my description.
[Android Themes] kurtn:
Oops. That's dev level. Has anyone a noob level procedure for deodexing a aosp Oreo ROM?
[Android Themes] Ticklefish:
We keep getting this lately. I'm going to have to think about adding it to the FAQ's (not that anybody reads those)..

This is an issue with apktool and was discussed on the very post before yours. There doesn't seem to be a fix in apktool yet but it may be worth trying an older version..
[Android Themes] S0bes:
[MENTION=4315551]Ticklefish[/MENTION] hi, that's a great tool.

I download it now to deodex my oreo rom.

But I faced a little issue. When I try to "Pull Relevant Files From Android Device" it only pulls build.prop and then the new opened window closes. But I succesfully pulled system folder to my pc by using "adb pull" command in cmd.

That's the log I guess

30-06-2018@1955 --- Pulling "build.prop" From "system/" To "_WorkArea1\_deodex"

[100%] system/build.prop
[Android Themes] Ticklefish:
Every time I try to answer this, something else happens. Stuff at work, poorly kids, etc, etc..

Anyway.. If TMA isn't pulling your files there could be a lot of different reasons. But you can copy them over manually if you'd prefer. As long as you copy over the build.prop and framework folder, the tool will be able to deodex.
[Android Themes] rnadomuc:
It seems to work so long as you delete the folders inside the C:\ticklemyandroid\_WorkArea1\_deodex folder

Apparently the folders existing make adb pull throw this error message:

adb: error: failed to create directory '.\framework\': File exists

It's funny how such a small thing as the folders already existing cause such a major issue...

But unfortunately, the Deodex ROM procedure is unable to handle /framework/oat/arm/services.vdex

05-07-2018@2237 --- Processing No.5 - "_WorkArea1\_deodex\framework\oat\arm\services.vdex"
[INFO] Processing 1 file(s) from framework/oat/arm/services.vdex
[ERROR] [1744] 2018/07/05 22:37:19 (vdex_backend_v10.c:455 vdex_process_v10) Unexpected checksum (5d2379f8 vs c9918c30) - failed to unquicken Dex file
[ERROR] [1744] 2018/07/05 22:37:19 (vdexExtractor.c:269 main) Failed to process Dex files - skipping 'framework/oat/arm/services.vdex'
[INFO] 0 out of 1 Vdex files have been processed
[INFO] 0 Dex files have been extracted in total
[INFO] Extracted Dex files are available in 'C:\ticklemyandroid\_WorkArea1\_deodex'

05-07-2018@2237 --- "_WorkArea1\_deodex\framework\oat\arm\services.vdex" Not VdexExtracted
[Android Themes] francitato02:
tried but still nothing :(
[Android Themes] Ticklefish:
Interesting. I'll update the code so adb can pull the files properly.

That's the good news. As for your file not deodexing, there's not really much I can do about it. Looking at the error code, the file failed a checksum comparison. That's going to be something the original developer caused..

I'm at a loss here. I've no idea why your setup won't access a standard text file, sorry. The only other thing I can think to suggest is making sure you've got TMA installed at c:\ticklemyandroid. It's not impossible that another location might cause an issue..
[Android Themes] Ticklefish:
Whoops...didn't mean to post this just yet!
[Android Themes] Er. Aditya:
so we can keep our fingers crossed :D
[Android Themes] Ticklefish:
You can uncross them now. ;)

https://xdaforums.com/crossdevice-dev/sony-themes-apps/mod-animated-home-softkey-nav-bar-t3815903

(This mod has taken me a year and a half to put together. Let nobody say that I don't move fast!)
[Android Themes] Er. Aditya:
Awesome stuff sir lets give this a roll ♡
[Android Themes] Thebear j koss:
Nice. [MENTION=4315551]Ticklefish[/MENTION] https://www.xda-developers.com/animated-gif-home-button-android/
[Android Themes] Ticklefish:
Hey, that's pretty cool. I've now made the Portal three times over the years.

(Not that I'm keeping count or anything.. :o )
[Android Themes] gaganbajwa:
[MENTION=2825275]trickle[/MENTION] my android

Help me

When i decompile framework.jar in working folder not showing all folder how to fix this
[Android Themes] Albe96:
Well,somehow your guide helped me to get into morningstar's smali.We can play gifs around the device with the smalis... ?,I think there' was a similar smali you could've used through a .gif file and not with separted images and that is GifPlayer.smali,we used it to play gifs in Lockscreen and Notification Panel--> https://xdaforums.com/showpost.php?p=76445897&postcount=99

---------- Post added at 03:57 PM ---------- Previous post was at 03:51 PM ----------

Make sure your ROM is deodexed.Odexed framework.jar can't provide you the smali files
[Android Themes] gaganbajwa:
Yes my rom is deodexed
[Android Themes] Albe96:
Not possible.show me decompile log
[Android Themes] Ticklefish:
I remember seeing that gifplayer smali before, I think. I'll be honest - I'd forgotten about it entirely. I was trying to create a smali mod of my own, just to be a bit more useful to the community, but I couldn't get my java to work. Somebody suggested using morningstar's code..and here we are.
[Android Themes] Ticklefish:
Yes, the logs should help. If the JAR is deodexed, there will be smali files inside it. If there are no smali files, it can't be deodexed.
[Android Themes] Ticklefish:
It would be rude and egotistical of me to correct myself and point out that it's actually been four times..

So I won't.
[Android Themes] Er. Aditya:
So soon lets hope for 5th time :D
[Android Themes] and2:
[emoji23]?[emoji23]?

Gesendet von meinem SM-N950F mit Tapatalk
[Android Themes] Skulldron:
Hey guys please help. When i run tickle my android it gives me an error saying : 'TickleMyAndroid\tool_files\rewrite\settings\DateTime10 was unexpected at this time.' It juts closes after that
[Android Themes] Ticklefish:
Can you give me your history.txt please? And where did you extract the EXE to?
[Android Themes] Skulldron:
NVM i just moved to desktop and its working lmao
[Android Themes] Ticklefish:
I'll be going on holiday abroad at the end of the week. Two weeks of sun, swimming, relaxation and...no WiFi connection at all!! :eek: (Surely there should be a law about this sort of thing by now?!)

Which does mean that I won't be able to help if there's any problems with TMA. If you get an issue, try looking at the FAQ in the 4th post or using the search function to see if anybody has experienced that issue before. TMA has been going for years, so it's quite likely.

When I come back I'll be working on v16 of this program. I have a few ideas about how to streamline and improve things. But I need some information first..

Does anybody still use the icon swapping functions anymore? This used to be a vital part of the code back when this all started but I get the feeling that modders don't really need it anymore.

And who here actually uses the deodexing function? I occasionally hear from people who are having trouble using it but never from anybody who uses it successfully.. I've got some plans to make it more user-friendly but there's not much point if it's only me that uses it.

Let me know!
[Android Themes] pocketjose:
Hi, I'm having a problem.

I want to change color of notifications in a nougat stock rom for S6 flat.

I decompiled the framework-res.apk, modified the colors in res/values/colors.xml and changed to white some notifications entries I read in another xda thread.

Then I recompiled it again, created a zip and flashed it using flashfire.

Everything goes fine except I see no changes in notifications color. What can be happening?
[Android Themes] kin201303:
Ticklefish

And who here actually uses the deodexing function?

I use

S8 (8.0) core-oj.jar cann't deodexing (win 10)

thank you
[Android Themes] Tulsadiver:
Are you trying to change the background or text color?
[Android Themes] porkyhontas:
Values/colors isn't the only place to change text and background colors. There's drawables, colors, styles and all of the layout folders.
[Android Themes] Thebear j koss:
Also can be pulled from smali, system ui, or in a per app basis. Not all apps use system files... ??
[Android Themes] porkyhontas:
Yep, and smali, systemui, framework-res and a per app basis. Welcome to Theming 101, lol.
[Android Themes] stang5litre:
I use the deodexing function [emoji41][emoji106]. All my roms are deo. Hope you have a great holiday bud!

stang5litre 5.0 Edition Roms
[Android Themes] mrh87:
Smaller interface

[MENTION=4315551]Ticklefish[/MENTION]

:: Please Help Me

When I open it

It's a very small interface

I can't see any things

Please help me to solve it.

I keep it in

Computer>Local Disk(C)>TickleMyAndroid

And installed latest JRE

Please help
[Android Themes] ninja_unmatched:
What version of Android do you need it for? What version of APK tool is being used?

The APK you are working on, what version of Android is it based on? (What is it's lowest version of Android it can be installed on?)

Suggestion.... Try a different (newer if possible) version of Apktool.

Or try a newer version of the apk you are working on.

I know Apktool had a limit of 52 byte configs. So with that limit everything else related gets dropped. I thought that was fixed in newer versions of Apktool.

Android N apks caused that error cause it had new attributes. (But that was fixed in Apktool as of some older version) So could also be possibly the frameworks you are using.

Maybe older version of Android framework than what the APK was made for. I'm brainstorming here. Anyone can add in... But start with my first suggestions....
[Android Themes] mirkolo:
thanks for your repply,

I'm trying with apk oreo for EMUI ROM ...

I installed different framwork and I tried different systemui but nothing ...always wrong ..

a curious thing happened, for example, the framwork.res .apk has decompiled it..
[Android Themes] Albe96:
TMA's deodexing feature don't really works.We prefer you to try Super.R's Kitchen to deoxed.
[Android Themes] whalesplaho:
I ll give dat a shot and see buddy.... Grateful!

---------- Post added at 08:37 PM ---------- Previous post was at 08:23 PM ----------

To use tha app for windows, its donation.... Really need to deoxeded my framework file.... :crying:
[Android Themes] Albe96:
Yeah.You need to donate to get it.But there's a free version for linux also.Or Checkout some random tools such as Fulmics Deodexer,it may help
[Android Themes] whalesplaho:
Fulmics tool is discontinued and dnt think it supports Oreo.... I have been searching but no available too yet except TMA dah i saw and [MENTION=4315551]Ticklefish[/MENTION] says latest version supports. Guess he is busy cos he replies always!
[Android Themes] Albe96:
I think [MENTION=5132229]xpirt[/MENTION] did add Oreo support to Fulmics Deodxer.

---------- Post added at 02:15 AM ---------- Previous post was at 02:13 AM ----------

[MENTION=4471890]whalesplaho[/MENTION] read this.Do you still think TMA is pretty good for deodexing?
[Android Themes] whalesplaho:
Didn't see that bro.... Thanks man!

I will try fulmics and see first bro... Hope [MENTION=4315551]Ticklefish[/MENTION] comes back safely.

---------- Post added at 05:34 AM ---------- Previous post was at 05:12 AM ----------

Doesnt supports Oreo 8.1 just 8.0....
[Android Themes] porkyhontas:
Sometimes you need to try several different frameworks along with different apktools to get things to decompile correctly; then usually you can recompile with an updated apktool. And sometimes you're just SOL until a new apktool drops. I'm assuming also you're running an AOSP ROM which sometimes is an issue unto itself.
[Android Themes] Mando_8:
Hi, When I tried to decompile and recompile framework-res.apk , i got errors.

My phone is samsung note 5 n920c.

Can anyone help, please.
[Android Themes] Albe96:
It says,you messed up something in res/value/attrs.xml.See the line numbers.There you did something wrong.Fix them.Or post the lines here.So we can check
[Android Themes] Mando_8:
I didn't modify anything. I just decompiled then recompiled it.

i went to attrs.xml and found these lines in the end
[Android Themes] kevintm78:
Did you forget to install your framework files? There will be two for TW roms, framework-res.apk and twframework-res.apk. Both should be installed.
[Android Themes] kramer04:
Try with apktool 2.3.1 or 2.3.2
[Android Themes] Mando_8:
I tried all versions.

here are the files, i want to decompile and recompile

https://mega.nz/#!fRtxSb6L!TZsdAikxQ_Fu0fcTj8OV4KZhip92HzRA4RGzkiCy9Xw

https://mega.nz/#!bF0DBZCT!V4T-abxVmGW7CqcdPfecQ3SHaV5L1KEvA5CI8bchAZQ
[Android Themes] kramer04:
I can decompile/recompile your Framework with apktool_2.3.2

Works very nice
[Android Themes] Mando_8:
I am very happy to hear that.

So, what is the problem ?

I am using the last version of TMA and apktool 2.3.2.

But alaways have errors.

1) i pulled the framework-res.apk from my device

2) i installed the framework on pc.

3) i choosed decompile and recompile with original signature in one step without any modifications.

Can you help me please?

:)
[Android Themes] kramer04:
do you have installed also samsung-framework-res.apk ?

Because with Samsung device you have to install 2 files as framework, so in folder Frameworks you must have 2 files : 1.apk and 2.apk
[Android Themes] Mando_8:
I installed the two files.

That's why i uploaded both for you

---------- Post added at 11:17 AM ---------- Previous post was at 11:13 AM ----------

Can you zip the framework-res.apk folder after decompiling process and send it to me.
[Android Themes] kramer04:
weird

because if it works for me it does work for you

so i think you make something wrong.

Are you sure you have decompiled with apktool_2.3.2 and not 2.3.3 ?
[Android Themes] Mando_8:
Yes. Sure

But i will try again