yashsingh1/xdaforums huggingface dataset:
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] mingkee:
Am I missing something?

1. Phone shipped with Android 10 must use "fastbootd" to flash boot. Failure to do it can cause boot loop.

2. You can grab boot.img when running LMSA rescue. You can even update ROM but make sure you backup data. Running rescue will wipe data.

Here is correct way to root

1. Make sure adb is up to date so you can access fastbootd

2. Phone should be charged at least 60%

3. Prepare USB C data cable. G Stylus uses USB C interface

4. Reboot your phone to bootloader (press and hold volume down and power it on)

5. Connect your phone to host computer and run LMSA in order to get boot.img

Note: if build number is different on LMSA, you may need to update ROM. Do backup if you didn't.

6. Locate downloaded ROM file and copy boot.img to phone (internal memory download folder)

7. Run Magisk Manager and patch boot.img, and copy patched_boot.img back to host computer

8. Open command window and cd to adb folder

9. Key in: adb reboot fastboot

10. When phone shows fastbootd screen, key in: fastboot flash boot patched_boot.img

11. Key in: fastboot reboot

12. Done

This is a common method for Moto phones shipped with Android 10. I used method above to root G Power, One Hyper, and Edge
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] dafunk60:
On your phone (not in the Lenovo Software on your PC), what is the build number & software channel?

You can find the build number at:

Settings > About Phone > Android 10 Version > Build Number

It will look something like QPRS30-80-58-5.

The software channel can be found at:

Settings > About Phone > Software Channel
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] griz.droidx:
Thanks Androidian's (I hope I just coined that one!}, I've got it rooted now by installing twrp and flashing magisk. I think someone mentioned that way somewhere. I've almost always done it this way or by flashing SuperSU, or running an app or two like on the dx.

I was on the latest and greatest because I'd tried already had to swap drives to use their tool because it's windows only what the blankedy blank kinda crap is that Lenovo? I mean Android uses the littles l Linux kernel and an entire subset of Linux users in particular use the old Thinkpads.

Anyone know if it'll run in wine? Or maybe there are windows live disks I could use.

Also no one gave an opinion on the question of.

See the question in the questions section I've went off topic enough.
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] CWGraf71:
I got this phone yesterday and did the unlock and flashed the patched img file now the touch screen does not work. Did you find a way to fix this? I can not pull the battery to reboot, touch screen doesn't work and cannot enable usb debugging for the rescue software.
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] dafunk60:
The non functional touch screen appears to occur when you flash a boot image from a different build than your phone is running. Reboot to recovery (hold power & volume down) & flash the correct version of the stock boot image. I think the Lenovo Rescue Software will connect via fastboot (adb not required) if you run it when the phone is at the bootloader or recovery.
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] CWGraf71:
Thank you! I read your reply two minutes before I did exactly what you said. I really got bent over for the last time as Sprint customer (almost 20 years) when the T mobile merger was finalized. I was already experiencing issues a few months before and in a chat with Sprint Aug. 30th I was told my two phones were not going to work anymore and needed to migrate to T mobile. I could migrate for free before Aug 31st, I was and am furious but I got this Moto G Stylus for free and a $40 tax and fees included unlimited plan. I came home and started the process to unlock and root, I had not set anything up or added anything thinking it may be better as Samsung updates on my other phones changed made things difficult and no down grading.

It all makes since now because it happened to me but now I remember seeing a Motorola system update pending a WiFi connection, I figured it did not download so no problem. When I used the rescue and smart assist it displayed only one firmware build#QPRS30.80-64-6, I did not notice the last digit was different and continued to use that boot.img to patch. So I am to believe that the build number changed somewhere, but not in the about device, I would have thought it would have at least shown two builds, I was thinking it was correct and now needed to figure out what build I had written over, talk about a panic attack. This happened just a couple of hours before heading to work, bad idea. LOL I was thinking just what you said to do but I was having a difficult time getting the download from Mega until I installed the app on a different phone and transferred it to PC via Feem. Six hours later of trying to get the file I am back to start over again with the correct img file.

Question: Should I update to the QPRS30.80-64-6 before and use that patched img file?

Like others have said it has been a long time, but the process has gotten easier.

Thank You!
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] dafunk60:
I would. I typically like to keep my phone up to date so you might as well do it now instead of un-rooting, updating, & rooting again.
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] mingkee:
https://xdaforums.com/moto-g-power/how-to/moto-g-power-flashing-guide-t4159301

I use this and it always works
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] Mnstr3nrgy:
IDK how anyone is acheiving this based off these intructions. I cant seem to get passed step 2. Like where the hell do I plug the micro usb cable into.

Maybe somethings wrong with my device......
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] dafunk60:
Yeah, the instructions in the 1st post are not great. I think that's what's causing many of issues for others. I've posted more detailed instructions in this thread. Take a look starting at post 6.

I've been thinking about consolidating my instructions into a new thread. Would anyone find that useful?
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] Mnstr3nrgy:
I would most likely find it useful. I'm actually sitting on the fence still about rooting my Stylus, leaning more towards yes, since I just found out that my Samsung A20 is not capable of unlocking bootloader.

Only thing realy holding me back is I'm thinking of getting a Samsung Gear S3 and if I remember correctly back in the day when the Gear S came out, it did not like rooted devices. Could be wrong but basically thats where I'm at, at the moment
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] k3dar7:
really is no way to work OTA while Magisk installed? i mean some Magisk Hide Props Config, or not install TWRP or anything? i actualy have Nokia 7 Plus (unlocked via unoficial method) and last year while not installed TWRP is possible check system update, install over air (while Magisk is installed), before reboot run MagiskManager, install Magisk to other slot, reboot, started from updated slot with Magisk installed, without need flash stock boot img before ota and flash manualy patched boot img after OTA... sure have Moto G Pro additional check or limitation and this not work? thanks...
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] LordKensington:
I've tried patching and flashing a few times but service and the touchscreen stop working when I do. I've been able to restore stock each time but I can't seem to root. Any help?
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] dafunk60:
The non functional touch screen is a symptom of flashing a boot.img that does not correspond to the current version of the ROM you're running. i.e. your running QPRS30.80_58_3 but patching & flashing QPRS30.80_58. What version is your phone running & where are you getting the boot image your patching & flashing?
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] mingkee:
Here is a working solution

Reboot your phone in bootloader and run LMSA

Let it download ROM for you. If you want to keep the .zip, make sure you observe the progress and go to "open" shows on bottom right and go to ROM files

Once download hits 100%, copy .zip to somewhere you know

The remaining folder after download has everything you will flash

I have a guide in G Power general section and it applies to G Stylus as well.

This can guarantee you have patched boot matched build number
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] rtfmist:
hmmm, can't find anything like that, only options like:

- barcodes
- bootloader logs
- power off
- recovery mode
- restart bootloader
- start

:confused:

Sorry, I'm totally newbie to the smartphone internals and might miss something obvious for experienced :)

UPD: just realized LMSA is not a phone feature but some windows-only software.

I don't use any Windows, so is there a more straightforward method to download ROM, or extract it without root access?

Motorola tech support says they don't have a link for a proper file.
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] hawk1500:
He means stay on that screen and run this to repair your phone: https://support.lenovo.com/us/en/downloads/ds101291
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] rtfmist:
hawk1500, yeah, thanks, just updated the post: it's an excessive windows-only blob. I'm curious if there's more universal method to obtain the original ROM? Or to make sure that an unofficial one has no backdoors (checksums).

About unofficials, btw, the link from the first page doesn't work.

It's actually where I'm stuck now.

The build number is: QPRS30.80-58-5

Software channel: US Retail

Model: Moto G Stylus
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] rtfmist:
doesn't exist anymore :crying:
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] The Aughts:
I've gotten stuck after unlocking my bootloader. I installed LMSA and used the rescue function to download the image as instructed for using Magisk to root, but after unlocking the bootloader LMSA no longer recognizes my device firmware and I haven't been able to stop my phone from downloading some updates after first boot up that change my build number from QPR30.80-64-6 (what it was before I unlocked) to QPRS30.80-64-6-2. Since LMSA won't recognize the device I can't download an image for this build version. I'm on the MetroPCS channel.

I mean, my phone still works. And I tried to flash with the image LMSA provided after my unlock, but that just caused it to continuously reboot until I did a factory reset. Have I kinda boned myself as far as rooting goes?
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] dafunk60:
LMSA has no trouble recognizing my phone after unlocking the bootloader & rooting w/ Magisk. How's it showing up in Device Manager? Can you connect to the phone via ADB or Fastboot?
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] The Aughts:
While in charging mode and fastboot only 'Motorola ADB Interface' is active under 'Android Device' but while File Transfer is selected it's called 'motorola g stylus' under 'Portable Devices'. I'm able to see the device serial using both adb and fastboot devices commands.

With LMSA it tries to connect to the device using the profile it generated from when I downloaded the original image, but says Information you input does not match connected device. Your device is []. And when I try the 'Read current device button I get Doesn't match the appropriate firmware. You can try to select a firmware yourself manually. (and when I do that I get the first message again putting me in a loop).
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] dafunk60:
Sounds like windows is connecting to your phone properly & LMSA is just confused. I would try uninstalling the LMSA software & reinstalling.
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] The Aughts:
Reinstalled/moved the ProgramData files and restarted and it didn't seem to change anything. Searching for those error messages in Google gets me very little (Google seems to think only one other person has seen a message similar to mine), so... I may be stuck at this point, without another way to get my specific build image. Welp.
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] Mekzul:
I seem to be having very similar issues as some of the other OP in this thread. So when I initially ran the Lenovo rescue and smart assistant it provided me with a stock image:

SOFIAP_T_QPR30.80_64_6_subsidy_MPCS_RSU_QCOM_regulatory_DEFAULT_CFC.xml

I removed the boot.img from this file and proceeded to patching using Magisk Manager which produced a new img file magisk_patched. once in fastboot I checked to see which partition was default and I found that mine is boot_a. Numerous attempts at flashing this through ADB all resulted in the non working touch screen/ no battery or service info error. Upon reading the posts in this thread and numerous others it does make sense that this issue would happen if the wrong boot.img were patched and flashed however when I re-flash the original boot.img from the stock ROM provided by LRSA my phone is once again fully functional like it should be upon flashing the stock ROM.

Now there was another post in this thread that mentioned a security update and sure enough when I checked there was a pending update to the current build and so I allowed the update to fully complete and am now seeing this.

Android version: 10

Current version: QPRS30.80-64-6-2

security patch level: September 1, 2020

After this recent security update when connecting my device to my laptop and running LRSA it auto populated the correct phone and model (Moto G Stylus / XT2043-4) but the attempt to auto detect the firmware comes back with this error:

Information you input does not match connected device

Your device is [ ].

Want to use it?

Apply detected info. <--- this is a clickable button

selecting that button provides:

Doesn't match the appropriate firmware. You can try to select a firmware by yourself manually.

The read current device option produces a similar error except in addition to the error above it states that "if then no matching one, device is unsupported".

Logic and process of elimination has led me to the conclusion that there must not be a Stock image available yet for this new security patch and that's what is causing this entire issue. :confused:

Can anyone confirm my suspicion?
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] The Aughts:
I did consider that as a possibility, but the fact that no one else had seemed to get those error messages before made it seem more like an error had happened during my unlock step or something. That it's happened to you in the same time frame reassures me somewhat (especially since our devices seem to be exactly the same). If we wait for a patch from Lenovo this might solve itself on its own.
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] Mekzul:
Unless we're both completely empty in the head (which I very seriously doubt lol) that really seems to be the only logical explanation. If you look back at the posts in which the OP was successfully in rooting the dates of those posts are prior to the security update, that coupled with the fact that I was provided a stock firmware BEFORE updating (that worked 100% to restore my OS) but after the update one magically doesn't exist....:rolleyes: talk about showing up to the party late huh?
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] dafunk60:
So I figured out an easy way to get a copy of the boot.img your phone is currently running without needing root or a download from LMSA. Grab a copy of TWRP from https://xdaforums.com/moto-g-stylus/development/recovery-twrp-3-4-0-0-t4155041.

You only need to boot TWRP (not install). To do that connect your phone & PC via ADB and use the following commands.

(Use the actual path & filename to the TWRP image.)

adb reboot bootloader
fastboot boot twrp.img

In TWRP backup the boot partition & reboot into Android.

Use Magisk Manager to patch the boot.emmc.win file from the TWRP backup.

(The boot.emmc.win file is a DD of the boot partition and the same as the boot.img you would get from the ROM files.)

Copy the magisk_patched.img back to your PC.

Reboot the phone to the bootloader.

adb reboot bootloader

Flash the patched magisk_patched.img and reboot the phone into Android. (Use the actual path & filename to the patched boot image.)

fastboot flash boot magisk_patched.img
fastboot reboot

If you install TWRP (not just boot it) you can do all of this from within TWRP, details are available at https://www.xda-developers.com/how-to-install-magisk/.
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] dafunk60:
The non responsive touch screen is because the version of the boot.img your patching...

...doesn't match the version running on your phone.

The "-2" matters.

I think you guys are probably correct about something being off with the versions offered by LMSA. I'm on the Retail US channel & my phone is running QPRS30.80-58-7 after the September update but LMSA is offering QPR30.80-116. I posted details on how I went about extracting the boot image with TWRP & patching it to get root.
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] cbc0201:
QPR30.80_64_6_2

https://mega.nz/file/2UMGDb7B#4OZmO_DMUXiJnSkuyf4Y1w3LHVxoXM-P7umpRUWqaAQ
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] MightyFalcon:
Fighting the inevitable?

This might be an obvious thing for the more experienced, but for warranty reasons, can you unroot / relock the bootloader? Does doing so make it appear as stock if a warranty issue came about? Cause I definitely want to run a no google play ROM, but I also have a new device with a year to look forward to.

Thanks!
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] cbc0201:
Once you submit for YOUR bootloader unlocK CODE From MOTOROLA, YOUR WARRANTY IS VOID !IRREGARDLESS, IF YOU ACTUALLY UNLOCK THE BOOTLOADER OR NOT.

SO NO, RELOCKING THE BOOTLOADER WILL NOT REINSTATE YOUR WARRANTY.
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] johnjingle:
I believe there is a tamper flag even if you relock the bootloader, but I have had two phones that had been unlocked that needed to be warranty replaced and they didn't even care.
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] 2dirty:
hi does anyone know where i could get the boot.img file for my moto g stylus?

us retail variant

build number qprs30.80-58-7
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] dafunk60:
If you have a PC you can do this.
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] MightyFalcon:
Re: tamper flag

Thanks to those who confirmed there is a tamper flag. I was pretty sure of that, was just wondering how much it would affect my chances of turning a device in for repair. I just did a pretty thorough burn in test so I think I am solid in terms of all the parts, but I'll probably wait until the tail end of the warranty to throw down some CFW on it. Hopefully it gets a Lineage release by then.
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] k3dar7:
btw: using only booted TWRP is possible Install directly magisk.zip, right now tested and after reboot root working :)
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] CorporalCactus:
anyone know how to boot into fastbootd mode with TWRP recovery?
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] jhjhjhjhjhjh:
Flashed updated /retus/firmware on my Best buy U.S motogstylus and now I have faceunlock and my phone now says moto g pro. I also have a new boot up animation that says android one when starting the device.

Everything working , xposed, dolby , viper, root etc..

I Stick with stock roms because of android auto only works on stock roms..

Thanks to the original ops who put the commands for fastbooting stock and custom roms..

I used the firmware dated 10/30/2020

https://mirrors.lolinet.com/firmware/moto/sofiap/official/RETUS/

Stock fastboot install-

fastboot flash partition gpt.bin

fastboot flash bootloader bootloader.img

fastboot flash vbmeta vbmeta.img

fastboot flash radio radio.img

fastboot flash bluetooth BTFM.bin

fastboot flash dsp dspso.bin

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash dtbo dtbo.img

fastboot flash recovery recovery.img

fastboot flash super super.img_sparsechunk.0

fastboot flash super super.img_sparsechunk.1

fastboot flash super super.img_sparsechunk.2

fastboot flash super super.img_sparsechunk.3

fastboot flash super super.img_sparsechunk.4

fastboot flash super super.img_sparsechunk.5

fastboot flash super super.img_sparsechunk.6

fastboot flash super super.img_sparsechunk.7

fastboot flash super super.img_sparsechunk.8

fastboot flash super super.img_sparsechunk.9

fastboot flash super super.img_sparsechunk.10

fastboot flash super super.img_sparsechunk.11

fastboot flash super super.img_sparsechunk.12

fastboot flash super super.img_sparsechunk.13

fastboot flash super super.img_sparsechunk.14

fastboot erase carrier

fastboot erase userdata

fastboot erase metadata

fastboot erase ddr

fastboot reboot bootloader

roms fastboot install-

fastboot reboot fastboot

fastboot set_active a

fastboot flash boot boot.img

fastboot flash system system.img

fastboot flash product product.img

fastboot flash vbmeta vbmeta.img

fastboot -w
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] jhjhjhjhjhjh:
To use TWRP I did this

Need cpu/laptop with updated adb and fastboot.exe

Otg (usb type-c) and mouse

See pic below for an idea of what an otg looks like

I kept one from a samsung phone I had years ago and it still works. Retail price $8 us dollars to about $25.

Extract twrp into any folder you want

open command prompt inside twrp folder

type fastboot boot recovery.img( twrp.IMG )(name of twrp image)

wait a second once you see the blue moto screen immediately remove cord from phone and input otg cable with mouse ..

phone will be in twrp menu and you can use the mouse to navigare in the menus to install gapps and magisk or all your zips..

bam

I only use TWRP for custom roms.

On stock I keep stock recovery...
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] k3dar7:
or this ;)
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] k3dar7:
Self answer :) YES is possible ;)
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] skateguy1234:
This works with the unlocked US version? Model XT2043-4 https://www.amazon.com/Stylus-Unlocked-Motorola-Camera-Indigo/dp/B084CVPLLC/

I plan on rooting and then putting it on Verizon after root is done.

Also is the bootloader unlock instructions still provided by Motorola?
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] racenrich:
Flashed updated /retus/firmware on my Best buy U.S motogstylus

hey there, what was the version of your stock rom? you mentioned using this one below.....for Oct 30th....to flash firmware update...

OCT 30 build......XT2043-8_SOFIAP_RETUS_10_QPRS30.80-109-8_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

My phone is this version

OCT 8 build.....XT2043-4_SOFIAP_RETUS_10_QPRS30.80-58-7_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

was this flashed to support a newer version or to allow additional features?

curious?

Thanks much
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] jhjhjhjhjhjh:
Yes 10/30 build. I noticed a performance boost along with faceunlock.. I suggest the devs use this stock build as a guide so maybe faceunlock can also be on custom roms...

XT2043-8_SOFIAP_RETUS_10_QPRS30.80-109-8_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

2020-10-30 19:27

2.1 GB

"FaceUnlock' actually works very fast on this device..

Enjoy!!
[Moto G Stylus (Moto G Pro) Guides, News, & Discuss] ClassickWORLD:
I tried your method and got everything up and running, but when I flashed the patched boot image, my device is now stuck on a frozen home screen and the battery says 0%.. Bout to reflash and try again.

Update: Reflashed everything over and all is well.