Rabu, 23 Januari 2013

DualBoot SGY

this is still alpha release and not fully tested. the idea based on http://forum.xda-developers.com/show....php?t=1155613 but this is diffrent implementation. i successfully boot using stock rom dxlc1 on internal storage and hybrid 2.1 on sdcard.

instalation :
1. flash kenel using odin (or other method for kernel flashing)
2. make 4 partition in your sdcard 
1st fat-32 for your data
2nd ext3 for system
3rd ext3 for cache
4th ext3 for data
for testing, i use about 300MB for all ext3 partition
3. edit updater-script

Quote:
- change /dev/block/stl9 to /dev/block/mmcblk0p2 and the type from rfs to ext3
- change /dev/block/stl10 to /dev/block/mmcblk0p3 and the type from rfs to ext3
- change /dev/block/stl11 to /dev/block/mmcblk0p4 and the type from rfs to ext3
- don't use a2sd
- don't flash boot.img
Quote:
change for hybrid 2.1 rom:

change line

Code:
mount("rfs", "EMMC", "/dev/block/stl19", "/system");
with

Code:
unmount("/system");
mount("ext3", "EMMC", "/dev/block/mmcblk0p2", "/system");
remove line

Code:
package_extract_dir("data", "/data");
remove all line with word "dtinstall"

remove this line

Code:
assert(package_extract_file("boot.img", "/tmp/boot.img"),
       write_raw_image("/tmp/boot.img", "boot"),
       delete("/tmp/boot.img"));
4. install your edited rom as usual (i use cwm)

5. done. if you want boot to sdcard, create empty file named "bootsdcard" in your sdcard 1st partition and reboot

note :
- you can boot using dual rom but not dual kernel (yet). this one is stock kernel, so no init.d (yet)
- it does NOT work with a2sd or link2sd
- like i said it's not fully tested yet. it's only for dev and tester. use with caution
- boot from sdcard is slower compared to internal storage. little bit laggy i think, but still very usable
- if you already tested,please report your result

link:
http://www.mediafire.com/?6zrkh6a872036x7

0 komentar:

Posting Komentar

Iklan

adf.ly - shorten links and earn money! My Popularity (by popuri.us)
 
© 2011 ☺i-Tech☻ | Except as noted, this content is licensed under Creative Commons Attribution 2.5.
For details and restrictions, see the Content License | Recode by Helmi Amirudin | Based on Android Developers Blog