yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] mumaster20:
Hey, i tried using this on my Galaxy S1, 4.2.1 rom.

The status bar became smaller, but now its just a black bar at the top of my screen.

Got any ideas how i could fix that? or did i do something wrong?
[Android Software/Hacking General [Developers Only]] enryea123:
did you edit correcty the smali file? when everything it's ok except the bar being black it is due to it.
[Android Software/Hacking General [Developers Only]] mumaster20:
Yeah i did, i just re edited it, going to re-flash now, and see if its changed.

---------- Post added at 07:33 PM ---------- Previous post was at 07:21 PM ----------

Awesome! looks like i messed something up at the smali file!

Awesome mod haha, thank you very much!
[Android Software/Hacking General [Developers Only]] enryea123:
:highfive:oyeah
[Android Software/Hacking General [Developers Only]] Gilbert_Sarip:
does it work on CM7???
[Android Software/Hacking General [Developers Only]] lukakas:
This is not a function of the launcher because I already tested in other types of launchers. I know it's time consuming to do at the very source, but if you could do you can send the CyanogenMod gerrit review.
[Android Software/Hacking General [Developers Only]] enryea123:
no. (please use the "search this thread" button before posting)

ok. but i'm still not able to do it.
[Android Software/Hacking General [Developers Only]] enryea123:
For people interested in having only a transparent status bar (not hidden),

I've managed to make it work on cm10.1 and.... it looks very bad.

It has terrible color issues because it is not transparent only in the homescreen but in the entire system.

So in the homescreen it's transparent (ok), in the settings it's black (ok) but in some other apps it has different colors (depending on the app)!

For example: in google talk, contacts and chrome it's light grey (super ugly) and in the play store and browser it's dark grey (ugly).

Moreover the only way to make it transparent is to compile it from the source! You need a powerful computer with at least 30gb of free storage and A LOT of time if you've never done it before.

If you want to try it anyway, watch THIS useful post made by evilisto (and make sure to thank him). If you are using apex or nova you don't need to modify the launcher2 source code.
[Android Software/Hacking General [Developers Only]] zellleonhart:
I edited smali and reflashed, it is the same. The top portion is not reserved for the status bar anymore (so smali is correct), but the blackbar overlaps my homescreen. I guess transparency is not set correctly. Do you know which part?

See the screenshot, the top part is black and overlapped my widget and homescreen. I set to 7 dip. (using nexus 4)
[Android Software/Hacking General [Developers Only]] enryea123:
so everything looks ok except the status bar color.

make sure to follow correcty this part of the guide

make sure to type #00000000 (eight zeros)
[Android Software/Hacking General [Developers Only]] zellleonhart:
I am sure I already made this part correct... It is okay then, maybe it is not suitable for my ROM. I will try again another day. Thanks anyway!

Sent from my very paranoid and harsh Nexus 4
[Android Software/Hacking General [Developers Only]] enryea123:
I just installed paranoid android (2.99 - android 4.2.1) on my galaxy nexus to test it and it works like a charm.
[Android Software/Hacking General [Developers Only]] zellleonhart:
Perhaps if you can help me to edit my SystemUI.apk? I have uploaded it here http://dl.dropbox.com/u/2653808/SystemUI.apk

I just re-edited and flashed but still can't :(
[Android Software/Hacking General [Developers Only]] enryea123:
you have to upload also your framework-res.apk
[Android Software/Hacking General [Developers Only]] zellleonhart:
here is it https://dl.dropbox.com/u/2653808/framework-res.apk

Thanks in advance!
[Android Software/Hacking General [Developers Only]] enryea123:
voilà https://www.dropbox.com/s/uhaxpb8g4c24wg0/for-jiatern.zip
[Android Software/Hacking General [Developers Only]] zellleonhart:
Thanks! I will flash right away!

ADD ON: Looks like it is really my device's problem... Still got that black bar overlay. I even wiped cache and dalvik just because.

Maybe my rom (the exact nexus 4 ROM) doesn't support the transparency or any other reason... Can't figure out :(
[Android Software/Hacking General [Developers Only]] enryea123:
i'm sorry. it is really weird
[Android Software/Hacking General [Developers Only]] TToivanen:
Hello,

I did everything as instructed and readied a flashable zip.

When I it boot up it says "Android is updating, optimizing applications"

Then right when it says "starting applications", I get in a bootloop. Using CM10.1.

I've tried both a flashable zip and adding the two .apks to ROM.zip as well as pushing via ADB. No success.

Any ideas?
[Android Software/Hacking General [Developers Only]] enryea123:
hmm.. have you tried using another zip file? did you edit properly every file? i've never had bootloops (not even when i accidentally wrote framewrok-res instead of framework-res). Which is your device?
[Android Software/Hacking General [Developers Only]] TToivanen:
I'm on HTC One X. I'll do one more attempt but now I take the base files from a clean ROM.zip instead of pulling them from device.

I do not need to sign them, right?
[Android Software/Hacking General [Developers Only]] enryea123:
Well, you'd better firstly boot the rom without any modifications and then flash the zip with modified systemui and framework-res.

If i were you I would download a mod for the htc one x on xda, then empty the downloaded zip, and then put the files inside it using 7zip and flash it.
[Android Software/Hacking General [Developers Only]] TToivanen:
I did everything you told and it failed to boot totally. Stuck at CM spinner.

I am probably doing some noobish mistake at some point...

Anyways I'll try again tomorrow and find out which one of the apks is causing trouble and also which individual line of code is it. It's gonna be a lot of flashing! :)

Taking a logcat too if I can.
[Android Software/Hacking General [Developers Only]] enryea123:
At this point a question arises to me: have you installed some mods on your rom? maybe these mods include framework-res.apk ok SystemUI.apk and so you have booting problems. OR maybe you downloaded the wrong nightly zip and the framework is uncompatible with your rom for some update reasons.
[Android Software/Hacking General [Developers Only]] xegroeg:
hi. i'm going through this guide after doing what's below on a stock (but rooted) nexus 4.

adb shell to tar system/* and then pull to my local machine, untar + copy out the framework-res.apk and SystemUI.apk.

i hit a wall on the last part of the guide, SystemUI/smali/com/android/systemui/statusbar/phone/PhoneStatusBar.smali does not exist so i'm not sure what to do next. i've read that smali is an assembler/disassembler for the dex format used by dalvik. so i grabbed smali and baksmali from http://code.google.com/p/smali/wiki/BuildProcedure and have tested this on framework/android.policy.odex with success. does this sound right? i don't see any .smail files until i go deep into the out directory? seems like a lot of work to 'deodex all the files', and im not really sure if this will get me to where i need to go. an experienced point in the right direction would be much appreciated! :eek:
[Android Software/Hacking General [Developers Only]] enryea123:
You are on a stock rom, google stock roms are odexed! it means that you'll find the smali files of SystemUI.apk into SystemUI.odex (they are in the same folder). So just follow the entire guide except for the smali part.

Then decompile SystemUI.odex with baksmali.jar and you'll find phonestatusbar.smali inside it, and then recompile it with smali.jar and make a zip with SystemUI.apk, SystemUI.odex and framework-res.apk
[Android Software/Hacking General [Developers Only]] xegroeg:
ah... thanks so much!
[Android Software/Hacking General [Developers Only]] oddspec:
This is so cool way way to complex for me Id mess it up hope a simpler way comes about one day
[Android Software/Hacking General [Developers Only]] Bartidesigns:
Is it possible to make flashable tweak for Galaxy SII? Cause this mod is cool! :))
[Android Software/Hacking General [Developers Only]] oddspec:
It would have to be different for each phone each ROM hence y the op said he originally had to flash over 50 zips to achieve it I'm sure someone could after the files for u but then everyone would be asking for someone to do it for them

http://mycolorscreen.com/oddspec/
[Android Software/Hacking General [Developers Only]] enryea123:
unfortunatly it doesn't work on samsung roms
[Android Software/Hacking General [Developers Only]] Bartidesigns:
Yea I know, but I have CM 10.1 on my GSII. :)
[Android Software/Hacking General [Developers Only]] enryea123:
In that case it works. But it is worthless to make a flashable zip since it must be update for almost every nightly
[Android Software/Hacking General [Developers Only]] Bartidesigns:
So, when I will follow your guide, the nightly build will not destroy the tweak? :)
[Android Software/Hacking General [Developers Only]] enryea123:
Well, it's better to update the tweak for every nightly, especially when the framework-res or systemui of the rom has been updated from the cm team
[Android Software/Hacking General [Developers Only]] Bartidesigns:
Oooh cool! Yea now I need to learn how to work on apktool etc... :( Cause at the moment I not understand the guide .. :(
[Android Software/Hacking General [Developers Only]] JBO0560:
I've done everything from the tutorial but nothing changes after I flashed the file :(

Do you have any ideas why nothing is changed ?

Thanks
[Android Software/Hacking General [Developers Only]] enryea123:
Which zip did you use to flash the file? Try to use the one attached in the first post.

And make sure to put the files in the correctly directory:

SystemUI.apk into system/app

framework-res.apk into system/framework
[Android Software/Hacking General [Developers Only]] JBO0560:
I've double checked it and added my file to this post...would be nice if you could find out whats the problem...

But my SystemUI is a little bit different from the tutorial...

The first step after opening SystemUI/res/layout/status_bar.xml i should replace the line with ..."android:id="@id/status_bar_contents"...but in my file there is no entry like that...it's called "android:id="@id/icons" but except that everything else in that line is equal...so I changed all the other values but that id...

Or could you upload your flashable zip ?

Thanks for your help
[Android Software/Hacking General [Developers Only]] enryea123:
which rom and device are you using?

my flashable zip is already uploaded at the end of the first post.

i've checked your files and everything it's ok, so it is a problem with the zip.

try this: download a rom for you device on xda and use that zip file.
[Android Software/Hacking General [Developers Only]] JBO0560:
Finally the statusbar disappeard by using the original rom files :)

But it's no longer working...I'm using TSF Shell to Expand the bar by using a gesture but nothing happens :(

Any idea what I could have destroyed now ^^

I'm using a Xiaomi Mi-2 with stock Android for it called "miui_NativeMI2_QCS99_ede5454314_4.1" Android 4.1.1

Thanks so far :)
[Android Software/Hacking General [Developers Only]] enryea123:
try to set an higher status_bar_height in framework-res.apk -> /res/values/dimens.xml

try with 8dip
[Android Software/Hacking General [Developers Only]] Bartidesigns:
Can somebody make an video guide to apply this mod? It's great, and still don't know how to apply it.. :(
[Android Software/Hacking General [Developers Only]] SahilC:
Alright so I'm a big noob with modding and stuff.

I just need to ask a few things, if you could tell me where I'm going wrong then that would be great!

Okay so you decompile the framework apk, make all the changes, recompile it, stick it back in the rom instead of the old framework apk, and then do you need to re flash the rom?

Also, just wondering, why wouldn't it work on the lockscreen? The lockscreen does allow you to pull it down normally , right?
[Android Software/Hacking General [Developers Only]] Shmi117:
If you made changes to the framework and then reflashed your ROM over your changes, obviously you'd lose all the changes. Its simple logic here, people.
[Android Software/Hacking General [Developers Only]] SahilC:
No, that's not what I'm saying. Please hear me out first.

I make the necessary changes, then do I need to flash the rom with the modified apk? Or can I just reboot
[Android Software/Hacking General [Developers Only]] Shmi117:
You just need to push the changes into the correct directories, set correct permissions, then reboot.
[Android Software/Hacking General [Developers Only]] SahilC:
Oh great. Thanks so much man. :D
[Android Software/Hacking General [Developers Only]] enryea123:
exactly, you just have to replace the two files without reflashing the entire rom.

If you use a lockscreen app like widgetlocker, it will work in the lock screen too.
[Android Software/Hacking General [Developers Only]] SahilC:
Great thanks man! :D

But not on normal lockscreen right?

I just can't imagine why. All you're doing is reducing the size and making it transparent right? Shouldn't it work normally?

Anyways, I'll be trying it out ASAP! :D

Sent from my Nexus Prime powered by AK goodness!
[Android Software/Hacking General [Developers Only]] enryea123:
I can't figure out why it doens't work in the normal lockscreen, probably something related to the fact that the lock screen is different from all other applications
[Android Software/Hacking General [Developers Only]] SahilC:
Probably. I hope someone figures it out :D anyways can't wait to try this out :D

Sent from my Nexus Prime powered by AK goodness!
[Android Software/Hacking General [Developers Only]] oddspec:
So instead of trying trying to do this I just was told but another user use cm expand desktop then install smart status bar app and bam u can still pull it down

sent from the samsung galaxy airplane (i747)
[Android Software/Hacking General [Developers Only]] SahilC:
Yeah I used to do that, but I noticed that my device was slowing down a lot. Probably because they had to restart the system UI every time.

I prefer this mod. :)

Sent from my Nexus Prime powered by AK goodness!
[Android Software/Hacking General [Developers Only]] SahilC:
Okay so I've been trying to do this.. I downloaded all the files in the link in the OP and all but I'm just so confused.. I even tried TickleMyAndroid but I'm not even sure what to do there..
[Android Software/Hacking General [Developers Only]] enryea123:
Try to do it manually (as explained in the guide):

just make sure to set up apktool correctly; download these 2 files:

https://android-apktool.googlecode.com/files/apktool1.5.2.tar.bz2

https://android-apktool.googlecode.com/files/apktool-install-windows-r05-ibot.tar.bz2

extract the 3 files inside these archives and just drag them into your C:\Windows directory.

then follow the guide
[Android Software/Hacking General [Developers Only]] SahilC:
Thanks!

In this picture, the file given in the red circle is the same as one of the ones given in the green circle.

And what is zipalign? Do I need to extract it as well somewhere?

Sorry there are so many files it's getting confusing :p

Sent from my Nexus Prime powered by AK goodness!
[Android Software/Hacking General [Developers Only]] enryea123:
There are 3 files: aapt, apktool.jar, apktool. (you probably don't see the jar extension of the apktool.jar file but they are all different).

Drag them into C:\Windows.

you don't need zipalign
[Android Software/Hacking General [Developers Only]] crossking:
Hey thanks for the mod, really appreciate it. I ran into an issue though. In your video it seems pretty easy to slide down the notifications. But on my phone, even at 10dpi, I have to touch a specific part of the bar and slide down to open the notifications. Was wondering if you knew the reason for this?
[Android Software/Hacking General [Developers Only]] enryea123:
it might be related to the touch sensitivity of your phone (with my galaxy nexus i'm ok also with 1dip). try to set an higher dpi like 15 and see if it solve the problem. if not, try with 20 or 25 (25 is the standar status bar height)
[Android Software/Hacking General [Developers Only]] crossking:
I re-did the mod but I only changed the SystemUI.apk. For some reason that seemed to work. The status bar is gone and I can swype down easily. I have no idea why this worked though lol. Again, thanks for the mod.
[Android Software/Hacking General [Developers Only]] enryea123:
Nice to hear that. You're welcome :good:
[Android Software/Hacking General [Developers Only]] t0kgrumps:
Hey, will the status bar appear when you swipe down in a full screen app? Like in miui? (P.s I haven't tried this yet so that's why I asked)
[Android Software/Hacking General [Developers Only]] SahilC:
I'm in the process of trying it, (haven't tried it yet myself) but AFAIK, all we are doing is changing the size of the bar, so technically, no, it wouldn't work. If a full screen app hides the status bar, it'd probably hide the 'modded' status bar as well ;)

Sent from my Nexus Prime powered by AK goodness!
[Android Software/Hacking General [Developers Only]] enryea123:
Exactly, the status bar will have the normal behaivour
[Android Software/Hacking General [Developers Only]] t0kgrumps:
Oh OK. But anyways this mod is kinda better than the normal expanded desktop cause if you were to use this mod with lmt launcher's pie, you can expand the notification drawer with the function. But with expanded desktop, it will not work. So actually this mod is best to be used on root box jelly bean or similar ROMs with the pie function
[Android Software/Hacking General [Developers Only]] SahilC:
Exactly why I want this mod so badly! I use GMD gestures, and so I want full screen, without losing status bar functionality ;)

Sent from my Nexus Prime powered by AK goodness!
[Android Software/Hacking General [Developers Only]] SahilC:
Guys, I just tried this mod and it works PERFECTLY! exactly what I wanted :D thanks so much :)

The only problem is the navbar: PMd you about that ;)

Sent from my Nexus Prime powered by AK goodness!
[Android Software/Hacking General [Developers Only]] bigwavedave25:
Thanks for the tutorial. Well written and easy to follow. This worked on 4.2.2 "Shiny Rom" for the Vz Galaxy Nexus.

Cheers!

I assume something similar can be done with the NAV Bar, to retain Google Now access while minimizing/removing it out of the way... hmm.
[Android Software/Hacking General [Developers Only]] enryea123:
yes it is possible but i don't know which is the navbar smali file
[Android Software/Hacking General [Developers Only]] smohanv:
Hi

I am stuck here. I do not see "now open SystemUI/smali/com/android/systemui/statusbar/phone/PhoneStatusBar.smali"

I am only seeing two folders in the decompiled directory, assets and res and files AndroidManifest.xml and apktool.yml

Please help.

Thanks in advance.
[Android Software/Hacking General [Developers Only]] enryea123:
so it means that you have an odexed rom.

you can switch to a deodexed rom, or you can decompile and recompile SystemUI.odex using smali and baksmali tools

https://www.google.it/search?q=smal...rome.0.57j0l3.3367j0&sourceid=chrome&ie=UTF-8

i suggest you to switch to a deodexed rom
[Android Software/Hacking General [Developers Only]] smohanv:
Hi Thanks..

I deodexed SystemUI and then followed your instruction. It worked. I zigaligned SystemUI.apk before flashing. All works fine. Hope you have missed the zigalign step. Without zipalign status bar was hidden but pulldown did not work. After zipaligned and flashed again it works..

Good guide. Thanks..

If anyone needs flashable file try the one I have attached. It is tested to be working..
[Android Software/Hacking General [Developers Only]] enryea123:
Glad to hear it worked.

I didn't forget the zipalign step, it is just not necessary (in your case it was but probably because you deodexed your SystemUI.apk).
[Android Software/Hacking General [Developers Only]] smohanv:
Hi once again thanks.. Very nice mod and this is the one I was looking for.

The good about this mod is that the pulldown notification still works as usual....
[Android Software/Hacking General [Developers Only]] Bartidesigns:
Hmm I dont know why, done everything, added 2 files to your zip, flashed it and no effect? Can you help me? Im on CM 10.1 JB 4.2.2 :)
[Android Software/Hacking General [Developers Only]] enryea123:
mmm, try using another zip file. download a mod for your device, empty its zip file and put your files in it
[Android Software/Hacking General [Developers Only]] Bartidesigns:
Hmm so I downloaded you "flashable.zip" ,and now I need to delete META-INF and "system" folders from it, then I need to put my 2 files that I flashed? :)
[Android Software/Hacking General [Developers Only]] enryea123:
No don't delete meta-inf and system folders! Just drag SystemUI.apk into system/app and framework-res.apk into system/framework (create this directory)
[Android Software/Hacking General [Developers Only]] Bartidesigns:
Oh I see my problem, I didnt put these files to folders... just into .zip file. Thank You ! :) Will check it in a minute ;)

Everything works! Had to change from 6.0 to 10.0 dpi to swipe it down. Can I set this value to 15 for example? :)
[Android Software/Hacking General [Developers Only]] enryea123:
nice job! :good:

yes you can set also 15dip or 20dip, but i prefer to keep it as small as possible (i keep 2dip :D), so it doesn't interfere with the apps.
[Android Software/Hacking General [Developers Only]] Bartidesigns:
Oh okay! Thanks for help! :) You done a really really good job with this tweak! :)
[Android Software/Hacking General [Developers Only]] Bartidesigns:
Odp: [GUIDE] Hide Status Bar and still being able to expand it on Jelly Bean

I dont know Why but I cant swipe down my status bar while charging my Phone. Is that a known issue? :)
[Android Software/Hacking General [Developers Only]] enryea123:
uhm no it is not a known issue, which is the size of your status bar and which is your device?
[Android Software/Hacking General [Developers Only]] Bartidesigns:
Odp: [GUIDE] Hide Status Bar and still being able to expand it on Jelly Bean

The size is 10.0 dip and I have Galaxy i9100. (when i unplug cable, everything works).
[Android Software/Hacking General [Developers Only]] enryea123:
are you sure that is not a rom related bug?
[Android Software/Hacking General [Developers Only]] Bartidesigns:
Yea I'm sure, I'm on CM 10.1 ROM. :)
[Android Software/Hacking General [Developers Only]] enryea123:
i'm sorry but i can't figure out why it isn't working :(
[Android Software/Hacking General [Developers Only]] DeLiri0us2Be:
I did everything as instructed + zipalign. Flashing it does not change anything for me. HTC Sensation cm10.1.
[Android Software/Hacking General [Developers Only]] enryea123:
if nothing changes it's a problem with the zip file. try using the one it the first post and watch here to make sure you are placing the files correctly
[Android Software/Hacking General [Developers Only]] Bartidesigns:
Try download his "flashable.zip" from the first post then put your files in system/SystemUI and system/framework folders then put it on your phone and try to flash. :)
[Android Software/Hacking General [Developers Only]] DeLiri0us2Be:
Exactly what I did. Nothing happened. Should I try without zipalign?
[Android Software/Hacking General [Developers Only]] Bartidesigns:
Okay, so what is your device, android version and what rom are u running? :)
[Android Software/Hacking General [Developers Only]] DeLiri0us2Be:
HTC Sensation, Using albinoman's cm10.1 4.2.2.
[Android Software/Hacking General [Developers Only]] enryea123:
so don't zipalign and don't delete the META-INF folder into the zip file. before trying to flash this mod try to create a flashable zip with an apk (and see if it is installed after rebooting)
[Android Software/Hacking General [Developers Only]] DeLiri0us2Be:
Can't reboot, stuck on the Cyanogenmod bootscreen.