Related
Hi guys,
I tried to flash TWRP on my Wiko Lenny 4 earlier.
I used adb and fastboot to flash it, however the touchscreen wouldn't work and I was stuck at the "swipe to allow kernel modifications" screen in TWRP. No problem, I reboot in recovery mode, and switched to fastboot mode.
I found another TWRP image and, after flashing with
-> fastboot flash recovery twrp.img
I typed another command,
- >fastboot boot twrp.img.
Since then I am stuck at the Wiko boot screen, saying:
Orange State
Your device has been unlocked and can't be trusted (initially I unlocked OEM)
Your device will boot in 5 seconds
Whatever combination of power+vol up/down I try to use, it only reboots to this screen.
adb won't reconize any device, as well as fastboot. And both are up-to-date.
Perhaps there exists a recovery image that I can put on my sd card, and hopefully it will automatically boot on the sd card as I don't have any control right now.
If someone has an idea, please tell me.
thanks
[EDIT] Solved
Using this link https://aiomobilestuff.com/how-to-unbrick-wiko-stock-firmware-via-wiko-official-site/
I was able to download Wiko's recovery tool from https://customer-world.wikomobile.com/
After unzipping and starting the software, it automatically installed drivers (I guess, if it does not, mediatek usb wiko drivers can be used instead) and downloaded the software into the phone which works now.
Hello every body
i cant find the magisk_patched 10.3.3 (Indian version), i searched every were but unfortunately i couldn't find it, i also try to extracted the boot.img from the update zip through payload dumper and then batch it on old nexus 6 device which is retired as workaround solution then try to flash the file via fastboot but it keeps looping at fastboot screen
please help guy i need the magisk_patched 10.3.3 (Indian version) file so my phone work back to normal
any help is highly appreciated
God bless you all
suhb20 said:
Hello every body
i cant find the magisk_patched 10.3.3 (Indian version), i searched every were but unfortunately i couldn't find it, i also try to extracted the boot.img from the update zip through payload dumper and then batch it on old nexus 6 device which is retired as workaround solution then try to flash the file via fastboot but it keeps looping at fastboot screen
please help guy i need the magisk_patched 10.3.3 (Indian version) file so my phone work back to normal
any help is highly appreciated
God bless you all
Click to expand...
Click to collapse
from Next time do this,
Don't ever flash some random Boot image from Internet, just boot it -
In short -
Get a recently magisk patched boot image (either recent beta or recent stable build patched boot image)
Connect your phone to PC
now reboot to bootloader and run this command,
fastboot boot magisk_patched.img
Don't flash boot image
Install Magisk manager and from it select Install > Direct install
Reboot
But since you have already flashed the wrong one. Here , flash the magisk_patched boot img of 10.3.3 Indian Build -
https://androidfilehost.com/?fid=8889791610682876433
Note : I am not responsible if anything goes wrong, Flash it at your own risk.
Aswin08 said:
from Next time do this,
Don't ever flash some random Boot image from Internet, just boot it -
In short -
Get a recently magisk patched boot image (either recent beta or recent stable build patched boot image)
Connect your phone to PC
now reboot to bootloader and run this command,
fastboot boot magisk_patched.img
Don't flash boot image
Install Magisk manager and from it select Install > Direct install
Reboot
But since you have already flashed the wrong one. Here , flash the magisk_patched boot img of 10.3.3 Indian Build -
https://androidfilehost.com/?fid=8889791610682876433
Note : I am not responsible if anything goes wrong, Flash it at your own risk.
Click to expand...
Click to collapse
Thank you very much for your reply, allow me to explain what happened before i proceed to your solution
- After updating from 10.3.2 to 10.3.3 i was able to flash magisk_patched file but the problem is no WIFI & SIM
- after many attempts by flashing magisk_patched the device keeps looping to either fastboot mode or unlocked boot screen.
- I extracted the boot.img file from original full update file by using using Payload Dumper then i moved that boot.img file to an old NEXUS phone which is rooted so i can patched it by using magisk which i then flash it back to my OnePlus 7T but it keeps looping to fastboot mode
- By some how i was able to work after downloading from (https://drive.google.com/drive/folders/1MCfCPci7F7FGl5ZHVTNRKVq9j8RBCUih)
- when i reached home i wanted to update magisk (i select to inactive OTA slot) everything is missed up , but unfortunately the device keeps looping even though i used this file (https://forum.xda-developers.com/oneplus-7t/how-to/oos-10-0-11-magisk-patched-boot-img-t4106435)
- Suddenly the device shows "Qualcomm crash dump mode" which is a bad sign but after pressing Power + Vol UP + Vol DOWN i was able to get back the fastboot screen (which i think its a good sign)
- i flashed magisk_patched.img 10.0.11 but the device keeps looping to unlocked boot screen.
How can i find the correct magisk_patched.img for 10.3.3 ? i am using Titanium Back, is there a way that i can connect the phone to my PC and copy all my files before i flash a new Stock OS if this is the last solution !!
Question : If i use another solution by using "TOOL ALL IN ONE" then flash factory image ? will this fix the problem and keep my data
Note : i am very optimistic that my data is safe but its an issue of booting...... I hope so
Wating for your reply and thank you very much
suhb20 said:
Thank you very much for your reply, allow me to explain what happened before i proceed to your solution
- After updating from 10.3.2 to 10.3.3 i was able to flash magisk_patched file but the problem is no WIFI & SIM
- after many attempts by flashing magisk_patched the device keeps looping to either fastboot mode or unlocked boot screen.
- I extracted the boot.img file from original full update file by using using Payload Dumper then i moved that boot.img file to an old NEXUS phone which is rooted so i can patched it by using magisk which i then flash it back to my OnePlus 7T but it keeps looping to fastboot mode
- By some how i was able to work after downloading from (https://drive.google.com/drive/folders/1MCfCPci7F7FGl5ZHVTNRKVq9j8RBCUih)
- when i reached home i wanted to update magisk (i select to inactive OTA slot) everything is missed up , but unfortunately the device keeps looping even though i used this file (https://forum.xda-developers.com/oneplus-7t/how-to/oos-10-0-11-magisk-patched-boot-img-t4106435)
- Suddenly the device shows "Qualcomm crash dump mode" which is a bad sign but after pressing Power + Vol UP + Vol DOWN i was able to get back the fastboot screen (which i think its a good sign)
- i flashed magisk_patched.img 10.0.11 but the device keeps looping to unlocked boot screen.
How can i find the correct magisk_patched.img for 10.3.3 ? i am using Titanium Back, is there a way that i can connect the phone to my PC and copy all my files before i flash a new Stock OS if this is the last solution !!
Question : If i use another solution by using "TOOL ALL IN ONE" then flash factory image ? will this fix the problem and keep my data
Note : i am very optimistic that my data is safe but its an issue of booting...... I hope so
Wating for your reply and thank you very much
Click to expand...
Click to collapse
Did you try flashing the 10.3.3 boot image i have provided above?
And btw you can't get out the data in any other way without booting because of encryption.
Aswin08 said:
Did you try flashing the 10.3.3 boot image i have provided above?
And btw you can't get out the data in any other way without booting because of encryption.
Click to expand...
Click to collapse
Hello,
You know what today afternoon i was just getting the USB cable so i can connect my OnePlus 7T to my laptop when i just picked up my phone i noticed that its not on the Unlocked boot loader screen" its was just normal as before (every is was working fine...every thing) i was really astonished what happened when i checked the OS its 10.3.3 and every thing is working fine even root is working, what i need to do is update magisk (direct install) as you told me
I really don't know what happened but i am very happy for that
i really appreciate your prompt help and assistance even thought i didn't do any thing.
one question please ..what is the difference between :
- fastboot boot magisk_patched.img
- fastboot flash boot magisk_patched.img
Best regards and wishes
suhb20 said:
Hello,
You know what today afternoon i was just getting the USB cable so i can connect my OnePlus 7T to my laptop when i just picked up my phone i noticed that its not on the Unlocked boot loader screen" its was just normal as before (every is was working fine...every thing) i was really astonished what happened when i checked the OS its 10.3.3 and every thing is working fine even root is working, what i need to do is update magisk (direct install) as you told me
I really don't know what happened but i am very happy for that
i really appreciate your prompt help and assistance even thought i didn't do any thing.
one question please ..what is the difference between :
- fastboot boot magisk_patched.img
- fastboot flash boot magisk_patched.img
Best regards and wishes
Click to expand...
Click to collapse
boot command just boots that img temporarily, when you restart the phone 2nd time, your original img will be retained . If anything goes wrong you won't get into trouble.
flash is.. usual permanently flashing the boot image into your system.
I've been trying to root my Note 9T. The bootloader has been unlocked, and I've followed a guide from here: https://unofficialtwrp.com/twrp-3-4-2-root-redmi-note-9-5g-cannon/
I'm now stuck in a bootloop.
Anyone been successful?
I additionally tried using a different version of TWRP, which wiped the "misc" partition. Can anyone provide an image dump of the misc partition so I can flash it back on? I can't find a copy of misc in the stock firmware file.
UPDATE 1:
I put the full stock image back on and am back to having a working unrooted phone, so I don't need the misc image. Would really like to get this thing rooted though.
I've installed the Magisk APK, patched the boot image, and flashed it. But this also results in a boot loop. If I flash the stock image back it works again. Any ideas what's going on here?
UPDATE 2:
I got it working! The key was to flash the stock vbmeta.img with fastboot functions to disable it.
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Hiya. I've tried that and managed to get to the twrp page. However, when I go to install magisk via twrp, it just reboots into a bootloop. Any ideas?
Update: This seems to have worked.
[SOLVED] Phone gets stuck in bootloop if I try to install Magisk ZIP!
From the forum I followed these step to install magisk: - Patched my boot.img of my current rom using Magisk Manager and flashed via fastboot - After rebooting from fastboot it got stuck in recovery so had to wipe all data and it booted finally...
forum.xda-developers.com
Did you manage to get Magisk working after the reinstall of stock firmware, or you've just resolved the bootloop?
dsclee1 said:
I've been trying to root my Note 9T. The bootloader has been unlocked, and I've followed a guide from here: https://unofficialtwrp.com/twrp-3-4-2-root-redmi-note-9-5g-cannon/
I'm now stuck in a bootloop.
Anyone been successful?
I additionally tried using a different version of TWRP, which wiped the "misc" partition. Can anyone provide an image dump of the misc partition so I can flash it back on? I can't find a copy of misc in the stock firmware file.
UPDATE 1:
I put the full stock image back on and am back to having a working unrooted phone, so I don't need the misc image. Would really like to get this thing rooted though.
I've installed the Magisk APK, patched the boot image, and flashed it. But this also results in a boot loop. If I flash the stock image back it works again. Any ideas what's going on here?
UPDATE 2:
I got it working! The key was to flash the stock vbmeta.img with fastboot functions to disable it.
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Click to expand...
Click to collapse
I'm interesting in at least rooting and if possible install TWRP .
Can you post i complete procedure to root the note 9 T ?
Thanks
I can have a go. But I'm not 100% sure what exact steps I took that got it working, as I flashed and re-flashed several times. Give this a try and let me know if it works or not?
WARNING: EXPECT TO LOSE ALL THE DATA ON YOUR PHONE!
Step 1
Obviously you need to unlock the bootloader first: https://en.miui.com/unlock/
If you haven't done this already, after your application it's likely you might have to wait 7 days before Xiaomi actually let you unlock.
Unlocking wipes your data.
Step 2
Start the phone normally. Copy the latest magisk apk (https://github.com/topjohnwu/Magisk/releases) over to the phone and install it.
Step 3
Find the correct original ROM for your device (https://xiaomifirmwareupdater.com/miui/cannong/). You'll need the full image. From the ROM extract the boot.img and vbmeta.img. Copy the boot.img over to your phone.
Step 4
In magisk choose the option to install and select "Select and Patch a File" (should be the only option anyway). Select the boot.img you copied over. This will produce a new file called something like "magisk_patched-22100_XXXXX.img". Copy this file off your phone and onto your computer.
Step 5
Boot your phone to fastboot mode (you should already know how to do this, as you would have had to have done it to unlock your phone in the first place - Hold down Volume Down and the Power button at the same time).
Step 6
Run the following commands (obviously replace the boot image with the correct magisk image, and use the vbmeta.img you took from the ROM):
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot flash boot magisk_patched-22100_XXXXX.img
Hopefully this will work. But I can't be 100% sure, as the disabling of "verity" could mean that your encrypted user data now can't be read (if you've only just unlocked the bootloader then you're not going to have any data anyway, so not too much of an issue). If this is the case it's likely you'll now need to factory reset the phone. Hold down Volume Up and Power on start to reach the stock recovery menu, and there's a selection for factory reset. You can also install TWRP at this point, and could then use it's factory reset function instead. I downloaded this version of TWRP: https://www.mediafire.com/file/ou8553psro9yyt2/3.4.2_redmi_note_9_5G.rar/file, which came from the other rooting guide (https://unofficialtwrp.com/twrp-3-4-2-root-redmi-note-9-5g-cannon/ - which didn't work). Just flash that version of TWRP to the recovery partition (fastboot flash recovery recovery.img), and ignore all the steps given in the guide it came from.
Let me know how you get on.
sorry for the answer delay.
Adding my 2 cents about unlocking the bootlader .
In order to do it .
FIRST - do not try it from a virtual PC . It does not work (at least it did not work for me)
SECOND , before to run the xiaomi batch_unlock bootlader , don't forget to update google usb drivers
I hard some hard time to just connect the unlocker to my phone . Now i have to wait 167 hours to complete the process .
dsclee1 said:
I've been trying to root my Note 9T. The bootloader has been unlocked, and I've followed a guide from here: https://unofficialtwrp.com/twrp-3-4-2-root-redmi-note-9-5g-cannon/
I'm now stuck in a bootloop.
Anyone been successful?
I additionally tried using a different version of TWRP, which wiped the "misc" partition. Can anyone provide an image dump of the misc partition so I can flash it back on? I can't find a copy of misc in the stock firmware file.
UPDATE 1:
I put the full stock image back on and am back to having a working unrooted phone, so I don't need the misc image. Would really like to get this thing rooted though.
I've installed the Magisk APK, patched the boot image, and flashed it. But this also results in a boot loop. If I flash the stock image back it works again. Any ideas what's going on here?
UPDATE 2:
I got it working! The key was to flash the stock vbmeta.img with fastboot functions to disable it.
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Click to expand...
Click to collapse
ive been trying for the last 4 hours to flash twrp on my redmi note 9T 5g global..can you please explain to me how you got it to work. i flashed the recovery.img and vbmeta.img file that i got from the unofficialtwrp.com download, when i flash boot recovery.img, it just reboots my phone into normal...and i missing something? My device is on Miui 12.0.8.0 andriod 10. should i be on the new update 12.5 andriod 11 for it to work. Please help.
dsclee1 said:
I can have a go. But I'm not 100% sure what exact steps I took that got it working, as I flashed and re-flashed several times. Give this a try and let me know if it works or not?
WARNING: EXPECT TO LOSE ALL THE DATA ON YOUR PHONE!
Step 1
Obviously you need to unlock the bootloader first: https://en.miui.com/unlock/
If you haven't done this already, after your application it's likely you might have to wait 7 days before Xiaomi actually let you unlock.
Unlocking wipes your data.
Step 2
Start the phone normally. Copy the latest magisk apk (https://github.com/topjohnwu/Magisk/releases) over to the phone and install it.
Step 3
Find the correct original ROM for your device (https://xiaomifirmwareupdater.com/miui/cannong/). You'll need the full image. From the ROM extract the boot.img and vbmeta.img. Copy the boot.img over to your phone.
Step 4
In magisk choose the option to install and select "Select and Patch a File" (should be the only option anyway). Select the boot.img you copied over. This will produce a new file called something like "magisk_patched-22100_XXXXX.img". Copy this file off your phone and onto your computer.
Step 5
Boot your phone to fastboot mode (you should already know how to do this, as you would have had to have done it to unlock your phone in the first place - Hold down Volume Down and the Power button at the same time).
Step 6
Run the following commands (obviously replace the boot image with the correct magisk image, and use the vbmeta.img you took from the ROM):
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot flash boot magisk_patched-22100_XXXXX.img
Hopefully this will work. But I can't be 100% sure, as the disabling of "verity" could mean that your encrypted user data now can't be read (if you've only just unlocked the bootloader then you're not going to have any data anyway, so not too much of an issue). If this is the case it's likely you'll now need to factory reset the phone. Hold down Volume Up and Power on start to reach the stock recovery menu, and there's a selection for factory reset. You can also install TWRP at this point, and could then use it's factory reset function instead. I downloaded this version of TWRP: https://www.mediafire.com/file/ou8553psro9yyt2/3.4.2_redmi_note_9_5G.rar/file, which came from the other rooting guide (https://unofficialtwrp.com/twrp-3-4-2-root-redmi-note-9-5g-cannon/ - which didn't work). Just flash that version of TWRP to the recovery partition (fastboot flash recovery recovery.img), and ignore all the steps given in the guide it came from.
Let me know how you get on.
Click to expand...
Click to collapse
should I be on the latest version of Miui...12.5 android 11? for me to be able to install twrp. i downgraded back to Miui 12.0.8.0 android 10 as i didnt like my data folder been blocked in android folder. My device is global cannong redmi 9T 5g with diminsity 800u soc, can you please help if you can. thanks in advance
Android 10 is fine. You need to fastboot flash recovery recovery.img
To boot into it you need to turn the phone off, then hold vol up and power until you feel a buzz, then let go.
I have the same Problem as HighEndGamer:
if I enter 'fastboot flash recovery recovery.img', it sayes that everything worked OK in just a few seconds. But nothing realy happend!
If I enter 'fastboot boot recovery.img', phone boot just as normal.
If I enter 'fastboot oem device-info', it sayes "FAILED (remote: unknown command)'.
If I enter 'fastboot oem lock', it works and I have to start from the beginning..
I have MIUI Global 12.0.2.0{QJEEUMX)
chmick said:
sorry for the answer delay.
Adding my 2 cents about unlocking the bootlader .
In order to do it .
FIRST - do not try it from a virtual PC . It does not work (at least it did not work for me)
SECOND , before to run the xiaomi batch_unlock bootlader , don't forget to update google usb drivers
I hard some hard time to just connect the unlocker to my phone . Now i have to wait 167 hours to complete the process .
Click to expand...
Click to collapse
I confirm it does not work from a VM (and the need for latest drivers). There is something funky going on with the USB communication when running from a VM: the first call of the fastboot executable from the windows VM generally works fine, but any other call hang. So the batch_unlock tool cannot work (since it does call fastboot several times).
Hiya folks.
Well that was a fun brick - And I still don't really know what I did wrong.
I have a T-Mobile LE2127 and it was on Android 12 - I don't need to use it yet, so I am happy to play with it. Bootloader and SIM are unlocked, I can fastboot boot magisk_patched-25200_JdBlm.img to get root, and I can fastboot twrp-3.6.2_11-0-lemonadep
In TWRP-3.6.2 I used dd to grab the boot.img dd if=/dev/block/bootdevice/by-name/boot of=/usbdrive/boot.img and I patched that with the latest Magisk (1)
I tested to see if that would boot up with a fastboot boot and it worked fine - Sooo, I decided to "fastboot flash boot" it and then everything went very wrong.
The boot told me: "Qualcomm CrashDump Mode / da-verity device corrupted / verify_ctr" -- And then it went into an infinite bootloader loop which wouldn't let me into EDL mode (2)
When I was in the infinite loop, I couldn't "fastboot boot" anything, it told me it wouldn't load anything with: error: FAILED (remote: Failed to load/authenticate boot image: Load Error)
Eventually, I used the very useful MSM/lemonadept_22_O.04_210409 package to recover it and now it's working again. (3)
So - What did I do wrong? -- I suspect it may have patched my boot to slot B but I am not sure that should have mattered too much, I popped one back into Slot A as well.
I see a thread on using "adb reboot "dm-verity enforcing" but I didn't have to do that with things I booted from rather than flashed... And I couldn't get into adb at that point anyway. Does this mean my patched boot.img will not do what I want it to anyway?
Anyway, I should stop speculating and ask the experts!
Thanks.
(1) https://www.droidwin.com/extract-boot-img-directly-from-device-without-downloading-firmware/
(2) https://www.droidwin.com/boot-oneplus-9-pro-9r-9rt-to-edl-mode-5-methods/
(3) https://forum.xda-developers.com/t/oneplus-9-11-2-22-2-t-mobile-msm-download-tool.4276119/ -- [No instructions, but just run it as admin, connect phone and it does it all].
What I do is in bootloader mode, fastboot boot twrp, in twrp I install magisk.zip, then reboot system and tap on magisk app and follow prompts. Done
If you have the boot image, place it in your root folder on the phone. Use the magisk manager app ( install on phone) to patch the boot.IMG. Place the patched boot.IMG on your PC. Should be in downloads folder. Fastboot boot this patched IMG. It should boot your phone. Go to magisk manager app and install magisk directly. ( option in manager install). Reboot -- done.
kjslabber said:
If you have the boot image, place it in your root folder on the phone. Use the magisk manager app ( install on phone) to patch the boot.IMG. Place the patched boot.IMG on your PC. Should be in downloads folder. Fastboot boot this patched IMG. It should boot your phone. Go to magisk manager app and install magisk directly. ( option in manager install). Reboot -- done.
Click to expand...
Click to collapse
Ah! That worked and was very simple, thanks... For some reason in my head, I was thinking that Magisk would only patch the booted image, which would be pointless; but it patched the real phone one.
I assume I'll just have to do the same every update.
Thanks!
I'm trying to extract the boot.img from my T-Mobile OnePlus 9 Pro so I can root my device. I found a firmware dumper that doesn't work when the phone is running normally, but it does extract images when I boot the phone into TWRP. However, when I try to boot the boot image on my phone, it doesn't do anything, and I have to force-restart the phone. How can I get the boot.img from my device?
TinkerNerd said:
I'm trying to extract the boot.img from my T-Mobile OnePlus 9 Pro so I can root my device. I found a firmware dumper that doesn't work when the phone is running normally, but it does extract images when I boot the phone into TWRP. However, when I try to boot the boot image on my phone, it doesn't do anything, and I have to force-restart the phone. How can I get the boot.img from my device?
Click to expand...
Click to collapse
In fastboot mode boot TWRP and install magisk.... Then boot system and open magisk and follow prompts to get root...done
TinkerNerd said:
I'm trying to extract the boot.img from my T-Mobile OnePlus 9 Pro so I can root my device. I found a firmware dumper that doesn't work when the phone is running normally, but it does extract images when I boot the phone into TWRP. However, when I try to boot the boot image on my phone, it doesn't do anything, and I have to force-restart the phone. How can I get the boot.img from my device?
Click to expand...
Click to collapse
One way to get it is to connect your phone in edl mode with the stock Tmo msm tool. Press F8, select boot_a and press readback. The password is "oneplus" lowercase without quotes. That will read the boot img and save it to C:\ on your pc.
Then you can adb push it over to /sdcard/ and use magisk to patch that boot image. (Then adb pull it back to pc) Then fastboot boot boot magisk-patched-boot-you-just-made.img like normal. Are you doing fastboot flash or fastboot boot?