Skip to content

Commit 8544ce1

Browse files
committed
Minor fixes to the readme
1 parent 1eced20 commit 8544ce1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ To boot this in the emulator, build your recoveryimage. With the Android emulato
1212

1313
After the first boot, wait for ADB to start up, then: adb shell /sbin/create_partitions.sh
1414

15-
This script will partition the sdcard with a boot, recovery, system, cache, data, and removable sdcard partition. It's designed to work with a 1500MiB sdcard. If you want a different sdcard size then you will need to modify the script in the cm_folder/device/emulator/twrp/recovery/root/sbin/create_partitions.sh location to suite your needs. The script will also copy the existing system files from the MTD system partition to the new emmc-based partition.
15+
This script will partition the sdcard with a boot, recovery, system, cache, data, and removable sdcard partition. It's designed to work with a 1500MiB sdcard. If you want a different sdcard size then you will need to modify the script in the cm_folder/device/emulator/twrp/recovery/root/sbin/create_partitions.sh location to suit your needs. The script will also copy the existing system files from the MTD system partition to the new emmc-based partition.
1616

1717
If you want to make the emulator boot up using the emmc partitions, you will need to modify the ramdisk.img. Locate the ramdisk.img in your android-sdk/system-images/android##/armeabi-v7a/ folder. To unpack it:
1818

@@ -24,8 +24,8 @@ gzip -dc ../ramdisk.img | cpio -i
2424

2525
Modify the init.rc to mount your mmc based partitions instead of the mtd ones by locating the line in init.rc that says "on fs" and modifying it to look like this:
2626

27-
on fs
28-
# mount emmc partitions
27+
on fs
28+
# mount emmc partitions
2929
# Mount /system rw first to give the filesystem a chance to save a checkpoint
3030
# mount yaffs2 mtd@system /system
3131
# mount yaffs2 mtd@system /system ro remount

0 commit comments

Comments
 (0)