You need to format data and wipe system, dalvik and cache on TWRP, after that reboot to bootloader (fastboot mode) and flash all partitions and you're doneMy front camera has stopped working unless I tap (not bang but tap) on the phone near the camera. I need to flash back to stock, including recovery. Can I do so in fastboot? If so, mind posting a quick little "how you did it"?
I know the commands for fastboot, but just want to make sure I do this correctly. Don't want to go into the AT&T store with a completely bricked phone...
Also, do I need to flash all partitions, or can I just flash recovery and kernel partitions and boot into ROM since I'm already on stock? That's really all I need to change, that and unroot the phone...
I made a script to flash all partitions:
Code:
fastboot flash aboot aboot_COM6
fastboot flash abootbak abootbak_COM6
fastboot flash apdp apdp_COM6
fastboot flash boot boot_COM6
fastboot flash cmnlib64 cmnlib64_COM6
fastboot flash cmnlib64bak cmnlib64bak_COM6
fastboot flash cmnlib cmnlib_COM6
fastboot flash cmnlibbak cmnlibbak_COM6
fastboot flash devcfg devcfg_COM6
fastboot flash devcfgbak devcfgbak_COM6
fastboot flash factory factory_COM6
fastboot flash hyp hyp_COM6
fastboot flash hypbak hypbak_COM6
fastboot flash keymaster keymaster_COM6
fastboot flash keymasterbak keymasterbak_COM6
fastboot flash laf laf_COM6
fastboot flash lafbak lafbak_COM6
fastboot flash modem modem_COM6
fastboot flash msadp msadp_COM6
fastboot flash persist persist_COM6
fastboot flash pmic pmic_COM6
fastboot flash pmicbak pmicbak_COM6
fastboot flash recovery recovery_COM6
fastboot flash recoverybak recoverybak_COM6
fastboot flash raw_resources raw_resources_COM6
fastboot flash raw_resourcesbak raw_resourcesbak_COM6
fastboot flash rct rct_COM6
fastboot flash rpm rpm_COM6
fastboot flash rpmbak rpmbak_COM6
fastboot flash sec sec_COM6
fastboot flash tz tz_COM6
fastboot flash tzbak tzbak_COM6
fastboot flash xbl2 xbl2_COM6
fastboot flash xbl2bak xbl2bak_COM6
fastboot flash xbl xbl_COM6
fastboot flash xblbak xblbak_COM6
fastboot format system
fastboot flash system system_COM6
fastboot format userdata
fastboot reboot