OnePlus One (Lineage OS upgrade fails when the device is encrypted) - ONE Q&A, Help & Troubleshooting

Hi,
I have an Oneplus One with Lineage OS (15.1-20180716-NIGHTLY-bacon), I have encrypted the phone. Now I'm unable to mount and upgrade to 15.1-20180723-NIGHTLY-bacon. Any clue ? I use twrp 3.2.2-0.
Thanks.

same issue here it just says this os is for bacon and then says unknown command and fails

Related

Is my OP7pro bad or I did something wrong when upgrading from HOS to OOS?

Device: OP7pro purchased from China with a default HydrogenOS installed (GM21 build).
Goal: to install TWRP
======================================================================
Update 1:
Using 10.0.2GM21AA, I managed to convert the HydrogenOS to OxygenOS.
But, after "fastboot boot twrp.img", the phone still freezes at reboot with oneplus logo and "Fastboot Mode" on the screen.
I have tried:
update to 10.0.3, freeze
update to 10.3.0, freeze
rollback to OxygenOS 9.5.1GM21AA, "fastboot devices" no longer detect my cell phone.
update to 9.5.7GM21AA, "fastboot devices" detects no devices.
rollback to 9.5.1, "fastboot devices" detects no devices.
Regarding "fastboot devices" unable to detect devices:
The adb and fastboot tool has been updated to the latest version.
The phone can boot normally into OxygenOS, stock recovery, and bootloader.
adb devices would detect the phone within OxygenOS.
"fastboot devices" was able to detect my other oneplus phone in bootloader.
"sudo fastboot devices" produced no different outcome.
"dmseg" shows that my computer could recognize my other oneplus phone in bootloader as a usb devices, but does not recognize the newly connected OP7P in bootloader.
Now, I am suspecting that my bootloader was somehow broken.
Frustrating.
======================================================================
Original Post:
Steps I have taken so far:
Phase 1. fastboot oem unlock (smooth and easy)
Phase 2. Install TWRP (and fail)
I have read several guides suggesting, within bootloader, "fastboot flash boot twrp.img" or "fastboot boot twrp.img" like a breeze.
I understand that OP7pro uses AB partition, and the purpose is to boot into a temporary twrp and then to install a permenant twrp.
But for me, "fastboot flash boot twrp.img" causes infinite bootloader loop; while "fastboot boot twrp.img" causes a freeze at reboot with oneplus logo and "Fastboot Mode" on the screen.
The latter can be remedied with a reboot, while the former mandates a factory reset using the default oneplus recovery.
Phase 3. Convert HydrogenOS to OxygenOS (and still fail)
After some further studies and several nights' attempts, I noticed that Hydrogen OS implements an old version of fastboot, so fastboot boot into a temporary twrp is not supported.
Instead, I should upgrade into OxygenOS first, but I could not.
The OxygenOS was downloaded from the official site
version 10.3.0.GM57AA released on Jan 6th 2020. md5 checked. this zip file is adb push'd to /sdcard/
Others seem to breeze through the conversion from HOS to OOS without the slightest challenge.
But as soon as I select "local upgrade" from HydrogenOS default update installer and the OxygenOS zip file, I would receive an error prompt "upgrade failed" with the progression bar stopping at 0%.
This doesn't seem to be caused by the version of my HOS, so far, I have tried:
3.1 Updating HOS to the lastest version 10.0.2.GM21 released on Dec 12th 2019, and installing OOS 10.3.0.GM57AA, "upgrade failed"
3.2 With version 10.0.2.GM21, perform a system and cache wipe using the default OP recovery, and installing OOS 10.3.0.GM57AA, "upgrade failed"
3.3 With version 10.0.2.GM21, perform a system and cache wipe as well as a factory reset using the default OP recovery, and installing OOS 10.3.0.GM57AA, "upgrade failed"
3.4 With version 10.0.2.GM21, perform a full downgrade using the default HOS update installer, and installing OOS 10.3.0.GM57AA, "upgrade failed".
The downgrade rom was the official downgrade tool downloaded from:
download.h2os.com/Rollback/fulldowngrade_wipe_18821_190416_2308.zip
I feel I have exhausted all my options.
Is my device malfunctioning or I did something foundamentally wrong in the process?
Would an official North America Oneplus repair service accept this device and help me converting it to OOS?
Maybe that's a dumb idea (I'm not familiar with the process) but if you're supposed to be able to install OxygenOS straight away then maybe you could try a different version? 10.0.2 instead of 10.0.3 comes to mind
Edit: or 10.3 for that matter. I'm 10.0.3 so i don't even know what 10.3 is. That the NA version?
Anyway it just seemed like that's the one thing in the process you described that never changed and i remember there being problems with that sort of thing in the past
SharxX8 said:
Maybe that's a dumb idea (I'm not familiar with the process) but if you're supposed to be able to install OxygenOS straight away then maybe you could try a different version? 10.0.2 instead of 10.0.3 comes to mind
Edit: or 10.3 for that matter. I'm 10.0.3 so i don't even know what 10.3 is. That the NA version?
Anyway it just seemed like that's the one thing in the process you described that never changed and i remember there being problems with that sort of thing in the past
Click to expand...
Click to collapse
I believe 10.3.0 NA is released at the same time with 10.0.3 EU.
Based on what I've read so far, updating from HOS to OOS should be easily handled by the default update installer, provided that the version of OOS is not lower than HOS.
I will give 10.0.2 a shot tonight. I really hope that the hardware was not damaged through the previously rounds of flashing and factory reset.
Which TWRP version are you using?
pister said:
Which TWRP version are you using?
Click to expand...
Click to collapse
I have tested 3.3.1-0, 3.3.1-2, 3.3.1-3, and 3.3.1-4
OblixioN said:
Device: OP7pro purchased from China with a default HydrogenOS installed (GM21 build).
Goal: to install TWRP
Steps I have taken so far:
Phase 1. fastboot oem unlock (smooth and easy)
Phase 2. Install TWRP (and fail)
I have read several guides suggesting, within bootloader, "fastboot flash boot twrp.img" or "fastboot boot twrp.img" like a breeze.
I understand that OP7pro uses AB partition, and the purpose is to boot into a temporary twrp and then to install a permenant twrp.
But for me, "fastboot flash boot twrp.img" causes infinite bootloader loop; while "fastboot boot twrp.img" causes a freeze at reboot with oneplus logo and "Fastboot Mode" on the screen.
The latter can be remedied with a reboot, while the former mandates a factory reset using the default oneplus recovery.
Phase 3. Convert HydrogenOS to OxygenOS (and still fail)
After some further studies and several nights' attempts, I noticed that Hydrogen OS implements an old version of fastboot, so fastboot boot into a temporary twrp is not supported.
Instead, I should upgrade into OxygenOS first, but I could not.
The OxygenOS was downloaded from the official site
version 10.3.0.GM57AA released on Jan 6th 2020. md5 checked. this zip file is adb push'd to /sdcard/
Others seem to breeze through the conversion from HOS to OOS without the slightest challenge.
But as soon as I select "local upgrade" from HydrogenOS default update installer and the OxygenOS zip file, I would receive an error prompt "upgrade failed" with the progression bar stopping at 0%.
This doesn't seem to be caused by the version of my HOS, so far, I have tried:
3.1 Updating HOS to the lastest version 10.0.2.GM21 released on Dec 12th 2019, and installing OOS 10.3.0.GM57AA, "upgrade failed"
3.2 With version 10.0.2.GM21, perform a system and cache wipe using the default OP recovery, and installing OOS 10.3.0.GM57AA, "upgrade failed"
3.3 With version 10.0.2.GM21, perform a system and cache wipe as well as a factory reset using the default OP recovery, and installing OOS 10.3.0.GM57AA, "upgrade failed"
3.4 With version 10.0.2.GM21, perform a full downgrade using the default HOS update installer, and installing OOS 10.3.0.GM57AA, "upgrade failed".
The downgrade rom was the official downgrade tool downloaded from:
download.h2os.com/Rollback/fulldowngrade_wipe_18821_190416_2308.zip
I feel I have exhausted all my options.
Is my device malfunctioning or I did something foundamentally wrong in the process?
Would an official North America Oneplus repair service accept this device and help me converting it to OOS?
Click to expand...
Click to collapse
Use MSMDownload to convert and wipe then start the root process.
SharxX8 said:
Maybe that's a dumb idea (I'm not familiar with the process) but if you're supposed to be able to install OxygenOS straight away then maybe you could try a different version? 10.0.2 instead of 10.0.3 comes to mind
Edit: or 10.3 for that matter. I'm 10.0.3 so i don't even know what 10.3 is. That the NA version?
Anyway it just seemed like that's the one thing in the process you described that never changed and i remember there being problems with that sort of thing in the past
Click to expand...
Click to collapse
Thanks for your advice.
I have successfully converted from HydrogenOS to OxygenOS.
But after the conversion, I still couldn't boot into the temporary TWRP through bootloader.
One Plus 7 Pro (GM1910) Hydrogen OS to Oxygen OS
Hello everyone,
I have just bought my OP 7 pro (GM1910) in China and it came with Hydrogen OS 9.5.9. GM21. I have downloaded the latest Oxygen OS 10.3.0. GM57AA from the official website, but when I try to flesh throughout the local storage I get "System update installation failed" and I can't see the changelog.
Could anybody give me suggestion on how to upgrade to Oxygen OS:
I have tried:
Wiping cache
Factory Reset
Downloaded two different packages
cera22 said:
Hello everyone,
I have just bought my OP 7 pro (GM1910) in China and it came with Hydrogen OS 9.5.9. GM21. I have downloaded the latest Oxygen OS 10.3.0. GM57AA from the official website, but when I try to flesh throughout the local storage I get "System update installation failed" and I can't see the changelog.
Could anybody give me suggestion on how to upgrade to Oxygen OS:
I have tried:
Wiping cache
Factory Reset
Downloaded two different packages
Click to expand...
Click to collapse
Try fastboot method
madsponge26 said:
Try fastboot method
Click to expand...
Click to collapse
Thank you.
Are there any instructions on how to use fastboot to update one plus 7 pro because I am scared that I will brick my device.
cera22 said:
Hello everyone,
I have just bought my OP 7 pro (GM1910) in China and it came with Hydrogen OS 9.5.9. GM21. I have downloaded the latest Oxygen OS 10.3.0. GM57AA from the official website, but when I try to flesh throughout the local storage I get "System update installation failed" and I can't see the changelog.
Could anybody give me suggestion on how to upgrade to Oxygen OS:
I have tried:
Wiping cache
Factory Reset
Downloaded two different packages
Click to expand...
Click to collapse
you got the same problem as me.
use oxygen OS version 10.0.2 through the stock update installer will give you the result you want.
OblixioN said:
I have tested 3.3.1-0, 3.3.1-2, 3.3.1-3, and 3.3.1-4
Click to expand...
Click to collapse
Those TWRP are outdated.
Try the 3.3.1-74 and it will work.
Download it from here: https://forum.xda-developers.com/on...nt/recovery-unofficial-twrp-recovery-t3931322
Ah my bad then. I'm on 3.3.1-70 and have been for quite a while but was too lazy too check.
Quite possible that I've had problems with some TWRP versions as well. I just seem to forget these things very quickly.
So it's working then i assume?
SharxX8 said:
Ah my bad then. I'm on 3.3.1-70 and have been for quite a while but was too lazy too check.
Quite possible that I've had problems with some TWRP versions as well. I just seem to forget these things very quickly.
So it's working then i assume?
Click to expand...
Click to collapse
Yes, got TWRP, and the phone is primed for additional modding.
I really hope that there can be some indications on the TWRP website or within its official guide regarding the version.
At least inform the users that 3.3.1-4 is not the latest build and may not work.

Unable to install TWRP - Stuck fastboot mode

Phone: OnePlus 7 Pro
Build number: Oxygen OS 10.0.3 GM21BA
Anndroid Version: 10
Model: GM1913
Hi all,
I received yesterday my Oneplus 7 Pro. My objective is to install nethunter fully rooted.
After looking the requirements in the offensive security website i noticed i need 3 things
TWRP
Magisk
DM-Verify
I started with TWRP watching different tutorials and comparing them but they are similar.
- Installed sdk platform tools and Minimal adb/fastboot ( tried both ways )
-unlocked the bootloader and enabled usb debug mode.
- Once i do " fastboot boot twrp.img " everything seems " okay " in the terminal, but the phone becomes stuck in fastboot mode logo image, it never actually boots into the twrp.
In a different tutorial, i replaced the "fastboot boot twrp.img" with " fastboot flash boot twrp.img ". This broke my phone i couldn't start the android or go the recovery mode, i couldn't leave fastboot mode unless to restart or to turn off the phone. I fixed this by " fastboot flash boot boot.img " that i had available in the platform tools folder.
I tried different twrp images:
TWRP 3.3.1-74 Unified Unofficial Pie by mauronofrio
TWRP 3.3.1-70 Unified Unofficial Pie by mauronofrio
twrp-3.3.1-4-guacamole.img
Nothing seems to work, i don't know what else to try or what am i doing wrong.
I've been 8 hours around this so any help would be deeply appreciated.
Kind regards,
C666PO said:
Phone: OnePlus 7 Pro
Build number: Oxygen OS 10.0.3 GM21BA
Anndroid Version: 10
Model: GM1913
Hi all,
I received yesterday my Oneplus 7 Pro. My objective is to install nethunter fully rooted.
After looking the requirements in the offensive security website i noticed i need 3 things
TWRP
Magisk
DM-Verify
I started with TWRP watching different tutorials and comparing them but they are similar.
- Installed sdk platform tools and Minimal adb/fastboot ( tried both ways )
-unlocked the bootloader and enabled usb debug mode.
- Once i do " fastboot boot twrp.img " everything seems " okay " in the terminal, but the phone becomes stuck in fastboot mode logo image, it never actually boots into the twrp.
In a different tutorial, i replaced the "fastboot boot twrp.img" with " fastboot flash boot twrp.img ". This broke my phone i couldn't start the android or go the recovery mode, i couldn't leave fastboot mode unless to restart or to turn off the phone. I fixed this by " fastboot flash boot boot.img " that i had available in the platform tools folder.
I tried different twrp images:
TWRP 3.3.1-74 Unified Unofficial Pie by mauronofrio
TWRP 3.3.1-70 Unified Unofficial Pie by mauronofrio
twrp-3.3.1-4-guacamole.img
Nothing seems to work, i don't know what else to try or what am i doing wrong.
I've been 8 hours around this so any help would be deeply appreciated.
Kind regards,
Click to expand...
Click to collapse
I have an almost identical problem to you.
except: my device is GM1910, I had a stock hydrogen OS, which has been converted to oxygen OS.
so far, I have tried twrp-3.3.1-0, 3.3.1-2, 3.3.1-3, 3.3.1-4, on oxygen OS version 10.0.2.GM21AA, 10.0.3.GM21AA, and 10.3.0.GM21AA, all would stuck at the fastboot mode logo screen
Rolling back to a lower version of oxygen OS, including version 9.5.1 and 9.5.7 causes my OP7P in bootloader mode no longer recognized by "fastboot devices", or even by "dmseg" as a usb device.
I received a suggestion of trying the latest TWRP 3.3.1-74 build, which I intend to try later tonight, but got not so optimistic about, seeing that you've experimented with TWRP 3.3.1-74 Unified Unofficial Pie by mauronofrio
One observation I do like to make, is that android 9 is considered as Pie while android 10 was developed from android Q.
since your device is already android 10 at version 10.0.3, should you still use the Pie TWRP build?
OblixioN said:
One observation I do like to make, is that android 9 is considered as Pie while android 10 was developed from android Q.
since your device is already android 10 at version 10.0.3, should you still use the Pie TWRP build?
Click to expand...
Click to collapse
Hi OblixioN,
I tried the image with the Q at the end: TWRP 3.3.1-74 Unified Unofficial Q by mauronofrio and it worked. I had no idea what the Q or Pie meant so your information just solved my problem. I assume it will work for you.
Huge thanks!
Thanks - worked for me as well!
Unfortunately I formated before getting to this solution, so rather unnecessary for me, but what I did was getting the unofficial twrp for guacamole here:
h-t-t-p-s://androidfilehost.com/?fid=4349826312261707787
(from this post: https://forum.xda-developers.com/oneplus-7-pro/development/recovery-unofficial-twrp-recovery-t3931322)
Then I booted to fastboot at ran
Code:
fastboot set_active a
fastboot boot .\twrp-3.3.1-75-guacamole-unified-Q-mauronofrio.img
fastboot set_active b
fastboot boot .\twrp-3.3.1-75-guacamole-unified-Q-mauronofrio.img
Now I could boot into twrp, it found all the internal data storage, and I could sideload
Code:
adb sideload .\twrp-installer-3.3.1-4-guacamole.zip
adb sideload .\Magisk-v20.3.zip
C666PO said:
I had no idea what the Q or Pie meant so your information just solved my problem.
Click to expand...
Click to collapse
It means if you are on Android Q, you need to use the TWRP version that supports Android Q.
Hey, I seem to have the same problem but how do u get it unstuck from the Fastboot Mode so I can try another version of TWRP?
OrionGiant said:
Hey, I seem to have the same problem but how do u get it unstuck from the Fastboot Mode so I can try another version of TWRP?
Click to expand...
Click to collapse
hey there.
So, first of, You restart it by pressing and holding volume up, down and power at the same time for 10+ seconds.
And second, try updating Oxygen OS to its latest version. It works for me now, just unpacked a new OnePlus 7 Pro, didn't work on Android 9, works on Android 10 latest update.
OrionGiant said:
Hey, I seem to have the same problem but how do u get it unstuck from the Fastboot Mode so I can try another version of TWRP?
Click to expand...
Click to collapse
While in fastboot , " fastboot boot twrp.img
Hi!
I'm on the latest official OxygenOS 11 and am having the exact same issue you hade above.
Tried everything mentioned above and the phone is still boot looping :'(
Any more tips?
SABMAN said:
Hi!
I'm on the latest official OxygenOS 11 and am having the exact same issue you hade above.
Tried everything mentioned above and the phone is still boot looping :'(
Any more tips?
Click to expand...
Click to collapse
I tried installing a new kernal and after that mine would go directly to bootloader, no matter what I did it went directly to bootload, thankfully fastboot was still active but using boot cmd into anything would fail,, ,I started my msm tool, and rebooted into edl and as soon as a com port became active on the MSM panel I hit start, and it took off running and did it's thing,
I think my issue had two reasons!
1. The boot.img file i used was from the earlier Oxygen update not the version i had just installed.
2. The phone encryption (but i doubt this!)
Anyway since nothing helped i erased the phone and restored it Now it's working again!

[ISSUE] Trying to root Redmi 6, Miui 11, getting stuck installing Magisk

I am unable to root my Redmi 6 Miui 11
I've followed youtube tutorials, read about this etc. but the thing is that I can't get this to wrok.
device model: redmi 6
miui global 11.0.3 | Stable 11.0.3.0 (PCGMIXM)
Android: 9 PPR1. 180610.011
ENABLED: USB debugging, USB debugging(Secutiry Settings), OEM unlocking
Unlocked the bootloader
tried latest and few older versions of TWRP for redmi 6 from the twrp.me - none of them worked as when I try to load into TWRP my screen goes all colors and depending on the version there might be a small light show of colors splashing.
Found this one to be working, from yt video - can't post link as a new user , (Although it says 6A) - never mind at least I've managed to load into TWRP.
When TWRP starts
it says: Mount Decrypt Data - since I do not have lock set I go to CANCEL
go to INSTALL -> says internal Storage (0MB), so I use SD card to install Magisk-v20.4.zip I confirm and see following errors:
Decrypt process ended with signal: 11
Failed to decrypt data.
Unable to decrypt with default password. You may need to preform Format Data.
then a bit later...
Unable to mount /data/media/TWRP/twrps_wzsx150
Is there any way I can bypass this issue? What should I do and what is the safest thing?
I am trying for 2 days to solve this issue but I am not sure what to do at this point.
If somebody know what should I do in order to root my device please tell me I will be grateful.
I've found the solution, the problem? I've not enough post to attach the boot img.
Go to the 4pda link of this post:
https://forum.xda-developers.com/showpost.php?p=80515805&postcount=2
Download the file "boot_11.0.3.0CN_R6_mgsk_202.img", flash the boot file with the command "fastboot flash boot boot_11.0.3.0CN_R6_mgsk_202.img", reboot, install the lastest magisk manager.
At this point you should have magisk 20.2 installed, only a problem, you can't update magisk
Don't do it!
Alex5532 said:
I've found the solution, the problem? I've not enough post to attach the boot img.
Go to the 4pda link of this post:
https://forum.xda-developers.com/showpost.php?p=80515805&postcount=2
Download the file "boot_11.0.3.0CN_R6_mgsk_202.img", flash the boot file with the command "fastboot flash boot boot_11.0.3.0CN_R6_mgsk_202.img", reboot, install the lastest magisk manager.
At this point you should have magisk 20.2 installed, only a problem, you can't update magisk
Click to expand...
Click to collapse
WARNING: Don't do it if you don't know what are you doing else your phone will be hard bricked and you need an authorized Xiaomi account to revive it.

Failed to mount /system, invalid argument - cannot fix for the life of me

So i had LineageOS 17.1, then tried to wipe it and flash AOSiP 10 Quiche osprey, the problem was, i tried so many times i eventually got a "Failed to mount '/system' (Invalid Argument)' that i find is impossible to fix, as i didn't have USB Debugging activated before as a mistake, and now it boots into the bootloader, and says there's no OS installed. It's a mess, i know, and i don't think there's a way to fix it, but i'm asking for help anyway.
syENiGMA said:
So i had LineageOS 17.1, then tried to wipe it and flash AOSiP 10 Quiche osprey, the problem was, i tried so many times i eventually got a "Failed to mount '/system' (Invalid Argument)' that i find is impossible to fix, as i didn't have USB Debugging activated before as a mistake, and now it boots into the bootloader, and says there's no OS installed. It's a mess, i know, and i don't think there's a way to fix it, but i'm asking for help anyway.
Click to expand...
Click to collapse
What does getvar all say?
Code:
fastboot getvar all
https://forum.xda-developers.com/general/rooting-roms/guide-flashing-motorola-firmware-t4042039
Sent from my Moto E (4) using Tapatalk
syENiGMA said:
So i had LineageOS 17.1, then tried to wipe it and flash AOSiP 10 Quiche osprey, the problem was, i tried so many times i eventually got a "Failed to mount '/system' (Invalid Argument)' that i find is impossible to fix, as i didn't have USB Debugging activated before as a mistake, and now it boots into the bootloader, and says there's no OS installed. It's a mess, i know, and i don't think there's a way to fix it, but i'm asking for help anyway.
Click to expand...
Click to collapse
Try using Squid TWRP.
syENiGMA said:
So i had LineageOS 17.1, then tried to wipe it and flash AOSiP 10 Quiche osprey, the problem was, i tried so many times i eventually got a "Failed to mount '/system' (Invalid Argument)' that i find is impossible to fix, as i didn't have USB Debugging activated before as a mistake, and now it boots into the bootloader, and says there's no OS installed. It's a mess, i know, and i don't think there's a way to fix it, but i'm asking for help anyway.
Click to expand...
Click to collapse
Does this help?
https://technastic.com/usb-debugging-using-adb-command/

Need Help can't update or install TWRP on Motorola One 5G Ace (Kiev)

I originally installed lineage 18.1 OS worked perfect....after updating OS to 19.1 using lineage recovery adb sideload, phone runs perfect but updates don't install and I can't update OS through adb sideload....everytime I try to update it just reboots back to the current OS....And I can't get TWRP to install....when I reboot to bootloader it doesn't recognize my device with "fastboot devices"

Categories

Resources