Replacement SystemUI.apk v2: Permanent back and menu buttons, n as Home button - Barnes & Noble Nook Tablet

I have been tweaking the SystemUI application, changing the way a few things work.
Installation Instructions
Download View attachment SystemUI.apk
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

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...

Whoops, forgot Certs the first time around. Download the attachment again, this new one should work great!

Thanks for that. I tested it in settings and no back button! (permissions changed)
Edit: Now it works. This is great! Thanks

Great idea! Have you though about changing the default icons for the status bar?

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?

revcompgeek said:
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?
Click to expand...
Click to collapse
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://forum.xda-developers.com/showthread.php?t=1330577

So far works great! If you could manage the book button as a home button, I could stop using button savior. Is that possible?
Sent from my BNTV250 using xda premium

Check the first post again. The n button acts like the Home button now.

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?

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.

Please add a version number or a date on thread header text. So we can better see when an update is available.
Sent from my B&N Nook Tablet using XDA Premium App

revcompgeek said:
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.
Click to expand...
Click to collapse
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...

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)

dugpol said:
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)
Click to expand...
Click to collapse
i second this... is there a way to go to a list of running apps in go launcher ex?

set the permissions to
Code:
Read, Write, Nothing
Read, nothing, nothing
Read, nothing, nothing
in otherwords, 644
Enjoy..

ShinnAsuka said:
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...
Click to expand...
Click to collapse
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!

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...

@revcompgeek What did you use for apk editing, metamorph, ninjamorph or another?

ShinnAsuka said:
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...
Click to expand...
Click to collapse
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

Related

[Q] Das BAMF Notification Widgets

I can't get the notification widgets to change. I have changed the widget.txt file in system, customize to be:
toggleWifi|toggleGPS|toggleBrightness|toggleFlashlight
but I have GPS, Wifi, Bluetooth, Data, Flashlight, sound in the pull down. I have rebooted many times but it is still not changing to what it should be. Is there another way to force this?
I'm not extremely sure, but I think you have to have the same amount of widgets in the text file as you original have which in this case would be six. You currently stated having made a text file with four, try adding two more toggles.
Hope this helps.
afewgrams said:
I'm not extremely sure, but I think you have to have the same amount of widgets in the text file as you original have which in this case would be six. You currently stated having made a text file with four, try adding two more toggles.
Hope this helps.
Click to expand...
Click to collapse
It worked with the same .txt file when I was on BAMF 1.4
I had the permissions set wrong, they should be set to rw-r--r--. That fixed it.
I'm glad you got it fixed.
Sent from my ADR6400L using XDA Premium App
Can you confirm that you don't need EXACTLY six widgets?
I managed to bork my phone this morning by trying to add a seventh widget and it wouldn't boot fully.
I didn't think to check the permissions after editing with root explorer, but got the phone up and running again by using adb to push back the original widgets.txt while in clockwork.
I then edited it again to have just six and deleted one of the "stock" ones by replacing it with the AutoRotate one. Phone booted fine.
Interestingly, my permissions on the file are rw-rw-rw- so I'm curious what the permissions are that kept you from changing. No problems booting, either, huh?
distortedloop said:
Can you confirm that you don't need EXACTLY six widgets?
I managed to bork my phone this morning by trying to add a seventh widget and it wouldn't boot fully.
I didn't think to check the permissions after editing with root explorer, but got the phone up and running again by using adb to push back the original widgets.txt while in clockwork.
I then edited it again to have just six and deleted one of the "stock" ones by replacing it with the AutoRotate one. Phone booted fine.
Interestingly, my permissions on the file are rw-rw-rw- so I'm curious what the permissions are that kept you from changing. No problems booting, either, huh?
Click to expand...
Click to collapse
You can have less than 6, but I've never tried more. Maybe you can't.
...
klittle81 said:
less then 6 is ok, more then 6 and your phone will either get force closes or not boot.
Click to expand...
Click to collapse
Okay, that confirms my experience. Glad I didn't try again, easy enough to fix, but still a hassle.

Adding reboot option

Does anyone know what is needed to add the reboot option to the power menu.. I want to add it to the current theme I'm using. Thanks in advance
Sent from my MB860 using XDA App
mscott998 said:
Does anyone know what is needed to add the reboot option to the power menu.. I want to add it to the current theme I'm using. Thanks in advance
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
What theme are you using... most of them incorporate the reboot option... unless your using a custom theme... Might try flashing something like gingerblur, or one of the other popular themes in this forum. Then you can edit the framework-res.apk to your liking, replace what ever icons you want back, and you'll have the reboot option as well. Sorry, I'm ot sure how to just add the reboot option though... sure it will require the editing of services.jar or the framework-res.apk.
the theme im using doesnt have it. i want to modify the theme and add it but im no sure what i need to do to add that feature.. does anyone know how?
Can anyone help ...
Sent from my MB860 using XDA App
You could use my MotoBlur theme as a base for your theme. Its just the stock theme with 1% battery and reboot added.
http://forum.xda-developers.com/showthread.php?t=1076655
The reboot option is added by editing android.policy.jar.
Nottach said:
You could use my MotoBlur theme as a base for your theme. Its just the stock theme with 1% battery and reboot added.
http://forum.xda-developers.com/showthread.php?t=1076655
The reboot option is added by editing android.policy.jar.
Click to expand...
Click to collapse
Thanks sir, ill look into it
I got into the files and im trying to find the one that contains the modified code for the reboot option. there are quite a few .smali files just truing to figure the right one out and im good
mscott998 said:
Does anyone know what is needed to add the reboot option to the power menu.. I want to add it to the current theme I'm using. Thanks in advance
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
[HowTo] Add a Reboot option to the power menu (Froyo)
hey. did you ever figure this out?? i am using gladiatrix 3 but it does not have the reboot option. i dont want to use a theme because i like it the way it is but would love the reboot option?
buffalo06 said:
hey. did you ever figure this out?? i am using gladiatrix 3 but it does not have the reboot option. i dont want to use a theme because i like it the way it is but would love the reboot option?
Click to expand...
Click to collapse
Tried it the other day for 2.3.4... incredibly difficult... well, maybe not so much difficult, as it is trying to find a complete set of directions... Apparently, the devs used a combination of two different threads that were written for different phones... so the code lines don't match up and it was a damn cluster **** to try an figure out, so I gave up... Kenneth said this will be implemented on his next update for 2.3.4.
I wish I still had the pages saved, but I deleted them after trying to do this for a couple of hours, so I wouldn't be tempted to try it again. Ask in the IRC chat, there are a few people there that can direct you to the right place if you want to attempt, and good luck.
Bump, anyone find a good source for how to do this on gb? I'm not having luck finding the info.
msd24200 said:
Bump, anyone find a good source for how to do this on gb? I'm not having luck finding the info.
Click to expand...
Click to collapse
No one's been able to do it yet as far as I know. The gingerbread file structure associated with the reboot option has changed so much that it is incredibly difficult. I had heard a report that Designgears may have figured it out, but I think it was probably a false report, as no Atrix Dev has yet to incorporate it into a ROM or theme.
Swiftks said:
No one's been able to do it yet as far as I know. The gingerbread file structure associated with the reboot option has changed so much that it is incredibly difficult. I had heard a report that Designgears may have figured it out, but I think it was probably a false report, as no Atrix Dev has yet to incorporate it into a ROM or theme.
Click to expand...
Click to collapse
Thanks swift, I found a file on modaco, I think it was framework for an lg that had it, but couldn't find any actual info as to how it is needed to be modified.
Sent from my MB860 using XDA Premium App
Swiftks said:
No one's been able to do it yet as far as I know. The gingerbread file structure associated with the reboot option has changed so much that it is incredibly difficult. I had heard a report that Designgears may have figured it out, but I think it was probably a false report, as no Atrix Dev has yet to incorporate it into a ROM or theme.
Click to expand...
Click to collapse
Just another update... DG said to me a while back that he was able to add the options, but they screwed up the current options so none of them worked. He did not get it working for the Cognition beta.
I tried my hand as well, but couldn't figure it out.
I used gscript and just made a shortcut on my desktop. Works great.
Is it adding the button to the menu that breaks it?
Sent from my MB860 using XDA App
I tried as well, and all I got was me turning my power button into a reset button, options wouldn't show up.. so there was no way to turn it off, it would just reset my phone when ever I tried to pull up the Phone options..
I was working on this a little bit once I got GB update. I am like 80% the way through it. I can link to what I am going off of-
From the Vibrant Forums
I had all the files edited and ready to rock, the problem I was at was the RECOMPILING. I think I was missing some dependencies.
I got all the way up to that point and had to go home for the day at work- never picked it back up. If I get some time at work today I'll give it another crack.
If I get anywhere I'll post my framework-res.apk.
I followed the steps from that thread too and while I could build/compile everything fine and get the options to show in the menu none of the reboot options would work. Seems we're all having similar issues with this.
malfuncion said:
I was working on this a little bit once I got GB update. I am like 80% the way through it. I can link to what I am going off of-
From the Vibrant Forums
I had all the files edited and ready to rock, the problem I was at was the RECOMPILING. I think I was missing some dependencies.
I got all the way up to that point and had to go home for the day at work- never picked it back up. If I get some time at work today I'll give it another crack.
If I get anywhere I'll post my framework-res.apk.
Click to expand...
Click to collapse
Nottach said:
I followed the steps from that thread too and while I could build/compile everything fine and get the options to show in the menu none of the reboot options would work. Seems we're all having similar issues with this.
Click to expand...
Click to collapse
I was following that thread as well, and my issue was stated above, then I saw this from the DX2 forum, which has GB and on his change log, he stated he added reboot options.
http://forum.xda-developers.com/showthread.php?t=1198857
I grabbed his theme, compared the framework.jar, framework-res.apk, and android.policy.jar files.. they pretty much match up with ours. So, using Notepad++, I did a compare between the files, added what he added, basically looks like the same things from the vibrant how-to. This time around, when I press for the power options, it comes up normal, but the link to the 'reboot' does not show up... I might try this without the battery %, as that takes up alot of the hex id....
I'm thinking we might need to add that line from DG that he did a while back for the first reboot options on froyo...
I also have no problems with recompile... I'll mess around with it some more when I have free time.. I don't spend much time inside during the summers..
has anyone decompiled the framework-res from the g2x's gb build or maybe even CM? Not USE the framework of course, but maybe see what flags that policy uses for a reboot?
edit* seems like previous posted may have tried what I asked. back to the digi drawing board...

[Q] Regarding MIUI/CM7, pulling an app over?

Hey Guys!
I've been trying to find a way to keep the softkey light on S2 on MIUI turned off (COMPLETELY, not auto brightness values for button to 0) but there really isn't a way...
I've noticed in CM7 there is a Galaxy SII settings app that can be found independently in Titanium Backup. That app has the option to turn off the softkey backlight completely.
Do you think it's possible to drag that app from CM7 and Install it on MIUI to turn off the keylight? Considering from what I've read MIUI is based partly on CM right?
Go to display setting. Turn on auto brightness and beneath it will be advanced settings or something. Then there should be automatic backlight tab or Light Levels. Click on Edit Other levels.. Underneath button, make the value(should be 225 or 250) go to 0. You're good to go. You can turn off auto brightness then.
Pretty sure the OP said "COMPLETELY, not auto brightness values for button to 0"...Wait...He did
OP - there are various scripts around the place which claim to achieve this. I also use Miui & setting the auto brightness to zero used to work. This stopped working early in the the new year so something has obviously changed in Miui's builds.
I can't vouch for the usefulness of these scripts as I've learned to live with this issue, and I don't have a link for same. Try a Google search & append XDA to your search terms. This should yield something for you.
Edit to add - With regard to pulling over an app from CM7, obviously Miui is CM based so it might work. I guess you can only try it & find out. Can't see how it could do any harm given it's only an app.
@Mistah Thanks loads dude, I've tried some of the scripts from some of the searches I did and nothing seems to work you're right.
I'll give it a shot and see how it goes, but I don't think if i get the APK out i can just install it normally right? I'd have to put it in system>app then do a reboot for it to go in nicely?
I'll test it and report it back here tmrw thanks!
No worries
Yeah I'm not surprised the scripts don't work. Yeah give it a try, put it in /system/app & also might wanna mount /system rw before you install it (if you need to, use an app like Remount to do this). Yeah do a reboot after you've installed it & cross your fingers.
Will be awaiting your report with baited breath
Doodalicious said:
@Mistah Thanks loads dude, I've tried some of the scripts from some of the searches I did and nothing seems to work you're right.
I'll give it a shot and see how it goes, but I don't think if i get the APK out i can just install it normally right? I'd have to put it in system>app then do a reboot for it to go in nicely?
I'll test it and report it back here tmrw thanks!
Click to expand...
Click to collapse
Hey @Mistah I'm on checkrom v4 currently though coz im trying out some stuff. I've got the said apk out from cm7 do you think I can pm it to you in about 7 hours from now to try it out?
Sent from my GT-I9100 using XDA
Yeah why not
Doodalicious said:
Hey @Mistah I'm on checkrom v4 currently though coz im trying out some stuff. I've got the said apk out from cm7 do you think I can pm it to you in about 7 hours from now to try it out?
Sent from my GT-I9100 using XDA
Click to expand...
Click to collapse
Pm-ed! Thanks!
Replied. Doesn't work & I doubt it will.
I wrote a script which works for me on all kernels with init.d support, here's a link:
http://dl.dropbox.com/u/27703769/Permanently Disable Softkey Backlight.zip
If the flashable zip doesnt work just copy the script and set correct permissions (755). Please report back, because I haven't used the script for a while now...
BLN doesn't work on the script, though. I have located the file which contains the value for the backlight and changed its permissions, this disables the phone to change this value and thus keeping it off. This file is on a different location on almost every phone, so most scripts work on only one particular device.
gangsterjoop said:
I wrote a script which works for me on all kernels with init.d support, here's a link:
http://dl.dropbox.com/u/27703769/Permanently Disable Softkey Backlight.zip
If the flashable zip doesnt work just copy the script and set correct permissions (755). Please report back, because I haven't used the script for a while now...
BLN doesn't work on the script, though. I have located the file which contains the value for the backlight and changed its permissions, this disables the phone to change this value and thus keeping it off. This file is on a different location on almost every phone, so most scripts work on only one particular device.
Click to expand...
Click to collapse
Hey Joop!
Tested the zip and it flashed but it just seems to force the softkey light on. Doesn't go off at all after that. Thanks for the help though!

Custom SystemUI

It worked with all the updates til now? Anyway to get it working?
SystemUI, probably just got some updates. Have you tried adding your .pngs to the new systemui.apk? Still no go?
David522d said:
It worked with all the updates til now? Anyway to get it working?
Click to expand...
Click to collapse
I was running the blue soft keys and now when I put them back in sytem/app I get force closes and the entire nav bar disappears. Any ideas? I really hate the skinned look Asus puts on them. Thanks in advance.
Swiftks hit the nail on the head, there were some changes to the SystemUI that breaks older versions. (I know, captain obvious over here) Give the developer of the theme a chance to update the PNG files, or do it yourself. I ran into the same problem yesterday and copying the PNG files I wanted into the new SystemUI.apk fixed it.
I'm not sure how to do that. The nav keys I was using are just stock ICS blue. If you or anyone happens to have a link to some I could use with the updated files that would be fandamntastic. I can't seem to find the thread where I downloaded them from. I know they were on XDA but I've been searching since yesterday. Thanks again
predictablyerratic said:
I was running the blue soft keys and now when I put them back in sytem/app I get force closes and the entire nav bar disappears. Any ideas? I really hate the skinned look Asus puts on them. Thanks in advance.
Click to expand...
Click to collapse
Make sure to copy to correct folder, and select "store" for the compression method, that way they are not compressed.
Sent from my CM7 Atrix 4G
Yes, I am putting the file in system/app and the file is not compressed. I've done this with each of the updates and now it doesn't work. I was thinking it may be because Asus added the lock function to the nav bar. Once again if anyone has another file they could point me too that would be awesome. I can't find the thread that I got my ICS blue buttons from.

[Q] Sense 4 Rom and soft key lights

Hello all. Major lurker just not a poster here.
Is there any way to turn off the soft key lights on any of the Sense 4 ROM's? I've been running lllboredlll's Sense 4 ROM and I really love it but there doesn't seem to be a way to turn off the softkey lights. I use the phone as my clock at night and the lights from the soft keys are pretty dang bright.
After looking through the "tweaks" included in the other Sense 4 ROM's it doesn't seem to include any way to turn them off.
I've even tried Screen Filter which has a setting to turn them off but it doesn't support all devices.....like this one.
Any help would be appreciated.
PS. I would have posted this in the ROM's section but I lack the required post count
I'm guessing that if it's not in Bored's tweaks yet it will probably be incorporated soon. I flash so many roms its hard to remember but I think on Joel's evita I used the option to dim the capacitive touch buttons.
Also keep an eye out for the new collaborative pkmn rom, it will have some crazy tweaks and options although I can't speak for the devs about what will be included and when.
Update: Maybe this will be helpful http://forum.xda-developers.com/showthread.php?t=1610381
Thanks for that CharliesTheMan! I knew there had to be a way somehow.
I also followed your guide on how to update my firmware a couple of weeks ago and it was fantastic. I appreciate the time you put in to have all the files in one thread and the instructions themselves were spot on so THANKS for your work!!
Well go the script in the right place but the instructions say to change the scripts permissions. I've no clue how to do that from ES Explorer. I've also googled it and can't seem to turn anything up.
Vref said:
Well go the script in the right place but the instructions say to change the scripts permissions. I've no clue how to do that from ES Explorer. I've also googled it and can't seem to turn anything up.
Click to expand...
Click to collapse
go into ES, and hit settings from the menu. scroll down to root settings. check root explorer, check mount file system and for safety sake, check backup system app.
you should now be able to change the permissions by long pressing on the file, scroll to properties and hit change on the permissions.
piizzadude said:
go into ES, and hit settings from the menu. scroll down to root settings. check root explorer, check mount file system and for safety sake, check backup system app.
you should now be able to change the permissions by long pressing on the file, scroll to properties and hit change on the permissions.
Click to expand...
Click to collapse
Thanks piizzadude. Had the settings right for ES, just couldn't piece together how to change the actual script permissions...Thanks again!
Vref said:
Thanks for that CharliesTheMan! I knew there had to be a way somehow.
I also followed your guide on how to update my firmware a couple of weeks ago and it was fantastic. I appreciate the time you put in to have all the files in one thread and the instructions themselves were spot on so THANKS for your work!!
Click to expand...
Click to collapse
Thanks a lot man I'm glad to hear that it was useful and worked out well. You're very welcome, I enjoy the community a lot, android and especially Team BAMF is a big part of my life, and I try to give back to the community when I get a chance.

Categories

Resources