So I used the Nexus Root Toolkit to flash stock and unroot it, but after using it, I got stuck at the bootloader screen. So I pushed the start button to reboot, and my nexus 7 is still rooted. Help plz?
Give it a try again? I have use this 5 times, work great for me, u have adb fastboot mode on ur desktop?
Sent from my HTC Sensation XL with Beats Audio X315e using xda premium
Download the stock image and flash in fastboot .
Sent from my Nexus 7 using xda premium
So when i try to fastboot the bootloader .img manually, it says:
sending bootloader ... okay
'writing bootlader'.... failed (remote: (invalid state))
so what do i need to do to fix that?
zeiloz said:
So when i try to fastboot the bootloader .img manually, it says:
sending bootloader ... okay
'writing bootlader'.... failed (remote: (invalid state))
so what do i need to do to fix that?
Click to expand...
Click to collapse
Is your bootloader locked?
Sent from my Nexus 7 using xda premium
it said lock status: unlock
So i would presume its unlocked...
zeiloz said:
it said lock status: unlock
So i would presume its unlocked...
Click to expand...
Click to collapse
OK. I've never seen that error before. And a quick google search doesn't come up with anything either.
You could try restarting the bootloader with
Code:
fastboot reboot-bootloader
and trying again.
The only thing I can think of is you could be trying to flash the wrong bootloader (which i doubt) Just to confirm you are trying to flash bootloader-grouper-3.34.img
Also, to just unroot you don't need to reflash the bootloader. Just boot.img and system.img
El Daddy said:
OK. I've never seen that error before. And a quick google search doesn't come up with anything either.
You could try restarting the bootloader with
Code:
fastboot reboot-bootloader
and trying again.
The only thing I can think of is you could be trying to flash the wrong bootloader (which i doubt) Just to confirm you are trying to flash bootloader-grouper-3.34.img
Also, to just unroot you don't need to reflash the bootloader. Just boot.img and system.img
Click to expand...
Click to collapse
Yes, I am trying to flash bootloader.grouper-3.34.img
And Im flashing bootloader because its I'm told to do in this thread? http://forum.xda-developers.com/showthread.php?t=1781250
I will try what you told me and see if it will work
So i rebooted the bootloader, and it still gives me the same thing. Whats the command to boot.img and system .img?
zeiloz said:
So i rebooted the bootloader, and it still gives me the same thing. Whats the command to boot.img and system .img?
Click to expand...
Click to collapse
Both the boot.img and the system.img are in the image-nakasi-jro03d.zip you must extract them first.
Then run: fastboot devices (to make sure you're connected) if it returns the serial number then proceed.
Code:
fastboot flash system system.img
fastboot flash boot boot.img
fastboot erase cache
fastboot reboot
This should maintain your data and unroot your nexus.
However, I am a bit concerned about the invalid state error. I can't find anything about it at all. I'm worried your nand might be corrupted and proceeding with this might lead to an unrecoverable state. Maybe someone else can weigh in on this... I don't want to scare you but I don't want to be responsible if something goes wrong.
hmm... I hope more people would weigh in on this? Cuz im exchanging the nexus 7 due to flickering screens, and im new to the rooting/unrooting stuff so i dont want to brick this device cuz im a n00b.
hmm... I hope someone else weigh in on this to help, cuz I'm going to exchange this nexus 7 for another 1 because of flickering issues...
Restart, carefully check
My nexus had the ghosting issue and I had to unroot my device to ship back today. Heres how I did it.
1. Download stock ROM from Google.
2. Unzip stock ROM from Google. The unzipped file will have 4 files in it. (Boot loader grouper image, flash all.sh, flash base.sh and the image.zip)
3. Unlock your device by clicking the unlock button on nexus root toolkit
4. When your device wakes turns on set it back up. No need to log into Google.
5. turn a dB back on in development
6. Click flash stock + unroot
7. click other/browse
8. For choice click I did this already.
9. Click OK
10. browse to your unzipped file location with the 4 files in it.
11. click OK
12. Done
Sent from my Desire HD using xda premium
I'm facing a similar problem.
http://forum.xda-developers.com/showthread.php?p=31128926
Did you find a way to flash the Bootloader?
I'm thinking about a hardware issue as well. Are there any Devices, with corrupted NAND's known?
Marcus
Gesendet von meinem Galaxy Nexus mit Tapatalk 2
How to get Stock kernel back to get nexus 7 ota updates
i once used DR BEATS audio mod it is not installed now but still i cannot install OTA update which i still repent installing that mod
The easiest way for you would be to do the update manually:
- Get the factory image and extract the following files:
- bootloader-grouper-4.23.img
- boot.img
- system.img
If you want to keep root, get
- UPDATE-SuperSU-v1.51.zip
and copy it to /sdcard and be sure, that you have a custom recovery installed.
Do a nandroid backup before starting and then do a
fastboot flash bootloader bootloader-grouper-4.23.img
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot flash system system.img
reboot into recovery and flash UPDATE-SuperSU-v1.51.zip
Do a reboot system and, congrats, you should be on Android 4.3 without loosing any data.
AndDiSa said:
The easiest way for you would be to do the update manually:
- Get the factory image and extract the following files:
- bootloader-grouper-4.23.img
- boot.img
- system.img
If you want to keep root, get
- UPDATE-SuperSU-v1.51.zip
and copy it to /sdcard and be sure, that you have a custom recovery installed.
Do a nandroid backup before starting and then do a
fastboot flash bootloader bootloader-grouper-4.23.img
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot flash system system.img
reboot into recovery and flash UPDATE-SuperSU-v1.51.zip
Do a reboot system and, congrats, you should be on Android 4.3 without loosing any data.
Click to expand...
Click to collapse
Can you guide me how to fastboot flash is it in cwm custom recovery or i need to do that with wugfresh toolkit
Sent from my Nexus 7 using Tapatalk HD
Neither you need a PC to do it. Read about both adb and fastboot instead of having everything spoon fed. That way when something goes wrong you have some idea what to do.
Sent from my Nexus 7 using Tapatalk 4 Beta
Hey, I want to upgrade my N7 bootloader from 3.41.3 to a newer vesion because I want to install M kernel.
How do you upgrade it?
Daniel120201 said:
Hey, I want to upgrade my N7 bootloader from 3.41.3 to a newer vesion because I want to install M kernel.
How do you upgrade it?
Click to expand...
Click to collapse
With very considerable care!
Hi, Daniel120201...
The method I use is via fastboot... I don't know if the various toolkits that are available can flash a bootloader, as I've never used them.
So, using fastboot, the command line syntax is...
Code:
fastboot flash bootloader bootloader-grouper-4.23.img
...for flashing bootloader-grouper-4.23.img on a WiFi only 'grouper' Nexus 7.
The bootloader for the WiFi+3G Nexus 7 ('tilapia') will have a different bootloader name.
** (Edit & addendum: just checked, and as expected, it's called bootloader-tilapia-4.23.img) **
So for a WiFi & 3G Nexus 7, the bootloader flash command would be...
Code:
fastboot flash bootloader bootloader-tilapia-4.23.img
-----------------------------------------
IT'S VITALLY IMPORTANT YOU FLASH THE CORRECT BOOTLOADER FOR YOUR SPECIFIC NEXUS 7. Fastboot flashing an incorrect bootloader to the bootloader partition WILL HARDBRICK the device.
And on that note... and before you do anything... it's important you read the following first...
[WARNING][URGENT] N7 grouper (2012 WiFi) bootloader .img files from Google.
Hope this helps... and good luck.
Rgrds,
Ged.
Ty but I upgraded it before seeing this
You still deserve a thanks
GedBlake said:
With very considerable care!
Hi, Daniel120201...
The method I use is via fastboot... I don't know if the various toolkits that are available can flash a bootloader, as I've never used them.
So, using fastboot, the command line syntax is...
Code:
fastboot flash bootloader bootloader-grouper-4.23.img
...for flashing bootloader-grouper-4.23.img on a WiFi only 'grouper' Nexus 7.
The bootloader for the WiFi+3G Nexus 7 ('tilapia') will have a different bootloader name.
** (Edit & addendum: just checked, and as expected, it's called bootloader-tilapia-4.23.img) **
So for a WiFi & 3G Nexus 7, the bootloader flash command would be...
Code:
fastboot flash bootloader bootloader-tilapia-4.23.img
-----------------------------------------
IT'S VITALLY IMPORTANT YOU FLASH THE CORRECT BOOTLOADER FOR YOUR SPECIFIC NEXUS 7. Fastboot flashing an incorrect bootloader to the bootloader partition WILL HARDBRICK the device.
And on that note... and before you do anything... it's important you read the following first...
[WARNING][URGENT] N7 grouper (2012 WiFi) bootloader .img files from Google.
Hope this helps... and good luck.
Rgrds,
Ged.
Click to expand...
Click to collapse
Hi mate ,
really good information , i been looking for something like that for a while...
Where do i get the bootloader from? factory images? if so i have to unlock them and root them again.....
And besides fastboot can i use tools like NRT to flash them?
So many questions...
MAX 404 said:
Hi mate ,
really good information , i been looking for something like that for a while...
Where do i get the bootloader from? factory images? if so i have to unlock them and root them again.....
And besides fastboot can i use tools like NRT to flash them?
So many questions...
Click to expand...
Click to collapse
You download the factory image, extract it and it should be one of the files. The just fastboot flash bootloader bootloadername.img
kilometers4 said:
You download the factory image, extract it and it should be one of the files. The just fastboot flash bootloader bootloadername.img
Click to expand...
Click to collapse
Thanks.
then i should unlock it and root again? also newer is better i am on 4.21 now
MAX 404 said:
Thanks.
then i should unlock it and root again? also newer is better i am on 4.21 now
Click to expand...
Click to collapse
Is it already unlocked? If it is I'm pretty sure it will stay unlocked. But if it isn't, yes you can unlock and root it. Just keep in mind that unlocking the bootloader will wipe your data
kilometers4 said:
Is it already unlocked? If it is I'm pretty sure it will stay unlocked. But if it isn't, yes you can unlock and root it. Just keep in mind that unlocking the bootloader will wipe your data
Click to expand...
Click to collapse
It is already unlocked , thanks for the support , you are number 1.
Well, there's been a lot of confusion about over in the 5.0 OTA thread about how to get onto the latest build of Lollipop.
**********UPDATE********
Sorry guys, I no longer have a Moto X and as such have to discontinue support for the downloads in this thread; I can no longer keep up with a device I don't have
If you can get the files I mention elsewhere, most of these instructions should remain applicable.
Thanks
*****************************
So how does one get onto the latest OFFICIAL build of Android 5.0 on their Moto X 2014 Pure Edition (XT1095)? Here's how (and it most likely involves a data wipe)
Have an XT1092 or XT1097? Well fear not! It's easy to convert.
Follow this guide later in the thread (thanks to@steff999 for this!):
http://forum.xda-developers.com/showthread.php?p=56700701
And if you have cellular problems on your 1092 or 1097, follow this post by @sbtm1337:
http://forum.xda-developers.com/showthread.php?p=56778275
****If you damage anything in the process, it's no one's fault but yours (it's hard to mess this up, though )****
Step 0:
Make sure you have basic fastboot and adb knowledge; have Motorola drivers on your computer.
Enable USB debugging on your phone if you haven't yet.
Then, go to the home screen. Plug in the USB cable into your computer, and then into your phone.
If you haven't done anything like this before, it should prompt you for RSA authorization. Check always allow, and then yes.
Step 1:
Determine where you are in the process.
You can be in one of 5 places:
A: On 4.4.4 KitKat, un-tampered
B: On 4.4.4 KitKat, tampered (root, /system mods, etc.)
C: On 5.0 Lollipop LXE22.39-6 un-tampered
D: On 5.0 Lollipop LXE22.39-6 tampered
E: On ANY other version
If option A, go to step 4 (no wipe!)
If option C, go to step Q (keep your data )
If option B, D, or E, go to step 2 (gonna have to wipe...)
******Unless you're on option A or C, you NEED an unlocked bootloader!******
Step 2:
Download the stock 4.4.4 firmware.
It's on Motorola's site, but you have to request access and wait a while. I've mirrored it in .zip form for easy access:
https://onedrive.live.com/redir?resid=227F163CB35629DA!20267&authkey=!AMWPTB3ICDtezYs&ithint=folder,
Extract the .zip on your PC. On OneDrive, open the Moto Fastboot folder and download the fastboot corresponding to your OS (Windows or Linux, no Moto Fastboot exists for Mac unfortunately).
***Take the fastboot file here and replace the one in whatever directory you have your current one***
***Move the files from the 4.4.4 Firmware to the same place you have the new fastboot.***
***There may be a file called fastboot in the 4.4.4 Firmware folder. Delete that, you only need the one from OneDrive***
Step 3:
Reboot your device to fastboot.
Enter these commands:
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot reboot-bootloader
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot flash modem NON-HLOS.bin
fastboot erase userdata
fastboot erase cache
fastboot reboot
Don't sign into any accounts, and skip all the setup.
Step 4:
Now, download the 4.4.4 to 5.0 OTA zip from here:
https://onedrive.live.com/redir?resid=227F163CB35629DA!20267&authkey=!AMWPTB3ICDtezYs&ithint=folder,
Put it in the download folder of your Moto X.
Step 5:
Reboot to stock recovery. Once you see the Android and a red triangle above it, press volume up for 3 sec and then lock right afterwards. Then let go immediately.
Select "apply update from sdcard".
Navigate to your download directory, and select the update zip.
Let it flash.
Reboot.
Step 6 **IMPORTANT**:
Now you've got L! But... Not so fast.
Skip through the setup, and go to factory reset in settings (enjoying the beauty along the way).
Here's why: Android L has 256-bit encryption (up from 128-bit on KitKat), however it only takes effect if you factory reset within L.
It's ultimately up to you whether you reset or not, but coming from a clean KitKat install like most this is a great benefit for little effort.
If you've made it this far without a wipe and don't want to re-set up your phone, it will work without it, but to ensure smooth operation and for security purposes I'd highly recommend the reset (many who haven't done this reset have reported numerous FCs and other issues as well).
Step Q:
All you have to do now is download the 5.0-6 to 5.0-11 OTA from my OneDrive and flash it in stock recovery. Not much to it!
*If you have an alternate modem, you'll be ineligible for this .6-.11 OTA. It's likely that you'll have to wipe, flash 4.4.4, and redo the steps it took to get you to -6 but with the -11 OTA file.*
And...
BAM!
LOLLIPOP!
YEAHHH BUDDY
Enjoy
Hope this helps some folks! Hit the thanks button if it does!
Sent from my Moto X Pure Edition using Tapatalk
SolarTrans said:
Well, there's been a lot of confusion about over in the 5.0 OTA thread about how to get onto the latest build of Lollipop.
In case you haven't followed it all, here's the story:
On the 8th or 9th of November 2014, Motorola started a very limited soak test with L build LXE22.39-5. That OTA got leaked, and many of us tried to get back to stock 4.4.4 to take the OTA. On 11/11/14, they started another, more widespread soak test. The build in that one is LXE22.39-6. In order to get from the first soak test build to the next, a "delta" OTA was required, and it was only sent to those officially enrolled in the first wave. That was never leaked, so in order to get onto the -6 firmware, a downgrade to stock 4.4.4 was necessary.
So how does one get onto the latest (as of now) build of Android 5.0 on their Moto X 2014 Pure Edition (XT1095)? Here's how (and it most likely involves a data wipe):
****If you damage anything in the process, it's no one's fault but yours****
Step 0:
Make sure you have basic fastboot and adb knowledge; have Motorola drivers on your computer.
Step 1:
Determine where you are in the process.
You can be in one of 5 places:
A: On 4.4.4 KitKat, boot loader locked, untampered whatsoever
B: On 4.4.4 KitKat, boot loader unlocked, tampered
C: On 4.4.4 KitKat, boot loader unlocked, untampered whatsoever (not even root) (extremely unlikely)
D: On 5.0 Lollipop build LXE22.39-5 boot loader unlocked
E: On 5.0 Lollipop build LXE22.39-5 boot loader locked
If option A or C, skip to step 4 (phew, no data wipe needed )
If option B or D, go to step 2 (you're getting wiped, sorry)
If option E, unlock your bootloader through Motorola's website (yup. Wipe too) and go to step 2
Step 2:
Download the stock 4.4.4 firmware.
It's on Motorola's site, but you have to request access and wait a while. I've mirrored it in .zip form for easy access:
https://onedrive.live.com/redir?res...0263&authkey=!AM8xPNkiWBzJ3iY&ithint=file,zip
Extract the .zip, and open the folder corresponding to your OS (Windows, Linux, etc).
Take the fastboot file here and replace the one in whatever directory you have your current one.
Move the rest of the files not in the OS folders to the same place you have the new fastboot.
Reboot your device to fastboot.
Enter these commands:
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot reboot-bootloader
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot flash modem NON-HLOS.bin
fastboot erase userdata
fastboot erase cache
fastboot reboot
Don't sign into any accounts, and skip all the setup.
Step 4:
Now, download the OTA zip from here:
https://onedrive.live.com/redir?res...0264&authkey=!APWqFt6yzNh4mSU&ithint=file,zip
And put it in the download folder of your Moto X.
Step 5:
Reboot to stock recovery. Once you see the Android and a red triangle above it, press the volume up and lock buttons simultaneously for 3 seconds and let go.
Select "apply update from sdcard".
Navigate to your download directory, and select 5.0OTA.zip.
Let it flash.
Reboot.
Step 6 **IMPORTANT**:
Now you've got L! But... Not so fast.
Skip through the setup, and go to factory reset in settings (enjoying the beauty along the way).
Here's why: Android L has 256-bit encryption (up from 128-bit on KitKat), however it only takes effect if you factory reset within L. It's ultimately up to you whether you reset or not, but if you're coming from a clean KitKat install like most this is a great benefit for little effort.
If you've made it this far without a wipe and don't want to re-set up your phone, it will work without it, but to ensure smooth operation and for security purposes I'd highly recommend the reset (many who haven't done this reset have reported numerous FCs and other issues as well).
And...
BAM!
LOLLIPOP!
YEAHHH BUDDY
Enjoy
Hope this helps some folks! Hit the like button if it does!
Sent from my Moto X Pure Edition using Tapatalk
Click to expand...
Click to collapse
A lot of people including myself have had troubles with the motoboot command. It comes up with a downgrade from TZ ( or something like that)
Have you had any problems?
Currently I'm on 4.4.4
I was on the first soak and tried to get back to 4.4.4 but my phone bootloops and then goes to recovery when I try to update to the newest L.
I have to flash the system from 4.4.4 And the boot to get my phone back.
matt99017d said:
A lot of people including myself have had troubles with the motoboot command. It comes up with a downgrade from TZ ( or something like that)
Have you had any problems?
Currently I'm on 4.4.4
I was on the first soak and tried to get back to 4.4.4 but my phone bootloops and then goes to recovery when I try to update to the newest L.
I have to flash the system from 4.4.4 And the boot to get my phone back.
Click to expand...
Click to collapse
No, I haven't had any problems. I've heard of some people saying that you don't have to flash motoboot (it's the boot loader) to successfully downgrade.
Have you tried flashing everything else from this firmware?
Sent from my Moto X Pure Edition using Tapatalk
I've tried to flash the system, but it tells me something about needing to use a new fastboot. Multi....+++++? Not used anymore.
I've tried to flash the gpt but it won't work either. I've done boot, fsg, modem, that is it.
System, gpt, motoboot are all a no go.
Kinda lost.
I'm at work now, so I can't do much for about 7 more hours.
Thanks for this - so this is the official 5.0 OTA? Not the Soak test?
SolarTrans said:
Extract the .zip, and open the folder corresponding to your OS (Windows, Linux, etc). Take the fastboot file here and replace the one in whatever directory you have your current one.
Click to expand...
Click to collapse
There are no folders in the archive with stock 4.4.4 firmware and there is no fastboot.exe for Windows inside. Where I can get fasboot for Windows to flash so big system.img ?
It's in the os folders - that fastboot did not work for me however. I just used sdk fastboot.
Quick question
Sorry for a noob question, but am I correct in assuming this will function fine on a Mac using the Linux fastboot? And does it need to be placed in the same directory as the files associated with the Android SDK? Or can it be in its own folder?
Thanks for any help!
Sdobron said:
It's in the os folders - that fastboot did not work for me however. I just used sdk fastboot.
Click to expand...
Click to collapse
I have downloaded both archives (1st link in OP, 2nd in another tread) and both do not have any folders inside. There is "fastboot" file in the archives and looks like it is for Mac and not for Windows.
So does it means that sdk fastboot flashed sustem.img successfully ?
Thanks to @SolarTrans and everyone else, both here and on MFN, I was able to reflash back to 4.4.4, update OTA to the Lollipop soak test, and restore the logo file to get rid of the ugly bootloader unlocked warning screen
This has been a great resource, and first time doing all of this. Definitely a little confusing at first, but I figured it out. Thanks everyone.
matt99017d said:
I've tried to flash the system, but it tells me something about needing to use a new fastboot. Multi....+++++? Not used anymore.
I've tried to flash the gpt but it won't work either. I've done boot, fsg, modem, that is it.
System, gpt, motoboot are all a no go.
Kinda lost.
I'm at work now, so I can't do much for about 7 more hours.
Click to expand...
Click to collapse
That's because you need the motorola fastboot file in the 4.4.4 zip
Sent from my Moto X Pure Edition using Tapatalk
Sdobron said:
Thanks for this - so this is the official 5.0 OTA? Not the Soak test?
Click to expand...
Click to collapse
It's the 2nd soak test, which some believe is the final OTA.
If it isn't, however, I'm registered as part of that soak test so I'll be able to post the update
Sent from my Moto X Pure Edition using Tapatalk
greggov said:
Thanks to @SolarTrans and everyone else, both here and on MFN, I was able to reflash back to 4.4.4, update OTA to the Lollipop soak test, and restore the logo file to get rid of the ugly bootloader unlocked warning screen
This has been a great resource, and first time doing all of this. Definitely a little confusing at first, but I figured it out. Thanks everyone.
Click to expand...
Click to collapse
How did you restore the logo? Just fastboot flash the logo.bin from the factory image?
paul_jones said:
Sorry for a noob question, but am I correct in assuming this will function fine on a Mac using the Linux fastboot? And does it need to be placed in the same directory as the files associated with the Android SDK? Or can it be in its own folder?
Thanks for any help!
Click to expand...
Click to collapse
As I said in the guide, it needs to replace your current fastboot file in your Android SDK (it works for other manufacturers too, it just has some added functionality for Motorola so it's safe to do this).
But yeah you should be fine with the Linux one, although I don't have a Mac so I can't test it
Sent from my Moto X Pure Edition using Tapatalk
Moto Fastboot files are back up guys! They're in my OneDrive, just follow the folders from either link up there
Sent from my Moto X Pure Edition using Tapatalk
Sdobron said:
How did you restore the logo? Just fastboot flash the logo.bin from the factory image?
Click to expand...
Click to collapse
I actually googled around trying to replace it, and it linked me back to a thread here. Downloaded the logo.bin file and flashed it. It's the stock M logo with "powered by Android" or whatever that says
greggov said:
I actually googled around trying to replace it, and it linked me back to a thread here. Downloaded the logo.bin file and flashed it. It's the stock M logo with "powered by Android" or whatever that says
Click to expand...
Click to collapse
Care to link that thread? Thanks
Sdobron said:
Care to link that thread? Thanks
Click to expand...
Click to collapse
here you go!
Anyone did try on XT1097 (Brazilian model)?
Updated OP with Moto Fastboot files! There should be no problems now
Sent from my Moto X Pure Edition using Tapatalk