Guest gnufabio Posted April 22, 2011 Report Posted April 22, 2011 (edited) Hi all, since many people wondered how to copy files to ext partition from the update zip file, I asked Malez how to do that. He explained me, and I want to share it with all the developers. Now it's easier to port Sense ROMs to Liquid, even if they will be probably "glitchy" :) First of all we should warn the user that the ext partition is required to flash the ROM! Make a folder in the root of update script. I will call it "run". Create a new sh file, I will call it "mountext" Mount partition from the script. This is the code you need to do that:#!/bin/sh mkdir /system/sd 2>/dev/null mount -t ext2 /dev/block/mmcblk0p2 /system/sd Start it from the update script! package_extract_dir("run", "/tmp"); run_program("/sbin/busybox", "sh", "/tmp/mountext"); Now you must only extract the files on the mountpoint (/system/sd) and symlink what you need.I really hope it will be useful, if you have any question write! :) Many thanks to Malez who shared this tutorial! Edited April 22, 2011 by gnufabio
Guest Lens_flare Posted April 22, 2011 Report Posted April 22, 2011 (edited) Useful for what? And what do you mean "sense rom will be easier to port"? Edited April 22, 2011 by Lens_flare
Guest ilmigliore95 Posted April 22, 2011 Report Posted April 22, 2011 Wow :) waiting for sense rom!!!
Guest gnufabio Posted April 22, 2011 Report Posted April 22, 2011 Useful for what? And what do you mean "sense rom will be easier to port"? We always had problems with the size of sense roms...but moving files to an ext partition can resolve this problem :)
Guest Lens_flare Posted April 22, 2011 Report Posted April 22, 2011 so we can just use SD ext to store half of the sense rom? :/
Guest ilmigliore95 Posted April 22, 2011 Report Posted April 22, 2011 So can someone do the port??? :)
Guest gnufabio Posted April 22, 2011 Report Posted April 22, 2011 So can someone do the port??? :) I will try this evening, but i really don't know if it will "work" xD
Guest ilmigliore95 Posted April 22, 2011 Report Posted April 22, 2011 I will try this evening, but i really don't know if it will "work" xD You Are great!!!!!!!
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now