Recover encrypted data via ADB? - Galaxy S6 Edge+ Q&A, Help & Troubleshooting

This topic was dead, and the challenge of recovering encrypted data is not device specific.
So I moved it to the General Troubleshooting area.

Related

[Q] recently unlocked S5 can't register to any networks

Hello, I've had my s5 for a while on a Vodafone contract with no problems. The phone was rooted and had a custom recovery. I recently got it unlocked from a local shop due to moving contracts and now since then the phone will not connect to a single network. I have tried 3 different sims from different networks and all the same result. I flashed to stock again and no help. My device status reads:
Network: unknown
Mobile Network type: unknown
Service state: out of service
Mobile network state: disconnected
Phone number and IMEI are correct.
Dialling *#06* shows my correct IMEI. I can't get into any service menus due to no root now, and my EFS folder appears empty
Any help will be useful, thank you
Was root broken by the unlock? A SIM unlock shouldn't break root. First try wiping your system cache from recovery mode. If the problem persists, then your best bet would be to restore your backup which will certainly resolve your issue and let you proceed from a stable position. If you don't have a backup, what the hell? Why wouldn't you be making backups?
As (a much less desirable) alternative, make a backup at this point or at least save any important files or photos. Then temporarily install a 100% stock ROM followed by a factory data reset. This is to rule out software issues other than EFS. If your phone now works, then it was a matter of a broken root or conflicting settings.
If you still have problems, then you need to provide a lot more information if you want good advice. We can't see your handset so if you don't give us a lot of details all anyone can do is flail around in the dark and make guesses. Try your SIM card in another unlocked phone to confirm that it still works. Confirm that you wiped your system cache and tried a factory data reset. And tell us step by step what you've tried so far.
.
fffft said:
Was root broken by the unlock? A SIM unlock shouldn't break root. First try wiping your system cache from recovery mode. If the problem persists, then your best bet would be to restore your backup which will certainly resolve your issue and let you proceed from a stable position. If you don't have a backup, what the hell? Why wouldn't you be making backups?
As (a much less desirable) alternative, make a backup at this point or at least save any important files or photos. Then temporarily install a 100% stock ROM followed by a factory data reset. This is to rule out software issues other than EFS. If your phone now works, then it was a matter of a broken root or conflicting settings.
If you still have problems, then you need to provide a lot more information if you want good advice. We can't see your handset so if you don't give us a lot of details all anyone can do is flail around in the dark and make guesses. Try your SIM card in another unlocked phone to confirm that it still works. Confirm that you wiped your system cache and tried a factory data reset. And tell us step by step what you've tried so far.
.
Click to expand...
Click to collapse
Thanks for the reply, I will describe as best I can what is happening:
Firstly as the phone rebooted from the unlock I could not register to any networks. Root was still there and TWRP also . I restarted the device, and nothing happened. So next I tried a different aim and still I have no network. Both aims work in another phone. I did what you mentioned next and restored a backup and still no fix.
I tried factory resetting and wiping the cache and again, no fix. Then I flashed the stock firmware through ODIN which had no effect either.
If I use the sim in another handset then return to my s5 with it on first boot up it registers to EE and pulls a signal with no Internet, then quickly unregisters to emergency calls only.
Thank you for your help, I will give any info about the device that you need.
fffft said:
Was root broken by the unlock? A SIM unlock shouldn't break root. First try wiping your system cache from recovery mode. If the problem persists, then your best bet would be to restore your backup which will certainly resolve your issue and let you proceed from a stable position. If you don't have a backup, what the hell? Why wouldn't you be making backups?
As (a much less desirable) alternative, make a backup at this point or at least save any important files or photos. Then temporarily install a 100% stock ROM followed by a factory data reset. This is to rule out software issues other than EFS. If your phone now works, then it was a matter of a broken root or conflicting settings.
If you still have problems, then you need to provide a lot more information if you want good advice. We can't see your handset so if you don't give us a lot of details all anyone can do is flail around in the dark and make guesses. Try your SIM card in another unlocked phone to confirm that it still works. Confirm that you wiped your system cache and tried a factory data reset. And tell us step by step what you've tried so far.
.
Click to expand...
Click to collapse
Thanks for the reply, I will describe as best I can what is happening:
Firstly as the phone rebooted from the unlock I could not register to any networks. Root was still there and TWRP also . I restarted the device, and nothing happened. So next I tried a different aim and still I have no network. Both aims work in another phone. I did what you mentioned next and restored a backup and still no fix.
I tried factory resetting and wiping the cache and again, no fix. Then I flashed the stock firmware through ODIN which had no effect either.
If I use the sim in another handset then return to my s5 with it on first boot up it registers to EE and pulls a signal with no Internet, then quickly unregisters to emergency calls only.
Thank you for your help, I will give any info about the device that you need.

[Q] Recover Pictures - PIN locked - Please Help

Hello,
I have an i337 that is PIN locked and unfortunately the owner has passed away. The family of the owner has asked me if I am able to retrieve the pictures off of the device for them, but they do not know the PIN. Sadly, there is not an SD card, nor a Google account (I can enter the password incorrectly indefinitely without being prompted), and I am unable to get any information by attaching it to my PC. As far as I am able to tell the phone is stock and not rooted. Booting into recovery shows me KOT49H.I337UCUFNC1. If there is any more information I can provide, I am unsure where to find it. I've done a few searches but haven't found anything that works for me. One of my thoughts was trying to find a rom to flash with Odin that doesn't wipe the internal SD card, but I can't seem to find one for this device, if such a thing even exists. If anyone has any experience bypassing a PIN without losing data or has any suggestions that would be of help in this particular situation I would be greatly appreciative.
Thanks,
Kylor R

[Q] Is it possible to wipe data on a specific password?

I have been looking online at the android development forums and realize it is possible to have your phone wiped after a specific amount of failed attempts but I am wondering if it would be possible to have a specific password that will automatically call for the wipe function?
I apologize in advance if this is the wrong place to ask this and any help would be appreciated.

[Q] EFS / IMEI / Network Issues, unable to find an answer

Long story short, a week ago I tried to encrypt a new rom and the rom did not show the encryption process, and after 3 hours I thought something went wrong and rebooted it. This is where the problems started. I obviously corrupted my EFS.
I tried installing stock firmware from sammobile, several different versions, and none worked. I looked through dozens and dozens of threads on here, and other sites, and found various solutions for EFS problems but everything entailed making a copy of the EFS and restoring it. Before I found these, I tried something else (I can't remember what), and apparently destroyed my EFS and was stuck at bootloader. After a lot of research I found a thread on here, for recreating the EFS partition, which allowed me to boot my phone into Android again, except it is stuck in factory mode. Network was still not working, IMEI was still wrong. After flashing a new modem, my phone detected my simcard, shows network detected, I can choose my APN and network, but network is still not working. No data, no sms, no calls. I've flashed several different stock firmwares again, and phone is still in factory mode, and IMEI is still on 0049. Factory reset and everything, wiped cache, flashed latest TWRP. I installed root browser, and it is showing the necessary files and folders in the EFS folder. Oh, and knox has been tripped, so no official firmware upgrade through Kies.
Before someone suggests sending phone in for repairs, or giving up hope, the fact that flashing the modem has gotten the phone to recognise the simcard and my carrier details, that must mean that there is some solution. Question is, what is the solution? I have gone through more threads than I can count with regards to EFS corruption and such, and I have searched for a solution to the problem but I have not found anything yet. There are no original EFS backups on my phone, and the only equipment I have are my laptop, Odin, and the internet. There aren't any service centres nearby either, which means my phone would need to be sent in for repairs, which can take anything from a week to a month. Does anyone have an idea on how to solve this problem? I can't imagine that I am doomed, considering the progress I have made.
Well, your main problem is this: The IMEI is NOT in the EFS folder, because the nv_data.bin file that used to be located in that folder was moved to a hidden partition on the device at some point during the lifetime of the S4. So even if you backed up the EFS folder you'd still be out of luck. A more comprehensive tool like Wanam's EFS Backup tool would have helped, since it not only does a backup of the EFS folder but the hidden partitions where the modem, its backup, and several other crucial pieces of information are stored, including the IMEI.
That said, there may still be hope for you. Attempt to flash your ROM through Odin, but also use a PIT file for your device, which can be found on the forums. It will recreate your partitions, and in doing so may resurrect your IMEI. However, if that does not work, you will have no choice but to send the device in for service.

No IMEI with no way to restore. Advice please.

I somehow erased my IMEI (it shows 0 in Settings) after flashing custom ROMs. I have no way to restore it as I did not backup the efs partition and I can't find the box for the phone with the IMEI sticker on it. I wiped modemst1 and modemst2 but that didn't change anything. I still have service but I'm worried I might get into legal trouble for using a phone without an IMEI. I also can't send it to ZTE as I can't be without a phone for days/weeks. Should I keep the phone or get a new one?
Odd that you still have service... I would keep using it.
same thing here on two boards. no luck with service on either, though. (Tmobile) both have no imei, no serial. fortunately, i have another DD axon and 1 body to test and work on the two boards. the best theory i have is to use QPST to backup .qcn and restore it. i feel like imei and serial are stored in the qfuse system. i cannot, however find a detailed answer on how to do that aside from videos and posts here and there that claim CDMA workshop ($100) will fix/restore it. my belief is that there is a function within qpst and qfil to do this, but i cant get my handset booted and recognized in a mode that allows such. there is also the lack of detail on how to boot into diagnostic mode (which i thought was EDL, but that doesnt work). really, i wish someone from ZTE would just say here is the factory image file (not edl, the whole emmc flash file) and this is how you flash it. Wishful thinking, i know.
so in a strange twist of events, restoring my efs backup reflashing b35 edl, despite it breaking touch, wiping data and flashing b29 edl (which restored my touch) netted me my IMEI back. i dont know why, but it did. finally. month long task finally back.
@bkores did you figure it out?
EDIT: i finally restored mine. took updating to b35 and wiping internal to register again for some weird reason. but its back.

Categories

Resources