Let me start by saying this is not my main or even secondary phone, so it doesn't contain anything of value.
Anyway, I tried to upgrade it from Android 4.3 to 5.0. so unlocked the bootloader, installed TWRP and Installed Android successfully but when installing the Gapps it returned an error. Booted up Android but with constant error messages related to Gapps not being fully installed. So some of the install must have taken, other parts not. I messed up because I'm not even sure of what I did trying to install another version of Gapps, trying to reinstall TWRP since I couldn't boot it anymore etc. Anyway, the result is the phone is stuck in a boot loop with a purple led lit. I am able to access it using Fastboot, but nothing more than that. I have no idea if I have screwed up the partition tables, if I have deleted any vital system files etc.
My question then - is it possible to restore the system to stock using nothing but Fastboot?
==update==
Installing TWRP using Fastboot and running fastboot reboot I'm able to enter TWRP once more. Not really sure what to check next though.
This is the output when checking the partition table:
/dev/block/platform/msm_sdcc.1 # [6nls -al /dev/block/platform/msm_sdcc.1/by-name
__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!
drwxr-xr-x 2 root root 340 Jan 1 00:00 .
drwxr-xr-x 4 root root 420 Jan 1 00:00 ..
lrwxrwxrwx 1 root root 20 Jan 1 00:00 Boot -> /dev/block/mmcblk0p2
lrwxrwxrwx 1 root root 20 Jan 1 00:00 Boot2 -> /dev/block/mmcblk0p3
lrwxrwxrwx 1 root root 21 Jan 1 00:00 Cache -> /dev/block/mmcblk0p13
lrwxrwxrwx 1 root root 21 Jan 1 00:00 FOTAKernel -> /dev/block/mmcblk0p11
lrwxrwxrwx 1 root root 20 Jan 1 00:00 Kernel -> /dev/block/mmcblk0p4
lrwxrwxrwx 1 root root 21 Jan 1 00:00 SDCard -> /dev/block/mmcblk0p15
lrwxrwxrwx 1 root root 21 Jan 1 00:00 System -> /dev/block/mmcblk0p12
lrwxrwxrwx 1 root root 20 Jan 1 00:00 TA -> /dev/block/mmcblk0p1
lrwxrwxrwx 1 root root 20 Jan 1 00:00 TZ -> /dev/block/mmcblk0p5
lrwxrwxrwx 1 root root 21 Jan 1 00:00 Userdata -> /dev/block/mmcblk0p14
lrwxrwxrwx 1 root root 21 Jan 1 00:00 apps_log -> /dev/block/mmcblk0p10
lrwxrwxrwx 1 root root 20 Jan 1 00:00 fsg -> /dev/block/mmcblk0p8
lrwxrwxrwx 1 root root 20 Jan 1 00:00 modemst1 -> /dev/block/mmcblk0p6
lrwxrwxrwx 1 root root 20 Jan 1 00:00 modemst2 -> /dev/block/mmcblk0p7
lrwxrwxrwx 1 root root 20 Jan 1 00:00 ramdump -> /dev/block/mmcblk0p9
==update 2==
Using TWRP I was able to restore /data following this guide: https://erdentec.com/fix-twrp-mount-data-internal-storage-0mb/ after which I was able to install CARBON-5.1.1-UNOFFICIAL-20151220-1051-tsubasa.zip as well as Gapps for 5.1. The phone is still a but funky in that I can't boot to recovery without flashing TWRP each time before rebooting with Fastboot reboot but at least it's working.
Anyway, I tried to upgrade it from Android 4.3 to 5.0. so unlocked the bootloader, installed TWRP and Installed Android successfully but when installing the Gapps it returned an error. Booted up Android but with constant error messages related to Gapps not being fully installed. So some of the install must have taken, other parts not. I messed up because I'm not even sure of what I did trying to install another version of Gapps, trying to reinstall TWRP since I couldn't boot it anymore etc. Anyway, the result is the phone is stuck in a boot loop with a purple led lit. I am able to access it using Fastboot, but nothing more than that. I have no idea if I have screwed up the partition tables, if I have deleted any vital system files etc.
My question then - is it possible to restore the system to stock using nothing but Fastboot?
==update==
Installing TWRP using Fastboot and running fastboot reboot I'm able to enter TWRP once more. Not really sure what to check next though.
This is the output when checking the partition table:
/dev/block/platform/msm_sdcc.1 # [6nls -al /dev/block/platform/msm_sdcc.1/by-name
__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!
drwxr-xr-x 2 root root 340 Jan 1 00:00 .
drwxr-xr-x 4 root root 420 Jan 1 00:00 ..
lrwxrwxrwx 1 root root 20 Jan 1 00:00 Boot -> /dev/block/mmcblk0p2
lrwxrwxrwx 1 root root 20 Jan 1 00:00 Boot2 -> /dev/block/mmcblk0p3
lrwxrwxrwx 1 root root 21 Jan 1 00:00 Cache -> /dev/block/mmcblk0p13
lrwxrwxrwx 1 root root 21 Jan 1 00:00 FOTAKernel -> /dev/block/mmcblk0p11
lrwxrwxrwx 1 root root 20 Jan 1 00:00 Kernel -> /dev/block/mmcblk0p4
lrwxrwxrwx 1 root root 21 Jan 1 00:00 SDCard -> /dev/block/mmcblk0p15
lrwxrwxrwx 1 root root 21 Jan 1 00:00 System -> /dev/block/mmcblk0p12
lrwxrwxrwx 1 root root 20 Jan 1 00:00 TA -> /dev/block/mmcblk0p1
lrwxrwxrwx 1 root root 20 Jan 1 00:00 TZ -> /dev/block/mmcblk0p5
lrwxrwxrwx 1 root root 21 Jan 1 00:00 Userdata -> /dev/block/mmcblk0p14
lrwxrwxrwx 1 root root 21 Jan 1 00:00 apps_log -> /dev/block/mmcblk0p10
lrwxrwxrwx 1 root root 20 Jan 1 00:00 fsg -> /dev/block/mmcblk0p8
lrwxrwxrwx 1 root root 20 Jan 1 00:00 modemst1 -> /dev/block/mmcblk0p6
lrwxrwxrwx 1 root root 20 Jan 1 00:00 modemst2 -> /dev/block/mmcblk0p7
lrwxrwxrwx 1 root root 20 Jan 1 00:00 ramdump -> /dev/block/mmcblk0p9
==update 2==
Using TWRP I was able to restore /data following this guide: https://erdentec.com/fix-twrp-mount-data-internal-storage-0mb/ after which I was able to install CARBON-5.1.1-UNOFFICIAL-20151220-1051-tsubasa.zip as well as Gapps for 5.1. The phone is still a but funky in that I can't boot to recovery without flashing TWRP each time before rebooting with Fastboot reboot but at least it's working.
Last edited: