Differences between revisions 8 and 9
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 9 as of 2011-11-08 23:52:35
Size: 1951
Editor: SamatJain
Comment:
Deletions are marked like this. Additions are marked like this.
Line 38: Line 38:
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
}}}

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)