Help with sd ext partitioning - EVO 4G Q&A, Help & Troubleshooting

Ok so this all started when I switched from Cyanogen to Fresh 3.2. I used Amon Ra's Recovery to wipe and because it said to so a full wipe I figured I had to wipe evey option on Amon Ra's Recovery including sd ext. When I did That I got and error that said "Error: run "wipe ext" from abd!". I read somewhere that that wasn't going to be a problem so I continued loading the rom and it booted fine. I ran into problems later on when I tried installing Backbreakers. I got an error in the notification bar that said "installation unsuccessful". I later got the same message when trying to install Angry Birds. I've learned from other threads that those games should work fine on Fresh's roms. I now have the newest Fresh rom and still have the same problem. Just recently I found out that I shouldn't have wiped sd ext partition if I didn't have one setup. Now, I never set one up myself, but maybe one was setup automatically through one of the roms I had used. Now I want to fix the problem with my Sd ext partition (I know I'm not using The term correctly because I no nothing about it) and find out what it does. If anyone could help me understand what an sd ext partition is and how to solve my problem I would be very thankful.
Sent from my PC36100 using XDA App

You can set it up in Ra recovery. It's very easy. Make sure you back up your sd card to your computer cuz partitioning will wipe it.
Download DarkTremor from HERE
Select Partition SD card from the recovery menu
The first option is for a swap file which we dont really need so set it to 0MB
The next is for your ext partition. 256MB should be plenty but if you've got a large SD card feel free to go higher.
After that's done, you can upgrade it from ext2 to ext3 which isnt necessary.
Boot up the phone or mount sd card from recovery and place the DarkTremor file you downloaded on your sd card and flash as you would a rom.
After the phone boots up you can open a Terminal Emulator and type:
su (then press enter)
You should see a # symbol. Now type:
a2sd cachesd
This will move dalvik cache to your sd card and free up even more memory. Just remember to wipe ext partition before flashing a new rom and I believe you'll need to flash the DarkTremor file again after you flash a new rom. Your ext partition will remain. Hope this helps. If you have any more questions most can be answered in the DarkTremor thread or feel free to PM me.

Wow thanks for the great info. I'm going to do this hopefully it will fix my problem. What is an sd partition for anyways or what does it do? I have the 6gb sd card that came with my evo goe much space should I put for my ext partition? Thanks for all of the help.
Sent from my PC36100 using XDA App

StrummingLevi said:
Wow thanks for the great info. I'm going to do this hopefully it will fix my problem. What is an sd partition for anyways or what does it do? I have the 6gb sd card that came with my evo goe much space should I put for my ext partition? Thanks for all of the help.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
The ext partition is a physical memory area in your sd card which is formated the same as the internal memory of the phone. Not like the rest of the sdcard. The limits are set on the rest of the card so the stuff in the ext with it's sequential byte order won't be over-written by the pc-like low-high byte order of the rest. Stuff can be logically assigned to the ext partition by the OS. At startup a find is issued on the partition, if it's there then automatically Fresh's / tremor's ap2sd "program" puts portions of applications on the sdcard. You can manually augment what gets put into the ext partition by issuing commands. Aps2sd was important on devices with limited internal memory.

StrummingLevi said:
Wow thanks for the great info. I'm going to do this hopefully it will fix my problem. What is an sd partition for anyways or what does it do? I have the 6gb sd card that came with my evo goe much space should I put for my ext partition? Thanks for all of the help.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Forgot to mention, its recommended you use a class 4 SD card or faster. I'm not certain what the consequences are but when I ran a2sd on my G1 with a class 2, the phone would crash.
Sent from my SUPERSONIC

Related

Un-partitioning SD card?

Hi guys,
I couldn't find anything about this (I did try searching before posting this thread, so I hope I am not repeating a common question!).... I wish to unpartition my sd card and just go back to a normal fat32 partition....
So far I have tired windows disk management and Rom Manager, which just allows you to ADD a ext partition with no luck!
Can anyone else guide me how to achieve this?
Regards!
Open Recovery Menu (green) per adb.
Partition SD Card
SWAP=0 MB
EXT=0 MB
Remainder - FAT32
good night
cargobr151 said:
Open Recovery Menu (green) per adb.
Partition SD Card
SWAP=0 MB
EXT=0 MB
Remainder - FAT32
good night
Click to expand...
Click to collapse
:O Thanks, which recovery should I be using? :s
System recover? clockworkmod using the fake flash method? because I don't see the Partition SD Card menu anywhere else and i've tried both!
I know its right in front of me somewhere, I just can't see it, D'oh!
use the one from rooting folder
Bah,
I ended up using GPart live cd to undo it!!
Thanks for the responses guys, hopefully this will help someone else who needs it!
cargobr151 said:
Open Recovery Menu (green) per adb.
Partition SD Card
SWAP=0 MB
EXT=0 MB
Remainder - FAT32
good night
Click to expand...
Click to collapse
Sorry for using your thread, however I don't have that Partition SD Card option on my Desire, when I go into recovery?
jacobtc said:
Sorry for using your thread, however I don't have that Partition SD Card option on my Desire, when I go into recovery?
Click to expand...
Click to collapse
That's fine, it's why I created the thread!
If you just want to partition you can use ROM Manager (but this requires root)
you need the recovery file (entitled 'pushfiles' or something) from the risk-free root package to partition/un-partition the card.
Else, you can use a GPart live CD, which makes it really easy!
Hope that helps buddy...
r5ingh said:
That's fine, it's why I created the thread!
If you just want to partition you can use ROM Manager (but this requires root)
you need the recovery file (entitled 'pushfiles' or something) from the risk-free root package to partition/un-partition the card.
Else, you can use a GPart live CD, which makes it really easy!
Hope that helps buddy...
Click to expand...
Click to collapse
I already partitioned my SD card via GParted, got a 16 gb card partitioned as follows:
14 gb fat32
1 gb ext2
250 gb swap
However in recovery, when I try to mount sd-ext it fails to do so Don't know why...
jacobtc said:
I already partitioned my SD card via GParted, got a 16 gb card partitioned as follows:
14 gb fat32
1 gb ext2
250 gb swap
However in recovery, when I try to mount sd-ext it fails to do so Don't know why...
Click to expand...
Click to collapse
If you're using a2sd+ then you need to change your ext2 partition to ext3, Also, I don't believe that you need a swap partition anymore...
Try that!
r5ingh said:
If you're using a2sd+ then you need to change your ext2 partition to ext3, Also, I don't believe that you need a swap partition anymore...
Try that!
Click to expand...
Click to collapse
Cool, now I can mount the ext partition in recovery! Thanks!
jacobtc said:
I already partitioned my SD card via GParted, got a 16 gb card partitioned as follows:
14 gb fat32
1 gb ext2
250 gb swap
Click to expand...
Click to collapse
Was that a 16gb card or a 265gb?
Sent from my HTC Desire using XDA App
GANJDROID said:
Was that a 16gb card or a 265gb?
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
lol, lets give the guy a break.... we all know it was a 256GB Flash card!
Anywhooo, I have another question, so I think i'll hijack my own thread!
Guys, whats the most efficient way to backup/restore and move apps between roms? I've ended up manually re-installing installed apps 2/3 times now, I was going between roms that did/didn't support a2sd. Also, should there be any consideration to any specific backup options available in the various tools?
Thanks in advance!
Hi, my phone got bricked using GPart live to turn my ext 2 into a 3 partition. Everything went fine using the program, turned off Usb storage, went into market and tried to download a program, when it started to install the screen when black.
Now I cant boot with sdcard in, I don't come past the white HTC screen
Without SDcard it starts loading the system but the loading is a never ending loop.
Tried to format SD with fakeflash, dosent help
Tried reflashing my rom with wipe and everything, dosent help
Any ideas?
prove said:
Hi, my phone got bricked using GPart live to turn my ext 2 into a 3 partition. Everything went fine using the program, turned off Usb storage, went into market and tried to download a program, when it started to install the screen when black.
Now I cant boot with sdcard in, I don't come past the white HTC screen
Without SDcard it starts loading the system but the loading is a never ending loop.
Tried to format SD with fakeflash, dosent help
Tried reflashing my rom with wipe and everything, dosent help
Any ideas?
Click to expand...
Click to collapse
I would say, firstly try to get your phone working by wiping it clean and re flashing the rom. Use a different memory card just to get up and running. Then you can concentrate on fixing you card..
Although that seems like a very strange issue, are you sure you formatted your card correctly with GPart? (eg, exactly 512 MB/1024MB?) I'm a n00b myself so I would also wait for some of the more experienced users to offer their input. lol
r5ingh said:
I would say, firstly try to get your phone working by wiping it clean and re flashing the rom. Use a different memory card just to get up and running. Then you can concentrate on fixing you card..
Although that seems like a very strange issue, are you sure you formatted your card correctly with GPart? (eg, exactly 512 MB/1024MB?) I'm a n00b myself so I would also wait for some of the more experienced users to offer their input. lol
Click to expand...
Click to collapse
Solved it by using AM recovery, repair + new partition solved the problem! Gonna reflash 2.0 again since i messed up the wiping somehow and then keep this until the rooted 2.2 is out!

[Q] Can't make apps move to SD card

Heya,
Today I flashed a fresh Defrost 6.1a (Which is said to support A2SD+), Flashed Gapps. So far so good.
I took my 8GB SD card and partitioned it in Ubuntu using Gpareted. I set the FAT32 partition first, then a ext3 partition (512MB) second.
Ubuntu read both with accurate sizes.
I put the card back into the phone and looked "SD card & phone storage", it no said my SD card is only 6.89GB, but the Internal phone storage was still low.
I decided to check a little more with Titanium Backup, which surprisingly said that my ext3 partition is only 256MB and is half full (talking about a fresh ROM here).
Can someone point me to where I did wrong?
Maybe format using ext4?
Put the ext partition first?
Reflash ROM after partitioning?
TNX
I have never got A2SD working either. I think you need to install a script or something. Here is a post about A2SD. Also, Android 2.2+ supports moving apps to SD anyway.
If you want more space to install apps, you can install one of AlphaRev's HBoot templates which can increase the /data partition, that's if you have S-Off.
I couldn't be bothered farting around with A2SD and so I did that instead.
CoreOxide said:
Maybe format using ext4?
Click to expand...
Click to collapse
No, it will not make it work and will only increase your memory card's wear.
CoreOxide said:
Reflash ROM after partitioning?
Click to expand...
Click to collapse
So you flashed the a2sd enabled ROM on the device which didn't have memory card prepared? I always thought such enterprises would end in a boot loop. Flash it again if this is the case.
GoogleJelly said:
Also, Android 2.2+ supports moving apps to SD anyway.
Click to expand...
Click to collapse
It is not teh same thing!
erklat said:
How do you inspect if a2sd is working? Coz I think u r doing it wrong. Install Quick system info and check what it says under a2sd storage and if it slowly decreases when you install apps, which means it is working. You don't have to set default install location anywhere, the script does that for you.
What you are referring to here, is Froyo's built-in a2sd which requires the app to be optimized for app2sd, that's why only some of your apps seem to be on the SD card. Furthermore, it will transfer the apps to FAT32 partition, that you don't want for it to do since Android first loads apps which need to be loaded at startup, and afterwards it mounts the SD card, which will lead to some apps failing to start after boot.
a2sd tricks the phone into thinking that ext partition is it's internal memory. Froyo app2sd != a2sd script, don't confuse those two, they are not the same.
Click to expand...
Click to collapse
Sent from my HTC Desire using Tapatalk

[Q] Help!!!

I was getting ready to install a new rom and using CWR performed a wipe data/factory reset, wipe cache partition, wipe dalvik cache and a format system. I accidentally went into partition SD card and instead of hitting the back button hit the go. Now my phone only goes to first white screen "HTC Incredible" and stays stuck on that screen. I am able to boot into bootloader and recovery but cant recover any backups "no files found". Any help would be greatly appreciated.
Partitioning the SD card formats it, do you keep backups of your SD card on your computer hopefully?
Sent from my ADR6300 using xda premium
RMarkwald said:
Partitioning the SD card formats it, do you keep backups of your SD card on your computer hopefully?
Sent from my ADR6300 using xda premium
Click to expand...
Click to collapse
No backup of sd card
jav2043 said:
No backup of sd card
Click to expand...
Click to collapse
Can you hook up your SD card to a computer to verify that it's erased? You may need to reformat it to FAT32.
Sent from my ADR6300 using xda premium
RMarkwald said:
Can you hook up your SD card to a computer to verify that it's erased? You may need to reformat it to FAT32.
Sent from my ADR6300 using xda premium
Click to expand...
Click to collapse
Don't have a micro sd card reader but will get one to see whats going on.
Im interested to know how partitioning the sdcard would make the phone get stuck at the htc splash? I have partitioned my sd several times before, it does format the sd but has never made it so i cant boot the phone.
EDIT: Alao you cant remove a ext partition by just formating in windows, as windows only sees the fat32 partition. To remove it go back to recovery and the partition sd. When you select it it should ask you 2 things, ext size and swap size.
Use the trackball to set both ext and swap to 0, leaving the whole sd to be formated fat32. After you do that see if you can boot.
I have done this too but good thing I had another SD card with a Rom on it or other wise I would have been screwed
Sent from my ADR6300 using xda premium
cmlusco said:
Im interested to know how partitioning the sdcard would make the phone get stuck at the htc splash? I have partitioned my sd several times before, it does format the sd but has never made it so i cant boot the phone.
EDIT: Alao you cant remove a ext partition by just formating in windows, as windows only sees the fat32 partition. To remove it go back to recovery and the partition sd. When you select it it should ask you 2 things, ext size and swap size.
Use the trackball to set both ext and swap to 0, leaving the whole sd to be formated fat32. After you do that see if you can boot.
Click to expand...
Click to collapse
Not sure why its getting stuck on splash screen. It was my first time partitioning my sd card. I tried installing a zip from sd card and none found. I also tried to nandroid restore and no file found. I will try to remove the partition and see if that works.
cmlusco said:
Im interested to know how partitioning the sdcard would make the phone get stuck at the htc splash? I have partitioned my sd several times before, it does format the sd but has never made it so i cant boot the phone.
EDIT: Alao you cant remove a ext partition by just formating in windows, as windows only sees the fat32 partition. To remove it go back to recovery and the partition sd. When you select it it should ask you 2 things, ext size and swap size.
Use the trackball to set both ext and swap to 0, leaving the whole sd to be formated fat32. After you do that see if you can boot.
Click to expand...
Click to collapse
I set the partition to 0 and still no boot
Sounds like your only option is to redo a wipe data/factory reset, format boot, and format system again, to be safe, then copy a new ROM zip to your SD card and flash that.
Your nandroids, and everything on your SD card, are gone.
cmlusco said:
Im interested to know how partitioning the sdcard would make the phone get stuck at the htc splash? I have partitioned my sd several times before, it does format the sd but has never made it so i cant boot the phone.
EDIT: Alao you cant remove a ext partition by just formating in windows, as windows only sees the fat32 partition. To remove it go back to recovery and the partition sd. When you select it it should ask you 2 things, ext size and swap size.
Use the trackball to set both ext and swap to 0, leaving the whole sd to be formated fat32. After you do that see if you can boot.
Click to expand...
Click to collapse
there is a clockwork folder on your sd card that is used if you updated clockworkmod recovery from rom manager. i mad the mistake of deleting it once. i had a backup on my pc before i did it. if you can get the phone to boot then just click the first option in rom manager and it will re build the file.
You don't need an SD card reader if you can get to CWM. Just go to mounts and mount Your SD card with your USB cable attached to your PC.
Sent from my Incredible Stock+ Ginger Tiny

[Q] Internal Memory Full after Reboot; All Apps on SD

My HTC Desire was restarted due to low battery long after I restored some backups (app + data) with Titanium Backup. When I booted back into Android, it showed 1MB of free internal space! So thought it might be the 4 downloads I had, so I deleted all of them and Android then said it had 61MB of free internal space.
Then I rebooted but now I only have 216KB free space!!
This is the second time it's happened and I've tried everything including SD Maid and every single app is linked to the SD card's 2nd partition. This didn't happen when Installing apps from the Play store or from Easy Installer; and Avast finds no problems.
It keeps saying "Unfortunately Google Play Store has stopped" etc. and the phone is very slow including booting.
I'm not willing to re-flash everything again and manually install each app, especially as the first time re-flashing, Clockwork Recovery said it couldn't mount the SD card, then after formatting, Windows 7 wouldn't recognize it, then neither would (after formatting using gparted)!
I'm only using Link2SD on ICS for HTC Desire 0.4.4.4.1, default HBoot, Clockworkmod Recovery Touch 5.8.0.2, aGPS and default homescreen with no scripts.
This is extremely irritating, can anyone help please?
Using any scripts like A2SD?
Cool story bro. Please post more relevant information so peeps here can help you out. How about letting us know your hboot information, rom you are currently using, scripts etc. ;-)
I'm only using Link2SD on ICS for HTC Desire 0.4.4.4.1, default HBoot, Clockworkmod Recovery Touch 5.8.0.2, aGPS and default homescreen with no scripts.
DarkIceGB said:
I'm only using Link2SD on ICS for HTC Desire 0.4.4.4.1, default HBoot, Clockworkmod Recovery Touch 5.8.0.2, aGPS and default homescreen with no scripts.
Click to expand...
Click to collapse
try stock a2sd then enable it with terminal
Code:
su
a2sd install
y
y
y
Edit: also DL 5.1, i found 4.4.4.1 SUPER buggy.
Thanks for the help, I've tried the above and it's been booting for 10 minutes now, should I wait for it to finish or is it stuck?
Edit: After 30 minutes of booting, I took the battery out. It now won't go past booting (the animated 'X screen') and it takes ages to get past the 'HTC' screen to the boot screen.
Edit 2: I booted into recovery and cleared all caches and fixed permissions and after booting it doesn't say the memory is full! Thanks for your help!
What else did it move and is the data on the first partition of the SD card or the second and can I remove the SD card safely? Any idea how the internal memory was filled and why there were issues with the SD card or if they might appear again? It's a new Samsung Extreme Speed Class 10 16GB Micro SDHC card.
I can't move apps from the SD card to the SD card's second partition or to the internal memory. It says, "pkg: /mnt/asec/appnamehere/pkg.apk Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]".
The internal memory is empty, the SD card has 8GB of free space and the 2nd partition has 1GB free out of 2GB.
Just upgraded to 5.1 and it's the same as above. Any ideas?
Anyone have any idea?
What A2SD-option did you pick in Aroma Installer? I cannot see any Link2SD option there.
Sorry I meant I chose the built-in a2sd but I used this app called Link2SD as I have a second partition on my sd card for apps.
DarkIceGB said:
Sorry I meant I chose the built-in a2sd but I used this app called Link2SD as I have a second partition on my sd card for apps.
Click to expand...
Click to collapse
How have you partitioned your SD? Primary and secondary FAT32 or primary FAT32 and secondary EXT? I've never used Link2SD 'cause i prefer the script way, but i think it works the same way.
If you are using EXT for secondary, i recommend you the 4ext recovery, if you are S-OFF you can install it directly from the phone using the Updater form 4ext.net.
Then I suggest you to do:
A nandroid backup
A backup of your SD data
Repartition you SD using 4ext
Check partition allignment with 4ext
Do a full wipe
Restore your SD's backup
Restore your nandroid backup
Re-install 0.5.1 and select built-in a2sd
In rom use terminal like bortak stated, but say NO to moving appdata (slowed down my phone a lot)
Uninstall Link2SD
This will give you a standard installation for a2sd.
If I were in you, i would format everything (except SD card first partition) and start from scratch with the built-in a2sd method without Link2SD; you'll have to reinstall everything and lose every data (backup with TB if you can), but you are sure to run a rock solid method to "enlarge you space"
If you are on double FAT32... well, i cannot help you there
Bortak, correct me if i ever say stupids things i want to help out and you surely are a master in troubleshooting and point to my errors
I'm actually running BCM 3.0U0 + 3.0U1 update with m2sd (with apps and dalvik on ext), 100% V6 supercharged and ScrollingCache patched... i have to say, in my opinion, it finally surpassed Sandvold ICS!
Thanks a lot for the help, I've followed the steps and everything's working now!
I used 4ext recovery, which appears to be a lot better than clockworkmod, with more useful options. 4etx said that the partitions weren't aligned (which I previously set in clockworkmod) so I wiped everything and made fresh partitions which were perfectly aligned. I'm using 0.5.2 now with a full format.
I had/have fat32 then ext4.
I've noticed that most apps don't appear to be on the SD card though. Any advice?

sd-ext full, cant install on internall memory

I have a problem, and i cant manage to solve him, so any help will be apriciated.
I installed Runnymede AIO V6.0.4.3 Special Edition Stable Version
Problem is that every new app that i install goes diractly to the sd-ext. The partition of sd ext is 512, but after installing ROM it size is down to about 80 mb. So after installing few apps sd ext is full and i get an error. Meanwhille i have about 125 mb free on internal storage!
I tried su
a2sd remove, but it tells a2sd not found!
I`m really lost, tried everything for couple of days, so if anyone can help me, please do so...
This ROM requires 1 to 1.5GB ext4.
You might need to extend the sd-ext partition.
The easiest would be to backup your phone, repartition through recovery and reinstall the ROM.
I've been using this ROM for quite some time now and everything works perfectly with a 1GB ext partition.
But the rom is allready installed on sd ext and every other app that i installed later is also on sd ext. But now my sd ext is full, so i want to set as my default location internal memory, but i dont know how to do that... Does anyone have idea?
vnugo said:
But the rom is allready installed on sd ext and every other app that i installed later is also on sd ext. But now my sd ext is full, so i want to set as my default location internal memory, but i dont know how to do that... Does anyone have idea?
Click to expand...
Click to collapse
Sd Ext is "internal memory" - the a2sd etc scripts essentially fool the phone into thinking the sd Ext is part of the internal storage. Therefore increases the data storage for your user apps and is where they will install. This is why you have plenty of internal phone storage, but isn't anything to worry about.
Your actual problem using this Rom is that in common with other later sense Roms, parts of the Rom are also installed to the Sd Ext. This is why the sd Ext size needs to be bigger than 512MB, its filling up because its got parts of Rom plus all your user apps on it.
Sure the Rom thread will recommend what size is, needed. So do a nandroid (include sd Ext if AmonRa recovery), copy sd card contents to pc as backup, repartition using Gparted, copy sd backup back to card, nandroid restore.
Sent from my HTC Desire using Tapatalk 2
You should try ad2sdx in order to increase the number of installed apps.
c90 said:
You should try ad2sdx in order to increase the number of installed apps.
Click to expand...
Click to collapse
Can you explain it little bit to me? I`m not sure how this works.
Do you mean how the script works or what do you have to do to get the script working?
Sent from my HTC Desire using Tapatalk
what do i have to do to get the script working?
Do a backup (titanium, so that you can copy the backupfiles into your harddrive), and repartition the SD card. 1,5 to 2 Gb should be more than enough. Your problem is the same one I had with MIUI-XJ. Like people have said over, the problem is too little space on the partition. If you want to keep your messages and whatever else, there are apps to backup them as well. So... Yeah, 1,5-2GB of ext4 partition, than rewind.
But my sd card is already partitioned. How can i erase sd-ext, so i can partition it again?
Personaly if it was me id boot into recovery then do a backup then wipe/factory reset, wipe dalvik+cache and partition sdcard again (1gb) atleast, flash rom (install) restore backup. But thats just me
Sent from my HTC Desire using xda premium
gomcho said:
This ROM requires 1 to 1.5GB ext4.
You might need to extend the sd-ext partition.
The easiest would be to backup your phone, repartition through recovery and reinstall the ROM.
I've been using this ROM for quite some time now and everything works perfectly with a 1GB ext partition.
Click to expand...
Click to collapse
Woops mist ur post sorry. But i agree
Sent from my HTC Desire using xda premium

Categories

Resources