yashsingh1/xdaforums huggingface dataset:
[Android Themes] X-Droidinary:
I: Baksmaling...
testI: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Documents and Settings\Todd\apktool\framew
ork\1.apk
I: Loaded.
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=dr
awable, value=0x010806ff
W: Could not decode attr value, using undecoded value instead: ns=android, name=dr
awable, value=0x0108073f
I: Decoding values*/* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x
010a010b
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:51)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReference
Value.java:59)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResRefere
nceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlValue(ResScal
arValue.java:54)
at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResS
tyleValue.java:56)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResource
s.java:264)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:137)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
[Android Themes] Ticklefish:
Can you share your framework-res.apk and SystemUI.apk please?

Sent from my U20i, SK17i, GT-P1010 or something else entirely.
[Android Themes] xxxMADxxx:
[MENTION=4315551]Ticklefish[/MENTION], No idea about apktool problem on 4.2.2 even 4.3? I heard theres apktool modded worked.But i forget from who? Lol..Maybe ibotpeaches
[Android Themes] Pangkoy08:
I need your expertise on this

Hello my friend. How are you? If its not to much to ask of your time and I wanted to know what I need to do with this error I got when I recompiled my systemui.

What I wanted to do is add a brightness bar from peetr_'s lidroid power widget.

I was able to get the code in status bar expanded, however I got an error when i recompiled the systemui. Below is my logfile.

Recompiling "SystemUI.apk"

With Tickle My Android

(tinyurl.com\ticklemyandroid)

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

I: Smaling...

I: Building resources...

C:\TickleMyAndroid\_working\SystemUI.apk\res\layout\status_bar_expanded_header.xml:8: error: Error: No resource found that matches the given name (at 'layout' with value '@layout/qp_brightness').

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Francis\AppData\Local\Temp\APKTOOL4322995131468666339.tmp, -I, C:\Users\Francis\apktool\framework\1.apk, -S, C:\TickleMyAndroid\_working\SystemUI.apk\res, -M, C:\TickleMyAndroid\_working\SystemUI.apk\AndroidManifest.xml]

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)

at brut.androlib.Androlib.buildResources(Androlib.java:283)

at brut.androlib.Androlib.build(Androlib.java:206)

at brut.androlib.Androlib.build(Androlib.java:176)

at brut.apktool.Main.cmdBuild(Main.java:228)

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

Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Francis\AppData\Local\Temp\APKTOOL4322995131468666339.tmp, -I, C:\Users\Francis\apktool\framework\1.apk, -S, C:\TickleMyAndroid\_working\SystemUI.apk\res, -M, C:\TickleMyAndroid\_working\SystemUI.apk\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)

... 5 more

Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Francis\AppData\Local\Temp\APKTOOL4322995131468666339.tmp, -I, C:\Users\Francis\apktool\framework\1.apk, -S, C:\TickleMyAndroid\_working\SystemUI.apk\res, -M, C:\TickleMyAndroid\_working\SystemUI.apk\AndroidManifest.xml]

at brut.util.OS.exec(OS.java:89)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)

... 6 more

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

Recompile Not Successful!
[Android Themes] Ticklefish:
My Xperia Z is on 4.2.2 and I haven't noticed any problems... :confused:

ibotpeaches is working on the next version of apktool but that won't be out for a while. I prefer to use the official apktool in TMA to keep the errors down (although I'm considering adding a modded apktool for MIUI users..).

What problems are you having?

I'm stressed and exhausted..thanks for asking!lol Having all sorts of car problems..

Anyway, the error pretty much says it all. You have a reference to a layout that doesn't exist. You need to define that layout in layout.xml.
[Android Themes] Pangkoy08:
Sorry to hear that..

I'm so sorry to hear about that car accident. I do hope everything is good. i will look into that. Thanks again. =)

EDIT: I don't want to inconvenience you any further but I can't seem to find the layout.xml. I'm only modifying the systemui.

Can you tell me where to start looking for the layout.xml?

and would you know what is the code for the brightness bar?

Thank you in advance.
[Android Themes] xxxMADxxx:
Need to delete folder shown on error log but thats not big problem.But i have a big problem when de/recompiling systemui from carbon rom..maybe rom issue will attach that error man.
[Android Themes] :
Hey ticklefish i have been using TMA older versions on my old pc. Now i brought a new win8 laptop. I installed java and when i m installing ur tool and then running it says runme.bat file not found. I actually need TMA badly as i always theme stuff. Can you help me pls?
[Android Themes] xxxMADxxx:
[MENTION=4315551]Ticklefish[/MENTION], can you investigate my error (Attached) I can't recompile SystemUI on carbon rom 4.3..After delete folder error shown on logcat (If i recompile stock 4.3 after deleted that will worked as you said before) this error appear.Thanks dude :p
[Android Themes] Ticklefish:
Hmm. TMA doesn't need any file called called runme.bat. Can you share a screenshot please?

What mods did you donot
[Android Themes] L.D.A:
this app good, easy use for newbie
[Android Themes] :
Yea ill do as soon as i am home. Thanks
[Android Themes] xxxMADxxx:
Put carrier logo on my statusbar.Now im using Slimrom and i can recompile my mods.On carbon rom theres "warning message" when decompile my SystemUI.See this [MENTION=4315551]Ticklefish[/MENTION]...Thanks
[Android Themes] winsmel:
Thanks Ticklefish, I need actualize it, I am in 6.1 versión. Good job. :good:
[Android Themes] Ticklefish:
So this is your log:

Decompiling "SystemUI.apk"
With Tickle My Android
(tinyurl.com\ticklemyandroid)

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

I: Baksmaling...
I: Loading resource table...
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: drawable-xhdpi-v8-ERR0
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\XXX\apktool\framework\1.apk
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-nodpi-v8-ERR1
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-v8-ERR2
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-xhdpi-v8-ERR3
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...

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

Decompile Successful!

Looks like there are four folders in your apk that apktool has a problem with. Your apk still decompiled though. These are just warnings, not errors.

Just bear this in mind when you recompile. It's worth decompiling then recompiling without making any changes, just to see if those folders are needed.

Thanks! :D
[Android Themes] xxxMADxxx:
Ok will test it recompile without any changes
[Android Themes] scottx .:
Looks awesome. Wish there was a Linux version.

Going to test it out this weekend. Will report back.
[Android Themes] MrFrodo24:
Recompile Error

Great tool, but I am having a little bit of trouble. I have a feeling that the trouble is due to the fact that my user name in my Users folder has a space in it (yea I know, I'm stupid), but I'll go ahead and write out the formal problem list just in case it's some other problem. Thanks for all your hard work ticklefish :D

1. HTC Droid DNA

2. 4.2.2

3. TMA 7.1

4. CM 10.1 Unofficial for DNA

5. framework-res.apk (in system/framework/)

6. Nothing really. I am using XBlast (an Xposed Framework module).

7. Don't know...

8. I want to change the holo_blue colors in the colors.xml file under the values folder.

9. Nope.

10. When I try to recompile there is an error finding sources. Particularly there is an invalid resource directory name and an exception is thrown in the main method of brut.apktool.Main.main (line 79).

11.

Recompiling "framework-res.apk"
With Tickle My Android
(tinyurl.com\ticklemyandroid)

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

W: Could not find sources
I: Building resources...
invalid resource directory name: C:\TickleMyAndroid\_working\framework-res.apk\res/drawable-ldrtl-xhdpi
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\SPENCE~1\AppData\Local\Temp\APKTOOL2279429073349991332.tmp, -x, -0, arsc, -S, C:\TickleMyAndroid\_working\framework-res.apk\res, -M, C:\TickleMyAndroid\_working\framework-res.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\SPENCE~1\AppData\Local\Temp\APKTOOL2279429073349991332.tmp, -x, -0, arsc, -S, C:\TickleMyAndroid\_working\framework-res.apk\res, -M, C:\TickleMyAndroid\_working\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\SPENCE~1\AppData\Local\Temp\APKTOOL2279429073349991332.tmp, -x, -0, arsc, -S, C:\TickleMyAndroid\_working\framework-res.apk\res, -M, C:\TickleMyAndroid\_working\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more

----------------
[Android Themes] xxxMADxxx:
Just deleted that folder shown on log..( drawable ldrtl xhdpi ) thats solve my problem :D
[Android Themes] MrFrodo24:
Ah okay. I'll try that.

I was able to compile using another tool, but the changes I made to colors.XML didn't do anything. I made a standard zip from the apk and flashed it. I am wanting to change all the instances of holo blue that I can to yellow (e.g. status bar icons, blue line when you pull down notifications, etc). Would changing the values of holo_blue in colors.XML not achieve this effect?
[Android Themes] xxxMADxxx:
Yeah, deleting warning folder on log not effect of your mod. I still confused for what thats folder? Thats apktool bug as Tickle said..Even on 4.3 i still must delete that :(
[Android Themes] Ticklefish:
The 'ldtrl' folders contain things for people who read right to left. It seems that apktool doesn't recognise those folders yet. But, if you read left to right, you don't need them and can safely delete them.

Not completely. That will only change the colour of those things that refer to that value. Some things you'll have to change manually. Icons will definitely need to be changed manually.

Achievable but it will take some time..

..Have you tried Tickle My Android yet?
[Android Themes] Madaditya:
You should give that a try..

For me styles.xml in values have been doing the magic with colors

Let it be changing notification text color,clock color etc

If you change both colors.xml and styles.xml and/or somethings inside drawables you'll possibly achieve a Yellow themed systemui!

New info..!

Thanx for it :thumbup:
[Android Themes] Ticklefish:
And that's another press of the THANKS button for you... :good:
[Android Themes] LegendM:
Hey there check my signature for my small tool

I think you probably should add that tool features

It basically read APK icon packs and convert them to miui rom icon packs. It would be great all features in 1 tool

Basic tip:

Extract APK, read xml, rename icons to activities names and archive it

GT-I9300 cihazımdan Tapatalk 4 ile gönderildi
[Android Themes] josh8519:
help please

what files do i need to change to change the colors on my dialpad. and what apk file are they in
[Android Themes] s020407:
can anybody help me put a clock at the statusbar? i tried like 10 kinds of steps but never succeeded. btw here's my systemui.apk

im running on android vs 2.3.6 and my custom rom is xduosv3. i want to add a clock at the statusbar because it doesnt include 1
[Android Themes] s020407:
Hi again, i have manage to add a clock to my statusbar successfully but it's like 5 mins my statusbar again disappear but there's no popup error. anybody can give me some tips? please?
[Android Themes] romio72:
request for help

hi guys

I connect the Xperia run Tickle My Android 7

-option 2(Theming Menu)

-option 2(Pull Files From Device)

-choose (1-y,y,y)

-choose (2,3,5,12)- I do the same

screeny

now he wants to change the battery, wifi, etc.

-option 6(change battery icon-2 -y,)

-option 7,9,10.....I do the same

and now the command to make the mood zip

changed icon wifi, battery, etc.
[Android Themes] Ticklefish:
That's pretty cool, thanks.

I've no idea what phone or rom you have so I don't know precisely. If you're on a Sony phone, it's worth looking in SemcPhone.apk. Have a look in system/app and see if you have any apk files with 'phone' or 'dialer' in the title.

How would you like to have seconds in that clock? Check out my tutorial about adding a clock with seconds. That should help.

What precisely are you after?
[Android Themes] IFTCobrado:
Can't add files to zip.

how do you do this? :)

Running on TMA7.0, problem is I can't add apps to zip from _out folder.
[Android Themes] s020407:
I tried your Tutorial sir but after recompiling i get an error and I figured out the at the ID's of my systemUI there's is no id=Clock. im really2 confuse. i have manage to put a clock but it's attached to the signal bar. i tried different ways to put it on the middle because the clock has a gap like .6 black before the signal and it's kind a look ugly. I hope you can guide me sir im really willing to listen to your advises
[Android Themes] IFTCobrado:
You can just delete the android:id="@id/clock". You can also try this TUT of sir Ticklefish's [TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!, this TUT helped me alot in centering the clock. :)
[Android Themes] whiterocker:
Awesome

Awesom, I'll try this as soon as I've some sparetime!
[Android Themes] dbgt87:
Hi Tickle i tried to put ics battery and ics signal icons to my system.ui but didn't work...

i' ve xperia z .244 stock rom. i already change succesfully my softkeys.

i show you in screen
[Android Themes] Ticklefish:
Hmm...looks like a bug. Thanks for bringing it up, I'll have it fixed for the next version. :)

If you're getting an error about an id, try using '@+id/clock' in the code instead of '@id/clock'.

'Sir'? :D

Thanks! Let us know how it goes!

Should be simple enough to fix. Just fill in the form from the op, include your logs and I'll see what I can do. ;)
[Android Themes] xxxMADxxx:
[MENTION=4315551]Ticklefish[/MENTION], what apktool version you used? Ive tried apktool 1.5.2 to decompiled some parts of android 4.3 and dont need to delete ldrtl folder..Thanks man,still used this tool to make my device looks awesome..:D
[Android Themes] whiterocker:
Unfortunately, I found a fully working Sense 5 for my HTC One S and therefore I have no use of this tool due to the fact I'm not running on CM anymore. Sorry for that.:(
[Android Themes] CryptLord:
Messed up...

Hey bro, Hope everything's fine out there.

I tried out your TMA app but seems its not for me.. :P

would you please try and make the necessary modding for me? PLEASE!

1. Battery Icon to BlueCircle with White Text

2.WiFi Icon to SteelGreen

3.Signal Icon to SteelBlue by TEAM CARBON

4.Toggles to BlackGloss

5.Emoticons to Blue...Please help me out! :crying:

P.S: My device: Xperia Mini Pro
[Android Themes] dbgt87:
Done...i must to do some changes on d_xxhdpi...

TY
[Android Themes] Tograd:
My lack of attention to detail may be the issue but I can't get CWM Recovery to install my new zip. I'm trying to change WiFi and Signal icons. I tried both Advanced and Standard ZIP

Only this non-descript error appears in CWM Recovery: E:Error in /sdcard/GalaxyAceICS.zip (Status 0)

Device: Samsung Galaxy Ace - S5830i

Android 2.3.6 custom ROM TouchwizLand 6.0

Procedure:

Load, Decompile & Install framework-res.apk

Load, Decompile & Install twframework-res.apk

Load, Decompile & Install lidroid-res.apk

Load & Decompile SystemUI.apk

Change Signal Icons -> StockIceCreamSandwich @ framework-res.apk & SystemUI.apk

Change WiFI Icons -> StockIceCreamSandwich @ SystemUI.apk

Recompile Files -> framework-res.apk

Recompile Files -> SystemUI.apk

Prepare Files -> framework-res.apk & SystemUI.apk

Create Flashable Zip File

-> "system/framework/" -> framework-res.apk

-> "system/app/" -> SystemUI.apk

Create Advanced ZIP File

&& Copy to sdcard, reboot & load CWR -> install zip from sd -> browse -> new_ics.zip

"E:Error in /sdcard/new_ics.zip (Status 0)"

history log

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

2013-09-17--@2125 --- Session Started

2013-09-17--@2125 --- "/system/framework/framework-res.apk" pulled

2013-09-17--@2125 --- "framework-res.apk" decompile succeeded

2013-09-17--@2125 --- "framework-res.apk" installed to PC

2013-09-17--@2126 --- "/system/framework/twframework-res.apk" pulled

2013-09-17--@2126 --- "twframework-res.apk" decompile succeeded

2013-09-17--@2126 --- "twframework-res.apk" installed to PC

2013-09-17--@2126 --- "/system/framework/lidroid-res.apk" pulled

2013-09-17--@2126 --- "lidroid-res.apk" decompile succeeded

2013-09-17--@2126 --- "lidroid-res.apk" installed to PC

2013-09-17--@2127 --- "/system/app/SystemUI.apk" pulled

2013-09-17--@2127 --- "SystemUI.apk" decompile succeeded

2013-09-17--@2128 --- "StockIceCreamSandwich" signal icons added to 'SystemUI.apk' in 'drawable-mdpi'

2013-09-17--@2128 --- "StockIceCreamSandwich" signal icons added to 'framework-res.apk' in 'drawable-mdpi'

2013-09-17--@2129 --- "StockIceCreamSandwich" WiFi icons added to "SystemUI.apk" in "drawable-mdpi"

2013-09-17--@2130 --- "framework-res.apk" recompile succeeded

2013-09-17--@2130 --- "framework-res.apk" prepared for flashing

2013-09-17--@2131 --- "SystemUI.apk" recompile succeeded

2013-09-17--@2131 --- "SystemUI.apk" prepared for flashing

2013-09-17--@2132 --- "framework-res.apk" prepared for flashing

2013-09-17--@2132 --- "SystemUI.apk" prepared for flashing

2013-09-17--@2133 --- "framework-res.apk" added to /system/framework/ in zip project

2013-09-17--@2134 --- "SystemUI.apk" added to /system/app/ in zip project

2013-09-17--@2134 --- "TMA_2013-09-17--@2134.zip" created in "c:\TickleMyAndroid\_out\"

2013-09-17--@2135 --- "tma_2013-09-17--@2135.zip" created in "c:\TickleMyAndroid\_out\"
[Android Themes] chinmoy32:
request for full 100% transparent nav bar and status bar

can anyone here make me a full 100% transparent STATUS BAR and NAV BAR if i provide the systemui.apk and the androidpolicy.jar from my Xperia TX ??? please , I am desperate :crying:
[Android Themes] Ryuinferno:
Swap the update-binary in the zip with one from a working zip (i.e. flashes successfully on your phone)...

This is not the place for requests... It's about using the tool...
[Android Themes] Tograd:
Thanks! Total noob mistake. found the readme aswell..

Anyway I replaced entire META-INF folder (except updater-script) with one from CWM recovery zip and the mod is flashed without error. But when I reboot phone everything seems "fine" except for the fact that systemui service wont run and it's complaining of low memory (3.5mb now instead of 45-55mb which was available before mod). Could revert with backed up zip.

-- fixed --

I used the "advanced zip" backup update-binary in new mods without touching CERTs and it works fine. Thanks for a great tool.
[Android Themes] Ticklefish:
Er..TMA uses 1.5.2..

If you're getting ldrtl issues with TMA but not with apktool on its own, it could be an issue with the aapt file. I'm using a different one in 7.1 so that might help. Is it possible you could share your files please? That way I can do a little testing.

Well, TMA isn't just for Cyanogenmod..but apktool doesn't fully support Sense so this tool might not work for you anyway.

If you feel like trying it out on your Sense rom, I'd be very interested to find out what happens.

I'm away from the PC right now but I'll get on this as soon as I can for you.

What problems are you having? I may be able to help.

A very detailed post. Thanks! My reply is a bit lower down.

Well, this will work, so thanks very much for your post.

However, TMA does have a fix built-in already.

Status 0 errors are caused by incompatible update-binaries. If you're getting these, all you need do is copy an update-binary from a working zip into the update-binary folder in the user_files folder. Then go to the settings menu in the tool and select the option to use your own update-binary.

After that, every zip file will be made with your update-binary and not the tools.

Neat, huh?

As for making a transparent statusbar and navbar, it's really best to ask in the devices forum. I wouldn't know how to do it on the TX but somebody there will.
[Android Themes] josephnero:
[MENTION=4315551]Ticklefish[/MENTION]

you really deserve a big thanks.this tool has been really useful for me.keep up the good work mate.
[Android Themes] romio72:
Help

hello my Xperia Z

* Do I have to have an unlocked bootloader

* to work Tickle My Android

+post http://xdaforums.com/showpost.php?p=45534827&postcount=1608
[Android Themes] Ticklefish:
Try the attached zip! This is everything but the emoticons. I may need your android-res.apk from your overlay folder for that. The framework-res.apk in Sony roms doesn't recompile properly.

Will do! Thanks!

Nope. :o

Sorry, but I'm not sure what you're asking here..:confused:
[Android Themes] romio72:
hello

I do instructions

the creation of zip:

-errors
[Android Themes] chudy_85:
to op

hi can you tell me somthing about this tool

do i must unlock my bootloader on my xperia z to use this tool??? i ask you because when i use this tool i have errors witch creat zip pack.

Please tell me where i do it wrong or do you want log cat to see errors

thx for help me
[Android Themes] Ticklefish:
You don't need to unlock the bootloader to use TMA. Having an unlocked bootloader allows you to flash new kernels and that's it.

If you're able to tell me what the errors are that you're having then I can help you. I have a XZ and haven't had any problems with the zip files.
[Android Themes] romio72:
Can you describe how to change the batteries in the XZ - errors decompile framework-res.apk
[Android Themes] CryptLord:
Thanks a lot bro...I'll try over those emoticons again! :good: