2nd-system to boot system from sdcard #14
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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