yashsingh1/xdaforums huggingface dataset:
[Barnes & Noble Nook Tablet] lavero.burgos:
Thanks very much, question do the SystemUI's attached make n button act like a standard Home button?

I want to release 2 versions of root "RootME", inspired of Indirect's & Cfoesch methods but adding modified SystemUI, framwork-res, build.prop and adding other .apk's along with the necessary files to block OTA after root (A step that many don't do because they think that by applying Indirect's script will do it).

if anyone would like to help me testing would be much appreciated :) just PM me if interested! :p

Veronica
[Barnes & Noble Nook Tablet] xecuter:
Yup as it is based on revcompgeek's systemui mod. :)
[Barnes & Noble Nook Tablet] xboxexpert:
This looks great I just used it and edited the framework res pack with the battery icons. I think once the home icon actually works as a home buttons this is going to be perfectly flawless.
[Barnes & Noble Nook Tablet] rjin9673:
I'll probably be working on the 'n' button this week to have it work how I would like.

I'm still getting familiar with the .smalis and .xmls.

Using revcompgeeks SystemUI.apk, it acts as a natural Home button. I would like to have it as a Back button first, and a Home button second, either buy long press or double press. I rarely use Home, pretty much only when something freezes up and I need to quit to force stop it.
[Barnes & Noble Nook Tablet] xecuter:
manage to get the reading button remapped to home .. hooray. just need to do more testing first.
[Barnes & Noble Nook Tablet] rjin9673:
That's awesome! Could you be so kind to share what you changed in the .smali?
[Barnes & Noble Nook Tablet] xecuter:
It was trial and error. Heck, not sure if its the right way of doing it. :p All i know is, it works and I havent see any side effects of using for the past few hours.

I'll attach my SystemUI so you can do the comparison with the original? Its in StatusBarService.smali , just do a ctrl-F with whatever editor you're using, find LAST_BOOK .. that's the area of the code which I made changes to. I changed line by line while trying to maintain no errors while compiling and continually testing the ui apk w my nook to see if it works. I borrowed the code from the same file (lower down the lines) where you can find the .home intent code, you can see its similar.

This SystemUI.apk i've attached is revcompgeek's mod of permanent n button + ics icons status bar with home icon and mapping. Please unzip before replacing and reboot after replacing.

p.s the first time I replaced and tested if the home button was working, my nook kinda went haywire which I'm not sure if it was caused by this. Or because my nook battery getting close to flat.... After a minute, it went flat. Charge it abit, start up and the button was working without flaw. So.. i'm not sure if coincidental, please backup your current SystemUI first :D let me know if it works for you.
[Barnes & Noble Nook Tablet] xboxexpert:
In that SystemUI is the home button icon a book or a little home icon?
[Barnes & Noble Nook Tablet] travisn000:
I just installed it.. ...IT WORKS PERFECT!

..home icon:
[Barnes & Noble Nook Tablet] davewuvswaffles:
Hey xecuter, what lines did you have to change to center the icons?

I only ask because I want to see if I can get the icons left justified more like Honeycomb has it.

Nice job on getting the home button mapped. I finally have a reason to have a status bar on my homescreens.

Edit: Also having a problem with the bar disappearing on hibernation. I have to put it back into portrait in an app for it to come back and then go back to my homescreen (which is forced in landscape).

Not sure what's causing this.
[Barnes & Noble Nook Tablet] xecuter:
hey.. by hibernation you mean, when you turn off and on the screen the bar disappears? just tried putting mine in landscape mode in adw to replicate but all seems ok. Did this problem only appear aft using the latest one I posted?

btw, regarding the button positioning.. you can compare my layout.xml and the original layout to see the differences. basically, i removed the quicknav button line (which I'm not sure why its there since it doesnt even physically appear on the status bar?) and I replaced it with currently reading line. after that there are values you can adjust, the dip i think, which is actually the gap between the icons. There's also a value that calls for it to be centered. At work now, so I don't have the code to show as an example. I think moving it to the left side is possible.. But where do you plan to put the notification stuff? Sometimes I wish the bar could be dragged up :(

p.s anybody else having issues?
[Barnes & Noble Nook Tablet] davewuvswaffles:
I didn't notice it before, but then again, I've had it hidden from my homescreen until now, so I wouldn't have noticed it anyways.

I'll have to go in and look around then, thanks for the tips on where to start. I was thinking of moving the notifications to the middle and making that one icon transparent. Or I guess I could keep it on the left, but have it come after the soft buttons.
[Barnes & Noble Nook Tablet] jmaddocks:
x2 Thank you!
[Barnes & Noble Nook Tablet] Novalis31:
So is this just a copy and paste or do permissions need to be changed?

Sent from my Nook Tablet.
[Barnes & Noble Nook Tablet] Novalis31:
I got it to work after redoing the permissions.

Sent from my Nook Tablet.
[Barnes & Noble Nook Tablet] Novalis31:
Sent from my Nook Tablet.
[Barnes & Noble Nook Tablet] ShinnAsuka:
thanks this systemui.apk works really well!
[Barnes & Noble Nook Tablet] travisn000:
After snowball mod, I did the following from PC console:

adb devices (to make sure i'm connected)

adb remount (to make 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)
[Barnes & Noble Nook Tablet] suki7474:
Did u change the systemui straight from the nook tablet or when its connected to the computer?
[Barnes & Noble Nook Tablet] xecuter:
I have made another systemui layout edit with navigation buttons on the left instead.. and other icons following the ics layout. A few things i'll like to mention before anyone of you decide to use this.

1. I'm not sure if this is gonna work well for those who use the snowball mod. Might have issue of disappearing status bar.

2. I have attach roboto font together with the zip, although the name is DroidSans & DroidSans-bold, it is roboto fonts renamed in order to replace your system fonts. Please backup the original fonts if you wish to use this. (not sure how the clock will look like without replacing the fonts, probably just big) One thing to note, the clock and system share the same font so I had to make some edits to the ttf. This also means the some of the system numbers will look like the clock, which some people might not like. I will attach a screenshot as an example.

3. Notification icons are truncated to only show the first 3 notifications. It will not form the merger icon. You can see the rest of the notification by tapping the area.

If you are ok with this, then happy downloading and replacing :D remember to set permissions to rw-r-r.. same procedures for fonts. safest is to copy to to system/etc, change permissions then move it to the designated directory. system/app for systemui.apk and system/fonts for the fonts. please remember to backup too. :)
[Barnes & Noble Nook Tablet] codygs83:
Thanks a million for this, it looks great!

I can confirm the snowball method and this status bar aren't the best of friends, just a few disappearances here and there but all in all livewithable.

Just rerooted using the zerg method and with give this one a shot after work today.

Thanks again!
[Barnes & Noble Nook Tablet] davewuvswaffles:
hey xecuter, any idea on how to get rid of the SD card mount notification or just hide it?
[Barnes & Noble Nook Tablet] rjin9673:
I just changed the image to a black png so it doesn't show up.
[Barnes & Noble Nook Tablet] xecuter:
Its showing up on the bar? Cause it doesnt show up on mine. I was wondering where it went. It just isnt there. Lol
[Barnes & Noble Nook Tablet] rei901:
xecuter rocks

NICE!!!!!

Many thanks. Now I won't have to stretch my lazy thumb to reach the nav buttons :D

I'm running carolyn's snowball mod; haven't yet run in the "disappearing" status bar glitch (don't know what it would look like therefore). I'm running ADW launcher and keep the statusbar hidden, reappearing on swipe down; maybe that is why I'm not noticing anything.

No SD card icon showing when the SD card is mounted for me.

Anyway, thanks, xecuter, I've been flailing ineffectually at the systemui for the last several days and had become fully obsessed. You've made the tablet far more usable fo me.

R
[Barnes & Noble Nook Tablet] rei901:
+1. Ninjamorph rules, try it out. Worth the 5 bucks for the Pro version (support your devs).
[Barnes & Noble Nook Tablet] rei901:
ICS status bar no clock mod

Boom-shaka-laka-laka boom-shaka-laka!

After around 3 hours of persistent googling and bad apks I finally succeeded in removing the status bar clock from the ICS status bar mod. I’m such a geek (he said proudly).

A .zip of my systemui.apk is attached below.

The mod is built on xecuter’s outstanding left-handed ICS systemui.apk here http://xdaforums.com/showpost.php?p=21616265&postcount=35, which is itself built on revcompgeek’s systemui hack here http://xdaforums.com/showthread.php?t=1415075.

The clock trick was posted by bixbix78 here http://forums.miui.us/showthread.php?61-MORE-MODS-07-08-Hide-StatusBar-icons_Launcher-Wallhack.

Here’s the drill:

--Decompile SystemUI.apk (System/App/SystemUI.apk) in APKManager.

--Use notepad++ to open smali\com\android\systemui\statusbar\Clock.smali.

--Search for the following line:

.line 97

invoke-virtual {p0}, Lcom/android/systemui/statusbar/Clock;->updateClock()V

--Add the following code BEFORE the line above

const v1, 0x8

invoke-virtual {p0, v1}, Lcom/android/systemui/statusbar/Clock;->setVisibility(I)V

--Save, recompile. Drag classes.dex from the resulting, new systemui.apk into original SystemUI.apk in WinRAR (zip threw an error)

--Send the original systemui with the new classes.dex to SD card, use Root Explorer to paste into /system, change permissions at rw-r-r, move to /system/app (overwriting the existing systemui.apk), reboot.

NO MORE CLOCK!
[Barnes & Noble Nook Tablet] rei901:
I've uploaded screenshots of my NT that show the modded ICS systemui in action here: http://xdaforums.com/showpost.php?p=21670472&postcount=250
[Barnes & Noble Nook Tablet] xecuter:
like this?

try this.

<com.android.systemui.statusbar.IconMerger android:gravity="right|center" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingRight="3.0px" android:layout_width="72.0dip" android:layout_height="fill_parent" android:layout_toLeftOf="@id/statusIcons" android:layout_centerVertical="true" />
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="30.0sp" android:gravity="right|center" android:orientation="horizontal" android:id="@id/bnclock" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentRight="true"/>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_toLeftOf="@id/bnclock" />
[Barnes & Noble Nook Tablet] rjin9673:
Yea, =( tried that setup as well. Seems every change I'm making causes a FC. I thought it was just NinjaMorph being funny, even when injecting the .xml into a copy then moving it after changing permissions, but just using APKtool to rebuild it doesn't seem to help. Not sure why all of a sudden it just doesn't like me.
[Barnes & Noble Nook Tablet] xecuter:
did u recompile the apk before using the xml?
[Barnes & Noble Nook Tablet] rjin9673:
I used APKtool to build the package.
[Barnes & Noble Nook Tablet] rei901:
Try using the technique I outlined in post 43 above, beginning "save, recompile. " I had to drag my new classes.dex to the old apk and install that.
[Barnes & Noble Nook Tablet] dodgepot:
You clever buggers. I really do like this menu bar now. Thanks!
[Barnes & Noble Nook Tablet] rjin9673:
I started using APK Multi-Tool, which is the newer version of APK Manager, but when compiling it just throws errors at much, shown below:

Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Rjin\AppData\Local\Temp\APKTOOL1078958400898984001.tmp, -I, C:\Users\Rjin\apktool\framework\1.apk, -S, D:\APK_MT\projects\SystemUI.apk\res, -M, D:\APK_MT\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Rjin\AppData\Local\Temp\APKTOOL1078958400898984001.tmp, -I, C:\Users\Rjin\apktool\framework\1.apk, -S, D:\APK_MT\projects\SystemUI.apk\res, -M, D:\APK_MT\projects\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at brut.util.OS.exec(OS.java:78)
... 7 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more

Edit: Doesn't seem like aapt is running. Not sure why it's not now... I'm looking around for it again.
[Barnes & Noble Nook Tablet] kcpaynev1:
loving this new status bar
[Barnes & Noble Nook Tablet] rjin9673:
Well it has just been a headache trying to get APK Multi-tool to compile.

It just continues to say it can't find aapt.

I've reinstalled Android SDK, ApK Multi-tool, and apktool, while changing my environment variables to relative and hard address, and it refuses to find it to compile my apk....

I almost just want to dump all the apk files into my \system32 but also don't want that junk sitting in there...
[Barnes & Noble Nook Tablet] Indirect:
If anyone wants to fully compile the systemui for me, I'll add it to a flashable zip.
[Barnes & Noble Nook Tablet] rjin9673:
I would if I could for you! Mine is not working for me at all right now...
[Barnes & Noble Nook Tablet] chelsea_fc:
+1
[Barnes & Noble Nook Tablet] xecuter:
which one needs compiling? the icsbar.zip i posted earlier already contains a compiled systemui.apk
[Barnes & Noble Nook Tablet] rei901:
So does my post 43--a no-clock mod of xecuter's original mod
[Barnes & Noble Nook Tablet] kcpaynev1:
was playing around lastnight and today and ended up changing a few thing in the status bar
[Barnes & Noble Nook Tablet] Indirect:
I can haz CWM zip for ICS bar?

http://dl.dropbox.com/u/15069134/ICSBarz.zip
[Barnes & Noble Nook Tablet] mhworley:
I should be able to flash this zip with CWM and Bam! I'll have an ICS notification bar?
[Barnes & Noble Nook Tablet] Indirect:
yeah.

That was the point in me making it.
[Barnes & Noble Nook Tablet] mhworley:
Thanks! Still finding my way around this device.

Worked like a charm!
[Barnes & Noble Nook Tablet] xecuter:
Nice! ! Thanks! Gotta learn how to make a flashable zip some day.
[Barnes & Noble Nook Tablet] kcpaynev1:
Was just wondering if there was any progess on making the center icon in status bar the designated home screen
[Barnes & Noble Nook Tablet] chelsea_fc:
Thanks for the file,

After trying to flash it everyting run fine except for my battery icon remain stock! Any ideas?

Also the numbers font looks funny when on other applications, but thats Allright.
[Barnes & Noble Nook Tablet] Know-Fear:
The battery icons aren't in the systemui.apk, they are in the framework_res.apk...otherwise...not included.
[Barnes & Noble Nook Tablet] xecuter:
yes because i was trying to achieve the ics bar look for the clock and because the clock font shares the same font as the system font, i had no choice. :(
[Barnes & Noble Nook Tablet] chelsea_fc:
How to get my fonts back to default?
[Barnes & Noble Nook Tablet] Know-Fear:
To revert to your old fonts, restore your backup (which of course you made before flashing anything, right?)

Then open the flashable zip with winrar/7zip (don't extract, just open)

Open the system folder

delete the fonts folder

Close

Reflash the new zip
[Barnes & Noble Nook Tablet] xecuter:
This.

Or you could just replace w stock fonts thru file manager.. dont forget to change permissions.
[Barnes & Noble Nook Tablet] chelsea_fc:
Can you post the stock fonts here? Thanks before
[Barnes & Noble Nook Tablet] xecuter:
Attached

10char
[Barnes & Noble Nook Tablet] Solar.Plexus:
Hello, xecuter, and everyone else. I'm looking to change the font of the clock on my status bar, and I understand it will change some other system text as well, that's fine.

However, I can't find the location to place the new .ttf file to change this. I've looked through the framework-res and systemUI but can't find it. So my question is where do I go and which file do I overwrite to change the clock font? Thanks in advance.

EDIT: Just looked at .ttf in your icsbar zip. Do I just change the numbers in the existing .ttf to a different font?
[Barnes & Noble Nook Tablet] Know-Fear:
The clock and some other random numbers are controlled by the .ttf files in /system/fonts
[Barnes & Noble Nook Tablet] xecuter:
Hello plex. Thats right, if you just want to change the numbers, you will need to edit the number fonts inside droidsans-bold.ttf .. there sa few free font editors out there you can use. After that, you can copy over your edited ttf file and overwrite the current one in system. (Backup orig first) Gd luck :)

Edit: dont forget permissions.
[Barnes & Noble Nook Tablet] Solar.Plexus:
I see. Thanks for your response. Maybe I'll get around to switching it tonight.

Just wondering though, how does the NT know to use the DroidSansBold.ttf as its default font? Is there a actual default font location somewhere in the framework?
[Barnes & Noble Nook Tablet] Maggot226:
What's that weather widget you have and where did you get it? I'm really liking it.
[Barnes & Noble Nook Tablet] Solar.Plexus:
Okay, so I'm having a bit of trouble finding a .ttf editor program that works and is free, haha.

xecuter, which one are you using?
[Barnes & Noble Nook Tablet] moukazwina:
I am trying to install ICS UI all, but I can't change the file permissions. Even by using root explorer. I rooted my NT from SD card. Maybe that's why. Anybody knows what to do?
[Barnes & Noble Nook Tablet] knuckhead:
I had the same problem, never could copy the new files to the right spot, and I *think* I had to get a newer 'Root Explorer'. I have v 2.17.2 now and I can change permissions.
[Barnes & Noble Nook Tablet] moukazwina:
I actually figured out how to do this. All you need is move the file from your SD card to /etc folder. You will be able to change permissions there.

You move the file (.apk) to /system/app, and install it.

My problem now is when I installed the UI.apk, it overwrote the old one and HCL crashed.

Anybody can give clear instructions on what one should do to get the ICS UI?

Thanks!!
[Barnes & Noble Nook Tablet] bstromberg:
Having a weird issue. I installed the systemui with center buttons and recently read button a while back, but now I want to try out the buttons on the left...but no matter what I do it wont stick. I've tried using root explorer and making sure all permissions and owner are correct, I tried using the cwm flashable zip, tried multiple different downloads of each, but it will not take. The font changed to roboto from flashing the cwm zip but systemui refuses to change. Any ideas?
[Barnes & Noble Nook Tablet] ckevinwelch:
Are you removing/renaming the existing SystemUI.apk before copying the new one in? When I did not do that, I had problems.
[Barnes & Noble Nook Tablet] bstromberg:
no. I didn't do that with the other ones (permanent back and menu mod as well as the centered back and reading buttons). I'll try that next though.
[Barnes & Noble Nook Tablet] lavero.burgos:
have you tried adb push SystemUI.apk /system/app ? i always clean up caches (downloaded app from market), dalvik cache (from Titanium backup) to do it internal and not have to boot into CWM. I also go to application settings>> manage applications>> all and select Google services framework and clear data plus removed their folder in /data/data after i changed SystemUI or framework-res, all that also helped me to eventually get rid of the Status bar not loading at times bug while opening apps.

~ Veronica
[Barnes & Noble Nook Tablet] Luke_773:
Hi xecuter: Thank you for your work. I have been using your centered ICS status bar for over a month, and loving it.

I was wondering if you can make another SystemUI.apk with the menu button and back button in reversed location? (menu on the left, back button on the right). Home button in the center. With the "n" button also mapped to home. (i.e. same with your original mod after you're able to map the reading button to home, but just the menu and back button swapped).

I just got a Galaxy S2 I9100 (the international version), and the button layout of my sgs2 is reversed. So, I keep getting confused whenever I switch from my NT to my SGS2. Thanks.
[Barnes & Noble Nook Tablet] Opentang:
Thanks for sharing! Noticed this changed the font for all numbers throughout the system. Which file should be replaced to replicate the balance of the system fonts?
[Barnes & Noble Nook Tablet] w00tnezz:
Not working with CM7

I tried this on CM7, no go. Maybe I am a friggin idiot, but I assumed it would work just the same -- I had it working on stock no problem.

Anyone else tried on CM7 with success? I even tried the flashable zip via CWM, no go. Right now, running w/o status bar... thank god for button savior.

Thanks in advance!
[Barnes & Noble Nook Tablet] lavero.burgos:
It won't work, you can't mix oranges with apples stock and CM7 are different builds so you have to take framework-res and SystemUI from CM7 and modify them apart

~ Veronica

Sent from XDA premium using my Nook Tablet :P
[Barnes & Noble Nook Tablet] SilentStormer:
Anyone know how to get these on cm7 I needs me some sammitch intl cm9 hits

Sent from my CM7 Nook Tablet
[Barnes & Noble Nook Tablet] Luke_773:
I figured out how to do this myself. It turns out to be quite easy, once I figured out how to unpack and repack the SystemUI.apk with apktool. Thanks!
[Barnes & Noble Nook Tablet] Vegasden:
I've been doing minor theming for quite a few years on various phones. If you're simply changing icons, etc. you really don't need to unpack with APKtool. I've used 7zip for years to open apks and change out .pngs without issues. The only graphics that are difficult to work with are .9.png . They require special software to manipulate.

.....
[Barnes & Noble Nook Tablet] chelsea_fc:
Can you share your modified systemui.apk? So now the n button is act as the back button right?
[Barnes & Noble Nook Tablet] Know-Fear:
This change doesn't make the n button work as a back button, he just changed the order of the soft buttons.

The n button issue is something else altogether. You would need to remap the hardware buttons, most likely within the kernel.