no cache partition error? - Sony Xperia XA2 Questions & Answers

I am getting a lot of little issues with this device. Its new, had it for a day now, was able to get lineageos on it and everything seemed fine. Then during a reboot, it stuck on the sony boot screen, no way to power off, no reboot. Had to wait till the battery died. then it booted, with lots of bugs. Went to twrp and factory reset, and cache cleared. Except now I get an error of
"Unable to find partition for path '/cache' "
Any idea how to fix? I can not wipe it, etc.

Related

[Q] Failed phone encryption, how to recover?

So I encrypted my phone last night, it seemed to have worked, the little android encryption icon came on for a while then it rebooted and asked for my pin. I entered my pin and it went back to the android encryption icon and just stays there. I left it over night thinking it was just taking it's sweet time to encrypt, but it did not come back. I'm still able to access CWM and can mount everything but /data and /system.
I tried ODIN'ing the phone with the stock LEN tar but that didn't work. It still asks for my pin, takes it, then sits there at the android encryption guy. I'm fairly certain I need to just re-partition the phone but I cannot find the PIT to do so.
Anyone have any insight?
Edit: I've wiped data/factory reset and wiped cache, but whenever it tries to wipe data, it gives an error mounting data and system (likely as they are encrypted).
Managed to fix it. Had to re-flash the stock recovery and then do a factory reset. While it didn't look like it was successful (it appeared to hang on formatting data) it rebooted and went straight into the OS.
Hopefully this will help someone in the future.

[Q] my HOX gone crazy

Hey guys,
I'm getting really frustrated with my HOX. I'm desperate for help.
I kept getting these gapps, android.acore and htc.bgp errors which caused all the apps to crash also suffered from random restarts with JB and I rollback to ICS 4.0.3. Still no good. Same stuff happening.
I did so many cache wiping, factory resets resotring my system but nothing seems to get my device to work properly for more than two days.
Sometimes i got these errors right aftor a recovery, so its not because of a specific app.
Today my phone just shut down and refused to start (HTC white screen stuck).
I tried restoring my old system image but clockworkmod gave me "Error while restoring /system!" with I/O errors.
I don't think there is anything wrong with OS but something more native not ruling out hardware\battery issues.
Any assistance would be more than helpful, i'm really struggling here ..
I don't get any replies so i'll try to explain myself better :
My HOX gets a lot of gapps/htc/android errors. Factory reset and recovery doesn't solve it.
Every two days my device is shutting itself down and won't start until I do a full recovery of the system (which sometimes fail).
Happened with JB and now with ICS stock rom.
I just downloaded a 3.14.709 backup, flashed it using clockworkmod and the first thing to appear was an android.acore error and the phone shut down.
I think there is something wrong with the hardware or serious software issue I don't understand.
Is there away to completely wipe the whole device and install everything from scratch ?
Any thoughts would be greatly appreciated ..
Do a Factory Reset in recovery and go to "mounts and storage" and format system too.
Then Wipe Cache and Dalvik Cache to be sure
Now flash the rom you want + kernel from fastboot (fastboot flash boot boot.img)
If tyou still have such problems then its most likely the hardware...
MeLViN-oNe said:
Do a Factory Reset in recovery and go to "mounts and storage" and format system too.
Then Wipe Cache and Dalvik Cache to be sure
Now flash the rom you want + kernel from fastboot (fastboot flash boot boot.img)
If tyou still have such problems then its most likely the hardware...
Click to expand...
Click to collapse
Thanks a lot for the advice,
I did the following :
1. Factory reset - wipe cache \ data \ sd-card
2. Format system
3. dalvik cache and cache erase
4. download a recovery for my cid from the forum here
5. flashed boot.img
6. restored the recovery using clockworkmod
7. flashed gapps.
The device went up ok but I hope it lasts more than a day or two before it start rebooting \ crashing.
The last time I did it it gave me errors before it even showed the home screen.
Once again thanks a lot .. I will post further updates soon.
Good luck,buddy.
Tough luck,
After less than 24 hours I started getting Talk\Facebook\Play\Whatsapp has stopped.
Than the phone got into a boot loop and wouldn't start (Stuck on HTC white logo screen).
When I went into boot recovery and try to wipe the phone to load a recovery I got these errors :
E: can't mount /cache/recovery/log
E: can't open /cache/recovery/log
and
E: format_volume: make_extf4fs failed on /dev/block/mmcblk0p12
E: format_volume: make_extf4fs failed on /dev/block/mmcblk0p13
E: format_volume: make_extf4fs failed on /dev/block/mmcblk0p15
Error formatting /data!
Error formatting /sdcard!
Error formatting /system!
etc .. etc ..
And it wouldn't let me choose a backup to restore.
I'm getting more and more convinced it's not a rom\boot\kernel issue but rather a hardware issue ..
Any thoughts on my assumption or fresh ideas ?

Note 2 sudden problem

This happened a few days ago. So first of all what happened was before I went to sleep my phone rebooted by itself for no reason which I thought that maybe my phone died,But the next morning i woke up to a samsung logo on my phone (not blinking) which I thought was rebooting again, but it wasnt booting into the OS. Im running dirty unicorn 4.4.4 (final ver) and the unicorn booting animation wasnt showing up. Before I try to boot/go into recovery/bootloader there is a red blink ( not too sure if that was always there) and I am able to access my recovery and bootloader. I checked my recovery log and it says the following:
E:unable to find partition size for '/boot' '/recovery' '/modem'
E:unable to mount '/efs' '/cache' '/system' '/data' storage /data/media during GUI startup
E:Failed to get default contexts and file mode for storage files
So seeing this I tried going into my bootloader which I was successfully able to go. Therefore I tried flashing stock through odin and resulted in failing or just freezing. *Had notes about being unable to write
I had this phone for 2 years without any problems and I'm with Rogers. Has anyone else gone through this or know a solution?
A similar thing happened to me recently. The battery was part of the problem I believe (for 2 of my Note 2s), as it wasn't holding a charge properly (this was causing problems from charging, to regular freezes, reboots). Finally, the last time the phone just got stuck on the samsung boot logo. By then, I had my new battery, so I swapped that in - but that didn't fix the problem. I booted into Philz recovery and saw the same error messages as you. I wiped dalvik cache 3 times, factory reset, and reset for installation of new rom (which still gave me the same error messages and something about unable to format E. Despite the error message, I proceeded to reinstall the custom Rom (Ditto Note 3) again from an external SD card. Everything loaded up like normal. SMS, chat records, contacts were all in tact (like a dirty flash). That said my wifi was having issues - so I ended up redoing the aforementioned process (clear cache, factory reset, reset for installation of new rom). This time no messages about the E: location. Installation was fresh and all content was wiped clean. The wifi issue was still occurring - but it turned out I just needed to install the AGNI kernal again.
Good luck
Note2Hunter said:
This happened a few days ago. So first of all what happened was before I went to sleep my phone rebooted by itself for no reason which I thought that maybe my phone died,But the next morning i woke up to a samsung logo on my phone (not blinking) which I thought was rebooting again, but it wasnt booting into the OS. Im running dirty unicorn 4.4.4 (final ver) and the unicorn booting animation wasnt showing up. Before I try to boot/go into recovery/bootloader there is a red blink ( not too sure if that was always there) and I am able to access my recovery and bootloader. I checked my recovery log and it says the following:
E:unable to find partition size for '/boot' '/recovery' '/modem'
E:unable to mount '/efs' '/cache' '/system' '/data' storage /data/media during GUI startup
E:Failed to get default contexts and file mode for storage files
So seeing this I tried going into my bootloader which I was successfully able to go. Therefore I tried flashing stock through odin and resulted in failing or just freezing. *Had notes about being unable to write
I had this phone for 2 years without any problems and I'm with Rogers. Has anyone else gone through this or know a solution?
Click to expand...
Click to collapse
jun3280 said:
A similar thing happened to me recently. The battery was part of the problem I believe (for 2 of my Note 2s), as it wasn't holding a charge properly (this was causing problems from charging, to regular freezes, reboots). Finally, the last time the phone just got stuck on the samsung boot logo. By then, I had my new battery, so I swapped that in - but that didn't fix the problem. I booted into Philz recovery and saw the same error messages as you. I wiped dalvik cache 3 times, factory reset, and reset for installation of new rom (which still gave me the same error messages and something about unable to format E. Despite the error message, I proceeded to reinstall the custom Rom (Ditto Note 3) again from an external SD card. Everything loaded up like normal. SMS, chat records, contacts were all in tact (like a dirty flash). That said my wifi was having issues - so I ended up redoing the aforementioned process (clear cache, factory reset, reset for installation of new rom). This time no messages about the E: location. Installation was fresh and all content was wiped clean. The wifi issue was still occurring - but it turned out I just needed to install the AGNI kernal again.
Good luck
Click to expand...
Click to collapse
So did you install it using an external sdcard?

All of sudden E: Unable to mount '/cache'

This never happened before. I wiped cache and dalvik cache before I flashed the HK sound mod, it was fine, I then installed the Viper4android installer, the screen was frozen on "please wait" for a long time, I pressed and swiped the screen a few times and it suddenly showed E: Unable to mount '/cache'. I then tried to wipe cache/dalvik cache again but a few more red lines similar to the E: Unable to mount '/cache' showed up. I then pressed reboot.
The thing is my phone seems working fine and both HK sound mod and V4A work but I don't dare to wipe anything in recovery at the moment.
Can someone let me know what happened? Is my phone okay or not?
Flash stock recovery and FORMAT cache partition. After this you can return to TWRP.
Thanks it seems okay now.

Can't mount data, twrp custom rom issue

Was running the pixel experience rom, have been for a month.. and I had a very strange issue today, the whole phone just froze, I force restarted it, and everytime It would reboot it would just hang/freeze or unlock and display nothing on my screen but the wallpaper.. ended up trying to restore from an old backup I had, but realized it was when I was running an oreo rom.. got stuck in a loop for fastboot, used twrp to re-install this rom, and it was taking forever to boot, at the G logo.. so stupidly instead of having patience and waiting, I rebooted and formatted data, or tried too, (read it somewhere) and its just been hung on that for hours now "formatting data" Dunno what to do.. I should have just waited on the initial boot after re-installing this rom, forgot it took forever.. dunno if should just keep waiting.. or try an flash back stock rom, and re-do everything.. I think my data partition is corrupted, or unmountable.. so not for sure how to proceed.
Format data or wipe data ?? Formatting data will remove encryption and everything will be erased
Wipe data just erases data partition
Try to clean flash once again by wiping system data cache
Here is the issue now.. when I would go to format data, it would just stay stuck on formatting data with ext4 or w/e ... I left it for an hour or more, and nothing.... so decided to use miflash an restore everything. it goes all the way... but never actually says success just still says flashing, even with the green bar full and says finished 200s or something.. the last part of the log always stops after:
"[3:52:43 AM 49c50e2d]:err:writing 'vendor' 2/2...
[3:52:43 AM 49c50e2d]:errKAY [ -0.000s]
[3:52:43 AM 49c50e2d]:err:finished. total time: 23.850s"
so I've let that set for 20 minutes or more, then finally I just manually kick it out of fast boot, and it'll start to boot with MI Logo, and it has the white bar at the bottom, the bar loads all the way then it just hangs there, ive left it over night an its just stuck there
Even now I can fastboot flash a recovery image, and boot into it, but its unable to mount data, missing crypto header.. maybe I should just let the "format data" take its time maybe eventually it will?

Categories

Resources