[Q] Clockwork recovery sees different files than are actually on SD - Motorola Droid and Milestone General

Hi folks,
I am having a weird problem on my A855. When I boot into CWM recovery, I cant see the contents of my SD card. I see something totally different, something that looks like files from an old SD card. I've formatted the SD card and copied only the ZIPs that i want to use to update. When I boot to clockwork recovery I dont see them but some phantom files!
Strangely, if use the partitions menu and mount USB while in recovery, I see the correct files. Or, also while in recovery, if I adb shell, mount sdcard, list files, I also see what's actually on there.
I've already wiped boot, system, data, cache, reflashed CWM, but it still sees those old files. I've never seen this before and I've updated 6 or so different phones to Cyanogenmod.
I was able to adb push update.zip to /data/ and recovery --update_package=DATA:ROM.zip to get CM on the phone but it's a less than optimal solution.
On a related note, on my Sensation, when trying to update via ROM Manager I get a "file not found" error upon booting to recovery but at least there I can see the SD files and manually update.
Any info would be appreciated.

Related

[Q] Switching SD Cards NO Apps2SD

Hi, I have a G1 rooted with the SuperD 1.9.3 Rom, I never partitioned my SD card or anything like that. I want to upgrade my SD Card and partition it to get Apps2SD and keep the same Rom. I am not sure what steps to take...
lmt125 said:
Hi, I have a G1 rooted with the SuperD 1.9.3 Rom, I never partitioned my SD card or anything like that. I want to upgrade my SD Card and partition it to get Apps2SD and keep the same Rom. I am not sure what steps to take...
Click to expand...
Click to collapse
Which recovery do you have? If you don't yet, make sure to upgrade to Amon_Ra latest. Once you have that, reboot into recovery, select partition card and follow directions on screen. This will wipe your card completely so backup anything you want to save. It will not affect your rom in any way. You may have to move your existing apps manually, not sure.
How do i know what recovery i have? Do I partition my current sd card or the new one?
So I do not need to reflash the Super D?
lmt125 said:
How do i know what recovery i have? Do I partition my current sd card or the new one?
So I do not need to reflash the Super D?
Click to expand...
Click to collapse
You would boot into recovery and look to see which one you have, it will say it right on top. You will partition your new card. Absolutely no need to reflash your rom, it will recognize your ext partition and install all future apps in it automatically. As I said, I'm not sure about existing apps, you may need to move them manually.
It says Android Sysem Recovery Utility Build: JFv1.42 There is nothing that says Partition SD or anything like that... Now my rom is on my current sd card if I don't flash it to the new one my phone still knows what rom I have? Sorry about all the questions thanks for your help =)
I was thinking of doing this to install Amon RA's recovery img
I got it from another forum in here....
Copy recovery-RA-dream-v1.7.0.img to the root of your sdcard
Boot into your current custom recovery (boot while holding HOME)
select console from the menu
#mount -a (this can give back an error if you don't have an ext partition, don't worry about it and just proceed)
#flash_image recovery /sdcard/recovery-RA-dream-v1.7.0.img
JF's recovery does not have that option because it's really, really, really old. We did not even have apps to sd back then.
Flash RA's recovery (directions seem right, I assume you got them out of RA's thread), you'll see the difference: many more options, etc
Good luck.
Ok, so I am going to do the following steps....
1. Flash Amon Ra's recovery image
2. Reboot phone
3. Get into recovery again
4. Back up my sd card on the computer, remove sd card from phone
5. Insert new sd card, partition sd card
6. Transfer files from old sd card including update.zip which is the rom
7. Reboot phone
Let me know if I'm missing something thanks for all your help!
I'm going to do this over the weekend...
Ok, so I got the new Amon RA recovery image but haven't done anything else...lol. So can you tell me if those steps are right? And why don't I need to flash the rom again...I currently have it on my sd card...I'm a bit confused
1. Reboot to recovery. Partition your card (I suggest 512mb for ext partition, rest is fat, follow instructions within recovery).
2. Upgrade ext to ext3.
3. Reboot (your phone will move your existing apps onto sd.) It may take a while to fully boot, just give it 10 min or so.
4. In terminal emulator type
Code:
su
fix_permissions
5. Reboot again.
5. Transfer whatever you had on your old sdcard (music, pics, etc) onto your new card.
As far as flashing the rom again.... why? Your OP says you want to keep your existing rom.
To check if your apps were moved:
In terminal:
Code:
su
ls /system/sd/app
ls /system/sd/app-private
ls /system/sd/dalvik-cache
Should give you print-out of what you have on ext partition of your sdcard (or you can use root explorer or whatever other file manager, I'm a bit old shool so I prefer terminal or adb)
5. Reboot again.
5. Transfer whatever you had on your old sdcard (music, pics, etc) onto your new card.
Okay in step 5. Reboot again do I just type in the terminal emulator reboot or reboot recovery?
Also when you say "transfer whatever you had on your old card..." Do I also transfer the file that says update.zip?
Sorry for all the questions, I should be getting my new sd card today and will try it out tonight.
Thank you.
You just type reboot.
It is up to you what you want to transfer onto your new card. I assume that update.zip is your current rom. If so, it's nice to have just in case but it will not make any difference in how the phone works. It's just an install file that you use once (unless, of course something goes terribly wrong and we all have been there ) but it's nice to have all tools needed on your card so you can quickly recover from any problems.)
BTW, with your new shiny recovery (RA1.7), you don't have to rename your files to update.zip. You can name them whatever you want (i.e Super-D1.9.3.zip, Recovery.zip) and, if you decide to reflash something, at least you will know what it is. Your new recovery will let you choose which file to flash so you can have more then one .zip file on your card if you want.
Ok so I still haven't gotten my new card! It should be here next week...Anyways I tried using switchrom to store my current just in case but I get this error Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0) (No such file or directory)
Any clues why I'm getting this do I need to have my phone connected by USB or something to a computer....?
Thanks hopefully I'll stop asking so many questions...I tried this solution but no luck
Originally Posted by siraf View Post
Guys, I just had this problem too .. at first i was so devastated. I'm glad i solved it.
I don't know if my solution is the ultimate solution or not but you guys can give it a try.
problem :
"E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0) (No such file or directory)"
In the Android System Recovery, select "USB-MS Toggle". It will enabled/disable the feature. Do it one more round and it will solve the problem.
It's telling you that it can't mount SD card.
Back up all of your stuff from SD card, format it and try again, that's the only thing I can think of.
Actually, I just ended up doing a Nandroid Backup just did Nandroid not Nandroid +ext since I don't have this card partitioned...it is backed up!
Ok buddy its easier if you do the whole process through the sdcard
First you should backup everything on your sdcard and do a BART or NAN+EXT then partion your card and restore your BART or NAN+EXT and your good to go
If this does not work press my name and look at my threads because I ask this same quetion a while ago
Post again if this does not work
Sent from my HTC Dream using Droidfreeks's App
DroidFreek said:
Ok buddy its easier if you do the whole process through the sdcard
First you should backup everything on your sdcard and do a BART or NAN+EXT then partion your card and restore your BART or NAN+EXT and your good to go
If this does not work press my name and look at my threads because I ask this same quetion a while ago
Post again if this does not work
Sent from my HTC Dream using Droidfreeks's App
Click to expand...
Click to collapse
Hi, I tried doing a Nan+ext backup but I got this error : Run nandroid-mobile.sh via console I also tried doing a Bart backup and it also said Run Bart via console...
So I just did a regular Nan Backup...I don't have my current sd card partitioned...should I partition it so I can do the Nan+ext I currently have a 2gb card and it doesn't have a class number.... Maybe I should format my card?
Thanks!
Ohh ok I see ur problem it won't let u backup nand+ext if you don't have a ext
since you backed up already go ahead and throw the nandriod and any other files on sd card to your pc the format your sd create the app partion and swap partion make sure u formate it ext3 or ext4 depending on what ur rom uses put the nandroid back on sd after format and restore post if it works or not
If this don't work just reverse the process put nad back on pc format card to what is was before then put nand back on sd and restore
Sent from my HTC Dream using XDA App
OK so I partitioned my current memory card =) and was able to succesfully do a nandroid +ext...so now when I get my new card I just have to go into recovery and do a nandroid restore and transfer all my files right? Thanks
Remember to partion your sdcard before transfer
Sent from my HTC Dream using XDA App
Ok so I tried switching my cards and formatted my new card,paritioned it, transfered the files from my other sd card, and tried to a nandroid restore...that's when I get the same error as before to do it from console.
I tried taking all the files out and repartitioning the sd card doing everything again no luck. Reflashed my rom and turned it on after it boots like normal I get a black screen. So just went back to my old sd card was getting force closes so did nandroid restore it said it did but would boot normal and get force closes.
So I reflashed my rom and reinstalled everything manually...from sd card as my market disappeared got it back after reinstalled it...
Any suggestions as I really want a bigger capacity memory card....=/

[Q] Help, all wiped but can't install zip

looks like i am in a big problem here.
i tried to use Clockwork to wipe and install a new rom, but after wipe dalvik, cache and data, i cant update the rom.
i tried to use too diferent zips i have in my sd, but i get a error.
trying "applying a zip from sd card" and "choose zip from sd", i can't enter in the "_external sd" folder, it just return to the previous folder (internal sd) and there is only a "update.zip" there wich i don't know what it is. I had the hope it was a update i did with rom manager but this zip doesn't work too.
if i try the roms that are in the clockwokrmod folder, i get "no files found" and i have to folders inside clockworkmod folder.
what i should try?
now when i click in any option stuk with a image of the exclamation and the Android the android dummy ((((
edit: oh, the menu is back, but i still don't know what to do.
Did you try flash another ROM for odin?
Sent from my GT-I9100 using Tapatalk 2
i restarded the ox2. I see sd, system and data was unmonted. But even with this mounted don'est work. I am not able to enter in the dir _external sd.
but in the clockwork folder in the internal sd i have 2 backups and they doesn't work too "no files found"
I restarted it now in normal mode and the system is there, just in default mode, asking me to configure, etc.
If i wiped data, cache and everything, where was the files that allowed this rom to "survive"? At least i can use the phone today. I am almost giving up of flash the rom
Please help, why clockwork did not recognize any zip? looks like it was not able to enter any directory
I think you need to select install zip from internal sd. That is the only way I found to install the .zips on my _ExternalSD folder.
BTW, I won't be able to restore the CWM backup because needs to be on an external SD.
I hope it helps.
+1
Sounds like it's a case of switched mounting points, try install from internal sd.
Rz
Sent from my LG-O2X.
rz.tiagopedrinho said:
+1
Sounds like it's a case of switched mounting points, try install from internal sd.
Rz
Sent from my LG-O2X.
Click to expand...
Click to collapse
the problem is that it was accessing any folder, even in internal sd. I don't if the app was able to recognize that there was not a valid file inside the folder or was really a error.
i am almost giving up. Thinking in change only baseband, as i believe it is safer than chaging a rom.
i don't understand how/where the device was able to boot with a "new" rom after the reboot. I thought after clear data, cache and factory reset was like formating Windows in pc. And the last command when i was in clockwork was a simple reboot, not recovery, etc.
Did you put the .zip on your external sd card? In that case, you should go to mounts and storage and select mount sdcard. If it is already mounted, unmount and mount it again. It helps in some cases. Works for me at least, I cannot guarantee that it will work for you.

[Q] SD Card can't be formatted nor add files to it.

Hi, all.
I have some problem on my previous sdcard (so sad :crying and it's broken.
Now i have a new sdcard (yeah...) and another problem appears!
I formatted my sdcard and it said that the sdcard formatted successfully, but when i mount my sdcard into computer, the existing files still there.
Whether i add some files into sdcard (for example: i just copied JB Mini ROM into /sdcard/John) and i rebooted my phone into recovery mode.
When i enter the recovery menu and want to install the ROM's zip, the file cannot be found. Then i copied JBMini's ZIP file once again into my sdcard once again. I mount my sdcard into my computer with "Mount USB Storage" in recovery. When i'm trying to install it, it says (bad) errors. Then i reboot my phone again and the files (JBMini ROM) dissapeared!
Can somebody help me?
If the recovery says "bad file" then that means that the zip is corrupted..
Retry downloading it/retransferring it to the sd card..
MatthewWu said:
Hi, all.
I have some problem on my previous sdcard (so sad :crying and it's broken.
Now i have a new sdcard (yeah...) and another problem appears!
I formatted my sdcard and it said that the sdcard formatted successfully, but when i mount my sdcard into computer, the existing files still there.
Whether i add some files into sdcard (for example: i just copied JB Mini ROM into /sdcard/John) and i rebooted my phone into recovery mode.
When i enter the recovery menu and want to install the ROM's zip, the file cannot be found. Then i copied JBMini's ZIP file once again into my sdcard once again. I mount my sdcard into my computer with "Mount USB Storage" in recovery. When i'm trying to install it, it says (bad) errors. Then i reboot my phone again and the files (JBMini ROM) dissapeared!
Can somebody help me?
Click to expand...
Click to collapse
Hmmm...What ROM are you using? If you're using a custom one. Try getting back to stock Eclair 2.1 and check if it does the same problem. If so contact the shop where you bought the SD Card.
Man ...
You have a hard luck with SD cards!
see boot animation without rebooting
Gogeta said:
Man ...
You have a hard luck with SD cards!
see boot animation without rebooting
Click to expand...
Click to collapse
Haha... I don't know anything.
Maybe i should throw this microSD from the uppest floor of high building, then go to the downstairs by stairs and get it back again.
It's not about corrupted ROM files or somewhat, but again, this is SD Card problem.
My sdcard have two partitions, FAT32 and ext4.
I had tried to format it from recovery, but it failed.
I had tried to format it from my mom's Blackberry (which is good in fixing corrupted sdcard, but failed with my first sdcard) and it couldn't finish the formatting process.
I had tried to open my sdcard on my computer and i format it and it said something like this : "Windows couldn't finish the format process" (My Windows 8 using Indonesia language)
I had tried to delete all partition from MiniTool Partition, but when MiniTool refreshed the devices list, that two partitions (FAT32 and EXT4) still exist.
What should i do now? I'm really confused with sdcard problems, what they (sdcard) wants?
Format the ext4 partition. Alfs kernel has that option in it's recovery. Then try again.
Note : Not responsible if your SD broke after this.
Sent from my LT26i using Tapatalk 2
Looks to me like you've touched the write-protect switch on the sdcard.
Remove it and sllide the switch back again..
Try for a low level format
Sent from my SonyX8 using Tapatalk 2
MatthewWu said:
Hi, all.
I have some problem on my previous sdcard (so sad :crying and it's broken.
Now i have a new sdcard (yeah...) and another problem appears!
I formatted my sdcard and it said that the sdcard formatted successfully, but when i mount my sdcard into computer, the existing files still there.
Whether i add some files into sdcard (for example: i just copied JB Mini ROM into /sdcard/John) and i rebooted my phone into recovery mode.
When i enter the recovery menu and want to install the ROM's zip, the file cannot be found. Then i copied JBMini's ZIP file once again into my sdcard once again. I mount my sdcard into my computer with "Mount USB Storage" in recovery. When i'm trying to install it, it says (bad) errors. Then i reboot my phone again and the files (JBMini ROM) dissapeared!
Can somebody help me?
Click to expand...
Click to collapse
try using a sd card reader and then delete the parrition and recreate it and the files should be deleted

[Q] Formatted everything, don't know where to start

I had some huge problem with my Nexus One and I wanted to start over completely, so I stupidly went to CWM recovery and hit format boot, cache, data, sdcard, system, and sd-ext. For some reason I didn't realize this would make my phone unusable and make it have no OS. So now when I turn on the phone it goes straight to the fastboot menu, so I can only access the fastboot, bootloader, and CWM recovery.
I've tried formatting my microSD card and putting a stock PASSIMG.zip file (located at http://forum.xda-developers.com/showthread.php?t=1312540) on my microSD card but the bootloader doesn't detect the PASSIMG.zip file.
Can anyone give any guidance on what I can do now?
Thanks
FIXED. This seems to happen to me so often-- things suddenly working after I already make a thread about my problems. But I discovered that the microSD card was corrupt so that's why it never actually had the PASSIMG.zip file on it. Everything is back to normal, and I restored factory settings :good:

[Q] sdcard unmounted somehow help phone works otherwise

hi guys i hope someone can help
somehow my sdcard has become unmounted
i have s-off with revone done with cmd and adb
i have set cid to 11111....
i have updated firmware to 2.17 and 2.14
all was working well until i did factory reset
now i cant access internal storage. camera doesnt work. wifi doesnt work
what do i need to do?
any help would be much appreciated. i have been working on this for hours
flash your ROM again
IINexusII said:
flash your ROM again
Click to expand...
Click to collapse
i have not flashed a rom yet and the stock rom works fine i just cant access sdcard
do i need to flash a rom?
which one? a stock one or a custom one?
stock one
okay
i cant access the sd card to copy a rom to
on the laptop the phone comes up like normal. click on it internal storage comes up like normal. but inside the internal storage folder has a folder called storage. inside that is emulated. inside that is legacy. inside that is the normal file structure.
windows errors when trying to copy files anywhere inside the internal storage folder
when in the camera app on the phone it shows a black image and click on the gallery icon it says no sd card
its like the "sdcard" is unmounted. how do i mount it? ive tried CW recovery and TWRP
try sideloading the ROM, there should be an option for adb sideload and use the command adb sideload romName.zip
is there an adb command to mount sdcard?
jtilz said:
is there an adb command to mount sdcard?
Click to expand...
Click to collapse
there should be in one of the recovery menus
This is exactly what has happened to my phone, and there seems to be more thread cropping up about this.
I can see in TWRP recovery there is an SDCard but cant do anything with it. I can flash a rom via sideload (hardly flashes, my lack of understanding) and from OTG USB in Recovery but there will be no installed rom once done, or at least it wont boot.
Same thing in CWM except that recovery can not see the SDCard so no mounting.

Categories

Resources