yashsingh1/xdaforums huggingface dataset:
[Android Themes] xylu:
ERROR

Need help sir, it's my first time i encountered error using your tool..i'm using version 7.0..

Decompiling "SystemUI.apk"

With Tickle My Android

(tinyurl.com\ticklemyandroid)

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

I: Baksmaling...

I: Loading resource table...

I: Loaded.

I: Decoding AndroidManifest.xml with resources...

I: Loading resource table from file: C:\Users\Dupaya\apktool\framework\1.apk

I: Loaded.

I: Regular manifest package...

I: Decoding file-resources...

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=alwaysTrackFinger, value=0xffffffff

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=alwaysTrackFinger, value=0xffffffff

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=alwaysTrackFinger, value=0xffffffff

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=alwaysTrackFinger, value=0xffffffff

I: Decoding values */* XMLs...

I: Done.

Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x01010435

at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)

at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)

at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)

at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:35)

at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:313)

at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)

at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)

at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)

at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:80)

at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:130)

at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:34)

at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:107)

at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:91)

at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:238)

at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)

at brut.apktool.Main.cmdDecode(Main.java:146)

at brut.apktool.Main.main(Main.java:77)

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

Decompile Not Successful!
[Android Themes] Ticklefish:
Can you fill in the form from the op and include your logs please? Then I can help you. :good:
[Android Themes] xylu:
What phone/tablet are you using?: MyPhone A848i Duo MT6577 (version of Wiko Cink Slim)

What version of Android are you running?: Running Jelly Bean 4.1.1

What version of Tickle My Android are you running?: TMA 7.0

What sort of rom are you on? Stock ROM

What are you trying to decompile/recompile?: SystemUI.apk

What resources apps have you installed?: already installed my framework-res.apk

Are the files you're using odexed or deodexed?: Deodexed

What mod are you trying to do?: Transparent Status bar, but already got error in decompiling

Do your files work if you decompile, recompile and prepare them without changing anything? Already error in decompiling, haven't mod yet

What problems are you having? Error in the process of decompiling SystemUI.apk
[Android Themes] Ticklefish:
Undecoded values are normally caused by a resource file not being installed. According to your history, you haven't installed framework-res.apk or any other resource files.

Reset the tool, do it again and don't forget to pull and install framework-res.apk.
[Android Themes] xylu:
problem found have restock and pulled the fresh systemui.apk and decompiling error gone!

thanks for the reply sir!:victory:
[Android Themes] gauravj:
[MENTION=4315551]Ticklefish[/MENTION] u are the best great app

well i have few toggles icons if u want to add them in next update

(PM me if u want)
[Android Themes] Ticklefish:
Thanks! And I will!
[Android Themes] HellBoy.007:
Error!

What phone/tablet are you using?: Samsung Galaxy Y - S5360

What version of Android are you running?: 2.3.6

What version of Tickle My Android are you running?: 7.0

What sort of rom are you on?: Evo X 4.2.0 (Link: http://xdaforums.com/showthread.php?t=1757125)

What are you trying to decompile/recompile?: SystemUI.apk

What resources apps have you installed?: framework-res.apk, lidroid-res.apk

Are the files you're using odexed or deodexed?: Deodexed

What mod are you trying to do?: Change status bar toggle icons and battery icon

Do your files work if you decompile, recompile and prepare them without changing anything?: Can't decompile SystemUI.apk

What problems are you having?: Error in process of decompiling
[Android Themes] Ticklefish:
Can you share your files please?
[Android Themes] HellBoy.007:
Here they are:
[Android Themes] miaad:
Excellent tool, :thumbup::thumbup:

However im not able to make changes to the android manifest.

After i sign the apk like system app, the changes I made to the android manifest is lost !

Was trying to add few permissions, but its not getting added after I sign it :( can you help ?
[Android Themes] SuperHanss:
I'm trying to deodex android.policy.odex but I keep getting an error:

Error occured while loading boot class path files. Aborting.
org.jf.util.ExceptionWithContext: Cannot locate boot class path file /system/frame
work/core.odex
at org.jf.dexlib2.analysis.ClassPath.loadClassPathEntry(ClassPath.java:217
)
at org.jf.dexlib2.analysis.ClassPath.fromClassPath(ClassPath.java:161)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:59)
at org.jf.baksmali.main.main(main.java:274)

Error! File Not Deodexed! Trying Alternate Method

Error occured while loading boot class path files. Aborting.
org.jf.util.ExceptionWithContext: Cannot locate boot class path file /system/frame
work/core.odex
at org.jf.dexlib2.analysis.ClassPath.loadClassPathEntry(ClassPath.java:217
)
at org.jf.dexlib2.analysis.ClassPath.fromClassPath(ClassPath.java:161)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:59)
at org.jf.baksmali.main.main(main.java:274)

Error! File Not Deodexed!
[Android Themes] Ticklefish:
To begin with, thank you very much for reporting your error like that. That's the exact information I need to be able to solve your problem.

However, I can't solve it just yet. I'm getting the same problem when I try to decompile your SystemUI.apk. From the looks of things, I'd guess that there's something odd about the values.xml file.

I'll ask the dev of apktool and hopefully he'll be able to come up with something.

Unofficial roms are always fun... :rolleyes:

Are you signing...or are you preparing? If you're changing your AndroidManifest.xml, you need to use the signing option. I've tested it and the changes are kept..

Yes...looks like TMA has a problem with deodexing files above a certain Android api. The good news is that v7.1 doesn't have that problem..and v7.1 will be released very soon... :D
[Android Themes] Ticklefish:
Many thanks for using the form and including your logs. You get a bonus point for that! :thumbup:

The good news is that you probably don't need to recompile your framework-res.apk at all. If you've got signal icons in both framework-res.apk and SystemUI.apk, the icons in SystemUI.apk normally take priority. So try just flashing that.

If you really do want your framework-res.apk recompiled, try deleting the ldrtl folder mentioned in the error message. That might help, although you may have to do some editing of public.xml as well. But give it a try and see what happens.

By the way, can you share your apk's please? It's not the first time the ldrtl folders have caused trouble and it'd be nice to fix the issue once and for all.
[Android Themes] kryptonite_2448:
Thanks for the help! Unfortunately after I installed the iOS 7 signal bars, I flashed the zip in CWM and see no change. I've PM'd my SystemUI.apk and framework-res.apk for your benefit. If you have any other suggestion's I'd greatly appreciate it. Thanks!
[Android Themes] Ticklefish:
So it turns out that framework-res.apk is missing a lot of resources. Try downloading and installing the attached apk instead then decompiling.

I think I know what may be causing this. Once you're able to share your files, I can take a look and sort it out.
[Android Themes] HellBoy.007:
I downloaded and installed the file provided by you in the previous post. Thanks a lot for your help.

But I still face errors in recompiling the SystemUI.apk. I wanted to change the status bar toggles.

I have attached the logs below.
[Android Themes] droidriz:
why this option is not working??

recompile files and prepare for flashing when there is noting in out folder not even apk!

I cannot edit system apk mean when i recompile and then manually movie it to system/app it doesn't get installed :(
[Android Themes] kryptonite_2448:
Let's try this.

Framework-Res.apk

SystemUI.apk
[Android Themes] HellBoy.007:
I don't know about your first problem but about the second one, maybe you aren't setting the permissions correctly after replacing your earlier SystemUI.apk with the new one.

Just download root browser and set the permissions to what they were earlier and reboot your phone.

Hope this helps...
[Android Themes] Ticklefish:
Interesting. Try this and let me know what happens.
[Android Themes] kryptonite_2448:
Well I've already flashed AOKP instead of CM. Willing to give it a shot if you think you've got the quirks worked out.
[Android Themes] Ticklefish:
So this is your recompiling error:

res\drawable-ldpi\quickpanel_icon_bluetooth_off.png:0: error: Resource entry quickpanel_icon_bluetooth_off is already defined.
res\drawable-ldpi\quickpanel_icon_bluetooth_off.9.png:0: Originally defined here.
res\drawable-ldpi\quickpanel_icon_bluetooth_on.png:0: error: Resource entry quickpanel_icon_bluetooth_on is already defined.
res\drawable-ldpi\quickpanel_icon_bluetooth_on.9.png:0: Originally defined here.
res\drawable-ldpi\quickpanel_icon_data_off.png:0: error: Resource entry quickpanel_icon_data_off is already defined.
res\drawable-ldpi\quickpanel_icon_data_off.9.png:0: Originally defined here.
res\drawable-ldpi\quickpanel_icon_data_on.png:0: error: Resource entry quickpanel_icon_data_on is already defined.
res\drawable-ldpi\quickpanel_icon_data_on.9.png:0: Originally defined here.
res\drawable-ldpi\quickpanel_icon_gps_off.png:0: error: Resource entry quickpanel_icon_gps_off is already defined.
res\drawable-ldpi\quickpanel_icon_gps_off.9.png:0: Originally defined here.
res\drawable-ldpi\quickpanel_icon_gps_on.png:0: error: Resource entry quickpanel_icon_gps_on is already defined.
res\drawable-ldpi\quickpanel_icon_gps_on.9.png:0: Originally defined here.
res\drawable-ldpi\quickpanel_icon_rotation_off.png:0: error: Resource entry quickpanel_icon_rotation_off is already defined.
res\drawable-ldpi\quickpanel_icon_rotation_off.9.png:0: Originally defined here.
res\drawable-ldpi\quickpanel_icon_rotation_on.png:0: error: Resource entry quickpanel_icon_rotation_on is already defined.
res\drawable-ldpi\quickpanel_icon_rotation_on.9.png:0: Originally defined here.
res\drawable-ldpi\quickpanel_icon_silent_off.png:0: error: Resource entry quickpanel_icon_silent_off is already defined.
res\drawable-ldpi\quickpanel_icon_silent_off.9.png:0: Originally defined here.
res\drawable-ldpi\quickpanel_icon_sound_on_on.png:0: error: Resource entry quickpanel_icon_sound_on_on is already defined.
res\drawable-ldpi\quickpanel_icon_sound_on_on.9.png:0: Originally defined here.
res\drawable-ldpi\quickpanel_icon_vibration_off.png:0: error: Resource entry quickpanel_icon_vibration_off is already defined.
res\drawable-ldpi\quickpanel_icon_vibration_off.9.png:0: Originally defined here.
res\drawable-ldpi\quickpanel_icon_wifi_off.png:0: error: Resource entry quickpanel_icon_wifi_off is already defined.
res\drawable-ldpi\quickpanel_icon_wifi_off.9.png:0: Originally defined here.
res\drawable-ldpi\quickpanel_icon_wifi_on.png:0: error: Resource entry quickpanel_icon_wifi_on is already defined.
res\drawable-ldpi\quickpanel_icon_wifi_on.9.png:0: Originally defined here.

You've got lots of duplicate icons in your apk. The best way to get past this is to delete the .9.png files then try again. This apk hasn't been themed correctly... lol
[Android Themes] Ticklefish:
I think I do! :)
[Android Themes] TheRisingDragon:
Hope I'm not disturbing even this post isn't relataed the app itself, I've added recent app panel using Serajr's systemui v7 another one, but it doesn't allow me to click ''recent'' selection unlike 'clear' selection... need fast assistance, thanks ?

ゞ(`')、ＳＯＮＹ　ＸＭＰ　三( ゜∀゜)

P.s. now the button can be pressed but recent apps window never appears ?
[Android Themes] kryptonite_2448:
It works! Now what did you do? Would like to make a few changes on my end. The iOS bars are nice but need some modifying to the PNGs which I might do when I get a chance.
[Android Themes] slink722:
[MENTION=4315551]Ticklefish[/MENTION], what are the possible values for changing the transparecy of statusbar using the tickle my android coz i tried using 1, 10, 20, 40, 50 and 100 but nothing happens :( so can you tell me what are the possible values i can use. please reply >.<
[Android Themes] slink722:
OP is snobber >.< ouch!
[Android Themes] kryptonite_2448:
Far from it. He took my APKs, at his own will, to find my problem and send me a zip file. I too have a problem but you don't hear me crying. Give him a chance to respond.
[Android Themes] Ticklefish:
Sorry, I don't know what to suggest. You are better off asking about this in serajr's thread.

I've recently discovered that there are some apk files which don't prepare properly for some strange reason. 7.1 uses a different program for preparing and that's what I used on your file. I'll be releasing 7.1 soon, just putting the finishing touches to it.

If you've modified the PNG's, it'd be great if you could share them and I can put them into 7.1.

The possible values are any integer from 1 to 100. However it only works if your rom is compatible. If you're on any version of Android above 2.3 it might not work, you'll need to edit some xml and/or smali.

Nice..

I have three young children and a job that can see me not getting home until past midnight. I work on xda as much as I can but sometimes it can take me a day or two to reply. But I always do! :cool:

Thanks. You've got a reply higher up in this post.
[Android Themes] Ticklefish:
New Version Out Now!

Version 7.1 is now available for download! I've changed a few things so now it's compatible with even more apk files than ever before!

There's also a few new icons, some bugfixes as well! And you can now make flashable zip files with any name you like. Which is very handy indeed!

Check out the new link in the op and download it now!
[Android Themes] nendoroid:
Recompile error for SystemUI.apk

What phone/tablet are you using?:

Samsung Galaxy S4

What version of Android are you running?:

Android 4.3 Jellybean Google Play Edition

What version of Tickle My Android are you running?:

7.1

What sort of rom are you on? (I need to know about OEM roms as well. That's things like Sense, Touchwiz, etc)

Google Play Edition ROM

What are you trying to decompile/recompile?

SystemUI.apk

What resources apps have you installed?

Please explain, will update later.

Are the files you're using odexed or deodexed?

I believe deodexed.

What mod are you trying to do?

Change icons and transparent notification bar.

Do your files work if you decompile, recompile and prepare them without changing anything?

No.

What problems are you having? (Give me some detail here, don't just say "It doesn't work.")

SystemUI.apk will not recompile.

Please also copy and paste the log files for the files you're modding as well as the history.txt logfile.

Please see attachments.
[Android Themes] Ticklefish:
Interesting. This would suggest you need to install another resource file, as well as framework-res.apk. Do you have any other files in either your system/app or system/framework with 'res' in the title?

If you do, try pulling and installing those.
[Android Themes] N e M e S i S:
Decompiling error

What phone/tablet are you using?:

Sony Xperia S (Nozomi)

What version of Android are you running?:

Android 4.1.2

What version of Tickle My Android are you running?:

7.1

What sort of rom are you on?

(custom ROM http://xdaforums.com/showthread.php?t=2417552 black edition)

What are you trying to decompile/recompile?

SystemUI.apk

What resources apps have you installed?

Nothing additional (only resources/icons from the installer exe)

Are the files you're using odexed or deodexed?

deodexed.

What mod are you trying to do?

Change battery icon.

Do your files work if you decompile, recompile and prepare them without changing anything?

No, facing a decompile error

What problems are you having?

SystemUI.apk will not decompile.

Please also copy and paste the log files for the files you're modding as well as the history.txt logfile.

Please see attachments.
[Android Themes] Ticklefish:
Looks like you haven't pulled and installed framework-res.apk before trying to decompile your SystemUI.apk.

Do that first then try it again. :)
[Android Themes] iPusak Gaoq™:
[MENTION=4315551]Ticklefish[/MENTION]....

Just one suggestion...is it possible on the next release you can add option to wipe specific folder rather than wipe all folder???

if it possible then it should be like this...

19. Clear Folder

--- 1. Clear In Folder

--- 2. Clear Out Folder

--- 3. Clear Working Folder

--- 4. Clear All (In/Out/Working) Folder

also did you included a modified aapt.exe in TMA? i think you should cause it can recompile uppercase characters that some apk have....
[Android Themes] nendoroid:
Ticklefish' I checked /system/framework and only framework-res.apk has red folder. In /system/apps there is a .apk called minimode-res.apk. Please advise.
[Android Themes] Rataraxia:
Decompile doesnt work withsome apks.

My apologises >.< I forgot to install second apk from framework folder. It was SemcGenericUxpRes.apk. All the tutorials I used didnt mention there is a need for installing that too. Problem solved.

Previous post.

I can't decompile framework-res.apk ( and some other apks) from Xperia Z custom ROM ★ monxDIFIED ★ ESSENTIAL | DARK/LIGHT | HONAMiXZ™ [v04-07][12/09]

Getting this error.

Decompiling "framework-res.apk"

With Tickle My Android

(tinyurl.com\ticklemyandroid)

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

I: Loading resource table...

I: Loaded.

I: Decoding AndroidManifest.xml with resources...

I: Regular manifest package...

I: Decoding file-resources...

W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060003

W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060002

I: Decoding values */* XMLs...

I: Done.

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

Decompile Not Successful!

I still can install framework on PC and even have done some successful modding to SytemUI.apk(was able to decompile it), but I am getting same problem with other apks like Settings.apk, for example.

I cant upload Framework-res.apk here, so it is the link, if you need it. Hope it will help you to improve your tool.
[Android Themes] Ticklefish:
That's an excellent idea! I'll code it up as soon as I can get to a pc.

Try pulling and installing that apk file then. It might just do the trick!
[Android Themes] nendoroid:
SystemUI.apk (with minimode-res.apk pull) still erroring

Hate to say it... but it didn't work. Here is the history and log files from this attempt.

Could it be possible the version I am running is some how incompatible?

Also, thank you Tickle Fish for your help and advice.
[Android Themes] Ticklefish:
Well, Android is odd like that. Sometimes you do get an odd version which works a bit differently. That's why TMA isn't guaranteed to work on MIUI or Sense.

It should be fine with ordinary Android though.

Looking at your history, it seems like you didn't install your minimod-res.apk until after decompiling your SystemUI.apk. Try pulling and installing it before you pull SystemUI.apk.
[Android Themes] nendoroid:
SystemUI.apk (with sequence) still erroring

Here are my new log files, it seems the same result no matter what sequence I try. I am willing to try more recommendations, I really want to use this program.
[Android Themes] Ticklefish:
Sorry, I didn't see your post originally! Otherwise I'd have replied much earlier. Good to see you've found your solution! :)

Well, I think we've reached that point where I would normally ask you to share apk files.

So..

Can you share your apk files please? I'll have a look on my PC and see if I can come up with a solution. I do have a cunning plan already..

Can you also share a screenshot please? Just of your homescreen will be fine. If my cunning plan works, I'll explain why. Oh, and that's definitely a stock rom right? That's the rom the phone came with?
[Android Themes] DoctorQMM:
Thanks for the update. Not sure if I extracted correctly, but after 7.1 download extract, option# 5 (Credits) still shows version as 7.0... is this correct or should I see v7.1 ?
[Android Themes] nendoroid:
SystemUI.apk recompile errors (additional info)

See the post attachments for the files you needed.

Also here is some additional info regarding my phone.

The ROM I am currently running did not come stock on the phone, it is 4.3 Google Play Edition GT-i9505 ROM from android rootz.

The phone is rooted, although I believe it needs to be to use TMA anyways.
[Android Themes] Ticklefish:
Nooo..don't tell me I didn't change that bit. That's really embarrassing!

If you have the option to change the name of the zip file before you make it, then you're on 7.1.

And I'll pretend I didn't change the credits just to test you..cough, cough..

Thanks, I'll check it out as son as I can.

If this isn't a stock rom, it's possible that that's why you're having problems. It might be that the rom wasn't made quite right. But I'll have a look and find out.

By the way, I meant a screenshot of your phone. I want to see if you actually use your systembar..
[Android Themes] nendoroid:
SystemUI.apk recompiling error (screenshot of HS)

Sorry for the misunderstanding, the home screen screenshot is under this post's attachments.
[Android Themes] DoctorQMM:
All good... I get option to rename the suggested zip under standard zip operation (which is not there under 7.0)... Thanks !
[Android Themes] iPusak Gaoq™:
Hmmmm....try this modified aapt.exe....just replace it with the one in Tool_files of TMA....

i used to have those kind of problem while decompile/recompile my apk but after replacing the aapt.exe, i don't have those kind of problem anymore....perhaps it should work on you too...