Differences between revisions 6 and 8 (spanning 2 versions)
Revision 6 as of 2011-08-12 01:18:31
Size: 1036
Editor: SamatJain
Comment: Link to Nook STR v1.0.1 source code
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
Deletions are marked like this. Additions are marked like this.
Line 23: Line 23:
== 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
}}}

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 28: Line 45:
 * [[http://images.barnesandnoble.com/PResources/download/Nook/source-code/nook2_1-0-1.tgz|Nook STR v1.0.1 source code]]  * [[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)

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

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)