Hi everyone.
I've a Nexus 5 which runs Android 6.0.1 but I think the problem is not especially related to the Nexus 5, so I post here.
What happened ? Few days ago my phone crashed (I didn't use it) and was slow to boot up. So I tried to force the reboot by pressing the power button for 15/20s and it worked.
But 5/10min after I saw the "Select language" menu ... The phone performed a factory/reset by itself. I don't know why.
First, I plug my phone to my computer and I've seen that 26GB/32GB were already in use.
So I tried to recover my pictures and videos with many apps and the one which worked was "Undeleter" (5$) but it didn't recover all my data.
Yesterday, I wanted to understand what happened really. I ran "DiskUsage" which give me this result for /storage/emulated/0 :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How can I access to the "System data" partition which has a size similar to the storage space used before the crash ?
Regards,
Laurent
EDIT :
Finally I backed up all my data !
Indeed, files of my memory (/sdcard) before the crash was in /data/lost+found/#1351681/0
Then, I was able to move them to /sdcard and to copy the files on my PC.
How to ?
Make sure your phone is rooted and install a file explorer such as Root Browser.
Open Root Browser and navigate until /data/lost+found/#xxxxx [in my case, with a Nexus 5 it was 1351681/0]
(Look for the directory which corresponds to your previous "sdcard".)
Now, you can see the files but you can't open them. So move (not copy!) them to /sdcard (I suggest you to do that folder by folder).
Great, you've recovered your files ! But now, transfer them to your computer to prevent damages (I was forced to do that and remove files after to continue because the storage was full).
You can do it in connecting your phone to your computer and via the explorer or you can use adb (adb pull /sdcard/directory_to_move path_to_a_dir_of_your_computer)
I hope it will be useful.
Laurent
Related
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
^^That's what's at the root of my gtab's /sdcard.
Also, there used to be two folders in that that I had created and are no longer there.
Here's what I was doing immediately before I noticed this:
I'm currently using TnT Lite. I need to be able to access wifi at work but my company uses EAP encryption and TnT doesn't have a setting for EAP. I decided that rather than switching roms, I would just switch settings menus (using the files found here: http://forum.xda-developers.com/showthread.php?t=857939).
Stupid me, I downloaded them to /sdcard2 rather than /sdcard. I booted into clockworkmod and tried to install the zip from the sdcard but clockworkmod couldn't find anything. I realized my mistake and rebooted the gtab and hooked up the usb to my pc. That's when I noticed the file corruption.
Everything still seems to work as it did before, I just don't have access to any of the files that were in those folders.
In case it matters, one folder held the TnT Lite rom and the other held several videos.
Does anyone have any idea what could have caused this?
Should I try to delete the corrupted files?
Any help with this is much appreciated.
I don't claim to know why this happens this is just what I did to fix my problem.
I noticed this on my gtab also, to the point my cal program wouldn't open. The only way I could fix it was to do an sd partition to it fix the issue. There are instructions on how to do that with cm8. This is from memory so please double check, go to the advanced options choose sd partition 2048/0. Please note that this wipes the sd card so back up prior.
I still get a few of those weird files buy not like before.
same thing happened to me but hasn't come back after
re-partitioning with cwm ... maybe that is the fix
I would *really* like to know why this happens (that and why
the sdcard2 gets wiped out sometimes).
Basically, you dare not trust android with any important data
and you never know if what's on it will disappear suddenly
Unfortunately, this makes the tablet just a toy
So is the best option really just to re-partition the sd card?
If I end up re-partitioning, will I have to flash the ROM over again? Or does partitioning just remove the user data?
Quote: will I have to flash the ROM over again?
No
Hello
I would like my Android device encrypted, as it contains sensitive data. I'm currently on cm-9.0.0-rc1-tinystream-hephappy-p500 (RC1-Rev.B). Now, here is what happened:
- To encrypt internal
I went to Security in System Settings and touched "Encrypt Device". It gave some confirmations and I've accepted them however, now I'm kind of stuck on this screen.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
My first thought was "it is encrypting". But after hours of waiting, I wanted to check if it's done already. So I clicked the power-button once (just to unlock) and it asked for my password. I've entered it and it just went into my normal launcher. I've checked if anything had changed and no, my device has not been encrypted. Any logs somewhere? Any ideas what could have caused the problem?
- To encrypt SDcard
I did some research and didn't find something perfectly for my needs. Anyone has any idea on how to encrypt an SD card to properly work together with Android?
Note: I am using LINK2SD.
Thanks for your help
Another question that actually has nothing to do with my previous post that I post here because it's not worth a new thread: every time I plug in my phone into the charger, it boots automaticly. I don't want that, my previous build of CM9 did just recharge without booting, something I prefer. Any way to configure that?
Another question I want to add to the this thread: is it possible to combine a password lock and a slide lockscreen? Like when I encrypt the phone to enter a password to decrypt it again and then just use the normal slide lockscreen to unlock it each time after the decryption?
One last question: is there any way to encrypt the SQL database in Android? As it contains sensitive data... I've read something about SQLCipher but it doesn't get to work (any help would be appreciated).
Thread can be removed. Problems already solved. Discussion about security here: http://forum.xda-developers.com/showthread.php?t=1790964
And for the charging problem: http://forum.xda-developers.com/showpost.php?p=29217540&postcount=1787
Hello all,
I've been flashing rooms on the phone for quite a while now, but last weekend i flashed a new CM14.1 ROM onto the phone with the new GAPPS with it. Before doing this i ofcourse wiped the needed partitions in order for them to work right. However, since i've done this and flashed the new software, the phone doenst have access to the internal storage while being booted into the system (OS)..
When i boot into TWRP, i have full access to the internal storage and i'm able to create new folders and copy/cut/paste files onto it. Down here, you see i've created a new folder using the PC while its booted in TWRP.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
When i try to do this while its booted in CM14.1 (android 7.1.1, but i think any ROM i'd flash) this happens:
To translate this from Dutch to English: "The new folder couldn't be created on this location. The device isn't responding anymore or the connection has been lost".
When i browse to the internal storage through the OS itself, it does show up. However, i dont have any access to create new folders or files or to change them:
Also when i try to take a picutre using the camera, it says this:
Even when i enable developer options and giving root to both apps and adb, it still doesnt have the required access to perform these actions:
Also going to the gallery, it says that there is no storage available:
I also looked up some info about the partition, which might be useful for those who have some knowledge about this.. This is what i found using the app "Diskinfo":
And i also used the commands ls -l to show the permissions of the /data/media/(and)0/ to see what rights are giving out:
As you see here, the app itself didnt have access to go to the storage location untill i gave it "su" rights. Does this mean the entire OS doesnt have access to this location because it simply doesnt have the right permissions for it?
If anyone has any suggestions or wants to help me figure out what is wrong, please feel free to reply here or through a PM. It would be highly appreciated.
///Edit
After searching around on the web i came across a post where someone said that running the TWRP advanced option "Fix Context" would reset all permissions that you normally dont do yourself. So i've ran that, it ran for like 0.5 second before being finished. After rebooting the phone into the system (OS/Android) all problems were solved and permissions were set right.
Therefore my problem is resolved now, and this topic could be closed ^^
Hello everyone...
I find the phone with the non-working tuch ..
From the recoveri mode I managed to make a complete backup of the phone on sd and generated these 3 files:
userdata_20160101_000035.backup
userdata_20160101_000035.backup1
userdata_20160101_000035.backup2
is there a possibility to extract the content ???
I would be interested in contacts.
I state the phone is a Majestic
Thank you.
recovering contacts is not easy. you need SQLite Forensic Explorer to view the database file. the database is separated in many different tables, each table has a column "raw_contact_id" which contain always the unique id-no of contacts (one table contains phone nos, another table contains names, etc... you must query tables by id).
once you have extracted the backup, the file "contacts.db" is located "/data/data/com.android.providers.contacts/databases/"
from the backup I made, how do I extract the contacts.db file ??
remove the checksum(s) and merge the files. you need linux
don't be scared, i will explain you step by step. first step: do you have linux? if yes, press CTRL + ALT + T this is the terminal where you can do it. if no, please download unetbootin and prepare a bootable usb stick. you can run ubuntu on your pc without installing. don't hesitate to ask if you need help regarding unetbootin
scacco728 said:
finally I was able to understand something of the terminal in place ..
I move to the folder where the files are, I open the terminal I enter the commands and I generate this error .. why do you think ???
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
"dd" does not accept wildcards. press <TAB> instead of * for word completion. you must type the full file name. remove the stars in this example code.
edit: i will answer in this thread, because this are linux basics. so lets open a "beginner" thread here, and leave the other thread open for more advanced questions. finally, your goal is to extract contacts, what we should not discuss in main thread
Hi,
using the Hisense A5. A family member was using the phone and put in a passcode that they forgot.
I am unable to get far enough into the phone to enable USB Debugging.
I am able to get the phone into recovery mode (using power-on, volume down). which is the "Vision" recovery system.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I cannot speak or read simplified chinese. Because the Hisense A5 has an eInk screen, I was able to scan the screens and upload it to an OCR site that could convert the image into characters. Then I could use google translate.
Anyway. I chose the first option which is "Recovery".
The screen I get is the following.
Using google translate. I can make out that the first choice is "Reboot", second choice is "Delete user data" and the third choice is "Update system".
I have tried the "Delete user data", and I can seem to make it work. But after the phone reboots, the passcode is still there.
The only other possibility I have is the third option which is "Update System". If I choose that I get the following option.
As you can see, the only thing I am able to do is to get the recovery system to to somehow load the file "update.zip".
I have tried the commercial passcode remover iMyPhone, but it didn't work.
If someone had some ideas, I would really appreaciate them. I am very much stuck right now.
If you don't mind losing data then you can simply reflash your device.
Download the actual chinese Firmware from here
https://forum.xda-developers.com/showpost.php?p=82583733&postcount=28
Follow this guide to re-flash the downloaded Firmware from a microSD
https://forum.xda-developers.com/showpost.php?p=82575517&postcount=21
Hi JLowe, a very big thank you.
I was able to download the firmware. (Took a few attempts, but I got there in the end), and have it installed.
Right now, I'm trying to work out how to put the phone into debugging and put on some other ROMS. Similar to what others have done.