[Help] No OS, 0mb internal storage. - Nexus 7 (2013) Q&A

Not sure what happened. My tablet is showing No OS in TWRP. I haven't installed or done anything to it recently. I just went to turn it on the other day and it wouldn't boot.
For the past hour I've unsuccessfully been trying to flash the factory images in flashboot. I tried using Wugfresh's nexus root toolkit, but I get an error when it tries to flash the images. **FAILED (remote: flash write failure)**
I've attempted to adb side load, but the internal storage fails to mount. the device is unlocked. I've also attempted to fastboot manually but I'm trying to do the system now and it's been "erasing" for about 10 minutes.
I've attempted to us TWRP to repair and it fails, it also fails to format the partition.
My device dead?

It does not look good but luckily your tablet is unlocked and more options are available. Please post your logs.

k23m said:
It does not look good but luckily your tablet is unlocked and more options are available. Please post your logs.
Click to expand...
Click to collapse
Ok. Attached is the dmesg. I was getting access is denied b/c Windows 10. Had to write the file to another folder.
When I try to run the second command I get an I/O Error.

Related

Please help - locked out of my device

I disabled encryption on my nexus 5x following this thread http://forum.xda-developers.com/nexus-5x/general/guide-how-to-install-custom-recovery-t3231143
I tried flashing a custom ROM, Chroma, and it did not work. After booting the ROM, it started showing numerous apps errors (saying the apps couldn't start). I reflashed my backed up stock ROM using TWRP, but now I can't get into the phone because my PIN isn't working (I know I'm typing it correctly, it just isn't working). I tried connecting my phone to my PC to use ADB to delete the password, but it says I'm unauthorized and will not let me delete anything.
I'm currently unable to do anything with my phone. Can someone please help me get this working? This is my only phone, and without it I'm unable to make any calls.
Have you tried booting into fastboot and flashing the stock image or trying to mount storage in twrp, adding a new rom and flashing?
bdivs11 said:
Have you tried booting into fastboot and flashing the stock image or trying to mount storage in twrp, adding a new rom and flashing?
Click to expand...
Click to collapse
I was able to download this ROM - http://forum.xda-developers.com/nex...-optimized-stock-rom-aroma-installer-t3285805 - and push it to the phone using ADB, after enabling USB debugging in the Chroma ROM. The phone is still telling me there "is an internal problem with my device, contact the manufacturer". Thankfully, I had another ROM on my internal storage - if I hadn't, I'm not sure how I would have been able to get into my phone, since my PIN had been lost and I couldn't enable USB debugging.
Have you ever seen the "there is an internal problem with your device, contact the manufacturer" error?
This is a problem on the 5x and 6p, where restoring backups doesn't restore the correct pin. It's recommended you simply remove phone lock security before making a backup. Here is what I found on fixing it:
srnoth said:
After restoring the Nandroid, open ADB and:
rm /data/system/locksettings.db
rm /data/system/*.key
This should remove the pattern/pin completely, you'll have to re-secure your phone after
Click to expand...
Click to collapse
Sent from my Nexus 5X using Tapatalk
I'm about ready to throw this phone away. I can't seem to flash anything on it without it going into a boot loop and forcing me to restore. I never had any problems flashing ROMs on my Galaxy Nexus.
I just tried flashing CM 13 on it and it went into a boot loop for some reason. I'm also getting a screen on boot up that says my device can't be checked for errors, please lock the bootloader. Any way to disable that error? And I'm still getting the "your device has internal problems" after my ROM boots.

is it possible that my internal storage to be wiped out completely using xFSTK

My Zenfone 2 got bricked without me doing anything to it. It happened when I tried to charge my phone as I normally would. The next thing I knew, I saw a hanging USB logo. All possible solution offered around the web failed to save it. Then I tried the guide offered in this forum. manage to get into fastboot but failed to flash the firmware using all the possible solution suggested. When I tried to install file using CWM and TWRP I also get the
E:/ unable to find partition.
E:/ unable to mount cache.
E:/ unable to data
etc...
when I tried to ADB sideload my device was immediately disconnected from my pc. One thing that I found out from TWRP is that my internal storage 0 mb.
So my question, is it possible that my internal storage to be wiped out completely when I first tried to unbrick my phone using xFSTK to get into fastboot?
If so, how can I recover from this problem? Since my device is already hard brick, I'm willing to tried any possible solution to get it back to life. but I'm gonna give it a try. Another concern I have at this moment, I used to get the USB hanging screen but now no longer.
How about yours phone? In facts, xfstk works on first partition only, which contains dnx, ifwi and fastboot, so it doesn't harm your phone anyway. I'm sure about that . If u can access fastboot, it's easier than you think. Just download "raw" firmware (.raw extension), then use Asus Flash Tool to flash that ".raw" firmware to your phone first. After that you can flash any other Rom u want like normal. Or open that ".raw" firmware with any archive manager like winrar, 7zip...,extract it to somewhere, go to extracted folder, u will see 2 .bat file, now either refer 2 files to flash by manually, or execute it in cmd directly.
Sent from my ASUS_Z00A using Tapatalk

How to repair Wileyfox Swift when I can get into TWRP but not bootloader

Hi. I've just updated CM13 to the latest nightly using TWRP, but now the system just boots into TWRP - that's whether I select boot system, recovery, or bootloader. I tried restoring from a TWRP backup or another copy of the nightlies zip - it all seems to work fine but doesn't solve the problem. I can connect to the 'recovery' device using adb but adb restart bootloader just loads TWRP again. I've tried wiping first the dalvik/cache, then everything but the internal card, then finally everything but nothing seems to work.
I did get something a little bit like this a few days ago because SuperSU was complaining that I needed to update the binary. I let it do it the way that it suggested one does when TWRP is installed and afterwards couldn't reboot into system, but after a few minutes of frustration sorted things by wiping various partitions.
I attempted to load the full system restore files (cm-13.1-ZNH2KAS29G-crackling-signed-fastboot-74bb753396.zip) using TWRP but that didn't work (I imagine because they're designed to be run via fastboot). I tried loading them via the ADB sideloader option included in TWRP but it failed after a few seconds (I think the message was 'transmitting 0.0x'
I opened that zip and copied the various files to the external card, but I then baulked at installing the image files manually because the only partition option I'm given is boot and my understanding is that each image file should go into its own partition.
The only other potentially pertinent information I can think of:
TWRP keeps reporting "E: Unable to find partition size for '/recovery'"
Has anyone got any ideas please? I had been musing that my next phone would have OTG and NFC, but I wasn't planning to upgrade just yet if I don't absolutely have to.
Have you got it fixed? And if yes - how? I am stuck in a similar situation and can't find a solution for it. Tnx in advance.

Nexus 5x data recovery

Dear XDA, I could really use your help.
I have a stock LG Nexus 5x (bullhead/7.1.1) which recently started to fail to boot properly as it never loads past the coloured animations on startup and often stops. This sounds like it may be the boot-loop problem.
I have not rooted the phone, unlocked the boot-loader or flashed any recoveries. I have not enabled USB debugging and can't now because it won't boot.
I am looking at my options to recover the data from this phone.
I can get to the fastboot screen (where the fastboot command line tools see the device, but adb does not). I can proceed to the recovery screen and have tried clearing the cache with no luck.
I am considering trying:
Booting a fastboot recovery image
(eg fastboot boot recovery TWRP.img)
Applying a rescue OTA image
Will these methods void the phones warranty?
Will these methods even work (given the bootloader is locked)?
Can the images be recovery images like TWRP or does it have to be some stock/non-custom image?
Does the rescue OTA require adb/usb-debugging to be operational?
Will the data on the phone still be intact using these methods?
As I am cautiously working may way through this to firstly recover my data, secondly recover my phone., any advice would be greatly appreciated.
Sorry to hear that! I'm assuming your files weren't backed up to Google drive.
I don't know a way to recover your data! If you flash a OTA image, it might help fix your phone boot up problem and it will preserve your phone data.
This sucks because the phone is encrypted by default (did you use to enter a password in the middle of phone booting up and the it would continue booting after your password was accepted? If yes, encryption is on). So flashing TWRP won't mean you can see your data.
And it also has USB debugging disabled by default, which means you probably can't mount the internal memory through ADB.
So I would flash a full OTA image before anything else and keep my fingers crossed. Don't flash a full factory image because it will wipe the data and continue!!!
https://developers.google.com/android/ota
Sent from my Nexus 5X using XDA-Developers Legacy app
Commodore 64 said:
Sorry to hear that! I'm assuming your files weren't backed up to Google drive.
I don't know a way to recover your data! If you flash a OTA image, it might help fix your phone boot up problem and it will preserve your phone data.
This sucks because the phone is encrypted by default (did you use to enter a password in the middle of phone booting up and the it would continue booting after your password was accepted? If yes, encryption is on). So flashing TWRP won't mean you can see your data.
And it also has USB debugging disabled by default, which means you probably can't mount the internal memory through ADB.
So I would flash a full OTA image before anything else and keep my fingers crossed. Don't flash a full factory image because it will wipe the data and continue!!!
Click to expand...
Click to collapse
Unfortunately I had not set-up any syncing/backup process on the phone. In the future I will.
Although I don't recall what encryption settings were originally configured, I didn't have to enter a password in the middle of boot, and was only prompted to swipe in. So I think it wasn't encrypted.
So I attempted to sideload an OTA image via:
adb sideload bullhead-ota-n4f26i-06953aec.zip
then rebooted, however the phone still does not successfully boot any further. I must have really broken this one!
Are there any data recovery methods if a factory reset is applied? if I take it in to a repair agent under-warranty, do they typically wipe your data anyway?
Also, do I need to remove this OTA image if I am to return it for repair under warranty?
In a futile/desperate attempt to try to further recover my data, I have attempted to load my Nexus 5X into the stock recovery mode, then experimented with adb when using the 'apply update from adb' option. This exposed a subset of adb commands which appeared to work (eg adb devices, adb sideload etc). I was hoping to be able to run adb shell or adb pull remote local and recover some data... however I only encountered errors.
./adb shell
error: closed
./adb pull /storage/emulated/ /backup
adb: error: connect failed: closed
I assume this is expected (due to the stock recovery adb limitations, but thought it was worth a shot). I am considering exploring the fastboot options (eg fastboot boot recovery recovery.img) I suspect these are also likely to fail/wipe data. Has anyone got any suggestions/ideas or am I just wasting my time?
This just happened to me yesterday, and I got the single file I needed off the phone today. I fought with the thing for hours yesterday. First you have to clear the cache and sideload a new bullhead zip file (as documented elsewhere). That isn't all, though. After several tries, I noticed that I got farther along in the boot if I let the phone sit for a while. So, on the theory that there's a loose solder connection somewhere and/or heat buildup, I put the phone in the freezer for a few hours (not my idea; found it on reddit). This worked, but only if I also tapped the back of the phone with my knuckle before booting. As I said, success today and I'm all smiles. I hope this helps someone else.
The phone, by the way, is bricked as far as I can tell. And my backups are going to be a lot more comprehensive from here on.

Nexus stuck in boot loop - unrooted - Backing up photos from bootloader or recovery

Hi.
Apologies if this is a very naive question, I am not particularly familiar with mods, roms and so forth.
I have rooted another phone in the past, but that is all.
The situation:
- Samsung Galaxy Nexus
- Not rooted/unlocked. Stock android automatically updated to the latest Android version supported
- Android developer option NOT set in settings
- Stuck in a boot loop: boots to android and then after a few seconds reboots, so no time to do anything
- Not sure how it happened, I had it for years, it was in my pocket and suddenly started doing that.
- Android fastboot and recovery loads up no problem
- I have tried anything I could find online to fix it: deleted cache, rebooted in safe mode, removed battery for 10 hours
- Nothing seems to fix it, it keeps rebooting
- I want to try a factory reset, but my family photos are in the phone
- Google synch seems to have stopped functioning for this device a year ago, all my 2016-17 photos and videos are locked in the phone.
Admitting there is nothing to do about the loop problem:
Is there any way I can copy photos and videos via usb while in recovery mode?
After I will reset the phone via recovery menu, hoping it will fix it. IF that does not fix it, I will flash another rom in. But I really do not want to wipe my data before backing them up.
I am assuming the answer is no, you cannot access the internal memory in fastboot/recovery unless your phone is rooted.
But I would like an expert opinion before I resolve to wipe one year of photos and videos which I will regret losing.
@mcaldo DON'T DO FACTORY RESET, EVERYTHING WILL BE LOST
which recovery are you using..?
if it's TWRP, then it's easy..
- boot into TWRP recovery
- go to "Mount" tab
- find "enable/disable MTP" button at lower options.. (enable it )
then connect your phone to that PC, where you always connected in past, ( to eliminate driver installation stage, all drivers will be preinstalled )
Regards
____Mdd said:
@mcaldo DON'T DO FACTORY RESET, EVERYTHING WILL BE LOST
which recovery are you using..?
if it's TWRP, then it's easy..
- boot into TWRP recovery
- go to "Mount" tab
- find "enable/disable MTP" button at lower options.. (enable it )
then connect your phone to that PC, where you always connected in past, ( to eliminate driver installation stage, all drivers will be preinstalled )
Regards
Click to expand...
Click to collapse
Thanks for your reply!
By recovery, I meant 'android system recovery'
It gives me the following options:
reboot system now
apply update from ADB
apply update from USB drive
wipe data/factory reset
wipe cache partition
Is any of the above useful?
Unfortunately, I do not have any alternative recovery software available
Edit: Googling I found this: "Apply update from ADB: The Android Debug Bridge allows you to plug your device into your PC and issue commands from there. "
If I can issue commands through ADB, perhaps there is a command to copy data from my phone to my computer?
mcaldo said:
Thanks for your reply!
By recovery, I meant 'android system recovery'
It gives me the following options:
reboot system now
apply update from ADB
apply update from USB drive
wipe data/factory reset
wipe cache partition
Is any of the above useful?
Unfortunately, I do not have any alternative recovery software available
Edit: Googling I found this: "Apply update from ADB: The Android Debug Bridge allows you to plug your device into your PC and issue commands from there. "
If I can issue commands through ADB, perhaps there is a command to copy data from my phone to my computer?
Click to expand...
Click to collapse
Yes, you can copy through adb commands..
Get and extract Minimal ADB and Fastboot from here: https://forum.xda-developers.com/showthread.php?t=2317790
From PC, run CMD to extracted folder directory.
Connect phone to PC, go to update from ADB(in recovery),
Type "adb device" , it will show serial number and connected..
Then "adb pull /sdcard " (if you know particular directory of data then write it like /sdcard/photos,, otherwise writing /sdcard will copy all folders from your phone. )
it will start copying to same adb folder ..
____Mdd said:
Yes, you can copy through adb commands..
Get and extract Minimal ADB and Fastboot from here: https://forum.xda-developers.com/showthread.php?t=2317790
From PC, run CMD to extracted folder directory.
Connect phone to PC, go to update from ADB(in recovery),
Type "adb device" , it will show serial number and connected..
Then "adb pull /sdcard " (if you know particular directory of data then write it like /sdcard/photos,, otherwise writing /sdcard will copy all folders from your phone. )
it will start copying to same adb folder ..
Click to expand...
Click to collapse
Thanks for the advice.
I followed the instructions closely, and nearly got there.
adb devices returns
#serialnumber sideload
so all good
but adb pull /sdcard returns
adb: error connect failed: closed
I tried several other commands with no success
kill-server and start-server work fine but do not solve the problem
adb usb returns
error closed
So, I am starting thinking that the problem is in the bootloader being locked.
However, if I unlock it, it will be wipe all my data, I understand?
Googling about it, I found this:
The behavior is status-by-design. Your stock recovery is not designed to grant shell access. Your only choice here is to somehow manage to flash a custom recovery. – Firelord Dec 30 '15 at 14:19
3
To achieve something similar to what @FireLord suggested: TWRP can be booted on many devices without being installed. For that, find a matching image, then boot to the bootloader and run fastboot boot twrp.img. Btw: you can check with fastboot devices resp. adb devices whether a device is visible to the corresponding tool. – Izzy♦ Jul 8 '16 at 19:40
So I understand one could boot TWRP without installing it, but I am not sure if that means I could do that with the bootloader locked?
I found WugFresh nexus root toolkit which seems to do that, among many other things, but again it warns that the phone must be unlocked (using the android build "Android *.* Any", I did not know what else to choose, not sure if that makes any difference as for locked/unlocked requirements)
EDIT: my fastboot screen reads "FASTBOOT STATUS - Failbootloader locked" as the last line, when trying to run TWRP without installing.
Yes, unlocking bootloader will wipe everything..
What actually you did ? Why it went into bootloop ???
I have also read that about boot into TWRP without installing.. and it worked for many one without unlocking bootloader... Don't know why not on GNex.
____Mdd said:
Yes, unlocking bootloader will wipe everything..
What actually you did ? Why it went into bootloop ???
I have also read that about boot into TWRP without installing.. and it worked for many one without unlocking bootloader... Don't know why not on GNex.
Click to expand...
Click to collapse
What actually you did ? Why it went into bootloop ???
Click to expand...
Click to collapse
A very good question, to which I have no answer, unfortunately.
The phone was used by my wife for 2 years and then by me for other 2. I recently changed the battery.
Never rooted or unlocked. No unusual apps installed. I am a very basic user, as you might have guessed, and being my only phone at the moment, I really would not risk experimenting with it.
It went very slow over the last 4 months, so I was planning to reset it.
I put in my coat pocket for a few hours, when I took it out it had a train ticked stuck to the screen and was quite warm and on the lock screen. It froze, so I took the battery out and restarted it. From then on it is stuck in a loop, not sure why really.
I have also read that about boot into TWRP without installing.. and it worked for many one without unlocking bootloader... Don't know why not on GNex
Click to expand...
Click to collapse
That's good to know. I'll research more than.
It seems there might be a problem with the fastboot drivers on my computer, even selecting them from device manager did not work. Win7 refuses to install. The ADB drivers in theory work fine though.
If you have done nothing modification to system, then wiping data should work, but i have doubt if it also wipes personal data too, on TWRP it wipes data excepting /data/media/ which contains all personal data.. but don't know about wiping on stock recovery...
I hope you will find solution as soon as possible..
Regards.
PS. I can install stock recovery and try wiping /data.. and check what things get wiped.. but i need little time for that experiment...
____Mdd said:
If you have done nothing modification to system, then wiping data should work, but i have doubt if it also wipes personal data too, on TWRP it wipes data excepting /data/media/ which contains all personal data.. but don't know about wiping on stock recovery...
I hope you will find solution as soon as possible..
Regards.
PS. I can install stock recovery and try wiping /data.. and check what things get wiped.. but i need little time for that experiment...
Click to expand...
Click to collapse
Thanks so much.
Looking at google's documentation on the nexus:
You can remove data from your Pixel phone or Nexus device by resetting it to factory settings. Resetting to factory settings is also known as formatting the device or doing a "hard reset".
If you're factory resetting your device to fix an issue, make sure that you've tried all other troubleshooting options first. Find out how to troubleshoot your issue.
Important: Performing a factory reset will erase all data from the device.
Click to expand...
Click to collapse
It would seem that indeed all data will be removed.
This point, I will research a bit more into drivers, in case that is what it's preventing adb pull from working.
I really need a working phone, so if that fails I will hard reset, then unlock, root, flash in an alternative bootloader and perhaps a rom, and put ubuntu touch in dual boot. That will hopefully prevent me from loosing data in the future.
Sorry, this is out of topic to my question, but, , could you suggest any stable, solid rom for the nexus?
I read good things of CM12, and I ran into one which seemed to do to quite well with split windows, but I do not remember the name right now.
EDIT: I remember the name of the rom now, it's https://omnirom.org/about/
A last question if you can..
I tried to solve my boot loop problem by sideloading an update from google (maguro yakju yakju-jwr66y-factory-4cadea65.zip)
It loaded it fine but then failed because the installation it says it is not signed.
Basically, being a stock bootloader recovery from Samsung, it will only sideload OTAs from samsung, not the stock ones from google..
I cannot find the samsung ones anywhere, not for the nexus anyway, just the newer devices..
By any chance do you know where I could download proper Samsung OTA zip updates for the nexus?
Well, I talked with an android developer who confirmed that, unless you have a friend working in criminal forensic technology or similar, there is no way to get around a lock on this phone to pull data out.
So, sadly, I have wiped my phone by unlocking it, flashed TWRP and then omnirom with gapps.
My photos are gone, including a bunch of stuff my kid had made and asked me to photograph for safeeping. Very safe indeed
He kept asking me why they make the lock like that, instead of allowing some kind of password, perhaps he has a point.
So, it is quite unlikely that somebody who knows as little as I did will ever read this *before* finding themselves in the same situation.
But if you do, back up your data, unlock and flash TWRP, clockworks or some alternative, and thank yourself if and when disaster strikes..
@mcaldo wiping data/factory reset in STOCK RECOvERY will wipe everything... There is very few chances to get backup...
And yeah i found something interesting..
You can flash system.img.. only system files will be corrected not anything else..
Get appropriate zip from here : https://developers.google.com/android/images
Now take system.img to ADB/Fastboot folder ( i assume you know how it works )
Just go "Fastboot flash system system.img"
It will rewrite system partition..
Another one:
See downloads on this thread..
One says NON-WIPE, if you want me to try that zip, i will again require time for that. See here : https://forum.xda-developers.com/galaxy-nexus/general/guide-restore-to-stock-unbrick-galaxy-t2065470
---------- Post added at 11:12 AM ---------- Previous post was at 11:09 AM ----------
I don't saw your reply, it was on next page.. its sad... Sorry i am late..

Categories

Resources