[Q] Errors in TWRP When Wiping (CM12 Update Screwed Up Phone)

IceBreakerG

Member
Oct 5, 2007
10
0
0
I posted this in the OnePlus forum as well, but hoping to get some more help here.

Over the weekend I finally got the OTA update for CM12. Before installing, I made a system/data backup in TWRP and made a full backup in Titanium Backup. After installing the update, things were mostly ok, but felt extremely buggy and things just overall didn't work well. After a few reboots things seemed to get a little more stable then I realized I wasn't rooted anymore. After multiple reboots I saw that the TWRP custom recovery got overwritten and replaced by the CM recovery. After searching for hours yesterday I was finally able to get TWRP back on so I could root and from there things only got worse.

I flashed the SuperSU file to root my phone again and it booted back up. After checking a couple of things and another reboot it started getting stuck on the boot animation, and would no longer boot up at all. After another hour or 2 of trying to get it to boot, I decided to just wipe it and start over. I flashed the factory cm image cm-12.0-YNG1TAS17L-bacon-signed.zip and after the "Android is Upgrading" screen, I started getting constant loop errors that Google App has stopped working and Google+ has stopped working. These would pop up every 1-2 seconds. I did another wipe and flashed the previous version cm-12.0-YNG1TAS0YL-bacon-signed.zip. After flashing that, it was the same thing, constant loop errors about one of the google apps not working. "Patiently" clicking ok to get past the set up screens and updating everything in the Google Play store those errors stopped, but then I noticed Chrome would not launch. At all. It would open and immediately force close.

I also get the "System UIDs Inconsistent" error.

After all of this, there's another issue that I see every time I try to flash or wipe anything in TWRP (current version is 2.8.6.0). Here's part of the recovery log:

I:Set page: 'action_complete'
I:eek:peration_end - status=0
I:Set page: 'clear_vars'
I:Set page: 'wipe'
I:Set page: 'advancedwipe'
I:Set page: 'action_page'
I:eek:peration_start: 'Format'
I:wipe list 'DALVIK;/system;/data;/cache;'
I:wipe_path 'DALVIK'

Wiping Dalvik Cache Directories...
-- Dalvik Cache Directories Wipe Complete!

I:wipe_path '/system'
Formatting System using make_ext4fs function.
Creating filesystem with parameters:
Size: 1388314624
Block size: 4096
Blocks per group: 32768
Inodes per group: 7712
Inode size: 256
Journal blocks: 5296
Label:
Blocks: 338944
Block groups: 11
Reserved block group size: 87
Created filesystem with 11/84832 inodes and 11157/338944 blocks
warning: wipe_block_device: Wipe via secure discard failed, used discard instead

I:wipe_path '/data'
Wiping data without wiping /data/media ...
I:Unable to unlink '/data/data/com.google.android.googlequicksearchbox/cache/http/1b92ca0903b529c5a5afb687a70b51ef.1: I/O error'
Done.
I:Get_Max_FileSize::maxFileSize: 17592186044416
I:sending message to add 65537 '/data/media/0' 'Internal Storage'
mtppipe add storage 65537 '/data/media/0'
MtpStorage id: 65537 path: /data/media/0
E:MtpServer::addStorage Storage for storage ID 65537 already exists.
I:Message sent, add storage ID: 65537
I:wipe_path '/cache'
Formatting cache using make_ext4fs function.
Creating filesystem with parameters:
Size: 536870912
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 2048
Label:
Blocks: 131072
Block groups: 4
Reserved block group size: 31
Created filesystem with 11/32768 inodes and 4206/131072 blocks
warning: wipe_block_device: Wipe via secure discard failed, used discard instead

I:Recreating /cache/recovery folder.
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
Updating partition details...
E:Unable to stat '/data/data/com.google.android.googlequicksearchbox/cache/http/1b92ca0903b529c5a5afb687a70b51ef.1'
E:Unable to stat '/data/data/com.google.android.googlequicksearchbox/cache/http/ddc8e46ee73b718c1040ea22416705d5.0'
E:Unable to stat '/data/data/com.google.android.googlequicksearchbox/cache/http/41e7cc2b141b99226d68ca551f169eec.0'
E:Unable to stat '/data/data/com.android.chrome/cache/.com.google.Chrome.5gc7PN'
E:Unable to stat '/data/data/com.google.android.music/databases/WearableDataSync.db-journal'
E:Unable to stat '/data/data/com.google.android.apps.plus/cache/event_themes/2012050004'
E:Unable to stat '/data/data/com.google.android.apps.plus/cache/event_themes/2012050005'
E:Unable to stat '/data/data/com.google.android.apps.plus/cache/event_themes/2012050006'
E:Unable to stat '/data/data/com.google.android.apps.plus/cache/event_themes/2012050014'
E:Unable to stat '/data/data/com.google.android.apps.plus/cache/event_themes/2012050010'
E:Unable to stat '/data/data/com.google.android.apps.plus/cache/event_themes/2012050009'
E:Unable to stat '/data/data/com.google.android.apps.plus/cache/event_themes/2013050005'
E:Unable to stat '/data/data/com.google.android.apps.plus/cache/media_sync/1/1b2fe9e4d4ddd6-t'
E:Unable to stat '/data/data/com.google.android.apps.plus/cache/media_sync/8/845d63ac5ae7d30-t'
E:Unable to stat '/data/data/com.google.android.apps.plus/cache/media_sync/2'

I:Data backup size is 671MB, free: 40173MB.
I:Unable to mount '/usb_otg'
I:Actual block device: '', current file system: 'vfat'
...done

The part that says "E:Unable to stat..." has been happening for a long time and I'm not sure how to fix this or even get my phone working again. In TWRP, if I use the file manager and go to the location for (example):

E:Unable to stat '/data/data/com.android.chrome/cache/.com.google.Chrome.5gc7PN'

And try to copy, move or delete that file, the operation fails. I'm wondering if these cache files are causing my problems, but I don't know how to fix it. This makes me wish I never even touched CM12 at all.

Can anyone please help me get this thing working again?