View Poll Results: moving pieces of /system to sd-ext?

Voters
24. You may not vote on this poll
  • I'd be interested in it

    20 83.33%
  • I don't care about it at all

    1 4.17%
  • I think it's a bad idea

    3 12.50%
Page 1 of 2 12 LastLast
Results 1 to 25 of 32
Like Tree9Likes
  1. Thread Author  Thread Author    #1  
    bigsupersquid's Avatar
    o_O

    Posts
    1,418 Posts
    ROM
    OV KitKat-JBC, 3.0 kernel

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

    so, I've seen a few mentions of this but no real discussion.
    rave, bash, or question, as you prefer.

    in a nutshell, it's possible to modify or preempt init to mount the sd card before mounting the system partition.
    this would allow moving /system/app (and other space hogs) to the sd-ext partition, making install space and other possibilities potentially very large.
    you want a fast card (class 4 or higher) and you can't remove it while booted (except in recovery.)
    regular ics or jb for our device requires the card to boot anyway, and probably to run correctly as well, so it wouldn't be a huge change there.
    any thoughts/opinions?
    there's a poll, too.
    keep the wife happy with my dev time:
    donate!
    the THANKS button is quite acceptable if you're as stingy as me, too.
    Thanked by 2:
    upconvert likes this.
  2. Thread Author  Thread Author    #2  
    bigsupersquid's Avatar
    o_O

    Posts
    1,418 Posts
    ROM
    OV KitKat-JBC, 3.0 kernel

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

    the main pros seem obvious, increased storage for system apps and freeing the space they take up in NAND.
    the cons, as I've read, are several
    already mentioned, card can't be removed.
    card has to be better than stock for decent speed.
    ext2 has potential for data corruption in a crash.
    ext3 or ext4 can wear out your card with the journaling which helps prevent the ext2 problem with crashes.
    keep the wife happy with my dev time:
    donate!
    the THANKS button is quite acceptable if you're as stingy as me, too.
  3. #3  
    A-android-B's Avatar

    Posts
    415 Posts
    Global Posts
    416 Global Posts
    ROM
    it changes so much

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

    I am way interested and I have an eight gig class 4 in my zv5 optimus v, I would be honored to test and report log cat screenshots error messages , what have you! Please hit me , knowing you if you even mentioned it you already have a test build rolling

    come to the dark side
    beamed from the mothership...
    but its only a proxy for my
    lubuntu 12.04
  4. #4  
    A-android-B's Avatar

    Posts
    415 Posts
    Global Posts
    416 Global Posts
    ROM
    it changes so much

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

    And I was on a ubuntu forum and someone mentioned formatting to ext 4 but somehow disabling journaling to get all the speed improvements and such from ext 4 but be faster, use less power too

    come to the dark side
    beamed from the mothership...
    but its only a proxy for my
    lubuntu 12.04
  5. #5  
    flapjack.fiasco's Avatar

    Posts
    776 Posts
    ROM
    JBC/Squid's Kernel

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

    Definitely interested. Anything that keeps this little phone rolling a little longer.

    Sent from my LG-VM670 using Tapatalk 2
    This space intentionally left blank.
    upconvert likes this.
  6. #6  

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

    Nice to see your still posting here. Seemed as if you were gone for along time.

    I'd be interested in seeing this, although I don't use SD-EXT swaps or whatever you wanna call it. :P
  7. #7  
    joemac84's Avatar

    Posts
    10 Posts
    ROM
    bobZhomes JellyBean 4.1.1

    Thumbs up Re: [DISCUSSION][POLL]interest in running ics/jb off SD?

    Sounds good to me. I was initially opposed to this idea but, WTH. Why not try it andd see how it works
    VM670- bobZ 4.1.1
  8. #8  
    A-android-B's Avatar

    Posts
    415 Posts
    Global Posts
    416 Global Posts
    ROM
    it changes so much

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

    Anything2ext has worked good for me so far without any stability issues.I've been using an ext partition ever since the early days of Bobz cm9

    come to the dark side
    beamed from the mothership...
    but its only a proxy for my
    lubuntu 12.04
  9. #9  
    upconvert's Avatar

    Posts
    486 Posts
    ROM
    Cold as Ice

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

    I would love to try something like that. It seems like if someone knew a little about mounting scripts, it would be easy enough to apply it to any of the billion roms for this phone as a simple proof of concept. I would absolutely test if someone could build that rom.

    Sent from my GT-P7310 using Android Central Forums
  10. #10  
    thewraith420's Avatar

    Posts
    1,918 Posts
    ROM
    Changes Daily

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

    Ics runs well enough just using ext for apps and dalvik but I'd be interested to see what this concept could do for jb or in the future key lime?

    Tapatalk'n it from my Cold As Ice VM670 running LS670ZVJ firmware
    joemac84 likes this.
  11. #11  
    flapjack.fiasco's Avatar

    Posts
    776 Posts
    ROM
    JBC/Squid's Kernel

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

    Quote Originally Posted by thewraith420 View Post
    Ics runs well enough just using ext for apps and dalvik but I'd be interested to see what this concept could do for jb or in the future key lime?

    Tapatalk'n it from my Cold As Ice VM670 running LS670ZVJ firmware
    I still hold out hope that they're going to call it key lime, but that easter egg in JB insinuates something else.

    Sent from my LG-VM670 using Tapatalk 2
    This space intentionally left blank.
  12. #12  

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

    This is done by using "writeback" as the data mode. Kernel documentation on the subject is available at

    Benchmarks usually show minimal difference between writeback and ordered, where some of the benefits of journaling can be retained with ordered. A few examples:



    Using noatime, nodirtime, and disabling barriers can also improve performance. Found a link to instructions Android specific here:
    Thanked by 2:
    snobro likes this.
  13. #13  

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

    I would try
    Sounds like a very cool idea

    Sent from my LG-VM670 using Android Central Forums
  14. #14  

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

    I'm definitely interested, I tried doing this myself a while back but it didn't go well. I've got a 32gb class 10 so speed isn't a problem

    Sent from my LG-VM670 using Android Central Forums
  15. #15  
    flapjack.fiasco's Avatar

    Posts
    776 Posts
    ROM
    JBC/Squid's Kernel

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

    Quote Originally Posted by thesaxphoner View Post
    I'm definitely interested, I tried doing this myself a while back but it didn't go well. I've got a 32gb class 10 so speed isn't a problem

    Sent from my LG-VM670 using Android Central Forums
    I've read previously that class 4 may in fact be better than class 10 in these situations, because they tend to have a faster random read/write speed as opposed to faster read and faster write speed. I could be wrong, but I think I read it in the context of booting a ROM straight off the sd-card.

    Sent from my LG-VM670 using Tapatalk 2
    This space intentionally left blank.
  16. Thread Author  Thread Author    #16  
    bigsupersquid's Avatar
    o_O

    Posts
    1,418 Posts
    ROM
    OV KitKat-JBC, 3.0 kernel

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

    there's the "security issue," also, of whatever bits of system are moved to SD, being r/w rather than read only.

    while I haven't built anything yet, I was assessing whether anyone but me had info./desire on this.
    it'd most likely be easiest to move all of /system to the SD card rather than parts of it.

    the mod would most likely be a severely trimmed version of tasssadar's multirom which patches the ramdisk with preinit (mounts sd-ext) and init.rc tweak (mount system from sd-ext.)

    Not sure, but might well need a specialized recovery too, again tweaking tasssadar's work would probably be easiest.
    <edit> on the bright side, it could be a fakeflash recovery (thanks to koush, a fakeflash recovery runs from a zip in recovery but doesn't replace the installed recovery to do it,) so you could leave whatever recovery you like installed and just use the mod recovery when you need it.
    just thoughts so far, nothing concrete.

    and, sgeoxd put up a he**uva first post.
    Last edited by bigsupersquid; 11-22-2012 at 03:41 PM.
    keep the wife happy with my dev time:
    donate!
    the THANKS button is quite acceptable if you're as stingy as me, too.
    snobro and flapjack.fiasco like this.
  17. #17  
    tvall's Avatar

    Posts
    591 Posts
    ROM
    cm9

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

    here's an idea. Put what would normally be on /system in a file on /sd-ext. you'll have to mount /sd-ext earlier in boot then mount the system image and you would have to modify a gapps installer, but installs would be copying a single file, and you can keep the system mounted ro.
    my roms & kernels (based on iho)

    If you'd like to donate to me, i accept litecoin, bitcoin, and hardware
    LTC - LTVALL5gsjPvgeiBWD7c6DHNWidbpzVu3w
    BTC - 1TVALLetFibDe8Zap5qPsqa4BAJWQYQ59
    Thanked by:
  18. Thread Author  Thread Author    #18  
    bigsupersquid's Avatar
    o_O

    Posts
    1,418 Posts
    ROM
    OV KitKat-JBC, 3.0 kernel

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

    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.
    keep the wife happy with my dev time:
    donate!
    the THANKS button is quite acceptable if you're as stingy as me, too.
  19. #19  

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

    um.

    yes.
  20. #20  

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

    You could be right, I'm not sure. I know that I used to use a class 2 and bobz cm10 worked fine on it but when I went to this all my apps that were on /sd-ext worked way better than before. Mine is also UHS-1 but I don't think the v can handle that.



    Sent from my LG-VM670 using Android Central Forums
  21. Thread Author  Thread Author    #21  
    bigsupersquid's Avatar
    o_O

    Posts
    1,418 Posts
    ROM
    OV KitKat-JBC, 3.0 kernel

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

    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.
    keep the wife happy with my dev time:
    donate!
    the THANKS button is quite acceptable if you're as stingy as me, too.
    Thanked by 2:
    flapjack.fiasco and upconvert like this.
  22. #22  
    Encerspay45's Avatar

    Posts
    619 Posts
    ROM
    MiRaGe/jawz101 kernel

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

    Great idea.
  23. #23  

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

    Quote Originally Posted by bigsupersquid View Post
    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.

    But perhaps other kernels include the loop driver.
  24. #24  
    tvall's Avatar

    Posts
    591 Posts
    ROM
    cm9

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

    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.
    my roms & kernels (based on iho)

    If you'd like to donate to me, i accept litecoin, bitcoin, and hardware
    LTC - LTVALL5gsjPvgeiBWD7c6DHNWidbpzVu3w
    BTC - 1TVALLetFibDe8Zap5qPsqa4BAJWQYQ59
  25. Thread Author  Thread Author    #25  
    bigsupersquid's Avatar
    o_O

    Posts
    1,418 Posts
    ROM
    OV KitKat-JBC, 3.0 kernel

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

    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.
    keep the wife happy with my dev time:
    donate!
    the THANKS button is quite acceptable if you're as stingy as me, too.
Page 1 of 2 12 LastLast

Similar Threads

  1. [How-to][NEW VERSION] Run Nookie Froyo off SD card
    By Will Shanklin in forum Barnes & Noble Nook Color
    Replies: 310
    Last Post: 12-18-2012, 11:02 PM
  2. Memory in Running Services?
    By ridavid81 in forum Motorola Droid
    Replies: 4
    Last Post: 10-07-2010, 03:17 PM
  3. Now THIS is a phone I'm interested in! It's got everything!!!!
    By ardoreal in forum Other OS's and Devices
    Replies: 1
    Last Post: 01-28-2010, 12:25 PM
  4. Interested in the Droid
    By jammin in forum Motorola Droid
    Replies: 2
    Last Post: 11-09-2009, 03:25 PM

Posting Permissions

B