I've been using LineageOS on my phone for months without issues, until yesterday when I got an error message at boot: "Can't load Android system. Your data may be corrupt", etc. In the end I had to format and reinstall everything, but I'm worried that the internal flash memory could be getting defective or something.
Is there a way to check if there are "bad blocks" with the internal storage? (I mean physical issues, not the filesystem, like chkdsk or smart for hdds)
My phone is not rooted, so I've tried booting into recovery and launching adb shell, but I don't know how to proceed from there. Any help would be appreciated.
There is no way? with adb or with any other method?
Related
Hi, people...
Just wondering if there is a way out of my situation, last night I installed the latest recovery image (RA-hero-v1.5.3.1), prior to that I put the latest Villian Rom on to update, but I think I messed things up, with some of the new menus in the Recovery rom as I accidently hits a few things :-(
Messages I'm getting are on almost every option I try is : E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0 (no such file or directory)
and
E:Can't mount SDCARD:/nandroid/
If I try any other options aswell I get "Error: Run 'bart' via adb" which is no good when I get the adb messages as for some reason my windows 7 pc has stopped detecting the phone in adb mode?!
The normal Hero bootloader get's detected fine in windows, is there anything I can do here to restore the system. I think some messages flashed by saying missing image! Which don't sound good.
Any ideas on how I can fix this?
if you have access to fastboot as you say, I'm sure you could fastboot recovery (just in case there's some weird issue there), then format the SD card and restore from a nandroid backup on your PC (I hope you took a copy of the backup on a PC).
Other than that, you might need to wait on someone like kendong2 to spread his words of wisdom here, as he seems good at solving stuff like this.
lechy said:
Hi, people...
Just wondering if there is a way out of my situation, last night I installed the latest recovery image (RA-hero-v1.5.3.1), prior to that I put the latest Villian Rom on to update, but I think I messed things up, with some of the new menus in the Recovery rom as I accidently hits a few things :-(
Messages I'm getting are on almost every option I try is : E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0 (no such file or directory)
and
E:Can't mount SDCARD:/nandroid/
If I try any other options aswell I get "Error: Run 'bart' via adb" which is no good when I get the adb messages as for some reason my windows 7 pc has stopped detecting the phone in adb mode?!
The normal Hero bootloader get's detected fine in windows, is there anything I can do here to restore the system. I think some messages flashed by saying missing image! Which don't sound good.
Any ideas on how I can fix this?
Click to expand...
Click to collapse
For the phone not being detected in adb mode? what shows in device manager when its plugged in under universal serial bus?
try formatting the card using a linux live disc like gparted...
anon2122 said:
if you have access to fastboot as you say, I'm sure you could fastboot recovery (just in case there's some weird issue there), then format the SD card and restore from a nandroid backup on your PC (I hope you took a copy of the backup on a PC).
Other than that, you might need to wait on someone like kendong2 to spread his words of wisdom here, as he seems good at solving stuff like this.
Click to expand...
Click to collapse
Thanks for the advice, my heart started pounding very hard when you mentioned about the nandroid backup being backed up! Luckily, I done an SD card backup a few weeks ago and found the folder, phew.
Sorry for being a little foolish, but when you say do a fastboot recovery how is this done in the bootloader, i'll search google in the mean time. To format my sd card im going to have to get usb adapter I presume as you can't format the SD card from bootloader? Correct me if im wrong.
anarchyuk said:
For the phone not being detected in adb mode? what shows in device manager when its plugged in under universal serial bus?
try formatting the card using a linux live disc like gparted...
Click to expand...
Click to collapse
Thanks for the reply. Nothing comes up at all anymore, I can't see any changes when I plug in the device under recovery mode, and even when selecting the USB-MS mode, nothing is detected or shown on the USB devices list. However, when I first tried originally it came up with the device not recognised.
Got to get myself a SD USB adapter first to format the card.... so I'll give that a try.
Ok, got myself a USB adapter to format SD Card, i've put my backup of everying back on. I now understand about how to use the fastboot command via command prompt etc....
Where do I go from here? What commands to type etc.. I've looked at the options but cannot seem to use flashall command succesfully.
The device is listed when typing fastboot devices, so I take it that's one good thing for a start!
Again, thanks for any help with this.
Just another question does the SD card have to be formatted specially? Ie partitioned etc... perhaps this is why I can't get it mounted under the recovery options. Because I accidently done one of the partion options and from then on I had all the problems.....
While I was trying to move a .avi file to my phone and then iut just restarted.
After it came back it I get the message Preparing internal phone storage (Checking for errors).
Now the internal memory is no longer recognizable to the phone.
Under SD card & phone Storage settings all the options are grayed out.
Total space: Unavailable
Available space: Unavailable
Mount and Format internal phone storage are grayed out. (darker then the first two options)
I'm also unable to get into the phone using ADB Shell command and ADB Devices shows nothing.
I've tried doing a software reset and a hardware reset as seen here but this has not fixed the problem.
Is there a way I can reformat the internal phone storage?
I did root my phone using aRoot.bin before all this happen.
Does anyone have any ideas?
EDIT: Sorry, I thought it was the external SD card. I just re-read and realized it's the internal SD.
...
I started seeing this on my Atrix yesterday. I was using the same card on the Samsung Captivate without issues. I put only music and videos on that.
When it happened, my PC couldn't read the card with the adapter. I used the Captivate to format the microSD, and that got the Atrix to recognize it. I re-copied my stuff again and all is well. 1 hour later, while playing music, my phone rebooted itself.
That's when I got the error again. Took card out, put it in, it's fine so I reformatted it on the Atrix.
Today, phone rebooted several times until it got stuck in a reboot loop. I took the card out and it's fine since...
I don't know, I just chalk that up as a corrupted one.
It's a Wintec 16 GB class 10...got it for 28 bux at Fry's last Black Friday...though it was fine on the Captivate...played music and video during lunch time without issues for months.
At least I found the source of my Atrix's random reboot.
Sorry, couldn't offer anything positive from my end.
I just fixed a ATT Atrix 4G which had same issue.
1) Flash 1.2.6 SBF
2) Read GladRoot "gladroot.bat" batch file and get the root permit at ADB Shell
3) Format /dev/block/179:18 at ADB shell. Below is the command line:
mkfs -T FAT /dev/block/179:18
4) Exit ADB Shell, unplug your phone and reboot. A mount error message will appear on notifications bar, ignore this message.
5) Go to "Settings -> SD card & phone storage", to format the "Internal phone storage (media area)", then mount it.
6) None.
Wish I would have seen this before I sent my phone back months ago. I'll keep this in mind if I find anyone else who has this same problem.
Thanks.
Every now and again when I reboot the phone, my Internal Storage seems to be formatted. It's really starting to become a nuisance. I am on rooted on U4_2.1.1 - anyone else experiencing this issue?
Self bump...I found that if I reboot the phone in adb (using the reboot command) it formats my internal storage almost every time. I'm trying to isolate other causes while I am at it...
Bump, I also have this issue and it is extremely frustrating!!!
This happened to me when I rooted mine yesterday too, and this is my first post yay.
Adam
Hi,
Do a full format in Windows. Connect the phone in use storage mode to a pc, right click on the drive and select format, default settings, turn off quick format.
This happens when running Gingerbreak to root your phone.
Cheers!
So I backed up everything and am now formatting it but did I do something wrong wail using gingerbreak because I saw no where this could happen, just want to know what I did wrong.
Adam
hi,
This is what I am guessing happens: In order to get root, Gingerbreak hacks into the volume daemon (the android bit that knows about inserting and removing sdcards). So you get root but it's like you pulled the plug on your computer while your hard drive was accessing data, you need to do a full format to avoid glitches. At boot android checks volumes to make sure they are not corrupt, that they are 'checked' that they are fully synced and closed out before the power was turned off. If there are any problems, either a repair is attempted or a format is done, depending on the phone/firmware. So, after using Gingerbreak to root, there are some issues with the format of the internal memory, once you start filling it up, you get errors when it runs across a bad patch of the format. So, even though it may look like the drive has been formatted and empty, you still need to do a full format from a pc to clean up the mess. I would recommend both the internal memory and any external sd-cards be formatted properly afterward.
You'd need to talk to the author(s) of Gingerbreak to get more of a breakdown on what happens.
Cheers!
Atrix internal storage format after boot
I've the same problem using Atrix when reboot...
The internal storage will format after every reboot...
And my Atrix is new phone, that not root before...
I've try to format storage within phone format tool.
It success to stop the format after reboot.
But, I when put the sdcard into the phone, the reboot will format the phone, again...
Anyone can help////
wow thanks for the break down man really appreciate it.
Adam
I have this problem, but cannot get the computer to see the phone as drives to format. Is there any other way of doing this?
persource said:
I have this problem, but cannot get the computer to see the phone as drives to format. Is there any other way of doing this?
Click to expand...
Click to collapse
Do you have it set to Mass Storage under USB Settings when you have it connected?
Do you have the proper drivers installed?
I had this problem too. But even trying full format using pc, it still wouldn't help. I even did a full wipe on my whole phone.
I'm accessing via fastboot and need to access my files that were on the internal memory.
When I access the folder /mnt/sdcard, it is empty.
How do I access the files that are in the internal memory by ADB?
/mnt/emmc
or
/sdcard-ext/
Thanks, but the folder "/sdcard-ext" is empty and "/mnt/EMMC" does not exist.
Yeah because you said in PM me that you are not able to turn on the phone, and in fastboot mode it doesnt mount the partitions :/
This was the "other" problem, yesterday. I said here just to record on the forum. I accessed the files, but the internal memory was not mounted.
Yesterday the app "Rom Toolbox" gave a soft-brick corrupting the framework-res.apk when I used the menu to change the battery icon (do not do it on your Atrix!). But luckily the ADB was activated and could restore it and everything returned to normal.
Today the "Rom Toolbox" did **** again, but unfortunately the USB Debugging is off. Now I'm desperately searching for a way to restore the framework-res.apk without losing my installation and without unlocking my bootloader.
Hi,
I'm new to all of this, so please excuse me if I'm posting in the wrong place!
Despite knowing how to preserve and backup my data, I accidentally deleted an album on my samsung GT-I9300 internal memory with a number of files that weren't backed up. I immediately stopped using my device so that nothing was writing to the storage, meaning that my files should still be there as just the pointers will have been removed.
In desparation I have now learned the following:
1. UMS - No longer an option, just MPT on the device.
2. No UMS - means that I can't use windows recovery software that is out there as the internal memory isn't recognised as a mass storage device.
3. So I rooted my device in order to try out undelete, DiskDigger and the pro version of Hexamob recovery.
Surprisingly, this went well (I am not experienced). I used the droidviews tutorial CF-Root-SGS3-V6.4.zip and odin. (Thank you droidviews).
4. Now I was able to try out Undelete (no good for the internal ext4 memory, has to be fat). Disk Digger and Hexamob have found some of my jpeg and mp4 files, however not all of them despite me turning the phone off.
5. Next step, I installed the android terminal emulator so that I could try this:
su
setprop persist.sys.usb.config mass_storage
reboot
However, I get the error: "Connected as an installer". Although I can now see the internal and SD card memory on my PC, I can't access them.
6. I know easy UMS from xda developer will only mount the external memory as UMS, not the internal.
So finally, my question is!!
Does anyone know a way to mount the internal memory as UMS please? Or a way to get around this "Connected as an Installer" issue that Samsung have on the device? I really want to try this method so that I can try out some of the PC recovery tools and see if they find any more deleted data before I start using my device again.
My device details now that it's rooted:
Model: GT-I9300
Android: 4.1.1
Kernal Version 3.031-368423 [email protected]#1
Baseband Version I9300XXDLID
Many Thanks!
i havent seen any successful story when it comes to recovery of data from internal sd
bala_gamer said:
i havent seen any successful story when it comes to recovery of data from internal sd
Click to expand...
Click to collapse
Thank you for taking the time to reply.