FORUMS
Remove All Ads from XDA

[ CM 11 EMMC <--> SDCARD SWITCHEROO] Modified uRamDisk

209 posts
Thanks Meter: 31
 
By sagirfahmid3, Senior Member on 16th January 2015, 02:54 AM
Post Reply Email Thread
Hi everyone, I modified the stock uRamDisk for CM11 by decompressing it, editing the fstab.encore.rc file, and switching up the part with sdcard0 and sdcard1.
P.S. I removed the zram (compressed RAM) option in the fstab because the Nook Color has a crappy enough CPU as is, so it wont help with zram. Use a swap partition on SDcard if needed.
P.S.2. This ramdisk is from the most recent nightly build (Jan 11, 2015). It may or may not work with older CM11 builds.
It's attached here. It wont let me upload the file as is, so I renamed it to uRamDisk.7z; rename it back to uRamDisk. After that, follow these steps:

0. MAKE A BACKUP OF THE /boot PARTITION IN YOUR RECOVERY JUST IN CASE. If anything happens, restore the /boot partition's backup.

1. Mount /boot partition at /root (it's an unused mountpoint in Android)
adb root && adb shell
# mount -t vfat /dev/block/mmcblk0p1 /root
2. Change directory to /root, rename the original ramdisk
# cd /root && mv uRamDisk uRamdisk.orig
3. Copy over the new ramdisk
adb push uRamDisk /root/
4. Reboot and profit
The internal sdcard will now be seen as external. You no longer need to have an SD card inside to have many apps like Kodi (XBMC), Firefox, etc, asking for external SD.
If it doesn't work for you for some reason, remount the /boot partition again, and copy over the original uRamDisk ( # cp -f uRamDisk.orig uRamDisk ).

I used parts of this script to figure out how to mod the ramdisk: https://gist.github.com/aperezdc/6533546
Attached Files
File Type: 7z uRamDisk.7z - [Click for QR Code] (406.4 KB, 96 views)
 
 
16th January 2015, 03:19 PM |#2  
les02jen17's Avatar
Senior Member
Flag Manila
Thanks Meter: 94
 
Donate to Me
More
Any feedback on this one?
16th January 2015, 04:34 PM |#3  
OP Senior Member
Thanks Meter: 31
 
More
Quote:
Originally Posted by les02jen17

Any feedback on this one?

Huh, what do you mean? If you have feedback for me, please do post it.
26th January 2015, 11:32 PM |#4  
Junior Member
Thanks Meter: 0
 
More
hi,could you compile a flasheable zip file?because many people like me dont know how to use adb or you can explain these steps a bit better, other thing is that i cant change the name to uramdisk(i cant delete .7z) windows 7 and winrar wont let me

btw good work!!
8th February 2015, 04:13 AM |#5  
OP Senior Member
Thanks Meter: 31
 
More
Quote:
Originally Posted by omars44

hi,could you compile a flasheable zip file?because many people like me dont know how to use adb or you can explain these steps a bit better, other thing is that i cant change the name to uramdisk(i cant delete .7z) windows 7 and winrar wont let me

btw good work!!

1. Do you have adb installed for Windows? If not, do that first.
2. I don't know how to make a flashable zip. Someone else might. Anyone wanna do that? I don't have time atm since college started. Sorry for the late reply.
3. The instructions are about as simple as they get. You should study the "mount," "cp," and "mv" commands. They are, respectively, for mounting partitions, copying files/folders, and moving/renaming files/folders.
4. You can't rename the file because by default, Windows doesn't show file types' endings (like .exe, .zip, .rar, etc). You need to enable that. Google it.
25th December 2017, 12:43 PM |#6  
Junior Member
Thanks Meter: 0
 
More
hello, maybe you still have this nigtly cm11 system of 11Jan, 2015? thank's
Post Reply Subscribe to Thread

Tags
emmc, sdcard, swap

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes