Unable to mount /cache and /data - HTC Desire 820 - General Questions and Answers

I have read for hours on this and im just looking for abit of help before I start doing unrecoverable damage
The phone boots, but asks for an encryption key (unable to mount /data).
The bootloader is unlocked, I am able to use fastboot, and boot to recovery (TWRP 2.8.7.0) - and Parted, within ADB shell.
I have tried to repair /cache and /data from within TWRP (Wipe -> Advanced Wipe -> Cache/Data - Repair or Change File System -> Repair File System, but it fails;
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here is the partition layout displayed with "parted /dev/block/mmcblk0 print" ;
What commands do I need to do with parted to get /cache and /data to be mountable?
Any help appreciated, thanks

Related

Mount external1 as sdcard

Just thought I would share, I use these commands in a script to mount my external 32gb sdcard as /sdcard/.
Would be better if i could figure out how to get it to work as init.d however the external drive is mounted dead last in the boot order... Currently (without some init.d vodo) this needs to be manually "hot swaped" after boot.
umount /mnt/sdcard
mount -t vfat -o rw,umask=0000 /dev/block/vold/179:97 /mnt/sdcard
Note the numbers.. I learned these on another thread here but those numbers had to be changed for this phone.
More info on how to use these and the source for the original code here: http://forum.xda-developers.com/showthread.php?t=1786014&page=2
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my XT897 using xda premium
This can damage all the internal storage?
I think about trying to mount ext to sdcard to flash something in recovery, because I need the sdcard but it can't be mounted by itself.
Is there a permanent solution to this? All other methods don't work on Android 4.4

[HOW-TO] Fix sdcard mounting error WITHOUT FORMATTING SDCARD

Hello guys,
If you are getting
e:can't mount /sdcard (or) Error mounting /sdcard error.
<<THIS ERROR ONLY APPEARS IN CLOCKWORKMOD RECOVERY>>
Then here's the solution without formatting your sdcard.
1. Pull battery and take out your sdcard.
(Optional: put it in your Laptop/PC to make sure it is working or not)
2. Insert sdcard back and then insert battery, and start phone in Recovery mode.
3. Go to mounts and storage
4. Then select mount /sdcard option.
Now recovery should recognize your sdcard.
IF RECOVERY DOESN'T RECOGNIZE YOUR SDCARD, THEN:
Must be faulty/corrupted sdcard.
or Must be loosen or not properly inserted sdcard.
or Must be recovery bug.
Please click on
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
button if it worked.​

[Q] Can't reach SDcard

Hi!
I've messed up my mini totally. I can't get into my phone, when I start it, it will only show the HTC screen and not start up.
I can reach bootloader.
This accrued when I made a "Factory reset" and I suspect that everything on the phone is wiped out (including the ROM).
Now I'm trying to install a new ROM (bootloader is onlocket, s-off, Iv'e gor SuperCID etc). But I can't reach my SD card (the phone wont start up), can I "install" the new ROM trough CWM
or somehow push the ROM.zip to my SD card trough CWM?
What I've tried so far:
*Push ROM though adb shell = Result:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What Do I do wrong?
Try the formatting inside the recovery. Try to flash a recovery then format the sdcard. After that, it should work.

Restoring TA Partition Error: adb error: connect failed: closed

Hi, I am trying to restore my TA Partition on my XPERIA XZ but everytime I attempt to with ADB I get the following error? Am I doing something wrong?
Thank you for your support.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
try connecting your device when booting twrp and windows explorer instead of adb push, it's far easier than having to work with command-line tools. if you really want to use adb, your phone is in the wrong mode. you can't push a file on it in sideload mode (as far as i know, correct me if i'm wrong) but only apply a zip file. to have it "long-term" on the device, you have to enable mtp mode, either by choosing "transfer files" from the notification slider when you can normally boot to your rom or as i said before by just booting twrp (fastboot.exe boot twrp.img)

I can not install ROM zenfone 5 A501

I am with a Zenfone 5 that was with intel screen problem.
I was able to reinstall DROIDBOOT, but I can not install the rom of the device.
When I go through the ASUS Flash Tool on the device the following error appears: E:failed to mount /factory (No such file or directory)
I tried the process via adb but when I give adb devices (command) the device does not appear.
I believe that there is little left for me to relive the cell phone, I have read a lot but nothing concrete, I hope you can help me.
Thank you all
hi everyone,
I had successful with adb sideload, but something wrong can't write in de flash.
In the image below, show the error in detail.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
can not be folder permission? How do I give permission for the folders?
Will it be that if I somehow do the "root mode" it will help me?
Thank you all.

Categories

Resources