yashsingh1/xdaforums huggingface dataset:
[Android Themes] Ticklefish:
That shouldn't crash it at that stage..

Can you try renaming the file? Call it something like test.apk. It could be the filename causing trouble.
[Android Themes] koekoek91:
Hey [MENTION=4315551]Ticklefish[/MENTION]

Don't know if you remember me...

I used to have problems deodexing Nougat for my Xperia Z5 on my PC, but on my laptop it always worked.

As of now, sadly I lost my Z5 somehow so I bought me a Xperia XZ.

Just wanted to let you know that I have done a fresh windows 10 install on my desktop PC and now deodexing works fine without errors on both my laptop and PC :)

Something must have been messed up before on my PC, causing deodexing not to work correctly... but what it was we'll never know probably :p
[Android Themes] Ticklefish:
I remember you. :)

Good to hear it's still working. :good:
[Android Themes] 32dave:
You are correct its the filename did what you asked and and it didn't crash
[Android Themes] Ticklefish:
Excellent. I think it may have been down to the length of the filename, or perhaps it was because it's got two periods/full stops.

I'm glad we found the solution! :highfive:
[Android Themes] Ticklefish:
I was idly browsing YouTube earlier and I noticed that there are a few videos showing people how to use Tickle My Android. Videos like this..

[YOUTUBE]myPVifaThDg[/YOUTUBE]

..and like this..

[YOUTUBE]_K9fiBq4YyI[/YOUTUBE]

I think it's great that people want to do this and I'm amazed that my little batch file is proving so popular...but I do have to ask a small favour. Included in the text for these videos are links to download TMA from unofficial mirrors.

I'm happy for people to share but I'd like to request that, if you're doing so, you use the official Mediafire link instead. I'm not affiliated with Mediafire in any way and I don't get any money for using them..but I do get to see how many times TMA is downloaded. And that lets me know whether it's worth continuing with it or not.

I know it sounds shallow but this tool is completely free so I rely on downloads and feedback to know how successful it is. :o
[Android Themes] thejackalsmark:
NOT Shallow at all, [MENTION=4315551]Ticklefish[/MENTION].

Btw, thank you VERY much for all the hard work and time put into TMA!

Here's a humble sample of what I've done with the aid of TMA. 1st, My phone itself.

Next Pics are from NOAA Weather Unofficial app. Last, but NOT least... Opera Mini.

(Couldn't post more than 5 pics in a post via XDA Labs app or Opera Mini without them crashing, so posted them over several posts.

* shrugs *)

Thanks again, [MENTION=4315551]Ticklefish[/MENTION], for an awesome tool!

- TheJackalsMARK

below are pics of phone
[Android Themes] thejackalsmark:
Next up... NOAA Weather Unofficial app, before and after.
[Android Themes] thejackalsmark:
Last but NOT least... Opera Mini Blacked Out With Red text.
[Android Themes] Ticklefish:
Very impressive work! That must have taken you ages! :highfive:
[Android Themes] KR_:
Hey. I'm still new to this stuff and I'm so confused cause my pc won't pull framework on my device :(
[Android Themes] Ticklefish:
Welcome to the wonderful world of Android modding! Let's see if I can help relieve some of that confusion.

Why won't your PC pull the framework? What error message do you get?

Sometimes this happens if there's more than one Android device connected to the PC at any one time (or if there's an Android emulator active).

Or it could be that you don't have ADB drivers installed on your PC for the device, so the PC can't detect that the device exists.

Or it might that you don't have USB Debugging enabled on your device.

Or it could be that you haven't given permission on the device when the PC tries connecting..

If you genuinely can't get the pulling to work, you can just copy the files into the "_in" folder manually.
[Android Themes] KR_:
"Error! Something has gone wrong! Please try again!"

Also how do I install ADB? I tried searching but im so confuse. Sorry I'm still new to this :)
[Android Themes] Ticklefish:
We were all new when we started, don't worry. I didn't know anything when I joined xda. All this was a complete mystery to me. :D

If Windows isn't installing ADB drivers automatically, you could try this tool here: https://xdaforums.com/showthread.php?t=2588979

If you still have trouble, please share your history.txt. You'll find this in the "user_files\LOGS\" folder.
[Android Themes] KR_:
Thanks :D
[Android Themes] nepAnkit:
Thanks.

The tutorials are easy to understand. Going to change status bar icons on my brother's micromax canvas 5 now... LoL...
[Android Themes] Ticklefish:
Thank you! I hope you enjoy using this program! :good:
[Android Themes] JT1510365:
Happy mothers day to one of the most amazing developers we have here on xda idk if your a boy or a girl but i wish your mom the best wishes:) Thanks so much for all your hard work with this awesome program and for you helping us all out:)

---------- Post added at 05:12 PM ---------- Previous post was at 05:08 PM ----------

me too i was too excited in going into the android modding communìty and i ended up bricking 4 phones permanetly its so funny had to learn the hard way just like everyone else but trust me we are all here on xda to help each other out and remember the golden rule always read before you modify your device:)

Happy Modding:)
[Android Themes] thejackalsmark:
Rule 1 of "Mod Club"...

BACK UP 1st!

Rule 2 of "Mod Club"...

BACK UP 1st!

Rule 3 of "Mod Club"...

Use the "Search Button"!

Final Rule of "Mod Club"...

When in doubt/any questions,

REFER TO RULES 1-3!

Because NOBODY likes an expensive, rechargeable "BRICK".

We were ALL noobs in the beginning and didn't know sh!t until we found sites like XDA. AND no matter how long we've been learning and honing our craft, the game is always CHANGING.

Technology is always moving forward and evolving, so we never STOP learning new things.

If I were to add ONE more rule to the set above, I would say

Rule 5 of "Mod Club"...

Follow the government's example:

"REDUNDANCY"!

TMA is an excellent tool. BUT no matter how much time and effort are put into making a great tool, there are MANY versions of android on MANY different devices and many different computers with various operating systems.

NO ONE tool is compatible or runs the same on ALL of them!

Also, What works on THIS version of an app may not work on the NEXT version.

I mainly use TMA on my laptop or APK Editor Pro On my LG Optimus F7 4.1.2 JB Custom Kernel (Freedom lite)

for the majority of my modding/theming "Adventures".

BUT, I have DOZENS of different tools for phone and laptop. because you never know. Different tools have different strengths. Some will work, some may not. "CYA" folks. I almost always dl any new tool I come across. I may never use/need to use it. who knows?

It's like the old adage about condoms and guns...

"Better To Have It And Not Need It,

Than To Need It And Not Have It."

Never stop learning and add as many tools to your "Tool Kit" as you can find.

"We Now Return You To Your Regularly Scheduled Thread Stalking."

Happy Modding/Theming

- TheJackalsMARK
[Android Themes] thejackalsmark:
[MENTION=5458305]user2k10[/MENTION]

I can read your pm's but neither Opera Mini nor XDA Labs is letting me reply. GRRRRRRRR!

Anyway, pm me your email or hit me at thejackalsmark at gmail dot com

and I'll help you out with what you asked.
[Android Themes] kin201303:
hi:Tickle fish

my enlish is bad

i try to add chinese language to 14.4 but show garbled

can you help me

thank you
[Android Themes] thijac99:
Hi !

I discover this tools. Great work ! Thank you.

Envoyé de mon SM-G935F en utilisant Tapatalk
[Android Themes] Marília de Oliveira:
HELP ME

I can not install the frames! They are in the correct folder!

Help me please :(
[Android Themes] Androidwizzard:
Are you kidding? ;) You show content of WorkArea 1 and TMA is currently in WorkArea2 so can't find :angel:
[Android Themes] Ticklefish:
Well, thank you! That's very kind. I'm in the UK and our Mothers Day was weeks ago. But the thought is very much appreciated.

My mum is an Apple fan, which is why we have some old iPads in the Fish household. Interesting devices but nowhere near as modifiable as Android!

My dad has a rooted Kindle Fire and may even be reading this thread right now. Hi Dad!!

The key is always to move slowly, make backups and know how to refresh your phone if something goes wrong. When I was new to Android modding I had to reflash my phone nearly every day!

There are a lot of different variations of Android available. It's one of the things that make it exciting and maintaining this tool quite time-consuming sometimes. I'm always happy to add new features though, if you need something. TMA is meant for you guys, after all.

Chinese might not be working. I will try to fix and let you know.

Thank you! I hope you enjoy using it! If you have any problems, just let me know.

[QUOTE=Mar
[Android Themes] Ticklefish:
Grr.. Labs wouldn't let me put this bit in my last post. Let's try this again.

[qUOTE=Mar
[Android Themes] Ticklefish:
Let's try this a third time..

Wow, one of the best themers in the Sony section is using my program? I'm flattered!

Sadly the latest release seems to start in WorkArea2 when it's installed. I'll fix that when I'm next at a PC. For now though, please change to WorkArea2 and you shouldn't have any problems.

Sorry about that.

....

Right, let's see if that posts correctly!
[Android Themes] Androidwizzard:
Thx for your explanation cause this I haven't realized as I always use 2-3 WorkAreas at the same time and therefore always have to switch :D :good:
[Android Themes] Marília de Oliveira:
WOW thank you very much :victory::D
[Android Themes] undaclazz:
Actually, with this tool.. is it possible to edit system apk on Android 7.1.2 without disable signature, and choose "decompile with original signature"?

I tried many times but no luck in editing system app without disable signature first...
[Android Themes] tdunham:
I think you will have to do it that way and copy any changes back into the original apk. Disable signature is still not fully working for a lot of the latest builds.

Edit: I meant original signature gets broken on newer builds so we still need to resort to copying changes back into the original apk.
[Android Themes] undaclazz:
do you mean we can just copy original META-INF and manifest to the modded apk? I also have tried this way, but still, my phone bootloop if I did it to framework-res.apk, and SystemUI force close if I did it to SystemUI.apk. :(
[Android Themes] tdunham:
No.

You have to extract and copy changed files FROM modified apk TO stock apk.

ie. resources.arsc/classes.dex/xml/drawable or any other changed resource
[Android Themes] Tulsadiver:
I have a Pixel and Nexus 5X, both on 7.1.2 and have had no issues using tma for decompiling and recompiling with original signature on both framework-res.apk and systemui.apk and going with those results straight from tma. I have disabled signature check in my services.jar as a precaution however.
[Android Themes] tdunham:
Pure Google rocks. :)

Samsung TouchWiz, we still have these little quirks though.
[Android Themes] Tulsadiver:
Indeed!

I didn't see where he had a Sammy. My little knowledge of those ended with just a touch of Marshmallow but mostly lollipop, lol!
[Android Themes] tdunham:
I'm not sure he is using Samsung, just noting that if there are any signature problems that it might have to be done old school.
[Android Themes] millo1978:
Hello People!

I'm not able to decompile.

Huawei P9 lite - Android 6.0

I deodexed system files with this wonderful tool!

But I can't decompile deodexed files.

Decompiling "HwLauncher6.apk",
in workarea "_WorkArea1", using "apktool_2.2.2.jar"
With Debug Info Disabled

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

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

Installed Framework File(s):

1.apk
2.apk

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

I: Using Apktool 2.2.2 on HwLauncher6.apk
I: Loading resource table...
I: Decoding Shared Library (androidhwext), pkgId: 2
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x7f020076 drawable/ic_launcher_mcc_mnc_stk, config=-hdpi-v4
at brut.androlib.res.data.ResType.addResource(ResType.java:66)
at brut.androlib.res.data.ResType.addResource(ResType.java:55)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:270)
at brut.androlib.res.decoder.ARSCDecoder.readTableType(ARSCDecoder.java:226)
at brut.androlib.res.decoder.ARSCDecoder.readTableTypeSpec(ARSCDecoder.java:156)
at brut.androlib.res.decoder.ARSCDecoder.readTablePackage(ARSCDecoder.java:118)
at brut.androlib.res.decoder.ARSCDecoder.readTableHeader(ARSCDecoder.java:80)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:47)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:559)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:72)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:64)
at brut.androlib.Androlib.getResTable(Androlib.java:67)
at brut.androlib.ApkDecoder.setTargetSdkVersion(ApkDecoder.java:193)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:102)
at brut.apktool.Main.cmdDecode(Main.java:166)
at brut.apktool.Main.main(Main.java:81)

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

Decompile Not Successful!

Have you Ideas?
[Android Themes] tdunham:
Have you tried any of the older versions of apktool yet? I know I had some issues with a couple of files and going back to a previous version resolved it. Don't forget to reinstall frameworks again any time you switch apktool versions too.
[Android Themes] millo1978:
I tried 1.5.2...

Same result.

I have no other apktool versions...

The 2 framework files are good installed, but the error is always the same.

I have also an older version of this tool in my pc.

That version has a lot of apktool versions.

I tested apktool

1.5.0

1.5.2

1.Slimrom

2.0.3

2.1.0

2.Samsung

No one is good.

Slim and Samsung versions don't install framework.

The Other don't decompile.

Inviato dal mio HUAWEI VNS-L21 utilizzando Tapatalk
[Android Themes] Tulsadiver:
For this particular apk, try un-installing the second framework since it is saying duplicate resources.
[Android Themes] tdunham:
Can you post your frameworks and the apks?

For some reason, it sees duplicate resources but it looks to be a drawable

drawable/ic_launcher_mcc_mnc

Maybe you can look through all the drawable folders and see if that occurs anywhere else and manually delete one of them before decompile?
[Android Themes] millo1978:
I'll see :)

here are my files:

https://mega.nz/#!AIJGDD5L!5vFta4EId_tN4sSF3CRzJbWKiAEj1KvMt4e4i8qFfmY

Also with framework file 1 installed (2.apk uninstalled)... same problem.
[Android Themes] thejackalsmark:
EXCELLENT tip!

That's an excellent point!

If you have problems with your edited apk's NOT installing/working correctly after the recompile, instead of moving META-INF and android manifest from OLD apk to NEW, go "Old School" with it and do the OPPOSITE. Move your EDITS from NEW to the ORIGINAL apk.

That's solved my problem on a number of occasions! And I'm not on a "Sammy", but an LG Optimus F7 Stock 4.1.2 JB ZV4 firmware and Custom Kernel (Freedom lite).

Thanks [MENTION=1042140]tdunham[/MENTION] for mentioning that and the lack of solid signature disabling on the newer android versions. When I inevitably have to upgrade/replace this old trooper, that will be good to know. :)

- TheJackalsMARK
[Android Themes] tdunham:
Alright, the apk itself has some sort of issue but I cant really tell what it is. I went through ALL the drawable folders except the mcc drawables and deleted that file, it was in multiple places but it kept coming back randomly. Very very strange...

If you have the odexed version, just take the classes.dex out of this one and add it to the original and see how it goes.

Edit: Oh and no success here either by the way. LOL
[Android Themes] undaclazz:
I'm on Lineage OS btw.. not Sammy's Touchwiz :D
[Android Themes] millo1978:
My odexed file is here:

https://mega.nz/#!5dpA1aRY!X57DraYwGjEcKD9kGaBdd9CXsvYbP_xTTDxQwxp_95w

Test go on :D

Edit:

maybe ODEX didn't go good?

Odexed Files are much small.

Original file: apk 3,88MB - odex 11,3MB

Odexed FIle: 5,36MB

Edit 2:

No luck at the moment :(

I can't decompile SystemUI, Settings, etc .... also
[Android Themes] Tulsadiver:
If you want deodexed checked out you will probably need to upload your whole framework folder.
[Android Themes] Ticklefish:
That's pretty much what signing with original signature does. Essentially TMA creates a copy of the original APK in the _out folder and inserts the modified files into it.

There's a bit more to it than that but that's the idea.

It may be my imagination but Lineage seems to be doing some strange things. I have a thread all about XML modding and we're currently having an issue doing even the simplest changes to a Lineage SystemUI.apk. Maybe Lineage have done something odd to their roms? Seems unlikely for something made by modders but it's not impossible...

What a curious situation. I'll take a look at your files in a moment and see if I can work out what's going on. :highfive:
[Android Themes] millo1978:
Thanks guys :)

We'll make it! When is not important!

:D

I wanted push "Thanks" button, but I can't

"Sorry, you are limited to 8 thanks per day"...maybe tomorrow :D

[MENTION=4315551]Ticklefish[/MENTION]

If you need other files also, tell me :)

[MENTION=5346465]Tulsadiver[/MENTION]

I made it...

in _odexed folder:

app

framework

priv-app

(All complete folders)
[Android Themes] thejackalsmark:
[MENTION=906966]millo1978[/MENTION] I hit the thanks button for us both. :)

Members like [MENTION=4315551]Ticklefish[/MENTION], [MENTION=5346465]Tulsadiver[/MENTION], and [MENTION=1042140]tdunham[/MENTION] deserve a tap on the button every time we see one.

btw, [MENTION=1042140]tdunham[/MENTION] nearly 36 THOUSAND thanks!?!? I wish I had a nickel for every one of those. lol

[MENTION=4315551]Ticklefish[/MENTION] where is that thread on xml editing? I'm always ready to add more tutorial material I may not already have to my sd card.

- TheJackalsMARK
[Android Themes] Tulsadiver:
Maybe I downloaded the wrong one. All I saw was a couple framework-res.apk,s and the odexed launcher in one and the dexed one I the other. I'm talking about the whole system/framework folder. Lots of jar files, odexed and oat folder inside so forth.
[Android Themes] millo1978:
Nothing wrong. :)

I uploaded only 3 files deodexed (2 framework and Launcher) and original Launcher odexed.

But in my PC I have all complete folders.

If, for test, you need all files i can upload all... size 1,32gb [emoji33]

Edit:

[MENTION=5346465]Tulsadiver[/MENTION]

https://mega.nz/#!kYpjzDhS!Qg8PT6XYvDpvUR9-uV-szGs7GRB-ja6mB43vSTpDNQE

Here there are Files deodexed (framework folder complete)

And here original Files odexed:

(framework complete, app Launcher, priv-app Settings and SystemUI)

(size 144MB ca.)

https://mega.nz/#!cBYUmD5Q!Gw_nALdf2L26O3bA9bav8NBrskZ5QIItmexabPfFZ1M

:)

Inviato dal mio HUAWEI VNS-L21 utilizzando Tapatalk
[Android Themes] Ticklefish:
My XML guide is here: https://xdaforums.com/general/xda-university/xml-101-xml-modding-easy-t2929816

I've now updated the EXE file for 14.4 so it'll put people onto WorkArea1 when you first start it up. I've looked at a XML mod for somebody. And I've had some lunch. Time to see what's happening with this situation here.
[Android Themes] Tulsadiver:
There are massive amounts of duplication just installing the frameworks. They are ignored and allowed to install but the frameworks themselves cannot be decompiled because of them. Resources.arsc cannot be decoded because of the duplicates in strings, attrs, etc. How can you delete the duplicates if you can't decompile it? ?
[Android Themes] Ticklefish:
So the error here is that apktool is detecting more than one file with the same name in the drawable-hdpi-v4 folder. But there's only one..

The problem is that this APK has three folders with "hdpi-v4" in the name: drawable-hdpi-v4, drawable-hdpi-v4-opta40-optb999 and drawable-hdpi-v4-opta605-optb999. Apktool can't detect that these are separate folders and thinks they're all one thing. Which is why it thinks there's more than one copy of this file.

How do we fix it?

Er....we can't.

Apktool can't detect those are separate folders because Android doesn't normally allow for this "opta-whatever" stuff. Huawei construct some of their APK's in their own, unique way. And they don't share how they do it.

Which is why Huawei isn't supported by apktool at the moment. In fact, to quote the official apktool site...

If you know how, you can modify apktool to be able to handle Huawei's files. I've no idea how, sadly.

So there's your answer. It's not a good one, I'm sorry to say. But, as it says in the OP, apktool (and therefore TMA) isn't compatible with Huawei's APK's.

Sorry about that. :(
[Android Themes] millo1978:
Not good news :(

but...

thanks for the help :)

I'll search if someone made modded apktool...

thanks again guys :)
[Android Themes] Ticklefish:
If you find one, please let me know. It'd be great to add it to the apktool folder in TMA.
[Android Themes] millo1978:
Surely :)
[Android Themes] knoxville_nl:
Thanks!!
[Android Themes] millo1978:
I found only that baksmali works on Huawei.

I tested this:

https://xdaforums.com/showthread.php?t=2311766

There is no one apktool compatible... but the research go on :)
[Android Themes] Ticklefish:
Baksmali and smali decode the smali files in the APK (essentially). The trouble is the file structure of the rest of the file..

Hopefully somebody's been able to make something that gets around this.
[Android Themes] FootSlave:
The only one who can decompile and recompile all apps on Huawei is the guy who made KangRom (RomAur 1.5 only uses the KangVIP tools), and he managed to make changes to framework and systemUI!

But, and that is the damn problem, he don't tell how and he don't want to work with whole xda!

Could be so good to have him here to show others how to do it!

Send from Huawei Mate 9 with Tapatalk
[Android Themes] millo1978:
Test Test Test :D

Now i'm able to decompile and recompile framework-res ... but only this! :(

I can install framework

I can decompile framework-res-hwext but not recompile.

I can't decompile Launcher, SystemUI, Settings...

Only smali/baksmali works with all apks.

With combination of apktool from 2.0.1 to 2.2.0 and smali/baksmali from 2.0 to 2.1.3 I can make this.

Other releases don't work.

So smali/backsmali in this wonderful tool is not good for Huawei.

Apktool 2.2.2 also.

[MENTION=4632316]FootSlave[/MENTION]

I found Thread of RomAur 1.5 ...

I read it fast...

but I see in first page that only framework is modded...

SystemUI also?

At the moment I can edit only smali in SystemUI.

[MENTION=4315551]Ticklefish[/MENTION]

is possible, in future, to choose different version of smali/baksmali also?

I hope I'll find something that work.

The Test must go on :)
[Android Themes] Ticklefish:
Ah yes..I did spot this post about them in another part of the forum..

​

That's a shame. He's not required to share his technique..but it would be useful if he did!

Not really. The latest version of apktool will always contain the latest versions of smali and baksmali in it. TMA does use smali and baksmali on their own, but only for deodexing.

You could use 7Zip or similar to remove the classes.dex files from the APK first, decompile then recompile the APK and use 7Zip to put them back in again. That way apktool doesn't actually use either smali or baksmali.
[Android Themes] millo1978:
I didn't know :D

Then I have to figure out how to create an apktool with different smali/baksmali

https://bitbucket.org/JesusFreke/smali/downloads/

I tested smali/baksmali files on the tool of majdinj:

https://xdaforums.com/showthread.php?t=2311766

Thanks a lot :)