yashsingh1/xdaforums huggingface dataset:
[Android Themes] Thebear j koss:
If you're talking carrier specific things, there will be carrier specific jars, apks, .prop files, etc that will not be located in your contacts, phone, messaging apks. Carrier specific stuff is usually added into the builds after device manufacturer releases their build. I never really messed with carrier swapping as there are a lot of differences in radios, modems, hardware that can leave you with a brick if something goes wrong. But the files or codes you are looking for are most likely not where you are looking for them.
[Android Themes] ForestCat:
Found this in the manifest for the contacts apk:

<uses-library android:name="touchwiz"/>

<uses-library android:name="smatlib" android:required="false"/>

<uses-library android:name="commonimsinterface" android:required="false"/>

<uses-library android:name="imsmanager" android:required="false"/>

<uses-library android:name="TmoWfcUtils" android:required="false"/>

Guessing these are why apktool is throwing errors? No idea how to import/include them in the decompile, since they are .jar files.
[Android Themes] Thebear j koss:
It doesn't really matter, what you are trying to accomplish will need to be handled a completely different way. Also, there aren't any errors in the decompile. Errors means it wasn't decompiled which in fact the APK was successfully decompiled. Those files listed above are called libs (libraries) which are basically shared resources that multiple apps rely on to function. See here- https://developer.android.com/studio/projects/android-library#Convert
[Android Themes] Teracotta:
one of the androidmanifest.xml is not decompile, here is error

how I decode? appears encrypted, not obfuscated

if you are trying to get volte, and the modem is the same, you need to flash the t-mobile CSC

most likely what happens is wifi calling works but volte doesn't
[Android Themes] Thebear j koss:
I don't know what is not decompiling. I'm too confused at this point of who is doing what. Manifest shouldn't need to be decompiled. You can just extract it with 7zip.
[Android Themes] Teracotta:
there are two androidmanifest.xml, the encrypted one is under systemui.apk/original and define app parameters like API level

other androidmanifest.xml in systemui.apk defines app permissions
[Android Themes] Thebear j koss:
What does this have to do with the switching of vzw note 4 to a t mobile note 4? I'm confused.
[Android Themes] Teracotta:
my project is decode of systemui.apk

ForestCat is csc change
[Android Themes] Teracotta:
themeing help

I dumped the graphics from 4.4.2 drawable-xhdpi-v4 into 4.1 drawable-xhdpi-v4

they are not the same size as the 4.1 graphics

I edited dimens.xml with the sizes from the dimens.xml in 4.4.2

app fails to load

what other xml files need to be edited to accomodate the correct graphics sizes
[Android Themes] Thebear j koss:
I'm not following 100% here but are the images all the same? Same names and same amount of images? If so, after building, just swap in the new folder with the new images into the original APK.
[Android Themes] Teracotta:
how to change icon of systemui.apk?

there is no "icon" png or qmg in the apk, but the systemui.apk clearly hs the correct icon even in different androids, so it's not that the icon is being overwritten by framework-res

I did see kitkat icon in framework-res and no icon in systemui.apk

only icon in systemui.apk is for ice cream sandwich
[Android Themes] Tulsadiver:
What icons are you talking about?
[Android Themes] Teracotta:
the actual icon of the systemui.apk
[Android Themes] Teracotta:
has to be edited in framework-res.apk

I decompile, recompile framework-res.apk and it cause bootloop, why?

changing the systemui icon platlogo.png does not cause bootloop

but changing lock screen sounds up.ogg and down.ogg cause bootloop

decompile/recompile and certify with same signature does not fix bootloop
[Android Themes] 3to4:
File not recompiled.

I have been using TickeMyAndroid since some time, and I successfully modded core-oj.jar and services.jar without any issue. I like the way tools are organized and it is practical to have several work areas. Thank you.

However, when I want to change one value in bools.xml in framework-res.apk, I can decompile but I cannot recompile with the message "File not recompiled" . I checked the history and I see;

I: Using Apktool 2.4.1

W: Could not find sources

I tested recompiling without changing anything, but still the same error...

I am working on AOSP based nougat rom. I used standard settings, as I don't really understand all advanced settings.. What should I try to solve this issue? Thank you.
[Android Themes] Thebear j koss:
Did you pull and install resources from device into apktool? Need to install franeworks
[Android Themes] Tulsadiver:
Care to upload a copy of the framework?
[Android Themes] 3to4:
Thanks. I installed framework-res.apk and org.cyanogenmod.platform-res.apk.
[Android Themes] 3to4:
Thanks. I am uploading framework-res.apk, which I am trying to mod.
[Android Themes] Tulsadiver:
It recompiled for me just fine. Try this apktool.jar
[Android Themes] 3to4:
Thanks., but how can I use this apktool? Can I integrate it in TickeMyAndroid by copying it somewhere?
[Android Themes] Tulsadiver:
User files/apktool. Then you have to select it in ticklemyandroid.
[Android Themes] 3to4:
Thank you! I copied the apktool you uploaded in user files/apktool, and selected it in TicleMyAndroid. (I did not know I could use a different apktool than included in TicleMyAndroid!! I learned something!!)

Then, I started all over. That is to say, I decompiled and, immediately after, I tried to recompile, but still I got the same error " Could not find sources"...Maybe, I am missing something or I am doing something wrong..
[Android Themes] Tulsadiver:
Mine says that also but continues....

15-05-2023@905 --- Recompiling "framework-res.apk" in "_WorkArea4", using "apktool_2.7.1.jar" with standard settings

Installed Framework File(s)

framework-res.apk [1.apk]

(java -jar user_files\APKTOOL\apktool_2.7.1.jar b --frame-path _WorkArea4\Frameworks _WorkArea4\_working\framework-res.apk -o _WorkArea4\_out\framework-res.apk)

I: Using Apktool 2.7.1-cca94b-SNAPSHOT

W: Could not find sources

I: Checking whether resources has changed...

I: Building resources...

W: warning: string 'global_actions_screenshot_status' has no default translation.

W: warning: string 'wfcSpnFormat' has no default translation.

I: Building apk file...

I: Copying unknown files/dir...

I: Built apk into: _WorkArea4\_out\framework-res.apk

15-05-2023@905 --- File Recompiled

I don't use ticklemyandroid to pull my files. I copy them myself and put them in the "in" folder.

edit: make sure your "ticklemyandroid" folder is directly on C:

C:\ticklemyandroid then directly inside that should be all the folders and files.
[Android Themes] 3to4:
Thanks for a lot of informatin!! I don't use TickleMyAndroid to pull files either. I use Root Explorer and copy apk's to a USB otg. Then, copy to my PC. Well, I tried Apkmultitool, too, which I used to use from time to time. The apk compiled with the same error. So, I got a modified framework-res.apk, Then, I made a flashable zip and flashed it in my phone with TWRP. BUT, the phone did not boot!! Anyway, it is very strange that in your case TicleMyAndroid continues and recompiles the apk, and in my case, it stops with "File not recompiled" with the same apktool....
[Android Themes] Tulsadiver:
The only other thing I can think of is to make sure your java is up to date. I'm currently using java jdk1.8.0_361 though there might be a newer one.

Edit: newest is jdk1.8.0_371
[Android Themes] 3to4:
Hello,

I have difficulty finding the update. Sorry for a very stpide question! Is "jre-8u371-windows-x64" the installer needed? Actually I have been using (144) with the installer "jre-8u144-windows-x64" for my Windows 7. (The installer name starts with jre not jdk). When I remove 144 and install the new one, TMA says JAVA is not installed.. I don't understand...

PS: With "jdk-8u371-windows-x64", I have errors at start of TMA (some run time missing..)
[Android Themes] Tulsadiver:
You have to tell your windows system where java is located:

Control panel: system and security/system/advanced system settings/Environmental variables

Location needs to be in your path. First one is the path used. Maybe the old path is still there (144).

I use jdk because it has jdk and jre.
[Android Themes] 3to4:
Thank you again. Finally, I installed "vc_redist.x64" and it seems to work!!

I have heard of setting a correct path, but actually I have never had to set any path for any application. I use a stripped down windows. So, sometimes some features are missing, but I didn't know a newer Java run time needs Visual C++ rum time. I learn every day!! Thank you for your valuable advice!!
[Android Themes] 3to4:
PS: By the way, I tested decompiling and recompiling with 371 and your apktool. Now TMA completed the recompiling process, but the same error (cound nor find sources) in history is there, and the phone does not boot with the recompiled framework-res.apk. In the mean time, I did some searches. There are some people having the same kind of issues (cound not find sources), but I did not find a concrete solution... I understand the issue may come from the apktool, from Java or even from OS configuration, maybe all of them...
[Android Themes] 3to4:
As now with Java 371 and your apktool (2.7.1), TMA completes the process of recompiling modded framework-res, I compared the original framework-res and the modded and recompiled framework-res, by simply openning them with a 7 zip. To my surprise, "META-INF" folder was missing in the modded and recompiled framework-res. So, I copied this folder from the original to the modded and recompiled, which booted normally. So, that was it. My issue was solved!! Thank you again all the help you offered me!!
[Android Themes] 3to4:
I came across the following thread.

https://xdaforums.com/t/guide-how-to-use-apktool.1891686/

In Post 12, he says that Warning "could not find sources" is normal for framework-res. So, I tested with another tool the decompiling and recompiling of a framework-res.apk from TW Marshmallow, and I have the same warning. (The recompiled framework-res does have 'META-INF" folder, and it boots normally.) As I have made several mods to this framework-res.apk, I know the modded framework-res is OK. (As I check a log file only when I have a problem, I did not know that there was this warning.) So, having this warning is not the problem. What is strange is that the framework-res.apk recompiled with TMA doesn't have "META-INF". Well, this may be happening only to me...
[Android Themes] Tulsadiver:
Recompile using advanced options and select option 2 to reuse original androidmanifest and META-INF and option 4 to reassemble resources.arsc and classes dex.
[Android Themes] 3to4:
Thank you!!!!!!

With apktool 2.7.1 and Java 371, I decompiled framework-res.apk, changed just one value in bools and recompiled by selecting Option 2 and 4 in advanced settings. Then, it worked!! The recompiled apk contained 'META-INF" folder, and when I flashed it in my phone, the phone booted normally.

I will put it down on a paper and keep this method.

Thank you so much!!!
[Android Themes] funiewski:
followed your instructions, made than zip file with only modified systemui.apk, after flashin i was left without statusbar, made new zip file with modified sytsemui.apk and unchanged framwork-res.apk and SemcGenericUxpRes.apk after flashing phone boot up but there is no changes to battery icons, they are stock :confused:
[Android Themes] Ticklefish:
Can you share your files please and let me know which icon you want? I'll do it on my end.
[Android Themes] funiewski:
yes, tell me than what i have done wrong :o

http://dl.dropbox.com/u/17658154/framework-res.apk

http://dl.dropbox.com/u/17658154/SemcGenericUxpRes.apk

http://dl.dropbox.com/u/17658154/SemcGenericUxpRes.odex

http://dl.dropbox.com/u/17658154/SystemUI.apk

http://dl.dropbox.com/u/17658154/SystemUI.odex

number 50 pls

H N Y
[Android Themes] nhutung:
thanks a lot bro :good:
[Android Themes] cbb77:
Just stumbled upon this app and it sounds cool. Am attempting to test but not working out so well. Basic problem attempting to pull any file from System/App folder. Keeps stating no such file or directory. However if I open an ADB shell I can navigate to the folder and see the files just fine. I can pull the framework file but nothing under System/App. Here is my info:

Fill out this form here. Just copy and paste then fill in your answers.

What phone/tablet are you using?: AT&T SG2 - SGH-i777

What version of Android are you running?: 4.1.2

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

What are you trying to decompile/recompile? Didn't get any farther.

Tried with version 5 beta 2, beta 1 and 4.3. Same results for all.
[Android Themes] Ticklefish:
That's new. So you can view the files through TMA's ADB Shell?
[Android Themes] cbb77:
Yes. I navigate back to the top menu and hit option 1 to open a ADB shell window. There, I can then navigate to the system apps folder and see all the files just fine, thus not sure what is going on. Running this on Windows 7 desktop if that matters any.
[Android Themes] Ticklefish:
This sounds odd to me.

Try opening a command window, navigating to the Tickle My Android folder and entering 'tool_files\adb pull system/app/SystemUI.apk'

If SystemUI.apk exists on your rom, this should pull it into that folder. If it does and it doesn't..something is wrong somewhere.
[Android Themes] cbb77:
Ok, that didn't work either. However, I believe it's something to do with this new ROM I installed. I just tested your app on my Galaxy Tab 7.7 and it could pull the SystemUI file successfully. Thus will need to report issue to ROM developer. Will try back again, once new ROM released.

Thanks for the quick responses!!!
[Android Themes] Ticklefish:
Hey, it's two in the morning. I should be going to bed but I'm just too dedicated! Lol

You can still use this on your rom, you just need to copy your SystemUI.apk to an sdcard and then onto the pc. Then just hope that your rom can be modified!
[Android Themes] hugoqueiroz94:
Ticklefish i need your help, i know there is nothing about your program but, i activated the on screen buttons on my ICS phone, but the keys are much big, my optimus 2x has only 4 inches, can you modified the height of buttons to me?

I tryed, but i always get a error when i recompite the framework-res.apk.

My framework

http://www.mediafire.com/?kmyt3dp02n08ryy

If you can help me, i'll be very grateful. :)
[Android Themes] Ryuinferno:
Why not attach the log file and show us the error instead of asking Ticklefish to do it? :)
[Android Themes] hugoqueiroz94:
I'm using the Autoapktool
[Android Themes] Ryuinferno:
Are you sure that is the full log file? Are there still any entries above? According to what I can see, you modified dimens.xml? How did you key in your number? Or to be direct, tell us what you did, or use the form by Ticklefish, which is even better...
[Android Themes] Ticklefish:
Looks like your tool is out of date. I'd get in touch with whoever made it and ask them to update it.

Or use Tickle My Android, which is already up to date!
[Android Themes] hugoqueiroz94:
Let's forget about this problem for a moment, now i have a problem with TMA.

I pull my framework-res.apk from my phone, and i changed the transparence of status bar to 75%, and i created a zip file to flash, but when i go flash i got this error on CWM:

error in /sdcard/clockworkmod/tma_01-01-2013@1638.zip

(Status 0)

Instalation Aborted

What is the problem?
[Android Themes] Ryuinferno:
Just stated a few posts before this...change the update-binary in the zip with another from a zip which works for your phone.. :)
[Android Themes] hugoqueiroz94:
It works, the flash zip works, but nothing change, my status bar still not transparent :(

Ticklefish your TMA are awesomeeeee, using your program i mod my framework and activate on screen buttons and resize, and it workssss.

Thank you very much. :)

Now i want to put my status bar transparent.
[Android Themes] Ticklefish:
Transparent statusbars are tricky things. Not every rom and not every launcher supports them.

Some roms require a bit of smali editing first. Best to ask in your devices thread.
[Android Themes] hugoqueiroz94:
Ok, thanks bro.
[Android Themes] Icecoldmeat:
device not found.. but it's definitely found, any idea?

edit: it works
[Android Themes] SS-4050:
Have you enabled usb debugging?
[Android Themes] Icecoldmeat:
I want to change the transition effects to ICS. I am currently using a Galaxy Nexus running 4.2.1.

Everything works fine till I come to the recompile part, there I am getting an error, what can I do?
[Android Themes] Ryuinferno:
Post the log here...;)
[Android Themes] hugoqueiroz94:
I was trying to mod my systemui, and when i try to recompile this error appeared.

Plz help.
[Android Themes] Ryuinferno:
There must be some extra logs before those...can't help with those limited logs...:o
[Android Themes] hugoqueiroz94:
Are only these logs :eek:
[Android Themes] Ticklefish:
Please note that I can only help people with de/recompiling errors if they fill in the form in the op and include logs for every file they've de/recompiled.

I am more than happy to help people, I want this tool to work for everybody. But I can't if I'm not given all the right information.

Hugoqueiroz, this is saying the file wasn't properly decompiled to begin with. When an apk is fully decompiled, a file called 'apktool.yml' is generated. No apktool.yml means no full decompiliation.

I'm not sure 'decompiliation' is a word but hopefully you get what I mean! :)
[Android Themes] hugoqueiroz94:
My decompile logs.
[Android Themes] Ticklefish:
That pretty much proves that file wasn't fully decompiled. You haven't installed all the right resource files.
[Android Themes] Ryuinferno:
You did not install the necessary framework-res and other resources prior to decompiling...

EDIT: I ninja-ed Ticklefish...:p
[Android Themes] hugoqueiroz94:
How i fix this?
[Android Themes] Ryuinferno:
Under theming menu, select option 3 (Install framework on PC)...
[Android Themes] Ticklefish:
By installing the necessary resource files such as framework-res.apk and any others. See the directions in the op.
[Android Themes] hugoqueiroz94:
I don't know what is the problem, i extract:

framework-res.apk

framework.jar

services.jar

And decompile are 100%

When i go to decompile systemui.apk i get the error ¬¬

And i installed the framework on pc.

Edit: I found the source of error, i extract lge-res.apk, now my log on decompile systemui:

Edit: Thank you very much for help me, i was able to mod my systemui and make my notification bar transparent.
[Android Themes] Ticklefish:
Excellent. I'm glad you got it working in the end. Nice looking phone, btw!
[Android Themes] Ticklefish:
Now that is how to report compiling problems! Thanks!

I'm not sure about this one. But I am a little worried about one of the apk's not working even if you recompile it without any changes. That's not a good sign. And this is Asus, who have caused problems before....

This is saying there's a problem on line 2 of those various xml lines. What does it say on those lines?
[Android Themes] Ticklefish:
You're always ninja-ing me.. Not that I mind!
[Android Themes] allan1313:
Here are the lines for gmail

gmail_widget_info.xml:2:

<appwidget-provider android:minWidth="180.0dip" android:minHeight="180.0dip" android:updatePeriodMillis="0" android:initialLayout="@layout/widget" android:configure="com.google.android.gm.ui.MailboxSelectionActivityGmail" android:previewImage="@drawable/gmail_widget_preview" android:resizeMode="horizontal|vertical" android:minResizeWidth="180.0dip" android:minResizeHeight="110.0dip" android:widgetCategory="0x3"

xml-sw600dp\gmail_widget_info.xml:2

<appwidget-provider android:minWidth="220.0dip" android:minHeight="220.0dip" android:updatePeriodMillis="0" android:initialLayout="@layout/widget" android:configure="com.google.android.gm.ui.MailboxSelectionActivityGmail" android:previewImage="@drawable/gmail_widget_preview" android:resizeMode="horizontal|vertical" android:widgetCategory="0x3"

xml\widget_info.xml:2:

<appwidget-provider android:minWidth="180.0dip" android:minHeight="180.0dip" android:updatePeriodMillis="0" android:initialLayout="@layout/widget" android:configure="com.android.mail.ui.MailboxSelectionActivity" android:previewImage="@drawable/mail_widget_preview" android:resizeMode="horizontal|vertical" android:minResizeWidth="180.0dip" android:minResizeHeight="110.0dip" android:widgetCategory="0x3"

xml-sw600dp\widget_info.xml:2

<appwidget-provider android:minWidth="220.0dip" android:minHeight="220.0dip" android:updatePeriodMillis="0" android:initialLayout="@layout/widget" android:configure="com.android.mail.ui.MailboxSelectionActivity" android:previewImage="@drawable/mail_widget_preview" android:resizeMode="horizontal|vertical" android:widgetCategory="0x3"

gReader xml line #2 for each widget

Large

<appwidget-provider android:minWidth="250.0dip" android:minHeight="250.0dip" android:updatePeriodMillis="0" android:configure="com.noinnion.android.greader.reader.widget.WidgetLargeConfigure" android:previewImage="@drawable/widget_large_preview" android:resizeMode="horizontal|vertical" android:initialLayout="@layout/widget_large_v11" android:widgetCategory="0x3"

Medium

<appwidget-provider android:minWidth="250.0dip" android:minHeight="110.0dip" android:updatePeriodMillis="0" android:initialLayout="@layout/widget_ticker_medium" android:configure="com.noinnion.android.greader.reader.widget.WidgetMediumConfigure" android:previewImage="@drawable/widget_medium_preview" android:resizeMode="horizontal|vertical" android:initialKeyguardLayout="@layout/widget_ticker_medium" android:widgetCategory="0x3"

Small

<appwidget-provider android:minWidth="250.0dip" android:minHeight="40.0dip" android:updatePeriodMillis="0" android:initialLayout="@layout/widget_ticker_small" android:configure="com.noinnion.android.greader.reader.widget.WidgetSmallConfigure" android:previewImage="@drawable/widget_small_preview" android:resizeMode="horizontal|vertical" android:initialKeyguardLayout="@layout/widget_ticker_small" android:widgetCategory="0x3"

I am very new to this and am trying to figure this stuff out. I am not a programmer and don't come from a computer background, so some of this stuff is Greek to me. I appreciate everyone's help especially Ticklefish.
[Android Themes] Ticklefish:
Right...I think this is framework related. When you upgraded the firmware, did you install the new framework-res.apk in TMA?
[Android Themes] allan1313:
No. I will try that and report back.
[Android Themes] funiewski:
can i do more? have tried a lot of times in different combinations but it gives me either no change or bootloop :(
[Android Themes] allan1313:
Ok I tried that and I got the same results. Any other thoughts?
[Android Themes] Ticklefish:
Try this out..
[Android Themes] Ticklefish:
No...but I'll see what I can find out..
[Android Themes] funiewski:
Working:) thanks for your efforts,1q, what did I wrong?
[Android Themes] Ticklefish:
Well, there was a slight bug in that particular battery icon which explains it not showing up. But otherwise I just installed the resource files, decompiled SystemUI.apk, changed icons, recompiled and prepared.
[Android Themes] allan1313:
I am still trying to figure this out. But this might point in the right direction:

http://stackoverflow.com/questions/13390852/no-resource-ident-ifier-found-for-attribute-widgetcategory-in-package-android

This is over my head. Does this make sense to you? How can I fix it?
[Android Themes] Ticklefish:
Yes...but it's mainly for people making brand new app's. It does mention changing the manifest which is worth a try..