how does one - Nook Touch General

On the NSTGL- program the Quicknav Home button to go to ADW launcher home ( and not the B&N nook home page )

You install a new /system/framework/android.policy.jar that somebody has modified.
The pertinent method is PhoneWindowManager.interceptKeyTi().
(I only have a Touch.)

Renate - I have searched through the threads and cannot find the relevant thread or more info.
Do you know where to find the new /system/framework/android.policy.jar that somebody has modified ?

Related

[Q] can you change the size of the on screen buttons

i was wondering if there was a way to change the size of the soft buttons for home, back, ect. I was hoping to make them smaller as to not interfere with games and other apps. as well as making the home screen larger and better looking. please if any one has any info on this i would appreciate it. i am not a developer but do have lots of android experience so any info may be useful. Thanks
EDIT: with new firmware out if you have updated the frameworks posted here so far wont work. i am trying to get someone to post a new framework from the new firmware. Hopefully someone will. Thanks
The icons you're interested in are located in the drawable folder of the framework-res.apk (buttonbar_sys_*), along with the relevant xml files. I tried resizing the existing icons, but all you get is smaller icons! The buttonbar remains the same size. I'm currently looking at which xml file to edit to resize the bar itself.
cool looks like a start at least. keep me updated. thanks
You can remove side panel alltogether. Buttons will then placed in the top status panel. Root is needed.
From Archos Gen8 FAQ on 4pda.ru (can't posting outside links, sorry):
In the /data/local.prop file add string
Code:
ro.board.has_buttonbar=no
reboot
to change buttons size, install app LCD Density
add to local.prop sting
Code:
ro.sf.lcd_density=120
reboot
PS. Perhaps with modified buttons from reply #2 we don't need the last step, as it change font size too.
you can also use the app 'lcd density' to change the resolution of the screen, which makes the buttons smaller.
tashtego said:
You can remove side panel alltogether. Buttons will then placed in the top status panel. Root is needed.
From Archos Gen8 FAQ on 4pda.ru (can't posting outside links, sorry):
In the /data/local.prop file add string
Code:
ro.board.has_buttonbar=no
reboot
Click to expand...
Click to collapse
This (and other system settings) can also be found here at XDA
to change buttons size, install app LCD Density
add to local.prop sting
Code:
ro.sf.lcd_density=120
reboot
Click to expand...
Click to collapse
Just to clarify, you either need to add that string to local.prop or install LCD Density, no need for both. The only problem with this is that it changes the size of the entire UI, and makes the icons in the status bar really tiny. That really bugs me!
PS. Perhaps with modified buttons from reply #2 we don't need the last step, as it change font size too.
Click to expand...
Click to collapse
There are different images for the icons in the notification bar. They are also in the drawable folder, but are called stat_sys_*. Also, simply resizing those doesn't work either. Tried it, but the icon area stays the same, so the smaller icons are just stretched out to fill the space - doesn't look good!
Why all the guys want to kill the softbuttons?
Without them, it don´t work
The only thing is bad on the buttons is the fact that they still there by playing games
But on my Archos 5 IT , theres an fullscreen mode with that you can disable the bar/buttons by playing games.. maybe a dev can look at it
Lennb said:
Why all the guys want to kill the softbuttons?
Without them, it don´t work
The only thing is bad on the buttons is the fact that they still there by playing games
But on my Archos 5 IT , theres an fullscreen mode with that you can disable the bar/buttons by playing games.. maybe a dev can look at it
Click to expand...
Click to collapse
no, kill them than install softkeys, it works for me, no any problem^^
Reading through gen8 thread on 4pda.ru i have found another method:
For example, for 32px notification bar height, unpack framework_res.apk and change file \res\values-long-mdpi\dimens.xml as follows:
Code:
<dimen name="full_statusbar_height">32.0px</dimen>
<dimen name="compact_statusbar_height">32.0px</dimen>
<dimen name="statusbar_button_width">40.0px</dimen>
<dimen name="statusbar_button_height">32.0px</dimen>
And don't forget string "ro.board.has_buttonbar=no" in the \data\local.prop
No need to resize images. They will be scaled down automatically.
See attached screens.
ahh looks like progress , im guessing im going to need root if i want to change the framework_res.apk? which one is best for this archangle, uruk or churlis method?
tashtego said:
Reading through gen8 thread on 4pda.ru i have found another method:
For example, for 32px notification bar height, unpack framework_res.apk and change file \res\values-long-mdpi\dimens.xml as follows:
Code:
<dimen name="full_statusbar_height">32.0px</dimen>
<dimen name="compact_statusbar_height">32.0px</dimen>
<dimen name="statusbar_button_width">40.0px</dimen>
<dimen name="statusbar_button_height">32.0px</dimen>
And don't forget string "ro.board.has_buttonbar=no" in the \data\local.prop
No need to resize images. They will be scaled down automatically.
See attached screens.
Click to expand...
Click to collapse
Can you attach your moded framework-res.apk? I have an A70S if that matters. I don't knw how to mod the xml myself so please help out
tashtego said:
Reading through gen8 thread on 4pda.ru i have found another method:
For example, for 32px notification bar height, unpack framework_res.apk and change file \res\values-long-mdpi\dimens.xml as follows:
Click to expand...
Click to collapse
Nice find, thank you so much for sharing. Was still looking at xml files in the drawable folder.
Bickmista said:
ahh looks like progress , im guessing im going to need root if i want to change the framework_res.apk? which one is best for this archangle, uruk or churlis method?
Click to expand...
Click to collapse
Won't work with Archangel root, as that doesn't allow you to make changes to system files.
saprano614 said:
Can you attach your moded framework-res.apk?
Click to expand...
Click to collapse
Will be making some changes to my custom framework, so check out my thread over the next few days.
i need A framework for an 70it. I don't think that the one for a 101 will work on mine. But I don't know.
fisha21 said:
Won't work with Archangel root, as that doesn't allow you to make changes to system files.
Click to expand...
Click to collapse
cheers just one more question, would this work on the A43?
Attaching zipped framework apks, 32px and 24px versions fo 70IT, courtesy by bokorez from 4pda.ru. He used rooting method from here: http://forum.xda-developers.com/showthread.php?t=930197 (permanent r/w). I myself now only waiting for tablet, so i can't check files yet. Use it for your own risk please
It would be fine if somebody much knowledgeable than me would explain here, how to upload these files on the device.
Thanks alot. that helped out a great deal.
EDIT: I think that both are the same. i used them both and they worked but both changed the size to the same. i think that they are both 32px.
tashtego said:
Reading through gen8 thread on 4pda.ru i have found another method:
For example, for 32px notification bar height, unpack framework_res.apk and change file \res\values-long-mdpi\dimens.xml as follows:
Code:
<dimen name="full_statusbar_height">32.0px</dimen>
<dimen name="compact_statusbar_height">32.0px</dimen>
<dimen name="statusbar_button_width">40.0px</dimen>
<dimen name="statusbar_button_height">32.0px</dimen>
And don't forget string "ro.board.has_buttonbar=no" in the \data\local.prop
No need to resize images. They will be scaled down automatically.
See attached screens.
Click to expand...
Click to collapse
Ok I can't find that file in the framework-res.apk. there is no values-long-mdpi folder. A little help
saprano614 said:
Ok I can't find that file in the framework-res.apk. there is no values-long-mdpi folder. A little help
Click to expand...
Click to collapse
I don't know why, but if you open apk with archiver program, there is really no such folder, but if use
Code:
apktool -v d -s framework-res.apk
you get:
Code:
$ ls framework-res/res/values-long-ldpi/
dimens.xml
I think that both are the same. i used them both and they worked but both changed the size to the same. i think that they are both 32px.
Click to expand...
Click to collapse
No, they are different. File framework-res/res/values-long-ldpi/dimens.xml are the same in both versions and contain "24.0px" value (this is error, i suppose). Files framework-res/res/values-long-mdpi/dimens.xml are different and contain "24.0px" and "32.0px" values in 24- and 32-version respectively.
It seems i need to sort it out with the author on 4pda.ru, as i don't have device yet. Or you can try to change file dimens.xml in the folders values-long-* by yourself.
tashtego said:
Attaching zipped framework apks, 32px and 24px versions fo 70IT, courtesy by bokorez from 4pda.ru. He used rooting method from here: http://forum.xda-developers.com/showthread.php?t=930197 (permanent r/w). I myself now only waiting for tablet, so i can't check files yet. Use it for your own risk please
It would be fine if somebody much knowledgeable than me would explain here, how to upload these files on the device.
Click to expand...
Click to collapse
Very happy with the 32px framework!
Next step is to get button savior working properly (return and menu and search get disable themselves after a while , only home keeps working... ) and get completely rid of those buttons on the side AND in the bar
sibere said:
Next step is to get button savior working properly
Click to expand...
Click to collapse
Not sure if you saw the following posts on the enable system settings thread?
yepayepa said:
Mates,
I've investigated why Button Savior won't work, and I've found the solution.
In Uruk (since I'm using it), /system/bin/input shell script miss execute attributes.
So, as root just do this:
chmod +x /system/bin/input
That's all.
Cheers.
Click to expand...
Click to collapse
aznmode said:
Ok so here's exactly what I have to do to get all button on Button Savior to work.
Again I'm rooted via SDE so I'm not sure if this works for Archangel root.
1. With Root explorer, go to System> Bin and look for "input" file.
2. Press and hold for option to pop up and select "Permissions" and check all read, write, etc.
3. Reboot the device
4. Then press the regular Menu button (NOT on Button Savior yet) and go to Settings> Applications> Development then uncheck and recheck USB Debugging and hit OK.
5. Now on Button Savior press the either back or menu button.
6. The Superuser permission will pop up and select yes. If superuser is already set previously then a dialog box will shortly appear stating superuser permission applied.
7. Wait till the dialog box goes away, then press the back button. It should now back up one screen. If you press menu nothing will happen since you are in the Development screen which doesn't have a menu option so don't panic if that happens.
From here you can go back to home and test each button and they should all work now.
Each time you reset the buttons might not work again so what you need to do is go back and uncheck/recheck debugging first before pressing any of the Button Savior buttons. If you press any of Button Savior before recheck/unchecking debugging then it wont work. You'll need to reboot. To be safe uncheck/recheck it every reboot prior to using Button Savior.
The permissions should not be affected on reboot. The only time the permission gets unchecked is if you do the 10 second reset (holding power button for 10 seconds). In this case you have go back to step 1.
Click to expand...
Click to collapse

Transparent Widgets (Music & News/Weather)

I wanted to make the music and news/weather widgets transparent for my own home screen. After figuring it out I thought I'd share them with anybody else who might want the same. Sorry if this has already been posted before.
There's a screenshot here: draftmedia.net/transparent_widgets_screen.jpg
And the files are here: draftmedia.net/transparent_widgets.zip
(I can't post links so you'll have to copy/paste)
You'll need adb installed to push them to your /system/app/ folder.

original settings.apk

I add original apk from android 2.1 to my nook, but i doesn't work. I now can't enter to setting page, wifi atc... Please if some one would be angel, and send me the true original settings.apk from Nook touch. Thanks.
Go to the B&N webpage for the 1.1.2 update: http://www.barnesandnoble.com/u/Software-Updates-NOOK-Simple-Touch/379003175/
Download nook_1_1_2_update.zip.
It is a signed ZIP file, you can open it with 7zip, http://www.7-zip.org/download.html
(Windows can't open this directly without stripping the signature.)
Get whatever you like out of /system/app
If you aren't up to 1.1.2 yet, just do the manual update and it will fix things.
(Except that you may have to re-root.)
Thank. I try this before, but this signed zip archive get me
Install 7zip, thak to CrossOver (MAC). Extracted settings.apk. And everything work perfect. Thank you Renate!
Thread moved to general, based on the fact it's not a : mod/kernel/rom.
I write it works, but only procedure to get apk from update to phone. Settings app dont work, I can't see a icon in menu (but don't know there must to be), anyway i run setting from B&N bottom bar, nothing run. I can't event add widgets because context menu don't show. Please has some one any idea?
If you are running 1.1.2 and you put the Settings.apk out of nook_1_1_2_update.zip in, then it's the right one.
Settings.apk 971,804 bytes
Did you put it in the right place? Does it have the right permissions?
Did you kill SettingsProvider.apk too?
What does logcat say when it bombs? Give us a hint.
Yes, I have same size Settings.apk. I put it to /system/app/, permission set to rw-r--r-- .
I touch only setting.apk -SettingsProvider.apk is the same.
When I click on top bar (wifi/battery icon) restart nook, when I click on bottom B&N bar nothing shows.
Sorry i dont have terminal, and wifi home, at this time. I don't know what try...
When you click on the top bar you start: com.android.settings/.Settings_Quick
Have you tried Settings in the app drawer?
When you click on the settings icon in the app drawer you start: com.android.settings/.Settings_Root
Does everything else work?
Top bar -Quick setting (restart) -not work
Bott.bar -B&N settings button (nothing) - not work
Add widgets (nothing)-not work
NookColor Tools -All settings (No applications can perform this action)-not work
App drawer (No settings icon) - not work
Activity picker (no settings option) - not work
I try this posible accesses with and without setting.apk in /SYSTEM/APP but same result. -there is no diference if I have app or if not. I try install app "clasical" way, but I got -this app replace another existing app, after I move next app failed to install.
Why I get message (this app replace another existing app) if I don't have in my system nothing touches settings.apk?
Click to expand...
Click to collapse

S5 Menu Button

Hi
is there a way to change the recent app button to the old style menu button?
thanks
Simply long press the recents key to pull up the old style context menu.
Or edit half a dozen files to permanently revert to the old S4 style menu.
This has been asked and answered many time sin existing threads as a simple search would have shown.
http://www.phonearena.com/news/How-to-call-the-hidden-context-menu-button-on-the-Galaxy-S5_id55124
http://www.droidforums.net/threads/...menu-and-long-press-home-with-recents.269115/
http://forum.xda-developers.com/showthread.php?t=2733811
.
fffft said:
Simply long press the recents key to pull up the old style context menu.
Or edit half a dozen files to permanently revert to the old S4 style menu.
This has been asked and answered many time sin existing threads as a simple search would have shown.
http://www.phonearena.com/news/How-to-call-the-hidden-context-menu-button-on-the-Galaxy-S5_id55124
http://www.droidforums.net/threads/...menu-and-long-press-home-with-recents.269115/
http://forum.xda-developers.com/showthread.php?t=2733811
.
Click to expand...
Click to collapse
i tried the 2nd link and i can get the android.policy.jar to work.
i have to my menu button back but the app switcher binded to long press home button isnt working.
aniqpirzada said:
Hi
is there a way to change the recent app button to the old style menu button?
thanks
Click to expand...
Click to collapse
I believe you can also change the button function through root explorer, but you'll be left without recents until you make certain changes to the .jar file mentioned. Easiest way would be to flash a ROM with remapping capabilities (Alliance).
Yes. I tried to change the .jar file but after replacing it back to my system, it didnt seem to work.
aniqpirzada said:
Yes. I tried to change the .jar file but after replacing it back to my system, it didnt seem to work.
Click to expand...
Click to collapse
Week there's the other option of flashing another rom

Stock home screen icon dimensions?

So I enjoy doing a little theming as small projects. Currently, I am working on changing the app drawer button and animating it once it's pressed. I have the stock launcher decompiled (Velvet.apk) and have found the app drawer image therein that I need to modify/change. However, there are four of them listed and each with different sizes/dimension. The dimensions found were 84x84, 56x56, 112x112, and 168x168. Anyone have any idea which one of those dimensions portray the actual size of the app drawer button on the home screen?
Side note, I have Xposed installed which modifies my framework. I was surprised I was able to install my framework-res.apk in Apktool and decompile the system app without issues. If I edit my velvet.apk and replace the stock one with my modifed one will I encounter issues since Xposed is installed?
Thanks for the help and when I'm finished I can post it here if anyone thinks it's cool lol.
Mod successfully completed. See link below to themes/apps forum for Screenshot and DL link.
http://forum.xda-developers.com/showthread.php?t=3285823

Categories

Resources