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
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
if you try before install rom to sdcard please check if your sdcard partition is corect (/dev/block/mmcblk0p1 , /dev/block/mmcblk0p2 , /dev/block/mmcblk0p3, /dev/block/mmcblk0p4)
and the filesystem also correct. better using tools in linux. editing updater-script also little bit tricky. i use hybrid because i don't have other custom rom. i also try direct extract from stock rom image but not working (boot loop).
I can't convert the script. dsixda kitchen always add new lines if I convert the script from amend to edify. I can't get rid some lines...how can i do that in better way?
edit: these lines (and some more) always added automatically.
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
I can't convert the script. dsixda kitchen always add new lines if I convert the script from amend to edify. I can't get rid some lines...how can i do that in better way?
edit: these lines (and some more) always added automatically.
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
i don't know if it is proper way, but i just unzip,edit,and re-zip. i use cwm, not sure if working with stock recovery.
just remove that line. it's for update boot.img
[edit]--
and i know it's tricky to install rom to sdcard. i just need few hour to mod kernel (ramdisk) but almost a day just to find working way to install rom to sdcard
thats a nice discovery. at first I thougt both updater-script and updater-binary are strictly related that we can't recklessly modify only updater-script. modifying it right now...
---------- Post added at 03:49 PM ---------- Previous post was at 02:52 PM ----------
it works...now I can set my internal and system partition to any size (lol) having 300mb internal memory sounds nice for everyone.
XDA Developer TV Producer Kevin wants to help make your … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?