[Q] Error on Installing TWRP and Can't recover to ICS, same Problem? - Asus Transformer TF700

I have had my TF700 for a while, and merrily went from ICS through the various OTA upgrades to 4.2.1
I have attempted to follow along the "All in One Guide" in order to get Rooted so I can install Cyanogenmod or alternative to get rid of the crapware delivered by Asus. But I seem to get stuck when trying to "Flash" anything. Or at least I think so.
I unlocked the bootloader using the apk provided by Asus. Bootloader shows as unlocked when booting.
adb devices shows my device attached. When booted into fastboot mode fastboot devices shows my device attached.
I have also done a complete data wipe, not that that should matter.
1st, I have tried to install twrp using GooManager, and the fastboot method. Using GooManager, the file downloads and then nothing seems to happen. GooManager will also not reboot to recovery. Using the Fastboot method I get "error: cannot load 'twrp.blob': No error". I have downloaded the file multiple times and it does not appear to be corrupted.
I have tried to roll back to ICS by downloading the correct firmware, renaming it and copying to my SDCard, then booting into recovery. US_epad_user_9_4_5_30_20120907_UpdateLauncher.zip I only get the Android guy with the red triangle until it reboots.
I have also tried http://forum.xda-developers.com/showthread.php?t=1929712 but this does nothing as twrp is not installed and the regular recovery doesn't do anything.
What should I try next? It would seem like I'm missing something obvious.

When you download firmware from Asus, the file you need to put on your SDCard is not the file you downloaded, but the zip file contained within. Its a zip in a zip. Extract the file you downloaded and you will find another zip file inside and that's the one you rename and copy to your SDCard. Also make sure your SDCard is formatted FAT32. exFAT will not work and is the default Sandisk format.

Got rolled back to ICS but..
I successfully rolled back to ICS .30
Now adb fails to recognize the device. Previously it did recognize. I reinstalled the drivers in fastboot mode and "normal" mode. I have tried the universal naked drivers and the Asus drivers. fastboot reboot will successfully reboot the device, but nothing shows up when I do a adb devices or fastboot devices.
fastboot -i 0x0B05 flash recovery twrp.blob Gets the same error, error: cannot load 'twrp.blob': No error.
When I run through *** Rooting Your TF700 with Debugfs automated root *** I get the error "You must install device specific drivers...."

Fixed
Adhar said:
I successfully rolled back to ICS .30
Now adb fails to recognize the device. Previously it did recognize. I reinstalled the drivers in fastboot mode and "normal" mode. I have tried the universal naked drivers and the Asus drivers. fastboot reboot will successfully reboot the device, but nothing shows up when I do a adb devices or fastboot devices.
fastboot -i 0x0B05 flash recovery twrp.blob Gets the same error, error: cannot load 'twrp.blob': No error.
When I run through *** Rooting Your TF700 with Debugfs automated root *** I get the error "You must install device specific drivers...."
Click to expand...
Click to collapse
I discovered that I couldn't install twrp as I was in the wrong folder when executing the command. I needed to cd to the folder that contained the .blob file. Then it was trivial to use twrp to flash the root.zip file and gain root, and then flash cyanogenmod 10.0, wipe, and then reboot.
Everything is fine, now downloading Google apps.

Adhar said:
I discovered that I couldn't install twrp as I was in the wrong folder when executing the command. I needed to cd to the folder that contained the .blob file. Then it was trivial to use twrp to flash the root.zip file and gain root, and then flash cyanogenmod 10.0, wipe, and then reboot.
Everything is fine, now downloading Google apps.
Click to expand...
Click to collapse
When I read "seems like I'm missing something obvious" from your original post I went back and re-read it looking for the obvious. It wasn't immediately apparent what was wrong. If you hadn't posted the name of the firmware file it wouldn't have been obvious to me either but I thought I recognized it as the downloaded not the internal zip file name and verified it with my downloaded firmware. Glad to help and that you got it all worked out.

Related

[Q] Can't access root and Google apps

I recently rooted my phone (T-Mobile US Nexus S) and installed the 4.0.3 OTA update from this thread, but now I cannot access any Google apps or get root access on any of the apps that require it.
SounderBruce said:
I recently rooted my phone (T-Mobile US Nexus S) and installed the 4.0.3 OTA update from this thread, but now I cannot access any Google apps or get root access on any of the apps that require it.
Click to expand...
Click to collapse
Ok! first download : http://www.4shared.com/zip/XG506hyV/icsroot-fastboot-recovey.html
just unpack, connect your device and click run.bat.....Good luck!
I ran the .bat, but I get an error saying "Device already rooted", but it is still not recognized as rooted by SuperUser.
Alternatively, is it possible to completely wipe the phone of everything (including root) so I can start over with a fresh phone?
Of course you can, and might be the best idea if you don't mind doing it.
Make sure you have the latest CWM recovery on your phone, download the FULL ROM from this thread (i'm not american so i don't know exactly, but from what i know yours is the I9020T, so get that ROM) and copy it to the SDCard. Now go into recovery, wipe system/data and dalvik cache, then flash the ROM.
Do make sure you have the right ROM though. This will get you 100% fresh and untouched 4.0.3. You can probably clear out any non-personal folders on the sdcard too, but that shouldn't do any harm anyway.
After this, use the attached file from this thread to root, and feel free to update root/superuser.
Actually, that's what I did...I can't use CWM recovery because its displaying an error of no root. So how do I wipe this or fix CWM?
Is your boot loader unlocked? And are you trying to flash cwm through fastboot?
Note to backup your sdcard if unlocking the bootloader.
Harbb said:
Is your boot loader unlocked? And are you trying to flash cwm through fastboot?
Note to backup your sdcard if unlocking the bootloader.
Click to expand...
Click to collapse
My bootloader is apparently unlocked and I'm trying to flash through fastboot.
Are you sure the following is satisfied:
-open padlock and google logo on boot
-fastboot (on phone) says "bootloader status: unlocked" or something of the like
-you are using: "fastboot flash recovery "C:\path\to\recovery.img""
-you are using the above command while connected to the PC via USB (with working drivers) and that you are in fastboot mode on the phone (turn off phone --> hold Vol. Up then hold Power TOGETHER for about 2 seconds, should give you reboot and recovery options)
It is necessary to be in the bootloader/fastboot interface on the phone when you run the command. Hopefully it was something simple that i said above, otherwise i'm completely lost.
1. Yes
2. Yes
3. I didn't use that method to root...
4. I'll try that.
3 is just flashing recovery, that is the code u type into cmd/terminal to reflash the recovery img. It isn't rooting the phone. 4 is how to get into the mode on the phone to use the command.
Its a bit confusing at first but makes much more sense once you do it one or two times.
Where do I go to get the recovery image?
The latest ClockWorkMod Recovery can be found on this page. Just scroll down to Nexus S and download 5.0.2.0 crespo .img. Then just direct fastboot to the folder you have it saved in while using the "fastboot flash recovery C:\path\to\recovery.img" command.
Ok. I've tried this, but in command prompt, I get the following error:
C:\Users\Bruce>fastboot flash recovery C:\Users\Bruce\Downloads\recovery.img
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
Check out this rooting guide, however only go up to step 5 (and do NOT type "fastboot oem unlock", do everything up until that point). This will setup fastboot for you, and setup drivers for your computer. Once this is done, do what you did above and it should work successfully.
Remember to cd (change directory) in cmd to where you unzipped that folder.
There isn't a link...
Sorry, stuffed that up. I fixed the link in my previous post pointing to NexusSHacks - How to Root Nexus S.
It's worked, but when I try to go to the recovery menu, the Google/unlocked padlock screen freezes or it displays an Android with its chest compartment open and a red triangular ! symbol.
I just had a really long reply and managed to lose it by closing the page..
That's the stock bootloader you see there, it probably didnt flash or you rebooted your phone. And make sure that you are flashing the latest CWM you downloaded before.
I flashed the latest CWM, but when I try to go to recovery, my phone freezes at the Google logo with the unlocked padlock.
Have you tried flashing it again, or maybe redownloading the file? And of course making sure it is the NEXUS S version which you are downloading.
Alternatively, try just "fastboot boot recovery.img", replacing recovery.img with the full name and path of cwm.
edit: btw, i'll be gone for an hour or two Bruce so i can answer any more questions/issues when i get back

[Q] Brick After last OTA Update TF300TG

Updating to latest OTA Update, download smoothly, installed with no error message, but after that stuck loop in asus logo.
Try to boot into recovery mode, only got dead android logo with big exclamation on red triangle.
Try to boot with volume down, and select mode, but only have two option : Wipe Data and Android, both not working.
How to fix?
Thanks.
anjing.banjo said:
Updating to latest OTA Update, download smoothly, installed with no error message, but after that stuck loop in asus logo.
Try to boot into recovery mode, only got dead android logo with big exclamation on red triangle.
Try to boot with volume down, and select mode, but only have two option : Wipe Data and Android, both not working.
How to fix?
Thanks.
Click to expand...
Click to collapse
if the update failed before installing the new bootloader you can install a full ics rom from their support page, http://www.asus.com/Tablet/Transformer_Pad/ASUS_Transformer_Pad_TF300TG/
from download, select android, select firmware, download the right one for your tablet (usa for us bought tablets, ww for europe, jp for japan etc)
unzip the package, inside you'll find another zip file - that one DONT unzip.
rename it as "EP201_768_SDUPDATE.zip" (without "") and copy it to your sdcard, load the sdcard into your tablet.
reboot in recovery mode, wait for it to install.
but if the ota updater has worked up to having installed the new JB bootloader this will surely fail, you have to wait for ASUS to post the new JB roms for download on their site.
NixZero said:
if the update failed before installing the new bootloader you can install a full ics rom from their support page,
from download, select android, select firmware, download the right one for your tablet (usa for us bought tablets, ww for europe, jp for japan etc)
unzip the package, inside you'll find another zip file - that one DONT unzip.
rename it as "EP201_768_SDUPDATE.zip" (without "") and copy it to your sdcard, load the sdcard into your tablet.
reboot in recovery mode, wait for it to install.
but if the ota updater has worked up to having installed the new JB bootloader this will surely fail, you have to wait for ASUS to post the new JB roms for download on their site.
Click to expand...
Click to collapse
ota uploader already installed the new JB bootloader i suppose because already tried your suggest but not working.. Have to wait for new JB roms on Asus then... thank you for ur suggestion, appreciated it.
NixZero said:
if the update failed before installing the new bootloader you can install a full ics rom from their support page,
from download, select android, select firmware, download the right one for your tablet (usa for us bought tablets, ww for europe, jp for japan etc)
unzip the package, inside you'll find another zip file - that one DONT unzip.
rename it as "EP201_768_SDUPDATE.zip" (without "") and copy it to your sdcard, load the sdcard into your tablet.
reboot in recovery mode, wait for it to install.
but if the ota updater has worked up to having installed the new JB bootloader this will surely fail, you have to wait for ASUS to post the new JB roms for download on their site.
Click to expand...
Click to collapse
Did already what you suggested, download JB roms from asus, extract once the zip, and renamed the extracted zip to EP201_768_SDUPDATE.zip, put the zip into root dir in my sdcard, boot into recovery mode; but only see the picture of dead android with exclamation sign in red triangle. Any suggestion?
anjing.banjo said:
Did already what you suggested, download JB roms from asus, extract once the zip, and renamed the extracted zip to EP201_768_SDUPDATE.zip, put the zip into root dir in my sdcard, boot into recovery mode; but only see the picture of dead android with exclamation sign in red triangle. Any suggestion?
Click to expand...
Click to collapse
the sdcard is formatted ntfs?
it need to be formatted as fat32
NixZero said:
the sdcard is formatted ntfs?
it need to be formatted as fat32
Click to expand...
Click to collapse
Did already format the sdcard in FAT and FAT32, but still couldn't do the recovery. Same dead android image
I woke up to a nice brick this morning. Idk how it happened. But i get the unrecoverable bootloader **** now
Sent from my VS840 4G using xda premium
Why dont you try this way:
”just wanted to share what worked!
1. Grabbed the Firmware file (_epad....zip) from the Asus site.
2. Unzipped twice to get to the blob file.
3. ran: fastboot -i 0x0b05 flash boot blob
-- this failed with an error 0x170003
4. ran: fastboot -i 0x0b05 flash recovery blob
-- ran this even though I would have thought it should have been flash boot. Others have suggested that you just
run this program one or more times to achieve success. The good news is that it worked and after:
5. fastboot -i 0x0b05 reboot
I now have a fully functioning device again. I hope this helps others.”
badmania98 said:
Why dont you try this way:
”just wanted to share what worked!
1. Grabbed the Firmware file (_epad....zip) from the Asus site.
2. Unzipped twice to get to the blob file.
3. ran: fastboot -i 0x0b05 flash boot blob
-- this failed with an error 0x170003
4. ran: fastboot -i 0x0b05 flash recovery blob
-- ran this even though I would have thought it should have been flash boot. Others have suggested that you just
run this program one or more times to achieve success. The good news is that it worked and after:
5. fastboot -i 0x0b05 reboot
I now have a fully functioning device again. I hope this helps others.”
Click to expand...
Click to collapse
Unfortunately I can't get into fastboot mode. So can't use fastboot to push the firmware using this command.
Is there any solution for my problem?

Flashed stock recovery and thought I soft bricked my shield tablet.

First I'll give credit where it is due. From two threads on this site is where I got help with this issue:
I followed THIS guys steps for manually erasing and got the recovery images and lots of other useful information from HERE. Thank you guys very much!
OK, so, hopefully I can help someone with my little story as well. I was having issues with apps and programs crashing on me with lollipop and the new marshmallow update. The tablet just wasn't working properly and moving slow. I even had the SD card holding all my apps and larger files so I didn't overload the internal storage. So, I decided I wanted to flash back to factory/stock recovery and go from there. I did this using THIS method. I flashed via the "flash-all.bat" file (the command in fastboot is the same as the file name). I should note that there was one instance that failed during the install (I did try it again and got the same failure). Said something about “did you mean you wanted to flash this partition” or something, then showed it failed. After flashing I hit continue on the bootloader screen of the tablet and it said it was "cold booting." After about 5 minutes or so it started to boot but never made it past the NVidia screen. I tried wiping the phone with factory reset, wiping the cache, etc. and then re-flashing the recovery (again with the .bat file). I tried flashing TWRP but it didn't install apparently, because it still went to factory recovery. I even re-locked and then unlocked my bootloader to see if that would set everything straight. Nothing seemed to work. I knew I would eventually find a solution though so I kept looking. Stumbled on some other people that had the same issues but no solution (hope those people got it figured out). So here's what I did after some more research:
First, if you're in this situation and you did factory reset to try and resolve the problem, you may feel like you can no longer communicate with the device via fastboot/adb, but as long as you have the usb drive and your SDK tools installed (I used CodeWorks for Android all-in-one program) that shouldn't be a problem. You'll just have to be in the bootloader on the tablet.
-If for some reason you deleted or uninstalled your drivers and tools you'll have to download them again and then, the computer should still be able to communicate with the tablet. In the device manager under portable devices it will still show up as Module something or other. So the computer still sees the device but doesn't fully recognize it yet. Don't worry, this should still work! Just make sure you that fastboot is seeing the device by inputting "fastboot devices" in the command window and a 14 digit serial number should pop up. If it just says "list of devices" or there's nothing then you wont be communicating with the tablet.
Your device should be connected to your computer and started in bootloader mode. On your computer you should have the command prompt for adb/fastboot open. I just go to the folder where the .exe files are located and hold shift and right click in the white space of the folder, then select "open command window here."
From here follow the erase steps: stolen from manigault! :highfive:
fastboot erase system
fastboot erase userdata
fastboot erase boot
fastboot erase recovery
fastboot erase cache
Then flash your recovery MANUALLY:
fastboot flash recovery {dir}/recovery.img
fastboot flash boot {dir}/boot.img
fastboot flash system {dir}/system.img
fastboot flash userdata {dir}/userdata.img
fastboot flash staging {dir}/blob
fastboot flash dtb {dir}/tegra124-tn8-p1761-1270-a04-e-battery.dtb
You can download whatever recovery version you wish. I downloaded 2.2.2 because that's what my device came with out of the box on Christmas 2014. It will more then likely be a .zip file. To make this whole process a little easier simply extract the files in the .zip file where the adb.exe and fastboot.exe files are located (folder should be named platform-tools) and you can completely eliminate typing the whole directory before the file name. ***After your done flashing everything you can go back and delete those files if you want. Just double check that you're deleting the right files by looking at the original zip file. Not sure if it makes a difference but I deleted them anyway.
For example the commands in fastboot will look like this exactly :
(after extracting recovery files into platform-tools folder)
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash staging blob
fastboot flash dtb tegra124-tn8-p1761-1270-a04-e-battery.dtb
Note: Do NOT use the flash-all.bat command as this doesn't seem to work for this situation. Do it manually like shown above. And let each individual process complete before attempting to input another command.
After this step I didn't select continue on the bootloader. You can either select reboot or simply input "fastboot reboot" into the command window. It may take about 5 minutes to start installing everything but just be patient, it should start. Sometimes with these things you have to do things twice before it works. If for some reason it doesn't work the first time then start from the beginning and try it again. It took two times for me, but that's because I installed system.img twice and was getting double screen. Newb error... and I was a bit inebriated last night when I did this.
Hope this helps someone!
Thanks again to manigault and MidgetMob!
NVIDIA download files HERE!
i think i done the same thing
but the problem i now have is i cnt get tablet into fastboot on pc. i can load fastboot on tablet with power and volume down , but the tablet only shows as MTP device in device manager. i have downloaded drivers from nvidia and no matter what i try i cant install them i have been through all instructions but scince it went to mtp device i cant get device showing in adb. The only way i can get device showing in adb on pc ist to select apply update from adb ! but none of these commands listed in your post will work because its in sideload. is there anyway i cn reset , flash custom rom ect bu using commands while device is in adb sideload.
all i get is now send the package you want to apply to the device with "adb sideload <filename>".....
if you could shed any light on this it would be much appreciated , thanks , lester
did you update official android 6.0 before? then, not working stock recovery, stock boot...
If you can enter bootloader mode, download unofficial twrp 3.0.0.0 (here http://forum.xda-developers.com/shield-tablet/development/wip-twrp-2-8-0-1-unofficial-t2877117) and flash it.
i have a working boot.img file on marshmallow if you want.. please reply.
Sorry for the late response! I have no clue how you got into sideload??? Are you talking about through the recovery on your device? You're not able to get adb/ fastboot to recognize the device, right? It doesn't matter how you get the tablet into the bootloader. Whenever you have the phone in the bootloader then you'll use the fastboot command to "talk to" the device; i.e. "fastboot devices" without the quotes. That command should show your device if it shows as an MTP device whenever you open your "device manager" in windows. That's the same exact situation I was in. Download the codeworks from nvidia like I linked above. Hopefully then you should be able to recognize your device through the bootloader. If not DM me and I'll try to help you.
I'm having the exact problem as Lester. Tablet boots into bootloader but won't connect to computer. So I go into recovery mode and nothing works except apply update from adb. Which brings up the side load message that Lester quoted. And bootloader is showing "device=locked". I am attempting to fix this tablet for a friend that messed it up trying to flash a custom rom. Problem is he had no idea what he was doing and I'm not exactly sure what he did. I do however have a lot of experience with rooted android devices and flashing so any help would be GREATLY APPRECIATED!
---------- Post added at 05:59 PM ---------- Previous post was at 05:55 PM ----------
Also, I've already tried flashing stock rom back onto the tablet by applying update from sd card function in the recovery but when I try to do that the tablet for some reason can't mount the sd card.
rom fiend said:
Tablet boots into bootloader but won't connect to computer.
Click to expand...
Click to collapse
If you've got the device in bootloader then you need to use fastboot, not adb. Try the command 'fastboot devices' and see if the device id is listed. If so then grab a factory image, unzip it and use fastboot to flash the .img files using the commands 'fastboot flash system system.img'. Just make sure to match the partition names to the files.
Hello i have similar issue except when i try flash something i get this error ''remote: file write failed''
and i have to reboot into fastboot to get it flashing fully
but even though i managed to flash everything by rebooting when i boot system nothing shows up, i can just see the back light coming on and turning off after a while
Please help

Boot Issues, Trying to Go Back To Stock

So I got a pixel recently. I unlocked the bootloader, installed TWRP, and rooted it. However, it's been a few years since I had an unlocked and rooted phone so I forgot that the OTA updates can't be applied. So I decided to go back to the factory image. A quick google search lead me to an article where they said I could select the Full Unroot option in the settings of SuperSU and it would attempt to restore the stock boot image and recovery image. So I did that, and ended up in a boot loop.
Well, then I decided to try flashing the entire factory images from google, using the flash-all.bat file they provide. It seems to flash the bootloader and the radio fine, but when it comes to the part where it flashes everything in the "image-sailfish-nde63l.zip" (I picked this build because it was the one I was on when the pixel arrived) folder it says "Error: failed to load 'image-sailfish-nde63l.zip': not enough space."
I can still get to the TWRP recovery, and I can get to the bootloader, but currently nothing else seems to work. Please, can anyone help me?
UPDATE: The issue was outdated adb and fastboot. I had 1.0.32, once I had the latest versions (1.0.36 right now) I could fix everything.
UPDATE: So I extracted boot and system from the zip file and manually flashed those. It boots now, but when it does it says there are errors with the device and to contact the manufacturer, also a lot of dialog boxes pop up saying various processes have stopped.
I think that if I manually flash the rest of the contents of the zip folder it will work, but there are a lot of files and I'm not sure which partition to flash them too, or which one's are needed. Does anyone know how to manually do what the flash-all.bat script does? Flashing bootloader, radio, system, and boot are not enough it seems. If you read the script it's just doing a 'fastboot -w update' on the zip file.
I hope what I'm saying makes sense. Thanks.
Did you try flashing the stock boot.img to both slots before going back to stock?
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
This is what chainfire recommended in his supersu post when he was talking about flashing twrp. Maybe try doing that and then try using the flashall script. Also make sure your download is not corrupt or something. https://plus.google.com/+Chainfire/posts/CBL8pnKtA8F
Evo_Shift said:
Did you try flashing the stock boot.img to both partitions before going back to stock?
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
This is what chainfire recommended in his supersu post when he was talking about flashing twrp. Maybe try doing that and then try using the flashall script. Also make sure you download is not corrupt or something.
Click to expand...
Click to collapse
No, I didn't do any flashing myself before going back to stock. I selected the "Full unroot" option in SuperSU, based on the first result when googling "unroot pixel".
As soon as I did that I was stuck in a bootloop and I tried to restore the factory images according to the google webpage, but that's when I get the error.
Doing what you said doesn't work either, not even redownloading the image.
Actually, now it's worse. When I select recovery from fastboot menu it shows "No command" with a broken android. So twrp is gone now too.
If anyone can help me at all, that would be amazing, thanks.
UPDATE: So I extracted boot and system from the zip file and manually flashed those. It boots now, but when it does it says there are errors with the device and to contact the manufacturer, also a lot of dialog boxes pop up saying various processes have stopped.
I think that if I manually flash the rest of the contents of the zip folder it will work, but there are a lot of files and I'm not sure which partition to flash them too, or which one's are needed. Does anyone know how to manually do what the flash-all.bat script does? Flashing bootloader, radio, system, and boot are not enough it seems. If you read the script it's just doing a 'fastboot -w update' on the zip file.
I hope what I'm saying makes sense. Thanks.
th3p3r50n said:
Actually, now it's worse. When I select recovery from fastboot menu it shows "No command" with a broken android. So twrp is gone now too.
If anyone can help me at all, that would be amazing, thanks.
Click to expand...
Click to collapse
This happened to me too. That's my current situation. Have adb and fastboot still but can't figure out what steps to fix it.
I think you should focus on why the flash all didn't work. Do you have the latest fastboot? Did you check the md5 of the downloaded rom image? What OS it's your computer running?
How do we verify latest fastboot. I thought that was my issue but don't see where this can be found. I have latest minimal adb and fastboot installed.
fracman said:
How do we verify latest fastboot. I thought that was my issue but don't see where this can be found. I have latest minimal adb and fastboot installed.
Click to expand...
Click to collapse
The commands <adb version> and <fastboot --version> seem to return version numbers. My setup returns:
Android Debug Bridge version 1.0.36
Revision fd9e4d07b0f5-android
and
fastboot version fd9e4d07b0f5-android
respectively
Thank you cntryby429. I assumed I was using the latest versions because I had just installed them through the SDK Manager, turns out I was using version 1.0.32. I found the latest version of Minimal ADB and Fastboot and the flash-all script worked fine. I still had a few issues though, so I did a factory reset and then ran the flash-all script again. Now everything works perfectly again. Thanks so much!

[Q] Google OG Pixel problems soft bricked

Hello everyone,
I have an OG Pixel 5'', the stock Android was 7.1.2 and I updated it to Android 8.1 Oreo. Bootloader is unlocked, and I am able to install a TWRP 3.2.1-0 no problems. Phone at the time worked well. Now I have tried to flash an ElementalX Kernel on my device. This worked and I managed to boot. However, a message "There is an internal problem with your device, please contact the manufacturer". There is a thread to fix this and I should have done my research better.
Anyway, I went into TWRP and did a complete wipe of the phone, thinking that I could have just boot into TWRP again and copy the stock flashable zips to reflash the ROM.
It turns out that:
a) TWRP doesnt work. I.e when I got into fastboot mode (Power + Volume Down) and selected Recovery, the phone flashed to screen with Google image and then flashed back into the one with the green Android.
b) I managed to boot twrp via fastboot from my computer. So I booted into fastboot mode, and then on my computer, did: fastboot boot <twrp3.2.1.zip>. This worked and I managed to get into TWRP again. However, I cannot transfer file to flash. I.e when the phone showed up on my computer in TWRP, I cannot drag and drop anything into mounted folder.
I have tried the following to get stock ROM from this website: https://developers.google.com/android/images
a) I decided to look at ADB Sideload. So from the above website, I downloaded the zip files under Full OTA Images and then in TWRP, I went into Advance and chose ADB SIdeload. On my computer, I did "adb sideload name_of_zip_file_downloaded". The process started but ended very quickly, the finished time was 0.00 second, which means that nothing happened. Clearly, TWRP console showed that it is unable to mount /data and other folders. I guess the reason is that I am running a "live" TWRP? I checked by going back to TWRP mainscreen and tried to mount. However, all hard drives show 0MB (OTA USB and the main drive).
b) I used factory images approach by downloading zip from the same website, but this time under Factory Images. For this one, I unzip the files to a separate folder. Then I did flash-all.sh script but it said that my fastboot is too old.
So... to fix fastboot, I tried: (I am on Ubuntu 16.04.02)
a) Remove whole android fastboot with sudo apt-get remove, then reinstalled => Did not work. Still fastboot is too old
b) Download entire Android SDK from here: https://developer.android.com/studio/install.html. Fastboot still didnt work
c) From the Android Studio website, I tried to download just the command line tools. However, I could not find the folder with fastboot in it. A Google search shows that the fastboot and adb should be in platform-tools folder. Couldnt find any
Once again, I apologize for a very very long thread (It's 5am and I am trying to figure this thing out). Please, let me know if you guys can offer any help. Any help is greatly appreciated. FYI, I am coming from a Moto Z Play, and if things happen I would just boot into TWRP and copy the zip over. Clearly, this is not the case. This is my 1st Pixel as well.
Please let me know and thank you very very much.
Installing ex messes with the boot.IMG you need to reflash twrp after. Also don't manually flash stock zips that doesn't even make any sense. Download the latest android sdk or base platform tools then get the latest factory image and extract it into platform tools. Then go into fastboot and manually flash the official factory image
To use fastboot on ubuntu you have to put sudo infront of the command: sudo fastboot ........, Because of a permissions thing.
Sent from my Google Pixel using XDA Labs
Thank you everyone. I have managed to reflash the OS. Gonna stay with stock kernel
maxwell0312 said:
Thank you everyone. I have managed to reflash the OS. Gonna stay with stock kernel
Click to expand...
Click to collapse
I personally recommend using a custom kernel just make sure to follow the OP exactly. As the kernel and twrp are usually stored in the boot.img together and the kernel overwrites the boot.img the problem was likely that you just did things in the wrong order which would cause twrp to be removed. Typically the order of installing custom stuff from stock goes this way: flash_all to restore stock boot.img, boot twrp, factory wipe, flash rom, flash twrp, boot rom, reboot into recovery, flash kernel, flash twrp, reboot system, reboot recovery, flash magisk. Some rooms vary as they may require you to do things like flash a vendor img or delete the vendor overlay folder(always follow OP).

Categories

Resources