Can't access SD card, halp! - Android Software/Hacking General [Developers Only]

Hi everyone, looking for a little guidance.
Phone: Android G1 (Rogers Canada Dream) running Cyanogen 4.2.15.1, been running fine since 4.2.6.1
Removed SD card while it was on and it rebooted... when it restarted it showed no applications and said the SD card was inaccessible and required a format. After rebooting a few times with no success I bit the bullet and formatted it... all apps are gone except for the ones that are on that image for Cyanogen. I have no market app to download new apps and when I plug it into my PC and mount it I don't see it show up as a drive like it did so I have no way to get the apps back on.
Has anyone had this happen before? Phone still works but I need to get it back to a state where I can get access to the SD and install the market... Any suggestions appreciated!!

There is a thread on the HERO section of Modaco site called "no adb, no sd". I think the 1st post on the last page MIGHT help. There are adb commands you can run to see if the phone has randomly stopped accessing the SD. Worth a shot.
PM me if you have trouble finding the thread n I'll have a look when I'm at my laptop.
Sent from my HTC Hero using XDA App

I misunderstood I think.
So it is now showing an sd present? Have you tried formatting in a pc?
Tried reboot without the sd in, then insert once fully booted again?
Sent from my HTC Hero using XDA App

I remove the SD Card, formatted it in my PC put it back in the phone and I can store pics and vids on it and access them but cant see or access it from the PC when in the phone. I also have no file browser so I cant install any apps or even access the market icon is gone).

D RoiD said:
Hi there! I had posted on the forum with the G1 issue where my SD card seemed to have died.
http://forum.xda-developers.com/showthread.php?t=738105
I have since removed the SD card and reformatted it, I can store pics and vids and replay them so the card is fine. I tried letting it boot up then adding the SD card when booted, that caused it to reboot, same issue...
Not having access to the card, I cant install any apps or browse the SD to install from there... really sucks
I'd be willing to blow it away and restart too and install CyanogenMod-5.0.8 but I need some guidance.
Click to expand...
Click to collapse
I got your message pal....
Ok,.... So pictures and videos taken with your phone camera DO save to your SD?.... and you CAN access them on your phone OR if you put your SD into your PC/Lappy?... But not when trying to "mount SD"?
Or have I got that completely wrong?.... Did you put pics&vids onto it through your PC, and thats the only access you get to it?

ddotpatel said:
I got your message pal....
Ok,.... So pictures and videos taken with your phone camera DO save to your SD?.... and you CAN access them on your phone OR if you put your SD into your PC/Lappy?... But not when trying to "mount SD"?
Or have I got that completely wrong?.... Did you put pics&vids onto it through your PC, and thats the only access you get to it?
Click to expand...
Click to collapse
Pics taken DO save to me SD. I Can access them from a PC is I remove the SD and put it in the PC. Not when I plug the phone in via USB then tell it to mount.
I just did a low level format, same issue.
UPDATE: Just tried the Android System Recovery and Toggle USB-MS and it shows on my laptop now! Going to try the recovery backup now.

aha,... so its just a mounting issue, not that the hardware has turned itself off.
Once when using an older ROM (maybe Villain 10?) we had this same issue, not able to mount SD,... going into Settings --> Connect to PC --> and turning off Notify/ask me solved the problem.

I just partitionned it using:
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with, the details should be straight forward)
rm 1
rm 2
mkpartfs primary fat32 0 7500
mkpartfs primary ext2 7500 7948
quit
upgrade_fs
reboot recovery
Then put CyanogenMod-5 For Dream/Magic on the SD and renamed it update.zip
I'm in Android System recovery now and just did a nandroid backup.
I should be able to WIPE then FLASH UPDATE IMAGE right?

D RoiD said:
I just partitionned it using:
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with, the details should be straight forward)
rm 1
rm 2
mkpartfs primary fat32 0 7500
mkpartfs primary ext2 7500 7948
quit
upgrade_fs
reboot recovery
Then put CyanogenMod-5 For Dream/Magic on the SD and renamed it update.zip
I'm in Android System recovery now and just did a nandroid backup.
I should be able to WIPE then FLASH UPDATE IMAGE right?
Click to expand...
Click to collapse
Yes, if you have the ROM image on the SD Card (FAT32 partition), you can go flash the image.

akapoor said:
Yes, if you have the ROM image on the SD Card (FAT32 partition), you can go flash the image.
Click to expand...
Click to collapse
Stupid question but when I wipe will it delete my contacts as well?
I assume yes but...

D RoiD said:
Stupid question but when I wipe will it delete my contacts as well?
I assume yes but...
Click to expand...
Click to collapse
If your contacts are saved in the phone's memory, then yes. Any settings, apps, configurations that are stored on the phone will all be gone.
A wipe pretty much gives you the factory settings. (As if you just bought the phone) So you'll have to re-signin into your Google Account and let the Contacts Sync, etc..
EDIT: Depending on what you are flashing (flashing and wiping are two different things), you may not even need to wipe.

Hmmm I tried flash update image and got:
E: Cant open /sdcard/update.zip (No such file or directory)
When I mount it in system recovery I see the LOST.DIR and update.zip

D RoiD said:
Hmmm I tried flash update image and got:
E: Cant open /sdcard/update.zip (No such file or directory)
When I mount it in system recovery I see the LOST.DIR and update.zip
Click to expand...
Click to collapse
Try this:
-Confirm the Image-
1) Make sure you have the full image you are going to flash. (Compare MD5 Hashes and/or just redownload the image)
2) Make sure the image you are flashing is the in the ROOT directory of your SDCard. In other words, it shouldn't be in any folder.
-Flash the Image-
1) When in Recovery, choose to flash an image.
2) Depending on what recovery you have, you may have to select/find the Image you want to flash.
3) Flash the image
-Wipe (Depends)-
1) If you are coming from a different ROM base (ie anything -> cyan), you'll want to wipe.
2) After the phone successfully flashes the image, wipe the phone.
Reboot.
Let me know how it goes.

I pulled the new image from: Latest version: 5.0.8-DS - 06/19/2010
Download: http://cyanogen-upda...8-DS-signed.zip
but it says no such file or DIR... weird...
The only partition I can see on my PC to put it on is the main partition...
I just downloaded the file and renamed it update.zip

D RoiD said:
I pulled the new image from: Latest version: 5.0.8-DS - 06/19/2010
Download: http://cyanogen-upda...8-DS-signed.zip
but it says no such file or DIR... weird...
The only partition I can see on my PC to put it on is the main partition...
I just downloaded the file and renamed it update.zip
Click to expand...
Click to collapse
I just realized the main reason that you posted this topic. From what I am assuming, either:
a) Your SD Card reader is dead
b) The software isn't recognizing the SD Card reader.
Best bet at this point is to setup ADB (ADB For Dummies) and flash the image from your computer. It can get a slight bit complicated, but just slowly go through each step for installing ADB.
Once ADB is set up, you can flash the image from the computer.

akapoor said:
I just realized the main reason that you posted this topic. From what I am assuming, either:
a) Your SD Card reader is dead
b) The software isn't recognizing the SD Card reader.
Best bet at this point is to setup ADB (ADB For Dummies) and flash the image from your computer. It can get a slight bit complicated, but just slowly go through each step for installing ADB.
Once ADB is set up, you can flash the image from the computer.
Click to expand...
Click to collapse
The SD card reader in my phone? It has to work if I can read an write to it ( tested photos and videos) and in recovery I was able to make a backup.
If its the software I need to flash it then right? ADB does make me nervous as I only used it once... I just tried using the terminal emulator on the phone to flash a recovery image I had made while back:
cd /sdcard
flash_image recovery /sdcard/recovery-backup.img
and got the message "error writing recovery: Permission denied"

D RoiD said:
If its the software I need to flash it then right? ADB does make me nervous as I only used it once... I just tried using the terminal emulator on the phone to flash a recovery image I had made while back:
cd /sdcard
flash_image recovery /sdcard/recovery-backup.img
and got the message "error writing recovery: Permission denied"
Click to expand...
Click to collapse
If you can view the pictures that you saved on the SD card from the phone, then both the software and hardware are functioning correctly.
Regarding the permission denied:
1) What happens if you "su - " in terminal?
2) First try one(1) ^ and then try to reinstate the permissions. (In recovery, go to console and type : fix_permissions)
Not sure otherwise.

akapoor said:
If you can view the pictures that you saved on the SD card from the phone, then both the software and hardware are functioning correctly.
Regarding the permission denied:
1) What happens if you "su - " in terminal?
2) First try one(1) ^ and then try to reinstate the permissions. (In recovery, go to console and type : fix_permissions)
Not sure otherwise.
Click to expand...
Click to collapse
Ok I did a wipe and now I see the SD when mounted on the PC with the phone on.
I have my market icon back so I can reinstall my crap.
I'll leave it as is for a bit but appreciate everyones input!!!

Related

[Q] PLEASE HELP!! can't mount SD Card

trying to install rom from sd card (phone has been wiped after trying to install leedroid 3.0.3) and I get the following messages when in recovery;
unable to moun't sd card
E: Can't mount /dev/block/mmcblk0 (or /dev/block/mmcblk0p1)
(no such file or directory)
E: Can't mount /sdcard
HELP!!!!
Does this when I try installing from SD, formatting SD, all sorts. I cna access the card though from the computer when I select mount USB storage.
any ideas? I'm phoneless at the moment. eek. Thanks
westleydan said:
trying to install rom from sd card (phone has been wiped after trying to install leedroid 3.0.3) and I get the following messages when in recovery;
unable to moun't sd card
E: Can't mount /dev/block/mmcblk0 (or /dev/block/mmcblk0p1)
(no such file or directory)
E: Can't mount /sdcard
HELP!!!!
Does this when I try installing from SD, formatting SD, all sorts. I cna access the card though from the computer when I select mount USB storage.
any ideas? I'm phoneless at the moment. eek. Thanks
Click to expand...
Click to collapse
This sort of happened to me before. try downloading and installing the file attached. It should do the trick. N.B- You need to have root access.
ok thanks. I have root access (i think, fairly new to all this, apologies).
How do I run the file??
Thanks.
sorry to be a pain
westleydan said:
How do I run the file?? Thanks. sorry to be a pain
Click to expand...
Click to collapse
Boot your phone (make sure the file is on your phone), then simply select the file and follow the onscreen instructions. After that, select it's icon in the menu and choose to allow it to automatically operate when USB is connected. Then just allow root access and you're good to go. Try your rom flashing again and it should be successful.
hey
thanks for your help, but I currently have no ROM / OS installed on the phone, so can only boot into recovery / fastboot etc.
not into android os.
westleydan said:
hey
thanks for your help, but I currently have no ROM / OS installed on the phone, so can only boot into recovery / fastboot etc.
not into android os.
Click to expand...
Click to collapse
Since you can boot into recovery and access your phone from your computer, then just flash the stock windows mobile rom to your phone. I think that would work and it does make sense. If it does work then you can continue doing what you want after you have done it.
Do you mean flash it via fastboot? I'm sturuggling to get files across from my pc... sorry to be a pain...
I can access the SD card to drag files in recovery. but cant isntall from the sd on my phone.
tried flashing files direct to phone with fastboot but coundt. probably just got it wrong. gahhh.
westleydan said:
Do you mean flash it via fastboot? I'm sturuggling to get files across from my pc... sorry to be a pain...
I can access the SD card to drag files in recovery. but cant isntall from the sd on my phone.
tried flashing files direct to phone with fastboot but coundt. probably just got it wrong. gahhh.
Click to expand...
Click to collapse
Have you tried a different SD Card or a sdhc card? One of them might help.
I haven't tried another card yet no.
I need to purchase one first, hopefully will get chance this week.
Any links to best guide to make a goldcard btw?
Thanks.
westleydan said:
I haven't tried another card yet no.
I need to purchase one first, hopefully will get chance this week.
Any links to best guide to make a goldcard btw?
Thanks.
Click to expand...
Click to collapse
Go here and read my first post [OP]: http://forum.xda-developers.com/showthread.php?t=1052063. Hope this helps.

Official CWM Recovery 5.0.2.7

As Undeads thread has been closed, I needed to start again.
Basically when flashing the new 5.0.2.7 recovery with any method, via Rom Manager or ADB Fastboot the recovery just doesn't work proper.
My sdcard can't mount, hence I can't navigate nor install any roms?
Performing backups & restores don't work for me either.
I've had to roll back to 4.0.0.9, annoying because I want to try out Blues Bulletproof.
Please someone what is the definitve solution to getting the officion CWM recovery to work as I'd expect.
I've even tried a :
fastboot erase system -w
before fastboot flash recovery 'recoveryimage'.img
Rolling back to 4.0.0.9 allows me to do everything as per usual in recovery, but not with 5.0.2.7
I'm really quite baffled with this
1 - Download the recovery via real computer.
2 - Plug in your doubleshot, transfer to sdcard main directory.
3 - Disconnect from computer, use a root file manager (root explorer preferred) to copy the image from /sdcard to /data/local
4 - Open up terminal emulator.
5 - Type:
Code:
su
6 - Then type:
Code:
dd if=/data/local/recovery-clockwork-5.0.2.7-doubleshot.img of=/dev/block/mmcblk0p21
*Make sure all letters are lowercase. You will have to juggle the hardware/software keyboard to get the first "i" after "dd" to be lowercase. Try typing a few characters past it, then using the trackpad to move the cursor back to it. Keep trying the hardware and software keyboards until it sticks as a lowercase "i"
7 - Let it transfer, then exit terminal emulator.
8 - Reboot into recovery, should be good.
**Note - pay close attention to the file name for the image. What Undeadk9 typed into his guide is wrong, what I typed here is correct.
Post if you have any further issues.
Edit:
"if" stands for "input file".
"of" stands for "output file".
dd
One thing I love about the official clockwork recovery is the ability to mount the sdcard while plugged into the computer, and drag and drop files to and from the sdcard while the doubleshot is in recovery mode.
Good luck, hope to see it working for you soon.
Thanks, but still same issues
Hi Blue,
I'm still getting the same errors dude.
I just tried your method, hence I've now tried to install the new recovery with all 3 methods (adb fastboot, rom mamanger and this dd terminal command.)
They all flash/install correct, and when rebooting into recovery each time it looks fine.
But when I try to navigate to 'sdcard' (install zip from sd card/choose zip from sd card... i get "E: Cant't mount /sdcard/"
When I go to mounts & storage/mount sdcard, again I get "Error mounting /sdcard!"
When I attempt a backup, I get this "Can't mount backup path."
I hope you can decipher my mayhem here...... very weird!
Maybe it's my sdcard - however, it works as perfect on modaco 4.0.0.9, I'm unsure on whats going on here
Blue6IX said:
1 - Download the recovery via real computer.
2 - Plug in your doubleshot, transfer to sdcard main directory.
3 - Disconnect from computer, use a root file manager (root explorer preferred) to copy the image from /sdcard to /data/local
4 - Open up terminal emulator.
5 - Type:
Code:
su
6 - Then type:
Code:
dd if=/data/local/recovery-clockwork-5.0.2.7-doubleshot.img of=/dev/block/mmcblk0p21
*Make sure all letters are lowercase. You will have to juggle the hardware/software keyboard to get the first "i" after "dd" to be lowercase. Try typing a few characters past it, then using the trackpad to move the cursor back to it. Keep trying the hardware and software keyboards until it sticks as a lowercase "i"
7 - Let it transfer, then exit terminal emulator.
8 - Reboot into recovery, should be good.
**Note - pay close attention to the file name for the image. What Undeadk9 typed into his guide is wrong, what I typed here is correct.
Post if you have any further issues.
Edit:
"if" stands for "input file".
"of" stands for "output file".
dd
One thing I love about the official clockwork recovery is the ability to mount the sdcard while plugged into the computer, and drag and drop files to and from the sdcard while the doubleshot is in recovery mode.
Good luck, hope to see it working for you soon.
Click to expand...
Click to collapse
I had similar problem, was something stupid. Think usb was still mounted or something. Not plugged into pc, right?
Sent from my RubiX CubeD MT4GS using Tapatalk
if you are using an older version of a rom you have to mount system and data.
Try mounting those and then trying to install from an sd.
If I were you I would do a full wipe /formatsystem/data/dalivk/sdcard. Backup the important things on the sd card to the computer and start fresh with an updated rom and a clean sd card.
You could always try swaping your sd card out but i dont think its the problem. The older roms make running the NEW CWM much more difficult than it should be.
I am not sure it appears you are trying to get an older ROM to run with the new CWM.
dillalade said:
Installed new recovery through rom manager, to 5.0.2.7 and rebooted into recovery.
All seems well.
BUTTTTTTTT when i tried to do a backup of my current virtuous rom i get an error: "can't mount target path"
And then when testing the restore i get an error: "can't mount path /sdcard"
And when testing the wipe & format options, instead of the traditional Yes or No.... I now have like 10 No options and 1 Yes option.
Something seems bogus, ive reinstalled the recovery twice but same effect.
Anyone??
Whats happened to my recovery guys???
Sent from my myTouch_4G_Slide using XDA App
Click to expand...
Click to collapse
dillalade said:
I went back to 4.0.0.9 and I can backup/restore again.
Something with the latest recovery doesn't allow my device to mount and see/work with my sd card..... any advice people?
Where can i get the img file so i can try to flash after a fastboot erase wype.... However i dont see how everyone else has it working and mine mashed.
Click to expand...
Click to collapse
pmcqueen said:
so am I the only one who literally can't get this recovery to work at all? perhaps I should contact koush and get him a log... basically, it won't mount my SD card. sd card is not defective as I can mount it fine through modaco recovery without any issues.
I guess I could try formatting the card and then trying the official CWM recovery again, but until then I'm just sticking with the modaco version.
Click to expand...
Click to collapse
pmcqueen said:
No one with sd mounting issues yet? I'm surprised. I think I know what the problem is though... will update shortly.
Click to expand...
Click to collapse
Conlculsion...?
I'm sure I saw it around here somewhere, hell if I know where off the top of my head. I am pretty sure it involved formatting the sd-card if memory serves right.
I have to go, will be on the road for a bit then tied up with the family of my Lady for a bit, so not sure when I can check back in.
Hopefully pmcqueen happens to see this and posts the missing info that was not updated...
I realize I quoted you from the other thread, so this issue has been hanging for you for a while? We need to figure out how to solve it - wish I could be more focused on your problem at the moment.
Try formatting your sdcard through Clockworkmod.
If you can't try powering off the phone and formatting the card directly in your computer.
It sounds like you have Clockworkmod successfully updated to the 5.0.2.7 version, but now reading the sdcard is the problem.
Can you try a different MicroSD card, do you have another one?
What ROM are you using? Becaause anything that dates before the official ROM.manager release date was unmounted. Basically there was a feature that the new ROM doesn't have. Undeadk9 confimed this in that thread. Everything you need to know is there. They go into full detail as to why it wasn't working. Even decided to open a full wiki about why. Did you even read it?
Basically you have to manually mount. Also in the rom try scrollong down and keep going until it unlocks.
Sent from my mt4gs
Not sure if you already tried this, but if you haven't, try doing:
Get the SD Formatter here and format your sd card (use a card reader if necessary).
Use quick format, but make sure "Format Size Adjustment" was off (all available under options...)
Two reminders:
1. The recommended filesystem for an android SD Card is FAT32
2. Remember to back up whatever you have in the SD card so you can put them back in once you're done formatting
Thanks for all the input guys.
Will try an sd format etc and report back soon.
Cheers
Sent from my Bulletproof_Doubleshot using XDA App
dillalade said:
Thanks for all the input guys.
Will try an sd format etc and report back soon.
Cheers
Sent from my Bulletproof_Doubleshot using XDA App
Click to expand...
Click to collapse
I can almost guarantee you formatting the sd will fix your problems with sd mounting in 5.0.2.7
You won't be able to do it via cwm recovery (it's not able to even recognize the sd, that's why you're having mounting issues) but if you put the card into an sd reader and format it for a normal fat32 partition I bet that fixes it.
So I just thought I'd chime in here...
I recently updated from Modaco to CWM and had this sd card issue however, I have like 10 different sd cards and the first thing I did was put the ROM I was trying to install on a sd card with nothing on it and BAM it worked. I'm going to try and put my 16gig back in after everything settles in the rom and I'll update with the results. tomorrow.
Hi guys,
similar issue here
I can't make a backup or restore, I can't install somethink because I always get "Can't mount sdcard"
any idea?
thanks
Oh damn I completly forgot to post my results.
Sd card needed a reformat, then the new recovery was able to mount sd etc.
Thanks to everyones 2cents in this thread, helped me out.
Enjoy
I've tried to format but without result
Did you try SD Formatter using a PC? I was able to resurrect a dead 16gb microSD using that method.
Sent from my RubiX CubeD Extreme MT4GS using XDA App
1) Download CWM recovery from the main site.
2) Connect your phone to your PC.
3) Open your PC's Terminal.
4) Type "adb shell reboot bootloader".
5) Type "fastboot flash recovery name-of-recovery.img".
6) Type "fastboot reboot".
Sent via smoke signal.
blackknightavalon said:
1) Download CWM recovery from the main site.
2) Connect your phone to your PC.
3) Open your PC's Terminal.
4) Type "adb shell reboot bootloader".
5) Type "fastboot flash recovery name-of-recovery.img".
6) Type "fastboot reboot".
Sent via smoke signal.
Click to expand...
Click to collapse
This works for me.
Boot into recovery 5.0.2.7 and make backup. All good.

[Q] Wiped sdcard. Won't connect to computer

Hey guys,
I goofed. Big time. I accidentally wiped the sdcard in recovery mode when flashing to another rom.
I have her booted into red recovery and mounted the USB mass storage but it isn't showing up on my computer (I have a Mac that is running a dual boot of windows) on neither the windows or Mac side. Positive the drivers are installed on both.
Please help. If I can put a rom onto the card I'll be fine...but I can't get onto the card
Any suggestions?
Could use Odin or heimdall I've never tried to use mass storage while in recovery
Sent from my SGH-I997 using xda premium
Downloading Odin currently. Will post results. I hate my slow school Internet :/
ODIN Worked. Thanks
Wiped SD using CWM
So I had a problem almost the same.
I was using JellyBelly 4.2, and didn't like it. I wanted to go back to Cyan 10.0 and installed the files on my phone. I decided it was a good time to wipe everything, and started to do so. One of the files was the SD format. So I did that, and then wipe/data factory reset. Crap. So now I have no rom installed, and no files on my SD card.
I need help to place my zip files for CM 10 on my SD card (they are on my MAC now). I can't start up my phone to enable file transfer. I can only boot into CWM recovery. Is there a (step by step) way to push files from my MAC onto the SD card? Or is there a different way to tackle this?
I have a GNex (Toro) VZW
MacBook running snow leopard.
I am afraid that anything give me advice on you're gonna have to pretend that I am really dumb and need step by step directions. I tried to push via ADB but got this error, I don't know the correct commands for that. View attachment 1508775 Any suggestions?
It seems you do not have the android sdk set up along with adb.
Is this it?
andros11 said:
It seems you do not have the android sdk set up along with adb.
Click to expand...
Click to collapse
I thought I did. Here is what I have, I just don't know how to force my ROM's onto the SD card using it.View attachment 1508841
FIrst make sure you added the tools directory to your PATH.
There's a guide on how to set up the sdk on a mac: http://peter.boctor.net/2010/12/02/installing-the-android-sdk-on-mac-os-x/
you can skip the eclipse parts.
Of course, make sure you use your own path.
After that, adb should be recognized as a command.
To push, use this:
adb push "file.zip" /sdcard/file.zip
change "file.zip" for the location and name of the zip.
I often place files on my Home directory before pushing since it then only requires I specify the file name.
Problems with ADB path
So this is what I get when trying to install different commands into my path. I guess I am still doing it wrong? View attachment 1509964
You need to edit the Path to make it fit yours. Your sdk directory reads android-sdk-macosx 2.
It also depends on where you have that folder.
shooter5635 said:
Hey guys,
I goofed. Big time. I accidentally wiped the sdcard in recovery mode when flashing to another rom.
I have her booted into red recovery and mounted the USB mass storage but it isn't showing up on my computer (I have a Mac that is running a dual boot of windows) on neither the windows or Mac side. Positive the drivers are installed on both.
Please help. If I can put a rom onto the card I'll be fine...but I can't get onto the card
Any suggestions?
Click to expand...
Click to collapse
Pretty sure usbmount never worked with red cem for us...at least ot never did for me
MaxJ360 said:
So I had a problem almost the same.
I was using JellyBelly 4.2, and didn't like it. I wanted to go back to Cyan 10.0 and installed the files on my phone. I decided it was a good time to wipe everything, and started to do so. One of the files was the SD format. So I did that, and then wipe/data factory reset. Crap. So now I have no rom installed, and no files on my SD card.
I need help to place my zip files for CM 10 on my SD card (they are on my MAC now). I can't start up my phone to enable file transfer. I can only boot into CWM recovery. Is there a (step by step) way to push files from my MAC onto the SD card? Or is there a different way to tackle this?
I have a GNex (Toro) VZW
MacBook running snow leopard.
I am afraid that anything give me advice on you're gonna have to pretend that I am really dumb and need step by step directions. I tried to push via ADB but got this error, I don't know the correct commands for that. View attachment 1508775 Any suggestions?
Click to expand...
Click to collapse
Since your on jb with blue recovery you should be able to Mount USB storage from recovery...mounts and storage>mount USB>plug into computer
Sent from my SGH-I997 using Tapatalk 2
Mounts
So when I boot CWR and go to the mounts and storage menu I only see the following options.
Mount /sdcard
Mount /system
Unmount /cache
Unmount /data
Format /sdcard
Format /system
Format /cache
Format /data
I've tried them all while plugged into my Mac, and nothing happens on any of them.
Try getting your adb set up.
I'm pretty sure that if you right click on the tools folder and go to get info or anything similar to properties, it will show you the whole Path.

[Q] In ClockwordMod Recovery but no Cyanogen Mod update zip

Galaxy S2 GTi9100
Hi,
I rooted my phone today and am now trying to install Cyanogen Mod. I followed all steps on their Wiki but now am facing a problem.
- The wiki says "Place the CyanogenMod update.zip file on the root of the SD card. "
- I placed the update .zip file on the root of the external sd card. Seems like that was not what was intended.
- I followed these steps successfully:
Boot into the ClockworkMod Recovery.
Once the device boots into the ClockworkMod Recovery, use the side volume buttons to move around, and either the power button or the trackball to select.
Optional: Select backup and restore to create a backup of current installation on the Samsung Galaxy S II.
Select the option to Wipe data/factory reset.
Then select the option to Wipe cache partition.
Select Install zip from sdcard.
Select Choose zip from sdcard.​- The next step is "Select the CyanogenMod update.zip. "
The problem is I don't see the CyanogenMod update .zip file anywhere in that list. Seems like I may have placed it in the wrong sd card?
When I try and reboot it just comes to the screen with the giant S and goes no further.
How can I resolve this problem?
Adding some more information after reading a few other threads.
- Looks like I placed the cyanogen mod update .zip file in the external sd and not the internal one (stupid!!).
Now I cannot get back inside the phone to try and place it in the internal sd.
How do I solve this?
Connect the phone to the PC and mount usb in recovery. You should see a storage device in windows & then just copy the files on it.
Ok. Just tried that. After I select 'mount usb storage', the next screen says on the top:
USB Mass Storage device
Leaving this menu unmount
your SD card from your PC
I then see an option to unmount.
On Windows explorer, I don't see the device.
Thinking back, I may have unchecked 'USB Debugging' before I started the process (for some reason that I cannot remember now). Would that cause a problem?
USB Debugging should not matter because you're in recovery.
I've not understand at well the question. You want flash the CM9 from clockwork mod? I've a Galaxy Gio, but in my case i have only to:
1 - copy the ROM in the root( after flash with manager of Android, with an SD adapter or in the other possible way)
2 - backup the old rom from cwm;
3 - reboot in cwm and if i have mount errors of /cache /data or some other partition i format it and mount it manually from cwm
4 - flash the zip i've copied at step 1
Then you have to wait and at the end, reboot.
What goes wrong in these steps for you ?
EDIT: If you don't see the .zip try to remove SD and use a SD Adapter, so you can copy files manually. Or if you want use CWM you can mount the device connecting device with USB cable, go in clockwork and do "mounts and storage -> mount USB storage" and copy files in the root "/"
You can use adb push command in recovery to push files to the phone.
You can also use fastboot to flash image files to the phone.
tonystark88 said:
I've not understand at well the question. You want flash the CM9 from clockwork mod? I've a Galaxy Gio, but in my case i have only to:
1 - copy the ROM in the root( after flash with manager of Android, with an SD adapter or in the other possible way)
2 - backup the old rom from cwm;
3 - reboot in cwm and if i have mount errors of /cache /data or some other partition i format it and mount it manually from cwm
4 - flash the zip i've copied at step 1
Then you have to wait and at the end, reboot.
What goes wrong in these steps for you ?
Click to expand...
Click to collapse
Step 1 went wrong
I copied the ROM in the external SD instead of internal sd. Now trying the adb option to push the ROM into the device root. Hoping that works.
aharol said:
Step 1 went wrong
I copied the ROM in the external SD instead of internal sd. Now trying the adb option to push the ROM into the device root. Hoping that works.
Click to expand...
Click to collapse
With my GIO i copied it in the root of External SD, not internal memory.Can you report link of the guide?
tonystark88 said:
With my GIO i copied it in the root of External SD, not internal memory.Can you report link of the guide?
Click to expand...
Click to collapse
Sorry, I'm unable to post the link but it is the cyanogenmod wiki
wiki(dot)cyanogenmod(dot)com(forward slash)wiki(forward slash)Samsung_Galaxy_S_II:_Full_Update_Guide
aharol said:
Sorry, I'm unable to post the link but it is the cyanogenmod wiki
wiki(dot)cyanogenmod(dot)com(forward slash)wiki(forward slash)Samsung_Galaxy_S_II:_Full_Update_Guide
Click to expand...
Click to collapse
This guide is same as my gio guide. The ROM goes in the root of external sd, not in internal memory. Try to reinstall CWM if you don't find the zip.
zerox981 said:
You can use adb push command in recovery to push files to the phone.
You can also use fastboot to flash image files to the phone.
Click to expand...
Click to collapse
Thank you my friend. This worked!
Little did I realise that this simple sounding statement above would require me to set up a complete android development environment on my computer.
I'm still not sure if all that was needed but I was finally able to get the files on my device by doing an adb push.
Lovely education for me today!
Glad it helped. Sorry I forgot to mention that ... it's kinda natural to me (having the sdk installed).
zerox981 said:
Glad it helped. Sorry I forgot to mention that ... it's kinda natural to me (having the sdk installed).
Click to expand...
Click to collapse
I am (or was at the time of this post) a complete noob with no programming qualifications but now I have gone through a crash course.
I now have my S2 running CM7.

[Q] Can't flash from SD Card

Good evening, XDA :cyclops:
I am having issues flashing from recovery!
Some device info: Motorola Xoom WiFi, fully stock and fully updated, unrooted, bootloader unlocked today, device wiped multiple times. This is my first day trying anything custom on this device.
I decided today that i wanted to go custom on my Xoom today and update it to KitKat via this method.
I have downloaded all the required files per the mentioned guide. While in recovery i go to apply update from USB drive, but it is not finding any of the downloaded files from the guide.
What I see is
Code:
Android system recovery <3e>
Choose a package to install:
/sdcard
../
The ../ is my only option to click and it obviously returns me to the main recovery menu.
All the zip files are on the root of the SD card, not in sub folders. I have confirmed via PC and another phone that the files are indeed there. I tried with a different, fresh, formatted (fat32) SD card, but I'm getting the same results.
The Xoom is indeed reading the SD card, confirmed via settings>storage.
I've tried using adb, but it's telling me the image isn't correct, but it's certainly possible I'm missing a step with adb.
Code:
C:\Xoom bootloader unlocker2>adb reboot bootloader
C:\Xoom bootloader unlocker2>fastboot flash R.A.H._TWRPv2.6.3_BigPart_selinux.zip
unknown partition 'R.A.H._TWRPv2.6.3_BigPart_selinux.zip'
error: cannot determine image filename for 'R.A.H._TWRPv2.6.3_BigPart_selinux.zip'
Yes, the zip is in that folder. I thought maybe I'd root first, so I tried that method with the root zip, but I'm getting the same error.
Is there something I can do to repartition this device and get it rommed, or am I doomed to use it stock?
Thank you for your time!
I found some information stating that I need to enable the SD card, but since I'm running up to date SW, and I can see the SD card from settings, I'm assuming that this isn't the case, correct?
I'm still stuck. Anyone around who could give me some advice?
scubab said:
I'm still stuck. Anyone around who could give me some advice?
Click to expand...
Click to collapse
It appears the XOOM does not like SD Cards that were formatted using Windows
(or perhaps Quick Formatted using Windows).
Using a 4GB FlashDrive formatted as Fat32 using Linux (i.e. Linux Mint 17.3 Cinnamon 64 bit boot CD)
resolved the issue.

Categories

Resources