[Q] 4.4.4, Rooted. How to flash the 5.0-ota.zip? Tried but failed. - Nexus 5 Q&A, Help & Troubleshooting

After seeing the article:"[INFO] Nexus 5 OTA Help-Desk", I did the following things:
1. downloaded the ota.zip from the article above, and copied it to the / of Nexus5.
2. restart to Recovery mode(TWRP), click "Install", and select the zip
3. Failed, It said that
"E:Error executing updater binary in zip '/sdcard/c1a33......zip'
Error flashing zip '/sdcard/c1a33......zip'"
Did anyone else met this problem? When update from 4.4.2 to 4.4.4, I did it in the same way, anything different?

Can you elaborate what the "blablalba" is? Odds are you have made some modifications to /system and that's what's causing it, but without knowing what that error is, it's kinda difficult to say for sure.

DodouWang said:
After seeing the article:"[INFO] Nexus 5 OTA Help-Desk", I did the following things:
1. downloaded the ota.zip from the article above, and copied it to the / of Nexus5.
2. restart to Recovery mode(TWRP), click "Install", and select the zip
3. Failed, It said that "flash error blablalba..."
Did anyone else met this problem? When update from 4.4.2 to 4.4.4, I did it in the same way, anything different?
Click to expand...
Click to collapse
You need stock recovery! Only stock has that said option
called update via adb sideload

_MetalHead_ said:
Can you elaborate what the "blablalba" is? Odds are you have made some modifications to /system and that's what's causing it, but without knowing what that error is, it's kinda difficult to say for sure.
Click to expand...
Click to collapse
Thanks, The Error message is :
E:Error executing updater binary in zip '/sdcard/c1a33......zip'
Error flashing zip '/sdcard/c1a33......zip'

gamer.11 said:
You need stock recovery! Only stock has that said option
called update via adb sideload
Click to expand...
Click to collapse
Incorrect. You do not need stock recovery to flash an OTA.
---------- Post added at 12:55 AM ---------- Previous post was at 12:53 AM ----------
DodouWang said:
Thanks, The Error message is :
E:Error executing updater binary in zip '/sdcard/c1a33......zip'
Error flashing zip '/sdcard/c1a33......zip'
Click to expand...
Click to collapse
What version of TWRP are you on?

gamer.11 said:
You need stock recovery! Only stock has that said option
called update via adb sideload
Click to expand...
Click to collapse
Do you mean that I should return to stock? According to the article "http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701", it will erase all my data.
Is there any method to update to 5.0 without my data erased?

_MetalHead_ said:
Incorrect. You do not need stock recovery to flash an OTA.
---------- Post added at 12:55 AM ---------- Previous post was at 12:53 AM ----------
What version of TWRP are you on?
Click to expand...
Click to collapse
I have just update TWRP to 2.8.1.0, the newest.
Did the update need more than 1G stroage left ? I have only 900M left.

DodouWang said:
Do you mean that I should return to stock? According to the article "http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701", it will erase all my data.
Is there any method to update to 5.0 without my data erased?
Click to expand...
Click to collapse
You don't need stock recovery. What KK build are you on? It's under settings > about phone. And which OTA file are you trying to flash?

_MetalHead_ said:
Incorrect. You do not need stock recovery to flash an OTA.
---------- Post added at 12:55 AM ---------- Previous post was at 12:53 AM ----------
What version of TWRP are you on?
Click to expand...
Click to collapse
NOTE: Starting with Android 5.0 (LRX21O) you MUST sideload the OTA in a STOCK RECOVERY. No exceptions. .
DodouWang said:
Do you mean that I should return to stock? According to the article "http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701", it will erase all my data.
Is there any method to update to 5.0 without my data erased?
Click to expand...
Click to collapse
Flash the stock recovery from previous system image and then download the zip file,(what you are mentioning is the factory images) from here and then flash without loosing data as a normal android update.

_MetalHead_ said:
You don't need stock recovery. What KK build are you on? It's under settings > about phone. And which OTA file are you trying to flash?
Click to expand...
Click to collapse
Build number is KTU84P
and the zip is : 5.0 LRX21O-from-4.4.4 KTU84P:android.clients.google.com/pa...P.c1a33561.zip. I cannot post urls as a newbie of the forum.
seemed right.

gamer.11 said:
NOTE: Starting with Android 5.0 (LRX21O) you MUST sideload the OTA in a STOCK RECOVERY. No exceptions. .
Flash the stock recovery from previous system image and then download the zip file,(what you are mentioning is the factory images) from here and then flash without loosing data as a normal android update.
Click to expand...
Click to collapse
I stand corrected. I didn't know it changed with 5.0.

gamer.11 said:
Flash the stock recovery from previous system image
Click to expand...
Click to collapse
How to do that? Is there any article for me to follow?
Thanks.

DodouWang said:
How to do that? Is there any article for me to follow?
Thanks.
Click to expand...
Click to collapse
It's just a simple fastboot command- "fastboot flash recovery [recovery name].img" with no quotes.
Do you know how to use fastboot?

DodouWang said:
How to do that? Is there any article for me to follow?
Thanks.
Click to expand...
Click to collapse
If you have any other factory images with you, let it be anything like 4.4.4 or .4.42 or anything, unzip the image-hammerhead-xxxxx.zip and you will find a recovery.img file.
flash this recovery like you flashed twrp
Code:
fastboot flash recovery recovery.img
and you will get the stock recovery boot into that and you will see, "apply update from adb"
choose that option and then when asked use adb to push the update.zip into the phone.
_MetalHead_ said:
I stand corrected. I didn't know it changed with 5.0.
Click to expand...
Click to collapse
No problems :highfive:

_MetalHead_ said:
It's just a simple fastboot command- "fastboot flash recovery [recovery name].img" with no quotes.
Do you know how to use fastboot?
Click to expand...
Click to collapse
You used to be able to boot into a custom recovery without flashing it with: fastboot boot namerecovery.img. Don`t know its possible with stock recovery though.

gee2012 said:
You used to be able to boot into a custom recovery without flashing it with: fastboot boot namerecovery.img. Don`t know its possible with stock recovery though.
Click to expand...
Click to collapse
You can still boot into a custom recovery via fastboot... but what does that have to do with what we're talking about? I'm confused...Are you suggesting he try that instead of actually flashing it?

_MetalHead_ said:
You can still boot into a custom recovery via fastboot... but what does that have to do with what we're talking about? I'm confused...Are you suggesting he try that instead of actually flashing it?
Click to expand...
Click to collapse
I said i have never tried booting into a stock recovery (but it would be nice to know it works) and i`am not even fully sure it will work

_MetalHead_ said:
It's just a simple fastboot command- "fastboot flash recovery [recovery name].img" with no quotes.
Do you know how to use fastboot?
Click to expand...
Click to collapse
I have used them when rooting my Nexus 5, several years ago...
Thank you.

gamer.11 said:
If you have any other factory images with you, let it be anything like 4.4.4 or .4.42 or anything, unzip the image-hammerhead-xxxxx.zip and you will find a recovery.img file.
flash this recovery like you flashed twrp
Code:
fastboot flash recovery recovery.img
and you will get the stock recovery boot into that and you will see, "apply update from adb"
choose that option and then when asked use adb to push the update.zip into the phone.
No problems :highfive:
Click to expand...
Click to collapse
I extract the recovery.img from KTU84P's factory image(Which is my current version), and then:
1. hold down Volume down + power, until I saw the bootloader.
2. connect my phone to PC
3. input "fastboot flash recovery recovery.img", and saw:
sending 'recovery' (9284 KB)...
OKAY [ 0.510s]
writing 'recovery'...
OKAY [ 0.800s]
finished. total time: 1.330s
4. then goto "Recovery mode"
Then, I saw the robot dead, with a red ! on him.....
================================
Oh I knew that, it is the stock recovery , I can use volume up to select ..... Thanks

DodouWang said:
I extract the recovery.img from KTU84P's factory image(Which is my current version), and then:
1. hold down Volume down + power, until I saw the bootloader.
2. connect my phone to PC
3. input "fastboot flash recovery recovery.img", and saw:
sending 'recovery' (9284 KB)...
OKAY [ 0.510s]
writing 'recovery'...
OKAY [ 0.800s]
finished. total time: 1.330s
4. then goto "Recovery mode"
Then, I saw the robot dead, with a red ! on him.....
================================
Oh I knew that, it is the stock recovery , I can use volume up to select ..... Thanks
Click to expand...
Click to collapse
That's the stock recovery. Press and hold power and press volume up to get the menu and then select 'apply update via sideload' (or whatever it says) and go from there. There are guides on how to do this on here already so I'm not going to list it all

Related

Device stuck to the HTC logo... HTC One Mini

Hi,
I was trying to install the cyanogenmod 11 on my device. I have successfully unlocked the boot loader and installed the clockworkmod recovery, but I copied the zip files into the sdcard instead of the root folder. When I tied to install the cyanogenmod 11 from the recovery mode, I could not find the zip file in the device, so I powered off my phone thinking I could start again, but when I have turned the phone on the screen was stuck on the HTC logo.
And now I do not know what to do. Can you help?
Thanks in advance !
AndySOS said:
Hi,
I was trying to install the cyanogenmod 11 on my device. I have successfully unlocked the boot loader and installed the clockworkmod recovery, but I copied the zip files into the sdcard instead of the root folder. When I tied to install the cyanogenmod 11 from the recovery mode, I could not find the zip file in the device, so I powered off my phone thinking I could start again, but when I have turned the phone on the screen was stuck on the HTC logo.
And now I do not know what to do. Can you help?
Thanks in advance !
Click to expand...
Click to collapse
Did you wipe the device prior to install? Can you still access bootloader and recovery?
If you can get into bootloader, what version of HBOOT does it say? What version of CWM are you using. BTW, in my limited experience TWRP is better for this device. Version 2.7.1.1 works well for me.
jollywhitefoot said:
Did you wipe the device prior to install? Can you still access bootloader and recovery?
If you can get into bootloader, what version of HBOOT does it say? What version of CWM are you using. BTW, in my limited experience TWRP is better for this device. Version 2.7.1.1 works well for me.
Click to expand...
Click to collapse
Yes I did wipe all the data, but I did not installed the pack. I turned off the device.
I can access the bootloader but if I try to get into Recovery it brings me back to the bootloader menu.
The HBOOT version is 2.22.0000, and I have installed the CMM. 6.0.3.6
I have tried to install the TWRP but it did not work.
AndySOS said:
Yes I did wipe all the data, but I did not installed the pack. I turned off the device.
I can access the bootloader but if I try to get into Recovery it brings me back to the bootloader menu.
The HBOOT version is 2.22.0000, and I have installed the CMM. 6.0.3.6
I have tried to install the TWRP but it did not work.
Click to expand...
Click to collapse
6.0.3.6 is really old and problably not compatible with your current configuration.
what do you mean TWRP didn't work? Does it not flash? What message do you get in command window when you try to flash it? If it does flash, can you enter TWRP?
HBOOT 2.22 means you're likely on a new partition layout, that was released around April of this year. You shouldn't use any recoveries or ROMs that were released before summer. And with ROMs, you should find out if they are for new or old layout before you flash them.
jollywhitefoot said:
6.0.3.6 is really old and problably not compatible with your current configuration.
what do you mean TWRP didn't work? Does it not flash? What message do you get in command window when you try to flash it? If it does flash, can you enter TWRP?
HBOOT 2.22 means you're likely on a new partition layout, that was released around April of this year. You shouldn't use any recoveries or ROMs that were released before summer. And with ROMs, you should find out if they are for new or old layout before you flash them.
Click to expand...
Click to collapse
Yeah TWRP doest flash, and I got something like that: recovery.img cannot/won't start. I believe I had the wrong version.
I was thinking to delete the current custom recovery and to install another one...
AndySOS said:
Yeah TWRP doest flash, and I got something like that: recovery.img cannot/won't start. I believe I had the wrong version.
I was thinking to delete the current custom recovery and to install another one...
Click to expand...
Click to collapse
When you flash a new recovery it will overwrite the existing one.
What message exactly do you get when you try to flash twrp?
Is fastboot working properly? Does it say Fastboot "USB"? When you type Fastboot devices in command window, does it show your device?
jollywhitefoot said:
When you flash a new recovery it will overwrite the existing one.
What message exactly do you get when you try to flash twrp?
Is fastboot working properly? Does it say Fastboot "USB"? When you type Fastboot devices in command window, does it show your device?
Click to expand...
Click to collapse
It says that." fastboot is not working proprely" . And yes it does show my device.
AndySOS said:
It says that." fastboot is not working proprely" . And yes it does show my device.
Click to expand...
Click to collapse
Can you paste the results from the command window when you try to flash twrp?
Can you paste the results from the command window when you type "fastboot devices"?
What is your computer OS?
jollywhitefoot said:
Can you paste the results from the command window when you try to flash twrp?
Can you paste the results from the command window when you type "fastboot devices"?
What is your computer OS?
Click to expand...
Click to collapse
C:\Android\Unlock Folder>fastboot flash recovery twrp-2.7.1.2-m4
error: cannot load 'twrp-2.7.1.2-m4'
and
C:\Android>fastboot devices
HT3ABWA00119 fastboot
And I have Windows 8.1
AndySOS said:
C:\Android\Unlock Folder>fastboot flash recovery twrp-2.7.1.2-m4
error: cannot load 'twrp-2.7.1.2-m4'
and
C:\Android>fastboot devices
HT3ABWA00119 fastboot
And I have Windows 8.1
Click to expand...
Click to collapse
on your flash command, you forgot to include the file extension. it should be "twrp-2.7.1.2-m4.img"
jollywhitefoot said:
on your flash command, you forgot to include the file extension. it should be "twrp-2.7.1.2-m4.img"
Click to expand...
Click to collapse
It still says the same thing.
C:\Android\Unlock Folder>fastboot flash recovery twrp-2.7.1.2-m4.img
error: cannot load 'twrp-2.7.1.2-m4.img'
AndySOS said:
It still says the same thing.
C:\Android\Unlock Folder>fastboot flash recovery twrp-2.7.1.2-m4.img
error: cannot load 'twrp-2.7.1.2-m4.img'
Click to expand...
Click to collapse
Where did you get that file? I don't see 2.7.1.2 as an official version for our device.
Try downloading 2.7.1.1 from here:
http://techerrata.com/browse/twrp2/m4ul
jollywhitefoot said:
Where did you get that file? I don't see 2.7.1.2 as an official version for our device.
Try downloading 2.7.1.1 from here:
http://techerrata.com/browse/twrp2/m4ul
Click to expand...
Click to collapse
Still, the same thing
C:\Android\Unlock Folder>fastboot flash recovery openrecovery-twrp-2.7.1.1-m4.img
error: cannot load 'openrecovery-twrp-2.7.1.1-m4.img'
AndySOS said:
Still, the same thing
C:\Android\Unlock Folder>fastboot flash recovery openrecovery-twrp-2.7.1.1-m4.img
error: cannot load 'openrecovery-twrp-2.7.1.1-m4.img'
Click to expand...
Click to collapse
Fastboot simply isn't finding the file for whatever reason. can you post a dir of the C:\Android\Unlock Folder?
Do you have Windows set to not show file extension in Explorer? You might want to change it to show extensions to make sure the TWRP file is being saved with the .img extension.
Another thing to try would be to rename the twrp recovery file to just "recovery.img" to reduce the number of variables.
jollywhitefoot said:
Fastboot simply isn't finding the file for whatever reason. can you post a dir of the C:\Android\Unlock Folder?
Do you have Windows set to not show file extension in Explorer? You might want to change it to show extensions to make sure the TWRP file is being saved with the .img extension.
Another thing to try would be to rename the twrp recovery file to just "recovery.img" to reduce the number of variables.
Click to expand...
Click to collapse
I did it. I just had to change to show the extensions. XD
C:\Android\Unlock Folder>fastboot flash recovery openrecovery-twrp-2.7.1.1-m4.img
target reported max download size of 800227328 bytes
sending 'recovery' (9432 KB)...
OKAY [ 1.179s]
writing 'recovery'...
OKAY [ 2.302s]
finished. total time: 3.489s
AndySOS said:
I did it. I just had to change to show the extensions. XD
C:\Android\Unlock Folder>fastboot flash recovery openrecovery-twrp-2.7.1.1-m4.img
target reported max download size of 800227328 bytes
sending 'recovery' (9432 KB)...
OKAY [ 1.179s]
writing 'recovery'...
OKAY [ 2.302s]
finished. total time: 3.489s
Click to expand...
Click to collapse
ok. cool. Now...once you enter recovery, you need to see if ADB works, or do you have an OTG device? Either way, you need to download a ROM to your computer then either push it to your device using ADB or OTG. I'd probably start out with this stock ROM (http://forum.xda-developers.com/htc...-official-stock-sense-6-rom-firmware-t2817921) so you can boot back into OS. Once you can boot into OS, you can make a TWRP backup, then flash CM or whatever else you want.
jollywhitefoot said:
ok. cool. Now...once you enter recovery, you need to see if ADB works, or do you have an OTG device? Either way, you need to download a ROM to your computer then either push it to your device using ADB or OTG. I'd probably start out with this stock ROM (http://forum.xda-developers.com/htc...-official-stock-sense-6-rom-firmware-t2817921) so you can boot back into OS. Once you can boot into OS, you can make a TWRP backup, then flash CM or whatever else you want.
Click to expand...
Click to collapse
Yeah about that... i have already done that and I have insatlled the CM 11 and its currently processing.
Thank you for your help ! XD XD
U just saved my phone
AndySOS said:
Yeah about that... i have already done that and I have insatlled the CM 11 and its currently processing.
Thank you for your help ! XD XD
U just saved my phone
Click to expand...
Click to collapse
ok. cool. no problem. glad you got it working.

Stuck at boot up failed!

Hey guys,
I wanted to have the Android 5.1 update so I looked up how I can do this.
I ended up at a youtube video called ''How to Install OFFICIAL Android 5.1 Lollipop GPe on Moto G [XT1033 & XT1032]'' by Samanyou Garg.
I did the first thing he said with the file called 5.x to 4.4.4 gpe. after I did this my phone didn't boot up. Now i'm stuck at th bootloader menu and if i try anything it says ''boot up failed''
Please help me with this problem, im stuck for 4 days right now! and I really need my phone tommorow.
poolta321 said:
Hey guys,
I wanted to have the Android 5.1 update so I looked up how I can do this.
I ended up at a youtube video called ''How to Install OFFICIAL Android 5.1 Lollipop GPe on Moto G [XT1033 & XT1032]'' by Samanyou Garg.
I did the first thing he said with the file called 5.x to 4.4.4 gpe. after I did this my phone didn't boot up. Now i'm stuck at th bootloader menu and if i try anything it says ''boot up failed''
Please help me with this problem, im stuck for 4 days right now! and I really need my phone tommorow.
Click to expand...
Click to collapse
Flash a custom recovery and wipe system ,data,dalvik and cache then flash cm 12.1 nightly
sjandroiddeveloper said:
Flash a custom recovery and wipe system ,data,dalvik and cache then flash cm 12.1 nightly
Click to expand...
Click to collapse
I tried to flash TWRP but when I put ''adb devices'' in cmd it doesn't come up with my device
update: wait It does work now with fastboot devices
poolta321 said:
I tried to flash TWRP but when I put ''adb devices'' in cmd it doesn't come up with my device
update: wait It does work now with fastboot devices
Click to expand...
Click to collapse
Okay I flashed TWRP but when I do recovery It still says Boot up failed
poolta321 said:
Okay I flashed TWRP but when I do recovery It still says Boot up failed
Click to expand...
Click to collapse
First if all don't do things you don't know about, just watching a random YouTube videos and following is a stupid thing
Now try this
In fastboot mode enter following commands
fastboot erase recovery
fastboot flash recovery recovery.img
---------- Post added at 12:24 PM ---------- Previous post was at 12:23 PM ----------
And why did you make 4 threads for the same thing
Dont spam please
sjandroiddeveloper said:
First if all don't do things you don't know about, just watching a random YouTube videos and following is a stupid thing
Now try this
In fastboot mode enter following commands
fastboot erase recovery
fastboot flash recovery recovery.img
---------- Post added at 12:24 PM ---------- Previous post was at 12:23 PM ----------
And why did you make 4 threads for the same thing
Dont spam please
Click to expand...
Click to collapse
sorry for the many threads.
I did what you said and reflashed TWRP but it still says Boot up failed when I go to recovery
poolta321 said:
sorry for the many threads.
I did what you said and reflashed TWRP but it still says Boot up failed when I go to recovery
Click to expand...
Click to collapse
When you flash recovery what does it say on phone's fastboot screen
sjandroiddeveloper said:
When you flash recovery what does it say on phone's fastboot screen
Click to expand...
Click to collapse
cmd: getvarartition-type:recovery
cmd: erase:recovery
cmd: getvarartition-type recovery
cmd: getvar:max-download-size
cmd: download:007b1800
cmd: flash: recovery
Mismatched partition size (recovery)
Boot up failed
poolta321 said:
cmd: getvarartition-type:recovery
cmd: erase:recovery
cmd: getvarartition-type recovery
cmd: getvar:max-download-size
cmd: download:007b1800
cmd: flash: recovery
Mismatched partition size (recovery)
Boot up failed
Click to expand...
Click to collapse
lol didn't mean to put the smileys there
poolta321 said:
lol didn't mean to put the smileys there
Click to expand...
Click to collapse
Try to flash Philz
And if that doesnt work out then flash the stock 5.0.2 Asian firmware for xt1033
That's the only thing you can do
sjandroiddeveloper said:
Try to flash Philz
And if that doesnt work out then flash the stock 5.0.2 Asian firmware for xt1033
That's the only thing you can do
Click to expand...
Click to collapse
tried Philz and it still says Mismatching partition and boot up failed
Tried stock 5.0.2 Asian firmware for xt1033 but it didn't do anything. on cmd I typed the code but nothing came up
poolta321 said:
tried Philz and it still says Mismatching partition and boot up failed
Tried stock 5.0.2 Asian firmware for xt1033 but it didn't do anything. on cmd I typed the code but nothing came up
Click to expand...
Click to collapse
Mismatch partition size will always occur while flashing a custom recovery, no need to worry about it
And what do you mean nothing came up when you typed commands
Some output must have come
sjandroiddeveloper said:
Mismatch partition size will always occur while flashing a custom recovery, no need to worry about it
And what do you mean nothing came up when you typed commands
Some output must have come
Click to expand...
Click to collapse
image is in attachments.
this happens for all the codes i type via mfastboot.exe
poolta321 said:
image is in attachments.
this happens for all the codes i type via mfastboot.exe
Click to expand...
Click to collapse
Wait it works right now.
I didn't knew I needed to paste the mfasboot in the SDK folder
poolta321 said:
Wait it works right now.
I didn't knew I needed to paste the mfasboot in the SDK folder
Click to expand...
Click to collapse
Okay it finished. but still doesn't do anything.....
It still says Boot up failed an when I try to turn it on it says Fastboot Reason: Fall-trough from normal boot mode
poolta321 said:
Okay it finished. but still doesn't do anything.....
It still says Boot up failed an when I try to turn it on it says Fastboot Reason: Fall-trough from normal boot mode
Click to expand...
Click to collapse
I think your bootloader is corrupted or something like that
sjandroiddeveloper said:
I think your bootloader is corrupted or something like that
Click to expand...
Click to collapse
Is there a way to fix it?
poolta321 said:
Is there a way to fix it?
Click to expand...
Click to collapse
There are plenty of people who have killed their phones by doing something the result of which was corrupt bootloader
And sadly there is no way to fix it
sjandroiddeveloper said:
There are plenty of people who have killed their phones by doing something the result of which was corrupt bootloader
And sadly there is no way to fix it
Click to expand...
Click to collapse
So my phone is broke?
poolta321 said:
So my phone is broke?
Click to expand...
Click to collapse
Technically its called hardbricked

[HOW-TO] Flash Marshmallow on Moto X Style (XT1752 only!!!)

Hey guys,
since there isn't a standalone tutorial on how to flash Android 6.0 either on the Moto X Style XT1572, I will provide one.
WARNING! I am not responsible for any harm on your phone. When you're not sure if you can do it, leave it! Use the Brazilian version ONLY on phones which use US-modems! If there is anything wrong or not working, contact me!
Prerequesites:
Make sure you have backuped your internal storage and your apps, because they will delete during the fastboot flash process
Decide which version you need: Indian or Brazilian? You only should download and use the stock rom of one of them!
Install ADB and Fastboot on your PC using Minimal ADB or Android SDK
Install all ADB and Fastboot drivers, for example with Universal ADB driver
Download the files provided in the link section
Steps:
At first, extract the ADB and Fastboot files in a new folder of your choice. After that, extract the 5.1.1 stock rom and copy the boot_root.img and the TWRP image in the same directory and make sure, that there are NO subfolders
Open a command line in the new directory
Now reboot your phone into Bootloader Mode. You can do that by typing "adb reboot bootloader" in an adb command line or by turning it of and then holding the Volume down + power button
Now the funny part begins. Open a command window in the directory where you extracted ADB/Fastboot and the 5.1.1 stock rom to. Now use this commands in this order:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot erase modemst1
fastboot erase modemst2
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
Setup your device. After that make sure you can open the internal storage on your PC. Copy the Marshmallow patch and the SuperSU file on the internal storage of your Moto
Boot into recovery by rebooting into bootloader mode and then selecting the "Restart Recovery" option with the volume rockers followed by pressing the powerbutton
When the text "No command" is shown, press at first the power button and then volume up. Now apply the patch by selecting it after ticking the option "Install update from SDCard" in the recovery and wait till it finished. Reboot your device afterwards
Reboot again into bootloader mode. Now install the bootloader from 5.1.1 by typing "fastboot flash bootloader bootloader.img". We need this to make TWRP work again.
Type "fastboot flash recovery name_of_the_TWRP_image.img" to flash TWRP
Still in the bootloader mode, type "fastboot flash boot boot_root.img", in order to get root working
Boot into recovery mode and flash the SuperSU file. Afterwards reboot into system
That's it! You now have MM on your Style.
Thanks to:
patt2k for the mirrors for the Indian stock rom
gmillz for having the idea with stock 5.1.1
sathishtony for the fastboots commands to flash the stock rom
freakzapster for the MM patch
Sabissimo for root
Links:
SuperSU https://download.chainfire.eu/743/SuperSU/BETA-SuperSU-v2.52.zip
Indian Stock 5.1.1 http://forum.xda-developers.com/showpost.php?p=63770825&postcount=208
Brazil Stock 5.1.1 https://mega.nz/#!bYU0FI7a!W1QjmjUaeG-M4XYrhC9RZwrcMqzSXCA66DebFOplmZc
Indian MM Patch http://forum.xda-developers.com/moto-x-style/general/marshmallow-ota-zip-t3250253
Brazil MM Patch https://mega.nz/#F!rElFjZqJ!Vcx1gA-48Pqx0EMOwZ6A1Q
TWRP https://dl.twrp.me/clark/
Root http://forum.xda-developers.com//mo...ow-ota-zip-t3250253/post63922440#post63922440
Do you need a unlocked bootloader for this?
Kedas said:
Do you need a unlocked bootloader for this?
Click to expand...
Click to collapse
of course.
alex1301 said:
Hey guys,
[*]Boot into recovery by rebooting into bootloader mode and then selecting the "Restart Recovery" option with the volume rockers followed by pressing the powerbutton
Click to expand...
Click to collapse
Followed all steps till now, works fine, i am on indian 5.1.1 now- BUT i can't get to recovery *-*
When i choose to get to the recovery I only get the green Android-mascot and "No command."
What now?
Thanks!
/okay, embarassing. You could add that to your how-to for idiots like me.
When seeing "no command" hold down the power button and press volume up once --> Voila, the recovery options show up.
schlitzohr1812 said:
Followed all steps till now, works fine, i am on indian 5.1.1 now- BUT i can't get to recovery *-*
When i choose to get to the recovery I only get the green Android-mascot and "No command."
What now?
Thanks!
/okay, embarassing. You could add that to your how-to for idiots like me.
When seeing "no command" hold down the power button and press volume up once --> Voila, the recovery options show up.
Click to expand...
Click to collapse
Thanks, added it.
Does this work for Verizon has anyone tried?
Sent from my XT1575 using Tapatalk
No need to thank the people in the original thread who figured it all out, eh? No problem putting a donate mention in though.
MattBooth said:
No need to thank the people in the original thread who figured it all out, eh? No problem putting a donate mention in though.
Click to expand...
Click to collapse
Normally I should only thank gmillz because after he said he flashed 5.1.1 stock Rom I was the first one who tried it and got it working. Am I right?
alex1301 said:
Normally I should only thank gmillz because after he said he flashed 5.1.1 stock Rom I was the first one who tried it and got it working. Am I right?
Click to expand...
Click to collapse
I was unaware you had done anything to be honest I just hit the Indian firmware and flashed the OTA as soon as I got in from work My point was there are several people responsible for this success and you only named a few
MattBooth said:
I was unaware you had done anything to be honest [emoji14] I just hit the Indian firmware and flashed the OTA as soon as I got in from work My point was there are several people responsible for this success and you only named a few
Click to expand...
Click to collapse
Yeah I know what you mean, but the other members contributed to make it working on the XT1575 Pure Edition, so it was unnecessary for my tutorial.
@alex1301 Could you do the same for Brazilian Moto X Style (XT1572 dual sim)? I got my OTA file here: https://mega.nz/#F!rElFjZqJ!Vcx1gA-48Pqx0EMOwZ6A1Q
If you need, I also have the stock firmware.
Tcix said:
@alex1301 Could you do the same for Brazilian Moto X Style (XT1572 dual sim)? I got my OTA file here: https://mega.nz/#F!rElFjZqJ!Vcx1gA-48Pqx0EMOwZ6A1Q
If you need, I also have the stock firmware.
Click to expand...
Click to collapse
Yeah send me also the link for the stock firmware and I will modify the thread. Normally, you have to do the same steps for the Brazilian version like for the European one.
alex1301 said:
Yeah send me also the link for the stock firmware and I will modify the thread. Normally, you have to do the same steps for the Brazilian version like for the European one.
Click to expand...
Click to collapse
Great! Just give me some time (about 50 minutes) I'm uploading the firmware to Mega.
---------- Post added at 11:04 AM ---------- Previous post was at 10:57 AM ----------
A question, can I use my stock 5.1.1 instead the Indian version? Because the Indian modems do not work here in Brazil, only the US modems do.
Tcix said:
Great! Just give me some time (about 50 minutes) I'm uploading the firmware to Mega.
---------- Post added at 11:04 AM ---------- Previous post was at 10:57 AM ----------
A question, can I use my stock 5.1.1 instead the Indian version? Because the Indian modems do not work here in Brazil, only the US modems do.
Click to expand...
Click to collapse
Yep
@alex1301 Here is the Brazilian stock firmware: https://mega.nz/#!bYU0FI7a!W1QjmjUaeG-M4XYrhC9RZwrcMqzSXCA66DebFOplmZc
can anybody tell me that has taken the ota or flashed this. is there a toggle to enable the dark ui or rro "layers" support out of the box like the nexus devices have?
Which one between Indian or Brasilian MM patch must be used for an european mono sim XT1572 Moto X Style? I've already european 5.1.1 stock rom files.
bbb77 said:
Which one between Indian or Brasilian MM patch must be used for an european mono sim XT1572 Moto X Style? I've already european 5.1.1 stock rom files.
Click to expand...
Click to collapse
You need the indian one but you must also install Indian 5.1.1 stock rom
I'm getting this when I try to flash MM OTA:
"/modem/image/adsp.b01" has unexpected contents.
E:Error in /sideload/package.zip
(Status 7)"
Any clues?
ThiEarsiling said:
I'm getting this when I try to flash MM OTA:
"/modem/image/adsp.b01" has unexpected contents.
E:Error in /sideload/package.zip
(Status 7)"
Any clues?
Click to expand...
Click to collapse
Which version of the style do you habe and which stock rom have you flashed?

How to root my Moto G 3 with Android version 6.0.1

I have seen threads but nothing related to the 6.0.1 version. Please do help
jerry94 said:
I have seen threads but nothing related to the 6.0.1 version. Please do help
Click to expand...
Click to collapse
6.0 or 6.0.1... no difference, must do manual systemless install
acejavelin said:
6.0 or 6.0.1... no difference, must do manual systemless install
Click to expand...
Click to collapse
how to do that?
Already answered google it
Sent from my MotoG3 using Tapatalk
flash supersu zip in twrp.. to simple
HelpMeruth said:
flash supersu zip in twrp.. to simple
Click to expand...
Click to collapse
This doesn't work... if you just flash the latest SuperSU in TWRP, a 3rd/4th Gen Moto device will fail to boot because SuperSU's install script does not recognize that this device must have a systemless install. You must start TWRP and before flashing go to Advanced - Terminal and enter "echo SYSTEMLESS=true>>/data/.supersu" so the SuperSU install script will parse the file and know it has to do a systemless install.
jerry94 said:
I have seen threads but nothing related to the 6.0.1 version. Please do help
Click to expand...
Click to collapse
Check this tutorial
forum.xda-developers.com/2015-moto-g/general/guide-install-twrp-root-xposed-t3294588
Or this one(better)
forum.xda-developers.com/2015-moto-g/general/root-how-to-root-moto-g-2015-android-t3320113e
Nikos dima said:
Check this tutorial
forum.xda-developers.com/2015-moto-g/general/guide-install-twrp-root-xposed-t3294588
Or this one(better)
forum.xda-developers.com/2015-moto-g/general/root-how-to-root-moto-g-2015-android-t3320113e
Click to expand...
Click to collapse
C:\Program Files\Minimal ADB and Fastboot>fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 0.313s]
booting...
FAILED (remote failure)
finished. total time: 0.391s
C:\Program Files\Minimal ADB and Fastboot>fastboot flash recovery recovery.img
target reported max download size of 268435456 bytes
sending 'recovery' (8122 KB)...
OKAY [ 0.313s]
writing 'recovery'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.344s
C:\Program Files\Minimal ADB and Fastboot>
I tried to flash Twrp but iam getting this
Root 6.0.1
jerry94 said:
I have seen threads but nothing related to the 6.0.1 version. Please do help
Click to expand...
Click to collapse
I was also facing the same problem First of all u need to unlock bootloader then at bootloader "fastboot boot recovery.img" change your name twrp to recovery after that you will gets boot into twrp from there flash https://www.androidfilehost.com/?fid=24269982087018189 this file
Hit like if I'm helped you
I followed all the steps of unlocking the bootloader using AdB and Fastboot. After I enter my unique key it sends some commands rather than showing that the device is unlocked.
jerry94 said:
I followed all the steps of unlocking the bootloader using AdB and Fastboot. After I enter my unique key it sends some commands rather than showing that the device is unlocked.
Click to expand...
Click to collapse
Check this video to unlock bootloader. https://youtu.be/BCRpCEtcZ_c and if you are getting errors just search in google for solution
jerry94 said:
I followed all the steps of unlocking the bootloader using AdB and Fastboot. After I enter my unique key it sends some commands rather than showing that the device is unlocked.
Click to expand...
Click to collapse
Can you screenshot it and post it here?
Sent from my Motorola XT1575 using XDA Labs
acejavelin said:
Can you screenshot it and post it here?
Sent from my Motorola XT1575 using XDA Labs
Click to expand...
Click to collapse
I have unlocked the bootloader and flashed twrp now. It opened the twrpmode.i booted the fone.But after that while opening the recovery mode in fastboot it is showing 'no command'
jerry94 said:
I have unlocked the bootloader and flashed twrp now. It opened the twrpmode.i booted the fone.But after that while opening the recovery mode in fastboot it is showing 'no command'
Click to expand...
Click to collapse
If you are getting "No command" that is not TWRP, it is the factory recovery...
When you install TWRP with `fastboot flash recovery twrp.img` you must start TWRP, allow it to make changes to the system, then go to TWRP's reboot menu and select Reboot to Recovery. This action will permanently set TWRP as the recovery, otherwise the OS has a script which will restore the stock recovery on boot.
Proper way to flash TWRP, in my opinion, on a new (to TWRP) Moto device once the bootloader is unlocked:
1) fastboot boot twrp.img
2) do NOT tick "Never show this screen again on boot" and select Keep Read Only button
3) do a complete backup in TWRP, preferably to the microSD card. Make a copy of this backup and store it away safely for possible future use and keep a copy on the device if possible
4) reboot into bootloader
5) fastboot flash recovery twrp.img
6) start Recovery (TWRP)
7) tick "Never show this screen again on boot" and swipe to allow modification
8) go to Reboot and select Recovery **IMPORTANT** this step allows TWRP to "lock" itself in and prevent the OS from replacing it with the stock recovery again
9) TWRP should start again, and it should not prompt you at all and just go to the TWRP menu
10) Do what you wish in TWRP (flash SuperSU, install ROM, or whatever) if anything
11) Reboot - System
Replace twrp.img with the appropriate filename from http://twrp.me for the device. If you have already made changes to the system, just start at step #4
acejavelin said:
<< Proper way to flash TWRP, in my opinion, on a new (to TWRP) Moto device once the bootloader is unlocked:
1) fastboot boot twrp.img
2) do NOT tick "Never show this screen again on boot" and select Keep Read Only button
3) do a complete backup in TWRP, preferably to the microSD card. Make a copy of this backup and store it away safely for possible future use and keep a copy on the device if possible
4) reboot into bootloader
5) fastboot flash recovery twrp.img
6) start Recovery (TWRP)
7) tick "Never show this screen again on boot" and swipe to allow modification
..
..
.. >>
Click to expand...
Click to collapse
I've seen these steps a few times (OK, many times, with all the threads started on this exact question).
I'm just curious.. Why does it work? i.e. How is rebooting into TWRP without installing it, then immediately turning around, installing it, and running it... how is that different from just installing it first thing and running it? Like, what's going on internally that makes those two things different?
Thanks x
Sent from my Nexus 7 using XDA Labs
beachfl said:
I've seen these steps a few times (OK, many times, with all the threads started on this exact question).
I'm just curious.. Why does it work? i.e. How is rebooting into TWRP without installing it, then immediately turning around, installing it, and running it... how is that different from just installing it first thing and running it? Like, what's going on internally that makes those two things different?
Thanks x
Sent from my Nexus 7 using XDA Labs
Click to expand...
Click to collapse
OK... Booting TWRP without installing has nothing to do with functionality of TWRP, it is only to get a clean backup or if you want to root without installing TWRP. TBH, this entire piece is optional and could be skipped, but if you can get a clean backup it sure can makes things easier down the road.
When you flash TWRP, it is flashed... it is written into the recovery partition of your device, but if you start the operating system at this point there is a script (or something, going from my memory of the Nexus 4 which has a script that sat in /system that ran on each boot, so this has been an issue for a while in some devices) that re-writes the recovery it isn't "official". But, but flashing TWRP, allowing it to make changes, then rebooting into TWRP again, it gives TWRP a chance to do something that stops the restoring to official process to stop. I am not sure of the specific details, and I am not sure it really matters, but it works.
acejavelin said:
... Booting TWRP without installing has nothing to do with functionality of TWRP.. .
Click to expand...
Click to collapse
I get that thank you!
Sent from my Nexus 7 using XDA Labs

Razer phone Android 9.0 Pie cheryl-P-Magisk-twrp-boot

This boot comes with twrp and Magisk
Fastboot command :
fastboot flash boot_a cheryl-P-Magisk-twrp-boot.img
fastboot flash boot_b cheryl-P-Magisk-twrp-boot.img
fastboot reboot
download
https://drive.google.com/file/d/1VbmtVm3OGLxXYZ92YOOxsQkoyuOvi91_/view?usp=sharing
Thanks @将军和妓 Making a boot file
Twrp is working for me but not Magisk, I had to flash it via recovery. Thank you very much for sharing
MusTangKKK said:
This boot comes with twrp and Magisk
Fastboot command :
fastboot flash boot_a cheryl-P-Magisk-twrp-boot.img
fastboot flash boot_b cheryl-P-Magisk-twrp-boot.img
fastboot reboot
download
https://drive.google.com/file/d/1VbmtVm3OGLxXYZ92YOOxsQkoyuOvi91_/view?usp=sharing
Thanks @将军和妓 Making a boot file
Click to expand...
Click to collapse
I tried with fastboot boot cheryl-P-Magisk-twrp-boot.img and nothing happened.
I'll try properly flashing the image when I have the time to make a backup.
Anyone has been able to backup the clean Pie boot.img ?
EDIT: Tried flashing the boot image and it bootloops. Maybe device encription has to be disabled for twrp to work?
thank you so much for this
I worked after I flashed my phone to 7.1.1 and updated to 9 but when I did it again and after updated did a wipe(just going into the setting and wiping) I couldn't flash part b of the boot just got an error
:tools root# ./fastboot flash boot_a cheryl-P-Magisk-twrp-boot.img
Sending 'boot_a' (26840 KB) OKAY [ 0.840s]
Writing 'boot_a' OKAY [ 3.657s]
Finished. Total time: 4.503s
:tools root# ./fastboot flash boot_B cheryl-P-Magisk-twrp-boot.img
Sending 'boot_B' (26840 KB) OKAY [ 0.659s]
Writing 'boot_B' FAILED (remote: 'No such partition.')
fastboot: error: Command failed
(EDIT: I'm retarded didn't notice the uppercase B but it seem they really didn't care of Gen1)
If you can't get into the system, you can go in twrp to restore factory settings and then restart, you can enter the system
MusTangKKK said:
If you can't get into the system, you can go in twrp to restore factory settings and then restart, you can enter the system
Click to expand...
Click to collapse
No everything is working just notice it said Razer 2
Djcall11 said:
No everything is working just notice it said Razer 2
Click to expand...
Click to collapse
This boot only supports Razer phone 1
[/LIST]
[/LIST]
MusTangKKK said:
If you can't get into the system, you can go in twrp to restore factory settings and then restart, you can enter the system
Click to expand...
Click to collapse
MusTangKKK said:
This boot only supports Razer phone 1
Click to expand...
Click to collapse
My guy only Razer 1 has 7.1.1 I just seen this after I reset after updating to pie everything I fine thank or care doe
I made the mistake of trying to get into recovery after this update using the Volume + plug in USB-C. (Update removed root/Magisk of course). It then wiped my entire device!!! No warning. No recovery screen. Just a message saying wiping device.
I immediately wiped it to put Lineage on it.
waiflih said:
I tried with fastboot boot cheryl-P-Magisk-twrp-boot.img and nothing happened.
I'll try properly flashing the image when I have the time to make a backup.
Anyone has been able to backup the clean Pie boot.img ?
EDIT: Tried flashing the boot image and it bootloops. Maybe device encription has to be disabled for twrp to work?
Click to expand...
Click to collapse
You need to make a copy of the flash all batch file and edit it and take out the line that reads "erase userdata" save the file. What this will do is make the factory image skip factory reset if you want to keep your files but wanna restore to fix or whatever.
---------- Post added at 10:03 AM ---------- Previous post was at 09:59 AM ----------
MusTangKKK said:
This boot comes with twrp and Magisk
Fastboot command :
fastboot flash boot_a cheryl-P-Magisk-twrp-boot.img
fastboot flash boot_b cheryl-P-Magisk-twrp-boot.img
fastboot reboot
download
https://drive.google.com/file/d/1VbmtVm3OGLxXYZ92YOOxsQkoyuOvi91_/view?usp=sharing
Thanks @将军和妓 Making a boot file
Click to expand...
Click to collapse
So i flashed this and i also even tried flashing twrp and magisk like normal but after i would boot, most apps would not load. Im currently reverted to 8 to figure this out. If you could help me figure out what is wrong, would be appreciated.
Guys am running android 9 on razer phone 1 and bootloader unlocked. However keep getting error write to device failed. Any advise please?
marvi0 said:
Guys am running android 9 on razer phone 1 and bootloader unlocked. However keep getting error write to device failed. Any advise please?
Click to expand...
Click to collapse
Any suggestions?
marvi0 said:
Guys am running android 9 on razer phone 1 and bootloader unlocked. However keep getting error write to device failed. Any advise please?
Click to expand...
Click to collapse
Do you have both parts of the bootloader unlocked?
iliais347 said:
Do you have both parts of the bootloader unlocked?
Click to expand...
Click to collapse
hello buddy. Aaa you might be onto something. I am afraid I don't have my phone with me now. How do I check though if I have both parts of the bootloader unlocked?
marvi0 said:
hello buddy. Aaa you might be onto something. I am afraid I don't have my phone with me now. How do I check though if I have both parts of the bootloader unlocked?
Click to expand...
Click to collapse
Try fastboot oem device-info
---------- Post added at 03:55 AM ---------- Previous post was at 03:29 AM ----------
marvi0 said:
hello buddy. Aaa you might be onto something. I am afraid I don't have my phone with me now. How do I check though if I have both parts of the bootloader unlocked?
Click to expand...
Click to collapse
But fyi, the razer phone has two parts to the bootloader. One is unlocked with
"Fastboot flashing unlock"
And the other is
"Fastboot flashing unlock_critical" i believe
iliais347 said:
Try fastboot oem device-info
---------- Post added at 03:55 AM ---------- Previous post was at 03:29 AM ----------
But fyi, the razer phone has two parts to the bootloader. One is unlocked with
"Fastboot flashing unlock"
And the other is
"Fastboot flashing unlock_critical" i believe
Click to expand...
Click to collapse
Oh so I need to unlock both? Thanks will check this tonight
After install can't open music file on extened memory, usb otg
iliais347 said:
Try fastboot oem device-info
---------- Post added at 03:55 AM ---------- Previous post was at 03:29 AM ----------
But fyi, the razer phone has two parts to the bootloader. One is unlocked with
"Fastboot flashing unlock"
And the other is
"Fastboot flashing unlock_critical" i believe
Click to expand...
Click to collapse
Please can someone else confirm this please before I go ahead as I don't want to risk it?
marvi0 said:
Please can someone else confirm this please before I go ahead as I don't want to risk it?
Click to expand...
Click to collapse
Yes you need to unlock both and each command will also do a factory reset so backup anything you may need on the internal storage.
This is working great for me. Thanks
Sent from my Phone using Tapatalk

Categories

Resources