Which tool do you use to decompile and recompile framework-res.apk Lollipop? - Galaxy Tab S Q&A, Help & Troubleshooting

Hello,
I need your help!!
I have been customizing my Galaxy Tab S, which I recently updated to Lollipop, and I have successfully customized SystemUI.apk, SecSettings.apk, etc. However, when I wanted just change a value in framework-res, I got many FC's. I cannot even open Settings.
So, I decompiled framework-res and recompiled it without changing anything. The result is the same. I got many FC's and not even the power button is working. And, I need to reflash original framework-res.
As I normally use Apk Multi-tool (with Apktool 2.2.2.), I tested Advanced Apktool (4.1.0). The result is the same and the recompiled framework-res is not usable.
What am I doing wrong? Maybe there is something special about this framework-res?
Maybe it is the version of Apktool? What is the version which works for framework-res?
Which tool do you use to work with framework-res from Galaxy Tab S (Lollipop)?
By the way, I did not have any problem with Kitkat framework-res from Galaxy Tab S. Neither did I with Lollipop framework-res for Galaxy Note 3.
Can someone help?

Related

Need help recompiling MMS.apk

Hey so I recently ported over an Epic 4g to virgin mobile and everything is working great except MMS. For some reason I cant figure out how to recompile APK apps on my pc. I have reinstalled java set that path, etc no luck. Anways I was wondering if some one could recompile both of these MMS.apk files with settings from the optimus v. Please don't just copy and paste the settings, just change the carrier values that need to be changed. I would be willing to donate a couple dollars to anyone that could help me with editing these apks.
Thanks!
Here are the settings: I think just the user agents and URLs need to be changed:
https://github.com/inferiorhumanorg...mmit/937eeda64e1fb48dcdb52b0b5ed755bca67135f6
Hey, what you need to do is download APKTool. Then use adb or extract from the ROM zip /system/framework/framework-res.apk, and use apktool to install the framework on your computer.
With that done you can use apktool to decompile the Mms.apk and modify the settings in Mms/res/xml/mms_config.xml - you can change the user agent and url there.
Then use apktool to build the Mms back into an apk. After signing it using jarsigner (part of the Android SDK) you will be able to put it into /system/app on your phone.
For more information you can look at the APKTool guide - miui-au.com/add-ons/apktool/ - and the Android developer apk signing guide - developer.android.com/guide/publishing/app-signing.html

[HELP] Trying to port Ambient Display on CM12 by Kevinjoa

Hello i find this thread http://forum.xda-developers.com/google-nexus-5/themes-apps/how-to-add-ambient-display-settings-t2942838 where is possible to enable ambient display option. I successfully completed the procedure, but i can't recompile the systemui.apk, apktool said to me lots of error. I share with you my work for now, if someone can recompile systemui.apk.
The framework-res should be ok.
This for latest build from kevinjoa's cm12.
So i share with you the package with patched framework-res, apktool, etc...
https://drive.google.com/file/d/0B8STTLNoQ2NJQWIyem54bnZOVlE/view?usp=sharing
I succeeded
I tried with another apktool and CyanogenMod original lg e975 but I experience a compatibility between app and framework. the apps always crashing and I can not solve this problem .
if you know of a way to ensure that the apps do not crashing then answer that I feel , however, the function is activated and ambient works .

don't find file android.policy.jar stock rom GPE 6.0

So I typically like to tinker when I get new phones/tablets. One of the first mods I always attempt is an extended power menu. That means android.policy.jar and framework-res.apk need to be pulled to my computer for decompiling. Not to mention, deodexing the jar file. But for the life of me, I cannot find the odex component for android.policy.jar. Has anyone else found it? In past OS versions they were there beside their jar/apk mates. And in lollipop, looks like in /system/framework there is an /art folder which has SOME of the odex files but not all.
There are no odex files because they are deodexed by default.
There is no android.policy.jar for Android 6.0 both GPE and Sense.
If you want to add in Advance Power Menu, you need to see services.jar & framework-res.apk
Hint : \services.jar\smali\com\android\server\policy
If you manage to make one, let me know (by PM also ok) because I don't have the time to look further into it.

No ability to smali edit in Samsung TW Lollipop 5.1.1??

Hi everyone. I own the Samsung Galaxy J3 2016 carrier Virgin Mobile. I am attempting to decompile android.policy.jar to do some smali editing. And oddly enough a number of the general jars we all edit regularly to add mods such as reboot menu,etc. are pretty much empty files on my J3. The android.policy.jar file is only 309 bytes with nothing in it except a Meta INF folder with MANIFEST file in there but noting else at all. No classes.dex. Now I thought ok maybe its because I am not deodexed. So I looked in the arm folder in framework and there are indeed odex files in there but none for android.policy.jar nor other typical modded jars we tend to mod. Is this normal across the board for newer Samsung devices like the S6/7 models? Also when I decompile an apk like SystemUI.apk there are no smali files included with the decompiled apk. But the apk seems to decompile correctly and I can edit whats there just fine and recompile it and use it successfully. I just added a center clock mod to SystemUI in fact and it works fine. Just confused about what I am missing here. I seem to have all of my tools up to date for decompiling. Can anyone point me in the right direction? Or give me some insight on these new changes. Thanks

I replaced SystemUI.apk with my modded SystemUI.apk but nothing changed.

I decompiled SystemUI.apk with apktool and changed a few thing in res/values/colors.xml
After that, i recompiled the SystemUI.apk and signed it.
Then, i replaced the old SystemUI.apk with my modded apk and restated my device but nothing changed at all.
Device Info's
Samsung Galaxy s5 (klte)
LineageOS 14.1 Official
i have a same problem.. decompile systemui.. changed status bar.xml .. recompile.. put & replace stock Androidmanifest.xml & meta_inf to modded systemui.. then flash it via twrp.. but nothing changed.. someone help please ??
my device : samsung galaxy j105h

Categories

Resources