Size: 559
Comment: Link to Nook source code
|
← Revision 16 as of 2013-09-19 22:50:14 ⇥
Size: 3925
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
## page was renamed from NookSimpleTouchReader = Nook Color = == Source code == B&N's [[http://www.barnesandnoble.com/u/Terms-of-Service-NOOK-Color/379003278|legal page]] has source code for the Nook Color (see "Third Party Software Terms"). == Phone UI == To tell Ice Cream Sandwich (Android 4.0) to use the phone UI, create /data/local.prop, and add: {{{ qemu.sf.lcd_density=240 qemu.hw.mainkeys=0 }}} The first line sets the DPI; the second enables the soft navigation bar. Source: [[http://forum.xda-developers.com/showthread.php?t=1551644|CM9 240 dpi with soft navigation keys]] == Switching to Helvetica == Download [[http://forum.xda-developers.com/showthread.php?t=874658|Font Changer Lite]], and install HelveticaNeue as new default (replacement for Roboto) font. For Firefox, set: * font.name.sans-serif.x-unicode * font.name.sans-serif.x-western to "HelveticaNeue", and set: * font.name-list.sans-serf.x-unicode * font.name-list.sans-serf.x-western to "HelveticaNeue, Roboto, Droid Sans". Also set: * font.minimum-size.x-unicode * font.minimum-size.x-western to "14" (or appropriate). = Nook Simple Touch Reader = |
|
Line 4: | Line 49: |
* /data/data/com.bn.nook.reader.activities/files/instore | |
Line 22: | Line 68: |
== Dissecting a uRamdisk == In update packages, ramdisk.img is renamed to /boot/uRamdisk. {{{#!highlight sh # Skip 64-byte header dd if=ramdisk.img bs=64 skip=1 of=ramdisk.gz # Uncompress gunzip ramdisk.gz # Extract mkdir ramdisk cd ramdisk cpio -iv < ../ramdisk }}} Once modifications are made, you can recreate the image: {{{#!highlight sh find . -regex "./.*"| cpio -ov -H newc | gzip > ../ramdisk.gz mkimage -A ARM -T RAMDisk -n Image -d ../ramdisk.gz ../uRamdisk }}} Source: [[http://forum.xda-developers.com/showpost.php?p=14936923&postcount=1|xda-developers - View Single Post - NT: Build root filesystem]], which also describes recreating the ramdisk image. == Source Code == From [[http://www.barnesandnoble.com/nook/legal/index.asp|B&N's legal page]]: || '''Nook STR Version''' || '''SHA1''' || || [[http://images.barnesandnoble.com/PResources/download/Nook/source-code/nook2_1-0.tgz|v1.0]] || 339d351ba98771c3a6768234122a181859b44c17 || || [[http://images.barnesandnoble.com/PResources/download/Nook/source-code/nook2_1-0-1.tgz|v1.0.1]] || a0cafa0f54abf3c86732fb84d4974a6724ed55fa || || [[http://images.barnesandnoble.com/PResources/download/Nook/source-code/nook2_1-1.tgz|v1.1]] || 6228cac95d329c2d16b04cae45387296ce005fb7 || |
|
Line 24: | Line 104: |
* [[http://images.barnesandnoble.com/PResources/download/Nook/source-code/nook2_1-0.tgz|"Nook 2" v1.0 source code]] from B&N (SHA1: 339d351ba98771c3a6768234122a181859b44c17) | [[http://i-u2665-cabbages.blogspot.com/2009/12/circumventing-barnes-noble-drm-for-epub.html|Circumventing Barnes & Noble DRM for EPUB]] provides ignoblekey.py, ignoblekeygen.py, and ignobleepub.py [[http://wiki.cyanogenmod.com/wiki/Barebones|Barebones Cyanogenmod]] describes what programs/APKs included by default w/ the ROM you can delete. E.g. phone dialer, messaging, etc. Some I think are unncessary for the Nook: {{{#!highlight sh numbers=off adb remount adb shell cd /system/app rm Mms.apk rm VoiceDialer.apk }}} [[http://forum.xda-developers.com/showthread.php?t=991276|V6 supercharger]] modifies Android's default OOM killer settings. Supposedly manages RAM better? Recommended for the Nook: Option 9 (MegaRAM 2 w/512mb {6,12,75,100,125,150 mb}). [[http://forum.xda-developers.com/showthread.php?t=1344873|[ROM][CM7.2-RC0] MiRaGe - KANG build of CyanogenMod - xda-developers]] is a build of Cyanogenmod 7.2 w/ Roboto as a system font, upgraded low-memory use kernel, etc. |
Nook Color
Source code
B&N's legal page has source code for the Nook Color (see "Third Party Software Terms").
Phone UI
To tell Ice Cream Sandwich (Android 4.0) to use the phone UI, create /data/local.prop, and add:
qemu.sf.lcd_density=240 qemu.hw.mainkeys=0
The first line sets the DPI; the second enables the soft navigation bar.
Source: CM9 240 dpi with soft navigation keys
Switching to Helvetica
Download Font Changer Lite, and install HelveticaNeue as new default (replacement for Roboto) font.
For Firefox, set:
- font.name.sans-serif.x-unicode
- font.name.sans-serif.x-western
to "HelveticaNeue", and set:
- font.name-list.sans-serf.x-unicode
- font.name-list.sans-serf.x-western
to "HelveticaNeue, Roboto, Droid Sans". Also set:
- font.minimum-size.x-unicode
- font.minimum-size.x-western
to "14" (or appropriate).
Nook Simple Touch Reader
Interesting paths
- /data/data/com.bn.nook.affiledownloadservice/files
- /data/data/com.bn.nook.reader.activities/files/instore
Networking
##### wpa_supplicant configuration file template ##### update_config=1 ctrl_interface=tiwlan0 eapol_version=1 ap_scan=1 fast_reauth=1 network={ ssid="attwifibn" scan_ssid=1 key_mgmt=NONE id_str="B&N Store" }
Dissecting a uRamdisk
In update packages, ramdisk.img is renamed to /boot/uRamdisk.
Once modifications are made, you can recreate the image:
Source: xda-developers - View Single Post - NT: Build root filesystem, which also describes recreating the ramdisk image.
Source Code
From B&N's legal page:
Nook STR Version |
SHA1 |
339d351ba98771c3a6768234122a181859b44c17 |
|
a0cafa0f54abf3c86732fb84d4974a6724ed55fa |
|
6228cac95d329c2d16b04cae45387296ce005fb7 |
Links
Circumventing Barnes & Noble DRM for EPUB provides ignoblekey.py, ignoblekeygen.py, and ignobleepub.py
Barebones Cyanogenmod describes what programs/APKs included by default w/ the ROM you can delete. E.g. phone dialer, messaging, etc.
Some I think are unncessary for the Nook:
adb remount
adb shell
cd /system/app
rm Mms.apk
rm VoiceDialer.apk
V6 supercharger modifies Android's default OOM killer settings. Supposedly manages RAM better? Recommended for the Nook: Option 9 (MegaRAM 2 w/512mb {6,12,75,100,125,150 mb}).
[ROM][CM7.2-RC0] MiRaGe - KANG build of CyanogenMod - xda-developers is a build of Cyanogenmod 7.2 w/ Roboto as a system font, upgraded low-memory use kernel, etc.