yashsingh1/xdaforums huggingface dataset:
[Android Themes] Ticklefish:
I believe we're getting somewhere! When you click on install framework, does the title change at the top of the window?

Can you share your history please?
[Android Themes] iPusak Gaoq™:
No it doesn't change anything at all....here is my history....

i also notice something different on TMA....its opposite that the screenshot of the OP.....take a look at your screenshot and mine....

This is your screenshot.....

And this is mine.....as you can see it, i don't have TMA big logo at the top of it....i don't know if that important but i believe the clicking point change because of the missing TMA logo on top....
[Android Themes] Ticklefish:
That would cause problems, yes. Are you missing the logo on every screen?

Nice pointer, by the way! :)
[Android Themes] iPusak Gaoq™:
logo are missing on theming menu only....in main menu the logo are there....
[Android Themes] alphamale:
Is anyone else having a problem in theme menu with the next button. When I push next the emulator app closes
[Android Themes] Madaditya:
All fine with me though.
[Android Themes] Ticklefish:
I was really hoping that you'd say that you don't get the logo at all. Oh well. There's no reason in the code why this is happening. The only thing I can think of is that it's something to do with you running the tool as administrator. Have you tried just running it normally?

Have a look at this post here: http://xdaforums.com/showpost.php?p=51319181&postcount=2372

Yup, this is actually happening. I'll be uploading a fixed version later today. :)

Phew! At last some good news! :laugh:
[Android Themes] iPusak Gaoq™:
actually i always run TMA by normal way....i never run it as admin...i only extract TMA as admin only...

to be honest beside logo disappear and mouse control didn't work, everything else work fine...i still can decompile/recompile/sign and etc using the normal way in TMA....
[Android Themes] Ticklefish:
I've now fixed this and there's an updated version available. Just head to the op and download. Sorry about that.

I'd love to get this fixed (although it might take a lot of exchanging messages between the two of us). It's up to you though. If you're happy using TMA as it is, then that's cool. :)
[Android Themes] Ticklefish:
I've now updated the 4 original posts which should hopefully make it clearer how to use TMA and how to get the best out of it.

There's now a FAQ section which I'll be slowly filling as time goes on. That should prove very handy for people new to the wonder that is TICKLE MY ANDROID.

Now that v9.0 is out, I can start concentrating on my other Android projects. I'll be working on something for XDA-University, the hotly-anticipated Tickle My Android For Linux (TML) and I'll even be trying my hand at actual app development.

Watch this space!
[Android Themes] iPusak Gaoq™:
Its okay...as long as TMA work then i don't mind using to normal way... :)
[Android Themes] USiT-:
Hello Ticklefish!!

Amazing tool you have created here, and almost work like a charm for me ;)

What phone/tablet are you using?: Samsung Galaxy S3 (i9300)

What version of Android are you running?: 4.4.2

What version of Tickle My Android are you running?: v9.0

What sort of rom are you on?: CM11.0-InstallerXNPQ08Q

What are you trying to decompile/recompile?: \priv-app\Dialer.apk

What resources apps have you installed?: none

What mod are you trying to do?: Did just try to change ic_dial_action_delete.png color to red to see how this works

Do your files work if you decompile, recompile and prepare them without changing anything?: Decompile works with no problem

What problems are you having?: When i try to recompile i get error (see log file below). I have tried to decompile and recompile with no changes and get the same error. Have also tried to select with "org signing" and "no signing".

Thanks

USiT-
[Android Themes] Ticklefish:
On line 2 of your apk's 'ic_arrow.xml', there's a call for a resource that hasn't been provided.

You need to install a resource app before you decompile the apk you're trying to mod.
[Android Themes] USiT-:
Thank you!!

Did know i was missing something. Did pull the framework-res.apk and installed it and then i could recompile it back to dialer.apk but in a strange way when selecting flashable Zip file --> standard the zip file only become 400kb when the apk is 4.6MB, i guess im doing something else wrong and will give it a try again later on when i have more time.
[Android Themes] Ticklefish:
Did you add any files to the zip before you made it?
[Android Themes] USiT-:
hehehehehe no :)

(feel like a dumbass now how could i miss that part hehe)
[Android Themes] Ticklefish:
Lol no problem :)
[Android Themes] alphamale:
I am trying to change battery icon. Ive change wifi and signal icon, but battery icon wont change. I am on custom rom 4.3. TMA version 9
[Android Themes] Ticklefish:
Interesting..according to your logs, everything went fine.

Could you share your files please? And a screenshot of your phone too.

I'll have a look and see what's going on.
[Android Themes] alphamale:
What files do you need
[Android Themes] siMp0lMaN:
think hes talking bout your systemui.apk and framework-res.apk where your battery icon is located.,
[Android Themes] Ticklefish:
I'll need your twframework-res.apk as well.
[Android Themes] alphamale:
https://www.dropbox.com/s/k2uyhdn1ushn11f/framework-res.apk
[Android Themes] Ticklefish:
That's a pretty wild homescreen! :cool:

Thanks for these, I'll take a look once everything's downloaded and see what's going on. :good:
[Android Themes] Ticklefish:
I'm going to blame this one on Samsung, I think.

For no obvious reason other than they don't want their users to think of their products as being Android, Samsung have added the characters "tw_" to the battery files in your apks.

Tickle My Android wouldn't be looking for that as it wouldn't be expecting it. But I've now updated the code so this can be taken into account.

The latest version is uploading right now. My connection speed isn't very fast so it'll be uploaded in about 30 minutes or so. The download link remains the same.

Many thanks for sharing your files, this was worth finding out. Y'know..I like Samsung, I really do..but I do wish they wouldn't fiddle so much!
[Android Themes] alphamale:
Thanks for all your help. That framework was from to 8.1.3 tool, but I also tried it on the 9 with no success. There is a bug with the 9 version option 41 for battery says liquid battery by DROID pirate but when it's selected it downloads a different battery. It downloads yorkies emotions
[Android Themes] Ticklefish:
There's a bug?

Damn..you're right!

This has now been fixed and an updated version is uploading right now. Give it another hour or so..
[Android Themes] alphamale:
New version up?
[Android Themes] Ticklefish:
Yes, was uploaded a few hours ago. Download link remains the same.
[Android Themes] alphamale:
Still won't theme battery[emoji20]
[Android Themes] Ticklefish:
Updated version uploaded. :laugh:
[Android Themes] alphamale:
Still no go. Battery won't theme
[Android Themes] sud.vastav:
What's the android version of your ROM?

If it's KitKat then battery won't be themed since battery icon in KK is rendered in real time and TMA works by replacing pngs which would do nothing in a KitKat ROM.

Btw [MENTION=4315551]Ticklefish[/MENTION] thank you for TMA. It's just awesome!
[Android Themes] alphamale:
4.3 jb
[Android Themes] Ticklefish:
Thank you! Glad you liked it! :D

I'm downloading your files again so I'll take a look in a second. When you say the battery hasn't changed, is this after you've recompiled your apk? Or is it because you've seen the original images in the drawable folders?
[Android Themes] Ticklefish:
Hmm..the version I uploaded this morning replaces your 'stat_sys_battery.xml', 'stat_sys_battery_charging.xml', 'tw_stat_sys_battery.xml' and 'tw_stat_sys_battery_charging.xml' so that they all show the new icons.

If you're still seeing your original battery icon on your statusbar, then it must be called by a different xml file.

I've had another look and there's a file called 'tw_stat_sys_battery_red.xml', which seems a little pointless to me but I'm now updating TMA to replace that as well.

So another new version is being uploaded and will be ready to download in about an hour. If this doesn't replace your icon, then I'm at a bit of a loss to explain it..
[Android Themes] alphamale:
Ok that's for all your hard. I really appreciate it.
[Android Themes] Ticklefish:
Oh, no problem. I just want TMA to work for everybody. :cool:

New version uploaded!
[Android Themes] Dennydap:
I tried to decompile LGSystemUI.apk and I got errors (see attachment)

I already installed the framework-res and lg-res and decompiled it. What am I supposed to do?
[Android Themes] Ticklefish:
Can you share your history.txt and your files please?
[Android Themes] alphamale:
Sorry just saw this post. I recompiled created a zip and flashed the zip. Will download latest tool and try when I get a chance either tomorrow or Saturday will let you know results
[Android Themes] Ticklefish:
Are you able to share your files at all?

LG apk files have a history of not being 100% compatible with apktool (LG's fault for constructing the files in an odd way) and I'd love to try it out on my setup.

I will keep my fingers crossed then. :)
[Android Themes] sud.vastav:
Please Accept it...

[MENTION=4315551]Ticklefish[/MENTION]

This is for all you have done for xda users... This is for making TMA.

Please accept it.

This is a screenshot from my Upcoming ROM. :)
[Android Themes] Ticklefish:
Wow...that's amazing. Thank you, I'm really honoured. :cool:
[Android Themes] Dennydap:
If it's helping, click here

It contains the original files of framework-res, lge-res, both LGSystemUI apk and the odex file.

Thanks by the way :)
[Android Themes] Ticklefish:
Hmm...

Decompiled without a problem. And I'm using the same TMA 9.0 that's in the OP.

Which leads me to suspect it's a problem on your side. Maybe you need a more recent version of Java than you currently have?

I've attached the decompiled apk to this post. If you're having trouble decompiling it, then you might not be able to recompile it, but hopefully it'll be helpful.

If you just can't get this apk decompiled and recompiled, make the changes you need to to the attached file and I should be able to recompile it for you. :good:
[Android Themes] Dennydap:
How did that happened successfully lol I got the recent version of Java though :laugh:

Thanks for your help by the way, I'll update this post after I do some mods to LGSystemUI.apk :)

EDIT: Okay, based on what I got, there is no SMALI folder from LGSystemUI.apk and that's a pity :( I really want to edit smali files for transparent statusbar lol
[Android Themes] Shialie:
Hey Ticklefish,

first thanks (again) for this nice programm, but in Version 9 i cant start the "Tickle My Android.bat". I always get the error message "rewrite.bat could not be found", but i'm sure the .bat is in the right folder. Can you maybe help?
[Android Themes] Ticklefish:
Guess you need to do some deodexing then. :)

It looks like you've put your copy of TMA in the download folder...
[Android Themes] Shialie:
Thanks for you quick reply, but 1st, I didn't copy TMA to my Download folder, I just extracted it to this location & 2nd I extracted TMA also to other Destinations but I always get the same Error.
[Android Themes] Ticklefish:
I've got to say..I love your signature! 'other nice Sh*t'.. That cheered me up after a lousy day at work..so thanks! :good:

Anyway, you will get that error if you extract to other destinations. You need to extract it to 'c:\'.. Have a look in the FAQ's in the 4th post.
[Android Themes] Dennydap:
Never mind already lol there's something wrong with LG's method for apk. Tried to decompile it and recompile without giving any modification, and it still gives me the errors :(

It worked for the frameworks, but not the LG's System UI. Thanks for your tool, but unfortunately I can't give you any results from it because of this handheld :):good:
[Android Themes] alphamale:
Thanks [MENTION=450989]Tickle[/MENTION] battery is now the theming. I've tried 2 different battery icons one is small one is real big does anyone know if there is a way to adjust the icon size
[Android Themes] Ticklefish:
I know the next version of apktool will have better compatibility with LG, but I don't know how much better. Or when it's coming out. :(

Fantastic! I knew we'd get there eventually!

Not every icon works well with every resolution. You can either try resizing each icon yourself or you could try experimenting with the attribute 'android:scaleType' in your xml.

Changing the xml might help...but manually resizing the icons is a lot easier!
[Android Themes] alphamale:
How would I go about changing the icon size? Would I do it framwork under working folder then recompile?
[Android Themes] Ticklefish:
Pretty much. You'll find the icons in your drawable folders.

I suspect I know..but I need some more information. Can you fill in the form from the fourth post please? And include your logs and history.txt.
[Android Themes] vampent0026:
[MENTION=4315551]Ticklefish[/MENTION],

Hey Bro, Sorry if it's maybe asked already, but i want to know if the new version support theming of the battery icons in CM11 systemUI? or if not, is there any work around in it to make it pull it's resources in drawable (.xml & .png) again instead of rendering it??

regards and many thanks for your hard work!:good:
[Android Themes] Ticklefish:
It is that rendering that's the problem. There's nothing a command line tool like TMA can do to change it automatically.

You need to force your rom to use png icons again. This is possible...but involves a bit of thinking.

Have a look at this thread here: [MOD][HOW-TO] Imaged Battery for 4.4.2 KitKat NA6/NA7/NB3

It should give you a clue as to what to do.

Once you've made your rom use png's for the battery icon again, it'll be just like pre-KitKat and you can use TMA to change your battery icon. :good:
[Android Themes] vampent0026:
wow,many thanks for the link..will try it asap!:good:
[Android Themes] devadip:
[MENTION=4315551]Ticklefish[/MENTION]

Yesterday i downloaded v.9 of TMA

Now i'm testing it

great job my friend !!!

i think it's very faster than v.8.1

thank you again for this great tool .
[Android Themes] Ticklefish:
Thank you for your thank you! :cool:
[Android Themes] vampent0026:
Thank you bro for this very wonderful work, I'm now using your latest version of TMA for all of my de/recompiling of apps:good:..anyways is there any option to have the apps signed (single &batch) using my own private key?..that would be awesome i think;)
[Android Themes] loukman:
the bat file is not even booting it kepps saying cant find rewrite.bat
[Android Themes] Ticklefish:
Hm...possibly...

How do you sign apps at the moment with that key?

Did you extract to the root of the c: drive? Where is your ticklemyandroid folder?
[Android Themes] vampent0026:
hmm..through CMD in windows using this

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA -keystore MYKEYSTORE.keystore application.apk KEYSTORE_ALIAS
[Android Themes] Ticklefish:
Interesting. I could update TMA to have an option for this. It'll take a while though, I'll have to create a new section in the settings menu to let you change the various variables. Then it'll need to be tested and translated.

Possible but time-consuming.

Or I could just show you how to change the code so that whenever you select to sign with new signature, your signature is the one that's used.

I assume that you've got jarsigner in your path?
[Android Themes] Ticklefish:
I've just noticed you've got a link to Tickle My Android in your signature..you're now my Number 1 Favourite Person Ever!!
[Android Themes] vampent0026:
it will be a very nice addition to your TMA and so we don't have to use a separate program for signing with private key:)

i'm sure a lot would love to have that..:good:

and yup,jarsigner is in my path..and yes..please teach me how to change that codes..many many thanks!:good:

---------- Post added at 10:31 PM ---------- Previous post was at 10:26 PM ----------

yea, it's just my own little way of appreciation compared to what you contribute to us:good:

this made my day!Thanks!!:D
[Android Themes] loukman:
yes i extracted every thing to c:/ ,also i have just the c:/ hard drive with the capacity of 300 gb ,also i have the latest java (jre) also il try to take a screenshot
[Android Themes] Ticklefish:
Well, I'll take a look and do some thinking. It'd be a neat thing for v9.1. It will be a while before I implement it though..

To modify your existing TMA to use your own signature, you'll need to change codes in two sections.

You'll need to use Notepad++ for this, or a similar program that will give you line numbers.

Go to line 3397 first:

if %2==nonsystem (java -jar testsign.jar "%CurrentAddress%\_out\%1" "%CurrentAddress%\_out\%1_signed")
if %2==nonsystem (del /q "%CurrentAddress%\_out\%1")
if %2==nonsystem (rename "%CurrentAddress%\_out\%1_signed" "%1")

Change those three lines to:

if %2==nonsystem (cd %CurrentAddress%\_out")
if %2==nonsystem (jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA -keystore MYKEYSTORE.keystore %1 KEYSTORE_ALIAS)
if %2==nonsystem (cd %CurrentAddress%)

Then go to line 1957 and change:

java -jar tool_files\testsign.jar "_out\%ActiveFilename%" "_out\%ActiveFilename%Signed"
del /q "_out\%ActiveFilename%"
rename "_out\%ActiveFilename%Signed" "%ActiveFilename%"

to

cd _out
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA -keystore MYKEYSTORE.keystore %ActiveFilename% KEYSTORE_ALIAS
cd..

It's messy code but it'll work. I'll do some thinking and see what I can do to make this an option in TMA.

And I'm always happy to make somebodys day! :cool:
[Android Themes] Ticklefish:
That'd be handy, thanks. :good:
[Android Themes] vampent0026:
[MENTION=4315551]Ticklefish[/MENTION],

hey Bro, i've just did what you said,anways the first line is located at line 3400 not 3397(at least on my part)..

but it doesnt work,here's my actual code in line 3400:

if %2==nonsystem (cd %CurrentAddress%\_out")
if %2==nonsystem (jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore LXperiaZSeries.keystore %1 LXperia)
if %2==nonsystem (cd %CurrentAddress%)

and in 1957:

cd _out
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore LXperiaZSeries.keystore %ActiveFilename% LXperia
cd..

but it should ask for a passphrase,right?since private keys has passphrase.:confused:

hmm..maybe some code is missing..
[Android Themes] Ticklefish:
Are you using the very latest TMA? It may be worth downloading it again to make sure..

About your passphrase...to be honest, I've no idea. I've never done anything with personal signing, I'm just using the code you gave me in your post.

When you use jarsigner on its own, does it prompt you for a passphrase?
[Android Themes] vampent0026:
yup it always ask for a passphrase..hey bro look at this code..it might help..but need to fix some line..

@echo off
Title Sign an unsigned apk
set OLDDIR=%CD%

cls
echo.
echo You will need to copy your keystore file
echo eg. my-release-key.keystore
echo into the same folder as this script.
echo.
echo Please place your unsigned app in the same
echo directory as this program, when you have
echo done this please type in its name below:
echo.
echo.
set /p apk= What is the filename (including the .apk at the end)?
echo Your app is named %apk%
echo.
echo.
echo while creating your Private Key, what did you put as your ALIASNAME?
set /p alias= Aliasname
echo.
echo Is the Java JDK in your path?
echo if you do not know what this means, please type "N"
CHOICE /C:YN /M "Java JDK in path?"
If errorlevel 2 goto nojdk
If errorlevel 1 goto jdk

:nojdk
echo.
echo.
echo It is recommended that you put the jdk in your path
echo To see how please visit this web page:
echo http://www.oracle.com/technetwork/java/javase/documentation/install-windows-152927.html
echo.
echo.
pause
cls
echo.
echo.
:jdk
echo ok, you will need to type in your password when prompted

jarsigner.exe -verbose -keystore my-release-key.keystore %apk% %alias%
echo.
echo.
echo Checking it is signed correctly
jarsigner -verify %apk%
echo.
echo If you got an error you probably
echo compiled your apk with a key
echo (probably the debug key).
echo Try recompiling it without signing
echo and then copy and paste the
echo resulting temp.ap_ file here.
echo.
echo.
echo Now we just need to zipalign the apk
echo.
echo.
echo.
set /p final= What do you want the finished apk to be called?:
echo %final% it is
echo.
pause
zipalign -v 4 %apk% %final%
echo.
echo.
pause
cls
Pause

i get it here.
[Android Themes] Ticklefish:
What actually happens when you make the code changes I suggested and you try signing?
[Android Themes] vampent0026:
nothing,it's just leave the apps unsigned with no META-INF folder inside the apk.

Hey Bro,i edit the code i posted up and create it as batch-file,i made it work but it only signs one apk at a time, the good thing about it is the ability to choose different keystore (since i signed my theme differently than other apps),it just needs to be in the java/jdk/bin directory to run properly.

any suggestions to have it signed multiple apk at a time?and maybe you could use this code also to have it implemented in your TMA:)
[Android Themes] Ticklefish:
It needs to be in the java/jdk/bin directory? Ah...that's why my code didn't work. You don't have jarsigner in your path...
[Android Themes] vampent0026:
i copy jarsigner along with my keystore from java/jdk/bin and put it in TickleMyAndroid/tool-files..hmm did i do it wrong?:confused:

edit:i forgot to edit variables path.lol
[Android Themes] Ticklefish:
Yes. But you gain a point for trying. :)

For the time being, copy them into your _out folder.

I'll do some research and see if I can intergrate this into TMA.
[Android Themes] esoreiramdc:
help sir

Sir help. When i double click the TickleMyAndroid nothing happens no scripts executing when i run it as admin i get an error help ty
[Android Themes] vampent0026:
Did you extract it in proper directory?? and that's in C: directory on windows pc.

ex:

C:\TickleMyAndroid:)
[Android Themes] MattPL:
I have a problem. When I recompile app with original signature, I can't install its. I get an error... I don't know what it is caused by. Before, all apps recompiled with the same signatures were installing themeselves. This app, which I tried today - too. But now I get an error. I thought maybe ver. of TMA is outdated, so I installed the newest ver. an I still can't install apps.
[Android Themes] Ticklefish:
Hmm, not good. Can you fill in the form from the FAQ's in the fourth post please and attach your logs?

I'll take a look and see what's going on.
[Android Themes] henriyulianto:
Ah.. So there are updates. Long time in deep sleep away from xda.
[Android Themes] Ticklefish:
There have been quite a few...lol

I was looking at the version 1 the other day and TMA has come along so much.

And it's all thanks to the wonderful people who've downloaded it. Thanks everybody!
[Android Themes] MattPL:
[*]What phone/tablet are you using?:

[*]What version of Android are you running?:

[*]What version of Tickle My Android are you running?:

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

[*]What are you trying to decompile/recompile?

[*]What resources apps have you installed?

[*]Are the files you're using odexed or deodexed?

[*]What mod are you trying to do?

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

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

I am using Samsung Galaxy S III, Android 4.4.2, Archidroid 2.4.3 based on OmniRom 4.4.2-20140420,

TMA 9.0, AOSP rom, only NovaLauncher, and some theme from GP,

I installed framework-res.apk. Rom deodexed, and file too.

I did some little modifications.

App works if is compiled with new signature, not original.

App doesn't install itself.