[One (M7) Q&A, Help & Troubleshooting] nkk71:
Hi [MENTION=4564111]KidCarter93[/MENTION],

I've been posting these so often, I thought I'd put them here instead of making a new thread (hopefully soon ;)). If these posts are out of place, please feel free to delete/edit them, and sorry for the inconvenience.

A) Having Problems? Rule #1: check MD5 on all your downloads; one single corrupt download can keep you trying for hours on end for nothing!

https://www.google.com/#q=MD5 ; Basically (in our context), MD5 checksums are to verify that the file you downloaded isn't corrupt

on Mac, Linux, and Android terminals it's already built in:

Mac: in terminal, just type md5 <name of file>

----> MD5 (<name of file>) = 12345678901234567890123456789012

Linux: in terminal, just type md5sum <name of file>

----> 12345678901234567890123456789012 <name of file>

Android: in "adb shell", just type md5sum <name of file>

----> 12345678901234567890123456789012 <name of file>

Windows (seems not built-in!?!?): you can use programs such as http://winmd5.com/ , http://implbits.com/hashtab.aspx , http://www.pc-tools.net/win32/md5sums/ or any other one of your choosing.

B) Force reboot

Press and hold POWER + VOLDOWN (under a bright light, not kidding!!), after about 5 seconds or so buttons should start blinking, and after 30 seconds or so, the phone will reboot, let go of POWER, but keep holding VOLDOWN to get back to bootloader.

(you may need to try 2 or 3 times to get it right)​

C) Problems installing a ROM (in particular 4.4+ versions, and getting permission/set_metadata errors)

for M7_U/UL models, get TWRP from:

2.6.3.3: http://techerrata.com/browse/twrp2/m7

or 2.6.3.4: http://techerrata.com/browse/twrp2/m7ul

(make sure MD5 is correct, that site does not play nice with download managers)

Note: at the time of this writing these are the most reliable versions, even the 2.7.x.x series seem to still have problems

in bootloader/FASTBOOT USB:

fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img

fastboot erase cache

fastboot reboot-bootloader

C:\ADB3>[B][COLOR="Blue"]adb version[/COLOR][/B]
Android Debug Bridge version 1.0.31

C:\ADB3>[B][COLOR="Blue"]fastboot devices[/COLOR][/B]
HT34xxxxxxxx fastboot [I][SIZE="1"]<- you are in bootloader[/SIZE][/I]

C:\ADB3>[B][COLOR="Blue"]fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img[/COLOR][/B]
target reported max download size of 1514139648 bytes
sending 'recovery' (9184 KB)...
OKAY [ 1.209s]
writing 'recovery'...
OKAY [ 1.144s]
finished. total time: 2.354s

C:\ADB3>[B][COLOR="Blue"]fastboot erase cache[/COLOR][/B]
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.120s]
finished. total time: 0.120s

C:\ADB3>[B][COLOR="Blue"]fastboot reboot-bootloader[/COLOR][/B]
rebooting into bootloader...
OKAY [ 0.160s]
finished. total time: 0.160s

-> enter RECOVERY and install the ROM​

D) Recovery showing 'unable to mount /data' or 'internal storage'

Then you should format all the partitions in TWRP:

1- Go to the Wipe Menu select Format Data -> that will format /data (

including internal storage

)

2- In the Wipe Menu select Advanced Wipe, then select System and Cache -> that will format /system and /cache

reboot back to recovery

Warning: This will effectively format everything on your phone! and you will no longer have a ROM on your phone, and will have to proceed to step E below.
​

E) If the ROM is no longer on your phone

then you can use one of three methods:

1- OTG cable

2- adb push <name of rom>.zip /sdcard/

3- initiate sideload in custom recovery, then adb sideload <name of rom>.zip

adb push example:

C:\ADB3>[B][COLOR="Blue"]adb version[/COLOR][/B]
Android Debug Bridge version 1.0.31

C:\ADB3>[B][COLOR="Blue"]adb devices[/COLOR][/B]
List of devices attached
HT34xxxxxxxx recovery [I][SIZE="1"]<- you are now in recovery[/SIZE][/I]

C:\ADB3>[B][COLOR="Blue"]adb push MyCustomROM.zip /sdcard/[/COLOR][/B]
2990 KB/s (1172224138 bytes in 382.835s) [B][I]<- yes, it took over 5 mins,
without showing any progress[/I][/B]

[I][U][SIZE="1"]Just to double-check the file is not corrupt[/SIZE][/U][/I]
C:\ADB3>[B][COLOR="Blue"]adb shell md5sum /sdcard/MyCustomROM.zip[/COLOR][/B]
2eff0d37fec5789b946c43f7da2c13bf /sdcard/MyCustomROM.zip
[INDENT]from the OP/place you downloaded the ROM:
MyCustomROM -- MD5 sum: 2EFF0D37FEC5789B946C43F7DA2C13BF --
==> so all is good :)
==> obviously you check that against the MD5 of your ROM[/INDENT]

C:\ADB3>

-> in recovery, select "install" and install the ROM​

F) My Phone isn't recognized in bootloader (fastboot devices) or custom recovery (adb devices)

Check the FAQs (in particular FAQ #2) here:

http://xdaforums.com/showpost.php?p=52135024&postcount=2​

G) How long should I wait for the 1st bootup

The first boot can take anywhere from a few minutes to 15 minutes.

My personal experience (m7_ul)... after a clean flash (ie wiping userpartition during the installer, and before rebooting wiping dalvik & cache [a bit redundant, but i do it anyways]):

during the first bootup, the screen brightness changes after 3~5 minutes, then i know the phone isn't frozen, and wait another 5~20 minutes.... more than 20 minutes (as in... "i left it overnight") is unreasonable.​