Oneplus 3 stuck on bootloop after Magisk flash - Android Q&A, Help & Troubleshooting

Ok, I am new to this. My op3 was on oxygen os 5.0.8. I first unlocked my bootloader, then flashed twrp, and through twrp i have flashed Magisk 18.1. Then I cleared data, dalvik and cache and started a reboot. I am now in a bootloop, tried to uninstall Magisk through the uninstaller, but still i am in a bootloop. So please help me with the bootloop or guide me on how to get back to stock rom and recovery.

N1mbus17 said:
Ok, I am new to this. My op3 was on oxygen os 5.0.8.
Click to expand...
Click to collapse
Hello, have you tried flashing the stock boot image from fastboot?

I donno how to flash stock boot image with fastboot, can i flash that img with twrp?

N1mbus17 said:
I donno how to flash stock boot image with fastboot, can i flash that img with twrp?
Click to expand...
Click to collapse
What happens when you place your stock boot image somewhere you can access from TWRP and try?
If you want to try fastboot method:
Download the version of OxygenOS you’re currently on
Extract the contents of the ZIP file from Step 1
Copy/move the boot.img file to the same directory as your ADB/Fastboot tools
Launch a Command Prompt, Terminal or PowerShell in that directory
Boot the OnePlus 3 into Fastboot Mode
Connect the OnePlus 3 to the PC with a USB cable
Type the following into the Command Prompt, Terminal or PowerShell. . .
Code:
fastboot flash boot boot.img
. . .then press Enter on the keyboard
Wait for the boot IMG file to be sent and written
Then press the Power button on the OnePlus 3 to reboot back into Android
adapted from https://www.androidexplained.com/oneplus-5-stock-kernel/

united_we_stand said:
What happens when you place your stock boot image somewhere you can access from TWRP and try?
If you want to try fastboot method:
Download the version of OxygenOS you’re currently on
Extract the contents of the ZIP file from Step 1
Copy/move the boot.img file to the same directory as your ADB/Fastboot tools
Launch a Command Prompt, Terminal or PowerShell in that directory
Boot the OnePlus 3 into Fastboot Mode
Connect the OnePlus 3 to the PC with a USB cable
Type the following into the Command Prompt, Terminal or PowerShell. . .
Code:
fastboot flash boot boot.img
. . .then press Enter on the keyboard
Wait for the boot IMG file to be sent and written
Then press the Power button on the OnePlus 3 to reboot back into Android
adapted from Link
Click to expand...
Click to collapse
Ok I will try this method, but what will happen to twrp if I flash through fastboot, will it get removed and replaced by stock recovery?

N1mbus17 said:
Ok I will try this method, but what will happen to twrp if I flash through fastboot, will it get removed and replaced by stock recovery?
Click to expand...
Click to collapse
Hi! in the following command
Code:
fastboot flash boot boot.img
fastboot is the tool
flash is the operation
boot is the destination partition
and boot.img is the source
so to answer your question, TWRP should remain unaffected, as it should reside on your recovery partition

united_we_stand said:
Hi! in the following command
Code:
fastboot flash boot boot.img
fastboot is the tool
flash is the operation
boot is the destination partition
and boot.img is the source
so to answer your question, TWRP should remain unaffected, as it should reside on your recovery partition
Click to expand...
Click to collapse
Ok i did a wipe on cache, dalvik and system, flashed the official os zip file with TWRP and i am still stuck in a bootloop. I haven't tried your method yet where you flash the boot.img as it's just 15mb while the zip file is 1.5gb. What am i missing here? Is my TWRP recovery installing the os zip file correctly? I am stuck.

This is what i have done till now:
Unlocked my bootloader
Flashed official TWRP (twrp-3.2.3-1)
Then cleared data, cache, dalvik and flashed Magisk
Rebooted and got stuck in a bootloop
Used magisk uninstaller but didn't work
Downloaded official Oxygen OS 5.0.8 and then went to twrp, wiped dalvik, cache, data, system and then flashed the zip file.
Rebooted and still stuck in a bootloop
I am now scared that this phone won't startup. Please provide a solution.

Ok, i have followed the mega unbrick guide for oneplus 3 and it has finally come out of the bootloop, it's now updating to the latest oxygen os. Sadly i donno what went wrong the 1st time i tried to root with Magisk, maybe the oreo on the op3 doesn't support magisk. If it's possible can you guide me into rooting the phone with magisk, as most of the tutorials are old and for marshmallow rom and recovery. Thanks.

Related

How I can return stock rom after root and put twrp

Hello
I just rooted my honor view 10 BKL-L09, I tested the rom CosmicOs but it does not suit me. How to return to the original rom? I tried to put the UPDATE.app file in a directory "dload" but I get a failed error, I tried to extract the files but I do not understand what I have to do.
Do you have a detailed procedure for walking on to hand over the official rom?
Thank you
Extract system, recovery_ramdisk and ramdisk. Boot to bootloader flash recovery and ramdisk.
Boot to recovery do full wipe.
Reboot to bootloader flash system. Reboot and enjoy.
Powered by View 10
2WildFirE said:
Extract system, recovery_ramdisk and ramdisk. Boot to bootloader flash recovery and ramdisk.
Boot to recovery do full wipe.
Reboot to bootloader flash system. Reboot and enjoy.
Powered by View 10
Click to expand...
Click to collapse
hi, I unlocked my honor v10 and installed the recovery twrp and for mistake I did the wipe of all (system, intenal memory and storage), now my device enter in loop because doesn't find the operative system, only can enter in the recovery. what to do? I tried to download the original firmware from the official site but I had no success
2WildFirE said:
Extract system, recovery_ramdisk and ramdisk. Boot to bootloader flash recovery and ramdisk.
Boot to recovery do full wipe.
Reboot to bootloader flash system. Reboot and enjoy.
Powered by View 10
Click to expand...
Click to collapse
Thx, how I can boot in recovery mode after flash recovery_ramdisk, I push Up + power ?
2WildFirE said:
Extract system, recovery_ramdisk and ramdisk. Boot to bootloader flash recovery and ramdisk.
Boot to recovery do full wipe.
Reboot to bootloader flash system. Reboot and enjoy.
Powered by View 10
Click to expand...
Click to collapse
I extracted the highlighted items, is that it?
https://image.noelshack.com/fichiers/2018/21/7/1527420105-capture-update.png
That's what I did but it does not work :
1) fastboot flash ramdisk RAMDISK.img
2) fastboot flash recovery_ramdisk RECOVERY_RAMDIS.img
3) recovery boot => wipe all data, cache, ...
4) reboot in fastboot mode
5) flashboot flash system SYSTEM.img
Now my phone restarts in a loop.
Do not wipe from twrp
thecrazyspy said:
I extracted the highlighted items, is that it?
https://image.noelshack.com/fichiers/2018/21/7/1527420105-capture-update.png
That's what I did but it does not work :
1) fastboot flash ramdisk RAMDISK.img
2) fastboot flash recovery_ramdisk RECOVERY_RAMDIS.img
3) recovery boot => wipe all data, cache, ...
4) reboot in fastboot mode
5) flashboot flash system SYSTEM.img
Now my phone restarts in a loop.
Click to expand...
Click to collapse
first, check this
I Want you to try this go to twrp>mount system and check if system partition have files and it is intact, if not you need to flash whole rom again or a new RoM (asop or anything to boot it)
next, open fastboot mode and flash this
https://forum.xda-developers.com/honor-view-10/how-to/stock-recovery-getting-to-stock-t3754797
this is a stock recovery steps are given about how to install it , once you are on stock recovery,
open recovery clear cache and perform factory wipe once done it should boot if system partition is intact
NEVER PERFORM WIPE FROM TWRP, it seems buggy screwed my device too
(--light--) said:
first, check this
I Want you to try this go to twrp>mount system and check if system partition have files and it is intact, if not you need to flash whole rom again or a new RoM (asop or anything to boot it)
next, open fastboot mode and flash this
https://forum.xda-developers.com/honor-view-10/how-to/stock-recovery-getting-to-stock-t3754797
this is a stock recovery steps are given about how to install it , once you are on stock recovery,
open recovery clear cache and perform factory wipe once done it should boot if system partition is intact
NEVER PERFORM WIPE FROM TWRP, it seems buggy screwed my device too
Click to expand...
Click to collapse
I finally succeeded, I think that I did not have the right file UPDATE.app, for those that it interests here is the link to have the rom stock of a BKL-L09 European version
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G2201/g1642/v128115/f1/full/update.zip
I use this soft to find it : Firmware Finder by Team MT
I think I loose IA on my phone, if I take flower picture I haven't logo flower. When I download Update file, I van download 2 others file, hou know how I can install this ?
thecrazyspy said:
I finally succeeded, I think that I did not have the right file UPDATE.app, for those that it interests here is the link to have the rom stock of a BKL-L09 European version
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G2201/g1642/v128115/f1/full/update.zip
I use this soft to find it : Firmware Finder by Team MT
Click to expand...
Click to collapse
Is this the last one? I tried with the last BKLL09C432B160b (22 may)... look like the european but gave me a mistake at 5% ... so is it wrong? Should have I download from your link?
xmaxo said:
Is this the last one? I tried with the last BKLL09C432B160b (22 may)... look like the european but gave me a mistake at 5% ... so is it wrong? Should have I download from your link?
Click to expand...
Click to collapse
This is the latest version for the European version of the Honor view 10, you can try with that one.
thecrazyspy said:
I think I loose IA on my phone, if I take flower picture I haven't logo flower. When I download Update file, I van download 2 others file, hou know how I can install this ?
Click to expand...
Click to collapse
Is not enough the update file to return to the stock rom?
2WildFirE said:
Extract system, recovery_ramdisk and ramdisk. Boot to bootloader flash recovery and ramdisk.
Boot to recovery do full wipe.
Reboot to bootloader flash system. Reboot and enjoy.
Powered by View 10
Click to expand...
Click to collapse
Hi i have a big problem. I have download the last bkl EU rom, 160 build, i flashed 3 files but the device get bootloop and i don't know what i can do.
Anyway when i buy the device i had 141 build, then i unlocked and try trwp with carbon.
For to return to stock i flashed the 3 files from 160 build. Maybe i have to take 3 files from 141 build? Because i had this build how base rom?
You flashed the 3 download files from hwff? Then u have to flash the No check recovery before.
Powered by View 10
2WildFirE said:
You flashed the 3 download files from hwff? Then u have to flash the No check recovery before.
Powered by View 10
Click to expand...
Click to collapse
I downladed from firmware finder in my PC, then i extracted system.IMG, ramdisk.IMG, recover_ramdisk.img, cust.IMG, then flash in fastboot.
Also i tried e-recovery after change dns, but after download i get "recovery failed"
Take a look at here im sure this solves your problem
https://r.tapatalk.com/shareLink?ur...share_tid=3778085&share_fid=3793&share_type=t
Powered by View 10
2WildFirE said:
Take a look at here im sure this solves your problem
https://r.tapatalk.com/shareLink?ur...share_tid=3778085&share_fid=3793&share_type=t
Powered by View 10
Click to expand...
Click to collapse
I have l09 version, works anyway?
And if i'm in bootloop now, how can i flash 3 zip files?
xmaxo said:
Is not enough the update file to return to the stock rom?
Click to expand...
Click to collapse
Finally it's good, I dreamed, lool
thecrazyspy said:
This is the latest version for the European version of the Honor view 10, you can try with that one.
Click to expand...
Click to collapse
I downloaded it but gave me the same error at 5% of process. I bought the device in amazon Italy so the european stock rom must work.
Any idea?
I followed the suggestion to flash the stock recovery but now I've no access to the system and not to the bootloader. With twrp at least I could go in fastboot mode. Now I can flash nothing and the device goes in loop without system. And factory reset gives an error at 10-12%
xmaxo said:
I downloaded it but gave me the same error at 5% of process. I bought the device in amazon Italy so the european stock rom must work.
Any idea?
I followed the suggestion to flash the stock recovery but now I've no access to the system and not to the bootloader. With twrp at least I could go in fastboot mode. Now I can flash nothing and the device goes in loop without system. And factory reset gives an error at 10-12%
Click to expand...
Click to collapse
you followed the following steps:
1) fastboot flash ramdisk RAMDISK.img
2) fastboot flash recovery_ramdisk RECOVERY_RAMDIS.img or with this https://forum.xda-developers.com/honor-view-10/how-to/stock-recovery-getting-to-stock-t3754797
3) recovery boot => wipe all data, cache, ...
4) reboot in fastboot mode
5) flashboot flash system SYSTEM.img
As you check the file you download is compatible with your phone with the following software:
http://pro-teammt.ru/huawei-firmware-finder/
thecrazyspy said:
you followed the following steps:
1) fastboot flash ramdisk RAMDISK.img
2) fastboot flash recovery_ramdisk RECOVERY_RAMDIS.img or with this https://forum.xda-developers.com/honor-view-10/how-to/stock-recovery-getting-to-stock-t3754797
3) recovery boot => wipe all data, cache, ...
4) reboot in fastboot mode
5) flashboot flash system SYSTEM.img
As you check the file you download is compatible with your phone with the following software:
http://pro-teammt.ru/huawei-firmware-finder/
Click to expand...
Click to collapse
Ok now I had success in enter in fastboot.
The stock file is the same you posted (22th may).
This one doesn't work with the dload power+up+down.
So I want to extract the 3 files, I put in profile "unknown" (or other) but when I select the folder of update.app returns this error: ERECOVERY_VBMET.img: Invalid header crc -Expected: 14228 Got: 54798
Ok I disabled the check of headers to solve that problem

twrp installation

Hello guys.
I have been in the android world for a while, but just got this device.
I had tried to install twrp with no success. I already have bootloader unlocked by me with no issues, following a tutorial here. When I flash twrp it shows success but when I try to go there ñ, it just goes to miui recovery. When I boot directly from fastboot with:
Fastboot boot twrp.img
It goes there with no issues but of course, data is encrypted. So I want to install it in order to format my data and be able to root. Any ideas?
I researched and found that one way is to install a dev rom, but I really want to remain on stable one.
Thoughts?
Jemec26 said:
Hello guys.
I have been in the android world for a while, but just got this device.
I had tried to install twrp with no success. I already have bootloader unlocked by me with no issues, following a tutorial here. When I flash twrp it shows success but when I try to go there ñ, it just goes to miui recovery. When I boot directly from fastboot with:
Fastboot boot twrp.img
It goes there with no issues but of course, data is encrypted. So I want to install it in order to format my data and be able to root. Any ideas?
I researched and found that one way is to install a dev rom, but I really want to remain on stable one.
Thoughts?
Click to expand...
Click to collapse
Put a copy of twrp.img in your sdcard.
Put other copy of twrp.img in adb folder of your pc.
Type from a cmd with admin rights with device in fastboot mode connected to pc fastboot boot twrp.img and when you reboot to twrp slide allowing modifications and then flash your twrp.img through same twrp recovery
The first command will do that device can boot to twrp but it´ll not flash it in recovery partition.
The second action will flash it permanently onto your device.
Probably you´ll need to format data in order to can reboot to system again.
SubwayChamp said:
Put a copy of twrp.img in your sdcard.
Put other copy of twrp.img in adb folder of your pc.
Type from a cmd with admin rights with device in fastboot mode connected to pc fastboot boot twrp.img and when you reboot to twrp slide allowing modifications and then flash your twrp.img through same twrp recovery
The first command will do that device can boot to twrp but it´ll not flash it in recovery partition.
The second action will flash it permanently onto your device.
Probably you´ll need to format data in order to can reboot to system again.
Click to expand...
Click to collapse
Thanks! I solved it after taking a look for a while. I do not have an sdcard, so I flashed it and then fastboot booted it, then I reboot recovery to make sure it was flashed and then formatted data. I worked flawlessly!

[Help] Bootloop on Xiaomir Redmi Note 4X

Hello, I'm kind of new at this (this is my first post) so be gentle
So, the last few days I've been trying to install a new rom on my phone (Redmi Note 4X) and the problems started with the model. I only seem to find Redmi Note 4 roms, and as I've come to find, mine is supposed to be the mido one (correct me if I'm wrong though). I have unlocked the bootloader, I have installed and enabled the fastboot on my phone, so the next step was to install the latest TWRP.
There came more problems; I tried doing this through the app and it just wouln't flash it. So I found a guide on how to root my phone and install a new recovery through adb and I followed it. It didn't work. I couldn't find the right twrp version for my phone. When I finally did realise my phone needed mido, I found the latest from the TWRP website. It wouldn't load through adb again. I found a thread about a fixed mido version, which finally worked for me. But my brother who was helping me, and isn't as much of a noob as I am (he has flashed rom and recoveries many times on his Nexus 5X), decided that I necessarily need the latest twrp if I'm going to flash a new rom, so he flashed the new twrp through the old one, and soft bricked my phone (I think). So I'm searching for a guide to unbrick it. (Which I can't seem to find to work at least).
To conclude;
I have unlocked my bootloader
I have access to the fastboot
I tried to flash a recovery
I failed many times, but I managed it
I flashed the latest twrp and bricked my phone
I don't have access to the recovery
My phone is still on a bootloop
I am not sure about which phone model I have
Help!
Thanks in advance.
1. Just check your phone model on its box. If its Snapdragon version (Mido), then just install it via fastboot. (code: fastboot flash recovery twrp-midoxx.img). If you are success, then try to reboot to recovery (fastboot boot twrpmido-xx.img). After booted, then you just manage to rom.zip you want to install. If you don't have it, then download it before from your PC and push it to your phone. Or just enable Mtp checklis from TWRP n copy that file to your internal phone/sdcard. Wipe all/factory reset except internal storage. Then you dan install rom.zip normally. N reboot. (Note: if you are on MIUI and wanted to always stay on it, just flash the file called lazyflasher.zip. n' wipe cache n art cache only then reboot). Flashing custom recovery on stock MIUI Will manage the device Going to bootloop)
2. If you have mediatek version (nikel), searching the fastboot Rom from miui website and flash it normally via fastboot. (SP Flash tool)
Warning: flash the wrong rom file into wrong phone Will make your device brick. So becarefull n knowing what model/code name you have.
Dyt199412syam said:
1. Just check your phone model on its box. If its Snapdragon version (Mido), then just install it via fastboot. (code: fastboot flash recovery twrp-midoxx.img). If you are success, then try to reboot to recovery (fastboot boot twrpmido-xx.img). After booted, then you just manage to rom.zip you want to install. If you don't have it, then download it before from your PC and push it to your phone. Or just enable Mtp checklis from TWRP n copy that file to your internal phone/sdcard. Wipe all/factory reset except internal storage. Then you dan install rom.zip normally. N reboot. (Note: if you are on MIUI and wanted to always stay on it, just flash the file called lazyflasher.zip. n' wipe cache n art cache only then reboot). Flashing custom recovery on stock MIUI Will manage the device Going to bootloop)
2. If you have mediatek version (nikel), searching the fastboot Rom from miui website and flash it normally via fastboot. (SP Flash tool)
Warning: flash the wrong rom file into wrong phone Will make your device brick. So becarefull n knowing what model/code name you have.
Click to expand...
Click to collapse
Hello and thanks for the reply. I have the snapdragon version, but all I'm asking is how am I supposed to flash the lazyflasher without accessing the recovery? Through adb?
fionik said:
Hello and thanks for the reply. I have the snapdragon version, but all I'm asking is how am I supposed to flash the lazyflasher without accessing the recovery? Through adb?
Click to expand...
Click to collapse
Firstly, enter fastboot mode on your device. Connecting to pc and flashing the twrp for mido. "fastboot flash recovery twrp-mido.img". Then boot to it using " fastboot boot twrp-mido.img". Then you will enter the recovery (twrp) in a second. Copy the lazyflasher into your phone (enable mtp first in Mount option in twrp) that you downloaded from pc. Just flash the lazyflasher.zip and reboot.
And why you don't want to flash lazyflasher when it very easy to flash it using recovery twrp? adb? You mean android debugging? Actually, you cant flash a .zip file into your system partition except through fastboot mode. However, fastboot mode (in cmd) only recognize a .img file. I just try to tell you the easier method to make your device boot up.
Dyt199412syam said:
Firstly, enter fastboot mode on your device. Connecting to pc and flashing the twrp for mido. "fastboot flash recovery twrp-mido.img". Then boot to it using " fastboot boot twrp-mido.img". Then you will enter the recovery (twrp) in a second. Copy the lazyflasher into your phone (enable mtp first in Mount option in twrp) that you downloaded from pc. Just flash the lazyflasher.zip and reboot.
And why you don't want to flash lazyflasher when it very easy to flash it using recovery twrp? adb? You mean android debugging? Actually, you cant flash a .zip file into your system partition except through fastboot mode. However, fastboot mode (in cmd) only recognize a .img file. I just try to tell you the easier method to make your device boot up.
Click to expand...
Click to collapse
As I said above, I can only access the fastboot, and I get errors in the adb when I try to flash the twrp image.
fionik said:
As I said above, I can only access the fastboot, and I get errors in the adb when I try to flash the twrp image.
Click to expand...
Click to collapse
Share your error please.
Try fastboot boot twrp.img

[Unofficial][Q]Twrp Recovery for Xperia 1/5 On Android 10

Hello dear people !! ^^
Since we have in a short time Android 10
We don't have recovery for it.. Sadly enough but..
I found this on a chinese forum and make a guide of it.
I don't own the Xperia 1.. Not yet but next week i have one,
So i hope all you people understand this guide because i
explained it as far i can do it.
----------------------
.. Requirements ..
Unlocked bootloader
Xperia 1 Or 5
Android 10
Knowledge howto flash
----------------------
Important !!: rename your patched boot.img what you did
with magisk to kernel.img in put it in this zip Here
1: Remember to back up all your data
2: Make a clean install of the firmware,
!! don't boot after flashing !!
3: Turn the phone into fastboot mode
and connect and type this command in cmd window:
fastboot flash boot twrp-xperia1.img
Here the fastboot twrp file
4: fastboot this command of vbmeta:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Here the vbmeta file
5: Press and hold the volume down and power at the same time,
release the powerbutton but keep
pressing volume down button till you enter twrp.
6: Copy the 3 zips:
The boot.zip where your own kernel.img is inside
what you did at the beginnig of these steps
twrp-Xperia1-3.3.x.zip: Here
Magisk-v20.1.zip: Here
to the phone storage, and flash in twrp
7: Start it up and done
Note: If you encountered
damaged internal storage, format internal memory in twrp
and all went just fine.
... Credits ...
M-Rom
​
Res
This doesn't lead to success with an Xperia 5. Once you try to boot into TWRP at step 5, you got a note that the device is corrupt and will shut down in 5 seconds.
Thanks ASap people try this I will install and try it! Know bug? Is this still in very testing version? For the moment I don't want to touch my device.
The clean install is necessary? Any incompatibilities with some magisk modules? Im currently using: smali patcher, taichi, youtube vanced
Why isn't there a Thread in the Xperia 5 Forums? Just found this out of Luck...
Instructions are also bit confusing... Where is the vbmeta.img from? Google? And why do i need a boot.img if we have already a TWRP boot.img? Will the one boot.img not replace the other?
Flashing a new Firmware makes also no sense if you just do "fastboot -w" to erase all Userdata. (If coming from a clean Firmware like i do, or You do right after unlocking Your Device)
Edit: So in a nutshell
-We do boot up the twrp boot.img to be able to flash Zips!?
-We do flash vbmeta to unsecure our booting!?
-We do flash our own boot.img with the Zip that the Device can work right!?
-We do flash the TWRP Zip which edits our Ramdisks to add TWRP
-We do flash Magisk (Optional!?) for only Root? Or also needed Kernel changes!?
Would be nice to also make links to XperiFirm and UnSin to get the boot images...
You could also edit the boot.zip script for "magisk_patched.img" so users don't have to rename it
Just want to support that btw. Thanks for Your work anyways!
---------- Post added at 15:47 ---------- Previous post was at 15:07 ----------
Xperia 5 booted well into TWRP but it freezes everytime i start a flash or wipe. Got the storage to work with fastboot -w after flashing the twrp and vbmeta images. Adb Sideload does also not work. Looking forward to a working version!
TWRP unable to flash zips
Well, the title says it all. I can flash the twrp image, but it freezes when flashing zips or starting sideload. I'm using a J9110. I understand you're not supporting here, but just in case you had some tips. Oh and by the way, hoi vanuit Leiden
EDIT: Found the fix: don't change the language to english before opening twrp, and it will flash just fine!
xperia 5 fix plz
I've installed this, it work but boot in chinese and cant load the usb mtp driver on my pc, I cant move the boot.zip to flash, had it put on sd card, cant find the sd card on this crappy twrp, for me is a no. I'd just stick with patched boot until something better will work.
mtp should work if you follow every instruction and boot twrp in chinese.
Having the same issue as others... it appears as though the internal storage is encrypted, but I have no lock screen enabled in the ROM. No Passwords or Fingerprint either. Tried wiping data from within TWRP froze the system. Performed a wipe from within ROM, and now the ROM shows internal data folders as though they're encrypted. Need a pinch of help here.
This method has problem if 55.1.A.3.149 is flashed. The "Start" screen freeze with no touchscreen function on reboot after the procedures completed.
Is there any update to this?
Hopefully with 3.4 will bring a more stable twrp. It includes changes for devices updated to Android 10
I hope can teach how to get your patched boot.img
It's not too much complex to make it work
download firmware from xperiFirm
unsign the boot.sin to get boot.img for your xperia 1
flash the twrp.img to your boot slot_a/b
boot into twrp
install the boot.img, twrp.zip, magisk.zip
now everything works
benben233 said:
I hope can teach how to get your patched boot.img
Click to expand...
Click to collapse
It's not too hard to get one
Get the origin boot.img from xperiFirm, twrp.zip
boot into any twrp on any device
backup your own boot paritition
install the boot.img, twrp one by one
then backup the boot partition, you get the patched-boot.img
Tenhow.XDA said:
download firmware from xperiFirm
unsign the boot.sin to get boot.img for your xperia 1
flash the twrp.img to your boot slot_a/b
boot into twrp
install the boot.img, twrp.zip, magisk.zip
now everything works
Click to expand...
Click to collapse
On latest android 10 and fw .28 it works ? @Tenhow.XDA
Any sign of Android 11 TWRP for Xperia 1?
MrMmmkay said:
Any sign of Android 11 TWRP for Xperia 1?
Click to expand...
Click to collapse
No

Need Help Installing LineageOS 17.1 on Umidigi A7 Pro (amd64 A-Only) with TWRP

Current State:
TWRP Installed, no OS, no system partition, instead a super partition.
I also flashed an orange_state_disabler which seems to have worked just fine.
ADB Sideload:
When I try to start ADB Sideload Feature this is what I get:
https://pastebin.com/k3gJ048P
when trying to use the adb sideload command:
Code:
adb: sideload connection failed: no devices/emulators found
adb: trying pre-KitKat sideload method...
adb: pre-KitKat sideload connection failed: no devices/emulators found
I converted the lineageos img file I have to a flashable zip using the tool from here:
https://forum.xda-developers.com/nu.../swapper-generate-flashable-zips-img-t4133591
but when I try to flash that zip file tho it returns this:
Code:
Installing zip file '/usbotg/system.zip'
Checking for Digest file...
Unmounting System...
Invalid zip file format!
Error installing zip file '/usbotg/system.zip'
Updating partition details...
...done
so... yeah, I don't know what else to do right now.
A Custom ROM like LineageOS can only get installed via TWRP, not by any other means: in no case by "adb sideload".
jwoegerbauer said:
A Custom ROM like LineageOS can only get installed via TWRP, not by any other means: in no case by "adb sideload".
Click to expand...
Click to collapse
Heh, I was just trying to get the ROM on the device so I could flash it then via TWRP but maybe I just misunderstood what adb sideload does
0
Seppppx said:
The Oneplus 8 Pro has a dynamic partition layout and you flash a system image by doing "fastboot flash system system.img"
See : https://forum.xda-developers.com/oneplus-8-pro/development/rom-lineageos-17-1-t4122983
Click to expand...
Click to collapse
Yeah I tried that already, the problem is that it doesn't have a system partition
MoonPadUSer said:
Yeah I tried that already, the problem is that it doesn't have a system partition
Click to expand...
Click to collapse
Your posted error messsage suggests the zip install has failed. So no change to device should have happened.
Current twrp cannot flash system.img
Only super.img(combined system.img, vendor.img, and product.img)
The systemswapper you refered to is from a qualcom device thread, and uses some *qti* device binaries that are not in your recovery. It is unlikely to have worked. (I might be wrong about the *qti* binary being only a qualcom device tool)
These new devices with dynamic partition have 2 fastboot modes.
The bootloader mode (adb reboot bootloader)
This is used for unlocking bootloader, flashing standard partitions
There is fastbootd mode (adb reboot fastboot)
This mode is only available if stock recovery is installed.
It also requires r30 or higher fastboot binary file on PC.
From fastbootd you can flash the sub partitions on super.img
There is alot of changes that take place with this new partition setup.
As for your phone no longer booting into original system, and bootlooping to recovery, I suggest first try boot to bootloader, and flash stock recovery, see if this stopps the bootlooping.
If not then use sp flash tool and flash full stock room and start fresh
mrmazak said:
From fastbootd you can flash the sub partitions on super.img
Click to expand...
Click to collapse
How?
MoonPadUSer said:
How?
Click to expand...
Click to collapse
Fastbootd is part of stock recovery, it will look different than what you may be used to as being fastboot mode.
You should see options on screen to select just like stock recovery has.
One for boot to bootloader
One for boot to recovery.
When you confirm you are in fastbootd
You just use
Code:
fastboot flash system /some-directory-on -pc/gsi-system.img
You should see messages on screen
Resizing system
Sending sparce system chunck. 1 of x
Writing system chunck 1 of x
There could be more descriptive guide on flashing gsi on dyniamic partitions if your Search google, (xda).
But it is hard to guide you to fixing device, when I'm not sure how you got stuck. I mean the description you have said should not have made you loose system partition or fail to boot, so I said it before and will suggest it again. If you have a non booting device , the FIRST thing you should do is flash it with sp flash tool and full factory rom, before messing around with other stuff before you get into worse condition
MoonPadUSer said:
How?
Click to expand...
Click to collapse
I did another post about using fastbootd on similar device. The information is all relevant to your a7pro too.
https://forum.xda-developers.com/showpost.php?p=83241985&postcount=3
mrmazak said:
Fastbootd is part of stock recovery, it will look different than what you may be used to as being fastboot mode.
You should see options on screen to select just like stock recovery has.
One for boot to bootloader
One for boot to recovery.
When you confirm you are in fastbootd
You just use
You should see messages on screen
Resizing system
Sending sparce system chunck. 1 of x
Writing system chunck 1 of x
There could be more descriptive guide on flashing gsi on dyniamic partitions if your Search google, (xda).
But it is hard to guide you to fixing device, when I'm not sure how you got stuck. I mean the description you have said should not have made you loose system partition or fail to boot, so I said it before and will suggest it again. If you have a non booting device , the FIRST thing you should do is flash it with sp flash tool and full factory rom, before messing around with other stuff before you get into worse condition
Click to expand...
Click to collapse
Ok, I am back to a fully working device again, where I got stuck was that I do not have a system partition, thus I can't flash it. Whenever I try to flash it using fastboot flash system or anything else, it just says that I do not have a system partition
Where I am right now:
I am back to a fully working device after downloading the stock ROM from my manufacturer and plugging that into SP Flash tool
After that I researched and figured out that the super partition I have basically acts like a container for
system.img, boot.img and vendor.img
which explains while simply flashing LineageOS.img to my super partition (
Code:
fastboot flash system Lineage.img
) resulted in
my device not booting anymore.
I found a tool which can unpack those super.img into system, boot and vendor
(using this youtube video: https://youtu.be/J5cQdzivtXk)
I used that to unpack the super.img which I got from my stock ROM and
now I have system.raw, boot.raw and vendor.raw, I do not know what kind of file these are but my plan is to replace system.whatever with the lineageos.img and then repack it into super.img which I can then use to flash the super partition on my phone
MoonPadUSer said:
Ok, I am back to a fully working device again, where I got stuck was that I do not have a system partition, thus I can't flash it. Whenever I try to flash it using fastboot flash system or anything else, it just says that I do not have a system partition
Click to expand...
Click to collapse
Can you show picture of this .
Of both pc screen and phone screen, please
mrmazak said:
Can you show picture of this .
Of both pc screen and phone screen, please
Click to expand...
Click to collapse
I'd love to but how am I supposed to take a picture of my phone screen in fastboot mode? (I don't have any other devices with a camera)
@MoonPadUSer
Code:
fastboot flash system Lineage.img
must have failed.
Reason: This command tries to write a complete Lineage OS ( what itself contains a partition named /system, too ) into phone's Android's current /system partition - what only is 1 partition of multiple ones that exist.
Note: You can't flash a Custom ROM by means of Fastboot.
Re-read post #2
0
Seppppx said:
That's not true when you are flashing a Generic System Image.
Click to expand...
Click to collapse
ROFL
Remember OP wants to install LineageOS 17.1 what isn't a GSI as it is with LineageOS 18.x
jwoegerbauer said:
ROFL
Remember OP wants to install LineageOS 17.1 what isn't a GSI as it is with LineageOS 18.x
Click to expand...
Click to collapse
Actually... I don't really care about the version all that much, whatever works, just didn't know if 18x is supported
Downside to Lineage GSI is for Umidigi you can't flash gapps. So unless someone adds it to the gsi for you it's best to use something else.
I went with this
https://forum.xda-developers.com/pr...velopment/aosp-10-0-quack-phh-treble-t3992559
You have to get the AB version with GAPPS if you want them
Comes pre rooted as well and gave my phone a huge speed boost
Flash the stock ROM
Unlock bootloader
fastboot flashing unlock
(unnecessary if already unlocked)
fastboot flashing unlock_critical
enter fastboot
fastboot reboot (to enter fastbootd)
fastboot erase system
(optional but I had to do this myself)
fastboot delete-logical-partition product - deletes the product partition, allowing a larger system partition
fastboot flash system (gsi file)
And you're good
Don't try to install magisk because it causes a bootloop. Even when installing it through the app. Once the boot image is patched you're in a bootloop until you reflash the stock boot
Made a generic ish Umidigi flashing tutorial because it's the same in all of them I've had so far
https://forum.xda-developers.com/an...ng-rom-gsi-t4182673/post83803205#post83803205

Categories

Resources