Swap internal with external memory

Discussion in 'C8 How to fix/ Problems' started by Tuen, Nov 16, 2011.

Remove Advertisements
  1. Tuen

    Tuen Staff Member Administrator

    Posts:
    4,813
    Likes Received:
    511
    Trophy Points:
    67
    Location:
    Sint-Niklaas - Belgium
    Tablet:
    See Signature
    Phone:
    See Signature
    Swap /sdcard as /Extsd and /Extsd as /sdcard

    open: Root Explorer

    goto: /etc/voId.fstab --> "open in text Editor"

    from
    To
     
  2. rambopfc

    rambopfc Member

    Posts:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Not sure if my device is different, but for anyone else who runs into problems with just copy and pasting this in, this is how I got it to work.

    from Tuen's modified version
    Code:
    dev_mount extsd /mnt/sdcard auto /devices/platform/s3c-sdhci.0/mmc_host/mmc2
    dev_mount sdcard /mnt/extsd auto /devices/platform/s3c-sdhci.0/mmc_host/mmc0
    dev_mount udisk /mnt/udisk auto /devices/platform/s5pv210-ehci/usb1
    to
    Code:
    dev_mount extsd /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
    dev_mount sdcard /mnt/extsd auto /devices/platform/s3c-sdhci.0/mmc_host/mmc0
    dev_mount udisk /mnt/udisk auto /devices/platform/s5p-ehci/usb1
    also, not sure if it matters or not but in the unix world it probably does, when I pasted it to my device it put a space after the /mmc0
     
  3. Tuen

    Tuen Staff Member Administrator

    Posts:
    4,813
    Likes Received:
    511
    Trophy Points:
    67
    Location:
    Sint-Niklaas - Belgium
    Tablet:
    See Signature
    Phone:
    See Signature
    Correct, the mine was for froyo firmware. But it has been changed in gingerbread
    Tnx to let me know
     
  4. NeurOSick

    NeurOSick Android and Ubuntu maniac! Developer

    Posts:
    109
    Likes Received:
    1
    Trophy Points:
    27
    Location:
    Montréal
    Tablet:
    Cube U30GT2 / Dropad A8
    Phone:
    Google Nexus 4
    Work fine on gingerbread (ie. Genesis cfw) but don't try this on tsunami, aldro or any other firmware from team flashback, the Sdcard is already swapped.

    PS; remember to swap again your sdcard before flash a new firmware, if you dont do this it will brick the tablet.
     
  5. Tuen

    Tuen Staff Member Administrator

    Posts:
    4,813
    Likes Received:
    511
    Trophy Points:
    67
    Location:
    Sint-Niklaas - Belgium
    Tablet:
    See Signature
    Phone:
    See Signature
    FYI: there is no problem if you have swap the sdcard and then flash your device. After te flash your device will be back in the state before (settings in the firmware files)
     
  6. NeurOSick

    NeurOSick Android and Ubuntu maniac! Developer

    Posts:
    109
    Likes Received:
    1
    Trophy Points:
    27
    Location:
    Montréal
    Tablet:
    Cube U30GT2 / Dropad A8
    Phone:
    Google Nexus 4
    In my case it brick my tablet. If you swap your sdcard you need to put the new file on the real extsd or the fake? (this is the danger.. No?)
     
  7. Tuen

    Tuen Staff Member Administrator

    Posts:
    4,813
    Likes Received:
    511
    Trophy Points:
    67
    Location:
    Sint-Niklaas - Belgium
    Tablet:
    See Signature
    Phone:
    See Signature
    nope it is not danger, your put your files in your REAL extSD to flash. because on boot your real extSD will still your real extSD, it after your boot that it change the real to fake one.
     
  8. Guver

    Guver Member

    Posts:
    27
    Likes Received:
    0
    Trophy Points:
    0
    I noticed my device has mmc1 and mmc3. What are those partitions for?
     
  9. Tuen

    Tuen Staff Member Administrator

    Posts:
    4,813
    Likes Received:
    511
    Trophy Points:
    67
    Location:
    Sint-Niklaas - Belgium
    Tablet:
    See Signature
    Phone:
    See Signature
    Can you give more information??
     
  10. jaithesimpleguy

    jaithesimpleguy Member

    Posts:
    9
    Likes Received:
    0
    Trophy Points:
    0
    can i apply this on the fw that i currently use? (CFW jolocotroco_cm9 V2, V2.2)

    update:

    okay, it's not working... m7m cant even detect both internal and external memory instead... >,<

    update2:

    LOL. suddenly it works like the way i want. xD the memory is swapped. i copy this one instead:

    dev_mount extsd /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
    dev_mount sdcard /mnt/extsd auto /devices/platform/s3c-sdhci.0/mmc_host/mmc0
    dev_mount udisk /mnt/udisk auto /devices/platform/s5p-ehci/usb1

    beautiful!! xD
     

    Attached Files:

  11. jaithesimpleguy

    jaithesimpleguy Member

    Posts:
    9
    Likes Received:
    0
    Trophy Points:
    0
    tuen,

    can I apply the script above on Ice Fusion as well? is it gonna work?
     
  12. Tuen

    Tuen Staff Member Administrator

    Posts:
    4,813
    Likes Received:
    511
    Trophy Points:
    67
    Location:
    Sint-Niklaas - Belgium
    Tablet:
    See Signature
    Phone:
    See Signature
    Not sure you can always try. if failed then you can restore back


    Sent from my iPhone using Tapatalk
     
  13. jaithesimpleguy

    jaithesimpleguy Member

    Posts:
    9
    Likes Received:
    0
    Trophy Points:
    0
    i try copy exactly like i do last time. it works. but later i can only mount my external sd card only (which already defined as internal sd card by the system).

    any idea what i should edit to make sure i can mount both internal and external sd card?
     
  14. Tuen

    Tuen Staff Member Administrator

    Posts:
    4,813
    Likes Received:
    511
    Trophy Points:
    67
    Location:
    Sint-Niklaas - Belgium
    Tablet:
    See Signature
    Phone:
    See Signature
    maybe try this?
    viewtopic.php?f=15&t=40#p1248
     
  15. jaithesimpleguy

    jaithesimpleguy Member

    Posts:
    9
    Likes Received:
    0
    Trophy Points:
    0
    not working. i can't mount my internal memory. the original script for Ice Fusion is as follows:


    dev_mount sdcard /mnt/sdcard 1 /devices/platform/s3c-sdhci.0/mmc_host/mmc0
    dev_mount extsd /mnt/extsd 1 /devices/platform/s3c-sdhci.2/mmc_host/mmc2
    dev_mount udisk /mnt/udisk 1 /devices/platform/s5p-ehci/usb1

    if u see, the original part is written as "1". I don't know what is the difference between "1" or "auto".
     
  16. NeurOSick

    NeurOSick Android and Ubuntu maniac! Developer

    Posts:
    109
    Likes Received:
    1
    Trophy Points:
    27
    Location:
    Montréal
    Tablet:
    Cube U30GT2 / Dropad A8
    Phone:
    Google Nexus 4

    On Ice Fusion v0.2?
    yes it work, but you need to put these settings ;

    dev_mount sdcard /mnt/sdcard 1 /devices/platform/s3c-sdhci.2/mmc_host/mmc2
    dev_mount extsd /mnt/extsd 1 /devices/platform/s3c-sdhci.0/mmc_host/mmc0
    dev_mount udisk /mnt/udisk 1 /devices/platform/s5p-ehci/usb1

    I personnaly use Root Explorer to edit this file.
     
Remove Advertisements