yashsingh1/xdaforums huggingface dataset:
[Moto G7 Questions & Answers] Droid4200:
G7 8 Oreo or lower possible? For DJI to work.

The last phone I bought before the G7 was a G5 Plus where it was easy to download ROMs like RR and go up and down versions. I see now there are treble devices that you just install a lineage system.IMG to do upgrades since no one is working on one phone anymore. Is it possible to downgrade to Oreo or lower with Treble to try and get my DJI OTG to work? From what I'm reading I think its a Kernel PIE and up issue, Or does anyone have any other suggestions to try to make G7 read my remote OTG data correctly?

Thanks
[Moto G7 Questions & Answers] Phalanx7621:
I don't understand. Do you mean your external hard drive is just very old? When I first plug my OTG cable in and connected it to my external hard drive it made me format my external hard drive. It basically said that it couldn't read it until I formatted it. Which is weird because it was already formatted.
[Moto G7 Questions & Answers] maybeme2:
Question about MMS.

My wife's moto G7 is identical to mine, except mine is rooted and her isn't. But, although she receives SMS messages just fine she can never receive MMS messages at all. She gets a timeout error when they are sent to her. I don't know how to figure out what's wrong. We both use Textra. I can receive MMS. She can't. How do I fix this?

Thanks.
[Moto G7 Questions & Answers] sd_shadow:
I would uninstall SMS app or wipe SMS app data

Settings/apps
[Moto G7 Questions & Answers] maybeme2:
Thank you for replying. Just to be sure, you mean the SMS app that came with the android phone? Not the Textra app which is what she uses, correct?

Edit:

You were correct. Her phone is not rooted so I could not uninstall the Google 'messages' app. So I disabled it. Now her Textra app receives MMS messages with images!

Thank you!
[Moto G7 Questions & Answers] Droid4200:
No I think the dji Mavic 2 came out last year. Its a DJI Drone. You plug the remote into phone. When I was reading problems on the DJI website people were saying some of the new kernels like pie and up aren't fully supported yet. I was wondering if its possible to downgrade a G7 to Oreo and try it like that.

Edit:

Just flashed back to stock factory and DJI GO4 app (the OTG part) works with that. I guess I could use stock and magisk / titanium to remove all the software that comes with it, that's why I usually use lineage, clean and ready to go, don't have to uninstall anything.

Thanks
[Moto G7 Questions & Answers] freedom-pg:
New Moto G7 (Project Fi) - Unsure how to start (root, etc.)

I got myself a G7 in December during the Google Project Fi deal... and now I'm trying to figure out where to start with this thing... I've been reading through the firmware/etc. threads, and I'm not sure what is currently "safe" to do with the thing.

If I want root and magisk, like on all my older phones, what's the "best" way to go about that? Is there any easy way to get access to everything -and- be able to keep up with firmware updates?

I assume I'd have to unlock the bootload, flash TWRP, add magisk, and then I'm ready to go -- but I'm a bit confused as to which method is currently the best/safest, and how to keep up with updates after that.

Any suggestions? I was hoping to easily migrate data from my old phone using Titanium Backup, but I have the impression Titanium has been having issues with installing data from nandroid backups on SD cards.
[Moto G7 Questions & Answers] DrWu:
I've always at least rooted my Android phones and I'm running a LineageOS ROM on my current EDC. I also use alternate methods for installing apps, F-Droid or manual installation, and I've never used the Google Play Store so I either uninstalled it or blocked at at the (Android) firewall. The most noteworthy drawback to that plan was a couple of times I bought apps that refused to work if they couldn't communicate with the Google Store.

So now I've got a Moto G7 I'm dressing up to be my next EDC and I'd like to have Signature Spoofing so I could use those apps that require contact with the Google store. I did a trial run with LOS (so naturally I managed to unlock the bootloader and root the phone) thinking I'd switch to LineageOS MicroG, which has native support for Signature Spoofing. The problem was that I played with the stock ROM a bit and found I quite liked some of the features that weren't carried over to the LOS ROM, like Face Unlock, Attentive Display and Peek Display. So on the new G7 I'm trying to figure a way to get Signature Spoofing but still have those neat stock apps, too.

So the two options I'm considering (and if there are others, please tell me) are adding Signature Spoofing to the stock ROM or adding the features I'm so fond of to a LOS MicroG ROM.

The MicroG solution seems the neatest since it doesn't involve disemboweling the ROM, but I don't know if the stock apps I like are available to be added back. I have previously have had phones that eventually had the majority of the stock apps made available in .apk format but I can't find any such collection for the G7 (is my google-fu weak?).

I'm aware there are utilities available that will extract an app from a live ROM and compile it into an .apk to be installed on another phone, however I have not had good success with those. Then again, in that case I was hoping to extract a timer app from a stock LG ROM and install it on an HTC phone, so I'm thinking the root of that problem could have been differences in their hardware. Since this would be a matter of extracting the app from a G7 phone running a stock ROM and re-installing it on a LineageOS ROM on the same hardware, would that be more likely to succeed? And if so, is there one particular app extraction utility with a best success rate?

As for adding Signature Spoofing to the stock ROM, I know I'm out of my depth but that seems always to be the case whenever I get my first phone of any particular brand. And I usually find a way to muddle through. I can't find mention of anyone having applied that patch to a stock G7 (low google-fu again?) so I'm not certain it's even possible. Nor can I find a "comprehensive" start-to-finish guide to the process of applying the patch, so I'm not sure how to begin. I thought the first step should be deodexing but one reply to a post I made in another thread hinted that I needed to uninstall Google Play Services first.

So if you have an opinion on whether I'd be better off patching the stock ROM or adding the apps to MicroG, please let me know. And any details of that particular process also would be very helpful.
[Moto G7 Questions & Answers] DrWu:
I recently had need to relock the bootloader on my G7 and succeeded in doing so using the information from this thread. After, I noticed that the linked process "fastboot flashed" 28 of the 31 files contained in the stock ROM. The only three files in the ROM that it didn't flash were regulatory_info_default.png, servicefile.xml, and RIVER_PPOS29.114-16-5-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.info.txt.

That being said, how close does this come to being a "get-out-of-jail-free" card? In other words, since this comes so near re-installing every file contained in the stock ROM, I'm wondering if it will mend any software problem that might occur, so long as you still can access the bootloader?

EDIT:

Apparently this is the case. I just found a webpage at Boy Cracked dot Com titled "Easy Guide To Unbrick/Update Firmware Any Android Devices Via Fastboot Mode" that essentially mirrors the process I linked to above.

Handy to know of you're like me and often have ambitions that exceed the support your skill sets can provide.
[Moto G7 Questions & Answers] markmedic:
G7 Tethering Entitlement Check

About to pull the trigger on a unlocked G7 to replace my G5 plus. Tethering worked out of the box on my non-rooted G5 plus using my VZ GUDP. I've found one post on the XDA forums that indicates the G7 also works as a wifi tether without an entitlement check.

Can anyone else confirm that the G7 tethering does not incur the wrath of the VZ entitlement check?

Thanks!
[Moto G7 Questions & Answers] Donnie267:
Hey everyone. I've had the g7(river) for a few months now and have it running LOS. as per usual, I used it for a couple days before flashing LOS before flashing and am now running Los17. 1 with magist 20. My only complaint is that I've lost dual speaker mode. It's not that big a deal, I just don't like having to always cup my hand around the bottom speaker while not using headphones. Does anyone know of a mod that's either twrp or magisk flashable to re-enable dual speaker mode on river?
[Moto G7 Questions & Answers] ruppertf:
I want to know the answer to this too...

I have read all 14 pages (AWESOME INFO, THANK YOU) here and it was not replied to yet. I have purchased the dual sim tray for the G7 xt1962 and put in two sims. It is not recognized or shown anything under Network & Internet. I have installed a few Dual SIM apps from the Google Play store; none see it.

I'm on stock NON rooted xt1962-1, Software Channel Amazon, Build PPOS29.114-134-14.

I can unlock bootloader and change ROM if need however not looking to do that right now as this is my daily driver.

Thank you for the amazing support you guys have provide me in the past and going forward.

Can anyone help ?
[Moto G7 Questions & Answers] darko454:
Carrier compatibility

I would like to know is this moto g7 is compatible with sprint networks?

Thanks
[Moto G7 Questions & Answers] Zaxx32:
Accidentally posted in the wrong spot...:p

Here's a rather complicated couple of questions...

I'm a noob when it comes to android roleouts. Just got my G7 4/64 river. It's sitting at Pie w/ April 2020 Sec. Updates.

I am dying to unlock and root with the latest TWRP and Magisk.

My phone is a XT-1965-6 'International' Dual SIM...Lang is English and my location is Eastern US, if it matters.

Will unlocking and rooting bork my ota Security Updates? If so, can I just say screw it and flash the latest '10' ROM

and do manual security updates as they come?

Also....I use TracFone's 'bring your own phone' and my SIM is still in my Moto G5+...btw TF uses AT&T in my regeon.

SO...Do I need to contact TF and req. a SIM just for my new G7 or can I just pop it in and go?

Sorry for any noob-ish questions...ya gotta start somewhere!

my new G7 or can I just swap it over?
[Moto G7 Questions & Answers] sd_shadow:
Unlocking the bootloader may stop ota updates, you can just flash new firmware with fastboot or LMSA

https://xdaforums.com/general/general/update-moto-lenovo-moto-smart-assistant-t3951714

Should be able to just insert the sim and go.
[Moto G7 Questions & Answers] Zaxx32:
That's kinda what I was thinkin' re: the ota updates. Just gonna 'do it'...Moto isn't known for timely updates...lol

Gonna swap thim SIM card over in the morning. My only real worry was it being the 'International' model.

With my 'carrier' being AT&T, they use 3 bands 2, 4 & 12 but fwiu 12 (which the Int'l -6 model lacks) isn't used much.

Q: When it comes to installing the stock 10 rom, can I just flash the RETUS rom or do I have to use the XT-1965-6 India rom or whatever?

Thank for the help!
[Moto G7 Questions & Answers] NGD1:
Moto g7 play xt19**-6 MetroPCS have ROMs twrp ) development?​
[Moto G7 Questions & Answers] riog1:
Hi, so I recently upgraded from my Moto G7, and wanted to use it to mess around with GSIs, but the system partition is too small for most. Is it possible to resize it? If so, how?
[Moto G7 Questions & Answers] maybeme2:
I was of the impression that to prolong the phone's battery life it is best to keep the battery charge between 20% and 80%. That means only charge the phone's battery to 80% instead of leaving it charging all night.

Someone just told me that is old information and that it does not apply to today's batteries. What is the current information?

Thank you.
[Moto G7 Questions & Answers] nazem:
hi could you tell me how to find out what version moto g7 i have? Its US unlocked.
[Moto G7 Questions & Answers] maybeme2:
Go to Settings / System / about phone
[Moto G7 Questions & Answers] maybeme2:
I've just received an announcement that android 10 is now available for my Moto G7 (river).

But my G7 phone (still on pie) is *rooted* and I've previously read that downloading and installing such a system update on a rooted Motorola phone will brick the phone.

1. Is that true?

2. What should I do if I decided to move to android 10 safely?

Thank you.
[Moto G7 Questions & Answers] sd_shadow:
Ota shouldn't brick it, but you will lose root, and losing root alongside the changes made with root can cause all sorts of issues.

Best to wait till full firmware is available on

https://mirrors.lolinet.com/firmware/moto

https://xdaforums.com/general/rooting-roms/guide-flashing-motorola-firmware-t4042039

Or LMSA's Flash Rescue https://xdaforums.com/general/general/update-moto-lenovo-moto-smart-assistant-t3951714
[Moto G7 Questions & Answers] maybeme2:
I've used android phones for years as an end-user but there have been many new developments and changes that have passed me by. I need to learn more about them because my lack of knowledge about them has already caused me major problems with updates, with restoring twrp backups (ended in bootloops), etc. I searched the web but only found bits and pieces, not a complete clear explanation or tutorial.

Where could I learn more about:

—android's dynamic partitions and dual slots

—sparsechunks (instead of just flashing a zip)

—twrp. I've used twrp for years to just backup and restore. But what about twrp's other 'advanced menu', 'fix context', and other tools? Where are these explained?

Finally, where could I learn more in depth knowledge about the latest android inner workings and structure? Either books or websites would be fine.

I just need to know where to look. Thanks.

***P.S. are sparsechunks and dual slots peculiar to Moto and some other phones or to all phones using android Oreo and later?
[Moto G7 Questions & Answers] sd_shadow:
Sparsechunks are a result of the system.img too big to flash all at once.

A/B system slots are now standard Android.

https://www.xda-developers.com/how-...ess-updates-affect-custom-development-on-xda/
[Moto G7 Questions & Answers] maybeme2:
Thank you.

Do A/B system slots mess up twrp backups and restores? I have been stuck in bootloops and worse the last time I restored a twrp backup and since then I have been afraid to try another restore to avoid having a softbricked phone for several days and needing to factory restore (which also did not work).
[Moto G7 Questions & Answers] maybeme2:
Thank you, thank you, thank you sd_shadow! The article you referred me to about the dual slots was excellent and clear. I now understand where I may have messed up causing my bootloops and the need to restart from scratch.

The article explained the pros and cons of the dual slots but it missed the most important 'con', the one that tripped me up and probably many others. Old XDA threads!

A typical end-user (like me) searches in xda for which adb and fastboot commands to use to get out of a mess they got themselves in and—using outdated instructions—they may end up sending files to the wrong partitions (or now no longer existing) partitions resulting (because of the 2-slot change in partitions) in soft or hard bricks. In my case, a friendly well-meaning expert walked me deeper into my soft brick by flashing boot.img probably to the wrong location.

So thank you for pointing me to that article. I know (almost) feel ready to try another twrp restore to see if it will work..... A necessity for me before trying other than stock ROMs.
[Moto G7 Questions & Answers] Bdj585100:
I'm trying to root my g7 and e4 but I don't have a pc. I've tried the rooting apk but nothing. Getting frustrated. Any suggestions

Sent from my moto g(7) optimo
[Moto G7 Questions & Answers] sd_shadow:
You need another device that can send fastboot commands.

The only rooting options are twrp and magisk.
[Moto G7 Questions & Answers] yarnbomb:
bootloader acting weird

So I have run CandyOS for a while, but since it got bricked for some reason (possibly something to do with magisk modules) I decided to run another ROM instead. This is what I've done, keep in mind my bootloader has been unlocked the whole time:

1. booted into TWRP

2. flashed LOS 17.1 (gave error 18)

3. booted into bootloader in order to boot into LOS native recovery which I here realized existed (although their installation page says to use TWRP)

4. phone reboots into a changed bootloader which now claims "oem_locked"

In case the above photo won't work:

(in the middle of screen) Power off

AP Fastboot Flash Mode (Secure)
BL: MBM-2.1-river_retail-0ff2095b20-200404
Console [NULL]: null
Tools Mode Config: DISABLED
Battery OK
oem_locked

My question would be: what can I do?

I've tried 2 things, results below:

fastboot flash recovery lineage-17.1-20200719-recovery-river.img
target reported max download size of 536870912 bytes
sending 'recovery' (20318 KB)...
OKAY [ 0.701s]
writing 'recovery'...
(bootloader) Invalid partition name recovery
FAILED (remote failure)
finished. total time: 0.701s

fastboot boot lineage-17.1-20200719-recovery-river.img
downloading 'boot.img'...
OKAY [ 0.702s]
booting...
(bootloader) permission denied!
FAILED (remote failure)
finished. total time: 0.702s

The exact same things happen with TWRP
[Moto G7 Questions & Answers] BioRider:
Can I get one button nav on a custom rom? for example lineage.
[Moto G7 Questions & Answers] sd_shadow:
https://play.google.com/store/apps/details?id=com.xda.nobar
[Moto G7 Questions & Answers] visaro11:
root access troubleshooting

model: xt1952-4

I just cant seem to gain root access and ive reached a point I dont understand what I am missing...So I am booting into twrp through fastboot, installing recovery ramdisk, rebooting into twrp through recovery and formatting hard drive to decrypt. Reboot, go through welcome screen stuff, enable usb debugging, adb reboot bootloader, fastboot into twrp (because it will bootloop twrp if I try to access through recovery after welcome screen stuff) and install magisk, along with disable dm verity zip and copy partition ab zip. Reboot, no root access. Ive even tried the same process, then wiped the dalvik cache, still no root. I have tried installing magisk along with verity and ab zips right after formatting data on recovery mode twrp then going through welcome screen stuff, no root.

The only version of twrp i can get working is 3.3.1-0, I flashed the dtbo so i got past the black screen problem but any newer versions of twrp will boot loop. even if I flash stock dtbo.img. Maybe not using newest version of twrp is my problem? but i cant seem to figure out how to get past that :/
[Moto G7 Questions & Answers] Droid4200:
Is this the first ROM you tried to flash? Did you try any other ROM and were successful at getting root? I installed candy the other night I got root, I just kept getting forced closed errors (I think because I uses titanium backup to restore contacts from 9.0 to a 10 and a few other settings, I went back to lineage and did the same restore with same fc after that, cleared phone/contact data fixed problem). But point was I flashes and rooted candy no problem and in way less steps, first use twrp to install ROM, it'll erase twrp but that's OK, reboot into new recovery, install magisk from candy recovery, boot phone, use majisk to install twrp.zip(you will lose root) reboot into recovery (twrp) and reinstall majisk.
[Moto G7 Questions & Answers] visaro11:
I have flashed 3 different roms at this point..no root. I've tried my process switching various steps with each rom version and still no root.

I get that you used candy to root however it appears plenty of other g7 users followed the process im using to gain root on stock rom with no problems.
[Moto G7 Questions & Answers] Droid4200:
I'm reading your steps like this part at the end has me confused " I have tried installing magisk along with verity and ab zips right after formatting data on recovery mode twrp then going through welcome screen stuff, no root." First off you when you flash a ROM with twrp, you lose twrp. So first step in twrp is to erase all the data(I always reboot back into twrp because in twrp it says sometimes you lose access to partitions so I made a habit for this step) next you install the ROM.zip(don't install majisk or anything else at this point, only gapps if you want google play), now turn phone off, turn back on holding vol down + power, enter recovery mode, you will notice you no longer have twrp, so from the new Roms recovery, install majisk.zip, reboot. Your phone will boot up and you will have majisk with root, now with majisk you install twrp (at the end it says "you no longer have root" now reboot back into recovery (because now you have twrp again, but you no longer have root) install magisk.zip, reboot phone, Now you will have twrp+majisk with root. I doubt you ever flashed any rom successful because on this phone which was my harder phone to flash, has never ever flashed a ROM and kept twrp recovery, which means you didn't acctualy flash the ROM, and since you didn't use magisk to reflash twrp(I'm assuming because it says "you no longer have root" and you never mentioned at the end which I quoted ,even if you did everything right you still need to reflash magisk to regain root. I have never seen the procces you used, I'm confused just by looking at it. , except a part I just remembered... Sometimes when I flash a ROM majisk app doesn't appear as an app icon, a reboot will make it appear, that's the only "none root type" issue I've seen that's common.
[Moto G7 Questions & Answers] visaro11:
through adb sideload and install from sd card i get error 21...installation aborts.

---------- Post added at 06:21 AM ---------- Previous post was at 06:07 AM ----------

just to add...

I have reflashed the roms following the flashfile.xml step by step process i guess icould have missed something along the line? But I now decided to try flashing with RSD lite and i still have the same error 21 coming up when trying to install magisk v18.0, magisk v19.4 and magisk v20.4 when i reboot into recovery after the rom is flashed. Ive tried adb sideload method and install from sd card method same error.