[Moto G Q&A, Help & Troubleshooting] alfred56:
Hi Mate,

I already performed those suggested commands, opened the phone, disconnected the battery for a minute.

It does charge with the charger and it shows 100% charged.

My mobile is an outright purchase, it is not linked to any carrier. In Australia you can buy outright phone, not with a carrier customized rom.

Tried different roms without success using twrp, adb sideload and fastboot/mboot.

With fastboot all the commands report ok. With TWRP I get an error 7 and error 255 with certain roms.

I believe my ROM is XT1039 Peregrine 23 17.6-1.

Anyway does not matter how much and wipe this unit, there are always remnants in my internal storage that will not erase.

I can flash all kind of ROMS into it and there are still files there that cannot be deleted, IE /sdcard/DCIM/Camera photos and videos.

I ran these commands using the adb shell:

C:\android\platform-tools>adb shell ls -lh /sdcard/

__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!

__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!

__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!

drwxrwxr-x 5 media_rw media_rw 4.0K Jul 21 22:11 Android

drwxrwxr-x 4 media_rw media_rw 4.0K Feb 10 2017 DCIM

drwxrwxr-x 2 media_rw media_rw 4.0K Dec 25 08:09 Download

drwxrwxr-x 2 media_rw media_rw 4.0K Jun 19 2016 Notifications

drwxrwxr-x 2 media_rw media_rw 4.0K Dec 25 08:47 Pictures

drwxrwxr-x 2 media_rw media_rw 4.0K Dec 5 2015 Ringtones

drwxrwxr-x 6 media_rw media_rw 4.0K Feb 11 2017 WhatsApp

drwxrwxr-x 4 media_rw media_rw 4.0K Nov 6 18:35 __chartboost

drwxrwxr-x 3 media_rw media_rw 4.0K Feb 9 2016 com.facebook.katana

drwxrwxr-x 3 media_rw media_rw 4.0K Dec 29 2015 com.facebook.orca

drwxrwxr-x 3 media_rw media_rw 4.0K Dec 5 2015 media

drwxrwxr-x 2 media_rw media_rw 4.0K Nov 7 08:05 ubisoft

and the next to list the Camera folder:

C:\android\platform-tools>adb shell ls -lh /sdcard/DCIM/Camera

__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!

__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!

__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!

-rw-rw-r-- 1 media_rw media_rw 501.6K Feb 10 2017 IMG_20170210_234915911.jpg

-rw-rw-r-- 1 media_rw media_rw 511.2K Feb 10 2017 IMG_20170210_234919068.jpg

-rw-rw-r-- 1 media_rw media_rw 1.0M Feb 12 2017 IMG_20170212_201907780.jpg

-rw-rw-r-- 1 media_rw media_rw 1.0M Feb 12 2017 IMG_20170212_201914781.jpg

-rw-rw-r-- 1 media_rw media_rw 494.0K Feb 12 2017 IMG_20170212_201923163.jpg

-rw-rw-r-- 1 media_rw media_rw 494.2K Feb 12 2017 IMG_20170212_201945345.jpg

-rw-rw-r-- 1 media_rw media_rw 1.0M Feb 12 2017 IMG_20170212_202646422.jpg

-rw-rw-r-- 1 media_rw media_rw 1.1M Feb 12 2017 IMG_20170212_202719249.jpg

-rw-rw-r-- 1 media_rw media_rw 1019.5K Feb 12 2017 IMG_20170212_202746763.jpg

-rw-rw-r-- 1 media_rw media_rw 1008.2K Feb 12 2017 IMG_20170212_202801772.jpg

-rw-rw-r-- 1 media_rw media_rw 898.1K Feb 12 2017 IMG_20170212_204118155.jpg

-rw-rw-r-- 1 media_rw media_rw 1017.9K Feb 12 2017 IMG_20170212_204208307_HDR.jpg

-rw-rw-r-- 1 media_rw media_rw 905.4K Feb 12 2017 IMG_20170212_205508085.jpg

-rw-rw-r-- 1 media_rw media_rw 1.0M Feb 12 2017 IMG_20170212_205521103_HDR.jpg

-rw-rw-r-- 1 media_rw media_rw 1015.8K Feb 12 2017 IMG_20170212_205537343.jpg

-rw-rw-r-- 1 media_rw media_rw 920.8K Feb 12 2017 IMG_20170212_205552722.jpg

-rw-rw-r-- 1 media_rw media_rw 1.0M Feb 13 2017 IMG_20170213_194653469.jpg

-rw-rw-r-- 1 media_rw media_rw 458.8K Feb 14 2017 IMG_20170214_181302706.jpg

-rw-rw-r-- 1 media_rw media_rw 946.8K Feb 14 2017 IMG_20170214_191408430.jpg

-rw-rw-r-- 1 media_rw media_rw 1.0M Feb 14 2017 IMG_20170214_191411961.jpg

-rw-rw-r-- 1 media_rw media_rw 1003.3K Feb 14 2017 IMG_20170214_191414674.jpg

-rw-rw-r-- 1 media_rw media_rw 956.0K Feb 14 2017 IMG_20170214_225001191.jpg

-rw-rw-r-- 1 media_rw media_rw 995.0K Feb 14 2017 IMG_20170214_225031857.jpg

-rw-rw-r-- 1 media_rw media_rw 1018.9K Feb 14 2017 IMG_20170214_225035253.jpg

-rw-rw-r-- 1 media_rw media_rw 998.5K Feb 14 2017 IMG_20170214_225037915.jpg

-rw-rw-r-- 1 media_rw media_rw 596.2K Mar 10 2017 IMG_20170310_133924792.jpg

-rw-rw-r-- 1 media_rw media_rw 543.4K Mar 10 2017 IMG_20170310_133926974.jpg

-rw-rw-r-- 1 media_rw media_rw 1.1M Mar 10 2017 IMG_20170310_153628688.jpg

-rw-rw-r-- 1 media_rw media_rw 1.1M Mar 10 2017 IMG_20170310_153654589.jpg

-rw-rw-r-- 1 media_rw media_rw 946.6K Mar 18 2017 IMG_20170318_110314854.jpg

-rw-rw-r-- 1 media_rw media_rw 899.4K Mar 18 2017 IMG_20170318_110342489.jpg

-rw-rw-r-- 1 media_rw media_rw 768.3K Mar 20 2017 IMG_20170320_185756533.jpg

-rw-rw-r-- 1 media_rw media_rw 767.5K Mar 20 2017 IMG_20170320_185759446.jpg

-rw-rw-r-- 1 media_rw media_rw 1.1M Mar 28 2017 IMG_20170328_140647014.jpg

-rw-rw-r-- 1 media_rw media_rw 1002.9K Mar 28 2017 IMG_20170328_140654540.jpg

-rw-rw-r-- 1 media_rw media_rw 1.0M Mar 28 2017 IMG_20170328_140700548.jpg

-rw-rw-r-- 1 media_rw media_rw 993.5K Apr 1 2017 IMG_20170401_122744620.jpg

-rw-rw-r-- 1 media_rw media_rw 946.6K Apr 6 2017 IMG_20170406_174107216.jpg

-rw-rw-r-- 1 media_rw media_rw 846.7K Apr 6 2017 IMG_20170406_174125309.jpg

-rw-rw-r-- 1 media_rw media_rw 857.5K Apr 6 2017 IMG_20170406_174127874.jpg

-rw-rw-r-- 1 media_rw media_rw 59.6M Feb 10 2017 VID_20170210_234829190.mp4

-rw-rw-r-- 1 media_rw media_rw 30.3M Feb 12 2017 VID_20170212_201920817.mp4

-rw-rw-r-- 1 media_rw media_rw 36.6M Feb 12 2017 VID_20170212_202604850.mp4

-rw-rw-r-- 1 media_rw media_rw 89.3M Feb 13 2017 VID_20170213_194656999.mp4

-rw-rw-r-- 1 media_rw media_rw 15.1M Feb 14 2017 VID_20170214_181250724.mp4

-rw-rw-r-- 1 media_rw media_rw 43.8M Feb 14 2017 VID_20170214_225040708.mp4

The above files cannot be erased for some reason despit me selecting all partitions using TWRP WIPE Advanced, followed with a format.

Regards

Alfred56