[Q] HELP! error message in recovery - Nexus One Q&A, Help & Troubleshooting

So, kinda a long story, sorry. So to start off I obviously have a nexus one, I was running CM6.1 RC1 with some themes and blah blah. But the other day I decided to try out Rodriguez's MIUI rom, so I dl that, put it on my phone, booted into recovery made a nandroid backup of the CM6.1 I was running, and then wiped and installed the MIUI. I booted up and everything was running fine and when I remembered I forgot to backup my apps and data I figured I would just make a backup of the MIUI, wipe, restore the CM, backup what I needed and go back to the MIUI. But when I went to make a backup of the MIUI I got this message "error: run nandroid-mobile.sh recovery via adb." So when I got that message I just decided to forget the MIUI and just recover the CM. But when I tried doing that, I got the same message. Luckily I still had the MIUI.zip in my phone so I just re-installed that for my current rom while I try to figure this out. I researched a little online and thought it might have been that my battery was too low, so I charged it and no luck. Then I thought my sd card was too full so I cleaned it up and tried again, this time the backup of the MIUI worked, but when I wiped and tried to restore my original CM, I got the same message. So FINALLY, I thought that I would just re-install CM6.1 and take the MIUI off my phone completely and then try. But yet again, same message. So Im pretty stumped and would be very grateful for some help. Sorry for the novel, but I figured I would write all my steps so I didnt have to answer as many questions in future replies.

OnEnExUsOnE said:
..."error: run nandroid-mobile.sh recovery via adb."...
Click to expand...
Click to collapse
Charge your battery.

or revert your nandroid folder/file renames (if any) such that there are no spaces.

djmcnz said:
Charge your battery.
Click to expand...
Click to collapse
What he said. It happened to me too. Prob low on battery. Once charged you should be good to go.

Related

Backup Question

I have a couple of questions I am hoping to get help with. First if I have a custom ROM on my phone like MoDaCo and I wipe back to factory will it also add back the apps I removed like Nascar, footprints, ect. I am asking because after I wiped it through the recovery screen it did not add these back. The second question is when trying to do a Nandroid restore from when I first rooted the phone after I updated it, I get an error telling me it has to be done from the shell. Can I do this and if so how? Thanks
can anyone help with this?
Are you using RA-1.2.3??
My Nandroid backups have never asked me to restore through terminal.
Your back up maybe corrupt?? If so, I am not sure if people have had success loading a Nandroid from another phone, but you are welcome to one of my factory backups if it works. Can someone confirm a Nandroid from another phone will restore? I will Send if it does.
Also, the factory reset in RA1.2.3 should put back all apps. It is a "Factory reset" though I have never done one without immediately loading a rom. Who knows how its actually supposed to work.
Kcarpenter said:
Are you using RA-1.2.3??
My Nandroid backups have never asked me to restore through terminal.
Your back up maybe corrupt?? If so, I am not sure if people have had success loading a Nandroid from another phone, but you are welcome to one of my factory backups if it works. Can someone confirm a Nandroid from another phone will restore? I will Send if it does.
Also, the factory reset in RA1.2.3 should put back all apps. It is a "Factory reset" though I have never done one without immediately loading a rom. Who knows how its actually supposed to work.
Click to expand...
Click to collapse
I am using RA-1.2.3. I guess it is possible the backup got corrupt when I moved it to my PC and then back to the phone. What is strange is none of the backups I had saved would take. I was able to do a backup and then right after that restore it so I know it works. I did about three factory resets and it would not add back the system apps I removed, but I think before the Sprint update when I first rooted the phone it did add back all the apps when I reset the phone. I could be wrong or it may be they came back when I put MoDaCo 1.1 on the phone since his ROM has everything with it. Thanks for responding.
last MoDaCo Rom I loaded (1.2c) all the stock apps came back, but I also loaded the Optimzation.zip so i wasn't sure who put them back.
Good to know it was the MoDaCo. It seems that even loading Rom's most things are fairly persistent and don't get wiped or over writen which is nice.
WinMoBo phones usually wipe everything out when you do this stuff.
redram38 said:
I have a couple of questions I am hoping to get help with. First if I have a custom ROM on my phone like MoDaCo and I wipe back to factory will it also add back the apps I removed like Nascar, footprints, ect. I am asking because after I wiped it through the recovery screen it did not add these back. The second question is when trying to do a Nandroid restore from when I first rooted the phone after I updated it, I get an error telling me it has to be done from the shell. Can I do this and if so how? Thanks
Click to expand...
Click to collapse
doing a "factory reset" will not replace stock programs you deleted, it will just delete all your settings and apps you installed.
It's a misnomer in fact.... but when HTC made the option, they assumed that you hadn't rooted your phone. That's why all they really delete is the stuff in /data. Nothing in /system is added or modified.
If you really want to do a true factory reset, get the RUU from HTC and run it to reset your phone to exactly what it was when you got it.
As far as Nandroid not working, I've never had that problem either, but if your backup is corrupt then RUU will be your only option.

Stupid newbie question v. fresh 1.5 to Damagecontrol

I just got my Hero last week and using fresh kitchen, flashed to fresh 1.5.
I wanted to move up to the new damagecontrol rom, but since I used fresh kitchen to upgrade the first time. I wanted to know what I had to do. Is it just a matter of draging the dc zip to my sd card, booting to recovery and then updating (or what ever the menu says) and that be it? thanks for helping a newb
pyropup55 said:
I just got my Hero last week and using fresh kitchen, flashed to fresh 1.5.
I wanted to move up to the new damagecontrol rom, but since I used fresh kitchen to upgrade the first time. I wanted to know what I had to do. Is it just a matter of draging the dc zip to my sd card, booting to recovery and then updating (or what ever the menu says) and that be it? thanks for helping a newb
Click to expand...
Click to collapse
That will update the ROM yes. But you HAVE to wipe the factory default/dalvik-cache first. Which means you'll need to back up stuff you want first.
Going from 1.5 to 2.x isn't easy. If you have the right tools (I used Titanium backup) you can get your text messages back. Contacts will fail (unless you have them synched online) and you'll likely want to reinstall your apps.
If you're going to move from 1.5 I recommend a fresh start, don't try and restore anything and reinstall. It's a whole lot easier (I did this on my wife's phone last weekend, so I'm speaking from fresh experience). I'm sure there will be a lot of people who disagree, but it's definitely going to be better to wipe and go then try and restore it.
so do i just boot up to ra, do a wipe and then re-boot and copy over the dc zip? I have all my contacts and pics stashed away via wavesecure and I can just re sync them that way. not too worried about losing the text msgs.
also, i just added swype last night, again using fresh kitchen. how do i add those using dc?
Sorry for the stupid questions.
pyropup55 said:
so do i just boot up to ra, do a wipe and then re-boot and copy over the dc zip? I have all my contacts and pics stashed away via wavesecure and I can just re sync them that way. not too worried about losing the text msgs.
also, i just added swype last night, again using fresh kitchen. how do i add those using dc?
Sorry for the stupid questions.
Click to expand...
Click to collapse
Also I had to partition the sd card cause DC went into a boot loop till I did. Just remember to partition before moving DC 2.08.1 to your sd card or you will erase the rom.
You can probably re-add swype with Fresh Kitchen on the 2.1 ROM. If not do a search for 'adb'.
Basically you would do an adb remount, followed by 'adb push nameofapplication.apk /system/app' (this is not exact commands, look it up for where swype goes, I believe /system/app is correct, though).
For the rest:
Reboot into recovery
Do a wipe factory
Do a wipe dalvik-cache
Do a wipe SD:ext (it will fail if you've never used a2sd, don't worry about the failure message).
Then select 'flash zip from sd card' and flash the ROM you put on it.
If you're flashing the latest DC roms be aware: I've seen that take anywhere from 10 minutes to 30 minutes to boot after installation. So don't freak out. Also make sure your battery's fully charged before you install it. (The minimum is 30%, but if you have it at 100% you definitely won't need to worry about the battery when flashing a ROM).
animal7296 said:
Also I had to provision the sd card cause DC went into a boot loop till I did. Just remember to provision before moving DC 2.08.1 to your sd card or you will erase the rom.
Click to expand...
Click to collapse
Partition you mean? Shouldn't have to, to install that ROM. I installed 2.0.8 on my wife's prior to re-partitioning it for a2sd and it worked fine.
smw6180 said:
Partition you mean? Shouldn't have to, to install that ROM. I installed 2.0.8 on my wife's prior to re-partitioning it for a2sd and it worked fine.
Click to expand...
Click to collapse
Thank you. I was having a brain fart and that is what I was having problems with. I flashed the rom and it went into boot loop (about 1/2 hr) removed battery wiped and boot looped again. Finally partitioned sd and booted fine.
animal7296 said:
Thank you. I was having a brain fart and that is what I was having problems with. I flashed the rom and it went into boot loop (about 1/2 hr) removed battery wiped and boot looped again. Finally partitioned sd and booted fine.
Click to expand...
Click to collapse
Odd...but yeah I just remembered reading you had that issue. I think that dconfig might not be 100% ready for prime time, which can cause that kind of issue. But that's a guess. Seems to be a random deal, though, because it doesn't happen to everyone.

Just flashed cognition and com.android.phone crashes constantly

Well I just got my cappy today. I decided to install froyo, I went with cognition.
So i rooted, installed Rom manager, backed up. Installed Titanium backup. Backed up everything i didn't knew what it was. Installed cognition.
After this when it loaded it keeps giving me this error constantly and lagging the phone. Since its my first android phone I'm not sure what to do. I didn't restored anything with Titanium, though I'm not sure if this program does this automatically...
I cleared user data and cache and the error persists.
I'm currently on Ubuntu on my pc so odin is not an option. So I want to have the phone working fast, preferrably with froyo, should i download another rom and reflash with rom manager? Any ideas on what I've done wrong or why the error is displayed?
I'm very thankfull for any sort of help, premature answers are more than welcomed
Either try to get odin to work with ubuntu... Wine?
Find someone with windows PC and odin.
Dual boot xp / 7 and do it yourself
First this is NOT the area for questions per se this is for DEVELOPMENT.
I suggest you try in the General or Q&A section or in this case the Cognition thread since that is the one having issues for you.
Without ODIN I cannot recommend anything so I suggest you try the Cognition thread amigo.
Regards
Just removed my simcard and the error stopped
Does this mean the phone is no longer unlocked?
I bought the phone unlocked so I'm not sure how to restore it to the way it was. Should the unlock code still be somewhere over my phone internal memory? Any quick ideas on how to do this? Or should i look into the whole unlocking post on froyo?
rastanthology said:
Well I just got my cappy today. I decided to install froyo, I went with cognition.
So i rooted, installed Rom manager, backed up. Installed Titanium backup. Backed up everything i didn't knew what it was. Installed cognition.
After this when it loaded it keeps giving me this error constantly and lagging the phone. Since its my first android phone I'm not sure what to do. I didn't restored anything with Titanium, though I'm not sure if this program does this automatically...
I cleared user data and cache and the error persists.
I'm currently on Ubuntu on my pc so odin is not an option. So I want to have the phone working fast, preferrably with froyo, should i download another rom and reflash with rom manager? Any ideas on what I've done wrong or why the error is displayed?
I'm very thankfull for any sort of help, premature answers are more than welcomed
Click to expand...
Click to collapse
Check out this thread...http://forum.xda-developers.com/showthread.php?t=778609. It involves setting up a VM(virtual machine) but that is a very easy task. I hope you find this helpful. But do not flash over Cog. You need to use Odin, flash back to stock, do a master clear and then re-flash Cog via CWM.
You prob's flashed Cognition right after the reboot forced by ClockworkRecovery, so the media scan wasn't completed, phone freaked and just lost most of its powarrrr.
Oh yeah: wrong subforum...
Sorry about the subforum btw
You prob's flashed Cognition right after the reboot forced by ClockworkRecovery, so the media scan wasn't completed, phone freaked and just lost most of its powarrrr.
Click to expand...
Click to collapse
That sounds logic. Any ideas on what should I do so I can make the phone stop giving me this error with my simcard inside?
btw i dont know if this has anything to do but with my simcard inside i noticed 2 things
First it gets gsm signal crashes, looses the signal, regains it and this loops over and over.
After this i also noticed one service restarts over and over when this happens
rastanthology said:
Sorry about the subforum btw
That sounds logic. Any ideas on what should I do so I can make the phone stop giving me this error with my simcard inside?
Click to expand...
Click to collapse
This happened to me once, so I went back into recovery and used CM to reflash. My files were still on the root of the internal SD card, so I figured I'd give it a shot. It worked for me - cleared up my FC problems.
kegobeer said:
This happened to me once, so I went back into recovery and used CM to reflash. My files were still on the root of the internal SD card, so I figured I'd give it a shot. It worked for me - cleared up my FC problems.
Click to expand...
Click to collapse
Sorry for my ignorance, but what do you mean by using CM to reflash? When i boot into recovery i only have three options:
reinstall
clear user data
clear cache
rastanthology said:
Sorry for my ignorance, but what do you mean by using CM to reflash? When i boot into recovery i only have three options:
reinstall
clear user data
clear cache
Click to expand...
Click to collapse
Select reinstall - hopefully it will launch the CM recovery mode. Then you can select to install from the SD card.
Just reinstalled cognition but it still has the same problem. Should i download the i9000 reoriented and try with that one to see if by any chance...?
Did you try reflashing with sim card out? Maybe a master clear would help too?
Yes the last time i tried with the simcard out. I'm guessing the phone is still unlocked, a master clear woudn't change this? If anyone can confirm this I'll try it asap.
I'm downloading as well Doc's rom 7.5 to try reflashing that instead, I can do that or I have to downgrade and then reflash?
Minor723 said:
Did you try reflashing with sim card out? Maybe a master clear would help too?
Click to expand...
Click to collapse
It worked!!!!!!!! It seemed that wiping the data without entering the reinstall menu doest not do the same thing.
Thanks all of you for helping me. I can now go to sleep in peace. Well as soon as i figure out how to put an alarm
rastanthology said:
It worked!!!!!!!! It seemed that wiping the data without entering the reinstall menu doest not do the same thing.
Thanks all of you for helping me. I can now go to sleep in peace. Well as soon as i figure out how to put an alarm
Click to expand...
Click to collapse
How did you do it? I tried reinstalling without sim card and it did not work.
I had the same problem, so I reflashed to factory /w Odin and made sure to wipe cache and data, and it worked without a hitch.
simetra420 said:
I had the same problem, so I reflashed to factory /w Odin and made sure to wipe cache and data, and it worked without a hitch.
Click to expand...
Click to collapse
Did factory w/Odin, then wipe cache and data through reboot and then reinstall the package?
rastanthology said:
Just removed my simcard and the error stopped
Does this mean the phone is no longer unlocked?
I bought the phone unlocked so I'm not sure how to restore it to the way it was. Should the unlock code still be somewhere over my phone internal memory? Any quick ideas on how to do this? Or should i look into the whole unlocking post on froyo?
Click to expand...
Click to collapse
I think the problem could be that your unlock code was deleted. When you flashed. If you can not use odin try this, find the jh7 ota update. I think you can get it from the cognition download page. Flash this it will bring you back to a 2. 1 Rom. Read up on how to unlock your phone. Unlock then copy the unlock code. Then flash cognition again and follow steps to unlock.
If you are on the newest cog make sure you disable the voodoo lagfix prior to flashing. I can not guarantee this will work but it is worth a go. If you created a nandroid prior to flashing once you are on jh7 you should be able to restore
Captivate
Cog 2.2

[Q] proper data directory after flash

I'm currently running ViperROM v1.1.0
I decided to try the CyanogenMod 10.13RC2 to check it out and see if I wanted to switch.
In TWRP (v2.5), did a nandroid backup, wiped, then flashed new CM. Upon rebooting, ASOP something kept crashing, but error message went away to fast for me to see it. Regardless, decided didn't want to keep it, until a Stable version is released.
Went back to TWRP, wiped System/Data/Boot/Cache, then went to restore, and none of my backups were listed. At first I thought I screwed up, or forgot to backup, did a little research, found that if installing a 4.3 ROM where a 4.2 ROM used to be, a /sdcard/0/ directory is created, and everything gets moved there.
Moved my TWRP backup files into /data/media/0/TWRP/Backups/ and was able to sucessfully restore my nandroid backup, so I think I'm back to normal now.
My question is, what is my default directory now, and where should my files be located?
/sdcard/ ? or /sdcard/0/ ?
As a follow up, if it is /sdcard/0/ now, is there any way to restore it so it's not longer looking in the /0 subdirectory?
Zxurian said:
Went back to TWRP, wiped System/Data/Boot/Cache, then went to restore, and none of my backups were listed. At first I thought I screwed up, or forgot to backup, did a little research, found that if installing a 4.3 ROM where a 4.2 ROM used to be, a /sdcard/0/ directory is created, and everything gets moved there.
Click to expand...
Click to collapse
I think you mean going from 4.1 to 4.2. 4.3 isn't officially out yet.
Zxurian said:
I'm currently running ViperROM v1.1.0
I decided to try the CyanogenMod 10.13RC2 to check it out and see if I wanted to switch.
In TWRP (v2.5), did a nandroid backup, wiped, then flashed new CM. Upon rebooting, ASOP something kept crashing, but error message went away to fast for me to see it. Regardless, decided didn't want to keep it, until a Stable version is released.
Went back to TWRP, wiped System/Data/Boot/Cache, then went to restore, and none of my backups were listed. At first I thought I screwed up, or forgot to backup, did a little research, found that if installing a 4.3 ROM where a 4.2 ROM used to be, a /sdcard/0/ directory is created, and everything gets moved there.
Moved my TWRP backup files into /data/media/0/TWRP/Backups/ and was able to sucessfully restore my nandroid backup, so I think I'm back to normal now.
My question is, what is my default directory now, and where should my files be located?
/sdcard/ ? or /sdcard/0/ ?
As a follow up, if it is /sdcard/0/ now, is there any way to restore it so it's not longer looking in the /0 subdirectory?
Click to expand...
Click to collapse
This post explains it all
http://forum.xda-developers.com/showthread.php?t=2304138
jdjohn said:
I think you mean going from 4.1 to 4.2. 4.3 isn't officially out yet.
Click to expand...
Click to collapse
correct, my mistake
budeone said:
This post explains it all
http://forum.xda-developers.com/showthread.php?t=2304138
Click to expand...
Click to collapse
Thank you for the link. Tried searching ahead of time and knew the cause, but didn't find this post that explains how to get around it / restore it to pre 4.2.
Zxurian said:
correct, my mistake
Thank you for the link. Tried searching ahead of time and knew the cause, but didn't find this post that explains how to get around it / restore it to pre 4.2.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=42512892

[Q] HELPPP Accidental internal storage wipe

ok, so i was trying to root my sprint htc one, and everything was going, ok. i unlocked the bootloader simple enough. then i wanted to back up the data, before i tried putting roms on it. well twrp kept saying i only had about 34 mb of space which made no sense since i had formatted it, and only brought back things like contacts and texts. when i checked my phone it said that i had 24gbs. so i couldnt find an answer to this anywhere so while looking through twrp i saw the wipe function. not having seen anything about it, i said, maybe if i reformat it again, itl clear up. so i hit wipe all. well after it was done it only said i had 1.2 gbs, so still confused i went to load my normal os, well i cant. because wiping everything meant the system data the os is on. i spend hours trying to find a fix, as im only able to go between the bootloader and twrp, and i see a sideload option, and after following the steps, i attempt to sideload. everything is going well. Viper looks like its about to install, until at the last second it says install fail. but now i cant even access the recovery menu. literally stuck in the boot loader option. all my contacts and pictures and stuff are backed up, so i have no problem formatting my phone to scratch if it means fixing this, but can anyone point me in the right direction???? i cant find anything on this, ive been searching through this site, and some people with similar issues solve it by sheer luck, but i have no rom back up(since i was trying to do that when i got into this problem) please please help!!!
**edit** i was able to get into twrp by using the recovery steps, though im just back to square 1. is there a guarenteed reliable sideloader that can work?
Look HERE
Try the latest RUU first if it does not work follow the guide from the beginning it will get you fixed up.
raynefr said:
ok, so i was trying to root my sprint htc one, and everything was going, ok. i unlocked the bootloader simple enough. then i wanted to back up the data, before i tried putting roms on it. well twrp kept saying i only had about 34 mb of space which made no sense since i had formatted it, and only brought back things like contacts and texts. when i checked my phone it said that i had 24gbs. so i couldnt find an answer to this anywhere so while looking through twrp i saw the wipe function. not having seen anything about it, i said, maybe if i reformat it again, itl clear up. so i hit wipe all. well after it was done it only said i had 1.2 gbs, so still confused i went to load my normal os, well i cant. because wiping everything meant the system data the os is on. i spend hours trying to find a fix, as im only able to go between the bootloader and twrp, and i see a sideload option, and after following the steps, i attempt to sideload. everything is going well. Viper looks like its about to install, until at the last second it says install fail. but now i cant even access the recovery menu. literally stuck in the boot loader option. all my contacts and pictures and stuff are backed up, so i have no problem formatting my phone to scratch if it means fixing this, but can anyone point me in the right direction???? i cant find anything on this, ive been searching through this site, and some people with similar issues solve it by sheer luck, but i have no rom back up(since i was trying to do that when i got into this problem) please please help!!!
**edit** i was able to get into twrp by using the recovery steps, though im just back to square 1. is there a guarenteed reliable sideloader that can work?
Click to expand...
Click to collapse
Do you still have the memory issue? If so, try running a RUU, and see if that fixes your problem.
If not, just use adb sideload to sideload a ROM. Then wipe everything except internal storage and install the ROM normally.
EDIT: Looks like @BD619 ninja'd me XD
BTW sideload very rarely works when you wipe your sdcard.
BD619 said:
Look HERE
Try the latest RUU first if it does not work follow the guide from the beginning it will get you fixed up.
Click to expand...
Click to collapse
hey thanks for the reply. i followed the guide and after some effort, everything seemed good, but when i was trying to load 5.03 sense 6 rom, i got to the htc start up, then it defaulted back to the bootloader..i went with the deodex version of the download, should i try the odex? or a different version all together?
and now it doesnt want to boot into recovery mode either! going to try redoing the steps, but i just cant figure out what the problem is
**edit* i cant fix twrp. the title loads, but thats it. endless loop
ok i got it to seemingly work. restoring content now. sat in fron of my pc for 15 hours...not even sure where imat or if i got any closer to rooting..smh..thank you everyone who helped. if anyone comes across this
to get out of the endless cycle of recover/loading screen.. delete your twrp, or whatevs your using. even if you have the latest, just redownload it. worked for me. i guess there is a huge difference between the odex and the deodex.i had figured deodex was a more refined version, but maybe it had more complicated software. in any case, if you are at a point where you dont have a base os, and you make it this far, go with odex, it worked for me. htc is big on back up, so i was more worried about having to scrap my phone then i was regaining data, especially with most of my stuff backed up to google drive. hopefully you guys are careful.
now...about this backup issue i had in the first place. how can i fix the storage issue? i have a 32 gb phone minus partition leaves me with over 24gb..why is it going based off the separate phonememory slot? why cant i change it?

Categories

Resources