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.
Look here: http://xdaforums.com/showpost.php?p=21003708&postcount=10
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.
Here is my home screen which I am very happy with now.
Using Go Launcher EX.
using the edited version of the following:
build.prop - Nexus S spoof
SystemUI.apk - icons and placement, 'n' button remap, permanent status bar
framework_res.apk - icons
Also added SwiftKey Tablet X. I still use Button Savior for when something goes fullscreen and I want to use back.
Pretty much have all Gameloft games working, and other big ones, like EA game Sim City Deluxe.
I couldn't have done it without the help of so many people here, such as Indirect, xecutor, revcompgeek, and many more.
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.
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.
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 (revcomp?)
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"
[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)
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)
Code: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:
Code:[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)
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?
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?
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.
I tried doing the systemui change and can't get it to work.
I'm using root explorer, changed the permissions to (top line) check, check, check, (second line) check, blank, blank, and (last line) check, blank, blank.
I also changed the owner to root and group to system (i also tried root).
Every time I try this, it always has a screen popup that says it must force close, but it doesn't when you click, and just keeps on popping up again.
Is there anything I forgot? I tried this and rebooted about 5 times now. Every time I reboot it has the same bar on the bottom.
The popup:
The application Status Bar (process com.android.systemui) has stopped unexpectedly. Please try again.
It gives the option to force close but it keeps popping back up if you click it.
That is normal you need to reboot now. I'm pretty sure that owner should be 2 checks and a blank though...
Sent from my Nook Tablet using XDA PREMIUM
I've rebooted. Tried multiple times, and the nook still loads with the same crappy stock status bar. I even tried switching launchers to see if that may be an issue, but the status bar is following me everywhere!
By the way, I tried playing around with the permissions, checking off the recommended boxes, checking everything off, and it still made no difference.
Did you use rw-rw----
Whatever you posted in your earlier post was straight wrong
Check read and write in the first two lines. The leave the third line blank.
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)
Does anyone still have version 1 of the systemui apk because i would like to keep the quick nav bar that v2 removes
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)
Code: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:
Code:[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)
The systemui.apk got significantly changed in the 1.4.3 update. I tried patching one but cannot test it. I will post it here and someone please test it and give feedback. I will pull it down if broken.It appears the latest version causes some of the text to be incorrect with v1.4.3 when the SystemUI.apk is replaced. I'd love to build a new one, or provide the file for someone else to.
For me to do it, I'm not sure I know how. What what done to SystemUI.apk to make the change?
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.