[Moto G5 Questions & Answers] emericmeric:
Hello everyone,

I just got a Moto G5 (on a refurbishment store) that works perfectly fine with stock OS.

My goal is to install lineageOS on it.

I managed easily to :

- unlock bootloader

- install TWRP (3.5.2_9.0) or the lineageOS recovery

- install lineageOS images and associated opengapps (pico) or mindthegapps

But on every attempt, at first lineageOS boot, it gets stuck (the blue bubble goes along the line for 45 minutes until it automatically goes back to recovery).

I tried many different combinations :

- twrp + lineageOS 18.1, with MindTheGapps (arm64 for Android 11)

- lineageOS rcovery 18.1 + lineageOS 18.1, with or without MindTheGapps

- twrp + lineageOS 17.1, with or without the corresponding OpenGapps pico package

When using TWRP at first i left TWRP system app option checked, but afterwards I always verified the option to NOT install it (i've read that it's a common cause for the problem).

All these combinations lead to the same result : 45 minutes waiting, back to recovery. I even tried to wait several times 45 minutes (up to 3 reboots, and after 2 reboots do a factory reset as suggested by lineageOS recovery).

So my questions :

- is there a way to know what LineageOS has been doing all this time ? Some log file i could access from recovery or fastboot mode ?

- is there an alternative ROM you would advise me to try ?

Ah, and last but not least, results of fastboot getvar all (with some xxx replacing what i thought could be sensitive data) :

fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8937-B8.25
(bootloader) product: cedric
(bootloader) board: cedric
(bootloader) secure: yes
(bootloader) hwrev: P5
(bootloader) radio: 4
(bootloader) storage-type: emmc
(bootloader) emmc: 16GB SAMSUNG RE1BMB RV=08 PV=0D FV=000000000000000D
(bootloader) ram: 3GB SAMSUNG LP3 DIE=6Gb M5=01 M6=05 M7=00 M8=7B
(bootloader) cpu: MSM8937
(bootloader) serialno: xxx
(bootloader) cid: 0x0032
(bootloader) channelid: 0x40
(bootloader) uid: xxx
(bootloader) securestate: flashing_unlocked
(bootloader) verity-state: enforcing
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 536870912
(bootloader) reason: Reboot mode set to fastboot
(bootloader) imei: xxx
(bootloader) meid:
(bootloader) date: 05-09-2017
(bootloader) sku: XT1676
(bootloader) battid:
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Fri Apr 24 1:56: 9 UTC 1970"
(bootloader) ro.build.fingerprint[0]: motorola/cedric/cedric:7.0/NPPS25.
(bootloader) ro.build.fingerprint[1]: 137-93-12/18:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.25.321.18.cedric.ret
(bootloader) ro.build.version.full[1]: ail.en.US
(bootloader) ro.build.version.qcom: LA.UM.5.6.r1-01900-89xx.0
(bootloader) version-baseband[0]: M8937_22.29.02.56.01R CEDRIC_EMEADSDS_
(bootloader) version-baseband[1]: CUST
(bootloader) kernel.version[0]: Linux version 3.18.31-perf-g4a0c859 (hud
(bootloader) kernel.version[1]: soncm@ilclbld35) (gcc version 4.8 (GCC)
(bootloader) kernel.version[2]: ) #1 SMP PREEMPT Wed May 2 06:29:31 CDT
(bootloader) kernel.version[3]: 2018
(bootloader) sbl1.git: git=MBM-NG-VB8.25-0-g0cc8007
(bootloader) rpm.git: git=3f612e6-dirty
(bootloader) tz.git: git=87b19b9-dirty
(bootloader) devcfg.git: git=87b19b9-dirty
(bootloader) keymaster.git: git=87b19b9-dirty
(bootloader) cmnlib.git: git=87b19b9-dirty
(bootloader) cmnlib64.git: git=87b19b9-dirty
(bootloader) prov.git: git=MBM-NG-VB8.09-0-g1a41aff
(bootloader) aboot.git: git=MBM-NG-VB8.25-0-gb74f6bf
(bootloader) qe: qe 0/0
(bootloader) frp-state: no protection (0)
(bootloader) ro.carrier: reteu
all: listed above