yashsingh1/xdaforums huggingface dataset:
[Moto G5 Plus Guides, News, & Discussion] avi_p94:
Moto g5+ root_stucked

when i connect my phone via USB to PC it wont show me anything. after that when i go in (volume down + power button ) then the phone is connected to that app.

then i will tell you the step by step process :

step by step :

1) i downloaded and install Lenovo moto smart assistant.

2) then i choose update LMSA option and it gives me o/p: "you have the latest LMSA update"

3) then i choose "flash " option .in that I choose my model details( model and device package )and it automatically went for fastboot mode and give me the following instruction :

Target image :" POTTER_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip "

warning: make sure target image matches your device model. Flashing removes all data from device.

4) i downloaded that zip file.

5) after completing that file 1 option got heighlighted "rescue " and i pressed on tha button.

6) after 10 -12 min error came "rescuue failed " and my phone got stucked but when i eject from USB it is working (means in bootloader mode)

Please Suggest further steps ??
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
OK, it seems that no fastboot firmware can be flashed, for whatever reason.

Last thing I could think of is to flash a TWRP flashable firmware:

https://xdaforums.com/g5-plus/development/oreo-twrp-flashable-stock-builds-coming-t3830482

You have to flash twrp first, you can get it here:

https://twrp.me/motorola/motorolamotog5plus.html

Put the TWRP image to your fastboot folder on PC (in your case Mini ADB and Fastboot), start your device to fastboot mode and flash TWRP:

fastboot flash recovery twrp-3.3.1-0-potter.img
fastboot reboot recovery

Than you should be in TWRP recovery and from there on follow the steps from the thread:

https://xdaforums.com/g5-plus/development/oreo-twrp-flashable-stock-builds-coming-t3830482
[Moto G5 Plus Guides, News, & Discussion] avi_p94:
Moto g5+ root_stucked

trying to download the twrp-3.3.1-0-potter.img but there are various versions are there :

1)md5 for twrp-3.3.1-0-potter.img

2)sha256 for twrp-3.3.1-0-potter.img

3)Download twrp-3.3.1-0-potter.img

4)Download PGP Signature twrp-3.3.1-0-potter.img.asc

please confirm......

Thanks in advance....
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
md5 and sha256 are just files to control that your download was ok. You need only 3) twrp-3.3.1-0-potter.img

https://eu.dl.twrp.me/potter/twrp-3.3.1-0-potter.img
[Moto G5 Plus Guides, News, & Discussion] avi_p94:
Moto g5+ root_stucked

I have some doubts.

1) installing TWRP , install via fastboot OR direct(means copy file to internal and install via mobile).??

2)while trying to flash TWRP i have to wipe the formate data or not .?

3) if YES, then when to clear..? means before installing TWRP or after ..??

4) after installing TWRP , i dont have to choose any other options .?(means in mount option or in advanced option) .? etc....

5) and completing installation , only normal reboot is required or any other .??

6) and after installation TWRP complete..rebooting TWRP complete.. i have to install TWRP flashable firmware:..? right.? (you give me link..that steps i willl follow).

7) after installed TWRP flashable firmware, i have to reboot in normal mode.? in that i dont want to clear wipe the data.? if yes then please mention which files i have to wipe.

8) and last... when i normally choose reboot option TWRP options(TWRP,wipe,advanced, backup. etc).. why there is showing me "no os is installed. are you sure want to reboot.? "

Please Please.... just clear my doubts.
[Moto G5 Plus Guides, News, & Discussion] avi_p94:
Moto g5+ root_stucked

I got this error when i flash TWRP.img :

C:\Program Files\Mini ADB and Fastboot>fastboot flash recovery TWRP.img

(bootloader) is-logical:recovery: not found

Sending 'recovery' (16342 KB) OKAY [ 0.694s]

Writing 'recovery' (bootloader) Image not signed or corrupt

OKAY [ 0.282s]

Finished. Total time: 1.094s

C:\Program Files\Mini ADB and Fastboot>fastboot reboot recovery

Rebooting into recovery FAILED (remote: 'Unknown command')

fastboot: error: Command failed

PLEASE SUGGES

T

and again i reboot my device and choose recovery mode.

then i choosed wipe option and i choosed formate data.

after that this time i manually put file in TWRP folder.

then i try to tnstall .img file, it will ask me :

select partition to flash image :

system image

boot

recovery

vendor

logo

wht i have to choose.?/
[Moto G5 Plus Guides, News, & Discussion] avi_p94:
so much thank you for your continues support.

i don't knw what happened i just send you the error, after that i just tried troubleshooting.

i just put "potter-twrp-flashable-OPSS28.85-17-6-aroma" this file into internal system and just try to install.

and you know what happenedd......i just got my firmware backk..... hureyyyyyy

thanksss...thankssss...thanksss.....:o:o:o:o:o:o:o:o:o:o:o:o

if i need anything i definitely contact to you.

THANKSSSSSSSSSS.................................
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Nice to hear that you got it working again with the TWRP flashable firmware, you're welcome.

Btw, you can press the thanks button at the bottom of my posts.;)
[Moto G5 Plus Guides, News, & Discussion] avi_p94:
Moto g5+ root_stucked

HI ,

But 1 thing i dont get it is that when i checked in root checker app it shows me that " root acess is not properly installed on this device ". ?????

and when i normally restart my phone it was move to 1st bootloader mode screen automatically (when we pressed volume down + power button that screen appears ) and after that i have to pressed START option and my phone restarted.

why this is happened.?

any clue.??

suggest....
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
First thing: When your device doesn't boot to system you may have to boot directly into TWRP first after flashing it. If that doesn't work with the command

fastboot reboot recovery

after flashing TWRP reboot to it with the button combination (I think it's pressing power and vol down).

You have to boot into TWRP before you boot into system to make it stick.

About your root problems: You have to boot to TWRP and flash the latest magisk.zip (available here:

https://github.com/topjohnwu/Magisk/releases) see attached screenshot.

After that boot into system, open Magisk manager and check if everything is working.

If you have problems to make magisk stick flash Disable_Dm-Verity_ForceEncrypt_02.04.2019

https://yadi.sk/d/HLr5vjnkA8gaqw

afterwards.

The steps are:

Flash TWRP

Boot into TWRP

Flash magisk.zip

Flash Disable_Dm-Verity_ForceEncrypt.zip

Boot into system
[Moto G5 Plus Guides, News, & Discussion] avi_p94:
Moto g5+ root_stucked

now i m very scared to do anything on my phone. somehow it is working.

but i have to do it , coz sometimes some apps shows me error.

now i have doubts :

firstly in my phone there is app called official TWRP. in that there are 3 options : TWRP flash ,etc....

so should i flash it from here..? ya i have do the earlier steps (volu + power).

secondly, when i will do this steps ,my internal memory stays like that ya it will clear all the things .?

thirdly, when i flash something into my phone we have to clear wipe cache aur anything.?

fourthly, i have to flash supersu app in my phone.?

https://github.com/topjohnwu/Magisk/releases) this link is not working.
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Sorry, the link has to be https://github.com/topjohnwu/Magisk/releases

Download the 20.4 magisk.zip from there (see above screenshot) and copy it to your internal storage.

Yes, you have to do it from the official TWRP.

When you're there choose the magisk.zip in your internal storage and swipe "flash".

No, your data will stay intact, nothing will be wiped.

Wiping caches is not necessary, you can do it but you don't have to.

No. Magisk is the new superSU which has be abandoned.

The Magisk manager you'll find on your device is the same as the superSU app in former times.

Here are some information and troubleshooting about Magisk:

https://didgeridoohan.com/magisk/HomePage

Edit:

One important info from the link above, especially keep an untouched boot.img from your firmware (when you unpack the firmware you'll find it). You can flash it from TWRP in case of a bootloop.

Things to keep on your device

There are a couple of things that are good to keep on your device, making it easier to recover from any problems that might arise.

A copy of a clean boot image for your ROM (can be flashed to restore your device in case of problems). Most of the time, the uninstall zip (see above) is enough, but just in case. Disabling Magisk by flashing an untouched boot image will also keep the Magisk image intact. If you don't know how to get an untouched boot image for your device, your best bet is to search through your device's forum. The Magisk installation script will put a packed up backup of your boot image in /data before patching it. This can also be used.

https://didgeridoohan.com/magisk/MagiskInstallation
[Moto G5 Plus Guides, News, & Discussion] avi_p94:
Moto g5+ root_stucked

Thanks alot man....

from your continues support i m able to root my device.:cool::cool:

but only 1 thing....i got 1 prob in magisk manager is that "ctsprofile : false " and " basicintegrity : true ".

have you know..? why it is false.??

and overall its very nice talking to you and nice support.:cowboy::cowboy:
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
You're very welcome, good to hear that almost everything is running now and my posts had helped you!

About tripping safetynet:

That's a thing that you have to ask/figure out in the Magisk thread

https://xdaforums.com/apps/magisk/mod-magisk-v1-universal-systemless-t3432382/page3927

and get knowledge in the link I provided to you:

here:https://didgeridoohan.com/magisk/MagiskHideSafetyNet

There are several things that can cause CTS profile false, especially in the last days.

Have your any modules installed? There are a few that trigger CTS/ safetynet.

One way is to use the "MagiskHide Props config" module.

Infos can be found in the links above, questions in the Magisk thread.
[Moto G5 Plus Guides, News, & Discussion] avi_p94:
Moto g5+ root_stucked

Hi,

i only want to know that, is this error(ctsprfile:false) will impact to my mobile.? if i stays that confuguration like that only, then its ok or not.?

and if in future i want modify my current OS firmware of my phone(means changing oreo to any new OS) , then please suggest proper steps.so i will follow this steps and change the OS.

Thanks in advance.

:cool::cool:
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Safetynet (in this case CTS) is only important for you when you want to use Google pay or some banking apps and games that won't work if you don't pass the complete safetynet check.

Not all banking apps/games need that check to be ok but some do it.

If you want to change to a custom ROM there are a lot of guides here on XDA, if you have any problems nevertheless you can ask me via PM (personal message).

I would recommend to be happy for the moment that your device is working now, rooted too and don't try to do anything new directly.

Take your time, read (!), there's a ton of information here on XDA about rooting, MagiskHide, Magisk modules, custom recoveries and custom ROMs/Kernels.

I learned everything I know from reading several threads and other sources. The best would be that you're in a position where you know what you're doing.

Good luck and you're welcome.
[Moto G5 Plus Guides, News, & Discussion] ashitpatel:
Can someone send me a persist that can help me get back my imei, i have messed up everything and cant get imei back, tried everything. I see the post said he was also not his own persist.
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
If you've flashed someone else's persist file you're out of luck.

Only a backup of your own one could save your device.
[Moto G5 Plus Guides, News, & Discussion] manishmore:
fastboot erase modemst1

fastboot erase modemst2 can i skip this command ? Or not. My persist is intact
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
You can skip these commands but there's no good reason for it.

If you run into problems you can do these commands later.
[Moto G5 Plus Guides, News, & Discussion] hammad97:
Yeah! You can skip this.
[Moto G5 Plus Guides, News, & Discussion] pravin_19i:
I have pixel experience rom on my moto g5 plus, will this method work for it?
[Moto G5 Plus Guides, News, & Discussion] RadioActive Fox:
https://telegra.ph/Volte-Fix-For-Moto-G5-Plus-04-05-2 this works
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Don't do this!

Flashing someone else's persist file will cause a lot of trouble up to a hardbricked device.

In this case it's a good thing the post you're referring to is from September and the user @david.gs.gm may not read it anymore.

Anyway:

Read the OP of this thread where you posted the same "fix":

https://xdaforums.com/t/fix-persist-resolve-imei-0-volte-4g-explanation-requirements.3825147/

and this post from @NZedPred, the only one who was able to understand and fix the persist problem:

Source:

https://xdaforums.com/t/fix-persist...xplanation-requirements.3825147/post-84143711

Quote:

"Well every now and then I pop back to check this thread. Unfortunately I get a bit of a shock when someone posts something like this that gives the appearance of fixing something at the expense of ensuring it's otherwise broken permanently.

Have a look at the first post, last section entitled 5a) Why did flashing another device's persist fix Volte?

i hope you have a backup of your efs and persist... (refer to the second post)."

In any case: NEVER flash a persist file from another device or some shady "fixing sites".

if you don't have a backup of your persist and efs your device may get a nice paperweight.
[Moto G5 Plus Guides, News, & Discussion] irfanalinawaz:
As you said you are on 137-92-14, if you have not your Persist and you will try to install oero ota thn definatly you will loose your network signal and maybe imei also, install twrp, take backup of efs and Persist, save them on sd card or otg thn fastboot flash oero from the link that I have provided, after that flash only firmware feom SOAK test 1 aroma via twrp thn restore your efs and Persist and boot, after that you can also lock bootloader if seems everything fine. Tell me your current baseband version thn I can guide further. Also tell me which version of ota you are getting right now.
[Moto G5 Plus Guides, News, & Discussion] livyansh:
I am getting ( OPS28.85.13 ) OTA update from Motorola and my current baseband version is M8953_37.46.07.47.01a POTTER_INDIADSDS_CUST
[Moto G5 Plus Guides, News, & Discussion] irfanalinawaz:
Backup your efs and Persist to sd card or otg if your VoLTE is working with this Persist, then flash fastboot oreo rom and boot it normally, reboot in fastboot flash TWRP, flash only firmware from soak test 1 aroma, back to twrp without reboot thn restore your efs and Persist, reboot, IMEI, radio, Volte will be fine. If wanna lock bootloader then flash bootloader locking fastboot commands. Remember bootloader locking in oreo having 4 more commands thn nougat as you can see in rom fastboot flash commands.

If you face any problem thn pm me I will provide you my telegram username, you can contact me there.
[Moto G5 Plus Guides, News, & Discussion] livyansh:
Thanks, bro it worked as you said about soak test 1 aroma and install firmware and restore my previous persist or efs backup its working fine now, but I haven't locked the bootloader just one more issue here is that if I flash OEM and there oreo sparesechunk.0 etc. then i have to install whole firmware again am i right or not
[Moto G5 Plus Guides, News, & Discussion] david.gs.gm:
Turbocharger working?

BT working?

Wi-Fi speed normal?

LTE speed normal?

Touchscreen ok?

Every New version Will need do this process again?
[Moto G5 Plus Guides, News, & Discussion] livyansh:
ya Bro BT working and wifi and LTE and touch screen also works fine and I haven't found any problems

turbo charging also working
[Moto G5 Plus Guides, News, & Discussion] irfanalinawaz:
Locking bootloader is a choice bro, be causes when installing future OTAs, my advice is dont install any OTA just wait for full fastboot rom of that OTA thn flash via fastboot with guidence from here.
[Moto G5 Plus Guides, News, & Discussion] livyansh:
ya thanks man
[Moto G5 Plus Guides, News, & Discussion] david.gs.gm:
Ok i did this process...but i first put soak1 Full instalation And 2nd put newest Oreo but with no firmware in aroma...And for now its ok... Better now bcoz in nougat was only 4G And now is 4G+ ?
[Moto G5 Plus Guides, News, & Discussion] immoniskhan:
Irfan i am using pixel experience right now i haven't downgraded yet so my volte still works

So my question is that do i install this rom just like other roms

I mean by using twrp ?

Can you help me how to install it

I don't wanna mess up
[Moto G5 Plus Guides, News, & Discussion] irfanalinawaz:
Bro, this is fastboot stock oreo rom not a twrp rom, if u wanna flash it thn read the guide in first page. If u wanna flash twrp stock oreo thn u can find it [MENTION=7346927]NZedPred[/MENTION] thread.
[Moto G5 Plus Guides, News, & Discussion] livyansh:
Your VOLTE is working right
[Moto G5 Plus Guides, News, & Discussion] irfanalinawaz:
If your volte working with pixel experience then its must do backup of efs and persist on sd card or otg before do anything new with your device, backup is must and really must.
[Moto G5 Plus Guides, News, & Discussion] irfanalinawaz:
Batyery usage on stock fastboot oreo with bootloader locked...
[Moto G5 Plus Guides, News, & Discussion] Dhan...:
same here..
[Moto G5 Plus Guides, News, & Discussion] david.gs.gm:
Yes
[Moto G5 Plus Guides, News, & Discussion] udhaked:
Stock roms

How you people make stock rom or extract stock rom from android . any guide will be helpful .:cowboy:
[Moto G5 Plus Guides, News, & Discussion] abhish bhadula:
Will it work for those people who were hard briked and using moto z play bootloader
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
There's no way to extract a stock ROM, you'll have to wait until someone leaks it.

Read the thread.
[Moto G5 Plus Guides, News, & Discussion] abhish bhadula:
The thing is my Moto g5 plus device got hard briked to make it alive my bootloader got changed since the iam on twrp flaahable roms....so I want to know will it upgrade my bootloader coz previously I always get preflash validation error whenever I try to flash bootloader or stock recovery
[Moto G5 Plus Guides, News, & Discussion] LLegion:
Same question hope somebody have tried already

---------- Post added at 06:19 PM ---------- Previous post was at 06:18 PM ----------

I have time until Saturday before let you know guys but if someone may know already
[Moto G5 Plus Guides, News, & Discussion] iBART:
:good:

US version is already here: https://xdaforums.com/g5-plus/how-to/download-official-moto-g5-g5-plus-t3848246/page2
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
This isn't the US/EU version, it's still the only available firmware for India.

The OTA requires NPNS25.137-92-14, US and european devices should be on NPNS25.137-93-14.
[Moto G5 Plus Guides, News, & Discussion] gumpysitruc@gmail.com:
Didn't work for me. I'm on the Moto Z bootloader, and it errors on bootloader rewrite, but everything else flashes and works, except for "service". On stock Nougat I have full 4G and Volte, and of course backed up EFS and Persist. After flashing this, I've tries every combination including installing newest twrp right from flash, then installing firmware from soak test 1 and restoring my backups. However still no "service".
[Moto G5 Plus Guides, News, & Discussion] pranjal24:
hello i installed the ota over stock 7.0 but forgot to take backup of efs. Now there is no signal. and i m updated to stock oreo what to do now please help
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
You mentioned in another thread that you flashed someone else's persist. You can't fix that, the persist file is unique to every single device.

Read the OP of the thread where you have posted, everything known about this is in there.

https://xdaforums.com/g5-plus/how-to/fix-persist-resolve-imei0-explanation-t3825147
[Moto G5 Plus Guides, News, & Discussion] david.gs.gm:
I already used some persist ... including the g4 to gain network ... and today with the tutorial of this topic I am with the oreo 28.85.17 with LTE network and VoLTE all ok ... better than 7.0 ... All perfect...but i have efs backup...now o have EFS + persist backup
[Moto G5 Plus Guides, News, & Discussion] riyan65:
Hey, can you post the latest update you are having.
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
He was on NPNS25.137-92-14. No other way to get on Oreo via OTA.
[Moto G5 Plus Guides, News, & Discussion] david.gs.gm:
so ... I made flashboot of the last nougat ... I put the last twrp ... I used the soak1 twrp flashable complete installation ... then I got the last oreo twrp flashable aroma but I cleared erase efs and fimware. so I restored the EFS and persist and ready ... last Oreo and everything ok.
[Moto G5 Plus Guides, News, & Discussion] dunderball:
Quick question, does stock Oreo have the same looking navbar as nougat?
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Don't crosspost. And if you want to flash a custom ROM...Man, you need TWRP and an unlocked bootloader. Than you can flash ROM,gapps and Magisk if you like
[Moto G5 Plus Guides, News, & Discussion] agustinsaavedra1:
Sorry but no ones answer in my question thread. I read about if you are in oreo you need to flash nougat to use a custom rom. I repeat i never unlock bootloader to this device and i force the update via ota with zip file
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Yes, I read that too. You should flash a TWRP flashable Nougat firmware before you switch to a 64bit custom ROM. I think it should work with a fastboot firmware too.

After unlocking the bootloader flash latest TWRP and backup everything, mainly persist and EFS. There's a high risk to lose your IMEI and/or volte and only with a persist and EFS backup you're on the safe side.

After that you can go on and flash your preferred custom ROM. Don't forget that Oreo custom ROMs are 64bit so you'll need a 64 bit TWRP recovery which is found in the android development section.
[Moto G5 Plus Guides, News, & Discussion] LLegion:
I did find out on youtube a guy from spain or mexico who used the retail version safe for baseband R phones and he made a batch file to install stock fastboot at just one click...I hard bricked my phone and had to bring it back with moto z bootloader..guess what Gentleman?????? It is workimg perfectly for me...a few screenshots now...I will upload and place the info tomorrow...
[Moto G5 Plus Guides, News, & Discussion] gumpysitruc@gmail.com:
that is good news. I guess I missed the retail version that is safe for R phones. Can you point me to it?
[Moto G5 Plus Guides, News, & Discussion] psychopac:
I have a question, if people who updated to 8.1 and were stock and locked like me, how will they get to custom ROMs?

Obviously the first step is to unlock the bootloader and flash TWRP but to get to custom ROMs, it is mentioned that you need to flash the last Nougat builds as all the ROMs are based on Nougat sources (I guess) and if I downgrade to Nougat from stock Oreo, won't that be a problem?

I am on stock 8.1 at the moment and was thinking about giving Pie ROMs a try along with that GCam.

Do correct me if I'm wrong and also point out a safe path to custom ROMs for users who'll be switching to them for the first time from stock Oreo.

PS: I know how to use fastboot and TWRP to flash stuff so that's no biggie :)

Update: [MENTION=5237901]Wolfcity[/MENTION] Is it possible to use a fastboot ROM to downgrade in my case? Shouldn't I skip the gpt and bootloader or should I just use the TWRP flashable anyway?

Also, I believe once a new update has been applied on a Moto phone, there's no actual way to downgrade than to skip the gpt and bootloader, correct?