yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 10.1 Android Development] symanuk:
didnt work for me. Installed the zip in recovery but there is no change
[Galaxy Tab 10.1 Android Development] MaximKat:
Hmm.. Which rom do you have?
[Galaxy Tab 10.1 Android Development] YamilGV:
Fix the url replacing xx for tt, since I am new to xda and I cannot post links :-(

hxxp://db.tt/dpaBz5Q

---------- Post added at 06:29 PM ---------- Previous post was at 06:22 PM ----------

Also, I am using TabletBar Hidder since my Rom is still uncompatible with this great MOD. I hope hidding the control bar option spreads over all of the Galaxy ROMs.
[Galaxy Tab 10.1 Android Development] nakedninja42:
@MaximKat

If I add the src files to the Overcome ROM framework and policy.jar, will it replace the the reboot options?
[Galaxy Tab 10.1 Android Development] MaximKat:
If you simply add the files, yes. It might also cause problems, if the ROM has some other extra strings in the framework-res.apk, except the ones used for the menu. Unless you have programming experience and are willing to merge files by hand, I suggest waiting for the ROM developer to do it.
[Galaxy Tab 10.1 Android Development] nakedninja42:
I made a backup... What's the worst that can happen :D
[Galaxy Tab 10.1 Android Development] mroneeyedboh:
Naked, let me know how it works out haha. I might do this myself.
[Galaxy Tab 10.1 Android Development] nakedninja42:
I used notepad+ + and used compare for the framework and found the changes easily. I couldn't compile correctly, i think it's due to my environment. In the middle of formatting and resetting up my OS. Probably won't get to it again til tomorrow.
[Galaxy Tab 10.1 Android Development] MaximKat:
If you're trying to merge, here's what you need to do.

framework-res is the easy part. You need to find the lines I have listed in the readme and copy them over to your files.

One potential problem is that all ids in public.xml must be unique. So do a search and if you have a conflict, you'll need to put some new values there. Try increasing by 1 until the conflict is resolved. I don't really why, but if you increase ids by too much, it won't compile, so you can't have large gaps of unused ids.

Next part is with the policy.jar. First of all, you need a modified version of baksmali that supports honeycomb. It was somewhere on this forum, you should be able to find it using search.

Then, you'll need to copy GlobalActions$7 and GlobalActions$7$1 over, but most likely you'll already have GlobalActions$7 in your files. So just change $7 and $7$1 to whichever number is available and remember it.

Now comes the hardest step, you'll need to merge two editions of GlobalActions.smali. I had to make quite a lot of changes there, so you'll need to be careful not to miss anything. Most of the changes are just big blocks of new code that you need to simply transfer to your version. However there are 2 special places. One is the total number of items in the menu. It will probably be right before the line that says 'new-array ...'. In my version the number of items is 4. Since you're adding 1 new item, you need to increment your number by 1. Another special place is the index of the new menu item (counting from 0). In my version it's the line that says 'const/4 v1, 0x3', so you'll need to change this to (how many total items you'll have in your menu after merge - 1).

Once again, need to check for conflicts. Some lines in smali file look like :cond_15 or :goto_1c. These are labels for jump command. It's possible that some label names are used both in my new code and your old code. This is bad, so you'll need to go over them and change to whatever number is not used in the file. So whenever you paste a block of code, go through all the lines containing ":goto" or ":cond" in that block, use search to find these labels in your pre-existing code and change to new ones if necessary.

And finally the last step, if you had changed any of the ids in public.xml, you'll need to make the same changes in GlobalActions.smali. They are referenced in the middle of the file, in the createDialog method. Also, if you had to rename $7 to $your-number, go through all 3 smali files and make similar changes as well. Don't forget to change $7$1 to $your-number$1 as well.

That's it, compile everything (don't sign), package into update zip and flash.
[Galaxy Tab 10.1 Android Development] mjm128:
Okay, so I flashed it, but it's experiencing the same problem I had with honeybar and tabletbar hider. It will only hide and show one time. After I do that I can't get the menu to come up when holding the power button. The menu key in the bar also doesn't show up anymore and my device doesn't go to the lockscreen anymore too.

The developer of honeybar was some how able to solve the issue that I was experiencing with his update from 1.04 to 1.05. I'm on StarBurst rom btw and my device is a google i/o tab.

I love the idea though.
[Galaxy Tab 10.1 Android Development] maile76:
seems it has been deleted..
[Galaxy Tab 10.1 Android Development] mjm128:
Google removed it. You can try contacting the developer if you want the app.
[Galaxy Tab 10.1 Android Development] maile76:
i already have. just wonder where to get updates now.
[Galaxy Tab 10.1 Android Development] Sichroteph:
Honeybar slows down a lot our tablets. (like all applications that overlay)

The update provided in this thread is a much better solution for me, but works only one time. After I have no more menu when I long press the power button. Any idea?

(Task v6 with stock theme)
[Galaxy Tab 10.1 Android Development] MaximKat:
@mjm128, Sichroteph

Try re-flashing, see if it helps. If not, I need logs. Do you know how to use adb? Pull logcat after you reproduce the problem, that is, after you long press the button and the menu doesn't appear. Post it here.
[Galaxy Tab 10.1 Android Development] nakedninja42:
trying to change the ID but I keep getting this when compiling

projects\framework-res.apk\res\values\public.xml:3506: error: Given 'id' attribute is not an integer: 0x010404cg

projects\framework-res.apk\res\values\public.xml:3507: error: Given 'id' attribute is not an integer: 0x010404ch

projects\framework-res.apk\res\values\public.xml:3508: error: Given 'id' attribute is not an integer: 0x010404ci

I saw that it conflicted with the reboot, recover, and download options having same id so i just changed the letter +1
[Galaxy Tab 10.1 Android Development] MaximKat:
IDs are hexadecimal numbers. You can only use 0-9 and a-f. So the next one after 0x010404cf would be 0x010404d0, but make sure it's not used as well.
[Galaxy Tab 10.1 Android Development] bert269:
Any luck to get this to work on the OVercome ROM ?

Without loosing the additional entries on the power-menu for the Overcome 1.0.1 Rom ?

Thanks

Bert
[Galaxy Tab 10.1 Android Development] MaximKat:
Link the ROM developer to this thread and ask to add support.
[Galaxy Tab 10.1 Android Development] bert269:
For Overcome....?

Any chance to get this for the Overcome rom, without loosing the options that was added to the power menu?

Please
[Galaxy Tab 10.1 Android Development] MaximKat:
You know you've already asked that, right?
[Galaxy Tab 10.1 Android Development] nakedninja42:
But this time they said please. :D

---------- Post added at 04:36 PM ---------- Previous post was at 03:57 PM ----------

Im at this part and want to make sure.

I am looking at this in the code:

.line 216

const/4 v0, 0x4 should be changed to const/4 v0, 0x5

new-array v0, v0, [Lcom/android/internal/policy/impl/GlobalActions$Action;

and this part:

const/4 v1, 0x3 to const/6 v1, 0x3 since I have recover and download?
[Galaxy Tab 10.1 Android Development] MaximKat:
It seems from the description that your ROM currently has 6 items in the power menu: 3 standard (silent, plane mode, shutdown) and 3 extra (Reboot, Recovery, Download). Is this correct?

If yes, then in the first case, you need to put 0x7 there (I meant increment by 1 from whatever number was in your ROM). In the second case, you're changing the wrong number :) It should be "const/4 v1, 0x6" (assuming your final menu will have 7 items total)
[Galaxy Tab 10.1 Android Development] nakedninja42:
so i went through and made all the changes but I bootloop when I add it to my Tab :(

it was fun while it lasted but I wont have time to play with it again till next weekend :D hopefully it will be added to overcome by then...
[Galaxy Tab 10.1 Android Development] ddborello:
http://www.filesonic.it/file/1906534484
[Galaxy Tab 10.1 Android Development] wlighter:
works like a charm~ thanks..

for TW user i recommend using the offset setting. Else the u will loose access to the TW middle toggle...
[Galaxy Tab 10.1 Android Development] mjm128:
I'll get you a logcat once I get my device working again. This is the 4th time my tab has boot looped and caused me to have to wipe everything!
[Galaxy Tab 10.1 Android Development] wlighter:
its weird but honeybar makes the UI lags.. after i uninstalled it was ok again~ weird~
[Galaxy Tab 10.1 Android Development] Tubes6al4v:
great work! It makes web browsing fantastic :)
[Galaxy Tab 10.1 Android Development] DanRyb:
This. I'm having the same problem. :(
[Galaxy Tab 10.1 Android Development] longlong240:
can stock rom samsung tw android 3.1 use this?
[Galaxy Tab 10.1 Android Development] Tivo7:
You still need some new status bar icons bro? I can make some for ya if Task is busy.
[Galaxy Tab 10.1 Android Development] rr3636:
Instead of tying this to the power button, is it possible to make Ann app with this and controlled like the quick controls in the default browser (tw)? Ie menu appear to left or right where you touch.
[Galaxy Tab 10.1 Android Development] Tivo7:
What are some instances where hiding the system bar would make such a difference? I don't see a problem with having it always on.
[Galaxy Tab 10.1 Android Development] DT3CH:
Watching movies, playing games, using it as an alarm clock (well the alarm clock is mostly aesthetic)
[Galaxy Tab 10.1 Android Development] joedon3:
It would also come in handy if you are using an RDP app like myself. Those buttons sometimes get in the way when trying to hit the start menu and I hit back instead.... frustrating.
[Galaxy Tab 10.1 Android Development] Tivo7:
Oh, yeah, that makes sense.

I wonder...is there a way to move it to the side, or the top? Like the Windows Taskbar on a PC.
[Galaxy Tab 10.1 Android Development] beejizzle:
Is this possible on rooted stock rom or do I have to use custom rom first?
[Galaxy Tab 10.1 Android Development] MaximKat:
You need a deodexed rom. If you want to stay close to stock, try StarBurst.

I'm somewhat occupied right now, so there is no hurry.

Look in the thread, someone mentioned an app to do this. But I'm afraid it'll be a resource hog.
[Galaxy Tab 10.1 Android Development] Tubes6al4v:
I am new to programming, and but enjoy looking at the code to try to figure things that out. Where is the code for this mod contained? Can someone upload one from task or overcome so I can compare? Or can I get to it fro. Their respective zips?

Thanks!
[Galaxy Tab 10.1 Android Development] nakedninja42:
The source is in the op label src. It's a zip file at the end of the post. enjoy!

EDIT: Sorry, looks like it was removed...
[Galaxy Tab 10.1 Android Development] drubin44:
best rom ever!! And now best mod ever!!
[Galaxy Tab 10.1 Android Development] mabalito:
No, it wasn't :) It's not in the attachments, it's under "Downloads" in the post. Here's the link: http://www.multiupload.com/7A7CWIASLQ

Edit: Should say also that I've ported this over to the XXKI1 base. Thanks for the mod! Can share the updated patch if anyone wants it..
[Galaxy Tab 10.1 Android Development] Tubes6al4v:
Thanks guys! I don't know why I glossed over that. I read through the whole thread and just blanked that the source, update, tutorial, and code were all in the first post :p
[Galaxy Tab 10.1 Android Development] vjsxda:
Yes pls give the updated patch
[Galaxy Tab 10.1 Android Development] drubin44:
can any one confirm for task650 7.2?
[Galaxy Tab 10.1 Android Development] rob61280:
Yes it works with 7.2, kudos to the developer, I hope this becomes a regular feature in custom roms.

R
[Galaxy Tab 10.1 Android Development] bert269:
Yes please.....

Can you supply the link for XXKI1 base, please?

Thanks
[Galaxy Tab 10.1 Android Development] mightymouse2045:
I don't know if it's possible for combo buttons to do this? like power and down button to enable/disable so it makes it more instantaneous?
[Galaxy Tab 10.1 Android Development] hpblze:
I had the same problem, what I did was

Reboot

Manually start superuser and make sure its still running then press the powerbutton

It will show you the menubar click on hide the statusbar,ten it will ask you something like

Should superuser give permission to "multiple packages "

Accept that

Now this statusbar is usable through power button as many times you want

Cheers
[Galaxy Tab 10.1 Android Development] akinsonm:
anybody tried this on KI7 rom?
[Galaxy Tab 10.1 Android Development] KING SKILLZ:
Anyone figures how to get this on the new phantom task tom please inform, its the only thing missing right now!
[Galaxy Tab 10.1 Android Development] ceno666:
I have this problem with Task/Phantom's rom. Tried it as you described but it dont works. Got it anyone working with this rom?

Hiding the statusbar is such a cool feature and i miss it when watching movies or reading comics, dont understand why this isnt part of honeycomb (or every custom rom)
[Galaxy Tab 10.1 Android Development] MaximKat:
It seems that some apps cause troubles if you try to run them with the status bar hidden. One example is Nook reader app. What happens is that if you hide the status bar, use Nook app, restore the status bar again, something goes wrong and the power menu stops working completely. Additionally, the lock screen doesn't appear anymore and, more importantly, it acquires a wakelock and never releases it, causing battery drain.

The only solution I have found so far is to reboot the tab or to kill system_server process via the terminal. I'll try to find a better way of dealing with the problem

I recall that there is an app that also hides a status bar. Could someone who uses it test if the same problem exists?
[Galaxy Tab 10.1 Android Development] ceno666:
Just flashed stock theme mod and now systembar hiding is possible again, multiple times. Thank goodness!
[Galaxy Tab 10.1 Android Development] hshah:
SuperUser didn't ask me so issue still stands...
[Galaxy Tab 10.1 Android Development] dualview:
Is there any stock deodexed UEKME TW ROM available somewhere? The only one I found here on xda is dated back to july, and gives an error when trying to install via CWM.

I love this mod, but it needs a deodexed ROM, and all custom ROMs have the blueish honeycomb theme which I dont like.

I would like to have the samsung TW theme & this mod for hiding the system bar...
[Galaxy Tab 10.1 Android Development] SeanHacker:
you can flash my rom, which is not the blue theme(you might actually like the theme i made) that you're talking about or i have the option to flash the stock tw theme with this mod built in. you just gotta look around a little dude.
[Galaxy Tab 10.1 Android Development] dualview:
Indeed, "in Paris v4 ROM" with Stock TW Theme v4 mod was the combination I needed. Not noticed that there is a TW mod available before. Thanks!
[Galaxy Tab 10.1 Android Development] Tiamath99:
Thank you very much for the hard work. :)

I have a 7500 with the overcome rom and im having the same problem. You can hide the bar once, and then the menu its not showing anymore and no screenlock.

Its there any other rom that works fine with the app ?
[Galaxy Tab 10.1 Android Development] MaximKat:
I don't think it's ROM related. I believe there is some, yet unknown condition, that causes the bug. Is there any specific app you're using when it occurs most often?
[Galaxy Tab 10.1 Android Development] Tiamath99:
I usually use the app when im about to read some comics with perfect viewer. Im gonna test it with other apps also.

edit: i just tried from the home screen without any app open and the problem persists.
[Galaxy Tab 10.1 Android Development] mightymouse2045:
I'm on task's rom and same thing - just once and restore but then it won't work again after that.

It happens in a number of apps - I only tried 3 times and when I had to reboot the tab (p7510) all 3 times I stopped using it as being more of a hindrance than a help.

You can try it one time sitting on the home screen - hide/restore and then from that point the power menu no longer appears and other odd issues with the interface, like no lock screen appears any more and it's hard reboot time again to restore functionality.
[Galaxy Tab 10.1 Android Development] KonstantinKeller:
Can you tell me which strings this modifies so I can add it into my custom ROM? Thanks!
[Galaxy Tab 10.1 Android Development] Tyxerakias:
Yes, can you please please tell us how to do this so that we can add it to our roms, custom or not? I have P7510XXKH3.

EDIT: Temporary blindness, sorry. All that info is in the first post. Thanks a lot!
[Galaxy Tab 10.1 Android Development] nakedninja42:
Here instructions maximkat wrote somewhere in the first dozen post
[Galaxy Tab 10.1 Android Development] Tyxerakias:
Before I attempt to build this for XXKH3, is there a reason other than having it on the power menu (which is admittedly cool), that we can't use this app? :

http://ppareit.github.com/HideBar/

It looks like it's based on the same code...

Any ideas? Because it works great... and I see no noticeable lag.
[Galaxy Tab 10.1 Android Development] nakedninja42:
I think it should be in the power menu. When I am reading a book using the kindle app and I remove the bar, I have no other way of getting out of the book when I am done reading. An app would be cool if we can do something like two finger double tap the screen to make it come back...
[Galaxy Tab 10.1 Android Development] Tyxerakias:
Yes, that's exactly what that app I posted above does. You swipe/touch your finger from the bottom of the screen, and the bar appears again. I've been playing with it the last 10 minutes and I think I won't bother decompiling my framework, this does what I wanted... very happy now :)
[Galaxy Tab 10.1 Android Development] nakedninja42:
Nice find!

I still prefer to have the power menu option. They need to make an easy way to start and stop the service without it always being in the notification area of the system bar.
[Galaxy Tab 10.1 Android Development] stupsi99:
this one worked for me. p7500

http://sinfulandroid.com/applications-26/honeybar-v1-0-5-apk-android-6187/

br stupsi99
[Galaxy Tab 10.1 Android Development] wlighter:
work great.. love it.. there is just a tiny lag.. no biggy
[Galaxy Tab 10.1 Android Development] B770:
Hey,

this is really cool stuff :)

I would like to have this in my own app, not on the power button.

Just two simple buttons (one for show, one for hide).

Any hints/code, that I have to add to my button?

For hide I used:

Process proc;
try {
proc = Runtime.getRuntime().exec(new String[]{"su","-c","service call activity 79 s16 com.android.systemui"});
proc.waitFor();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

Show:

Process proc;
try {
proc = Runtime.getRuntime().exec(new String[]{"am","startservice","-n","com.android.systemui/.SystemUIService"});
proc.waitFor();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

thx B770
[Galaxy Tab 10.1 Android Development] CyPh:
I'd love this mod for my P7500 since my 1 yr old son likes the SoundTouch App but doesn't understand he can exit apps by touching the system bar. I've tried it with the overcome ROM but that just gave me bootloop. Anyone got an idea which P7500 ROM this mod will work on?
[Galaxy Tab 10.1 Android Development] nakedninja42:
This was made when 3.1 firmware was the only firmware out. Task and Alterbridge have stated that smali code in 3.2 is different so it was a challenge to get extended power menu.

So the best bet is to use any 3.1 ROM for your Tab. A couple pages back there is a post for a Hide Toolbar app that can work on 3.2 if that is the only firmware you want to use.
[Galaxy Tab 10.1 Android Development] :
Is it work on 3.2 or on 3.1 only?
[Galaxy Tab 10.1 Android Development] CyPh:
For me it doesn't mind if I have a 3.1 or 3.2 ROM, as long as it works for the 3G (P7500) version. Most ROM's are for the WiFi (P7510) only.

Maybe i can find the old 1.2.2 version from Alter. Thanks
[Galaxy Tab 10.1 Android Development] bijixda:
Please share your app :D

Any idea where to put "Hide button" and "Show button"? After the system bar hidden, how can we go to other app? (and how to show again)
[Galaxy Tab 10.1 Android Development] B770:
Hi, my app runs as launcher. There should only be the possibility for the normal user to enter the browser(there is a button for that). But the normal user shouldn't be able to enter the settings. Therefor the bar should be hidden.

The browser could be left via close button.

The admin should be able to enter settings and set up new wlan connection. Therefor I need a button to show the bar.

Thx B770

//edit

These are the two methods I call:

private void hideStatusBar() throws IOException, InterruptedException {
Process proc = Runtime.getRuntime().exec(new String[]{"su","-c","service call activity 79 s16 com.android.systemui"});
proc.waitFor();
}

private void showStatusBar() throws IOException, InterruptedException {
Process proc = Runtime.getRuntime().exec(new String[]{"am","startservice","-n","com.android.systemui/.SystemUIService"});
proc.waitFor();
}

I got it from this page: http://android.serverbox.ch/?p=306

I've got an self written app that shoult hide or restore the systembar. This app is running on an Samsung Galaxy Tab 10.1 (P7500). I've got two Tabs. One rooted with stock Galaxy ROM and one rooted with Overcome ROM.

I looked at this tutorial to hide the bar ( http://android.serverbox.ch/?p=306 )

My methods look like this:

private void hideStatusBar() throws IOException, InterruptedException {

Process proc = Runtime.getRuntime().exec(new String[]{"su","-c","service call activity 79 s16 com.android.systemui"});

proc.waitFor();

}

private void showStatusBar() throws IOException, InterruptedException {

Process proc = Runtime.getRuntime().exec(new String[]{"am","startservice","-n","com.android.systemui/.SystemUIService"});

proc.waitFor();

}

If I click on my buttons an the methods are called I can see that something is happening because the app is waiting some seconds. I also looked into LogCat and see that something is happening.

show: http://pastebin.com/CidTRSTi

hide: http://pastebin.com/iPS6Kgbp

I guess the problem with hide is in line 57

So I tried an app in the market: TabBar Hider Demo ( https://market.android.com/details?...tLnRsYWxleGFuZGVyLnRhYmxldGJhcmhpZGVyZGVtbyJd )

But here the same. The bar won't remove/hide. I also looked into LogCat

show: http://pastebin.com/TuKXQ5qm

hide: http://pastebin.com/rWHFQV4u

Same problem in line 51 (hide)

Any hint's/tipps?
[Galaxy Tab 10.1 Android Development] MaximKat:
Are you sure your device is rooted properly?
[Galaxy Tab 10.1 Android Development] B770:
Oh dann, Im such an idiot. You're right. I forgot to grant su rights. Now everything works fine.

Thank you so much
[Galaxy Tab 10.1 Android Development] vastelectron:
Only works once per boot

Hi it seems to work only for one time then pressing hold power button wont do anything else
[Galaxy Tab 10.1 Android Development] MaximKat:
Yes, it happens sometimes. I have absolutely no idea as to what causes it or even how to debug the problem. At this point it's probably easier to wait for ICS builds :) Try other system bar hiding mods and see if it happens to them as well (my money is on "yes")
[Galaxy Tab 10.1 Android Development] vastelectron:
new option

the new hide taskbar cooked in Task650 ROM is working great:-) im using ROM version 7