I replaced SystemUI.apk with my modded SystemUI.apk but nothing changed. - LineageOS Questions & Answers

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

Related

Porting themes

Hi,
Is it possible if somebody can guide me on how to port themes.
I tried using the Theme porter and placed the i9100 theme(SystemUI,framework etc) to new folder and in the old folder i placed the i9100g (similar files) and ran the script. With this i do have the system files but i dnt know how to get the META-inf folder for a successful flash.
Is this the correct way to port? (there was a guide which had mentioned about decompiling the framework apk but what exactly do we do with the decompiled folder? since i dnt want to make any changes and just port the theme A-Z.

HELP editing Phone.apk from Galaxy S CM9 to have full picture on the incoming calls

I want to modify the Phone.apk from teamhacksung CM9 B17 for Galaxy S.
What I want to do is to modify it that when I have an incoming call, to see the full picture of the caller. more precisely I want that the black rectangle where you have icon to answer or t reject, to be transparent.
It can be done. I got from the xda forum a moded Phone.apk for B16 where that rectangle is transparent.
I have attached a picture so that you understand what I'm talking about. i also have attached that transparent mod for B16.
Using Beyond Compare 3, I guess that I have to modify in the following file:
Phone.apk\res\layout\incall_touch_ui.xml and replace:
<com.android.internal.widget.multiwaveview.MultiWaveView android:id="@id/incomingCallWidget" android:background="@android:color/black" android:visibility="gone" android:layout_width="fill_parent" .......
with:
<com.android.internal.widget.multiwaveview.MultiWaveView android:id="@id/incomingCallWidget" android:background="@android:color/transparent" android:visibility="gone" android:layout_width="fill_parent" .......
Here comes the problem:
I decompile Phone.apk with Apk_Manager_5.0.2, change that word, save the file and the recompile.
After i install the phone.apk using a zip container from recovery, when I try to make a call or receive a call, I get the: "Voice calls not suported" error.
I tryed all the combinations for compiling: system app, signed/unnsigned; nonsystem app signed/unsigned. Same error.
What am I doin wrong? Any ideas?
Thanks.
similar problem here, but my Phone.apk just crashs
I've had similar issues on Samsung's GB ROMs. I had no problems with Contacts.apk, MMS.apk and DialerTabActivity.apk. I could easily recompile them and moded versions would work. But recompiled Phone.apk kept FC-ing so I eventually gave up.
I don't know what tools themers use to make it work.
After recompiling the Phone.apk open it with 7zip, extract the file that you have modified and put it in the original phone.apk.
Inviato dal mio GT-I9000 usando Tapatalk 2 Final
copying the file did work, thanks for that tip. However the mod did not work, the lower area is still black :-(
You need to change some files from the apk manager to compile android 4.0 files. I can upload my apk manager whitch works as soon as I get home.
those apk manager changes (it's actually not a single change in apk manager but just using apktools 1.4.1) are only related to the smali/dex files. layout/*.xml aren't influenced by that.
These are the changes that I was talking about:
"No problem I used Apk Manager 5.x(dont know exactly). But I've done this two things with the APK-Manager:
-deleted the original aapt.exe in /others and copied the one from the platform tools folder in from the sdk(has to be done if you work with ics apps)
-(de)compiled with Apk-tool 1.4.1 instead of 1.4.3 as the newer version sometimes causes some errors. Just delete the Apkttool.jar in /others and download 1.4.1 from the apk tool webite and paste it in /other
afterwards everything should work fine.."
i know those changes (see above), they don't solve the problem though.
apktool 1.4.1 + copy unchanged files (everything but ressources.arsc and incall_touch_ui.xml): FC
apktool 1.4.1 + don't copy: FC
apktool 1.4.3 + copy unchanged files: no FC but contact pic is still the old size
apktool 1.4.3 + don't copy: FC
same proble here with GS2.
this incoming call screen filled with black is very anoying...
any news on how to fiw that?
phone transparent incoming call
That app does wgat it is supposed, ask mr goodle, for i don't kjnow where i have found it
i made it AOKP build 37
Thats great, but can you explain how to do that?
Cause i' use GS2, and not GS, adn with different rom, we have to use differents phone.apk.
So instead of asking you every time, i'd like to learn how to do it.
Thanks!
Decompiled
Edited
Compiled
Signed
Hi. That's how I was able to do it:
First, copy your Phone.apk from the system folder inside your phone to your computer. Do not use any other Phone.apk, because it may be another version and it will not work. Or extract the Phone.apk from the rom that you flashed to your phone and use it.
You must make some changes to the apk manager to complie/decomplile Phone.apk.
Here is the list with the changes. If you follow it exactly, it should work:
-delete the original aapt.exe in /others and copy the one from the platform tools folder from the sdk(has to be done if you work with ics apps) - you must install android 4.0 sdk. Google it and you will find it easy.
-(de)compile with Apk-tool 1.4.1 instead of 1.4.3 as the newer version sometimes causes some errors. Just delete the Apkttool.jar in /others and download 1.4.1 from the apk tool webite and paste it in /other
afterwards everything should work fine...
Then, when you get the unsignedPhone.apk, rename it to Phone.apk, and put it in a zip file and flash via recovery. Do not copy it with inside the phone because it will not work. If you don't know how to make a zip file, just download any mod (perka, reloaded ...) and open the zip with 7zip, delete any apk's you find in it, and drag Phone.apk inside the System folder from the zip, and then flash it via recovery.
Good luck.
If it does't work, send me an email: [email protected], and I will send you my apk manager that is allready modified and works to compile/decompile.

[Q] [help need]How to change battery icon in cm11

I'm using cm11 on my xperia m , trying to change status bar icons . I successfully changed wifi,signal,bluetooth icons by editting SystemUI.apk
. Now i want to change my battery icons, I'd found some battery icons in framework-res.apk, I recompiled & singned the framework-res.apk after replacing those battery icons.I created a flashable zip and flashed with that zip using CWM.But the changes made are not reflected . The battery icons wasn't changed .
I think the cm11 battery icons files are not kept in framework-res.apk, settings.apk & SystemUI.apk. help me to locate n change those battery icons
With a quick search i found this, give it a look, maybe you want to investigate it further.

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

Which tool do you use to decompile and recompile framework-res.apk Lollipop?

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?

Categories

Resources