Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,777,785 Members 46,652 Now Online
XDA Developers Android and Mobile Development Forum

[solved] E:/error opening '/data/lost+found' after Factory Reset

Tip us?
 
Miasmic
Old
(Last edited by Miasmic; 14th February 2013 at 08:23 AM.)
#1  
Miasmic's Avatar
Senior Member - OP
Thanks Meter 1652
Posts: 685
Join Date: Feb 2011
Location: Hong Kong
Default [solved] E:/error opening '/data/lost+found' after Factory Reset

Hi, today i wanted to do a factory reset and clean install my phone

im using TWRP 2.3.3.3

after factory reset in the wipe menu, at the end i see a line E:/error opening '/data/lost+found'

basically i know what does lost+found folder does in linux, but i forgot whether i have seen such error line before when i do factory resets.

in the file manager of TWRP i then see /media and /lost+found in the /data partition. when pressing into /lost+found, TWRP cannot open it

after this, wiping /system will also give me the same message at the end even it is "Done", as well as cache and dalvik, etc

then i go on flash rom, gapps, kernel, after 1 or 2 boots i go back to recovery and wipe cache, there are no such line anymore
however there is now TWO /lost+found folder in my /data partition

is this a normal behaviour? i didnt pay attention but are there 2 lost+found folders in /data partition for everyone else too?

i have backed up my sdcard and is ready for a /data wipe, any advice is appreciated. thanks in advance!


Let's protect our ears

Google Nexus 4
TWRP 2.7.1.0 | PA | franco.Kernel
PVS: Fast | UV -50 | input boost 1350 / 800000 | timer rate 20k

Google Nexus 7 2013
TWRP 2.7.1.1 | PA | franco.Kernel
PVS: 3 | No UV | input boost 1242

 
Docomo Galaxy Nexus
CWM-T 6.0.2.3 | Cataclysm | franco.Kernel

LG Optimus One | Amon_RA 3.0.6
Family CM10 b7 | 480/748 Smartass v2

My Apps missing in Play Store
The Following User Says Thank You to Miasmic For This Useful Post: [ Click to Expand ]
 
Miasmic
Old
#2  
Miasmic's Avatar
Senior Member - OP
Thanks Meter 1652
Posts: 685
Join Date: Feb 2011
Location: Hong Kong
update: well really hasnt seen it anywhere tried very hard searching on google
maybe just **** happens sometime as i rushed updating the su binary together with restoring android ID in titanium backup altogether without carefully rebooting etc.

factory reset, formating every partition for N times didnt help. returned to completely stock (unlocked bootloader ofcourse), flash twrp 2.3.3.3 clean and no more that line anymore after factory reset. hell gonna start my sdcard restore now...


Let's protect our ears

Google Nexus 4
TWRP 2.7.1.0 | PA | franco.Kernel
PVS: Fast | UV -50 | input boost 1350 / 800000 | timer rate 20k

Google Nexus 7 2013
TWRP 2.7.1.1 | PA | franco.Kernel
PVS: 3 | No UV | input boost 1242

 
Docomo Galaxy Nexus
CWM-T 6.0.2.3 | Cataclysm | franco.Kernel

LG Optimus One | Amon_RA 3.0.6
Family CM10 b7 | 480/748 Smartass v2

My Apps missing in Play Store
 
mitchallica
Old
#3  
mitchallica's Avatar
Senior Member
Thanks Meter 52
Posts: 147
Join Date: Dec 2012
Quote:
Originally Posted by Miasmic View Post
update: well really hasnt seen it anywhere tried very hard searching on google
maybe just **** happens sometime as i rushed updating the su binary together with restoring android ID in titanium backup altogether without carefully rebooting etc.

factory reset, formating every partition for N times didnt help. returned to completely stock (unlocked bootloader ofcourse), flash twrp 2.3.3.3 clean and no more that line anymore after factory reset. hell gonna start my sdcard restore now...
I was researching google for this same exact error message, when I came across your thread. I doubt you are still having this issue, but I wanted to reply with the solution in case anyone else comes across this post. I was able to solve this error message by installing a new ROM. It doesn't matter which one you install, any will do. Then open your file manager of choice, of course one which can go up to root level. Browse to /data, and then you should notice that you do not have a lost+found folder. However, you should see a lost+found file, all the way at the bottom. I renamed this file to lost+foundOLD, and then created a new folder called lost+found. Next, reboot into recovery and once again wipe both caches, system and factory reset. You should no longer get the lost+found error. Make sure to fix permissions as well to make sure.
The Following 7 Users Say Thank You to mitchallica For This Useful Post: [ Click to Expand ]
 
MassStash
Old
#4  
MassStash's Avatar
Senior Member
Thanks Meter 1224
Posts: 2,847
Join Date: Sep 2008
Location: Chicago

 
DONATE TO ME
just had this issue and was solved by dropping back to twrp 2.4.x.x and doing data format.
~S-Off LTEvo; Always Solid Viper4G Latest;
cpu0/1: 1.5ghz 384mhz sleep: 486mhz max
ondemand

The Following User Says Thank You to MassStash For This Useful Post: [ Click to Expand ]
 
Kenchinito
Old
(Last edited by Kenchinito; 17th July 2013 at 04:29 AM.) Reason: misspost
#5  
Senior Member
Thanks Meter 7
Posts: 190
Join Date: Jul 2011
misspost
 
sdlopez83
Old
#6  
sdlopez83's Avatar
Senior Member
Thanks Meter 162
Posts: 1,986
Join Date: Aug 2007
Location: NY-Chile
Quote:
Originally Posted by mitchallica View Post
I was researching google for this same exact error message, when I came across your thread. I doubt you are still having this issue, but I wanted to reply with the solution in case anyone else comes across this post. I was able to solve this error message by installing a new ROM. It doesn't matter which one you install, any will do. Then open your file manager of choice, of course one which can go up to root level. Browse to /data, and then you should notice that you do not have a lost+found folder. However, you should see a lost+found file, all the way at the bottom. I renamed this file to lost+foundOLD, and then created a new folder called lost+found. Next, reboot into recovery and once again wipe both caches, system and factory reset. You should no longer get the lost+found error. Make sure to fix permissions as well to make sure.
No his error and mine are different. We have two lost+found dir and no file. If i delete them and make new lost+found folder. It automatically makes 2.
Devices gone and/or in Geriatrics
8125-8525-Tilt-TPro-Tilt2-Atrix


SGSIII-747
Not a stock rom
 
NVijapura
Old
#7  
Junior Member
Thanks Meter 0
Posts: 7
Join Date: Mar 2013
I am having this same problem. I just did a restore to my last backup, but it in TWRP it says mentions the error over and over again. I looked in /data and I found about 10 files called lost+found, but I do not have any folders. Any suggestions?
 
szurheal
Old
#8  
Junior Member
Thanks Meter 2
Posts: 1
Join Date: Jul 2013
Default Full Format data worked for me

Quote:
Originally Posted by NVijapura View Post
I am having this same problem. I just did a restore to my last backup, but it in TWRP it says mentions the error over and over again. I looked in /data and I found about 10 files called lost+found, but I do not have any folders. Any suggestions?
I just encountered this problem after updating a CM nightly and it bricked my phone. Restoring from a nandroid backup would ultimately fail and I was getting all kinds of weird problems (stuck in boot loop, graphics appearing garbled, etc). After looking closer at the logs during restore, I noticed E:/error opening '/data/lost+found' appearing several times, an then it would indicate 'done' and restart but would end up with the same problems.

Even after doing a factory reset, I had no luck in restoring my phone. So I did a factory reset again and installed a CM stable release thinking maybe my ROM / backup was messed up but noticed the same E:/error opening '/data/lost+found' message. However, this time around I managed to get booted far enough where I could connect via USB and backup files from my internal memory to my computer.

At this point I booted into recovery (TWRP 2.5.0.0) and did a full wipe including internal SD using the Format Data option, whereupon I was able to install the CM stable release without issue - no more lost+found error! I then upgraded to the nightly version of my backup and restored with success. Long and stressful night...
The Following 2 Users Say Thank You to szurheal For This Useful Post: [ Click to Expand ]
 
scwied17
Old
#9  
Junior Member
Thanks Meter 0
Posts: 21
Join Date: Mar 2013
Location: kalamazoo
Quote:
Originally Posted by szurheal View Post
I just encountered this problem after updating a CM nightly and it bricked my phone. Restoring from a nandroid backup would ultimately fail and I was getting all kinds of weird problems (stuck in boot loop, graphics appearing garbled, etc). After looking closer at the logs during restore, I noticed E:/error opening '/data/lost+found' appearing several times, an then it would indicate 'done' and restart but would end up with the same problems.

Even after doing a factory reset, I had no luck in restoring my phone. So I did a factory reset again and installed a CM stable release thinking maybe my ROM / backup was messed up but noticed the same E:/error opening '/data/lost+found' message. However, this time around I managed to get booted far enough where I could connect via USB and backup files from my internal memory to my computer.

At this point I booted into recovery (TWRP 2.5.0.0) and did a full wipe including internal SD using the Format Data option, whereupon I was able to install the CM stable release without issue - no more lost+found error! I then upgraded to the nightly version of my backup and restored with success. Long and stressful night...
All you simply have to do when this happens, is format data ( the one where you type yes ). After this, everything SHOULD be back to normal, for the most part.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes