yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] They Drew First Blood:
Re: Hide Status Bar

Well, it ended up as just a black bar for status bar shortly thereafter. :( Meanwhile, I am trying out an upgrade to 4.3 so I will come back to this.

---------- Post added at 04:37 PM ---------- Previous post was at 03:59 PM ----------

[MENTION=5012446]JovieBrett[/MENTION]: Check if your ROM has a setting to "Enable High End Graphic Effects" or something similar.
[Android Software/Hacking General [Developers Only]] JovieBrett:
I'm using CM10.1 and CM roms don't have that option
[Android Software/Hacking General [Developers Only]] enryea123:
sorry but i don't know how to help you
[Android Software/Hacking General [Developers Only]] DIXES:
Is there any news about navbar to make it like this mod with status bar?
[Android Software/Hacking General [Developers Only]] aldoblaga:
Flashable zip

Hey there. Nice job on everything you do...I have a question : is it possible that you can make a flashable zip for JB 4.1.2 systemui.apk with the necessary modifications for it at least to remain hidden from view as much as possible in every app ? I have no skills to decompile/recompile anything and quite frankly, although i did understand what you were saying there in the tutorial, i have no idea how to install apktool and every other thing i need to do... Can you help me out? or at least point me in the right direction ? thanks and keep up the good work!
[Android Software/Hacking General [Developers Only]] enryea123:
Check here to install apktool.

If you are having problems with apktool on ubuntu, this might help you.
[Android Software/Hacking General [Developers Only]] lesscro:
Hi, i tried to make it on sense 5 for HTC one X...

On tutorila we need find in SystemUI/res/values/drawables.xml

<item type="drawable" name="status_bar_background">#ff000000</item>

But on HTC, this what we have

<item type="drawable" name="notification_number_text_color">#ffffffff</item>
<item type="drawable" name="ticker_background_color">#ff1d1d1d</item>
<item type="drawable" name="status_bar_recents_app_thumbnail_background">#88000000</item>
<item type="drawable" name="status_bar_notification_row_background_color">#ff090909</item>
<item type="drawable" name="recents_callout_line">#99ffffff</item>
<item type="drawable" name="notification_item_background_legacy_color">#ffaaaaaa</item>
<item type="drawable" name="intruder_bg_pressed">#ff33b5e5</item>
<item type="drawable" name="notification_header_bg">#ff000000</item>
[COLOR="Red"]<item type="drawable" name="system_bar_background">#00000000</item>[/COLOR]
<item type="drawable" name="notification_icon_area_smoke">#aa000000</item>
<item type="drawable" name="notification_item_background_color">#ff000000</item>
<item type="drawable" name="notification_item_background_color_pressed">#ff257390</item>
<item type="drawable" name="quick_settings_tile_background">#ff161616</item>
<item type="drawable" name="quick_settings_item_background">#6e000000</item>
<item type="drawable" name="quick_settings_minor_container_background">#ff1f1f1f</item>

In red my modification... do you think another item seems to be statuts bar background ?

all other value match without trouble but i need use 10 dip to slide down, and this is what i have...

i use picture from anoterh user because, he have a colored background :

looks much better on lockscreen...

any idea about HTC feature ?
[Android Software/Hacking General [Developers Only]] zeetwo-raj:
Please Can anybody implement this

Mod for miui v5
[Android Software/Hacking General [Developers Only]] @HOSCHI@:
I have this mod for note 2 MIUI V5!

Gesendet von meinem GT-N7100 mit Tapatalk 2
[Android Software/Hacking General [Developers Only]] zeetwo-raj:
Thnx for replying bro

But my device is mdpi...will it work...?
[Android Software/Hacking General [Developers Only]] ubuntuh:
i followed this guide but my statusbar is just half hidden. what have i done wrong?

my zip is attached.
[Android Software/Hacking General [Developers Only]] zeetwo-raj:
Hiii

Please anyone make dis mod for my mdpi xperia miro.....

Pls. Pls. Pls........

Here is the systemui n framework apk

https://db.tt/1cxTzeCm
[Android Software/Hacking General [Developers Only]] guitarfreedom:
Hi, thank for the good job! any idea how to make this mod on Gingerbread device (like my Xperia U) ?
[Android Software/Hacking General [Developers Only]] :
Thanks for this Guide that I've use on CM10.1 on my Galaxy SL and on CM10.2 on my Nexus 4 too !

But for the latest, I was lost in some changes (code is a little bit different on CM10.2) :)
[Android Software/Hacking General [Developers Only]] Kendosis:
Nice guide. I didn't bother with the complicated part though lol I just set my status bar height dip to 0.0 and use the app drop down status bar to pull down the notification for me.
[Android Software/Hacking General [Developers Only]] mjz2cool:
trying to use this in a 4.1.2 rom on galaxy young s6310n, i can get the statusbar hidden, but i'm not able to expand it :p
[Android Software/Hacking General [Developers Only]] Kendosis:
Just use the an app to expand it lol, in nova launcher you can just set a gesture to activate the app, I set the slide down gesture to the app that expands the noti bar and I get the same effect.

Here's the app: https://play.google.com/store/apps/details?id=com.wq.dropdownstatusbar
[Android Software/Hacking General [Developers Only]] mjz2cool:
that's not really a fix, i know this mod didn't work on some samsung roms, but as the hidden statusbar works, i think it's only a bit more modding to make it fully work. i also don't wanna use another app to expand it
[Android Software/Hacking General [Developers Only]] Kendosis:
You just need to increase the dip of the status bar height until you're able to pull it down.
[Android Software/Hacking General [Developers Only]] mjz2cool:
the screen has an mdpi resolution (320x480) so 5 dip would be 5 px right? shouldn't 6 dip be enough?
[Android Software/Hacking General [Developers Only]] Kendosis:
I have zero experience with devices below hdpi so I really wouldn't know lol, it's tedious but just start from 0 dip and gradually work your way up. I couldn't pull mines down till around 8 dip.
[Android Software/Hacking General [Developers Only]] mjz2cool:
ok, will try i it then :p, hope it does work (which it should, because the statusbar does hide)
[Android Software/Hacking General [Developers Only]] csoulr666:
Not to be demanding or anything, is it possible to incorporate this functionality with the "Expanded Desktop" feature? Would'nt like my status bar to disappear forever :laugh:
[Android Software/Hacking General [Developers Only]] mjz2cool:
what's this expanded desktop, is that for removing the navigationbar?
[Android Software/Hacking General [Developers Only]] enryea123:
it is ok because dip are density pixels, not pixels. ;)

sorry but i don't think that it is possible
[Android Software/Hacking General [Developers Only]] mjz2cool:
i mean, with mdpi, 1 dip is the same as 1 pixel, so in that case it is the same :p

ldpi	1.00dp = 0.75px
mdpi	1.00dp = 1.00px
hdpi	1.00dp = 1.50px
xhdpi	1.00dp = 2.00px
[Android Software/Hacking General [Developers Only]] mjz2cool:
tried only using the smali modification, but then it's like that only disables the pulldown alltogether
[Android Software/Hacking General [Developers Only]] mjz2cool:
anyone has a solution for my problem? the statusbar does hide, but the pulldown doesn't work. when i only use the smali modifications i can see the statusbar, and it doesn't take the space it normally does (the top part of apps get behind it), and the pulldown still doesn't work. as if the smali modifications not only make the statusbar not take space up anymore, but also disables the pulldown.
[Android Software/Hacking General [Developers Only]] enryea123:
try to leave the status bar height untouched (25.0 dip) and see if you can pull it down.

If you can't swipe it down go here (it is for samsung roms).

If neither of these two ways works i'm afraid i can't help you.
[Android Software/Hacking General [Developers Only]] mjz2cool:
i already did that, i always pick the tw_xxxxxx for these kind of mods, but even if i leave all of the xml files, and only edit the smali part, i can't seem to pull down, i can see the statusbar, it doesn't take up space, so that does work, but it seems that somehow the whole pulldown gets disabled as i can get the notifications to go down with a shortcut or gesture in a custom launcher, it's just like it doesn't register the touch event on the statusbar anymore
[Android Software/Hacking General [Developers Only]] kalhimeo:
Dear enryea123,

Thanks for this great guide.

I managed to have bar hidden and still expand it on the last official CM 10.1 nightly for my P7500.

Unfortunately, for some reason the rom seems to ignore the value I put for status_bar_height, which cause the "invisible bar" to override the top part of the screen and causes problem.

I double checked my framework-res.apk and it looks correct. I can also see from the file size that my flash.zip correctly updated the apk on the device.

I wonder if CM could now use an other reference for status_bar_height since the implementation of the "Extended Desktop" ?

Regards,

Laurent
[Android Software/Hacking General [Developers Only]] enryea123:
Well your device is a tablet, so the status bar is mixed with the system bar. I think you have to reduce the system bar too
[Android Software/Hacking General [Developers Only]] kalhimeo:
You are talking about the navbar at the bottom right ?

In that case, that's not correct for CM :p

Although there are CWM zips to merge both bars, CM use a status bar (top) and a navbar (bottom) even on tablets.

There is also an 'Extended Desktop' mode to hide those 2 bars. In my case, I want to hide the status bar only.
[Android Software/Hacking General [Developers Only]] enryea123:
In this case i guess the problem is in the smali code. Try to modify phonestatusbar.smali and tabletstatusbar.smali too
[Android Software/Hacking General [Developers Only]] kalhimeo:
Thank you very much for your support enryea123.

I finally found the cause : on my device, CM 10.1 uses an second dimens.xml located in a values-mdpi folder (additionally to the default "values" folder).

I modified the "status_bar_height" in there as well, flashed it, and bingo :D

Hopefully this may help some others !

Cheers
[Android Software/Hacking General [Developers Only]] csoulr666:
Is there a possibility to add this as a "toggleable" feature?
[Android Software/Hacking General [Developers Only]] usman farhat:
This is just what I need, but I am a noob and can't even finish the guide to installing apktool. I know it's not nice to ask but, can I ask you to mod my files? I tried but I can't even start your guide because I already gave up in the middle of the apktool guide.
[Android Software/Hacking General [Developers Only]] killoid:
[MENTION=4081787]enryea123[/MENTION] i wonder if it is possible for Gingerbread too? really want this feature!
[Android Software/Hacking General [Developers Only]] IGGYVIP:
stock

[MENTION=3877121]slipsystem[/MENTION]

Do you think possible to put it in the fix ? screen small on our device this would be great :D

---------- Post added at 06:37 PM ---------- Previous post was at 06:34 PM ----------

[MENTION=4081787]enryea123[/MENTION]
[Android Software/Hacking General [Developers Only]] LifeAsADroid:
Just what I have been looking for to rid of the status bar but allow for the notification pull down menu.

...Ok, worked through the entire procedure, found all the code to change in the *.xml files, made all the changes, and got to the part about editing the *.smali file. Couldn't find a folder containing the smali file (SystemUI/smali/com/android/systemui/statusbar/phone/PhoneStatusBar.smali) In the "SystemUI" folder there was no "smali" folder. Did I do something wrong along the way?

Running stock Android 4.1.2 on RAZR HD, rooted, unlocked bootloader.

Thanks for any advice you can give!
[Android Software/Hacking General [Developers Only]] Diego910:
Most likely your rom is odex. If you have systemui.odex you need to deodex the rom
[Android Software/Hacking General [Developers Only]] LifeAsADroid:
Aww snap, it is odexed... FML hahaha.

So then is it possible to deodex the systemui.apk file once I download it from my phone to my computer again, perform all the needed changes, and just odex it back up and flash it back to the phone in a zip through recovery? I think I might try this...

Anyone happen to know a good way to deodex a file? I feel I did this a while back, but it was a one time thing and I forget what program I used to do it...
[Android Software/Hacking General [Developers Only]] Diego910:
There are a hell of a lot of deodexing tools such as universal deodexer, jbart or dsxida kitchen. But I don't know if they deodex files, and then for odex I only know one script yo be flashed in cwm... I would suggest you to deodex all but maybe with titanium you're able to do it.

Press thanks if helped.
[Android Software/Hacking General [Developers Only]] LifeAsADroid:
OY! What a task! But... I have deodexed the SystemUI.apk file and made the necessary changes to it! :)

Now... does anyone know how to re-odex the .apk file back so I can flash it (and the new framework-res.apk file) back to my phone in recovery? Are there any good odexing programs? I've looked and can't seem to find any that do a standalone odexing job without using the phone.
[Android Software/Hacking General [Developers Only]] usman farhat:
I have done all the steps but I can't recompile the apk. I followed the guide of apktool ( http://xdaforums.com/showthread.php?t=1814441 ) till its STEP 3. Then I followed your thread. The command prompt data is on the following link:

http://www.pastebin.ca/2679660

After this I didn't find any change in the "date modified" on either of the apk files. I don't know how to create flashable zip files so i just downloaded your zip and placed the systemui.apk and framework-res.apk to their respective folders in your zip and flashed it, but I didn't find a difference, obviously because the apks didn't recompile.

Please help me I really want to do this..
[Android Software/Hacking General [Developers Only]] edgieace:
if only there's an Xposed Module for this :(
[Android Software/Hacking General [Developers Only]] LifeAsADroid:
OKAY! I have everything figured out, can flash the new framework-res.apk and use Auto Odexer to push the new SystemUI.apk to my phone. Rebooted and VOILA! No more status bar!

... but am having issues with the notification bar... Can't seem to get it to pull down at all. even adjusted the dip in the framework-res.apk back to 10.0dip, and to the original 25.0dip. Still not able to pull the notification bar down.

Any suggestions?
[Android Software/Hacking General [Developers Only]] MusterMaxMueller:
Hi,

i want to apply your patch directly to source and compile it.

Im stuck at editing PhoneStatusBar.java. Someone already done that?

Maybe somone could help. Im using SlimRoms 4.4.2.
[Android Software/Hacking General [Developers Only]] murlidhar85:
i agree too. xposed module would have been much easier too.

i have an odexed rom n with Linux installed on my desktop and I am having trouble to deodexing the apks in the first place.
[Android Software/Hacking General [Developers Only]] 7786:
Does anyone know what needs to be changed to just change the trigger area for swiping down the notification panel? Is this function specifically tied to the height of the status bar or is there another way to change this value? Thanks!
[Android Software/Hacking General [Developers Only]] enryea123:
Yep, the trigger area is determined only by the status bar height.
[Android Software/Hacking General [Developers Only]] hv6478:
That app is more specifically for being able to reveal the status bar in full screen applications that normally don't allow you to use the notifications bar. Games, for example. Not to mention it's more hiding and un-hiding the taskbar than it is masking it. This mod allows you to retain the exact same functionality, so if I swipe down it opens the drawer, it doesn't only un-hide the taskbar.

I know you can put your lock screen and launcher in full screen mode in many cases, and the app might be good for that if you want a quick peak at the bar. But you still need to double swipe to open the panel. Not to mention on the lock screen and at least the home page of the launcher, most of the info you'd get from the status bar is usually already there.

A bit of a different result than this mod, however it's a great app, probably useful for many people.
[Android Software/Hacking General [Developers Only]] CookieMaker:
this looks promising
[Android Software/Hacking General [Developers Only]] UnSkilleD:
Any idea if this works for the newest MIUI-Roms?
[Android Software/Hacking General [Developers Only]] vegeta1:
great stuff my friend but somehow sammy based hard luck it dsnt work on those :(
[Android Software/Hacking General [Developers Only]] enryea123:
I looked at the system files and it should work too. you have to extract framework-res.apk, framework-miui-res.apk and MiuiSystemUI.apk and type

apktool if framework-res.apk
apktool if framework-miui-res.apk

instead of

apktool if framework-res.apk

and

apktool d MiuiSystemUI.apk

instead of

apktool d SystemUI.apk

You will have to replace some extra lines in /SystemUI/res/layout/status_bar.xml.

You basically have to find every android:layout_width="BLABLA" android:layout_height="BLABLA" in lines 5,6,7,39,40,41,42 (don't forget lines 9,29,33) and replace it with android:layout_width="0.0dip" android:layout_height="0.0dip"

before flashing the modified zip put into your sdcard a revert back zip with stock files

please confirm if it works so i can update the first post
[Android Software/Hacking General [Developers Only]] vegeta1:
yes my friend its 4.1.2 jb and here are the files i used and dint get it working can you check what erors did i make

:)

.

http://www.mediafire.com/?llb8j9anxtb77o2
[Android Software/Hacking General [Developers Only]] enryea123:
what did happen when you rebooted? was the status bar still there or was it just black instead of transparent?
[Android Software/Hacking General [Developers Only]] vegeta1:
everything worked ok no fc , i did edit the smali

but i couldnt drag the statusbar out

nothing happened , if you can fix :)
[Android Software/Hacking General [Developers Only]] UnSkilleD:
so you are working on a miui-version? :D
[Android Software/Hacking General [Developers Only]] enryea123:
ok, maybe you should set an higher status_bar_height. Try with 10dip.

no he is on a sammy rom. Why don't you try and then tell me if it works? :p (before flashing make a nandroid or put a revert zip on your sdcard)
[Android Software/Hacking General [Developers Only]] UnSkilleD:
hmm.. could spend some "work-time" and give it a try ... but i'm totally new to ADB etc.. ;) will report back
[Android Software/Hacking General [Developers Only]] vegeta1:
let me try and get back to you my friend :)

edit : made a couple of tests with 10 as the height

here i could see and drag the status bar properly , but this status bar is abit messed

then i tried with 5 as the height

here icons are more smaller and couldnt drag the status bar out

thanks mate
[Android Software/Hacking General [Developers Only]] UnSkilleD:
so... tried to edit the files properly... the only problem was... i could'nt find the following line of code:

and now i'm stuck in a bootloop :/

and there is a difference of about 7mb in file size of my backup and the modified zip. o.O
[Android Software/Hacking General [Developers Only]] enryea123:
i didn't understand you are on a samsung based rom.

Try with this zip, if it works i'll tell you what i changed.

i'm looking for it, i'll let you know. Yes it is normal that the recompiled framework is smaller than the original

EDIT: i downloaded a miui rom and checked. i can find every line. (however there are some more lines to edit on miui)

post me a download link of your framework-res.apk framewrok-miui-res.apk and systemui.apk
[Android Software/Hacking General [Developers Only]] UnSkilleD:
here you go..

the unedited Framework files
[Android Software/Hacking General [Developers Only]] vegeta1:
Bro just tested...ended in a bootloop
[Android Software/Hacking General [Developers Only]] enryea123:
i'm having problems recompiling your systemui.apk. anyway follow the instruction on post #25 and decompile both framework-res and framework-miui-res and you'll see all the files you need.

The extra changes are in status_bar.xml at lines: 5,6,7,39,40,41,42 (don't forget lines 9,29,33). you basically have to find every android:layout_width="BLABLA" android:layout_height="BLABLA" in those lines and replace it with android:layout_width="0.0dip" android:layout_height="0.0dip"

sorry man. try this: decompile the files modified my be and in SystemUI/smali/com/android/systemui/statusbar/phone/phonestatusbar.smali

search for 0x7d1 and replace it with 0x7d0.

If it will not work i'm sorry but i think i'm not able to help you since your rom is based on a samsung rom.
[Android Software/Hacking General [Developers Only]] UnSkilleD:
hmm.. ok.. will give it a try..

but you can upload your editet files and i try to recompile them ...

no work done twice ;)
[Android Software/Hacking General [Developers Only]] enryea123:
The files need to be recompiled on the same computer you used to decompile
[Android Software/Hacking General [Developers Only]] vegeta1:
Bro it was allready 0x7d0

Haha no issues bro...will try more and will be back :)
[Android Software/Hacking General [Developers Only]] enryea123:
hmm that's weird, i did change it to 0x7d1. At this point i think it can't work on samsung roms :(
[Android Software/Hacking General [Developers Only]] vegeta1:
Still great stuff and work my friend :)
[Android Software/Hacking General [Developers Only]] Shponglized:
I can't get apktool set up for ****.

Damn windows 8 being crazy.

I had it on 7, only used it once though so I'm still clueless lol
[Android Software/Hacking General [Developers Only]] Shponglized:
Well here's SystemUI, "Manage attatchments" is giving me crap, I'll work on getting the Framework-res up

Thanks!
[Android Software/Hacking General [Developers Only]] Shponglized:
Framework-res exceeds the file upload limit by a mb and a half. lol.
[Android Software/Hacking General [Developers Only]] enryea123:
check your pm
[Android Software/Hacking General [Developers Only]] zellleonhart:
I successfully did it in Windows 8, first time using apktool anyway.

BTW which line did I edit wrongly, the status bar I get is like 5 pixels (I set to 5 dip) of really really small black bar instead of being transparent.
[Android Software/Hacking General [Developers Only]] enryea123:
it depends on which rom you are using. it is probably the phonestatusbar.smali. are the status bar icons transparent?
[Android Software/Hacking General [Developers Only]] zellleonhart:
Yea I think the icons are transparent, but due to the tiny status bar I cannot actually see if there is any icons.

I am using PA ROM anyway.
[Android Software/Hacking General [Developers Only]] enryea123:
did you edit the smali file and replaced 0x7d0 with 0x7d1?

if you can't see the icons they are transparent
[Android Software/Hacking General [Developers Only]] wolfballz:
So what is the "Flashable.zip" in the OP for?
[Android Software/Hacking General [Developers Only]] enryea123:
it is just an empty zip for people not able to make one. in my experience 70% of the times your mod doesn't work is because of a wrong zip file
[Android Software/Hacking General [Developers Only]] wolfballz:
ok thanks
[Android Software/Hacking General [Developers Only]] skennelly:
Any chance that someone could make a zip for cm 10?
[Android Software/Hacking General [Developers Only]] Rompf:
I know the OS is pretty old but is there any way this could be achieved in 2.3.6 (Gingerbread)?. I love this mod and i would love to have this on my phone...
[Android Software/Hacking General [Developers Only]] enryea123:
i'm sorry but i think it's not gonna work. you can try and see what happens