Help please motorola g7 running android 10 want to install lineage

Can someone please point me in the right direction I am having a hard time installing lineage on my motorola g7. Firstly android has been updated to 10 but I can see some are working on android 11 but not sure how. And which android version will work best with lineage 18.1? And then instructions for dummies on how to install lineage. Thanks to anyone who can help.

For the Moto G7 (codename river) there is LineageOS 19.1 (Android 12) available.
https://download.lineageos.org/river

First check the model number of your phone and if it is supported (e.g. XT1962-04):
https://wiki.lineageos.org/devices/river/

Follow this instructions:
https://wiki.lineageos.org/devices/river/install
To flash LineageOS (or any other custom ROM) you have to unlock the bootloader (do this at your own risk!)
You need a Motorola account to do this, start here:
https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a

Don’t forget to make a backup of your important data!

If you aren’t familiar with this at all, or have further questions, ask at this place.

This is really helpful thanks a ton! It is an xt1955-4 and no data to backup.

This is the Moto G7 Power (ocean)
https://wiki.lineageos.org/devices/ocean/
https://download.lineageos.org/ocean
https://wiki.lineageos.org/devices/ocean/install

That explains it thank you! Really appreciate your help.

Don’t forget to tell us your progress. :wink:

hi m999 I am at the stage where I need to access the device ID.

I am following the advice and steps on Login| Motorola Support US

TO GET YOUR DEVICE ID

  1. Put your device in fastboot mode (press the power button and volume down button at the same time and connect your device to your computer with a USB cable).

  2. On your computer, open a command prompt or Terminal session.

  3. Go to the Directory where you installed the Android SDK tools, and type:$ fastboot oem get_unlock_data

  4. This fastboot command will return a character string. This is the Device ID which you will be using to generate your unique unlock key.

    Example Device ID (PC User)$ fastboot oem get_unlock_data
    (bootloader) 0A40040192024205#4C4D3556313230
    (bootloader) 30373731363031303332323239#BD00
    (bootloader) 8A672BA4746C2CE02328A2AC0C39F95
    (bootloader) 1A3E5#1F53280002000000000000000
    (bootloader) 0000000

I need some help with no 2 &3 as I dont understand where it says go to the directory whre you installed the android sdk tools and type:

also it is possible to use the android device id app?

https://www.youtube.com/watch?v=y3ezcVDoK9A

THanks!!

In Explore, go to the folder where ADB.EXE is or FASTBOOT.EXE and do a SHIFT-right click → Command prompt ?

Thanks Licaon,
First off I am not a windows user hence appearing a bit ignorant.
I have located ADB and FASTBOOT and ANDROID STUDIO with explorer but when I shift and right click I just get the usual window with the usual options starting with Open, Open in new process, etc etc
ending with properties. If you can give me an additional baby step that would be fab.

Wait, what? So you are a Windows user or not? :slight_smile:

Mac user but doing this on windows 10 laptop

Right, so in that folder “in an EMPTY SPACE” (not on a file!!!) press SHIFT+rightclick ?

ok so here is what happened

  1. connect phone to pc

  2. press phone volume down and start button together (see image)

  3. locate adb file and click on shift-right click and ? this opens this dialogue box (see pic)

  4. open windows powershell and paste this code

$ fastboot oem get_unlock_data

How am I doing so far?

Looks good-ish…what happens next?

There is an error script will copy and paste here asap

while I retried fastboot oem get_unlock_data my phone is booted in fastboot flash mode and connected to laptop via usb.

Attached the image of the script that was returned when both trying $ fastboot oem gete_unlock_data and also the same code but without the $ prefix

the 20 minute phone flash is turning into 2 days. It must be a record breaker

I’m not on Windows but the $ should only mark that it is a terminal command. The device can’t be detected, due to your USB setup. Maybe a driver is missing?
Use fastboot devices to check again later.

Thanks m999 I did install the motorola usb drivers but will check. And can you explain what you mean by "use fastboot devices to check "
Thanks

IN that command line, run fastboot devices to see IF it is detected