hey,
Long story short, I royally screwed things up on my I/O tab. So now I'm trying to restore a nandroid backup via fastboot. The only problem is that I don't know the name of that data parition. I've tried
Code:
fastboot flash userdata data.img
and
Code:
fastboot flash data data.img
is there any way I can see the partition table in fastboot? I should be able to get adb if I need it as well.
Thanks,
Sam
maybe I don't have the name wrong. maybe it's just the fact that /data keeps getting mounted as read only for no apparent reason..
Related
Long story short I formatted my internal SD with CWM in a moment of stupidity. I'm running the peetr ROM on Straight Talk. Would it even be possible to recreate the /pds partition with CWM? I have a backup of it, but when I restore it doesn't make it back on and CWM can't mount the pds partition.
I have found these threads:
forum.xda-developers.com/showthread.php?t=1575035
forum.xda-developers.com/showthread.php?t=1131649
I could certainly do it through fastboot but I don't have access to a Windows computer atm and for whatever reason linux fastboot isn't recognizing my device over USB.
thanks all!
EDIT: just reread this and realized how vague I am being.
1) is there a way to tell if there is a functioning pds partition on my phone? Like I said I already flashed a nandroid recovery.
2) if I don't have a working pds partition, is there a way to use the pdsfix.img or whatever in the 2nd link in CWM mod to fix it without fastboot?
Use adb:
adb shell
su
dd if=/sdcard/pds.img of=/dev/block/mmcblk0p3
reboot
Hurr durr durr.
Got so stressed out I totally missed that. Thanks! Everything is working great again.
Alright fellows a few nights ago I Soft bricked my prime while playing with Ubuntu from lilstevie, none the less in my adventures of ADB, fastboot and NVFLASH, i have learned alot, but it seemed i have one issue, My data partition is corrupt to the point that even TWRP won't format it, any clues or suggestions?
If you have no file system on the data partition , you may have to do nvflash create, however this will also require you to recover everything from nvflash as your bootloader will also get wiped and should be your last line of defense.
If you can access adb, then you can try to create the filesystem through that. In adb, check if you can mount the data partition first, and from there you can determine whether you need to recreate folders or the filesystem or the partition itself.
Sent from my SO-01C using xda app-developers app
I have access to the data Partition and media, what lead me to believe i have an issue is I was using botbrew for a while after the ubuntu incident and messed something up so went to delete the botbrew folder, as it was deleting i got error after error, most of which were nonsense things like %%432# and random letters each were pop ups asking to either send an error report of be forced closed, by the way this is on Virtous latest
EDIT: After reflashing and trying the Format all script, it seemed to complete correctly though twrp still wont format /data, I ran dd if=/dev/zero of=temp.tmp in /data/media and filled the partition completely, then killed the file without issue so I'm at a loss
Hello everyone,
I need to securely wipe any personal data on my phone and tablet.
On my Linux notebook I just zero the whole disk one or two times and reinstall the OS, with my Android devices it's a little bit more complicated.
Is there a way to securely wipe all my data, for example using fastboot?
Isn't there anything comparable to the good old
Code:
dd if=/dev/zero of=/dev/sdX
so that I can simply flash a new Android OS afterwards? Or at least for the data and cache partitions so that I just keep the OS
A method that definitely works is to just write a file to the data and cache partitions until there is no space left, but I wondered whether there is a "cleaner" solution?
Thanks for your help
timediv said:
Hello everyone,
I need to securely wipe any personal data on my phone and tablet.
On my Linux notebook I just zero the whole disk one or two times and reinstall the OS, with my Android devices it's a little bit more complicated.
Is there a way to securely wipe all my data, for example using fastboot?
Isn't there anything comparable to the good old
Code:
dd if=/dev/zero of=/dev/sdX
so that I can simply flash a new Android OS afterwards? Or at least for the data and cache partitions so that I just keep the OS
A method that definitely works is to just write a file to the data and cache partitions until there is no space left, but I wondered whether there is a "cleaner" solution?
Thanks for your help
Click to expand...
Click to collapse
A method for wiping all your data and the associated cache partitions using fastboot while still keeping your OS can be accomplished by running the following fastboot commands:
Code:
fastboot erase cache
fastboot erase userdata
After you run those commands you will have wiped your cache and data partitions. Let me know if you still have questions.
shimp208 said:
A method for wiping all your data and the associated cache partitions using fastboot while still keeping your OS can be accomplished by running the following fastboot commands:
Code:
fastboot erase cache
fastboot erase userdata
Click to expand...
Click to collapse
Are you sure that erase not just declares the partition as erased but leaves the actual data untouched?
Another thing I thought about was this method, but I have no idea whether it works and is safe to perform.
Code:
fastboot flash cache /dev/zero
fastboot flash userdata /dev/zero
timediv said:
Are you sure that erase not just declares the partition as erased but leaves the actual data untouched?
Another thing I thought about was this method, but I have no idea whether it works and is safe to perform.
Code:
fastboot flash cache /dev/zero
fastboot flash userdata /dev/zero
Click to expand...
Click to collapse
Since it's fastboot and the bootloader it truly erases the declared partition not just marking it as erase and leaving things untouched. The commands you listed wouldn't work as that's not proper fastboot syntax or how fastboot commands are structured.
Try this guide to sideload the official ota. http://www.gizbot.com/mobile/featur...oneplus-3-official-android-nougat-037189.html
I was trying to expand my system partition size.
I flashed a zip via CWM on my phone, and must have made a mistake.
After i flash, my partition table seems to be messed up.
My "boot" partition is fine.
All other partition seems to be "invalid" now.
I am able to enter fastboot, and "fastboot boot recovery.img" to enter recovery
i am not able to boot, or enter recovery mode directly.
I tried to "erase" via fastboot, but the partition is invalid.
i tried to "flash" via fastboot, but the partition is invalid.
Is there any way to "fix" my partitions?
i have downloaded a CM11.zip for my phone.
I have downloaded a stock rom for my phone.
i have access to these files, which are supposed to be system partition tables. found here:
github mirom/android_bootable_recovery/tree/cm-10.1/res/partition
i guess a more specific question would be, "How can I create the partitions for a phone?"
My phone has a 4GB internal space and 1GB ram.
Hi I by mistake erased the Userdata partition using fastboot and now it is unable to mount /data when ever I try to flash a new ROM or just open TWRP and try to wipe it. Also tried using the repair feature in TWRP but no luck. Help is much needed.
[EDIT]
It was fixed by Changing the File Partition to xFAT or FAT and then back to Ext4.