yashsingh1/xdaforums huggingface dataset:
[Android Themes] kennyboyismr47:
I'm having a similar problem when trying to deodex so i can modify the systemui, i get a different error but it's still a smali error.

It's my first time trying to deodex but i have decomplied and recomplied after modding with no problems before.

The systemui is from a 4.4.2 rom which shows no smali folder so i have to deodex it, unlike my Note Edge which i didn't have to on an odex rom. I'll try again using an earlier tickle version and post a log.
[Android Themes] gencho81:
Ok guys lets start from the beginning :

I have a stock rom,witch is ODEXED and i what to add 3minit Battery mod support.In order to do that i need to edit one XML file in SystemUI.apk and add 3 smali files in smali folder.

So I extract this 4 files from the rom : Framework-res.apk , twframework-res.apk , SystemUI.apk and SystemUI.odex

First i install the 2 framework file with the tool.

Then I decompile the SystemUI.apk-the only apk in _in folder -The odex file is invisible After decompile i have one folder in _working with name SystemUI.apk

witch have only RES folder inside and some files from the tool.

Then i go to deodex menu and the only option for deodexing is SystemUI.odex so i do it.

After that i have a folder SystemUI.odex and option to combine them -i do it

At the and i have in _working one folder SystemUI.apk with all files and folders inside.

I add the smali files in smali folder,edit the XML file i need to and when try to re-compile it is start to have this problem so i can't even use it like deodexed.

Main problem-even if i don't change nothing in XML file and i don't add the smali files i am unable to recompile it.
[Android Themes] kennyboyismr47:
Same, here's my logs
[Android Themes] Thebear j koss:
Flash a stock deodex rom. Your life will be millions of times easier. You should deodex the systemui BEFORE you decompile. Then you should have a smali folder in your working systemui folder where you can edit the smali files. Recompile the system UI then ODEX it if you want. Personally I see absolutely no value in keeping anything Odexed. But to each his own.

Thebe@r'$ G@L@XY

De-materializing Android 1 app at a time...

Edit- plus are you loading odex frameworks and systemui into TMA? If so try deodexing them then installing into TMA. Your odex files are probably not playing nice with TMA.
[Android Themes] kennyboyismr47:
I will leave the systemui deodexed after i mod it, not going to odex it again, i'll delete the odex file in the phone system when i put the modded systemui back, the problem is trying to deodex it so i can mod it, It's my wifes S4 mini so the roms for it are limited otherwise i'd be flashing another rom and getting the mods i want.

Edit: I guess the main problem is the odex files. With my phones i've had custom roms and had no problem on the Note 2 and 3.
[Android Themes] gencho81:
Guys thanks all for assistance . Finally i made it.The problem was in framework folder in _deodex.

All i have to do is to copy all the files from phone framework folder in there.Untill now i was copying only the framework-res files .

After i put all the files from odexed framework folder there the odex file of SystemUI was properly deodexed and added to working folder.

Now i have odexed stock 4.4.2 on my phone with 3minit mod active and working.

As i said before- great tool man.Just great.
[Android Themes] Ticklefish:
Thanks to everybody for their input on this!

Odexing an apk is normally a waste of time, to be honest. Apparently, if your device is old and not very powerful, it might make it slightly faster but that's really the only advantage.

You don't need to deodex every file, just the ones whose smali you're planning to mod, but there's no point odexing them back again once you have.

[MENTION=4795708]gencho81[/MENTION], did you originally copy over the framework-res files yourself or did Tickle My Android do it? TMA is supposed to copy your entire framework folder into the '_deodex\_framework' folder. If it's not, I need to take another look at the code.
[Android Themes] gencho81:
I was copying them manually since they were for other device-not mine and i have only system.img of it.

But when i look into \TickleMyAndroid\tool_files\pullframework.bat i see that it copy the WHOLE folder.

It was my mistake.I gues the code is working fine .My mistake was-i see framework folder in _deodex after Prepairing Folder option in tool and every time i was putting there only framework-res.apk and twframework-res.apk

But now all is perfect.
[Android Themes] Ticklefish:
SLIGHTLY NEW APKTOOL AVAILABLE NOW!​

[MENTION=3924617]iBotPeaches[/MENTION], the hard-working dev behind apktool, has released a snapshot build of the latest commits.

This new build fixes a bug but that's not the big news. The big news is that apktool is now compatible with Android 5.1.!

To download it, head to this post here: http://xdaforums.com/showpost.php?p=59436776&postcount=2812

Don't forget to press the

THANKS

button while you're there! Without apktool, decompiling just couldn't happen..:eek:

(To use this snapshot in TMA, you'll need to rename it slightly. Please rename the file to "apktool_2.0.0-35f978-SNAPSHOT.jar".)

By the way, if you're having any problems using TMA to decompile and recompile, please don't post on the apktool thread. Post here first, just in case it's an issue with my tool, not his. Thanks!
[Android Themes] Thebear j koss:
Saw that this morning, thanks [MENTION=4315551]Ticklefish[/MENTION] and [MENTION=3924617]iBotPeaches[/MENTION] you should add that this new apktool build will most likely not fix issues with touchwiz and LG yet as it is only a preliminary built off 5.1 source code. On another note if anyone has or can post a link to new framework from 5.1 it would be appreciated. Usually takes a few days to find new framework without downloading entire system IMG or whole stock rom. Thanks.

Thebe@r'$ G@L@XY

De-materializing Android 1 app at a time...
[Android Themes] Dzepar:
TMA pull request is working fine, two days ago i used it to deodex some apps. :)

Xperia M2 D2303 on K.K. 4.4.4
[Android Themes] NZnewbie:
Hi Guys,

I have an issue with decompiling the SystemUI on my S5. Using apktool apktool_2.0.0rc4.

I have tried a new TMA download that made no difference. Ill attach the log.

Thanks in advance :)
[Android Themes] Ryno1982:
Did you install both framework-res.apk and tw-framework-res.apk?

Then did you decompile tw-framework-res.apk with apk tool 1.5.0 or 1.5.2, while using the latest tool for the others ?

Also, I don't know if actually needed, but I always grab framework.jar and framework2.jar also.
[Android Themes] NZnewbie:
Yes i did pull the Framework-res/Tw-framework.. Tho... the only thing i didnt do was check the enviroment paths!!! :confused:. So Ill check over that too.

And go again!! :good:.

Thanks

Edit.. Didnt fix it.
[Android Themes] Ticklefish:
Can you share your history.txt please?

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

Sent from Tapatalk

------------------------------
[Android Themes] NZnewbie:
Hi,

Attached.

Thanks :)
[Android Themes] Ticklefish:
Looks like you need to install framework-res.apk before you try decompiling your SystemUI.apk.

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

Sent from Tapatalk

------------------------------
[Android Themes] NZnewbie:
Oh Sorry,

Heres a Better log.

Shows the process ive used and the systemUI failing to decompile.

Thanks for your time :).
[Android Themes] Ticklefish:
Thanks. You still need to install framework-res.apk before decompiling SystemUI.apk.

You've pulled it but not installed it.

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

Sent from Tapatalk

------------------------------
[Android Themes] NZnewbie:
Awesome!!.

Thanks again. Worked as it should now! DUH!!! :).

I better write this down!! ha.
[Android Themes] Ticklefish:
Excellent, I'm glad it worked.

Installing resource files is one of those things that becomes instinctive after you've done it a few times. Now you know how, I'm sure you'll be doing a lot more decompiling! :D
[Android Themes] glfsd:
15-03-2015@17.37.22,96 --- SESSION STARTED
15-03-2015@17.37.22,96 --- WorkArea Set To "WorkArea1"
15-03-2015@17.37.22,96 --- Apktool Version Set To "apktool_2.0.0rc4.jar"

15-03-2015@17.37.33,67 --- Apktool Version Set To "apktool-2.0.0-35f978-SNAPSHOT.jar"
15-03-2015@17.37.53,14 --- "_WorkArea1\_in\framework-res.apk" not installed to PC

I: Framework installed to: C:\Documents and Settings\PC_CUCINA\apktool\framework\1.apk

15-03-2015@17.38.02,31 --- "_WorkArea1\_in\lge-res.apk" not installed to PC

I: Framework installed to: C:\Documents and Settings\PC_CUCINA\apktool\framework\2.apk

15-03-2015@17.38.39,50 --- "_WorkArea1\_in\lge-res.apk" decompile failed, using "apktool-2.0.0-35f978-SNAPSHOT.jar"

15-03-2015@17.39.28,89 --- Apktool Version Set To "apktool_2.0.0rc4.jar"

Decompiling "lge-res.apk",
in workarea "_WorkArea1", using "apktool-2.0.0-35f978-SNAPSHOT.jar"

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

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

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

Decompile Not Successful!

:confused::confused:
[Android Themes] Ticklefish:
So it turns out I made a typo in my post about the new apktool. It needs to be renamed to apktool_etc, not apktool-etc.

I've edited the post and the downloads so you just need to rename that jar file, select it again in the Settings Menu and you'll be good to go.

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

Sent from Tapatalk

------------------------------
[Android Themes] glfsd:
Decompiling "lge-res.apk",
in workarea "_WorkArea1", using "apktool_2.0.0-35f978-SNAPSHOT.jar"

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

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

I: Using Apktool 2.0.0-a766db-SNAPSHOT on lge-res.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Documents and Settings\PC_CUCINA\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...

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

Decompile Successful!

Recompiling "lge-res.apk" With Original Signature,
in work area "_WorkArea1", using "apktool_2.0.0-35f978-SNAPSHOT.jar"

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

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

I: Using Apktool 2.0.0-a766db-SNAPSHOT
W: Could not find sources
I: Building resources...
I: Copy original files...
I: Copy AndroidManifest.xml...
I: Copy META-INF...
I: Building apk file...

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

Recompile Successful!

thank you!! :good:
[Android Themes] vampent0026:
Suggestions

Hi there master [MENTION=4315551]Ticklefish[/MENTION],..

I've been using your wonderful and amazing tool since the first day i learn how to decompile & modify apps (almost a year), it really helps me a lot and i never found any decompiling/recompiling tool as sophisticated as this,so for that i really,really thank you..

But recently as i've learn so many things in modifying apps, your implementation of 6 folders is really a big help and i mean that's wow! i've got JB4.3 apps and frameworks in workarea1, Kitkat 4.4 stuffs in workarea2, themes in workarea3 and so on.. i often changes my workarea folder like everytime as it really needed when porting some app from different OS (like from 4.4 to 4.3) but it's kinda taking a little long time when changing these workarea folder so now i want to suggest something to maybe further the ease of using this Tool...

So my suggestion is:

1. maybe you could put some clickable workarea folder shortcuts like in the image in the top-right area of window..

2.is like the first one, i change apktool version too when it's not working properly (can't decompile or the file decompiled and recompiled just fine but couldn't install for some reason .. i face this issue while using the apktool2.0.0_Rc4 in some JB4.3 apps.. it's not TMA issue but the apktool itself, but for the ease of the users you can include this too on your next update..

3. and last but not the least, maybe you could also put some "refresh content" option in decompile menu as i often add new "i suddenly remember" needed stuffs when decompiling in "IN" folder and TMA doesn't detect it right away so i need to click "Theming menu"again then "decompile"..

and that's all!!thank you again and hoping for your kind consideration..Good Luck!CheerS!:good::)
[Android Themes] Thebear j koss:
What framework res did you install? Build #? May need a different framework

Thebe@r'$ G@L@XY

De-materializing Android 1 app at a time...
[Android Themes] cabbieBot:
I pulled it right off the device (a nookcolor running a version of CM11 that I built, so its Android 4.4.4) using the pull option in TMA.
[Android Themes] Thebear j koss:
You need lollipop 5.0 framework to decompile newer apps like gmusic.

Thebe@r'$ G@L@XY

De-materializing Android 1 app at a time...
[Android Themes] Ticklefish:
Well, thank you for your kind words. It's always good to know that Tickle My Android is appreciated. Especially if someone's been using it over a year! I think you'll agree it's improved a lot in the last 12 months..

I can implement options in the Theming Menu to change the WorkArea and the apktool version.

I deliberately didn't originally to prevent people accidently changing WorkArea or apktool version while they were decompiling something or preparing a deodex workspace. But I think that was an unnecessary precaution.

I'll get to work on it when I can.

Unfortunately, to implement a refresh option could involve a complete redesign of the code. If I have the time, I'll consider it. But, for now, I'm going to have to add that to the 'MAYBE' list.

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

Sent from Tapatalk

------------------------------
[Android Themes] cabbieBot:
Yikes...well then I have no idea why it suddenly decided to work! I had been using the NookColor on 4.4.4 in Workspace 1, then switched to Workspace 2 for my LG G3 running 4.4.2 and suddenly things started decompiling and recompiling. I don't think I could retrace my steps exactly, but I didn't install the LG G3 framework after pulling it. Maybe it was because I didn't use a 5.0 framework that some things like some of the Google Play Music player widget buttons I was playing weren't working? I don't know.

Anyways, despite being able to decompile/recompile, I couldn't get anything to install using the TMA's built-in signing mechanism. But using the ZipSigner app from the Play Store, I was able to install the apks. Any idea why that might be?
[Android Themes] Thebear j koss:
Need to uninstall apks before trying to install signed apps as signatures don't match. If the app is in system would need to delete it and reboot before trying to install. Some apps don't work or function fully after signing, usually google apps and apps that need locations or use maps. Strange enough, Google music needs to be signed to function. It won't work keeping original signature. Sent you a pm before...

Thebe@r'$ G@L@XY

De-materializing Android 1 app at a time...
[Android Themes] Ticklefish:
Zipsigner lets you sign with your own key. TMA can't do that, it's something I've looked at before.

TMA signs with a very specific key. If your apk is as fussy as it sounds, it might just be that the key doesn't work. Glad you found one that did, though!

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

Sent from Tapatalk

------------------------------
[Android Themes] JimzFreebies:
But bro whatsapp still has the issue. Even i used priv. key to sign it. . . . Everything else is decompiling/recompiling successfully with TMA.
[Android Themes] Thebear j koss:
Not sure about whatsapp. Never used it, I know a ton of people mod it with no issues. Team blackout has a bunch of versions they do. Maybe try using their version. It could be found on the team blackout thread here on xda.

Thebe@r'$ G@L@XY

De-materializing Android 1 app at a time...
[Android Themes] Thebear j koss:
Try this method http://xdaforums.com/showthread.php?p=59508140. Found on the apktool thread. 5.1 lollipop has been tricky, especially between many different devices. Apktool is built off of pure Android and things may vary...

Thebe@r'$ G@L@XY

De-materializing Android 1 app at a time...
[Android Themes] Ambor:
Thebe@r'$ G@L@XY

De-materializing Android 1 app at a time...[/QUOTE]

i tested today. don t work.

And this is from today

"apktool_2.0.0-35f978-SNAPSHOT.jar"
[Android Themes] Thebear j koss:
i tested today. don t work.

And this is from today

"apktool_2.0.0-35f978-SNAPSHOT.jar"[/QUOTE]

May have to wait just like the LG and touchwiz users. As I said apktool is built off of pure Android and usually needs patches to work with other devices.

Thebe@r'$ G@L@XY

De-materializing Android 1 app at a time...
[Android Themes] Ambor:
May have to wait just like the LG and touchwiz users. As I said apktool is built off of pure Android and usually needs patches to work with other devices.

Thebe@r'$ G@L@XY

De-materializing Android 1 app at a time...[/QUOTE]

Sony Device

Sony always something breaks down. I always put obstacles
[Android Themes] Ticklefish:
Hmm. When you pm'd me, I asked you to share your history.txt so I could see if you'd installed all the right frameworks... Which you had.

You've certainly done everything right, I think the issue lies with the apk itself. I suspect all these drawable-something-v4 folders personally. It's not impossible that apktool can't recognise them. Xperia Lollipop is quite new.

It's worth logging this on ibotpeaches' github site. If there is a problem with the Xperia apk files, we could do with knowing about it.

And you're right....Tickle My Android IS awesome! :highfive:
[Android Themes] carl1961:
Might be because it's Lolipop files
[Android Themes] glfsd:
of course ;)
[Android Themes] Ticklefish:
I've trimmed your error message to make it a bit clearer. This is saying you have a file with the wrong case in the filename.

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

Sent from Tapatalk

------------------------------
[Android Themes] glfsd:
thanks but what does it mean? what do i do?

excuse for these questions for you trivial, but i understand very little english :o
[Android Themes] Ambor:
Yes log always tell yo truth..

Abaut Sony Apps apktool dont decompile some certain values. And new ones are very sensitive to it (since yesterday 2 times scored bootloop :)

today i used Android Studio and have problems too but finnaly themes for example work

but not lower than this configuration:
[Android Themes] Ticklefish:
Basically, you have a file in "drawable-xxxhdpi" called "android_aeroplane.PNG".

That "PNG" needs to be "png".

There's a file in "drawable-xxhdpi" called "android_aeroplane.png" and apktool is getting confused.

Rename that first file and your apk should recompile.
[Android Themes] glfsd:
thank you master!! now....

Recompiling "LGMessage.apk" With Original Signature,
in work area "_WorkArea1", using "apktool_2.0.0-35f978-SNAPSHOT.jar"

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

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

I: Using Apktool 2.0.0-a766db-SNAPSHOT
I: Smaling smali folder into classes.dex...
I: Building resources...
I: Copy original files...
I: Copy AndroidManifest.xml...
I: Copy META-INF...
I: Building apk file...
I: Copying unknown files/dir...

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

Recompile Successful!

I had to rename all the .PNG in .png

I made a fool of myself!! :)
[Android Themes] Ticklefish:
Nothing foolish about it, my friend. I'm glad that your apk recompiled. :highfive:
[Android Themes] tdunham:
Anyone have any success with Lollipop SecContacts_Phone_FLAGSHIP_USA.apk?

I have tried many different ways but for this I used Pure v10 straight decompile then recompile but the contacts apk is showing as not installed.

While this appears to be a signature issue, I have signatures disabled in framework and have tried both recompile with original and new signature.

Latest Java 64bit jdk-8u40 installed & both framework is installed.

Cheers - TD
[Android Themes] devadip:
SecContacts for the moment it's impossibile to mod [emoji35] [emoji35] [emoji35]
[Android Themes] Ticklefish:
Good old Samsung, always causing trouble!

Apktool is always being worked on. If this apk isn't compatible now, I'm sure it's only a matter of time before it will be.
[Android Themes] Dzepar:
[MENTION=4315551]Ticklefish[/MENTION]

Hi,

Is it possible to add option when you finish decompiling apk to open decompiled folder in new folder? I found that useful to me. It's just suggestion. :)

Thanks

Xperia M2 D2303 on K.K. 4.4.4
[Android Themes] Hamidreza2010:
Hi

You can use in Theming menu with number 1 you can explorer working folder
[Android Themes] Thebear j koss:
Your btn cling normal 9 png is bad. Gotta stay within the black borders. 1 bad 9 png will throw a continuous loop of errors

Thebe@r'$ G@L@XY

De-materializing Android 1 app at a time...
[Android Themes] ziky abdo:
thanks for your quick feedback :)

mmmm i see that all 9.pngs are malformed in log, but its original png i dont touch it.

in your opinion what i can do ?:confused:
[Android Themes] Thebear j koss:
Just find that 1st 9 png and fix it. Btn cling normal. By chance are you running a theme that used the vrtheme system? If so you will need a stock, no theme apk and start from there.

Thebe@r'$ G@L@XY

De-materializing Android 1 app at a time...
[Android Themes] ziky abdo:
all my apks are from stock.

i will cheeck first 9png later

thinks for your information :good:

one thing : i use windows 8 pc , is this is compatibl ?
[Android Themes] Thebear j koss:
Yup. I use Windows 8 myself. Are you on Samsung? They are notorious for broken apks with broken 9 pngs and misnamed files. It drives me nuts sometimes seeing all their errors. Lol

Thebe@r'$ G@L@XY

De-materializing Android 1 app at a time...
[Android Themes] drinzyfayah:
gonna try this one..:cool:
[Android Themes] ziky abdo:
hhhhhh yes i am on samsung.... strange all these errors.

thank you for your help ;)
[Android Themes] Ticklefish:
I think it's time for a new version, don't you?

I've just updated the OP with some download links for Version 10.1.

This features some minor tweaks, a few bug-fixes, two more options in the Theming Menu (as requested by [MENTION=5090564]vampent0026[/MENTION]) and..a lot of new icons and fonts!

We've got some signal and battery icons by [MENTION=3710709]DoctorQMM[/MENTION], a few icons I've found around the internet and 20 kindly shared by CJM over at droidforums.net. Check out their original thread here: http://www.droidforums.net/threads/diy-custom-softkeys.195139/

With Version 10, I'm doing the downloads slightly differently. If you want to just de/recompile, you can download the Pure version. If you just want the new icons, download the Icon Pack. If you just want the new fonts, it's the Font Pack you need. Or, if you want the full version, download the..er..Full version.

Enjoy!
[Android Themes] Calaisz17:
systemui deodexs and recompiles fine but as soon as even edit xml say to centre clock wont recompile any help please?

---------- Post added at 01:12 AM ---------- Previous post was at 01:04 AM ----------

when i deodex i have its succesful but if i look in the out apk with 7zip theres no classes.dex either?
[Android Themes] Calaisz17:
sorry ive just reinstalled it hoping to help and they dont have full logs how do i get those? just says apk not compiled

here sorry
[Android Themes] Ticklefish:
Have a look in "TickleMyAndroid\user_files\LOGS\"
[Android Themes] Calaisz17:
im only really trying to do centre clock and few tiny things. do i have to sign system ui? can i just copy them to system then correct permissions and reboot or have to use zip?thanks
[Android Themes] Ticklefish:
SystemUI.apk does have to be signed, yes. If it's not, Android will force-close the app.

But, it has to be signed with the Original Signature. Sign it any other way and...Android will force-close the app.

It's better to use a ZIP file to replace system app's. Replacing a system app while the system is running is a bit like replacing a cars gearbox....while you're driving it. I never recommend it.
[Android Themes] Calaisz17:
lol good way of putting it. i havent used these advanced zips do they work with twrp?and do i select 4.1+ or normal for lollippop?

whats with no odex for frameworkres? is it already deodexed if it isnt can you or dont have to with no odex?