my huawei y3 2017 is bricked now (deadboot) Anyone can help me? - Huawei Y3 Questions & Answers

Help me to wake up my dead huawei y3 2017

Dulanjana Udekantha said:
Help me to wake up my dead huawei y3 2017
Click to expand...
Click to collapse
I don't have this device but, you may be able to obtain locate what you need or obtain some member guidance within the following thread.
https://forum.xda-developers.com/showthread.php?t=3440664
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.

Possible fix for you
Hi all.
This may or may not work.. But I have managed to recover a couple of different phone makes using the following method:
This is my method offered, not taken from any other post on the net.
****NB-if your computer does not recognise your device once plugged into the USB port, skip this whole tutorial and have a good day further?
Basically, download the entire firmware file, which must include a system.img and or a boot.img file.
Once downloaded, extract all the info to a folder, and move the system.img and boot.img to your adb local file folder(where you run your adb.exe from).
Open command prompt with elevated Admin rights and navigate to your adb folder, and run the following commands:
Adb start-server
This should state something like, server is running..... With port nr. Blah blah
Now enter the following commands:
adb reboot fastboot
Fastboot flash system.img
and wait for this to complete.
Now enter command:
Fastboot flash boot.img
***Note-this command may not always work and is not always necessary depending on the level of bricked-Ness done to your device.
And now enter the following command:
Adb reboot
And hopefully, this may (or may not) resolve the issue at hand.
Thank you kindly.
Wynand Rühle

Related

[GUIDE] [6.3.3] 1st Gen Kindle Drivers, Rooting, Bootloaders & Recovery, and OtterX

[GUIDE] [6.3.3] 1st Gen Kindle Drivers, Rooting, Bootloaders & Recovery, and OtterX
Hello everyone! I am new to working with the Kindle Fire, however, I am by no means new to rooting and tinkering with my devices. Yesterday, I inherited a Kindle Fire with software version 6.3.3 from my brother and I was completely unsure of how to root the device. I am writing this guide because many of the existing guides were unclear and lead me to screw up multiple times. In addition, some claimed to work with the 6.3.3 software version, however, they were designed for an older version of the firmware and would not actually work.
I WILL NOT BE HELD LIABLE IF YOU BRICK YOUR DEVICE USING THESE INSTRUCTIONS! FOLLOW ALL DIRECTIONS CAREFULLY AND REMEMBER TO BACKUP YOUR DATA! YOUR DATA WILL BE WIPED DURING THIS PROCESS. ONLY CONTINUE IF YOU UNDERSTAND THE RISKS! THESE INSTRUCTIONS ARE IN SEQUENTIAL ORDER, FOLLOW EACH STEP! YOU CANNOT SKIP ANY OF THE STEPS!
0. Checking MD5 Hashes
It is very important to check the MD5 hash of every file that you download for this guide. You may use your favorite MD5 checksum utility. Personally, I prefer using this tool created by Microsoft because it is lightweight and extremely fast. Unfortunately, it does take some knowledge of the Command Prompt to use. To begin, download the file and extract it to any folder that you would like. To use the tool, place the file that you are checking within the same folder as the tool. Then, hold shift on your keyboard and right click. Choose the option to open a new Command Prompt window. Then, issue the following commands:
Code:
fciv.exe <exact name of file you are checking>
This will tell you the MD5 checksum of the file that you are checking and you will want to compare it to the value that is listed with the download. Again, you will want to do this for every file that is downloaded for this guide to ensure that you do not damage your device or need to restart the process.
1. Drivers
One problem that I faced while rooting my Kindle Fire was the installation of drivers. Basically, this guide requires you to use unsigned drivers that Windows will refuse to install under normal circumstances. On Windows 8, Windows 8.1, and in the Windows 10 Technical preview, you need to enable Test Mode. Although you can just disable the driver signature verification for one boot, I found this inefficient because I needed to tinker with the drivers multiple times, with each successive installation requiring a reboot of the computer.
To enable Test Mode on Windows 8, Windows 8.1, and Windows 10 Technical Preview, you need some experience with the Command Prompt. Open an Administrative Command Prompt by typing "cmd" into the Start menu and right clicking on the Command Prompt icon. From there, choose the option to open the program with Administrative privileges. Then, issue the following commands:
Code:
bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS
bcdedit -set TESTSIGNING ON
Reboot your computer.
Next, you will want to download the KFU utility from this XDA developer thread. We will NOT be using the Kindle Fire Utility for this guide because I was unable to get it working with 6.3.3, instead we will be using the included set of drivers because they worked relatively well with this process. After downloading the latest version of KFU, extract it to a folder on your Desktop. Unplug your Kindle Fire if it is plugged in to your computer or the drivers may not install correctly. You will want to open the "install_drivers.bat" file and follow the prompts. One prompt will ask you if you want to run the unsigned driver, you should choose "Install this driver software anyway!". Please restart your computer before continuing with this guide!
Now, you may plug in your Kindle Fire. Before continuing, please ensure that the installation of applications is allowed on the device by opening the settings drop down, clicking "More", and clicking on "Device". From there, check the box that allows the installation of applications. Next, you will want to navigate to the folder in the "Kindle Fire Utility" called "Tools". From here, hold shift on your keyboard and right click. Then, choose the option to open a Command Prompt window. We are going to test to make sure that the Kindle Fire is recognized by the "adb" program. To do this, we are going to issue the following commands:
Code:
adb kill-server
adb usb
adb devices
If you typed these commands correctly, any old instances of the "adb" server will be destroyed. Then, it will start a new server that will work with USB devices. Finally, it will list the connected devices. If the driver installation has succeeded, you will see the serial number of your Kindle Fire as well as an "Online" status. If you do not see your device or it is not marked as "Online", you may need to repeat the steps for installing the drivers. Do NOT continue until these commands list your device as "Online" because it could theoretically damage the device. If you are unable to get these drivers working, I recommend using the GhostBuster utility to remove old Kindle Fire and Android phone drivers.
2. Rooting the Device
This is where you want to back up anything important on the device!
Since I was unable to find an official root method from the Kindle Fire community for patch 6.3.3, I looked into using other methods. Using SafeRoot was suggested by some people and it worked very well for my Kindle Fire. So, to continue, please download the SafeRoot package from this XDA Developers link. Extract these files to a folder of your choice, preferably somewhere that is easy to access. We are NOT using the Kindle Fire Utility for this step because it simply was not compatible with software version 6.3.3.
Now, run the "install.bat" file and follow ALL of the on-screen instructions. The utility will ask you if you wish to install Busybox on your device. Busybox is a powerful utility that combines many powerful Unix utilities into a single file. You can read more about it here. You will want to choose yes when it asks you if it can install Busybox. After following all of the instructions, you should have a SuperUser application on your device that allows you run root commands!
It is NORMAL for the SafeRoot utility to show a lot of errors towards the end relating to read only files. If there are any other errors, your device may not be rooted!
3. Flashing FFF and the TWRP Recovery (Non-OtterX)
First, you will want to download the FBMode file. This file will allow your device to boot into the Fastboot mode, which allows you to flash new bootloader and recovery images. In addition, you will want to download the FireFireFire bootloader image that we will be flashing to the device. You will also need a custom recovery for this device, which can be found here. If you ignore everything else in this guide, just please remember to MD5 check ALL of these files! This is extremely important because a bad flash could BRICK your device!
Extract each of these files to the "Tools" folder inside of the Kindle Fire Utility folder that we used earlier to install the driver. Again, open a Command Prompt window inside of the Tools folder by holding shift and right clicking, then choosing the option to open a new Command Prompt window. Type these commands EXACTLY to copy the "fbmode" file to the device. This file will put the device in Fastboot mode.
Code:
adb push fbmode /data/local/tmp
adb shell chmod 755 /data/local/tmp/fbmode
adb shell
You will notice that the Command Prompt window looks slightly different because we are now in a shell for the device. This means we are directly issuing commands to the device! Type the following commands exactly to reboot the device in Fastboot mode. Remember, the "exit" command will need to be typed TWICE!
Code:
su
cd /data/local/tmp
./fbmode
exit
exit
adb reboot
If you did everything correctly, you will now be in Fastboot mode! No, you did not brick your Kindle. The device will not boot into the OS until we tell it to so it WILL remain at the Kindle Fire logo indefinitely, even upon rebooting the device. Depending on your operating system, you may need to toy with the driver installation to 'see' the device again.
Test to make sure that the Kindle still responds to commands before continuing by issuing the following command within the same command prompt window that we used previously to copy the "fbmode" file.
Code:
fastboot -i 0x1949 reboot
The kindle should reboot into the Fastboot mode again! If not, please use this post to get the drivers working. In my case, the device responded to the reboot command, however, it did NOT show up when I checked the connected devices by issuing the following command:
Code:
fastboot -i 0x1949 devices
If all is well and the Kindle rebooted, it is time to flash the bootloader and recovery images! Remember to check the MD5 hash for these files! You WILL need to know the name of your recovery image, it should be named something very similar to "openrecovery-twrp-2.2.2.1-blaze.img".
This is NOT the FireFireFire file, which is named "fff-u-boot_v1.5.bin". DO NOT flash the FireFireFire file to the recovery partition! If you get any errors during this part of the process, DO NOT continue! You may brick your device!
Code:
fastboot -i 0x1949 flash recovery <REPLACE ME WITH THE NAME OF RECOVERY IMAGE FILE>
Next, we will flash the bootloader image! Issue the following command to the device using the same Command Prompt window that we used to flash the recovery image.
Code:
fastboot -i 0x1949 flash bootloader fff-u-boot_v1.5.bin
Now, we will take the device out of Fastboot mode and make sure that our flashes were successful! If you got any errors during the flashing process, DO NOT continue! You may brick your device!
Code:
fastboot -i 0x1949 oem idme bootmode 4000
fastboot -i 0x1949 reboot
When you reboot, you should get a new Kindle Fire logo that will be White & Blue. Follow the on-screen instructions to enter the Recovery mode and make sure that the Team Win Recovery image boots. If it does, congratulations! You now have a custom recovery and bootloader on your Kindle device!
4. Installing OtterX Bootloader and Recovery Images
Now that you have a custom bootloader and recovery image flashed, you can now experiment with the OtterX project if you wish. Remember that the OtterX project fundamentally alters the device and it may be extremely difficult to revert these changes to the device! OtterX recoveries, boot loaders, and ROMs are not compatible with stock recoveries, boot loaders, and ROMs. If you still wish to use the device as a Kindle, do not proceed!
Now that the disclaimer is out of the way, let's continue! To continue, you will need the OtterX Bootloader and a copy of the TWRP Recovery for OtterX (Fundamentally different than the TWRP recovery from the last step!). Again, REMEMBER TO CHECK THE MD5 CHECKSUMS OF THESE FILES! A corrupted file could brick your device!
To make sure that the wrong recovery and bootloader are not applied, delete the old copies from your Tools folder inside of the Kindle Fire Utility folder. Then, copy over the OtterX versions of the bootloader and recovery images. Again, open a Command Prompt window inside of the Tools folder by holding shift and right clicking, then choosing the option to open a new Command Prompt window. Enter the following commands exactly!
You will need to know the name of your bootloader file. It should be named similarly to "otterx-u-boot_v2.05.bin". Make sure it says OtterX in the name of the file! Power on the device to the Kindle Fire screen and issue the following command on your computer.
Code:
fastboot flash bootloader <Name of OtterX Bootloader File>
Now, reboot the device after the flash has fully completed! You should see a new boot logo, meaning that the flash was successful! Before we continue, we will need to change the partition layout of the device. This will erase all of your files that exist on the device, you should have backed then up a few steps ago! At the bootloader screen, short press the power button to enter the boot menu. Then, use short presses of the power button to navigate to the advanced menu. Then, use a long press to enter that menu. Now, use short presses to navigate down to the "Partition Mode" button and use a long press to enter the submenu. Use short presses to press the navigate down to the Confirm button, and finally use one last long press to start the process.
After this has been completed, reboot the device. Again at the Kindle Fire screen, enter the following command on your computer.
You will need to know the name of your recovery file. It should be named similarly to "otterx-twrp-2.7.1.0-recovery.img". Make sure it says OtterX in the name of the file!
Code:
fastboot flash recovery <Name of Recovery Image>
fastboot oem recovery
After issuing both commands, you should see the TWRP recovery screen again! If you do, congratulations! You have flashed the OtterX recovery and bootloader images to your device,
5. Installing OtterX ROMs
I have found that the easiest way to install ROMs to this device is through a function called "adb sideloading". To begin, you will need an OtterX ROM file. I personally recommend Cyanogenmod because it seems fairly stable on this tablet (with my few hours of experience) and I use it as a daily driver on my Galaxy S3.
To begin, grab a copy of ANY OtterX ROM file. You can download Cyanogenmod ROMs from this website. Next, you will also want to download a Google Apps package for your device. You can get that from this website as well.
From the TWRP recovery menu, select the "Wipe" option and then choose "Factory Reset". Follow the onscreen prompts to reset the files on your device. If you get any errors, mount the partitions shown in the "Mounts" menu on the main screen.
Next, go to the Advanced section and choose "ADB Sideload". You should choose the boxes to wipe both caches. To continue, you will need a more up-to-date version of the adb program. You will want just the SDK tools, not the full Android Studio. You can download those tools from this website. After the tools are installed, open up the SDK manager and choose the "Install x Packages" button at the bottom to update the tools. After this is complete, navigate to "C:\Program Files (x86)\Android\android-sdk\platform-tools" on your hard drive. If you are using a 32 bit computer, navigate to "C:\Program Files\Android\android-sdk\platform-tools". Copy your ROM image to this folder and rename it something easy to work with, such as "CM11-OtterX-M12.zip".
Now, you will want to slide the bar across on your device that says "Swipe to Sideload", as well as open a new Command Prompt window on your computer. You can do this by holding shift and right clicking "Open New Command Prompt Window". Now, you will want to issue the following command to make sure your computer can see your Kindle device.
Code:
adb devices
Your device serial number should be listed here and it should say "Sideload" next to the name.
Now, you will want to issue the following command:
Code:
adb sideload <Name of ROM File ZIP>
Now, you will need to wait about 5 minutes while your device is flashed with a new ROM. In my case, the ROM stopped flashing at around 47% with an "Unknown Command" error, however, my device finished the flash okay and the ROM booted just fine. As long as your TWRP recovery shows "Success!", the ROM flash was probably okay. If the ROM flash had failed, you would still be able to try the flash again without harming anything.
You can now go back to the main menu and choose to reboot your device. If the flash was successful, you should see a boot logo for whichever ROM you chose to install. Remember, the initial boot can take a long time.
After verifying that the ROM installed correctly, copy the Google Apps package to your device's internal storage. Depending on which ROM you used, the device should show up as an MTP compatible device in Windows when powered on. Then, reboot into the recovery menu and choose "Install". Then, choose the Google Apps package that you copied to the device to install them. Upon rebooting, the device will update roughly 30-50 apps depending on how much bloatware is installed with your ROM. After that is complete, you will have access to the Google Play store and many useful apps.
Congratulations, you just installed an OtterX rom onto your device!
We need a new update for 2016
ajwgeek said:
Hello everyone! I am new to working with the Kindle Fire, however, I am by no means new to rooting and tinkering with my devices. Yesterday, I inherited a Kindle Fire with software version 6.3.3 from my brother and I was completely unsure of how to root the device. I am writing this guide because many of the existing guides were unclear and lead me to screw up multiple times. In addition, some claimed to work with the 6.3.3 software version, however, they were designed for an older version of the firmware and would not actually work.
I WILL NOT BE HELD LIABLE IF YOU BRICK YOUR DEVICE USING THESE INSTRUCTIONS! FOLLOW ALL DIRECTIONS CAREFULLY AND REMEMBER TO BACKUP YOUR DATA! YOUR DATA WILL BE WIPED DURING THIS PROCESS. ONLY CONTINUE IF YOU UNDERSTAND THE RISKS! THESE INSTRUCTIONS ARE IN SEQUENTIAL ORDER, FOLLOW EACH STEP! YOU CANNOT SKIP ANY OF THE STEPS!
0. Checking MD5 Hashes
It is very important to check the MD5 hash of every file that you download for this guide. You may use your favorite MD5 checksum utility. Personally, I prefer using this tool created by Microsoft because it is lightweight and extremely fast. Unfortunately, it does take some knowledge of the Command Prompt to use. To begin, download the file and extract it to any folder that you would like. To use the tool, place the file that you are checking within the same folder as the tool. Then, hold shift on your keyboard and right click. Choose the option to open a new Command Prompt window. Then, issue the following commands:
Code:
fciv.exe <exact name of file you are checking>
This will tell you the MD5 checksum of the file that you are checking and you will want to compare it to the value that is listed with the download. Again, you will want to do this for every file that is downloaded for this guide to ensure that you do not damage your device or need to restart the process.
1. Drivers
One problem that I faced while rooting my Kindle Fire was the installation of drivers. Basically, this guide requires you to use unsigned drivers that Windows will refuse to install under normal circumstances. On Windows 8, Windows 8.1, and in the Windows 10 Technical preview, you need to enable Test Mode. Although you can just disable the driver signature verification for one boot, I found this inefficient because I needed to tinker with the drivers multiple times, with each successive installation requiring a reboot of the computer.
To enable Test Mode on Windows 8, Windows 8.1, and Windows 10 Technical Preview, you need some experience with the Command Prompt. Open an Administrative Command Prompt by typing "cmd" into the Start menu and right clicking on the Command Prompt icon. From there, choose the option to open the program with Administrative privileges. Then, issue the following commands:
Code:
bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS
bcdedit -set TESTSIGNING ON
Reboot your computer.
Next, you will want to download the KFU utility from this XDA developer thread. We will NOT be using the Kindle Fire Utility for this guide because I was unable to get it working with 6.3.3, instead we will be using the included set of drivers because they worked relatively well with this process. After downloading the latest version of KFU, extract it to a folder on your Desktop. Unplug your Kindle Fire if it is plugged in to your computer or the drivers may not install correctly. You will want to open the "install_drivers.bat" file and follow the prompts. One prompt will ask you if you want to run the unsigned driver, you should choose "Install this driver software anyway!". Please restart your computer before continuing with this guide!
Now, you may plug in your Kindle Fire. Before continuing, please ensure that the installation of applications is allowed on the device by opening the settings drop down, clicking "More", and clicking on "Device". From there, check the box that allows the installation of applications. Next, you will want to navigate to the folder in the "Kindle Fire Utility" called "Tools". From here, hold shift on your keyboard and right click. Then, choose the option to open a Command Prompt window. We are going to test to make sure that the Kindle Fire is recognized by the "adb" program. To do this, we are going to issue the following commands:
Code:
adb kill-server
adb usb
adb devices
If you typed these commands correctly, any old instances of the "adb" server will be destroyed. Then, it will start a new server that will work with USB devices. Finally, it will list the connected devices. If the driver installation has succeeded, you will see the serial number of your Kindle Fire as well as an "Online" status. If you do not see your device or it is not marked as "Online", you may need to repeat the steps for installing the drivers. Do NOT continue until these commands list your device as "Online" because it could theoretically damage the device. If you are unable to get these drivers working, I recommend using the GhostBuster utility to remove old Kindle Fire and Android phone drivers.
2. Rooting the Device
This is where you want to back up anything important on the device!
Since I was unable to find an official root method from the Kindle Fire community for patch 6.3.3, I looked into using other methods. Using SafeRoot was suggested by some people and it worked very well for my Kindle Fire. So, to continue, please download the SafeRoot package from this XDA Developers link. Extract these files to a folder of your choice, preferably somewhere that is easy to access. We are NOT using the Kindle Fire Utility for this step because it simply was not compatible with software version 6.3.3.
Now, run the "install.bat" file and follow ALL of the on-screen instructions. The utility will ask you if you wish to install Busybox on your device. Busybox is a powerful utility that combines many powerful Unix utilities into a single file. You can read more about it here. You will want to choose yes when it asks you if it can install Busybox. After following all of the instructions, you should have a SuperUser application on your device that allows you run root commands!
It is NORMAL for the SafeRoot utility to show a lot of errors towards the end relating to read only files. If there are any other errors, your device may not be rooted!
3. Flashing FFF and the TWRP Recovery (Non-OtterX)
First, you will want to download the FBMode file. This file will allow your device to boot into the Fastboot mode, which allows you to flash new bootloader and recovery images. In addition, you will want to download the FireFireFire bootloader image that we will be flashing to the device. You will also need a custom recovery for this device, which can be found here. If you ignore everything else in this guide, just please remember to MD5 check ALL of these files! This is extremely important because a bad flash could BRICK your device!
Extract each of these files to the "Tools" folder inside of the Kindle Fire Utility folder that we used earlier to install the driver. Again, open a Command Prompt window inside of the Tools folder by holding shift and right clicking, then choosing the option to open a new Command Prompt window. Type these commands EXACTLY to copy the "fbmode" file to the device. This file will put the device in Fastboot mode.
Code:
adb push fbmode /data/local/tmp
adb shell chmod 755 /data/local/tmp/fbmode
adb shell
You will notice that the Command Prompt window looks slightly different because we are now in a shell for the device. This means we are directly issuing commands to the device! Type the following commands exactly to reboot the device in Fastboot mode. Remember, the "exit" command will need to be typed TWICE!
Code:
su
cd /data/local/tmp
./fbmode
exit
exit
adb reboot
If you did everything correctly, you will now be in Fastboot mode! No, you did not brick your Kindle. The device will not boot into the OS until we tell it to so it WILL remain at the Kindle Fire logo indefinitely, even upon rebooting the device. Depending on your operating system, you may need to toy with the driver installation to 'see' the device again.
Test to make sure that the Kindle still responds to commands before continuing by issuing the following command within the same command prompt window that we used previously to copy the "fbmode" file.
Code:
fastboot -i 0x1949 reboot
The kindle should reboot into the Fastboot mode again! If not, please use this post to get the drivers working. In my case, the device responded to the reboot command, however, it did NOT show up when I checked the connected devices by issuing the following command:
Code:
fastboot -i 0x1949 devices
If all is well and the Kindle rebooted, it is time to flash the bootloader and recovery images! Remember to check the MD5 hash for these files! You WILL need to know the name of your recovery image, it should be named something very similar to "openrecovery-twrp-2.2.2.1-blaze.img".
This is NOT the FireFireFire file, which is named "fff-u-boot_v1.5.bin". DO NOT flash the FireFireFire file to the recovery partition! If you get any errors during this part of the process, DO NOT continue! You may brick your device!
Code:
fastboot -i 0x1949 flash recovery <REPLACE ME WITH THE NAME OF RECOVERY IMAGE FILE>
Next, we will flash the bootloader image! Issue the following command to the device using the same Command Prompt window that we used to flash the recovery image.
Code:
fastboot -i 0x1949 flash bootloader fff-u-boot_v1.5.bin
Now, we will take the device out of Fastboot mode and make sure that our flashes were successful! If you got any errors during the flashing process, DO NOT continue! You may brick your device!
Code:
fastboot -i 0x1949 oem idme bootmode 4000
fastboot -i 0x1949 reboot
When you reboot, you should get a new Kindle Fire logo that will be White & Blue. Follow the on-screen instructions to enter the Recovery mode and make sure that the Team Win Recovery image boots. If it does, congratulations! You now have a custom recovery and bootloader on your Kindle device!
4. Installing OtterX Bootloader and Recovery Images
Now that you have a custom bootloader and recovery image flashed, you can now experiment with the OtterX project if you wish. Remember that the OtterX project fundamentally alters the device and it may be extremely difficult to revert these changes to the device! OtterX recoveries, boot loaders, and ROMs are not compatible with stock recoveries, boot loaders, and ROMs. If you still wish to use the device as a Kindle, do not proceed!
Now that the disclaimer is out of the way, let's continue! To continue, you will need the OtterX Bootloader and a copy of the TWRP Recovery for OtterX (Fundamentally different than the TWRP recovery from the last step!). Again, REMEMBER TO CHECK THE MD5 CHECKSUMS OF THESE FILES! A corrupted file could brick your device!
To make sure that the wrong recovery and bootloader are not applied, delete the old copies from your Tools folder inside of the Kindle Fire Utility folder. Then, copy over the OtterX versions of the bootloader and recovery images. Again, open a Command Prompt window inside of the Tools folder by holding shift and right clicking, then choosing the option to open a new Command Prompt window. Enter the following commands exactly!
You will need to know the name of your bootloader file. It should be named similarly to "otterx-u-boot_v2.05.bin". Make sure it says OtterX in the name of the file! Power on the device to the Kindle Fire screen and issue the following command on your computer.
Code:
fastboot flash bootloader <Name of OtterX Bootloader File>
Now, reboot the device after the flash has fully completed! You should see a new boot logo, meaning that the flash was successful! Before we continue, we will need to change the partition layout of the device. This will erase all of your files that exist on the device, you should have backed then up a few steps ago! At the bootloader screen, short press the power button to enter the boot menu. Then, use short presses of the power button to navigate to the advanced menu. Then, use a long press to enter that menu. Now, use short presses to navigate down to the "Partition Mode" button and use a long press to enter the submenu. Use short presses to press the navigate down to the Confirm button, and finally use one last long press to start the process.
After this has been completed, reboot the device. Again at the Kindle Fire screen, enter the following command on your computer.
You will need to know the name of your recovery file. It should be named similarly to "otterx-twrp-2.7.1.0-recovery.img". Make sure it says OtterX in the name of the file!
Code:
fastboot flash recovery <Name of Recovery Image>
fastboot oem recovery
After issuing both commands, you should see the TWRP recovery screen again! If you do, congratulations! You have flashed the OtterX recovery and bootloader images to your device,
5. Installing OtterX ROMs
I have found that the easiest way to install ROMs to this device is through a function called "adb sideloading". To begin, you will need an OtterX ROM file. I personally recommend Cyanogenmod because it seems fairly stable on this tablet (with my few hours of experience) and I use it as a daily driver on my Galaxy S3.
To begin, grab a copy of ANY OtterX ROM file. You can download Cyanogenmod ROMs from this website. Next, you will also want to download a Google Apps package for your device. You can get that from this website as well.
From the TWRP recovery menu, select the "Wipe" option and then choose "Factory Reset". Follow the onscreen prompts to reset the files on your device. If you get any errors, mount the partitions shown in the "Mounts" menu on the main screen.
Next, go to the Advanced section and choose "ADB Sideload". You should choose the boxes to wipe both caches. To continue, you will need a more up-to-date version of the adb program. You will want just the SDK tools, not the full Android Studio. You can download those tools from this website. After the tools are installed, open up the SDK manager and choose the "Install x Packages" button at the bottom to update the tools. After this is complete, navigate to "C:\Program Files (x86)\Android\android-sdk\platform-tools" on your hard drive. If you are using a 32 bit computer, navigate to "C:\Program Files\Android\android-sdk\platform-tools". Copy your ROM image to this folder and rename it something easy to work with, such as "CM11-OtterX-M12.zip".
Now, you will want to slide the bar across on your device that says "Swipe to Sideload", as well as open a new Command Prompt window on your computer. You can do this by holding shift and right clicking "Open New Command Prompt Window". Now, you will want to issue the following command to make sure your computer can see your Kindle device.
Code:
adb devices
Your device serial number should be listed here and it should say "Sideload" next to the name.
Now, you will want to issue the following command:
Code:
adb sideload <Name of ROM File ZIP>
Now, you will need to wait about 5 minutes while your device is flashed with a new ROM. In my case, the ROM stopped flashing at around 47% with an "Unknown Command" error, however, my device finished the flash okay and the ROM booted just fine. As long as your TWRP recovery shows "Success!", the ROM flash was probably okay. If the ROM flash had failed, you would still be able to try the flash again without harming anything.
You can now go back to the main menu and choose to reboot your device. If the flash was successful, you should see a boot logo for whichever ROM you chose to install. Remember, the initial boot can take a long time.
After verifying that the ROM installed correctly, copy the Google Apps package to your device's internal storage. Depending on which ROM you used, the device should show up as an MTP compatible device in Windows when powered on. Then, reboot into the recovery menu and choose "Install". Then, choose the Google Apps package that you copied to the device to install them. Upon rebooting, the device will update roughly 30-50 apps depending on how much bloatware is installed with your ROM. After that is complete, you will have access to the Google Play store and many useful apps.
Congratulations, you just installed an OtterX rom onto your device!
Click to expand...
Click to collapse
We need new links for kindle fire first gen 6.3.4 . these methods available don't work. thank you
ataraxioss said:
We need new links for kindle fire first gen 6.3.4 . these methods available don't work. thank you
Click to expand...
Click to collapse
no, this still works with 6.3.4
Sent from my KFFOWI using Tapatalk
---------- Post added at 06:55 PM ---------- Previous post was at 06:54 PM ----------
there is one link to goo.im which is down
With the Fall of Goo.im I will be posting Mirrors OtterX files here:
Otter X Twrp and Bootloader Mirrors
Sent from my KFFOWI using Tapatalk
I've just tried it
Still not working on my kindle fire. sounds to be rooted but can't install twrp.
i was hoping to flash it with Miui 7.
thank you for your precious time, i wish the old links in kindle fire utility could still work.
ataraxioss said:
Still not working on my kindle fire. sounds to be rooted but can't install twrp.
i was hoping to flash it with Miui 7.
thank you for your precious time, i wish the old links in kindle fire utility could still work.
Click to expand...
Click to collapse
did you verify root? try root checker
Sent from my KFFOWI using Tapatalk
reply
sd_shadow said:
did you verify root? try root checker
Sent from my KFFOWI using Tapatalk
Click to expand...
Click to collapse
once it is frozen on "trying to disable knox.." nothing goes right after that. the kindle fire does not reboot and i guess supersu is not updating either.
Ps: i have rooted and installed twrp many times before, then i did a factory reset on the kindle fire.
ataraxioss said:
once it is frozen on "trying to disable knox.." nothing goes right after that. the kindle fire does not reboot and i guess supersu is not updating either.
Ps: i have rooted and installed twrp many times before, then i did a factory reset on the kindle fire.
Click to expand...
Click to collapse
Factory reset doesn't unroot, just reinstall supersu app
Sent from my XT1060 using Tapatalk
So I got up to this point.
Test to make sure that the Kindle still responds to commands before continuing by issuing the following command within the same command prompt window that we used previously to copy the "fbmode" file.
Code:
fastboot -i 0x1949 reboot
The kindle should reboot into the Fastboot mode again! If not, please use this post to get the drivers working. In my case, the device responded to the reboot command, however, it did NOT show up when I checked the connected devices by issuing the following command:
Code:
fastboot -i 0x1949 devices
If all is well and the Kindle rebooted, it is time to flash the bootloader and recovery images! Remember to check the MD5 hash for these files! You WILL need to know the name of your recovery image, it should be named something very similar to "openrecovery-twrp-2.2.2.1-blaze.img". "
Click to expand...
Click to collapse
The kindle won't restart. When I plug it into my computer I get the error "The last USB device you connected to this computer malfunctioned, and Windows does not recognize it." The kindle is stuck on the start up screen where it says "Kindle Fire." Any help would be greatly appreciated. I know nothing about any of this stuff so I am stumped from here on out.
Also nothing is showing up in device manager that is related to the Kindle.
thealy1234 said:
So I got up to this point.
Test to make sure that the Kindle still responds to commands before continuing by issuing the following command within the same command prompt window that we used previously to copy the "fbmode" file.
Code:
fastboot -i 0x1949 reboot
The kindle should reboot into the Fastboot mode again! If not, please use this post to get the drivers working. In my case, the device responded to the reboot command, however, it did NOT show up when I checked the connected devices by issuing the following command:
Code:
fastboot -i 0x1949 devices
If all is well and the Kindle rebooted, it is time to flash the bootloader and recovery images! Remember to check the MD5 hash for these files! You WILL need to know the name of your recovery image, it should be named something very similar to "openrecovery-twrp-2.2.2.1-blaze.img". "
The kindle won't restart. When I plug it into my computer I get the error "The last USB device you connected to this computer malfunctioned, and Windows does not recognize it." The kindle is stuck on the start up screen where it says "Kindle Fire." Any help would be greatly appreciated. I know nothing about any of this stuff so I am stumped from here on out.
Also nothing is showing up in device manager that is related to the Kindle.
Click to expand...
Click to collapse
try a different USB port or cable
Sent from my Motorola XT1060 using XDA Labs
sd_shadow said:
try a different USB port or cable
Sent from my Motorola XT1060 using XDA Labs
Click to expand...
Click to collapse
This was the problem. Turns out this doesn't work when the kindle is plugged into a USB 3.0 port.
That being solved, I now have a different problem. I get the following error when I try and push the recovery image onto my kindle after I added the Otterbox bootloader file: "target reported max download size of 402653184 bytes error: cannot load 'recovery.img': No error."
(I renamed the file to recovery.img on the advice of someone else)
Also note that I had to get the otter recovery image from a different source than what was listed in the guide, for the provided link was broken.
Any ideas would be appreciated.
Thanks
thealy1234 said:
This was the problem. Turns out this doesn't work when the kindle is plugged into a USB 3.0 port.
That being solved, I now have a different problem. I get the following error when I try and push the recovery image onto my kindle after I added the Otterbox bootloader file: "target reported max download size of 402653184 bytes error: cannot load 'recovery.img': No error."
(I renamed the file to recovery.img on the advice of someone else)
Also note that I had to get the otter recovery image from a different source than what was listed in the guide, for the provided link was broken.
Any ideas would be appreciated.
Thanks
Click to expand...
Click to collapse
[6.3.4][6.3.3] Flashing FFF and TWRP without Fastboot Cable with Video
Sent from my XT1060 using Tapatalk
sd_shadow said:
[6.3.4][6.3.3] Flashing FFF and TWRP without Fastboot Cable with Video
Sent from my XT1060 using Tapatalk
Click to expand...
Click to collapse
I have followed that guide to the T and I still get that error. It worked just fine when I was installed the TWRP recovery.
For some reason when I am trying to install the otterx twrp version, I am getting that error returned to me.
thealy1234 said:
I have followed that guide to the T and I still get that error. It worked just fine when I was installed the TWRP recovery.
For some reason when I am trying to install the otterx twrp version, I am getting that error returned to me.
Click to expand...
Click to collapse
try OtterX bootloader and OtterX twrp from my post
OtterX files here:
Otter X Twrp and Bootloader Mirrors
Sent from my XT1060 using Tapatalk
The 2.8.5.0 file that you provide worked. One more step closer...
I appreciate the help.
---------- Post added at 10:45 PM ---------- Previous post was at 10:26 PM ----------
I just can't win today.
Now I am stuck because TWRP cannot mount /data for some reason...
thealy1234 said:
The 2.8.5.0 file that you provide worked. One more step closer...
I appreciate the help.
---------- Post added at 10:45 PM ---------- Previous post was at 10:26 PM ----------
I just can't win today.
Now I am stuck because TWRP cannot mount /data for some reason...
Click to expand...
Click to collapse
mount data is ify with OtterX, try adb push with OtterX twrp 2.7.1.0
---------- Post added at 01:11 AM ---------- Previous post was at 01:10 AM ----------
Started a Thread [How To] Fix OtterX Install Errors, Partition sizes, Unable to Mount System... with some possible fixes for those having issues since converting to OtterX, with pushing files, failure to mount system errors when installing Lollipop Roms...
After your help + plenty of head scratching I finally managed to install everything 100%.
Biggest hangup was before I realized this process wouldn't work on a USB 3.0 port....
I'm having an issue with being able to actually install drivers on my computer with Windows 10. I attempted to follow the guide but I am getting denied on an error with "bcdedit -set TESTSINGING ON".
"An error has occurred setting the element data. The value is protected by Secure Boot policy and cannot be modified or deleted."
Any advice for a workaround on installing the drivers?

[GUIDE] Unlock/Flash/Root for the Pixel 2 (walleye)

Introduction
Hello everyone, this is a guide to assist you with customizing your Pixel 2! I will be going over installing fastboot and adb, unlocking your bootloader, how to flash the factory images for clean flashes and upgrades, and how to root. Please feel free to ask any questions if you need clarification. Enjoy!
This information has been distilled from Google's official factory image site and the Magisk thread.
Installing fastboot and adb
Thankfully, Google has provided just adb, fastboot, and systrace as a simple zip file, making this process super easy. You MUST be on at LEAST 26.0.2 for the commands in this guide to work. When in doubt, grab the latest copy and install them using the following instructions.
SDK Platform-Tools for Windows
SDK Platform-Tools for Mac
SDK Platform-Tools for Linux
Windows:
Unzip the folder somewhere on your hard drive.
Go to the folder containing the adb and fastboot files and type "cmd" in the path bar at the top.
A command prompt should open with the current folder showing on the prompt.
Type the following commands:
Code:
adb --version
fastboot --version
You should see some information appear. If that is the case, you were successful!
Mac/Linux:
Unzip the folder somewhere on your hard drive.
Navigate to that folder with your terminal.
Run the following commands:
Code:
sudo install adb dmtracedump e2fsdroid etc1tool fastboot hprof-conv make_f2fs mke2fs mke2fs.conf sload_f2fs sqlite3 /usr/local/bin
sudo mkdir -p /usr/local/lib64
sudo install lib64/libc++.so /usr/local/lib64
Type the following commands:
Code:
adb --version
fastboot --version
You should see the version information, along with telling you they are installed to /usr/local/bin. If so, you were successful!
Unlocking the bootloader
WARNING: This WILL wipe your entire phone. Please make copies or backups of any important data. This can also go wrong rendering your device inoperable. Proceed with caution.
On your phone, open Settings, navigate to "System" then "About phone", and tap on the build number 7 times.
Go one menu up, click on "Developer options", and turn on USB debugging and OEM unlocking.
In your terminal, type the following command:
Code:
adb reboot bootloader
Run the following command:
Code:
fastboot flashing unlock
Follow the prompts on your device then reboot!
Flashing factory images
NOTE #1: You CANNOT downgrade factory images. Google has prevented users from doing so to keep them safe from vulernabilities that were patched. You should only upgrade or reinstall the current image.
NOTE #2: If you have mounted /system as rw at any point (like in TWRP), you must upgrade using the factory image method. OTAs will fail because they cannot verify the integrity of the disk since its verity data has been changed.
NOTE #3: Flashing the factory images requires an unlocked bootloader. Flashing the OTA zips does not (but if anything goes wrong, you may not be able to recover without an RMA).
Updating to a new release (factory image):
Download the latest factory image from Google's website.
Reboot into the bootloader:
Code:
adb reboot bootloader
Unzip the factory image.
Inside you will see a bootloader image, a radio image, an image zip file, and a couple of flash scripts.
If you are on Windows, open the "flash-all.bat" file in a text editor. If you are on Mac or Linux, open the "flash-all.sh" instead.
Remove the "-w" flag before the fastboot command towards the end of the file. This will prevent fastboot from formatting your device.
Run the flash all script! Open a command prompt, navigate to the folder with the script, and run one of the following commands:
Windows:
Code:
flash-all
Mac/Linux:
Code:
./flash-all.sh
Reboot once it is finished!
Updating to a new release (OTA zip):
Download the latest OTA zip from Google's website
Reboot into recovery:
Code:
adb reboot recovery
Hold down the power button and push volume up
Select "Apply update from ADB"
Run the following command from the folder containing the OTA zip:
Code:
adb sideload <zip_name>.zip
Reboot once it is finished!
Clean flashing a factory image (wipe everything):
Download the latest factory image from Google's website
Reboot into the bootloader:
Code:
adb reboot bootloader
Unzip the factory image.
Run the flash all script! Open a command prompt, navigate to the folder with the script, and run one of the following commands:
Windows:
Code:
flash-all
Mac/Linux:
Code:
./flash-all.sh
Reboot once it is finished!
Rooting with Magisk
NOTE #4: This section assumes you are not going to install TWRP. If you are, skip to the next section and just flash the latest Magisk zip after installing TWRP.
Download the Magisk zip from the official thread and install the manager from the zip.
Grab a boot image to patch (either the one from the latest factory image or a custom kernel one) and push it to your device:
Code:
adb push <path_to_file> /sdcard/Download
Open Magisk Manager and click the Install button.
Click "Install" at the first prompt then choose "Patch Boot Image File". A file manager will pop up.
Select the boot image you want to patch and let Magisk Manager patch it.
Pull it off your device:
Code:
adb pull /sdcard/MagiskManager/patched_boot.img
Reboot into the bootloader:
Code:
adb reboot bootloader
Flash the boot image and reboot.
Code:
fastboot flash boot patched_boot.img
fastboot reboot
Open Magisk Manager and you should be rooted!
Installing TWRP
NOTE #5: If you just want to temporarily boot TWRP to flash Magisk and your custom kernel, you can just skip flashing the installer zip in this process.
NOTE #6: TWRP can be unstable at times given the way that security has been set up on this device (lack of decryption, failing to boot, etc).
Download both the TWRP image and zip installer from the official site.
Temporarily boot the TWRP image.
Code:
fastboot boot <path_to_twrp_image>
Flash the TWRP installer zip.
Reinstall Magisk and your custom kernel if you had them.
Reboot and profit!
Common issues
Outdated fastboot/adb: This device requires the latest fastboot and adb binaries to work properly. A lot of common quick adb/fastboot installation guides link to installers that are old. Please manually install the latest using the information at the beginning of the thread!
Using a USB-3.0 or USB-C port: Some newer USB ports do not work with fastboot. Issues manifest as weird errors during a flash. Use a different USB cable/port.
Closing statements
If there are any procedures you would like to see added (like flashing a custom kernel or booting TWRP), I am happy to add them if requested. Also, when requesting help, please be as specific as possible where you get confused. I want this guide to be clear as possible.
Reserved
Reserved
Stuck on this step
Run the flash all script! Open a command prompt, navigate to the folder with the script, and run one of the following commands:
How do I navigate in command prompt? When I typed flash-all, it said it is not a internal command etc. When I dragged and dropped flash-all into the command prompt, it said C:\Users\W Balls\Downloads\SAMPWND_SYSTEMROOT_ADB_FILES>"C:\Users\****** Jim\Downloads\walleye-opd1.170816.025-factory-4752baae\walleye-opd1.170816.025\flash-all.bat"
error: cannot load 'bootloader-walleye-mw8998-002.0059.00.img'
rebooting into bootloader...
OKAY [ 0.004s]
finished. total time: 0.004s
error: cannot load 'radio-walleye-g8998-00122-1708311414.img'
rebooting into bootloader...
OKAY [ 0.010s]
finished. total time: 0.015s
W/ ( 6448): Unable to open 'image-walleye-opd1.170816.025.zip': No such file or directory
error: failed to open zip file 'image-walleye-opd1.170816.025.zip': I/O Error
Press any key to exit...
You are calling the flash-all.bat out of a differende directory (C:\Users\W Balls\Downloads\SAMPWND_SYSTEMROOT_ADB_FILES) therefore it can't find the system image files since they are located under C:\U sers\****** Jim\Downloads\walleye-opd1.170816.025-factory-4752baae\walleye-opd1.170816.025. Make sure you extract your image to that directory, open up a command promt and navigate to it with "cd C:\Users\W Balls\Downloads\SAMPWND_SYSTEMROOT_ADB_FILES" and call the flash-all.bat from there.
Check out this for basic command line stuff https://www.digitalcitizen.life/command-prompt-how-use-basic-commands
---------- Post added at 10:58 AM ---------- Previous post was at 10:56 AM ----------
I tried this and it seems the magisk manager isn't able to download magisk on its own at least on my device:
Code:
DownloadManager: [356] Stop requested with status HTTP_DATA_ERROR: Unable to resolve host "forum.xda-developers.com": No address associated with hostname
DownloadManager: [356] Finished with status WAITING_TO_RETRY
EDIT: Seems like DNS66 was blocking the download patching was scucessfull now.
This is weird, can't I make 2 posts in a row??
Anybody figure out a solution for flashing when on MacOs High Sierra? Platform tools 26.0 1 was a fix for high Sierra, yet 26.0.2 seemed to have lost that commit, so fastboot doesn't work at all. Wondering if it's safe to use 26.0.1 on the pixel 2
nathanchance said:
Flashing factory images
Click to expand...
Click to collapse
First, thanks for putting this together. I've rooted using your method.
Regarding OTA updates: I've read that if we've rooted, we will need to un-root before we can receive an OTA update. Is this always true, or only if we've installed a custom recovery like TWRP? It would be really handy to have a guide on how to un-root, update, then re-root.
Related - let's say that for whatever reason, we have to flash an OTA update manually, rather than actually getting it OTA. Do we lose root by doing so?
Thanks!
JayBlack_686 said:
First, thanks for putting this together. I've rooted using your method.
Regarding OTA updates: I've read that if we've rooted, we will need to un-root before we can receive an OTA update. Is this always true, or only if we've installed a custom recovery like TWRP? It would be really handy to have a guide on how to un-root, update, then re-root.
Related - let's say that for whatever reason, we have to flash an OTA update manually, rather than actually getting it OTA. Do we lose root by doing so?
Thanks!
Click to expand...
Click to collapse
Magisk's OTA section should clear up some of your doubts: https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips
nathanchance said:
Magisk's OTA section should clear up some of your doubts: https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips
Click to expand...
Click to collapse
Looks really straightforward, thank you! Might be cool to point to it in the OP. I bet I'm not the only one who was only vaguely aware of the impact that rooting has on how we get OTAs. Then again, maybe everyone else wants to run custom ROMs.
JayBlack_686 said:
Looks really straightforward, thank you! Might be cool to point to it in the OP. I bet I'm not the only one who was only vaguely aware of the impact that rooting has on how we get OTAs. Then again, maybe everyone else wants to run custom ROMs.
Click to expand...
Click to collapse
Good point, I'll add it here in a bit
Sent from my Pixel 2 XL using XDA Labs
OTA vs factory image
Howdy,
really appreciate @nathanchance for putting this together. Would you mind adding a few lines about the differences between OTA and factory images. As a layman i haven't got the foggiest idea which route to go and would appreciate some wisdom. Thanks!
Thank you so much for this guide but can anybody please explain how you can tell which image to patch ?
I am unable to get this to work magisk is showing this message: stock kernel cannot be patched please use a custom kernel
i downloaded: walleye-opd1.170816.010-factory-63083164.zip
unsure as to whether this is correct for my phone as they are quite a few and its unclear how to tell
i have a pixel 2 from the UK that was factory unlocked and i unlocked the boot loader
what am i doing wrong please help
tango650 said:
Howdy,
really appreciate @nathanchance for putting this together. Would you mind adding a few lines about the differences between OTA and factory images. As a layman i haven't got the foggiest idea which route to go and would appreciate some wisdom. Thanks!
Click to expand...
Click to collapse
The primary difference is that the OTA can be flashed on an unlocked bootloader and is designed not to wipe your phone.
UpGrad3 said:
Thank you so much for this guide but can anybody please explain how you can tell which image to patch ?
I am unable to get this to work magisk is showing this message: stock kernel cannot be patched please use a custom kernel
i downloaded: walleye-opd1.170816.010-factory-63083164.zip
unsure as to whether this is correct for my phone as they are quite a few and its unclear how to tell
i have a pixel 2 from the UK that was factory unlocked and i unlocked the boot loader
what am i doing wrong please help
Click to expand...
Click to collapse
Are you supplying the boot image to Magisk? Show me a screenshot of what Magisk says when it tries to patch.
Thanks @nathanchance for this. I'm not a technical person, but can follow directions. This is the 4th phone that I've rooted following directions of some very smart and talented people here on XDA. I don't do this kind of thing everyday, and am not up on programming or coding or whatever you guys call it now days.
All I ended up doing is taking the OTA from Google to the .025. Then followed the Magisk rooting instructions to get root. I had Unlocked it the first day I turned the phone on, I haven't put my SIM in yet, but will play around with it a little more, and finish setting it up,
Again, thanks for the GUIDE to this Pixel 2 phone.
nathanchance said:
The primary difference is that the OTA can be flashed on an unlocked bootloader and is designed not to wipe your phone.
Are you supplying the boot image to Magisk? Show me a screenshot of what Magisk says when it tries to patch.
Click to expand...
Click to collapse
That is what i get. I have even flashed the whole factory image to the phone and still get this
@UpGrad3 you need to extract the boot.img out of your zip (walleye-opd1.170816.010-factory-63083164.zip) file and process this one, I'll guess you tried with the whole zip?? Also you can "attach" pictures to the post and not include the full res with the image tags...
@drmason I did extract the img from the zip. I followed the instructions exactly which is why im so confused as to what is going on ? Ok sorry i will do in future.
Amended post
UpGrad3 said:
@drmason I did extract the img from the zip. I followed the instructions exactly which is why im so confused as to what is going on ? Ok sorry i will do in future.
Amended post
Click to expand...
Click to collapse
You got the boot.img from the zip file that was inside the zip file?
from https://forum.xda-developers.com/showpost.php?p=74429474&postcount=90
Step by step
1. Download and extract factory image. Mine was taimen-opd1.170816.010-factory-c796ddb4.zip
***2. Once extracted go into the folder and extract image-taimen-opd1.170816.010.zip.
There you will find the boot.img.
---------- Post added at 08:36 AM ---------- Previous post was at 08:27 AM ----------
nathanchance said:
Good point, I'll add it here in a bit
Sent from my Pixel 2 XL using XDA Labs
Click to expand...
Click to collapse
@nathanchance, one more suggestion for the OP: at one point I was looking at using the stock boot img and couldn't figure out how to get it. Later, I found the below post, where the first two steps are essentially "open the zip inside the zip for the boot.img" to extract the stock boot image. Maybe it's really obvious, but I didn't get it.
https://forum.xda-developers.com/showpost.php?p=74429474&postcount=90
@UpGrad3 you are using the latest Magisk Manager 5.4.1 for this?
JayBlack_686 said:
You got the boot.img from the zip file that was inside the zip file?
from https://forum.xda-developers.com/showpost.php?p=74429474&postcount=90
Step by step
1. Download and extract factory image. Mine was taimen-opd1.170816.010-factory-c796ddb4.zip
***2. Once extracted go into the folder and extract image-taimen-opd1.170816.010.zip.
There you will find the boot.img.
---------- Post added at 08:36 AM ---------- Previous post was at 08:27 AM ----------
this is where i was going wrong i was using a file that had bootloader in the name rather than going into the second zip and finding boot
@nathanchance, one more suggestion for the OP: at one point I was looking at using the stock boot img and couldn't figure out how to get it. Later, I found the below post, where the first two steps are essentially "open the zip inside the zip for the boot.img" to extract the stock boot image. Maybe it's really obvious, but I didn't get it.
https://forum.xda-developers.com/showpost.php?p=74429474&postcount=90
Click to expand...
Click to collapse
drmason said:
@UpGrad3 you are using the latest Magisk Manager 5.4.1 for this?
Click to expand...
Click to collapse
yes i was
although im now stuck on the bootscreen with the G any suggestions ?
Fixed.
incase it happens to anyone else. i restored the factory image again then started the root procedure. im now rooted and fully working

no twrp even after command prompt confirmation..pls help

hello everyone..new on the forum..its my first post...
so, MODs pls delete or guide where to post this question although i didnt find any relevant thread...
i just bought a new asus m1 pro and have been trying to root it with majisk from 2 days but no luck..
here is what i did...
first i unlocked bootloader from asus website's apk..link is https://www.asus.com/in/Phone/ZenFone-Max-Pro-ZB601KL/HelpDesk_Download/
on this link 740KB bootloader unlocker
then instead of installing any drivers i installed asus pclink available on pclink.asus.com as i assumed it would contain drivers..although haven't started pclink program just completed installation..
then from this link https://www.xda-developers.com/install-adb-windows-macos-linux/ under microsot windows adb setup heading 1st step gives u zip containing adb and fastboot drivers so extracted it and ran cmd from extracted folder and got twrp image file from https://forum.xda-developers.com/asus-zenfone-max-pro-m1/development/recovery-twrp-3-2-1-x-t3787134 got the twrp-3.2.2-1 20180727 57MB image file....
then ran cmd from extracted folder after connecting phone typed adb devices and device was there (gonna attach screenshots of cmd) and then adb reboot bootloader then fastboot flash recovery twrp.img (i copied twrp file to this folder and renamed it as twrp.img) and then fastboot reboot all this went fine in cmd according to me but i haven't used cmd before so i know nothing about it...
and yes after adb reobot bootloader the phone did switch off and restarted and phone screen displayed fastboot mode and after fastboot reboot phone did restart...
cmd screenshot..
https://imgur.com/anxoFAB
so even after all this i booted to recovery (vol down+lock) but i find that twrp is not there...its still the phone's recovery software...
what i can't seem to understand is after cmd showing everything it should there should be rare possibility of this happening..right?or does it happen more often?
if i would have got stuck in some other manner i would have searched web but this after a bit of searching seems rare...
experts please help....much needed...

[How to] Fix 'sensors and camera not working', restore IMEI, etc. (Stock Pie)

At some moment when playing with Magisk modules, I've got Android crash, after which sensors (Accelerometer, Gravity, etc.) and Camera stopped working.
Obviously, somehow persist partition data got corrupted and must be reflashed. I believe, that flashing persist via fastboot is not supported, so I reflashed it via ADB, and got everything working.
What we'll need to flash persist partition:
1. Mi A2 with unlocked bootloader and critical partitions, on stock Pie 10.0.2.0 to 10.0.7.0, connected to an USB 2.0 port in PC MB; USB debugging and MTP file transfer enabled;
2. Working copy of ADB / Fastboot installation
3. image of persist partition, can be found in each stock fastboot image
https://forum.xda-developers.com/mi-a2/how-to/fastboot-xiaomi-mi-a2-fastboot-images-t3824849
as "jasmine_global_images_V10.0.2.0.PDIMIFJ_9.0\images\persist.img"; must be copied to ADB / Fastboot installation directory.
4. twrp-3.3.1-5-jasmine_sprout-unofficial.img, copied to ADB / Fastboot installation directory
https://forum.xda-developers.com/mi-a2/development/recovery-mi-a2-jasminesprout-t3941096
Note: even if TWRP boots with black screen, this method should work as we'll not control process on Mi A2, instead we'll use ADB commandsthis TWRP is reported to work with all variants of MiA2 screen panels.
5. Attached command file "flash_persist.cmd", unZIPped to ADB / Fastboot installation directory.
Instruction:
Run "flash_persist.cmd" from CMD shell or Explorer (probably admin rights needed?).
Command file execution will be paused several times, waiting for ADB and fastboot commands execution.
Please read CMD window output, check that phone is being switched to needed mode and/or ADB/Fastboot commands succeed.
In case something goes wrong, press Ctrl^C and terminate batch job.
After 1st reboot from TWRP, reboot once more by standard means.
Update:
- attached f"lash_persist_V2.zip" using "twrp-3.3.1-5-jasmine_sprout-unofficial"
my mi a2 is in ARB4, I can only use MIUI, could you tell me how do I get the persist file, could also explain where TWRP comes in since the command is made by ADB?
Aerobatic said:
At some moment when playing with Magisk modules, I've got Android crash, after which sensors (Accelerometer, Gravity, etc.) and Camera stopped working.
Obviously, somehow persist partition data got corrupted and must be reflashed. I believe, that flashing persist via fastboot is not supported, so I reflashed it via ADB, and got everything working.
What we'll need to flash persist partition:
1. Mi A2 with unlocked bootloader and critical partitions, on stock Pie 10.0.2.0 to 10.0.7.0, connected to an USB 2.0 port in PC MB; USB debugging and MTP file transfer enabled;
2. Working copy of ADB / Fastboot installation
3. image of persist partition, can be found in stock fastboot image
http://en.miui.com/download-353.html
as "jasmine_global_images_V10.0.2.0.PDIMIFJ_9.0\images\persist.img"; must be copied to ADB / Fastboot installation directory.
4. twrp-3.2.3-0-jasmine_sprout.img, copied to ADB / Fastboot installation directory
https://dl.twrp.me/jasmine_sprout/
Note: even if TWRP boots with black screen, this method should work as we'll not control process on Mi A2, instead we'll use ADB commands.
5. Attached command file "flash_persist.cmd", unZIPped to ADB / Fastboot installation directory.
Instruction:
Run "flash_persist.cmd" from CMD shell or Explorer (probably admin rights needed?).
Command file execution will be paused several times, waiting for ADB and fastboot commands execution.
In case something goes wrong, press Ctrl^C and terminate batch job.
After 1st reboot from TWRP, reboot once more by standard means.
Click to expand...
Click to collapse
I don't understand either why is twrp involved. I'm at stock 10.0.12 ROM, with unlocked bootloader and usb depuration turned on. Should I get the persist.img from the Fastboot image of 10.0.12? I only see the link to an unofficial one which I don't know in which way is different to the official one...
marcushg said:
I don't understand either why is twrp involved..
Click to expand...
Click to collapse
ADB.exe is sending requests to phone. Usual ROM cannot evaluate these requests, while TWRP is specially developed to perform actions specified by ADB requests.
Thanks for the reply. Now what I'm not sure is if flashing persist.img will delete my original IMEI and Bluetooth and WiFi Mac address. I don't want to lose them.
[/COLOR]
marcushg said:
Thanks for the reply. Now what I'm not sure is if flashing persist.img will delete my original IMEI and Bluetooth and WiFi Mac address. I don't want to lose them.
Click to expand...
Click to collapse
This happens to me, camera and sensors are not working. the solution for this is to flash persist.img from original and official rom. you can get that on miui official website. there you can get the persist.img and flash it on TWRP in Mi6X version not the jasmin_sprout. I have try and tested and sensors and camera on my Mi A2 is working now. Blaming myself by deleting the persist! and persist_back up at the twrp. Not to worry by lost imei and etc. mine is all working fine.
how can i do this on android 10? I say that because twrp is not available for android 10. I have problem with frond camera. it return at secondary back camera. please help me
tnt-4- said:
how can i do this on android 10? I say that because twrp is not available for android 10. I have problem with frond camera. it return at secondary back camera. please help me
Click to expand...
Click to collapse
TWRP_4pda_verison works for me in 9 and 10 stock crypted. See link in item 4 of OP instruction.
Aerobatic said:
TWRP_4pda_verison works for me in 9 and 10 stock crypted. See link in item 4 of OP instruction.
Click to expand...
Click to collapse
sorry i am noob. please give me the link
tnt-4- said:
sorry i am noob. please give me the link
Click to expand...
Click to collapse
'OP' in these forums is mostly used in 2 meanings:
- 'OP' refers to the person who Originally Posted this thread;
- 'OP' refers to the Opening Post in this thread.
So, " See link in item 4 of OP instruction" means:
- scroll page up to the beginning (or go to the beginning of 1st page of a thread, here we still have 1 page);
- then read it carefully;
- find item 4:
4. twrp-3.3.1-5-jasmine_sprout-unofficial.img, copied to ADB / Fastboot installation directory
https://forum.xda-developers.com/mi-...prout-t3941096
Click to expand...
Click to collapse
Do I need to go through alphabet or google search course also? no offence, cheer up!
Aerobatic said:
'OP' in these forums is mostly used in 2 meanings:
- 'OP' refers to the person who Originally Posted this thread;
- 'OP' refers to the Opening Post in this thread.
So, " See link in item 4 of OP instruction" means:
- scroll page up to the beginning (or go to the beginning of 1st page of a thread, here we still have 1 page);
- then read it carefully;
- find item 4:
Do I need to go through alphabet or google search course also? no offence, cheer up!
Click to expand...
Click to collapse
thanks for all. i will try to do it beacause the front camera is very usefull.
Persist.img flash via flashed_persist.cmd or flash with twrp??
tnt-4- said:
Persist.img flash via flashed_persist.cmd or flash with twrp??
Click to expand...
Click to collapse
Read OP carefully and try to Google about ADB, TWRP, etc. to understand the process. Why should we do your homework instead of you?
In brief, again and again:
1. TWRP is needed to be booted into phone, as it is the only valid means to perform ADB requests from PC.
2. TWRP has no options to reflash /persist partition from its UI
3. /persist partition image is flashed into phone from PC using ADB commands, so:
3.1. PC is to be prepared (drivers installed, latest platform-tools with ADB unpacked and tested to work, persist.img unpacked and copied into platform-tools directory)
3.2. phone is to be prepared (successfully connected via USB and then booted into TWRP with command from "flash_persist.cmd").
4. "flash_persist.cmd" is just Windows::CMD command file, helping to make ADB / fastboot / ADB requests from PC to phone/TWRP in correct order, and with intermediate checks of successful connection / mode switching: rebooting into bootloader (ADB command), booting into TWRP (fastboot command), and then reflashing /persist (ADB command)
You can read it, e.g. in Notepad, and try to understand what it should make, Googling for Windows::CMD commands and ADB commands descriptions.
Aerobatic said:
Read OP carefully and try to Google about ADB, TWRP, etc. to understand the process. Why should we do your homework instead of you?
In brief, again and again:
1. TWRP is needed to be booted into phone, as it is the only valid means to perform ADB requests from PC.
2. TWRP has no options to reflash /persist partition from its UI
3. /persist partition image is flashed into phone from PC using ADB commands, so:
3.1. PC is to be prepared (drivers installed, latest platform-tools with ADB unpacked and tested to work, persist.img unpacked and copied into platform-tools directory)
3.2. phone is to be prepared (successfully connected via USB and then booted into TWRP with command from "flash_persist.cmd").
4. "flash_persist.cmd" is just Windows::CMD command file, helping to make ADB / fastboot / ADB requests from PC to phone/TWRP in correct order, and with intermediate checks of successful connection / mode switching: rebooting into bootloader (ADB command), booting into TWRP (fastboot command), and then reflashing /persist (ADB command)
You can read it, e.g. in Notepad, and try to understand what it should make, Googling for Windows::CMD commands and ADB commands descriptions.
Click to expand...
Click to collapse
I understand that. I have unlock bootloader and criticals. Then i need run twrp.img on cmd to boot twrp. Then?? Sorry for my questions i am afraid for my phone. I dont want to destroy it with any fault step
tnt-4- said:
I understand that. I have unlock bootloader and criticals. Then i need run twrp.img on cmd to boot twrp. Then?? Sorry for my questions i am afraid for my phone. I dont want to destroy it with any fault step
Click to expand...
Click to collapse
Then read everything I wrote and understand what you are going to do.
Again: read text in "flash_persist.cmd" and make sure you understand each line in it.
At this I stop helping you, I'm to make my work, I'm really busy.
Aerobatic said:
Then read everything I wrote and understand what you are going to do.
Again: read text in "flash_persist.cmd" and make sure you understand each line in it.
At this I stop helping you, I'm to make my work, I'm really busy.
Click to expand...
Click to collapse
i've done it but my front camera still not working. when return it returned at secondary. :crying:
Then i disassembly my phone and disconnect my camera. I open my phone again and did the same thing. Finally i reconnect the camera and it works!! Thanks fo all Aerobatic
Would this work on a V11.0.6.0.QDIMIXM?
Also, where can I find the persist files for it?
valp88 said:
Would this work on a V11.0.6.0.QDIMIXM? Also, where can I find the persist files for it?
Click to expand...
Click to collapse
Yes, it should, if this is really /persist corruption issue, and not HW problem. Diagnostics can be made running tests in engineering mode or with 3rd-party apps like AIDA64: if most or at least several sensors are misbehaving or disfunctional, this is the direct prompt to reflash /persist.
As for your question, It is always recommended to read the OP:
Aerobatic said:
3. image of persist partition, can be found in each stock fastboot image
https://forum.xda-developers.com/mi-a2/how-to/fastboot-xiaomi-mi-a2-fastboot-images-t3824849
as "jasmine_global_images_V10.0.2.0.PDIMIFJ_9.0\images\persist.img"; must be copied to ADB / Fastboot installation directory.
Click to expand...
Click to collapse
Latest variant of persist.img for A10 can be found in unofficial repack of 11.0.8.0 OTA, link was published in https://forum.xda-developers.com/showpost.php?p=82370929&postcount=42.
Funny fact, but someone wrote in these forums that he solved his problem with corrupted /persist (being on Pie?) using image from the 1st official fastboot image for Oreo (V9.6.9.0.ODIMIFE, link in the thread pointed to in OP and above.)
Will it work with WIfi problems in MIUI for Mi A2
I'm using Custom Rom named as Derpfest and i had also flashed MIUI 11 but my wifi doesn't works in MIUI while it works perfectly for Derpfest.
steps please?
tnt-4- said:
i've done it but my front camera still not working. when return it returned at secondary. :crying:
Then i disassembly my phone and disconnect my camera. I open my phone again and did the same thing. Finally i reconnect the camera and it works!! Thanks fo all Aerobatic
Click to expand...
Click to collapse
Can you describes the steps... yo disassembly and disconnect the camera module, and then? you power it on?

My moto g5 plus is bricked and is stuck at fastboot mode

I have Moto g5 plus xt 1686 Indian variant.I hadn't unlocked my bootloader. The device was working but suddenly one day it got bricked dont know why but it boots only in fastboot mode that to with no information.The only error i am able to verify is "failed to validate boot image"
After trying for around 1 week i have tried these things
1. Used rsd lite earlier it wasnot able to identify my device in windows 10 machine but in windows 7 machine its able to do that but unable to flash the device
2. tried to flash using adb commands but they are also not working
Since i tried to unlock the bootloader through the guide of motorola website then also i am not able to do that and get this error "'fastboot' is not recognized as an internal or external command,
operable program or batch file."
Please help ....
Anubhav074 said:
I have Moto g5 plus xt 1686 Indian variant.I hadn't unlocked my bootloader. The device was working but suddenly one day it got bricked dont know why but it boots only in fastboot mode that to with no information.The only error i am able to verify is "failed to validate boot image"
After trying for around 1 week i have tried these things
1. Used rsd lite earlier it wasnot able to identify my device in windows 10 machine but in windows 7 machine its able to do that but unable to flash the device
2. tried to flash using adb commands but they are also not working
Since i tried to unlock the bootloader through the guide of motorola website then also i am not able to do that and get this error "'fastboot' is not recognized as an internal or external command,
operable program or batch file."
Please help ....
Click to expand...
Click to collapse
You need to install fastboot in pc and then flash the device to make it work.
You can prefer this thread
https://forum.xda-developers.com/g5...-flash-stock-romfactory-t3691396/post74221633
Anubhav074 said:
I have Moto g5 plus xt 1686 Indian variant.I hadn't unlocked my bootloader. The device was working but suddenly one day it got bricked dont know why but it boots only in fastboot mode that to with no information.The only error i am able to verify is "failed to validate boot image"
After trying for around 1 week i have tried these things
1. Used rsd lite earlier it wasnot able to identify my device in windows 10 machine but in windows 7 machine its able to do that but unable to flash the device
2. tried to flash using adb commands but they are also not working
Since i tried to unlock the bootloader through the guide of motorola website then also i am not able to do that and get this error "'fastboot' is not recognized as an internal or external command,
operable program or batch file."
Please help ....
Click to expand...
Click to collapse
You cannot unlock bootloader anymore. So try flashing normally. If your hardware is not damaged then you might me able to make it work.
debdeep98 said:
You cannot unlock bootloader anymore. So try flashing normally. If your hardware is not damaged then you might me able to make it work.
Click to expand...
Click to collapse
Since it is booting into fastboot mode i dont think its damaged.But the problem is its my first time for flashing so i dont know very much about it.
What i know is that , i installed adb in my system ,and then through command prompt i tried to detect my device But its not getting detected.So if you can please provide me a brief guide for flashing phone.
Anubhav074 said:
Since it is booting into fastboot mode i dont think its damaged.But the problem is its my first time for flashing so i dont know very much about it.
What i know is that , i installed adb in my system ,and then through command prompt i tried to detect my device But its not getting detected.So if you can please provide me a brief guide for flashing phone.
Click to expand...
Click to collapse
K.. install adb(https://www.androidfilehost.com/?fid=745425885120698566 ). If you had installed moto assistant then you'll have the drivers. If not then google motorola drivers and install them(http://www.motorola.com/getmdmwin ).
Once it's done. Open the folder where adb is installed.
Hold shift and right click>open command promt here.
At this point boot into the bootloader on your phone (fastboot mode).
On cmd type fastboot devices.
If your device is detected then it will show on screen.
If you get to this part.
Start flashing thru fastboot.
Get the files from google( or https://mirrors.lolinet.com/firmware/moto/potter/official/RETAIL)
Instructions to flash are in xda.
If you get failed to flash: security version downgrade then you're probably flashing an older firmware. Download the latest.
If you get failed to flash: preflash validation failed then there's not much you can do. Or atleast i don't know a solution to that.
its not detecting my device
Actually the problem is that it is not detecting my device when i give this command, although i have installed device drivers and adb also....This is is the problem
Anubhav074 said:
Actually the problem is that it is not detecting my device when i give this command, although i have installed device drivers and adb also....This is is the problem
Click to expand...
Click to collapse
Did you lenovo moto smart assistant to flash the device, you can try that as it will flash the device for you.
riyan65 said:
Did you lenovo moto smart assistant to flash the device, you can try that as it will flash the device for you.
Click to expand...
Click to collapse
yeah i tried that but when it is not verifying my phone when i select id (which is xt 1686) it says that phone can not be verified try again.i have tried every given id but it is refusing to accept my device.
Anubhav074 said:
Since it is booting into fastboot mode i dont think its damaged.But the problem is its my first time for flashing so i dont know very much about it.
What i know is that , i installed adb in my system ,and then through command prompt i tried to detect my device But its not getting detected.So if you can please provide me a brief guide for flashing phone.
Click to expand...
Click to collapse
Here's a guide to flash stock firmware.
Try the linked Mini ADB & Fastboot, if your device isn't recognised try to connect it to another usb port or use another usb cable.
Are you sure that you're in fastboot mode when you type the commands?
Read the guide carefully.
You need:
Latest signed stock firmware:
Europe (RETEU):
https://drive.google.com/file/d/13WuhoogtAdoincAyTwCLvRj0d-Z9kL0P/view?usp=sharing
India (RETIN):
https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
US (RETUS):
https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
flashallO.bat:
https://www.dropbox.com/s/zfh67uzfle9hsco/flashallO.bat?dl=0
Motorola drivers:
https://drive.google.com/file/d/0B0WGdtNWubBJYnlDcWRBZXltanc/view?usp=sharing
Mini ADB & Fastboot
https://drive.google.com/file/d/1lLYfimKN1U5CJ9cfpTCkhtMiuG8EfXBZ/view?usp=sharing
1) Download the 8.1.0_OPS28.85-17-6-2 Indian firmware (it's the last one for the Moto G5+ (potter).
2) Install Mini ADB & Fastboot (best place is the root directory of C:/ or how the partition/hard drive is named where your OS resists), not in program files or another folder.
3) Extract the firmware to that ADB & Fastboot folder.
4) Download my "flashallO.bat" and move it to that folder too.It removes the need for you to manually flash all partitions, just double-click it and it'll run all the commands for you.
5) Download and install Motorola device drivers.The program is called "Motorola Device Manager".
6) Reboot your phone to the bootloader. To do this, turn it off, then hold down the power and volume down buttons until you see a bugdroid undergoing open-heart surgery.
7) Connect the phone to your PC with your USB cable. Type
Code:
fastboot devices
to check if your device is connected. A serial number should be shown.
8) Run the flashallO.bat script. (Caution: This will wipe your device completely!) It will take some time to flash, just be patient and don't worry.
NOTE: If the command window appears for a brief moment then disappears, device drivers may not be installed. Ask again then.
9) Once the command window closes, it should have completed the flashing process and you are safe to press the power key on the phone to start Android. Just make sure that the text near the buttons reads "START".
Sent from my Moto G5 Plus using XDA Labs
Followed your guide this time my device is getting detected and when typed command adb devices its giving some number also but the image you provided is not flashing it.Dont know why please help
Anubhav074 said:
Followed your guide this time my device is getting detected and when typed command adb devices its giving some number also but the image you provided is not flashing it.Dont know why please help
Click to expand...
Click to collapse
You're always talking about ADB commands, it's Fastboot that you have to use, it's described above how you get there.
What image do you mean when you say it's not flashing?
The guide is complete, read it carefully.
You have to download a zip file, in your case the Indian (RETIN) variant:
XT1686_POTTER_RETIN_8.1.0_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Unpack it to fastboot folder, use the flashallO.bat to flash the firmware.
Please clarify what image you're talking about and if you do the fastboot flash like described above please provide the recovery.log , you can do that in TWRP->advanced->copy log, if TWRP is installed.
Try to flash the firmware and immediately after that grab a log and attach it here.
Sent from my Moto G5 Plus using XDA Labs
Wolfcity said:
You're always talking about ADB commands, it's Fastboot that you have to use, it's described above how you get there.
What image do you mean when you say it's not flashing?
The guide is complete, read it carefully.
You have to download a zip file, in your case the Indian (RETIN) variant:
XT1686_POTTER_RETIN_8.1.0_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Unpack it to fastboot folder, use the flashallO.bat to flash the firmware.
Please clarify what image you're talking about and if you do the fastboot flash like described above please provide the recovery.log, you can do that in TWRP->advanced->copy log, it will be stored in your internal storage.
Try to flash the firmware and immediately after that grab the log (with TWRP file manager) and attach it here.
Sent from my Moto G5 Plus using XDA Labs
Click to expand...
Click to collapse
Sry it's fastboot not adb .But the image i am trying to use is indian(retin) as you provided.And i followed all steps as they were given.
But i dont know how to get log files.
Also i would like to mention that this is my first time trying flashing a phone and as per my knowledge we have to install twrp recovery which i haven't done.its a normal phone with locked oem.
So please guide me how to get log files.
Anubhav074 said:
Sry it's fastboot not adb .But the image i am trying to use is indian(retin) as you provided.And i followed all steps as they were given.
But i dont know how to get log files.
Also i would like to mention that this is my first time trying flashing a phone and as per my knowledge we have to install twrp recovery which i haven't done.its a normal phone with locked oem.
So please guide me how to get log files.
Click to expand...
Click to collapse
You don't need logs. Your phone is locked so you cannot flash twrp. Only thing you can do is flash using fastboot commands. Just download the firmware.. extract. Put all of those files in the adb folder and run the flashall.bat or individual commands like fastboot flash recovery recovery.img which ever you feel is easier for you.
Anubhav074 said:
Sry it's fastboot not adb .But the image i am trying to use is indian(retin) as you provided.And i followed all steps as they were given.
But i dont know how to get log files.
Also i would like to mention that this is my first time trying flashing a phone and as per my knowledge we have to install twrp recovery which i haven't done.its a normal phone with locked oem.
So please guide me how to get log files.
Click to expand...
Click to collapse
debdeep98 said:
You don't need logs. Your phone is locked so you cannot flash twrp. Only thing you can do is flash using fastboot commands. Just download the firmware.. extract. Put all of those files in the adb folder and run the flashall.bat or individual commands like fastboot flash recovery recovery.img which ever you feel is easier for you.
Click to expand...
Click to collapse
That´s what I´ve said. If you would have TWRP you would be able to send a recovery.log but all you want to do is to flash a signed fastboot firmware. That´s possible without TWRP or unlocked bootloader, just by fastboot. Unzip the indian firmware
https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
into your Mini ADB & Fastboot folder, place the flashallO.bat there too and double-click it, everything in fastboot mode as described before.
What happens when you do that? Are the commands executed in the command window of your Windows PC?
Can you make a screenshot of it? The guide I posted has everything you need in it, you have to tell me what happens when you try to flash the unzipped firmware.
Just to be clear, the firmware and everything has to be on your PC, not your moble device!
i tried to take screen shot of it but was unable to do it but was successful in copying the complete commands log in text file so here it is
View attachment batch.txt
Anubhav074 said:
i tried to take screen shot of it but was unable to do it but was successful in copying the complete commands log in text file so here it is
Click to expand...
Click to collapse
Ok, that doesn't look to good.
The whole process is failing right at the start when the device is trying to build the partition table.
Have you tried different USB cables and ports?
Imo there are only two possible solutions:
Your device isn't working with fastboot correctly or its a hardware failure, the eMMC (the internal SD) may be corrupted. As your device is locked and hasn't been modded in any way this is the most plausible scenario also because it crashed out of the blue.
The only thing you can try yet is to use a different ADB and Fastboot tool, this one for example:
Minimal ADB & Fastboot:
https://drive.google.com/file/d/10NEzpxKpYWfq-HdK42ctwoEnCg-BfsRQ/view?usp=drivesdk
If all that changing of ports, cables and tools doesn't help you have to bring your device to a service center, they will most probably change the motherboard which isn't a cheap repair so if your device isn't under guarantee anymore you have to consider it it's worth the money.
Good luck!
Sent from my Moto G5 Plus using XDA Labs
So i tried with different fastboot software which you provided but i get the same errors .On phone when these commands run i get these messages failed to validate bootloader image and some thing called piv is also not able to be validated.
So i think its the end of my testing journey. Now can you please tell me how much chances are there for software issue. And is there any thing else i could.Any way i got to learn so many things through this but if is there anything left. Or should i go to service center
Anubhav074 said:
So i tried with different fastboot software which you provided but i get the same errors .On phone when these commands run i get these messages failed to validate bootloader image and some thing called piv is also not able to be validated.
So i think its the end of my testing journey. Now can you please tell me how much chances are there for software issue. And is there any thing else i could.Any way i got to learn so many things through this but if is there anything left. Or should i go to service center
Click to expand...
Click to collapse
I think you've done everything that's possible.
The device wasn't rooted,modded,unlocked or something.
It showed the failure out of the blue.
You tried different fastboot tools, cables, ports and the correct firmware.
I asked someone with more knowledge about your log and the whole case and he is thinking the same as I do.
So the chance for a software problem is really small. I told you everything I know, maybe a service center has more options for software checks but as far as I know they use the good old Lenovo Motorola Software Assistant.
So I would recommend to go there and ask (before they do anything) what you have to pay if your eMMC is broken. Here in Germany they always change the whole motherboard, the costs are about the half of the price you paid for the device here.
If your still under guarantee it's a different story.
I'm sorry, I told you everything I know and I flashed my Moto G5+ several times.
My opinion is that the device has a hardware failure and visiting the service center is the only thing you could do now.
I really would like to give you better news.
Sent from my Moto G5 Plus using XDA Labs
Hi, please help.
I have factory unlocked Moto G5 plus. I never did anyrhing to. All factory.
Recently its stuck in bootloop.
I really want to save all my pictures and texts.
Please help
Thanks
phone crazy said:
Hi, please help.
I have factory unlocked Moto G5 plus. I never did anyrhing to. All factory.
Recently its stuck in bootloop.
I really want to save all my pictures and texts.
Please help
Thanks
Click to expand...
Click to collapse
Read this thread. You can flash signed Motorola firmware like discribed. If you don't want to lose your data you can try to omit the "erase user data" command. Just delete it out of the flashallO.bat.
https://forum.xda-developers.com/g5...ked-stuck-fastboot-mode-t3996599/post80792213
Sent from my Moto G5 Plus using XDA Labs

Categories

Resources