The error when "wipe dalvik cache"! Thanks! - G Tablet Q&A, Help & Troubleshooting

hey, I installed the CM7 today by using the clockworkmod 0.8 (I used the VEgan 5.11 before )
I wipe cache partition, wipe data, wipe, wipe Dalvik Cache
but when I wipe Dalvik Cache, there is a error: can't mount dev/block/mmcblk0p2
anyway, I install the CM7 successfully... but I am a little worried about that erro...
so why this error appear? what is that mean?
do I need to fix this error and then reinstall the CM7?
sorry for so much naive question! thanks!

savage0,
I've read two or three explanations for why that
error comes up -- but I really don't know why.
I do know that a pile of folks have been getting
that message almost since the G-Tablet came
out and I have never heard of it meaning anything
significant -- or anyone having problems as a
result.
Forget it is my advice.
Rev

Exactly. Had that issue since my first flash and nothing fixes it. On the good side, like the Rev says, it has no known meaning or consequence.

savage0 said:
h
but when I wipe Dalvik Cache, there is a error: can't mount dev/block/mmcblk0p2
Click to expand...
Click to collapse
im gettting the same error, but when i try to mount /data, and now im stuck in a constant boot loop

savage0 said:
but when I wipe Dalvik Cache, there is a error: can't mount dev/block/mmcblk0p2
Click to expand...
Click to collapse
The correct error message actually is:
Code:
E:Can't mount /dev/block/mmcblk2p2
(File exists)
As butchconner said, it's a harmless error message. It just means that
a) You don't have an external SD card in the SD card slot, or
b) If you do have one, it does not have a second partition on it. Most likely, you have a SD card with a single VFAT partition.
When you select the "Wipe Dalvik Cache" option, CWM does, basically, this:
1. Mounts the /data partition. This, on the gTablet, is the second partition (Linux ext3 type) on the internal SD card, /dev/block/mmcblk3.
2. Mounts the /sd-ext partition. This is the second partition (generally of Linux ext3 type) on the external SD card, /dev/block/mmcblk2.
3. Mounts the /cache partition. This is a yaffs2 filesystem (on /dev/block/mtdblock4) on the in-built NAND flash chip.
4. Prints a "Confirm wipe?" message and a "Yes - Wipe Dalvik Cache" menu.
5. Removes the entire /data/dalvik-cache directory tree.
6. Removes the entire /cache/dalvik-cache directory tree.
7. Removes the entire /sd-ext/dalvik-cache directory tree.
The error message you noticed comes at step 2 because there is no external SD card, or, the external SD card does not have 2 partitions on it.
The second line, "(File exists)", is the left-over result of a mkdir() system call used to create the mount-point directory which already exists.
If you can read C code and wish to look at this further, look at the show_advanced_menu() function here:
https://github.com/CyanogenMod/android_bootable_recovery/blob/gingerbread/extendedcommands.c
The link is for a newer version of CWM, so the error message is different.
Cheers!

Related

Error when doing factory reset in CWM

when flashing roms, and doing WIPE DATA/FACTORY RESET option in clockworkmod v4 or v5 it gives a error E:format_volume make_extf4fs failed on /dev/block/mmcblk0p2
what is this? It looks like it still wipes data though, also it gives similar error when you go to mount and storage menu and choose the format /sd-ext option ..... looks like the sd-ext is messed up....
how can I solve this???
You need to format your SD card using CWM. It is missing the second (EXT) partition...
if u format u lose everything
the mount things isnt a prob

[Q] G Tab encrytion unsuccessful...what now?

I started up my Gtab today (running ICS 4.0.x), and it keeps popping up stating "Encryption unsuccessful
Encryption was interrupted and can't complete. As a result the data on your tablet is no longer accessible.
To resume using your tablet, you must perform a factory reset. When you setup your tablet after the reset, you'll have an opportunity to restore any data that was backed up to your Google Account."
WTF?
I tried booting into recovery mode, but it hangs after stating "Recovery key detected, Booting recovery kernel image"
That's all it does....
Any suggestions on how to correct this?
Thanks ahead of time...
Gun
GunRunner said:
I tried booting into recovery mode, but it hangs after stating "Recovery key detected, Booting recovery kernel image"
Click to expand...
Click to collapse
1. As the message says you'll most probably have to do a "wipe data/factory reset" in CWM. Run the command in this post.
2. Which version of CWM do you have?
Im not certain what version CWM is but it was the most up to date at the time. I cant access CWM as it sits now.
Should I try to use NVflash to rerun the Full_Stock_NVFlash_CWM_5504_Touch-1, just as I did before I installed ICS?...then reinstall the rom?
I can not access CWM...it locks up after stating "booting recovery kernel image"
GunRunner said:
I started up my Gtab today (running ICS 4.0.x), and it keeps popping up stating "Encryption unsuccessful
Encryption was interrupted and can't complete. As a result the data on your tablet is no longer accessible.
...
Click to expand...
Click to collapse
The usual reason for that error message on ICS is a corrupted /data partition. To fix it you'll have to do either a "wipe data/factory reset" or a repartition the internal SD card in CWM.
GunRunner said:
I can not access CWM...it locks up after stating "booting recovery kernel image"
Click to expand...
Click to collapse
The most common reason for that is
a) using the wrong version of CWM for the bootloader installed on the system--ie. using a recovery containing a 1.2 kernel on a 1.1 bootloader or vice-versa.
OR
b) a corrupted recovery partition.
To fix both on ICS--esp. if you've used the nvflash package in the TeamDRH ICS OP--try reloading only CWM-5.5.0.4Beta15 using nvflash.
Can you tell me what you were doing before all this happened? I can understand the /data partition becoming corrupt, or, the recovery kernel being the wrong one (or the partition being bad), but, I can't figure out how both can happen at the same time without something explicitly being done to cause it.
Not sure if it helps but I am also getting this error, I will update as I attempt to troubleshoot.
ROM: G_Harmony_ICSv1.5(120)(SuperCharged) (4.0.4)
CWM: 2.5.1.1-bekit-0.8
I got both errors but the second was solved by unplugging my computers USB cable from the g-tab.
(I can not access CWM...it locks up after stating "booting recovery kernel image") SOLVED
Steps:
1. From the settings picked factory reset loose all data and SD card data.
2. Reboot to recovery (CWM).
3. Formatted the internal SD card and ExSD card using CWM.
4. Mounted SD card on computer using USB cable connected to the G-Tab.
5. Let windows format the SD card. (Was this bad?)
6. Loaded ROM.zip file over to SD card from computer.
7. wipe data/factory reset.
8. wipe cache partition.
9. install zip from SD card -> coose zip from sdcard -> G_Harmony_ICSv1.5(120)(SuperCharged).zip
10. Install.
11. Reboot.
12. Error screen "Encryption unsuccessful Encryption was interrupted and can't complete. As a result the data on your tablet is no longer accessible...." "Press this button to do a factory reset"
13. Press the button to the same results.
Click to expand...
Click to collapse
UPDATE 1:
When I did a rewipe i found that when i did the data wipe is said:
-- Wiping data...
Formatting DATA...
E:Can't mount /dev/block/mmcblk3p2
(No such file or directory)
Error mounting /data/!
Skipping format...
Formatting CACHE:...
Formatting SDEXT:...
No app2sd partition found. Skipping format of /sd-ext.
Formatting SDCARD:/android_secure...
Data wipe complete.
Click to expand...
Click to collapse
Could it be that when I used my computer to format the SD card I did it wrong?
UPDATE 2:
I was browsing around the CWM options and I found:
advanced -> Partition SD Card
Click to expand...
Click to collapse
So I did that and then a data wipe again, and this time it said:
-- Wiping data...
Formatting DATA...
<<NOTE THE LACK OF ERRORS>>
Formatting CACHE:...
Formatting SDEXT:...
No app2sd partition found. Skipping format of /sd-ext.
Formatting SDCARD:/android_secure...
Data wipe complete.
Click to expand...
Click to collapse
I am hoping things should work now, I picked 2GB with a 0MB swap.
UPDATE 3:
Ok... should have figured that deleted my SD card files including my ROM "G_Harmony_ICSv1.5(120)(SuperCharged).zip" so I mounted it and copied it over again.
(I also did some mounting and unmounted and may have lost it there.)
UPDATE 4:
IT WORKS!! fixed, must have been because I formatted out the data partition, but CWM fixed this for me!
I hope this helps others with the same issue.

[Q] My S2 can't recognize external SD Card

When I boot on system, there is a message say that:
Security policy restricts use of external sdcard
Click to expand...
Click to collapse
When I tried to mount sdcard in Recovery mode, it can't mount sdcard. They show this error
mount: mounting /dev/block/mmcblk1p1 on /sdcard failed: No such file or directory
I: failed to mount ext4/vfat/exfat /dev/block/mmcblk1p1 /sdcard (null)
W: failed to mount /dev/block/mmcblk1p1 /sdcard ext4 (No such file or directory)
E: Can't mount /sdcard/
Click to expand...
Click to collapse
Is my card reader chip on my s2 broken?
Go to Settings/Security/
Device Admins and see if there are any possible restrictions else try wiping cache and dalvik cache (just in case) !
oh i just read it again and i saw you posted EXTERNAL sdcard, haha i thought it was internal sdcard
well do what niku~ said. first go in security and see if there's smth and wipe cache/dalvik.
it happened to some people that flashed a theme to the Rom, and after flashing another theme, the bug disappeared...so if u flashed a theme, try it...
if it doesnt work, try reflashing Rom.
if it doesnt work too, i suggest you do a full wipe and flash another Rom.
this is probably a software issue
it happened to some people that flashed a theme to the Rom, and after flashing another theme, the bug disappeared...

[Q] Understanding Internal Storage and /Data Partition

Hi everybody. First time poster. After 4 hours scouring forums and other sites yesterday, I never saw this precise question asked or answered.
I have an HTC DNA that I'm selling on Swappa soon. Of course, I wanted to wipe the internal storage. [I promise this isn't going to be a "What's the best way to wipe my device" thread,]
I ultimately went with:
1. Encrypt device
2. Fastboot Erase Boot, System, Data, and Recovery
3. Flash CWM Recovery
4. Format all partitions in CWM Recovery
4. Sideload ViperDNA.zip
5. Install ViperDNA.zip
And so here comes the question, in the future, shouldn't I just be able to format the /Data/ partition and be done with it? After all, if internal storage--the /SDCard/ partition---is found at /Data/Media, shouldn't a format of /Data/ wipe the internal storage?
If the answer is "yes," then why is there a second option in CWM for "Format /Data and /Data/Media (/SDCard)"? The second option seems redundant of simply formatting /Data/ (which would include /Data/Media). However, when I run the second format option--the one that explicitly references /SDCard/, it takes noticeably longer than simply formatting /Data. And that suggests that there's more going on with the second option.
Perhaps the answer is that when you Format only /Data/, the phone leaves /Data/Media alone. If that's the answer, then that all makes sense. But I haven't seen that stated definitively anywhere.
Thanks in advance!!
ThisAndroidDude said:
Hi everybody. First time poster. After 4 hours scouring forums and other sites yesterday, I never saw this precise question asked or answered.
I have an HTC DNA that I'm selling on Swappa soon. Of course, I wanted to wipe the internal storage. [I promise this isn't going to be a "What's the best way to wipe my device" thread,]
I ultimately went with:
1. Encrypt device
2. Fastboot Erase Boot, System, Data, and Recovery
3. Flash CWM Recovery
4. Format all partitions in CWM Recovery
4. Sideload ViperDNA.zip
5. Install ViperDNA.zip
And so here comes the question, in the future, shouldn't I just be able to format the /Data/ partition and be done with it? After all, if internal storage--the /SDCard/ partition---is found at /Data/Media, shouldn't a format of /Data/ wipe the internal storage?
If the answer is "yes," then why is there a second option in CWM for "Format /Data and /Data/Media (/SDCard)"? The second option seems redundant of simply formatting /Data/ (which would include /Data/Media). However, when I run the second format option--the one that explicitly references /SDCard/, it takes noticeably longer than simply formatting /Data. And that suggests that there's more going on with the second option.
Perhaps the answer is that when you Format only /Data/, the phone leaves /Data/Media alone. If that's the answer, then that all makes sense. But I haven't seen that stated definitively anywhere.
Thanks in advance!!
Click to expand...
Click to collapse
I dont see the point to encrypt the device
and second in twrp there is a "wipe internal storage" option that wipes the internal storage, cwm i think they just call it data
.torrented said:
I dont see the point to encrypt the device
and second in twrp there is a "wipe internal storage" option that wipes the internal storage, cwm i think they just call it data
Click to expand...
Click to collapse
Thanks for the input. The reason I think encrypting is good, is that it serves the purpose of overwriting the sectors with data (in this case, encrypted data). Of course, I know solid state memory isn't necessarily as susceptible to data recovery for failure to overwrite as magnetic media, but I wanted to be safe.
With regards to TWRP's "wipe internal storage" option, I'm sure that works well. CWM has something similar in the "format /data and /data/media" option.
However, my main question still remains. If Internal Storage is found on the data partition at /data/media, then does a format of /data (in CWM or fastboot) take care of the internal storage? I don't think it does (based on the two different options in CWM and the fact that formatting /data/ and /data/media takes longer than simply formatting /data), and I'm just trying to understand why.
ThisAndroidDude said:
Thanks for the input. The reason I think encrypting is good, is that it serves the purpose of overwriting the sectors with data (in this case, encrypted data). Of course, I know solid state memory isn't necessarily as susceptible to data recovery for failure to overwrite as magnetic media, but I wanted to be safe.
With regards to TWRP's "wipe internal storage" option, I'm sure that works well. CWM has something similar in the "format /data and /data/media" option.
However, my main question still remains. If Internal Storage is found on the data partition at /data/media, then does a format of /data (in CWM or fastboot) take care of the internal storage? I don't think it does (based on the two different options in CWM and the fact that formatting /data/ and /data/media takes longer than simply formatting /data), and I'm just trying to understand why.
Click to expand...
Click to collapse
well, since the sdcard is not external, one wipes everything but the sdcard and then the other will wipe everything including data/media
if you are doing a fresh rom install, you dont want to wipe the sdcard if you have any backups or the rom you are installing. thats where the wipe data comes into play, however when you want to go ahead and restore it to stock or just clean out the sdcard thats where the second one takes over.
Thanks for the additional thoughts. In my case, since I wanted to wipe everything, it made sense to do the /data and /data/media wipe.
I think we both agree about the difference between the two wipes. I think it's just a bit confusing that CWM's option to wipe /data doesn't really wipe that entire partition--instead, it leaves /data/media alone.

Complete wipe, I mean everything, question

So after years of flashing roms, installing apps, saving junk to my phone I think it is time to completely wipe it. I've searched and come across a few threads but I want to look at some of the CWM Mounts and storage options to be sure. Here is one I came across:
http://forum.xda-developers.com/galaxy-s2/general/ref-cwm-clockworkmode-menu-options-t1542857
If I wanted to do a compete wipe including all internal SD data, but not lose Root, I would do the following???
wipe data / factory reset
wipe cache partition
wipe dallvik cache
format /system
format /cache
format /data
format /preload (unsure about this one, can't find info)
format /storage/sdcard0
install rom then from my ext sdcard1
install gapps then from my ext sdcard1
reboot into a clean phone and start installing stuff again.
That should be enough correct? I'm not sure where CWM Recovery lives but I would assume that would be on the /boot partition and that is the one section that I don't want to format, correct? I'm also not sure of where the modem is set/installed and would that need to be reinstalled again?
With this device, recovery lives with the kernel in the boot partition. Everytime you install a kernel, a fresh image is installed to the partition.
I'm not sure what your actual goal is, but the process you've outlined process is very redundant.
factory reset wipes /data & /cache (which includes dalvik-cache)
A factory reset plus manually wiping /system (and /preload if using samsung-based firmware) promises a clean installation of ANYTHING.
jackal2001 said:
[...]
If I wanted to do a compete wipe including all internal SD data, but not lose Root, I would do the following???
wipe data / factory reset
wipe cache partition
wipe dallvik cache
format /system
format /cache
format /data
format /preload (unsure about this one, can't find info)
format /storage/sdcard0
install rom then from my ext sdcard1
install gapps then from my ext sdcard1
reboot into a clean phone and start installing stuff again.
That should be enough correct? I'm not sure where CWM Recovery lives but I would assume that would be on the /boot partition and that is the one section that I don't want to format, correct? I'm also not sure of where the modem is set/installed and would that need to be reinstalled again?
Click to expand...
Click to collapse
I want to have a fresh install. Basically wipe everything including whatever junk is installed on the SD card. Like a new phone pulled out of the box. I'm sure there is tons of junk on the SD card due to apps being installed/uninstalled over the years.
Yes I understand some of the options may be redundant, but it only takes a second.
So as long as I don't "format /boot" you saying that should be OK?
If you prefer to take the extra steps, then I don't see any harm in your procedure.
It may seem obvious, but make sure you have everything you'll need on that ext-sd card, before you format /system.
mr.cook has some scripts that will format preload, if the option isn't present in your recovery.
jackal2001 said:
I want to have a fresh install. Basically wipe everything including whatever junk is installed on the SD card. Like a new phone pulled out of the box. I'm sure there is tons of junk on the SD card due to apps being installed/uninstalled over the years.
Yes I understand some of the options may be redundant, but it only takes a second.
So as long as I don't "format /boot" you saying that should be OK?
Click to expand...
Click to collapse

Categories

Resources