TWRP with encryption support - Xiaomi Mi 9 Questions & Answers

Is there some TWRP version with encryption support? Mine shows just random empty folders, doesn't ask for encryption key.

kokesh said:
Is there some TWRP version with encryption support? Mine shows just random empty folders, doesn't ask for encryption key.
Click to expand...
Click to collapse
Yes maunofrio

Like said above, always use the most recent mauronofrio's TWRP.

Thanks! Got the latest version, but now I am facing an issue with Fastboot. I'm in fastboot mode, with drivers installed, but it just keeps saying Waiting for the device. I have all drivers installed and ADB works fine when the phone is on. I didn't find the fastboot device in Device manager, when connected on any USB port.

kokesh said:
Thanks! Got the latest version, but now I am facing an issue with Fastboot. I'm in fastboot mode, with drivers installed, but it just keeps saying Waiting for the device. I have all drivers installed and ADB works fine when the phone is on. I didn't find the fastboot device in Device manager, when connected on any USB port.
Click to expand...
Click to collapse
On adb debugging
---------- Post added at 10:19 AM ---------- Previous post was at 10:17 AM ----------
Or you can install new twrp in old

EpickBroVlad said:
On adb debugging
---------- Post added at 10:19 AM ---------- Previous post was at 10:17 AM ----------
Or you can install new twrp in old
Click to expand...
Click to collapse
What I've done:
Booted old TWRP
Pushed new twrp.img into /tmp
Flashed image via old twrp
Flashed new OTA
Couldn't install magisk (system read only)
After reboot twrp overwritten by stock recovery
Fastboot works only with original xiaomi cable for some reason
Flashed twrp via fastboot. Didn't stick, stock recovery comes up all the time.
Fastboot boot twrp.img starts new twrp, flashed magisk via that one.
Now all is fine.

kokesh said:
What I've done:
Booted old TWRP
Pushed new twrp.img into /tmp
Flashed image via old twrp
Flashed new OTA
Couldn't install magisk (system read only)
After reboot twrp overwritten by stock recovery
Fastboot works only with original xiaomi cable for some reason
Flashed twrp via fastboot. Didn't stick, stock recovery comes up all the time.
Fastboot boot twrp.img starts new twrp, flashed magisk via that one.
Now all is fine.
Click to expand...
Click to collapse
Install it twice

EpickBroVlad said:
Install it twice
Click to expand...
Click to collapse
I did flash it twice in a row. And after that thrice. Didn't stick.

Related

Stuck in boot up screen

ok, i am stuck on my boot up screen. i flashed a zip file xposed arm zip. after the reboot it will not pass the boot animation screen. now on my old Motorola phone, i would do the pwr + vol keys to boot back in to recovery. well this does no work on my X. any one have any ideas. I am rooted, unlocked, twrp was installed from play store, & i did do a back up. thanks
JWACK72 said:
ok, i am stuck on my boot up screen. i flashed a zip file xposed arm zip. after the reboot it will not pass the boot animation screen. now on my old Motorola phone, i would do the pwr + vol keys to boot back in to recovery. well this does no work on my X. any one have any ideas. I am rooted, unlocked, twrp was installed from play store, & i did do a back up. thanks
Click to expand...
Click to collapse
What device do you have, XT1095, XT1097, etc? And you are not able to boot into the bootloader using vol down + power correct?
It was a 1096, now its trash. it would go into fastboot, but could not get into twrp recovery. its done. RIP
JWACK72 said:
It was a 1096, now its trash. it would go into fastboot, but could not get into twrp recovery. its done. RIP
Click to expand...
Click to collapse
If it boots to fastboot, it's not dead. Just reflash the recovery and you're good to go.
Sent from my XT1095 using Tapatalk
Was there a resolution for this? I'm having a similar problem. I'm not sure how I got to this status, but here's what I'm dealing with:
Device: XT1095
Bootloader: Unlocked
Rooted, ROM - Resurrection Remix, TWRP
Turning on the phone reaches the RR bootsplash and proceeds to bootloop.
When holding down the power and volume down, it will enter fastboot.
When I try to open TWRP recovery, it'll show the blue TWRP screen and just sit there.
I have tried to reinstall TWRP, but that has no effect. I didn't want to manually flash another ROM or go back to stock because at least now it seems USB debugging is on and if I flashed a ROM I cant be sure I'd be able to turn it on. Do any of you pros have some ideas hove I can get back into my phone? Thanks
bibbin said:
I have tried to reinstall TWRP, but that has no effect. I didn't want to manually flash another ROM or go back to stock because at least now it seems USB debugging is on and if I flashed a ROM I cant be sure I'd be able to turn it on. Do any of you pros have some ideas hove I can get back into my phone? Thanks
Click to expand...
Click to collapse
Do you have a USB-OTG device plugged in while trying to start TWRP? If so remove it, you can mount it after TWRP starts if this helps.
Have you tried a different build of TWRP? I'm currently using the one built by invisiblek, one of the CM devs for the victara. It was built and posted on December 8th and is here: http://www.invisiblek.org/twrp/twrp_2.8.7.0-0624b8bd_victara.img
Have you tried flashing the stock recovery to see if that will start? If it does, you could use the factory reset option there and then try reinstalling TWRP. (TWRP has a settings directory in /sdcard and maybe that is corrupted.)
There have been a few people posting with this problem but I've not seen a definitive fix for it.
Thank for the quick response. No, I don't have USB-OTG inserted. It is using TWRP 2.8.7.1. No, I haven't tried installing the version you mentioned. What I did do was attempt to flash the pre-installed TWRP 2.8.1.0 via MOTO X TOOLKIT. It failed. I'm not very experienced at using ADB manually. As I mentioned, I've been reluctant to flash another ROM (custom or stock) because I don't want to get stuck with USB debugging inactive with no way to get in far enough to reactivate it.
---------- Post added at 04:32 PM ---------- Previous post was at 03:40 PM ----------
If I manage to install the invisiblek TWRP and it opens properly will I then be able to restore the backups created with TWRP 2.8.7.1?
If that's the case, I need to find a tutorial on installing TWRP manually via ADB, right? I usually install TWRP via TWRP Manager.
bibbin said:
Thank for the quick response. No, I don't have USB-OTG inserted. It is using TWRP 2.8.7.1. No, I haven't tried installing the version you mentioned. What I did do was attempt to flash the pre-installed TWRP 2.8.1.0 via MOTO X TOOLKIT. It failed. I'm not very experienced at using ADB manually. As I mentioned, I've been reluctant to flash another ROM (custom or stock) because I don't want to get stuck with USB debugging inactive with no way to get in far enough to reactivate it.
---------- Post added at 04:32 PM ---------- Previous post was at 03:40 PM ----------
If I manage to install the invisiblek TWRP and it opens properly will I then be able to restore the backups created with TWRP 2.8.7.1?
If that's the case, I need to find a tutorial on installing TWRP manually via ADB, right? I usually install TWRP via TWRP Manager.
Click to expand...
Click to collapse
That's interesting, the TWRP Manager has never worked correctly for me although it's been a long time since I've tried it.
To flash manually, you actually need fastboot which is usually installed along with adb. If you open a command window, and type in fastboot and it runs, the rest is pretty easy. If it doesn't run, this thread has the 15 second ADB/Fastboot installer, select to install it system-wide: http://forum.xda-developers.com/showthread.php?p=48915118#post48915118
Download the recovery image, rename the file to twrp.img, then open a command window in the folder where you downloaded it (type cmd then Enter in the address line at the top of the folder window.)
When the command window is open and the phone is in bootloader mode and connected to the computer with the USB cable, enter the command "fastboot device" (without the quotes) If everything is working it will list the serial number of your phone.
Then enter "fastboot flash recovery twrp.img" (without the quotes) to start the flashing process, ignore the size mismatch message. It will only take a few seconds to complete.
Use the volume down key to highlight recovery, then volume up to select it. Hopefully TWRP will boot up and you'll be good to go!
Well, reinstalling TWRP didn't fix it. Thoughts? Anyone?
bibbin said:
Well, reinstalling TWRP didn't fix it. Thoughts? Anyone?
Click to expand...
Click to collapse
Reflash stock rom from fastboot.
Sent from my XT1095 using Tapatalk
UPDATE: Thanks all. Well, after fiddling around with various methods of reinstalling TWRP, I managed to get it reinstalled and all is back to normal now.

phone not booting after magisk flash

Phone Details:
Sony Xperia Z2 D6503 running Android 6.0.1
Boot loader unlocked
TWRP installed
Magisk v12.0
Had the phone rooted but un-rooted via SU and then re-flashed default os using Sony Companion and unlocked the boot loader
When i flash Magisk via TWRP it says its successful but when i go to reboot it won't boot up
Has anyone experienced this before or have successfully installed Magisk on Xperia Z2 that can help me out?
same problem here. can anyone recommend a solution ?
Same here.. Finally recovered my device flashing stock...
https://forum.xda-developers.com/lg-g5/development/stock-h850-20d-eu-rom-flashable-zips-t3592762
Before Magisk installs anything on your device, it will create a boot image backup in /data/stock_boot_<sha1>.img.gz
If anything goes wrong (e.g. bootloop), you can either use the uninstaller (recommended) or decompress the backup and manually restore your boot image
It should ALWAYS bring your device back to life (suppose you have a custom recovery that can decrypt your /data)
Click to expand...
Click to collapse
Source: Main Thread
TatesMan said:
Source: Main Thread
Click to expand...
Click to collapse
How to install the unistaller while the phone is in bootloop and i can't access recovery
deathlove70 said:
How to install the unistaller while the phone is in bootloop and i can't access recovery
Click to expand...
Click to collapse
If you can't access recovery you've got bigger issues than getting a bootloop from flashing Magisk. Can you access the bootloader to fastboot flash or boot a recovery image?
Didgeridoohan said:
If you can't access recovery you've got bigger issues than getting a bootloop from flashing Magisk. Can you access the bootloader to fastboot flash or boot a recovery image?
Click to expand...
Click to collapse
i can access flash mode and fast bootmode in flash tool. it says the phone is connected
deathlove70 said:
How to install the unistaller while the phone is in bootloop and i can't access recovery
Click to expand...
Click to collapse
try to boot using 'power+ volume down' to boot into recovery, if that didnt work then you have to boot into fastboot then flash the recovery from there
deathlove70 said:
i can access flash mode and fast bootmode in flash tool. it says the phone is connected
Click to expand...
Click to collapse
Cool. Then you should be good to go. If you don't know how to proceed from here, you should go to your device's forum for help.
can you make it simple and tell me what t do ?
what files should i flash ?
i have sony xperia Z2
---------- Post added at 11:16 PM ---------- Previous post was at 11:14 PM ----------
TatesMan said:
try to boot using 'power+ volume down' to boot into recovery, if that didnt work then you have to boot into fastboot then flash the recovery from there
Click to expand...
Click to collapse
boot via power+volume down didn't work. what's the file to flash ?
deathlove70 said:
can you make it simple and tell me what t do ?
what files should i flash ?
i have sony xperia Z2
---------- Post added at 11:16 PM ---------- Previous post was at 11:14 PM ----------
boot via power+volume down didn't work. what's the file to flash ?
Click to expand...
Click to collapse
best advice is to head to your device's forum and check for guides there on how to flash custom recovery (twrp) there.
Connect your phone with pc, go into fastboot mode and type on fastboot
Code:
fastboot boot recovery
Or try a simple ways with power button with volume -/+ or both just try it
i recovered the phone but lost the root and can't root my phone. i am on marshmallow stock firmware
Hi, today i saw a notification of magisk saying there's a new version aviable, i clicked and i selected the automatic update option, after done, i rebooted my phone, but now it is blocked in a loop witouth showing screen, what can i do?

Lenovo K3 Note loops into TWRP after factory reset, not booting to Android or OS

Hi Guys
My brothers lenovo K3note was runing RR rom and he did factory reset the phone, but now it only goes to TWRP and not booting into the OS
I tried to reinstall the RR rom, it installs normally but after reboot from TWRP, it goes back to TWRP instead of android Os.
What can i do now, please help
any help guys,
skyh3ck said:
Hi Guys
My brothers lenovo K3note was runing RR rom and he did factory reset the phone, but now it only goes to TWRP and not booting into the OS
I tried to reinstall the RR rom, it installs normally but after reboot from TWRP, it goes back to TWRP instead of android Os.
What can i do now, please help
Click to expand...
Click to collapse
Hello mate
Don't worry.. Just wipe system, data and cache and re-install rr rom. The same thing happened to me when i did a factory reset on that ROM.
i did all, it shows as installing but after reboot goes back to TWRP recovery only
change ur twrp recovery, i mean update your twrp recovery and you will never face this problem....
skyh3ck said:
i did all, it shows as installing but after reboot goes back to TWRP recovery only
Click to expand...
Click to collapse
I had the same problem a few days back. I tried everything but at the end, I had to flash the stock ROM using SP Flash Tool. After that, I was able to boot into Stock Android and rooted the phone again and installed the Custom Rom later.
TheRootRiffs said:
I had the same problem a few days back. I tried everything but at the end, I had to flash the stock ROM using SP Flash Tool. After that, I was able to boot into Stock Android and rooted the phone again and installed the Custom Rom later.
Click to expand...
Click to collapse
And from where have you downloaded the stock ROM?
VinayakS said:
And from where have you downloaded the stock ROM?
Click to expand...
Click to collapse
youtube(dot)com/watch?v=TySRc_DkcFk&t=251s
Follow this
TheRootRiffs said:
youtube(dot)com/watch?v=TySRc_DkcFk&t=251s
Follow this
Click to expand...
Click to collapse
Thanks, I have already downloaded from some other URL.
@ skyh3ck and VinayakS
did it help?
My phone got a bootloop to twrp 3.0.2-7 after I wanted to restore to factory settings (from settings menu), I tried flashing 'new' RR-N-v5.8.5-20170926-aio_otfp-FINAL (during flashing I had 2 errors - logs available), tried to flash with some other roms, I tried to restore some old backups - same thing = bootloop to twrp.
I don't want to brick it like the guy from this thread https://forum.xda-developers.com/k3-note/help/help-unbricking-k3-note-k50a40-charging-t3699007
Krzykor said:
@ skyh3ck and VinayakS
did it help?
My phone got a bootloop to twrp 3.0.2-7 after I wanted to restore to factory settings (from settings menu), I tried flashing 'new' RR-N-v5.8.5-20170926-aio_otfp-FINAL (during flashing I had 2 errors - logs available), tried to flash with some other roms, I tried to restore some old backups - same thing = bootloop to twrp.
I don't want to brick it like the guy from this thread https://forum.xda-developers.com/k3-note/help/help-unbricking-k3-note-k50a40-charging-t3699007
Click to expand...
Click to collapse
I did not had time to revert rooting and remove custom recovery, so can't say much at this moment.
But your bootloop issue is most probably due to presence of TWRP, you need to completely remove root & TWRP, restore stock boot and recovery, then try.
VinayakS said:
But your bootloop issue is most probably due to presence of TWRP, you need to completely remove root & TWRP, restore stock boot and recovery, then try.
Click to expand...
Click to collapse
Fortunately I've made it working again.
What I did, I flashed phone with SP FLash Tool 5.1628 and K50a40_S433_160909_ROW https://forum.xda-developers.com/k3-note/development/official-build-lenovo-k3-note-k50a40-6-t3370537. But it was not success at that time. Phone acted weirdly couldn't boot, only vibration after power on could be felt. So I tried to flash only the recovery Lenovo K3 Note Stock Recovery.img 10,2MB (also in the package but not default recovery image for S433) with the scatter map from S433 stockrom but SPFL said that it didn't end successfully, so I flashed only rocovery from stock rom S433 target_bin folder recovery.img 12800kB and then voila, it started to boot, there was a Lenovo logo, took some time to start but eventually phone is working.
Now I want to root it and / or flash correct version because my phone is actually k50-t5 not k50a40.
So thanks and good luck to those with similar problems after restoring factory settings on AIMROM.
same prob happend to me
first time encountering with TWRP loop.
downloading the stock rom
if there is any improvements will update
the solution for this(FIX)
all we need to do is reinstall a stock recovery and the again reinstall the TWRP
https://forum.xda-developers.com/k3-...-note-t3102997
follow this link..my phone just got fixed
nidheeshv said:
all we need to do is reinstall a stock recovery and the again reinstall the TWRP
https://forum.xda-developers.com/k3-...-note-t3102997
follow this link..my phone just got fixed
Click to expand...
Click to collapse
That link is incorrect / not working.
updating
VinayakS said:
That link is incorrect / not working.
Click to expand...
Click to collapse
wait i will update the link now
---------- Post added at 12:05 PM ---------- Previous post was at 11:49 AM ----------
Before proceeding download a stock and TWRP recovery from the link below
https://drive.google.com/file/d/0B2I5z1mFfUpcTUtjWUtpUmFCRWM/view
this is the stock recovery,extract this recovery and paste the contents to a folder named STOCK
https://drive.google.com/file/d/0B2I5z1mFfUpcaE5sZTk3M2Vrc1E/view
this is the TWRP recovery,extract this recovery and paste the contents to a folder named TWRP
1.install adb and fastboot on ur laptop.(am using ububtu 16.04)
2.make the phone to go to TWRP
3.plug in the usb
4.open terminal and type adb devices
5.see if device is detected ,if detected do the following
go to the STOCK rfolder u created and open terminal there.and type the following
adb reboot bootloader
fastboot devices
fastboot flash recovery recovery.img
fastboot reboot
6.Now ur device will have stock recovery.
7.again repeat the above steps instead of STOCK use TWRP recovery.
8.your device will boot up with TWRP recovery build in
---------- Post added at 12:10 PM ---------- Previous post was at 12:05 PM ----------
nidheeshv said:
wait i will update the link now
---------- Post added at 12:05 PM ---------- Previous post was at 11:49 AM ----------
Before proceeding download a stock and TWRP recovery from the link below
https://drive.google.com/file/d/0B2I5z1mFfUpcTUtjWUtpUmFCRWM/view
this is the stock recovery,extract this recovery and paste the contents to a folder named STOCK
https://drive.google.com/file/d/0B2I5z1mFfUpcaE5sZTk3M2Vrc1E/view
this is the TWRP recovery,extract this recovery and paste the contents to a folder named TWRP
1.install adb and fastboot on ur laptop.(am using ububtu 16.04)
2.make the phone to go to TWRP
3.plug in the usb
4.open terminal and type adb devices
5.see if device is detected ,if detected do the following
go to the STOCK rfolder u created and open terminal there.and type the following
adb reboot bootloader
fastboot devices
fastboot flash recovery recovery.img
fastboot reboot
6.Now ur device will have stock recovery.
7.again repeat the above steps instead of STOCK use TWRP recovery.
8.your device will boot up with TWRP recovery build in
Click to expand...
Click to collapse
dont download the files from the below link ,its for a different device ,its just a reference i used
the reference is
http://https://forum.xda-developers.com/oneplus-5/how-to/guide-fix-twrp-recovery-script-loop-t3649727
nidheeshv said:
wait i will update the link now
---------- Post added at 12:05 PM ---------- Previous post was at 11:49 AM ----------
Before proceeding download a stock and TWRP recovery from the link below
https://drive.google.com/file/d/0B2I5z1mFfUpcTUtjWUtpUmFCRWM/view
this is the stock recovery,extract this recovery and paste the contents to a folder named STOCK
https://drive.google.com/file/d/0B2I5z1mFfUpcaE5sZTk3M2Vrc1E/view
this is the TWRP recovery,extract this recovery and paste the contents to a folder named TWRP
1.install adb and fastboot on ur laptop.(am using ububtu 16.04)
2.make the phone to go to TWRP
3.plug in the usb
4.open terminal and type adb devices
5.see if device is detected ,if detected do the following
go to the STOCK rfolder u created and open terminal there.and type the following
adb reboot bootloader
fastboot devices
fastboot flash recovery recovery.img
fastboot reboot
6.Now ur device will have stock recovery.
7.again repeat the above steps instead of STOCK use TWRP recovery.
8.your device will boot up with TWRP recovery build in
Click to expand...
Click to collapse
dont download the files from the below link ,its for a different device ,its just a reference i used
the reference is
http://https://forum.xda-developers.com/oneplus-5/how-to/guide-fix-twrp-recovery-script-loop-t3649727
sudip_55 said:
change ur twrp recovery, i mean update your twrp recovery and you will never face this problem....
Click to expand...
Click to collapse
Exactly the same thing happened to me.
So I tried your idea and updated my TWRP, going from 2.8 to 3.1..1
But exactly the same thing happens - it still bootloops, but to the new TWRP.
I've tried flashing several different ROMs that all worked in the past. But no change.
Salvadorfreeman said:
Exactly the same thing happened to me.
So I tried your idea and updated my TWRP, going from 2.8 to 3.1..1
But exactly the same thing happens - it still bootloops, but to the new TWRP.
I've tried flashing several different ROMs that all worked in the past. But no change.
Click to expand...
Click to collapse
do as what i have mentioned above,..and give update
It worked ! Thanks.
The reason I didn't try it straight away was all the comments about wrong links etc. And some of the links afterwards didn't work. So I was looking for a recovery.img file in other places.
I read your new message, so I used the first link in your post which gave me the recovery img. The TWRP link doesn't seem to work, but I already have an up to date TWRP on the phone.

Pixel 2 XL Failed OTA Magisk Meathod

Been using the Magisk OTA installation meathod on my Pixel 2 XL as outlined on
https://topjohnwu.github.io/Magisk/tutorials.html#ota-installation
Has always worked but with todays January 2019 update now once I rebooted phone goes to recovery says
"Can't load android system. your data may be corrupt" all it gives is retry or factory reset.
I have tried several times and same error
I have exactly the same problem! What I did notice is that the original boot.img's size is ~40Mb and the size of patched_boot.img is ~25Mb. I was able to get the phone to boot up normally again by reflashing boot.img.
arb1125 said:
I have exactly the same problem! What I did notice is that the original boot.img's size is ~40Mb and the size of patched_boot.img is ~25Mb. I was able to get the phone to boot up normally again by reflashing boot.img.
Click to expand...
Click to collapse
Where did you get that from?
I extracted the boot.img from the factory image zip file.
arb1125 said:
I extracted the boot.img from the factory image zip file.
Click to expand...
Click to collapse
Was is from the full 2019 jan OTA?
arb1125 said:
I extracted the boot.img from the factory image zip file.
Click to expand...
Click to collapse
I am in the bootloader but its not being detected, is it because I probably had usb debugging turned off?
Yes it was from the Jan 2019 factory image.
I used the fastboot command: fastboot boot boot.img.
I do have usb debug enabled
---------- Post added at 09:17 PM ---------- Previous post was at 09:04 PM ----------
I don't think having usb debugging disabled will affect fastboot
arb1125 said:
Yes it was from the Jan 2019 factory image.
I used the fastboot command: fastboot boot boot.img.
I do have usb debug enabled
---------- Post added at 09:17 PM ---------- Previous post was at 09:04 PM ----------
I don't think having usb debugging disabled will affect fastboot
Click to expand...
Click to collapse
I was unable to get adb devices to detect it in fastboot, i am in stock recovery now trying the adb sideload of the ota
that worked
back up and running ...phew
usb debugging was disabled. re enabled now
i did also notice the boot.img was 4.25mb vs what should be about 25-40mb
The one I extracted from the factory zip was around 40 Mb.
arb1125 said:
The one I extracted from the factory zip was around 40 Mb.
Click to expand...
Click to collapse
when I use Magisk to patch , the patched vs comes out to 4.25 and i think thats where the problem lies
I tried a few more things later this afternoon..
First I checked and saw that there is a newer version of Platform tools (platform-tools_r28.0.1-windows.zip) downloaded and worked in the new platform-tools directory.
I then flashed TWRP
I then I then tried to install Magisk17.3.zip using TWRP when install was complete I tried to reboot to system. It rebooted back to TWRP. I used fastboot to reinstall the original boot.img
I then tried to install Magisk18.1.zip using TWRP when install was complete I tried to reboot to system. It rebooted back to TWRP. I used fastboot to reinstall the original boot.img
I think I'm going to try the diagnostic version of Magisk 18.1 next.
Hopefully there is someone else who has a solution to our problem.
arb1125 said:
I tried a few more things later this afternoon..
First I checked and saw that there is a newer version of Platform tools (platform-tools_r28.0.1-windows.zip) downloaded and worked in the new platform-tools directory.
I then flashed TWRP
I then I then tried to install Magisk17.3.zip using TWRP when install was complete I tried to reboot to system. It rebooted back to TWRP. I used fastboot to reinstall the original boot.img
I then tried to install Magisk18.1.zip using TWRP when install was complete I tried to reboot to system. It rebooted back to TWRP. I used fastboot to reinstall the original boot.img
I think I'm going to try the diagnostic version of Magisk 18.1 next.
Hopefully there is someone else who has a solution to our problem.
Click to expand...
Click to collapse
Any solution on to getting this to install?
I finally got everything working by:
1) downloading platform tools version 28.0.1
2) downloading the January 2019 factory release and then unzipped it into the platform tools directory
3) booted phone into bootloader
4) ran flash-all from platform-tools
5) booted up system and skipped through set up screens.
6) went to setup and activated developer menu
7) in developer, enabled USB debugging and set default USB mode to file transfer
8) copied magisk version 18 from PC to phone main directory
9) copied trwp zip version 3.2.3-1 to phone main directory
10) rebooted phone into bootloader
11) typed fastboot boot twrp version 3 2.3-1 Img
12) phone should reboot into twrp, if not try again
13) once in twrp install twrp zip
14) I think the phone rebooted after that, not sure, anyway
15) reboot to bootloader and select recovery
16) then install magisk
17) then reboot and believe it or not it worked
I'm sorry I didn't get back to you sooner.
So if I am not using TWRP shouldn't I just be able to use magisk with standard recovery?
Every time I flash that patched boot image the phone just boots to the bootloader and does not boot.
I'm using the current stable condition at 18.0
Sent from my Pixel 2 XL using Tapatalk
Yes you should, but for some reason it doesn't work.
It seems to boot up fine if you first flash twrp and then flash magisk.
I just dirty flashed the January (2019) security update on my Google Pixel 2 XL and then reinstalled Magisk 18, but whenever I reboot my phone, Magisk is no longer installed.
I flashed the patched boot img using fastboot (I also have stock recovery) and the first time it boots, Magisk is installed and works fine, but if I reboot after that, it's no longer installed.
What fastboot command did you use to flash the modified boot image?
arb1125 said:
What fastboot command did you use to flash the modified boot image?
Click to expand...
Click to collapse
fastboot boot patched_boot.img
I think you need to use: flashboot flash boot boot.img
---------- Post added at 11:13 PM ---------- Previous post was at 11:11 PM ----------
Sorry not boot.img but patched_boot.img
Thanks, that did it.

[MAGISK] [BOOT] Pre rooted Boot.img for Oneplus 6T Android 10 Open Beta 1

Hi Guys
UPDATE 2: (2/11/2019) Boot img now patched to Magisk V20.1 and added Google Drive as a mirror
UPDATE: It has come to my attention that some users are having issues with this version, please note this is still in beta and root isn't fully supported yet, also please make sure your running the latest magisk manager (version 7.3.5 at the time of this update) BEFORE flashing the patched boot IMG, those currently having issues, try flashing the stock IMG provided and installing the latest magisk manager then flashing the patched IMG
here is a working magisk patched boot img for you guys wanting root on your new android 10 open beta 1 software.
PLEASE BE AWARE THIS DOESNT COME WITH TWRP, THIS MAY ALSO BREAK THE ORIGINAL STOCK RECOVERY, BY FLASHING THIS BOOT IMG, YOU TAKE FULL RESPONSIBILITY FOR YOUR DEVICE AND NEITHER I OR XDA WILL BE HELD RESPONSIBLE
this DOESNT contain TWRP but is just rooted with magisk v20.0
simply flash the provided file in fastboot with the following command
Code:
fastboot flash boot magisk_patched.img
Code:
fastboot reboot
Please note this will ONLY work with the OnePlus 6T
i have also provided the stock android 10 boot img in case anything goes wrong
DOWNLOADS::
[CURRENT VERSION - Magisk V20.1]
Mega -> https://mega.nz/#!YI5BkICC!66fiUUdmg1EgGcTNExHZ52IoliVY4HBMBdwxErpI-co
Google Drive -> https://drive.google.com/file/d/1xyRPzsKh1kQXK0_RpdnesuR85vc6FvRf/view?usp=sharing
[OLD Versions]
[Magisk V20.0]
https://mega.nz/#!cQRFwA7b!R1yLz1ozFUTEOLXv-OREK-oF5YeUGN1PrWvSSh22vHw
Stock Boot img
https://mega.nz/#!1BAnRCoK!nu6UVAnR2yHnbaf54FEhc7U_3oEyP1q2BFMU0LK7XC4
Credits:
@oneplus for the phone and stock boot image
@topjohnwu for magisk and his boot image patcher
Trying now. Will report.
Update: Well, after a reboot, it is just sitting at the spinning animated boot logo...been like 10 minutes.
Also couldn't enter recovery after flashing the new patched boot img.
Update 2: Flashed back stock boot.img then recovery worked and phone booted fine.
Do i need a computer for this ?
techlogik said:
Trying now. Will report.
Update: Well, after a reboot, it is just sitting at the spinning animated boot logo...been like 10 minutes.
Also couldn't enter recovery after flashing the new patched boot img.
Update 2: Flashed back stock boot.img then recovery worked and phone booted fine.
Click to expand...
Click to collapse
Did you try this by chance? We have the A/B partitions I don't think "fastboot flash boot ... " flashes both partitions.
Code:
fastboot flash boot_a magisk_patched.img
fastboot flash boot_b magisk_patched.img
charlie95113 said:
Do i need a computer for this ?
Click to expand...
Click to collapse
yes because fastboot command is needed, henced done using pc.
mywebslave said:
Did you try this by chance? We have the A/B partitions I don't think "fastboot flash boot ... " flashes both partitions.
Code:
fastboot flash boot_a magisk_patched.img
fastboot flash boot_b magisk_patched.img
Click to expand...
Click to collapse
Only the active partition gets flashed by default that is booting...it does that fine. I don't think Magisk is compatible on the OP6T for rooting and patching the new boot.img.
Same thing even manually flashing both. It just sits with the spinning boot animation for eternity.
I also used the payload extractor and took the stock boot.img and patched it with Magisk myself. Same issue. So obviously Magisk just doesn't suppor this phone yet and Devs need to work on it.
Thx
techlogik said:
Did you try this by chance? We have the A/B partitions I don't think "fastboot flash boot ... " flashes both partitions.
Only the active partition gets flashed by default that is booting...it does that fine. I don't think Magisk is compatible on the OP6T for rooting and patching the new boot.img.
Same thing even manually flashing both. It just sits with the spinning boot animation for eternity.
I tried patching the stock boot.img myself as well, it ends up being the exact same size as the TS for this method...same problem.
Thx
Click to expand...
Click to collapse
Weird I was able to do the local update and install magisk to the inactive partition prior to reboot. On reboot worked fine just no recovery.
Maybe it just doesn't like this particular one. I used the latest canary version.
I'll try patching one when I get home and see how it goes. If it works out I'll post it here.
mywebslave said:
Weird I was able to do the local update and install magisk to the inactive partition prior to reboot. On reboot worked fine just no recovery.
Maybe it just doesn't like this particular one. I used the latest canary version.
I'll try patching one when I get home and see how it goes. If it works out I'll post it here.
Click to expand...
Click to collapse
Yes, I did the same thing. Also, as mentioned above, I used the payload extractor and grabbed the stock boot.img right from the Beta1 zip file.
Then, cppied over to the phone, used Magisk with Canary build as well, then flashed both boot_a and b directly with the patched file. Just sits at the animated boot spinning.
Flash stock images back, boots right up. I'm on a OP6T unlocked US phone on VZW. No problems with any other build beta or stable with twrp or magisk and custom kernels.
Thanks
techlogik said:
Yes, I did the same thing. Also, as mentioned above, I used the payload extractor and grabbed the stock boot.img right from the Beta1 zip file.
Then, cppied over to the phone, used Magisk with Canary build as well, then flashed both boot_a and b directly with the patched file. Just sits at the animated boot spinning.
Flash stock images back, boots right up. I'm on a OP6T unlocked US phone on VZW. No problems with any other build beta or stable with twrp or magisk and custom kernels.
Thanks
Click to expand...
Click to collapse
So weird. Same setup as mine op6t, unlocked, Verizon. Haven't had a single issue. I'm gonna give it a try in a few minutes. I'll see what happens
---------- Post added at 08:19 PM ---------- Previous post was at 07:43 PM ----------
I did a fresh payload dump. Flashed to both A/B partitions, reboot, booted up fast as hell.
Here's the one I patched
magisk_patched.img
boot.img
Not sure if it makes a difference but I did mine on linux with latest platform tools.
mywebslave said:
So weird. Same setup as mine op6t, unlocked, Verizon. Haven't had a single issue. I'm gonna give it a try in a few minutes. I'll see what happens
---------- Post added at 08:19 PM ---------- Previous post was at 07:43 PM ----------
I did a fresh payload dump. Flashed to both A/B partitions, reboot, booted up fast as hell.
Here's the one I patched
magisk_patched.img
boot.img
Not sure if it makes a difference but I did mine on linux with latest platform tools.
Click to expand...
Click to collapse
So should we be using this instead?
Sent from my ONEPLUS A6013 using Tapatalk
mywebslave said:
So weird. Same setup as mine op6t, unlocked, Verizon. Haven't had a single issue. I'm gonna give it a try in a few minutes. I'll see what happens
---------- Post added at 08:19 PM ---------- Previous post was at 07:43 PM ----------
I did a fresh payload dump. Flashed to both A/B partitions, reboot, booted up fast as hell.
Here's the one I patched
magisk_patched.img
boot.img
Not sure if it makes a difference but I did mine on linux with latest platform tools.
Click to expand...
Click to collapse
Gave this a try, no luck. Stuck in bootloop but as soon as I flashed back the stock boot, it booted up just fine
zhenliang1102 said:
Gave this a try, no luck. Stuck in bootloop but as soon as I flashed back the stock boot, it booted up just fine
Click to expand...
Click to collapse
And this one?
fastboot --set_active=a
fastboot flash boot magisk_patched.img
fastboot --set_active=b
fastboot flash boot magisk_patched.img
fastboot --set_active=a
fastboot reboot
when i flash the magisk_patched.img and my cellphone reboot my cellphone does not recognize my simcard and have no network, am back on the stock boot.img
cultofluna said:
And this one?
fastboot --set_active=a
fastboot flash boot magisk_patched.img
fastboot --set_active=b
fastboot flash boot magisk_patched.img
fastboot --set_active=a
fastboot reboot
Click to expand...
Click to collapse
I doubt this would work because the patched image is only 26mb while the stock boot image is 64mb. Someone mentioned this in the OB thread
Black screen after the update
[Solved] I am facing a serious issue. I was on Magisk v20.0 and Twrp 3.3.1-1
- I uninstalled Magisk
- Installed the OTA from local
- Installed Magisk on the second partition
- Reboot
Phone rebooted
But I am getting a totally blacked out screen. Calls work, vibration, Oneplus gestures work, just the screen is black (even in safe mode)
Can anyone please help me get this sorted (with data preserved if possible) I didn't back up the data cuz I wanted to do it after I updated to 10 (as downgrading wipes the system)
Problems:
ADB is not working (unauthorized) as I haven't turned on any developer options yet and can't due to black screen.
No way to unroot at this point without adb or twrp.
Thanks in advance.
UPDATE: Flashed boot.img and it worked. I guess magisk.img is not compatible or I am doing it wrong. My bet is on the latter.
Hy, do you have proximity sensor problem after update?! Thanks...is anything i can do?
jack5225 said:
[Solved] I am facing a serious issue. I was on Magisk v20.0 and Twrp 3.3.1-1
- I uninstalled Magisk
- Installed the OTA from local
- Installed Magisk on the second partition
- Reboot
Phone rebooted
But I am getting a totally blacked out screen. Calls work, vibration, Oneplus gestures work, just the screen is black (even in safe mode)
Can anyone please help me get this sorted (with data preserved if possible) I didn't back up the data cuz I wanted to do it after I updated to 10 (as downgrading wipes the system)
Problems:
ADB is not working (unauthorized) as I haven't turned on any developer options yet and can't due to black screen.
No way to unroot at this point without adb or twrp.
Thanks in advance.
UPDATE: Flashed boot.img and it worked. I guess magisk.img is not compatible or I am doing it wrong. My bet is on the latter.
Click to expand...
Click to collapse
Same happened to me
Phone boots to a Black screen
adb reboot bootloader -> works
fastboot flash boot boot.img -> works
Only Patched boot.img -> boots to black screen
Sent from my ONEPLUS A6010 using Tapatalk
Same for me. Softbrick and phone doesn't boot. It also encrypted my whole /data with diferent password i think and I had to wipe whole /data partition. System boots after wiping data storage but as soon as I install magisk it doesn't want to boot again. I guess I will wait for final image and TWRP support.
i couldnt flash it manually (via cmd), but all in one tool managed it well.
worked fine and quick,thank you
Crazy that some phones it is working and others it doesn't. Nothing we are doing wrong, OP has work to do still. I can imagine this official update to Q is going to cause a support fiasco...if you want to root that is. ROFL. All works fine with stock though upgrade. Understand it is Beta, but they claim a November official release
We are going to need some Dev help. Or going to need to sell this phone and upgrade to the 7t or Pro..haha

Categories

Resources