Welcome guys, with this short guide you'll be able to wipe any number of SD-EXT partitions with the help of a powerful feature inside TWRP recovery. Furthermore you'll get always fresh ext4 partitions without journal in just one shot.
TOOLS
1. MiniTool Partition Wizard (Google it if you don't have it already installed).
2. TWRP recovery 2.3.6.0 for Pico (click here).
INSTRUCTIONS
1. Get your ext4 partions done with MiniTool Partition Wizard. You can see here a very good guide.
2. Insert your SD card into Pico and boot into TWRP recovery.
3. Once inside TWRP, click MOUNT button. Check that SD-Ext is not selected (unmounted), otherwise you could damage your partition.
{
"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"
}
4. Go back to start screen and tap ADVANCED button then TERMINAL COMMAND button. Check that it is in Root folder (/). Tap SELECT button.
5. Write the folowing inside the command window and press enter.
Code:
mke2fs -t ext4 -O ^has_journal /dev/block/mmcblk0p2
6. Repeat the process if you have more sd-ext partitions, you just have to edit the last number in the command line and press enter (for 2 sd-ext partitions mmcblk0p2 is first partition and mmcblk0p3 is second partition).
7. Now you have fresh formated ext4 partitions and without journal for maximum speed. Now flash your favorite ROM that supports multiple sd-ext partitions and ENJOY!
8. Repeat this process (from number 3) whenever you'll flash a new ROM. I hope one day TWRP incorporates multiple SD-ext partitions handling.
SPECIAL THANKS
@#define for porting awesome TWRP recovery to Pico.
@Dees_Troy and TeamWin project members for making the best Recovery out there.
@cute_prince for his great idea of multiple sd-ext partitions and OC for Pico.
you could also try using the Aroma File Manager for shell access
http://forum.xda-developers.com/showpost.php?p=42928510&postcount=1 I have to follow the whole procedure or only PART 1 : Preparing The SDcard . I already have Single SD-EXT partition.
droidbot678 said:
http://forum.xda-developers.com/showpost.php?p=42928510&postcount=1 I have to follow the whole procedure or only PART 1 : Preparing The SDcard . I already have Single SD-EXT partition.
Click to expand...
Click to collapse
Just the part related to creating the partitions! One sd-ext can be created with any recovery. For more than one we need MiniTool.
thewisenerd said:
you could also try using the Aroma File Manager for shell access
Click to expand...
Click to collapse
But the good thing is TWRP has it all!
cornholio_rules said:
Just the part related to creating the partitions! One sd-ext can be created with any recovery. For more than one we need MiniTool.
Click to expand...
Click to collapse
Thanks, btw in that guide (http://s11.postimg.org/yjknyd51v/image.png) SD-DATA and SD-CACHE were done. And Amal said that partition should be SD-SYSTEM , SD- DATA. I'm confused here.. PFA of my sdcard partition!
droidbot678 said:
Thanks, btw in that guide (http://s11.postimg.org/yjknyd51v/image.png) SD-DATA and SD-CACHE were done. And Amal said that partition should be SD-SYSTEM , SD- DATA. I'm confused here.. PFA of my sdcard partition!
Click to expand...
Click to collapse
Don't worry, names doesn't matter, just the order. First ext4 partition from top to bottom (in MiniTool) will be mmcblk0p2 and so on.
But twrp doesn't mount sd-ext 4 from mini tool
ahmadmemon said:
But twrp doesn't mount sd-ext 4 from mini tool
Click to expand...
Click to collapse
That was like 10 years ago dude!
cornholio_rules said:
But the good thing is TWRP has it all!
Click to expand...
Click to collapse
IMO, I find it easier to type in Aroma's Terminal, even though I have TWRP
Is there any way to type the command conviently?
---------- Post added at 07:06 AM ---------- Previous post was at 06:56 AM ----------
icame to a key called kill.is it alright
?
wsdyleon said:
Is there any way to type the command conviently?
---------- Post added at 07:06 AM ---------- Previous post was at 06:56 AM ----------
icame to a key called kill.is it alright
?
Click to expand...
Click to collapse
The keyboard in TWRP is very good but tiny as everything in Pico, just tipe in carefully.
Don't touch that 'kill' button, leave the magic work. Kill is always bad!
no os found
after creating 3 ext as ext 2 ,3 n 4 ........i success fully installed rom but i found error as no os found ??? help
I have 3 ext4 partitions, created via MiniParition Tools
SD-SYSTEM ---> EXT4 ---> 500 mB is enough
SD-DTA ----> EXT4 ----> 1 GB
SD-CACHE ---> EXT4 ---> 150 MB
SD-EXT unmounted, and command "mke2fs -t ext4 -O ^has_journal /dev/block/mmcblk0p2" (last digit 3 and 4) doesn't work. But sometimes it works...
Can't understand why...?
and
Related
Less clicks less time from windows to develop on Sapphire. How ?
1 - Sapphire drivers and Android SDK are installed.
2 - Copy or unzip downloaded files in SDK tools folder.
3 - Make .bat files shorcuts.
A - Flashing phone: 32A / 32B
Phone on usb detection, SDcard mounting, update.zip file transfert, Fastboot started phone detection and boot recovery launching.
Becarefull some ROM needs 3 parts (cf. MySDcardPartition).
1 - Unzip in SDK tools folder.
2 - Saved ROM in update.zip file in SDK tools folder.
3 - Launch MyMagicFlasher_VXX.bat file.
B - SDcard Partitioner [FAT32+ext2+swap]: 32A(no tested) / 32B
Ext2 = Your choice, swap = 32/64Mo, FAT32 = SDcard size - (Ext2+Swap).
1 - Unzip in SDK tools folder.
2 - Launch MySDcardPartition_BetaXX.bat
C - Change boot picture: 32A / 32B
Fastboot started phone detection and boot picture replacing.
1 - Radio/SPL must be updated
2 - Picture must be converted, named mysplash.rgb565 et saved in SDK tools folder.
D - Recovery utilities acces: 32A / 32B
Fastboot started phone detection and boot recovery.
Select needed utility with trackball:
{
"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"
}
Thanks:
- Amon_RA for recovery boot img http://forum.xda-developers.com/showthread.php?t=530492
- SmartPhoneFrance.com users. (Particulary Christophe) http://forums.smartphonefrance.info/index.php?c=7
Do we really need yet another half ass guide? There's like 4 really good ones on the first 2 pages already.
Clinton
No guide (easy to make mistakes)... It's Utilities (just easy)...
i tried the SD partition... but it didnt work....
do i need something else to make it work ???
i checked that the phone was connected via ADB and it was...
when i ran the file it gave me alot of errors and my phone restarted...
what did i do wrong ???
Why don't you just use the recovery utility in E to create Fat32+ext2+swap. Remember to backup your SD card before formatting.
dk_iceman said:
i tried the SD partition... but it didnt work....
do i need something else to make it work ???
i checked that the phone was connected via ADB and it was...
when i ran the file it gave me alot of errors and my phone restarted...
what did i do wrong ???
Click to expand...
Click to collapse
Soory, 2 files were missed, it must work better now
rumon said:
Why don't you just use the recovery utility in E to create Fat32+ext2+swap. Remember to backup your SD card before formatting.
Click to expand...
Click to collapse
With my tool you don't have to reboot in fastboot mode.
Nice collection of batch scripts, maybe make it more "smart" because not everyone has an 8GB SD
Carthaison said:
Thanks:
- Amon_RA for recovery boot img http://forum.xda-developers.com/showthread.php?t=530492
- SmartPhoneFrance.com users. (Particulary Christophe) http://forums.smartphonefrance.info/index.php?c=7
Click to expand...
Click to collapse
Thanks ... for the Thanks
Thanks, may give this a whirl as I can't get the one in Amon's recovery to work
Carthaison said:
B - SDcard Partitioner [FAT32+ext2+swap]: 32A(no tested) / 32B
Ext2 = 800Mo, swap = 32Mo, FAT32 = SDcard size - 832Mo.
1 - Unzip in SDK tools folder.
2 - Launch MySDcardPartition_Beta02.bat
Click to expand...
Click to collapse
Roy_Drage said:
Thanks, may give this a whirl as I can't get the one in Amon's recovery to work
Click to expand...
Click to collapse
If an item in my recovery throws an error it will always tell you to manually run the script or binary from adb. Check out this nice tutorial if you plan to partition your sd-card. The parted binary is included in my recovery...
Amon_RA said:
If an item in my recovery throws an error it will always tell you to manually run the script or binary from adb. Check out this nice tutorial if you plan to partition your sd-card. The parted binary is included in my recovery...
Click to expand...
Click to collapse
It didn't give out an error mate, it said it comepleted the partition but when I went back into windows and looked at the 'removeable drive' it still had it labelled as FAT32.
Is that normal, I thought it would of changed to show it was in 3 partitions or something
Roy_Drage said:
It didn't give out an error mate, it said it comepleted the partition but when I went back into windows and looked at the 'removeable drive' it still had it labelled as FAT32.
Is that normal, I thought it would of changed to show it was in 3 partitions or something
Click to expand...
Click to collapse
Euhm... Linux partitions will never show on a default Windows
Are you sure you know what you're doing?
Amon_RA said:
Euhm... Linux partitions will never show on a default Windows
Are you sure you know what you're doing?
Click to expand...
Click to collapse
Nope, not a clue.
I just assumed we could enter your recovery on the phone as normal, as if i was going to flash a new rom, click on format sd card option: the one with 3 partitions. Then it would do it automatically from the phone.
I mean when I did click it, it went through the formatting sd card loading bit and then it said it was complete.
Am I wrong to assume this is the correct procedure?
Roy_Drage said:
Nope, not a clue.
I just assumed we could enter your recovery on the phone as normal, as if i was going to flash a new rom, click on format sd card option: the one with 3 partitions. Then it would do it automatically from the phone.
I mean when I did click it, it went through the formatting sd card loading bit and then it said it was complete.
Am I wrong to assume this is the correct procedure?
Click to expand...
Click to collapse
Yes, if it said complete the partitioning went fine...
You'll only need 3 partitions if you are going to play with apps2sd, cache, swap etc...
I think we should stop hijacking this thread now.
Amon_RA said:
Nice collection of batch scripts, maybe make it more "smart" because not everyone has an 8GB SD
Click to expand...
Click to collapse
It work for upper than 832Mo SDcards i'm going to change sentences in the batch.
[edit]Done since Beta03... Upper issues will allow ext2 and swap size changing[/edit]
Thanks for sharing Carthaison! Will surely try your tool for partitions.
2009/08/16 Update:
MySDcardPartition last Beta04 version, choice possible for Swap and Ext2 size.
Enjoy
Some problems with Beta04 fixed in Beta05.
Swapoff adding in Beta06 for already swapped SDcard in order to don't have any warning on swap part acces.
If problem persist thanks to inform me in order to apply Partition in two steps:
1 - Existant partittions deletion
2 - Reboot and new partitions creation.
CWM is finally here on I9003 for XXKPE
HOW TO:
- Install the latest CWM with EXT4 support;
- do a full backup with nandroid;
- install the attached script (DO NOT REBOOT AFTER THIS STEP);
- restore backup.
IMPORTANT: Read this topic on Edify scripting used on update.zip. The partitions must be mounted before copying files:
Code:
run_program("/sbin/busybox", "mount", "-t", "auto", "/dev/block/stl9", "/system");
Flashing Zip Files:
If in the updater-script there isn't the "mount /system" option you must - before apply the zip - mount manually /system under "Mount and Storage" menu and then flash your zip.
Feature:
- Added EXT4 filesystem support for the kernel;
- CWM with double RFS / EXT4 filesystem support;
- Busybox;
- Juwe11's RamScript from http://forum.xda-developers.com/showthread.php?t=1111145 ;
THANKS:
A big Thanks to the Skin1980 (this CWM is heavily based on it's project).
Thanks also to koush that made the Clockworkmode Recovery.
Attached you will find the CWM for each FW... just flash with ODIN selecting in the PDA source the CWM file.
UPDATE: 08/02/2011 Added the support for Juwe11's RamScript
Just press "Thanks" if you like my work...!!!
So this is it! Thanks X 2 mate! I'm installing the converter immediately
@OP: Thanks, does this support init.d script, so I can use a script like juwe's ram script?
Root issue!
The same as Skin's first version of ext4 converter :
The installation was completed, but when I come back to CWM main menu, recovery writes :
E:Can't mount /cache/command
E:Can't mount /cache/recovery/log
E:Can't open /cache/recovery/log
E:Can't mount /cache/recovery/last_log
E:Can't open /cache/recovery/last_log
And when I reboot, it's stucking to the boot screen ("Galaxy S Super Clean LCD")
@pralinos: at work now, can't try it, but did you mean it got stuck at boot screen after you tried to root or even before it? I haven't root my phone and only want to do an ext4 conversion.
Pralinos said:
The same as Skin's first version of ext4 converter :
The installation was completed, but when I come back to CWM main menu, recovery writes :
E:Can't mount /cache/command
E:Can't mount /cache/recovery/log
E:Can't open /cache/recovery/log
E:Can't mount /cache/recovery/last_log
E:Can't open /cache/recovery/last_log
And when I reboot, it's stucking to the boot screen ("Galaxy S Super Clean LCD")
Click to expand...
Click to collapse
After the third step (in the instructions), do not reboot the phone.
Updated the instructions for the same.
Let me know how it goes.
bigeyes0x0 said:
@pralinos: at work now, can't try it, but did you mean it got stuck at boot screen after you tried to root or even before it? I haven't root my phone and only want to do an ext4 conversion.
Click to expand...
Click to collapse
My phone was rooted before I applyed the ext4-format.zip. You need root access to use CWM.
amit.bagaria said:
After the third step (in the instructions), do not reboot the phone.
Updated the instructions for the same.
Let me know how it goes.
Click to expand...
Click to collapse
It doesn't work :
Checking MD sums...
Restoring system...
Error mounting /system
Skipping format...
Can't open /system
I think I lost root access just after I applyed the zip, because the error messages appeared as soon as I came back to CWM main menu.
@amit, I have just flashed XXKPE with CWM as per these posts, http://forum.xda-developers.com/show...6#post16169086 and http://forum.xda-developers.com/show...&postcount=537.
Now if I want to convert to Ext4 (Internal memory or internal SD card or both??), I believe I have to flash the files in this thread? Will I lost all my apps and data?
Amit, the same happened to Skin when he first released ext-format.zip for Froyo.
See http://forum.xda-developers.com/showthread.php?t=1151704&page=53
You musn't be far from succeeding.
Pralinos said:
Amit, the same happened to Skin when he first released ext-format.zip for Froyo.
See http://forum.xda-developers.com/showthread.php?t=1151704&page=53
You musn't be far from succeeding.
Click to expand...
Click to collapse
There is nothing wrong in the version I posted. Basically if you have rebooted the phone after running ext4 conversion update script, then it won't work. You would need to reflash the vanilla XXKBE and then perform the steps listed in the instruction (Obviously skipping the 2nd step, since I assume, you would have already done nandroid backup )
@amit: how high did the i/o quadrant scored? Gonna try this later
Sent from my GT-I9003 using XDA Premium App
ok i copied the ext4-format.zip in my sdcard n booted to cwm recovery
now i select install zip from sdcard>choose zip from sdcard.but i cant see the ext4-format.zip.
am i doing something wrong.would appreciate a more detailed explanation on what to do.
jit_devil2 said:
ok i copied the ext4-format.zip in my sdcard n booted to cwm recovery
now i select install zip from sdcard>choose zip from sdcard.but i cant see the ext4-format.zip.
am i doing something wrong.would appreciate a more detailed explanation on what to do.
Click to expand...
Click to collapse
For CWM sdcard = External SD Card
Copy again to external SD card and give it a shot
whats this ext4-format?
Quadrant Scores
{
"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"
}
amit.bagaria said:
Click to expand...
Click to collapse
Great.! Do u have advanced quadrant? It's more detailed
Sent from my GT-I9003 using XDA Premium App
@amit... how to check above ss & whats d ext4 support?
soodgautam said:
For CWM sdcard = External SD Card
Copy again to external SD card and give it a shot
Click to expand...
Click to collapse
thnks trying it now
it works perfectly 2156 in quadrant.
awesome work.now waiting for ram script
ClockworkMod Recovery 5.0.2.8 unofficial port for Vimicro vc088x based tablets v1.1 beta by mikeNG a.k.a mikeioannina
Info:
ClockworkMod Recovery is the default recovery option by the CyanogenMod, it has several additional features over plain 3e recovery and uses Edify scripting exclusively.
CyanogenMod said:
Amend scripting (update-script) is no longer supported
Amend scripting was deprecated by Google in Android 1.5.
It was necessary to remove it when upgrading to the ClockworkMod 3.0 Gingerbread based recovery.
Please switch to Edify scripting (updater-script and update-binary) to create working update zip packages.
Click to expand...
Click to collapse
More info about creating your own update-scripts is here.
Disclaimer:
This is still experimental.
I AM NOT RESPONSIBLE FOR WHATEVER HAPPENS TO YOUR TABLET!
Some options might not work correctly and you might brick your tablet and/or lose your personal data!
Features:
ADB root shell in recovery
Options:
Reboot system now
Apply update from sdcard
Wipe data / factory reset
Wipe cache partition
Install zip from sdcard
----Choose zip from sdcard
----Apply /sdcard/update.zip
----Toggle signature verification
----Toggle script asserts
----Choose zip from internal sdcard
Backup and restore
----Backup
----Restore
----Advanced restore
Mounts and storage
----Mount / unmount /sdcard
----Mount / unmount /emmc
----Mount / unmount /system
----Mount / unmount /data
----Mount / unmount /cache
----Format /sdcard
----Format /emmc
----Format /system
----Format /data
----Format /cache
----Mount USB storage
Advanced
----Reboot recovery
----Wipe Dalvik Cache
----Wipe Battery Stats
----Report Error
----Key Test
----Partition SD Card
--------Ext Size
--------Swap Size (Set this to 0)
--------Rest Size (vfat)
----Fix permissions
Power off
Requirements:
Basic skills in using adb or terminal emulator.
Installation:
It is recommended to do a clean install with this FlashTool first, then install the recovery image, so there is no problem with the sizes of the partitions of the internal sd.
1. Unzip the file you downloaded, you will get recovery.img
2. Copy recovery.img in your sdcard
3. Now type the following command in adb shell or in Terminal emulator:
Code:
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p3
4. It will show a message after a while, it means it's completed
Usage:
1. Turn off the device
2. Turn on the device
3. When the boot logo appears, press immediately the menu button and hold it down for 3sec approximately.
Working:
Not everything is tested yet. You are the testers for the most of the things. I've tried a backup & restore, it worked. Also tried installing a modified kernel image, it worked too.
Known bugs:
Some errors about /cache are displayed when you boot, factory reset or wipe cache. They stop if you go every time under "mounts and storage" and you mount the cache partition.
Download links:
v1.1 beta for Haipad M8 1GB version
Screenshot:
{
"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"
}
Credits:
koush: for making this wonderful recovery
Cyanogen: for all the support for android
ilarrain & teamhacksung: the fixes for the 32bit framebuffer problems
Changelog:
24-11-2011 / ClockworkMod Recovery 5.0.2.6 v1.0a
- Initial port for the M8
- Removed multiple "No" prompts in confirm dialogs
- Fixed screen update bug
25-4-2012 / ClockworkMod Recovery 5.0.2.8 v1.1b
- Ported latest CM7 Recovery
- Fixed 32bit framebuffer (multiple screens) problem. Now the image is perfect
- Capitalized first letter of all menus in the recovery
- Changed the color from default orange to default ICS blue on the menus
To Do:
- Add support for more vc088x based tablets
is this still working?
Terramoto said:
is this still working?
Click to expand...
Click to collapse
Yes but I lost the sources so I can't build anything new
how did you unpack that recovery img i am trying to make a CWM for my penta is703c tab same as haipad m8
but it dosnt work .....................i cam boot into CWM recovery but i cant read any of the options stated there.........
ss429842 said:
how did you unpack that recovery img i am trying to make a CWM for my penta is703c tab same as haipad m8
but it dosnt work .....................i cam boot into CWM recovery but i cant read any of the options stated there.........
Click to expand...
Click to collapse
I didn't unpack the image, I compiled from source. Unfortunately I lost the modified sources so I can't help you :/
hello every body ....
I am using creed`s rom v 4 which is nice rom .....
but I need to use a2sd on it .....
any help ....
I don't know what is wrong.
I flash the script then install apk.
Certainly I have ext. ..
Why this ****ing message appairs please help. ..
{
"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"
}
Sent from my GT-S5670 using xda premium
eslam hassan said:
I don't know what is wrong.
I flash the script then install apk.
Certainly I have ext. ..
Why this ****ing message appairs please help. ..
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1342387
u tried this ????
which error , i can't see the screenshot
No bro no need to install anything ,,, just follow that
dk_zero-cool said:
Mounts2SD - An All-in-one to sd-ext script
Mounts2SD is a customizable sd-ext control script that can be used to move content to and from the second sdcard partition known in Android as sd-ext. These scripts comes in many variants with different purposes. Mounts2SD has most of these, and more, build into one single script with controls to set it up after most needs.
Features
Graphical installer with configuration options and auto deletion of almost any existing app2sd script
Control script to manage configuration from shell
SWAP Support
Link Apps from data as system apps
Move Apps to sd-ext
Move Dalvik-cache to sd-ext
Move Apps Data to sd-ext
Move system linked apps to sd-ext
Move Cache to a tmpfs (With auto control)
Internal nand and sdcard readahead optimization
Handles slow sdcards that takes time to initiate
Checks filesystems for errors on boot using e2fsck
Let's you use whatever linux filesystem supported by kernel
Able to revert any prev. options
Fix permissions
Internal/External storage optimization
Fix CyanogenMod dalvik to /cache
Revert the sd-ext/data partitions so that sd-ext becomes the new /data
Android Market 'Not enough space' fix
Checks available free space before moving content
How to install
Note that you need to have a custom ROM installed which supports init.d scripts.
Download the ZIP file in the download section
Copy the ZIP file to your phones SD-Card
Boot you phone into recovery
Make sure that recovery does not check ZIP's signature as the ZIP is not signed
Choose to install ZIP from SD-Card
Select the ZIP file you copied to the SD-Card and fallow the installation process
After installation, you can change any settings you choose during install, by using the shell command 'm2sd from an adb shell or a terminal app on your phone. You can type 'm2sd help' in the shell to get a list of available options and values.
You can also read more about the different option below.
Partition table
Required partition table
/sdcard (Fat32)
/sd-ext
SWAP (Optional)
Safe Mode
As of version 2.2.0, m2sd has a safe-mode state. This is an automatic state that is used when the script can't detect a correct sysinit method. The correct way to execute init.d, is to add "exec /system/bin/sysinit" to the init.rc file and of cause create the script sysinit that will execute init.d
The old way is to create a service for init.d in init.rc.
The problem with the service is that it is executed while the rest of the boot process is working. This means that moving things like /data/data and /data/dalvik-cache will create problems, because the system will keep trying to rebuild the moved content to it's original path while m2sd is moving it.
The sysinit script executed with the exec command however, will stall the boot process until all of the init.d scripts has been executed. That means that m2sd can move the content and bind the original path to the sd-ext path before the system starts it's work.
The Safe mode state will disable dalvik and data no mater what the config says to avoid these problems. So if your ROM runs m2sd in safe-mode, write to the ROM dev's and ask them to include the more correct way of handling init.d
(Can be disabled using "m2sd safemode disable")
System Apps
By default Android has two app directories in the data partition (/data/app & /data/app-private). Mounts2SD provides a third directory (/data/app-system). Every app placed in this directory will be automatically linked to the /system/app folder, making android believe that it is a system app. Some apps needs this in order to provide additional options. By using /data/app-system, you can achieve this from any file manager without giving write access to the system partition and without taking up two much space on that partition.
Links will be automatically removed again once an app is removed from /data/app-system
Configuration options
Apps - m2sd apps
Dalvik Cache - m2sd dalvik
Data - m2sd data
Cache - m2sd cache
Download Cache - m2sd dlcache
File System Type - m2sd extfs
Readahead - m2sd readahead
Noatime - m2sd noatime
CM Dalvik - m2sd cmdalvik
R-Mount - m2sd rmount
Downloads
4.6.2 Aroma Installer [mounts2sd-4.6.2_aroma.zip] (Jul 14, 2012) (MD5: 602622bc20d212c87ac2f0ba8bf0d45f)
[Default Mirror] SourceForge.net
[Default Mirror] MediaFire.com
This will provide you with the graphical installer Aroma.
-------------------------------------------------[/CODE]
Click to expand...
Click to collapse
I used the one with aroma installer it worked
Sent from my GT-S5670 using xda premium
Hi,
My Phone restart itself several times and the sdsard0 partition is damage,
I didn'y backup my photos, are there any way to get back the photos?
My phone is stock, locked, non root, 4.4.4 KTU84P.
{
"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"
}
IMEI is also losted But the photos is the most important in this stage
Google auto back up wasn't turned on?
Sent from my Nexus 5 using XDA Free mobile app
Only synced Contacts , Chrome and app data
Really nothing can do?
Looks like ya may have to format the card in windows and hope it restores. Im gonna add that your photos and more than likely gone. I have all my photos auto back up to google and Dropbox daily. If ya manage to fix it, I'd definitely look into a service to back your stuff up.
Sent from my Nexus 5 using XDA Free mobile app
OP, not sure if you'll be able to access your data after this, but can't hurt to try: check general section for a how-to fix a corrupted /data partition.
still not working
Method1:
~ # [6ne2fsck /dev/block/platform/msm_sdcc.1/by-name/userdata
e2fsck /dev/block/platform/msm_sdcc.1/by-name/userdata
e2fsck 1.42.9 (28-Dec-2013)
/dev/block/platform/msm_sdcc.1/by-name/userdata is in use.
e2fsck: Cannot continue, aborting.
--------------------------------------------------------------------------------------------------------------------------
Method2:
[GUIDE] to fix persist partition
Result :
This looks bad, worst case you need to flash a factory image in order to at least restore the IMEI.
If you´re brave enough, try to boot from eg. Gparted Live ( look it up on the web ) and try to restore the file system with this partition tool. Maybe your device can be identified again as a Nexus 5. But be warned, I would try this method as the last resort only since there is a risk involved of losing your partition table.
Only try this if fastboot and all other methods fail.
nat510 said:
still not working
Method1:
~ # [6ne2fsck /dev/block/platform/msm_sdcc.1/by-name/userdata
e2fsck /dev/block/platform/msm_sdcc.1/by-name/userdata
e2fsck 1.42.9 (28-Dec-2013)
/dev/block/platform/msm_sdcc.1/by-name/userdata is in use.
e2fsck: Cannot continue, aborting.
--------------------------------------------------------------------------------------------------------------------------
Method2:
[GUIDE] to fix persist partition
Result :
Click to expand...
Click to collapse
when trying to fix /data, was it mounted? if it was, you might need to unmount it first.
also, that last error when flashing factory images... not a good omen
flash a cwm recovey
connect phone to your pc
open cmd
type adb shell
type parted /dev/block/mmcblk0
type print
post the screenshot of the output
beekay201 said:
when trying to fix /data, was it mounted? if it was, you might need to unmount it first.
also, that last error when flashing factory images... not a good omen
Click to expand...
Click to collapse
Oops, I forgot...
But still not working
bitdomo said:
flash a cwm recovey
connect phone to your pc
open cmd
type adb shell
type parted /dev/block/mmcblk0
type print
post the screenshot of the output
Click to expand...
Click to collapse
and
nat510 said:
and
Click to expand...
Click to collapse
On the first picture you are not the root.
The prompt on the second picture looks like you have twrp and not cwm. twrp does not have parted included.
Also in your previous posts I saw you were using the wrong commands to flash lollipop 5.1.1.
You used fastboot flash update -w hammerhead.......zip which is wrong. That command wipes /data and /cache then tries to flash hammerhead.......zip to the "update" partition and it fails there. There is no update partition.
The correct command is fastboot -w update hammerhead....zip, but it would be better if your run the flash-all.bat as it will flash the bootloader and the modem too.
bitdomo said:
On the first picture you are not the root.
The prompt on the second picture looks like you have twrp and not cwm. twrp does not have parted included.
Also in your previous posts I saw you were using the wrong commands to flash lollipop 5.1.1.
You used fastboot flash update -w hammerhead.......zip which is wrong. That command wipes /data and /cache then tries to flash hammerhead.......zip to the "update" partition and it fails there. There is no update partition.
The correct command is fastboot -w update hammerhead....zip, but it would be better if your run the flash-all.bat as it will flash the bootloader and the modem too.
Click to expand...
Click to collapse
O......low level mistake.
The partition problem seems to be fixed:good: