[Moto G5 Plus Questions & Answers] yisus_fcmx:
Hi people, I hope you can help me.

Yesterday I tried to flash a Custom ROM on my phone. First I tried with ArrowOS 8.1 Downloaded form XDA, but the FP was not working. Surfing here I found a firmware actualization (.zip) for Arrow OS 9, that supposedly fixed this issue, I installed it, but it didn't work Here in #3 found that zip . Also, after installing the update I realized the SIM cards had no signal, so I removed the SIM tray and put it back into the phone and started to get signal again.

I tried to install Pixel Experience 10 Again downloaded from here , and here is were the problems started. My phone stopped dettecting the sim cards, but I thought that could be a problem with the ROM.

I tried to back to Stock, but in the instalation process I get this message

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem fb_mode_set
< waiting for any device >
...
OKAY [ -0.000s]
finished. total time: 0.016s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash partition gpt.bin
target reported max download size of 534773760 bytes
sending 'partition' (45 KB)...
OKAY [ -0.000s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote failure)
finished. total time: 0.094s

Also, I have to reformat all my internal storage because I couldn´t access to TWRP since it asked me for a password. So, in this point I tried to flash a Custom ROM and try to fix the IMEI issue. I followed this solution, and I get this:

C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell
shell@potter:/ $ su
Permission denied
13|shell@potter:/ $ su
root@potter:/ # ls -l /persist
total 216
drwxrwx--- 2 system system 4096 1969-12-31 18:01 alarm
drwxr-xr-x 2 vendor_mot_pwric vendor_mot_pwric 4096 2018-11-19 01:18 batt_health
drwxrwx--- 2 bluetooth bluetooth 4096 2017-05-11 10:14 bluetooth
drwx------ 2 root system 4096 1969-12-31 18:01 bms
drwxr-xr-x 2 vendor_mot_tcmd bluetooth 4096 1969-12-31 18:01 bt
drwxr-xr-x 5 vendor_mot_tcmd vendor_mot_tcmd 4096 1970-09-27 15:59 camera
drwxrwx--- 2 system system 4096 1970-09-27 15:59 chargeonly
drwx------ 6 system system 4096 2018-02-26 20:08 data
drwxrwx--- 2 system graphics 4096 1970-09-27 15:59 display
drwxrwx--- 2 system system 4096 1969-12-31 18:01 drm
drwxr-xr-x 5 vendor_mot_tcmd vendor_mot_tcmd 4096 2017-05-11 10:15 factory
drwxrwx--- 3 2905 3905 4096 1969-12-31 18:01 hlos_rfs
drwx------ 2 root root 4096 1969-12-31 18:00 lost+found
drwxrwx--- 2 radio radio 4096 2017-05-11 10:14 mdm
drwxrwx--- 2 system system 4096 1969-12-31 18:01 misc
drwxrws--- 2 9004 9004 4096 1970-09-27 15:59 paks
drwxrwx--- 2 system system 4096 1971-06-27 02:22 properties
drwxr-xr-x 11 vendor_mot_tcmd vendor_mot_tcmd 4096 1970-09-27 15:59 public
drwx--x--x 6 2905 2905 4096 1969-12-31 18:01 rfs
drwx------ 2 root root 4096 1970-09-27 15:59 sds
drwxrwx--- 2 system system 4096 1970-09-27 15:59 secnvm
drwxrws--- 2 vendor_mot_tpapi vendor_mot_tpapi 4096 2018-02-26 20:08 security
drwxrwxr-x 3 root root 4096 1970-09-27 15:59 sensors
drwxrwx--- 2 system system 4096 2018-11-19 01:18 time
drwxrwx--- 2 media media 4096 1970-09-27 15:59 vpp
drwxr-xr-x 2 vendor_mot_tcmd vendor_mot_tcmd 4096 1969-12-31 18:01 wifi
drwxrwxr-x 2 vendor_mot_drm vendor_mot_drm 4096 1969-12-31 18:01 wmdrm
root@potter:/ # find /persist -type -f
find: bad -type '-'
1|root@potter:/ # find /persist -type f
/persist/sensors/sensors_settings
/persist/data/prov/hOCai-D9scbsJB4cBtOkite43zjWWa0xnUjr7NiT2J
/persist/data/prov/prov
/persist/data/prov/prov.bak
/persist/data/prov/hOCai-D9scbsJB4cBtOkite43zjWWa0xnUjr7NiT2J.bak
/persist/data/prov/JdqMwT4s2iEOWC7QtOqVO3NAjlGCFKhD1XqQk4ed2F
/persist/data/prov/JdqMwT4s2iEOWC7QtOqVO3NAjlGCFKhD1XqQk4ed2F.bak
/persist/data/widevine/pMwYkvIMoTMRsxKzLi7r-jPWCO3Yy0KcV3OFQJYfOx
/persist/data/widevine/widevine
/persist/data/widevine/widevine.bak
/persist/data/widevine/pMwYkvIMoTMRsxKzLi7r-jPWCO3Yy0KcV3OFQJYfOx.bak
/persist/data/widevine/F77+MItbety79Qt23MK8V7bcmXaJiRULkCJtSDlVz-
/persist/data/widevine/F77+MItbety79Qt23MK8V7bcmXaJiRULkCJtSDlVz-.bak
/persist/data/widevine/bnqtL-wVw0py0rBd4JATOP8fMBHIK23JKjeBL70zeh
/persist/data/widevine/bnqtL-wVw0py0rBd4JATOP8fMBHIK23JKjeBL70zeh.bak
/persist/camera/ledcal/rear
/persist/batt_health/age
/persist/mdm/oma_dm_update
/persist/factory/fti
/persist/public/hiddenmenu/data/mobile_data_rx
/persist/public/hiddenmenu/data/mobile_data_tx
/persist/public/hiddenmenu/data/wifi_data_rx
/persist/public/hiddenmenu/data/wifi_data_tx
/persist/public/hiddenmenu/data/factoryreset_time
/persist/public/hiddenmenu/data/activation_date
/persist/public/hiddenmenu/life_calls
/persist/public/hiddenmenu/life_timer
/persist/security/18.bin
/persist/bluetooth/.bt_nv.bin
/persist/time/ats_1
/persist/time/ats_2
/persist/time/ats_15
/persist/time/ats_12
/persist/time/ats_13
/persist/time/ats_16
/persist/rfs/shared/server_info.txt
/persist/rfs/msm/mpss/datablock/id_00
/persist/rfs/msm/mpss/datablock/id_01
/persist/rfs/msm/mpss/server_check.txt
/persist/rfs/msm/mpss/dhob.bin
/persist/rfs/msm/mpss/shob.bin
/persist/rfs/msm/mpss/dhob.bin.bak
/persist/chargeonly/cooldown
/persist/.twrps

When I tried to repair the ownships i gave this :

2|root@potter:/ # chown -R rfs:rfs /persist/rfs
chown: bad user 'rfs'

So, this morning I installed Havoc 2.7 also found here in XDA and I had an interesting result, it started to get signal on sim but it stopped detecting sim 2. When I run the same commands to fix the IMEI issue I get this:

13|shell@potter:/ $ su
root@potter:/ # ls -l /persist
total 216
drwxrwx--- 2 system system 4096 1969-12-31 18:01 alarm
drwxr-xr-x 2 vendor_mot_pwric vendor_mot_pwric 4096 2018-11-19 01:18 batt_health
drwxrwx--- 2 bluetooth bluetooth 4096 2017-05-11 10:14 bluetooth
drwx------ 2 root system 4096 1969-12-31 18:01 bms
drwxr-xr-x 2 vendor_mot_tcmd bluetooth 4096 1969-12-31 18:01 bt
drwxr-xr-x 5 vendor_mot_tcmd vendor_mot_tcmd 4096 1970-09-27 15:59 camera
drwxrwx--- 2 system system 4096 1970-09-27 15:59 chargeonly
drwx------ 6 system system 4096 2018-02-26 20:08 data
drwxrwx--- 2 system graphics 4096 1970-09-27 15:59 display
drwxrwx--- 2 system system 4096 1969-12-31 18:01 drm
drwxr-xr-x 5 vendor_mot_tcmd vendor_mot_tcmd 4096 2017-05-11 10:15 factory
drwxrwx--- 3 oem_2903 oem_2904 4096 1969-12-31 18:01 hlos_rfs
drwx------ 2 root root 4096 1969-12-31 18:00 lost+found
drwxrwx--- 2 radio radio 4096 2017-05-11 10:14 mdm
drwxrwx--- 2 system system 4096 1969-12-31 18:01 misc
drwxrws--- 2 9004 9004 4096 1970-09-27 15:59 paks
drwxrwx--- 2 system system 4096 1971-06-27 02:22 properties
drwxr-xr-x 11 vendor_mot_tcmd vendor_mot_tcmd 4096 1970-09-27 15:59 public
drwx--x--x 6 oem_2903 oem_2903 4096 1969-12-31 18:01 rfs
drwx------ 2 root root 4096 1970-09-27 15:59 sds
drwxrwx--- 2 system system 4096 1970-09-27 15:59 secnvm
drwxrws--- 2 vendor_mot_tpapi vendor_mot_tpapi 4096 2018-02-26 20:08 security
drwxrwxr-x 3 root root 4096 1970-09-27 15:59 sensors
drwxrwx--- 2 system system 4096 2018-11-19 01:18 time
drwxrwx--- 2 media media 4096 1970-09-27 15:59 vpp
drwxr-xr-x 2 vendor_mot_tcmd vendor_mot_tcmd 4096 1969-12-31 18:01 wifi
drwxrwxr-x 2 vendor_mot_drm vendor_mot_drm 4096 1969-12-31 18:01 wmdrm
1|root@potter:/ # find /persist -type f
/persist/sensors/sensors_settings
/persist/data/prov/hOCai-D9scbsJB4cBtOkite43zjWWa0xnUjr7NiT2J
/persist/data/prov/prov
/persist/data/prov/prov.bak
/persist/data/prov/hOCai-D9scbsJB4cBtOkite43zjWWa0xnUjr7NiT2J.bak
/persist/data/prov/JdqMwT4s2iEOWC7QtOqVO3NAjlGCFKhD1XqQk4ed2F
/persist/data/prov/JdqMwT4s2iEOWC7QtOqVO3NAjlGCFKhD1XqQk4ed2F.bak
/persist/data/widevine/pMwYkvIMoTMRsxKzLi7r-jPWCO3Yy0KcV3OFQJYfOx
/persist/data/widevine/widevine
/persist/data/widevine/widevine.bak
/persist/data/widevine/pMwYkvIMoTMRsxKzLi7r-jPWCO3Yy0KcV3OFQJYfOx.bak
/persist/data/widevine/F77+MItbety79Qt23MK8V7bcmXaJiRULkCJtSDlVz-
/persist/data/widevine/F77+MItbety79Qt23MK8V7bcmXaJiRULkCJtSDlVz-.bak
/persist/data/widevine/bnqtL-wVw0py0rBd4JATOP8fMBHIK23JKjeBL70zeh
/persist/data/widevine/bnqtL-wVw0py0rBd4JATOP8fMBHIK23JKjeBL70zeh.bak
/persist/camera/ledcal/rear
/persist/batt_health/age
/persist/mdm/oma_dm_update
/persist/factory/fti
/persist/public/hiddenmenu/data/mobile_data_rx
/persist/public/hiddenmenu/data/mobile_data_tx
/persist/public/hiddenmenu/data/wifi_data_rx
/persist/public/hiddenmenu/data/wifi_data_tx
/persist/public/hiddenmenu/data/factoryreset_time
/persist/public/hiddenmenu/data/activation_date
/persist/public/hiddenmenu/life_calls
/persist/public/hiddenmenu/life_timer
/persist/security/18.bin
/persist/bluetooth/.bt_nv.bin
/persist/time/ats_1
/persist/time/ats_2
/persist/time/ats_15
/persist/time/ats_12
/persist/time/ats_13
/persist/time/ats_16
/persist/rfs/shared/server_info.txt
/persist/rfs/msm/mpss/datablock/id_00
/persist/rfs/msm/mpss/datablock/id_01
/persist/rfs/msm/mpss/server_check.txt
/persist/rfs/msm/mpss/dhob.bin
/persist/rfs/msm/mpss/shob.bin
/persist/rfs/msm/mpss/dhob.bin.bak
/persist/chargeonly/cooldown
/persist/.twrps

Also, before that, I ran this in Stock flashable on TWRP solution (posted here, in XDA), but it didn´t work either.

So, how I can fix the IMEI=0 and no detected SIM in slot 2?, what do I have to do to install Stock without that error? also why does it sometimes it boot to bootlader automatically? I have TWRP installed

When i ran

fastboot gervar all

i get this:

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8953-C0.92
(bootloader) product: potter
(bootloader) board: potter
(bootloader) secure: yes
(bootloader) hwrev: P3B
(bootloader) radio: 2
(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: MSM8953
(bootloader) serialno:
(bootloader) cid: 0x0032
(bootloader) channelid: 0x0a
(bootloader) uid: 93F2718900000000000000000000
(bootloader) securestate: flashing_unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 534773760
(bootloader) reason: UTAG "bootmode" configured as fastboot
(bootloader) imei: 351857089397515
(bootloader) meid:
(bootloader) date: 02-28-2018
(bootloader) sku: XT1681
(bootloader) carrier_sku:
(bootloader) battid: SNN5982A
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time:
(bootloader) ro.build.fingerprint[0]: motorola/potter_n/potter_n:8.1.0/O
(bootloader) ro.build.fingerprint[1]: PS28.85-13/b8ea:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.28.51.16.potter.reta
(bootloader) ro.build.version.full[1]: il.en.US
(bootloader) ro.build.version.qcom: LA.UM.6.6.r1-08600-89xx.0
(bootloader) version-baseband: M8953_41.50.07.82u POTTER_LATAMDSDS_CUST
(bootloader) kernel.version[0]: Linux version 3.18.71-perf-g2148ea10 (hu
(bootloader) kernel.version[1]: dsoncm@ilclbld68) (gcc version 4.9.x 201
(bootloader) kernel.version[2]: 50123 (prerelease) (GCC) ) #1 SMP PREEMP
(bootloader) kernel.version[3]: T Fri Aug 17 09:31:36 CDT 2018
(bootloader) sbl1.git: git=MBM-NG-VC0.92-0-gd009c3b
(bootloader) rpm.git: git=92e5e21-dirty
(bootloader) tz.git: git=26cc248-dirty
(bootloader) devcfg.git: git=26cc248-dirty
(bootloader) keymaster.git: git=26cc248-dirty
(bootloader) cmnlib.git: git=26cc248-dirty
(bootloader) cmnlib64.git: git=26cc248-dirty
(bootloader) prov.git: git=26cc248-dirty
(bootloader) aboot.git: git=MBM-NG-VC0.92-0-g3ea8df0
(bootloader) frp-state: no protection (0)
(bootloader) ro.carrier: tefmx
(bootloader) current-slot:
(bootloader) slot-suffixes: _a
(bootloader) slot-count: 1
(bootloader) slot-successful:_a: INVALID
(bootloader) slot-successful:_b: INVALID
(bootloader) slot-bootable:_a: INVALID
(bootloader) slot-bootable:_b: INVALID
(bootloader) slot-retry-count:_a: unknown
(bootloader) slot-retry-count:_b: unknown
all: listed above
finished. total time: 0.109s

Apologies: my English is quite basic and I do not have all the vocabulary to write, I hope someone can help me :c