Differences between revisions 8 and 12 (spanning 4 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 12 as of 2011-12-13 02:01:37
Size: 2731
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").

= Nook Simple Touch Reader =
Line 38: Line 47:
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 51: Line 68:

[[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?

Nook Color

Source code

B&N's legal page has source code for the Nook Color (see "Third Party Software Terms").

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:

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?

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