yashsingh1/xdaforums huggingface dataset:
[Moto G7 Play Questions & Answers] CoffeeMachineSwitch:
Moto G7 Play bootloader unlock issues - "bad key", not OTA, no way to roll back?

My plan was to unlock the bootloader before configuring the new phone - just in case I might need it later, then use the phone as out-of-box. I unlocked the bootloader for the new Moto G7 Play, following the official procedure via the Motorola Accounts page, resulting in:

- Fastboot page shows: "flashing unlocked"

- When booting up, I see a black page with the words "bad key", then the phone boots

- The updater sais that the phone is corrupt and no (OTA) updates can be done

- I could not try TWRP, as there is no TWRP for the G7 Play yet (so not sure if flashing would work)

My concerns now are that I will not be able to update the phone, and that the "bad key" issue might cause other problems.

So my plan would be to roll back and lock the phone again, to use it as out-of-box (not worrying about warranty loss that might already have happened - I did accept these terms). However, that does not work, too:

- Locking bootloader requires factory images, which are not available for the G7 Play

- Locking bootloader with fastboot OEM lock will not work without complete images

Any suggestions how bring the phone back to normal? I am disappointed by Motorola, as they officially offer the unlock procedure - which then does not produce the expected outcome, breaks updating, and provides no way to go back? Mind you, I did not apply any "hacks", nothing but the official Motorola unlocking steps.

Thanks for advice
[Moto G7 Play Questions & Answers] Marcondes BR:
I have the same problem and i cannot fix it.
[Moto G7 Play Questions & Answers] CoffeeMachineSwitch:
I tried to get advice from Motorola support - but replies are very generic, referring to the bootloader unlock page (we obviously found that) or to the Motorola Forum (where the answer isn't). Will now just live with the unlocked phone and hope for the opportunity to OTA / update in a while
[Moto G7 Play Questions & Answers] mn1968:
Unlocking

any

Motorola bootloader will cause the bootscreen to display "Bad Key". This is normal. It is a warning that the bootloader has been unlocked and the phone may not be "safe". Once you root a Motorola phone, it will display "N/A" instead of "Bad Key". Again, this is normal behavior. There are image makers that can replace the "splash" image and "hide" the "N/A", but since this phone doesn't have TWRP yet, you'll have to live with it for now.

As far as not being able to receive OTA updates, I have no knowledge. In my opinion it shouldn't matter that the bootloader has been unlocked...only if you've modified or deleted system files. I've never worried about system updates as I've always rooted and run custom ROMs, or Xposed (which negates eligibility for OTA).
[Moto G7 Play Questions & Answers] CoffeeMachineSwitch:
Thanks for clarifying. And yes, learnt from Moto Support that OTA was disabled for 7 generation
[Moto G7 Play Questions & Answers] ST Dog:
That would be an unfortunate change if true. Prior devices could be unlocked and still get OTA updates. They won't install if certain changes are made but still get notified of updates.
[Moto G7 Play Questions & Answers] mingkee:
You still can install full ROM using fastboot commands and regain root by patching boot.img from updated ROM

I did it on both G6 and G7
[Moto G7 Play Questions & Answers] CoffeeMachineSwitch:
Where did you get the ROM images from. I understand there are no officials?
[Moto G7 Play Questions & Answers] umbrisle:
Have you tried the LMSA tool? It's a tool you download from Motorola. There is a discussion here about it. It has a rescue button with which, I understand that you can download stock images directly from Motorola, but I haven't used it myself.
[Moto G7 Play Questions & Answers] CoffeeMachineSwitch:
Yes I have - the last time I tried, however, it said that it would not support the G7 (Play) and did not provide any images/ROMs
[Moto G7 Play Questions & Answers] umbrisle:
I was thinking of buying a G7 Play myself, but I am now leaning more towards a G6 Play, because there are more tools available like a working TWRP.
[Moto G7 Play Questions & Answers] wallace_mu:
Should've read the thread here before i go buy g7 play, not my phone get softbricked.

Unblocked bootloader successfully following the official doc but failed to install magisk by copying the wrong build number of boot.img of OTA from here mirrors.lolinet.com/firmware/moto

now my g7 says

failed to load kernel, no Bootable A/B slot,
Failed to book Linux
falling back to fastboot.

I downloaded `RIVER_RETAIL_9.0_PPO29.80-61_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC` which i think this is the right build number when i see error like

river/retail corrupted

(can't remember exactly, but it's RETAIL not RETUS)

and make my own version of fastboot command stemming from servicefile.xml, still with unlucky.

there is no recovery.img and google has limited resource to make g7 play back to stock orm, i'd like to see if community has any idea or i have to give it to moto to fix it.

========================update=================================

update: i finally get the correct stock ORM which is exactly matching my build number "XT1952-4_CHANNEL_AMZ_9.0_PPY29.105-36_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC" i was an idiot thinking that mismatch one letter or two will be find, but turns out this is very strict, "second time rooting in my life".

not i has flash all of the original orm into my phone then fastboot reboot works, it give me the original error like

now i need to figure out what to do next

===============update=========

lol, turns out just press Factory data reset will bring the brick back to life!!!!!

just want to post my process for anyone having my issue.

the key point to find the correct build number
[Moto G7 Play Questions & Answers] gedster314:
.

The G6 Play is really slow, at least the Boost one. I was kind of sorry I bought one to put on Sprint's free unlimited plan. At least Sprint unlocked it for me after 60 days.

Give the G7Play some time, it just came out.

As for you guys complaining of no updates once unlocked, it's not the only phone to require flashing the stock boot.img and relocking to get OTAs.
[Moto G7 Play Questions & Answers] CoffeeMachineSwitch:
Yeah, but there is inconsistency in Motorolas communication, they actively offer the option to unlock the bootloader (with T&C and all) incl. a link to a rollback feature. Which then does not work. So in a scenario where a developer buys the device because it actively offers this features, they dont get what they paid for. Mind you, we are not discussing hacking a device here or jailbraking - we are discussing features that Motorola actively promotes with a dedicated webpage.
[Moto G7 Play Questions & Answers] alecxs:
You completely missed the wrong code name "river" in RIVER_RETAIL_9.0_PPO29.80-61_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC it is for another device, while "channel" is the right one
[Moto G7 Play Questions & Answers] CoffeeMachineSwitch:
Where did you get the correct Rom from? Thanks
[Moto G7 Play Questions & Answers] alecxs:
I don't own Moto G7 Play and can not confirm, however this one worked for wallace_mu
[Moto G7 Play Questions & Answers] realsine:
I could successfully lock / unlock / lock the bootloader...

Unlock: fastboot oem unlock [CODE FROM MOTOROLA]

Lock it down:

* first I have to reflash the 'boot.img' from the correct firmware file - fastboot flash boot boot.img

* then I can lock the bootloader clean again with 'fastboot oem lock'. "bad key" is gone, SafetyNet test passed and OTA is working again.

Unlocking / locking again works by the way also. Maybe this will help?
[Moto G7 Play Questions & Answers] CoffeeMachineSwitch:
yes it does! was waiting for this. 2 quick questions:

- will lock/unlock require factory reset / data loss?

- where to get the (official?) boot.img from (am always careful to flash img from the wild)

thanks!
[Moto G7 Play Questions & Answers] realsine:
Hello,

I'm glad to read that I could help. :)

I have "my" image of 'https :// mirrors.lolinet.com/firmware/moto/channel/official/RETEU/'. There are also some others - just have a look. And please remove the spaces around '://'. I'm currently not allowed to post (external) links, so this way.

* Every 'LOCK' deletes all data and the system is "clean" again.

* The same applies (unfortunately) to EVERY 'UNLOCK'.

I don't care at the moment because I haven't set up my smartphone yet. But it's not nice.

Best regards
[Moto G7 Play Questions & Answers] CoffeeMachineSwitch:
Thank you!
[Moto G7 Play Questions & Answers] CoffeeMachineSwitch:
OTAs are working for G7 Play with unlocked bootloader!

Now this is interesting: with bootloader unlocked, but everything else stock (no root),

- Manual updates (via System menu) are blocked, with a "system is corrupt, no updates allowed..." message

- HOWEVER: OTA updates pushed from Moto are working just fine.

Anyone experienced the same?
[Moto G7 Play Questions & Answers] nylar357:
Does anyone have any info on the Xt1952-DL? This is going to be a TracPhone variant called the G7 Optimo.

It follows the basic Moto Bootloader unlocking route via

fastboot oem get_unlock_data

But the Moto site doesn't spit a unique_id back at me just says it's not eligible for unlocking. So that's what I know about the XT-1952-DL if anyone could add anything it would be greatly appreciated.
[Moto G7 Play Questions & Answers] ST Dog:
What do you want to know?

Expected that a prepaid subsidized phone can't be bootloader unlocked. SIM locked too.

If you have one use an app like CPU info to get details on RAM/CPU/etc.

I expect it's the same as the US G7 Play.
[Moto G7 Play Questions & Answers] nylar357:
Yeah the specs are identical. I was just curious if anyone was making any progress on that particular model, you guys dealing with the other XT1952 (G7 play) variety. My particular model is the XT1952-DL so I though if anyone was making headway it would be someone in this thread.

I guess the main thing itching at me is that I read here and in some of the other XT1952 threads that it may be? possible to adb push or sideload an OTA on a locked bootloader? I've never seen the exact method type being thrown around here but I'm down to try...kind of just picked it up for tooling around with, my daily phones are either complete or waiting for Carrier Activity restrictions.
[Moto G7 Play Questions & Answers] mn1968:
That's all you need to know, You won't be able to unlock the bootloader...likely ever. As in never.

Sorry to be the bearer of bad news.
[Moto G7 Play Questions & Answers] ST Dog:
Should be able to give the updater storage permission and it'll find the OTA files.

But what OTA? I would not attempt the files from a different device. Even if you could get it to apply it is unlikely to work.
[Moto G7 Play Questions & Answers] vickbuitenzorg:
Moto G7 Play / Optimo - channel full stock rom firmware

Download the Moto G7 Play / Optimo - channel full stock firmware according to the region/retail/carrier for example USA Retail > Verizon, T-Mobile, Amazon, TrackFone and everything is flashed via fastboot mode

XT1952-1 > https://boycracked.com/2019/02/11/official-motorola-moto-g7-play-xt1952-1-stock-rom/

XT1952-2 > https://boycracked.com/2019/02/11/official-motorola-moto-g7-play-xt1952-2-stock-rom/

XT1952-4 > https://boycracked.com/2019/07/26/official-motorola-moto-g7-play-xt1952-4-channel-stock-rom/

XT1952-T > https://boycracked.com/2019/07/26/o...-play-xt1952-t-channel-us-t-mobile-stock-rom/

XT1952DL > https://boycracked.com/2019/07/26/o...ptimo-xt1952dl-channel-us-tracfone-stock-rom/
[Moto G7 Play Questions & Answers] Baconandeggs34:
Does anyone know where I can download the stock firmware for the XT1952-6? It's the MetroPCS variant. I screwed up when I tried to unlock my bootloader by patching the boot.img for the XT1952-T and didn't realize it til it was too late. I have tried every search engine I can think of using every combo of XT1952-6, stock, firmware, unbrick, etc. but no hits return on where to download it from.
[Moto G7 Play Questions & Answers] Viva La Android R.I.P.:
Can you provide your firmware build number? I realize you are probably not able to boot into the OS, but from fastboot mode, enter:

fastboot getvar all

I know of a firmware repo online where I can search for the firmware by build, but not by model number.
[Moto G7 Play Questions & Answers] Baconandeggs34:
The original build number was PCY29.148-71 but I was able to get it working with PPY29.105-116. Would still like to get the original because I'm having signal issues with this firmware (this one is a RETUS firmware but my original was METRO)
[Moto G7 Play Questions & Answers] Viva La Android R.I.P.:
Ok thanks. I'll look and see what I can find. I will search for both firmwares.

I didn't find the exact original build, but I did see something interesting. I'm seeing a build called PCY29.148-56 listed under both the T-Mobile and MetroPCS headings. Based on this, it would appear that the TMO/Metro builds are one in the same. Out of curiosity, have you tried flashing a TMO package to restore your device? Or, for signal issues, the TMO baseband files from the firmware package should fix that (NON-HLOS.bin and fsg.mbn). I'm fairly certain that the TMO and Metro G7 Play variants both use the same baseband firmware.
[Moto G7 Play Questions & Answers] Baconandeggs34:
I tried that one and it worked but it concerned me a lil because it had a weird T-Mobile REVVL splash screen so that's when I swithed to the RETUS one. Where did you find one for MetroPCS? Because lolinet only has TMO. Also, I use RSDLite to flash the firmware. How would I use it to just flash the baseband?
[Moto G7 Play Questions & Answers] Viva La Android R.I.P.:
Yeah I didn't see Metro on Lolinet either, or on firmware-center. I searched an archive of leaked firmwares the Russians have on a private repo owned by a member of 4PDA. On there the MetroPCS heading listed a package that cross references to a build number of a package which is also listed under their TMO heading. I'm thinking what you can do is use the Retail package you mentioned, but use the radio firmware from the TMO package (NON-HLOS.bin & fsg.mbn). That should give you a retail build with the modem you need for Metro. I'm speculating, of course, but there should be no harm in trying it. The radio partitions are not considered sensitive (such as the bootloaders), so you should be able to undo it if it doesn't work. I've done similar "hybrid stock" configs on my Moto E5 Plus and E6 Play for the Sprint network, with no negative issues.
[Moto G7 Play Questions & Answers] Baconandeggs34:
So, I would swap the .bin and .mbn files in the RETUS firmware with the ones from the TMO firmware and flash as usual or can I just flash the two files by themselves? Reason being, I've been using my phone for about a week now and would hate to have to set it up from scratch again.
[Moto G7 Play Questions & Answers] Viva La Android R.I.P.:
If you are already running the RETUS build, yet having signal issues, download the TMO firmware package and extract only NON-HLOS.bin and fsg.mbn. Place those in your ADB/Fastboot directory on your PC or laptop. Connect your device and PC, boot into fastboot mode, open a command window in the path of your ADB/Fastboot directory, and run these commands:

fastboot oem fb_mode_set

fastboot flash modem NON-HLOS.bin

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.mbn

fastboot erase DDR

fastboot erase carrier

fastboot oem fb_mode_clear

fastboot reboot

This will effectively install the radio firmware (baseband modem) from the TMO build (presumably the same radio firmware used on the Metro variant), and will reset your cellular radio config to factory default settings. (Otherwise, none of your saved files, app data, userdata, etc., should be affected.) On reboot, you may or may not need to tweak the parameters in Settings>Mobile Networks. In the event you lose your cellular signal entirely or have data connectivity issues, you can always perform these steps again using the NON-HLOS.bin and fsg.mbn files from the RETUS package.
[Moto G7 Play Questions & Answers] Baconandeggs34:
Thanks for the help. It worked like a charm.
[Moto G7 Play Questions & Answers] Viva La Android R.I.P.:
That's good to hear. Very glad it worked out. So, to confirm, you are running a RETUS firmware build with TMO radio firmware on a MetroPCS Moto G7 Play with working data connectivity and cell signal?

Also I do want to apologize to the OP if discussing this issue has been off topic to the thread.
[Moto G7 Play Questions & Answers] Baconandeggs34:
Yes that is correct and my apologies to the OP as well.
[Moto G7 Play Questions & Answers] afreed1:
Relocking

I was able to go back to stock with locked bootloader on a Sprint G7 play using the LMSA tool to download the stock image, flash the image and copy the boot.img file from the download so that I could flash it in fastboot.

Here is the locking in fastboot:

C:\Users\Tony>fastboot oem lock

(bootloader) WARNING: This command erases all user data.

(bootloader) Please re-run this command to continue.

OKAY [ 0.006s]

Finished. Total time: 0.011s

C:\Users\Tony>fastboot oem lock

(bootloader) Flash valid Android images now

(bootloader) Then re-run this command to lock

OKAY [ 0.008s]

Finished. Total time: 0.013s

C:\Users\Tony>fastboot flash boot boot.img

(bootloader) is-logical:boot_a: not found

Sending 'boot_a' (32768 KB) OKAY [ 1.224s]

Writing 'boot_a' OKAY [ 0.636s]

Finished. Total time: 1.877s

C:\Users\Tony>fastboot oem lock

(bootloader) Lock complete! Flash signed images after reboot if needed

OKAY [ 0.320s]

Finished. Total time: 0.324s
[Huawei Mate 10  Questions & Answers] James_Watson:
Hi,

I need an usb driver for Windows for my Huawei phone in order to enable debug mode for it in my Android development.

But it seems that there is not any link for drivers downloading in the Huawei official website.

I need just a driver, other than the HiSuite software. Anyone know how to get the driver from Huawei website?

Thank you in advance.

Have a good weekend to you all. :D
[Huawei Mate 10  Questions & Answers] domy_os:
I had used debugging mode without any third party driver, it was plug and play. Just enabled debugging mode and ADB recognized the phone without any problem.
[Huawei Mate 10  Questions & Answers] ante0:
These should work fine: https://gsmusbdrivers.com/download/huawei-usb-drivers-hisuite/

Does not include HiSuite.
[Shield Android TV Q&A, Help & Troubleshooting] kp.:
Just bought Nvidia shield and realized its Chinese version. Honestly, I didn't know there is a Chinese version. Set language to English but its asking me to enter some details in the Chinese language. Now can't get past the first page. Could you please guide me on how to flash it to UK/US version. Many thanks! :confused:
[Samsung Galaxy S10+ Questions & Answers] FantomfanNZ:
Just setting up an S10+ and have a notification at boot (from off or restart)

Icon on the lock screen looks like a P and nothing shows up in the notification history. So I have no idea what it's for.
[Samsung Galaxy S10+ Questions & Answers] MatTechGuy:
I noticed this to, if I remember correctly it was just a notification to say phone restarted.

you could also download Nice Catch from galaxy store. I do find it odd though regardless.

Using Nice Catch, in pic below you will see logo with 'P' saying system UI, possibly to do with that as well. as looks very similar.

View attachment 4734194
[Samsung Galaxy S10+ Questions & Answers] Outbreak444:
It's been discussed here. When you unlock your phone it will state "Android is starting"

I think I was able to make this go away by going into

Settings -> Biometrics and security -> Other security settings

And disabling "Strong protection"

On the other hand, it is normal and expected. Just don't have what happened to me happen to you. I had my phone set to automatically restart at 1AM on Wednesday's. Typically that's fine but I use a 3rd party app for my alarm clock. Needless to say it never went off because my phone never fully "started". Lucky I still woke up on time and disabled my phone automatically restarting.
[Samsung Galaxy S10+ Questions & Answers] Davey Dual Sim:
I think it might be P for pin not phone

I use dual SIM and I have to use a work profile as a condition of using my own phone , the profile forces a pin lock
[Samsung Galaxy S10+ Questions & Answers] remmyhi:
If I remember well on Oreo it was "O".

Now on Pie it is "P".

Wysłane z mojego SM-G975F przy użyciu Tapatalka
[Samsung Galaxy S10+ Questions & Answers] FantomfanNZ:
Thanks for the suggestions. The image MatTechGuy posted helped me find it

These steps seem to have sorted it

Settings

Notifications

See All

Menu dots (three vertical top right)

Show System Apps

System UI

fbe_channel_name

Notification style

Silent and minimised
[Samsung Galaxy S10+ Questions & Answers] ryan2202:
Thanks, just set up my S10 and this was annoying the crap out of me.
[Samsung Galaxy S10+ Questions & Answers] StoneyJSG:
Well I am late here, but it's a P for Pie as in Android Pie. Not sure why it pops up on screen after a reboot though. It does it on both my S10 and S10+
[Xiaomi Redmi 3s Questions & Answers] ayushagarwal9753:
Using 3s as secondary phone i just want 3 things from it

1) Fast and stable mobile internet

2) fast and stable wifi

3) good battery

Plz suggest some roms that I should try!!

(Its ok if battery is not that great but the first 2 are more important)
[Xiaomi Redmi 3s Questions & Answers] Noru29:
DotOS 3.0
[Xiaomi Redmi 3s Questions & Answers] joinsudhakarreddy:
Use Revenge os pie. You'll not get disappointed
[Xiaomi Redmi 3s Questions & Answers] Pravesh Singhal:
Dot os pie... With jesper kernel best ever try nd tell mee
[Xiaomi Redmi 3s Questions & Answers] lcarolo:
Any pie rom with fast WiFi when BT is connected?

I'm on havoc, it's the only bad point...
[Xiaomi Redmi 3s Questions & Answers] lux aeterna:
DotOS official has stopped updates. Any opinions on the unofficial version?
[Xiaomi Redmi 3s Questions & Answers] Noru29:
A proof of what you say?
[Xiaomi Redmi 3s Questions & Answers] lux aeterna:
Last official update a year ago. I might be missing something thoughView attachment 4739623
[Xiaomi Redmi 3s Questions & Answers] Noru29:
Yes I think you missed a lots of things -----> https://xdaforums.com/xiaomi-redmi-3s/development/rom-redmi-3s-x-primeland-t3900740
[Xiaomi Redmi 3s Questions & Answers] lux aeterna:
Thanks a lot!
[Xiaomi Redmi 3s Questions & Answers] sreeharimkl:
Lineage 16 (Nichcream)
[Xiaomi Redmi 3s Questions & Answers] isarfb:
First u should ask in question answer forum...

Anyway u can try dot os official pie rom, superior os official, lineage 15.1 official,
[ZenFone 2 Q&A, Help & Troubleshooting] castrwilliam:
I had a ZenFone 2 a long time ago and I got rid of it, and now I want to buy another to play around with Wine on Android. It seems that nobody is selling them, hardly anyone is even selling parts for them, and all the Intel Zenfones in general seem to have dropped off the face of the earth. I looked around on eBay, Amazon, Swappa and there was maybe one result among the three where the seller wanted almost what I paid for it new four years ago.

I'm not asking to conduct any business here or for any links to sales, as that's against the rules, but does anyone else find that just a little bit surprising? You can find a bunch of other obscure phones pretty easily. Was it just that not many were sold?

I guess if someone could recommend a newer x86 or x86_64 Android phone then that would be great, but last I heard, Intel abandoned us.

Or are they just so good that nobody's upgraded but me? ;)
[ZenFone 2 Q&A, Help & Troubleshooting] kenbo111:
Aside from the fact that they are not updated anymore and the fact that they are x86 which can cause a little compatability problems. The zf2 is a great phone. Mine is still going strong after years of use.

Mine just got passed down to my son