Need some help in formating cache partition.. - Android Q&A, Help & Troubleshooting

My android device touch screenis broken and some area is not working(But luckly Terminal inTWRP and every keys are working with some glitches). I have TWRP installed.During a factory reseting I removed battery while formating cache filesystem.Now the cache filesystem cant be mounted using mound comand.Fast boot is not working I dont know why, I spend a day to make it working but no hope.
Finaly I suceeded to copy adbkey.pub to mobile and now i can acces adb shell in my pcwhile i am in TWRP mode.Now I want to reformat courepted catche filesystem so i can mount it. I found out block id of cache partion(mmcblk0p23) an sectors..
Parted binares are not installed in my phone and I cant find a arm64 parted binares in internet .(But have arm32)
I think i can format it with fdisk or any other tools in android Please help me how to use those tools...
I took a week to figure all this out(I am absolute bigner to all this thing)
Please help
Thank for help in advance

Related

[Q] [CM9-NFE6.0] [P-500] [Link2sd] 2nd partition lose format at reboot

Hello everyone, this is my very (noob) first thread, and is a question.
I've started reading xda forums like 3 days ago, for like 12 hours each day... and its an amazing comunity of knowledge. Osom.
Well... ive been trying to set a 2nd partition on my 32gb C10 SD for extend internal memory with link2sd on my OptimusOne... on the way i learned how to mod, terminal mount and modify, recover, and all the stuffs that could make this work... but i surrender.
I can make it work formating SD with mini-tool partition wizz, conecting device to PC, and seting into USB massive storage mode (yeap! Worked indeed!!) but if i reboot 2nd Part. lose format and link2sd report error on mounting 2nd partition (says its invalid, mini-tool says it's unformated)... for re-mount i have to re-format with mini-tool and wipe the data... so i've avoided linking any app.
Readed about NAND lock (my device is by default unlocked), /system permisions, and others... and i simply cant make 2nd partition stays at FAT32. (yes, i tried with the other formats too, formated with CWM on recovery mode too and nothing).
Tried this too http://forum.xda-developers.com/showthread.php?t=1971689, and didn't work for me.
Last discover was that via Root Browser app, /system file has no "Sticky" permision, if i modify it then busybox and other apps fail and run into recovery mode... (had to reinstal everything several times)
I know there is some kind of permision that i missed... but could be kernel config?
The most simply thing and i cant make it work... ideas?

[Q] stuck in cwm

i yesterday install a new rom to my rooted s3(intl) today i try to reboot another rom i was stuck in cwm recovery...i wanted to install another rom from my sd card. but it says cant find any file in sdcard.... i cant back restore cz i dnt have back up file in phone as i moved my back up to laptop...when i search abt thz i found out this hapn because my sd card having some issue.
You most probably have an unpartitioned sdcard, clockworkmod however assumes that is partitioned and wants to mount the first partition (/dev/block/mmcblk0p1).
You can fix this by repartitioning your sdcard so that it has a mountable fat-formatted first volume and then retry.
If you don't mind using the commandline, boot to recovery and connect via adb shell to it, then mount your sdcard manually: mount /dev/block/mmcblk0 /sdcard and retry.
Technical explanation:
cat /proc/partitions lists:
/dev/block/mmcblk0 is your FAT formatted volume (no more partitions at all)
should be:
/dev/block/mmcblk0 (whole device)
/dev/block/mmcblk0p1 (1st partition, FAT formatted)
/dev/block/mmcblk0p2 (sd-ext partition, only for those that use SD2ext and such)
im new to rooting and these stuffs plz explain what is adb shell and how i can mount my sd card....
btw i also tried factory reset it didnt wrk too....i dnt want any files i just want my phone back cz i badly need it....plz help me on this guys :crying: plzzz :crying:
In cwm under mounts and storage there should be the option to format sd card...
Adb is android debugging, it's used to connect to, pull/push files, get logs and more from your phone using a terminal or command prompt window.
http://developer.android.com/tools/help/adb.html this site shows the adb commands available including shell which is connecting to your phone via the terminal to allow you to enter commands.
Also maybe try mount USB storage through cwm and see if you can connect you phone to your pc and transfer the files needed.
If I helped you in some way, take a second to hit the Thanks button.

Broken /data /cash /system mounting recovery

Hi... Recovery's cant mount /data /system /cash and internal storage, I dont know what to do with that. I had sex with this problem for three days, and I found out that:
may be its broken one of the Partition. I have tried to fix it like in this solution http://forum.xda-developers.com/showthread.php?t=1949372
After six hours of sex, trying to find right adb driver and orher things, I'm stuck in a problem, that Parted cant list my partition table on /dev/block/mmcblk0, it says "Unable to satisfy all constraints on the partition". Fdisk show me this
http://hostingkartinok.com/show-image.php?id=2f324a6a8ce1541abfaaead675a4161b
and Cat this
http://hostingkartinok.com/show-image.php?id=80da3c65fad0cc52f1b7ed6e4936f066
So, i try to delete /data /cash and /system partition (/mmcblk0p20, /mmcblk0p16 and /mmcblk0p14), via
"parted /dev/block/mmcblk0
rm 14"
, for exemple, but it says "Unable to satisfy all constraints on the partition" again. So i cant use this guide
But! I cant mount /data /cash and /system, but if I use, for exemple in CWM "- format /data and /data/media (/sdcard)" item in "- mounts and storage", it will mount and format all I need. Than I can install ROM's and other zip's and all these things will even work... for a while. Some restarts of my phone (not sure), or entering in Recovery will give me bootloop.
:crying: I cant understand, why it can format and mount in the case of the one and only item and cant if I try to use any else.
Please... help
Oh, yes, The phone is LG p705 (or p700). Recovery is any. CWM or TWRP, any version...

[HELP] Can't mound /emmc in Philz recovery

SOLVED! See 2nd Post
Hi,
Galaxy S II 16GB 2.5 Years old.
I friend came to me with a problem : Waze can't start because it complains no access to sdcard (internal, no external present)
A bit fiddling and I see /storage/sdcard0 is mounted as RO!
I remount as RW, and I can now start waze, but as soon as I use the phone further, the mount reverts to RO.
I try to format it via recovery (philz) but it fails deleted odd named files in DCIM/Camera/cache.
So I try to delete the files myself but it fails.
Next up, I mount usb storage in recovery, and run windows Checkdisk, it finishes while fixing some stuff, the format still doesn't work.
Eventually using Minitool I am able to format it. BUT, now, when I boot android, it says the internal storage is damange, and attempt to format it via Android fails always.
Still, when I boot into philz, and mount usb storage, i can browse it via my W7 PC, copy and delete files freely. So I guess something is not mounted or formatted correctly. I decide to reinstall stock rom with Odin + repartition.
So I take pit file from a thread that aims to increase /data at the expense of internal storage, and I find the stock pit there and use it.
Rom flashes fully, but sdcard still not working.
What I want to do is :
Boot into Recovery and use Android commands to properly mount/map this so the phone recognizes it.
I have linux knowledge, I know how to get around a linux shell and use VI and permissions etc. I also messed sometimes with fstab on a pc to set up mount points, so I am not a complete stranger. I am rooted and need help
Any help would be appreciated.
So, I searched the net for quite a few hours, and found this post :
http://forums.whirlpool.net.au/forum-replies.cfm?t=2147315&p=-1&#bottom
Which solved my problem
I registered on that forum to thank the dude!
This command solve my problem :
newfs_msdos /dev/block/vold/259:3
I knew it will work the moment I saw the 259:3 which I saw in logcat that android cannot format.
Good work finding a fix yourself Hopefully other people in the same situation will find it useful

[FIX] How to solve "unable to mount data" error

Hey,
recently many are facing the problem to suddenly receive the above error and aren't able to solve it by formatting data (well, it cannot be mounted).
Here are the steps that I suggest in case you find yourself in that situation (obviously all data including internal storage content will be gone afterwards, so make external backups of important stuff if you can before continuing)
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
This helped a few people already, but please comment if it also does (or doesn't) for you!
Cheers and greetings,
Phil the Thrill
I had this problem, but not always just formatting helps. First time when I install LOS 15.1 I didn't format internal storage then LOS crypt my storage and TWRP couldn't mount it and I can't just format it, I have error when I try to format it in ext4 by default. Then I try to format it to another file system and select ext2. TWRP succesful format data and then I select again to format it to ext4 and install other rom. I don't know why first time TWRP couldn't format data.
I use google translate. Sorry if I have misspellings
aleksandar9999a said:
I had this problem, but not always just formatting helps. First time when I install LOS 15.1 I didn't format internal storage then LOS crypt my storage and TWRP couldn't mount it and I can't just format it, I have error when I try to format it in ext4 by default. Then I try to format it to another file system and select ext2. TWRP succesful format data and then I select again to format it to ext4 and install other rom. I don't know why first time TWRP couldn't format data.
I use google translate. Sorry if I have misspellings
Click to expand...
Click to collapse
I didn't just suggest to format anything...
The important thing is to reflash twrp via fastboot.
The point is that after doing this you might even be able at all again to format data...
If you follow the further steps I think you're good to go and don't need to change any file system.
Phil_Smith said:
Hey,
recently many are facing the problem to suddenly receive the above error and aren't able to solve it by formatting data (well, it cannot be mounted).
Here are the steps that I suggest in case you find yourself in that situation (obviously all data including internal storage content will be gone afterwards, so make external backups of important stuff if you can before continuing)
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
This helped a few people already, but please comment if it also does (or doesn't) for you!
Cheers and greetings,
Phil the Thrill
Click to expand...
Click to collapse
Thats because maybe on a backup you select another storage that nota the internal storage....maybe you select otg storage ir something....put the selection on Internal storage....and it resolves
I've same problem in my redmi note 4 (mido). I tried the same but it not works.
After update of resurrection remix oreo (30-05-2018), I unable to install any zip through twrp.It shows "unable to mount /vendor". I also search for vendor partition in mount menu but I cant found any options for it.
If you found any solution plz tell me......... thanks
Stonner_99 said:
I've same problem in my redmi note 4 (mido). I tried the same but it not works.
After update of resurrection remix oreo (30-05-2018), I unable to install any zip through twrp.It shows "unable to mount /vendor". I also search for vendor partition in mount menu but I cant found any options for it.
If you found any solution plz tell me......... thanks
Click to expand...
Click to collapse
me either, my problem. RRD. pls anyhelp?
Hutabarat said:
me either, my problem. RRD. pls anyhelp?
Click to expand...
Click to collapse
Hi, I had the same problem. (Redmi Note 4, Mido)
But after installing RedWolf (Build 27)
with adb/fastboot and everything works fine - without formating everything.
This maybe can help,
first i enter wipe menu on twrp and advanced wipe, mark data partition then repair or change file system, after that change file system, change to what ever except ext4 (i use ext2 one) then change again to ext 4. Done you get data partition back
*this method will wipe your data on that partition
solution about unable to mount data on s7 edge
Hi,
Make sure to do a backup of your data, all data will be erased
after many attempts to find the solution
i tried to go to recovery latest twrp:
go to wipe
select data
for me i choosed ext3 and make repair
than i select Fat and again ext3
you can choose another file system
Thank you
Thanks this worked for me
This is the best answer to solve the problem:
CHoozen said:
This maybe can help,
first i enter wipe menu on twrp and advanced wipe, mark data partition then repair or change file system, after that change file system, change to what ever except ext4 (i use ext2 one) then change again to ext 4. Done you get data partition back
*this method will wipe your data on that partition
Click to expand...
Click to collapse
This worked for me.
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
I was in Xiaomi.EU 9.3.28 in a "encrypted storage" situation
After messing it up I endend in a situation where I can not mount the data partition.
Follow your steps and now I'm setting up xiaomi.eu 9.5.9 without a problem.
Thank you very much.
Wachuwey said:
This worked for me.
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
I was in Xiaomi.EU 9.3.28 in a "encrypted storage" situation
After messing it up I endend in a situation where I can not mount the data partition.
Follow your steps and now I'm setting up xiaomi.eu 9.5.9 without a problem.
Thank you very much.
Click to expand...
Click to collapse
Thanks to you I was able to recover my wife's Redmi 5. Cheers :good:
could not mount data and unable to find crypto error
Good morning guys im using Xiaomi Redmi note 4x(mido) i installed LineageOS 15.1 then the gapps, but the google photos and other google apps keep crashing and recommended me to uninstall and install again. so i wen to twrp and installed the gapps again, then it keeps crashing again. so what i did is to wipe in twrp then installed linneage and the gapps but when rebooting it asked my password then after than i can't no longer boot it keep sayingf could not mount/data and unable to find crypto. i tried all the steps and fix i found here and in other sites but it does not work when i try changing it to other file system it says mke2fs -t ext3 -b 4096 /dev/block/mmcblk0p49, and error 64. Please help thank you
Still not able to mount storage.
Phil_Smith said:
Hey,
recently many are facing the problem to suddenly receive the above error and aren't able to solve it by formatting data (well, it cannot be mounted).
Here are the steps that I suggest in case you find yourself in that situation (obviously all data including internal storage content will be gone afterwards, so make external backups of important stuff if you can before continuing)
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
This helped a few people already, but please comment if it also does (or doesn't) for you!
Cheers and greetings,
Phil the Thrill
Click to expand...
Click to collapse
I tried everything that is:
-changing file system also gives "unable to mount storage " in every format like fat, ext2, ext3, ext4.
-factory reset also gives same error "unable to mount storage"
-I also tried different recovery.
Please someone help me!!!
Wachuwey said:
This worked for me.
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
I was in Xiaomi.EU 9.3.28 in a "encrypted storage" situation
After messing it up I endend in a situation where I can not mount the data partition.
Follow your steps and now I'm setting up xiaomi.eu 9.5.9 without a problem.
Thank you very much.
Click to expand...
Click to collapse
Format data solved everything. But before format data, you better backup all your files. Because all of it will be erased like new.
Thank you.
CHoozen said:
This maybe can help,
first i enter wipe menu on twrp and advanced wipe, mark data partition then repair or change file system, after that change file system, change to what ever except ext4 (i use ext2 one) then change again to ext 4. Done you get data partition back
*this method will wipe your data on that partition
Click to expand...
Click to collapse
I LOVE YOU!!! U saved me when nothing worked. Ty so much !!
Hey King,
I do not use a Redmi Note 8, yet I had the same problem with my Moto G5 Plus.
Until I read your post and now my phone works.
Thank you!
Hi, i have TWRP 3.6.0 installed on my mi 11 lite (courbet), and then it shows "unable to mount /data". I know, formatting helps, but what to do if i don't want to format it, only i want to update the rom?

Categories

Resources