[Q] sd-ext Mounting problem in galaxy fit - Samsung Galaxy Fit GT 5670

HELP!!!! Link2SD not mounting Sd-ext partition
every time while opening this app it asks for type of partition I'm using and then asks for reboot
I chose ext3 as I'm using teejay's CWM
I even check the type of partition using Minitool and it says ext3 and primary
why Link2Sd not mounting sd-ext then?? plz Help
I'm using chocobread 3.2
And as it already has S2E so before doing all this I had uninstalled S2E using root explorer method.
I selected 512mb size
swap size= 0mb
I'm using verbatim class 4 sd card(4 GB)
I followed these steps to partition SD card and Setting up Link2SD by A.cid given in thread
http://forum.xda-developers.com/showthread.php?p=27132543#post27132543
Q) How to create a sd partition?
A) You will need
• A good micro sd-card, with a class greater than 4
(the class is usually printed on the card itself, it’s the number inside the letter ‘C’)
• A rooted galaxy fit running android 2.3.x (preferably on a stock rom), with ClockworkMod recovery
Steps:
• Backup all your data.
• Reboot into CWM.
• Go under “advanced”>”partition sd card”.
• Select the size of your second partition (On my first try, I made a partition of 1024MB but found it too big with a lot of space unused, so I deleted the partition and made a new one of 512MB)
This is your choice, choose one depending on the total size of your card, the no. of apps/games you’ll have etc.
• After selecting that, select swap size as 0MB (This one also is your choice, but I’ll explain why to take 0MB, and not anything else)
• Now wait till the process is completed, and reboot.
As far as I know, CWM v5 makes a partition of EXT3 format.
Q) Why to select swap size as 0MB?
A) Swap partition is made with the objective of utilizing it as VIRTUAL RAM. Now this may sound as a good thing, but in reality the ram in our fit is way faster than the average class 10 micro sd-card. So, instead of speeding up your system, it will slow down your system horribly after a certain point.
So, in short, you shouldn’t be using a swap partition, hence there is no point in creating one if you are not utilizing it.
Steps to setup Link2sd:
• Download Link2sd from Play Store (it’s a free app).
• After it gets installed, run it, and allow root access.
• You will get a message to select the format of your sd partition, select “ext3”.
• Link2sd will then automatically create mount scripts that it requires to work, and will then tell you to reboot your phone.
• Do a proper reboot, and not a ‘hot reboot’.
• After rebooting, open up Link2sd, press menu then select “settings”.
• Select/check the options “automatically link newly installed applications to sd”, “auto link notification”, “relink lib files at boot” (and “fast scroll”, if you want).
• For “install location” option, select “internal”.
• Then go to “auto link settings” and select/check all the three options (you can skip/ unselect “link dalvik-cache file” if you wish)
• Done
Now, every new app that you will install will automatically be moved to your sd ext partition.[/INDENT]

Nikhil_G said:
HELP!!!! Link2SD not mounting Sd-ext partition
every time while opening this app it asks for type of partition I'm using and then asks for reboot
I chose ext3 as I'm using teejay's CWM
I even check the type of partition using Minitool and it says ext3 and primary
why Link2Sd not mounting sd-ext then?? plz Help
I'm using chocobread 3.2
And as it already has S2E so before doing all this I had uninstalled S2E using root explorer method.
I selected 512mb size
swap size= 0mb
I'm using verbatim class 4 sd card(4 GB)
I followed these steps to partition SD card and Setting up Link2SD by A.cid given in thread
http://forum.xda-developers.com/showthread.php?p=27132543#post27132543
Q) How to create a sd partition?
A) You will need
• A good micro sd-card, with a class greater than 4
(the class is usually printed on the card itself, it’s the number inside the letter ‘C’)
• A rooted galaxy fit running android 2.3.x (preferably on a stock rom), with ClockworkMod recovery
Steps:
• Backup all your data.
• Reboot into CWM.
• Go under “advanced”>”partition sd card”.
• Select the size of your second partition (On my first try, I made a partition of 1024MB but found it too big with a lot of space unused, so I deleted the partition and made a new one of 512MB)
This is your choice, choose one depending on the total size of your card, the no. of apps/games you’ll have etc.
• After selecting that, select swap size as 0MB (This one also is your choice, but I’ll explain why to take 0MB, and not anything else)
• Now wait till the process is completed, and reboot.
As far as I know, CWM v5 makes a partition of EXT3 format.
Q) Why to select swap size as 0MB?
A) Swap partition is made with the objective of utilizing it as VIRTUAL RAM. Now this may sound as a good thing, but in reality the ram in our fit is way faster than the average class 10 micro sd-card. So, instead of speeding up your system, it will slow down your system horribly after a certain point.
So, in short, you shouldn’t be using a swap partition, hence there is no point in creating one if you are not utilizing it.
Steps to setup Link2sd:
• Download Link2sd from Play Store (it’s a free app).
• After it gets installed, run it, and allow root access.
• You will get a message to select the format of your sd partition, select “ext3”.
• Link2sd will then automatically create mount scripts that it requires to work, and will then tell you to reboot your phone.
• Do a proper reboot, and not a ‘hot reboot’.
• After rebooting, open up Link2sd, press menu then select “settings”.
• Select/check the options “automatically link newly installed applications to sd”, “auto link notification”, “relink lib files at boot” (and “fast scroll”, if you want).
• For “install location” option, select “internal”.
• Then go to “auto link settings” and select/check all the three options (you can skip/ unselect “link dalvik-cache file” if you wish)
• Done
Now, every new app that you will install will automatically be moved to your sd ext partition.[/INDENT]
Click to expand...
Click to collapse
Same prob.

Can anyone help with link2sd on galaxy fit plz...
Sent from my GT-S5670 using xda premium

try different ext

Try ext4, it will surely work..
I had same prob on some roms..
"Bt nxt tym you flash anything through recovery you may have to mount ext4 again... "-nt pretty sure about this though..
Sent from my GT-S5670 using XDA

Nikhil_G said:
Can anyone help with link2sd on galaxy fit plz...
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
You didnt try the stuff I had replied about in my thread?
Sent from my GT-S5670

link2sd not working
try to format the sd card with MiniTool Partition Wizard Home Edition and make last partition as primary and Ext4.

problem that i can't see available memory..
I can't see the available memory , I mean i have partitioned 1024mb..but wen i see in the task manager it just shows 180mb..

pardasanichirag2 said:
I can't see the available memory , I mean i have partitioned 1024mb..but wen i see in the task manager it just shows 180mb..
Click to expand...
Click to collapse
That's normal, the task manager just displays the internal memory of the phone, I'm using S2E with Official Cyanogenmod and it works fine.

pardasanichirag2 said:
I can't see the available memory , I mean i have partitioned 1024mb..but wen i see in the task manager it just shows 180mb..
Click to expand...
Click to collapse
Use titanium backup or sd maid , these apps could show the size of your ext4 partition
Sent from my GT-S5670 using xda premium

you can mount your ext partition from cwm recovery - mount and storage - mount sd ext and reboot ...then in link2sd go in storage info you can see the sizes of partitions
Cheers
Sent from my GT-S5670 using xda premium

Related

Dalvik cache

Hello
I wanted to know what actually dalvik cache is and if i clear dalvik the phone gets into startup splash screen loop mode
Also people flashed creed's rom V2.0 I have question is dalvik cache on sd-ext working or not
Sent from my GT-S5670 using XDA-PREMIUM
Creed's V2.0
http://stackoverflow.com/questions/7541281/what-is-dalivik-and-dalvik-cache
http://androidforums.com/eris-all-things-root/76110-what-dalvik-cache.html
Also, moving Dalvik Cache to sd-ext should work for all ROMs using App2SD GUI by darktremor.
But some people said that in creed's rom if they move their phone gets into loop mode
Sent from my GT-S5670 using XDA Premium App
they might be doing something incorrectly?
it's been successful for me always...
tried it on razodroid, andro-id and fitdroid.
Aspire said:
they might be doing something incorrectly?
it's been successful for me always...
tried it on razodroid, andro-id and fitdroid.
Click to expand...
Click to collapse
But in creeds v2.... u cant.... its a bug....
The dalvik cache is moved to sd card ext
when i frist moved through appp2sd gui the mobile got stuck on bootanimation so i went in recovery and reflashed the creed's rom without data reset and the cache was moved to sd card ext dont know why i had to reflash but it worked at last
the problem is now is that i cant activate swapper dont know why it not getting activated
you made a SWAP partition?
Lucas Leopoldino said:
Enter Recovery Mode by holding POWER + HOME;
With the Volume Down key (-) and High Volume (+) and navigate to the HOME key Select "advanced";
Select "partition SD Card"
In the next window you should choose the partition size.
If you have a 2GB card to advise you put 512mb 1024mb,
If you have a card with 4GB or 8GB advise putting 2048mb.
And finally select the size of the swap partition for extra memory.
If you have an urge to put 2gb card 128mb,
If you have a card with 4GB or 8GB advise putting 256mb.
enter the Market and install the program Links2SD
to open the program you should choose ext3 and press ok> then superuser permission> and after that restart your phone.
Now press the Options button to display the sub-menu of the program
Made this to take and check the settings, and automatically link-site check in'' automatically''.
Now press the Options button to display the sub-menu of the program.
Made this to take and check the settings, and automatically link-site check in'' automatically''.
Return to initial screen of the program, press the Options button to display the sub-menu and then click multiple selection, press the shutter button and select options select all, press again press the options button and click Actions, and click Create link. Press OK to start, and all your applications ready to go to memory that was created ext3.
Now we will install and configure the Swapper. Lower application, install the application by the Market, after check the Active on Boot Swap on Swap File Position sure "EXT Partition SD Card" in "Swap File Size" set a value as the size of the partition created in ext, I suggest that is a partition of 1024 put 250 if a partition of 2048 put 512 of superuser permissions and restart the phone.
Click to expand...
Click to collapse
I followed above guide and Couldnt understand the Swapper part can You help me out with it??
I think he's referring to this app
https://play.google.com/store/apps/details?id=org.azasoft.free.swapper
Aspire said:
I think he's referring to this app
https://play.google.com/store/apps/details?id=org.azasoft.free.swapper
Click to expand...
Click to collapse
Following the above application I have done things accordingly
but the internal memory is still shown as 178mb and not the 2gb that i have set any idea upon this?
what i did was a little different... first i partitioned by SD card using CWM into
SD-Ext 256 and SWAP 128
then i used app2sd gui to move dalvik cache to sdcard and now i have around 150MB free on "internal memory".
FYI I'm not using SD-Ext as internal memory. to do that you need the "memory hack"
look for that in the development section.

[Q] How to partiton sd card from CWM Recovery?

Okay, so, I want to flash hephappy's Cyanogenmod 9 (which looks amazing, btw you should check it out) which requires partitoning of the sd card. This is exactly what it says:
-Partition sdcard: swap-size: 64MB, Ext2-size: 300MB, Continue partitioning, SD:ext2 to ext3
So, I already know this means I have to move the contents of my sd card to a computer if I don't want its contents to be deleted. But anyway, how would I do this through ClockworkMod Recovery version 5.0.2.0? Also, for this ROM, is it completely necassary to paartiton my sd caard, what will happen if i don't, because I don't really need apps on my sd card.
Thanks in advance
It's not necessary
Will run perfect without it. If you want to use swap just use an app that creates a virtual swap on your sd.
Send from my phone...
Wait so your saying I don't even need to patition my sd card? Also, what does swap mean? (lol)
CWM doesn't give you option for creating a partition of 300mb,it gives either 256 or 512 mb.better use amonRA recovery or 512 mb partition.In order to partition first of all BACKUP all the data of your sd card then boot into CMW then go to advanced then partition then create partition then enter the given values of swap and memory.then wait for a while then you are done!! the memory card will be formated too so copy back the backed up files
---------- Post added at 07:47 AM ---------- Previous post was at 07:43 AM ----------
me_death said:
CWM doesn't give you option for creating a partition of 300mb,it gives either 256 or 512 mb.better use amonRA recovery or 512 mb partition.In order to partition first of all BACKUP all the data of your sd card then boot into CMW then go to advanced then partition then create partition then enter the given values of swap and memory.then wait for a while then you are done!! the memory card will be formatted too so copy back the backed up files
Click to expand...
Click to collapse
I also suggest you better use amonRA it partition is really needed then because according to above required requirements,amonRA recovery fulfills it exactly.you can partition 300mb,with swap size 64 mb and upgrade from ext2 to ext3 in that recovery.
I did this yesterday successfully... Backup ur six card data before u do this, cos it gets erased. In Cwm, go to partition sdcard, select ext size 512(doesn't matter if it's not 300) thn swap size 64. After success, reboot phone, install link2sd, run it, allow superuser access, select ext 2 wen it asks, reboot, open link2sd, goto settings, and select automatic linking.
Voila.. U are done!!
Works on my phone. Tested...
Sent from my LG-P500 using XDA
Ever heard of 4ext recovery ??
Sent from my HTC nexus one using XDA

[SOLVED] Forced Close of core (or all) apps, Internal SD removed unexpectedly...

Hi All,
I got errors mentioned in the title and after few searches, found that there are few Galaxy SL owners who had got into this issue.
Currently Known Root Cause:
A hardware issue possibly due to a board issue or loose attachment of internal SD card to the motherboard (Grrrrrrr SAMSUNG!)
Symptoms:
- Suddenly core applications like phone/messaging start force closing (sometimes all open apps). Only a reboot will solve the issue.
- Sudden reboot of the phone after few hours of running (or even sleeping)
- Sometimes the restart itself hanging with a yellow message "Unknown Upload Mode"
- Message in status bar "Internal SD card has been removed unexpectedly" or "Internal SD card not accessible" or something like "Damaged SD card"
Known Solution:
1. Replacement of board from Samsung Service Center (Good for you if you are within the warranty period)
2. Do some hardware hack to remove the internal SD completely (http://forum.xda-developers.com/showthread.php?t=1651619)
I got this issue just after I finished my warranty period, and hence, I was trying to find if I can do something about this issue by my own. What I wanted was to actually swap my internal SD storage with a proper external SD storage. This is not same as the popular "swapping the internal and external SD card" topic, but that and something more as well!! This will solve the issue of force closes and sudden reboots (may still not solve issue of reboot getting stuck, but I assume phone will not need frequent reboot after solving first 2 issues!)
Galaxy SL has 3 partitions created in the card:
1. ext3 partition for data
2. another small FAT partition - (for what? not sure)
3. Third FAT partition which acts as the normal internal SD card (which is accessible when working as USB mass storage)
Intention here is to move all the partitions to the external SD. Looking at the mount points and vold.fstab, I could not find where the 2nd partition in the above list is mounted/used (If anyone knows, please let me know). So I decided to move atleast the ext3 (data) and fat (/sdcard) to the external SD.
Following are the steps I followed for doing the same:
WARNING!!!
1. Copy these at your own risk. I am not responsible if you brick your phone or lose your data/applications/settings or if the phone goes to a boot loop!
2. Do not continue if you do not understand what is written here
3. Doing this will change the /data partition. So wiping data partition in the normal way will not work (say from CWM). You may need to do 2 steps - wipe (internal) data normally (say using CWM), wipe (external SD) data manually by disabling the script mentioned in the procedure and wiping using make_ext4fs tool (steps are given in PART 3 of this post).
4. This has been tested only on CM9 Alpha 6-11 / rooted DDLF2. Theoretically it may or may not work on other ROMs, depending on other tweaks and changes in the system, no guaranty offered!
5. In case you mess it up, most of the time (but no guarantees!), you can recover by flashing from beginning using ODIN some base versions like KPE and then come to your normal ROM, followed by a nandroid recovery (so better do a nandroid backup before you try anything .
Pre-requisites:
- Rooted Phone
- Kernel with init.d support (and preferably ext4 as well if you want that)
- Basic ADB knowledge
- A blank micro SD card with at least class 4 (class 6 or greater preferred) speed and with sufficient capacity - say 8/16/32 GB
PART 1 - PREPARING THE EXTERNAL SD
--------------------------------------------------------------------
0. !!! FIRST !!!
Do a Nandroid Backup (and also other app level backups like Titanium or MyBackup)
Backup contents of your FAT partition (mmcblk0p1) - ie, the internal SD card card
Backup contents of your external SD card
1. Download sdparted-recovery.zip from web (http://forum.cyanogenmod.com/topic/6433-solved-messed-up-partitions-on-internal-storage - check messages like 11 to see the basic usage) and extract the contents
2. Using ADB, copy the extracted files in sdparted directory into /system/bin, change permission for all of them to 755 using chmod
3. Put a clean external SD card into the phone
4. In an ADB shell, run /system/bin/parted giving mmcblk1 as the target. Now resize the existing FAT partition (this is the first and default partition in the card). Tips:
print gives the existing partition(s)
help gives help on various options
for resizing and creating partitions, inputs should be derived from the initial print output (which gave the first and last points)
Eg: If card is 16GB, and you want to reserve 4GB for data, then resize the first partition to 12GB
5. Create a new partition of type ext2 with remaining size (say 4G in our case). Save and quit parted.
7. (Do this only if your kernel supports ext3/ext4) Run "tune2fs -j /dev/block/mmcblk1p2" to convert ext2 to ext3
8. (Do this only if your kernel supports ext4) Using ADB, copy "make_ext4fs" (attached) to /system/bin
9. (Do this only if your kernel supports ext4) Convert ext3 partition to ext4 using make_ext4fs ("make_ext4fs /dev/block/mmcblk1p2")
10. Now the partitions are ready
- They will be visible as mmcblk1p1 (FAT) and mmcblk1p2 (ext4) when you cat the /proc/partitions
- They will be visible as partitions 1(FAT) and 2 (ext4) in the print output of parted.
Confirm the above before proceeding further.
PART 2 - SWAPPING EXTERNAL AND INTERNAL SD
---------------------------------------------------------------------------------
1. Write a script, say 00remnt similar to the attached sample file which currently I am using (If you do not follow the script, better don't proceed. Else check if things are fine for your current base ROM settings)
2. Push this into /etc/init.d/ using ADB
3. Change permissions of the file to 755
4. If you need, copy the contents of your internal SD card FAT partition (/sdcard) to the external SD card FAT partition (/sdcard/external_sd or /emmc)
5. Use the popular (relevant methods) to swap the internal and external FAT partitions (which actually changes the vold.fstab contents). Normal search in the forum will give you the available methods - some ROMs support it as options, others have mods which will accomplish the same
5. Reboot and enjoy
Voila!!! Now the system is not using internal SD card (for most purposes) at all!! And your phone can now run for days without abrupt force closes and reboot. You still may get a message like SD card is removed/damaged, (and /emmc or /sdcard/exteranal_sd may become inaccessible - so better use it only as a temporary storage!). But you can safely ignore these messages as that is the internal SD card which we are not using anyway... Enjoy...
PART 3 - WIPING DATA PARTITION (in case you need this step later)
-----------------------------------------------------------------------------------------------------------
1. Change permission of the 00remnt to 644
2. Reboot the phone (now the phone will come up with default internal SD partition for data)
3. From ADB shell, execute "make_ext4fs /dev/block/mmcblk1p2" (see PART 1 on how to get this tool)
4. Change permission of the 00remnt to 755
5. Reboot the phone to recovery, wipe the /data as normal
rgds,
Dipu.
PS: If any one knows how our phone uses the 2nd partition in the internal SD card, please let me know... I am assuming that it is not used for any critical purposes (as my phone ran successfully for few days without any issue). May be it is used in some kernel/ROM, if so, please let me know.
Though i didn't understand a word(being an internee dentist) it will be useful to others.appreciate your efforts!!
Sent from my GT-I9003 using xda app-developers app
This is what i call a complete and useful guide.
This should become a sticky.. now... NOW!
+1 for sticky, superb info.
that would be a really nice sticky
i had the motherboard changed..
Thanks Dipu K for your efforts.
I've tried this solution in my I9003, and I have only a problem: When reboot the phone, /data is copied into de Ext4 partition on SD card, but all aplications have errors because isn´t possible to unmount /data,
Here is the messaje in remnt-log (only a few lines):
Code:
...
3. Make Directory --->
4. Mount new data partition from external SD --->
5. Copy the current files in /data
6. Remove current files in /data
7. Unmount /data
umount: can't umount /data: Device or resource busy
8. Remove dir /data as a safety measure
9. Linking external sd data partition as /data
10. Final Mount status --->
...
What can I do to correct this?
Thanks
bfsa said:
...
What can I do to correct this?
Thanks
Click to expand...
Click to collapse
Finally, I've changed a line on 00remnt, and seems to work properly: busybox umount -l /data 2>> /system/remnt-log
Where can I get make_ext4fs? Sadly the same case has happened to me...
Hi Guys.
I am using alpha 4 from last one month and experience was awesome but from last 1 week I am getting lot of FC for lot of services like exchange service gapps what's up camera and lot more. I am not sure why FC issue started happening from last one week.
History :
I was using CM 10 alpha 1 then alpha 2 then alpha 3 and now on alpha 4.
I really fed up with Force close issue from last one week . I tried reboot but still 80% of apps and services getting FC. Please guide me on this .
Sent from my GT-I9003 using xda app-developers app
Sent from my GT-I9003 using xda app-developers app
hi all, i have a galaxy i9003 with a corrupted or completely dead (not sure) internal memory chip. I have come to this conclusion after 3 days of trying to install custom and stock roms. I can access recovery and download mode but i cant install any ROM, the phone keeps rebooting after the SAMSUNG (whole screen black except SAMSUNG in the middle). All i have is atm this http://forum.xda-developers.com/showthread.php?t=1351056 installed on my phone via ODIN. I dont have knowledge about ADB, can somebody help me out with instructions more?
Pre-requisites:
- Rooted Phone
Click to expand...
Click to collapse
Is there a solution without a rooted phone or can I root it somehow, even if the there is a hardware defect? I got an error with /dev/block/mmcblk1p that rfs can't be written.
I have a problem. My friend gave me an i9003. Wipe is not working at all, even from Recovery. I connect the phone to PC and use the internal card, no matter what I do, changes don't apply. I copy/paste/delete/format/even odin flash, no good. Everything comes back as before reboot. What is it related to?
I used to have an i9000, but nothing applies to i9003. I flashed i9000 1000 times and at last got a mmcblk02 error, fixed it with external sd swap. I'm thinking of swapping emmc with sd on this one too, but cant install a rom from CWM, I can install CWM from ODIN though and can flash CFROOT too, but in CWM internal storage can't be mounted... Motherboard problem?
I will try to use this guide and report back soon...
allxx said:
I have a problem. My friend gave me an i9003. Wipe is not working at all, even from Recovery. I connect the phone to PC and use the internal card, no matter what I do, changes don't apply. I copy/paste/delete/format/even odin flash, no good. Everything comes back as before reboot. What is it related to?
I used to have an i9000, but nothing applies to i9003. I flashed i9000 1000 times and at last got a mmcblk02 error, fixed it with external sd swap. I'm thinking of swapping emmc with sd on this one too, but cant install a rom from CWM, I can install CWM from ODIN though and can flash CFROOT too, but in CWM internal storage can't be mounted... Motherboard problem?
I will try to use this guide and report back soon...
Click to expand...
Click to collapse
Please do send us a report, I'd appreciate it very much. Have to deal with a similar situation as well for an old i9003. I've tried to employ the steps mentioned here but could not get it to work as well.
Hi everybody!
Had to remove the internal SD to install everything on the external one by following the mentioned post. Nothing else worked.
http://forum.xda-developers.com/showthread.php?t=1651619
can anyone here recomended me custom rom that already with swap sdcard?
Dipu K said:
Hi All,
I got errors mentioned in the title and after few searches, found that there are few Galaxy SL owners who had got into this issue.
Currently Known Root Cause:
A hardware issue possibly due to a board issue or loose attachment of internal SD card to the motherboard (Grrrrrrr SAMSUNG!)
Symptoms:
- Suddenly core applications like phone/messaging start force closing (sometimes all open apps). Only a reboot will solve the issue.
- Sudden reboot of the phone after few hours of running (or even sleeping)
- Sometimes the restart itself hanging with a yellow message "Unknown Upload Mode"
- Message in status bar "Internal SD card has been removed unexpectedly" or "Internal SD card not accessible" or something like "Damaged SD card"
Known Solution:
1. Replacement of board from Samsung Service Center (Good for you if you are within the warranty period)
2. Do some hardware hack to remove the internal SD completely (http://forum.xda-developers.com/showthread.php?t=1651619)
I got this issue just after I finished my warranty period, and hence, I was trying to find if I can do something about this issue by my own. What I wanted was to actually swap my internal SD storage with a proper external SD storage. This is not same as the popular "swapping the internal and external SD card" topic, but that and something more as well!! This will solve the issue of force closes and sudden reboots (may still not solve issue of reboot getting stuck, but I assume phone will not need frequent reboot after solving first 2 issues!)
Galaxy SL has 3 partitions created in the card:
1. ext3 partition for data
2. another small FAT partition - (for what? not sure)
3. Third FAT partition which acts as the normal internal SD card (which is accessible when working as USB mass storage)
Intention here is to move all the partitions to the external SD. Looking at the mount points and vold.fstab, I could not find where the 2nd partition in the above list is mounted/used (If anyone knows, please let me know). So I decided to move atleast the ext3 (data) and fat (/sdcard) to the external SD.
Following are the steps I followed for doing the same:
WARNING!!!
1. Copy these at your own risk. I am not responsible if you brick your phone or lose your data/applications/settings or if the phone goes to a boot loop!
2. Do not continue if you do not understand what is written here
3. Doing this will change the /data partition. So wiping data partition in the normal way will not work (say from CWM). You may need to do 2 steps - wipe (internal) data normally (say using CWM), wipe (external SD) data manually by disabling the script mentioned in the procedure and wiping using make_ext4fs tool (steps are given in PART 3 of this post).
4. This has been tested only on CM9 Alpha 6-11 / rooted DDLF2. Theoretically it may or may not work on other ROMs, depending on other tweaks and changes in the system, no guaranty offered!
5. In case you mess it up, most of the time (but no guarantees!), you can recover by flashing from beginning using ODIN some base versions like KPE and then come to your normal ROM, followed by a nandroid recovery (so better do a nandroid backup before you try anything .
Pre-requisites:
- Rooted Phone
- Kernel with init.d support (and preferably ext4 as well if you want that)
- Basic ADB knowledge
- A blank micro SD card with at least class 4 (class 6 or greater preferred) speed and with sufficient capacity - say 8/16/32 GB
PART 1 - PREPARING THE EXTERNAL SD
--------------------------------------------------------------------
0. !!! FIRST !!!
Do a Nandroid Backup (and also other app level backups like Titanium or MyBackup)
Backup contents of your FAT partition (mmcblk0p1) - ie, the internal SD card card
Backup contents of your external SD card
1. Download sdparted-recovery.zip from web (http://forum.cyanogenmod.com/topic/6433-solved-messed-up-partitions-on-internal-storage - check messages like 11 to see the basic usage) and extract the contents
2. Using ADB, copy the extracted files in sdparted directory into /system/bin, change permission for all of them to 755 using chmod
3. Put a clean external SD card into the phone
4. In an ADB shell, run /system/bin/parted giving mmcblk1 as the target. Now resize the existing FAT partition (this is the first and default partition in the card). Tips:
print gives the existing partition(s)
help gives help on various options
for resizing and creating partitions, inputs should be derived from the initial print output (which gave the first and last points)
Eg: If card is 16GB, and you want to reserve 4GB for data, then resize the first partition to 12GB
5. Create a new partition of type ext2 with remaining size (say 4G in our case). Save and quit parted.
7. (Do this only if your kernel supports ext3/ext4) Run "tune2fs -j /dev/block/mmcblk1p2" to convert ext2 to ext3
8. (Do this only if your kernel supports ext4) Using ADB, copy "make_ext4fs" (attached) to /system/bin
9. (Do this only if your kernel supports ext4) Convert ext3 partition to ext4 using make_ext4fs ("make_ext4fs /dev/block/mmcblk1p2")
10. Now the partitions are ready
- They will be visible as mmcblk1p1 (FAT) and mmcblk1p2 (ext4) when you cat the /proc/partitions
- They will be visible as partitions 1(FAT) and 2 (ext4) in the print output of parted.
Confirm the above before proceeding further.
PART 2 - SWAPPING EXTERNAL AND INTERNAL SD
---------------------------------------------------------------------------------
1. Write a script, say 00remnt similar to the attached sample file which currently I am using (If you do not follow the script, better don't proceed. Else check if things are fine for your current base ROM settings)
2. Push this into /etc/init.d/ using ADB
3. Change permissions of the file to 755
4. If you need, copy the contents of your internal SD card FAT partition (/sdcard) to the external SD card FAT partition (/sdcard/external_sd or /emmc)
5. Use the popular (relevant methods) to swap the internal and external FAT partitions (which actually changes the vold.fstab contents). Normal search in the forum will give you the available methods - some ROMs support it as options, others have mods which will accomplish the same
5. Reboot and enjoy
Voila!!! Now the system is not using internal SD card (for most purposes) at all!! And your phone can now run for days without abrupt force closes and reboot. You still may get a message like SD card is removed/damaged, (and /emmc or /sdcard/exteranal_sd may become inaccessible - so better use it only as a temporary storage!). But you can safely ignore these messages as that is the internal SD card which we are not using anyway... Enjoy...
PART 3 - WIPING DATA PARTITION (in case you need this step later)
-----------------------------------------------------------------------------------------------------------
1. Change permission of the 00remnt to 644
2. Reboot the phone (now the phone will come up with default internal SD partition for data)
3. From ADB shell, execute "make_ext4fs /dev/block/mmcblk1p2" (see PART 1 on how to get this tool)
4. Change permission of the 00remnt to 755
5. Reboot the phone to recovery, wipe the /data as normal
rgds,
Dipu.
PS: If any one knows how our phone uses the 2nd partition in the internal SD card, please let me know... I am assuming that it is not used for any critical purposes (as my phone ran successfully for few days without any issue). May be it is used in some kernel/ROM, if so, please let me know.
Click to expand...
Click to collapse
Somebody's Samsung Galaxy SL i9003 had wiped the internal SD card by itself! Is this even possible that it just wipes/formats on it's own? Is there any advice? The contacts appear to still be there.

[TUTORIAL] Increase RAM in Micromax A56...Root Needed

Hey Guys...i've found a way after lots of research and experiments a way to increase RAM in Micromax A56 (thanks to xda). Unlike most of the devices A56 supports swap default by its stock kernel.
ROOT NEEDED....BUSYBOX NEEDED. !!!
Note - This Mod May/Will Degrade Your SDCARD Life.
Needed Apps - Swapper for root and Swapper2 (Download these from Playstore)
SETTING UP SWAPPER FOR ROOT
1. Click on Active Swap on boot.
2. Set swap file partition to - "SD Card FAT Partition"
3. Enter "512" or "256" in swap file size(in MB).
4. Click Save it will take some time about 2-4 minutes depending upon the swap file size we created. (you can experiment with the swap file size).
SETTING UP SWAPPER2 :-
1. Open Swapper2.
2. U'll see a black screen, click on ads off.
3. Now go to settings, Make sure you have "Run swapper at startup" box checked. Go to swap place and change it to "/sdcard/swap.swp".
4. Now Click on swap size and choose 256mb(you can experiment with the digits).
5. Go to swappiness and set it to 100.
6. Check the boxes "Safe Unmount" and "Safe Remount".
7. Now go to "Advanced Prefrences"-->Check the box "Reformat swap".
8. Leave everything else as it is...Don't touch anything and exit settings come to main screen of swapper2.
NEXT STEP-----> ACTION..!!!!
1. Click on "ON" Button. It will/may show some fails but don't freak out(its normal), Wait untill it shows "All Done!"
3. Now we are done...!!!! Now check ur sdcard, you will see a file named "swap.swp".
4. Now download Advanced Task Killer from the market and kill all the running apps and go and see ur free RAM. You will see more RAM free than usual. But in actual u have more than that cuz we just created a swap in our SDCARD.
NOW you can play Games which require heavy ram usage ( I love that..!!!) Like Temple Run, Asphalt 6, etc. Some games may still show little lags.
If you want more performance while gaming, download Chainfire3D and All its plugins and play.
If this helped you Click THANKS to help me.
This method can work for other devices too...TRY and SEE...!!!
Test post.
Hope now its visible to other members also.
Sent from my A56 using xda premium
Hi, I have finally managed to root the A56. Installed the Swapper for Root & the Swapper2 apps from PlayStore.
When I open SfR and select the option 'Active Swap on Boot', there is no option for SD Card FAT Partition. It just comes up blank.
I have created a secondary partition on the SD card using the Mini Home Partition tool as FAT32.
What am I doing wrong??
sidhusaab said:
Hi, I have finally managed to root the A56. Installed the Swapper for Root & the Swapper2 apps from PlayStore.
When I open SfR and select the option 'Active Swap on Boot', there is no option for SD Card FAT Partition. It just comes up blank.
I have created a secondary partition on the SD card using the Mini Home Partition tool as FAT32.
What am I doing wrong??
Click to expand...
Click to collapse
ur sdcard shud be of FAT filesystem
Does the microSD need to be FAT16 or FAT32??
The microSD has been formatted as FAT32. Does swapper need a new partition to work on as apps2SD does? Or will it work on the default partition?
Mine is working on FAT filesystem...can also work on fat32 no new partition needed.
anshubham said:
Mine is working on FAT filesystem...can also work on fat32 no new partition needed.
Click to expand...
Click to collapse
anshubham
how much ram do you get after doing this
in running services it shows 40-50mb ram...
it does not show more ram but it is usex when an app which requires more ram is launched.
if u dont understand this clearly...read the true meaning of swapping...on xda or on wikipedia.
Sent from my A56 using xda premium
can this tutorial be used for micro MAx a57
Sent from my GT-I9103 using xda premium
can anyone reply me
Sent from my GT-I9103 using xda premium

Increase space for apps, the end of " Insufficient Storage Available" in device ...

Increase space for apps, the end of " Insufficient Storage Available" in device ...
Hi!
I have a new post with a better and functional solution here:
http://forum.xda-developers.com/ascend-g6/general/send-apps-to-sd-card-avoid-low-storage-t3344880
Any one that try it, please let me know how it goes with you.
sd card
hello the mobile does not recognize my sdcard of 16gb after I make a ext4 partition of 6 gb and a fat32 partition of 10gb. Any suggestion?
lalahamid said:
hello the mobile does not recognize my sdcard of 16gb after I make a ext4 partition of 6 gb and a fat32 partition of 10gb. Any suggestion?
Click to expand...
Click to collapse
How do you made it?
Both partitions must primary.
The pv or phone cant see ext4 partition, only after mounted and in data
Sent using XDA One
persona78 said:
How do you made it?
Both partitions must primary.
The pc or phone cant see ext4 partition, only after mounted and in data
Sent using XDA One
Click to expand...
Click to collapse
Sent using XDA One
mount partition
I have made both partitions as primary and then followed your instructions. When I execute link2sd after installing from sdcard it asks to choose the format for the second partition of the sdcard. then I select fat32 an reboot.
after following your instructions the apps are beeing installed to the ext2 folder (also to the app folder).
But when I check the phones internal memory, it shows a decrease of space, after installing an app.
The Settings only show the phones internal memory an the one fat32 partition of the external sdcard. but nor the ext4 partition?
lalahamid said:
I have made both partitions as primary and then followed your instructions. When I execute link2sd after installing from sdcard it asks to choose the format for the second partition of the sdcard. then I select fat32 an reboot.
after following your instructions the apps are beeing installed to the ext2 folder (also to the app folder).
But when I check the phones internal memory, it shows a decrease of space, after installing an app.
The Settings only show the phones internal memory an the one fat32 partition of the external sdcard. but nor the ext4 partition?
Click to expand...
Click to collapse
Noooo!
When asks to choose the format for the second partition of the sdcard you must select EXT4 than reboot. Still the same you had created with mini partition tool, but he need to recreate to create the mount script to.
That's why it fails.
Sent using XDA One
persona78 said:
Noooo!
When asks to choose the format for the second partition of the sdcard you must select EXT4 than reboot. Still the same you had created with mini partition tool, but he need to recreate to create the mount script to.
That's why it fails.
Sent using XDA One
Click to expand...
Click to collapse
I also tried with ext4 and rebootin but then it still doesnt mount. I have to repeat the mounting process again with link2sd but it doesnt mount. I did not find init.d file.
Do I have to make any setting changes while creating a ext4 partition?
lalahamid said:
I also tried with ext4 and rebootin but then it still doesnt mount. I have to repeat the mounting process again with link2sd but it doesnt mount. I did not find init.d file.
Do I have to make any setting changes while creating a ext4 partition?
Click to expand...
Click to collapse
If you don't have the file or folder you can created, create a folder and must have 755 permission.
You need that folder....
Sent using XDA One
Installing apps
Hello,
untill now this method worked really great. I followed all the steps and everything went fine. Now the time has come to check if it works, I downloaded some app in de playstore, but whenever it's done installing my phone reboots instantly. Does anyone know how this comes?
thanks in advance
berenvacht said:
Hello,
untill now this method worked really great. I followed all the steps and everything went fine. Now the time has come to check if it works, I downloaded some app in de playstore, but whenever it's done installing my phone reboots instantly. Does anyone know how this comes?
thanks in advance
Click to expand...
Click to collapse
Hi!
This is a light version. Has missing some permissions ( fixed ) and busybox tools ... :/ ( fixed to )
It create a full root WITH option to send your apps to sd card automatically!
How?
Because it create a funtional init.d folder in system/etc where you can put your own scripts to start on boot, giving you full control from your ROM/phone and if you have a ext4 partition in sd card ( 3 GB that's enough ), it will send your apps to sd card releasing storage.
LTE device have a default 2GB /data storage for apps and user definitions, phone call, etc. 3G device is worse!!!
So for a LTE device, 3GB from sd partition + 2GB from data partition = 5GB!
To show you why don´t need more, i have at this momente 61 app in /data/app ( in sd ext4 partition ) that fill 750MB - > 61 apps!!!
If you have a LTE device and your /data partiton is resized you can push a litle the size from external partition to 4GB ( that's enough ), im still trying to find a good size for external partition.
Why don´t need a bigger size?
Because there are file that still inside data partition, in /data/data and dalvik-cache, that still filling up data partition... you can´t take them all ...
3G devices need to be rooted with SuperSu zip first ( i don´t know way ) ... im a LTE user.
UPDATE-Kinguser-3.4.0-Modded_V2.zip
https://mega.nz/#!HoZniaSC
Key:
!tmmKUs-lnmAJo0Y4rcvxgZjYgsath0iTDBUYa7-T3YE
And this video shows how ROM works with a external ext4 partition in sd card what means that all apps go to sd card and let internal storage free:
https://youtu.be/7st6838_aAg
Use it only if you need it. Is your option.
I hope this helps you.
is when is installing? When start doing this?!
persona78 said:
Can you explan it better?!
is when is installing? When start doing this?!
Click to expand...
Click to collapse
I created a shortcut sdext2 and renamed it to app, after i renamed the originally app to _app. directly after completing the process, I wanted to test if it worked. So I started downloading some apps. When it's done installing the app it reboots my phone. When its rebooted the app is not installed on my phone.
---------- Post added at 04:43 PM ---------- Previous post was at 04:28 PM ----------
berenvacht said:
I created a shortcut sdext2 and renamed it to app, after i renamed the originally app to _app. directly after completing the process, I wanted to test if it worked. So I started downloading some apps. When it's done installing the app it reboots my phone. When its rebooted the app is not installed on my phone.
Click to expand...
Click to collapse
Also when I create the shortcut sdext2, the shortcut has other permissions, should I change these permissions to the permissions of the 'original' app folder?
Step by Step
berenvacht said:
I created a shortcut sdext2 and renamed it to app, after i renamed the originally app to _app. directly after completing the process, I wanted to test if it worked. So I started downloading some apps. When it's done installing the app it reboots my phone. When its rebooted the app is not installed on my phone.
---------- Post added at 04:43 PM ---------- Previous post was at 04:28 PM ----------
Also when I create the shortcut sdext2, the shortcut has other permissions, should I change these permissions to the permissions of the 'original' app folder?
Click to expand...
Click to collapse
See if you miss same thing:
need root
Need to have the ext4 partiton in sd card ( i use mini partition tool for windows)
Do backup from your data, apps, contacts, msg, etc, with default app in phone to restore after factory reset
download Root browser and link2sd from Google play, go to data app look for it (Root Browser: black folder with a android pirate and Link2 sd: Blue sd card icon) and copy to sd card
do factory reset but in inicial settings DON´T ACTIVATE GOOGLE ACCOUNT turn all connection off.
install Root Browser and link2sd from sd card
execute link2sd to mount ext4 partition from sd card, reboot
execute Root Browser, go to data a rename app folder to _app
look for sdext2 and create a short cut and paste in the same place, rename it app, reboot
activate Google account, now all should be working fine.
you will noticed that link2sd and root browser are missing, is because they are in _app and that folder is no longer in use, the apps can be deleted. Don´t install link2sd again, only root browser if you need it.
Tell me if you understand it
persona78 said:
See if you miss same thing:
need root
Need to have the ext4 partiton in sd card ( i use mini partition tool for windows)
Do backup from your data, apps, contacts, msg, etc, with default app in phone to restore after factory reset
download Root browser and link2sd from Google play, go to data app look for it (Root Browser: black folder with a android pirate and Link2 sd: Blue sd card icon) and copy to sd card
do factory reset but in inicial settings DON´T ACTIVATE GOOGLE ACCOUNT turn all connection off.
install Root Browser and link2sd from sd card
execute link2sd to mount ext4 partition from sd card, reboot
execute Root Browser, go to data a rename app folder to _app
look for sdext2 and create a short cut and paste in the same place, rename it app, reboot
activate Google account, now all should be working fine.
you will noticed that link2sd and root browser are missing, is because they are in _app and that folder is no longer in use, the apps can be deleted. Don´t install link2sd again, only root browser if you need it.
Tell me if you understand it
Click to expand...
Click to collapse
I followed all steps again, but still the same problem. The strange thing is that the whole method works fine, except installing the apps. It's like my phone doesn't accept me using a ext4 partition instead of the 'original app'. Maybe it's because of a software restriction android uses in their operating systems... I have no clue at all. I will keep searching the internet, as soon as find something I will post it here.
You should definitely change the permissions too. However this method seems convenient, it will reduce the lifetime of your sd card and you will risk data loss. I think the repartition script is better.
The time life still the same, only the apk goes to sd card.
So is like any other file, like mp3 for example, it writes the file (apk ) , than only reads when need it to load in RAM ( I think you know that all the work is in RAM ). The apps lib files and dalvik-cache still in data partition.
If you do a factory reset the apps still gonna be there, you don't loose them, only need to re-create the process in phone, reboot and they will automatically installed.
This and the resize of data partition will make you a huge amount of data storage, i have 8,5Gb for data storage ....
Hi!
I re-edit the main post with a functional solution.
lalahamid said:
hello the mobile does not recognize my sdcard of 16gb after I make a ext4 partition of 6 gb and a fat32 partition of 10gb. Any suggestion?
Click to expand...
Click to collapse
try this option, this works but was tested in 4.4.2 ROM
http://forum.xda-developers.com/ascend-g6/general/send-apps-to-sd-card-avoid-low-storage-t3344880
Hi!
Diferent version from KingUser root zip.
It create a full root WITH option to send your apps to sd card automatically!
How?
Because it create a funtional init.d folder in system/etc where you can put your own scripts to start on boot, giving you full control from your ROM/phone and if you have a ext4 partition in sd card ( 3 GB that's enough ), it will send your apps to sd card releasing storage.
LTE device have a default 2GB /data storage for apps and user definitions, phone call, etc. 3G device is worse!!!
So for a LTE device, 3GB from sd partition + 2GB from data partition = 5GB!
To show you why don´t need more, i have at this momente 61 app in /data/app ( in sd ext4 partition ) that fill 750MB - > 61 apps!!!
If you have a LTE device and your /data partiton is resized you can push a litle the size from external partition to 4GB ( that's enough ), im still trying to find a good size for external partition.
Why don´t need a bigger size?
Because there are file that still inside data partition, in /data/data and dalvik-cache, that still filling up data partition... you can´t take them all ...
3G devices need to be rooted with SuperSu zip first ( i don´t know way ) ... im a LTE user.
UPDATE-Kinguser-3.4.0-Modded_V2.zip
https://mega.nz/#!HoZniaSC
Key:
!tmmKUs-lnmAJo0Y4rcvxgZjYgsath0iTDBUYa7-T3YE
And this video shows how ROM works with a external ext4 partition in sd card what means that all apps go to sd card and let internal storage free:
https://youtu.be/7st6838_aAg
Use it only if you need it. Is your option.
I hope this helps you.

Categories

Resources