[MOD]mount internal sdcard as /data CM7 and MIUI only - LG Optimus 2x

ADVANED USERS ONLY!
ONLY TRY THIS WHEN YOU KNOW HOW NVFLASH WORK AND HOW YOU CAN RESTORE YOUR PARTITIONS USING IT!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
if you use cm7 or MIUI you may feel like your internal sdcard is a bit waste of memory
people have been trying to merge the internal sd partition and the data partition sadly without succes
but i tried to mount the internal sd as /data and i did succeed
i recommend you to change the size of your all your partitions using nvflash this is not necessary but you will have have more benefits
here is a link to the TUT on modaco
i used this values:
/system (512 MB): size=536870912
/cache (512 MB): size=536870912
/data (256 MB): size=268435456
Recovery (50 MB): size=52428800
resized system to 512 MB is enough
resized cache to 512 MB to store the dalvik-cache on the cache partition it is more use full then store it on the /data partition
resized data to 256 MB because we don't need it anymore
the remaining space will be used the internal SD well lets say it is a lot in my case it is as you can see on the screen shots above 5.43 GB
WARNING! YOUR SDCARD MUST BE MOUNTED ON /mnt/sdcard AND NOT ON /mnt/emmc OR /mnt/sdcard/_InternalSD OTHERWISE AFTER FLASHING YOU CAN'T ACCES YOUR SDCARD
IN CM7 THE DEFAULT SETTINGS ARE GOOD UNLESS OF COURSE YOU CHANGED THEM TO MOUNT INTERNAL SD CARD ON SDCARD
AND BY DEFAULT ON MIUI THE SETTINGS ARE WRONG THERE IS THE SDCARD MOUNTEDN ON /_ExternalSD
converting the internal sdcard to ext4 is not hard
you can just flash THIS zip for it
when your internal sdcard is formatted as ext4 you can use THIS zip to transfer your data to your internal SD partition
this zip contain 2 script
one will transfer your data over to the internal sd partition
and the other will transfer your dalvik-cache over to the cache partition (when there is enough space to do so if it is not resized it will just leave it on /data)
after this when you boot up the device you will notice you get an notification what will say it is safe to remove the sdcard
this is because it can't mount the internal SD and this will cause a bug you won't be able to mount your external sdcard on the computer
but hey we gonna fix that!
i recommend you to use root explorer for this job
locate /system/build.prop and delete these lines out of the file
for CM7 delete these
Code:
# Mount the internal SD card, too
ro.additionalmounts=/mnt/emmc
ro.vold.switchablepair=/mnt/sdcard,/mnt/emmc
for MIUI delete there
Code:
# Mount the internal SD card, too
ro.additionalmounts=/mnt/sdcard/whatever-the-text-is-here
now reboot your device and enjoy your huge space
Good Luck!
Owain
Huge thanks to benee for his universal ext4 converter that i used to convert the internal sd partition​
i am in no way responsabel for whatever might happen
to your cellphone if you did something wrong don't come
and blame me for it it is your device you did it​

I'd appreciate it if you made it a little less complicated for not-so-advanced users like me. :/

Works great! Thanks.

works like a charm...took your suggestion and resize the partition...exact results

dan079 said:
works like a charm...took your suggestion and resize the partition...exact results
Click to expand...
Click to collapse
good to know it is also working for others

Related

Test if apps installed on SD?

Just installed cyanogens rom and started adding apps from an 'appmanager' folder on the SD card- but I cannot see them in a seperate folder on the SD - is it just running them in the 'appmanager' folder? Or is apps2sd not working and installing stuff on my internal memory?
( I have 3 partitions by the way, one ext2 /3 not sure which, the last one a 'swap' from early 'hero' install)
Thanks
you need an ext2/ext3 partition for apps2sd to work. if you have such a partition then cyanogen rom is installing apps there automatically.
open an adb shell and cd to /system/sd
if there are some folders, the apps2sd is running (the ext partition is mounted under /system/sd)
You can also run this in terminal but there you need to run the "su" command first
Sorry, noob!
Ok I opened 'terminal emulator', did 'su' allowed root and then
cd /system/sd
'ls' to see directory right? just shows 'placeholder' so somethings wrong?
Is there an easy fix and can I move all the apps I just installed over?
Thanks!
looks like no apps2sd(the partition might be there, but no apps were moved at this time)
just create an ext3 partition on your sd card and install your favourite rom. cyanogen will move all apps automatic (long long first boot).
on other roms you might have to run the apps2d.sh script to move the apps. just read the corresponding thread for your rom. you will find all information there.
FireFart - you mean cyanogen? That's the one I installed, before adding these apps!
If I flash it again won't it wipe all installed apps?
Is it worth trying to run this apps2d.sh script?
try this guide:
http://forum.xda-developers.com/showthread.php?t=535232
When you just flash another update.zip, your apps wont get deleted(with and without apps2sd).
When nothing works, wipe, delete the ext partition and make a fresh install
To delete the content on the ext partition:
rm -rf /system/sd/*
I would agree with the thread you linked, however the apps2sd section is not necessary. as already stated, cyanogen's rom does this automatically (most do now), and installing apps2sd will (i believe) implement an outdated/slower method of 'symlinks'.
in short: use the thread for a guide, but ignore the app2sd section. its a good guide for the partitioning of your sd card (this part IS necessary)
FireFart said:
try this guide:
http://forum.xda-developers.com/showthread.php?t=535232
When you just flash another update.zip, your apps wont get deleted(with and without apps2sd).
When nothing works, wipe, delete the ext partition and make a fresh install
To delete the content on the ext partition:
rm -rf /system/sd/*
Click to expand...
Click to collapse
Ok , tried reflashing, no effect it seems. ... from what I've seen the thread on partitioning was pretty much the same as the one I used.
FireFart said:
try this guide:
http://forum.xda-developers.com/showthread.php?t=535232
When nothing works, wipe, delete the ext partition and make a fresh install
To delete the content on the ext partition:
rm -rf /system/sd/*
Click to expand...
Click to collapse
you mean wipe it's contents right?
he means do a wipe on the recovery screen (ALT+W) AS WELL AS remove contents from ext partition.
the recovery console wont touch the ext partition when performing an ALT+W.
im not sure thats the issue though. just to verify, the order of your partitions on the SD is: FAT32/ext, correct? the FAT32 partition must be the first partition, and the ext the second.
EDIT: can u post the results of running a 'mount' cmd? you should have a line that reads something like:
Code:
/dev/block/mmcblk0p2 on /system/sd/ type ext3 (rw,noatime,nodiratime,barrier=1,data=ordered)
jomtones said:
Ok , tried reflashing, no effect it seems. ... from what I've seen the thread on partitioning was pretty much the same as the one I used.
you mean wipe it's contents right?
Click to expand...
Click to collapse
phantasm -sorry, noob, not sure what you mean!
partitions currently look like this (as JAC instructions)
http://i70.photobucket.com/albums/i120/jomtones/IMAGE_829.jpg
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Maybe having 3 parts is throwing it? confused!

[MOD][AD2SDX] Increase Internal Memory without loosing Performance

I just came across this script "AD2SDX - AMARULLZ DATA TO SD-EXT" which is still in alpha stages it works fine on Arc. I tested today on my MIUI ROM.
WHAT IS IT??
This mod will move all Internal Memory (data) into sd-ext, "but not like data2ext", this mod will maintain the performance, because it still place dalvik-cache and system application data in Internal Memory.
Here is a screenshot of my "Manage Application" :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Note: This script is still in alpha stages so users who are not sure please don't try it. It can potentially brick you SD or can cause bootloops. I don't know a method to uninstall this yet.
HOW IT WORK??
The script will do this in the first boot:
Move Mounting Internal Memory (/data) Into /sd-ext
Mount SDCard-Ext (mmcblk0p2) partition into /data
Create dalvik-cache directory in Internal Memory data (/sd-ext), and symlink it to mmcblk0p2 (/data)
Create data directory in mmcblk0p2 (/data) And symlink it into Internal Memory data (/sd-ext)
Create symlink of app, app-private, app_s and lib_s from mmcblk0p2 (/data) to Internal memory data (/sd-ext)
Create symlink for all non-symllink of Internal Memory data (/sd-ext) into mmcblk0p2 (/data)
After Initializing Setup (First Boot), reboot the system (Just reboot, don't go into recovery), the mod will automatically do this following:
Create data_s in Internal Memory data (/sd-ext)
Move All mmcblk0p2(/data)/data/com.htc* and com.android* into Internal Memory data(/sd-ext)/data_s
Create symlink all files/directory from Internal Memory data (/sd-ext)/data_s/* into mmcblk0p2(/data)/data/ So the System Application Data still read into Internal memory, but rest Application Data will read Into SDCard.
More Information and download:[MOD][AD2SDX][ALPHA02] New Data To SD-EXT Mod - AMARULLZ DATA TO SD-EXT
A lot of people has read your thread, but nobody has answered.
I tried to use it. I have an sd-ext partition, but I don't remember if it's ext2, 3 or 4. I tried anyway and out caused a boot loop. So I'm guessing I don't have my partition formatted as ext4. I don't have access to a computer right now, so I will have to wait to test it again.
Thank you for your link.
Fb
can this be used with the neo ? using inteks kernel (it doesn't have ext support yet) i.e can this add the ext support to that kernel ? thanks !
skyboyextreme said:
can this be used with the neo ? using inteks kernel (it doesn't have ext support yet) i.e can this add the ext support to that kernel ? thanks !
Click to expand...
Click to collapse
Your kernel need init.d support. Then I believe it should work.
ShyamSasi said:
I just came across this script "AD2SDX - AMARULLZ DATA TO SD-EXT" which is still in alpha stages it works fine on Arc. I tested today on my MIUI ROM.
WHAT IS IT??
This mod will move all Internal Memory (data) into sd-ext, "but not like data2ext", this mod will maintain the performance, because it still place dalvik-cache and system application data in Internal Memory.
Here is a screenshot of my "Manage Application" :
Note: This script is still in alpha stages so users who are not sure please don't try it. It can potentially brick you SD or can cause bootloops. I don't know a method to uninstall this yet.
HOW IT WORK??
The script will do this in the first boot:
Move Mounting Internal Memory (/data) Into /sd-ext
Mount SDCard-Ext (mmcblk0p2) partition into /data
Create dalvik-cache directory in Internal Memory data (/sd-ext), and symlink it to mmcblk0p2 (/data)
Create data directory in mmcblk0p2 (/data) And symlink it into Internal Memory data (/sd-ext)
Create symlink of app, app-private, app_s and lib_s from mmcblk0p2 (/data) to Internal memory data (/sd-ext)
Create symlink for all non-symllink of Internal Memory data (/sd-ext) into mmcblk0p2 (/data)
After Initializing Setup (First Boot), reboot the system (Just reboot, don't go into recovery), the mod will automatically do this following:
Create data_s in Internal Memory data (/sd-ext)
Move All mmcblk0p2(/data)/data/com.htc* and com.android* into Internal Memory data(/sd-ext)/data_s
Create symlink all files/directory from Internal Memory data (/sd-ext)/data_s/* into mmcblk0p2(/data)/data/ So the System Application Data still read into Internal memory, but rest Application Data will read Into SDCard.
More Information and download:[MOD][AD2SDX][ALPHA02] New Data To SD-EXT Mod - AMARULLZ DATA TO SD-EXT
Click to expand...
Click to collapse
how come ur internal storage is 2.2GB...
That's what this script does it Internet storage will be your ext partition
martin132014 said:
how come ur internal storage is 2.2GB...
Click to expand...
Click to collapse
because the script re-mounts the internal storage partition to sd/ext
does anyone else have try this method and work...please do tell. i really like to apply it to my arc...
martin132014 said:
does anyone else have try this method and work...please do tell. i really like to apply it to my arc...
Click to expand...
Click to collapse
Me.....
ShyamSasi said:
Me.....
Click to expand...
Click to collapse
how did you do to make it work??
Edit: do i need just to flash the file for the recovery? with Ext4?
i got stuck on the Sony white text with Ext3...
Edit2: nevermind, it works now.
martin132014 said:
does anyone else have try this method and work...please do tell. i really like to apply it to my arc...
Click to expand...
Click to collapse
Is working perfect on Arc. Just have patience at boot - it's a long start up session.
i guess this will only works with fresh flashing...
nujhum said:
i guess this will only works with fresh flashing...
Click to expand...
Click to collapse
No! I have even used the "old" App2SD which I just deleted in init.d and copied AD2SDX into same directory. Then reboot a after waiting it worked.
em, so i need to delete the init.d before flashing ad2sdx...
this is what i did and caused me to bootloop.
1. restoring my backup rom, and flash the ad2sdx.
2. did fresh install rom and flash ad2sd without rebooting.
nujhum said:
em, so i need to delete the init.d before flashing ad2sdx...
this is what i did and caused me to bootloop.
1. restoring my backup rom, and flash the ad2sdx.
2. did fresh install rom and flash ad2sd without rebooting.
Click to expand...
Click to collapse
No, you have to delete the contents of init.d, not the folder.
Sent from my LT15i using xda premium
harfot said:
No, you have to delete the contents of init.d, not the folder.
Sent from my LT15i using xda premium
Click to expand...
Click to collapse
no, didnt delete the folder. just the specified file.
btw, it works fine now.
hm, but there is too many program keep FC, and lags, seem its getting heavier... hm. booting take minutes to load.
ShyamSasi said:
Me.....
Click to expand...
Click to collapse
well....i know its u first, i mean someone else....anybody....
nujhum said:
hm, but there is too many program keep FC, and lags, seem its getting heavier... hm. booting take minutes to load.
Click to expand...
Click to collapse
You're right - I'll try to change from ext2 to ext4 and see what happens.
It works fine for me I'm using Ext3 it works fine so far with MIUI ROM, I don't use lot of application only few everyday apps and lot of widgets
Additional Info:
When I updated the ROM version I had to format the ext3 partition (Mini Partition Tool) then re-apply the script to get it to work. Otherwise I had boot loops.

MicroSDHC problem

I am using a 16gb G.Skill microsdhc class 10. I used MiniTool Partition Wizard to make 2 partitions, it show 14gb+ of unallocated space. I made the following partitions without any problems.
1: 1gb primary-ext 4
2: 13gb+ primary-fat32
I followed these steps by mor_1228 to install the Apocalypse Final ROM
1. Do a fresh install of stock rom via odin i recommend XXKPT = Russia 2012 March
2. install latest recovery.
most important procedure
3. switchoff then press only home button and power button
1. wipe data/factory reset.[imp]
2. wipe cache partition.[imp]
3. Go to mounts and storage and format these :
a. system
b. data
c. cache
d. sdext
4 go to advanced and then in there format :
a. Dalvik cache
b. Battery stats [not imp.]
4. Install apocalypse latest final version.
5. install layout properly as suggest in developer post. after installing layout reboot 2 times.
6. mount system and install AMARULLZ DATA TO SD-EXT
7. give 2 reboots after installing AMARULLZ DATA TO SD-EXT.
8. check ur internal memory it will be according to ur partition size.
9. [if error] if u find internal memory still same then u must have not mounted system go to recovery again and mount system and then flash script again.
Click to expand...
Click to collapse
I followed the steps and finished up to this step :
4 go to advanced and then in there format :
a. Dalvik cache
b. Battery stats [not imp.]
Click to expand...
Click to collapse
Here is where the PROBLEM started :
I was in CWM 5 recovery and was about to flash the Apocalypse Rom but I can't seem to find the CM7-APOCALYPSE-090712-FINAL zip file to flash, I rebooted the phone normally and it showed that my microSD is blank. Then I connected my sdcard to my pc but it isn't recognized anymore.
Opened Disk Management in windows and saw that my SD card only has 1gb capacity. Minitool partition Wizard also showed 1gb. I tried the Partition recovery wizard but didn't get any success. Also tried EaseUS partition master but the same result.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
When I try to make that 1gb a partition, it show Bad Disk under File System, when I try to use CWM to make a partition, it just gets stuck in the partitioning part. Same with when I try to format it in windows, I also used SDformatter, HP Partition Tool, and other similar apps that came up when I search in and out of this forum for answers but they all just get stuck at 0% and wouldn't progress forward.
Any ideas how I can fix this?
Any help would be very much appreciated. Thanks!
still no luck finding a fix. anyone have an idea what to do?
any ideas?
You can formate your sd normally with windows and do again the partition.
Try to format the sd card with windows again...before putting files into it, partition the sd card via cvm in advanced (do not put things as the whole card will be automatically formatted)...after that, start to put things into your sd card...do not format sd-ext again this time and keep in mind that any windows program will report the partition as corrupted the next time you connect your card to your pc again...it's normal as sd-ext formatted by cwm are like that, but it's effective...
Ryuinferno said:
Try to format the sd card with windows again...before putting files into it, partition the sd card via cvm in advanced (do not put things as the whole card will be automatically formatted)...after that, start to put things into your sd card...do not format sd-ext again this time and keep in mind that any windows program will report the partition as corrupted the next time you connect your card to your pc again...it's normal as sd-ext formatted by cwm are like that, but it's effective...
Click to expand...
Click to collapse
First of all, thanks for your suggestion!
I can't format the card anymore. When I try to format it in windows, and using different formatting apps like SDformatter, they just get stuck and wouldn't progress. Sometimes the apps i used just stops responding.
yeryer said:
First of all, thanks for your suggestion!
I can't format the card anymore. When I try to format it in windows, and using different formatting apps like SDformatter, they just get stuck and wouldn't progress. Sometimes the apps i used just stops responding.
Click to expand...
Click to collapse
Google for bootice..install and launch it...then select your sd card in physical disk...go to parts manage...select reformat...then format it into USB-HDD single partition with fat32 format...Hope it helps...
Ryuinferno said:
Google for bootice..install and launch it...then select your sd card in physical disk...go to parts manage...select reformat...then format it into USB-HDD single partition with fat32 format...Hope it helps...
Click to expand...
Click to collapse
I tried this but bootice gives me an ERROR:
Error write sector 0ata error (cyclic redundancy check)
With GPartEd you can fix it. Google for it.....
Sent from my GT-S5830i using xda app-developers app
RubenStauttener said:
With GPartEd you can fix it. Google for it.....
Sent from my GT-S5830i using xda app-developers app
Click to expand...
Click to collapse
I tried GPartEd but it also didn't fix it. It said that there was no partition table. But when I tried to Write a Partition Table, there is an error I/O error with the device (Cyclic Redundancy Error). I thought it is caused by the write protect but the write protect is disabled. And another weird thing is when I first inserted the microSD, GPartEd listed that it has 14.97gb unallocated space, but after reinserting it after I checked for write protect, it recognized only 1gb again.
I think I'll just get a replacement for this card. Thanks everyone for helping!
Use CWM to partition it. It's under advanced.
Sent from my GT-S5830 using Tapatalk 2

[Q] Samsung I9000 internal SD issues/temporary solution. Install custom ROM?

Hello XDA, my I9000 has some problems with my internal SD, is damaged/dead, and when I try to install a ROM, via odin, the error is
-- Copying media files...
E:failed to mount /sdcard (File exists)
E:copy_dbdata_media:can't mount /sdcard
your storage not prepared yet. please use UI menu
for format and reboot actions
meida files copy failed.
-- Wiping data...
Formatting /data...
E:format_volume: rfs format failed on /dev/block/mmcblk0p2
Formatting /dbdata...
Formatting /cache...
Deleting Meta Data
Data wipe failed.
As a temporary solution I have the micro SD card with two partitions, on which I installed a JVU rom via Odin, which would not work without a custom kernel that makes the swap from the internal SD to the external one. In this case, the kernel (found after a lot of browsing on xda threads) is stock, without a custom recovery, so i cannot install a custom rom from my SD card. Also, i modified the vold.fstab to recognize the memory.
The question is this: is there any modified kernel to do the swap, and to have a custom recovery included so I could install any custom ROM?
the.lkn said:
The question is this: is there any modified kernel to do the swap, and to have a custom recovery included so I could install any custom ROM?
Click to expand...
Click to collapse
read this and try i9000 speedmod kernel
Check this out!You , YES! you are an " Android ". Not your phone but U.
You Must watch this documentary concerning your privacy Terms & Conditions we had agreed to, by using a PC or Smartphone
How to say Thank you? If you find any post helpful on XDA, please click on the Thanks button
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If you are using XDA App or Tapatalk, long press on the post and select :good: Thanks Its easier to give "Feedback" in this manner than make an additional post.​
I have already tried, without any success, thanks for the tip though.

[CM11 for Cooperve5830i][BOOT Image] - Using the SD card for Data partition

Using the SD card for Data partition
I was very happy to find that great work has been done to bring CM11 to the Galaxy Ace s5830i.
Thanks to all those involved!
After installing it I found that although CM11 is awesome the Galaxy Ace is crippled by the lack of internal storage.
To fix this I created a boot.img that is a repackage of the boot image that ships CM11.0.0 RC12.
This boot image tries to mount the second partition of the SD card on mount point /Data
Hopefully this work may be useful to others.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Note: I do not have the credit to post this on the dev board.
Instructions:
1. Backup the phone (all data etc).
2. Configure a SD card with two partitions (see below) and insert it into the phone.
3. Use CWM to get CM11 installed and running (CM11 RC 12 or later) see the XDA forums.
4. Using CWM flash the modified boot image (cm-11-RC12-cooperve-boot_img-sd_data_ext2.zip).
The SD card must be configured to contain two formatted partitions:
1. Partition one should be a FAT32 partition.
2. Partition two must consist of a EXT2 formatted partition.
The first partition will be used in the traditional way and the second partition will be used as the data partition. I use a 32GB sd-card with the first partition (fat32) sized to 24GB and the second (ext2) sized to 8GB.
NOTE:
1. Use at own risk, this may damage your phone and eat your data!
2. If you have data on the original /Data folder you will need to take steps to copy it to the new folder if you want to keep it.
2. The SD card must never be removed while the phone is on.
3. The SD card must always be in the phone when it is on.
4. The recovery CWM will not backup the new Data partition on the SD card, it will backup the original Data partition.
5. If you update the boot image i.e. flashing a new version of CM11 sd-card Data partition will not be used. Reinstalling the modified boot image should fix this (untested).
6. I am not the first to discover this method of using the sd-card to store data.
Attachments:
Modified boot image CWM flashable: cm-11-RC12-cooperve-boot_img-sd_data_ext2.zip
Diffs of changes to the original CM11 RC12 ramdisk.
This solution could be implemented in cm11 in that defy solution was implemented in direct rom cm11. I wonder if someone used this solution in cm11.
Enviado de meu MI 2SC usando Tapatalk
Thanks it worked
I used ext3
Sent from my Nexus 7 using XDA Free mobile app

Categories

Resources