[Moto G4 Plus Questions & Answers] dante0397:
I find it weird that my device doesn't appear when I type the command 'adb devices' but the getvar command does work still, otherwise, here's what came out.

I was using this guide and stock ROM https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-xt1640-43-athene-npj25-93-t3549369

When I tried the OEM flash it didn't work at all, it kept giving me errors as if it couldn't reach the phone I guess, I really can't say what it was exactly but no option worked, even doing it manually like that guide said. I'm not touching the phone at all right now, except for what I just did, deleted system, data, cache everything, also weird thing is I woke up and the phone would initiate, I had previously installed a new lineageOS version when last night it didn't ever initiated, prompted me to backup from google account or start fresh but then it rebooted, tried with SD card in, and it rebooted even faster I guess; that's all I can say.

I'm none to talk, but I'd like to get guided if possible which the proper guides and if I get an error obviously report it, cuz every single time there's a new error I encounter.

Update: Turns out that after I installed a new version of LineageOS I tried to delete system, cache, dalvik, etc all of them again and I got this error in TWRP and I didn't notice

E:Primary block device '/dev/block/bootdevice/by-name/userdata' for mount point '/data' is not present
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder.
Failed to mount '/cache' (Invalid argument)
Updating partition details...
Failed to mount '/system' (Invalid argument)
Failed to mount '/data' (Invalid argument)
Failed to mount '/cache' (Invalid argument)
Failed to mount '/firmware' (Invalid argument)
Failed to mount '/persist' (Invalid argument)
...done
Unable to mount storage
Failed to mount '/data' (Invalid argument)
Full SELinux support is present.
E:
Unable to mount /data/media/TWRP/.twrps
MTP Enabled
Failed to mount '/data' (Invalid argument)
Failed to wipe dalvik
Updating partition details...
Failed to mount '/system' (Invalid argument)
Failed to mount '/data' (Invalid argument)
Failed to mount '/cache' (Invalid argument)
Failed to mount '/firmware' (Invalid argument)
Failed to mount '/persist' (Invalid argument)
...done
Unable to mount storage
Failed to mount '/data' (Invalid argument)
Failed to wipe dalvik
Updating partition details...
Failed to mount '/system' (Invalid argument)
Failed to mount '/data' (Invalid argument)
Failed to mount '/cache' (Invalid argument)
Failed to mount '/firmware' (Invalid argument)
Failed to mount '/persist' (Invalid argument)
...done
Unable to mount storage

Lineage is still installed and I can boot into it but it quickly reboots like I said before, but now it seems I can't even wipe my device, cool.

Microsoft Windows [Version 10.0.17134.165]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\adb>adb devices
List of devices attached

C:\adb>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8952-B0.0E(*)
(bootloader) product: athene_16mp
(bootloader) board: athene_16mp
(bootloader) secure: yes
(bootloader) hwrev: P2A
(bootloader) radio: 5
(bootloader) storage-type: emmc
(bootloader) emmc: 32GB SAMSUNG QX13MB RV=08 PV=07 FV=0000000000000007
(bootloader) ram: 2GB SAMSUNG LP3 DIE=8Gb M5=01 M6=05 M7=00 M8=1F
(bootloader) cpu: MSM8952
(bootloader) serialno: ZY223NT5FX
(bootloader) cid: 0x0032
(bootloader) channelid: 0x1b
(bootloader) uid: 0919B70100000000000000000000
(bootloader) securestate: flashing_unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 536870912
(bootloader) reason: Reboot mode set to fastboot
(bootloader) imei:
(bootloader) meid:
(bootloader) date: 11-04-2016
(bootloader) sku: XT1641
(bootloader) battid: SNN5970A
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Mon May 16 17:55:26 UTC 2016"
(bootloader) ro.build.fingerprint[0]: motorola/athene_f/athene_f:6.0.1/M
(bootloader) ro.build.fingerprint[1]: PJ24.139-23.1/1:user/release-keys
(bootloader) ro.build.version.full[0]: Blur_Version.24.24.1.athene.retai
(bootloader) ro.build.version.full[1]: l.en.US
(bootloader) ro.build.version.qcom: LA.BR.1.3.3-02720-8976.0
(bootloader) version-baseband[0]: M8952_70004.04.03.32R ATHENE_LATAM_DSD
(bootloader) version-baseband[1]: S_CUST
(bootloader) kernel.version[0]: Linux version 3.10.84-gcf01273 (hudsoncm
(bootloader) kernel.version[1]: @ilclbld52) (gcc version 4.9.x-google 20
(bootloader) kernel.version[2]: 140827 (prerelease) (GCC) ) #1 SMP PREEM
(bootloader) kernel.version[3]: PT Thu Apr 28 13:04:48 CDT 2016
(bootloader) sbl1.git: git=MBM-NG-VB0.0E-0-g83950b7
(bootloader) rpm.git: git=1dc910e
(bootloader) tz.git: git=9fa1804
(bootloader) hyp.git: git=9fa1804
(bootloader) keymaster.git: git=9fa1804
(bootloader) cmnlib.git: git=9fa1804
(bootloader) aboot.git: git=MBM-NG-VB0.0E-0-g4986429
(bootloader) qe: qe 0/0
(bootloader) frp-state: no protection (0)
(bootloader) ro.carrier: retla
all: listed above
finished. total time: 0.094s