yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] j sta:
I had the toggle with hold back to kill mod installed

http://xdaforums.com/showthread.php?p=18473247

Then I installed the battery percentage mod

http://xdaforums.com/showthread.php?t=1329542

-Both installed with root browser.

Anyways, after installing the battery mod, holding the back button would freeze the phone, which would then restart after 30 seconds or so.

I restored android.policy.jar, framework-res.app and framework.jar -backed up before battery mod, and now all back to normal, battery without percentage, which is a shame, but apparently both the mods are in conflict.

Unless anybody has a solution?

Im on .62 by the way
[Wildfire General] Fizzle123:
Hi,

arabic texts are not shown correctly on website etc. Is there a Fix for that?
[Wildfire General] androidino95:
Im pretty sure youre in a wrong forum.

Sent from my HTC Wildfire (no S around here)
[Barnes & Noble Nook Tablet] revcompgeek:
I have been tweaking the SystemUI application, changing the way a few things work.

Installation Instructions

Download View attachment 832789

Make sure /system is remounted R/W. This can be done with Root Explorer or ES File Explorer. If you get a "Read-only filesystem" error this is the step you missed.

Replace /system/app/SystemUI.apk with the downloaded one.

At this point it is normal for the status bar to disappear. If it starts Force Closing repeatedly, pasting again should stop it so that you can continue to fix the permissions.

Make sure the file is owned by the root user and group.

Make sure the permissions of the file are 644, or read, write for user and read for group and other.

Reboot and enjoy!

I plan on adding killing the current application by long-tapping the back button like CyanogenMod. I can probably add other tweaks if requested.

Changelog

Version 2:

No more QuickNav bar when you press the n button

n button acts like a standard Home button

Version 1:

Permanent back and menu buttons
[Barnes & Noble Nook Tablet] cfoesch:
Hm.. seems to be an early beta... we're trying to work the kinks out of it... but it seems to have some problems right now. (When does anyone release anything right the first time?)

----

I've got it, and it all works as advertised now. :) I'm rolling it into my update-package, and yay. :) ... I really need to find a way to get this package out there...
[Barnes & Noble Nook Tablet] revcompgeek:
Whoops, forgot Certs the first time around. Download the attachment again, this new one should work great!
[Barnes & Noble Nook Tablet] Elmar1801:
Thanks for that. I tested it in settings and no back button! (permissions changed)

Edit: Now it works. This is great! Thanks
[Barnes & Noble Nook Tablet] rjin9673:
Great idea! Have you though about changing the default icons for the status bar?
[Barnes & Noble Nook Tablet] revcompgeek:
That is extremely easy to do, but I don't have much artistic talent, so I'm not going to make them from scratch. What would you like to see replaced?
[Barnes & Noble Nook Tablet] rjin9673:
I've had lots of fun in the past replacing most icons with those like the Suave HD Redone pack on my Epic 4g. I'll probably wind up doing the same on here.

Here's a link to the forum post. He originally did it for MIUI but you can rip out the icons and put them in any ROM/Launcher.

http://xdaforums.com/showthread.php?t=1330577
[Barnes & Noble Nook Tablet] dragon_76:
So far works great! If you could manage the book button as a home button, I could stop using button savior. Is that possible?
[Barnes & Noble Nook Tablet] revcompgeek:
Check the first post again. The n button acts like the Home button now.
[Barnes & Noble Nook Tablet] ShinnAsuka:
after using your SystemUI.apk, my n button has completely stopped working. i simply just did as you said in your post "replace the SystemUI.apk". I am now stuck with not being able to use the n button for anything. Any ideas on how to get it to work correctly? are there any permissions or anything that i need to set?
[Barnes & Noble Nook Tablet] revcompgeek:
That usually happens when it's initially replaced. Have you tried rebooting? How are you replacing it?

All the apk's in that directory are chmod 644, but it works for me 666. They also should be owned by root.
[Barnes & Noble Nook Tablet] Elmar1801:
Please add a version number or a date on thread header text. So we can better see when an update is available.
[Barnes & Noble Nook Tablet] ShinnAsuka:
yea i rebooted a few times and it still didn't work. my last attempt seems to have solved the problem i was having, i had to change permission for owner all three of them needed to be checked (read, write, and execute). Seems to be working now but I'll have to test it a bit more. Thanks for the reply.

I actually backed up the original one anyways so I could have simply just replaced it again to revert back, but it seems to be working for the time being

Well, seems like everything is working like it should for the time being...

Which buttons are the menu and back permanent buttons? are you talking about the ones on the status bar? I don't really see any changes because they were always there to begin with...
[Barnes & Noble Nook Tablet] dugpol:
works great thanks! Nook tablet keeps getting better and better!

would love a permanent active apps button a la honeycomb (w/o having to use the honeycomb launcher) :)
[Barnes & Noble Nook Tablet] ShinnAsuka:
i second this... is there a way to go to a list of running apps in go launcher ex?
[Barnes & Noble Nook Tablet] Indirect:
set the permissions to

Read, Write, Nothing
Read, nothing, nothing
Read, nothing, nothing

in otherwords, 644

Enjoy..
[Barnes & Noble Nook Tablet] promek:
i didnt backup my systemUI my mistake very noobish

can you upload your old one if you dont mind

EDIT

Nevermind i got it off the 1.4.0

acclaim update

Also, thankyou Indirect for all your hardwork!
[Barnes & Noble Nook Tablet] ShinnAsuka:
for some reason, ever since replacing the systemui.apk, my nt sometimes blacks out, as in its still on but i am just left with a black screen. anyone else encounter this? i am going to change my permissions to what indirect posted and see if that changes anything.

and @promek: i guess i can upload my original systemui.apk when i figure out how to upload stuff and post it here on xda...
[Barnes & Noble Nook Tablet] rjin9673:
@revcompgeek What did you use for apk editing, metamorph, ninjamorph or another?
[Barnes & Noble Nook Tablet] promek:
No Need, I have replaced it and reverted back with the one from the acclaim update for 1.4.0

it was just my preference with the default N... No disrespect to Indirect of course.

thanks again
[Barnes & Noble Nook Tablet] cfoesch:
This won't really replace button savior, as the status bar still goes away in full screen. But it does make button savior into a "only if I need to" thing.

indirect suggested to revcompgeek to make it one-click back, and two-clicks home. Short of making three-clicks menu or something like that, it would still make button savior an important "emergency plan".
[Barnes & Noble Nook Tablet] Sw1ne:
One click of the n button already acts as a back button when in full screen.

@revcompgeek

Thanks! Your SystemUI.apk is great. :D :cool:
[Barnes & Noble Nook Tablet] ShinnAsuka:
Well looks like after testing this apk for a bit everything seems to be working all right. I I think indirect, suggestion about permissions might have done the trick. Thanks a lot!!
[Barnes & Noble Nook Tablet] Novalis31:
I got it working also.

If you want to redesign the status bar and need someone to design buttons, let me know.

Sent from my Nook Tablet.
[Barnes & Noble Nook Tablet] mukyo:
Is it possible to do something with the status bar below?

Move it up or sonething, or hide it when menu is shown and pops back when nook button is pressed. It is blocking some of menu from certain apps.

I like it down there but some apps failed to work just because of it.

. . . i use xda app for gtab. . .
[Barnes & Noble Nook Tablet] bustergonad:
Failed to copy..

First thanks to revcompgeek , this sounds awesome.

I've got a minor problem in that I can't install it though. I've rooted successfully but am getting "failed to copy SystemUI.apk": Read-only file system.

I've tried remounting and checked the permissions of the existing SystemUI.apk using ES File Explorer, but it's set to Read only. I've tried to chmod it to 644 but again get a "Read only file system" error.

I'm a noob to this Android world (so I'm probably being a dumbass) so any tips much appreciated!
[Barnes & Noble Nook Tablet] xecuter:
In ES File Explorer, go to menu > Settings > make sure both Root Explorer and Mount File System is checked.

Works great on mine! the N button doesnt feel handicapped anymore. lol

yeah gotta agree with the 2 posts above, in playerpro the menubar kinda blocks the options for playerpro.
[Barnes & Noble Nook Tablet] damanddd:
I had to change owned by to root. You can long press on SystemUI in root manager and select owner. Then change it to root and reboot.
[Barnes & Noble Nook Tablet] dragon_76:
The n button is notoriously wonky and I would rather not use it. It has always acted as a home button.

Cheers,

-M

XDA member since 2007
[Barnes & Noble Nook Tablet] fujimoh:
Having trouble installing this file. I downloaded from the link in the first post, moved to my Nook and tried to install using ES File Explorer. I have Root Explorer and and Mount as writable both checked. I click install and it just gives the error message "Application not Installed."

Any assistance would be appreciated. Thanks
[Barnes & Noble Nook Tablet] ShinnAsuka:
if you have any alternate launchers like go launcher ex, you can go into the launcher settings and set what gesture up and gesture down do. in this case you can set either gesture to show/hide the status bar.
[Barnes & Noble Nook Tablet] bustergonad:
Thanks for the tip. I also had HomeCatcher installed which I think caused a few problems, so needed to uninstall that first.
[Barnes & Noble Nook Tablet] davewuvswaffles:
Oh I really hope this means we can finally get a Honeycomb/ICS-like status bar now.

At the moment, that's the only thing I wish I could change to better complete my current setup. Right now I just have my status bar permanently tucked away to hide the ugly.
[Barnes & Noble Nook Tablet] cfoesch:
Oh no no no no nonononono.... you don't click "Install"... you need to copy it manually into the /system/app directory, and fix the permissions manually. Don't worry, it's easy to be confused and get this crosswise.
[Barnes & Noble Nook Tablet] CuriousTux:
can you give us a quick walkthru on how to do it thanks
[Barnes & Noble Nook Tablet] cfoesch:
A quick walkthrough, huh? hm... you know, I wrote the snowball-mod just so I wouldn't have to explain these things... ;)

Anyways, ok, so... first thing is first, be root in your file explorer. Then, mount the system directory rw. Rename the SystemUI.apk that you downloaded to SystemUI.apk-new Copy this SystemUI.apk-new to your /system/app directory. There, tap and hold it and then in the dialog that presents itself set the permissions to be "Owner: Read & Write, Group: Read, Other: Read". Then set the owner to be "root" and the group to be "system" or "root". Then rename it to SystemUI.apk replacing the previous version.

This will likely cause your statusbar to disappear, no worries, this is to be expected. Once that is done, reboot your nook, and everything should be functional. _SHOULD_ be.
[Barnes & Noble Nook Tablet] fujimoh:
Thanks. Solved that problem and now have a new one. I used Root Explorer, changed permissions, and moved copied the SystemUI file and rebooted.

The N button now works as a back button, but I keep getting a force close on Google Services and my widgets show up "problem loading widget." Tried reloading the widget and rebooted, and same thing happened.

***Ugg, nevermind. I realized from your walkthrough cfoesch that I did not have the Owner and Group set correctly. Changed those and I no longer get the error. I am done being such a noob in this thread.
[Barnes & Noble Nook Tablet] cfoesch:
It's how we learn. :)
[Barnes & Noble Nook Tablet] revcompgeek:
It has NOT always acted as a home button, otherwise I wouldn't have made this mod. It sends an intent that is (normally) only caught by the B&N Home application. Homecatcher intercepts that intent and sends a home intent that mostly works. This update skips Homecatcher and sends the standard intent directly. In fact, it works a little better than Homecatcher does because it has an extra flag.

I use ADW Launcher, and I have the "Home button binding" set to "Open/close App Drawer". ADW failed to recognize the button press with Homecatcher, but it works as expected now with my modification.
[Barnes & Noble Nook Tablet] davewuvswaffles:
Just a quick question.

If I wanted to start to tinker with the status bar, maybe increase its height by 10-20 pixels, change some of the icons and re-position them, how would I start going about making these changes?

Is it even possible without modifying the framework?

I'm no graphic designer, but I'm normally more comfortable with media than digging through/modifying code, though I'd like to try and learn a bit about it. I'd really like to try and work on a more Honeycomb-like systemwide status bar.
[Barnes & Noble Nook Tablet] revcompgeek:
Changing the icons are as simple as replacing their images. I'm using APKTool to unpack and repack the apk. I don't recommend trying to edit the code in the form it gives you unless you are very experienced with Java and know a little about Java and Dalvik bytecode. The images and other resources (including the xml files for hide/show animations) are easy to edit.

Changing the location/size of the buttons and the height of the bar shouldn't be too hard, but I need to do some more digging before I know exactly how easy it is.

Also, if you get to this point: once the apk is repacked, the AndroidManifest.xml and META_INF items need to be copied into it from the original version, or it won't work at all.
[Barnes & Noble Nook Tablet] davewuvswaffles:
Thanks a bunch, I'll probably get started tomorrow morning after I get a little shut eye.

Whatever I do figure out, I'll be sure to pass along. Will probably start off simple with the bar height, then try to replace the icons, then go to changing their locations, then if all of that gets done by some miracle, I'll try to add a back button (I'll probably have to dig through how Button Savior does it and try and replicate that process).
[Barnes & Noble Nook Tablet] pdl1:
nook newbie here. tried to copy systemui.apk to /system/apps folder- would not transfer (es file explorer). says folder is write protected. how do i open it? it is odd because obviously the system has installed apps there. why cant i?

thanks to all.

---------- Post added at 12:27 PM ---------- Previous post was at 12:22 PM ----------

nook is rooted. gives superuser permissions etc. android and apps work well. problem isd whenever i press that N nook button it takes me back to the old launcher and everything android is hidden.

thanks again
[Barnes & Noble Nook Tablet] nam265:
Thank you for the great tweak.

However, I would like to keep the QuickNAV BAR.

Can you make a version 2Q that has the QuickNAV Bar intact while giving me the permanent back and menu button?

Thanks in advnace
[Barnes & Noble Nook Tablet] psybah:
Thanks!

Worked just as described here.
[Barnes & Noble Nook Tablet] phon00b:
You have to go into es file explorer's settings and enable it there. Scroll all the way down and check the last two boxes.
[Barnes & Noble Nook Tablet] davewuvswaffles:
Ok so after unpacking the apk and doing some digging, I found that

Now I know very little about this stuff so sorry if this is obvious, but if we were to find the parent and change the limiting height factors for both the Vertical (portrait) and Horizontal (landscape) layouts, wouldn't we then be changing the height of the status bar?

Edit: And just to add, I'm in the smali files looking through a few right now for this parent parameter. Does anyone know ahead of time if it not located in here?

Edit 2: I found the .paramter "parent" in StatusBarPolicy.smali

It doesn't have any variable attached, but it makes me feel like I'm looking in the right place.
[Barnes & Noble Nook Tablet] xecuter:
not too sure how you can make the bar taller, the background are .9 pngs. Not sure how it will affect the nook if you resize them. manage to move the icons about by editing layout.xml , which I can understand compared to smali files. lol.

looks like this now

I'm left with changing the intent of the home icon (was the reading button) to function as the home button... need some help there :P (revcomp?) i will attach my edited framework and systemui once i replace back some of the stock icons which i have mistakenly replaced..
[Barnes & Noble Nook Tablet] davewuvswaffles:
Wow, that looks awesome. I'd thank you but apparently I'm all out of thanks for today.

Idk if this is what you need, but try this code:
[Barnes & Noble Nook Tablet] Swiissjokr:
Thanks for your help
[Barnes & Noble Nook Tablet] pdl1:
Thanks.it is so hard using the posts as advanced users leave out vital steps that noobies don't know. How can I run Systemui.api in the system/app folder when having two files with the same name is not allowed? And renaming the original Systemui.api crashes the Nook? Also what is the note about setting "permissions"? I just don’t want to brick my tablet. Thanks to all...
[Barnes & Noble Nook Tablet] ckevinwelch:
Here's what I would do (having done it slightly differently before):

1) In your file explorer (I used ES), copy the new Systemui.apk file.

2) Navigate to /system/app/ and rename the existing Systemui.apk to Systemui.apk.bak

3) Paste the new System.ui.apk

4) Reboot if necessary.

I did step 2 first, and had constant FCs until I pasted the new file. It wasn't impossible, but it was a pain.

---------- Post added at 12:49 PM ---------- Previous post was at 12:47 PM ----------

Dude, that is awesome. How many files did you have to edit? Can you post them?

Also, I like the blue battery and wifi icons ... did you do that as part of this mod as well, or something else?
[Barnes & Noble Nook Tablet] Swiissjokr:
Thanks again
[Barnes & Noble Nook Tablet] sangahm:
+1

Sangahm
[Barnes & Noble Nook Tablet] rjin9673:
@xecuter

When you say editing layout.xml, do you mean status_bar.xml?

I don't have a layout.xml in my .apk. I'm looking to do pretty much the same thing.

Also, if you could put up your apk so I can take a peek and see your changes that would be great!
[Barnes & Noble Nook Tablet] iamnarada:
Nice! Is this a real screen shot? As in, you have this running on your NT? I guess you're waiting till you have the "home" button sorted out properly, or is there some other reason you've still got button savior running?
[Barnes & Noble Nook Tablet] ravinious:
revcompgeek: This is really awesome, but do you have a copy of Version 1 of the apk you developed archived somewhere?

(I love having the perma back/menu buttons. But I want to keep the n mapped to the B&N QuickNav and use button savior to get to the app drawer.)

Tx
[Barnes & Noble Nook Tablet] Anxiyz:
Actually this is awesome. Is there anyway you could attach or the framework/systemui as it is? Lol, I still use that book icon to bring up my reader.
[Barnes & Noble Nook Tablet] jomamasfat:
Just tried this out and it worked perfectly. Thank you very much.

I just copied the file using a root explorer and the tablet rebooted itself and the n button had been changed. I verified the permissions were right, they were, and that was it. Really, quite simple and painless.
[Barnes & Noble Nook Tablet] xecuter:
yeah sorry about that.. what i mean was the xml in the layout folder.. which is status_bar.xml :p will post my ui apk in the other thread in a while.
[Barnes & Noble Nook Tablet] travisn000:
Look here: http://xdaforums.com/showpost.php?p=21003708&postcount=10

;)
[Barnes & Noble Nook Tablet] sangahm:
How did you get 7 icons in the dock bar with Go EX?
[Barnes & Noble Nook Tablet] rjin9673:
Because I wasn't actually using the dock. I removed all the icons from it, clicked on the '+' and chose blank. Then went into settings and hid the background of the dock. The icons are just on the home screen like the others. That was the only way I found on Go Launcher EX to have 7 icons there.
[Barnes & Noble Nook Tablet] sangahm:
Ah clever. It doesn't roll with the screen changes though. But I guess you can just copy the same 7 icons at the bottom of each screen.
[Barnes & Noble Nook Tablet] rjin9673:
I only use one other screen which has a calender widget taking up the space, so it works better for me. I can see it not working for someone that uses several home screens.
[Barnes & Noble Nook Tablet] travisn000:
I was digging through the SystemUI.apk (after decompiling), and I found some code in a smali file that looks like it might be what you are after...

(Code excerpt from ../smali/com/android/systemui/statusbar/StatusBarService.smali at ~line 3394)

const-string v0, "Sending intent to launch last book"

invoke-static {v3, v0}, Landroid/util/Slog;->d(Ljava/lang/String;Ljava/lang/String;)I

.line 2022
new-instance v0, Landroid/content/Intent;

const-string v1, "com.bn.nook.launch.LAST_BOOK"

I tried changing com.bn.nook.launch.LAST_BOOK to com.bn.intent.action.home (..found that intent in another file), recompiled and installed, but now I don't have a status bar at all (..back ups are good!).

..I don't know if my recompile of the apk was bad (it did spit a few error messages), or if I need a more generic home intent, or if I am just not looking in the right place, but thought I would share just in case it helps someone else..

EDIT:

found another more generic home intent: android.intent.category.HOME

...still getting error when trying to recompile though:

[tln@HP-laptop nook_tab]$ apktool b -f -d SysUI-decompiled
I: Smaling...
I: Building resources...
aapt: /lib/libz.so.1: no version information available (required by aapt)
I: Building apk file...
aapt: /lib/libz.so.1: no version information available (required by aapt)
[Barnes & Noble Nook Tablet] xecuter:
Yup, you're looking at the right place. I have tried what you did too but changing one line wasn't enough. mine compiled without error, but it some sort broke the button too. (pressing it goes to no where).. There were a few more lines to add, i copied some code i found in the lower part of the same smali file. I've attached my systemui apk in the other thread here, you can decompile it to see the changes I made.
[Barnes & Noble Nook Tablet] wedmiston:
I am new to my rooted NT and see this file. What does it do, what benefits of installing and should I bother with it or delete it?
[Barnes & Noble Nook Tablet] rjin9673:
It is an .apk that is already in your /system/app folder, and B&N uses it to modify the default Android experience, changing some of the UI features over the framework-res.apk. We have taken it and modified so that the soft keys at the bottom are in a different place, have different icons, and lastly have a different function. Also, thanks to revcompgeek, the hard 'n' button acts as a normal Android button without the use of any apps.
[Barnes & Noble Nook Tablet] travisn000:
It changes the very bottom bar (notification bar) to look and function more similar to a "native" android tablet; it also makes the 'n' button work like a native android home button.

After snowball mod , I did the following from PC console (should work with after any rooting procedure is completed):

adb devices (to make sure i'm connected.. should print nook s/n)

adb remount (to make nook system partition rewritable)

adb shell cp /system/app/SystemUI.apk /system/app/_System_apk.bak (back up existing SystemUI)

adb push /local/path/to/modded/SystemUI.apk /system/app/SystemUI.apk

...note that the above local path will be C:\local\path\etc... on windows

adb shell chmod 644 /system/app/SystemUI.apk (..make sure file permissions are correct after install)

adb reboot (reboot device to load new SystemUI.apk)