[Q] Encrypted device on new ROM - T-Mobile Samsung Galaxy Note II

Phone was rooted and running CM10.2 nightlies just fine. I had to encrypt my phone for work email, no issues. I now want to change ROM's to a TW because of WiFi Calling.
So here is what I did:
- I did a TWRP (2.6.3.1) backup before starting
- Advanced Wipe Dalvik/Cache/System/Data/Internal Storage as well as Format Data to remove encryption
- Downloaded SWARMROM, flashed ROM, Modem, SuperSU.
Flash went good, rebooted with T-Mo splash and boot animation. Before I can do anything, I get a prompt to "Enter your PIN or password to use the encrypted device memory". My old password doesn't work and it won't let me in. All I can access is Emergency Call.
I have even formatted my external drive thinking it might be what is still encrypted, re-ran the install process, but same result.
I did trip the KNOX counter somehow, if that matters.
Any advice?

Go back into recovery and restore your backup, reboot and remove encryption, use titanium backup for app data
Sent from my SGH-M919 using xda app-developers app

mrhughy said:
Go back into recovery and restore your backup, reboot and remove encryption, use titanium backup for app data
Sent from my SGH-M919 using xda app-developers app
Click to expand...
Click to collapse
The backup doesn't have encryption. But there is somewhere on the phone that a Stock ROM is detecting encryption from. I can go to any Cyanogenmod 10.2 ROM, but not a Stock or even OMNI.

Finally got it.
ODIN root66 Stock ROM, reboot to encrypted error. Boot into factory recovery and wipe/factory reset, then wiped cache for good measure. Rebooted and it came up without the encryption prompt. Let the WiFi Calling commence.

St Veronus said:
Finally got it.
ODIN root66 Stock ROM, reboot to encrypted error. Boot into factory recovery and wipe/factory reset, then wiped cache for good measure. Rebooted and it came up without the encryption prompt. Let the WiFi Calling commence.
Click to expand...
Click to collapse
You saved my arse today, THANK YOU! I have been out of the flashing game for some time now so I was getting stuck when I had the same issue as you, but thankfully, now it's back to normal, phew!

Related

lost root after factory data reset!

So i did the factory data reset and when I restarted the phone my root access was gone.
So I guess I have to re root the phone again.
solentdan said:
So i did the factory data reset and when I restarted the phone my root access was gone.
So I guess I have to re root the phone again.
Click to expand...
Click to collapse
You can flash the rooted kernel with CWM and I think it will be rerooted and you won't have to replace the ROM.
This would be a good opportunity for you to make a cwm flashable backup of the stock rom, since I don't think anyone has yet.
Sent from my SAMSUNG-SGH-I927 using Tapatalk
eggwolio said:
This would be a good opportunity for you to make a cwm flashable backup of the stock rom, since I don't think anyone has yet.
Sent from my SAMSUNG-SGH-I927 using Tapatalk
Click to expand...
Click to collapse
I have a back up of my stock ROM via the backup function of CWM but it has my personal stuff in it. If he just did a factory reset and has no root, he can make a clean backup of the stock ROM but I'm not sure if his back up would work across phones but I don't see why it wouldn't. The important things to back up would be system and data but not cache.
I had a backup of my stock rom via cwm thankfully but I had to re root my phone and also I had to reinstall CWM all over again.
I will definitely not be using the factory data reset feature anymore.The only reason why I even used it was cause the storage space on my phone was showing incorrect numbers and every time I tried to reinstall the stuff that was on it before it keep telling me i was out of space.
After clearing the internal storage space everything came back to normal but my root was gone and CWM to.
But everything is good now.
Thanks guys!

What could be causing bootloops on AT&T SGS3?

Hello,
I am from the i9300 forum. My GF has a SGH-i747. When she updated it to official Jelly bean using Kies, all seemed to go well but then when she booted up to her home screen the phone would reboot. It would continuously do this over and over again.
So we had to use KIES to do a complete format of the phone and reboot it. This deleted everything and made it factory brand new again. This is that option where you have to type in your serial number into kies to do the emergency firmware recovery.
Well a few months went by and today while my GF was using her phone it froze and rebooted. It is now stuck in the bootloop. I don't understand why this is happening. She doesn't have the phone rooted nor has she flashed anything on it. I'm not familiar with the SGH-i747 so I'm not sure if this is a common bug that has been addressed for fixed.
Please help, my GF needs her phone for work and she's a few miles away from me. Any help or advice would be appreciated.
SlimJ87D said:
Hello,
I am from the i9300 forum. My GF has a SGH-i747. When she updated it to official Jelly bean using Kies, all seemed to go well but then when she booted up to her home screen the phone would reboot. It would continuously do this over and over again.
So we had to use KIES to do a complete format of the phone and reboot it. This deleted everything and made it factory brand new again. This is that option where you have to type in your serial number into kies to do the emergency firmware recovery.
Well a few months went by and today while my GF was using her phone it froze and rebooted. It is now stuck in the bootloop. I don't understand why this is happening. She doesn't have the phone rooted nor has she flashed anything on it. I'm not familiar with the SGH-i747 so I'm not sure if this is a common bug that has been addressed for fixed.
Please help, my GF needs her phone for work and she's a few miles away from me. Any help or advice would be appreciated.
Click to expand...
Click to collapse
Might've to get in recovery (hold vol up+home+power), clear cache, reboot.
If that doesn't work, back in recovery and factory reset, then reboot.
BWolf56 said:
Might've to get in recovery (hold vol up+home+power), clear cache, reboot.
If that doesn't work, back in recovery and factory reset, then reboot.
Click to expand...
Click to collapse
Yeah, I tried all that. I managed to back up her data so maybe we can restore her apps and information later. But this is similar to last time. I had her factory reset it, wipe cache, wipe dalvick, format system and format data.
We then followed by restoring her backup but the problem still persist. I might need to flash the stock ROM.
Could Fix Permissions fix the problem? It seems that the phone boots up to the home screen. While loading files, something at this point is causing it to bootloop. It will freeze after a few seconds and then reboot and repeat the problem.
Something is definitely conflicting within the first 30 seconds of booting up to the home screen. Any ideas?
SlimJ87D said:
Yeah, I tried all that. I managed to back up her data so maybe we can restore her apps and information later. But this is similar to last time. I had her factory reset it, wipe cache, wipe dalvick, format system and format data.
We then followed by restoring her backup but the problem still persist. I might need to flash the stock ROM.
Click to expand...
Click to collapse
Debloated stock ROM might be a good idea. When restoring, you might be bringing the problem right back. It should be very minimal (the needed stuff that you can't simply re-download or re-setup) to avoid issues coming back.
BWolf56 said:
Debloated stock ROM might be a good idea. When restoring, you might be bringing the problem right back. It should be very minimal (the needed stuff that you can't simply re-download or re-setup) to avoid issues coming back.
Click to expand...
Click to collapse
I edited my post above about fixing permissions.
But this is very similar to what happen last time. I had wiped factory reset, wipe cache, wipe dalvick, format data and system, installed fresh new ROM and that boot looped too.
It took KIES emergency firmware recovery (where you have to type in your serial number) to fix the problem, but everything was deleted even the internal SD card.
SlimJ87D said:
I edited my post above about fixing permissions.
But this is very similar to what happen last time. I had wiped factory reset, wipe cache, wipe dalvick, format data and system, installed fresh new ROM and that boot looped too.
It took KIES emergency firmware recovery (where you have to type in your serial number) to fix the problem, but everything was deleted even the internal SD card.
Click to expand...
Click to collapse
I doubt fixing permissions will change much but could try it.
From the way you describe it, it sounds like a app or some bad data. Is she using a external SD? If so, try booting without it. If not, my guess is that there's a rogue app or something corrupted her data.
BWolf56 said:
I doubt fixing permissions will change much but could try it.
From the way you describe it, it sounds like a app or some bad data. Is she using a external SD? If so, try booting without it. If not, my guess is that there's a rogue app or something corrupted her data.
Click to expand...
Click to collapse
Thanks. Yes she's using an external SD card. I will have to get a hold of her phone and see what's going on. The first time it happened was because we upgraded to Jellybean. it happened right after so I don't think it was a rogue app. This time she just pulled her phone out of her purse and noticed it boot looping. Something sounds wrong with her phone... I think we might need to send it back for warranty repair.
Okay I need help. I have discovered the problem and it is the SUPERUSER app. When Superuser was updated it caused my GFs phone a boot loop.
Now that I put fresh rom and cleared everything her phone was working. But the moment I rooted the phone itboddly didn't come with SU, so upon installing SU nothing could access SU for some odd reason. So I found out you need a SU for Jelly Bean, upon installing this version of SU is when everything went to he'll and the same boot loop came back.
Sent from my GT-I9300 using xda app-developers app
SlimJ87D said:
Okay I need help. I have discovered the problem and it is the SUPERUSER app. When Superuser was updated it caused my GFs phone a boot loop.
Click to expand...
Click to collapse
What rooting method did you use to root your girlfriend's phone?
If I'm not wrong, most of the rooting method -- if not all -- for the SGH-i747 involve the SuperSU app instead of the Superuser app. And I believe most of the custom ROM, if you switched ROM, come with SuperSU pre-installed. If you try to install Superuser (without removing SuperSU), might that be the cause of your trouble?
Alexandre-P said:
What rooting method did you use to root your girlfriend's phone?
If I'm not wrong, most of the rooting method -- if not all -- for the SGH-i747 involve the SuperSU app instead of the Superuser app. And I believe most of the custom ROM, if you switched ROM, come with SuperSU pre-installed. If you try to install Superuser (without removing SuperSU), might that be the cause of your trouble?
Click to expand...
Click to collapse
Perhaps, I will try and fix the problem again. We just got back from a movie. Thank you.
if everything doesn't work
here's what you should do
first go look for AT&T 4.1.1 stock rom
download ODIN
go to recovery by vol up + power + home
clear cache, data and dalvik
flash stock rom thru odin.
that should fix soft brick

[Q] Cannot Unencrpyt Device

My company now requires the encrypt device policy for exchange, so I went ahead encrypted the device while running CM10. The encryption succeeded, but every time the screen timed out, it would turn off the device instead of just turn off the screen (CM10 bug?) - didn't want to have to deal with having to cold boot the device every time I want to do something, not to mention the phone being off :/
So I did a nandroid restore to my last known state and now I get prompted for the unencrypt password. However, the password doesn't work. Probably because the password file was deleted, but the system and data partitions are still encrypted.
I've tried doing a full wipe in TWRP and flashing multiple ROMs. I've also tried ODIN flashing root66 and OTA JB 4.1.1 with no success. It still asks for the unencrypt password. I suspect the only way to fix this is to completely re-create the system and data partitions.
If anyone knows how to accomplish this, I'd be grateful because I have a soft brick right now (i.e. can't get past unencrypt password prompt with any ROM)
Reflash ROM. Or if needed, factory reset + reflash xo
Sent from my Vivid 4G using Tapatalk 2
XxSHaDoWxSLaYeRxX said:
Reflash ROM. Or if needed, factory reset + reflash xo
Sent from my Vivid 4G using Tapatalk 2
Click to expand...
Click to collapse
+1
Sent from my SGH-T999 using xda premium
I have re-flashed multiple times trying the ROM I was on as well as several others without successes. They flash fine, but when the phone boots it prompts for an unencrypt password, which I don't have. I've gone as far as going a complete data wipe and when I flash again it prompts for a password.
I've tried countless factory resets without success. What is xo?
have you tried formatting the sdcard?
You might have to odin back to stock
Sent from my SGH-T999 using xda app-developers app
I tried everything:
- format SD card
- factory reset
- complete wipe with TWRP
- flashed multiple different ROMs (4.1.1 and 4.2.1)
- ODIN back to stock
- ODIN to root66
- holy water...
It still asks for an unencrpyt password - I'm ready to accidently destroy it so i can make use of the protection I pay for...
From what I'm able to gather from searching the webs, none of the above recreate the system and data partitions which are encrypted - but the encryption file is gone because of a flash or wipe or whatever and there is no way to unencrypt them now without recreating them. I'm probably wrong, but that's where I am...

Boot loop after trying to encrypt a rooted Galaxy Note 2 running on Marshmallow 6.01

I rooted this Samsung galaxy note 2 (SGT889), flashed TWRP and installed Remix Marshmallow 6.01. Everything was working smoothly until when I was trying to encrypt device. After "Encrypt device" started, it asked for a password, and very soon it enter the boot loop of "Samsung Galaxy Note II". Hours (over night!) later I have to remove the battery to stop it.
I booted to TWRP. But before the TWRP interface shows up, I was asked to enter a password, which is different from before doing encryption.
From TWRP, I wiped cache, and rebooted system. It got nowhere but the same boot loop.
With TWRP, I did a factory reset wipe of (data/cache/dalvik). Then I did a recovery to a previously saved Recovery (of Marshmallow 6). TWRP showed 100% successful, but when I reboot, it still get to the same boot loop.
Please help!! Thank you very much!
i assumed you did your backup in ext sd.
try format your phone by using twrp. wipe and then format data. this will ERASE all your data in your phone. then reboot to recovery and try restore backup / install new rom.
hope this can help you
You can try flashing back to a stock rom but you'll probably lose all of your data and apps.
mimo_s16 said:
i assumed you did your backup in ext sd.
try format your phone by using twrp. wipe and then format data. this will ERASE all your data in your phone. then reboot to recovery and try restore backup / install new rom.
hope this can help you
Click to expand...
Click to collapse
Problem solved! You are right! Format data is the key. It was scary at first, with all those warnings! But after that, I restored my backup and everything is back.
Thank you very much!
Amber156 said:
Problem solved! You are right! Format data is the key. It was scary at first, with all those warnings! But after that, I restored my backup and everything is back.
Thank you very much!
Click to expand...
Click to collapse
Im glad it worked

Phone Requests Passwort after setting security to none from pattern

Hello!
Yesterday I installed Resurrection Remix Rom and it worked great. So I configured everything to my needs including setting the security to ask for a pattern on Restart. So everything is encrypted.
After a reboot the phone kept crashing and I tried to go back to my old system. Somehow I managed to set the security to none so I can revert to my old system. I then rebooted to Recovery but in Recovery it asked me for a password. I never set a password so I don’t know what to insert in here. I tried various stuff but nothing worked. I also can’t reboot back into the system without a password. It looks like my phone is still encrypted.
Is there any way how I can decrypt my files?
Can i "convert" my old pattern into a password and this will decrypt everything?
And if I am ok with losing my data, how can I just wipe everything and install a new rom?
Thank you for your help!
easiest way to delete all your data is via twrp, select everything in twrp wipe section and execute. your phone will be completely empty now. reconnect your phone to your pc and copy paste the rom and gapps and flash.
bonham1988 said:
easiest way to delete all your data is via twrp, select everything in twrp wipe section and execute. your phone will be completely empty now. reconnect your phone to your pc and copy paste the rom and gapps and flash.
Click to expand...
Click to collapse
I was in TWRP and tried to Wipe just the Data and Cache partitions but it told me that it was unable to mount storage.
I thinkt that since don't know the password i don't have permission to mount partitions.
An0nYm3 said:
I was in TWRP and tried to Wipe just the Data and Cache partitions but it told me that it was unable to mount storage.
I thinkt that since don't know the password i don't have permission to mount partitions.
Click to expand...
Click to collapse
Have you reflashing the stock recovery and doing a factory reset? After that you can reflash twrp and delete data. You can try if that works.
Sent from my OnePlus3 using XDA Labs
bonham1988 said:
Have you reflashing the stock recovery and doing a factory reset? After that you can reflash twrp and delete data. You can try if that works.
Sent from my OnePlus3 using XDA Labs
Click to expand...
Click to collapse
So you think i can mount the data partition again after a factory reset from the stock recovery?
I will try to flash the stock recovery when i get home.
I suppose i have to flash it via fastboot?
An0nYm3 said:
So you think i can mount the data partition again after a factory reset from the stock recovery?
I will try to flash the stock recovery when i get home.
I suppose i have to flash it via fastboot?
Click to expand...
Click to collapse
I read it on xda that this process resolves the issue and yes it has to be done via fastboot in bootloader mode. Stock recovery is available on oneplus's website.
Sent from my OnePlus3 using XDA Labs
bonham1988 said:
I read it on xda that this process resolves the issue and yes it has to be done via fastboot in bootloader mode. Stock recovery is available on oneplus's website.
Sent from my OnePlus3 using XDA Labs
Click to expand...
Click to collapse
I just flased the stock recovery via fastboot and made a factory reset.
After that I could reboot back into the system without any security question.
Sadly, all data are gone, meaning it did also wipe the internal storage partition. This is a pity but I'm really glad to have my phone back.
Thank you for your support
An0nYm3 said:
I just flased the stock recovery via fastboot and made a factory reset.
After that I could reboot back into the system without any security question.
Sadly, all data are gone, meaning it did also wipe the internal storage partition. This is a pity but I'm really glad to have my phone back.
Thank you for your support
Click to expand...
Click to collapse
Good to know it worked and sorry i forgot to tell you that it would delete all your data too.
Sent from my OnePlus3 using XDA Labs
An0nYm3 said:
I just flased the stock recovery via fastboot and made a factory reset.
After that I could reboot back into the system without any security question.
Sadly, all data are gone, meaning it did also wipe the internal storage partition. This is a pity but I'm really glad to have my phone back.
Thank you for your support
Click to expand...
Click to collapse
That's what a factory reset does, it wipes /Data
ghostofcain said:
That's what a factory reset does, it wipes /Data
Click to expand...
Click to collapse
That’s right, but not always /sdcard
TWRP asks for a password even if you set a PIN.
enter your PIN - it should work.
my phone is encrypted running sultan's CM and TWRP asks me for a password when I go in, and my PIN works
2x4 said:
TWRP asks for a password even if you set a PIN.
enter your PIN - it should work.
my phone is encrypted running sultan's CM and TWRP asks me for a password when I go in, and my PIN works
Click to expand...
Click to collapse
I definitely going to try this next time.

Categories

Resources