yashsingh1/xdaforums huggingface dataset:
[Moto G Power Guides, News, & Discussion] pjottrr:
apparently you could do both, but i used the "normal" fastboot from the boot loader,

and used the command "fastboot boot magisk_patched.img"

After i noticed everything working , i flashed the patched image via the same fastboot;

fastboot flash boot magisk_patched.img

i did not do anything with fastbootd, i tried to figure out what to do with it, but haven't so far.

if the patched image doesn't work, you can simply recover by flashing the original boot.img from the recovery.

I guess most importantly is using the proper boot.img , make sure it's the same as your current build.

If you have any more questions, feel free to ask

Greets,

Pjottrr
[Moto G Power Guides, News, & Discussion] Hybrid Divide:
[MENTION=303482]mingkee[/MENTION]

You seem to understand how fastbootd works.

I've read that the Moto G Power can be flashed via Fastboot and Fastbootd.

From your earlier posts, it seems that Fastbootd is the way to go, do you have any links to a tutorial on that? I've looked, but what little I've found still had me a bit confused. Thanks!
[Moto G Power Guides, News, & Discussion] mingkee:
The following should be flashed under fastbootd:

boot.img (including patched_boot.img)

recovery.img

vbmeta.img

dtbo.img

super.img

Flashing command remains the same

Everything else should be done on bootloader

To toggle:

fastboot reboot fastboot

adb reboot fastboot

Your ADB should be up to date in order to support Android 10 new features
[Moto G Power Guides, News, & Discussion] Newht20:
Hi all,

I jumped in the G8 power (RETEU) bandwagon 2 weeks ago, after a X4.

Did a first OTA update as soon as the phone launched, and then unlocked the bootloader, not to root first but just to backup via a twrp, only to discover that it would not boot in any way.

Then i realised that i was not Google play certified anymore, and some of the appstore was missing. Netflix....

Decided to root to bypasss the safety net with magisk.

Downloaded the full rom on lolinet, RETEU, patched the boot.img with fastbootd.

I had to flash boot_a and boot_b.

Touchscreen became irresponsive....

Couldn't boot back in fastbootd.... ('adb reboot fastboot' works flawlessly but 'fastboot boot fastboot' fails....), so i reflashed the original boot.img with normal fastboot. All well, except....no touchscreen....

Plugged the phone into LRSA, went into rescue and it asked me if i wanted to download the ROM : SOFIAR_RETEU_QPE30.79_75_subsidy_DEFAULT_regulatory_DEFAULT_CFC.xml

THe one on Lolinet was QPE30.79_25.... Slight difference. Strangely, after the download, the software said 'Model not supported....) Didn't need it anyway.

Flashed this new boot.img, and recovered the full use of the phone. Then patched it with latest magisk, reflashed and voila!!!

Phone is rooted and after enabling Magisk Hide, i can pass safetynet again. I then deleted the google play cache and files, rebooted and Netflix wouldnt show on appstore. After a couple hours, everything went back to normal and netflix reappeared in the app store.

So my advice would be to plug the phone in LRSA first to chek if you can download the right ROM. For me the one on LOLINET was outdated.

Ans as said before, dont worry if the original boot.img is 60+MB and the patched one just 12MB.

Cheers, and thanks to everybody for all that knowledge.
[Moto G Power Guides, News, & Discussion] KarlUlyanov:
Thanks for the heads up. I was having issues with this process. I grabbed the wrong firmware and got stuck in a bootloop. After grabbing the RETUS firmware on lolinet (XT2041-4_SOFIA_RETUS_10_QPM30.80-13-2_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip) I was able to boot but my touchscreen did not work. After spending a while trying to find the correct firmware I just went ahead and installed LMSA which grabbed SOFIA_RETAIL_QPMS30.80_51_3_subsidy_DEFAULT_regulatory_DEFAULT_CFC.xml which was exactly what I needed. Phone boots and the touchscreen works. LMSA rocks. Not only did it fix my screw up but now I have the correct boot.img to patch. Thanks to everyone here for all the info posted.
[Moto G Power Guides, News, & Discussion] jhjhjhjhjhjh:
I'll be getting this phone tomorrow coming from Moto g 7 power.

Running AICP 10.

I'm getting the Best Buy US version,

Reading the posts, should I use LMSA tool to download the correct firmware ? If so, Ive never used that tool due to fast boot commands, I usually flash the stock firmware in bootloader mode for Moto phones.

Will the tool download the firmware via zip and I can extract the firmware files and fastboot the boot.mg?

Thanks in advance. I don't want any hang ups as I am paying full price for this phone brand new.......
[Moto G Power Guides, News, & Discussion] pjottrr:
Maybe you should just try before asking. The usage of the lmsa tool is quite selfexplanatory, beside that, whitout having the phone, you cannot tell which version you have.

i do believe it is indeed a zip file you can easily extract.

Further you mention you don't want hangups because you pay full price. I don't see how that is relevant since, first of all, this phone is cheep as ch*t , second , if you want to tweak your device to your liking, you can expect hangups and messups, that is kinda normal with messing with rooting your phone.

Good luck with it, and if you have any quistions when trying, feel free to ask
[Moto G Power Guides, News, & Discussion] jhjhjhjhjhjh:
Thanks for the zip being extractable.

Being condescending is funny.

Anyways , hate downloading software I don't need.

Obviously your reading lacks understanding.

I've been rooting for 12 years I don't encounter hiccups after rooting since I'm a vet.

Next time answer the question only..
[Moto G Power Guides, News, & Discussion] pjottrr:
Ok, will do... Since i'm not a native speaker, i sometimes misinterpet things...

Anyway i don't think i understand then what you mean with hangups.....

But if you prefer not to use the lmsa tool, i wrote a post about where to find the firmware. One of the sources would be the lollinet mirror. It probably has the proper firmware, but first you need to know the exact type you are getting
[Moto G Power Guides, News, & Discussion] jhjhjhjhjhjh:
Some user mentioned he has the best buy US version, in which I'm getting today and said a firmware he downloaded worked and another user stated he used the LMSA tool then used the boot.img and patched via magisk . Guess both methods work. I prefer downloading the stock firmware from lolinet and patching the boot.img. I'm asking if the firmware on lolinet is the one the user who has the best buy version used and what exact link?

Thanks for your feedback.

Ok..phone in hand and I can actually say it's an upgrade from the g7power.

I eneded up downloading the stock firmware from your other post but I wont root till a TWRP is made..

Thanks you for the root guide..
[Moto G Power Guides, News, & Discussion] ptn107:
lolinet firmware is old for the xt2041-4 retus

need LMSA to get the recent one
[Moto G Power Guides, News, & Discussion] hun-chan:
I had the same problem as described previously with the touchscreen not working after attempting to patch the boot.img. Turns out the problem was a build number mismatch. I got the correct version using LMSA, and I am including links to the unmodified and patched boot.img for the most recent firmware, QPM30.80-51-3. I hope it will save others from having to download the whole ROM.

sofia-QPM30.80-51-magisk_patched.img

sofia-QPM30.80-51-boot.img
[Moto G Power Guides, News, & Discussion] Mishek:
xt2041-1 QPE 30.790-124

Hello guys, i'm trying to find a rom to get the boot.img, but i'm facing a hard time to find, the specifications of my verssion is: xt2041-1 and QPE 30.790-124.

I'll be thankful if someone can help me with this.

:fingers-crossed::fingers-crossed::fingers-crossed:
[Moto G Power Guides, News, & Discussion] hun-chan:
Your best bet is probably LMSA, the Lenovo rescue tool. It is super user friendly. Just plug your phone into your computer, and it will automatically download the ROM that matches your current firmware.
[Moto G Power Guides, News, & Discussion] Mishek:
Thanks!!!!! You solve my problem!!! Root now is working fine!!!! Love u!!!! <3

:victory::victory::victory:
[Moto G Power Guides, News, & Discussion] mingkee:
Here is what you do to get your full ROM

Note: you need to have Administrator right on the host computer

Run LMSA rescue and your phone goes to bootloader mode

LMSA will detect your phone and find correct ROM

Download the ROM and observe download progress. When it reached 100%, go to download and got to ROM folder and you should see the zip file. Copy it to elsewhere before it's unpacked

Locate the zip file and unpacked it yourself and you should get everything
[Moto G Power Guides, News, & Discussion] Mishek:
Thanks! I did that and work just fine!
[Moto G Power Guides, News, & Discussion] jhjhjhjhjhjh:
Okay rooted, just couldn't help myself. I have viper and other rooted apps to work but can't modify the /system partition. Unable to mount r/w.

Even in (core only mode), unable to modify system.

Any ideas? Anyone thanks in advanced.

I usually use twrp to format data but since no twrp yet I can't...

Root acheived on US Best Buy version,

Instead of flashing entire stock rom just patched the boot.img and used command "fastboot flash boot magisk_patched_boot.img"
[Moto G Power Guides, News, & Discussion] flynmoose:
Doing this shows a different firmware version for download than is loaded on the phone out of the box (RETUS - Best Buy - purchased 3Jul2020).

It downloaded this newer (presumably) version - QMP30.80-109.

Anyone flashed this? I didn't want to take a chance of flashing it.

I was able to successfully flash the patched version provided by [MENTION=5904797]hun-chan[/MENTION] (Thanks!). Would have preferred to patch myself from source files, but wasn't sure how to handle the mismatch (I did try patching 109 and applying being pretty sure that wouldn't work. I booted from that patch without flashing the boot image and it failed.)

Coming from a MOTOG7 that has been road hard and seems to be having some internal memory issues that I was no longer comfortable having as a daily driver.

(Screenshot of LMSA attached.)
[Moto G Power Guides, News, & Discussion] Drift3r:
Okay I'm stuck at the Magisk Manager portion of this process. Apparently from the guides I've read I need to get TWRP installed first before I can actually install Magisk proper? Is that so? How would I go about that when it seems that TWRP does not support the Moto G Power (Sofia XT2041-4 US) phone??
[Moto G Power Guides, News, & Discussion] pjottrr:
Dear drift3r ,

First of all, i would like to point out that it is not nice to ask a question, and after posting that one, completely erase the question and ask a total new one by editing your post.

that being said,

here the answer to all of your questions :

yes it is called boot.img. make sure the firmware you downloaded exactly matches your current build. If you use the wrong one you might flash a boot.img that breaks your touch functionality , and that makes it a bit harder to fix that. you'd best use the lenovo rescue and smart assistant to download the proper firmware.

i will answer this question in the next quote

luckily you don't need twrp , it is nice that twrp is available now for our phones but it is not necessary.

The short answer here is:

1 download the proper rom, extract the boot.img and copy it to your phone

2 install magisk manager , and from there manager click on install magisk --> by patching boot.img ( select the

coped boot.img)

the result is the patched boot.img , you can find that in the downloads section of your phone, and it is called magisk_patched.img

3 copy that file back to your pc, and get your phone in fastboot mode

4 open a command promt where you have fastboot on your pc, and make sure the patched boot file resides in that same location.

i have two commands:

1: try out if all works if expected: "fastboot boot magisk_patched.img" , this wil boot up the phone. go into the magisk manager, check if you have magisk installed.

2: if so and all works as expected you can go back into fastboot, and use the command:

"fastboot flash boot magisk_patched.img"

after that you should be done.

the long explanation can be found in the first post of this thread, have you read that post?
[Moto G Power Guides, News, & Discussion] Drift3r:
First of all, I apologize for the bad net etiquette. In all honesty I was even confused about the question I wanted to ask and so this is why I changed it a second time. :o Second, I would like to thank you for your response. It really clarified the issue I was having and up helped me finally figure out what I was doing wrong in the end. In fact, I was able to successfully root my phone as a result of your post. :highfive:

Now there were some hiccups along the way however those issues were solved and provided me with some insight involving the rooting and the bootloader unlocking process. For example with regards to the Lolinet.com firmware files. When I went to that site to download the version for my phone (Moto G Power - Sofia RETUS - QPMS30.80-109-XT2041-4) I ended up with no touchscreen support after I used fastbootd command line tools to flash my phone. I resolved the issue by using the LSMA tool provided by Lenovo, and mentioned many times by others here :o , to "rescue" my phone. Then I realized that I should used the stock oem rom it had me download, and its boot.img file, to create the file with magisk manger instead. So I managed to create the appropriate magisk_patched.img to root my file and then the rooting process worked flawlessly.

Then I realized, in hindsight, and to my own embarrassment again :o, that the LSMA tool even provides you with the bootloader unlock code in the device info screen. Anyways, this was quite the learning experience for me. Again, much thanks for post.

P.S. I've noticed that even though I am rooted some apps cannot be removed (e.g. facebook). Is there a some other process to remove these apps?
[Moto G Power Guides, News, & Discussion] esuo2:
Any youtube video to help rookies like me? help will be much appreciated!
[Moto G Power Guides, News, & Discussion] pjottrr:
i don't think there will be any video's on this specific for the phone.

but i guess you should be able to figure it out by reading the first post
[Moto G Power Guides, News, & Discussion] esuo2:
I will do that bud, I will be counting on this house when i get stuck....thanks once again
[Moto G Power Guides, News, & Discussion] pjottrr:
I'll be there for you . :)
[Moto G Power Guides, News, & Discussion] esuo2:
Hey, am back again

This is my phone specification

Android 10

Software Channel: retla

Build number: QPES30.79-124-2

I have read the first page but still lucid to me, >> guys where do I start from

I don't wanna use a custom ROM, but official firmware by just injecting root

my last but not least question, do I still get updates after installing root?

Thanks and waiting for your fast reply
[Moto G Power Guides, News, & Discussion] pjottrr:
check your pm
[Moto G Power Guides, News, & Discussion] Skib32:
Hi all,

Please Give me a silution to Install bootLoader . I lost bootloader, fastboot and recovery after a bad command. it on edl mod now

Please help me with my bricked g8 power, what can i do ?

Lenovo smart assistant not work
[Moto G Power Guides, News, & Discussion] pjottrr:
if i undersand it correctly, with edl mode you can use specific tools to restore to the stock firmware

you can find the related info here:

https://www.the custom droid .com/qpst-flash-tool-download-usage-guide/

apparently it doesn't allow me to post this link so i added some spaces to the url above , not sure if this will work, else: then use google:

https://www.google.com/search?chann...to+Flash+Firmware+on+Qualcomm+Android+Devices
[Moto G Power Guides, News, & Discussion] Skib32:
i just need a loader. img or a dump file to revive it but i can't find it anywhere. can you help me please.
[Moto G Power Guides, News, & Discussion] pjottrr:
i'm not sure which files you need exactly, but if you ever downloaded a rom via lmsa ( and else lolinet will have most rom files)

i've been looking at my latest downloaded rom files and it contains a bootloader.img and a boot.img

not sure if that is one of the files you need, but you could simply extract those from the stock image
[Moto G Power Guides, News, & Discussion] Skib32:
I already have a stockrom but it can t not use in edl mode. I need a dump. img of a working device to restore bootloader. the cmd

adb shell su -c dd if=/dev/block/mmcblk0 of=storage/sdcard1/fulldump.img give the rom dump
[Moto G Power Guides, News, & Discussion] pjottrr:
ok, what is your model number?

Mine is a xt2041-3 , if you have the same, i could try to make an export

edit; i made an export, check your PM
[Moto G Power Guides, News, & Discussion] Skib32:
Thank you for your attention to this matter.! ?
[Moto G Power Guides, News, & Discussion] slosha69:
Anyone know if the Consumer Cellular Moto G Power has a special firmware? I flashed the patched boot.img (using Magisk) found in the most recent firmware at lolinet /firmware/moto/sofiar/official/RETAIL/, but it just soft bricks the phone. After the blue Moto screen, the phone just shuts off. Model # is XT2041-6 if that helps.
[Moto G Power Guides, News, & Discussion] kc6wke:
This site states the XT2041-6 is only Consumer Cellular which is the sofia not the sofiar model. I would try the firmware from here.
[Moto G Power Guides, News, & Discussion] slosha69:
Hey, thanks! I tried that and now my touchscreen doesn't work. I tried flashing stock boot.img from both of those firmwares and it didn't restore touchscreen functionality. I did backup Boot using TWRP prior to flashing and restoring that didn't even fix it even though that fixed the soft bricking earlier.

Reading through the thread on similar issues it sounds like the Lenovo Rescue & Smart Assistant should be able to restore it, but neither of the options for restoring work (See below.) I even tried manually selecting Moto G Power and the appropriate model number, but it still results in that error. :\

i.imgur /5Fu5SKB jpg

Any ideas? Does this having anything to do with A/B partitions? I noticed during flashing that it mentions it's sending/writing boot_b.
[Moto G Power Guides, News, & Discussion] pjottrr:
if the touchscreen doesn't work, that means you don't have the correct firmware image /boot.img

that could simply mean a wrong boot.img wit a wrong firmware image

With "fastboot boot boot.img" you could test more easy and see if you can find a boot.img that gives you touch again. , after you find the proper one then "fastboot flash boot boot.img"

the writing boot_b is normal, i see that too , but that is on an xt2041-3

ps if you have an otg cable you could connect a mouse/keyboard to your phone and move around , find the info from the phone to determine the version you need
[Moto G Power Guides, News, & Discussion] slosha69:
I don't have a way to do that currently, but will look into that. However, how does one determine that? Do I use the build number. If so, what do I do with it or where do I search it to find the right boot.img? I'll try other boot.img files in the meantime. Thanks!
[Moto G Power Guides, News, & Discussion] kc6wke:
You said you did a backup of your boot with twrp? How did you try to restore it, with twrp or fastboot?

If you tried through twrp you might want to try coping it to your adb dir and boot to it from fastboot first (fastboot boot boot.emmc.win).

then if it works flash it to the phone. Twrp is still Iffy atm. not sure if restoring works properly from twrp.

You have to use the boot image for the firmware the phone in on, yes the build number will tell you what firmware you are on which is [art of the firmware name.

example

XT2041-6_SOFIA_CCAWS_10_QPMS30.80-51-5_subsidy-CCAWS_regulatory-DEFAULT_CFC.xml.zip

QPMS30.80-51-5 is the build number
[Moto G Power Guides, News, & Discussion] pjottrr:
If you can't find a working boot.img i think getting an otg cable is your best option.

as soon as you can move around on your phone you can get lmsa fired up, and that will download the correct rom for the phone.

What i think is that the lolinet mirror is incomplete and that you need a firmware that's not on there or you are not at all on the CCAWS update channel. ( that seems unlikely... but you never know)

i hope the restore option kc6wke suggested will help you, if not, the otg cable would be your best next option
[Moto G Power Guides, News, & Discussion] slosha69:
I will have to try the OTG route and find the right firmware. I just tried booting the boot.emmc.win I had already copied from TWRP to my computer and no dice. I don't know, maybe I copied that after the flash, but I'm pretty sure I didn't. Thanks again for the help.
[Moto G Power Guides, News, & Discussion] Shulkybear:
Can someone please post the Magisk patched boot image for the Moto G Power sofia-QPM30.80-51-5 US retail? I don''t have Wifi and can't run the Install from the Magisk Manager app.
[Moto G Power Guides, News, & Discussion] Drift3r:
I have a few questions regarding unlocking.

If you have an unlocked phone does this interfere with updates?

If so then would I have to lock my phone again, assuming I can keep root, in order to update my phone?

Lastly, would I just use the stock boot.img to lock my phone again or would I have to use the Magisk Manager patched version again?
[Moto G Power Guides, News, & Discussion] pjottrr:
Hi Drift3r, hereby some answers to your questions,

but before i answer them, let's define some standards so there cannot be any confusion:

1 unlocking refers to bootloader unlockling

2 rooting refers to patching the boot image with a patched magisk boot.img

if you have your bootloader unlocked that does not interfere with the update process.

However, the parts after that will.

I'm asuming you don't mean unlocking but you are talking about the patching process here. and the answer is Yes, every time there is an update you need to de-root --> patch system --> download image --> extract new boot --> patch with magisk --> apply with fastboot

since this question is an extension of the first, i think you could best read the topic i wrote about it

you can find it here:

https://xdaforums.com/moto-g-power/how-to/guide-ota-update-rooted-revert-to-t4132339

ps. if you get the hang of it, applying a system image , and applying images, it will only take about half an hour
[Moto G Power Guides, News, & Discussion] Drift3r:
Thank you! I was able to unroot my phone and update it.

One last question. Has anyone being able to de-bloat their phones of useless stock apps, Facebook, when rooted? I noticed that I was not able to delete these apps even when I was rooted.
[Moto G Power Guides, News, & Discussion] cnoevl21:
I unlocked bootloader and tried to root. Its seems to have worked, but the touchscreen no longer works.

I used lmsa to download the stock rom. installed magisk and ran the boot.img to get the patched boot. Then flashed the patched boot and when i rebooted the device...no touchscreen.

I tried to reflash the original boot.img but that didnt help.

I tried to use LMSA to rescue. but when i connect the phone it says "unable to match firmware. Some key information cannot be read from device."

The original adb fastboot was old. So I did update to the r30 version and tried flashing everything again. but it still boots up and no touchscreen.

Im obviously at a loss here. so any help would be appreciated. Just to even get it back to stock would be fine.

Or do I try to install twrp and throw a custom rom on? would that work. Again, at a loss...

TIA