I am currently on the debloated stock rom by @tupac4u and using the franco kernel but i am encrypted, i want to decrypt my data partition, do i just format user data in fastboot or go back to stock then run the command through fastboot?
thanks.
Just format userdata in fastboot.
If you plan to flash stock, you need a modified boot.img to stay decrypted if you aren't using a custom kernel.
Related
What are the commands for flashing a rom in fastboot?
Ive tried
Code:
fastboot flash ----.zip
?
Am doing this cause JOKERDROID4.2BUZZ.zip wont flash in clockwork mod 3.2.0.0 or 4.0.0.2. It flashes in 2.5.1.7 but boot loops. I am coming from cm7 what do you think?
You can only flash a particular partition with Fastboot, like /system /data, Recovery, boot etc. AFAIK, You cant flash a Zip ROM as is the case with CWM.
You can check the list of Fastboot Commands here:
http://android-dls.com/wiki/index.php?title=Fastboot
Also, you got 2.5.1.7? Where? AFAIK Wildfire only has 2.5.0.7. Anyway, you can use Fastboot to replace your CWM 3.x or 4.x with 2.5.0.7, then try flashing Jokerdroid. Also, make sure you are performing a wipe (Factory Reset / Wipe data in Clockworkmod)
Where can i get 2.5.0.7?
Cant remember where i got 2.5.1.7 the file name was 2.5.0.7 but cwm said 2.5.1.7?
It's there under Custom Recoveries:
http://forum.xda-developers.com/showthread.php?t=1029318
jokerdroid just bootloops!?
i have wiped and wiped cache and delvik!
Try Redownloading the ROM. Or, if you search the thread, there is one version which is clocked at 648MHz. Try that. Probably the high CPU clocks are not suiting your device.
EDIT: Scratch that. Its clocked at 710, so shouldn't cause an issue.
Well after boot looping 5 or so times it rebooted cwm then rebooted system and bootlooped once but the powered up? Wierd!
if you want to flash a .zip package:
fastboot update filename.zip
if you want to flash an img. file:
depending whether you want to flash a new recovery:
fastboot flash recovery filename.img
or a new ROM:
fastboot flash system filename.img
I do however strongly recommend erasing you current recovery before flashing a new one:
fastboot erase recovery
and do a full wipe (this will erase your data, recovery and system partitions)
fastboot erase system -w
When I boot into CWM, it says that it "failed to find userdata partition to mount". I'm assuming that's why I have no internal memory when I go to storage. Is there a way to fix this?
I think u need to flash data using flashtool (excluding everything else) or fastboot (fastboot userdata userdata.sinğ.
After tgat go to recovery and format it
Sent using C6833 - Carbon KitKat
ch3mn3y said:
I think u need to flash data using flashtool (excluding everything else) or fastboot (fastboot userdata userdata.sinğ.
After tgat go to recovery and format it
Sent using C6833 - Carbon KitKat
Click to expand...
Click to collapse
It worked. Thanks
I have the same problem. I tried extract ftf firmware, and flashing it with fastboot with command "fastboot flash userdata userdata.sin". I just get information on non existing userdata partition.
I can't wipe dalvik or factory reset, because userdata don't exist. I can install rom in recovery, but it just loops on android logo.
What can i try? i already flashed 4 different stock firmwares.
[edit]
ok, just use older flashtool. Newest will just brick your phone. Use 0.9.18.4 or older.
I have a stock, rooted nexus 7 Flo on 5.0. I would like to move to 5.0.1 but I cannot because the update cannot install through Android because of CWM and there doesn't appear to be a flashable zip to use!
Download the system image then:
fastboot flash system system.img
fastboot flash boot boot.img
fastboot format cache
Then flash the root zip through twrp. Done.
Or you could flash the stock recovery, flash the OTA, then reflash CWM.
yosmokinman said:
Download the system image then:
fastboot flash system system.img
fastboot flash boot boot.img
fastboot format cache
Then flash the root zip through twrp. Done.
Click to expand...
Click to collapse
nhizzat said:
Or you could flash the stock recovery, flash the OTA, then reflash CWM.
Click to expand...
Click to collapse
Won't this wipe all my data? I don't want to redo my device.
No it won't wipe data. Data will only be wiped if you use the flash-all file without removing the -w or fastboot flash userdata.
That was useful!
i flashed twrp but now im stuck at a formatting error called "mke2fs -t ext4 -b 4096 /dev/block/sdc46 29325304 process ended with ERROR: 1 Unable to wipe Data. Unable to format to remove encryption."
I am installing PE11 Exp. ROM and right after successfully flashing my PE ROM I am stuck at this format stage. Will I be needing to flash MIUI stock rom and uninstall TWRP or what now? I'm confused. Pls help.
th1nd said:
i flashed twrp but now im stuck at a formatting error called "mke2fs -t ext4 -b 4096 /dev/block/sdc46 29325304 process ended with ERROR: 1 Unable to wipe Data. Unable to format to remove encryption."
I am installing PE11 Exp. ROM and right after successfully flashing my PE ROM I am stuck at this format stage. Will I be needing to flash MIUI stock rom and uninstall TWRP or what now? I'm confused. Pls help.
Click to expand...
Click to collapse
Just changed the formatter in format settings (rm -rf instead of formatting) and it did install PE rom but my internal storage is inaccessible now .
Same issue here, haven't changed the format settings yet. Did you fix the issue with the internal storage?
Same problem
Laminesls said:
Same problem
Click to expand...
Click to collapse
Just need for more steps. Wipe dalvik, data, cache, system, vendor > Reboot recovery. Format data> Reboot recovery. Then start do flash rom and do other steps again. This happen because of encryption. If wipe data error, go in fastboot and type "fastboot -w" in ADB PC
Kirasu2080 said:
Just need for more steps. Wipe dalvik, data, cache, system, vendor > Reboot recovery. Format data> Reboot recovery. Then start do flash rom and do other steps again. This happen because of encryption. If wipe data error, go in fastboot and type "fastboot -w" in ADB PC
Click to expand...
Click to collapse
I am stuck as well. I followed the flash guide of the LiteUp MIUI V12.5 rom for the redemi note 8 pro: https://telegra.ph/Steps-01-01 And I got the error message after formatting the data. I asked on the telegram channel and they told me to change the file system to ext4, but that didn't worked. I tried your solution of wipe, then reboot recovery, fromat data, reboot recovery... flashed the rom again and then I rebooted straight to TWRP again. Can you help me?
Anyone know how to fix this I've tried to format data typed yes and this is what I get back using OnePlus 6t android 11 twrp 3.7.0
jamiehawman said:
Anyone know how to fix this I've tried to format data typed yes and this is what I get back using OnePlus 6t android 11 twrp 3.7.0
Click to expand...
Click to collapse
If you have PC, boot in fastboot mode and type "fastboot -w"
If you dont have PC, you can do some tricks to format:
- For flash new rom, Wipe necessary things > Reboot Recovery > Format data > Reboot Recovery > Flash rom
- Or you can go Wipe > Advanced Wipe > Data and Change File System to Ext4 (Or any default file system that your phone using)
i rebooted the twrp asked for password it decrypted so now il drag and drop magisk to phone do i need to drag and drop the twrp and that rom too
ive sorted it now well a g
Kirasu2080 said:
If you have PC, boot in fastboot mode and type "fastboot -w"
If you dont have PC, you can do some tricks to format:
- For flash new rom, Wipe necessary things > Reboot Recovery > Format data > Reboot Recovery > Flash rom
- Or you can go Wipe > Advanced Wipe > Data and Change File System to Ext4 (Or any default file system that your phone using)
Click to expand...
Click to collapse
uy sorted it for me i had to install a new rom install the new twrp and wallah all good
Back up your data if you still can.
You can try two methods below. Be careful: both will wipe our your data.
Method 1: boot into fastboot
fastboot erase userdata
fastboot erase cache
fastboot erase recovery
fastboot erase system
Try flashing a recovery
fastboot flash recovery [name-of-your-recovery.img]
Method 2: boot into recovery, if you still can
In Twrp / Orangefox / other recovery, format data -> yes;
Plus, you can wipe data, cache and other partitions in recovery.
wenyendev said:
Back up your data if you still can.
You can try two methods below. Be careful: both will wipe our your data.
Method 1: boot into fastboot
fastboot erase userdata
fastboot erase cache
fastboot erase recovery
fastboot erase system
Try flashing a recovery
fastboot flash recovery [name-of-your-recovery.img]
Click to expand...
Click to collapse
Just logged in to say thanks. I flashed a PixelOS Rom without removing the password on the old ROM, and the storage is encrypted. Failed to format data, TWRP bootloop, tried different methods, did not work until I found this post.
Long story short, read the previous thread: https://forum.xda-developers.com/t/...-product-vendor-odm-invalid-argument.4431903/
After succesfully installing the fastboot rom via Mi Flash, the phone is still in a bootloop. Tried flashing TWRP via fastboot command (fastboot boot twrp.img) but it can't decrypt the /data partition with the correct passcode anymore. after a reboot in recovery, the /cust partition also can't be mounted anymore, with error "Structure needs cleaning".
I do not have a backup of my system nor data partition, nor internal storage, so i absolutely need it to work again without wiping/formatting the data partition
EDIT: after flashing the fastboot rom again via mi flash and twrp via fastboot command, the cust error disappears but twrp still can't decrypt /data
EDIT: i decided to do a full wipe of my internal memory and the phone works again. this thread should be closed.