Differences between revisions 8 and 16 (spanning 8 versions)
Revision 8 as of 2011-11-08 00:44:04
Size: 1734
Editor: SamatJain
Comment: Instructions for examining a uRamdisk; link to Nook STR v1.1 source code
Revision 16 as of 2013-09-19 22:50:14
Size: 3925
Editor: SamatJain
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 38: Line 83:
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
}}}

Line 44: Line 97:
 * [[http://images.barnesandnoble.com/PResources/download/Nook/source-code/nook2_1-0.tgz|Nook STR v1.0 source code]] (SHA1: 339d351ba98771c3a6768234122a181859b44c17)
 * [[http://images.barnesandnoble.com/PResources/download/Nook/source-code/nook2_1-0-1.tgz|Nook STR v1.0.1 source code]] (SHA1: a0cafa0f54abf3c86732fb84d4974a6724ed55fa)
 * [[http://images.barnesandnoble.com/PResources/download/Nook/source-code/nook2_1-1.tgz|Nook STR v1.1 source code]] (SHA1: 6228cac95d329c2d16b04cae45387296ce005fb7)
|| '''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 50: Line 104:
 * [[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://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.

   1 # Skip 64-byte header
   2 dd if=ramdisk.img bs=64 skip=1 of=ramdisk.gz
   3 # Uncompress
   4 gunzip ramdisk.gz
   5 # Extract
   6 mkdir ramdisk
   7 cd ramdisk
   8 cpio -iv < ../ramdisk

Once modifications are made, you can recreate the image:

   1 find . -regex "./.*"| cpio -ov -H newc | gzip > ../ramdisk.gz
   2 mkimage  -A ARM -T RAMDisk -n Image -d ../ramdisk.gz ../uRamdisk

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

v1.0

339d351ba98771c3a6768234122a181859b44c17

v1.0.1

a0cafa0f54abf3c86732fb84d4974a6724ed55fa

v1.1

6228cac95d329c2d16b04cae45387296ce005fb7

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.

SamatsWiki: Nook (last edited 2013-09-19 22:50:14 by SamatJain)