[A510] Can't mount /data on any recovery - Acer Iconia A700 and A510

Hi,
I wanted to reset my 510 to a fresh 4.4.4 install. So I decided to "restore to factory settings" within the android system settings menu.
kitkat CM12 4.4.4 by shreps was working fine before, I just wanted to get rid of the data in order to give the tablet away.
now I'm stuck with a soft bricked device, it seems:
- when starting the tablet, the CM screen shows, but freezes after a while
- flashing any CM version in CWM 6..0.5 by shreps shows a "error: can't mount /data"
- wipe cache / data shows the same error
- wipe dalvik cache doesn't seem to respond in any way
- I reflashed CWM 6.0.5 using fastboot flash recovery, but to no success..
what options do I have now? can I format and remount the /data partition via ADB? do I need to go to stock?if, so, how?
Thanks for your ideas!

ok, via
fastboot -w -v
i could reformat the data partition somehow.
I still got an
E:unknown volume for path [/sd-ext]
error, but it continued and works for now.

huedrant said:
ok, via
fastboot -w -v
i could reformat the data partition somehow.
I still got an
E:unknown volume for path [/sd-ext]
error, but it continued and works for now.
Click to expand...
Click to collapse
Glad you dot it going.
I just pulled my 701 out of retirement (broke my Sony z2 screen trying to change my battery) so taking a look in here.
The data format has always been a bit twitchy, but I run the latest version of TWRP for KK. I remember bricking my original Data partition wiping it because some bozo used the wrong partition info making the original recovery for JB. Exchanged the tab.
I recall the bootloader version had to match what version of the ROM you installed (JB, KK, etc), and maybe the recovery also (can't remember). Latest TWRP for KK seems to work for me as I installed Pac Rom before I retired it. TWRP Ver 2.7.1.0
As with the "Path to ext SD", that's always been there if I recall. Just means you have to install a ROM from internal memory. Although my TWRP seems to mount it fine.
But I will say, feels like I've entered the dark ages again.

Related

Unable to mount /data

I've managed to get that awful Rom (Destroyer) Manager off of my TF101G and have got Rogue on via PERI and now I'm trying to flash the stock ASUS ICS Rom but can't delete the Dalvik Cache because I'm unable to mount /data
Code:
- - Wiping all user data - -
Formatting /data...
Formatting /cache...
Formatting /sd-ext...
Formatting /sdcard/.android_secure
Cache wipe complete.
Formatting /cache...
Cache wipe complete.
Wiping dalvik-cache...
Error mounting /data!
I'm assuming that /data is stuck on read only?
Manually fixing permissions and then mounting /data also shows the same error.
HELP :crying:
I have the same problem. I know what lead me to it.
Its an Asus SL101
I have cyanogenmod correctly installed. In order to install a megatron rom I downloaded their app called megatron apps. Trying to download a rom from them I got validation error at end of download and I make the stupidity of change the download dir from /mnt/sdcard to /sdcard and then when I restart again it doesn´t load and CWM recovery give me the same errors (unable to mount /data or unable to mount /sdcard when cleaning cache or trying to restore a backup ).
The only thing I have been able to do its to install Rogue XM Recovery 1.5.0 instead of CWM 6.x ) but the problem to apply an update or restore a backup persists.
Any idea ?
Aaargh.
After a year and a half of heavy CWM and TWRP usage, this has suddenly happened to me too, possibly after flashing the updated TWRP blob from Goo Manager (although that's conjecture at best). My ROM (RaymanFX' CM10 v6) is fine in everyday use - no problems whatsoever, but now I want to update, and my recovery won't let me.
In the hope that something simply went wrong during recovery blob flash, I successfully deleted TWRP and flashed a different recovery (latest CWM) from ROM Manager, but the new recovery can't mount anything either - neither sd card, data, or cache. The error messages are more or less identical to TWRP's errors. My system MAY be readable, but I can't backup or restore or flash anything anyway, so I don't dare format it.
I don't have a Windows PC, so I haven't tried Easy Flasher. I could try it on my work computer if there's no way around it and if neither OSX or Ubuntu can help.
Any suggestions?

(SOLVED) [Q] [HELP] Motorola NOOB! Mount point information for XT925?

Hi there, I seem to have messed up my mounting partitions while trying to deodex Stock JB Central Europe. I basically used xultimate to pull the files and deodex then tried using adb shell to mount the system partition and copy them over. After I rebooted the phone, it would get stuck on unlocked bootloader warning or on the motorola logo. I hard reset into recovery and restored a nandroid backup and once booted into android found so many folders under the Storage folder such as "asec", "obb", rfs0" and so on. Now, when I try to wipe dalvik-cache in recovery, i get the following error: "E: unknown volume for path [/sd-ext]". Also, when i try flashing custom rom's and reboot, it gets stuck on the unlocked bootloader warning and wont load - while in recovery after flashing, i also get another error something like this: "E: cant load /cache/recovery.log" or similar. I also sometimes have issues mounting system, cache partitions, data and internal storage, all depending on which custom recovery i am using. I read on another site that downgrading to ics might solve mounting problems so I forced a downgrade to ics but that didnt work either and am still on ics.
Is there a way to restore the partitions correctly or are they stuck this way? Would mounting and remounting solve this problem? Any help would be much appreciated and would very much appreciate it if someone could upload their mount point info so i could use to try and fix it.
Many thanks in advance.
EDIT: Managed to flash Slim Bean 4.3 Official using OUDHS recovery without wiping cache and dalvik-cache at first. After reboot, it would bootloop so went to recovery and wiped cache and dalvik-cache then it worked. Still no sd-ext and some apps can't write or backup to external memory such as Go Backup & Restore Pro so what remains is to mount/unmount the partitions correctly.

[Q] encrypted tablet, "factory data reset" not working

Hey all. I have a rooted TF700 with CM 10.2 on it. I have encrypted the tablet (via SETTINGS - SECURITY - ENCRYPTION). I'd like to do a "Factory Data Reset" - it's my understanding that this will remove the encryption, along with all my user data. This is what I'd like to do.
However, when I go to SETTINGS - BACKUP & RESET - FACTORY DATA RESET, it doesn't work. It asks me to enter my password, then asks me to 'erase everything', and when I click it, it reboots as if to perform the reset. I get the little android guy after it reboots, then the ASUS screen, then CM boot screen. However, the tablet boots like normal, is still encrypted, and all my user data is still there.
I recently upgraded from CM 10.1 to 10.2 - getting the gapps package to install took several tries for some reason, but eventually it worked. I have clockwork recovery installed, but because the tablet is encrypted I am unable to mount or format the /data partition from clockwork.
Anyone have a clue how I can get the 'Factory data reset' to work, or otherwise decrypt my tablet? Thanks!
Factory reset is done by your recovery. Which recovery (and version) is currently installed? Maybe you need to choose "format data" explicitly in the recovery.
_that said:
Factory reset is done by your recovery. Which recovery (and version) is currently installed? Maybe you need to choose "format data" explicitly in the recovery.
Click to expand...
Click to collapse
I cannot touch (either mount or format) /data from Clockwork recovery because it is encrypted by android. any attempt to do so, and I get an error
"ERROR cannot (mount/format) /data!"
doing the 'Factory Data Reset' from within Android is supposed to decrypt and wipe /data, but that is not working.
I flashed TWRP and got rid of Clockwork recovery - that enabled me to mount /data in recovery (TWRP asks for my password to decrypt /data when TWRP starts), which is something. However, when I go into /data using the terminal I only see the lost+found directory and nothing else?
However, formatting /data from TWRP doesn't work, neither does a reset. They just give me errors.
I then tried abd shell - mke2fs -T ext4 /dev/block/mmcblk0p8
but that gives me a '/dev/block/mmcblk0p8 is apparently in use by the system; will not make a filesystem here!' error, even after unmounting it manually (umount -a)
Next, I tried using TWRP to reinstall CM 10.2. After that, the boot process took 40 minutes or so. Once it came up, there was no user data and cyanogenmod was fresh (yay!) - but the partition is still encrypted - it asks for password during boot, even though the OS has no password lock on it.
In addition, my WIFI is now not working!
anyone have a clue here? I REALLY want to remove the encryption on the /data partition!
I wanted to follow up here with closure. Im not exactly sure WHY what I did worked, but it did, and maybe it can help someone else.
last I left off, I had CM11 installed, but no wifi, and the partition was still encrypted. At this point, I decided to try to downgrade again to CM10.2
Now, when the tablet was booting, it was asking me for my password to decrypt so it can boot. Except now, after loading CM11 and going back to 10.2, the password wasn't working and couldn't boot. I was convinced I was bricked.
I went back into recovery, and reloaded CM11. This time, when it came up asking for my password to decrypt before booting, it worked. So something in CM11 changed the encryption on /data so that CM10.2 couldn't read it anymore.
once I was booted into CM11 (still with no wifi), I went to SETTINGS - BACKUP & RESET - FACTORY DATA RESET again. This time, it worked! Asked for my password, said are you sure, then rebooted. BOOM, /data was no longer encrypted! CM11 came up, and with the fresh /data partition, wifi even worked!
For other reasons (Netflix) Ive since gone back to 10.1, but now /data isn't encrypted, so wiping and flashing is easy and works great now.
It seems there is a bug in CM10.2 (or android) where the FACTORY DATA WIPE doesn't work with encrypted /data partitions, but CM11 was able to do that just fine.

Softbricked flashing recovery with TWRP Manager App

Hello. I seem to have softbricked my nexus 5 with the twrp manager app when flashing new recovery thinking I was taking a shortcut so I didn't have to boot my laptop up for 4.4.3. update. Guess I had to anyway because recovery did not get updated to 2.7.1.1! I was going to update to paranoidandroid 4.4.3rc1, elementalx.44 and also new radio but never got that far because recovery failed to mount /sdcard, and also /data, /cache I have no idea if the path to the recovery partition block (?) from the twrp app was correct but i assumed so because it was mentioned as a preferred way of installing the recovery.
The problem is that there is no sd card detected , no camera, crashes in google play services and general system wobbliness and no identifications and a different wifi mac address, no network signal but wifi is working. /data, /cache and /sdcard is not mountable in recovery.. can't get adb to work in other mode than ptp either but that's probably just my pc.
I was thinking about flashing the images from https://developers.google.com/android/nexus/images but I hope there is a chance to backup my sdcard please! Could I perhaps flash the images one by one and see if it gets better? perhaps flashing the kernel again? :silly:
------
oh well apparently forgot I had to still format /cache. ooops. thread closed?
StrongOneX said:
Hello. I seem to have softbricked my nexus 5 with the twrp manager app when flashing new recovery thinking I was taking a shortcut so I didn't have to boot my laptop up for 4.4.3. update. Guess I had to anyway because recovery did not get updated to 2.7.1.1! I was going to update to paranoidandroid 4.4.3rc1, elementalx.44 and also new radio but never got that far because recovery failed to mount /sdcard, and also /data, /cache I have no idea if the path to the recovery partition block (?) from the twrp app was correct but i assumed so because it was mentioned as a preferred way of installing the recovery.
The problem is that there is no sd card detected , no camera, crashes in google play services and general system wobbliness and no identifications and a different wifi mac address, no network signal but wifi is working. /data, /cache and /sdcard is not mountable in recovery.. can't get adb to work in other mode than ptp either but that's probably just my pc.
I was thinking about flashing the images from https://developers.google.com/android/nexus/images but I hope there is a chance to backup my sdcard please! Could I perhaps flash the images one by one and see if it gets better? perhaps flashing the kernel again? :silly:
------
oh well apparently forgot I had to still format /cache. ooops. thread closed?
Click to expand...
Click to collapse
Try adb to backup your sdcard or flashing the factory images EXCEPT userdata.img should do the trick.

0 mb in TWRP internal storage

I searched for an answer and noticed it's a common issue. I am trying to flash a kernel on to my already flashed rom. I was wondering if there is a more current fix. More importantly, how can this be avoided in the future. Thank you guys!
Its caused by a bug/error with either the filesystem or encryption.
Did you wipe data after flashing the new ROM? Data from stock usually doesn't work with custom ROMs.
Do you have a PIN/password on Android?
Are you using the latest build of TWRP?
Press the menu button at the bottom of the screen in TWRP and post what the error message is in the red text.
It's caused by no root access
djhulk2 said:
It's caused by no root access
Click to expand...
Click to collapse
Something is probably wrong with the data partition. TWRP should always have root access.
Try in TWRP:
Wipe > Format Data > Slide to format
This will erase the data partition, so backup everything to a PC in Android first if needed. It should allow TWRP to mount /data again.
KemikalElite said:
Something is probably wrong with the data partition. TWRP should always have root access.
Try in TWRP:
Wipe > Format Data > Slide to format
This will erase the data partition, so backup everything to a PC in Android first if needed. It should allow TWRP to mount /data again.
Click to expand...
Click to collapse
I've debated on doing this. I'm not worried about losing pictures texts etc as they're backed up.
I read that it essentially leaves the device with no OS. If that's wrong please let me know!
I have found that if I choose Slot A and reboot system it reboots me in to TWRP. If I choose Slot B it runs the OS like normal (except I still have issues using Facebook and it's services).
The ROM works and I can perform all the custom mods on it. I just want to flash a kernel and the problem persists. 0 mb in storage.
It's trial and error at this point. Fail fast fail forward. I have another phone I can use but I love the OnePlus. Any help will be appreciated!
https://andi34.github.io/faq/faq_twrp.html
I'm not willing to risk it until I know how to get the custom ROM on to the storage to flash it.
Yes formating by typing in yes will wipe it all,everything including pictures, with no rom on it at all. If u choose to do that, don't close twrp. Instead you should be able mount after wards, once mounted transfer the magisk zip, twrp, and your custom rom(has to be 1.5gb not 200mb through magisk). Flash magesik, install ram disk twrp, install rom. That was a method I've done before but if u want to keep everything there is other way
fastboot boot twrp.img, that command boots twrp if u have it or don't, installing to ram disk makes it permant...this boot command is just a one time thing each time. It's what I do when new firmware update, I loose root but I regain it each time
Never heard of formating data removing the OS, that would be if you wipe the system and normal wipe is like a factory data reset and therefore will not wipe your phone of the OS
djhulk2 said:
Yes formating by typing in yes will wipe it all,everything including pictures, with no rom on it at all. If u choose to do that, don't close twrp. Instead you should be able mount after wards, once mounted transfer the magisk zip, twrp, and your custom rom(has to be 1.5gb not 200mb through magisk). Flash magesik, install ram disk twrp, install rom. That was a method I've done before but if u want to keep everything there is other way
fastboot boot twrp.img, that command boots twrp if u have it or don't, installing to ram disk makes it permant...this boot command is just a one time thing each time. It's what I do when new firmware update, I loose root but I regain it each time
Click to expand...
Click to collapse
I attempted to format. It said
"failed to mount /data (device or resource busy)
"unable to mount storage"
Try this in recovery, sometimes its known to work.
Wipe > Advanced Wipe > Check Data and press Repair or Change File System > Change File System > Change it to EXT2.
Repeat the same process selecting Ext4
Wipe > Advanced Wipe > Check Data and press Repair or Change File System > Change File System > Change it to back to EXT4.
Try formatting data after this.
drey4211 said:
I attempted to format. It said
"failed to mount /data (device or resource busy)
"unable to mount storage"
Click to expand...
Click to collapse
Since you dont care about the data on the phone I would just do 1 of 2 things. 1st I would reflash twrp on to you phone if that doesn't work then I would just grab the fastboot ROM and just flash your phone back to full stock reroot and install twrp from scratch. I would not try to start repairing partitions. I wouldn't want to worry about screwing up the EFS partition
Well in an update, I formatted the
Storage and now I'm stuck in bootloader screen. It's unlocked but I'm having a hard time flashing a ROM through adb.
I use the twrp version 3.3.1-2
Best would be to just use fast command to boot it
But it should be under wipe/format data/then type in yes
That was what I was trying to have you avoid. If your can boot to fastboot download the fastboot ROM I told you to and run the flash-all.bat file. If your on 9.5.8 make sure you use the fastboot ROM of the same version. Do not flash azip of a different version firmware like 9.5.7.
It happens to me any time I'm in twrp and flash a rom then reflash twrp. It doesn't matter if I flash Magisk or not the issue always happens. What I do is use a USB C flash drive and plug it in when I want to flash/backup a rom. This way I can always access it. After flashing any rom then booting I'm always able to access my internal storage again. It seems like a bug in twrp.
The strange part is when this bug happens your files are encrypted in a 0 folder but you can still copy from your PC to your internal storage while in twrp.
I essentially soft bricked my device. Called OnePlus and they got me up and running. That's awesome that they have that service!
Are you removing all security? Pattern, pin and fingerprints? Are you decrypted? Never had an issue with flashing a ROM causing these issues which is why I'm asking. Something you've done at some point is causing this
I'm not sure what that was. Ironically enough I am now stuck in TWRP boot loop. Hopefully I can figure this out otherwise I have to call oneplus again.
I will admit I may not know everything but it's trial and error. I don't have anyone to really teach me this so I try to read the forums and learn. You guys have been great!
ajsmsg78 said:
It happens to me any time I'm in twrp and flash a rom then reflash twrp. It doesn't matter if I flash Magisk or not the issue always happens. What I do is use a USB C flash drive and plug it in when I want to flash/backup a rom. This way I can always access it. After flashing any rom then booting I'm always able to access my internal storage again. It seems like a bug in twrp.
The strange part is when this bug happens your files are encrypted in a 0 folder but you can still copy from your PC to your internal storage while in twrp.
Click to expand...
Click to collapse
I've the same issue.. did you find a fix? So annoying

Categories

Resources