[Guide](CM7) How to Remove the Brightness Slider from Notification Bar - Galaxy Ace S5830 General

[Guide](CM7) How to Remove the Brightness Slider from Notification Bar
If you're looking out for a way to Remove the Brightness Slider present in the Notification Bar of your ROM then you're at the right place. Following are the Steps to Remove it.
Required Files & Tools
01). apktool
02). SystemUI.apk & framework-res.apk from your ROM
03). A Flashable zip file
04). File Explorer in Phone
05). Little knowledge in Decompiling & Recompiling :silly:
You need framework-res.apk to decompile SystemUI.apk. Make sure you have your framework-res.apk & SystemUI.apk pulled out from Phone or ROM
- Install framework-res.apk
- Decompile SystemUI.apk
- Locate the file status_bar_expanded.xml from the decompiled SystemUI folder. It will be present in the folder SystemUI/res/layout
- Now look in for the below line and delete it
Code:
<include layout="@layout/qp_brightness" />
- Save the file & Recompile.
- You can later drag & drop the modified .xml file to the Original SystemUI.apk using Winrar or 7zip
- Finally, you can either use a flashable zip file to flash the SystemUI.apk on your phone or use any File Explorer (ES File Explorer or any) to move the SystemUI.apk on to your Phone, location will be (system/app) & set appropriate permissions. :laugh:
Credit goes to this member @marcussmith2626 & his original post http://forum.xda-developers.com/showthread.php?p=42192531

Can you tell me how to include the brightness slider in cm7?
Sent from my GT-S5830 using xda premium

Venomous Viper 119 said:
Can you tell me how to include the brightness slider in cm7?
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
this is to include he mistyped titl
Sent from my S500 using xda app-developers app

SpaceCaker said:
this is to include he mistyped titl
Sent from my S500 using xda app-developers app
Click to expand...
Click to collapse
No. I think it is to delete. Because I decompiled systemui.apk but didn't find any such line in the status_bar_expanded. When I added that line to this file at the last & tried to compile, I got a lot of compilation errors.
Sent from my GT-S5830 using xda premium

Venomous Viper 119 said:
No. I think it is to delete. Because I decompiled systemui.apk but didn't find any such line in the status_bar_expanded. When I added that line to this file at the last & tried to compile, I got a lot of compilation errors.
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Yup, this is to delete the line from status_bar_expanded.xml
Which ROM are you using? I checked this on The Ultimatum ROM with Timescape MODE & worked for me.
If you wanna get the Brightness Slider then its something you have to work on with smali files too. Just by adding the line(in the post) will give you errors & maybe a fc if am not wrong.

keylocker said:
Yup, this is to delete the line from status_bar_expanded.xml
Which ROM are you using? I checked this on The Ultimatum ROM with Timescape MODE & worked for me.
If you wanna get the Brightness Slider then its something you have to work on with smali files too. Just by adding the line(in the post) will give you errors & maybe a fc if am not wrong.
Click to expand...
Click to collapse
Yes. I have to modify the smalis to get that & there's also a guide for that. But I took the easy way out. Used the systemui.apk of a different ROM & bang
Sent from my GT-S5830 using xda premium

Venomous Viper 119 said:
Yes. I have to modify the smalis to get that & there's also a guide for that. But I took the easy way out. Used the systemui.apk of a different ROM & bang
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Smart People choose the smart way :laugh:

Related

Change status bar

I would have a flashable zip with a status bar like cm7 or oxygen, where i can change the type of power widgets for use it on the stock roms. Does it exist? Thanks
Sent from my LG-P500 using XDA
funkysonic said:
I would have a flashable zip with a status bar like cm7 or oxygen, where i can change the type of power widgets for use it on the stock roms. Does it exist? Thanks
Sent from my LG-P500 using XDA
Click to expand...
Click to collapse
status bar is given by framework-res.apk and
lge-res.apk files. These files are present in /system/framework directory. if rom you are using is deodexed, it is possible. you can use dsixda android kitchen. thats awesome.
hit thanks if you are satisfied with the information
Hmmmm, I don't completely understand what are you searching for, but maybe this can result useful http://forum.xda-developers.com/showthread.php?t=1595079
kulvikram said:
status bar is given by framework-res.apk and
lge-res.apk files. These files are present in /system/framework directory. if rom you are using is deodexed, it is possible. you can use dsixda android kitchen. thats awesome.
hit thanks if you are satisfied with the information
Click to expand...
Click to collapse
If it is deodexed i can bring these files from cm7 and replace it ?
Sent from my LG-P500 using XDA
RE:
funkysonic said:
If it is deodexed i can bring these files from cm7 and replace it ?
Sent from my LG-P500 using XDA
Click to expand...
Click to collapse
SURELY. BUT FOR THAT YOU HAVE TO BRING WHOLE FRAMEWORK DIRECTORY. AND PLEASE USE ANDROID KITCHEN. BECAUSE IF YOU UNZIP, REPLACE DIRECTORIES AND ZIP IT AGAIN, THEN THE ZIP FILE MAY NOT REMAIN FLASHABLE. http://forum.xda-developers.com/showthread.php?t=901417 CHECK THIS THREAD IF YOU DON'T KNOW ABOUT ANDROID KITCHEN.

[Request] Auto-rotation lock screen LWW

Hello!!!
Is possible enable the auto-rotation lock screen for the Sony Live with Walkman?
Im use the stock rom Gingerbread.
Sorry for my bad english.
Sent from my WT19a using xda app-developers app
Decompile system/framework/framework-res.apk using apktool, go to res/values/bools.xml, change 2 values that are related to lockscreen rotation (can be understandable by English)vfrom false to true, then compile the apk , and make a cwm flashable zip to flash via cwm recovery
Sent from my WT19i using xda premium
danist727 said:
Decompile system/framework/framework-res.apk using apktool, go to res/values/bools.xml, change 2 values that are related to lockscreen rotation (can be understandable by English)vfrom false to true, then compile the apk , and make a cwm flashable zip to flash via cwm recovery
Sent from my WT19i using xda premium
Click to expand...
Click to collapse
Two questions
1. Those are :
<bool name="config_enableLockScreenRotation">false</bool>
and...
<bool name="config_allowAllRotations">false</bool>
or
<bool name="lockscreen_isPortrait">true</bool>
2. I edit the values using Notepad++ and save it, but why i cannot compile the apk?? Am i forgetting sumthing??
Allow all rotation means to allow 180 rotation.
What happened when u compiling apk?
Sent from my WT19i using xda premium
danist727 said:
Allow all rotation means to allow 180 rotation.
What happened when u compiling apk?
Sent from my WT19i using xda premium
Click to expand...
Click to collapse
I'm using APK Multi-Tool
Here is the last line:
Building Apk
"An Error Occured, Please Check The Log <Option 24>"
It gives me Looong red log. (Error log, i think)
... Search ics apktool google and replace the original files in apk multi tool folder with the new one.
Also, please install apktool framework (Google it)
Sent from my WT19i using xda premium
if you do it, can you upload file? framework apk? i would like to have rotation lock screen
Qubełek said:
if you do it, can you upload file? framework apk? i would like to have rotation lock screen
Click to expand...
Click to collapse
You should update your phone to ICS .431 though. If you because of some reason not update to ICS, upload your framework-res.apk here to me, I will make it for you ASAP
Sent from my WT19i using xda premium
i have officjal ICS
Qubełek said:
i have officjal ICS
Click to expand...
Click to collapse
Use my n in 1 mod then
Sent from my WT19i using xda premium

How to make a custom status bar background on any systemUI.apk

1.) Select your picture and resize to:
(750 x 1250)
2.) Download - http://www.androidfilehost.com/?fid=9390288116658474160
3.) Extract the zip
4.) Put the file in sd card
5.) Copy your picture to the folder - morph/system/app/systemUI.apk/res/drawable-xhdpi
6.) Copy and paste two more times and rename each and every one of them - back.png - pulldown.png - pulldown_img.png
7.) Zip - all four of the ones in the file
8.) Backup your SystemUI.apk (just in case)
9.) Flash in cwm, twrp, ect.
10.) Enjoy! :thumbup::thumbup:
Be sure to hit the thanks!
Pictures start a 5.) - 7.)
Sent from my SPH-L900 using xda premium
where is the zip file
charlie81 said:
where is the zip file
Click to expand...
Click to collapse
Oh shoot sorry let me modify right quick I just need the link
Sent from my SPH-L900 using xda premium
A BIG thanks for your post cause i was definitely looking for this !!
I did and follow all the steps but when i flashed it through TWRP but i get an error message telling me that it couldn't find "Morph" and "SystemUI.apk".... :-/ So nothing was modify...
Any Idea ?
I have the Alliance Rom if it's could help.
followed instructions didnt work zip and installed through cwm is ut because im using simplistic controll
omega rom v11, kalgas, neak 1.5
stesteste said:
followed instructions didnt work zip and installed through cwm is ut because im using simplistic controll
omega rom v11, kalgas, neak 1.5
Click to expand...
Click to collapse
Look at step 1
Sent from my SPH-L900 using xda premium
gregou said:
A BIG thanks for your post cause i was definitely looking for this !!
I did and follow all the steps but when i flashed it through TWRP but i get an error message telling me that it couldn't find "Morph" and "SystemUI.apk".... :-/ So nothing was modify...
Any Idea ?
I have the Alliance Rom if it's could help.
Click to expand...
Click to collapse
Look at step 1 just changed it sorry but I forgot about the size limit
Sent from my SPH-L900 using xda premium
READ - for those of you who already downloaded the zip Redownload it because I checked the zip and there was a part I needed to fix.
Thanks for understanding
Sent from my SPH-L900 using xda premium
Invalid link???
Sent from my GT-N7100 using Tapatalk 2
arses said:
Invalid link???
Sent from my GT-N7100 using Tapatalk 2
Click to expand...
Click to collapse
Updated link
Sent from my SPH-L900 using xda premium
Odp: How to make a custom status bar background on any systemUI.apk
Hi, can you make this mod for n7105 please. I did all steps and flash it but nothing change
poltec said:
Hi, can you make this mod for n7105 please. I did all steps and flash it but nothing change
Click to expand...
Click to collapse
Ok send me your systemUI.apk and you pictures you want and anything else you want me to do?
Sent from my SPH-L900 using xda premium
Odp: How to make a custom status bar background on any systemUI.apk
http://db.tt/vatmNmxc
Thank you
poltec said:
http://db.tt/vatmNmxc
Thank you
Click to expand...
Click to collapse
Alright man here
Link: http://www.androidfilehost.com/?fid=9390288116658474229
Sent from my SPH-L900 using xda premium
Odp: How to make a custom status bar background on any systemUI.apk
Thank youfor your help but still is not working Im using this rom with 240dpi mod:
http://forum.xda-developers.com/sho...1.2 [4.1.2][Aroma][Rooted][TELSTRA/OPTUS/ETC]
poltec said:
Thank youfor your help but still is not working Im using this rom with 240dpi mod:
http://forum.xda-developers.com/sho...1.2 [4.1.2][Aroma][Rooted][TELSTRA/OPTUS/ETC]
Click to expand...
Click to collapse
Probably why but I have sprint in the usa
Sent from my SPH-L900 using xda premium
Strange, doesn't work ?!
Did it, with transparent pngs and black ones... Status bar disappeared, without FC. With black pngs, home screen just turn black!?
I'm on rooted stock deodexed MA6. Attaching Sistem UI and zip... What I am doing wrong!? I would be gratefull for this!
jba.33a said:
Did it, with transparent pngs and black ones... Status bar disappeared, without FC. With black pngs, home screen just turn black!?
I'm on rooted stock deodexed MA6. Attaching Sistem UI and zip... What I am doing wrong!? I would be gratefull for this!
Click to expand...
Click to collapse
Ok try this http://www.androidfilehost.com/?fid=9390288116658474264
Mr S_sway , why do u post something when u you really dont have the knowledge ? the systemui.apk first needs to be decompiled and then the xml file needs to be edited to support the background image in the notification background
.. the method u have posted is of no use , unless the person is using the modded systemui.apk
the stock systemui.apk is not modded and OMEGA Roms also have the SystemUI.apk which is not modded to support background images
so guys dont waste your time downloading the zip file and trying to get the background image , unless u have the rom with modded systemui.apk that supports notification background , this will not work .
devabhishek said:
Mr S_sway , why do u post something when u you really dont have the knowledge ? the systemui.apk first needs to be decompiled and then the xml file needs to be edited to support the background image in the notification background
.. the method u have posted is of no use , unless the person is using the modded systemui.apk
the stock systemui.apk is not modded and OMEGA Roms also have the SystemUI.apk which is not modded to support background images
so guys dont waste your time downloading the zip file and trying to get the background image , unless u have the rom with modded systemui.apk that supports notification background , this will not work .
Click to expand...
Click to collapse
i second that , you also, could give credits in your thread to the creator of that mod which in that case is raubkatze
There are already quick tutorial to get that done
Just saying... :angel:

How to change statusbar central clock to right clock?

pls tell me wat to edit inorder to change statusbar center clock to right
thank you
SREEHARI.NAIR said:
pls tell me wat to edit inorder to change statusbar center clock to right
thank you
Click to expand...
Click to collapse
You have to decompile the apk if you want to know how to do the further process n if you don't then you can read guide for Decompiling and then I can proceed to tell you how to do that
Just tell me i will try to understand
SREEHARI.NAIR said:
Just tell me i will try to understand
Click to expand...
Click to collapse
k, i'll tell you tomorrow because I have a test today
decompile SystemUI.apk
it has a xml file called status_bar.xml
search clock in it
in that line you will get a attribute android_gravity .
if it is center_vertical change it to left|vertical ( I have like this in my apk)
Sent from my GT-S5670 using xda premium
I will Try this
soham jambhekar said:
decompile SystemUI.apk
it has a xml file called status_bar.xml
search clock in it
in that line you will get a attribute android_gravity .
if it is center_vertical change it to left|vertical ( I have like this in my apk)
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
Thanks Bro I will try this out
soham jambhekar said:
decompile SystemUI.apk
it has a xml file called status_bar.xml
search clock in it
in that line you will get a attribute android_gravity .
if it is center_vertical change it to left|vertical ( I have like this in my apk)
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
How can we do "decomplile"?
Please help me. Is it work on "[ROM] SGS3 V3.0 |Ultimate| |Smooth|"?
Vishnu pv said:
How can we do "decomplile"?
Please help me. Is it work on "[ROM] SGS3 V3.0 |Ultimate| |Smooth|"?
Click to expand...
Click to collapse
to decompile we use an app called as apk multi tools and another app apk manager !!
both are good...works fine for me...!!
i think u will need sdk tools installed in pc to make apk managaer and apk tools work on your pc !!
google about it, you will get more answers.
and there is a guide in development section named 'make custom rom' which shows how to decompile any apk..!!
Sent from my GT-S5830i using xda app-developers app

Failure to boot rom after framework modding

I have tried to install D.O.C's smooth slider mod and ended up with a bootloop. Can someone help me please? (Steps i did are below, correct me if i am wrong)
1.Copy framework-res to sd card
2.Change file extension to .zip
3.Extract file
4.Replace all 8 files with ones provided at download link
5.Re-zip the file
6.Change application extension to .apk
7.Copy that file to system/framework
8.Wait for reboot
Please Help Me
Sent from my MT11i using xda premium
creepycow said:
I have tried to install D.O.C's smooth slider mod and ended up with a bootloop. Can someone help me please? (Steps i did are below, correct me if i am wrong)
1.Copy framework-res to sd card
2.Change file extension to .zip
3.Extract file
4.Replace all 8 files with ones provided at download link
5.Re-zip the file
6.Change application extension to .apk
7.Copy that file to system/framework
8.Wait for reboot
Please Help Me
Sent from my MT11i using xda premium
Click to expand...
Click to collapse
You have to set permissions first to rwrr and then move it to system/framework.. Next time please don't make new threads.. Post here
http://forum.xda-developers.com/showthread.php?t=2276094
Regards,
vishal_android freak
creepycow said:
I have tried to install D.O.C's smooth slider mod and ended up with a bootloop. Can someone help me please? (Steps i did are below, correct me if i am wrong)
1.Copy framework-res to sd card
2.Change file extension to .zip
3.Extract file
4.Replace all 8 files with ones provided at download link
5.Re-zip the file
6.Change application extension to .apk
7.Copy that file to system/framework
8.Wait for reboot
Please Help Me
Sent from my MT11i using xda premium
Click to expand...
Click to collapse
Extracting the apk breaks the apk (Signature)
So to do this you need a computer. Can't do this on phone.
1st way:
-Open the apk with WinRAR (without changing the apk extension)
-Simply drag & drop the D.O.C's files in respective folders & click OK on prompt.
-Push into system with correct permissions.
2nd Way:
You have to decompile the apk, replace files, recompile, sign it & then push it into your system.
Cheers!
ak070
Thanks guys i really appreciate it thanks!
Sent from my MT11i using xda premium
creepycow said:
Thanks guys i really appreciate it thanks!
Sent from my MT11i using xda premium
Click to expand...
Click to collapse
Don't express your thanks through post. There is a button for that. Hit it if I or Anyone has helped you somehow.
Cheers
ak070
I still cant and what do u mean by opening an apk file without changung extension
Sent from my MT11i using xda premium
Do u think someone can help me if i upload my framework for someone to help me mod it?
Sent from my MT11i using xda premium
creepycow said:
Do u think someone can help me if i upload my framework for someone to help me mod it?
Sent from my MT11i using xda premium
Click to expand...
Click to collapse
Try apk multitool... If you want to just make some images changes just extract it and make changes then pack it... If it needs xml changes then you will have to decompile and compile... These can be done with apk multitool...
Sent from my Xperia Neo V using xda app-developers app
I will try that tomorrow its at night here at Singapore
Sent from my MT11i using xda premium
creepycow said:
I still cant and what do u mean by opening an apk file without changung extension
Sent from my MT11i using xda premium
Click to expand...
Click to collapse
I meant that don't rename the file to .zip. You can open .apk file by Right click > Open with > WinRAR. Now just drag & drop D.O.C.'s files in the RAR. Window in respective folders then click Ok.
Cheers!
ak070
Oh... My com doesnt have the open with option i have to do it manually
Sent from my MT11i using xda premium
ak070, i have tried your method but my rom wouldnt boot. When i used root browser to push the file in, i got fc's and all apps data was deleted. Tye loading icon became a spinning arrow
Sent from my MT11i using xda premium

Categories

Resources