Rooting - Moto G6 Plus Questions & Answers

Is it possible to root theG6 plus without Twrp, which would be my preferred method, but I cannot install TWRP on to my computer, no matter what I do, It just says can't mount file, Disk image is corrupted, This message comes up for all the versions. I have done all sorts of troubleshooting on this, but nothing has worked. I have Magisk installed on the SD card. Any help would be appreciated, BTW the bootloader is unlocked

Barb28n said:
Is it possible to root theG6 plus without Twrp, which would be my preferred method, but I cannot install TWRP on to my computer, no matter what I do, It just says can't mount file, Disk image is corrupted, This message comes up for all the versions. I have done all sorts of troubleshooting on this, but nothing has worked. I have Magisk installed on the SD card. Any help would be appreciated, BTW the bootloader is unlocked
Click to expand...
Click to collapse
Why did u try to mount a recovery.img in a WinOS?
Although it's an image file, it does not contain any file system suitable for a WinOS.
Install Magisk Manager (via .apk) to patch your boot.img with it. When the patched image is ready you can flash it via fastboot and your device is rooted.

WoKoschekk said:
Why did u try to mount a recovery.img in a WinOS?
Although it's an image file, it does not contain any file system suitable for a WinOS.
Install Magisk Manager (via .apk) to patch your boot.img with it. When the patched image is ready you can flash it via fastboot and your device is rooted.
Click to expand...
Click to collapse
I was following instructions that said to download twrp and put it in the fastboot folder, if I don't need to do that, it would be great. So Just installing magisk manager will be all I need to do ? Is APK different to the ADB folder, I don't want to get it wrong?

I know I have asked this before, but I am unable to install twrp to my fastboot folder,I have done all sorts of system repairs to my computer, but every twrp file I download says " cant mount file, disk image is corrupted" I know this can't be but I am at a loss now what to do. I have installed Magisk Manager on the phone, and the magisk zip file is on the sd card, Can anyone help me with this. pleeeeze!!

Barb28n said:
I know I have asked this before, but I am unable to install twrp to my fastboot folder,I have done all sorts of system repairs to my computer, but every twrp file I download says " cant mount file, disk image is corrupted" I know this can't be but I am at a loss now what to do. I have installed Magisk Manager on the phone, and the magisk zip file is on the sd card, Can anyone help me with this. pleeeeze!!
Click to expand...
Click to collapse
Here is your help:
https://forum.xda-developers.com/android/general/info-android-device-partitions-basic-t3586565
https://www.geeksforgeeks.org/android-boot-process/
https://www.androidauthority.com/root-android-277350/
https://wiki.lineageos.org/adb_fastboot_guide.html
https://www.androidcentral.com/10-basic-terminal-commands-you-should-know
###############################
Still got questions? Feel free to use the Google search
www.google.com

Thanks for your prompt reply, I have used google search, to try and find out why TWRP cant be mounted into the fastboot folder, it downloads ok,but will not mount, I have also lloked at all the links you stated, but none of them seem to address my problem. I am sorry if this has annoyed you, I will have to ask elsewhere for help. I have rooted phones before and never run into this trouble previously. Thanks for your time

Barb28n said:
Thanks for your prompt reply, I have used google search, to try and find out why TWRP cant be mounted into the fastboot folder, it downloads ok,but will not mount, I have also lloked at all the links you stated, but none of them seem to address my problem. I am sorry if this has annoyed you, I will have to ask elsewhere for help. I have rooted phones before and never run into this trouble previously. Thanks for your time
Click to expand...
Click to collapse
XXX.img = image (1:1 copy) of the whole partition, e.g. /boot, /recovery etc.
This is an image of a partition of your device. This is not a Windows partition, this is an Android partition. You must flash it to your device!! Have a look on twrp.me

Related

Recovery Image Errors

Hello. I'm really new to the g1, I got it just two weeks ago, and right now I have JFv1.50 ADP1.5 installed right now. I'm not familiar with many of the technical terms, but I'm starting to understand everything.
I went through the root process, trying to follow some guide using a root.apk application to download/ install the right files, but it bricked my phone. I was able to manually get it to JFv1.50 ADP1.5 later on though.
Now my problem is that I believe I still have the normal recovery image on the phone. In recovery mode there is a picture of an exclamation mark in a triangle.
So I figured I'd go try to use JF's 1.43 recovery image. I put the zip on my SD card and renamed it update.zip. When I go into recovery mode now, though, and press ALT+S, I see the installation/ update bar pop up for like 3 seconds, enough for the orange progress bar to move a few millimeters, and then it just stops. No error message or anything.
I tried installing the test keys recovery image also, but it didn't work at all.
I really need JF's recovery image though, so I can make backups etc.
I've searched for this, but the closest problem I can see is this one:
http://forum.xda-developers.com/archive/index.php/t-505950.html
But for me, I don't even get an error message when using the update.zip...
Sorry for my lack of technical knowledge here, but try to bear with me
Thanks for any help you can give me!
The cooked roms are signed with testkeys, so the original recovery mode will refuse to flash them. You'll have to get the recovery image modified by JF and flash it. The latest version is included in JF v1.43. You can find recovery.img in a folder called data in that zip.
Copy it to your sdcard or adb push it to somewhere on the phone. Then type these commands on the phone:
su
flash_image recovery /path/to/recovery.img
You must have root in order to do this. Alternatively, you can push the file to /system and the init script will flash it for you the next time you boot.
billc.cn said:
The cooked roms are signed with testkeys, so the original recovery mode will refuse to flash them. You'll have to get the recovery image modified by JF and flash it. The latest version is included in JF v1.43. You can find recovery.img in a folder called data in that zip.
Copy it to your sdcard or adb push it to somewhere on the phone. Then type these commands on the phone:
su
flash_image recovery /path/to/recovery.img
You must have root in order to do this. Alternatively, you can push the file to /system and the init script will flash it for you the next time you boot.
Click to expand...
Click to collapse
Thanks so much! I couldn't figure this out until now. It's working perfectly now.
Feel free to close this thread. Thanks again

Android N Preview 2 npc91k (flashable & image with no encryption and dm verification)

Android N Preview 2 npc91k (flashable & image with no encryption and dm verification)
This thread is for the second Android N Preview.
For Android N Preview 3 see: http://forum.xda-developers.com/nexus-6/general/android-n-preview-3-beta-npd35k-t3381845
For Android N Preview 4 see: http://forum.xda-developers.com/nexus-6/general/android-n-preview-4-beta-npd56n-t3399473
** DISCLAIMER: I AM NOT A DEVELOPER. I DO THIS AS A HOBBY AND SHARE MY FINDINGS IN CASE SOMEONE ELSE FINDS THEM USEFUL. **
** THIS WORKED ON MY DEVICE BUT IT MAY NOT WORK ON YOURS. APPLY AT YOUR OWN RISK **​** The following are instruction for installing Android N Preview 2 image released by Google on 4/13/2016. After the installation you will have TWRP recovery 3.0.2-0 with the data partition erased and unencrypted if you use method 2, which means you will have ~ 3GB more space and ~ 10 seconds faster boot speed **​Always backup your data before flashing something a total stranger gives you!
Method 1: Flash update through TWRP recovery (keeps your data and current recovery)
1- You need to have TWRP installed on your phone.
2- Download this flashable zip..
3- Copy to the phone internal storage and flash via recovery.
4- Reboot. Your data should still be intact and your OS is upgraded to N Preview 2. If your internal storage is unencrypted before flashing it remains unencrypted.
For some people this didn't work. It seems to be the case when you have been encrypted by your previous Android N installation, in which case TWRP seems to have difficulty reading the file, and that seemingly Preview 2 doesn't play nice with TWRP. It works best when you are unencrypted and your recovery is 3.0.2-0. Thanks to @gammaxgoblin, @blitzerking1, @Michael in ATL, @HueyT, and @PhillyFlyer for debugging and hints.
Method 2: Flash update using a computer (wipes everything, unencrypts data, and upgrades TWRP)
1- ALL of your data including the internal storage will be lost so make a backup. (If you know what you are doing and you are coming from unencrypted Marshmallow you can modify the instructions to not lose data but I won't help you with that).
2- Download this file. Note that it is NOT a flashable zip.
3- Unzip into a folder of your choice on your PC.
4- Open a command window (cmd) and cd to this directory. then run the following:
Code:
flash-all
5- Wait until prompted, then press key to reboot the phone.
6- Your data is wiped and your OS is upgraded to N with unencrypted internal storage. Your TWRP is also upgraded to 3.0.2-0.
Technical details: this is a repacking of the Google image with a modified Kernel and removed userdata and recovery images. Everything else is stock.
Problem downloading from Mega on a mobile browser? Change the page setting to "Request desktop site".
About root and other issues
To obtain root after installing this update you should flash SuperSU 2.71 (or higher) in recovery. Get it from here: http://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133. Despite the fact that SuperSU 2.71 is supposedly re-written for Android N, there are still some apps that seem to have a problem obtaining root. The commonest complaint on this thread so far has been about Adaway. If you want to block Ads just manually do what Adaway does. Download a hosts file from any ad block list server such as http://winhelp2002.mvps.org/hosts.htm, copy the files on your sdcard, boot the phone into recovery, and using the TWRP file manager replace the file /system/etc/hosts with this file and set its permissions to 644 (rw-r--r--).
wouldnt flash first go. redl now
no flash again
gammaxgoblin said:
wouldnt flash first go. redl now
no flash again
Click to expand...
Click to collapse
Same happened to me. It would not flash, same error
gammaxgoblin said:
wouldnt flash first go. redl now
no flash again
Click to expand...
Click to collapse
Can you open the zip that you downloaded and see if you can see the file that it is complaining about? What version of twrp are you using?
najoor said:
Can you open the zip that you downloaded and see if you can see the file that it is complaining about? What version of twrp are you using?
Click to expand...
Click to collapse
Same error for me as well. I can extract the zip and view the file it is talking about. I also tried on TWRP 3.0.1-0 and TWRP 3.0.2-0
Everything is working perfect for me with the new zip. I have a unencrypted phone and used 3.0.2 TWRP.
najoor said:
Can you open the zip that you downloaded and see if you can see the file that it is complaining about? What version of twrp are you using?
Click to expand...
Click to collapse
i tried 3.0.1 and 3.0.2 and i can also see the file
Method 2 works great
Method two works I used it myself
Shall I flash preview 2 directly from marshmallow?
Seems like TWRP is having a lot of troubles with each version of N Preview's encryption. I have same problem with both N6 and N6P, as do others in that forum too....:/
i have latest twrp, download a ota update from ofiicial site in zip file and flash it over in twrp. boot normally and works fine. only flash supersu 2.71 and it's unencrypted at all.
ps. TB not works for me ind N prew2 so i flash perv1, restore from TB and flash prew2 over it.
marius987 said:
i have latest twrp, download a ota update from ofiicial site in zip file and flash it over in twrp. boot normally and works fine. only flash supersu 2.71 and it's unencrypted at all.
ps. TB not works for me ind N prew2 so i flash perv1, restore from TB and flash prew2 over it.
Click to expand...
Click to collapse
Sorry for the stupid question. What do you mean for TB?
cerico76 said:
Sorry for the stupid question. What do you mean for TB?
Click to expand...
Click to collapse
I'm going to assume it stands for Titanium Backup.
Waiting for fixed method #1
outkastz said:
I'm going to assume it stands for Titanium Backup.
Click to expand...
Click to collapse
Ah,yes! Thanx!
Can someone please provide a link to the desktop website for the flashable zip?
Just to help with the installation of method 2, holding shift and right clicking a blank space in your unzipped folder, you can click open command window here. That will save you having to CD all the way to it.
Sent from my Nexus 6 using XDA-Developers mobile app
I did method 1. It upgraded fine. All my data remained. It killed root (expected this) and my TWRP. I was unencrypted before attempting.
I went and downloaded the latest TWRP and flashed via fastboot. Then downloaded latest SuperSU from http://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133 and flashed it via my newly installed TWRP. Root confirmed and all is well.
Good to go Thanks!
I've got an "Invalid boot image" issue :
Any tought ?
outpox said:
I've got an "Invalid boot image" issue :
Any tought ?
Click to expand...
Click to collapse
You may have to flash a previous stable release of marshmallow or lollipop from Google first and then try this because something seems to be corrupted in your system.

Bricked System - Need Image for fastboot or ideas

Hello,
somehow I had a problem that many apps force closed after doing something, so I tried flashing opengapps - worst idea. I started the phone and nothing worked because I always get force close on Setup Assistent.
I were on Cydras Rom (https://forum.xda-developers.com/le-pro3/development/rom-google-edition-cydras-t3514742). So now I tried overflashing it again but somehow it says successfully installed and also "cant unmount system: volume not found". The system image is now about 900mb big, the zip 1.3gb - can't be possible. It doesn't but and stuck on the first Leeco screen. Now I tried sideload: failed - invalid command..
Well, I tried getting another rom and put it on phone by MTP in TWRP.. Same problem - TARS causes boot into Recovery and CM13 by Superluminal doesn't even flash: stuck on "patching system image unconditonally".
Has someone a solution or more like is there any system image I can flash through fastboot?
Or could someone make one? PLEASE!
I think somehow the system can't be mounted...
Probably flashing stock ROM jacked your phone into locked system.
Are you able to fastboot flash/boot TWRP?
If yes, try to copy the official firmware zip by renaming it to update.zip and putting it into internal storage.
Next you have to flash stock recovery from fastboot, reboot into recovery right away and then apply update. If you succeed you should have a working back-to-stock.
You didn't mention if u have x727 or x720? And you didn't mention what possible "something" u did which jacked up your apps to FCs. Looks like a kernel level modification to me...
Have u tried the bootloader unlock checking command?
Somehow I tried this twrp backup: https://forum.xda-developers.com/le-pro3/how-to/le-pro-3-lex727-twrp-backup-eui-5-8-019s-t3504761
Now I can't mount storage, because it's encrypted... -.-
I have x720 and I don't really know what caused the FCs, the last I remember was uninstalling Android WebView.
Now I have to try to get access to storage again..
## bootloader is unlocked
dark_prince said:
Probably flashing stock ROM jacked your phone into locked system.
Are you able to fastboot flash/boot TWRP?
If yes, try to copy the official firmware zip by renaming it to update.zip and putting it into internal storage.
Next you have to flash stock recovery from fastboot, reboot into recovery right away and then apply update. If you succeed you should have a working back-to-stock.
You didn't mention if u have x727 or x720? And you didn't mention what possible "something" u did which jacked up your apps to FCs. Looks like a kernel level modification to me...
Have u tried the bootloader unlock checking command?
Click to expand...
Click to collapse
Okay, my internal storage is now lost.. but idc.
I tried getting 20s stock zip and it says "apk not found" in stock recovery..?
Grossoshop ROM is fastboot installable.
Presterin said:
Grossoshop ROM is fastboot installable.
Click to expand...
Click to collapse
Link?
idragonx said:
Link?
Click to expand...
Click to collapse
Sure, here you go: http://blog.grossoshop.net/leeco-x720-grossoshop-rom-italiano-ota/
idragonx said:
Okay, my internal storage is now lost.. but idc.
I tried getting 20s stock zip and it says "apk not found" in stock recovery..?
Click to expand...
Click to collapse
Unlocked bootloader so far so good.
Flash TWRP and try to reformat partitions.
ADB side-load your favorite ROM (make sure to verify MD5 first before side-loading)...
dark_prince said:
Unlocked bootloader so far so good.
Flash TWRP and try to reformat partitions.
ADB side-load your favorite ROM (make sure to verify MD5 first before side-loading)...
Click to expand...
Click to collapse
How to reformat? I tried wiping all & make it ext4 in TWRP.
Sideload doesn't work: * failed to read command: Invalid argument
Advanced wipe > modify or repair file system?
---------- Post added at 11:50 PM ---------- Previous post was at 11:48 PM ----------
What appears if u use the 2nd wipe option instead of advanced wipe (the option other than slide to factory reset & Advanced wipe, I forgot it's name but it reformats internal storage as well)
dark_prince said:
Advanced wipe > modify or repair file system?
---------- Post added at 11:50 PM ---------- Previous post was at 11:48 PM ----------
What appears if u use the 2nd wipe option instead of advanced wipe (the option other than slide to factory reset & Advanced wipe, I forgot it's name but it reformats internal storage as well)
Click to expand...
Click to collapse
All wipes work, but sideload still doesn't work.
I tried now downloading the grossoshop zip and there is no batch like in the screenshots, so I tried flashing system.img manually out of the zip and I get:
fastboot flash system system.img
target reported max download size of 536870912 bytes
Invalid sparse file format at header magi
Elaborate side load doesn't work.... Is it an error on TWRP? Or you just can't find device while doing "ADB devices"?
Is ADB correctly installed? Is ur device correctly recognized drivers-wise ? Check device manager after enabling side load while ur device is connected via USB....
Which device is it? 720 or 727?
Drivers? Check in device manager after "Swipe to enable side load"
idragonx said:
All wipes work, but sideload still doesn't work.
I tried now downloading the grossoshop zip and there is no batch like in the screenshots, so I tried flashing system.img manually out of the zip and I get:
fastboot flash system system.img
target reported max download size of 536870912 bytes
Invalid sparse file format at header magi
Click to expand...
Click to collapse
That's weird, I downloaded it couple of days ago, and it has batch file. Corrupted download?
Presterin said:
That's weird, I downloaded it couple of days ago, and it has batch file. Corrupted download?
Click to expand...
Click to collapse
I used this from the post: https://mega.nz/#!tUkUQJwZ!h3tniWVWlSiYJICadW7MuEdYLDFKfNmNcEOBQ-eL1JM
dark_prince said:
Elaborate side load doesn't work.... Is it an error on TWRP? Or you just can't find device while doing "ADB devices"?
Is ADB correctly installed? Is ur device correctly recognized drivers-wise ? Check device manager after enabling side load while ur device is connected via USB....
Which device is it? 720 or 727?
Drivers? Check in device manager after "Swipe to enable side load"
Click to expand...
Click to collapse
It's x720.
Drivers seems to work in device manager, I can use adb, but on sideload it goes to ~3% and the the error I mentioned comes with invalid argument.
Can I change somehow the maximum system.img size for device? Somehow I need to flash it with fastboot
#####
I GOT IT.
Finally - https://mega.nz/#!VEM1QIYL!HwT9hk7-GA6KZBTRMv0IQ9kleYaG-el63UF21S6P0us
It could do it using fastboot - oh god thanks. Now I try to flash my custom rom.
idragonx said:
It's x720.
Drivers seems to work in device manager, I can use adb, but on sideload it goes to ~3% and the the error I mentioned comes with invalid argument.
Can I change somehow the maximum system.img size for device? Somehow I need to flash it with fastboot.
Click to expand...
Click to collapse
mD5 verified?
Alright try this. Get latest CM13 build from teamsuperluminal website and also get the x720 patch from there too. Then in TWRP (while connected to USB) go to advanced wipe > cache + system + dalvik + data.
Open downloaded CM13 zip in 7-zip file manager, go to META-INF > Android folder and extract only the updater_script file. (Should be in that or in a subwoofer). Keep the 7-zip opened and dont close it.
Open the updater_script file in notepad++ and remove first line which starts with "assert". Save
Then drag drop it back into 7-zip( in the same folder structure.) Close 7-zip after
Enable side load in TWRP
Now side load x720 patch first
Then side load CM13 ROM file u just modified into your phone.
dark_prince said:
Enable side load in TWRP
Now side load x720 patch first
Then side load CM13 ROM file u just modified into your phone.
Click to expand...
Click to collapse
Thank you very much for your help, but finally I found the 18s from grossoshop with the BATCH - it could fastboot load the system.img partially and now it boots <3
Ah sweet. Lol
I couldn't flash CM13 until I tried 5 different methods to get Round patching system lockout...
dark_prince said:
Ah sweet. Lol
I couldn't flash CM13 until I tried 5 different methods to get Round patching system lockout...
Click to expand...
Click to collapse
Well, but I can't flash back my cydras ROM
Imho it should work now to go back to stock. Download official Chinese firmware zip file (not OTA) and rename it to update.zip
Put it in internal storage (not into any folder)
Go to fastboot and flash stock recovery.
Then boot into stock recovery and apply update.zip
Result should be profiting.
idragonx said:
Well, but I can't flash back my cydras ROM
Click to expand...
Click to collapse

HELP! Nova 3i / INE-LX2 TWRP Image

Hello All,
Is there an existing working TWRP for Nova 3i? I tried searching, I found one image that claims to be for Nova 3i from the site stupdroid . com.
I was able to flash it, but once I'm inside TWRP, the phone just restarts in maybe 5-10 seconds and just doesn't allow me to do anything.
So now I have an unlocked bootloader with no way to root
I hope someone can help.
P.S. I've asked Supersonic27543 but unfortunately, he/she doesn't have the copy anymore.
june.castillote said:
Hello All,
Is there an existing working TWRP for Nova 3i? I tried searching, I found one image that claims to be for Nova 3i from the site stupdroid . com.
I was able to flash it, but once I'm inside TWRP, the phone just restarts in maybe 5-10 seconds and just doesn't allow me to do anything.
So now I have an unlocked bootloader with no way to root
I hope someone can help.
P.S. I've asked Supersonic27543 but unfortunately, he/she doesn't have the copy anymore.
Click to expand...
Click to collapse
If you only want to root you can do that without TWRP. If you want to do that let me know in this thread.
how can i root the huawei nova 3i , modele ine-lx2, can i have help please
Supersonic27543 said:
If you only want to root you can do that without TWRP. If you want to do that let me know in this thread.
Click to expand...
Click to collapse
need to know how please
zenosteam said:
need to know how please
Click to expand...
Click to collapse
Has there been any further development on this?
I'm finding it quite hard to find a suitable TWRP image.
zenosteam said:
need to know how please
Click to expand...
Click to collapse
Sorry for the delay. Here's how, (Remember to unlock the bootloader before this!)
First, download the update.zip for this device (you can find it in Huawei Firmware Finder, remember to download the Full OTA)
Extract the update.zip, you'll see a file named update.app. Download "Huawei Update Extractor", and open the update.app with it.
Now you'll see a list of partitions. Extract the "ramdisk" partition (an . IMG file), and copy it to the Internal Storage of your device.
Download and Install Magisk Manager on your device. Open it, and press Install>Install>Patch Boot Image. Select the ramdisk image you copied to your Internal Storage. Magisk will save a patched image to /sdcard/Download/patched_boot.img.
Now install that image in Fastboot, by "fastboot flash ramdisk patched_boot.img".
Now your device should be rooted with Magisk. If for some reason your device doesn't boot, you can flash the stock ramdisk (before patching) by using the same command as above. (replace patched_boot. img with the image name) That'll cause loss of root.
Good luck!
june.castillote said:
Hello All,
Is there an existing working TWRP for Nova 3i? I tried searching, I found one image that claims to be for Nova 3i from the site stupdroid . com.
I was able to flash it, but once I'm inside TWRP, the phone just restarts in maybe 5-10 seconds and just doesn't allow me to do anything.
So now I have an unlocked bootloader with no way to root
I hope someone can help.
P.S. I've asked Supersonic27543 but unfortunately, he/she doesn't have the copy anymore.
Click to expand...
Click to collapse
How did you unlock bootloader?!?! which service???
I really need your help now..
---------- Post added at 07:44 AM ---------- Previous post was at 07:42 AM ----------
How did you unlock bootloadr?!?!? which service?
I really need your help now..
Supersonic27543 said:
Sorry for the delay. Here's how, (Remember to unlock the bootloader before this!)
First, download the update.zip for this device (you can find it in Huawei Firmware Finder, remember to download the Full OTA)
Extract the update.zip, you'll see a file named update.app. Download "Huawei Update Extractor", and open the update.app with it.
Now you'll see a list of partitions. Extract the "ramdisk" partition (an . IMG file), and copy it to the Internal Storage of your device.
Download and Install Magisk Manager on your device. Open it, and press Install>Install>Patch Boot Image. Select the ramdisk image you copied to your Internal Storage. Magisk will save a patched image to /sdcard/Download/patched_boot.img.
Now install that image in Fastboot, by "fastboot flash ramdisk patched_boot.img".
Now your device should be rooted with Magisk. If for some reason your device doesn't boot, you can flash the stock ramdisk (before patching) by using the same command as above. (replace patched_boot. img with the image name) That'll cause loss of root.
Good luck!
Click to expand...
Click to collapse
Has anyone tried this? Also, will this kill off OTA?
Currently running EMUI 9.0.1.130

Update to OxygenOS 9.0.0

Hello,
I have a rooted Oneplus 5 (Android 8.1, OxygenOS 5.1.7) and I'm trying to update it to get the newest version of Oxygen OS.
I found the Firmwares here : https://www.getdroidtips.com/oneplus-5-stock-firmware/
However, when I try to install it via TWRP, I get this
Code:
Updating partition details...
...done
Full SELinux support is present.
Data successfully decrypted
Updating parition details...
...done
MTP Enabled
Installing zip file '/sdcard/Download/OnePlus5Oxygen_23_OTA_042_all_1812232102_a034988.zip
Checking for Digest file...
Skipping Diggest check: no Digest file found
[COLOR="Red"]E:String resource 'zip_compatible_err' not found.
Using default value.
Zup Treble compatibility error!
Invalid zip file format!
Error installing zip file '/sdcard/Download/OnePlus5Oxygen_23_OTA_042_all_1812232102_a034988.zip[/COLOR]
Updating partition details...
...done
After looking around on the internet, I found that it is because my TWRP is outdated.
I tried to download newer versions from the Official TWRP App but when I go to the recovery, I only get a black screen.
I reinstalled this version 3.2.3 : https://forum.xda-developers.com/on...overy-twrp-3-2-1-0-oreo-oxygenos-5-0-t3725723 but still can't manage to update OxygenOS.
Any help ?
Thanks
Mouchoir said:
Hello,
I have a rooted Oneplus 5 (Android 8.1, OxygenOS 5.1.7) and I'm trying to update it to get the newest version of Oxygen OS.
I found the Firmwares here : https://www.getdroidtips.com/oneplus-5-stock-firmware/
However, when I try to install it via TWRP, I get this
After looking around on the internet, I found that it is because my TWRP is outdated.
I tried to download newer versions from the Official TWRP App but when I go to the recovery, I only get a black screen.
I reinstalled this version 3.2.3 : https://forum.xda-developers.com/on...overy-twrp-3-2-1-0-oreo-oxygenos-5-0-t3725723 but still can't manage to update OxygenOS.
Any help ?
Thanks
Click to expand...
Click to collapse
Hello, I can't recommend any guide on outside of xda cause they're not consistent...
Just follow this guide in the first post https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003 would help you.
You can't flash twrp 3.3.1 cause you need newer firmware, pie firmware.
Please answer all the questions:
What is you current twrp recovery (file name)?
What is your current Rom(file name)?
What is your magisk version?
Is your storage encryped or decrypted?
Hello and thanks for your answer.
My current TWRP is twrp-3.2.3-0-20180822-codeworkx-cheeseburger.img
I am not sure about my ROM's file name
My Magisk version is 19.3 (19300) - Magisk Manager version is 7.3.4 (235) : it says everything's up to date
I think my storage is encrypted since it asks for my password when I start TWRP
[Clean Flash] For Users with an Unlocked Bootloader and TWRP Recovery:
Download the full ROM zip from the downloads section above
Transfer the zip to the root of your device's internal storage
Only needed if you are coming from Oreo and use a TWRP that does not ignore the compatibility.zip check: Remove the compatibility.zip from the downloaded full ROM zip with either MiXplorer or Total Commander (not with any other tool!) on your device itself
Reboot to TWRP recovery (make sure you're using an Oreo TWRP if you're on Oreo Firmware/ROM or Pie TWRP if you're on Pie Firmware/ROM) and take a nandroid backup of your existing ROM
Flash Magisk Uninstaller (recommended)
From the TWRP menu, Wipe > Advanced wipe > Select dalvik-cache, cache, system, vendor and data> Swipe to wipe
From the TWRP menu, Install > Select full ROM zip (modified one with compatibility.zip removed, in case you're on Oreo or unmodified one, in case you're on Pie) > Swipe to flash
Flash the latest stable Magisk in case you want to root
From the TWRP menu, Wipe > Advanced wipe > Select dalvik-cache and cache > Swipe to wipe
Optional: If you wish to decrypt, format data via TWRP (please note that wiping the data partition, which we did in the 5th step above, is not the same as formatting it) and after that flash xXx No Verity 4.0.zip from here
Reboot
Note: First boot may take some time, so please be patient and wait for it to boot.
Click to expand...
Click to collapse
If I understand correctly from the link you sent me, TWRP doesn't ignore the compatibility.zip check so in order to install OxygenOS 9.0.8 I need to delete this part of the ZIP first ?
Thanks
Mouchoir said:
Hello and thanks for your answer.
My current TWRP is twrp-3.2.3-0-20180822-codeworkx-cheeseburger.img
I am not sure about my ROM's file name
My Magisk version is 19.3 (19300) - Magisk Manager version is 7.3.4 (235) : it says everything's up to date
I think my storage is encrypted since it asks for my password when I start TWRP
If I understand correctly from the link you sent me, TWRP doesn't ignore the compatibility.zip check so in order to install OxygenOS 9.0.8 I need to delete this part of the ZIP first ?
Thanks
Click to expand...
Click to collapse
Exactly, delete the compatibility.zip from 9.0.8 rom file and flash it with your current twrp, exactly like in the linked guide for update, not clean flash if you have already a rom above OxygenOS 5.1.4, so please check your OxygenOS version(settings, about).
strongst said:
Exactly, delete the compatibility.zip from 9.0.8 rom file and flash it with your current twrp, exactly like in the linked guide for update, not clean flash if you have already a rom above OxygenOS 5.1.4, so please check your OxygenOS version(settings, about).
Click to expand...
Click to collapse
Hello,
Indeed, I have OxygenOS 5.1.7
I have struggle to understand the difference between clean and not clean flash tho
Mouchoir said:
Hello,
Indeed, I have OxygenOS 5.1.7
I have struggle to understand the difference between clean and not clean flash tho
Click to expand...
Click to collapse
If you have TWRP, move the OTA file to the PC, open it with 7zip (NOT WinRAR) and delete the compatibility.zip. Then copy it again to the phone, flash and before rebooting flash a Pie TWRP
Mouchoir said:
Hello,
Indeed, I have OxygenOS 5.1.7
I have struggle to understand the difference between clean and not clean flash tho
Click to expand...
Click to collapse
Clean flash wipes system and data, so no os, data and settings.
PierreVicquery02 said:
If you have TWRP, move the OTA file to the PC, open it with 7zip (NOT WinRAR) and delete the compatibility.zip. Then copy it again to the phone, flash and before rebooting flash a Pie TWRP
Click to expand...
Click to collapse
Thanks I'll do that. Can I go for the newest version directly or do I have to flash them one by one untill the most recent one ?
Mouchoir said:
Thanks I'll do that. Can I go for the newest version directly or do I have to flash them one by one untill the most recent one ?
Click to expand...
Click to collapse
As I already wrote you: if you are already at 5.1.4 or newer, you can flash 9.0.8
strongst said:
As I already wrote you: if you are already at 5.1.4 or newer, you can flash 9.0.8
Click to expand...
Click to collapse
Better safe than sorry !
I downloaded the version here https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003
and deleted compatibility.zip from OnePlus5Oxygen_23_OTA_051_all_1907311835_5de64c.zip but I still have an issue when installing :
Code:
Data successfully decrypted
Updating parition details...
...done
Successfully decrypted with a default password.
Updating parition details...
...done
Full SELinus support is present.
MTP ENabled
Installing zip file '/sdcard/Download/OnePlus5Oxygen_23_OTA_051_all_1907311835_5de64c.zip
Checking for Digest file...
Skipping Diggest check: no Digest file found
Patching system image unconditionally...
E1001 Failed to update system image.
[COLOR="Red"]Updater process ended with ERROR:7
Error installing zip file '/sdcard/Download/OnePlus5Oxygen_23_OTA_051_all_1907311835_5de64c.zip[/COLOR]
Updating partition details...
...done
Mouchoir said:
Better safe than sorry !
I downloaded the version here https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003
and deleted compatibility.zip from OnePlus5Oxygen_23_OTA_051_all_1907311835_5de64c.zip but I still have an issue when installing :
Click to expand...
Click to collapse
Error 7 is corrupt file, you'll find about it here https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003/page591
Yeah I can't seem to find the solution. I've tried to use codework's TWRP as stated here : https://forum.xda-developers.com/showpost.php?p=75543048&postcount=3104
I've tried to wipe cache/Dalvik : https://forum.xda-developers.com/showpost.php?p=75079739&postcount=2470
I tried to flash then restart and flash again : https://forum.xda-developers.com/showpost.php?p=75077082&postcount=2416
I just can't seem to find the solution to the ERROR:7
Mouchoir said:
Yeah I can't seem to find the solution. I've tried to use codework's TWRP as stated here : https://forum.xda-developers.com/showpost.php?p=75543048&postcount=3104
I've tried to wipe cache/Dalvik : https://forum.xda-developers.com/showpost.php?p=75079739&postcount=2470
I tried to flash then restart and flash again : https://forum.xda-developers.com/showpost.php?p=75077082&postcount=2416
I just can't seem to find the solution to the ERROR:7
Click to expand...
Click to collapse
With which tool did you remove the compatibility.zip from the rom zip? That's the key usually and explained within the instructions
strongst said:
With which tool did you remove the compatibility.zip from the rom zip? That's the key usually and explained within the instructions
Click to expand...
Click to collapse
As stated here, I used 7zip
PierreVicquery02 said:
If you have TWRP, move the OTA file to the PC, open it with 7zip (NOT WinRAR) and delete the compatibility.zip. Then copy it again to the phone, flash and before rebooting flash a Pie TWRP
Click to expand...
Click to collapse
I re-did all the process and managed to update my OS on the second try.
Now I have an issue trying to put TWRP and Magisk back : I'm following this tutorial https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877 but I can't seem to be able to put TWRP.
When my phone is on and connected to the computer,
Code:
adb devices
does see the phone but then when I go into the bootloader and I type
Code:
fastboot devices
nothing happens. When I go for
Code:
fastboot flash recovery recovery.img
it just tells me it's waiting for any device.
I've tried deleting and reinstalling the drivers with the too provided in the thread, but still doesn't work.
Yes because to use fastboot you have to be in fastboot mode...
PierreVicquery02 said:
Yes because to use fastboot you have to be in fastboot mode...
Click to expand...
Click to collapse
Thanks for your answer. I believe I am in fastboot mode/bootloader as I said in my previous message. I've been following this tutorial : https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877
I just checked on Youtube, this is the screen I am on : https://www.youtube.com/watch?v=4xlmZXgkUrQ
So as I said, once I am on this screen where I can select between START/POWER OFF/RECOVERY MODE/RESTART BOOTLOADER and I type the "fastboot device" command, nothing comes up.
Is this screen not the "Fastboot mode" ?
Mouchoir said:
As stated here, I used 7zip
I re-did all the process and managed to update my OS on the second try.
Now I have an issue trying to put TWRP and Magisk back : I'm following this tutorial https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877 but I can't seem to be able to put TWRP.
When my phone is on and connected to the computer,
Code:
adb devices
does see the phone but then when I go into the bootloader and I type
Code:
fastboot devices
nothing happens. When I go for
Code:
fastboot flash recovery recovery.img
it just tells me it's waiting for any device.
I've tried deleting and reinstalling the drivers with the too provided in the thread, but still doesn't work.
Click to expand...
Click to collapse
Mouchoir said:
Thanks for your answer. I believe I am in fastboot mode/bootloader as I said in my previous message. I've been following this tutorial : https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877
I just checked on Youtube, this is the screen I am on : https://www.youtube.com/watch?v=4xlmZXgkUrQ
So as I said, once I am on this screen where I can select between START/POWER OFF/RECOVERY MODE/RESTART BOOTLOADER and I type the "fastboot device" command, nothing comes up.
Is this screen not the "Fastboot mode" ?
Click to expand...
Click to collapse
Yes this is fastboot sorry maybe I didn't understand. If you are able to backup your data, use Unbrick tool to update your device
PierreVicquery02 said:
Yes this is fastboot sorry maybe I didn't understand. If you are able to backup your data, use Unbrick tool to update your device
Click to expand...
Click to collapse
I was hoping I could flash TWRP and Magisk without wiping my data
It's weird that when it's on I can see it with "adb devices" and Windows sees it's a Oneplus, but when it's in fastboot I can't with "adb fastboot" and Windows detects an USB but can't say what it is.
I feel its a driver issue but can't figure it out
Mouchoir said:
I was hoping I could flash TWRP and Magisk without wiping my data
It's weird that when it's on I can see it with "adb devices" and Windows sees it's a Oneplus, but when it's in fastboot I can't with "adb fastboot" and Windows detects an USB but can't say what it is.
I feel its a driver issue but can't figure it out
Click to expand...
Click to collapse
That's such a strange bug. If you are in fastboot, it's impossible for your PC to recognize it in ADB mode. Try with another computer or use unbrick tool to clean your phone (it installs Oxy 9.0.8)
Well I managed to see the fastboot thanks to the EOM cable but I think I bricked my phone

Categories

Resources