Differences between revisions 7 and 10 (spanning 3 versions)
Revision 7 as of 2011-08-12 04:33:20
Size: 1085
Editor: SamatJain
Comment: SHA1 for Nook2 v1.0.1 update
Revision 10 as of 2011-12-07 09:37:00
Size: 1999
Editor: SamatJain
Comment: Rename to merge Nook STR and Nook Color pages
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from NookSimpleTouchReader
Line 23: Line 24:
== 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.
Line 29: Line 55:
 * [[http://images.barnesandnoble.com/PResources/download/Nook/source-code/nook2_1-1.tgz|Nook STR v1.1 source code]] (SHA1: 6228cac95d329c2d16b04cae45387296ce005fb7)

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:

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