yashsingh1/xdaforums huggingface dataset:
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] weaponG:
Update PRL?

I was having problems with my Moto G7 not even recognizing that a call was coming in throughout the day on the Ting GSM network (T-Mobile). So, I had Ting send me a CDMA SIM (Sprint). I need to update the PRL. How can I do this on LineageOS 16?

UPDATE: Based on some searching around online, I have found that the PRL couldn't be updated. I didn't want to be without a phone whatsoever, so I activated another GSM SIM card on the Ting Network (T-Mobile). I expect that the phone will be missing (not recognizing) calls and sending them straight to voicemail sporadically as before. Perhaps an update of LOS would be the best option at this point. What are the steps involved in performing an update (I would like to keep all installed applications and configurations if possible)? Your verbose instructions are greatly appreciated.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] iooxda:
I have been reading the posts in this thread and saw several users mentions that the official instructions on the LineageOS website always lead to a bricked device which is concerning.

Does anyone know at this time, if the instructions posted on the Lineage OS wiki are followed *exactly* if this is still the case or were the instructions recently updated?

I will be starting from a brand new drive, what are the current step by step install instructions to maximize my chances of success using the international model?
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] :
No mobile connection

I can use my Moto g7 with the stock ROM with no problems. I have tried several times over the past few months to install Lineage OS. Every time, the install goes smoothly, I can boot the device, and most functions seem to work properly. However, I cannot connect to the mobile network. The sim card is detected but I get a "No Service" message.

The notification icon briefly shows that there is a signal for a few seconds in the following cases:

First boot.

The sim card is removed and put back in.

Immediately after initial setup of APN.

But the signal almost immediately disappears.

Does anyone have any idea what might fix this?

My carrier is KDDI (One of the big three Japanese carriers).

Any help would be appreciated.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] willcall:
This is really a great ROM. I had no problems installing it and as far as I can tell everything works, no problems at all. Thanks a lot for your work.:good:
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] experiment322:
Indeed, great work! I neither had any problems flashing it, nor had any bugs. Thanks for your work! I've installed it from the official site, flashed mindthegapps and magisk.

But there's one thing that bothers me and most probably is not related to this ROM. The Google assistant doesn't seem to respond to the hotword "OK Google" even with the Google app open. The microphone is working because when I explicitly press on the mic in the app to talk with the assistant, it can understand what I've said. My current language is set to English UK.

I don't know if it worked on the stock ROM because I immediately flashed this ROM, but I've found a post on Lenovo forums with (almost) the same issue and the user probably was on stock.

If somebody has any idea about this issue and how to solve it (if it's possible), it will be very nice. What I've tried until now was retraining the voice model, deleting the updated version of the app, deleting all the voice activity and voice entitlements and set all the necessary permissions. Unfortunately, nothing worked.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] iooxda:
Did you use the official instructions found on the Lineage Wiki or did you use some modified set of steps?

---------- Post added at 07:58 AM ---------- Previous post was at 07:56 AM ----------

Did you use the official install instructions on the Lineage Wiki?
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] :
Since I have been struggling to get LineageOS fully up an running on my phone, I'm still stuck on the stock ROM. I just did a factory reset yesterday, so most settings are unchanged. I never use Google assistant, but I saw your post, so I gave it a try. Here's what I found:

"OK Google" does work, BUT it stops working when the "Swipe Access" setting under "Home settings" is changed from "Show Google feed to the left of the home screen" to "Show nothing to the left of the home screen".

As I said, I never use Google assistant, so I'm not too sure about it, but that setting seems somewhat unrelated to me, so I would guess it's a bug. I only noticed because that is one of the few settings that I changed after my factory reset yesterday. I saw your post, tried it, and it didn't work. Changed that setting back, and it started working again. Strange. That's probably not much help, and I'm not sure that setting is even in LineageOS. I would guess wherever that bug came from, it's not the Lineage developers.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] experiment322:
Almost, with slight changes.

At the Temporarily booting a custom recovery using fastboot, instead of steps 5-6, I only did (using twrp-3.3.1-2-river.img)

fastboot boot <recovery_filename>.img

Make sure to also follow the Pre-install instructions part. After this, I remember I've rebooted into fastboot again, then temporarily booted twrp again using the command above.

At the Installing LineageOS from recovery part, do not reboot if you want to install gapps. I'd recommend mindthegapps package, because I didn't try opengapps and this one seems to be ok (except the issue I've stated in a reply above, but probably isn't the fault of the package). Then, if you want root, I'd recommend magisk as it seems to work fine for me, but install it after a reboot.

Note: Whenever I needed to flash or do something more advanced from recovery, I used twrp and only booted it temporarily, never flashed it.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] willcall:
I don't know if you have tried here https://goo.gle/2H5hF5N but it might be worth a shot. I haven't been to this site, it happened to be in an article I was reading. Hope you get it straightened out.

---------- Post added at 05:01 PM ---------- Previous post was at 04:56 PM ----------

After posting my reply I visited the site and it seems you have done all that they suggest.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] willcall:
To anyone that has made a backup and restored it with twrp I have a question: did you backup the system image or boot, system, data? The reason I ask is neither worked for me and I was wondering if anyone else was having a problem. Twrp is permanently installed on my Moto g7 XT1962-1.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] iooxda:
Thanks for taking the time to report your experience. I have just followed the official instructions however I also omitted the 5. fastboot flash boot <recovery_filename>.img step. So I also only temporarily flashed TWRP to memory and did the installations from there.

It appears to have worked, I have Lineage on my system. I am not sure where the others have gone wrong. It seems to have worked for me the first time. Perhaps flashing TWRP is causing the issue? I did notice that the official instructions on the twrp webpage conflict with the official instructions on the Lineage wiki.

Is there any reason why I would need to have the twrp recovery flashed to my system. I believe I can also flash it temporarily to memory and install what I need this way.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] :
Please excuse me if it is considered bad etiquette to reply to my own post here.

I'm still working on this, but I have made a little progress. I was hoping someone could point me in the right direction to solve this.

This morning I tried flashing the vender.img from the stock firmware onto the vender partition of a fresh Lineage install. I wasn't really expecting it to solve the problem, but I was curious about what would happen. To my surprise, the phone actually did boot. The touch screen didn't work, so I wasn't able to check much. I was however, able to see that I had a mobile connection, and I was able to receive a call. (It just rang actually. I couldn't answer without a working touchscreen.) I'm guessing some firmware in the Lineage build is incompatible with my carrier.

Would my best bet now be to try to build from source using the directions in the LineageOS wiki, but make some changes in the "Extract proprietary blobs" stage? Or is there something easier that might work? I'm stuck, so I'd really appreciate it if someone could at least offer some tips or something. Thanks.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] experiment322:
I don't think it actually helps a lot by having it flashed. Only if you don't have a computer around and you want to flash something.

Just boot it when you need to flash something, and then stick with the basic LOS recovery. At least that's what I do.

Moreover, I think that it gets reversed to LOS recovery after every OTA so there's one more point to not bother flashing it.

---------- Post added at 04:58 PM ---------- Previous post was at 04:50 PM ----------

The official builds don't ship the original vendor partition, probably just extract necessary binary blobs from it.

You could try the latest unofficial build if you want as I think that it's built with the original vendor.

But I don't think that the unofficial version will receive OTAs and it may bring other bugs, but it's worth a shot.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] iooxda:
Did you ever find a solution for this? I am currently researching the best way to backup my system and I am planning on using TWRP to do it as well.

So you tried to back up the system image, then another backup of boot, system and data and both attempts failed?

What error message did you see? How were you able to recovery from it?
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] willcall:
No error message it just didn't boot into lineage. I had to re-install. If you find a way to do it please post here. Thanks My phone was unencrypted by the way. After posting I did some reading and discovered that I had forgotten to do a factory reset before I did the restore. The system, data, boot restore works now.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] user9192:
can't flash lineage with gapps

Hi there,

i'm a bit frustrated.

Installation process is not working for me.

I tried every guid i could find but nothing seems to help.

so here is some more Detail:

Type of Phone:

Moto G7 (river XT1962-5 64GB PVT) > bought [MENTION=234523]Amazon[/MENTION]@Germany in Dec2019 (some said there is a special Amazon Variant?)

Tried to Install Lineage instantly....

What i achieved already (at least i'm pretty sure i did :) )

1. unlock Bootloader with intructions [MENTION=7967832]lineageos[/MENTION] Wiki and [MENTION=276290]motorola[/MENTION] Support

2. boot TWRP 3.3.1-2 and then flash Copy_partitions.zip

then the problems started...

tried to install Lineage OS (image from https://wiki.lineageos.org/devices/river/install)

and install gApps pico (arm64)

1. i used the instructions at lineageOS wiki > failure, gapps packeage is not possible to install (says it needs arm not arm64)

2. also tried it with arm gapp package, lineage boots up, but no gapps recognized

3. struggled around a bit with different combinations of reboots, wipes, changing slots etc, finally got stuck in some kind of brick (only see warning screen for unlocked bootloader)

4. tried to install TWRP instead of just flashing temporarily > some outcome > Bootloop, but now booted always to TWRP...

5. tried this instruction-set https://xdaforums.com/showpost.php?p=81001737&postcount=17

did not flash magisk (says optional)...

got an error at step "fastboot -w"

Erasing 'userdata' OKAY [ 0.062s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Erasing 'metadata' (bootloader) Permission denie
d
FAILED (remote: '')
fastboot: error: Command failed

boot is not working - i guess file system is not formated properly?

6. then tried this instruction set https://xdaforums.com/showpost.php?p=81010401&postcount=21

boots up to lineage stock-recovery, where an error is indicated

that recommends a wipe, what i did, then lineage boots, but still no gapps recognized

7. tried this several times, also tried wiping/Foramtign in different combinations again., still have the same errors

8. by now i always where able to get back , by flashing TWRP.img temporarily via Fastboot and format/Wipe everything...

i have no idea's left now.

some thing made me a bit suspicious, so perhaps there is a problem??

after installing TWRP.zip, TWRP gives some strange noise (White noise) at every action (duration less than a second) - probably there should be that usual "click" sound instead... i have no idea how that comes. have this just when TWRP is installed and also only at first boot from phone, if i reboot to recovery it's gone...

any idea's

kind regards and thank You

user9192
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] willcall:
This worked for me. Go back to stock moto.boot bootloader. Fastboot twrp. In twrp flash copy-partitions-ab.zip,format data, factory reset, reboot bootloader. Fastboot boot twrp, install ROM, reboot bootloader, flash twrp-installer, reboot recovery, install magisk and disable_dm-verity_force encrypt. Reboot bootloader. Type fastboot -w. Reboot system then get back in twrp and install gapps, this is the only way I could get gapps installed. Hope this helps I got the same message at fastboot -w. It wiped the data which is what you want. I believe the white noise you are getting is from the vibrator. It was on mine too.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] Donnie267:
Just one question. Is there a way to enable the earpiece while playing media (music/videos) for dual speaker audio?
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
FWIW, I had a little time to diagnose this today with two clean installs:

OpenGapps does install and includes FI/GCS/CS, but even manually granting permissions doesn't fix the data connection issue (voice+SMS working but no data)

Data is working correctly with MindTheGapps + manually installing Google Fi, Google Connectivity Service and Carrier Service apks (and granting Fi app permissions).

Didn't compare apk versions and default perms, but I assume OpenGapps has the wrong version of Fi apps or is incorrectly configured.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] weaponG:
Question About Updating LOS

I have a Moto G7 running on the December 18 build of LOS. It often misses calls and never even rings. I have switched SIMS and even switched carriers. I would like to update to the latest version of LOS for this device. Can I perform an OTA update via the OS and will the phone boot into the proper (updated) slot OR is there a different way to upgrade?
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] mikiwinds:
Hi, can i install Lineageos on Moto g plus or moto g power? Thk
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] weaponG:
No, this build is specifically for the Moto G7 device only. There are other unofficial builds available for these other phones.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] weaponG:
After requesting some advice on performing an upgrade for the second time on this forum and not getting an answer, I wanted to come full-circle and provide my own answer for anyone else who happens upon the same question from being in the same scenario. To update, simply perform an OTA update from within LineageOS. Let the device reboot. Then, perform another reboot and choose to reboot to Recovert (TWRP). Within TWRP's REBOOT menu, switch the active partition to the other partition (if TWRP says your active partition is A, switch to B and vice-versa). Upon reboot, be patient as the LineageOS boot screen animation takes a bit longer than usual. Once it is complete, you should be booted into your updated version of LineageOS with all of your apps and settings intact. The benefit, of course, being that you can always go back to TWRP, switch partitions and revert to the previous version of LineageOS which you came from - similar to virtual machine snapshots, or more specifically, similar to dual-partition Linksys WRT-19XX and 32XX series routers.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] iooxda:
Thanks for posting this update, the info about needing to factory reset is very useful. Many of the guides don't mention it but some webpages do. I have taken a backup of Boot, Data and System however I am reading now about how "dm-verity prevents TWRP from being able to successfully restore a normal system backup".

You mentioned that you were able to backup and restore successfully after a factory reset however you also mentioned you are unencrypted. I am encrypted and would like to stay encrypted. If I try to restore from backup of: Boot, Data and System on this device will it break dm-verity?

Right now everything is running great, TWRP is permanently installed, LineageOS latest, Magisk etc.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] willcall:
I don't think you can restore them this way. Dm-verity won't let you. Try backing up system. img and vendor. img. and restoring them. I couldn't get them to restore on my phone but you might have better luck. Dm-verity and encryption are disabled on my phone.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] iooxda:
You tried to backup system image and vendor image and couldn't get them to restore? Were you using dm-verity and encryption at this time or did you already have it disabled?

I will try system.img and vendor.img, I assume I will need Boot and Data as well or are they part of the images?

---------- Post added at 12:44 AM ---------- Previous post was at 12:06 AM ----------

On the LineageOS Trust setting screen, it says that my Platform image is up to date but that my Vendor image is out of date.

It states I should update my vendor image to the latest one recommended by LineageOS. Where do I find this information? Do I need to update this?
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] willcall:
I don't believe you need boot and data just system and vendor images. Yes verity and encryption were disabled on my phone. I have no idea about how to update your vendor image unless you install the latest nightly.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] kdm6389:
I have XT1962-1 (Project FI) US version, can I use Lineage OS and does it support VoLTE.

When we get Lineage 17
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] aquinteros:
Error 18

Hello, i did everything according to the instructions, but while doing the sideload of the rom i get this error:

Error applying update: 18 (ErrorCode:: kDownloadPayloadPubKeyVerificationError)

Updater process ended with ERROR: 1
​

i dont know how to fix this, i tried copying the zip file in my drive and installing it without using sideload but i get the same error. im using the official TWRP 3.3.1-2-river

Also i tried installing it in slot A and B with no luck, and yes, previously installed copy-partitions-payton.zip
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] droidsometimes:
Corrupted download maybe, have you verified the checksum (the SHA256 thingie), and does it match?
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] deepikamurali:
Planning to install LOS but like to confirm if voLTE works for indian variant???
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] skuppej:
Same issue happened for me...TWRP 3.3.1-0 & 20200205-nightly..how to fix?

---------- Post added 6th February 2020 at 12:23 AM ---------- Previous post was 5th February 2020 at 11:50 PM ----------

OK- I rebooted into Slot B (having done the flash on A) and it booted into LOS. [MENTION=8341856]aquinteros[/MENTION] give this a shot

All seems well.....false alert?
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] SyberHexen:
As a fellow Fi user I can say..

Yes Project Fi is Supported LTE on all 3 networks (T-Mobile, Sprint, US-Cellular)

VoLTE does not currently work on the Google Fi Network
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] skuppej:
Here is the process that worked for me:

1) Connect phone to PC with a USB cable
2) Put the phone in bootloader mode (coming from stock it is automatically on slot A. To get the current slot execute: fastboot getvar all)
3) Boot TWRP "fastboot boot twrp.img" (use the file name on your PC for the TWRP img file)
4) Flash copy-partitions-AB.zip
5) Reboot to booloader then boot TWRP (see step 3)
6) Format data in TWRP
7) Wipe /system, /data, & cache (not internal storage)
8) Flash lineage zip (will fail with "Error applying update: 18 (ErrorCode:: kDownloadPayloadPubKeyVerificationError). Ignore this"
9) Reboot to slot B. Boot up the ROM once.
10) Reboot to bootloader. Boot to TWRP.
11) Flash TWRP installer zip or install TWRP Recovery Ramdisk
12) Flash OpenGapps zip (use the arm64 version). Reboot & verify.
13) Reboot to recovery. Flash Magisk zip.
14) Reboot to system & verify.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] step_21:
Hello,

I have received this week my new phone : Moto G7 (river) (xt1962-5)

And, as a lot of people here, it took me a lot of tries and error messages to manage to just install LineageOS 16.0 + Gapps.

The LineageOS official procedure never worked for me.

Here are my learnings :

My phone came with the stock OS (build PPO29.80-29) on slot A.

It automatically installed a Motorola OTA update (build PPO29.80-66) on slot B.

So at that point both slots were populated. (This is a pre-requirement)

Then I unlocked the bootloader.

The slot B is the one I wanted to install LineageOS because this is the slot with the most up to date secondary partitions (like /vendor /radio)

Here is the only procedure I could repeat without any bugs/error messages :

* Boot to bootloader

* "fastboot --set-active=a"

* "fastboot boot twrp-3.3.1-2-river.img" (temporay boot of TWRP on slot A)

* format /data

* Reboot to bootloader

* "fastboot boot twrp-3.3.1-2-river.img" (temporay boot of TWRP on slot A)

* Wipe /data /cache /system (will apply automatically to slot B)

* "adb sideload lineage-16.0-20200207-nightly-river-signed.zip" (will apply automatically to slot B)

* Reboot to recovery slot B (LineageOS recovery)

* Install update : "adb sideload open_gapps-arm64-9.0-pico-20200207.zip" (will apply automatically to slot B)

* Stay inside the LineageOS recovery and do a factory reset

* Reboot

* Enjoy

The only thing I missed is that I was not able to do a backup of the stock ROM, so I will not be able to update secondary partitions (like /vendor /radio) in the future.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] skuppej:
So this ROM is great. Magisk np. The only issue that I am seeing is that randomly my colors will change to sepia (or something?) and then I need to go to Settings > Display > Advanced > Colors and toggle some of the choices around to fix it.

Anybody else experiences this?
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] step_21:
I had exactly the same bug.

The bug looks like a graphics driver bug, it was triggered randomly when locking or unlocking the screen.

I think the effect is that you get the RGB complementary colors.

en.wikipedia.org/wiki/Complementary_colors

My workaround was to switch on / switch off the setting : System / Dev options / Picture color mode, use sRGB

This is the only bug I noticed up to here.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] droidsometimes:
Yes. It started after a month or so. Happened three or four times so far.

Switching colour profiles unbreaks it.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] skuppej:
Thanks. In fact, I had changed this setting you mention to 'sRGB' a couple days ago and I haven't experienced the bug again. :fingerscrossed:

Good to know I'm not the only one.....hmm