Stock recovery can't mount sdcard - Nexus 5X Q&A, Help & Troubleshooting

So, I'm trying to sideload a couple of OTA updates and I finally found what I need. Only problem is that I cant mount internal storage in stock recovery ti finally apply OTAs. Saw some guy that had the same issue and he got a reply that its because his phone us encrypted. No further replies. My device is also encrypted. Is there a way to mount sdcard in stock recovery and flash OTAs from internal storage? My cable is probably arriving in monday so I cant sideload from ADB right now.

5ageman said:
So, I'm trying to sideload a couple of OTA updates and I finally found what I need. Only problem is that I cant mount internal storage in stock recovery ti finally apply OTAs. Saw some guy that had the same issue and he got a reply that its because his phone us encrypted. No further replies. My device is also encrypted. Is there a way to mount sdcard in stock recovery and flash OTAs from internal storage? My cable is probably arriving in monday so I cant sideload from ADB right now.
Click to expand...
Click to collapse
Not that i am aware, stock recovery is extremely limited in what it can do.

Related

Twrp not mounting internal sd?

The recovery is mounting the external SD, but my internal isn't showing anything. I updated twrp via goo, however since I'm using jellybam I think it flashed att's recovery image. I've tried to flash the tmo image back but it still doesn't Mount even after checking it in the options. What can be done to fix?
Thanks in advance
Solved
Hmm so when I flashed the newest version of twrp, my internal SD was moved to my data/media folder. Now my backups aren't visible to restore if I wanted. How can I retrieve them?
can't seem to backup
ok so ive been looking at these forums for years and somehow always found the answer until now. I am completely stuck and can't figure out why my twrp recovery won't backup at all either and is not recognized whatsoever. I am going to try and flash cwm and see if it will work.
I after searching and searching I finally found an answer. I flashed the cm 10.1 rom in the att forum to check out 4.2.1 first hand. In the thread there's a file you can flash to revert your storage to the way twrp reads it now since 4.2 has multi user support, but it didn't work on my end. My backups are still on my internal SD but unrecognizable in twrp. I ordered a new micro SD to throw my backups on so i can retry. We'll see if it works...
Here's the twrp article explaining it all in full
http://teamw.in/DataMedia

[Q] Need help attempting to recover data from my GN :(

Phone:
GN Toro (Verizon)
no OS currently installed!
TWRP 2.3.3 (I know, needs to be updated)
Skip to the bold text for the TLDR version.
So here's the story... I was going to flash the latest AOKP and decided that this time I would do things right! In the past I had almost always dirty flashed, but this time I was going to start clean and only restore data for a handful of apps. So I booted into TWRP and wiped cache, dalvik cache, system, and ..........internal storage! I went to flash the ROM I had downloaded and that's when I learned that I had made a huge mistake :crying:
So I've been doing a TON of reading; I think I've found a solution to my problem in this thread.
I know I can either use ADB push to reload the ROM or use ODIN mode to reflash (although I was unable to get ODIN to see my phone). My concern is that if I'm going to have any chance recovering my files, I need to avoid writing to /sdcard at all costs.
So here's my question, is there a way to get a binary dump of /sdcard aka /media/data without first installing android? I need to be able to do so from TWRP or fastboot. I have the GN toolkit but I don't see any way of doing this. I also have all the drivers installed and working (or so it seems) and ADB installed.
Sorry I misread. I'm not sure how you can recover from that.
I think you should be able to adb push a ROM to it. Flash it and it won't touch the contents of the SD card.
Sent from my Galaxy Nexus
Beezer80 said:
I think you should be able to adb push a ROM to it. Flash it and it won't touch the contents of the SD card.
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Actually, this is exactly what I did. The new ROM wrote a directory structure and various files to /sdcard, hopefully none of those writes overwrote the data I'm trying to recover...
16GB thumb drive and USB OTG cable. Boot into recovery and use dd to dump the user data partition to the thumb drive.
Probably too late for that, since you've already written files to the partition.
cschmitt said:
16GB thumb drive and USB OTG cable. Boot into recovery and use dd to dump the user data partition to the thumb drive.
Probably too late for that, since you've already written files to the partition.
Click to expand...
Click to collapse
Ya know, I have a huge thumb drive and a USB-OTG adapter, I never even thought of this! Thanks, if I ever need to do this again I will try that.
I was able to recover most if not all of my pics (the only thing I cared about losing) using this guide I linked above.
Glad that method worked. It's kind of scary with GN having a single data partition and no ext sd. Coming from a device with separate /data and /sdcard partitions plus and ext sd, I miss being able to back things up onto the card.

[Q] I have deleted the OS with cwm recovery and dont know how to get the OS back help

HELP!!!
I was trying to get all the files that are useless of off my sd card so i formated it in clockworkmod recovery and did not realize that i just deleted everything on the sdcard. And since i was just so clueless i went ahead and formated everything else that i could and then when i tried to reboot my device it takes me straight to the hboot menu. Is there any way i can get my OS back on to my device, i don't care about my files i just want the main OS back so i can use the phone again. And if you need any extra information please just ask in the comments and i will give you any info i can.
Thank You
If you can get to your recovery, go there. Then flash your ROM of choice.
how?
Arcticfrost said:
how?
Click to expand...
Click to collapse
From the bootloader, choose recovery. If that is not an option, choose either fastboot or bootloader (whichever one is there), then choose recovery. If you don't have a ROM zip on your sdcard, mount the usb storage on your computer. Download the ROM zip on your pc, then place it on your sdcard. Unmount, then follow the instructions in the OP of your ROM thread, namely by flashing the zip. Then reboot into your new ROM.
i have clockworkmod recovery but im not sure how to flash the ROM because my sdcard has problems when i try to put files onto it.
Arcticfrost said:
i have clockworkmod recovery but im not sure how to flash the ROM because my sdcard has problems when i try to put files onto it.
Click to expand...
Click to collapse
If you have a bad sdcard, you can either transfer them to the internal 8gb memory (not sure, it's been awhile since I've messed with my inc), or you should really just get a new sdcard. You don't want a bad sdcard to start filling up with possibly corrupt app data and mess up the ROM.
i cant mount my sdcard with cwm recovery i can still get the device to connect to adb and fastboot
Arcticfrost said:
i cant mount my sdcard with cwm recovery i can still get the device to connect to adb and fastboot
Click to expand...
Click to collapse
Again,
PonsAsinorem said:
If you have a bad sdcard, you can either transfer them to the internal 8gb memory (not sure, it's been awhile since I've messed with my inc), or you should really just get a new sdcard. You don't want a bad sdcard to start filling up with possibly corrupt app data and mess up the ROM.
Click to expand...
Click to collapse
Note that internal 8gb memory does not mean the sdcard. Also, I'm not saying you can do this, because I can't remember. But if your sdcard is bad, you should replace it.
how do i know if the sdcard is bad though?
and how do i use the internal storage?

[Q] Bricked Ascend P6-U06

Hello there,
I made the mistake of wiping the internal storage using TWRP.
I am unable to enter recovery mode with the button hold options (tried all variations). The only way I was able to get into TWRP was adb reboot recovery. adb connection is now gone and the phone is stuck at the boot screen.
I can get a fastboot connection and the bootloader is unlocked. So I flashed the boot partition with a stock boot.img and the recovery partition with a stock recovery.img (even though I can't enter the recovery partition).
the phone never gets past the boot logo. Is there a way to directly flash a system.img vie fastboot, so that the device can be used? I am kind of stuck here.. read several threads for the past 2-3 hours, tried to reinstall TWRP as recovery but cant boot into it, etc.
I downloaded the B510.zip and was wondering if there is a way to burn an .img out of that and flash the system partition. But maybe that doesn't make sense at all.
Any help is greatly appreciated
update
Alright then, I managed to boot into TWRP!! a previous version worked.
it shows: Custom storage (498MB), Internal Storage (0MB), External Storage (0MB)
i am now proceding to install the zipped 510 rom from huawei. unfortunately i must have lost my microSD so i am lefti with sideload and otg.
sideload doesn't work because i can't find my device with adb. only fastboot seems to work, i dont know the reason but i understand its normal for my situation.
i only have an unpowered otg cable. from what i read that won't work, but I'm giving it a try and currently load the zip on a usb flashdrive.
do i understand correctly that the overall storage just appears to be 498MB? my partition table must be fairly messed up if that is the case. are there other partitions not shown by TWRP?
what do you recommend besides/instead of getting a microsd?
kind regards
update #2
I managed to mount the internal storage as mtp and copied the zip into the pictures folder, because i had no writing permission for the parent dir.
i tried to install, but the first time i got an error that cache could not be mounted. i cleared the dalvik cache and retried.
this time i had another error message as you can see in the screenshot.
adb still does not work, so sideload is not an option. i can also mount the custom partition but it is just under 500mb while the rom zip is 7xx mb
any help would be greatly appreciated
Resolved
I managed to solve it. Installed the paranoid android rom from the pictures dir. it was under 500mb and worked fine.
eyevector said:
I managed to mount the internal storage as mtp and copied the zip into the pictures folder, because i had no writing permission for the parent dir.
i tried to install, but the first time i got an error that cache could not be mounted. i cleared the dalvik cache and retried.
this time i had another error message as you can see in the screenshot.
adb still does not work, so sideload is not an option. i can also mount the custom partition but it is just under 500mb while the rom zip is 7xx mb
any help would be greatly appreciated
Click to expand...
Click to collapse
You cant install Huawei Firmware with TWRP! Only Repacked / Custom Roms.
thank you
RabbidZ said:
You cant install Huawei Firmware with TWRP! Only Repacked / Custom Roms.
Click to expand...
Click to collapse
so that is the reason why the paranoidandroid worked in the end.
cheers

[Q] Odd TWRP Issue

Hi all. I am a serious noob to certain rooting stuff so sorry if this post sounds weird. I have a HTC one M8 rooted with Cyanogenmod. Its a great phone, but one thing i noticed after making a nandroid backup of my CM rom was that apparently in recovery mode my TWRP install, and restore does not see zip files. I later found out that TWRP is defaulting on the install and recover screens to my root folder which has none of my backups. Essentially, I can't get into the traditional internal storage folder which has all my zip files and downloads. Is there any way I can get around it and access my traditional internal storage again? I should note that there is nothing really wrong with the phone, I can boot into it and it works fine. I simply cannot access my traditional storage though in recovery.
ElloM8 said:
Hi all. I am a serious noob to certain rooting stuff so sorry if this post sounds weird. I have a HTC one M8 rooted with Cyanogenmod. Its a great phone, but one thing i noticed after making a nandroid backup of my CM rom was that apparently in recovery mode my TWRP install, and restore does not see zip files. I later found out that TWRP is defaulting on the install and recover screens to my root folder which has none of my backups. Essentially, I can't get into the traditional internal storage folder which has all my zip files and downloads. Is there any way I can get around it and access my traditional internal storage again? I should note that there is nothing really wrong with the phone, I can boot into it and it works fi
ne. I simply cannot access my traditional storage though in recovery.
Click to expand...
Click to collapse
Wait. Are you using TWRP to try to restore a CWM backup? You can't do that. They are non-compatible.
EDIT: sorry I misread what you posted. You can direct TWRP to either internal or external sd by cliucking wher it says "storage: internal/external" at the top when you are in recovery.
thanks but..
thanks but the issue is twrp says my internal storage is 0mb. I will double check, but i should note that i am not having a deleted OS issue that other people with 0mb storage problems have. My phone is fine its just the storage that acts works ok TWRP recovery
ElloM8 said:
thanks but the issue is twrp says my internal storage is 0mb. I will double check, but i should note that i am not having a deleted OS issue that other people with 0mb storage problems have. My phone is fine its just the storage that acts works ok TWRP recovery
Click to expand...
Click to collapse
TWRP has some bug where it can't mount internal storage. Try to re-install TWRP, and the latest version, and see if that helps.
Its seems your right about TWRP having a bug as I just went into recovery and I could freely access all the internal storage files and see all my backups.

Categories

Resources