yashsingh1/xdaforums huggingface dataset:
[Android Themes] Ticklefish:
I'd love to have a look, thanks. ;)
[Android Themes] carl1961:
yes it is ok, just glad to help when I can
[Android Themes] daringsmart:
Hello Carl thanks for ur answer when i type java in cmd it show me this error pls chk and tell me solution :highfive:
[Android Themes] steha:
Here you go hope it helps I have noticed that only this slim cwm will work with slim all other cwm zips( that mod apk system files) fail to install. So could be something or nothing. Thanks again
[Android Themes] carl1961:
Make sure you downloaded and installed the JDK example: jdk-7u9-windows-i586.exe

http://www.java.com/en/download/help/path.xml
[Android Themes] XperiaCrazy:
I think I have phrased that wrongly. I'm trying to deodex files from a "system.img" file.
[Android Themes] iPusak Gaoq™:
[MENTION=4315551]Ticklefish[/MENTION]....

i'm using your latest TMA and i'm trying to edit Flappy Bird.apk....i can decompile it without any problem but getting some error while recompiling...but it can recompile but i can't install it on my phone (using original signature).....

so my question is, does TMA able to edit apk that use Proguard?

i attach the log so you can take a took into it...
[Android Themes] JT1510365:
how do you get it to work?

I have java, a windows xp desktop computer, and tickle my android but when i try to open the program it force closes. so i can't use it. also android sdk says that i don't have java when i have know i have it. help?
[Android Themes] carl1961:
android sdk looks for java SDK

example: C:\Program Files\Java\jdk1.7.0_17 your version may be diffrent
[Android Themes] alphamale:
This may be a dumb question. Will these mods work on a oxidized rom
[Android Themes] carl1961:
I have used mod's on odex rom, but you have to delete the odex file that is associated with the apk your installing
[Android Themes] daringsmart:
Hello again i have installed jdk and i looked the help i cant understand anyway here i attach the screenshot of that Enviroment Variables pls chk and tell me what to do
[Android Themes] carl1961:
in the bottom section, scroll down until you see the path on left bottom, if you install jdk it should have did the path.

this is my path

C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Java\jdk1.7.0_17\bin;C:\Program Files\Intel\iCLS Client\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Android\android-sdk\platform-tools;C:\Program Files\Android\android-sdk\tools;C:\TickleMyAndroid\tool_files;C:\Program Files (x86)\Windows Live\Shared
[Android Themes] daringsmart:
this is what i have in that path

C:\Program Files (x86)\PC Connectivity Solution\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
[Android Themes] Ticklefish:
Sorry, my friend, but there's not much I can do here. Apktool isn't designed to get past Proguard's protection, to stop it being used for piracy.

Besides..that game's bloody annoying! Bad enough that everyone at work's talking about it...grrr...lol

Do you mean an 'odexed' rom? In which case, yes they will.

The only thing to bear in mind is that you won't be able to make any changes to any smali. For that, you will have to deodex the relevant apk.

What sort of mods are you doing? Unless you're deodexing, you shouldn't need to do that...

You need to update your 'Path' System variable with the location of your 'java' command.

On the PC I'm writing this on, that is 'c:\Program Files\Java\jre7\bin'. Although it may well be somewhere else on your machine.

This will ensure that the 'java' command is recognised by the command window. If that command is recognised, TMA won't work.
[Android Themes] alphamale:
Trying to install new battery and wifi icons. When I recompile I get an error message on top of second window and the bottom script says 6 more items but then I says press any key to continue. From there it let's me create a zip file but when I flash it nothing changes
[Android Themes] carl1961:
I was using bri315317 Touchwiz Launcher 5x5 6 versions now [No Magazines] on stock odexed JB 3.4 rom, mod is deodexed so I had to delete the odex file so app would no FC

delete("/system/app/SecLauncher4.apk");

delete("/system/app/SecLauncher4.odex");

package_extract_dir("system", "/system");
[Android Themes] Ticklefish:
Unfortunately, I have no idea what that error message actually said so there isn't much I can do to help you right now.

Have a look in the original post. There's a form that can be filled in if you're having compiling issues.

Fill it in, include your logs from the ' [ b] _ user-files\ LOGS[ /B]' directory and I will help you the best that I can.
[Android Themes] Ticklefish:
Looks like we may need to revisit this one.. Have you seen the news post on the Portal?
[Android Themes] Ticklefish:
Yeah, makes sense. All the code in the odex file is now in the apk file.

Two quick things:

Your zip code doesn't have to delete the apk, just the odex. The apk will be overwritten anyway.

And did you know that TMA has an option to delete odex files for you?
[Android Themes] carl1961:
thanks Ticklefish, deleteing original file is just a habit from the past, and did not know about the Tickle My Android 8.1 able to delete uneeded odex
[Android Themes] iPusak Gaoq™:
Haha i just did....will try to his method on modding it.....as for TMA, i notice that when i recompile flappy bird, those error in the log show that TMA unable to identify those files so it skip putting those files back into the apk...when i open the recompile apk (using 7-zip on my pc) and take a look closely, there no folder name " jsr305_annotations " in it but when i open the apk using root explorer in my phone, the folder is there but no files in it....i believe those were the reason why i can't install it on my phone...

anyway thanks for heads up....will look into his method later...
[Android Themes] bnayak:
Any suggestions for changing signal icons in galaxy duos ?

I'm a noob but somehow I managed to change the signal icon (JB) the way I like ..... but only partially. I have samsung galaxy s duos (gt-i7562). I have a custom rom. I pulled framework-res.apk and systemUI.apk, decompiled, changed icon, recompiled then made flashable zip. But when I looked inside _out folder for flashable zip, I found an empty zip along with apk. I took the risk ( since I Was not sure :) by copying the both apks into the relevant folders of rom update package with help of WinRAR and flashed it with CWM. Now the problem is I got only one signal as I wanted and another remained the same. Any suggestion is truly appreciated. Screenshot is attached....
[Android Themes] Ticklefish:
That method is just the usual decompile and mod method. Hmm...

I've just tried doing a de/recompile on my copy of the apk (yes, I downloaded the game along with everyone else...I'm a sheep...lol).

I get no errors and the recompiled apk has that 'annotations' folder with the files in it. That's when I use a new signature and the original.

Mind you, I am using apktool 2.0.0b9, that might be the difference.
[Android Themes] Ticklefish:
About the empty zip, did you add any files to the zip or did you just create the zip?

Your second icon might be caused by your rom using a different filename for the icon than the ones that TMA uses. Have a look in your drawable folders. :cool:
[Android Themes] bnayak:
After recompiling, I chose the option 'create flashable zip' so the zip should be flashable with all the files it needed in it, isn't it? It was empty and I didn't add any files to it, should I? :confused:

I'll have a look, Thank you.
[Android Themes] Ticklefish:
You do need to add files to the zip before you create it, yes. That's why your zip did nothing, it had no files to do anything with..:)
[Android Themes] alphamale:
Getting error message when trying to recompile framework apk. Cant attach log file to big here is top part.

Recompiling "framework-res.apk" With Original Signature,

using "apktool_2.0.0b7.jar"

With Tickle My Android

(tinyurl.com\ticklemyandroid)

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

W: Could not find sources

libpng error: Not a PNG file

ERROR: Failure processing PNG image c:\TickleMyAndroid\_working\framework-res.apk\res\draw

able-nodpi\tw_background_holo_dark.png

c:\TickleMyAndroid\_working\framework-res.apk\res\values\public.xml:8657: error: Public en

try identifier 0x1081087 entry index is larger than available symbols (index 4231, total s

ymbols 345).

c:\TickleMyAndroid\_working\framework-res.apk\res\values\public.xml:8657: error: Public sy

mbol drawable/APKTOOL_DUMMY_00cf declared here is not defined.

c:\TickleMyAndroid\_working\framework-res.apk\res\values\public.xml:8658: error: Public en

try identifier 0x1081088 entry index is larger than available symbols (index 4232, total s

ymbols 345).

c:\TickleMyAndroid\_working\framework-res.apk\res\values\public.xml:8658: error: Public sy

mbol drawable/APKTOOL_DUMMY_00d0 declared here is not defined.

c:\TickleMyAndroid\_working\framework-res.apk\res\values\public.xml:8659: error: Public en

try identifier 0x1081089 entry index is larger than available symbols (index 4233, total s

ymbols 345).

c:\TickleMyAndroid\_working\framework-res.apk\res\values\public.xml:8659: error: Public sy

mbol drawable/APKTOOL_DUMMY_00d1 declared here is not defined.

c:\TickleMyAndroid\_working\framework-res.apk\res\values\public.xml:8660: error: Public en

try identifier 0x108108a entry index is larger than available symbols (index 4234, total s

ymbols 345).

c:\TickleMyAndroid\_working\framework-res.apk\res\values\public.xml:8660: error: Public sy

mbol drawable/APKTOOL_DUMMY_00d2 declared here is not defined.

c:\TickleMyAndroid\_working\framework-res.apk\res\values\public.xml:8661: error: Public en

try identifier 0x108108b entry index is larger than available symbols (index 4235, total s

ymbols 345).

c:\TickleMyAndroid\_working\framework-res.apk\res\values\public.xml:8661: error: Public sy

mbol drawable/APKTOOL_DUMMY_00d3 declared here is not defined.

c:\TickleMyAndroid\_working\framework-res.apk\res\values\public.xml:8662: error: Public en

try identifier 0x108108c entry index is larger than available symbols (index 4236, total s

ymbols 345).
[Android Themes] Ticklefish:
At a guess, I would say it looks like you didn't install your resource files before you decompiled your apk.

I don't know for sure though, because you didn't include your logs or the form I mentioned in my reply to your previous post..:)
[Android Themes] alphamale:
Log errors framework will not recompile.
[Android Themes] limyuyang:
Hi there [mention=4315551]@Ticklefish[/mention], I'm currently using TMA version 8.3. And when I tried to pull files from my device, it shows this, how can I fix it ? Earlier, I didn't face this problem, and today when I want to make some mod on my systemui.apk, it shows this :

ADB server is out of date...

Bla bla bla

Thank you for advising / guiding / teaching. :D
[Android Themes] DG|Buu:
Error...rewrite.bat

Even I tried newer One...Same error for me...
[Android Themes] Ticklefish:
Many thanks. Can you provide your 'history.txt' as well please?

That's odd. Have you tried rebooting?

It took me a while to find the post you quoted but this is about TMA not starting, right? Have a look at posts 1973 to 1980 to see how this got resolved.
[Android Themes] alphamale:
Here you go thanks for all your help
[Android Themes] alphamale:
My framework as well

https://www.dropbox.com/s/k2uyhdn1ushn11f/framework-res.apk
[Android Themes] herobrine_second:
Well I'm trying to decompile Kitkat's SystemUI.apk, but it just won't decompile. I'm taking the apk out from the ROM zip instead of pulling from my device since the ZIP is an update and I'd rather take the shortcut (lol). I'm using a Galaxy S3 LTE, using TMA 8.1.3 with APKTool 2.0.0b9. ProBam (AOSB) KitKat. Extracted the files out manually using WinRAR, but after I did my modifications (just some minor ones, editing status_bar.xml and some pngs), I couldn't recompile them.

I've attached both the decompile and recompile logs. I had different errors when I tried to recompile the systemui.apk a few times, but that was after I messed with the files and folder structure. The recompile log attached is the first error I received. In case you wanted to see my folder structure at the root of my manually-decompiled-using-WinRAR SystemUI.apk, I've attached a screenshot of it:

View attachment 2596073
[Android Themes] Ticklefish:
Thanks for this. Let's have a look...

Yep, this is a problem caused by a resource not being installed.

To decompile framework-res.apk successfully, you need to install twframework-res.apk first..

Here's your decompile error:

'c:\TickleMyAndroid\_working\SystemUI.apk\AndroidManifest.xml:1: error: Error parsing XML: not well-formed (invalid token)'

Looks like there's a problem with line one of your AndroidManifest.xml. I'd have a look at that first, if I were you.
[Android Themes] alphamale:
Still not working
[Android Themes] Ticklefish:
This is a custom rom, isn't it? Your framework-res.apk has been themed really oddly, there are a lot of errors in it.

If you want to recompile that apk, you'll need to fix all those errors.

By the looks of things, you just need to delete a lot of files. Possible...just tedious! Lol
[Android Themes] herobrine_second:
Ahh... My AndroidManifest.xml was corrupted :X don't know why. Anyway, I got an recompile error when I fixed the AndroidManifest.xml. Doesn't look like it has to do with AndroidManifest.xml, I don't really know how to read logs :P
[Android Themes] Ticklefish:
:)

What was that recompile error?
[Android Themes] herobrine_second:
Oh wow I forgot to attach the log. Only free tomorrow evening (at my country GMT+8 lol) so probably will only upload tomorrow evening or so. Sorry!
[Android Themes] LiquidT:
Hey.

I'm getting a recompiling error, the error is:

Error: No resource found that matches the given name (at 'title' with value '@string/notif_alpha_title')

So I looked in my strings.xml and the string attr is there.

<string name="notif_alpha_title">Notification Title</string>

-->Something like that, I'm trying to remember. What other resources would there need to be for this to work?
[Android Themes] alphamale:
OK developer updated ROM and I got it to recompile, but it won't create a flashable zip it gives me error with no log. I used original signature and tried both standard and advanced zip
[Android Themes] sud.vastav:
[MENTION=4315551]Ticklefish[/MENTION] The battery icons in the ROM that I am using are rendered in real time. Would TMA be able to change the icon??
[Android Themes] herobrine_second:
Here is the log [MENTION=4315551]Ticklefish[/MENTION] :)
[Android Themes] DG|Buu:
It worked when i Kept in C: .....Auzum.....

Very auzum
[Android Themes] alphamale:
Still trying to make this work. Was able to create a zip file, but after flashing status bar disappeared and wallpaper turned black. All I did was add a battery icon to framework
[Android Themes] Ticklefish:
Looks like your Manifest still has issues:

If you're not doing so already, it's worth using a text editor like Notepad++. Not only is it very useful when trying to make sense of large amounts of code, but it has line numbers so you can quickly go to the lines mentioned in the errors and see what's going on.

Odd. So the error says you don't have a string...and you do have a string? Can you share the log please? I'd be interested to see precisely what the error actually says.

Rendered in real time? That is very cool! :cool:

Unfortunately, there's not much TMA can do with it though. TMA works by replacing the png files. If your rom doesn't use png files for the battery icon, TMA has nothing to replace.

Thanks! :cool:

Can you provide your latest history please?
[Android Themes] herobrine_second:
Ahhh... So what do I do? Do I delete those lines?
[Android Themes] LiquidT:
I found the problem that fixed it, but it don't make any sense to me. I removed the @ in front of the [MENTION=936943]string[/MENTION]/. and it worked for this xml file. Now in all the other .xml files I still have the @ in front of the [MENTION=936943]string[/MENTION]/ and they work fine. What I'm trying to do is take something I like from one custom rom and add it to another custom rom, to give me all the custom options I like in one custom rom.
[Android Themes] alphamale:
I flashed the standard zip and it caused me to bootloop. I had to nandroid
[Android Themes] steha:
Hi it appears TMA can't install/decompile/recompile 4.4 systemui, framework-res apks that's why I was having trouble so may have to wait till apktool is updated. But I'm modding 4.3 files and extracting the nodded files and flashing then in cwm. Thank you [MENTION=4315551]Ticklefish[/MENTION]
[Android Themes] limyuyang:
Alright, I reboot my PC. And now the daemon is running, I can pull files from device. However, I face another problem, I can't decompile the files.

When I decompile it, it shows this window. This is the screenshot link http://postimg.org/image/v2fzacxot/

I'm using tickle my android 8.3 anyway. :D
[Android Themes] Ticklefish:
Sorry for the delay, guys. I've been very busy at work and very, very busy at home. The kids have had the flu and that's been sooo much fun...:eek:

Anyway, let's get on with the replies!

I don't know. It depends what those lines say. And it depends what they said before you changed the file. Have a look at the lines the error codes talk about, have a look at what the error codes actually say is wrong, and see if you can make the changes needed.

That's odd.. Perhaps it's something to do with you adding xml in that wasn't there before..

Oh well, as long as you got it to work, that's all that matters!

According to your history, you haven't done anything wrong. Bootloops are caused by bad framework-res.apk's, so it's most likely something to do with the way that custom rom was made.

I hate to say 'Speak to your rom's dev' again, but...you need to speak to your rom's dev..;)

It's certainly possible that apktool can't handle KitKat yet, although I'm sure it won't be long before it can if that's the case.

Can you share your files please? I'll try them on my setup.

I'm puzzled by this. :confused:

Can you do me a favour please? Open your command window and enter 'cd c:\ticklemyandroid'. Then enter 'start "Tickle My Android" "Tickle My Android.lnk"'.

Let me know what happens.
[Android Themes] steha:
I believe you did try and couldn't get framework to install, and thought it was the way slim ROMs are compiled I forgot to say at the time it was slimkat I was using. The 4.3 slim works fine cheers
[Android Themes] jb789:
If the ROM offers other battery display options (like the default AOSP one), then they should be png files & could still be modified the usual way. The only battery icon I'm aware of that's rendered in real time is Cyanogenmod's CircleBattery (or versions of it), which is done with java. There were even a few unofficial CM7 ROMs that backported it. I believe GravityBox can add/change it for Android 4.1+ through Xposed, but it would be so super cool to have it as an option in TMA for those that can't get it through other means! :fingers-crossed:

Here's some general CircleBattery info I dug up if it helps or interests either of you:

https://github.com/CyanogenMod/andr.../systemui/statusbar/policy/CircleBattery.java

https://github.com/CyanogenMod/andr.../systemui/statusbar/policy/CircleBattery.java

http://xdaforums.com/showpost.php?p=34944941&postcount=2824

http://xdaforums.com/showpost.php?p=34857914&postcount=2805
[Android Themes] limyuyang:
Alright, so I did it and it shows this again :

Screenhot : http://postimg.org/image/qtxpxumad/
[Android Themes] caspboy:
[MENTION=4315551]Ticklefish[/MENTION] can you add chose of icons (battery/signals) from kitkat?
[Android Themes] Ticklefish:
Ah, yes. I remember. Hopefully apktool, or the slim rom version, will be updated soon and you can get some decompiling going on. :)

Interesting! Many thanks for this! I'll have a look and see if it's something that TMA can incorporate. :thumbup:

Did you enter 'lnk' with an uppercase i or a lowercase L? I'll admit they can look very similar on a PC.

You need to use a lowercase L. The code is supposed to start the shortcut..or link, you see.

Sure! Is there a particular rom you want to use icons from?
[Android Themes] caspboy:
no particular rom, just regular kitkat:D You may want to use cm11 just because it has builds for all devices ranging from the res of 240x320 and up
[Android Themes] limyuyang:
Oh....I actually typed the uppercase of 'i'

Ok, I'll try to type the lowercase or L
[Android Themes] steha:
Apperntly tma can't Handel slimroms because of the inverted ( real dark slim ) settings. where there is a toggle switch to turn on/off trds. But the devs have linked me to the new KitKat slim apktool which I'm looking forward to trying.

(Would it help at all if I post the slim apktool for you to look at maybe add it to tma ( if it works) [MENTION=4315551]Ticklefish[/MENTION] )
[Android Themes] Ticklefish:
Absolutely! If you know of a modded apktool that's needed for certain roms, I would always be very grateful if you can let me know about it. :good:
[Android Themes] carl1961:
I think it is 1.4.3

here is a apktool2.0.0-Beta9-0736aac013.jar from gu5t3r
[Android Themes] steha:
Won't let me upload all the files so I'll link to the download page there is also a slim SDK as well but I don't know what to do with that.

http://slimroms.net/index.php/downloads/dlsearch/viewcategory/1151-development

Thanks really hope you can do something with this

Edit: framework-res-2 is the pulled file from my device there is also 1 supplied with the slim apktool zip

Thanks for looking into it

Edit2: I can't get it to work no idea what to do with SDK and without tma the apktool is a no go for me. Really hope you can add it to tma. Pls pls pls
[Android Themes] FunSucker:
my systemui have status_bar.xml AND zzz_status_bar_gemini.xml.

which one should I edit if i want to editing/moving the status bar icons? :confused:
[Android Themes] glfsd:
hello Tickle

I must say that your app is fantastic! thank you very much!

But now discovered a very strange problem.

after recompiling my lgsetting.apk I found this error in array.xml

from original

<item><font size="16" align="middle">Small</font></item>
<item><font size="18" align="middle">Normal</font></item>
<item><font size="21" align="middle">Large</font></item>
<item><font size="24" align="middle">Extra large</font></item>

to

<item>&lt;font size=16 align=middle>Small&lt;/font></item>
<item>&lt;font size=18 align=middle>Normal&lt;/font></item>
<item>&lt;font size=21 align=middle>Large&lt;/font></item>
<item>&lt;font size=24 align=middle>Extra large&lt;/font></item>

:confused:
[Android Themes] alphamale:
Can these mods be flashed in safe strap. Do they in f anyway effect bootloader
[Android Themes] limyuyang:
Well, still the computer cannot find it.

Screenshots:

http://www.imageupload.co.uk/0g7

http://www.imageupload.co.uk/0g9