[DISCUSSION][POLL]interest in running ics/jb off SD?

moving pieces of /system to sd-ext?


  • Total voters
    0
after much wankiness, I am running bobz cm10 completely from a class 4 16 GB card using tasssadar's multirom.
had to install it to NAND and SD from zip, and then manually copy it from /system, /data, and /cache to the card after a first boot using ADB in recovery.
multirom is not very happy with it, for some reason /system gets remounted r/o somewhere after init.rc runs, and when /system is made r/o it remounts the rest of /sd-ext r/o as well. so later in the boot from sd, I have to use adb shell to remount /system as r/w.
however, it is using the full size Gapps, market works, and I installed all the stock live wallpapers I could find to /system/app just for fun (I found 5, black hole, phase beam, nexus, bubbles, and water.)
I'm poking around at it now testing... I just remember the ril data glitches annoyed me in this rom last time I tried it.
 
a loop-mounted filesystem?
I don't remember if I got those to work in init.rc or not.
but there is a squashfs loop-mount commented out in all the cyanogen init.rc's I've looked at, so it might well work as you say.
Worth a shot if my current avenue gets too annoying, or as a cross-check with benchmarking to see which prevails.
thanks for the input.

Would that just require a kernel with the loop driver already in it rather than being loaded during the init process? Just guessing ...

I am running the mirage 2.6.32.9-073012 kernel in my ROM:

the loop driver isn't being loaded as a module:

# cat /proc/modules
# [null output]



# cat /proc/filesystems
nodev sysfs
nodev rootfs
nodev bdev
nodev proc
nodev cgroup
nodev tmpfs
nodev sockfs
nodev pipefs
nodev anon_inodefs
nodev inotifyfs
nodev devpts
ext3
ext2
ext4
nodev ramfs
vfat
yaffs
yaffs2


There could easily be a reason why it isn't normally included in the kernel and I wouldn't know. :p

But perhaps other kernels include the loop driver. :confused:
 
All the kernels I've seen support loop if I remember correctly.

I know that loop mounting /data works. I once had my /data in a luks container. Had to modify the init.rc a lot to get it to work, but it worked well.
 
I also believe loop is built in and enabled by default.
Code:
ls /dev/block/
and look at all the loop devices.
thekraven's CAI with virgin patch runs nice off sd like Bobz cm10, with the same weirdness about remounting /system r/w through adb to get boot to complete.
and removed the a2sd scripts from init.d since it's already using the sd-ext for /data and dalvik.
 
I was unaware that bobz cm10 would run with thekraven's CAI kernel :p
so they can dual boot :-$ at least with CAI in NAND.

Why have I never seen mention that TWRP recovery has a TERMINAL command entry function in it????
That is way too cool and I never saw it until testing the multirom version of TWRP with a V kernel. (very pretty.)

It's looking like the loop mount for /system may well be the way to go, that read-only thing is bugging me. It doesn't show up with errors in logcat until after init.d scripts run, right after vold starts up.
 
Would it be possible to format the sdcard to have a separate partition for each boot, system, etc. Then have int.d mount each partition? Then we could have system as r/o and whatever else needs to be r/w or r/o.
 
You could do that, but you can achieve practically the same think with loop mount files which are simpler to make.
 
Would it be possible to format the sdcard to have a separate partition for each bofot, system, etc. Then have int.d mount each partition? Then we could have system as r/o and whatever else needs to be r/w or r/o.
first time i messed with booting from sd i tried that.
seems android won't "see" more than 3 partitions if i remember
right.
plus loop mounting is easy...
 
I would try this if you updated multirom to the version that works with multiple kernels.

Sent from my unknown using Tapatalk 2
 
i'm testing v19 now, saw the one you're talking about, but it makes me nervous cause it reflashes boot every time you change roms.
i can post you porting instructions for it, but i wouldn't post it for upload myself.
to get this to work the way i want will require rebuilding init for whatever rom is being tweaked, and my free time is thin, so low expectations are a good idea.
 
I didn't know it reflashed boot every time you change roms, it was awhile ago that I "glanced" at the post.
 

Trending Posts

Forum statistics

Threads
956,369
Messages
6,967,841
Members
3,163,519
Latest member
kiki2025