Skip to content

2nd-system to boot system from sdcard #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: jb_2ndboot
Choose a base branch
from

Conversation

walter79
Copy link

@walter79 walter79 commented Nov 4, 2013

You will need 3 partition on you sdcard. 1x fat32 and 2 ext4.
The first ext4 will used as /system and the second as /data
After this you need to mod the fstab_mapphone in ramdisk.

/dev/block/mmcblk0p2 /system ext4 ro,barrier=1 wait
/dev/block/mmcblk0p3 /data ext4 noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc wait,check

To install this rom you have to change updater-script in installer-zip:

mount("ext3", "EMMC", "/dev/block/mmcblk0p2", "/system");

After this copy all files from 2nd-system rom /system/bootmenu/2nd-boot to /sdcard/2nd-system

You will need 3 partition on you sdcard. 1x fat32 and 2 ext4.
The first ext4 will used as /system and the second as /data
After this you need to mod the fstab_mapphone in ramdisk.

/dev/block/mmcblk0p2    /system ext4 ro,barrier=1 wait
/dev/block/mmcblk0p3    /data ext4 noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc     wait,check

To install this rom you have to change updater-script in installer-zip:

mount("ext3", "EMMC", "/dev/block/mmcblk0p2", "/system");

After this copy all files from 2nd-system rom /system/bootmenu/2nd-boot  to /sdcard/2nd-system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant