Related
Hi! Can you help me with this SystemUI?! I've to change the clock color to a dark gray! Please help, you can mod downloading it as attachement! Ty!
just edit the color.xml in the layout folder easy......
ajay8055 said:
just edit the color.xml in the layout folder easy......
Click to expand...
Click to collapse
i was gonna say that, or edit the UI image from drawable hdpi in like photoshop :good:
How to make any gingerbread or cm7/cm9 status bar transparent
Check my signature for all my statusbars including pre-made stock cm7/cm9 and Aosp statusbars and guides
There's three ways to make the statusbar bar Transparent and I'll post them all
One way works with any gingerbread rom (deodex & rooted) and one with cyanogen 7
I have not tried it on ics or jelly bean but you can try (for people who stumble across this thread who are not galaxy y users)
Please dont ask for support unless you are using a custom rom on galaxy y
Any other phones please goto your own phone forum for support
You also need a launcher that is capable of transparency
Adw works but you need to disable wallpaper hack in settings
holo launcher works
any other launcher if it doesn't work look in it's settings & try & disable wallpaper hack or manage internally
Method one for non cm (Stock Deodex Rom)
You need apk tool installed - if you don't know how to use it see my guide here
http://forum.xda-developers.com/showthread.php?t=2206938
Once you have decompiled SystemUI.apk using apk tool goto res/layout Open status_bar.xml in notepad
Find the following line
Code:
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" [COLOR="Red"]android:background="#ff000000"[/COLOR] android:focusable="true" android:descendantFocusability="afterDescendants"
Notice the part highlighted in red android:background is normally a hexadecimal value or it could be a drawable value
either way change the red part to the following
Code:
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" [COLOR="Red"]android:background="@drawable/nameofpng" [/COLOR]android:focusable="true" android:descendantFocusability="afterDescendants"
Notice that android:background is now a drawable value
Change nameofpng to the name of your transparent background image (just the name - do not include the file extension .png)
place this image with the same name as the drawable value in res/drawable-ldpi
(of course other devices might be in mdpi or hdpi)
Recompile and sign apk
Put in a flashable zip and flash with system mounted
You can download and use the pngs in the attachment (for ldpi like galaxy y) or create your own
To create a transparent status bar image just take a non Transparent one and edit it in a photo application to make it Transparent (make sure image dimensions stay the same and is for your phone resolution)
Method two for cm7
Note you will need apk tool installed and notepad++ installed
Download the patcher tool by Z25 in attachment
Unzip the contents to a folder
Place your SystemUI.apk and framework-res.apk in files_to_patch
Run patcher.bat
Select status bar tweaks and enable only transparent status bar
Edit the smali file as described in the text file that pops up
Select option build and sign
Select option to create zip files
You now have a zip file called patch.zip
unzip this and take out the SystemUI.apk - we will save this for later
Now we have to either make our own transparent theme or you can download a theme from the playstore for theme chooser that already contains status bar transparency
If you are downloading a theme from the playstore skip the part "To create your own theme" and go straight to the part "final steps"
To create your own theme
Goto uot kitchen http://uot.dakra.lt/kitchen
Take cyanbread.apk from the app folder of your cm7 rom & place on pc (or any other Theme Chooser Theme you wish to make transparent)
Rename it to what you want to call theme
Upload it to kitchen (under cm7 theme in file upload)
In status bar tweaks set background transparency to around 70% Transparent and any other settings you need like carrier or footer - don't forget to generate preview once done
Make sure you have selected ldpi in statusbar tweak settings and ldpi/mdpi for theme chooser preview in file upload (other devices may vary) and in file upload change update binary to galaxy
Then goto summary section
If everything is green create the theme
If not make sure you have clicked generate preview on status bar tweaks
Kitchen will then create theme for you
Download the zip file from kitchen and unzip it
Take out your theme apk
Final Steps
Sign both your theme apk and SystemUI.apk that you saved from earlier with a platform key using zipsigner (playstore)
Put both apks in a flashable zip and flash in cwm with system mounted
(note if you are using a theme from the playstore just do this for SystemUI.apk)
Once the phone has booted goto
ADWLauncher
System Preference
Disable Wallpaper Hack (untick the box)
Your status bar is now transparent
Method three for cm9
Once you have decompiled SystemUI.apk with apktool
Goto smali/com/android/systemui/statusbar/StatusBar.smali
Find the following line
Code:
invoke-direct/range {v11 .. v16}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
Above this line change
Code:
const/16 v16, 0x4
To the following
Code:
const/16 v16, -0x3
Now in notepad++ open the following
res/values/drawables.xml
Find the following line
Code:
<item type="drawable" name="status_bar_background">#ff000000</item>
Change the hex value to the hex value of the colour/transparency you want
For example
Completely transparent:
Code:
<item type="drawable" name="status_bar_background">#00FFFFFF</item>
70% transparent
Code:
<item type="drawable" name="status_bar_background">#b3000000</item>
50% transparent:
Code:
<item type="drawable" name="status_bar_background">#7f000000</item>
Recompile
Sign with a platform key using zipsigner (playstore)
Put in a flashable zip and flash in cwm with system mounted
What is the name for the png to put in drawable-ldpi?
Re: [Guide] [Mod] How to make any gingerbread or cm7 status bar transparent
remo1995 said:
What is the name for the png to put in drawable-ldpi?
Click to expand...
Click to collapse
You can rename it to ur own like
Jst open statusbar.xml in layout folder and on 2nd line u will find an attribute android;background change the file u want to add next to drawable/xx folder and put that file in ur drawable ldpi folder
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Reporting from incomplete blue theme
Status-paused
framework-working
remo1995 said:
What is the name for the png to put in drawable-ldpi?
Click to expand...
Click to collapse
Name it the name of the @drawable value
In my example it's nameofpng
Re: [Guide] [Mod] How to make any gingerbread or cm7 status bar transparent
Great guide :thumbup:
Sent from my GT-S5360 using xda app-developers app
Thank you, but when I go to recompile the file gives me error
remo1995 said:
Thank you, but when I go to recompile the file gives me error
Click to expand...
Click to collapse
what rom are you using?
decompile then recompile the apk without making any changes - if it compiles correctly you know you have edited the xml file wrong or not placed the corresponding png in the drawable folder
if it still gives errors without you making changes then either you are using apk tool wrong or the apk has other errors from the orig source
marcussmith2626 said:
what rom are you using?
decompile then recompile the apk without making any changes - if it compiles correctly you know you have edited the xml file wrong or not placed the corresponding png in the drawable folder
if it still gives errors without you making changes then either you are using apk tool wrong or the apk has other errors from the orig source
Click to expand...
Click to collapse
I use the cod rom and I'm trying to change the systemUI of marinalin85, the bar s3 style android 4.2.2
remo1995 said:
I use the cod rom and I'm trying to change the systemUI of marinalin85, the bar s3 style android 4.2.2
Click to expand...
Click to collapse
No reason why it shouldn't work - make sure you have loaded SystemUI.apk and framework-res.apk into apktool using the apktool if command
Make sure all your apk tool commands are correct I'll post a guide on it soon
marcussmith2626 said:
No reason why it shouldn't work - make sure you have loaded SystemUI.apk and framework-res.apk into apktool using the apktool if command
Make sure all your apk tool commands are correct I'll post a guide on it soon
Click to expand...
Click to collapse
to compile and decompile it does! the file does not work gives me forced closure! I made you those passages
Apk tool guide added see http://forum.xda-developers.com/showthread.php?t=2206938
remo1995 said:
to compile and decompile it does! the file does not work gives me forced closure! I made you those passages
Click to expand...
Click to collapse
Follow my apk tool guide I just posted - I can assure you if you follow all my guides correctly and Fully you will not get force closes - I have made many status bars using this method
Decompile my SystemUI.apk from my status bar thread so you can compare the line for the statusbar background in status_bar.xml with yours
If you get errors when you decompile the apk it means the apk was wrongly compiled to begin with and apk tool can't decompile it correctly - you will need to correct any errors that are in the original apk before you can recompile
how can i make launcher compatible with transparency like TW launcher?
Sent from my GT-S5360 using Tapatalk 2
iMaker said:
how can i make launcher compatible with transparency like TW launcher?
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
Some launchers do not support transparency
if it doesn't work and there is no option to disable wallpaper hack or manage internally in the launcher settings or something similar you will need to use a different launcher if you want transparency
even in go launcher it still wont have transparency
Sent from my GT-S5360 using Tapatalk 2
iMaker said:
even in go launcher it still wont have transparency
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
I don't think go launcher supports transparency
launchers that definitely do are
holo launcher
adw launcher (disable wallpaper hack in settings)
Added a zip of the full and semi transparent png images for people to use themselves with the guide
off topic question sir, how did you move the jellybean clock and date above toggle bar?
joelquerty said:
off topic question sir, how did you move the jellybean clock and date above toggle bar?
Click to expand...
Click to collapse
By placing <com.android.systemui.statusbar.policy.DigitalClock with the corresponding ids and smali files under the relative layout in status_bar_expanded.xml above the line for toggles
marcussmith2626 said:
By placing <com.android.systemui.statusbar.policy.DigitalClock with the corresponding ids and smali files under the relative layout in status_bar_expanded.xml above the line for toggles
Click to expand...
Click to collapse
can you plzz give me the link of tutorial. i searched in google and xda but i could'nt find it... thank you
Hi
Very please help
The rom 4.1.2 I could using winrar for simple to change png to another png
Now I'm on 4.4.2 (DittoNote 5.2).
I want to change the png (tw_quick_panel_quick_setting_button_bg_normal.9 ???)
I think it is png a background toogles
I change my png i using winrar but nothing changes.
It is still the old png and no new png.
For what is this happening?
png's ending with 9 are not ordinary png's, they are 9-patch png's and in order to edit them you must DECOMPILE the APK, edit and then RECOMPILE. Anyway, simple adding with winRAR is nota good idea if you don't do ZIPALIGN because it slows down the reading of images....
Ah, and why post a question in app section, isn't Q&A more logical choice?
So I should do this in the Q & A - my mistake.
Ok thanks for the information.
delanik - this is just an example:
I'm trying to change the png in Note 5.2 Ditto 4.4.2
Is the file is tw_quick_panel_quick_setting_button_bg_normal.9 is background switches?
I exchange tw_quick_panel_quick_setting_button_bg_normal.9 another png
with another theme rom Note 2 but nothing has changed.
As I said - pngs with 9 at the end CAN'T be edited without recompiling. Use APKTOOL to decompile APK, then edit, then RECOMPILE. Then from recmpiled APK, copy PNGs (or whole res\drawable folder) to original APK.
If it doesn't change (and it should even when you don't do recompile - it should show BAD image) then you are not editing correct image.
Thank you very much dalanik
I SystemUi decompile framework-res.apk and now the rom DN4 v2.
It will be very difficult for me because there is a lot of files QMG
There is no custom QMG files (icons, button ....) in other roms or themes
to replace them in my rom DN4 v2
How to edit the text appears on startup of an android application. Some application are modified and they show an message like apk is modded by ****. I want to edit that text.
Thanks.
rockingjassie said:
How to edit the text appears on startup of an android application. Some application are modified and they show an message like apk is modded by ****. I want to edit that text.
Thanks.
Click to expand...
Click to collapse
Decompile using apk-tool. And edit accordingly.
After decompiling,
If its just simple image, editing PNG inside drawable folders should be sufficient.
If its text, you will have to find string inside res/values folder.
Jaskaranbir Singh said:
Decompile using apk-tool. And edit accordingly.
After decompiling,
If its just simple image, editing PNG inside drawable folders should be sufficient.
If its text, you will have to find string inside res/values folder.
Click to expand...
Click to collapse
Thanks. I will try.
How do you get this to display when loading up the APK please?
Checked res folder and images but no luck yet.
Hello everybody,
I would like to modify the icons of the tiles of the quick adjustment panel ( app or xposed or modifi systemui.apk).
I can not find a tutorial that works for me.
An idea please
thank you in advance
Try "Apk Editor" from Google play.
Απουσιολόγος said:
Try "Apk Editor" from Google play.
Click to expand...
Click to collapse
Thanks
It's weird I can not find the icons in the systemUI.apk
I take a look for you asap!. But I think they are XML files . No pngs images
Gesendet von meinem P9000 mit Tapatalk
Bradco said:
It's weird I can not find the icons in the systemUI.apk
Click to expand...
Click to collapse
They will probably be in
SystemUI<simple edit<images
Regards,
milkyway3
icons are not images/ pngs .
that was in android 5 and 5.1 . but now they are xml files.
example:
the location icon
Code:
there it creates the icon via
Code:
pathData="M24.0,4.0c-7.7,0.0 -14.0,6.3 -14.0,14.0c0.0,10.5 14.0,26.0 14.0,26.0s14.0,-15.5 14.0,-26.0C38.0,10.3 31.7,4.0 24.0,4.0zM24.0,23.0c-2.8,0.0 -5.0,-2.2 -5.0,-5.0s2.2,-5.0 5.0,-5.0c2.8,0.0 5.0,2.2 5.0,5.0S26.8,23.0 24.0,23.0z"
and set the height and width with the upper vector one.. ( vector android:height="17.0dip" android:width="17.0dip)
you can change the hex color #ffffff to what you want
i will test and tell you what you can do to change it into pngs images. (this will take a bit because of real life and work etc.. a bit busy)
milkyway3 said:
They will probably be in
SystemUI<simple edit<images
Regards,
milkyway3
Click to expand...
Click to collapse
I modify the picture framed in green because it is in png
But the picture framed in red I did not succeed.
I found png but it was not the one
skeleton1911 said:
icons are not images/ pngs .
that was in android 5 and 5.1 . but now they are xml files.
example:
the location icon
Code:
there it creates the icon via
Code:
pathData="M24.0,4.0c-7.7,0.0 -14.0,6.3 -14.0,14.0c0.0,10.5 14.0,26.0 14.0,26.0s14.0,-15.5 14.0,-26.0C38.0,10.3 31.7,4.0 24.0,4.0zM24.0,23.0c-2.8,0.0 -5.0,-2.2 -5.0,-5.0s2.2,-5.0 5.0,-5.0c2.8,0.0 5.0,2.2 5.0,5.0S26.8,23.0 24.0,23.0z"
and set the height and width with the upper vector one.. ( vector android:height="17.0dip" android:width="17.0dip)
you can change the hex color #ffffff to what you want
i will test and tell you what you can do to change it into pngs images. (this will take a bit because of real life and work etc.. a bit busy)
Click to expand...
Click to collapse
No problem skeleton, I understand, you have already do a lot for our p9000
Bradco said:
I modify the picture framed in green because it is in png
But the picture framed in red I did not succeed.
I found png but it was not the one
No problem skeleton, I understand, you have already do a lot for our p9000
Click to expand...
Click to collapse
You will get an answer and a how to , as soon as possible
Gesendet von meinem P9000 mit Tapatalk
skeleton1911 said:
You will get an answer and a how to , as soon as possible
Gesendet von meinem P9000 mit Tapatalk
Click to expand...
Click to collapse
Thank you very much, I wonder how can display png via an xml file, The image should be stored somewhere
Bradco said:
Thank you very much, I wonder how can display png via an xml file, The image should be stored somewhere
Click to expand...
Click to collapse
Vector files are not stored but generated. You could try putting the custom png files you want in your applicable drawable folder (drawable-xxxhdpi-v4 for example) named exactly like the xml you are replacing (except it will end in . png obviously). Sometimes android looks first for png before it moves to the vector (drawable) folder.
WiFi is usually ic_qs_wifi_0.xml and ic_qs_wifi_full_0.xml from 0 1, 2, 3, and 4.
Bluetooth is ic_bluetooth_off.xml and one for on.
Airplane might be ic_signal_airplane_enable.xml and disable
Tulsadiver said:
Vector files are not stored but generated. You could try putting the custom png files you want in your applicable drawable folder (drawable-xxxhdpi-v4 for example) named exactly like the xml you are replacing (except it will end in . png obviously). Sometimes android looks first for png before it moves to the vector (drawable) folder.
WiFi is usually ic_qs_wifi_0.xml and ic_qs_wifi_full_0.xml from 0 1, 2, 3, and 4.
Bluetooth is ic_bluetooth_off.xml and one for on.
Airplane might be ic_signal_airplane_enable.xml and disable
Click to expand...
Click to collapse
Thanks mate for this information ( 1/2 months I'm looking for )
Can i edit with notepad++ ?
What do you think about TickleMyAndroid for editing apk ?
Bradco said:
Thanks mate for this information ( 1/2 months I'm looking for )
Can i edit with notepad++ ?
What do you think about TickleMyAndroid for editing apk ?
Click to expand...
Click to collapse
I highly recommend tma always. If you just want to change the colors, yes use notepad ++ on the vector xml's themselves by changing the fill colors. If you have some png files in mind, try just renaming them, if necessary, to the same names as the vectors like I mentioned above and drop them in one of your drawable folders, xhdpi, xxhdpi and see if it works.
Edit: Unzip and see if these are named like yours. Drop them in a drawable folder. Recompile, put on your phone and see if they show up. They won't fit right but you'll know whether or not you can use pngs. Always make a backup first.
Tulsadiver said:
I highly recommend tma always. If you just want to change the colors, yes use notepad ++ on the vector xml's themselves by changing the fill colors. If you have some png files in mind, try just renaming them, if necessary, to the same names as the vectors like I mentioned above and drop them in one of your drawable folders, xhdpi, xxhdpi and see if it works.
Edit: Unzip and see if these are named like yours. Drop them in a drawable folder. Recompile, put on your phone and see if they show up. They won't fit right but you'll know whether or not you can use pngs. Always make a backup first.
Click to expand...
Click to collapse
So, The files in the zip you gave me does not exist in png but in xml in systemUI.apk
My xml files have the same name as the png that you gave me.
As the png files does not exist in my systemUI.apk I take those you gave me and I put them in:
- systemUI / res / drawable-xxhdpi-v4
or
- drawable-xhdpi-v4 ?
Thank you for all this informations.
EDIT : For the size of the PNG in pixel, what dimension should it use ?
Bradco said:
So, The files in the zip you gave me does not exist in png but in xml in systemUI.apk
My xml files have the same name as the png that you gave me.
As the png files does not exist in my systemUI.apk I take those you gave me and I put them in:
- systemUI / res / drawable-xxhdpi-v4
or
- drawable-xhdpi-v4 ?
Thank you for all this informations.
EDIT : For the size of the PNG in pixel, what dimension should it use ?
Click to expand...
Click to collapse
It doesn't matter where you add them.. I would place them into xxhdpi.
The dimensions of the icons is also not that important. In XML file it's 48dpi. If your icons are xhdpi it should be fine
Gesendet von meinem P9000 mit Tapatalk
Tulsadiver said:
I highly recommend tma always. If you just want to change the colors, yes use notepad ++ on the vector xml's themselves by changing the fill colors. If you have some png files in mind, try just renaming them, if necessary, to the same names as the vectors like I mentioned above and drop them in one of your drawable folders, xhdpi, xxhdpi and see if it works.
Edit: Unzip and see if these are named like yours. Drop them in a drawable folder. Recompile, put on your phone and see if they show up. They won't fit right but you'll know whether or not you can use pngs. Always make a backup first.
Click to expand...
Click to collapse
I test with png for airplane mod, i put the png on drawable xxhdpi v4 with this name --Airplane might be ic_signal_airplane_disable.png--
with TMA :
1. Theming menu
2. Recompile files
3. Recompile with original signature
4. Select systemui.apk
5. Then create flashable zip file
6. Add system/priv-app/ file to project android 5.0
7. Select out folder
8. Create standard zip file
9. Flash with the phone
But the problem
Interface system has stopped
Bradco said:
I test with png for airplane mod, i put the png on drawable xxhdpi v4 with this name --Airplane might be ic_signal_airplane_disable.png--
with TMA :
1.Theming menu
2.Recompile files
3.Recompile with original signature
4.Select systemui.apk
5.Then create flashable zip file
6.Add system/priv-app/ file to project android 5.0
7.Select out folder
8.Create standard zip file
9.Flash with the phone
But the problem
Interface system has stopped
Click to expand...
Click to collapse
Have you signed it? If yes don't do it.
Do you use the latest apktool?
Btw . I use androidmultitool with latest apktool to make my rom themes and modifications.
Gesendet von meinem P9000 mit Tapatalk
skeleton1911 said:
Have you signed it? If yes don't do it.
Do you use the latest apktool?
Gesendet von meinem P9000 mit Tapatalk
Click to expand...
Click to collapse
Yes with original signature
Version of apktool = 2.2.1
I have already managed to change the icons with this same configuration and process.
I will go with a clean install of the phone, what do you think ?
Bradco said:
I test with png for airplane mod, i put the png on drawable xxhdpi v4 with this name --Airplane might be ic_signal_airplane_disable.png--
with TMA :
1. Theming menu
2. Recompile files
3. Recompile with original signature
4. Select systemui.apk
5. Then create flashable zip file
6. Add system/priv-app/ file to project android 5.0
7. Select out folder
8. Create standard zip file
9. Flash with the phone
But the problem
Interface system has stopped
Click to expand...
Click to collapse
ic_signal_airplane_disable, is this how your xml file is named? You didn't put "Airplane might be" in the name, did you?
Before decompiling, did you install your framework(s)?
Apktool 2.2.2 is the latest. You should update your TickleMyAndroid
Tulsadiver said:
ic_signal_airplane_disable, is this how your xml file is named? You didn't put "Airplane might be" in the name, did you?
Before decompiling, did you install your framework(s)?
Apktool 2.2.2 is the latest. You should update your TickleMyAndroid
Click to expand...
Click to collapse
The name of my xml file is ic_signal_airplane_disable.xml i name a png like that ic_signal_airplane_disable..png
I just realized that I put two points to the extension i'am an idiot )
you might with TMA ? yes framework(s) is installed on my computer.
y update TMA and clean my phone it's better
could you tell me the process for recompile ans create zip with TMA ?