Hi.
I need guidance on how to decrypt and mount my phone's encrypted "sdcard" storage so I can take a backup. (Alternatively, I would like some form of statement saying that even if I dirty flash, and then log into my Google account, I would be able to access my encrypted data. I doubt this is possible; I believe encryption to be unique per installation.)
My beloved OP5 was beginning to get sluggish (and sometimes wouldn't store photos I would take without having unlocked the phone), so after ~1.000hrs uptime I rebooted it. And now, it's stuck at "Phone is starting" displayed over my lock screen wallpaper. It can't seem to get past this stage, it will stay that way even if left overnight. My daily alarm seems to function normally, and I can access the notification drop-down -- and through that the Settings app.
It's running OxygenOS 10.0.0, with the latest OTA update. It is rooted and has the latest TWRP recovery and Magisk (solely for root, no Magisk modules installed).
Through the Settings app, I can see that the Default App registered for "Home app" is "None" -- wtf? Clicking it gives me no options (pretty much just a blank screen), although there is the stock launcher as well as ADW launcher (which I prefer, and had as default prior to the reboot).
I have tried wiping the cache and Dalvik. I have tinkered with turning lock screen settings (code, pin, pattern, etc) on and off, but found that anything other than the pattern would not allow me to access TWRP because that one either shows a pattern input, or a password input that accepts neither a pin, a password, nor my Google password. That is to say, using the pattern code, I can make full use of TWRP but apparently to no effect.
I have read that a factory reset "should" fix this, but I am running with an encrypted file system and thus I cannot simply make a data dump from TWRP. Also, although I can access the "USB preferences" setting (which I have set to default to "File transfer" anyhow), I cannot get it to mount on my Linux workstation (which has not been a problem before) -- I do get a device named "20160907_11062618" with the autorun.inf and such files, but the "OnePlus" device will not mount via MTP.
What else can I try to recover my encrypted data, before I inevitably re-flash this device? Can I use fastboot to decrypt and mount the phone's "sdcard" storage on my workstation, if so with which commands?
Ahr well ... I did not find any way around this...
I did a factory reset ---losing all my encrypted data in "/sdcard"--- and started over.
Related
Hi,
My kids accidentally locked the phone with a password that he cannot recall after locking it.
Now the phone is password locked. Is there any way to unlock it? I was informed by Samsung Service Center that only way is to format the phone to factory default but all data will be lost which I have pictures in the phone which has not been back up.
Any suggestion to get the phone unlock?
Unlock your phone
You can do a factory reset in the recovery, trust me, your data like photos and musics ... (external and internal memory) won't be deleted but your apps will (data apps too like saves in the games). I hope that I helped you.
Bye
playnote said:
You can do a factory reset in the recovery, trust me, your data like photos and musics ... (external and internal memory) won't be deleted but your apps will (data apps too like saves in the games). I hope that I helped you.
Bye
Click to expand...
Click to collapse
Internal memory will be wiped completely (apps, their data, settings and all files on the internal storage). External storage (microSD) will not be touched.
I have no suggestion about the password though. I am not sure about password, but PIN security does have the option to unlock via Google account if certain wrong guessing threshold is reached.
Yes you can !
I already did it after i forgot my PIN on the Lockscreen. You just need to wipe the lockscreen-options .config file with adb
Try to google this keywords
If you have USB debugging enabled its possible yes
Hook up your phone to your computer, after you've downloaded and installed the "Samsung USB Drivers for Mobile Phones.exe". Download adb.exe and call it from your command prompt/console, like this:
Code:
cd c:\adb-fastboot
adb devices
If it shows a device with a long ID attached to it, you're in luck!
If you are rooted, you can bypass the screen lock.
If you are not rooted, you can still copy your photos.
To get the photos, use the "ls" command and "adb pull" to browse through your device and copy files and pictures back to your computer. Instructions for that
You can also use "adb backup" to retrieve all files, all app data, and even apks from the phone.
If you don't have the long ID, try rebooting to recovery mode and run "adb devices" again. Otherwise try another computer.
To bypass the lockscreen, use this command:
Code:
adb shell
rm /data/system/gesture.key
If you still can't get your computer to connect (USB Debugging disabled), you're still in luck if you have a Google account linked on the phone and an Internet connection. Download this Play app to your phone from a desktop to transfer your pictures to external storage. You'll need your notification drawer accessible I believe.
(Hopefully this is the right place.)
Those who have installed @hsbadr's CM13 port for the 910V might have found that fingerprints can't be deleted from Settings. Well, after not finding much on Google and having to resort to searching my filesystem, I believe I have found the two files that deal with fingerprint data and configuration. Since there seems to be nothing online about this, I want to share what I did.
To remove fingerprint and lock data, delete these two files:
Code:
/data/validity/template.db
/data/system/users/0/settings_fingerprint.xml
Reboot once they've been deleted, and then set up your lock settings again.
I was in a situation where I had only deleted template.db. That just screwed everything up and made it so I couldn't even set a pattern or PIN unlock without Settings crashing. Deleting the second file as well fixed it for me.
It could also be helpful to delete /data/system/locksettings.db, but I'm not entirely sure if it will have any effect other than resetting every setting under Lock Screen.
im doing automation testing on a samsung galaxy s6 sm-g920t and for my automation tests to run efficiently i need to delete the setup wizard that is prompted when booting up a phone after a factory data reset
i installed root explorer pro after rooting the phone and went to system/priv-app/SecSetupWizard2015 and deleted the SecSetupWizard2015 folder
after that i factory data reset the phone, waited for it to turn on, and then went to tap build number to activate developer options
but after tapping build number rapidly no message showed up confirming that developer options was enabled
after further observation i ran into a prompt that said "developer options are not available for this user"
this was not the case before i deleted the SecSetupWizard2015 folder in root explorer pro
the setup wizard is a big obstacle in the way of my automation tests ability to run efficiently, i need the phone to boot up to the home screen even after a factory data reset no matter what
can anyone help out?
What exactly happens on the phone when factory resetting?
I recently installed an apk that I eventually found out to be virus/malicious scripts. :crying:
I've been decompiling the app and can see that it changes WebView settings, adds on screen press actions and keyloggers, grants access to internal and external storage, adds files to /data/data and much more.
From what I understand in the code it also added a checker that checks for boot completed commands to run scripts on phone startup.
I noticed after having installed the app that a grey screen popped up all the time interfering with what I was doing, but since uninstalling the app and factory resetting my phone that doesn't happen.
I'm afraid some scripts like the keylogger and files in /data/data might still be there.
Does a normal factory reset in recovery mode fix this or do I need to reflash the original samsung software?
My phone is not rooted and bootloader is still locked.
mattan1999 said:
What exactly happens on the phone when factory resetting?
I recently installed an apk that I eventually found out to be virus/malicious scripts. :crying:
I've been decompiling the app and can see that it changes WebView settings, adds on screen press actions and keyloggers, grants access to internal and external storage, adds files to /data/data and much more.
From what I understand in the code it also added a checker that checks for boot completed commands to run scripts on phone startup.
I noticed after having installed the app that a grey screen popped up all the time interfering with what I was doing, but since uninstalling the app and factory resetting my phone that doesn't happen.
I'm afraid some scripts like the keylogger and files in /data/data might still be there.
Does a normal factory reset in recovery mode fix this or do I need to reflash the original samsung software?
My phone is not rooted and bootloader is still locked.
Click to expand...
Click to collapse
A factory reset restores a device to it's original software configuration. Any software customization is overidden in this process. Custom Scripts and Keyloggers are scrubbed, you don't need to flash the original firmware.
unless you somehow have your /system mounted and writable (which is unlikely possible) and that particular malicious app put something there, you are safe after a factory reset as it will wipe all your /data/data /storage /cache etc.
if you're still not sure just flash the whole original firmware
Hi, I flashed OrangeFox recovery and Pixel Experience 10 Plus, everything works but the encryption does not.
Altough it is enabled and asks for password I can see the names and content of all files in OrangeFox explorer even without putting the password in and decrypting first.
ro.crypto.state is encrypted and ro.crypto.type is file , fstab contains fileencryption=ice, setting it to aes-256-xts results in a bootloop.
What is going on? How do I really enable encryption?
I figured it out. Follow these steps exactly as described and carefully.
1. Backup your data either on apps or internal storage.
2. Remove pin/screenlock from your device.
3. Reboot to orange fox recovery.
4. Format data by clicking on the trash can icon, then typing yes on the confirmation (DO NOT USE MANAGE PARTITIONS FOR DATA WIPE)
5. Go to the advanced menu, click manage partitions but only tick cache & system.
6. Flash ROM.
7. Format data using the trash can again.
8. Reboot. Now, encryption will be working. If you boot into recovery and don't type the password, all the data will be random numbers & letters.