Can see sdcard in twrp but not while booted - Nexus 5 Q&A, Help & Troubleshooting

Was just on a trip taking pics and while we were on the plane was going to flash the franco kernel update and then it wouldn't boot. Got home this mourning and flashed the .img to get it to boot,but now the sdcard does not show up. Is there an easier way to pull the dcim folder then adb because i have gone round and round for a couple of hours and can not make any headway.
When i am in twrp i can see the sdcard folder, so its there but will not come up when the phone is booted, any suggestion would be appreciated.

Ok, turns out that the command ( adb pull sdcard (were to put it, in my case E:\adb))worked out, before I was trying /sdcard and such which was not there(sdcard does not exist message)

Related

I think I bricked my phone!!

I was attempting to get the Nandroid back up feature going on my phone. I downloaded the recent RC30 for the multi-touch (I couldn't help it), and I was given this error about the application settings not responding and to force quit. Then I downloaded the SPL bootloader and the modified RC30 with the busybox. It's in this post (http://forum.xda-developers.com/showthread.php?t=459830). I did a successful backup, but now my phone won't work right.
When I boot the phone none of the buttons respond until a good 30 seconds into the full boot up, and only after I slide open the keyboard. When I press the power key the screen flashes and the blank wallpaper comes up for 5 seconds. There is no way for me to get into the recovery mode. When I tried that it gives me the phone with the exclamation point.
I think I am just at or 1 day past my 14 days. It's really going to suck if I have to pay for a new phone b/c I got cocky and thought I knew what I was doing. Hopefully you guys have a solution or T-mobile will be forgiving.
Oh, and when I look under settings it says: kila user 1.0 TC4-rc30 so T-mobile will know I rooted the phone and F'ed up.
You could try restoring with DREAIMG.nbh
and you didnt brick it, a brick doesnt do anything, yours sounds like it boots.
I can't get into recovery mode. I can get into fastboot. I found a thread on installing cupcake will help get it back to RC30, but I didn't understand where to type in the prompts.
When I tried that it gives me the phone with the exclamation point.
Click to expand...
Click to collapse
Try Alt-L at this point.
I forgot about that. Thank you! Now I just need to find a way to get my phone back to full functionality. Do I need to just find RC29 or JF RC30 and reinstall as update.zip?
It says "E: Can't open /cache/recovery/command"
We will see if reinstalling RC30 will work. Does anyone have the orignal RC30 that comes installed on the G1? I understand I'll lose root access and that might be the smartest thing for me now.
I reinstalled RC30 and it worked! Thank you guys, and thanks for putting up for my temporary insanity!
I would do a wipe and then update to jf's latest 1.4. But at this point you should be able to update to whatever you want.
Sorry if this is a stupid question but I have made a NANDROID Backup and I would like to know how to restore my phone with the backup I made.
ow to Restore your phone on a Windows PC using a Nandroid backup
I am going to assume you already have a Nandroid backup created on your SD card using JF 1.31's recovery Alt-B feature. The backup will create a folder called nandroid on your SD.
What you need:
The Android SDK:
Fastboot Windows Binary in this post:http://forum.xda-developers.com/show...53&postcount=1
From your Nandroid backup you need three files:
data.img
system.img
boot.img
Steps to restore your phone
1) Put the files Adb and AdbWinApi.dll from the tools folder in the Android SDK into C:\WINDOWS\System32 folder on your PC. Substitute the correct drive letter if windows is not installed on you C: drive
2) Put the Windows Fastboot.exe into the C:\WINDOWS\System32 folder on your PC
3) Create a folder on the C: drive of your PC called android. The path should be C:\Android.
4) Copy the Nandroid backup files data.img, system.img, and boot.img from your SD card to the folder called Android you created by mounting your SD card as removable disk.
5) Unplug the USB cord and power off your phone
6) Power up your phone by holding CAMERA+POWER, you should see three androids on skateboards. If you don't see this go install the Engineering boot loader
7) Plug the USB cord back into your phone and press back. The screen on your phone should say fastboot.
8) Make sure your pc is using the correct driver. Open the device manager on your pc. It is helpfull to have all other USB storage devices besides your phone unplugged for this part. Look for a USB Mass Storage device in the list of the USB devices. Right click on it and update the driver. Pick the option to browse for a driver on your pc. The driver is located in the Android SDK your downloaded in the folder called usb_driver. If this is done right you will now see a device called HTC Dream
9) Press start, go to run and type cmd (If you are on Vista just type cmd in the search box and hit enter). The command prompt will pop up.
10) Type cd C:\android
then enter the following commands:
fastboot flash system system.img
it will say Sending, then writing and say OKAY if it was successful
then type
fastboot flash userdata data.img
wait for the second OKAY and type
fastboot flash boot boot.img
wait for the second OKAY and type
fastboot reboot
Your phone should now be restored exactly as you had it when it was backed up.

Flash Nandroid Image from the phone

Is there a way to flash a nandroid back up image from the phone itself? My computer has been acting up and I'm unable to use fastboot at this point.
I would love to know this as well. I think JF mentioned that he was going to include that option (flash nand backup) in the recovery console but I dont think I've seen anything else about it.
I think the recovery "Flash nand backup" option is already there. Make sure you have HardSPL installed first though.
ICBM said:
I think the recovery "Flash nand backup" option is already there. Make sure you have HardSPL installed first though.
Click to expand...
Click to collapse
Step by step for the n00bs?
JF's allows you to create NAND backups from the phone.
Just boot in Recovery (Hold home and power)
hit alt-b to back up
hit back and home to reboot
AFAIK, you need to use fastboot on a computer to flash the backups back onto the phone.
the commands are:
(must have fastboot installed on system path folder OR the folder you will be working out of)
Have the Data.img, boot.img, and system.img copied from SD to a folder on HD
Boot holding camera and power (need to see skating androids)
connect USB
hit back to see Serial0 instead of fastboot (if not, you need to properly connect the device in device manager ie don't mount it!)
then open a command prompt to the folder where the imgs are
type:
fastboot flash boot boot.img
fastboot flash userdata data.img
fastboot flash system system.img
then reboot the device. Should be good to go
cal3thousand said:
JF's allows you to create NAND backups from the phone.
Just boot in Recovery (Hold home and power)
hit alt-b to back up
hit back and home to reboot
AFAIK, you need to use fastboot on a computer to flash the backups back onto the phone.
the commands are:
(must have fastboot installed on system path folder OR the folder you will be working out of)
Have the Data.img, boot.img, and system.img copied from SD to a folder on HD
Boot holding camera and power (need to see skating androids)
connect USB
hit back to see Serial0 instead of fastboot (if not, you need to properly connect the device in device manager ie don't mount it!)
then open a command prompt to the folder where the imgs are
type:
fastboot flash boot boot.img
fastboot flash userdata data.img
fastboot flash system system.img
then reboot the device. Should be good to go
Click to expand...
Click to collapse
i think they mean to flash it from the phone with no computer... i could be wrong but im sure thats what they are asking
I have posted to the nandroid folder by for some reason when I do a back up and then try and restore it says all went well but when it reboots it gets stuck on the T-Mobile G1 screen. I have tried a fresh build of JF R33 and tried to back it up and then restore thinking it could be something I have installed but even a fresh install with out adding any apps does the same thing. If anybody has suggestions on how I can do a back up and restore with out it locking up.
Paul
I don't think that you can restore with a nandbackup as of yet. Maybe I'm wrong though. There is an easier way actually... if by chance you don't have access to a computer and get stuck with a looping android or boot screen or whatever (because of a bad update.zip, theme or whatever) I carry a spare 512mb sd card in my wallet. On this card I have a fresh update.zip (RC33) on it. So I just swap the cards out and do an update from there just like that. No problem at all.
OR
You can have it on your current SD card but just use scripts to do your updates. Granted it's a little more time consuming... but you have less risk of messing something up later on. Just don't delete your RC33 backup.
It also helps to have GScript to store the scripts in.
Here are examples of a script:
echo "boot-recovery
--update_package=SDCARD:themes/Aero/update.zip" > /cache/recovery/command
reboot recovery
Click to expand...
Click to collapse
echo "boot-recovery
--update_package=SDCARD:RC33/Radio/update.zip" > /cache/recovery/command
reboot recovery
Click to expand...
Click to collapse
echo "boot-recovery
--update_package=SDCARD:RC33/JFRC33/update.zip" > /cache/recovery/command
reboot recovery
Click to expand...
Click to collapse
Or you can even do this:
echo "boot-recovery
--update_package=SDCARD:/Haykuro/V45.zip" > /cache/recovery/command
reboot recovery
Click to expand...
Click to collapse
I think it's a lot easier then moving files around all the time and forgetting what that 8mb file is on your sdcard later on.
i think they mean to flash it from the phone with no computer... i could be wrong but im sure thats what they are asking
Click to expand...
Click to collapse
Randum, you are correct
I could be a noob but I can search and I can find the obvious (i.e. how to flash back images from PC) so I wouldn't ask for that. I thought someone actually found a way to do it all from the phone (which would be so nice, I don't have enough clearance to install my own stuff on the PC at work so I have to do stuff from the phone). Oh well....
Thank you all for the effort though, very nice that someone actually took time to write it out, at least for others who did not know how to do it from PC.

[Q] How bad did I brick my Kyros 7005??

Okay, where to start.. I think I have bricked my phone pretty good.
Here is the approximate list of things that happened.
I wanted to try to update to froyo, so I downloaded z4root, worked beautifully
Followed all the directions to install clockwork mod (including reading far enough ahead to find out the one in the directions was for the 7015, but gave the link for the 7005 version later) - Worked like a charm
BACKED UP SYSTEM as instructed
Then here is where things went south. I attempted to install the Cyanogen Mod froyo based. I followed the directions, including backing up softmac and wpa_supplicant files. And it would not start up. I could get it into recovery mode but not to start fully. I tried doing the restore, it couldn't mount the SD Card where the backup was. Being knowledgeable enough to dangerous in Linux, I used ADB Shell and tried various things to try to find out where the SD Card or recovery image failed. I had also been trying to locate FWDN as I saw people had done fixes with that, but I couldn't get it to load in FWDN "Mode". I figured if I could replace the recovery program on there that doesn't work with the one that does, it should in theory allow me to reboot into the correct recovery mode and let me pull the files from my SD Card. After about 15 minutes of shuffling around, I ended up mounting the \system folder where I found a file called recovery. Looked to be the right size. So I made a modified batch file that would instruct it to load from that folder.
After that mistake, all of the sudden, the vtc driver that I had installed did see the unit. I was like Joy! Joy! I fired up fwdn but since I didn't have the original files that it "liked" I used an lk.rom, but I think it wasn't from an X5A but from a lonpad. Now I don't even get COBY on the screen.
But wait, I'm even more dangerous. I got the hardware ID that it's currently using on the USB bus, edited first the vtc ini file to see if I can reload a different rom. It detects it, but FWDN gives me "bad boot" error or something like that. But I'm a trooper, if I'm gonna kill it, I'm gonna kill it good. I change the SDK/ADB driver to recognize the device. And it seems to recognize it. Then I went to try "fastboot flash recovery recovery.x5ag.img " which I had NEVER been able get the unit into fastboot mode, and it goes through and does it. Then I do a fastboot reboot to see if I can get it to come up in recovery mode, but I can't.
Then the final bright idea comes up on me.. Hey, I have the backup from SD card, what if I zip it up, call it update.zip, and do a fastboot update?
Now ADB can make some kind of connection to it, but when I try to shell I get:
- exec '/system/bin/sh' failed: No such file or directory (2) -
ADB State always reports device or unknown never bootloader
ADB remount comes back with remount failed: Invalid argument
ADB push into the / or /system folders (in an attempt to push a copy of sh there) fails saying read only file system
ADB push to /sys comes back with failed to copy: No such file or directory
So, that's where I am.. I think I really really REALLY bricked this thing... although the fact that I can still ADB to it leaves some shimmer of hope.
Thanks,
Joe
can u get into the boot loader at all? If so you are not Bricked you will just need to reinstall the entire system using fast boot. You may be able to restore the default OS using an update.zip file. It may be named something different for your device. All you do with that is place it on the root of the SD card and when the bootloader boots it finds the file and flashes the phone.
I can't get fastboot to recognize the device, it goes right to the ADB bridge. Where I can run some limited ADB commands that are recognized.. If I could get it to start up in fastboot mode, that would likely solve the issue, provided I can get the correct working update.zip file, rather than me trying to fudge one from the clockworkmod backup.
do you have any hardware buttons on device? turning on with volume up or down (or back) gives you differing USB ID's to device manager - obviously you want fastboot mode. (use device manager on ADB Bridge (Details) to get your ID - i think its DEED for fastboot and D00D for fwdn)
otherwise... you can force boot a new bootrom. It's what I did on my telechips device. Find tcboot.rom - put it in the same directory as fwdn
1. Open your device
2. Unsolder your battery + terminal
3. While turning on the device, place a short - screwdriver/pin etc - across pins 7/8 of the NAND chip (for 5 seconds)
4. FWDN should bring up a message about flashing bootrom
5. Reboot (and resolder battery cable)
Note: this obviously is pretty hardcore - but i went from brick, to black screen brick, to full restore via this method.

[Q] /sdcard0 gone.

I recently installed Linux mint and what not,
and figured out I'd be able to use ADB and fastboot commands off the bat.
So I wanted to try some,
1) adb devices ~ Got a response
2) adb shell ~ worked.
hmm, Lets try fastboot.
1) adb reboot-bootloader
2) fastboot erase cache (A harmless command as I believe)
2) fastboot reboot
Now, I wind up with no signal. APN's are removed and some apps don't function.
So i try and update CyanogenMod, And I'm greeted by an 'error' when trying to download the latest nightly.
At this point , I'm really tired and just leave my phone on and call it a night.
I wake up today and my battery is gone. Charge it for a an hour or so, and squeeze out 24%+ battery.
Try redownloading CM through chrome. No luck, still an error. A weird thought dawns on my that /sdcard0/ wasnt mounted.
So I try to go through in ES File explorer and it isn't able to explore anything except the system.
I boot into my recovery and I see my USB mount option is gone and no "internal sdcard" mount point.
Though i'm not getting any error in the logs.
So im just going to push the latest CM and Gapps and see this fixes it. Ill post my response after.
If anyone has any idea what happened, any response would be great Thank you
Update: 1
Weird, I am still able to access the Sdcard when the screen prompts me to the directory to install the zip.
unfortunately , I pushed CM to the /data/ folder before trying /sdcard0/.
But well see what happens when i re-install.

[Help] Blu Vivo 4.8

Hello friends, I need your help...
Since i did a Dalvik-Cache clean on my phone, it got stuck on the bootlogo...
I can't find anywhere the stock rom and the scatter file to try amend this with SPTool since I dont have CWM or TWRP.
If there is a way to just get my files, pictures and music back will be enough help...
:crying:
Since no one bothered to help me, I managed to find a solution.
Will share here what i done.
1- Downloaded adb and put at C:/adb
2- Downloaded my phone usb/adb drivers.
3- Put my phone into factory mode by holding Volume-down key and power
4- By doing previous step and connecting the usb cable on the phone to pc, is possible to use adb commands
5- Used the command = adb pull /storage/sdcard0 C:/adb/Phone-Files (Can't start "adb shell" otherwise file/folder copy is blocked) from the cmd at the adb folder
6- Waited a hour and half to get everything from my phone to the folder = C:/adb/Phone-Files
I'm on my way to learn how to fix the Dalvik-Cache deletion.
Maybe getting the stock rom somewhere and using pull may solve... :fingers-crossed:

Categories

Resources