[Android Q&A, Help & Troubleshooting] cappdom2:
I had my phone rooted and unlocked, so this is not the issue.

Anyway,

One morning, woke up, Black screen with a yellow flashing led light, at a pretty fast speed (Meaning faster than the normal notifications)

^ Is this an Error code? ^

Force restarted the phone (Power + Volume Down) - Tells me that the boot loader is unlocked, blah blah blah. Then the phone won't ever move from this screen.

So, Force restarted the phone again, went into the recovery (Restart then hold volume up). I have TWRP 2.2.2.1 installed. I also have a backup of my phone, though TWRP and I tried to restore it from there. It would get half way, then just stop. I went into the log in TWRP, and it said:

Starting TWRP "2.2.2.1" on Mon Feb 25 20:01:08 2013

Loading volume table...

recovery filesystem table

=========================

0 /tmp ramdisk (null) (null)

1 /sdcard datamedia /dev/null (null)

2 /sdcard-ext vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1

3 /system ext4 /dev/block/platform/msm_sdcc.1/by-name/system (null)

4 /cache ext4 /dev/block/platform/msm_sdcc.1/by-name/cache (null)

5 /data ext4 /dev/block/platform/msm_sdcc.1/by-name/userdata (null)

6 /boot emmc /dev/block/platform/msm_sdcc.1/by-name/boot (null)

7 /logo emmc /dev/block/platform/msm_sdcc.1/by-name/logo (null)

8 /recovery emmc /dev/block/platform/msm_sdcc.1/by-name/recovery (null)

9 /pds ext4 /dev/block/platform/msm_sdcc.1/by-name/pds (null)

10 /modem ext4 /dev/block/platform/msm_sdcc.1/by-name/modem (null)

I:Internal path defined: '/data/media'

I:External path defined: '/sdcard-ext'

Pixel format: 540x960 @ 32bpp

Pixel format: BGR_565

framebuffer: fd 4 (540 x 960)

I:=> Installing busybox into /sbin

ln: /sbin/mke2fs: File exists

ln: /sbin/sh: File exists

ln: /sbin/tune2fs: File exists

I:=> Linking mtab

I:=> Getting locations

W: Device does not support /proc/emmc

W: Device does not support /proc/mtd

* Verifying filesystems...

I:=> Let's update filesystem types via verifyFst aka blkid, command: 'blkid'.

I:=> Created /sdcard-ext folder.

* Verifying partition sizes...

E:Unable to mount '/data' (tw_mount)

E:Unable to mount '/cache' (tw_mount)

du: /data/media/.android_secure: No such file or directory

+----------+-----------------------------+--------+----------+----------+---+---+

| Mount | Block Device | fst | Size(KB) | Used(KB) | M | B |

+----------+-----------------------------+--------+----------+----------+---+---+

| | | | 0 | 0 | 0 | u |

| system | /dev/block/mmcblk0p36 | ext4 | 1523712 | 549704 | 1 | f |

| data | /dev/block/mmcblk0p38 | ext4 | 4855023 | 0 | 1 | f |

| boot | /dev/block/mmcblk0p31 | emmc | 10240 | 10240 | 0 | i |

| recovery | /dev/block/mmcblk0p32 | emmc | 10240 | 10240 | 0 | i |

| cache | /dev/block/mmcblk0p35 | ext4 | 786432 | 0 | 1 | f |

| sdcard-ext | /dev/block/mmcblk1p1 | vfat | 3869696 | 1051868 | 1 | n |

| sdcard | /dev/null | datamedia | 0 | 0 | 1 | n |

| andsec | /data/media | vfat | 0 | 0 | 0 | f |

| sd-ext | /dev/block/mmcblk1p2 | | 0 | 0 | 1 | f |

| | | | 0 | 0 | 0 | n |

| | | | 0 | 0 | 0 | n |

| | | | 0 | 0 | 0 | n |

+----------+-----------------------------+--------+----------+----------+---+---+

I:boot information:

mnt: 'boot'

blk: '/dev/block/mmcblk0p31'

dev: '/dev/block/mmcblk0p31'

alt: '/dev/block/mmcblk1'

fst: 'emmc'

fnm: ''

format location: '/dev/block/mmcblk0p31'

mountable: 0

backup method: 2

memory type: 2

I:system information:

mnt: 'system'

blk: '/dev/block/mmcblk0p36'

dev: '/dev/block/mmcblk0p36'

alt: '/dev/block/mmcblk1'

fst: 'ext4'

fnm: ''

format location: '/dev/block/mmcblk0p36'

mountable: 1

backup method: 3

memory type: 2

I:data information:

mnt: 'data'

blk: '/dev/block/mmcblk0p38'

dev: '/dev/block/mmcblk0p38'

alt: '/dev/block/mmcblk1'

fst: 'ext4'

fnm: ''

format location: '/dev/block/mmcblk0p38'

mountable: 1

backup method: 3

memory type: 2

I:cache information:

mnt: 'cache'

blk: '/dev/block/mmcblk0p35'

dev: '/dev/block/mmcblk0p35'

alt: '/dev/block/mmcblk1'

fst: 'ext4'

fnm: ''

format location: '/dev/block/mmcblk0p35'

mountable: 1

backup method: 3

memory type: 2

I:recovery information:

mnt: 'recovery'

blk: '/dev/block/mmcblk0p32'

dev: '/dev/block/mmcblk0p32'

alt: '/dev/block/mmcblk1'

fst: 'emmc'

fnm: ''

format location: '/dev/block/mmcblk0p32'

mountable: 0

backup method: 2

memory type: 2

I:sdcext information:

mnt: 'sdcard-ext'

blk: '/dev/block/mmcblk1p1'

dev: '/dev/block/mmcblk1p1'

alt: '/dev/block/mmcblk1'

fst: 'vfat'

fnm: ''

format location: '/dev/block/mmcblk1p1'

mountable: 1

backup method: 1

memory type: 2

I:sdcint information:

mnt: 'sdcard'

blk: '/dev/null'

dev: '/dev/null'

alt: ''

fst: 'datamedia'

fnm: ''

format location: 'sdcard'

mountable: 1

backup method: 1

memory type: 1

I:sd-ext information:

mnt: 'sd-ext'

blk: '/dev/block/mmcblk1p2'

dev: ''

alt: ''

fst: ''

fnm: ''

format location: ''

mountable: 1

backup method: 3

memory type: 0

I:android_secure information:

mnt: '.android_secure'

blk: '/data/media'

dev: '/data/media/.android_secure'

alt: ''

fst: 'vfat'

fnm: ''

format location: ''

mountable: 0

backup method: 3

memory type: 0

I:special 1 information:

mnt: ''

blk: ''

dev: ''

alt: ''

fst: ''

fnm: ''

format location: ''

mountable: 0

backup method: 1

memory type: 0

I:special 2 information:

mnt: ''

blk: ''

dev: ''

alt: ''

fst: ''

fnm: ''

format location: ''

mountable: 0

backup method: 1

memory type: 0

I:special 3 information:

mnt: ''

blk: ''

dev: ''

alt: ''

fst: ''

fnm: ''

format location: ''

mountable: 0

backup method: 1

memory type: 0

I:Loading package: TWRP (/script/ui.xml)

E:failed to mount /data (Invalid argument)

E:failed to mount /data (Invalid argument)

E:failed to mount /data (Invalid argument)

E:failed to mount /data (Invalid argument)

E:failed to mount /data (Invalid argument)

E:failed to mount /data (Invalid argument)

E:failed to mount /data (Invalid argument)

E:failed to mount /data (Invalid argument)

E:failed to mount /data (Invalid argument)

E:failed to mount /data (Invalid argument)

E:failed to mount /data (Invalid argument)

E:failed to mount /data (Invalid argument)

E:Unable to mount /data/media during GUI startup.

I:Loading package: TWRP (/res/ui.xml)

I:Loading resources...

I:Loading variables...

I:Loading pages...

I:Loading page main

I:Loading page main2

I:Loading page install

I:Loading page flash_confirm

I:Loading page flash_zip

I:Loading page flash_done

I:Loading page clear_vars

I:Loading page confirm_action

I:Loading page action_page

I:Loading page action_complete

I:Loading page filecheck

I:Loading page rebootcheck

I:Loading page wipe

I:Loading page backup

I:Loading page backupname1

I:Loading page backupname2

I:Loading page backup_run

I:Loading page restore

I:Unable to open '/data/media/TWRP/BACKUPS/TA70300MRT'

I:Loading page restore_select

I:Loading page renamebackup

I:Loading page restore_run

I:Loading page mount

I:Loading page usb_mount

I:Loading page usb_umount

I:Loading page reboot

I:Loading page settings

I:Loading page timezone

I:Loading page advanced

I:Loading page partsdcard

I:Loading page htcdumlock

I:Loading page lock

I:Loading page filemanagerlist

I:Loading page filemanageroptions

I:Loading page choosedestinationfolder

I:Loading page filemanagerrenamefile

I:Loading page filemanagerrenamefolder

I:Loading page filemanagerchmod

I:Loading page filemanagerconfirm

I:Loading page filemanageracction

I:Loading page decrypt

I:Loading page trydecrypt

I:Loading page terminalfolder

I:Loading page terminalcommand

I:Switching packages (TWRP)

Processing arguments (1)...

I:Set page: 'clear_vars'

I:Set page: 'main2'

E:failed to mount /cache (Invalid argument)

E:Can't mount /cache/recovery/command

Command: "/sbin/recovery"

ro.boot.hardware=qcom

ro.boot.serialno=TA70300MRT

ro.boot.baseband=msm

ro.boot.mode=normal

ro.boot.bootloader=0x109B

ro.boot.modelno=XT901

ro.boot.carrier=USC

ro.serialno=TA70300MRT

ro.bootmode=normal

ro.baseband=msm

ro.bootloader=0x109B

ro.hardware=qcom

ro.revision=10752

ro.emmc=1

ro.boot.emmc=1

ro.factorytest=0

ro.secure=0

ro.allow.mock.location=1

ro.debuggable=1

persist.sys.usb.config=adb

ro.build.id=JRO03L

ro.build.display.id=full_scorpion_mini-eng 4.1.1 JRO03L eng.p3droid.20120925.060204 test-keys

ro.build.version.incremental=eng.p3droid.20120925.060204

ro.build.version.sdk=16

ro.build.version.codename=REL

ro.build.version.release=4.1.1

ro.build.date=Tue Sep 25 06:02:42 MST 2012

ro.build.date.utc=0

ro.build.type=eng

ro.build.user=p3droid

ro.build.host=p3droid

ro.build.tags=test-keys

ro.product.model=Full Android on Emulator

ro.product.brand=Android

ro.product.name=full_scorpion_mini

ro.product.device=scorpion_mini

ro.product.board=scorpion_mini

ro.product.cpu.abi=armeabi-v7a

ro.product.cpu.abi2=armeabi

ro.product.manufacturer=unknown

ro.product.locale.language=en

ro.product.locale.region=US

ro.wifi.channels=

ro.board.platform=msm8960

ro.build.product=scorpion_mini

ro.build.description=full_scorpion_mini-eng 4.1.1 JRO03L eng.p3droid.20120925.060204 test-keys

ro.build.characteristics=default

ro.cm.device=scorpion_mini

keyguard.no_require_sim=true

ro.com.android.dateformat=MM-dd-yyyy

ro.carrier=unknown

ro.ril.hsxpa=1

ro.ril.gprsclass=10

ro.adb.qemud=1

ro.kernel.android.checkjni=1

net.bt.name=Android

net.change=net.bt.name

dalvik.vm.stack-trace-file=/data/anr/traces.txt

init.svc.ueventd=running

init.svc.recovery=running

service.adb.root=1

init.svc.adbd=running

E:failed to mount /data (Invalid argument)

E:failed to mount /data (Invalid argument)

E:Unable to mount /data when trying to read settings file.

I:Attempt to load settings from settings file...

E:failed to mount /data (Invalid argument)

I:Mounting /data/media to /sdcard

umount: can't umount /sdcard: Invalid argument

mount: mounting /data/media on /sdcard failed: No such file or directory

E:failed to mount /cache (Invalid argument)

E:Can't mount /cache/recovery/log

E:Can't open /cache/recovery/log

E:failed to mount /cache (Invalid argument)

E:Can't mount /cache/recovery/last_log

E:Can't open /cache/recovery/last_log

E:failed to mount /cache (Invalid argument)

W:Can't unlink /cache/recovery/command

I:Switching packages (TWRP)

I:Set page: 'mount'

I:Set page: 'main'

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Set page: 'advanced'

I:Set page: 'confirm_action'

I:Set page: 'action_page'

E:failed to mount /data (Invalid argument)

Copied recovery log to /data/media.

I:Set page: 'action_complete'

I:Set page: 'clear_vars'

I:Set page: 'advanced'

I:Set page: 'main'

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Set page: 'restore'

I:Unable to open '/data/media/TWRP/BACKUPS/TA70300MRT'

E:failed to mount /data (Invalid argument)

E:failed to mount /data (Invalid argument)

E:failed to mount /data (Invalid argument)

I:Set page: 'main'

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Set page: 'settings'

I:Set page: 'main'

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Set page: 'advanced'

I:Set page: 'filemanagerlist'

I:Set page: 'filemanageroptions'

I:Set page: 'filemanagerconfirm'

I:Set page: 'filemanageracction'

I:Running command: 'rm -rf "/sdcard-ext/Google_Nexus_4_ToolKit_v1.3.0.exe"'

I:Set page: 'action_complete'

I:Set page: 'clear_vars'

I:Set page: 'filemanagerlist'

I:Set page: 'advanced'

I:Set page: 'terminalfolder'

I:Set page: 'advanced'

I:Set page: 'main'

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Set page: 'mount'

I:Set page: 'main'

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Set page: 'advanced'

I:Set page: 'confirm_action'

I:Set page: 'action_page'

At this point, I haven't even done anything except for mount the SD card and have TWRP write a Log file to the SD card.

After a while, I decided to try and flash my recovery with Clock Work Recovery. Here is my process:

Microsoft Windows [Version 6.2.9200]

(c) 2012 Microsoft Corporation. All rights reserved.

C:\Users\Dominic\Desktop\adt-bundle-windows-x86_64\sdk\platform-tools>fastboot f

lash recovery cw-recovery.img

(bootloader) Variable not supported!

target reported max download size of 31457280 bytes

sending 'recovery' (7298 KB)...

OKAY [ 0.578s]

writing 'recovery'...

(bootloader) Failed to erase partition

(bootloader) Failed to flash partition recovery

FAILED (remote failure)

finished. total time: 1.016s

Just for ****s and giggles I just tried to format my Recovery partition:

C:\Users\Dominic\Desktop\adt-bundle-windows-x86_64\sdk\platform-tools>fastboot f

ormat recovery

(bootloader) Variable not supported!

formatting 'recovery' partition...

(bootloader) Variable not supported!

FAILED (remote failure)

FAILED (remote failure)

finished. total time: 0.094s

Also tried the "Erase" function:

C:\Users\Dominic\Desktop\adt-bundle-windows-x86_64\sdk\platform-tools>fastboot e

rase recovery

(bootloader) Variable not supported!

erasing 'recovery'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 0.109s

I have ran out of ideas. I've tried to reload the bootloader with RSD Lite... Nothing happened

Is there anyway to get my phone operable again?

If anybody has anything else to contribute, that would be awesome. Also, if you need more information, feel free to ask.