Ap2sd problem - Hero CDMA General

well i had a2sd on my sd card and i formatted it. it shut off i put in my other sd card and nandroid restored it. I tried to partition my sd card again it worked then i upgraded my ext2 to ext3 and i flashed the a2sd then it rebootes and it gets to the black screen back to the HTC Screen over and over again. Instead of trying to repartition my sd card there is a a place that says repair :ext Should i try that?? or if anyone knows anything i can try it would be appreciated.

neveremind i repaired it and it worked fine...Sorry

download terminal emulator
type
#su
#a2sd check ((to check the status)) if not installed
#a2sd install
#a2sd cachesd
reboot
done

type
#su
#a2sd check
when i do it, it shows to me
a2sd: not found

Related

Corrupted SD Card

I'm running CM 4.1.11.1 I think and just recently new apps wouldn't install, so I rebooted and all of a sudden all of the apps just turned into the standard icon and none of them said they were installed except for like 3 or 4 of them. I think the SD card is alright, but must have some kind of error in the ext filesystem as I can see all of the files on the FAT32 portion just fine. Do you guys know of any way to just fix the errors on the ext portion without reformatting it? Or do I have to kill all of the partitions and redo them?
You could use the repair ext filesystem option if you are running a recovery image that has it (Cyanogen 1.4 or RA 1.2.3) or just reformat the ext partition using gparted under linux.
Yeah, the repair ext thing didn't work. I think I may just have to clear off the entire card and start from scratch.
I got the same problem
then I backup all the apps up with: tar cvf /sdcard/backup.tar /data/app/*
then copy backup.tar to your desktop pc
then reformat your tf card and repart the partitions
when it's done,move it to your tf card FAT32 partition again
insert to your Phone
the install CM ROM
when it's done
enter the terminal or adb shell
cd /data/app
tar xvf /sdcard/backup.tar
(if it says read only filesystem something you can try reboot )
then check to make sure all the .apk files are under the /data/app directory
then type
fix_permissions
when it's all done reboot
if some apps' error
reinstall them
that's all I did
good luck to you ;-)
oh,I suggest that the size of your ext3 partition should under 400MB
that't the key to solve the problem I thought

[Q] Clockwork/ROM Manager broke my sdCard

I'm not sure if there's a thread already for this, but since I partitioned my SD card with Rom Manager and ClockworkMod, it hasn't worked properly.
I installed WildPuzzle 8.0.8 and followed the instructions to partition it. Phone rebooted into ClockworkMod and formatted is as per usual, but now whenever I try to put the card in any of my laptops, I get a read-only error. I tried looking at it in Linux and Gparted tells me there's something wrong with the cylinders.
Is there a way to fix this? Or should I just grab a new card? The card itself is only a few months old so I don't think it's age.
Thanks for any help or tips you guys can throw at me.
try in linux under root to type fsck (shearch google i dont now english very well) and will work after i think
try to format sd in fat32 in paragon partition manager and add new partition for SDcard E or F or Z.
lesa0208 said:
try to format sd in fat32 in paragon partition manager and add new partition for SDcard E or F or Z.
Click to expand...
Click to collapse
tried everything I could find on linux and windows but no luck. I threw the card out and ordered a new one.

Guide to partition SD card and use with Link2SD to store apps

I have been looking for something like this for a while. The flipout lacks internal memory and it soon becomes a problem if you want to have a good set of apps.
Here's what you'll need:
1. Rooted Flipout (I won't post instructions to this step, look for "Universal AndRoot")
2. Partitioned SD card (see below for instructions), depending on the method, you might need a phone with CWM to do this and ADB installed on your PC.
3. Download Link2SD from Market
So here are the steps:
1. Partition your SD card. There are many ways to do it. I will post two ways:
Use MiniTool Partition Wizard Home Edition
My PC didn't like this tool and I wasn't able to use it. However, it should be quite easy, you just need to put your card in a card reader and build two partitions with the following characteristic:
First partition will be your main card partition, should be of the whole card size minus the extended partition you want to create
Second partition should also be fat32 (link2sd didn't like ext2 nor ext3 on the flipout, it only worked with fat32)
Use CWM. I personally didn't want to install it on the Flipout, so I used a Samsung Epic 4G for the steps. You should be able to use any phone with CWM to do it, put your SD card in the phone with CWM and boot into recovery:
adb shell reboot recovery
parted /dev/block/mmcblk0 (open partition manager for SD card)
print (prints partition table)
Here you should have one partition table, starting at some point and ending at some point like 7969 if your card has 8GB. Take note of the End value as you'll need it.
rm 1 (deletes partition 1, this will erase all data on the SD card)
mkpartfs primary fat32 0 7425 (creates a new primary partition, the second number should be the value you took note of in the last step minus the size in MB of your desired extended partition).
mkpartfs primary fat32 7425 7937 (creates the new partition for applications, starting at the end of the last partition and ending on the max size of the card. In this case I used fat32 as I couldn't do it with ext3 nor ext2, link2sd didn't like this format on the flipout for some reason).
The partitions are created and you should be able to go to the next step.
3. Reboot your flipout with the partitioned SD card, make sure to have link2sd installed.
4. Open link2sd, it will take a while, ask for root permissions (always accept and make sure to have Remember checked).
5. It will ask for the partition type, select fat32. If you are asked to reboot your phone you have everything setup, otherway please post your problem.
6. Once rebooted, open link2sd again and go to settings and configure. I don't like having all applications automatically linked as widgets and this kind of apps can fail if they are on the SD, so I have this setting unchecked. However this is a personal decision.
7. To move an app to the card, hold your finger on it and when the menu appears, press link and confirm.
8. To move an app from the card to the phone, hold on it and press unlink, check everything and wait for the app to be returned.
Further Tips:
Avoid moving apps to the SD that are use widgets or that run all the time like: messenger apps, alarm clocks, climate widgets, etc. I tried one or two without any failure but I feel they could be less reliable this way.
Don't remove your SD card if the phone is turned on, now it has a partition that is used by the system, if you remove it you could have issues, I would only remove the card with the phone turned off completely and not boot without the card.
I made some tests connecting the USB cable to the PC and using the phone in storage mode, the PC could see the primary SD card partition and the phone could still work with apps on the second partition, so it seems to be stable in this sense.
If you need to switch to another card, you would have to setup the new card in the same way; I don't know yet if backing up the second partition and restoring it to the new card will work. If your data is critical use some SW like Titanium backup to back up the apps that are linked, remove them completely and restore when you have the new card setup.
So, this has worked for me like a charm, the phone really seems stable and I have so far like 150MB of apps on the SD card. No need to have a newer Android version, it seems very stable.
Disclaimer:
Any process that involves rooting your phone and partitioning can potentially cause data loss and/or bricking your phone. Do this only if you are 100% sure of what you're doing, I will take no responsibility for any data loss / damage caused by this process.
If you have any questions I will be glad to help.
Hi great post above
I rooted my phone and I partitioned my sd card into 2 partitions , both FAT32 primary 3.7GB and when i open link2sd and select either ext 2 or ext 3 I get an error message
"Mount scrip error
Mount scripe cannot be created.
mount: no such device
ext 2 may not be supported on your device. Try FAt32 on the second partition"
Has anyone come accross this problem before ?
Hi,
When you open link2sd,scroll down and select fat32. I tried formatting the second partition with ext2 and ext3 wit no luck. Fat32 is working just fine.
Regards
Hi Thanks a million that worked great
thanks
hi i tried wat u told but after some time link2sd is showing failure that "cannot link readonly" can u help me
Your guide works great. Finally I can have all apps I like to have installed at once.
mschmiedel said:
[*]If you need to switch to another card, you would have to setup the new card in the same way; I don't know yet if backing up the second partition and restoring it to the new card will work. If your data is critical use some SW like Titanium backup to back up the apps that are linked, remove them completely and restore when you have the new card setup.
[/list]
Click to expand...
Click to collapse
I can tell some experiences with backups.
Before I had blur stock rom with link2sd and changed to deblur central europe rom. After reinstalling link2sd all apps where still gone.
And even after restoring all user apps with titanium backup they were restored to phone memory. I had relink them with link2sd manually and to batch restore with titanium backup twice because it broke down in the middle because phone memory was full.
Unfortunately link2sd is no magically way to have them backed up apps and to be independent from the rom. Titanium backup is still needed but that is fine. Nothing seams broken after restore with TI and relink with link2sd.
lovdanie, it's strange, had no issues with the tested phone yet, I partitioned 500mb and it has already like 200-250MB of apps linked and is working great, no issues.
One thing that could have happened is that you removed the SD card. Are you sure the SD card hasn't been touched or formatted?
bagers, it's not really a magical solution, it's just a way to get more space on a phone that lacks internal memory...
Regards
Just for some info.. under windoze try the "MiniTool Partition Wizard Home Edition" makes partitions like charm..
Guys any one have links for disk partitioners? minitool is not a freeware as u have t buy it when you apply the partition. any one know a way roubnd this? please help
miniProBhashi,
That's why I always use CWM to partition the SD card. As I don't have it on the Bllur, I put the card on another phone I have with CWM and it always works... Maybe if you have a linux PC you could do the same thing...
Regards
Help
Hi, I just partitioned my SD card. When I open the Link2SD app, it did prompt me to select the file system of the SD card's second partion, however, after I select FAT32/FAT16, Link2SD could not gain root access, there's no pop-up of indicating me to select "Allow" on the Superuser Request. Now wot do I do. Please help, thank you...
Well, I would start checking the SuperUser app to see if there is some exception in there. If you don't have it, check out if your phone is rooted by installing some other app that requires root access.
If not, check the root method for your phone.
If it's the Motorola Flipout, download version 1.6.1 from this thread, install it and run it:
http://forum.xda-developers.com/showthread.php?t=747598
Regards
mschmiedel said:
Well, I would start checking the SuperUser app to see if there is some exception in there. If you don't have it, check out if your phone is rooted by installing some other app that requires root access.
If not, check the root method for your phone.
If it's the Motorola Flipout, download version 1.6.1 from this thread, install it and run it:
http://forum.xda-developers.com/showthread.php?t=747598
Regards
Click to expand...
Click to collapse
My phone is Galaxy ace, and superuser doesnt prompt anything on start-up.
Tried rooting manually, doesn't work as well
Hi,
I would try on a Galaxy Ace forum to check for the rooting process and validate if your phone is really rooted. When you are 100% sure you have root you can come back to this post and we can check if there's some other issue...
Regards
Flipout problem
Done all u told...
Then this problem came..
Mount script cannot be created.
mount: Invalid Argument
p0kjats said:
Done all u told...
Then this problem came..
Mount script cannot be created.
mount: Invalid Argument
Click to expand...
Click to collapse
Hi,
Have seen similar problems when using ext filesystems. Are you 100% sure that the secondary partition on the sd card is fat32? It really should work on the flipout without any issues.
Remember that you need:
* Rooted flipout
* Partitioned sd card (secondary partition must be fat32)
* Link2sd opened and allowed to use root permission
If you are sure you did everything stated above, we can look at it with more detail. What tool did you use to partition the sd card?
root permission
hi,
i have installed Link2SD from Market to my lg optimus p500 os,gingerbird2.3.3,when i stared to move app to sd it asks root permission.
so pls guid me to activate root permission in my device
drnags said:
hi,
i have installed Link2SD from Market to my lg optimus p500 os,gingerbird2.3.3,when i stared to move app to sd it asks root permission.
so pls guid me to activate root permission in my device
Click to expand...
Click to collapse
Hi,
It doesn't make much sense to use Link2SD if you're on Gingerbread as your OS natively can copy apps to the SD card (at least some of them). Just go to "Manage Applications", and select the app you want to copy, there should be an option to "Move to SD"...
If you still have some good reason to use Link2SD, you should first look in a forum for your specific device to find out how to obtain root (I cannot help because it varies for each device)... Once you have root access, I can help you out with this process.
Regards
miniProBhashi said:
Guys any one have links for disk partitioners? minitool is not a freeware as u have t buy it when you apply the partition. any one know a way roubnd this? please help
Click to expand...
Click to collapse
When I partitioned mine I used GParted Live. It's a Linux-based boot disk, but you don't really have to know anything about Linux to use it. Just download the .ISO and burn a CD, pop it in your PC and boot off it. Its free, graphical (not command line) and relatively easy to use. There is also an option there to set it up to boot live off a USB drive, but that's a bit more involved to set up.
gparted . sourceforge . net / livecd.php (sorry, it won't let me directly post links yet)
If you can burn a .ISO to a CD, you can probably figure it out. Just make sure you pay attention to which disk you are partitioning (look at the sizes) so you don't accidentally re-partition the hard drive in your PC.
EDIT: If there is anything you need to back up off the SD card, I would do that in Windows first, and then copy it back using Windows after. You CAN do this with GParted Live but there would be additional steps to mount / unmount the Windows partition on the PC that you want to copy to.
the bootstrapped recovery seems to be having a partitioning tool.
Maybe im wrong, haven't used it though

SD Card not recognized/Android not working

Ok, so here's what I did.
1) My SD Card was partitioned.
I had used Darktremors a2sd a while back to put my apps on SD
2) Today, I copied the contents of my SD Card to my desktop
3) Then, I partitioned my SD Card (swap - 0MB; ext2 - 0MB; FAT32 - remainder)
4) Now, my computer doesn't recognize the SD Card AND Android doesn't work!?
Seriously, it will load to a wallpaper with battery, signal, and time. It even gives me the little USB icon. But, no shell or whatever.
Here is the error I was getting:
E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)
(No such file or directory)
E:Can't mount /sdcard
5) AmonRA will allow me to repartition the SD Card (or so it says), but this doesn't fix the problem.
6) I finally got Fastboot to recognize my device, however running the following commands didn't fix ****:
fastboot-mac oem enableqxdm 0
fastboot oem enableqxdm 0
7) Then, I tried selecting clear storage in the bootloader (why I did this on a rooted phone I'll never know), and now my phone doesn't do anything.
8) About all I have going for me is a working recovery and fastboot recognizing my device. No OS, no SD Card, and no way of flashing anything.
What do I do!?
With phone off,
Hold down volume up and power.phone will vibrate .when done pull battery.
Hold both volume up and down and power. Phone will vibrate.when done pull battery.
Go back into RA and try to clear SD card. If no errors , partition your SD card and reinstall every thing fresh.
Do you have a Linux distro such as Ubuntu? If so you can use the program gParted to format the SD card to fat32 then put card back into phone and go to recovery and format the card there power off phone put SD back into computer and reload your backup then put back in phone and boot to recovery clear cache and dalvik cache, fix permissions(uid mismatches) the clear cache and dalvik again and reboot card should now work properly for some reason the partitions get stuck when trying to remove them in recovery only and removing them with gparted and then formatting in recovery fixes the block errors it seems like there is a few MB of bad data that sticks that android wont format over but gparted will
We are legion, for we are many.
[/COLOR]Don't pull the battery out on a rooted phone when it is loading, the software could get damaged. Also, using factory reset on a rooted phone using the bootloader may damage the phone. Always reset using recovery mode for safety.
Hulkanator said:
With phone off,
Hold down volume up and power.phone will vibrate .when done pull battery.
Hold both volume up and down and power. Phone will vibrate.when done pull battery.
Go back into RA and try to clear SD card. If no errors , partition your SD card and reinstall every thing fresh.
Click to expand...
Click to collapse

corrupted sd card help please

how to fix corrupted sd card ??
Please help me
shafeel said:
how to fix corrupted sd card ??
Please help me
Click to expand...
Click to collapse
Format it. It will wipe everything though
Any solution can I fix without format?
shafeel said:
Any solution can I fix without format?
Click to expand...
Click to collapse
Pull it out stick it in your PC and let it fix it. I had this happen to me all the time. I got a new SD card, but its starting to do it again. Not sure if its my old phone or software.
Sent from my SM-N920P using Tapatalk
shafeel said:
Any solution can I fix without format?
Click to expand...
Click to collapse
If you are rooted or use custom TWRP recovery you can fix it without take it out from your phone.
First if you are rooted but don't have TWRP:
Unmount your microSD
IT IS VERY IMPORTANT TO UNMOUNT YOUR MICROSD BEFORE YOU CONTINUE OR YOU MAY LOSE YOUR DATA FOREVER
Install Terminal Emulator
Open Terminal Emulator
Type : su then press ENTER
It should trigger Super SU permission if you haven't allow it.
for ExtFAT formatted microSD type: fsck.extfat -fp /dev/block/mmcblk1p1 then press ENTER
Wait until it finish.
Mount your microSD
If you have TWRP:
Enter TWRP Recovery
Go to mount section
Unmount MicroSD
IT IS VERY IMPORTANT TO UNMOUNT YOUR MICROSD BEFORE YOU CONTINUE OR YOU MAY LOSE YOUR DATA FOREVER
Mount system partition
Go to Terminal
Type: cd /system/bin then press ENTER
for ExtFAT formatted microSD type: fsck.extfat -fp /dev/block/mmcblk1p1 then press ENTER
Wait until it finish.
Reboot
Important notes:
the command line may differ a little bit for each ROM/kernel/busybox but the main point is you can fix corrupted microSD from within you phone without formatting it.

Categories

Resources