[Q] problem with recompiled SystemUI.apk - Galaxy Note GT-N7000 Q&A, Help & Troubleshooting

Hi there, I currently observe a strange issue with a recompiled SystemUI.apk. Following the guidelines here in the forum, I changed the value of the background colour of the status bar from solid grey to semitransparent black. When I add this recompiled SystemUI.apk to a zip file containing the META-INF folder created by some advanced developer, I can flash the new SystemUI.apk and the statusbar will be semitransparent black after flash and reboot. So far, so good.
Now I tried a bit more and modified eybee1970 stock deodexed ROM. I deleted bloatware, updated Philz new kernel image and added my previously created SystemUI.apk with the semitransparent statusbar. Now the trouble appears. After flashing and rebooting, the statusbar is comepletly off, not visible, no chance to get it back.
In ssummary: My SystemUI.apk flashed to an already running stock deodexed ROM works fine, the same SystemUI.apk implemented in the same stock deodexed ROM zip file results in a non-appearing statusbar.
Can anybody advise me what I am doing wrong? I have attached the SystemUI.apk below if helpful for anyone.
Additional info: I used apktool command line based, JB version is the XXLSZ.
Thx

Have tried to mod the one that comes wiyh the rom instead of the one from the other rom
Sent from my GT-N7000 using XDA Premium HD app

ttibbetts83 said:
Have tried to mod the one that comes wiyh the rom instead of the one from the other rom
Sent from my GT-N7000 using XDA Premium HD app
Click to expand...
Click to collapse
Hi, I could not try the original one as this is ODEXed version. But meanwhile, after several hours of testing, I found my mistake not properly following guidelines and using APKtool. Now I have a good working SystemUI. Took only 3 hours to find...
So this threat can be closed, thx

Related

[Q] Milestone2 2.3UI framework-res.apk

I just edit the framework-res.apk for my milestone2,
it have a black status bar now
but the text-color still black,I try deodex the services.odex ,edit it and smali
insert classes.dex into services.jar
adb push services.jar /system/framework
but it doesn't work... and cann't boot~~
what's the right way to deodex it?
I'm having problems deodexing too...
I used dsixda's Android Kitchen to deodex the framework from my system.img (created a blank boot.img to be able to load the files), but can't deodex android policy and service. They're the only two apks I can't deodex.
Someone could post a tutorial or already patched files.
Sent from my Milestone 2 XDA App
http://forum.xda-developers.com/showthread.php?t=765270
PS: Could a mod put this into Dev Forum of MS2 ? Since deodexing & Framework stuff is less or more developing..
I'm having black bar since the second day of my phone...
so if u don't want to bother:
download metamorph from market and open this file and apply:
http://www.megaupload.com/?d=YQ8CDVBU
you have to be rooted!
not my work somebody made it here on xda i just couldn't find the threat now...
Hi
Do anyone know wich Gingerbread Notification Bar can I use in my Milestone 2?
I installed the one posted by elfodd and I don't really like.
Thanks!
hey,,,u know how install burhome.apk, launcher in edited rom argen2stone ??i hope u so much that u can help me with this...thanks
elfodd said:
I'm having black bar since the second day of my phone...
so if u don't want to bother:
download metamorph from market and open this file and apply:
http://www.megaupload.com/?d=YQ8CDVBU
you have to be rooted!
not my work somebody made it here on xda i just couldn't find the threat now...
Click to expand...
Click to collapse
It works but clock and date (and operator also) are still black instead of white

[Q] AOSP lockscreen and framework-res.apk

Hi,
actually i wanted to post this question in the developer section, but i don't have enough postings to post there. I hope it's ok that i post the question here
I am creating a Mod for JVT and wanted to add the AOSP lockscreen. Adding the lockscreen is no problem and works fine. But once i compile a framework-res.apk the sliders of the AOSP lockscreen have two colors when pressed (wrong image loaded?!).
See here:
This even happens if i recompile the original decompiled framework-res.apk (without any changes). Only with the untouched original framework-res.apk the sliders have only one color.
I am using APKManager 4.7 (Linux) with APK Tool 1.4.1 (1.3.1 tested too).
Can you help me getting the AOSP lockscreen work without problems?
Best Regards,
The_MKay
EDIT: Found a solution: I copied all unchanged drawable-pngs to the new compiled framework-res.apk

[How To]Ripple Lockscreen for 31XX,51XX + Transparent Status Bar for 31XX

I have had some people asking how to get the Samsung Ripple Lockscreen working so I thought I would add a small guide here how to do it so it can be done to any JB Samsung based ROM for both 31XX and 51XX tab 2s as has been tested on both. Tested on 4.1.2 but not on 4.1.1 but should still work for that too. This is the first how to I have done so sorry if it is not very good
Prerequisites
Deodexed Jelly Bean Samsung Based Rom
Apktool
Text Editor eg notepad++
Knowledge how to decompile and build apks and jars
You will need two files from the system/framework of your rom
1.framework-res.apk
2.services.jar
Framework-res.apk Changes
Decompile framework-res.apk
Navigate to folder framework-res/res/values
Open bools.xml in a text editor
look for
Code:
<bool name="config_isWaterRippleEnabled">false</bool>
and change to
Code:
<bool name="config_isWaterRippleEnabled">true</bool>
That is all for the framework-res.apk so build framework-res and copy across the META-INF folder from your original framework-res.apk to the newly compiled framework-res.apk and that is ready to go.
This will now give you the option in lockscreen settings to select ripple effect but depending on the base your wallpaper may be hidden with ripple effect enabled so to fix that you need to mod services.jar
Services.jar Changes
Download the attached WindowAnimator.zip
Extract WindowAnimator.smali from zip
Decompile services.jar
Navigate to smali/com/android/server/wm
Replace WindowAnimator.smali with the one attached
That is all that is needed for services.jar so build services.jar and it is ready to go
This will make your wallpaper visible when ripple lockscreen is selected.
Put the files in a flashable zip and flash in cwm or twrp recovery, push to system/framework or copy into system/framework which ever you prefer doing, personally I always just flash them in custom recovery so you can use the attached zip and and place your modded files inside and flash if you wish
Note
Same WindowAnimator.smali can be used for both 31XX and 51XX I have used it in both my roms for 31XX and 51XX
Ripple Lockscreen does not work with live wallpaper set as lockscreen wallpaper
This is only for Deodexed Samsung Based Jelly Bean roms
Feel free to include this in your rom just give credits.
How To Have Transparent SystemUI For 31XX
All changes are done to SystemUI.apk so you need to decompile it and apply the following changes below
Open res/layout/twsuperstatusbar.xml
Change this
Code:
android:background="#ff000000"
To this
Code:
android:background="#00000000"
Then open res/values/drawables.xml
Change this
Code:
<item type="drawable" name="status_bar_background">#ff1e1e1e</item>
To this
Code:
<item type="drawable" name="status_bar_background">#00000000</item>
This is for full transparent status bar but you can change the colour code in drawables to any shade of transparency or another colour if you want
This is all that is needed to have the status bar show transparent
To have a transparent background for the pull down or to have any picture you like these changes are required.
Open res/layout/twstatusbarexpanded.xml
Change this
Code:
android:background="@drawable/notification_panel_bg"
To this
Code:
android:background="@drawable/tw_notification_panel_bg"
Download the attached png called tw_notification_panel_bg.png and add it to res/drawable-mdpi
This is all that is needed to make the drop down window transparent or to any picture you like.
If you want other parts set to transparent as well in the dropdown for example the notifications title, where the date is etc you will need to
Open res/layout/twstatusbarexpanded.xml
Look for all
Code:
android:background="#colorcode"
Change to this
Code:
android:background="#00000000"
If you want to change the quick settings buttons background then you need to edit the png labelled tw_quick_panel_quick_setting_button_bg_normal.9 to a transparent one as well as for the tw_status_bar_close_off.png and tw_status_bar_close_on.png they can be changed to a transparent image as well so you will pretty much have a full transparent SystemUI
Very good, i'll try this in MicroDelta ROM... :good:
EDIT: Already modded service.jar but having troubles to recompile framework-res.apk (I really don't know how to do it, googled it but all
methods didn't worked)
Please, someone that knows how to recompile it... here's the link for decompiled and modded Microdelta's framework! thnx
http://www.mediafire.com/?931j5x50bfujwa9
Narciso Neto said:
Very good, i'll try this in MicroDelta ROM... :good:
EDIT: Already modded service.jar but having troubles to recompile framework-res.apk (I really don't know how to do it, googled it but all
methods didn't worked)
Please, someone that knows how to recompile it... here's the link for decompiled and modded Microdelta's framework! thnx
http://www.mediafire.com/?931j5x50bfujwa9
Click to expand...
Click to collapse
try "apktool if framework-res.apk" and then try recompiling. @op Thanks for the guide. I'll try it once I get my tab back. "Is Water Ripple Enabled" XD lazy samsung.
Luigi2012SM64DS said:
try "apktool if framework-res.apk" and then try recompiling. @op Thanks for the guide. I'll try it once I get my tab back. "Is Water Ripple Enabled" XD lazy samsung.
Click to expand...
Click to collapse
Already tried that, and another 5 methods that i saw in google, tried updating java... still not recompiling!
Anyway, when you do it for your tab... plz post your framework,
Narciso Neto said:
Already tried that, and another 5 methods that i saw in google, tried updating java... still not recompiling!
Anyway, when you do it for your tab... plz post your framework,
Click to expand...
Click to collapse
@Narciso Neto Edit: my guess is that you didn't do "apktool if twframework-res.apk".
https://www.dropbox.com/s/oli9s7lxx7h3xmo/framework-res.rar
Luigi2012SM64DS said:
@Narciso Neto Edit: my guess is that you didn't do "apktool if twframework-res.apk".
https://www.dropbox.com/s/oli9s7lxx7h3xmo/framework-res.rar
Click to expand...
Click to collapse
Yes i did, with the original framework-res.apk and with twframework-res.apk...
My guess is that have something wrong with my PC.
Thnx for the framework...
EDIT: Bootloop, --'
EDIT²: That's my .zip file that i've flashed with CWM and got Bootloop, what's wrong?
http://www.mediafire.com/?xk2t7rbgn2z1cyd
txr33 said:
I have had some people asking how to get the Samsung Ripple Lockscreen working so I thought I would add a small guide here how to do it so it can be done to any JB Samsung based ROM for both 31XX and 51XX tab 2s as has been tested on both. Tested on 4.1.2 but not on 4.1.1 but should still work
Click to expand...
Click to collapse
Hey bro thanx for tutorial.
I have a questions:
which framework-res.apk to use???
There it shows three framework
A. Framework-res.apk
B. Framework-res2.apk
C. Twframework-res.apk
And please check your pm
Sent using xda app-developers app
Narciso Neto said:
Yes i did, with the original framework-res.apk and with twframework-res.apk...
My guess is that have something wrong with my PC.
Thnx for the framework...
EDIT: Bootloop, --'
EDIT²: That's my .zip file that i've flashed with CWM and got Bootloop, what's wrong?
http://www.mediafire.com/?xk2t7rbgn2z1cyd
Click to expand...
Click to collapse
You made the android policy changes right?
Sent from my GT-P3113 using Tapatalk HD
Luigi2012SM64DS said:
You made the android policy changes right?
Sent from my GT-P3113 using Tapatalk HD
Click to expand...
Click to collapse
I really dn't know what are talking about...
anyway, what I did:
-decompiled framework-res.apk >> edited bool.xml using Notepad++
-decompiled services.jar >> replaced the file
-downloaded the zip that you uploaded
-copied META-INF folder from the original framework-res.apk to new that you uploaded
-put services.jar and framework-res.apk in the zip
-flashed using CWM...
BOOTLOOP :silly:
Sorry i mean't the services.jar not android policy.
Anyways. you did wrong. I'll upload a flashable zip once i get home. At school right now.
Luigi2012SM64DS said:
Sorry i mean't the services.jar not android policy.
Anyways. you did wrong. I'll upload a flashable zip once i get home. At school right now.
Click to expand...
Click to collapse
Thanks...
Sent from my GT-P3110 using xda app-developers app
I apologize. I uploaded this earlier but forgot to post it here. Sorry.
https://www.dropbox.com/s/hgrjy88ghqcy1io/MicroDelta-JB-4.1.2-P3110XXDMC2-JB-ripplelockscreen.zip
Heres the ripple lockscreen for MicroDelta 4.1.2. Flashable with any recovery that supports updater-script's(Every single recovery ever made for gtab2 will work.).
Luigi2012SM64DS said:
I apologize. I uploaded this earlier but forgot to post it here. Sorry.
https://www.dropbox.com/s/hgrjy88ghqcy1io/MicroDelta-JB-4.1.2-P3110XXDMC2-JB-ripplelockscreen.zip
Heres the ripple lockscreen for MicroDelta 4.1.2. Flashable with any recovery that supports updater-script's(Every single recovery ever made for gtab2 will work.).
Click to expand...
Click to collapse
uhmm, I flashed your zip via CWM and i got bootloop... AGAIN! :silly:
did you flashed this on your Tab?
EDIT: tried flashing via TWRP, but stilll giving bootloop
I didn't test it. I don't have the time. Sorry. I guess no ripple for MicroDelta.
Luigi2012SM64DS said:
I didn't test it. I don't have the time. Sorry. I guess no ripple for MicroDelta.
Click to expand...
Click to collapse
Thnx amyway.. i'll give a try on another stock based rom
Sent from my GT-P3110 using xda app-developers app
Droidlover123 said:
Hey bro thanx for tutorial.
I have a questions:
which framework-res.apk to use???
There it shows three framework
A. Framework-res.apk
B. Framework-res2.apk
C. Twframework-res.apk
And please check your pm
Sent using xda app-developers app
Click to expand...
Click to collapse
I don't know why you have framework-res2.apk as Samsung roms do not have that but you need the first one framework-res.apk
Narciso Neto said:
Thnx amyway.. i'll give a try on another stock based rom
Sent from my GT-P3110 using xda app-developers app
Click to expand...
Click to collapse
Can you upload the unmodded services.jar and framework-res.apk from the rom and I will have a look at it.
txr33 said:
Can you upload the unmodded services.jar and framework-res.apk from the rom and I will have a look at it.
Click to expand...
Click to collapse
Here it is, MicroDelta's original framework-res and services.jar....
https://www.dropbox.com/s/rxi4n2pposd0a8k/framework%20files%20unmodded.zip
Narciso Neto said:
Here it is, MicroDelta's original framework-res and services.jar....
https://www.dropbox.com/s/rxi4n2pposd0a8k/framework%20files%20unmodded.zip
Click to expand...
Click to collapse
try this flash in recovery
https://www.dropbox.com/s/0325heiverhe45w/MicroDeltaRippleLock.zip
txr33 said:
try this flash in recovery
https://www.dropbox.com/s/0325heiverhe45w/MicroDeltaRippleLock.zip
Click to expand...
Click to collapse
Downloading to try... Thnx!
EDIT: it booted, but when i set the ripple lock option in settings, walpaper is blank, even after i try to set another one wallpaper...
Screenshot:
Sent from my GT-P3110 using xda app-developers app
Narciso Neto said:
Downloading to try... Thnx!
EDIT: it booted, but when i set the ripple lock option in settings, walpaper is blank, even after i try to set another one wallpaper...
Screenshot:
Sent from my GT-P3110 using xda app-developers app
Click to expand...
Click to collapse
Sorry I think I must have put the wrong services.jar in. Flash this https://www.dropbox.com/s/1tuq5jgjlyzwxt0/Services.jarcwm.zip includes just the services.jar

[Q] Battery % Icon in UI?

Is anyone aware of a System UI mod to add battery percentage to the indicator for the First, without the need to install a secondary app?
Thank you. --Larry
amphi66 said:
Is anyone aware of a System UI mod to add battery percentage to the indicator for the First, without the need to install a secondary app?
Thank you. --Larry
Click to expand...
Click to collapse
A quick update:
Found the Notification Toggle app from the Play Store which does a very good job. Along with a large selection of some easy to use pull-down switches in the Notification Bar is a battery icon showing %. Actually very nice.
However, not being exactly what I was looking for I tried to use the OG Battery Icon Mod from XDA with my (mostly) stock (Odexed) ROM. It was unsuccessful.
Thinking it might be a problem with the Odexed ROM, I flashed CWM Recovery to replace my previous TWRP Recovery (for some reason the DeOdexed ROM des not flash with TWRP) and then flashed JMZ's DeOdexed v1.08 ROM. Unfortunately, I ended up the same failure when running the OGBattery Mod Tool (the tool was unable to download the systemui.apk).
Therefore, so far I am unable to make the UI modification, but am pleased to find the Notification Toggle App -- and with some help from Titanium Backup my phone is back where I wanted it, now running a DeOdexed ROM. I went back to TWRP Recovery. I have CWM on my A500 tablet, but TWRP just seems easier on the First.
--Larry
amphi66 said:
A quick update:
Found the Notification Toggle app from the Play Store which does a very good job. Along with a large selection of some easy to use pull-down switches in the Notification Bar is a battery icon showing %. Actually very nice.
However, not being exactly what I was looking for I tried to use the OG Battery Icon Mod from XDA with my (mostly) stock (Odexed) ROM. It was unsuccessful.
Thinking it might be a problem with the Odexed ROM, I flashed CWM Recovery to replace my previous TWRP Recovery (for some reason the DeOdexed ROM des not flash with TWRP) and then flashed JMZ's DeOdexed v1.08 ROM. Unfortunately, I ended up the same failure when running the OGBattery Mod Tool (the tool was unable to download the systemui.apk).
Therefore, so far I am unable to make the UI modification, but am pleased to find the Notification Toggle App -- and with some help from Titanium Backup my phone is back where I wanted it, now running a DeOdexed ROM. I went back to TWRP Recovery. I have CWM on my A500 tablet, but TWRP just seems easier on the First.
--Larry
Click to expand...
Click to collapse
You can use UOT kitchen. Just Google it. If you feel adventurous you can download my sense ROM and pull the diff battery mods I have there and push them to your device. All you need is systemui.apk. but this will only work if you are on a deodex ro.
Sent from my manta using Tapatalk 2
jmz said:
You can use UOT kitchen. Just Google it. If you feel adventurous you can download my sense ROM and pull the diff battery mods I have there and push them to your device. All you need is systemui.apk. but this will only work if you are on a deodex ro.
Sent from my manta using Tapatalk 2
Click to expand...
Click to collapse
Feeling adventurous, I downloaded your sense ROM & extracted it. In systemui.apk I see there are two (apparently duplicated) res folders and the sub-folders/files in res are also duplicated. Is this an error in the build or necessary as place-holders of sone kind. I thought I might try to replace the res folder in the deodexed ROM with this one, but it concerned me.
amphi66 said:
Feeling adventurous, I downloaded your sense ROM & extracted it. In systemui.apk I see there are two (apparently duplicated) res folders and the sub-folders/files in res are also duplicated. Is this an error in the build or necessary as place-holders of sone kind. I thought I might try to replace the res folder in the deodexed ROM with this one, but it concerned me.
Click to expand...
Click to collapse
I don't know what you mean. Can you screenshot it?
Sent from my HTC first using Tapatalk 2
jmz said:
I don't know what you mean. Can you screenshot it?
Sent from my HTC first using Tapatalk 2
Click to expand...
Click to collapse
Thank you for the response. I couldn't figure out how to attach here, so I posted a screenshot of the extracted systemui.apk from your Sense ROM at dev-host: http://d-h.st/VOr
Note that there are duplicate res folders. Also, in the res folders many of the sub-folders and: files also have duplicates, prompting my question. --Larry
amphi66 said:
Thank you for the response. I couldn't figure out how to attach here, so I posted a screenshot of the extracted systemui.apk from your Sense ROM at dev-host: http://d-h.st/VOr
Note that there are duplicate res folders. Also, in the res folders many of the sub-folders and: files also have duplicates, prompting my question. --Larry
Click to expand...
Click to collapse
@jmk : After the confusion (to me) I tried a couple of more things:
1. Replaced systemui.apk in stock ROM with the systemui.apk from your Sense ROM. That did give me a Sense horizontal battery with %, but was too small to see. I was hoping for the percent circle.
2. I used UOT Kitchen to attempt to make the modifcation, but Kitchen returned a SHTF error, so no results yet.
Success!
I loaded & set up JMZ's Sense ROM with the icons I wanted, then copied systemUI.apk to the sdcard. After restoring my "stock" ROM I renamed the systemUI.apk in /system, then copied the one from the sdcard to /system & reset the permissions. I now have my desired battery icons!
@ jMZ: Thank you for the guidance. --Larry

System Wide Dark Theme for S6

*for rooted users that's using blacknotifs I suggest you edit your own framework-res.apk. (basic knowledge on using apktool is needed) when decompiled just navigate to res/values/color.xml and look for the line that has "notification_title_text" and change its value to a light color like #fffffffff or #ffc8c8c8, recompile and put it back to your system (via flashable zip or inject it to your rom and reinstall rom) that will make almost all notification title text to white and make black notification cards perfect.
I got this from this linkhttps://forum.xda-developers.com/galaxy-s8+/themes/theme-dark-default-t3597615
I have no idea how to do it
Guys, I will post my framework-res.apk can someone edit it for me.
My device: SM-G920F
Running on latest stock nougat
Guys here's the link to the framework-res.apk from my phone.https://www.dropbox.com/sh/kf9yvkulgjnoc0x/AAAZ2JcURuF2-_PVD5lX1387a?dl=0

Categories

Resources