Help me guys. I deleted my Oneplus 6T SystemUI.apk. Bootloop. - OnePlus 6T Questions & Answers

Help me guys. I deleted my Oneplus 6T SystemUI.apk. Bootloop. Please teach me how to fix it.

Maybe this thread could be useful
https://forum.xda-developers.com/showthread.php?t=1637847

Is your bootloader unlocked? If so, you can just boot TWRP via fastboot (boot the img, not installing the zip) and dirty flash the latest OTA.
If nothing works, boot into EDL mode and use msmdownloadtool as last resort, but you will lose ALL your data in the process. Don't mess with the cable when msmdownloadtool is working or your phone is going to be permanently bricked. You should only use msmdownloadtool if you've tried everything and nothing is working, or you entered Qualcomm crash dump mode and fastboot/recovery isn't working.

I don't understand
komodo_1 said:
Maybe this thread could be useful
https://forum.xda-developers.com/showthread.php?t=1637847
Click to expand...
Click to collapse
I don't understand this
Then
adb shell
su
rm system/app/SystemUI.apk
exit

basedtobeh said:
Is your bootloader unlocked? If so, you can just boot TWRP via fastboot (boot the img, not installing the zip) and dirty flash the latest OTA.
If nothing works, boot into EDL mode and use msmdownloadtool as last resort, but you will lose ALL your data in the process. Don't mess with the cable when msmdownloadtool is working or your phone is going to be permanently bricked. You should only use msmdownloadtool if you've tried everything and nothing is working, or you entered Qualcomm crash dump mode and fastboot/recovery isn't working.
Click to expand...
Click to collapse
My 6t bootloader unlocked and i don't have boot img

undrahbayar said:
My 6t bootloader unlocked and i don't have boot img
Click to expand...
Click to collapse
Since you uninstalled SystemUI.apk, I'm going to assume you have Magisk and adb/fastboot installed on your PC.
Do you have TWRP installed? If so, just boot into it and dirty flash the latest OTA.
If not, download twrp-3.2.3-2-fajita.img here https://dl.twrp.me/fajita/ and boot into it via fastboot.
On your PC, download the latest OxygenOS from OnePlus website. move the .img you downloaded earlier to your fastboot folder, hold Vol Up + Power until you enter fastboot, back to PC - type into the search bar "cmd" then press enter, type fastboot boot "twrp-3.2.3-2-fajita.img" and press enter. Your phone should boot into TWRP, now copy the OTA file into your phone and install it into both slots (just to be sure).
You're going to lose Magisk if you do this, but you can just reinstall it and it's much better than having a $600 paperweight
Remember that you need to have a working adb and fastboot on your PC to do this.
Some tip: You can backup your data while you're in TWRP via USB mass storage, it's a good idea to do it now just in case your phone is bricked even worse than before.

basedtobeh said:
Since you uninstalled SystemUI.apk, I'm going to assume you have Magisk and adb/fastboot installed on your PC.
Do you have TWRP installed? If so, just boot into it and dirty flash the latest OTA.
If not, download twrp-3.2.3-2-fajita.img here https://dl.twrp.me/fajita/ and boot into it via fastboot.
On your PC, download the latest OxygenOS from OnePlus website. move the .img you downloaded earlier to your fastboot folder, hold Vol Up + Power until you enter fastboot, back to PC - type into the search bar "cmd" then press enter, type fastboot boot "twrp-3.2.3-2-fajita.img" and press enter. Your phone should boot into TWRP, now copy the OTA file into your phone and install it into both slots (just to be sure).
You're going to lose Magisk if you do this, but you can just reinstall it and it's much better than having a $600 paperweight
Remember that you need to have a working adb and fastboot on your PC to do this.
Some tip: You can backup your data while you're in TWRP via USB mass storage, it's a good idea to do it now just in case your phone is bricked even worse than before.
Click to expand...
Click to collapse
i don't want lost my data. my phone twrp installed. https://l.facebook.com/l.php?u=http...v2tKWpgjtH1uNa9qGkEpux3yPIjNDUTQIEPCPb_dVJD7U i don't understand it

He had to delete the wrong systemui apk first, with the commands you quoted
then comes those for apk installation
Code:
adb push SystemUI.apk system/app/SystemUI.apk
reboot
i never tried something like that so I dunno if it would work on all devices, or just on rooted or on no one @ all.
undrahbayar said:
I don't understand this
Then
adb shell
su
rm system/app/SystemUI.apk
exit
Click to expand...
Click to collapse

undrahbayar said:
i don't want lost my data. my phone twrp installed. https://l.facebook.com/l.php?u=http...v2tKWpgjtH1uNa9qGkEpux3yPIjNDUTQIEPCPb_dVJD7U i don't understand it
Click to expand...
Click to collapse
Dirty flashing doesn't wipe your data, but you should definitely back up your data in case something goes wrong.
If you have TWRP installed, just do what I typed on my previous reply. To make it clearer:
1. Download the latest OxygenOS for OnePlus 6T here https://www.oneplus.com/support/softwareupgrade/details?code=9
2. Boot into TWRP (Vol Up + power/Vol down + power, I don't remember which one is for recovery). If it asks for password, enter your PIN number
3. USB mass storage should now be available, you can copy/move files from your phone to PC while in this mode. It's a good idea to backup your data now if you haven't.
4. Copy the OTA file you downloaded into your phone
5. Press Install on TWRP, and select the file you downloaded earlier. It's going to take a while, don't panic.
6. When it has finished, DON'T reboot into system. Instead, go back to TWRP.
7. Press Reboot and choose the other slot (opposite of current slot, so if your current slot is B, press A. if it's A, press B)
8. Install the OTA again (This flashes stock OOS into both slot)
9. Again, DON'T reboot into system, go back to TWRP.
10. Press Reboot in TWRP and choose your previous slot.
11. Boot into system
You're not going to lose data if you do this correctly. But, you're going to lose Magisk if you do this (or maybe TWRP too). Just install Magisk again.
Don't permanently install TWRP on OP 6T because it's going to conflict with Magisk. If you need TWRP, just boot into TWRP.img via fastboot instead of permanently installing it.
I don't exactly know how to flash ROMs on A/B partition devices, but this is what I do and it works everytime. Some steps might be unnecessary, though.

basedtobeh said:
Dirty flashing doesn't wipe your data, but you should definitely back up your data in case something goes wrong.
If you have TWRP installed, just do what I typed on my previous reply. To make it clearer:
1. Download the latest OxygenOS for OnePlus 6T here https://www.oneplus.com/support/softwareupgrade/details?code=9
2. Boot into TWRP (Vol Up + power/Vol down + power, I don't remember which one is for recovery). If it asks for password, enter your PIN number
3. USB mass storage should now be available, you can copy/move files from your phone to PC while in this mode. It's a good idea to backup your data now if you haven't.
4. Copy the OTA file you downloaded into your phone
5. Press Install on TWRP, and select the file you downloaded earlier. It's going to take a while, don't panic.
6. When it has finished, DON'T reboot into system. Instead, go back to TWRP.
7. Press Reboot and choose the other slot (opposite of current slot, so if your current slot is B, press A. if it's A, press B)
8. Install the OTA again (This flashes stock OOS into both slot)
9. Again, DON'T reboot into system, go back to TWRP.
10. Press Reboot in TWRP and choose your previous slot.
11. Boot into system
You're not going to lose data if you do this correctly. But, you're going to lose Magisk if you do this (or maybe TWRP too). Just install Magisk again.
Don't permanently install TWRP on OP 6T because it's going to conflict with Magisk. If you need TWRP, just boot into TWRP.img via fastboot instead of permanently installing it.
I don't exactly know how to flash ROMs on A/B partition devices, but this is what I do and it works everytime. Some steps might be unnecessary, though.
Click to expand...
Click to collapse
i don't fix it. don't work it.

Related

[INFO] How to sideload 5.1.1 (LYZ28E), & maintain no encryption - no wipe required

[INFO] How to sideload 5.1.1 (LYZ28E), & maintain no encryption - no wipe required
Simplified procedures with LMY47M / LYZ28E now available as a factory image.
Hopefully this isn't blatantly obvious to everyone, it is a little different than the normal sideload procedure. Thought it might be useful to some who want to load 5.1.1 (and get Wifi calling with T-Mobile!) and not be forced to encrypt.
Requirements:
1. I'm assuming you have adb/fastboot working on your computer / connecting to your device and you understand a little bit about using adb / fastboot with an android phone.
2. Your phone cannot be encrypted, if you're encrypted already - this will not un-encrypt your data - you need to turn off forced encryption and format the "userdata" partition to disable the encryption.
3. You need to have an unlocked bootloader for this to work of course.
How to follow this procedure:
1. If you're on LMY47M (T-Mobile) and unencrypted, you can follow option 2, starting with Step 3 - only a small ~150MB download required.
2. If you're on anything other than LMY47M, you should use option 1 unless you have a desire to flash LMY47M and sideload LYZ28E.
I didn't do much here - except spent a bunch of time writing the procedure.
All Credit for tools / ideas goes to:
- efrant for his explanation of how to get OTA updates to work with TWRP ( http://forum.xda-developers.com/nexus-6/general/nexus-6-ota-help-desk-t2992919/page4 )
- hlxanthus for the NO FORCE ENCRYPT mod ( http://forum.xda-developers.com/nexus-6/development/mod-disable-force-encryption-rom-kernel-t3000788 )
- Q9Nap and mhous33 for the LMY47M factory image ( http://forum.xda-developers.com/nexus-6/development/fxz-nexus-6-recovery-flashable-fastboot-t3066052 )
- bbedward and others for the original disable forced encryption boot.img ( http://forum.xda-developers.com/nexus-6/development/disable-forced-encryption-gain-root-t2946715 )
- TeamWin - the TWRP Developer ( https://twrp.me/ )
——————————————————————————————————
OPTION 1 - Easy Method - Flash the LYZ28E factory image directly:
1. Download hlxanthus's NO FORCE ENCRYPT mod and put it onto your phone so you can flash it later (in /storage/sdcard0) - https://basketbuild.com/filedl/devs...u/misc/NO_FORCE_ENCRYPT_shamu_v1.0-signed.zip
2. Download LYZ28E for Nexus 6 ( https://dl.google.com/dl/android/aosp/shamu-lyz28e-factory-b542b88a.tgz ) and extract the files, there is a zip file you want to extract that too.
Boot to the bootloader ("adb reboot bootloader") and fastboot flash the boot, cache, recovery, radio and system:
Code:
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash recovery recovery.img (OPTIONAL - If you have TWRP or another alternative recovery you can skip this step)
fastboot flash radio radio-shamu-<variable>.img
fastboot flash system system.img
3. Restart the Bootloader, and flash TWRP, found here: ( https://twrp.me/devices/motorolanexus6.html )
Code:
fastboot flash recovery twrp-2.8.6.0-shamu.img
4. Restart the Bootloader again and then go to Recovery (TWRP). Now flash NO_FORCE_ENCRYPT_shamu_v1.0-signed.zip through TWRP, and flash SuperSU if you want root and whatever other zips you want to flash (Xposed, etc)
After flashing the NO FORCE ENCRYPT mod, reboot and you should be running 5.1.1 with all of your data and with your userdata partition intact and unencrypted!
———————————————————————————————————————————————————
OPTION 2 - SIDELOAD Method (Makes sense if you’re already on LMY47M):
1. Download hlxanthus's NO FORCE ENCRYPT mod and put it onto your phone so you can flash it later (in /storage/sdcard0) - https://basketbuild.com/filedl/devs...u/misc/NO_FORCE_ENCRYPT_shamu_v1.0-signed.zip
2. Follow the normal procedure, if you're already on LMY47M you can skip to step 3. Download LMY47M for Nexus 6 ( https://dl.google.com/dl/android/aosp/shamu-lmy47m-factory-5228e84a.tgz ) and extract the files, there is a zip file you want to extract that too.
Boot to the bootloader ("adb reboot bootloader") and fastboot flash the boot, cache, recovery, radio and system:
Code:
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash recovery recovery.img
fastboot flash radio radio-shamu-<variable>.img
fastboot flash system system.img
3. Now flash TWRP, found here: ( https://twrp.me/devices/motorolanexus6.html )
Code:
fastboot flash recovery twrp-2.8.6.0-shamu.img
4. Restart the bootloader, and enter recovery mode (TWRP). Once in TWRP, go to Advanced -> ADB Sideload. You may need to unplug/plug in the USB cable to your computer again.
Download my version of LYZ28E from here: https://www.androidfilehost.com/?fid=23991606952609905
Note: I modified this version to work with TWRP, it will not work with the stock recovery (because I modified it, the signature on the file is now invalid). The only thing I changed was I edited the updater-script to remove the release keys check which seems to fail on the stock recovery and doesn't work right with TWRP).
Code:
adb sideload f69096766706fab3c721163f02aad9073a989d00.unsigned-shamu-LYZ28E-from-LMY47M-fullradio-fix-superblock-use-TWRP.zip
5. After it finishes, do not reboot yet. Go back and I recommend rebooting to recovery again. Now flash NO_FORCE_ENCRYPT_shamu_v1.0-signed.zip through TWRP, and flash SuperSU if you want root and whatever other zips you want to flash (Xposed, etc)
After flashing the NO FORCE ENCRYPT mod, reboot and you should be running 5.1.1 with all of your data and with your userdata partition intact and unencrypted!
why would you think that you have to be encrypted to push anything to recovery??? plus sideload is only one method to do it, the other is adb push. and if you use twrp recovery, you don't need any of those method's, as you can just move files over to twrp via your usb.
simms22 said:
why would you think that you have to be encrypted to push anything to recovery??? plus sideload is only one method to do it, the other is adb push. and if you use twrp recovery, you don't need any of those method's, as you can just move files over to twrp via your usb.
Click to expand...
Click to collapse
Sorry if I gave the impression you need to be encrypted to push to recovery, that wasn't my intent. Where did I give that impression? I can try to fix it in my original post. At no point in this procedure will your phone be encrypted - there will be times that the kernel will have the force encryption option turned ON in the fstab but you never will boot the phone when that is the case (like right after LRX22C is loaded, after LYM47M is sideloaded, and after you flash the stock boot.img for LYM47M - but you are not booting in any of these cases - not before you install a no forced encryption kernel)
adb push requires the phone is booted right? I wasn't able to get adb push to work in recovery.
I also didn't know TWRP allowed you to copy data over to your phone via USB, I know CWM recovery can do it - but that was a feature missing from TWRP - maybe they added it, I didn't check. You can do an adb push with TWRP, but what in my procedure would you change to use the adb push method in TWRP versus whatever I put in there? The only thing I can think of is asking you to put the mod file on the phone in the beginning.
liqice said:
Sorry if I gave the impression you need to be encrypted to push to recovery, that wasn't my intent. Where did I give that impression? I can try to fix it in my original post. At no point in this procedure will your phone be encrypted - there will be times that the kernel will have the force encryption option turned ON in the fstab but you never will boot the phone when that is the case (like right after LRX22C is loaded, after LYM47M is sideloaded, and after you flash the stock boot.img for LYM47M - but you are not booting in any of these cases - not before you install a no forced encryption kernel)
adb push requires the phone is booted right? I wasn't able to get adb push to work in recovery.
I also didn't know TWRP allowed you to copy data over to your phone via USB, I know CWM recovery can do it - but that was a feature missing from TWRP - maybe they added it, I didn't check. You can do an adb push with TWRP, but what in my procedure would you change to use the adb push method in TWRP versus whatever I put in there? The only thing I can think of is asking you to put the mod file on the phone in the beginning.
Click to expand...
Click to collapse
"So I just figured out how to sideload LYZ28E on my Nexus 6 without enabling forced encryption. "
actually adb push is very easy.. boot unto recovery, type adb push filename.zip, then it pushes to your phone and is listed in the main storage filesystem. id say its nearly identical to adb sideload.
simms22 said:
"So I just figured out how to sideload LYZ28E on my Nexus 6 without enabling forced encryption. "
actually adb push is very easy.. boot unto recovery, type adb push filename.zip, then it pushes to your phone and is listed in the main storage filesystem. id say its nearly identical to adb sideload.
Click to expand...
Click to collapse
Sorry maybe that first sentence is poorly worded. What I meant was, I figured out how to get LYZ28E onto my phone and disable the forced encryption on the OS too. The process wasn't as straightforward because the 2nd sideload wouldn't work correctly without booting into the OS first. After that, I couldn't get the LYZ28E image to sideload on stock recovery or TWRP without errors - but I was able to modify the LYZ28E OTA file so it would load with TWRP, and then I was able to load the no encrypt mod and supersu and get the phone working the way I wanted again.
Are you saying it would be easier if I push the zip file to the phone and install using TWRP as a zip file instead of trying to sideload it?
Step 3: "Hold down the Power and Volume Up button (may need to do it a few times) to get to the Recovery menu".
Actually, the correct key combination is: Hold power, then (while holding power button) press and release volume up.
Works first time, every time.
cam30era said:
Step 3: "Hold down the Power and Volume Up button (may need to do it a few times) to get to the Recovery menu".
Actually, the correct key combination is: Hold power, then (while holding power button) press and release volume up.
Works first time, every time.
Click to expand...
Click to collapse
Thanks, updated the original post.
liqice said:
Sorry maybe that first sentence is poorly worded. What I meant was, I figured out how to get LYZ28E onto my phone and disable the forced encryption on the OS too. The process wasn't as straightforward because the 2nd sideload wouldn't work correctly without booting into the OS first. After that, I couldn't get the LYZ28E image to sideload on stock recovery or TWRP without errors - but I was able to modify the LYZ28E OTA file so it would load with TWRP, and then I was able to load the no encrypt mod and supersu and get the phone working the way I wanted again.
Are you saying it would be easier if I push the zip file to the phone and install using TWRP as a zip file instead of trying to sideload it?
Click to expand...
Click to collapse
easier/harder isnt an option here, since any way takes seconds. im just saying there are several options for this, thats all
liqice said:
Code:
fastboot flash f69096766706fab3c721163f02aad9073a989d00.unsigned-shamu-LYZ28E-from-LMY47M-fullradio-fix-superblock-use-TWRP.zip
Click to expand...
Click to collapse
Shouldn't this step be
Code:
adb sideload f69096766706fab3c721163f02aad9073a989d00.unsigned-shamu-LYZ28E-from-LMY47M-fullradio-fix-superblock-use-TWRP.zip
instead of fastboot flash?
So if your starting out with 47E, your rooted and have TWRP ..... would you use adb sideload in TWRP or you issue the command from the PC?
Chahk said:
Shouldn't this step be
Code:
adb sideload f69096766706fab3c721163f02aad9073a989d00.unsigned-shamu-LYZ28E-from-LMY47M-fullradio-fix-superblock-use-TWRP.zip
instead of fastboot flash?
Click to expand...
Click to collapse
Oops, you're right. Thanks!
Gage_Hero said:
So if your starting out with 47E, your rooted and have TWRP ..... would you use adb sideload in TWRP or you issue the command from the PC?
Click to expand...
Click to collapse
This is where I was, LMY47E, rooted, unencrypted and with TWRP. I followed the entire procedure - went back to LRX22C using fastboot, then sideloaded LMY47M (T-Mobile version) - then flashed the no force encrypt boot.img - booted, after it finished booting, rebooted to the bootloader and so on ...
When you go to LRX22C you flash back to the stock recovery. So you need to boot into the stock recovery, pick "apply update from adb" and then run the adb sideload command from the PC.
Cheers for this.. just what I was looking for. I'm at work so I only scanned this quickly, but any major change in the directions from what you've posted going from an unencrypted LMY47D?
With the factory images being posted, I just did the following:
Flashed the factory images
While still in bootloader, flashed TWRP
Rebooted into TWRP
Pushed SuperSU and the No_Force_encrypt to the /sdcard/ partition
Installed via TWRP
Profit.
lamenting said:
Cheers for this.. just what I was looking for. I'm at work so I only scanned this quickly, but any major change in the directions from what you've posted going from an unencrypted LMY47D?
Click to expand...
Click to collapse
For LMY47D you need to get to LMY47M first, so you would follow the entire procedure, downgrade to LRX22C and then sideload LMY47M and so on.
Heavily updated the procedure since LMY47M and LYZ28E factory images are now available directly from Google.
Should be a lot easier and more straight forward now!
I just recently have this Nexus 6 and came from an LG G2. I went through the process of unlocking the phone and installing rooted LMY47D which meant 2 factory resets in a short period.
I'm now on 5.1 and would like to get rid of the memory leak which this build apparently has.
The title mentions "maintain no encryption".
I never found the time to find out about Lollipop. The title implies that encryption is mandatory on 5.1.1
Is this so?
I merely want the latest upgrade to 5.1.1 and don't want to enforce encryption on my data (Google already knows everything about me) is this the way to achieve this?
I am correct in thinking that I will not get an OTA offered anymore?
Boot loader and radio only...
So if I understand the instructions correctly, if you are still encrypted but rooted, from any Lollipop installation, fast boot flash the factory images... then flash TWRP ... root and done right? Then I have another question... the kernel I am running EX 1.07 along with Flar's app is running perfect for me.... any dangers in just flashing the boot loader and radio? I would like to wait on the system part until the kernel has been updated.....
Also, if I needed to do a restore, if I only flash the boot loader and radio have I pooched being able to go backwards to a nand backup?
FYI, step 3 in option one should read:
fastboot flash recovery twrp-2.8.6.0-shamu.img
vs
fastboot flash twrp-2.8.6.0-shamu.img
frater said:
I just recently have this Nexus 6 and came from an LG G2. I went through the process of unlocking the phone and installing rooted LMY47D which meant 2 factory resets in a short period.
I'm now on 5.1 and would like to get rid of the memory leak which this build apparently has.
The title mentions "maintain no encryption".
I never found the time to find out about Lollipop. The title implies that encryption is mandatory on 5.1.1
Is this so?
I merely want the latest upgrade to 5.1.1 and don't want to enforce encryption on my data (Google already knows everything about me) is this the way to achieve this?
I am correct in thinking that I will not get an OTA offered anymore?
Click to expand...
Click to collapse
Starting with Android Lollipop (5.0) and newer - at least on the Nexus 6 - encryption is turned on by default for the userdata partition.
You would - if you wanted to - backup all of the data on your userdata partition (e.g. Any pictures you've taken with the phone, etc - all of the data basically that shows up when you plug your phone into your computer).
Then you need to be running an OS that doesn't force encryption (for example if you follow my instructions) - this would also get you running 5.1.1.
After that you need to format your userdata - it wouldn't be encrypted at that point, and then copy your data back if you want to.
If you don't care about encryption, you can simply flash the factory 5.1.1 image following my instructions and skip the TWRP parts.

Download Mode Recovery on H918

After installing twrp using the one click root method, it restarted my V20 and I ended up in recovery mode (TWRP) and unable to boot into the OS. It seems I only have access to fastboot, download mode, and TWRP at this moment. I tried flashing the partitions with twrp, but twrp isn't realing my SD card for some odd reason, and I don't believe theres another way to move the file directly to the phone. I've been trying to work with "LG FlashTool" for hours, and keep getting the same error. Is there a reliable way to flash the OS through download mode? Thanks!
There is currently no way to flash those .tot images. What happens when you try to boot, where does it get stuck?
In TWRP you can connect to a PC and access the storage. Did you try moving the files that way?
slayerh4x said:
There is currently no way to flash those .tot images. What happens when you try to boot, where does it get stuck?
In TWRP you can connect to a PC and access the storage. Did you try moving the files that way?
Click to expand...
Click to collapse
I apologize for not checking my XDA notifications frequently enough.
I was able to copy over the .img system, boot, and recovery files to my internal storage when I was booted into TWRP then flashed them in TWRP.
Thanks for the help!
KingofPineCones said:
I apologize for not checking my XDA notifications frequently enough.
I was able to copy over the .img system, boot, and recovery files to my internal storage when I was booted into TWRP then flashed them in TWRP.
Thanks for the help!
Click to expand...
Click to collapse
I tried doing this and my system rebooted back into TWRP. Where did you get the files? Also did you ever get the encryption unsuccessful error? Whenever I install a system image or nandroid backup my phone reboots into TWRP.
crazyc78 said:
I tried doing this and my system rebooted back into TWRP. Where did you get the files? Also did you ever get the encryption unsuccessful error? Whenever I install a system image or nandroid backup my phone reboots into TWRP.
Click to expand...
Click to collapse
The encryption unsuccessful error was mentioned in the original TWRP form, you're just supposed to tap cancel and ignore it. It seems to happen every time you boot into TWRP. As for the .IMG files, I forgot where I got these but as soon as I find the post I'll be sure to give the creator credit. These worked perfectly for my H918.
Link to .zip file with the .img file-
https://drive.google.com/file/d/0B53iMlcsyyiKenAtT2k5STl0Umc/view?usp=drivesdk
(On mobile app or else I would've embedded it)
Boot into TWRP and push them through ADB into your device, then flash with TWRP. Make sure to flash system and recovery together, THEN REBOOT. If you flash system or recovery apart then reboot it might not work. I pushed them to /data/ and it worked for me. system.img is about 4GB if I remember correctly, so that one took a long time to push through ADB, about an hour and a half, just be prepared to wait a bit. Good luck!
KingofPineCones said:
The encryption unsuccessful error was mentioned in the original TWRP form, you're just supposed to tap cancel and ignore it. It seems to happen every time you boot into TWRP. As for the .IMG files, I forgot where I got these but as soon as I find the post I'll be sure to give the creator credit. These worked perfectly for my H918.
Link to .zip file with the .img file-
https://drive.google.com/file/d/0B53iMlcsyyiKenAtT2k5STl0Umc/view?usp=drivesdk
(On mobile app or else I would've embedded it)
Boot into TWRP and push them through ADB into your device, then flash with TWRP. Make sure to flash system and recovery together, THEN REBOOT. If you flash system or recovery apart then reboot it might not work. I pushed them to /data/ and it worked for me. system.img is about 4GB if I remember correctly, so that one took a long time to push through ADB, about an hour and a half, just be prepared to wait a bit. Good luck!
Click to expand...
Click to collapse
Thanks I appreciate the response, I was able to get my phone up and running by flashing a deodexed rom.
What are the commands to flash the stock system, boot image and recovery through fastboot? Is that what you used?
KingofPineCones said:
The encryption unsuccessful error was mentioned in the original TWRP form, you're just supposed to tap cancel and ignore it. It seems to happen every time you boot into TWRP. As for the .IMG files, I forgot where I got these but as soon as I find the post I'll be sure to give the creator credit. These worked perfectly for my H918.
Link to .zip file with the .img file-
https://drive.google.com/file/d/0B53iMlcsyyiKenAtT2k5STl0Umc/view?usp=drivesdk
(On mobile app or else I would've embedded it)
Boot into TWRP and push them through ADB into your device, then flash with TWRP. Make sure to flash system and recovery together, THEN REBOOT. If you flash system or recovery apart then reboot it might not work. I pushed them to /data/ and it worked for me. system.img is about 4GB if I remember correctly, so that one took a long time to push through ADB, about an hour and a half, just be prepared to wait a bit. Good luck!
Click to expand...
Click to collapse
So I downloaded this file you have in the reply... How can I flash the files in the zip through Fastboot? This currently is the only thing I can boot into to modify the system. The phone boots fine, but I cannot use ADB because it won't authorize the device. I have repeatedly tried killing the ADB server and restarting it, changed the USB ports to no avail... At this point, I cannot boot into TWRP even though it should be operational still.
andrewjt19 said:
So I downloaded this file you have in the reply... How can I flash the files in the zip through Fastboot? This currently is the only thing I can boot into to modify the system. The phone boots fine, but I cannot use ADB because it won't authorize the device. I have repeatedly tried killing the ADB server and restarting it, changed the USB ports to no avail... At this point, I cannot boot into TWRP even though it should be operational still.
Click to expand...
Click to collapse
Which TWRP version do you have? Is it RC8 or above? If its not then you are stuck until the TOT files can be used in LG UP or if we get a KDZ (Havent checked recently if a KDZ is available).
If you do there is a fail safe in TWRP (RC8 and above) that you boot to the LG factory reset and go through with it, TWRP does not execute the command and just boots to TWRP.
DarkestSpawn said:
Which TWRP version do you have? Is it RC8 or above? If its not then you are stuck until the TOT files can be used in LG UP or if we get a KDZ (Havent checked recently if a KDZ is available).
If you do there is a fail safe in TWRP (RC8 and above) that you boot to the LG factory reset and go through with it, TWRP does not execute the command and just boots to TWRP.
Click to expand...
Click to collapse
I'm running the latest version of TWRP not the RC8.
andrewjt19 said:
I'm running the latest version of TWRP not the RC8.
Click to expand...
Click to collapse
ONLY USE THIS METHOD IF YOU HAVE TWRP RC8 OR ABOVE INSTALLED!!!!! OTHERWISE YOU WILL ACTUALLY FACTORY RESET YOUR DEVICE!!!!!
While the device is powered off, press and hold Vol - and Power button. When you see the LG logo quickly release only the power button and re-press and hold the power button (Never let go of the Vol - button) This will boot you into the LG Factory reset screen. ONLY USE THIS METHOD IF YOU HAVE TWRP RC8 OR ABOVE INSTALLED!!!!! OTHERWISE YOU WILL ACTUALLY FACTORY RESET YOUR DEVICE!!!!! Choose yes to both options and you will be rebooted into TWRP. TWRP intercepts this command and ignores the factory reset part.
Will definitely give a shot. Thanks. I'll report back when I get to do it...
what are commands to flash the sys files

How to flash TWRP and Root Moto X Style on Marshmallow

I am using moto x style and unlocked bootloader with 'Windroid Universal Android Toolkit' v2.5 but cannot flash TWRP and root this apl. Today I tried flash TWRP and then root but after showing 'Congratulation' pop up,my phone stucked on 'No command' page. I tried twice and same result. Later i check there is either no TWRP or root by SuperSU. And i see youtube video and and read many XDA forum and comments and most of the users says the phone stuck on M logo page when reboot after the root process. And all says its a issue with Marshmallow. And most of the xda posts and youtube video are made during 5.1.1 so there is no problem in that video during flash TWRP and root. So i need a seamless process to flash TWRP and root on Marshmallow so that it doesnot stuck on M logo. And I dont want to downgrade to L for root. And unluckily if it stuck M logo thwn what to do to go back to home screen?Thank you.
http://forum.xda-developers.com/moto-x-style/general/guide-how-to-root-pure-style-t3503958
Look in my sig...
It's in my signature... There are multiple links to what your looking for and other threads, if you are on computer they should be immediately below the message, if you're in the XDA app you have to look in the user profile (don't think it's possible in Tapatalk though).
http://forum.xda-developers.com/moto-x-style/general/guide-how-to-root-pure-style-t3503958
acejavelin said:
It's in my signature... There are multiple links to what your looking for and other threads, if you are on computer they should be immediately below the message, if you're in the XDA app you have to look in the user profile (don't think it's possible in Tapatalk though).
http://forum.xda-developers.com/moto-x-style/general/guide-how-to-root-pure-style-t3503958
Click to expand...
Click to collapse
My build no is 24.49-18-4. So is this process suitable for this build no? And still i dont flash TWRP. I tried with "Windroid Universal Android Toolkit app" to flash TWRP. though it showed a 'Successful' pop up but it didn't. Can I go with any old process to flash TWRP or u have a new process?
Atanu Mukherjee said:
My build no is 24.49-18-4. So is this process suitable for this build no? And still i dont flash TWRP. I tried with "Windroid Universal Android Toolkit app" to flash TWRP. though it showed a 'Successful' pop up but it didn't. Can I go with any old process to flash TWRP or u have a new process?
Click to expand...
Click to collapse
Step 1 - Stop using toolkits! They rarely work right on modern Android devices. With the Moto the only safe, reliable way to root is manually.
I don't know what the 'old way' is to flash TWRP your referring to here... I recommend one time booting twrp with "fastboot boot twrp.img" command (replace twrp.img with your actual twrp image file) then perform a backup to the SD card or USB OTG device and put it away for safe keeping. Then flash twrp either with twrp you have booted, or manually with "fastboot flash recovery twrp.img"
The rooting method I linked before is valid for all Marshmallow builds, if you have Lollipop or Nougat you need to find a different method.
acejavelin said:
Step 1 - Stop using toolkits! They rarely work right on modern Android devices. With the Moto the only safe, reliable way to root is manually.
I don't know what the 'old way' is to flash TWRP your referring to here... I recommend one time booting twrp with "fastboot boot twrp.img" command (replace twrp.img with your actual twrp image file) then perform a backup to the SD card or USB OTG device and put it away for safe keeping. Then flash twrp either with twrp you have booted, or manually with "fastboot flash recovery twrp.img"
The rooting method I linked before is valid for all Marshmallow builds, if you have Lollipop or Nougat you need to find a different method.
Click to expand...
Click to collapse
On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type:
adb reboot bootloader
You should now be in fastboot mode.
Download the correct image file and copy the file into the same folder as your adb and fastboot binaries. Rename the image to twrp.img and type:
fastboot flash recovery twrp.img
fastboot reboot
Note many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.
I am saying about this official method which is on twrp.me site. And after typing 'fastboot reboot' what I have to do to go home page? Sorry to ask u so many things. Actually I am totally new in this thing and very much worry after facing issues 2-3 times. And thank u very much for fast reply.
One more ques, I have unlocked bootloader with that "Windroid Universal Android Toolkit". Now in fastboot it shows 'bootloader unlocked,code 3' is that ok? As u say toolkit doesnot work on modern devices.
Atanu Mukherjee said:
On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type:
adb reboot bootloader
You should now be in fastboot mode.
Download the correct image file and copy the file into the same folder as your adb and fastboot binaries. Rename the image to twrp.img and type:
fastboot flash recovery twrp.img
fastboot reboot
Note many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.
I am saying about this official method which is on twrp.me site. And after typing 'fastboot reboot' what I have to do to go home page? Sorry to ask u so many things. Actually I am totally new in this thing and very much worry after facing issues 2-3 times. And thank u very much for fast reply.
One more ques, I have unlocked bootloader with that "Windroid Universal Android Toolkit". Now in fastboot it shows 'bootloader unlocked,code 3' is that ok? As u say toolkit doesnot work on modern devices.
Click to expand...
Click to collapse
So Moto is a tad different... After you flash recovery, do not reboot with fastboot, instead use the Vol Dn key select Recovery and press Power to start it. When the splash screen comes up, allow changes to system, then I the TWRP main menu select Reboot - Recovery, the device will start TWRP again and it should be "locked" in. From there perform the rooting.
acejavelin said:
So Moto is a tad different... After you flash recovery, do not reboot with fastboot, instead use the Vol Dn key select Recovery and press Power to start it. When the splash screen comes up, allow changes to system, then I the TWRP main menu select Reboot - Recovery, the device will start TWRP again and it should be "locked" in. From there perform the rooting.
Click to expand...
Click to collapse
That mean after typing fastboot flash recovery twrp.img press enter and then i can plug off the usb keeping my device on fastboot then changes to recovery and do the rest?
Btw suppose if i dont want to root it at that time,then what i do? I mean just after flash recovery how to go to home screen without rooting?
And when i want to perform root process later,after installing SuperSU zip if I press power button and vol down then may I go to twrp recovery or ph stock recovery?
Atanu Mukherjee said:
That mean after typing fastboot flash recovery twrp.img press enter and then i can plug off the usb keeping my device on fastboot then changes to recovery and do the rest?
Btw suppose if i dont want to root it at that time,then what i do? I mean just after flash recovery how to go to home screen without rooting?
And when i want to perform root process later,after installing SuperSU zip if I press power button and vol down then may I go to twrp recovery or ph stock recovery?
Click to expand...
Click to collapse
OK... I'm confused, why are you unlocking and installing twrp if your not going root or flash a custom ROM?
acejavelin said:
OK... I'm confused, why are you unlocking and installing twrp if your not going root or flash a custom ROM?
Click to expand...
Click to collapse
I will definately do so. I also want to use CM14.1 but i want to do so step by step. Actually after facing issues 2-3 times i am little bit worry now. That is true. So hesitate to perform both at a single time.
Atanu Mukherjee said:
I will definately do so. I also want to use CM14.1 but i want to do so step by step. Actually after facing issues 2-3 times i am little bit worry now. That is true. So hesitate to perform both at a single time.
Click to expand...
Click to collapse
You don't need to root if your going CM, flash TWRP, backup, and flash CM. You don't need to over complicate it.
If you boot (not flash) TWRP and backup then get a copy to safe place there is little risk of anything going wrong.
acejavelin said:
You don't need to root if your going CM, flash TWRP, backup, and flash CM. You don't need to over complicate it.
If you boot (not flash) TWRP and backup then get a copy to safe place there is little risk of anything going wrong.
Click to expand...
Click to collapse
Ok. But is there any regular chance of going wrong during flash TWRP or flash CM? I backed up all internal important data to external sd card and when I perform these process I just remove that sd from phone.
You pls tell me how to go to home screen after flashing TWRP?
And if I need to root it later then also what to do then? I mean if then I press power and vol minus then will I get TWRP recovery to root it or it will be redirectred to phone custom recovery?
Atanu Mukherjee said:
Ok. But is there any regular chance of going wrong during flash TWRP or flash CM? I backed up all internal important data to external sd card and when I perform these process I just remove that sd from phone.
You pls tell me how to go to home screen after flashing TWRP?
And if I need to root it later then also what to do then? I mean if then I press power and vol minus then will I get TWRP recovery to root it or it will be redirectred to phone custom recovery?
Click to expand...
Click to collapse
There is always a chance of something going wrong, no one can guarantee everything will be fine. We have had people do everything perfectly but something happens and it's bricked... It's rare but does happen.
After you flash TWRP in the bootloader, press Vol Dn until it says Recovery and press power to start it, after several seconds you will get a screen that will ask if it can write to system, select yes, the next screen will be the TWRP home screen.
Once you flash TWRP, your stock recovery is gone, but you access it the same way... Power off, press and hold PWR+Vol Dn and in the bootloader menu select Recovery and press power.
acejavelin said:
There is always a chance of something going wrong, no one can guarantee everything will be fine. We have had people do everything perfectly but something happens and it's bricked... It's rare but does happen.
After you flash TWRP in the bootloader, press Vol Dn until it says Recovery and press power to start it, after several seconds you will get a screen that will ask if it can write to system, select yes, the next screen will be the TWRP home screen.
Once you flash TWRP, your stock recovery is gone, but you access it the same way... Power off, press and hold PWR+Vol Dn and in the bootloader menu select Recovery and press power.
Click to expand...
Click to collapse
Thank you very much for your kind guidance and quick reply. I will perform this may be tomorrow and then inform you. If it is bricked or stucked in any stage/page then is there any instant process to go back to safety?
acejavelin said:
There is always a chance of something going wrong, no one can guarantee everything will be fine. We have had people do everything perfectly but something happens and it's bricked... It's rare but does happen.
After you flash TWRP in the bootloader, press Vol Dn until it says Recovery and press power to start it, after several seconds you will get a screen that will ask if it can write to system, select yes, the next screen will be the TWRP home screen.
Once you flash TWRP, your stock recovery is gone, but you access it the same way... Power off, press and hold PWR+Vol Dn and in the bootloader menu select Recovery and press power.
Click to expand...
Click to collapse
I am listing here only the commands,u just tell me is this ok?
adb devices
adb reboot bootloader
fastboot devices
fastboot flash recovery twrp.img
fastboot boot twrp.img
Will these commands directly take me to twrp page?
And here I put a pic of the twrp page. If I dont want to root it then what to do? Click reboot option or anything else to do?
Atanu Mukherjee said:
I am listing here only the commands,u just tell me is this ok?
adb devices
adb reboot bootloader
fastboot devices
fastboot flash recovery twrp.img
fastboot boot twrp.img
Will these commands directly take me to twrp page?
And here I put a pic of the twrp page. If I dont want to root it then what to do? Click reboot option or anything else to do?
Click to expand...
Click to collapse
Your last two are redundant, either flash or boot, you don't have to do both, but each has a purpose... Flash is permanent, boot is transient and will disappear on a reboot.
Boot TWRP first, the first time it will not take you to the main page initially but show you a notification page asking if you want allow it to make changes to the system or keep it read-only, this time only do not allow changes... Then the main screen of TWRP will be displayed and you should do a full backup of all partitions to the SD card.
Flash will just write the recovery partition, it doesn't start anything, you select recovery from the fastboot menu to start it.
acejavelin said:
Your last two are redundant, either flash or boot, you don't have to do both, but each has a purpose... Flash is permanent, boot is transient and will disappear on a reboot.
Boot TWRP first, the first time it will not take you to the main page initially but show you a notification page asking if you want allow it to make changes to the system or keep it read-only, this time only do not allow changes... Then the main screen of TWRP will be displayed and you should do a full backup of all partitions to the SD card.
Flash will just write the recovery partition, it doesn't start anything, you select recovery from the fastboot menu to start it.
Click to expand...
Click to collapse
So after "fastboot boot twrp.img" i have to allow to make changes and have to do a nandroid backup. After that will I get option to "Reboot?"
And later when I went to recovery I will get twrp page instead of stock recovery? 1st I think I should flash cm13 then root then upgrade to 14.1 bcz still a feel little worry to root it on stock rom.
Atanu Mukherjee said:
So after "fastboot boot twrp.img" i have to allow to make changes and have to do a nandroid backup. After that will I get option to "Reboot?"
And later when I went to recovery I will get twrp page instead of stock recovery? 1st I think I should flash cm13 then root then upgrade to 14.1 bcz still a feel little worry to root it on stock rom.
Click to expand...
Click to collapse
No, almost every part of what your saying is wrong...
Boot twrp and do not allow changes first time and backup. This will give a clean backup to restore from if things go badly.
After this is complete, in TWRP go to Reboot menu and select Bootloader, flash TWRP, do not reboot but use the bootloader menu to start TWRP. This time allow it to make changes to system. At the main menu if twrp go to Reboot - Recovery the device will restart and TWRP will load automatically, this step will lock in twrp so the stock OS doesn't replace it.
You only need to root stock rom, you don't need to root CM roms as they are already rooted (there are a few roms that are not pre-rooted but they are rare and none of the ones your talking about). As far as CM 13 vs 14.1 I can't really help you but from I've read both are stable enough for a daily driver device.
acejavelin said:
No, almost every part of what your saying is wrong...
Boot twrp and do not allow changes first time and backup. This will give a clean backup to restore from if things go badly.
After this is complete, in TWRP go to Reboot menu and select Bootloader, flash TWRP, do not reboot but use the bootloader menu to start TWRP. This time allow it to make changes to system. At the main menu if twrp go to Reboot - Recovery the device will restart and TWRP will load automatically, this step will lock in twrp so the stock OS doesn't replace it.
You only need to root stock rom, you don't need to root CM roms as they are already rooted (there are a few roms that are not pre-rooted but they are rare and none of the ones your talking about). As far as CM 13 vs 14.1 I can't really help you but from I've read both are stable enough for a daily driver device.
Click to expand...
Click to collapse
After typing 'fastboot flash recovery twrp.img' i switch to recovery and select it. But it shows recovery failed,bla bla in red colour. I tried 3 times but same result. What to do? now again when I go to the recovery,i see still it is the stock recovery.

Stuck in Bootloader with Magisk, Boots Correctly Without Magisk

Phone: A6010
OOS: 9.0.17
TWRP: twrp-3.2.3-x_blu_spark_v9.91_op6
Magisk: Magisk-v19.3
PC OS: Manjaro Linux with Android SDK tools
Hello folks. This issue started happening last night. I rebooted the phone (hold down Power button, hit Restart), but when it rebooted, it stayed on the "bootloader unlocked" warning screen for a long time, and would then enter the bootloader. This has never happened before, even after the latest OTA update to 9.0.17 (after which the phone was successfully re-rooted following these instructions.)
If "Power Off" was selected, the screen would turn off without the corresponding buzz from the internal vibrator to show that the phone was powered down. Instead, it would reboot into Fastboot mode and then into the bootloader.
I've tried the following steps to troubleshoot:
1. fastboot boot twrp-3.2.3-x_blu_spark_v9.91_op6.img
adb sideload twrp-3.2.3-x_blu_spark_v9.91_op6.zip and reboot into recovery
adb sideload Magisk-v19.3.zip
Result: stuck at "bootloader unlocked" warning screen & enters bootloader
2. Tried the same steps in #1 but with Magisk v19.4 and 20.0. Same result.
3. Same steps in #1 but flashed Magisk-uninstaller-20191011.zip as the final step. Result, phone boots up correctly but without root.
4. Rebooted into bootloader
fastboot boot twrp-3.3.1-8-fajita.img
copied the same file to phone & Advanced -> Install Recovery Ramdisk -> twrp-3.3.1-8-fajita.img
reboot into Recovery & adb sideload Magisk-v19.4.zip
Same result as before, stuck at warning screen and then into bootloader.
5. Re-did #3 i.e. back to twrp-3.2.3-x_blu_spark_v9.91_op6 and uninstalled Magisk. Phone once again boots up correctly but without root. This is where I am now.
The phone can successfully boot to Recovery from Bootloader. I also tried to power down the phone from Recovery mode, which it did correctly (with corresponding vibrator buzz), but when powered back on would go back to "warning screen"/bootloader issue when Magisk was still installed.
Without Magisk, the phone powers down correctly, boots up correctly, and reboots correctly albeit all without root.
At this point, i've no idea what's going on or how to proceed further. There are some threads discussing MsmDownloadTool but the latest version available is for 9.0.16 in this thread, which i think can't be used for 9.0.17.
Suggestions on how to proceed would be most appreciated. Thank you in advance for your time.
SkyLukewalker said:
Phone: A6010
OOS: 9.0.17
TWRP: twrp-3.2.3-x_blu_spark_v9.91_op6
Magisk: Magisk-v19.3
PC OS: Manjaro Linux with Android SDK tools
Hello folks. This issue started happening last night. I rebooted the phone (hold down Power button, hit Restart), but when it rebooted, it stayed on the "bootloader unlocked" warning screen for a long time, and would then enter the bootloader. This has never happened before, even after the latest OTA update to 9.0.17 (after which the phone was successfully re-rooted following these instructions.)
If "Power Off" was selected, the screen would turn off without the corresponding buzz from the internal vibrator to show that the phone was powered down. Instead, it would reboot into Fastboot mode and then into the bootloader.
I've tried the following steps to troubleshoot:
1. fastboot boot twrp-3.2.3-x_blu_spark_v9.91_op6.img
adb sideload twrp-3.2.3-x_blu_spark_v9.91_op6.zip and reboot into recovery
adb sideload Magisk-v19.3.zip
Result: stuck at "bootloader unlocked" warning screen & enters bootloader
2. Tried the same steps in #1 but with Magisk v19.4 and 20.0. Same result.
3. Same steps in #1 but flashed Magisk-uninstaller-20191011.zip as the final step. Result, phone boots up correctly but without root.
4. Rebooted into bootloader
fastboot boot twrp-3.3.1-8-fajita.img
copied the same file to phone & Advanced -> Install Recovery Ramdisk -> twrp-3.3.1-8-fajita.img
reboot into Recovery & adb sideload Magisk-v19.4.zip
Same result as before, stuck at warning screen and then into bootloader.
5. Re-did #3 i.e. back to twrp-3.2.3-x_blu_spark_v9.91_op6 and uninstalled Magisk. Phone once again boots up correctly but without root. This is where I am now.
The phone can successfully boot to Recovery from Bootloader. I also tried to power down the phone from Recovery mode, which it did correctly (with corresponding vibrator buzz), but when powered back on would go back to "warning screen"/bootloader issue when Magisk was still installed.
Without Magisk, the phone powers down correctly, boots up correctly, and reboots correctly albeit all without root.
At this point, i've no idea what's going on or how to proceed further. There are some threads discussing MsmDownloadTool but the latest version available is for 9.0.16 in this thread, which i think can't be used for 9.0.17.
Suggestions on how to proceed would be most appreciated. Thank you in advance for your time.
Click to expand...
Click to collapse
MSM is your way to go. It will downgrade your phone to 9.0.17 and lock your Bootloader. After that you can unlock it and take the OTA Again. You will lose all your Data. Another thing you can try is to Format Data in TWRP. That will also cause you to loose all your Data but you might be able to boot up with Root.
Mannan Qamar said:
MSM is your way to go. It will downgrade your phone to 9.0.17 and lock your Bootloader. After that you can unlock it and take the OTA Again. You will lose all your Data. Another thing you can try is to Format Data in TWRP. That will also cause you to loose all your Data but you might be able to boot up with Root.
Click to expand...
Click to collapse
Thank you for the reply.
At this point, I'm kinda resigned to losing all data, so i did a backup this morning. However, I need my phone to be functional over this weekend, and will do as you have suggested on Monday after another backup.
Will start with the Format Data in TWRP method first, since i'm running Linux and have to setup a VM with USB passthrough to run Win7 and Msm.
Just to confirm, since i'm already running 9.0.17, is it okay simply to use MsmDownloadTool v4.0.59 if it comes to that? Thanks in advance.
On a sidenote, since data loss is inevitable, once it's confirmed that the phone boots up correctly with root and stock OOS, it may just be worth moving to LOS16 thereafter.
Mannan Qamar said:
MSM is your way to go. It will downgrade your phone to 9.0.17 and lock your Bootloader. After that you can unlock it and take the OTA Again. You will lose all your Data. Another thing you can try is to Format Data in TWRP. That will also cause you to loose all your Data but you might be able to boot up with Root.
Click to expand...
Click to collapse
I had time today, and tried Format Data. Didn't work. Installing Magisk landed the phone in the same error screen.
So the Win7 VM was fired up and the instructions for Msm were followed. The phone is recognized and the drivers were successfully installed, showing up as Qualcomm HS-USB QDLoader 9008 (COM3)
However, when MsmDownloadTool V4.0.59 -- 9.0.16 was launched and Start was pressed, the operation times out with the message "Sahara Communication Failed. Please try again after power off phone."
This is despite powering off using the normal method within OOS itself, or powering off from within TWRP.
Not sure how to proceed. Please help?
SkyLukewalker said:
I had time today, and tried Format Data. Didn't work. Installing Magisk landed the phone in the same error screen.
So the Win7 VM was fired up and the instructions for Msm were followed. The phone is recognized and the drivers were successfully installed, showing up as Qualcomm HS-USB QDLoader 9008 (COM3)
However, when MsmDownloadTool V4.0.59 -- 9.0.16 was launched and Start was pressed, the operation times out with the message "Sahara Communication Failed. Please try again after power off phone."
This is despite powering off using the normal method within OOS itself, or powering off from within TWRP.
Not sure how to proceed. Please help?
Click to expand...
Click to collapse
Could be an issue with the VM. I'd also try to change USB Port or try another Cable.
SkyLukewalker said:
Phone: A6010
OOS: 9.0.17
TWRP: twrp-3.2.3-x_blu_spark_v9.91_op6
Magisk: Magisk-v19.3
PC OS: Manjaro Linux with Android SDK tools
Hello folks. This issue started happening last night. I rebooted the phone (hold down Power button, hit Restart), but when it rebooted, it stayed on the "bootloader unlocked" warning screen for a long time, and would then enter the bootloader. This has never happened before, even after the latest OTA update to 9.0.17 (after which the phone was successfully re-rooted following these instructions.)
If "Power Off" was selected, the screen would turn off without the corresponding buzz from the internal vibrator to show that the phone was powered down. Instead, it would reboot into Fastboot mode and then into the bootloader.
I've tried the following steps to troubleshoot:
1. fastboot boot twrp-3.2.3-x_blu_spark_v9.91_op6.img
adb sideload twrp-3.2.3-x_blu_spark_v9.91_op6.zip and reboot into recovery
adb sideload Magisk-v19.3.zip
Result: stuck at "bootloader unlocked" warning screen & enters bootloader
2. Tried the same steps in #1 but with Magisk v19.4 and 20.0. Same result.
3. Same steps in #1 but flashed Magisk-uninstaller-20191011.zip as the final step. Result, phone boots up correctly but without root.
4. Rebooted into bootloader
fastboot boot twrp-3.3.1-8-fajita.img
copied the same file to phone & Advanced -> Install Recovery Ramdisk -> twrp-3.3.1-8-fajita.img
reboot into Recovery & adb sideload Magisk-v19.4.zip
Same result as before, stuck at warning screen and then into bootloader.
5. Re-did #3 i.e. back to twrp-3.2.3-x_blu_spark_v9.91_op6 and uninstalled Magisk. Phone once again boots up correctly but without root. This is where I am now.
The phone can successfully boot to Recovery from Bootloader. I also tried to power down the phone from Recovery mode, which it did correctly (with corresponding vibrator buzz), but when powered back on would go back to "warning screen"/bootloader issue when Magisk was still installed.
Without Magisk, the phone powers down correctly, boots up correctly, and reboots correctly albeit all without root.
At this point, i've no idea what's going on or how to proceed further. There are some threads discussing MsmDownloadTool but the latest version available is for 9.0.16 in this thread, which i think can't be used for 9.0.17.
Suggestions on how to proceed would be most appreciated. Thank you in advance for your time.
Click to expand...
Click to collapse
Why are you using TWRP from OP6 so old too? Here for OP6T there is newer https://github.com/engstk/android_device_oneplus_fajita/releases/tag/v9.101
elSkelet said:
Why are you using TWRP from OP6 so old too? Here for OP6T there is newer https://github.com/engstk/android_device_oneplus_fajita/releases/tag/v9.101
Click to expand...
Click to collapse
I have updated to the latest TWRP as you have mentioned. The issue still persists when Magisk is installed. Once again, Magisk had to be uninstalled before the phone would boot up properly.
Mannan Qamar said:
Could be an issue with the VM. I'd also try to change USB Port or try another Cable.
Click to expand...
Click to collapse
I tried with 2 different USB ports today. Tomorrow i will reboot the VM, remove the driver, let it re-discover and install the driver from MS (i installed a pre-downloaded driver today) and try again. The cable is the original one that came with the phone, and another one will need to be purchased if the efforts fail. Hopefully it is just the VM acting funny.
SkyLukewalker said:
I have updated to the latest TWRP as you have mentioned. The issue still persists when Magisk is installed. Once again, Magisk had to be uninstalled before the phone would boot up properly.
I tried with 2 different USB ports today. Tomorrow i will reboot the VM, remove the driver, let it re-discover and install the driver from MS (i installed a pre-downloaded driver today) and try again. The cable is the original one that came with the phone, and another one will need to be purchased if the efforts fail. Hopefully it is just the VM acting funny.
Click to expand...
Click to collapse
No that won't be necessary. As the drivers can't be downloaded from MS. Is your phone able to reboot to Recovery? i.e. do you have TWRP Installed? If so, then flash Latest OOS ZIP and TWRP Installer, Reboot and repeat the two above steps. After that Format Data and Reboot. This should allow you to boot up. After that, proceed to root as you normally would. Also, I'd look into getting a Windows Laptop if it doesn't work. As MSM is known to have issues with VM.
Mannan Qamar said:
No that won't be necessary. As the drivers can't be downloaded from MS. Is your phone able to reboot to Recovery? i.e. do you have TWRP Installed? If so, then flash Latest OOS ZIP and TWRP Installer, Reboot and repeat the two above steps. After that Format Data and Reboot. This should allow you to boot up. After that, proceed to root as you normally would. Also, I'd look into getting a Windows Laptop if it doesn't work. As MSM is known to have issues with VM.
Click to expand...
Click to collapse
Yes, i have twrp-3.3.1-x_blu_spark_v9.101_op6t currently installed without Magisk. Will do as you have said tomorrow, since i have also downloaded the full 9.0.17 OOS zip file.
Since budget is very tight at the moment, i will look into borrowing a Windows PC/laptop for awhile to use Msm if the other methods don't work.
SkyLukewalker said:
Yes, i have twrp-3.3.1-x_blu_spark_v9.101_op6t currently installed without Magisk. Will do as you have said tomorrow, since i have also downloaded the full 9.0.17 OOS zip file.
Since budget is very tight at the moment, i will look into borrowing a Windows PC/laptop for awhile to use Msm if the other methods don't work.
Click to expand...
Click to collapse
Wait, wouldn't flashing back to 9.0.17 lock your bootloader? Then you can't enable OEM unlocking, which means you can't unlock the bootloader. You would need to flash MSM 9.0.11 to enable OEM unlocking, then unlock the bootloader before proceeding further. I'm no expert, just thought I'd mention it. Best of luck!!
Sent from my ONEPLUS A6013 using Tapatalk
xRogerxC said:
Wait, wouldn't flashing back to 9.0.17 lock your bootloader? Then you can't enable OEM unlocking, which means you can't unlock the bootloader. You would need to flash MSM 9.0.11 to enable OEM unlocking, then unlock the bootloader before proceeding further. I'm no expert, just thought I'd mention it. Best of luck!!
Sent from my ONEPLUS A6013 using Tapatalk
Click to expand...
Click to collapse
Didn't seem to be an issue, worked correctly and the bootloader remained unlocked.
Mannan Qamar said:
... Is your phone able to reboot to Recovery? i.e. do you have TWRP Installed? If so, then flash Latest OOS ZIP and TWRP Installer, Reboot and repeat the two above steps. After that Format Data and Reboot. This should allow you to boot up. After that, proceed to root as you normally would. ...
Click to expand...
Click to collapse
This worked, and now the phone is booted up into the system WITH Magisk 19.4 installed. Thank you very much! I didn't have to use Msm.
The steps for anyone else facing the same issue that i did:
Reboot into Recovery. This can be done via long-press power button in System and pressing Recovery if TWRP is already installed, or adb reboot bootloader to reboot into the bootloader, and fastboot boot recoveryImage_Filename.img (in my case, it was twrp-3.3.1-x_blu_spark_v9.101_op6t.img)
Enter password/pattern to unlock
Advanced -> ADB Sideload -> adb sideload OOSimage_Filename.zip (in my case, it was OnePlus6TOxygen_34_OTA_024_all_1909112343_d5b1905.zip)
Back
ADB Sideload -> adb sideload TWRPzipFile_Filename.zip (in my case, it was twrp-3.3.1-x_blu_spark_v9.101_op6t.zip)
Back -> Back Arrow
Reboot -> Recovery, and wait for phone to reboot into Recovery
Enter password/pattern to unlock
Advanced -> ADB Sideload -> adb sideload OOSimage_Filename.zip
Back
ADB Sideload -> adb sideload TWRPzipFile_Filename.zip
Back -> Back Arrow
Wipe -> Format Data -> type "yes" and click the blue tick "Enter" key on keyboard.
Back Arrow to Main Screen -> Reboot -> Recovery, and wait for phone to reboot into Recovery
Enter password/pattern to unlock
Advanced -> ADB Sideload -> adb sideload MagiskInstaller.zip (in my case, it was Magisk-v19.4.zip)
Back -> Back Arrow
Reboot -> Power Off to completely power down.
Long-press power button to boot the phone. The issue of being stuck at the bootloader unlocked warning screen was gone. The phone booted into System with Magisk Root installed and working.
Later today, I will install LOS16 with Magisk and report back on how that went. Once again, much gratitude and appreciation to Mannan Qamar for the solution!
SkyLukewalker said:
Didn't seem to be an issue, worked correctly and the bootloader remained unlocked.
This worked, and now the phone is booted up into the system WITH Magisk 19.4 installed. Thank you very much! I didn't have to use Msm.
The steps for anyone else facing the same issue that i did:
Reboot into Recovery. This can be done via long-press power button in System and pressing Recovery if TWRP is already installed, or adb reboot bootloader to reboot into the bootloader, and fastboot boot recoveryImage_Filename.img (in my case, it was twrp-3.3.1-x_blu_spark_v9.101_op6t.img)
Enter password/pattern to unlock
Advanced -> ADB Sideload -> adb sideload OOSimage_Filename.zip (in my case, it was OnePlus6TOxygen_34_OTA_024_all_1909112343_d5b1905.zip)
Back
ADB Sideload -> adb sideload TWRPzipFile_Filename.zip (in my case, it was twrp-3.3.1-x_blu_spark_v9.101_op6t.zip)
Back -> Back Arrow
Reboot -> Recovery, and wait for phone to reboot into Recovery
Enter password/pattern to unlock
Advanced -> ADB Sideload -> adb sideload OOSimage_Filename.zip
Back
ADB Sideload -> adb sideload TWRPzipFile_Filename.zip
Back -> Back Arrow
Wipe -> Format Data -> type "yes" and click the blue tick "Enter" key on keyboard.
Back Arrow to Main Screen -> Reboot -> Recovery, and wait for phone to reboot into Recovery
Enter password/pattern to unlock
Advanced -> ADB Sideload -> adb sideload MagiskInstaller.zip (in my case, it was Magisk-v19.4.zip)
Back -> Back Arrow
Reboot -> Power Off to completely power down.
Long-press power button to boot the phone. The issue of being stuck at the bootloader unlocked warning screen was gone. The phone booted into System with Magisk Root installed and working.
Later today, I will install LOS16 with Magisk and report back on how that went. Once again, much gratitude and appreciation to Mannan Qamar for the solution!
Click to expand...
Click to collapse
Glad to know it worked. MSM should be a last resort but most people use it as a first option to Nuke their phone. And if you want help on installing ROMs, don't hesitate to ask.
Mannan Qamar said:
Glad to know it worked. MSM should be a last resort but most people use it as a first option to Nuke their phone. And if you want help on installing ROMs, don't hesitate to ask.
Click to expand...
Click to collapse
LOS16 was installed successfully with Magisk and i spent nearly 7 hours setting up the phone since opbackup could not be seen by OnePlus Switch, and i had to do everything manually.
Suddenly the screen started flashing all sorts of colours. I rebooted, and the same problem came back, i.e. stuck at the warning screen.
So, i used the instructions you provided and got OOS 9.0.17 booted back up with Magisk 19.4. However, when i try to connect to the phone via USB, even with debugging enabled, the internal storage cannot be read. Says "enable MTP." This is also happening in TWRP even after disabling and re-enabling MTP.
How do i get the phone to see the internal storage again? Please help.
SkyLukewalker said:
LOS16 was installed successfully with Magisk and i spent nearly 7 hours setting up the phone since opbackup could not be seen by OnePlus Switch, and i had to do everything manually.
Suddenly the screen started flashing all sorts of colours. I rebooted, and the same problem came back, i.e. stuck at the warning screen.
So, i used the instructions you provided and got OOS 9.0.17 booted back up with Magisk 19.4. However, when i try to connect to the phone via USB, even with debugging enabled, the internal storage cannot be read. Says "enable MTP." This is also happening in TWRP even after disabling and re-enabling MTP.
How do i get the phone to see the internal storage again? Please help.
Click to expand...
Click to collapse
Format Data in TWRP. For some weird reason, Internal Storage gets messed up after flashing OOS. And the screen issue might have been a Magisk Module or some other error. Maybe an issue with the ROM. I'd certainly try another ROM
Mannan Qamar said:
Format Data in TWRP. For some weird reason, Internal Storage gets messed up after flashing OOS. And the screen issue might have been a Magisk Module or some other error. Maybe an issue with the ROM. I'd certainly try another ROM
Click to expand...
Click to collapse
I'm going to do the whole process all over again, just to be sure, and try to copy the necessary files over to internal storage before flashing Magisk. Will update once the process gets there. I'm going back to rooted OOS for now because nearly 7 hours of setup is not fun in the least for a daily driver phone.
Mannan Qamar said:
Format Data in TWRP. For some weird reason, Internal Storage gets messed up after flashing OOS. And the screen issue might have been a Magisk Module or some other error. Maybe an issue with the ROM. I'd certainly try another ROM
Click to expand...
Click to collapse
I managed to copy over the files in TWRP, with internal storage showing up as Internal Storage (A6013). However, once booted into system, it now shows up as Internal Shared Storage (A6010) with nothing in it. Using the phone's File Manager, the copied files do not show up either.
But going back to TWRP, Internal Storage shows up correctly with the copied files. Did Format Data in TWRP and rebooted into system. Still the same issue. Please help?
Edit: tried doing the same method all over again. This time, the MTP error shows up in TWRP also. Can't see anything anymore.
SkyLukewalker said:
I managed to copy over the files in TWRP, with internal storage showing up as Internal Storage (A6013). However, once booted into system, it now shows up as Internal Shared Storage (A6010) with nothing in it. Using the phone's File Manager, the copied files do not show up either.
But going back to TWRP, Internal Storage shows up correctly with the copied files. Did Format Data in TWRP and rebooted into system. Still the same issue. Please help?
Edit: tried doing the same method all over again. This time, the MTP error shows up in TWRP also. Can't see anything anymore.
Click to expand...
Click to collapse
Well. In such a case MSM is the way to go. I'd recommend using a Windows Laptop. Although as a last resort if try the Fastboot ROMs before MSM. Search OP6T Fastboot ROMs
Mannan Qamar said:
Well. In such a case MSM is the way to go. I'd recommend using a Windows Laptop. Although as a last resort if try the Fastboot ROMs before MSM. Search OP6T Fastboot ROMs
Click to expand...
Click to collapse
I found this thread and downloaded the appropriate Fastboot ROM (9.0.17). Just a couple of questions:
1. do i need to do the persist partition step?
2. where in TWRP do i have to go to do adb push and adb shell?
SkyLukewalker said:
I found this thread and downloaded the appropriate Fastboot ROM (9.0.17). Just a couple of questions:
1. do i need to do the persist partition step?
2. where in TWRP do i have to go to do adb push and adb shell?
Click to expand...
Click to collapse
Those things are not necessary. Just unzip and use the Flasher in the archive. The default one should be sufficient. The others aren't needed.
Mannan Qamar said:
Those things are not necessary. Just unzip and use the Flasher in the archive. The default one should be sufficient. The others aren't needed.
Click to expand...
Click to collapse
Hopefully it works from the VM. Otherwise i will have to do it manually from Linux terminal. Thank you for the advice. Will report tomorrow when the process is done.

How to Flash Custom Roms on your G7 River

I've seen alot of guys here who are encountering problems while flashing custom roms.Make sure you have backed up all your data before starting the procedure.
This method is also valid for those who are coming straight from the Stock rom.
Prerequisites :
•Unlocked Bootloader
•ADB and Fastboot Files
•Desired Custom Rom
•Copypartitions file
•TWRP image
•TWRP installer - Download and move it to Internal Storage
•A USB C-Type Cable and some Brain.
•Magisk [Optional]
•Fresh Gapps ARM64 (I'd recommend Mini)
Installation :
#1. Back up all your data or simply move everything to your PC.
#2.Boot your phone into Bootloader Mode [Power button + Volume Down] or Enable Debugging mode,And run this Command ''adb devices''- To ensure that the device is connected,then ''adb reboot bootloader''.
#3.Move the ''twrp.img'' file to the ''adb" folder of your PC.
#4.You'll see 3-4 files along with twrp.img file you just copied there[adb folder], Simply Click Shift+Right Click anywhere in that blank space,then click on Open Powershell Window here or Open Command Prompt Window.
#5.Attach your phone to the PC,you'll hear a sound,yet run this Command "fastboot devices" to ensure that the device is connected properly [Device ID will appear]
#6.Now you're supposed to temporarily boot TWRP in order to permanently flash the Custom Recovery.So to do this ,Run this Command while the device is connected to the PC in fastboot mode > "fastboot boot twrp.img '' [After Typing fastboot boot, simply drag twrp.img file into the PowerShell or Command prompt window to Complete the Command ''fastboot boot twrp.img'',it may look like ''fastboot boot C://adb/twrp.img''.
#7.After Booting Temporarily into TWRP,Swipe for Modifications,Locate and install TWRPinstaller.zip,this will permanently install TWRP as your Recovery.
#8.After installing TWRP,Return to the home screen of TWRP and Reboot into Recovery from there.[Permanently Flashing incase you don't need hassles with computer flashing]
#9.After booting again into TWRP,Click on Wipe>Format User Data>Type Yes>Go to Home screen Reboot into Recovery.
#10.After booting again into TWRP,Click on Wipe>Advanced Wipe> [Tick on Dalvik/Art Cache,Cache, System,Data] > Wipe it off.
#11.Go back to the Home Screen of the TWRP,Reboot into Recovery.
#12.Now Push copypartitions.zip file to your phone from your PC,then flash it via TWRP,then again,Reboot your phone to Recovery.
#13.Now Push the Desired Custom rom you would want to install on your G7 river from the PC> Install it> After the Installation Finishes,Reboot your phone to the Bootloader mode from TWRP [As the the Recovery will be replaced by the Custom Rom's Recovery,hence, TWRP will be removed].
#14.Once in the Fastboot Mode,run the command in PowerShell or CMD, "fastboot boot twrp.img"
#15.After booting again into TWRP,Push Gapps File into your phone and install it Accordingly,After the installation Finishes,Wipe Dalvik Cache,Come back to the Home screen of TWRP,Reboot > Power Off in TWRP,then manually Power it On,After powering it On,the rom may prompt you for a factory reset,that's it. You've successfully installed Custom Rom along with the Google Apps without Messing with the partitions.
#16.Now, Finally Boot your phone into Bootloader mode, run the command "fastboot boot twrp.img" and install TWRPinstaller.zip,this will again permanently install TWRP as your recovery.
#17.You may root your phone by installing Magisk or Flash any other zip without the need of temporarily booting TWRP,as you've flashed it permanently. Simply Reboot to Bootloader then Boot into Recovery.
Errors and Fixes:
#1.If you encounter any problem while flashing zips from the internal storage, simply move all the zips to the MicroSD or USB OTG and flash it from there.
#2.If your TWRP isn't reading the internal storage properly or isn't responding well,simply reboot your phone again to the Bootloader mode,again boot twrp.img and try again,this should do the thing.
#1.copy-partitions-AB.zip
#2.twrp-3.3.1-0-river.img
#3.twrp-installer-3.3.1-2-river.zip
Find these files on the internet or XDA forums as I can't Post links yet,Happy to help!
Simplify and Clarify
Thanks @deathcruizer for the your procedure. It rescued me in a jam. The critical items for me that you noted were that the Custom ROM replaced TWRP with its own Recovery and that a Factory Reset was required.
I wanted to simplify and clarify your key points for those already setup with fastboot and familiar with TWRP. Generic filenames mentioned should be replaced by the actual full name; eg, twrp-3.3.1-2-river.img.
1. Backup partitions in TWRP just in case for a restore. And Data will be needed later.
2. Move all zip files needed (ROM, Gapps, copy-partitions, twrp-installer, Magisk, etc.) to internal storage or USB OTG. Move twrp.img on PC to a convenient location for fastboot.
3. Enter fastboot boot twrp.img to temporarily use TWRP.
4. Flash copy-partitions.zip, reboot, and flash custom ROM.zip.
5. In TWRP, choose Reboot to the Bootloader mode, not Recovery. TWRP has been removed and replaced by the custom ROM's Recovery.
6. Enter fastboot boot twrp.img to temporarily use TWRP again. Install Gapps.zip, wipe caches, and then Power Off.
7. Manually Power On to the Custom ROM. Accept its Factory Data Reset option.
8. Boot into Bootloader Mode, enter fastboot boot twrp.img again, and use this temporary TWRP to install TWRP permanently using twrp-installer.zip.
9. Reboot and begin a minimum setup of the Custom ROM.
10. Reboot to TWRP and restore the Data partition.
11. G7 River is back with its apps, desktop layout, settings, icons, etc., on the new Custom ROM.
Hey guys, your tutorial is great and very informative. I do however have a recurring problem with installing any custom rom. No matter which one I choose, I have no LTE and occasionally the phone randomly reboot if I unplug my phone. Has anyone encountered this? I've followed all applicable steps for properly installing a custom rom, and am pretty use to it as I've always flashed roms on as many phones as I could. Any help or guidance would be appreciated. Thanks in advance
What model phone, to be clear?
Moto g7, xt19621. I tried to flash lineage again today to no avail. Twrp then copy. Zip. Reboot. Lineage. Wipe dalvic. Reboot. Previously tried wiping system and starting from scratch. Copy. Zip and start from scratch. Clean flash. Dirty flash. I've been able to get it to work properly maybe 2 or three times since having the phone and trying different roms. Basically always having to revert back to stock after a multitude of attempts. I've never had this much trouble flashing with a phone.
---------- Post added at 12:45 AM ---------- Previous post was at 12:27 AM ----------
Do I need to flash stock to the 9eiginal firmware or something? I tried the stock room from August 2019, and kind 9f same issues. Device kinda bugged out.
If you're going to do a full article, always be sure to check and double check your process before sharing. The A/B slots on this device CAN cause mucho mucho errors if the user is unfamiliar or does not alternate correctly (TWRP can select boot slot, yes, but doesnt always work the right way), they can end up with a bricked device. I am excited to see a full guide be posted but for other people's sake, I recommend maybe clarifying the A/B details. I, personally, have yet to find a good A/B tutorial, and how they work during installs, online but if there is one and someone wants to share the link I'd sure appreciate it! Thanks and goodluck!
---------- Post added at 02:02 AM ---------- Previous post was at 01:49 AM ----------
trentag1988 said:
Moto g7, xt19621. I tried to flash lineage again today to no avail. Twrp then copy. Zip. Reboot. Lineage. Wipe dalvic. Reboot. Previously tried wiping system and starting from scratch. Copy. Zip and start from scratch. Clean flash. Dirty flash. I've been able to get it to work properly maybe 2 or three times since having the phone and trying different roms. Basically always having to revert back to stock after a multitude of attempts. I've never had this much trouble flashing with a phone.
---------- Post added at 12:45 AM ---------- Previous post was at 12:27 AM ----------
Do I need to flash stock to the 9eiginal firmware or something? I tried the stock room from August 2019, and kind 9f same issues. Device kinda bugged out.
Click to expand...
Click to collapse
back up phone if you have third party backup application
(not absolutely necessary BUT, I always remove my security and google account before going into fastboot)
reboot to fastboot or power off phone and boot to fastboot by holding down the volume down+power
"fastboot set_active b"
"fastboot boot (drag your twrp img file from it's location to the command window) so that it reads sort of like "fastboot boot c:\path-to-twrp.img"
1. now install copy-partitions.zip
2. "Format, Advanced", type "yes" then back to TWRP main screen
3. install ROM of your choice (if installing Lineage, skip step 4)
4. install twrp-installer.zip (make sure you're using the zip format, not img)
5. "adb reboot bootloader"
"fastboot set_active a" (because when you installed the ROM, the device installed it to the inactive slot, in this instance that slot would be "a"
ADV: you may get a message indicating you're already on slot a, which is fine. 9 out of 10 times the device changes slot automatically after you reboot
post-ROM-install
6. from TWRP home choose "Advanced, ADB Sideload", check the two boxes and"adb sideload c:\path-to-gapps" (you'll need ARM64 gapps for this device)
7. IF you want magisk, from TWRP home choose "Advanced, ADB Sideload", check the two boxes and "adb sideload c:\path-to-magisk.zip"
8. "adb reboot bootloader"
9. "fastboot -w"
10. For whatever reason, magisk never stays on my device but I just install the apk and install it from the app.
Hope this doesn't annoy anyone and proves helpful.
@clinton I am definitely going to try this particular method. Setting B as active first is the one thing I have not done. I would like to point out that I am about to do fastboot boot twrp.img , however when installing the provided zip, my phone makes a weird noise on every screen tap. Like odd feedback from the speaker. If I use just lineage recovery that installs from the rom, it doesn't do that. Another thing that happens now - every lineage install goes fine until first boot. As soon as I sign on to WiFi and it tries to activate the radio, device just shuts down. Has anyone had this happen to them?
I am still experiencing the same issues. flashed back to original firmware and had no LTE. didn't resolve when flashing a custom rom. Flashed to latest stock rom and everything went through properly (LTE, no random reboot after unplugging), attempted rigmarole for flashing custom rom, same issues. x over signal bar and reboot as soon as I unplug the device. I have basically given up at this point, going to have a go at it again when stock android 10 update happens Thank you, guys, for all the help and tutorials. Big hugs, take care

Categories

Resources