[SOLVED] Trying to root Ulefone Armor X7 Pro using Magisk - Android Q&A, Help & Troubleshooting

Dear Community,
I'm trying to root my Ulefone Armor X7 Pro using Magisk and so far I've experienced several issues, starting with unlocking the bootloader.
I hope you can help me somehow.
Here's what I've done and seen so far:
- OEM Unlock enabled and USB Debugging enabled
- Using ADB from latest Google SDK to reboot in FASTBOOT mode
- Now 'fastboot oem unlock' returns FAILED (remote: 'unknown command'). I've tried to wipe cache partition, it doesn't help, I've tried a few workarounds found on this forum with no luck so far...
- I've read that sometimes this command doesn't work so I used 'fastboot flashing unlock' instead --> that one worked
With this done, and stock boot.img, the phone will display an Orange State warning saying that the device can't be trusted. However it will boot anyway (with the stock boot.img).
Also, the OEM Unlock option will be greyed out in developer options after performing this command.
- However, after flashing the boot image that Magisk Manager generated (from the stock boot.img from Ulefone website), the phone goes into a boot loop with a Red State saying that the boot signature is wrong and verified boot should be disabled. (However I don't know how to do this.)
So I flashed back the stock boot.img and could reboot my phone again (at least it is not bricked -- but that was scary).
Now, here are my questions and thoughts:
- Is it normal that 'fastboot oem unlock' won't work? Is it fine to use 'fastboot flashing unlock' instead?
- The boot image generated by Magisk is only 10 MB while the stock one is 32 MB. I've read the thread of issue #2005 Pad Images to Original Size With Zeros on Github and I thought maybe that's why the phone won't boot with the Magisk image. But I don't know exactly what I should do about it. (I'm on Windows.)
- Finally, if the solution is to disable verified boot, how should it be done? Is there anything to do with the 'Preserve AVB 2.0/dm-verity' option in Magisk Manager?
I hope you'll be able to help me and I wish you all the best anyway.
Thank you.

same deal
- It's never been an issue for me if 'fastboot oem unlock' doesn't work. In fact, in my experience (which isn't really that much), it never works. I've always had to use 'fastboot flashing unlock'
- I tried padding the image with zeroes using
Code:
dd if=/dev/zero of=magisk_patched.img bs=1 count=1 seek=33554431
(on a linux box), but it produces the same bootloop. I've tried this same thing with recovery, no such luck.
- I tried flashing via SP Flash Tools, as well. Both the padded and non-padded magisk_patched.img; neither worked. I updated checksum.ini so that flash tools would accept the scatter file. I've tried formatting the section, as well as the 'write memory' tab. SPFT flashes it just fine, but the bootloop continues.
- I even tried patching and flashing boot-debug.img (because why the hell not?) and again, the loop goes on and on.
- I opened up the preloader....bin file in hex editor and removed all instances of 'verify' and flashed via SPFT. Do not do this. The phone will no longer turn on or anything. Luckily, SPFT flashes before anything else in the phone does anything, so it was recovable.
- I tried sideloading my rom as an 'update' but oddly enough adb won't recognize the phone in sideload.
I haven't tried reflashing the whole phone with magisk_patched.img as my boot. I may attempt this. I'll get back to you if I have any luck.
I plan on using mine as a media device (music, video, camera, etc) that I can bring with me on excursions, because I'm terrified to bring my pixel 4xl.. As such, I don't have a SIM card in mine. I have no idea if this would make any difference, but I'm not receiving the 'red state' status saying that verified boot is the issue. I have tried it with unchecking dm-verify, but maybe this hasn't worked. I'm thinking that it may have something to do with vbmeta*.img files. Like I said, I'll let you know if I have any luck

lunalsmojo said:
Like I said, I'll let you know if I have any luck
Click to expand...
Click to collapse
I'll do the same. Thank you for your feedback!

0

success!
vbmeta.img was the issue! I have successfully rooted via magisk!
What you need to do is first flash an empty vbmeta.img file. You can download one by doing a Google search for "mtk empty vbmeta.img"
Just ignore the stuff for TWRP (unless you want to go that route too). Down toward the bottom of the tutorial, there is a link to download an empty vbmeta.img. Move the image into your adb/fastboot folder (or whichever directory you are working from) Then,
Code:
adb reboot bootloader
fastboot flash vbmeta vbeta.img
fastboot flash boot magisk_patched.img
fastboot reboot
I used the tutorial from hovatek.... I'm too much of a newb to post outside links
replace "magisk_patched.img" if you changed the name. I did mine with my padded magisk_patched.img. Let me know if you have issues with yours not being padded

THANK YOU!
lunalsmojo said:
vbmeta.img was the issue! I have successfully rooted via magisk!
What you need to do is first flash an empty vbmeta.img file. You can download one by doing a Google search for "mtk empty vbmeta.img"
Just ignore the stuff for TWRP (unless you want to go that route too). Down toward the bottom of the tutorial, there is a link to download an empty vbmeta.img. Move the image into your adb/fastboot folder (or whichever directory you are working from) Then,
Code:
adb reboot bootloader
fastboot flash vbmeta vbeta.img
fastboot flash boot magisk_patched.img
fastboot reboot
I used the tutorial from hovatek.... I'm too much of a newb to post outside links
replace "magisk_patched.img" if you changed the name. I did mine with my padded magisk_patched.img. Let me know if you have issues with yours not being padded
Click to expand...
Click to collapse
Yes, that worked for me as well!
So, first I tried to uncheck 'Preserve AVB 2.0/dm-verity' before patching the boot.img in Magisk but this didn't work (same bootloop).
Then I patched the boot.img in Magisk with the 'Preserve AVB 2.0/dm-verity' checked, and edited the file in HxD but found no trace of '2C 76 65 72 69 66 79' or 'verify'.
Finally I resigned myself to flash the empty vbmeta.img found on Hovatek's website (blog post 'DM_Verity is probably why that TWRP flash ends in a bootloop') and flashed the non-padded boot image produced by Magisk.
And this last option worked! So THANK YOU so much for your help!

Thank you sooo much! I finally got my brand new x7 pro rooted!

Have to ask
What os is does this refer to, I take it it's android 9?
What size is your bootloader/recovery in stock folder?
What mtk version?

lecrocq said:
... Thank you.
Click to expand...
Click to collapse
Hi May I ask if after rooting did you install a custom ROM?
Does the stock android that you get contains any personalization, like MUI or similar?

phaleg said:
Hi May I ask if after rooting did you install a custom ROM?
Does the stock android that you get contains any personalization, like MUI or similar?
Click to expand...
Click to collapse
I didn't install a custom rom, but I did eventually flash the Vanilla Bless GSI by @eremitein. Magisk still worked with patched boot, runs super smooth, and offers a ton of great customizations.
The stock rom is lackluster; it's the phone itself that has a ton of cool features like the underwater camera. I haven't really checked if all of those features are still usable with the GSI. To be honest, haven't really thought of it. Haven't gotten much of my intended use out of it during coroneumonia times. Sounds like a fun investigation, though. If it doesn't work straight out, I'm sure it can be made to work with a little tinkering.
@Pachacouti sorry for response forever later.... It's Android 10 with a MT6761 (Helio A22)

Hello boys. Thanks for how to root. I have rooted, but i had to reinstall system complete. Now i have root and new system and i have sms issue. Sometimes sms is coming, sometimes no..

Hello,
I'm trying to unlock my bootloader for my new Armor 7X but i'm struggling with the fastboot command.
First, there is two "fastboot" mode with this phone :
- the first when you do an : adb reboot bootloader. There is "=> FASTBOOT mode" in the screen. In this mode I can't detect my phone with "fastboot devices" command...
- the second mode is when you power on the phone with the volume "-"and you select "enter fastboot" in the menu. In this mode the phone is detected by "fastboot devices" ! But, the command "fastboot flashing unlock" always fails.
The error :
"FAILED (remote: 'Unrecognized command flashing unlock')
fastboot: error: Command failed
I've tried severals adb/fastboot tools without any succes. I think it's a driver issue but I'm not sure.
If someone have an idea, I will be greatful !

https://www.getdroidtips.com/unlock-bootloader-ulefone-armor-x6/ but i dont make this command fastboot flashing unlock. On phone you must chose unlock and confirm.

Probleme Solved, Use the NON-EU ROM !
I've find the problem ! It was the EU version of the ROM that blocked fastboot, so use the NON-EU version for that.
I've have succesfully rooted my phone, thank you for this thread !
I don't know exactly what are the differences between the two versions but everything seems to work normally.

Очень интересная тема. Наконец-то дошли руки до рутизации. Чрезвычайно долго описывать свой петь не буду, но скажу одно- знаю способ получения root до перезагрузки. Оранжевое предупреждение навсегда. Я допереведу ваш способ и попроьую сделать так-же. Спасибо!

Thanks for this guide
I got root now, has anyone got TWRP installed? Or another custom recovery

Does anyone have a problem receiving SMS?

Hi all, I've got a question.
I am trying to flash the boot.img but when I download the rom files from the ulefone website for the note 8, it does not include a boot.img. I can only see boot-debug.img and boot-sign.img . Which one should I select?

CupidAlaska said:
Hi all, I've got a question.
I am trying to flash the boot.img but when I download the rom files from the ulefone website for the note 8, it does not include a boot.img. I can only see boot-debug.img and boot-sign.img . Which one should I select?
Click to expand...
Click to collapse
This is not about Note 8.

lecrocq said:
THANK YOU!
Yes, that worked for me as well!
So, first I tried to uncheck 'Preserve AVB 2.0/dm-verity' before patching the boot.img in Magisk but this didn't work (same bootloop).
Then I patched the boot.img in Magisk with the 'Preserve AVB 2.0/dm-verity' checked, and edited the file in HxD but found no trace of '2C 76 65 72 69 66 79' or 'verify'.
Finally I resigned myself to flash the empty vbmeta.img found on Hovatek's website (blog post 'DM_Verity is probably why that TWRP flash ends in a bootloop') and flashed the non-padded boot image produced by Magisk.
And this last option worked! So THANK YOU so much for your help!
Click to expand...
Click to collapse
I would also like to confirm
lunalsmojo said:
success!
vbmeta.img was the issue! I have successfully rooted via magisk!
What you need to do is first flash an empty vbmeta.img file. You can download one by doing a Google search for "mtk empty vbmeta.img"
Just ignore the stuff for TWRP (unless you want to go that route too). Down toward the bottom of the tutorial, there is a link to download an empty vbmeta.img. Move the image into your adb/fastboot folder (or whichever directory you are working from) Then,
Code:
adb reboot bootloader
fastboot flash vbmeta vbeta.img
fastboot flash boot magisk_patched.img
fastboot reboot
I used the tutorial from hovatek.... I'm too much of a newb to post outside links
replace "magisk_patched.img" if you changed the name. I did mine with my padded magisk_patched.img. Let me know if you have issues with yours not being padded
Click to expand...
Click to collapse
I would also like to confirm that this approached worked for me without issue. Some tips that may prove useful for someone, ensure that you have the correct drivers, adb, fastboot, vcom, and cdc. I had issues using fastboot because I did not have the correct drivers, a day was wasted on this.
I also used the tutorial from hovatek, his blog post is where you will find the vbeta.img, I could not correctly flash my patched magisk without first patching the vbeta.img.
Thanks again.

Related

[Q] No android-info.txt & android-product.txt ~I Need Help~

Hey everyone,
This is my first time posting to the forums. I have been trying to get everything done without having to ask questions since there are so many all over the place and I can see how it can get tiring trying to help everyone when their may be an answer out there already if you look. However, I have ran into an issue that I can't seem to find much information on. I have the HTC Rezound that is S-On (apparently you need a Linux machine to get S-Off which I don't have. Using Windows 7.) and have been using fastboot to get things done. I have unlocked the bootloader and have installed the 'Amon Ra' recovery and setup Superuser and SU. As far as I know, I have to use ROM's that are S-On friendly (right?) and I chose to try out 'EclipticRez' and later 'Talon'.
As I tried to flash the ROM's through fastboot it fails with the following errors every time and I cannot continue:
archive does not contain android-info.txt
archive does not contain android-product.txt
From what I found is that it may be a bad download of the ROM. Maybe.... But it happened consecutively with two different ROM downloads.
I also read that maybe the recovery wasn't setup, which as far as I know it is. Should I use a different recovery? Everyone usually references to using CWM, which I wouldn't mind using but I couldn't figure out how to get SU access.
Can I just create the files myself? They are only txt files after all.
If anyone can help me with this I will be so grateful! I'm pretty new to this and it has definitely been a fun learning experience for me
Much thanks in advance!
Strikerz87 said:
Hey everyone,
This is my first time posting to the forums. I have been trying to get everything done without having to ask questions since there are so many all over the place and I can see how it can get tiring trying to help everyone when their may be an answer out there already if you look. However, I have ran into an issue that I can't seem to find much information on. I have the HTC Rezound that is S-On (apparently you need a Linux machine to get S-Off which I don't have. Using Windows 7.) and have been using fastboot to get things done. I have unlocked the bootloader and have installed the 'Amon Ra' recovery and setup Superuser and SU. As far as I know, I have to use ROM's that are S-On friendly (right?) and I chose to try out 'EclipticRez' and later 'Talon'.
As I tried to flash the ROM's through fastboot it fails with the following errors every time and I cannot continue:
archive does not contain android-info.txt
archive does not contain android-product.txt
From what I found is that it may be a bad download of the ROM. Maybe.... But it happened consecutively with two different ROM downloads.
I also read that maybe the recovery wasn't setup, which as far as I know it is. Should I use a different recovery? Everyone usually references to using CWM, which I wouldn't mind using but I couldn't figure out how to get SU access.
Can I just create the files myself? They are only txt files after all.
If anyone can help me with this I will be so grateful! I'm pretty new to this and it has definitely been a fun learning experience for me
Much thanks in advance!
Click to expand...
Click to collapse
1) Switch to TWRP or CWM for your recovery.
2) You install the rom zip via recovery.
3) You then need to fastboot flash the kernel from the rom zip you downloaded. You don't install the whole rom via fastboot.
To borrow from the CM11 thread.
- Place the boot.img into the platform-tools folder of the Android SDK's install directory.
- Boot to the bootloader.
- Ensure your device is connected to your computer and that your device is now in fastboot mode. This is a white screen and it says fastboot on it.
- Open a Terminal (OSX or Linux) or CMD window (Windows) and cd to the platform-tools directory of the Android SDK's install directory.
- Issue this command to flash the boot.img we placed in the platform-tools folder earlier:
Code:
fastboot flash boot boot.img
- Watch the output of the terminal, it should say something like "sent successfully".
- Finally send this command:
Code:
fastboot reboot
Since you're s-on, you'll need to do this whenever you install a new rom. Using these steps, you can install any rom you want.
Strikerz87 said:
Hey everyone,
This is my first time posting to the forums. I have been trying to get everything done without having to ask questions since there are so many all over the place and I can see how it can get tiring trying to help everyone when their may be an answer out there already if you look. However, I have ran into an issue that I can't seem to find much information on. I have the HTC Rezound that is S-On (apparently you need a Linux machine to get S-Off which I don't have. Using Windows 7.) and have been using fastboot to get things done. I have unlocked the bootloader and have installed the 'Amon Ra' recovery and setup Superuser and SU. As far as I know, I have to use ROM's that are S-On friendly (right?) and I chose to try out 'EclipticRez' and later 'Talon'.
As I tried to flash the ROM's through fastboot it fails with the following errors every time and I cannot continue:
archive does not contain android-info.txt
archive does not contain android-product.txt
From what I found is that it may be a bad download of the ROM. Maybe.... But it happened consecutively with two different ROM downloads.
I also read that maybe the recovery wasn't setup, which as far as I know it is. Should I use a different recovery? Everyone usually references to using CWM, which I wouldn't mind using but I couldn't figure out how to get SU access.
Can I just create the files myself? They are only txt files after all.
If anyone can help me with this I will be so grateful! I'm pretty new to this and it has definitely been a fun learning experience for me
Much thanks in advance!
Click to expand...
Click to collapse
also to note....you dont have to install linux to get s-off....if you follow my guide you can do it straight from a live disk rather than installing it....so it wont erase or mess up your windows partition at all
Solved!
Thank you, Mjones, I finally got it! I knew it was much easier than I was making it out to be. I was missing the kernel! Yeah, a crucial part in the process, I know
I first ran CWM and flashed the ROM over and ran the .zip through recovery (which I couldn't understand at first as I could never find it in the directory) but the installer would only go 50% and would fail... makes sense why now lol
I later flashed TWRP and backed up again after recovering from the fail. I flashed over the kernel and voila! So simple... Had to slap myself.
Thanks again! Case solved.
REV3NT3CH, that is sweet!! I have been hoping there is a way to gain s-off with Windows. I have 7 at work and 8.1 (which I can't get anything to work on) at home. I actually have to focus on work today haha so I'll look into the method and try it out tomorrow if I can. Thanks for all of the help.
mjones73 said:
1) Switch to TWRP or CWM for your recovery.
2) You install the rom zip via recovery.
3) You then need to fastboot flash the kernel from the rom zip you downloaded. You don't install the whole rom via fastboot.
To borrow from the CM11 thread.
- Place the boot.img into the platform-tools folder of the Android SDK's install directory.
- Boot to the bootloader.
- Ensure your device is connected to your computer and that your device is now in fastboot mode. This is a white screen and it says fastboot on it.
- Open a Terminal (OSX or Linux) or CMD window (Windows) and cd to the platform-tools directory of the Android SDK's install directory.
- Issue this command to flash the boot.img we placed in the platform-tools folder earlier:
Code:
fastboot flash boot boot.img
- Watch the output of the terminal, it should say something like "sent successfully".
- Finally send this command:
Code:
fastboot reboot
Since you're s-on, you'll need to do this whenever you install a new rom. Using these steps, you can install any rom you want.
Click to expand...
Click to collapse
​
Thank You So much, Mine case also Resolved. I was too frustated sice last 3 days cause my phone was in dead mode. At the end, fastboot flash boot boot.img Worked. ThankYOu
mjones73 said:
1) Switch to TWRP or CWM for your recovery.
2) You install the rom zip via recovery.
3) You then need to fastboot flash the kernel from the rom zip you downloaded. You don't install the whole rom via fastboot.
To borrow from the CM11 thread.
- Place the boot.img into the platform-tools folder of the Android SDK's install directory.
- Boot to the bootloader.
- Ensure your device is connected to your computer and that your device is now in fastboot mode. This is a white screen and it says fastboot on it.
- Open a Terminal (OSX or Linux) or CMD window (Windows) and cd to the platform-tools directory of the Android SDK's install directory.
- Issue this command to flash the boot.img we placed in the platform-tools folder earlier:
Code:
fastboot flash boot boot.img
- Watch the output of the terminal, it should say something like "sent successfully".
- Finally send this command:
Code:
fastboot reboot
Since you're s-on, you'll need to do this whenever you install a new rom. Using these steps, you can install any rom you want.
Click to expand...
Click to collapse
I need to be able to do it via fastboot, as my Motorola Electrify M is stuck in a bootloop and there's no way I could find to boot into recovery. I'm using ./fastboot update name_of_update.zip and it is an official OTA .zip but I still get this error. Any suggestions?
ecols33 said:
I need to be able to do it via fastboot, as my Motorola Electrify M is stuck in a bootloop and there's no way I could find to boot into recovery. I'm using ./fastboot update name_of_update.zip and it is an official OTA .zip but I still get this error. Any suggestions?
Click to expand...
Click to collapse
Sorry, don't know anything about that phone.
ecols33 said:
I need to be able to do it via fastboot, as my Motorola Electrify M is stuck in a bootloop and there's no way I could find to boot into recovery. I'm using ./fastboot update name_of_update.zip and it is an official OTA .zip but I still get this error. Any suggestions?
Click to expand...
Click to collapse
Did you try this first? (Right from Moto's site)
Perform a factory reset using external keys
1. Power off the phone, press and hold volume down button, press power button
2. Screen will come up with "Fastboot", press Vol down key to cycle through choices until you get "Android Recovery", then press Vol up key
3. Wait for the "triangle ! / Android" screen then go on to step 4
4. Press both Vol up and Vol down key simultaneously. A menu will come up
5. Tap on Vol down key until "wipe data/factory reset" is highlighted, and tap Power key. Another Confirmation screen will come. Tap on Vol down key until coming to Yes and tap Power key
6. After userdata is cleared, the "reboot system now" option will be highlighted by Default. Tap Power key
7. Phone will reboot to initial setup screen.
PLEASE HELP! I have a Huawei P8 and I tried to update to android 6.0 (GRA-L09xxxxxxxxxxxB317 or something) Went to install it and now im stuck in bootloop (a very annoying one, I can rarely get into eRecovery and eRecovery is not able to fix my problem: "Getting package info failed") so I went into fastboot&rescue mode and I did the flash thing via my PC (that Fastboot flash boot boot.img etc.) but I get this error saying: "FAILED (remote: Command not allowed)" for any image im trying to flash. My fastboot/bootloader or whatever it's called is locked my android is unrooted and stock android. I don't know how to unlock it I can't find anything anywhere.. HELP ME
not working
hariom.gupta11 said:
​
Thank You So much, Mine case also Resolved. I was too frustated sice last 3 days cause my phone was in dead mode. At the end, fastboot flash boot boot.img Worked. ThankYOu
Click to expand...
Click to collapse
not working on my 4c. write successful but when reboot is completed it goes to previous state.
"the user data partition can no longer be used"
zb602kl_x00tdb
L0RDZ3RO said:
PLEASE HELP! I have a Huawei P8 and I tried to update to android 6.0 (GRA-L09xxxxxxxxxxxB317 or something) Went to install it and now im stuck in bootloop (a very annoying one, I can rarely get into eRecovery and eRecovery is not able to fix my problem: "Getting package info failed") so I went into fastboot&rescue mode and I did the flash thing via my PC (that Fastboot flash boot boot.img etc.) but I get this error saying: "FAILED (remote: Command not allowed)" for any image im trying to flash. My fastboot/bootloader or whatever it's called is locked my android is unrooted and stock android. I don't know how to unlock it I can't find anything anywhere.. HELP ME
Click to expand...
Click to collapse
I have same problem on asus zenfone max pro m1 I bought it online said used and now working
can't boot into recovery.
can't boot into system.
Only EDL Mode and Fastboot Mode, but fastboot is Locked whic I cant unlock because I cannot boot into system to toggle USB Debugging and allow OEM unlocking
Qualcomm is harder to flash than MTK that can use SP FlashTool.
on this I use QFIL but keeps "sahara error". I tried searching and try moving firmware file to bin but no Luck. I'm currently trying different version of QFIL Tool.
If it FAILS my only HOPE is to use MUT-QCfire which will Require a "SmartCardReader" Which is a bit pricey and I don't even know if it will work on my device.

UMIDIGI Power 3 - Android 10

All info current as of 05/12/2021​I'm editing this original post to update what I've cobbled together from various forums. I do not take credit for any of the below. Nor the responsibility if you brick your phone. So, proceed with caution and at your own risk.
All steps were tested on windows 10. Make sure you follow the steps below, in order. Don't skip steps or ignore errors.
TWRP:
The only TWRP version available is an unofficial version. This version doesn't mount super/system and there's no reason to install it.​​Rooting your stock ROM:
00. Save the folowing stock ROM files in your adb folder on your computer. If you plan to patch boot.img yourself, save the boot.img on your phone too. Attached is the patched boot.img (magisk 23).​
vbmeta.img
vbmeta_system.img
vbmeta_vendor.img
boot.img
01. Boot into stock ROM​02. Go to settings/About phone. At the bottom, tap on "build number" until developer options are enabled.​03. Connect the phone to your ADB installed computer. Ensure that your computer has the latest version of drivers and the latest version of adb.​04. On your phone, go to settings/system/advanced/developer options. Enable "OEM Unlocking" and "USB debugging". Authorize device when the prompt shows up on your phone.​05. Install Magisk and patch the boot.img from stock ROM. Alternatively, you can use the attached file. The file is required in step 14.​06. Execute the below commands from the adb folder using a PowerShell window.​07. ./adb reboot recovery. Wait for phone to reboot to recovery.​08. factory reset the phone​09. ./adb reboot bootloader. Wait for phone to reboot to fastboot.​10. ./fastboot flashing unlock. Read disclaimer and press vol+ to confirm that you want the bootloader unlocked. ​11. ./fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img​12. ./fastboot --disable-verity --disable-verification flash vbmeta_system vbmeta_system.img​13. ./fastboot --disable-verity --disable-verification flash vbmeta_vendor vbmeta_vendor.img​14. ./fastboot --disable-verity --disable-verification flash boot magisk_patched_P3_23.img​15. ./fastboot reboot​16. You are now rooted.​
Installing a GSI:
Installing Magisk on any GSI results in a boot loop. If you are already rooted, you can skip to step 12 after getting to fastboot. But I strongly recommend starting from step 01.​
01. Download an AB GSI. If it a zip file, extract the img from it. Flashing an A-Only GSI will result in a boot loop. ​02. Flash the stock ROM. I used UMIDIGI_Power_3.E_V1.2_202003282206. Keep the stock firmware and SP flash tool folders.​03. Boot into the stock rom. In developer settings enable OEM unlock, USB debugging and authorize it from your computer. Don't bother setting up Wi-Fi or installing apps. The phone will be factory reset shortly. ​04. Perform the below commands in the latest version of adb.​05. ./adb reboot recovery​06. Select Factory reset and reset.​07. ./adb reboot bootloader (or use the menu option). The screen should show "fastboot mode" at the bottom of the screen in small font.​08. ./fastboot flashing unlock. Read phone screen for instructions. You will have to press volume up key to continue to unlock.​09. ./fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img (from stock ROM)​10. ./fastboot --disable-verity --disable-verification flash vbmeta_system vbmeta_system.img (from stock ROM)​11. ./fastboot --disable-verity --disable-verification flash vbmeta_vendor vbmeta_vendor.img (from stock ROM)​12. ./fastboot --disable-verity --disable-verification flash boot boot.img (from stock ROM)​13. ./fastboot -w​14. ./fastboot reboot fastboot (you MUST be at the fastbootd menu now. If not, you will not be able to flash the GSI successfully)​15. ./fastboot erase system​16. You will need a larger system partition to flash a GSI. There are 2 ways to achieve this​16a. ./fastboot delete-logical-partition product - deletes the product partition, allowing a larger system partition​OR​16b. ./fastboot resize-logical-partition product 509344768​16c. ./fastboot resize-logical-partition system 3089272064​resizes product and system partitions. This gives you about 3GB of system partitions. Adjust the numbers as required.​17 ./fastboot --disable-verity --disable-verification flash system <GSI file with .img extention>​18. Reboot to system.​19. Hold your breath and wait to see your GSI's bootscreen.​
Other useful info:
The boot.img is already present in the ROM. The below command will recover the boot.img from your phone and save it in your phone's Downloads folder. Execute it from a terminal on your phone and as super user. You will need root.​dd if=/dev/block/by-name/boot of=/storage/emulated/0/Download/boot.img​​For retrieving super partition to your device's download folder,​dd if=/dev/block/platform/bootdevice/by-name/super of=/storage/emulated/0/Download/super.img​​Unpacking and repacking super.img is a bit involved. I've only gotten till step 06 so far.​01 You WILL need a linux environment. If you are on windows, you can install a linux distro from the microsoft store.​02 Download lpunpack_and_lpmake-masterz.zip. Unzip it to a folder and execute the below commands in the linux shell​x86 or x86_64: ​sudo apt install clang zlib1g-dev ​./make.sh​arm or arm64:​sudo apt install clang ​./make.sh​03 You should see 2 files in the folder - lpmake and lpunpack.​04 Copy stock super.img into the folder and in the linux shell, execute ./lpunpack super.img.​05 After a few minutes, you will see vendor, product and system images in the folder now.​06 Replace system.img with a gsi of your choice. The file name MUST be system.img.​07 Repack super.img using ./lpmake. Syntax.​08 You should now be able to flash super.img using the SPFlash tool.​
I can't find the thanks button anywhere, but ThankS for asking, I ordered this model too. It is a new model still, so i expect it is hardly being worked on, if at all yet. Then there is the time after someone starts to "crack it" so to speak. Stock android 10 on this U-P3, and I only want a soft root, for a few extra functions for some apps lo, maybe a generic supersu setup will work now? At the price (£120-£150 new), for what it offers, I expect someone will root it and share how soon. As a noob i think i'd rather wait and see someone using it rooted before potentially bricking a phone i don't even have yet lol.
(edit. thanks button jus popped up lol)
Problem Sound Umidigi Power 3
I just hope that yours does not win as much as mine ...
Device show ball works very fast without locks extraordinary battery but mine came with sound defect ...
Out of nowhere the device stops emitting sound and only after restarting the device the sound comes back or I noticed that I connect and disconnect several times the headset p2 the audio comes back without restarting, that is, today I got it out of the box for 2 days 09 / 03/2020 in Brazil i bought it on aliexpress and sent a message to the seller about what happened and no answer for now and by the way i must be at a loss because sending the device back to china to get a refund will cost me half the value of the device and I'm going to end up with it like this while I'm looking for a program to help me with this as an example by isolating the P2 audio output to see if for this error ....
NOTE: I took out of the box I already had a software update I let it do and started normal and I noticed the sound defect I restored the device as original from the factory to see if it resolved and nothing helped it went back to being silent from nothing after a rest period without using it the device happens because if you leave playing music it doesn’t stop ...
In short, I do not know what to do waiting for a response from the seller or find a program to solve this ....
And making it clear I loved the device it is very good just sad with that part of the sound.
smvsmv said:
I just got a UMIDIGI Power 3 and have been trying to root it using the Magisk Boot.img patching method. This ends up in a boot loop for me. Flashing the original Boot.img back allows the phone to boot properly.
Anyone have ideas on other safe methods to root? My bootloader is unlocked, but I don't think we have a custom anything for this phone.
Click to expand...
Click to collapse
Did you try this?
1.
make magisk_patched.img by Magisk Manager
2.
get recovery.img & vbmeta.img from stock ROM
3.
boot to fastboot mode
4.
fastboot flashing unlock
(unnecessary if already unlocked)
fastboot flashing unlock_critical
(if I remember correctly, at this moment the phone rebooted, you will need to take it to the fastboot again)
fastboot --disable-verity --disable-verification flash boot magisk_patched.img
fastboot --disable-verity --disable-verification flash recovery recovery.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot reboot
it works for me.
mankind1019 said:
Did you try this?
1.
make magisk_patched.img by Magisk Manager
2.
get recovery.img & vbmeta.img from stock ROM
3.
boot to fastboot mode
4.
fastboot flashing unlock
(unnecessary if already unlocked)
fastboot flashing unlock_critical
(if I remember correctly, at this moment the phone rebooted, you will need to take it to the fastboot again)
fastboot --disable-verity --disable-verification flash boot magisk_patched.img
fastboot --disable-verity --disable-verification flash recovery recovery.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot reboot
it works for me.
Click to expand...
Click to collapse
This seriously working? Probably best budget phone if it does
mankind1019 said:
Did you try this?
1.
make magisk_patched.img by Magisk Manager
...
...
it works for me.
Click to expand...
Click to collapse
Can you explain your steps further. Until a month ago I used an old phone with Android 4, which only needed supersu for rooting. So these programms are fairly new to me
Yesterday I tried to root that thing for a whole day without success. Unlocking the bootloader was not a problem but rooting really finished me.
As far as I understand from the Magisk Manager website, I either need to have a rooted phone already to install Magisk Manager, or I need to install Magisk Manager over TWRP, which doesn't exist for the Phone as of right now. Kinda a dead end.
I also wasn't able to extract the boot img with the MTK droid tool. Seems like the last update was 4 years ago and it isn't supported anymore.
@gilbermarcilio
Have you tried to deactivate voice recognition. I've read in a review that a lot of audio problems can be solved if you deactivate the "OK Google" Assistant.
regards tav
With respect to sound issue. I read it is an equaliser problem that needs an update. Quick work around, is to turn on a sound for key presses, it keeps the equaliser running or something.
anon1135 said:
This seriously working? Probably best budget phone if it does
Click to expand...
Click to collapse
yes, it really works.
of course passed SafetyNet & modules works fine!
---------- Post added at 11:31 PM ---------- Previous post was at 10:59 PM ----------
Tavero said:
Can you explain your steps further. Until a month ago I used an old phone with Android 4, which only needed supersu for rooting. So these programms are fairly new to me
Yesterday I tried to root that thing for a whole day without success. Unlocking the bootloader was not a problem but rooting really finished me.
As far as I understand from the Magisk Manager website, I either need to have a rooted phone already to install Magisk Manager, or I need to install Magisk Manager over TWRP, which doesn't exist for the Phone as of right now. Kinda a dead end.
I also wasn't able to extract the boot img with the MTK droid tool. Seems like the last update was 4 years ago and it isn't supported anymore.
@gilbermarcilio
Have you tried to deactivate voice recognition. I've read in a review that a lot of audio problems can be solved if you deactivate the "OK Google" Assistant.
regards tav
Click to expand...
Click to collapse
Magisk Manager apk file exists.
Google it.
you don't need TWRP to install only Magisk Manager.
you can download stock ROM from UMIDIGI community website.
you can find img files in the archive file.
I sent an email on the support on the Umidigi website and they really answered that the problem of disappearing the sound of the device is related to "Ok Google" and I deactivated the function and is working normally without missing the sound and said that they are working on a update to correct this defect.
And thanks to everyone at XDA I will continue to follow what they have for more than the Umidigi Power 3 and I am enjoying the device so far.
mankind1019 said:
yes, it really works.
of course passed SafetyNet & modules works fine!
---------- Post added at 11:31 PM ---------- Previous post was at 10:59 PM ----------
Magisk Manager apk file exists.
Google it.
you don't need TWRP to install only Magisk Manager.
you can download stock ROM from UMIDIGI community website.
you can find img files in the archive file.
Click to expand...
Click to collapse
mankind1019 said:
Magisk Manager apk file exists.
Google it.
you don't need TWRP to install only Magisk Manager.
you can download stock ROM from UMIDIGI community website.
you can find img files in the archive file.
Click to expand...
Click to collapse
Well fu*k ... seems like I've bricked my device.
Installing Magisk manager worked fine and I've modified and flashed the boot.img without problems.
But during flashing the recovery.img it seems like I've touched my usb cable and disconnected the phone from the PC. I didn't think much about it in the beginning and rebooted it...just to be greeted with an endless boot loop. Right now I can't even shut it off. Holding the power button doesn't do anything.
That failed flashing action even seems to have locked my bootloader again. At least I don't see the message: Orange status. your bootloader has been modified.
I tried for the last hour to get somehow into fastboot. No chance.
When I boot into fastboot none of the commands are recognized. I'm using platform-tools_r29.0.6-windows.zip for adb and fastboot. When I boot into fastbootd, fastboot devices works, but none of the other commands. Has anyone succesfully rooted their Power 3? If so how did you do it?
Rooting Power 3
scotty562 said:
When I boot into fastboot none of the commands are recognized. I'm using platform-tools_r29.0.6-windows.zip for adb and fastboot. When I boot into fastbootd, fastboot devices works, but none of the other commands. Has anyone succesfully rooted their Power 3? If so how did you do it?
Click to expand...
Click to collapse
Try the process here.. it worked for me
https://forum.xda-developers.com/android/general/guide-rooting-umidigi-f2-t4030407
The issue is that once I get to step 7 (reboot into bootloader) it goes to the black screen with FASTBOOT mode... in lower left with the usb noise chiming every 10 seconds or so like it's cycling so fastboot never detects the device.
Edit:
Got past the issue. I opened up device manager and android was there looking for drivers. I had it do a search automatically for drivers and that ended up working and fixed fastboot.
Edit 2:
Next issue is I get a bootloop after flashing the patched boot img.
Edit 3:
I must have done something wrong in steps 6-8 because I redid them and now it works!
smvsmv said:
I just got a UMIDIGI Power 3 and have been trying to root it using the Magisk Boot.img patching method. This ends up in a boot loop for me. Flashing the original Boot.img back allows the phone to boot properly.
Anyone have ideas on other safe methods to root? My bootloader is unlocked, but I don't think we have a custom anything for this phone.
Update: I found that the F2 rooting process works on Power 3 as well
https://forum.xda-developers.com/android/general/guide-rooting-umidigi-f2-t4030407
Click to expand...
Click to collapse
If someone can make a youtube video will be a lifesaver. The bluetooth is really unstable on this phone and the audio issues don't help it.
Hello!
I solved the sound problem by disconnecting Ok Google. But I can't find the notification led. Locked screen notifications don't work for me either.
Please help.
Thank you.
Notification LED
Apipote said:
Hello!
I solved the sound problem by disconnecting Ok Google. But I can't find the notification led. Locked screen notifications don't work for me either.
Please help.
Thank you.
Click to expand...
Click to collapse
I don't believe this phone has a notification led light on it.
smvsmv said:
I don't believe this phone has a notification led light on it.
Click to expand...
Click to collapse
Screen notifications don't work either. This device is full of bugs. Software is crap.
Do you have any tips?
Tnx
Tips
Apipote said:
Screen notifications don't work either. This device is full of bugs. Software is crap.
Do you have any tips?
Tnx
Click to expand...
Click to collapse
I don't have any problems with sound or notifications. I do have other issues with the phone. For your issue, check if your apps have notification access. If that fails, try a clean install of the full ROM and as a new device.
https://community.umidigi.com/forum.php?mod=viewthread&tid=19232&extra=page=1
This phone probably is going to be my only UMIDIGI unless something changes in quality.
umidigi power 3 sound problem fix
gilbermarcilio said:
I just hope that yours does not win as much as mine ...
Device show ball works very fast without locks extraordinary battery but mine came with sound defect ...
Out of nowhere the device stops emitting sound and only after restarting the device the sound comes back or I noticed that I connect and disconnect several times the headset p2 the audio comes back without restarting, that is, today I got it out of the box for 2 days 09 / 03/2020 in Brazil i bought it on aliexpress and sent a message to the seller about what happened and no answer for now and by the way i must be at a loss because sending the device back to china to get a refund will cost me half the value of the device and I'm going to end up with it like this while I'm looking for a program to help me with this as an example by isolating the P2 audio output to see if for this error ....
NOTE: I took out of the box I already had a software update I let it do and started normal and I noticed the sound defect I restored the device as original from the factory to see if it resolved and nothing helped it went back to being silent from nothing after a rest period without using it the device happens because if you leave playing music it doesn’t stop ...
In short, I do not know what to do waiting for a response from the seller or find a program to solve this ....
And making it clear I loved the device it is very good just sad with that part of the sound.
Click to expand...
Click to collapse
You need to disable the google quick search box
(com.google.android.googlequicksearchbox)
After you disable that it should work fine
I am drowning here. Supersu and twrp was all i needed in the past.
"use magisk" is not a thing i understand yet. and the other applications too, are all new to me. When i see "patch boot with magisk" i think "****ing - What??"
I need a guide for a 7 year old, because I am 7 years old with 35 years of experience at it.
I need a guide which is a step by step idiot guide, for someone that has never ever used any of the applications involved. Anyone out there fancy writing one please?
I did it. Combination of a youtube video (vulgar, I know) and the umidigi f2 guide here on xda. Youtube guide just to see what was being done. then when i could see how fastboot etc were used, i followed the xda f2 for a successful root. And it's nice to have a phone on orange again lol.
Only want root functions, so never bothered with twrp yet.

Booting into bootloader on Samsung Galaxy A20e

Hello everyone, I have a problem, maybe someone will be able to assist me.
I have a phone Samsung Galaxy A20e (SM-A202F) with unlocked bootloader (Yes, in developer settings it says "Bootloader already unlocked" and the "OEM unlocking" option is grayed out).
I am trying to root the device and for that I have modified boot.img that I repacked with Magisk Manager, and an empty vbmeta.img that makes the device ignore verify. So far no guides I found worked. When i try to flash modified AP (with the modified boot.img inside) with Odin (including the rest of the files) it flashes successfully but I get "Error verifying vbmeta image" on the device screen and device is stuck on Download mode. If I re-flash unmodified AP with Odin, it works and device is like new.
All the small details aside, the problem is that I can't boot the device into fastboot mode. Whenever I do "adb reboot fastboot" it always boots into Download mode and fastboot commands don't work. Same goes with stock recovery, when I click "Reboot to bootloader", device boots into Download mode.
On the Magisk website I read something about "VaultKeeper" but I was sure i connected to Wi-Fi during setup and then enabled Developer mode. Link What I might be missing here?
tomasxp said:
Hello everyone, I have a problem, maybe someone will be able to assist me.
I have a phone Samsung Galaxy A20e (SM-A202F) with unlocked bootloader (Yes, in developer settings it says "Bootloader already unlocked" and the "OEM unlocking" option is grayed out).
I am trying to root the device and for that I have modified boot.img that I repacked with Magisk Manager, and an empty vbmeta.img that makes the device ignore verify. So far no guides I found worked. When i try to flash modified AP (with the modified boot.img inside) with Odin (including the rest of the files) it flashes successfully but I get "Error verifying vbmeta image" on the device screen and device is stuck on Download mode. If I re-flash unmodified AP with Odin, it works and device is like new.
All the small details aside, the problem is that I can't boot the device into fastboot mode. Whenever I do "adb reboot fastboot" it always boots into Download mode and fastboot commands don't work. Same goes with stock recovery, when I click "Reboot to bootloader", device boots into Download mode.
On the Magisk website I read something about "VaultKeeper" but I was sure i connected to Wi-Fi during setup and then enabled Developer mode. Link What I might be missing here?
Click to expand...
Click to collapse
Samsung don't support fastboot as Odin mode is what is used. You'll need to edit the fstab under /vender/etc.. and no you can't replace it with fastboot because you'll hard brick the device
Unfortunately I'm unsure if what's going on so you may not be able to root your device
TheExploitedOne said:
Samsung don't support fastboot as Odin mode is what is used. You'll need to edit the fstab under /vender/etc.. and no you can't replace it with fastboot because you'll hard brick the device
Unfortunately I'm unsure if what's going on so you may not be able to root your device
Click to expand...
Click to collapse
Thank you, I didn't know new Samsung devices don't support fastboot (or at least this one specifically).
On the other hand, when you said it, I tried other thing. I repacked AP image with Magisk modified boot.img and empty vbmeta.img I had from other tutorial and after flashing with Odin and factory resetting it stopped showing the boot error and booted the Android up. Long 1st boot tho, about 6 minutes. So far the device appears to work fine, will update if I manage to complete the root process.
EDIT1: The phone appears to be working with patched boot.img and vbmeta.img but Magisk can't detect that boot.img is pached. It only gives me the option to download zip (which I can't install because I don't have TWRP installed) and patch the boot.img again. Well atleast we are getting somewhere with this, I'll try to figure it out later.
EDIT2: I successfully rooted the phone. I had once again to extract the modified boot.img from the AP, modify it the second time with Magisk. Then I put it back into the AP file, deleting all other images, leaving only boot.img and META-DATA folder. Flashed it through Odin once again and this time Magisk waited 30s at launch and showed that everything is ok. Root checker is also showing that device is rooted as superuser asks for permissions.
tomasxp said:
Thank you, I didn't know new Samsung devices don't support fastboot (or at least this one specifically).
On the other hand, when you said it, I tried other thing. I repacked AP image with Magisk modified boot.img and empty vbmeta.img I had from other tutorial and after flashing with Odin and factory resetting it stopped showing the boot error and booted the Android up. Long 1st boot tho, about 6 minutes. So far the device appears to work fine, will update if I manage to complete the root process.
EDIT1: The phone appears to be working with patched boot.img and vbmeta.img but Magisk can't detect that boot.img is pached. It only gives me the option to download zip (which I can't install because I don't have TWRP installed) and patch the boot.img again. Well atleast we are getting somewhere with this, I'll try to figure it out later.
EDIT2: I successfully rooted the phone. I had once again to extract the modified boot.img from the AP, modify it the second time with Magisk. Then I put it back into the AP file, deleting all other images, leaving only boot.img and META-DATA folder. Flashed it through Odin once again and this time Magisk waited 30s at launch and showed that everything is ok. Root checker is also showing that device is rooted as superuser asks for permissions.
Click to expand...
Click to collapse
That's good to hear that root was successful!

[GUIDE] How to root OnePlus Nord

Devices that started to be received today have Oxygen OS 10.5 out of the box.
No flashable zip for that software release is publicly available, meaning its stock boot.img cannot be extracted.
You then need to update to a newer build first. You can do so from my OxygenOS builds repo thread.
Once done, enable developers options and enable OEM unlock.
Reboot to fastboot (enable USB debugging in dev options and use adb reboot bootloader)
Type fastboot oem unlock and accept to unlock bootloader (warning: as a safety measure Android will wipe your userdata)
Go through OxygenOS setup
Install Magisk Manager from https://github.com/topjohnwu/Magisk/releases/download/manager-v7.5.1/MagiskManager-v7.5.1.apk
Move stock boot.img to your phone internal storage (please open spoiler)
For your convenience, 10.5.2 stock boot.img for EU and India have been extracted
EU download: https://drive.google.com/file/d/18aPqErEMbRqmN4BpdvHE4OKgizDcEbou/view?usp=sharing
India download: https://drive.google.com/file/d/1ZIEYWH2PYkKyojq_S_i_onBstejHKDTJ/view?usp=sharing
For future builds, you can use payload dumper (Windows) , (Linux ) to extract stock boot.img
Click on Install
Choose "Select and patch a file"
Select your stock boot.img
Wait until Magisk patches your boot.img, and once patched it can be found in the Downloads folder
Copy that patched boot.img (which should be named magisk_patched.img) to your computer
Boot into fastboot again
Type fastboot getvar current-slot into your terminal window and press Enter.
If the output is a , type fastboot flash boot_a magisk_patched.img into your terminal window and press Enter.
If the output is b , type fastboot flash boot_b magisk_patched.img into your terminal window and press Enter.
Reboot to OxygenOS
Open Magisk Manager and your device should now be rooted.
TIPS:
- Ensure you got latest platform tools installed from https://developer.android.com/studio/releases/platform-tools
- Backup your /persist once rooted (dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img) and save it somewhere on your cloud/computer, this might save you from a broken fingerprint sensor and an RMA in the future if it turns out this device has same issue as 8-series when it comes to crossflash regional builds of OOS.
Credits:
 @topjohnwu for making Magisk
/u/Jisifus for testing on his device and for screenshots
Some_Random_Username said:
TIPS:
- Ensure you got latest platform tools installed from https://developer.android.com/studio/releases/platform-tools
- Backup your /persist once rooted (dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img) and save it somewhere on your cloud/computer, this might save you from a broken fingerprint sensor and an RMA in the future if it turns out this device has same issue as 8-series when it comes to crossflash regional builds of OOS.
Click to expand...
Click to collapse
Great to see it works this way and thanks for the tip.:good:
do u lose all data while rooting?
#edit1
nevermind, cannot read right
OK, will give this a try asap,have the device here now...
I gave it a try, works like a charm! Thanks for this! Small tip, unlock bootload before u copy your files
now my phone is a bit laggy. with magisk on it.. i will test it later if its getting better
Some_Random_Username said:
Type fastboot getvar current-slot into your terminal window and press Enter.
If the output is a , type fastboot flash boot_a magisk_patched.img into your terminal window and press Enter.
If the output is b , type fastboot flash boot_b magisk_patched.img into your terminal window and press Enter.
Click to expand...
Click to collapse
You can simply type "fastboot flash boot magisk_patched.img" - it flash boot to current active slot. Just for note.
Can confirm that it works, just tried it myself
If WiFi/data does not work (usually happens when you flash wrong version, but can also happen if you flash correct one), fastboot boot the image, then do a direct install in Magisk Manager.
Also, big thumbs up for adding tips for persist backup, I see too many people needing to send their device back because they messed it up somehow.
Failed for me
Hi and thanks for the tips.
Running 10.5.2 (latest build) and Bootloader is unlocked.
1: Downloaded EU BootImage File suggested (10.5.2.AC01BA.boot.img - 101MB)
2: Went to Magisk Manager, Advanced Settings, Recovery Mode Ticked, Install Magisk, Install, Select and Patch a File - Browse to 10.5.2.AC01BA.boot.img in Downloads and select.
3: Command Window appears detailing successful patching of ramdisk and also location of the newly created magisk_patched.img (37.52MB???????????????)
4: Size of new boot image looks suspiciously small.
5: Copied magisk_patched.img to PC and rebooted phone into fastboot.
6: Issued the fastboot getvar current-slot command - mine is reported as b
7: Issued the fastboot flash boot_b magisk_patched.img - File flashed OK - Reboot (Start) Phone.
8: 30 seconds of unlocked bootloader warning screen followed by 10 secs black screen followed by Qualcom Crash Dump. Rebooted phone three times - same result.
9: Rebooted phone into fastboot mode, reflashed the stock boot image and all now OK (but obviously not rooted).
Would be grateful if anyone could advise - the magisk_patched.img looks suspiciously small to me at 37.52MB compared to 101MB for the original boot image.
Thanks
10: Double checked the patching process again in Magisk and again, patched bootimage filesize is on 37.52MB.
11: I have saved log from patching process and on reading, all looks OK.
jmwengineering said:
Hi and thanks for the tips.
Running 10.5.2 (latest build) and Bootloader is unlocked.
1: Downloaded EU BootImage File suggested (10.5.2.AC01BA.boot.img - 101MB)
2: Went to Magisk Manager, Advanced Settings, Recovery Mode Ticked, Install Magisk, Install, Select and Patch a File - Browse to 10.5.2.AC01BA.boot.img in Downloads and select.
3: Command Window appears detailing successful patching of ramdisk and also location of the newly created magisk_patched.img (37.52MB???????????????)
4: Size of new boot image looks suspiciously small.
5: Copied magisk_patched.img to PC and rebooted phone into fastboot.
6: Issued the fastboot getvar current-slot command - mine is reported as b
7: Issued the fastboot flash boot_b magisk_patched.img - File flashed OK - Reboot (Start) Phone.
8: 30 seconds of unlocked bootloader warning screen followed by 10 secs black screen followed by Qualcom Crash Dump. Rebooted phone three times - same result.
9: Rebooted phone into fastboot mode, reflashed the stock boot image and all now OK (but obviously not rooted).
Would be grateful if anyone could advise - the magisk_patched.img looks suspiciously small to me at 37.52MB compared to 101MB for the original boot image.
Thanks
10: Double checked the patching process again in Magisk and again, patched bootimage filesize is on 37.52MB.
11: I have saved log from patching process and on reading, all looks OK.
Click to expand...
Click to collapse
The size is normal.
When patching your image you have to select "Preserve Force Encryption" and "Preserve AVB 2.0/dm-verity" under advanced settings in the main screen where you patch the image.
jmwengineering said:
Hi and thanks for the tips.
Running 10.5.2 (latest build) and Bootloader is unlocked.
1: Downloaded EU BootImage File suggested (10.5.2.AC01BA.boot.img - 101MB)
2: Went to Magisk Manager, Advanced Settings, Recovery Mode Ticked, Install Magisk, Install, Select and Patch a File - Browse to 10.5.2.AC01BA.boot.img in Downloads and select.
3: Command Window appears detailing successful patching of ramdisk and also location of the newly created magisk_patched.img (37.52MB???????????????)
4: Size of new boot image looks suspiciously small.
5: Copied magisk_patched.img to PC and rebooted phone into fastboot.
6: Issued the fastboot getvar current-slot command - mine is reported as b
7: Issued the fastboot flash boot_b magisk_patched.img - File flashed OK - Reboot (Start) Phone.
8: 30 seconds of unlocked bootloader warning screen followed by 10 secs black screen followed by Qualcom Crash Dump. Rebooted phone three times - same result.
9: Rebooted phone into fastboot mode, reflashed the stock boot image and all now OK (but obviously not rooted).
Would be grateful if anyone could advise - the magisk_patched.img looks suspiciously small to me at 37.52MB compared to 101MB for the original boot image.
Thanks
10: Double checked the patching process again in Magisk and again, patched bootimage filesize is on 37.52MB.
11: I have saved log from patching process and on reading, all looks OK.
Click to expand...
Click to collapse
And that's why it's recommended to boot the patched image first.
Thanks
Lossyx said:
The size is normal.
When patching your image you have to select "Preserve Force Encryption" and "Preserve AVB 2.0/dm-verity" under advanced settings in the main screen where you patch the image.
Click to expand...
Click to collapse
Thanks for confirming file size - Preserve Force Encryption and Preserve AVB 2.0/dm-verity were ticked during the patching process. Guess I'll have to wait until TWRP is verified as Nord compatible.
---------- Post added at 07:06 PM ---------- Previous post was at 06:59 PM ----------
Kollachi said:
And that's why it's recommended to boot the patched image first.
Click to expand...
Click to collapse
Thanks for the reply. Not sure what you mean by booting the patched image first. You have to create the patched image on the phone first before you can flash and then boot it. Step 7 in my post above details the flashing of the patched image and subsequent attempt to reboot Oxygen OS. I can't boot the patched image until I've created and flashed it!
jmwengineering said:
Thanks for the reply. Not sure what you mean by booting the patched image first. You have to create the patched image on the phone first before you can flash and then boot it. Step 7 in my post above details the flashing of the patched image and subsequent attempt to reboot Oxygen OS. I can't boot the patched image until I've created and flashed it!
Click to expand...
Click to collapse
Nah, instead of flash the patched boot image you can boot it only. Not sure why it's not working for you. But usually it should work.
Command: fastboot boot "patched boot image"
Edit: that's also what lossyx said. Boot image and than install it with magisk manager.
And if you boot the image and something went wrong you aren't bricked or anything. It's a safe way to test something.
Thanks for the advice - will boot the image file on my PC rather than flashing first.
Sent from my AC2003 using Tapatalk
Does unlocking the bootloader break widewine L1 on this device like it did with 7/7T/7P/7TP/8/8P
..
CryllicBuster273 said:
Does unlocking the bootloader break widewine L1 on this device like it did with 7/7T/7P/7TP/8/8P
Click to expand...
Click to collapse
Yeah I guess when you unlock your phone it will break L1 as always.
---------- Post added at 12:17 PM ---------- Previous post was at 12:15 PM ----------
DIR49DNOR0N said:
I will try this unless twrp is cooked on release. Where did you get the OTA zips from actually?
I want to, extract boot.img, save it, patch boot.img, boot it, use some apps that require root and remove some packages, uninstall magisk, power down, use normal image, relock bootloader. Does this work how i expect it to work ?
Click to expand...
Click to collapse
https://forum.xda-developers.com/oneplus-nord/how-to/oneplus-nord-repo-oxygen-os-builds-t4138085
DIR49DNOR0N said:
I will try this unless twrp is cooked on release. Where did you get the OTA zips from actually?
I want to, extract boot.img, save it, patch boot.img, boot it, use some apps that require root and remove some packages, uninstall magisk, power down, use normal image, relock bootloader. Does this work how i expect it to work ?
Click to expand...
Click to collapse
No, keep the bootloader unlocked if your phone is modified, else it can cause some issues.
Btw when you lock/unlock the bootloader, data will be wiped. apps will be reinstated again so that's useless
The guide worked perfectly and I'm up and running with Root!
One thing I have noticed is that the Google Play store is no longer Play Protect Certified.
I've tried registering my device with Google using this XDA guide but I haven't found any change to the Play Store certification.
I should probably wait for a while to see if the registration takes some time. I also couldn't use the adb commands that Google recommends and I had to use the Device ID app to get the Google Service Framework (GSF).
I've read in a few places that it may be because the Bootloader is unlocked and I'm wondering if I should re-lock it now that I have root. Not sure how/if that will affect my ability to keep root when future updates come out though.
Anyone have any thoughts/experience with this?
Possible TWRP without waiting?
Can anyone use this and try? Might be used as an alternate Method for Rooting via TWRP
https://forum.xda-developers.com/an...g/guide-how-to-port-twrp-to-qualcomm-t3420013

Question I'm At A Loss, Please Help

I recently bought an unlocked Moto G Play 2021 with the intent of learning how to flash custom rom's etc. The steps I've done so far are below.
Went to Motorola's site and got the code to unlock the bootloader
Waited for the "OEM Unlock" button to be available in the Developer Options menu.
Followed the directions Here to try to get an unofficial version of TWRP installed.
when I type fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img Using the vbmeta.img from the link above, I get some kind of anti-rollback error and can't boot to recovery.img
So far, what I've found says I need to be on Android 10 for this to work but I can't find a stock rom of Android 10 for this device. Electimon posts AOSP builds for this phone Here so I assume there's a way to get this to work, I just don't know what it is and I've gone through these threads a few times now and can't piece it together. Any assistance would be greatly appreciated.
Additionally, thanks Electimon for doing those AOSP builds.
Try to download Miracle Thunder Modified (Withouth Box) like there are other tools, but if not, just try to root. kind of for you to root, download the TWRP app and install or use Flashify to flash img using root
Luiz Vinicius said:
Try to download Miracle Thunder Modified (Withouth Box) like there are other tools, but if not, just try to root. kind of for you to root, download the TWRP app and install or use Flashify to flash img using root
Click to expand...
Click to collapse
I'm not sure entirely what happened, but after I used the TWRP app my phone bricked and I had to use the Lenovo rescue app on my pc to factory reset it.
First update your phone
Then download twrp from
https://forum.xda-developers.com/t/...st-port-but-everything-works-amazing.4330775/
Then adb reboot bootloader
Then fastboot flash recovery MotoGuamnaFixed2.img
then you have twrp installed then you can go thru the steps at
https://forum.xda-developers.com/t/rom-12-0-guamna-aosp-12-0-monthly-builds.4392303/#post-86610039
to get Android 12 couatom rom
svoc said:
First update your phone
Then download twrp from
https://forum.xda-developers.com/t/...st-port-but-everything-works-amazing.4330775/
Then adb reboot bootloader
Then fastboot flash recovery MotoGuamnaFixed2.img
then you have twrp installed then you can go thru the steps at
https://forum.xda-developers.com/t/rom-12-0-guamna-aosp-12-0-monthly-builds.4392303/#post-86610039
to get Android 12 couatom rom
Click to expand...
Click to collapse
Thank you for the response!
I made sure my phone was on wi-fi and checked for updates. I then rebooted to fastboot and flashed recovery to the MotoGuamnaFixed2.img. I still got a blank screen when I tried to reboot to recovery. I then rebooted to fastboot manually and did
fastboot flash recovery_a MotoGuamnaFixed2.img
fastboot flash recovery_b MotoGuamnaFixed2.img
It said ok both times, and when I try to reboot to recovery, I get a blank screen that I can't interact with. Pressing the power and volume buttons does nothing. Rebooting and letting the phone go through the boot process, to include waiting for the warning about the unlocked bootloader to go away results in a blank screen.
I also tried booting to fastboot and selecting "Recovery Mode" from the fastboot menu. Same result. That being said, I followed the instructions in the second link anyway, which are
fastboot -w
fastboot update (filename).zip
Now my phone has a blank screen I cannot interact with, but when I type "adb devices" I see the phone. Typing "adb shell ls -l" shows there is definitely a file structure there.
Just download the rom for the version that your device is unzip it and manual flash each one to the correct spot except recovery flash the twrp and then reboot and let me know look at flash file.xml to see where to flash each IMG and bin to make shur you download your rom and not another one for the same device but different carrier what it sounds like to me is happening is you downloaded the wrong ROM when you tried to do a force update
Send me a screenshot of your about device screen please I might need to make a change to a few things to get it working
I'm stuck in a boot loop right now. WIll the output from fastboot getvar work?
What carrier do you have
Download your rom first then follow my last post to get it back out of a bootloop
svoc said:
What carrier do you have
Click to expand...
Click to collapse
It's an unlocked phone, no carrier, no SIM. I did the factory reset with the Lenovo rescue tool and sent you the screen shot of the device info page.
Update - svoc has spent a crap ton of his personal time trying to help me with this. I've learned a bunch and wanted to publicly acknowledge his willingness to go way above and beyond trying to get this working.
I don't understand why I can't get twrp to boot I'm not for shut what the problem is if any one has any idea please let me and I will try
Big thanks to svoc for all the phone calls and troubleshooting my device, that is apparently possessed by at least 3 demons and a donkey. There are two links below. The first is the link to the intstructions that worked.
The second is to the compressed file that gave me a degoogled android. It's really, really basic and you'll have to side load the app store of your choice onto the device but it works.
*NOTE* I have not used a sim card or tested the cellular capability. If you do the things below and it doesn't work, reboot to bootloader and flash the radio.img with the one from your stock rom, which can be obtained from lolinet.
Any custom ROMs out there for Moto g play 2021 (guamna)?
Can't find any custom ROMs for this device. I guess it is too early. I'll probably have to get another phone. Can't even find a twrp for it. New to this. Any suggestions?
forum.xda-developers.com
https://github.com/phhusson/treble_experimentations/releases/download/v412/system-squeak-arm64-ab-vanilla.img.xz

Categories

Resources