yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] beekay201:
great guide man :) thumbs up

just one thing,

"It will list the available builds. Number 8 should be for maguro-user debug."

'. build/envsetup.sh' doesn't do 'lunch', it only sets environment variables needed to build.

'lunch' command displays that list, where you say that "Number 8 should be maguro-userdebug".

also, you can run 'lunch full_maguro-userdebug' or 'lunch full_maguro-eng' directly (the latter if you want root access/insecure boot.img), instead of going everytime through that list of options.
[Samsung Galaxy Nexus] jonata:
Hi Pendo,

compliments for your work !

any chance to have your job also for Android 4.0.2 (ICL53F firmware), like ARHD 2.1.2 ?

TKS MATE
[Samsung Galaxy Nexus] pendo:
Oh, how embarassing... You are of course quite correct. I can't believe I missed that, lol. And I thought I was being real thorough in my instructions. Yes, very very important step. I have, of course, corrected the op to add the missing step.

Thank you for pointing that out.
[Samsung Galaxy Nexus] pendo:
If you're referring to my earlier reference to the SystemUI I made previously it is here's the link. That one also has Paul's softkey mod that I did as a smali edit.
[Samsung Galaxy Nexus] jonata:
intended for trasparent statusbar (or translucent) ...

right ?
[Samsung Galaxy Nexus] kgbrown247:
have a running enviroment on vmware. how would i go about editing statusbar.java - translucent on per say an existing systemui.apk? since there no transparent softkey mods, i would like to create one or can this be done via apk multi tool and smali edits
[Samsung Galaxy Nexus] pendo:
Hey there...I replied to you in the other thread before I saw this, sorry.

Your question is a little confusing to me....statusbar.java does not exist on an existing build. The .java files only exist as source files (ie precompiled state)....once it's compiled they become part of the classes.dex in the apk. Now, thanks to JesusFreke, we can disassemble that classes.dex into .smali files. But they read quite a bit different than what you see in the java files.

Yes, all this can also be done after it's built. That's actually how I did it for 4.0.2, but it was a pita to decipher what all I needed in smali form from Paul's mods. I had hoped that I could figure out the source code to change, but that's still a bit too much for me right now....but I'm working on it (hopefully the java class I'm taking this semester might help). The source code changes for translucency only are pretty simple.
[Samsung Galaxy Nexus] idle0095:
anyone want to make me this for akop build 13 rom?
[Samsung Galaxy Nexus] irb123:
Anyone gotten this to work on cdma with cm 9 yet?
[Samsung Galaxy Nexus] :
Can someone do a Screenshot for this? I am on aokp 13 and would like to see what it looks like before I flash this.

Thx
[Samsung Galaxy Nexus] JamieD81:
Backup your systemui.apk because you WILL lose you soft buttons and notification bar. The zip in op is for asop rom and aokp is to far modified.

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] mistermojorizin:
is this for maguro only? won't work on toro?

could you make a file that can be flashed over gummy nex?

Also, I've flashed a softbutton mod over gummynex already, will flashing this over that mess them up? or could I flash this and then reflash the softbutton mod?

Thank you
[Samsung Galaxy Nexus] jabbawalkee:
Is it possible to change the status bar to a custom image altogether or will this only allow us to adjust transparency? Thanks in advance man. Good work :)
[Samsung Galaxy Nexus] pendo:
Hello guys,

First, thanks for the compliments some have said. They are appreciated for sure.

As you might be able to guess from my less than rapid replies, I really just cannot support constantly updating this with all the various rom builds that are out there. I have not looked into doing this as a smali only edit recently but if I get some time I will try.

I will NOT be spending anymore time trying to replicate Paul's softkey mod though so I will most likely just try to do it to a SystemUI that already has that in place. *If possible*, I'll try to update the OP with some sort of universal instructions for a smali edit.

Here's an early screenshot from when I was initially trying the mod. Sorry, it's the only one I personally have. That said, I would not flash what was posted earlier in this thread unless you are on an aosp 4.0.3 build only. It does not contain any softkey mod. If you flash this on an incompatible rom, your statusbar will fc as well as your menu keys.

See the above caution....in other words, no it won't work.

Yes, and in fact that is the initial way I did this mod. There's a couple ways to do this....you could either remove the entry for status_bar_background in drawables.xml. Then you'd place the png you wanted in drawables-xhdpi and name it status_bar_background (you could use a 9 patch if you like). The other way would be to add your png but name it whatever you wanted. Then you'd need to change the background in res/layout/statusbar.xml to whatever you named your png in drawable-xhdpi.
[Samsung Galaxy Nexus] jabbawalkee:
You rock! Thank you. I will give this a go when I get to my computer later today. I'm good with the design stuff but always struggled on the more technical stuff

Time to port my MattedBlues theme to ICS :)
[Samsung Galaxy Nexus] cristian.hl:
i think that put a png transparent with a color for the status bar is the best option.

i'm trying with bad results...

it's possible to remove the dark background of soft buttons and put a color?

thanks
[Samsung Galaxy Nexus] MK17:
Thanks for this. I am just beginning to try to code in Android and this was very helpful.

I'll see if I can get this in 4.0.2 or maybe I'll just move on to 4.0.3

Either way, thanks.

PS- Is there any reason for the gradient on your back ground before you get to the soft keys?

-MK
[Samsung Galaxy Nexus] Pikabob:
Can anyone get this to work on aokp?
[Samsung Galaxy Nexus] altimax98:
I'm going to try it in a few. You can make the same mods w/o compiling aosp by using apktool d . It is a little different in smali so I will have to find it and see what I can play with.

Sent From Nexi - The Galaxy Nexus
[Samsung Galaxy Nexus] bryannh:
+1 for aokp
[Samsung Galaxy Nexus] fatsix:
I've gotten the colors to change. But setting the alpha level has no effect. It has to be enabled somewhere. Ive been all through the xml and smali files and found nothing. This is on a decompiled systemui.apk. I've also left the status_bar_tile_bg.png as just an empty alpha layer. Seriously annoyed.....
[Samsung Galaxy Nexus] altimax98:
Smali is the problem. You need to be editing the straight Java code to get it working. I know that there is a way to decompile an apk into Java but I don't think there is a way to recompile it.

At this time source editing is the only way

Sent From Nexi - The Galaxy Nexus
[Samsung Galaxy Nexus] kgbrown247:
I have tried a dex2jar kit but it does not decompile correctly. I was hoping to get the java files needed, edit, put edits into source, and rebuild systemui from source. :thumbdown:

Sent from a full AOSP GNex via Tap
[Samsung Galaxy Nexus] RogerPodacter:
so i guess theres no way i can use this on stock 4.0.1. I dont yet have my ubuntu rig setup yet to compile myself. And i was looking to make my status bar and soft buttons transparent so the wallpaper was visible beneath.

Did systemUI apk change that much from 4.0.1 to 4.0.3 so that it wouldnt be compatible?

Awesome thread btw. Love anything to do with compiling aosp code changes:).
[Samsung Galaxy Nexus] ogdobber:
roger! a familiar face from the good old nexus one;)

yes sadly, the systemui is different betwwen .1 .2 and .3, too much change
[Samsung Galaxy Nexus] RogerPodacter:
Howdy og:). What a coincidence i just was browsing your github just taking a look thru the source thinking of forking for fun. Guess i'll have to wait on the status bar till then and when i upgrade to 4.0.3. This galaxy nexus reminds me of good old n1 days in terms of how great of a device i thought it was. I skipped over the nexus s but the GN is def worth it!
[Samsung Galaxy Nexus] pendo:
That gradient is part of Launcher2.apk. So I tried to match bottom of that gradient to use as the background for the softkey area.

You can do this as a smali edit. The first time I did this it was as a smali edit. And in fact, I've just edited post #3 with some instructions that I *hope* will be universal. Well, universal with aosp roms that is. I worked on a Sense based SystemUI that was a tiny bit different recently.

There really isn't a way to decompile back to original source java. Apktool used to have a debugging feature that would show .java file extensions rather than .smali but it really pretty much the same thing, but also added class declarations. This is so it could be used in an IDE. However, this feature appears to be broken in the newest apktool. I don't know whether this feature is being phased out or if it's just a bug in the new apktool, however it does appear to work in older versions.
[Samsung Galaxy Nexus] fatsix:
Thanks for the added notes. Helps a ton with a place to start. Decompiling to .java with windows is a no no, it wont compile correctly so i have read...
[Samsung Galaxy Nexus] fatsix:
I got the status bar transparent and half of the notification bar transparent. The top half is transparent and the bottom half is solild black. Ugh.:confused:

I think there are some more smali edits. Changing the gradient color on the dock isn't working either. The status bar does look great tho. Thanks again.
[Samsung Galaxy Nexus] probaina:
You wouldn't happen to have this with transperent soft keys would you? Thanks.
[Samsung Galaxy Nexus] kgbrown247:
can you post or pm me the edits you have done this far. Ill rock half transparency:D

Sent from a full AOSP GNex via Tap
[Samsung Galaxy Nexus] RogerPodacter:
just to double check, i'm on stock 4.0.1 and rooted. There's no smali edit i can do pulling my own apk to get any transparent bar? Just wanted to make sure i didnt miss something short of compiling the changes with 4.0.1 source myself...
[Samsung Galaxy Nexus] 6jaipur6:
You know how i can make the status and softkey bars transparent and to have in the same time custom mods of softkeys? Because every time i try to flash the zip from here to phone the customed softkey dissapeare...
[Samsung Galaxy Nexus] Treken:
Pendo, maybe you or someone here can help me out. I tried using apk manager to de-compile the systemui.apk but got some error saying it couldn't find the apk in either the unsigned folder or the signed folder. Basically I want to make the edit to the xml file and then re-compile and pull the file from the apk that creates the transparent feature.

edit: I managed to decompile the systemui.apk. I will post results later. Thanks
[Samsung Galaxy Nexus] pendo:
This is very interesting....thank you. The reason I say this is that it is the exact same result that happened when I attempted to help another rom dev recently.

I have not ever heard back if he found the issue but one of my guesses was that the wallpaper image itself wasn't large enough. Could you try a different sized background please and report back?

The smali edit should be the same for you on 4.0.1. Actually this one that I did in the other thread should work. *note it also has my circle battery mod.
[Samsung Galaxy Nexus] pendo:
Once again....the zip that I made for 4.0.3 ONLY contained transparency edits. It did not include Pauls softkey edits. I did add the softkey edits one time to 4.0.2 and I decided I didn't want to do that anymore, lol. It would be far easier to add the transparency edits to something that already has the softkey mod and the instructions in the 3 post should get you there. *exception being the half black bar that's been reported twice now....needs further investigating on that issue
[Samsung Galaxy Nexus] fatsix:
I don't think its the wallpaper size. Because when you mess up the systemui.apk it disappears and you have a full screen. I have tried multiple sized wallpapers with no luck. I have also tried making every editable color in the xml transparent, and its always there. Working on the gradient for the dock now, that has to go.

Edit: What is also odd is that my statusbar is 100% transparent in portrait, and the alpha that i actually wanted, works in landscape and the notification bar is the proper full transparency. Which makes the dock gradient look like ass.
[Samsung Galaxy Nexus] pendo:
The gradient for the dock is a png called hotseat_bg_panel.9.png in Launcher2.

For the life of me I can't figure out what would be causing that half black bar. I've looked over the source code and I'm not seeing it. Do the "pressed" highlights show up right? If you don't mind, please attach your SystemUI so I can take a look as well.
[Samsung Galaxy Nexus] poloboogie:
Pendo this is off topic but where can I get that wallpaper with the lady in the thong?
[Samsung Galaxy Nexus] b33zu:
This doesn't work on the revolution HD rom. Bummer
[Samsung Galaxy Nexus] pendo:
http://bit.ly/ve19hU

Did you try the mod? LTE or GSM?

If you're gsm you can try this one (backup first!)

RevHD-gsm-transstatus-signed.zip
[Samsung Galaxy Nexus] pendo:
edit duplicate
[Samsung Galaxy Nexus] fatsix:
From Codename Andriod 1.0.1
[Samsung Galaxy Nexus] jonata:
Hi Pendo,

used your trasparent mod for 4.02 rom and I'm very happy !

you know that the statusbar not is 100 % trasparent (maybe 90%) ...

can I have FULL 100% trasparent ?

here my systemUI.apk

tks in advance bro ...

;)
[Samsung Galaxy Nexus] fatsix:
If you go 100% transparency, it gets annoying because you have to watch which backgrounds you use. Sounds cool, but it ain't. I think pendo is running 65% transparency, i wouldn't go anymore than 80% and thats because i can change alot of other things to make it work.
[Samsung Galaxy Nexus] PapaWangsta:
Can any1 make the transparent status bar for AOKP 15!!
[Samsung Galaxy Nexus] fatsix:
I'm going to be releasing my personal setup for Codename Droid as soon as a i get two things worked out.

Navigation Transparency

Text under the icons (does anyone know where this is controlled?)
[Samsung Galaxy Nexus] jonata:
tks for reply bro ....

please, can you modify my system.UI to became 80 % trasparent ? (the file is original from pendo ... I change only somes icons)

tks mate

;)
[Samsung Galaxy Nexus] mfish123:
+1 or better yet for AOKP M2
[Samsung Galaxy Nexus] poloboogie:
so has the the transparent dock issue been fixed yet
[Samsung Galaxy Nexus] fatsix:
You mean navigation bar? Nope.

Does anyone know if AOKP uses the same SystemUI for the milestone and nightlies?
[Samsung Galaxy Nexus] gagaohlala:
This is good for ICS 4.0.2 GSM Stock Rom ? I put it in my /system ?
[Samsung Galaxy Nexus] jonata:
yes it very good !

put it on /system/app ....

from original I change icons for wifi signal, battery and signal bar ...

notes that ALL works is from Pendo !!!!

:)
[Samsung Galaxy Nexus] pendo:
Try this and report back.
[Samsung Galaxy Nexus] jonata:
hi Pendo,

it's possible port to 80% trasparence im my systemUI.apk ?

this is the file ...

tks mate

;)
[Samsung Galaxy Nexus] fatsix:
ehhh. Still got black status and notification... Did you set any alpha? The glow is hanging on the soft keys as well.
[Samsung Galaxy Nexus] Schoat333:
I'm trying to do this with Gummy 5.0, and getting the same result with the glow sticking. I'll keep working, and report back if I figure it out.
[Samsung Galaxy Nexus] jonata:
quot myself :

any help ?

tks
[Samsung Galaxy Nexus] pendo:
My bad, you're right I didn't touch drawables.xml, duh. Ok, here's another. As far as the handing pressed image...I'm not sure what's going on there. I don't recall anyone mentioning it before. So it just stays highlighted? Is it otherwise fully functional?
[Samsung Galaxy Nexus] pendo:
yeah, here's some help....decompile with apktool, and open res/values/drawables.xml and then set the value for status_bar_background to "cc000000"

**how to convert % to hex value**

Opacity is measured on a scale from 0(invisible) to 255(fully opaque). In this specific case there you need 4 values, 3 for the RGB combination and then a fourth that's for the overal opacity of the combined colors. The follow an ARGB arrangement (Alpha, Red, Green, Blue). Each value is a 2 digit hex, so you'll have 8 total alphanumeric values. So to get 80%--> .8 x 255=204. There's plenty of hex converters available for you to make it easy. Plug in 204 as your decimal number and it will tell you that "cc" is the hex equivalent. So "cc000000" would be black that's 20% transparent or 80% opaque, however you wish to call it.
[Samsung Galaxy Nexus] jonata:
ok,

downloaded apktools (windows) and exctracted to a folder.

then open terminal, go to folder and digit apktoll ...

but this is what I see : "java is not a internal or esternal command ...." where I?m in wrong ?

Like decompile systemUI but I've this error ...

tks for help Pendo
[Samsung Galaxy Nexus] fatsix:
It has a low glow that sticks. Kinda weird, but it goes away. I didnt have this issue on the ones i modified previously, it might be modifications the dev has made to the glow speed. The newest one does not effect the navigation bar at all, i edited the xml as well. Solid black.
[Samsung Galaxy Nexus] Schoat333:
I was able to get the navigation bar transparent on gummy 5.0, but I get the problem where the wallpapaer doesn't go all the way down, it only goes half way behing the softkeys.

When I was messing around, I had a bad systemUI that FC'd. When that happened, my wallpapaer did the same thing. I tried several differnt pictures, and all had the same result, so its not the res.

I think it may be a setting for max wallpapaer height that needs changed. Anyone have any ideas where that would be?
[Samsung Galaxy Nexus] jonata:
@Pendo :

resolved all my problems !!!

tks very much ...

another question :

I want 100% trasparent statusbar :

decompile systemui and then edit the xml file, set the value for status_bar_background to "ffffffff"

right ?

tks mate
[Samsung Galaxy Nexus] fatsix:
smali edits to enable. XML to set the color. ffffffff will be solid white.. you need to change the first two digits.
[Samsung Galaxy Nexus] jonata:
sorry but don't understand .... :o

I edit this :

res/values/drawables.xml

and then set the value for status_bar_background to "ff000000" (orignal value was "00000000")

also in this way trasparent no 100%

there are other files to edit ?

tks
[Samsung Galaxy Nexus] ciscogee:
Hi all. Looking good on mod. I want to try and port the softkey mods on my froyo leaked sch i400. We don't have a systemui. Apks. So I'm sure they would be in framework/twframework. Any ideas on if i can get it to port.
[Samsung Galaxy Nexus] fatsix:
ff is 100% opaque. 00 is 0% opaque. 31 is 20% opaque. CC is 80% opaque.

You hushed edited it from being completely transparent to completely solid black.
[Samsung Galaxy Nexus] b33zu:
Come on people let's get this mod flash able already. :)
[Samsung Galaxy Nexus] jgrimberg1979:
Can someone please shed some light on my issue. I can't seem to make the navigationbar transparent for the life of me. I have got the transparent statusbar up and running but I don't know how to change the nav bar to transparent. I have already made the edits for the navbar in navigationbar.XML for transparency but I still have the black bar no matter what launcher I use. Help would be great thanks

Galaxy Nexus

twitter = @jtgr6
[Samsung Galaxy Nexus] AlisCZ:
Anyone got this working on AOKP (build 17)? I tried it trough the smali edit just like in the #3 post, but statusbar and soft keys disappeared.

AOKP should be deodexed. I'm confused.
[Samsung Galaxy Nexus] PapaWangsta:
Try ask fatsix, he did it! :)

Here's the link for the AOKP 17

http://rootzwiki.com/topic/15099-mod-transparent-status-bar-navigation-bar-dock-aokpcnd/
[Samsung Galaxy Nexus] AlisCZ:
Thanks for pointing me the right thread but it looks like fastfix did exactly same smali changes like pendo did. I'm going to PM him though. Thank you very much.
[Samsung Galaxy Nexus] fatsix:
I believe I have found the answer to the half transparency. I need to do more testing first.
[Samsung Galaxy Nexus] kgbrown247:
How exciting!

Sent from a full AOSP GNex via Tap
[Samsung Galaxy Nexus] muneho:
I use AOKP build 19.

I tried smali and xml edit according to post #3.

Then status bar became translucent, but navigation bar still black.

Anyone help ?
[Samsung Galaxy Nexus] aras1:
i can't find the files from post #2

where is statusbar.smali , i have searched everywhere but couldn't find it
[Samsung Galaxy Nexus] fatsix:
The problem with the half black, half transparent navigation bar is the launcher. The stock launcher, CND Launcher, and Trebuchet do not modify the wallpaper or screen size. However Nova Launcher does. SO this Full transparent status bar and navigation bar only works with Nova Launcher. I have not had time to look into this. If someone knows what Nova Launcher does to modify the screen/wallpaper size, this would be an easy mod to the other launchers.
[Samsung Galaxy Nexus] kgbrown247:
Do the smali edits posted throughout this thread should theoretically work since I only use nova? I only run tranquil ice. Will give it a shot. Seen your work on rootz but my rom is incompatible

Sent from a full AOSP GNex via Tap
[Samsung Galaxy Nexus] Schoat333:
I found this in Gummy launcher as well, wich makes sense because it is based on Trebuchet.

2nd edit

OK I'm losing it. I changed the systemUI and not the Launcher....
[Samsung Galaxy Nexus] fatsix:
1 of 4 things will happen.

1. It will **** out errors on compile

2. Everything will be wonky if it loads and doesnt FC.

3. Nothing will change.

4. It works.
[Samsung Galaxy Nexus] pendo:
Good find. I couldn't think of why my original edits would cause any issues. Similar to how certain launchers would "override" transparency in gingerbread.
[Samsung Galaxy Nexus] kgbrown247:
I can't remember as I took a break, does sytemui need to be signed when recompiling?

Edit: nope

Sent from a full AOSP GNex via Tap
[Samsung Galaxy Nexus] Schoat333:
I gave up on the gummynex launcher, and just went with nova. Transparent nav bar works now!

Nova has so many options that I'll just stick with it. (had to make a few of my own modifications of course)
[Samsung Galaxy Nexus] PhilPan:
I followed the directions below and when I go into the res/values/colors.xml; the only two option i have to change are;

<color name="status_bar_recents_app_label_color">#a6000000</color>

<color name="notification_list_shadow_top">#80000000</color>

Would I change one of these? I am on AOKP 19....Thanks in advance.

"From the root of the SystemUI directory, open res/values/colors.xml. Find the entry for “status_bar_background” and change it’s value to whatever you want. In mine I’ve set it to “a6000000” which black but 35% translucent. The first 2 characters control the opacity on a scale from 0-255 where 0 is completely transparent and 255 is fully opaque. That value is then stated in hexadecimal format; e.g. 0=00, 255=ff."
[Samsung Galaxy Nexus] kgbrown247:
Did the edits. Transparent show at the bottom when curtain is pulled. When nav buttons are pressed, background stays as if still pressed, no transparancy at top. Any one making progress? Still using nova with tranquil v6

the only change i did not make in reference to the diy instructions was in phonestatus.smali

my phonestatus.smali[\B]

const v4, 0x4800068

move v2, v1

move v5, v1

because it keeps force closing systemui when booting up. any help would be appreciated.

disregard, got it.

Sent from a full AOSP GNex via Tap
[Samsung Galaxy Nexus] PhilPan:
I have been trying to get this to work to no avail on AOKP 19. Can someone please post some clear instructions on what to do for AOKP 19?

Thanks
[Samsung Galaxy Nexus] xxxdc5:
At risk of asking a question that has been asked 57 times.... can I flash this on stock rooted 4.0.2 ROM? Thanks

I'll edit if after I scan a few pages I don't see the answer