Hello,
I have a meizu MX HK M30 dual core with flymeOS 1.1.7 Which is based/created upon Android ICS 4.0.3.
I want to theme my status bar, but the SystemUI.apk is completetly different than other ICS Rom or CM9 Rom.
I have tried different thing for modding but all the time systemUI stop working, but compiling with no errors, I think there is some isssue with smali code.
So I need the help of a good themer for modding and explain to me how my systemUI for statusbar work.
I want a small transparent statusbar with center clock whithout date, wifi and carrier signal on the left.
I upload some screen shot of FlymeOS
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As you can see in the Home there is a big statusbar and this is here that I want a small statusbar.
Make attention the notification of sms or other are in the second row of the big statusbar and need to be placed at the top.
Here is a Google Drive link with stock deodexed SystemUI.apk Framework-res.apk of FlymeOS 1.1.7 :
https://docs.google.com/folder/d/0B5e4iFwEmsizUjdhYlZ5UE1XN1E/edit
Thanks in advance.
The trick used by MrColdbird to always have the small statusbar is to pretend we're never on the Home Screen (if I understood correctly the smali mods).
Regarding the placement, I think the xml res mention several date objects
- com.android.systemui.statusbar.policy.HomeClock
com.android.systemui.statusbar.policy.DateView in layout/status_bar_large.xml & layout/home_lower_panel.xml
(2-row status)
- com.android.systemui.statusbar.policy.Clock in layout/status_bar_opr.xml
(?)
- com.android.systemui.statusbar.policy.Clock in layout/status_bar_small.xml
(1-row status?)
- com.android.systemui.statusbar.policy.DateView in layout/status_bar_expanded.xml
(dragged statusbar?)
Can you try & see if you can tweak these xml files?
Edit: does it belong better in forumdisplay.php?f=1905 ?
Thanks for reply
Do you come from MeizuMe?
So I have already tried to change some value in this XML files
If I undestand correctly the large home status bar work like that :
there is one file in res/layout/statusbar.xml this file call three other XML for the different look of the status bar :
- 1 res/layout/small_status_bar.xml which is the code for the look of the status bar when an app is open.
- 2 res/layout/opr_status_bar.xml which is the code for the lockscreen status bar.
- 3 res/layout/status_bar_large which is the code for the home status bar this file include a call of /res/layout/home_lower_panel.xml which is the second line of large home status bar.
So the thing that I want to know is can I remove the Home_lower_panel.xml whithout problem or I need to touch the smali code ?
If I need to touch the smali code I can't because I don't understand how smali works. I have already read some article on the google dev guide but I don't undestand.
Can you try some edit on the systemUI file try to compil and upload your file for testing I need an external coder and point of view because my processus for modding is wrong.
I put the recommended files for work on google drive : systemUI you have the framework-res.apk and systemUI.apk
try in your side give me the file for testing.
( ATTENTION : If you have your own meizuMX for testing be carrefull the files that I have upload come from FlymeOS 1.1.7 the latest update from meizu.
I have Just deodex the rom. So if you want to test in your own you need a Flyme 1.1.7 deodex rom, I can upload it if you need.)
Sometimes I have some aapt error when (for example) : I remove home_lower_panel.xml and I tried to recompile.
For a succefull compil I need to export the classes.dex and ressource.arcs inside my working SystemUI folder.
But after that I have SystemUI stop working when the phone start I use root explorer, I give the good permissions.
Do you think I make something wrong and do I need to make a flash zip and clear data ?
And I don't understand what you mean "Edit: does it belong better in forumdisplay.php?f=1905 ?" ?
Thanks for giving a little of your time for some FlymeOS user.
Hi,
No body with experiences in ICS, JB, CM theming wants to help ? please, take a look on the file which I upload.
Thanks.
Related
Okay guys, I need your help on this one.
As you know, I've already made some black and gingerbread themes, but they all have one problem: the goddamn quick settings icons on the LG header stays white.
This is what I'm talking about:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now, I've found the things that needed to be changed for the icons themselves.
However, I can't find the background and I'm also short on time; thus asking you all for help.
Basically, the best I could do was:
But the image or xml entry must be there somewhere.
So the objective is, start changing whatever image you find until we get it black.
For this, I'll make available a metamorph script.
Instructions:
You'll need metamorph application and this zip.
Now,
1. Extract zip to some folder on your PC
2. Change images you want to test (use paint or something)
3. When you're done editing, add everything to a .zip (with no compression - store only) called LGT.zip
(must have the same structure as the one you downloaded before)
4. Plug your phone to PC and toggle usb connect
5. Drag the edited LGT.zip to the root of your sdcard and unplug
6. Run Metamorph (you need root+busybox)
7. Pick extract zip, go to the root of your sdcard and choose LGT.zip
(in case it asks, choose replace)
8. Pick apply theme and wait until it's done
9. Reboot
10. Check if background is different
If not, repeat the whole process and try to edit another image.
That's it.
If anyone finds the responsible file, please post here.
Thanks!
Not sure I understand you correctly. Are you asking to find the icons used as quick settings knobs?
Here they are (after examining the zip-file you provide):
"LGT\lge-res\res\drawable\bt_off_normal.png"
"LGT\lge-res\res\drawable\bt_on_normal.png"
"LGT\lge-res\res\drawable\gps_off_normal.png"
"LGT\lge-res\res\drawable\gps_on_normal.png"
"LGT\lge-res\res\drawable\network_alwaysask_normal.png"
"LGT\lge-res\res\drawable\network_disable_normal.png"
"LGT\lge-res\res\drawable\network_enable_normal.png"
"LGT\lge-res\res\drawable\sound_mute_normal.png"
"LGT\lge-res\res\drawable\sound_on_normal.png"
"LGT\lge-res\res\drawable\sound_vibration_normal.png"
"LGT\lge-res\res\drawable\wifi_off_normal.png"
"LGT\lge-res\res\drawable\wifi_on_normal.png"
I'm not including the orange _pressed_ icons, as they should not be colored in black.
I was not performing your tests, but these icons are the _only_ icons in your zip-file which can be used as quick settings knobs. Please, excuse me if I don't understand your initial request.
He needs background of those icons.
Icons were easy to spot but background picture can be a few.
Im trying now and see if i succed.
Yep, only the background
Here are two similar threads which may help (I hope!):
http://forum.xda-developers.com/showthread.php?t=899476
http://forum.xda-developers.com/showpost.php?p=10423791&postcount=12
Yup, that's it: lge_status_bar_expended.xml.
Thread can be closed, thanks everyone
I managed to replicate what you did with buttons.
I also numbered everything what could be grey/silver background or tab and then applied so i would know which is.
There is no such picture in that file.
So its either in xml (from what i saw none contains color information) or its in some other file.
Im using void so maybe voids theme overwrites it? But it worked for buttons so i dont know.
If there is any more picture files or if you can release void pictures so i could compare.
Something is weird... I put numbers on pictures and none showed up on any of voids theme... i didnt tried with little buttons tho.
I hope it helps anything even i didnt provide any info.
done
@Noejn. How can i have your same and white clock in the notification bar?
Android.Nis said:
@Noejn. How can i have your same and white clock in the notification bar?
Click to expand...
Click to collapse
You have to edit services.jar
There's a post about it around here somewhere in xda.
Can't you upload lge-res.apk so we can push it ? Or maybe a flashable one ?
P.S: Please check your PM. I've sent you one regarding white text on notification bar.
badeaioan said:
Can't you upload lge-res.apk so we can push it ? Or maybe a flashable one ?
P.S: Please check your PM. I've sent you one regarding white text on notification bar.
Click to expand...
Click to collapse
http://dl.dropbox.com/u/13427114/lge-res.apk
I want a transparent notification bar but i cant find anyone for O2X...
What i want is Jazzk mod but with a transparent notification bar. If you know where i can find one please post the link
Tookiejar said:
I want a transparent notification bar but i cant find anyone for O2X...
What i want is Jazzk mod but with a transparent notification bar. If you know where i can find one please post the link
Click to expand...
Click to collapse
+1 on this
I also want to have a transparent notification bar for my 2X
If you send me your framework I can make you one when o have time.
Sent from my GT-I9000 using Tapatalk
coldflid said:
If you send me your framework I can make you one when o have time.
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
Which one do you need? I got framework-res.apk, framework-tests.apk and framework.jar
Just do it yourself, it's not hard
http://www.droidforums.net/forum/dr...nsparent-notification-bar-pulldown-shade.html
Meltus said:
Just do it yourself, it's not hard
Click to expand...
Click to collapse
I have done like what said in that tutorial & all I got is a black status bar instead of transparent one
So I would prefer someone more professional like Mr.coldflid to do it so I could get the best result possible
Me it behave well.
re - write in - framework/res/drawable-hdpi
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
http://www.edisk.cz/stahni/67511/statusbar_background.9.rar_197B.html
Thx.. Nice one
Does it work with LauncherPro? Because look what it say under the tutorial:
"when using this mod with ADW launcher, launcher pro
or any home replacement app you will need to use a live wallpaper"
eprd said:
Me it behave well.
re - write in - framework/res/drawable-hdpi
http://www.edisk.cz/stahni/67511/statusbar_background.9.rar_197B.html
Click to expand...
Click to collapse
im trying to download this, but the site (edisk) keeps looping after i click download, any ideas?
edit, also tried to do it myself but ninjamorph gets stucked when i press "finish project"
edit2, also when i replace the stock images with the ones provided (same name etc) the image...remains the same (old) (all these before i "finish proj"
zarras said:
edit2, also when i replace the stock images with the ones provided (same name etc) the image...remains the same (old) (all these before i "finish proj"
Click to expand...
Click to collapse
Same for me, after i replaced the image and my phone rebootet, it was still the old background..
i tried to replace the 2 images of usb/mass storage, with 2 of my own (which they were created from the same original files, just to ensure more(?) compatibility), also busybox installed and ninja thingie 2.4.
Same results, the pictures remain the same
(when i choose the replacement image, i got the msg that is ok, but nothing changes)
Attach both framework-res.apk and LG framework and I'll mod it when I have time
sent from gt i9000 with tweaky rom
Here set modified framework-res.apk be enough unwrap in PC plus apk to the LG card plus rootexplorerem serve with a notice rewrote(R/O) originally in System/framework-res.apk
you need to be rooted
https://rapidshare.com/files/3636667193/framework-res.rar
http://www.megafileupload.com/en/file/314068/statusbar-background-9-rar.html
.
@eprd i tried your framework-res.apk , i replaced the original via root explorer then reboot the device, but i get A LOT of FC all the time, any ideas what i might be doing wrong?
(rooted with FR18 modaco rom)
ps, it looks awesome btw, i've checked your icons
@coldflid here are my framework-res.apk and my lge-res.apk
thank you sosososososooso much!
It I don't know . I use original rom .Shall I SuperOneClick made root.In computer adjust apk.Insert amended apk to the memory cards. RootExplorerem transcribe original apk edit apk.
Excuse for English - I don't know it does translator
Transparent only plying LG Launcher
Transparent bar:
http://www.megafileupload.com/en/file/314068/statusbar-background-9-rar.html
Still got no working solution for transparent status bar on stock ROM v10b Optimus 2X using GO Launcher EX
Could anybody help me, thanks
Ive cooked my self a rom in Rom kitchen and the transparent status bar isnt working
I'll download zarras framework and see what i can do.
sent from gt i9000 with tweaky rom
coldflid said:
I'll download zarras framework and see what i can do.
sent from gt i9000 with tweaky rom
Click to expand...
Click to collapse
Thanks Mr.coldflid, I hope you could make a transparent status bar that work with GO Launcher EX
Noticon v1.0
This is my first noobish try to build something useful for the community of o2x.
Most of the work is placed in icons along the notification bar, pull down menu and some screens such as usb alert screen. There are 5 different versions of Noticon with different notification bars and toggle buttons (see below for pics). This theme also includes the BPM of Malicious Ken.
(FR19 ready)
Credits: Malicous Ken (XDA) & Agekalp(MyPhone)
Istallation guide:
BACKUP first...
Download .zip and place it in your external card
Start phone (Vol. down+Power button) and enter CWM
Find your way to the zip you placed in external card
Install zip from CWM's options
ps: im not responsible for any damage you may cause to your hard/software
Pics:
Notification icons (standar in all versions).
Icons like GPS,WIFI,2G/3G are transparent and shinny gloss when their bar(s) is/are empty)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Versions
Below you can see the differences of the 5 versions
(Notification bar & toggle buttons.
1. Koubi
2. Metbor
3. Metorth
4. Paga
5. Stroggy
I hope u like it
PS:
This will work on stock or modaco's roms (Froyo 2.2).
This will NOT work on CM's roms(Ginger) (thanx 75Markus)
For future use
Is the transparency working with GOLauncher EX?
im using launcher pro and its ok (you need a live wp to see the tranparent effect, that applies only to not. bar. rest is ok with or without a live wp)
Woww!! This is great stuff man!! Thanks for making this....
zarras said:
im using launcher pro and its ok (you need a live wp to see the tranparent effect, that applies only to not. bar. rest is ok with or without a live wp)
Click to expand...
Click to collapse
Thank for the reply, will try it
Is there no other workaround to get the transparent effect on not.bar other than using live wallpaper?
As far as i know... nop :-(
Send from my LG990 using Smoke signals
nice, but i´m quite sure it will NOT work on cm ...
Cm doesn´t use lge-res.apk, you have to theme framework-res.apk & sustemUI.apk instead ...
(or cyanbread.apk if you want to make it available in theme chooser ...)
but nice work anyway !
i didnt know that, thnx for the info markus, ill edit my post.
When ill jump to CM (stable) roms ill fix it too
hi how do install it in to my phone? sorry just got my android 2 days ago
anyways, good work !
Looks very nice! im going to try !
tnx!
Hahahaa, ComicSans in the OP. So funny
http://www.agencyfusion.com/intro/
Looks great good job. Works with ADW EX launcher
Sent from my LG-P990 using Tapatalk
this is a very nice mod!
Yeap, ppl was asking for those transparent thingies
Send from my LG990 using old fashioned Smoke signals
Σε ευχαριστω πολυ φιλε....:d:d
work perfectly !!!
thx for the mod status bar and notification zarras work 100% on Arc Launcher
transparan 100% work
only small bug i see . when charging the transparant gone into black
good job
Awesome zarras!
Thank you for your effort to to this.
But could you please offer some other icons in your framework cause i hate those colorful ones
I got you a PM cuz I couldnt post links ´... post leak >.>
or could you tell me (or give me a link to a tutorial) how to create that myself
Thanks, Martin
Hey MoFosis, i saw your links and its a great minimalistic work. Unfortunately atm i dont have much time to spare on this, but i'll keep it in my mind for a future use.
The file packages you have to edit is framework-res.apk & lge-res.apk.
They are located in /system/framework directory. Copy them --> PC, and then open them with 7zip. Your targets are
\system\framework\framework-res.apk\res\drawable-hdpi\
\system\framework\lge-res.apk\res\drawable-hdpi\
In those folders you will find all the icons you need to change
When you are done you copy them back into your phone's /system/framework (adjust permissions is needed use Root explorer or similar)
Ok I'll try my best!
Thank you.
Sent from my LG-P990 using XDA App
I know that the default ICS WiFi icon has arrows (centered inside the main icon), but it seems on at least one ROM - vibranturk's Doc's Master v8 and perhaps earlier revisions - there was some modification made (I don't know if it's a simple configuration edit or what) that produced the arrows on the lower left side of the main icon which makes it far more readable to see when data is flowing on the up(load) or down(load) side of things. Looks like this on Doc's Master v8:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now, I'm still using Doc's ROM but I decided to check out the latest CM9 Nightly (20120407) and it obviously has the pure stock ICS WiFi icon.
My question is simple, really:
How can I figure out how to get the same "look and feel" of the WiFi icon in the Doc's ROM over to the CM9 one, if at all possible. I don't know if it's some custom compile option or not because vibranturk did release a v9 beta ROM but it was only up for a few hours - he's since decided to take a break from his development work on those ROMs and pulled the downloads (but I still have them, of course).
I'm not a ROM "wizard" or anything so I don't quite get what's responsible for the WiFi icon meaning is it a library file, an icon file, etc. If this was Windows Mobile I'd know exactly how to handle it, but it's Android.
Just trying to get that arrows-on-the-side easier-to-read WiFi icon as shown in the pic above instead of the stock WiFi icon where the arrows overlay the primary icon itself.
Could be a simple thing but I spent 30+ minutes searching here and at other locations and I just get tons of no useful info at all. Anything anyone can offer as advice or a suggestion would be greatly appreciated.
I don't think it would be as simple as swapping out a file in the ROM since Doc's v8 is a 4.0.3 based one and the CM9 nightly is 4.0.4 - trying to do this without borking the Captivate, obviously.
Thanks...
SystemUI.apk open with winrar,
navigate to res/drawable-xhdpi and edit the png images 'stat_sys_wifi_in' 'stat_sys_wifi_inout' and 'stat_sys_wifi_out'.
edit images then drop back in winrar to same location, it will ask settings, just overwrite/update files with "storage" compression.
you will need a image editor capbable of editing transparency. there are some web apps like http://pixlr.com/editor/ . move the arrows left and down within the blank area.
there are better more complete guides out there.
they are not .9.png images so no need to decompile /ect. follow simple image themeing instructions.
Awesome, then I'll get started on it here in a bit and see what comes from it. Thanks for the response.
awe screw it here is the images i just modded, as i wanted to try.
you figure out what to do with them. LOL
and just as i went to post this for you i figured .. " coulda just taken them from the rom that already has em'"... duh me. uhg!
have fun!
er now i look at that screenshot again it looks like the wifi bars are higher, i think i am going to have image clipping (touching/overlapping) if i push this right now.
just winrar open the systemUI from the working rom, find the stat_sys_wifiANYTHING.pngs in the hdpi folder and put them in your rom.
I got it, thanks.
I simply extracted the 3 PNG files from Doc's Master v8 and dropped them into the full CM9 ROM archive in the appropriate folder and installed it, simple. The trick was finding out which files needed to be replaced, and you answered that one with your first post. Works great, as expected.
I understand that this is a cosmetic, useless change, but it is for my mothers phone and she just cannot grasp the concept that H is 4G, so I'd like to somehow change the H to 4G for her. This is for the BeanStalk 4.4.2 ROM.
Bebout said:
I understand that this is a cosmetic, useless change, but it is for my mothers phone and she just cannot grasp the concept that H is 4G, so I'd like to somehow change the H to 4G for her. This is for the BeanStalk 4.4.2 ROM.
Click to expand...
Click to collapse
Um, I believe someone will have to decompile the SystemUI.apk and make an xml file that associated the HSPA singal to the H icon to the 4G icon. I don't have any expertise in it, but I can give it a shot when time permits. I think @tys0n might have a bit more experience in this area/
I came to that understanding from this thread: http://forum.xda-developers.com/galaxy-nexus/development/mod-4g-h-icon-hspa-t1633268
Note don't try to use that, it's not meant for our phone, I'll try it for BeanStalk,
Edit: My attempt at trying to replace the icons with 4g just resulted in the top bar just disappearing all together, perhaps someone with more experience can help you out. I'm sure there's a way to do it through the xml files but I can't find anything relevant.
Exothermic said:
Um, I believe someone will have to decompile the SystemUI.apk and make an xml file that associated the HSPA singal to the H icon to the 4G icon. I don't have any expertise in it, but I can give it a shot when time permits. I think @tys0n might have a bit more experience in this area/
I came to that understanding from this thread: http://forum.xda-developers.com/galaxy-nexus/development/mod-4g-h-icon-hspa-t1633268
Note don't try to use that, it's not meant for our phone, I'll try it for BeanStalk,
Edit: My attempt at trying to replace the icons with 4g just resulted in the top bar just disappearing all together, perhaps someone with more experience can help you out. I'm sure there's a way to do it through the xml files but I can't find anything relevant.
Click to expand...
Click to collapse
An easy way would be to push the SystemUI.apk from "/system/priv-app/" to your computer.
Unzip it, go to "/res/drawable-hdpi/" and simply switch names of the H/4G icons, or LTE icons.
Open original SystemUI.apk again but without unzip, then just drag all renamed icons in there and overwrite the old ones.
This will at least change the icons in statusbar to show 4G or LTE instead of H.
Took me about five minutes, now it says LTE.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
tys0n said:
An easy way would be to push the SystemUI.apk from "/system/priv-app/" to your computer.
Unzip it, go to "/res/drawable-hdpi/" and simply switch names of the H/4G icons, or LTE icons.
Open original SystemUI.apk again but without unzip, then just drag all renamed icons in there and overwrite the old ones.
This will at least change the icons in statusbar to show 4G or LTE instead of H.
Took me about five minutes, now it says LTE.
Click to expand...
Click to collapse
I decompiled and recompiled it using andriod apktool or android multitool.
It's possible to unzip the files using winrar or 7z?
Exothermic said:
I decompiled and recompiled it using andriod apktool or android multitool.
It's possible to unzip the files using winrar or 7z?
Click to expand...
Click to collapse
Yes. Just like any other archive.
Switch names of the icons in the unzipped folder, open the unzipped SystemUI.apk and drag them in there to update the changes.
I pushed it back while I was in twrp and chmod to 0644.
I think this works as long as nothing is being removed or added