[Q] Stuck on encrypted boot - Galaxy S 4 Q&A, Help & Troubleshooting

I rooted my i9500.
I flashed CM ROM and encrypted my device.
Later I updated my CM ROM using recovery mode.
When I powered on my device I was asked to enter my encryption password.
After taht I am stuck at the Android logo (decrypting logo).
I tried the following using recovery mode:
- I wiped /data
- I wiped cache
- I wiped Dalvik cache
- I set it to factory settings
All this didn't help.
I found 2 (for me not working) solutions:
mke2fs -t ext4 /dev/block/mmcblk0p12
and
mke2fs -t ext4 /dev/block/mmcblk0p15
No success.
Does anyone have a suggestion?
Thank you in advance!

The logic when booting is that vold tries to mount /data and if that fails, tries to read the master key from the crypto footer, setup decryption and then tries to mount it again.
So, formatting /data should be enough, but I think simply using the 'wipe' options from most recovery will only try (and fail) to delete files on the previously mounted filesystem. I don't know which partition is mounted as /data on your device, but the CM tree for i9500 suggests it's mmcblk0p21, not 12 or 15.

Related

[Q] Can't mount /dev/block/mmcblk0p8

I would like some help please.
Have bricked my a500 during attempt to falsh vach leaked ICS.
Switchme was used before clearing data and I forgot to delete a profile. This is I think the cause of my problem.
I cannot proceed with any ROM flashing until data partition is cleared.
I am using RA-ICONIA-3.15 recovery kernel.
I can mount and format CACHE SYSTEM FLEXROM partitions.
Attempting to mount data this is the message
E:Can't mount /dev/block/mmcblk0p8 (File exists)
Now my poor A500 will not get past 'acer'screen when trying to boot.
Question 1: How can I restore access to the DATA partition?
Question 2: How do I wipe my internal storage and start over?
I have a nand backup before this started on external SD card. Uncertain if I should restore this.
Thanks in advance.
DrPlumEU said:
I would like some help please.
Have bricked my a500 during attempt to falsh vach leaked ICS.
Switchme was used before clearing data and I forgot to delete a profile. This is I think the cause of my problem.
I cannot proceed with any ROM flashing until data partition is cleared.
I am using RA-ICONIA-3.15 recovery kernel.
I can mount and format CACHE SYSTEM FLEXROM partitions.
Attempting to mount data this is the message
E:Can't mount /dev/block/mmcblk0p8 (File exists)
Now my poor A500 will not get past 'acer'screen when trying to boot.
Question 1: How can I restore access to the DATA partition?
Question 2: How do I wipe my internal storage and start over?
I have a nand backup before this started on external SD card. Uncertain if I should restore this.
Thanks in advance.
Click to expand...
Click to collapse
try this
If you are using Thor's CWM. And his recovery only;
Here are the steps to completely wipe all internal data. And give it a clean internal system (according to Thor)
Note: Optional Formatting.
If you really want to remove EVERYTHING in Internal Memory, at this point, go to Backup and Restore. Select "Toggle backup and restore of internal storage (/data/media). Enable this setting by selecting it. By default, it is disabled. Then proceed to the formatting steps. This will format the Entire Internal Memory when you proceed.
Note, this will format EVERYTHING in internal memory (not ext sd card)
Select Go Back, Goto Mounts and Storage
1. Format System
2. Format Cache
3. Format Dalvik
4. Format Flexrom
After you reboot, I believe it resets back to the defaults.
try to install the rom with the normal procedures.
this what i used and it worked great no problems
note** i am just fowarding info that was passed to me. and this will erase you backups
---------------------------------------------------------------------------------------------
IF you are running RA Revamped Recovery, then you may want to contact Drellisdee at his thread;
http://forum.xda-developers.com/show....php?t=1459821
He knows the procedures to do the same.it's a tricky process, and he knows more about his recovery than I do.
Thank you for the prompt response. Already tried your recipe with no luck.
I need access to the DATA partition and do not know how to go about that. Once have access to the internal disk, would like to know how to completely wipe this if that what it takes.
Thanks
PS: If I truly have bricked the device it is still in 12mo warranty, so will contact Acer care centre if no tricks work.
PPS: Maybe I now have excuse needed to upgrade to Tegra 3 device. The Acer Iconia A700 looks tempting
i think i have seen something like that when fixing mine but did not touch it....as im not a pro, hopefully somone with a litle more in depth knowledge sees this and can help.
sorry
Have you tried restoring your nandroid backup? This has recovered the error for me on my phone before when the /data partition became corrupt. Worth a shot.
Sadly, restoration of the nandroid backup was not successful.
I have notice that I pressed wrong volume button when attempting the hard reset. Will try the correct procedure later after work. Hopefully a proper hard reset then restore with one of Vache stock roms will have me up and running.
UPDATE: Sadly hard reset fails to load. My poor a500 needs resuscitation at acer clinic
I had the exact same problem, although I caused the problem in a different manner. You need to be able to use adb to get it going again. If you are not familiar with adb, do a search and you can find plenty of help. That's what I had to do. Unfortunately, my skills with adb are pretty much non-existent, so I can't really help you with that part.
Once you get adb going on your computer and it recognizes your A500, follow these steps:
You will need to boot into my recovery and open adb shell.
This will cause loss of all data contained on /data which will lose your /data/media.
From adb shell:
mount (This is to check data isn't mounted. If mounted use "umount data")
mke2fs -j -b 4096 /dev/block/mmcblk0p8
tune2fs -O extents,uninit_bg,dir_index -C 1 /dev/block/mmcblk0p8
e2fsck -fy /dev/block/mmcblk0p8
After this is done your file system on /data will be fixed. You can install the ROM of your choice. Good luck!
(These instructions were originally provided to me by drellisdee)
Thanks for the answer on your previous post. I fixed my /data mount.
Love to unbrick my acer for the 50th time
Did not have this error tho, before I tried to convert the /data mount to ext4
DrPlumEU said:
I would like some help please.
Have bricked my a500 during attempt to falsh vach leaked ICS.
Switchme was used before clearing data and I forgot to delete a profile. This is I think the cause of my problem.
I cannot proceed with any ROM flashing until data partition is cleared.
I am using RA-ICONIA-3.15 recovery kernel.
I can mount and format CACHE SYSTEM FLEXROM partitions.
Attempting to mount data this is the message
E:Can't mount /dev/block/mmcblk0p8 (File exists)
Now my poor A500 will not get past 'acer'screen when trying to boot.
Question 1: How can I restore access to the DATA partition?
Question 2: How do I wipe my internal storage and start over?
I have a nand backup before this started on external SD card. Uncertain if I should restore this.
Thanks in advance.
Click to expand...
Click to collapse
If you switch the A500 off and whilst switching it on hold the volume up button and start toggling the rotation lock on and off it should clear the internal memory completely. Then flash an update.zip from a MicroSD. Otherwise use the Iconia software update tool that's floating around in APX mode. Make sure you have your UID for this
Ping192 said:
Did not have this error tho, before I tried to convert the /data mount to ext4
Click to expand...
Click to collapse
That's exactly what caused my problem. Glad you are working again.
Resolved by great customer support...
To close this thread I wish to congratulate the Acer customer support team in Plymouth who have restored my Acer Iconia A500 to working order in under a week.
It is upgraded OTA to Android 3.2.1.
As still in warranty, no charge for the failure of the hard-drive partitioning!
Great work. Good customer service.
thanks lovable people in this thread
thanks lovable people in this thread you solved my problem . especially Dr. McKnight (23rd February 2012, 03:48 PM) back in the beginning of the thread. His solution using thor's recovery was enough to solve my problem. Wonderful and thank you
/Mikkel
spoupard said:
From adb shell:
mount (This is to check data isn't mounted. If mounted use "umount data")
mke2fs -j -b 4096 /dev/block/mmcblk0p8
tune2fs -O extents,uninit_bg,dir_index -C 1 /dev/block/mmcblk0p8
e2fsck -fy /dev/block/mmcblk0p8
Click to expand...
Click to collapse
When I do the "mke2fs -j -b 4096 /dev/block/mmcblk0p8" command from adb's shell, it takes forever (I let it run for hours). Something I was thinking about, could I simply "rm -rf /dev/block/mmcblk0p8" first, and then run the above commands? Also, should I not add the "-t ext4" option to the mke2fs command?
kerijan2003 said:
When I do the "mke2fs -j -b 4096 /dev/block/mmcblk0p8" command from adb's shell, it takes forever (I let it run for hours). Something I was thinking about, could I simply "rm -rf /dev/block/mmcblk0p8" first, and then run the above commands? Also, should I not add the "-t ext4" option to the mke2fs command?
Click to expand...
Click to collapse
Try in fastboot mode execute:
fastboot -w

p6800 Bricked E:failed to mount /preload (Invalid argument)

after trying CM10 on my 7.7 P6800
was working fine. try to go back to ICS official rom . it will not boot . just galaxy 7.7 logo.
try wiping factory . it will not format /system. it freeze.
try CWM said "cannot format /system
used adb shell managed for re-partition
~ # umount /cache
~ # umount /system
~ # umount /data
(parted) rm 9
(parted) rm 10
(parted) rm 11
(parted) mkpartfs primary ext2 3322 4215
(parted) mkpartfs primary ext2 4215 6362
(parted) mkpartfs primary fat32 6362 15200
(parted) name 9 FACTORYFS
(parted) name 10 DATAFS
(parted) name 11 UMS
now /system can be formatted and Successfully did factory reset wipe.
but still will not boot white Galaxy logo.
flashed with ODIN official HoneyComb rom.
i get the below error.
please help :crying:
Updating application...
E:failed to mount /preload (Invalid argument)
E:install_application_for_customer:Can't mount /preload
your storage not prepared yet, please use UI menu for format and reboot actions,
copy application failed,
Appling Multi-CSC...
Installing Multi-CSC
Copied the packges.
Cant access to /system/csc/KOR/system/'.
Successfully applied multi-CSC
you flashed the official gingerbread ROM? ruh-roh
Yep official gingerbread rom.
Double sure gingerbread?
Sent from my GT-P6800 using xda premium
100%
Originality of this Tab was Honeycomb base device and now ICS....nothing to do with GB
How come you flash Gingerbread
Are you sure you using Tab P6800? and which link did you download GB Rom for this Tab
OMG im so sorry man . iv been through million posts im almost blind and lost my mind thats why i need help. i meant HoneyComb. i edited the post. im really sorry
Try to do factory reset/data&cache wipe using 3e stock honeycomb recovery. that should reformat your partitions.
also if you used parted to delete and recreate your partitions, I think you have to use ~ # tune2fs -j /dev/block/mmcblk0p9 to change file system to ext4 then use e2fsck to check partition for errors. repeat that on each partition you recreated, after you finish flash honecomb again and do data/cache wipe on stock honeycomb 3e recovery.
zorbakun said:
Try to do factory reset/data&cache wipe using 3e stock honeycomb recovery. that should reformat your partitions.
also if you used parted to delete and recreate your partitions, I think you have to use e2fschk to change file system to ext4. do that then flash honecomb again and do data/cache wipe on stock honeycomb 3e recovery.
Click to expand...
Click to collapse
Thank You so much i will try that. stock honeycomb 3e recovery ? this is different than official firmware ? im sorry i never heard of it or where can i get it from ?
Thank you so much in advance :good:
fisfisbg22 said:
Thank You so much i will try that. stock honeycomb 3e recovery ? this is different than official firmware ? im sorry i never heard of it or where can i get it from ?
Thank you so much in advance :good:
Click to expand...
Click to collapse
stock recovery is called 3e recovery. Just make sure you are using Honeycomb stock recovery as ICS recovery can possibly ruin it more.
P6800JPKL4_P6800OJPKL3_EGY.zip that's the official stock Android 3.2. got it from http://www.sammobile.com/firmware is this the Honeycomb stock recovery ?
cause i get this error after flashing that stock official though ODIN it PASS in green then tab restarts and while installing files i get the error. and i try reset/data&cache as well .
so is this the Recovery stock rom ?
/preload is folder or actual partition ? cause in my galaxy note i see folder on the root called preload. can i connect to ADB and make a folder called preload ? and if it is partition how can i make it ?
thank you again
ok under CWM i found it as a partition . and when i try to format it i get in error
E:format_volume: make_extf4fs failed on /dev/block/mmcblk0p11
Error formatting /preload!
ok under CWM i found it as a partition . and when i try to format it i get in error
E:format_volume: make_extf4fs failed on /dev/block/mmcblk0p11
Error formatting /preload!
Not so sure what I can help.
mmcblk0p11 is hidden/preload
Maybe flash only the hidden file via Odin..idk
Take a look here: http://forum.xda-developers.com/showthread.php?p=23337545
Read through this thread it will help you.
But my advice to you is try to restore your tab to its original state & partitions with original P6800 PIT file, then flash Honeycomb, then try to wipe data/cache in stock recovery.ONLY if that didn't work try re partitioning as described in the thread i mentioned.
zorbakun said:
Read through this thread it will help you.
But my advice to you is try to restore your tab to its original state & partitions with original P6800 PIT file, then flash Honeycomb, then try to wipe data/cache in stock recovery.ONLY if that didn't work try re partitioning as described in the thread i mentioned.
Click to expand...
Click to collapse
Thank you so much. iv done that . flashed PIT file from ODIN and then flashed stock honeycomb e3 now
i get a different messes in the same format but. not its
/data not /preload
cant even access recovery mode anymore "it flashes so fast" Loading applications in yellow. then it reboots .. so its a real brick now ?
ok flashed CMW and now i cannot format /DATA .. so pit file fixed /preload. but now /data ? any suggestions ? thank you soo much again
fisfisbg22 said:
ok flashed CMW and now i cannot format /DATA .. so pit file fixed /preload. but now /data ? any suggestions ? thank you soo much again
Click to expand...
Click to collapse
thank you all for everything . ok i fixed it idk how here is what happened
after i got /data error and cannot mount or format .
i adb shell it. and
rm 11
(parted) mkpartfs primary ext2 4400 7000
(parted) name 10 DATAFS
*** tune2fs -j /dev/block/mmcblk0p10 took long time and got me an error bad block
try to RM it again it froze after that CWM formatted /DATA !! ?? for factory reset worked. then flashed Honeycomb.. and BAAAAAM its working now
this means bad sector ? or what idk ? soo confused

Bricked after random reboot Issue with /data partition

I'm on 3.0 SuperMan
Sometimes phone was randomly rebooting (known issue) and it had problem with booting - stuck on splash screen, but after wipe of cash it booted.
This time phone don't wont to start - in TWRP log I have information:
Error opening: '/data/data/com.google.android.gms/shared_prefs/AppUsageEventWather.xml' (I/O error)
I fully wiped phone and installed ROM and problem persists...
I tried TWRP > Wipe > advance wipe > data > change or repair filesystem > change filesystem > ext4 and I still have this message...
I'm getting /sbin/e2fsck -fp /dev/block/sda18 process ended with ERROR: 8
Unable to repair Data.
While installing I have message about mounting problem.
What else I can do?
I found solution Format data to ext3 then to ext4.
Thread can be closed.

Encryption issue : can't mount partition Android 10 - no passwird

Hello guys,
I have an issue regarding this Havoc ROM under Android 10. When I fash it and reboot it, it encrypt my /data, and recovery ask me for an unknow password.
I have already test to set up a PIN code into parameter in adroid but it's doesn't work.
I have tried to change the data partition ext4 -> ext2 -> ext4 nothing has changed.
Because I can't mount /data partition I can't wipe dalvik and cache, so I can't get last updates ....
I have used twp and orange fox recovery, they both make same issues.

Why does enabling FBE for a f2fs /data partition cause the phone to enter fastboot?

setting fileencrypt=ice under fstab mount flags for a F2FS formatted /data partition causes the phone to boot into fastboot mode. why is that? it works fine with EXT4 though. my rom's kernel got built in F2FS. ?

Categories

Resources