Partitioning the internal sdcard to ext2 Primary - Nexus S Q&A, Help & Troubleshooting

Hi,
I'm just wondering is it possible to partition the internal storage (aka sdcard) to ext2? So that I can create links with Link2sd. I did this with my other phone's external sdcard.

Definitely possible -- i was just about to do the same thing... i didn't have any luck with the partition tools built into ROM Manager, so I'm going to try using gparted -- I'll let you know how it goes

ptheabstract said:
Definitely possible -- i was just about to do the same thing... i didn't have any luck with the partition tools built into ROM Manager, so I'm going to try using gparted -- I'll let you know how it goes
Click to expand...
Click to collapse
You were answering to a 5 month-old thread.
Anyway, Android GB & above provides "move to sd" option in setting->apps. It can also be batched run on Titanium Backup Pro. No ext partition required.

Related

Sd card

I have a sd card. i partitioned it using paragon partition manager mounting sd card thru phone. THen moved apps2sd and then decide to delete partition. So i being unable to delete the partition used windows own partition management to delete all the partitions. Then i decided to again partitions the card. Now i can't. Paragon partition manager can't do it. Used the sd split(ques- do we need an empty card for that). My phone storage went to 0 mb. Can anybody help me to again partition it. I really need it with haykuro's 5.02 H as it has only 43 mb free space. Please!!! Help.
Thanks for reading and now please do something
charnsingh_online said:
I have a sd card. i partitioned it using paragon partition manager mounting sd card thru phone. THen moved apps2sd and then decide to delete partition. So i being unable to delete the partition used windows own partition management to delete all the partitions. Then i decided to again partitions the card. Now i can't. Paragon partition manager can't do it. Used the sd split(ques- do we need an empty card for that). My phone storage went to 0 mb. Can anybody help me to again partition it. I really need it with haykuro's 5.02 H as it has only 43 mb free space. Please!!! Help.
Thanks for reading and now please do something
Click to expand...
Click to collapse
I haven't used paragon before but I would suggest using gparted through an ubuntu(or some other linux distro) live cd. Basically you download the cd image, burn it onto a cd, restart your computer with the cd in and it'll bring up a little menu that gives you the option to start up in ubuntu off the cd. Then go to System->(can't remember, but it's the second option)->Partition Editor. It has a nice gui and you just choose the last device listed which should be your sd card(check the size to make sure!) and you can create new partitions. Making an ext2 partition correctly in windows is a tad... difficult.
EDIT: actually, you can just use this:http://gparted.sourceforge.net/livecd.php
Help
Can u please help me use it. I have portable ubuntu and now this. Can u provide step by step instructions or atleast give a hint to use it

[Q] to increase internal memory using micro sd card

Hi guys , I have been using this handset since october, i have tried all roms till date and other tweaks , one thing i still couldnt get it is how to increase the internal memory.. the whole things is still a zig zag puzzle for me. if sumone can help me with step by step tutorial , will be gr8. i have tried creating partition in my sd card via cwm , bt in vain. infact ended up corrupting my card and got it replaced.
nivedith007 said:
Hi guys , I have been using this handset since october, i have tried all roms till date and other tweaks , one thing i still couldnt get it is how to increase the internal memory.. the whole things is still a zig zag puzzle for me. if sumone can help me with step by step tutorial , will be gr8. i have tried creating partition in my sd card via cwm , bt in vain. infact ended up corrupting my card and got it replaced.
Click to expand...
Click to collapse
Create partitions using Minitools partition wizard. Create ext4(256-512) and linux swap(0-128) partitions. Switch off your phone. Put the SD card in, trboot into recovery and wipe data. And then reboot.
dhirend_6d said:
Create partitions using Minitools partition wizard. Create ext4(256-512) and linux swap(0-128) partitions. Switch off your phone. Put the SD card in, trboot into recovery and wipe data. And then reboot.
Click to expand...
Click to collapse
Coul you just elaborate about the Linux swap file? Is it just like the virtual memory on the SD Card? Suppose if we have 16GB card and create larger EXT4 partitions, would we have to still create Linux swap partition of just 128MB?
For those who facing problem of low internel memory(ROOT REQUIRED)
No need to partition SD card
1) install the app
2) backup with titanium backup
2)uninstall the app
4) go to titaninium backup->Preferences->Restore Backup to->externel media
5) Restore the app with Titanium backup,,
by app2sd u can verify location where the app installed.
And your memory will never go low.. u can manage easily..
sanjay.july said:
For those who facing problem of low internel memory(ROOT REQUIRED)
No need to partition SD card
1) install the app
2) backup with titanium backup
2)uninstall the app
4) go to titaninium backup->Preferences->Restore Backup to->externel media
5) Restore the app with Titanium backup,,
by app2sd u can verify location where the app installed.
And your memory will never go low.. u can manage easily..
Click to expand...
Click to collapse
Through this way without partition, i guess the apps would be installed in FAT32 partition of the SD Card which is comparatively much slower to EXT4.
mrn123 said:
Coul you just elaborate about the Linux swap file? Is it just like the virtual memory on the SD Card? Suppose if we have 16GB card and create larger EXT4 partitions, would we have to still create Linux swap partition of just 128MB?
Click to expand...
Click to collapse
Recommended is 128 MB. 128 MB is more than enough. Swap basically is storage place which can be used as memory by the operating system when system RAM is low.
logi or prima
dhirend_6d said:
Recommended is 128 MB. 128 MB is more than enough. Swap basically is storage place which can be used as memory by the operating system when system RAM is low.
Click to expand...
Click to collapse
linux swap logical or primary?

[Q] Link2SD Problem

Hi,
After searching a lot here and other place, I didn't find the solution of my problem.
I have 8gb card.
1st break up
6GB - FAT32 - Primary
rest - FAT32 - Primary.
Link2SD is not able to mount.
Displaying in storage info as - "SD Card 2nd Part." Not Mounted.
------------------------------------------
2nd try, with another breakup.
6GB - FAT32 - Primary
1.2GB - EXT2 - Primary
60MB - L.Swap - Primary
rest - Unallocated.
From Link2SD, I m able to see that sdext2 is mounted.
So for a demo purpose, I installed an application, The auto linking starts but get fails. Not able to create link /bla/bla/ - I/O error.
I did mount that location as RW with root explorer, no luck.
Please let me know what to do and how to resolve it.
Hi
What app did you use to format the sd card?
When i format my sd card using the cwm, i have to format the ext particion using easeus to ext2 particion, witch is the format that the stock rom suports, when i did that, i go to the app, select ext2 and reboot the device, that does the trick
Tell if it works for you
Sent from my HTC ChaCha A810e using xda premium
toniaati spread
psicop said:
Hi
What app did you use to format the sd card?
When i format my sd card using the cwm, i have to format the ext particion using easeus to ext2 particion, witch is the format that the stock rom suports, when i did that, i go to the app, select ext2 and reboot the device, that does the trick
Tell if it works for you
Sent from my HTC ChaCha A810e using xda premium
Click to expand...
Click to collapse
Hi psicop,
Thanks for your reply, I used MiniTool.
Please suggest how/what to do..
I partitioned my sd with CWM and used A2SD, and it works fine.
Maybe you could try to partition it with CWM?
Soeskip said:
I partitioned my sd with CWM and used A2SD, and it works fine.
Maybe you could try to partition it with CWM?
Click to expand...
Click to collapse
Link2SD automatically moves all files in SD. Its seems better that A2SD. Correct me if I m wrong.
Also, please tell how to flash recovery to CWM ? I downloaded 1 click recovery and installed the v5.0.2.8 , at the time of flashing, it display failed.
Please direct me from where you did that...
Please help someone, my phone memory is full now... i can also add person to my gtalk or y! messenger....
Do you have clockworkmod recovery installed?
If so, partition your SD from there, and if I'm correct, go to Link2sd, and choose ext4 as partition format... worked for me after numerous fails with other tools...
Edit: search for a tutorial to install CWM. That's how I installed it...
Sent from my HTC ChaCha with CM9 using XDA app.
This might help: http://www.xperiablog.net/2011/12/12/link2sd-guide-never-worry-about-internal-memory-limits-again/
Apps in SD not working
I dunno if its relevant in this thread, but i couldnt find the answer anywhere else.
I partitioned my 8gb class 10 sd card and installed link2sd and all was fine. I created links for most of my apps and everything was fine, until I had to remove my sd card for some data transfer. Now my apps that were shifted previously are not working. For your information I use CM11 in my Galaxy ace.
Ram Shankar said:
I dunno if its relevant in this thread, but i couldnt find the answer anywhere else.
I partitioned my 8gb class 10 sd card and installed link2sd and all was fine. I created links for most of my apps and everything was fine, until I had to remove my sd card for some data transfer. Now my apps that were shifted previously are not working. For your information I use CM11 in my Galaxy ace.
Click to expand...
Click to collapse
Seems like you have to reinstall them, dunno why but removing the card might have had created problems.
swashie said:
Seems like you have to reinstall them, dunno why but removing the card might have had created problems.
Click to expand...
Click to collapse
The problem got solved, when I mounted the script again and did a reboot. When the phone boots, link2sd has to update all the links. There is an option available for this in the settings. Anyways thanks :good:

How do I partition the internal SD card for use with Link2SD

I have looked everywhere for a definitive guide to how to partition the internal sd card of the Nexus S for use with Link2SD to increase the internal memory. I have tried mounting the sdcard in recovery and then partitioning with Gparted. I have tried using ADB shell in recovery and typing
parted /dev/block/platform/s3c-sdhci.0/by-name/media
and creating 3 partitions (9GB fat32, 4GB ext2, 32MB linux-swap) that didn't work. I tried downloading an app called SDCARD partition tool which didn't work because it advises to unmount the SDCARD first which is impossible to do in the o/s (even in terminal it says cannot unmount /sdcard device busy).
Please tell me how I can do this so I can get on to doing better things with my phone.
I think linking applications to SD is not possible on internals that host the system too.
Never heard of someone trying or succeeding . but might be wrong.
Good luck and be careful not to mess up your phone.( internal storage )
raducux said:
I think linking applications to SD is not possible on internals that host the system too.
Never heard of someone trying or succeeding . but might be wrong.
Good luck and be careful not to mess up your phone.( internal storage )
Click to expand...
Click to collapse
did you succeed? or is there a workaround for app space apart from send to sd? (so that widgets work)
Did you check this out? LVM
Have been stumbling upon a few similar threads.
Do check this post >
http://forum.xda-developers.com/showpost.php?p=26164488&postcount=2
Hope it helps. I am yet to try this on my crespo.

[Guide] INCREASING INTERNAL MEMORY

THIS GUIDE IS TO SHOW YOU HOW TO INCREASE INTERNAL MEMORY OF ANY ANDROID DEVICE BY PARTITIONING
Note
This guide will partition your sdcard to make a part of your sdcard works like the internal memory that you can move your apps to it.
This guide will never increase the real internal memory (Storage in taskmanger) as it is impossible to be done.
First,
you have to do is to partition your SD Card and for doing this you have to: Download Mini tool Partition.
2- Install the application on your PC and connect your SD card to your PC with Card Reader.
3- Open Mini Tool Partition in your PC and when the wizards open click on your SD Card and select Delete option. !!!(Note: This will format your SD Card completely mean that it will erase your data permanently, so before doing this backup your data at any place in PC or other Storage device.) When the Formatting of your SD Card is completed then, you have whole of space of your SD Card as unallocated
4- then Right click SD Card and select create option. A popup box will open giving you options for making partition; select the partition as primary and file system as FAT if SD Card is less than 4GB or FAT32 if your SD Card is more than 4GB. Leave about 512 MB or more space (your choice) for creating the next partition.
5- Then select done and do right click on unallocated space of your SD Card and again click create option. Select Primary partition but change the file system to Ext2, Ext3 or Ext4. Note: (Ext2 is recommended as most ROMs work fine with it). Click Apply Changes and then process goes on for the few minutes and then partition is completed.
6- Install Link2sd from Google Play
On the first launch of the app, it will ask for root permissions and then, it will ask you the file system of the .ext partition that you had earlier made, choose the option as you had choose in the partitioning steps.
Sort the apps according to size and start linking them and then you have done your task.
Now you have your Phone’s Internal Memory+ Ext file size made by you in your SD Card. Now you can move your apps from your device memory to SD Card and simultaneously your device speed will also be increased.
I know there are many posts like this post but hit thanks button if you see mine first
Will this work for Samsung Galaxy Tab 2
Notam said:
Will this work for Samsung Galaxy Tab 2
Click to expand...
Click to collapse
Likely yes, one my friends tried it on his galaxy tab and worked
Sent from my GT-B5512 using xda premium
Nice guide.
Sent from my GT-I9500 using xda app-developers app
andiroxu said:
Nice guide.
Sent from my GT-I9500 using xda app-developers app
Click to expand...
Click to collapse
THANKS
....HIT THANKS IF I HELPED....
Sent from my GT-B5512 using xda premium
I'm so gonna to try this, thx!
OP should give credits to actual OP who took pain to create screenshots.
Also guys dont select storage as "external" in auto link. Link2sd dev recommends "internal" storage to avoid conflicts. Also I see this increases space in internal in storage info.
Ext2 fills up. You see widgets for all linked apps as phone assumes app installed as internal memory.
Also linking better than native app2sd or move to sd method and it retains apps in memory even if sd card is removed!!! during usb connection according to dev.
Read link2sd FAQ very helpful. :thumbup:
God is Original Developer
But this process requires you to already have a bit of space on internal storage, and only then move the apps.
Also use FolderMount to move huge OBB and DATA files to SD card
I've been using FolderMount along with Link2SD. FolderMount allows you to also move the HUGE OBB and DATA files that large games often make you download (some up to 2 GB!!!) Link2SD does not link these large files (it links APK and other smaller files) so they work together beautifully. Together they are truly huge space savers! Just search for FolderMount on the Play store.
Cheers!!!
War10ckJ0shua
I use the Recovery-ClockWork, go to Advanced > Particion SD Card.
already I have created a partition for 512 mb and I am using Link2sd. Is this now possible to extended the partition with or without loosing the data ?
Thats a good question. There is always a possibility to lose data stored in a partition when resizing any partition file system where it be Linux EXT2,3,4 or Windows Fat and Ntfs. Backup the data in there if you can before attempting it. I personally would use gparted since its already in all my installed linux distros already, but the free Minitool partition editor for Windows looks pretty awesome! It says it easily supports resize/move of partition without data loss so its possible. Just make sure you backup the whole card IE all data on both partitions just in case. Good luck.
thegreeat said:
already I have created a partition for 512 mb and I am using Link2sd. Is this now possible to extended the partition with or without loosing the data ?
Click to expand...
Click to collapse
Do I absolutely have to use a card reader for this? Can't I use the mount usb storage option from my phone? Either way, the card shows up as an external drive doesn't it?
AualSciaespecially
I can't wait to do this after I root my HUAWEI H881C. I got it a week ago and free internal space for apps and data is rather small at about(?) 512MB total. After factory installed apps and such I was left with about 384Mb to start with. I can be a app whore. I haven't download too many games on google play yet because of internal storage limits. Even with those limits I do have Doom, Quake 1, 2, and 3 installed off the SD card along with my dosbox, snes, sega, psx and n64 emulators and roms with no problems.
I have been using link2sd since abandoning Froyo. Now on cm10.2.
One thing of which to know and be carefull: Link2sd's Achilles Heel.
When flashing a new ROM on rebuilding the dalvik cache for any reason, all the linked dalviks (dex) must fit on internal storage. If one has linked more than can fit, internal storage will run out and crash bang. I have requested of the devs to facilitate treating this within link2sd but so far, has not been implemented so the manual procedure would be:
A. Prevention! If playing with experimental ROMs often, pull the /data/sdext2/dalvik-cache folder and see how big it is. Make sure that the internal space available is say 20meg more than this. No problem.
B. If not possible or simply must have all the goodies installed now, here it what to do:
1. Show linked apps in dex-size order.
2. Multiselect enough of the largest ones to meet the 20meg condition.
3. Remove them.
After flashing, rebuilding the dalvik cache.
4. Relink current dalvik. Now have lots of room again.
5. Restore the removed apps and data, relink them. Note: Titanium is your best friend!
'Twould be nice if a future link2sd version would warn us and if need be, do this for us
FYI I just did that very same thing just leaving the card in the phone and using the minitool. It seems to have worked just fine even with resizing the fat32 partition already there and creating a Ext2 out of the room I freed up.
aashay960 said:
Do I absolutely have to use a card reader for this? Can't I use the mount usb storage option from my phone? Either way, the card shows up as an external drive doesn't it?
Click to expand...
Click to collapse
Retro Gamer said:
FYI I just did that very same thing just leaving the card in the phone and using the minitool. It seems to have worked just fine even with resizing the fat32 partition already there and creating a Ext2 out of the room I freed up.
Click to expand...
Click to collapse
Quick question - If you resize the partition which is already there, making space for a new one, will you lose all the data that is there in the card?
I answered that question in my last 2 reply posts. I just did this very thing without any problems or data loss, then went on to root my phone. It all took 20mins and I did copy my sd card contents to a dir in my PC just in case.
There is a always a chance for things to go wrong, but at the very least make a folder on your PC label cellback or something, connect your phone(with card) to PC & just copy all contents from your existing card in phone to that folder you made. Then in partition editor select the drive that is your SD card, resize it leaving left over space behind it. Use that free unallocated space to create a the new PRIMARY ext2 drive. Good luck.
aashay960 said:
Quick question - If you resize the partition which is already there, making space for a new one, will you lose all the data that is there in the card?
Click to expand...
Click to collapse
Clockwork Recovery
To partition, you don't necessarily have to use a 3rd party PC based partitioning tool.
If your phone is rooted, with Clockwork Recovery flashed, you can simply:
a)Backup your Sd Card on another device.(As warned, the process wipes the sd card clean)
b)Reboot your device into Recovery mode.
c)Select Advanced, then Partition SD Card
d)First menu lets you choose the size of the ext
e)Second menu lets you choose the size of the swap file.
When your done partitioning, you will have both an ext and a swap file, no 3rd party partitioning app needed.
You'll need an app like Swapper2 for the swap partition and the aforementioned Link2Sd for the ext
Hit thanks if this helps. :highfive::good:
Kris the wizz 15 said:
To partition, you don't necessarily have to use a 3rd party PC based partitioning tool.
If your phone is rooted, with Clockwork Recovery flashed, you can simply:
a)Backup your Sd Card on another device.(As warned, the process wipes the sd card clean)
b)Reboot your device into Recovery mode.
c)Select Advanced, then Partition SD Card
d)First menu lets you choose the size of the ext
e)Second menu lets you choose the size of the swap file.
When your done partitioning, you will have both an ext and a swap file, no 3rd party partitioning app needed.
You'll need an app like Swapper2 for the swap partition and the aforementioned Link2Sd for the ext
Hit thanks if this helps. :highfive::good:
Click to expand...
Click to collapse
Thanks. When step d) is completed... what happens with the partition that was created... is mounted on the micro sd card, as a partition on itself?
I have another question. Is there an app/way to install directly to micro sd card, as if there is no need to move the apps later, because they go where is needed to in the first place?
Is there a way to move dalvik cache as well?

Categories

Resources