Undo A2SD - Hero, G2 Touch Android Development

Hi,
Does anyone know how to undo A2SD? ie move all the apps back to the internal memory then remove the ext3 partitions from my memory card?
I'm running a rooted 2.73 ROM with RA-HERO-v1.2.2 recovery image and a vista computer
cheers

I'd also be interested in this, I often get a message saying something like 'sd card maybe not inserted or full' (cant remember the exact msg atm) which I think may be related to apps2sd. Couldn't find any info on the message though.

I'd solve it like this:
Step 1: Format SD card (thus also wiping all partitions)
Step 2: Wipe and re-install any rom - to avoid problems with dependencies from your old setup running with A2SD.

but then you lose all your apps!
He wants first to put his apps back on his phone and then he will format SD card.
But how? I want to know that also

1- Backup your apps using AppManager.
2- Copy the FAT32 partition content to your PC.
3- Format your SD card entirely to FAT32 erasing the EXT3 and SWAP partition.
4- Copy contents back to your SD card.
5- Install AppManager.
6- Restore Your Apps.

Related

Install the MCR3.1 with A2SD+ on a rooted Desire but on a new SDCARD

Hello guys, i have a question, some may call it noob some may thought it themselves. i am currently rooted and using mcr3.1 without problems at all but i don't have the apps2sd.
i want to try it and i baked a new rom from the kitchen with the a2sd+ option integrated but i don't want to mess up my current sdcard and want to use another one i have. can i do that ???
as i see it i must do the following:
1) while my CurrentCard is inserted make a nandroid from the fake-flash recovery
2) turn off the phone and insert the new card
3) put the update.zip (for fake-flash) and the baked rom onto the sd card
4) now go into recovery (fake-flash) and choose to install new rom
will this work ok ?????
in addition as i see on my SDCARD some applications like titanium backup or astro or htc mail, rom manager, wifi tether etc have some files on it into their respective folders. will i be ok if i copy-paste them after the procedure into their folders in the fat partition???? or the a2sd+ uses some other m,ethod for the apps to store their info ????
THANKS for all the help
That should be fine...just don't forget to partition the new sd card for a2sd
do i need to make it with gparted or the rom makes it by default ???
The recovery image has it all. Look!
Sent from my HTC Desire using Tapatalk
yeah i haven't taken a look into the recovery before...is there any update.zip that adds the a2sd+ to my current configuration ????
No because it's already part of the rom. Your sd just needs partitioning correctly.
Back up your sd card, boot into recovery. Go to partition menu and partition sd card.
Mine is swap 0, ext 512, fat remaining space. Then you can copy your sd backup back to the fat32 partition.
That's it all apps will install to sd card.

How to partition SD Card for Desire?

Hi! all. need to know how to partition SD Card for Desire. Any tutorials i can follow?
wolvie77 said:
Hi! all. need to know how to partition SD Card for Desire. Any tutorials i can follow?
Click to expand...
Click to collapse
You can use ROM Manager from the Android Market and there's an option to Partition SD Card under utilities, just install the recovery first and it will work fine.
Also you can use AM Recovery fake-flash to avoid installing ClockworkMod Recovery, but it's easier using ROM Manager
But if you are running Linux on any computer, then you can use GParted to Partition the SD Card, ask if you want steps to use GParted
shoey-n said:
You can use ROM Manager from the Android Market and there's an option to Partition SD Card under utilities, just install the recovery first and it will work fine.
Also you can use AM Recovery fake-flash to avoid installing ClockworkMod Recovery, but it's easier using ROM Manager
But if you are running Linux on any computer, then you can use GParted to Partition the SD Card, ask if you want steps to use GParted
Click to expand...
Click to collapse
Any chance we could have the GParted steps, I tried using it for creating the partitions (FAT32 then Ext2) and no matter what I did I got a Damaged SD error upon remounting it in the Desire.
I'm starting to think my card is bad!
Not in front of Linux right now, so this is off the top of my head. I'll post in the morning clear steps (better if used in card reader not using USB toggle on device)
Backup what ever is on your card first!
In the top right corner of GParted select your device and let it search for partitions on card
Unmount all partitions by right clicking on each partition and clicking unmount
Then delete those partitions by right clicking and selecting delete
(I normally apply those changes before proceeding by clicking the green tick, to make sure the partitions have cleared)
With the unpartitioned space, firstly create your FAT32 partition by right clicking and selecting FORMAT TO then FAT32 (MAKE SURE REMAINING SPACE IS IN FOLLOWING NOT PRECEEDING) then with the remaining space create your EXT2 partition exactly the same but obviously format to EXT2 and you could even add a small 32MB linux-swap partition but it's not necessary
Then apply the changes, if everything goes successfully and you are still getting remount errors, then try reflashing your ROM or a different ROM
(I'm assuming your rooted)
If you still have no luck, then your card is bad
I just found out that Clockwork can only handle ext3 partitions - at least my version (2.0.1.4). If I create partitions using ROM Manager, it creates a ext2-partition. Only after I changed it to ext3 using linux I could mount the partition in Clockwork and perform wipes and backups.
Don't know if or what I did wrong, but it certainly didn't work for me (tried with multiple versions of clockwork and several times).
shoey-n said:
You can use ROM Manager from the Android Market and there's an option to Partition SD Card under utilities, just install the recovery first and it will work fine.
d
Click to expand...
Click to collapse
Even after doing that, everything in the rom manager is dimmed. I mean only the flash clockworkmod recovery and the reboot into recovery are highlighted. Is there somethin'g I missed?
jondalar said:
Even after doing that, everything in the rom manager is dimmed. I mean only the flash clockworkmod recovery and the reboot into recovery are highlighted. Is there somethin'g I missed?
Click to expand...
Click to collapse
is your phone rooted or not?
wolvie77 said:
Hi! all. need to know how to partition SD Card for Desire. Any tutorials i can follow?
Click to expand...
Click to collapse
Introductory Remarks:
- Ext Partition is only needed if your rom uses App2SD+ (Froyo app2sd works with basic Fat32 partition)
- Ext partitions are only visible in Linux = Windows can't see it.
- You can check if you have a working ext partition with Quick system info (in app market)
- On first reboot after partition, android will move some apps to the SD, this will take a lot of time. Some people have reported a bootloop on green HTC Screen, one reported a need to Battery pull 4 times before it finally worked), so be patient!!!!
Now the tutorials:
Easiest way is to install Rom Manager:
1) install rom manager
2) choose partition sd card
- 512mb ext
- 0 swap
3) let RM do the rest... ;-)
Another one is using Gparted:
(copied this from http://wiki.cyanogenmod.com/index.php?title=Apps2SD)
For a great Linux GUI alternative, use Linux 'GParted' a GUI based partition editor. (Designed for and found standard in the GNOME desktop environment, but can also easily be install in other desktop managers such as KDE and others.) Backup your SD card before you start ! The following steps will wipe the contents !
You can use a livecd of GParted, or use it from within Ubuntu (vid: http://www.youtube.com/watch?v=sVK-tJe8pXE&feature=related)
1) Connect your phone to your computer (or use an SD Card adapter...., in this case skip to 4))
2) Pull down the notification bar and mount the phone
3) Start Gparted
4) Gparted will search available drives. (Your phone should show up as a USB drive, and will be something like /dev/sdb1 or /dev/sdc1, etc..)
Warning: double-check you've not selected a hdd by mistake!
5) In the upper right corner, select the correct USB device for your phone. (i.e. check to make sure it is correct size for your SD card)
6) Right click on each partition and select 'unmount'
7) Right click on each partition and select 'delete'
If you know what you are doing, you can re-size the partitions and add a new 2nd partition formatted as ext2/3/4
8) Right click on the big gray bar (should say unallocated x.xx gb) and click 'new'
9) Enter configurations
Free Space preceding = 0
Create as = Primary
New size = [don't touch]
File system = fat32
Free Space Following = 512 (or whatever you want)
10) Click add
11) Right click on the big gray bar (should say unallocated x.xx gb) and click 'new'
12) Enter configurations
Free Space preceding = 0
Create as = Primary
New size = [don't touch]
File system = ext2/3/4 (recommend ext4)
Free Space Following = 0 (or ~32 if you want swap)
Click add
13) Click edit, then 'Apply All Operations' to write changes to disk
14) Quit GParted
15) Unmount your SD Card
16) Reboot your phone
This is what I've found so far, as the easiest method.
Another tutorial can be found under: http://androidcommunity.com/forums/f9/how-to-create-ext2-partition-14232/
or
http://forum.xda-developers.com/showthread.php?t=534714 this is one way to do it.
What I don't know for sure:
- If the size of the ext partition matters?
- What ROMs require ext partitions?
- If Class 6 SD cards really are that important (some webpages say that class 2 cards are not able to handle ext2 partitions and end up bricked.
- How to manage the contents in the ext partition when changing SD Cards...
- How to check if you bricked your sd card...
- etc...
Good Luck
chrysochire said:
What I don't know for sure:
- If the size of the ext partition matters?
- What ROMs require ext partitions?
- If Class 6 SD cards really are that important (some webpages say that class 2 cards are not able to handle ext2 partitions and end up bricked.
- How to manage the contents in the ext partition when changing SD Cards...
- How to check if you bricked your sd card...
- etc...
Good Luck
Click to expand...
Click to collapse
By the way, if anyone reads this, I would love to make this topic a sticky, so as to answer all questions related to SD Cards...
chrysochire said:
CUT.....
Good Luck
Click to expand...
Click to collapse
Very nice guide. Thanks soo much for this explain.
Very cleary!
hi i am using GParted to partition ext3 for use with apps2d but i have tried several times without success
after booting up the phone, i see a blank sd card.. i.e. not mounted in my Desire..
wondering what i m doing wrong,, or is there another method to do it?
From the Clockwork Mod recovery, I cant partition the sd card too.. and have also tried without any success via the ROM Manager...
Warning! Noob question ahead:
Why wouldn't you just take the new SD card, insert it into the phone without partitioning it, and let the Desire handle the whole thing?
I'm completely new to all this (rooting, custom ROMs, A2SD etc.) but have managed to successfully root my HTC Desire (using unrevoked), install OpenDesire 2.3, and partition the SD card using ROM Manager. I rebooted and my installed apps are showing as being on the SD card in Settings > Applications > Manage Applications but with different names (e.g. instead of 'Titanium Backup' it's now 'com.keramidas.TitaniumBackup') and the icon is a default black Android/SD card rather than the app icon. When I go into the launcher my installed apps aren't there and they're not listed when I try to add a shortcut to the homescreen.
Have I done something wrong? Or is there an additional step I don't know about?
Ah, it looks like I did something in the wrong order - I'd already downloaded and installed Titanium, then moved it to the SD card under Froyo A2SD, then partitioned the SD card...
I reinstalled Titanium and everything's fine.
I am still interested in that:
mysteryfr said:
Why wouldn't you just take the new SD card, insert it into the phone without partitioning it, and let the Desire handle the whole thing?
Click to expand...
Click to collapse
Hi Guys,
I need some serious help. I have rooted the desire, flashed to leedroid 1.4c rom, but have been left with no SD Card and now I am trying to mount the sd card in the desire as it no longer recognises it...
i can have rom manager loaded but it can't see the sd card..
i dont have A2SD or partitions on the sd card, i can put the card in the laptop and write to it..problem is i am on a windows lappy so no linux..i know i can make a live cd but i'm not up to that..i dont think..
is there a guide i can have to get the sd card mounted on the desire running windows...i have got android sdk on the pc but i have nfi how to use that either...
all help appreciated...
XClemX Try this: (hopefully you've backed up your SD card to your PC!)
go to Settings, Sd & Phone storage,
click on format SC card.
That should get your card recognised.
Thanks Depaor,
The SD card isn't seen in that either...i'm attempting to make a gold card now to see if i can get it to work that way...fingers crossed...
is your card visible from card reader on pc, or from other phone?
If it is, just format it in FAT32 on your pc, and it will be fine... also, always check if phone is in "charge only" mode before disconnecting usb...
Will a non-rooted Android phone read a card formatted as ext3 or ext4? Just curious.

Confused with App2SD

Hi!
I'm using DeFrost 1.8 and I think that my confusion will be same on any other FroYo ROM.
I know that DeFrost has Apps2SD buildin and cause it's a FroYo ROM, already have the FroYo-style Apps2SD.
I must confess that i don't care where my apps are installed. I just supose that are stored on SD card using old-Apps2SD method.
Now, I've installed App2SD from Market and show some apps that are on internal memory and some on SD card, but there are lot more apps that I have installed on my phone that don't show up on this app.
Now, I'm very confused with this.
When I install a new app from Market, in what location is installed ? Internal, SD card using App2SD-old or App2SD-FroYo ?
How can I select the default location for new installations ?
I have SpareParts from LeoFroyo and App2sd location is on 'Default'. This means internal memory or old-style App2SD or what ?
If my ROM has buildin old-style App2SD, I can suppose that 'default' means this method. Or not ?
Is your SD card setup for old-A2SD with an EXT3 partition? If not, then they'll either go on the internal memory or the SD card using FroYo-A2SD (although not all apps are installed to the SD card as the creator may not have updated them yet)
Another question:
I actually haven't any Ext3 partition and may applications already installed, some on internal memory and some with the froyo-a2sd on the sd card.
I would like to create an Ext3 partition. I was thinking about the following steps:
- backup the fat32 content of the sd
- create a 1Gb ext3 partition
- restore the content of the Fat32 partition to SD
The problem is:
I will probably lose all the applications installed on the internal memory
Is it right? How can I solve this? Do I have to move everything to the new partition?
Which directories do I have to copy on Ext3?
Is sufficient to backup everything with Titanium and the restore once the Ext3 has been created?
Another problem is:
I started the system with an Ext3 partition and I couldn't access any application I installed before. Is there a way to recover those applications?
Once I erased the Ext3 partition (without installing anything on it) the phone started a boot loop.
What if I create the Ext3 before installing the new rom?
Thank you in advance.
Regards,
Daemon
EddyOS said:
Is your SD card setup for old-A2SD with an EXT3 partition? If not, then they'll either go on the internal memory or the SD card using FroYo-A2SD (although not all apps are installed to the SD card as the creator may not have updated them yet)
Click to expand...
Click to collapse
Yes, my SD card have an ext3 partition. So, the apps that don't appear at the App2SD applicaction, it's supposed that are on the ext3 partition ?
Then, why I have some apps in internal memory and other on FroYo-app2sd and the rest on ext3 part ?
I can't understand this.

Development Idea

Well here is my idea. Could we possibly partition the FAT32 part of our phones into more then one partition.
Saying like we could have a few FAT32 based partition, A Primary, One for roms/patches, then etc.
That way when we format the primary, it doesn't delete the roms we could flash. So we didn't need to hook up the phone to the computer to copy roms back over.
I know Recover firmware would need to support this. But it's just a thought.
I'm not really an expert at this, but doing a full wipe and installing a new ROM doesn't wipe the contents of your SD Card. Are you saying partition the phone's internal storage? What's wrong with just storing the ROMs on your SD card?
BlueScreenOfTOM said:
I'm not really an expert at this, but doing a full wipe and installing a new ROM doesn't wipe the contents of your SD Card. Are you saying partition the phone's internal storage? What's wrong with just storing the ROMs on your SD card?
Click to expand...
Click to collapse
I meant like partition the SD Card into multiple partitions, So when you erase the SD:Ext and the FAT32, the ROM Partition doesn't go with it.
So example
SD:Ext - Partition 1
FAT32 - Partition 2 (Default SD Storage)
FAT32 - Partition 3 (ROM Storage, Backup Files)
So when you partition the SD Card though the Recovery it will only format Partition 1 and Partition 2, So if you left somewhere wtihout your computer and tweaking your phone, You could use partition 3 and access your ROM files and backups without going though loops for them.
What recovery are you using. I'm still not sure what you are talking about? I have no problems accessing my roms and kernels. You can do it plenty of ways and not do what you are talking about..
Use root explorer. Can transfer from download folder or if you made a certain folder on SD card for them you can copy paste them to the root directory on SD card if you use RA recovery. Clockwork you can go through every folder looking for the zip using clockwork unlike RA recovery which needs it to be in root of SD card. Your making it hard on yourself..
Why would you want to wipe fat32 and partion?
Sent from my PC36100 using XDA App

SD card refuses to format and applications frequently crash

As the title suggests my SD card (Sandisk class 6 16GB) has been acting up as of late. Apps frequently crash en masse (Using Sandvold's ICS rom with A2SDX). When I put a new rom onto the root of the SD card and delete 0.16.1 (since it's broken), the new rom remains when flicking through windows on my desktop but when I enter recovery, the new rom (and any new folders I make- Which as soon as I make on the desktop and click to go into them, they're full of gibberish files and folders which when clicked spark up "Can't be opened" errors) disappear and 0.16.1 has reappeared (As if I hadn't touched the SD card at all). I try and counter the mass app crashing by restoring a previous backup but when it reaches "Restoring SD-ext" it brings up "Error while formatting /SD-ext" (But strangely rom installations flash to SD-Ext just fine without an error) (I'm using 4EXT recovery). Strangely the backup acts fine even with this error (but around every 3 days after a restore or update of apps, they crash again). If I try and format the Fat32 partition on Windows 7, regardless of a quick format or slow one, it always comes back with "unable to format" (This error occurs with both third party programs and window's Disk manager/explorer).
Is this a sign my SD card is dead/dying or is it just a fluke and can be fixed?
Any help is appreciated.
Try partitioning and formatting with 4ext. It is supposed to be stable. But all roads finally lead to gparted which is the standard linux tool. There is a guide in my signature.
like handy says use 4ext recovery. Make ur sdcard all fat32. in recovery go to
tools/partition sdcard/ remove all partitions and start from scratch/
skip
skip
skip
this will make sdcard fat 32
then in tools format sdcard (twice)
this will definitly wipe it clean. then partition ur sdcard to whatever ROM requires. this should sort out sdcard. try installing ur rom without restoring any backup coz ur backup could also be the problem.
PS: try another rom, not ICS :sly:
Sent from my HTC Desire
Tried formatting using 4EXT. Strangely it tells me the format was a success but files etc are still on the card. Tried Gparted and it seems to remove the Ext 4 partition and format the entire card but when it reloads the drives, the partition is back and so are my files. It seems there's no means to actually format it.
Just buy a new card, it is cheap

Categories

Resources