yashsingh1/xdaforums huggingface dataset:
[Moto G7 Play Guides, News, & Discussion] Linuxassassin:
Flash the new gsi I put on the forum dirty unicorns 14 works almost flawless and you can install it via a clean flash
[Moto G7 Play Guides, News, & Discussion] Guhl0rd64:
I tested all GSI, and none of them works the fingerprint sensor
[Moto G7 Play Guides, News, & Discussion] Linuxassassin:
Yep I think it's because of the sensor they use

My only problem with the roms I tried

No Bluetooth audio for music

And root does not work

And fingerprint don't work other then that it's stable
[Moto G7 Play Guides, News, & Discussion] Guhl0rd64:
My Moto G7 Play is the XT1952-2 (Brazilian version), I installed everything right, but not now it is no longer vibrating, it no longer vibrated when I put the GSI DotOS, but when I returned to ROM of factory, still not vibrating, and I was wondering if anyone had this same problem as mine, would appreciate some help if possible!
[Moto G7 Play Guides, News, & Discussion] noidodroid:
Very nice. I just got a hold of a line on a bunch of G7 Play's for $20 a piece. Going to give some of these roms and recoveries a run for their money.
[Moto G7 Play Guides, News, & Discussion] Noznav:
Did you replace the dtbo.img for playing with TWRP [ https://xdaforums.com/g7-play/development/recovery-moto-g7-play-kernel-source-code-t3933680 ] ? Vibrations can be restored by flashing back the dtbo.img that belongs to the official firmware image (will break TWRP again of course).

Playing with the Moto G7 Play for 3 days revealed that it is not really a Generic System as targeted with Generic System Images. Navigation buttons are indeed gone, some ROMS (a.o. dotOs and Replicant) allow them to be switched on in settings in a ROM specific GUI settings item. In LineageOs i found "gestures" as an alternative to the buttons. Alternatively there are apps for navitation buttons like [ https://f-droid.org/en/packages/tw.com.daxia.virtualsoftkeys/ ]

My BIG pain is WIFI. The original Moto firmware connects fine to home and work wifi, all ROMs loop at "Obtaining ip address". By manually adding WIFI with static ip address i can access WIFI. My G7 Play is a XT1952-1 eu spec device.

Anyone else problems with WIFI on the GSI roms? Anybody suggestions / fixes / workarounds for WIFI?
[Moto G7 Play Guides, News, & Discussion] PoochyX:
I lose my mobile data everytime I flash one of these GSIs and I really want to use the Havoc OS rom that works with the G7 play can anyone tell me how they got mobile data working with this and how to patch the rom with magisk cause like when I install magisk in twrrp nothing happens...

([emoji3590]09-09-18[emoji3590])
[Moto G7 Play Guides, News, & Discussion] :
Hello, could you link the TWRP and dtbo you used to flash this? My G7 play's model is the same as yours (XT1952-2), but I can't even get TWRP to work. That said, on the phone with the modified dtbo, mine still vibrates (but doesn't have a working touch screen in TWRP).
[Moto G7 Play Guides, News, & Discussion] Linuxassassin:
i would suggest taking out the simcard before flashing then inserting after it fixed my problem for me
[Moto G7 Play Guides, News, & Discussion] Linuxassassin:
Also magisk does not work with it I've tried to no avail

A way it might work would be to flash dtbo then boot into twrp but don't flash twrp decrypt rom then flash gsi on decrypted device flash gapps

Then flash the magisk modded boot image

That method works on pie based gsi's but I've had no luck with 10 based gsi's
[Moto G7 Play Guides, News, & Discussion] PoochyX:
I sent you a pm with the temporary fix to get root in Android 10... So is it safe to say the reason gapps is not working for me on havoc is cause of the decrypt zip

([emoji3590]09-09-18[emoji3590])
[Moto G7 Play Guides, News, & Discussion] Linuxassassin:
Yes
[Moto G7 Play Guides, News, & Discussion] fossyfosser:
DOT OS worked for me with the RETAIL boot img. Variant Boot images don't work so well. I couldnt get the lineage OS 16 img to work. Don't have any way to try an Android 10 image as I can't find a 10 bootloader anywhere.
[Moto G7 Play Guides, News, & Discussion] PoochyX:
Bro what do you mean was you able to root the dot os with magisk and have your data and calls work cause I couldn't get my mobile data to work on dot os I was able to get temporary root with magisk patched img however if I tried to finish the environmental setup I would lose root I have the boost variant of the G7 play
[Moto G7 Play Guides, News, & Discussion] 00p513:
Lineage OS has new updates out, please update the links. filename for 17: lineage-17.1-20200111-UNOFFICIAL-treble_a64_bvN.img.xz
[Moto G7 Play Guides, News, & Discussion] tuteec:
I can't set a password or encrypt the phone?
[Moto G7 Play Guides, News, & Discussion] 00p513:
I am back on stock for now. The encryption is enabled by default unless you have a disabler. If you can't set a pin try wiping
[Moto G7 Play Guides, News, & Discussion] TheDunedan:
vendor hardway overlay for phhusson GSI's

I'm currently trying to get the phhusson AOSP 10 GSI running as smooth as possible. For that I built a first version of a vendor hardware overlay for the Moto G7 Play, based on the values from the stock ROM. THis already fixes quite a lot of issues, like battery status, navigation buttons and status bar layout. It's still work in progress, but if you want to try it out, here is a download link. Place the file in /system/overlay/ (don't forget to set proper file permissions) and reboot. If you want to check out what's in the overlay or want to build it on your own, you can find its content on Github: https://github.com/Dunedan/vendor_hardware_overlay/tree/moto-g7-play-wip. Mind that this overlay probably only works with phhusson's GSI's as it requires custom code for loading it.

I'm currently particularly interested in feedback regarding automatic display brightness handling, as I'm not sure if that's working correctly yet. If I apply the same options as Motorola does in the stock ROM I get a device stuck in boot (available via adb, but still showing boot animation). I placed a comment in the resource file regarding what I believe the issue is and would be thankful if somebody can have a look and figure out how to properly set all these options. Building and installing an overlay is also straight forward, so it's easy to do for trying out other options.

Broken fingerprint sensor is a known problem and affects other Motorola devices as well. There is a bug report for it at https://github.com/phhusson/treble_experimentations/issues/1072

Known problem, affecting multiple devices: https://github.com/phhusson/treble_experimentations/issues/857

root works fine out of the box with the phhusson AOSP 10 v210 GSI (without GApps).

With my hardware overlay the navigation buttons work as they should on the phhusson AOSP 10 GSI. Switching to gesture navigation using the settings works fine as well.

I got an XT1952-1 as well and with the phhusson AOSP 10 GSI wifi is working fine for me so far. Just used it for a few hours so far, but I had no troubles with it yet. I suggest you try out the overlay and see if it improves something for you, as it includes wifi related settings as well

As already mentioned I'm looking forward for feedback and further improvements. Aside from the fingerprint sensor and audio via Bluetooth I'm quite satisfied with the status of hardware support already.

---------- Post added at 05:30 PM ---------- Previous post was at 05:24 PM ----------

One more thing: If you notice weird preinstalled apps (Amazon Shopping, Call Guardian, Prip, Republic Wireless, ...), those apps were preloaded onto the device by Motorola and might get installed no matter what system image you're running. While they should only get installed for certain distribution channels they got installed for me no matter that my device has a non-matching distribution channel. To prevent the device from installing them, you can simply change the file permissions of the files in /oem, like:

mount -o rw,remount /oem
chmod 000 /oem/*
[Moto G7 Play Guides, News, & Discussion] TheDunedan:
There is now also a workaround for the broken Bluetooth audio as mentioned by phh in the issue (https://github.com/phhusson/treble_experimentations/issues/857):

adb root
adb shell setprop ro.audio.ignore_effects true
adb shell pkill -9 audioserver

That workaround only works till the next boot, but setting ro.audio.ignore_effects on boot works well too.
[Moto G7 Play Guides, News, & Discussion] Felipe Canin:
hello, i would like to know if you need something more with for example: a custom rom with a stable vendor or just flash over everything, sorry for errors, I'm Brazilian
[Moto G7 Play Guides, News, & Discussion] PoochyX:
Bro this is good stuff how do I set ro.audio.ignore_effects on boot so Bluetooth audio will work also were you able to fix the issue with when your on a call you can't turn the speaker on and people not hearing you when you talk that you can only just hear them
[Moto G7 Play Guides, News, & Discussion] TheDunedan:
What I did as a dirty workaround so far is to apply the following diff to /system/bin/rw-system.sh. That works for me, but could break stuff as well. Keep in mind that this is also just a workaround which will be overwritten by every update of the GSI. I'm looking forward to somebody being able to implement a proper solution to solve https://github.com/phhusson/treble_experimentations/issues/857

--- /system/bin/rw-system.sh.orig 2020-02-17 18:33:00.477154812 +0100
+++ /system/bin/rw-system.sh 2020-02-17 18:33:16.041406600 +0100
@@ -231,6 +231,13 @@
setprop ro.audio.ignore_effects true
fi

+if getprop ro.build.fingerprint | grep -iq \
+ -e motorola/channel;then
+ mount -o bind /mnt/phh/empty_dir /vendor/lib64/soundfx
+ mount -o bind /mnt/phh/empty_dir /vendor/lib/soundfx
+ setprop ro.audio.ignore_effects true
+fi
+
if [ "$(getprop ro.vendor.product.manufacturer)" = "motorola" ] || [ "$(getprop ro.product.vendor.manufacturer)" = "motorola" ]; then
if getprop ro.vendor.product.device | grep -q -e nora -e ali -e hannah -e evert -e jeter -e deen -e james -e pettyl -e jater; then
if [ "$vndk" -ge 28 ]; then

I haven't done many calls yet, but so far I had no issues.
[Moto G7 Play Guides, News, & Discussion] PoochyX:
What Verison of the G7 are you using cause I'm on retail firmware and people don't hear me in calls on the phh GSI with boost mobile service (phone is originally sprint with boost mobile firmware after unlocking bootloader I changed to retail firmware)

([emoji3590]09-09-18[emoji3590])
[Moto G7 Play Guides, News, & Discussion] TheDunedan:
I'm using an XT1952-1 with European retail firmware (RETEU).
[Moto G7 Play Guides, News, & Discussion] PoochyX:
You think it's a vendor issue why people can't hear me on calls and I can't turn the speaker phone on while on calls
[Moto G7 Play Guides, News, & Discussion] pyromaster114:
I have tried several (both Android 9 and Android 10 based) ROMS listed here on my G7 Play (XT1952-4), and on ALL of them, I cannot RECEIVE SMS (text) messages!

I can send them just fine.

Can't receive though. :(

Any ideas?
[Moto G7 Play Guides, News, & Discussion] TheDunedan:
Have you tried using a SIM card for another network provider? Maybe it's something related to the SMS configuration of your particular provider?
[Moto G7 Play Guides, News, & Discussion] pyromaster114:
I unfortunately don't have any SIM cards from other providers. My provider is AT&T, if that helps.

I have also discovered a new oddity: If I turn my phone (with custom rom loaded) OFF, and then have my friend send a text message to me, wait a few seconds, and then turn my phone back on, on startup I will receive that ONE text message. 0.o

I'm really confused as to how it can receive SMS on startup only, but then never again. And if I reboot, I don't get messages that were sent while I was on, as they've 'already been delivered' by the tower to the phone... I just never see them and they don't show up anywhere in the messaging app, etc.
[Moto G7 Play Guides, News, & Discussion] thenatti:
Havent been running GSi until we had a twrp with permissions , but what i found worked was switching the network to 3g/2g the texts will come thru as for some reasons my APN settings wouldn't stick adn all we needed was a overlay , and for the speaker volume bug couldnt find the script that controls the audio volume
[Moto G7 Play Guides, News, & Discussion] TheDunedan:
Good news first: I finished a pull request to add the hardware overlay to phhusson's GSI (https://github.com/phhusson/vendor_hardware_overlay/pull/182). It's still not merged, but I'm confident that we'll get it merged in time for the April GSI updates.

I finally got hit by this bug as well. Turns out this is a known bug (https://github.com/phhusson/treble_experimentations/issues/1138) which also has a workaround: set ring tone volume to larger than zero and enable "Touch sounds". That fixed this issue for me.

Changing permissions on of the directories of the oem partition breaks several features in surprising ways: Audio playback does stop for certain apps after a few minutes, the system wide webview isn't working anymore (only relevant if you're using the vanilla GSI variant), ...

A proper solution for this is to don't mount the oem partition at all. You can achieve this by adding /oem to the end of /system/etc/init/config/skip_mount.cfg.
[Moto G7 Play Guides, News, & Discussion] PoochyX:
So should we still use your overlay untill phussuon merges your overlay directly in the rom with upcoming April security patches ?
[Moto G7 Play Guides, News, & Discussion] TheDunedan:
Yes, you can continue to use it. Aside from some small bugfix changes (like disabling the option for hotspot on 5Ghz band) the overlay I posted here earlier is identical to the one in the PR. Once it got merged there is no need anymore to manually install an overlay. Once that's done I'll post an update here as well.
[Moto G7 Play Guides, News, & Discussion] PoochyX:
Can the fingerprint be fixed to work with a overlay or that's out of the overlays limitations?
[Moto G7 Play Guides, News, & Discussion] Spaceminer:
If you're running a GSI, try copying the libs in the system folder of this zip to their respective locations. The folders are nested so you know what goes where. Create a /system/lib/vndk-28 folder if it doesn't already exist. Set permissions on the libs to 0644 and reboot. It might work after that. Don't use anything in the vendor folder. I just packaged everything that controls the finger print sensor together.
[Moto G7 Play Guides, News, & Discussion] Spaceminer:
[MENTION=1632269]TheDunedan[/MENTION]

Could you use this instead, or will it cause force closures? It should leave anything critical in oem untouched I think.

chmod 0000 /oem/app/*.apk
[Moto G7 Play Guides, News, & Discussion] PoochyX:
Does it work or it's a theory of conception bro ....

---------- Post added at 03:13 AM ---------- Previous post was at 03:09 AM ----------

I chmod the whole oem folder from TWRP none of the oem bloatware installed on rom installation nothing force closing also before coming across this I had deleted everything in the folder on first boot (deleting the folder doesn't work it

always comes back just not the stuff u deleted inside) and after rebooting bloat apps were gone
[Moto G7 Play Guides, News, & Discussion] Spaceminer:
The lib idea is just a theory. Typically that's how things work with porting things from stock though. Grab the app, grab it's libs and permissions, put them in the right places on the new OS and it usually works. Since the fingerprint swipe isn't controlled by an app (not that I can find anyways), it stands to reason that we just need the missing libs. It might work, it might not. It's definitely worth a shot though.
[Moto G7 Play Guides, News, & Discussion] TheDunedan:
Just using chmod did cause the problems I mentioned for me. That's probably because the files are there, but not accessible, compared to the files not even being available when not mounting the partition.

I've good news to share as well: My hardware overlay and the bluetooth audio workaround got merged by phhusson, so all upcoming GSI's should provide a much better out of the box experience.

The remaining issues I'm aware of are:

fingerprint sensor not working (https://github.com/phhusson/treble_experimentations/issues/1072)

no working mic in calls, when ring tone volume is zero and touch sounds are disabled (https://github.com/phhusson/treble_experimentations/issues/1138)

automatic screen brightness adjustments don't work (I'm waiting for the stock update to Android 10 to diff what settings are needed to make that work)
[Moto G7 Play Guides, News, & Discussion] mittelwind:
uninstalling the unwanted apps works like always using 'adb shell' with

pm uninstall -k --user 0 com.amazon.mShop.android.shopping

I'm now at android 10 and everything works. Don't need the fingersensor - cause giving my fingerprint is meaning a bad case with police involved :)

The most wanted is a fix for the bluetooth issue:

If I understand right from logcat: the process crashes because of 'Local streams can not have effects'

commenting out following lines in /vendor/etc/audio_effects.conf seems to fix the issue

<!--effectProxy name="music_helper" library="proxy" uuid="00905020-4e52-11e4-83aa-0002a5d5c51b">
<libsw library="mot_speaker_helper" uuid="bce61ec2-eca4-445c-9dcb-91cc7cce01ab"/>
<libhw library="mot_speaker_helper" uuid="bce61ec2-eca4-445c-9dcb-91cc7cce01b0"/>
</effectProxy-->

can anyone confirm?
[Moto G7 Play Guides, News, & Discussion] TheDunedan:
That won't be necessary starting from the next GSI version anymore, as phh added a change in the meanwhile to not mount /oem anymore at all (https://github.com/phhusson/platform_build/commit/198b86d8ac1714d4593760b3efeb23e4c48438c8).

Can you get that discussion to the bug report in phh's repository (https://github.com/phhusson/treble_experimentations/issues/857)? As it affects multiple devices there might be more people to test there and phh with his knowledge about Android internals might have suggestions as well.

As there is a workaround for the bluetooth issue with disabling audio effects, which will be included by default in the next GSI version, that's not the most wanted fix for me anymore. The issue I want to be fixed the most is a fix for the disabled mic in calls with certain sound settings (https://github.com/phhusson/treble_experimentations/issues/1138).

It's great to see all that progress happening for the lovely Moto G7 Play and I believe we're already pretty close to full hardware support.
[Moto G7 Play Guides, News, & Discussion] mittelwind:
That is a bad fix since it disables the use of equalizers
[Moto G7 Play Guides, News, & Discussion] mittelwind:
wrong assumption
[Moto G7 Play Guides, News, & Discussion] TheDunedan:
Don't get me wrong, I don't consider it a fix, it's a workaround. Therefore I'm grateful that you're looking into it, trying to find a proper fix.
[Moto G7 Play Guides, News, & Discussion] TheDunedan:
Today phhusson released v215 of the GSI's. This version includes the overlay for the Moto G7 Play, the Bluetooth audio workaround by disabling audio effects and doesn't mount /oem anymore. That's really great news, as it simplifies the actions necessary after flashing the GSI quite a bit.
[Moto G7 Play Guides, News, & Discussion] wanderleiAlfa:
rebooting on bootanimation on every rom
[Moto G7 Play Guides, News, & Discussion] Chapie1:
which files are installed? there are many
[Moto G7 Play Guides, News, & Discussion] TheDunedan:
You can use any of the arm32_binder64-ab images. I did add the steps necessary to install a GSI to the wiki in case that's helpful: https://github.com/phhusson/treble_experimentations/wiki/Moto-G7-Play
[Moto G7 Play Guides, News, & Discussion] Spaceminer:
Fingerprint GSI Test

If anyone running a GSI wants to try this, it might fix the finger print scanner. Flash it with twrp.
[Moto G7 Play Guides, News, & Discussion] Spaceminer:
APN Fix T-Mobile US

* If you're running an Android 9 based GSI copy this apn to /system/etc and set permissions to 0644.

* If you're running an Android 10 based GSI copy this apn to /system/etc & /system/product/etc and set permissions to 0644.

Navigate to Settings > Network & Internet > Mobile Network > Access Point Names > 3 dot menu > select "reset to default" and reboot. Done!
[Moto G7 Play Guides, News, & Discussion] rhollan:
HOW?

I can't get any custom rom flashed to system via fastboot on my Moto 7G Play XT1952-4 to do anything other than boot loop.

I am running

fastboot flash system <image>

fastboot reboot

to no avail. What am I missing?

Update: I knew I must have been doing something stupid. I was. I was in correctly uncompressing the .xz images. I've successfully put ASOP and LineageOS on this phone since, with the simple steps above, after first restoring it to stock.
[Moto G7 Play Guides, News, & Discussion] 00p513:
Since I flashed a newer stock ive had trouble flashing gsis too. ill try soem stuff to see if i can fix
[Moto G7 Play Guides, News, & Discussion] TheDunedan:
I've been running phhusson's AOSP 10 GSI since February and it's been working great. Yesterday I flashed the recently released Android 10 stock ROM from Motorola to get the latest firmware and see if they fixed some stuff when using a GSI. I'm still using phhusson's AOSP 10 GSI and here is what's different than before:

automatic screen brightness works now (once enabled in the settings)

microphone in calls seems to work properly now (at least it worked in all of my one dozen tests, with all the workarounds disabled)

A2DP doesn't work at all anymore

Aside from that pretty much everything else works, except for the fingerprint reader, which wasn't working before either. The fixes for the microphone and screen brightness are very welcome, however the non-functioning A2DP is a major bummer. I already opened an issue for that and hope we'll get that fixed soon: https://github.com/phhusson/treble_experimentations/issues/1404

It'd be great if some of you could share your experiences of running a GSI after updating the stock ROM to Android 10 as well.
[Moto G7 Play Guides, News, & Discussion] chuy19312:
Anybody knows how to enable/add chop-chop moto gesture on GSI AOSP Android 10 ROM?

Edit: i tested Android 11 GSI ROM, sadly, can't mount system partition, so i can't add and odex system apps, also, i wanted to do that to put correct Moto G7 Play fingerprint to prevent problems with some apps

Android 12 ROM didn't boot
[Samsung Galaxy S10 Questions & Answers] falestinee4ever:
I purchased a used galaxy s10 G973U from someone who bought directly from samsung.com unlocked version. he used it with tmobile. Now im trying to activate with sprint and it wont let me. Network sim setting show that sim is unlocked. Im trying to activate my phone on sprint website and it says "This phone can't be activated

Sorry, but this phone can't be activated with Sprint service. Try to re-enter your IMEI/MEID or try another phone."

I thought this phone is supposed to be able to be used with both gsm and cdma network carriers. what are my options besides trying to return it?
[Samsung Galaxy S10 Questions & Answers] Tel864:
Did you contact Sprint and get a sim kit sent to you? You'll have to do that and then it should work. If it doesn't after that, I'd initiate a chat with them through the support page on their website.
[Samsung Galaxy S10 Questions & Answers] jwarrior319:
Another option is to go to a Sprint store to activate it. They will have the sim card available for it. Im using an unlocked model switching between carrier and carrier-free firmware no problem.

(PS, once you do get it working there's a way to enable hotspot support without it on your plan.)?