[SM-G930W8] Custom binary blocked by FRP lock, Recovery possible? - Samsung Galaxy S7 Questions and Answers

I have a rooted G930W8 (Rogers), very similar to this old thread: https://forum.xda-developers.com/t/sm-g930w8-custom-binary-blocked-by-frp-lock.3409757/
I saw some video that said OEM unlock switch is not needed after rooting so I turned if off. And after a restart I have "Custom binary blocked by FRP lock" and the phone just shuts down.
I do have the latest stock binary and Odin to try to restore. First I would like to know if there is any way to unlock or restore without loosing phone data.
The was the stock rom, just rooted and with twrp if that makes any difference. Can restore just the recovery or the partition and loose root but keep the rest?
And finally, how can I prevent this in the future? I don't want a lock to be possible, ever again. Would FRP destroyer work for something like this? Thanks.

If you want to use costum roms, you have to wipe your phone anyway. Thats why you should do a backup before doing everything else. You can try to flash stock rom with home csc and see if its working

Thank you, HOME CSC is what I was looking for. If it works great. If I have to wipe then I can try out some custom roms.
Also, should I use FRP destroyer or something else to ensure this can't happen again. Thanks again.

HOME CSC worked great and I am back to normal. Without root obviously. Thank you.
The I downloaded the latest build here: https://galaxyfirmware.com/model/SM-G930W8/RWC/G930W8VLS8CTI1 if anybody needs it.
I haven't tried, but anybody know if I could re-root without loosing data or if full root steps including wipe. I did enable OEM Unlock without issue.

I tried and failed with any root methods without a wipe as the all lead to verity error on boot.
I did the normal TWRP wipe no-verity magisk root and restored from backup so I almost back to normal.
The only thing left is to get the right CSC to get VoLTE working.
Also, is there a way to make accidentally locking the bootloader completely impossible so it can't happen again?

Related

[Q] Bootloader unlock WITHOUT Factory reset?

Is there any method to unlock my bootloader WITHOUT doing a factory reset?
I like my phone how it is but am itching to try some other roms and see what else is out there - would be perfect if i could unlock BL, Install boot.img with CWM, then do a full rom dump so as I can just restore to EXACTLY how i like it should i feel the need to do so.
If no option to unlock without factory reset then is there another way to backup my phone in is current state and re-install when i want to?
Sorted (Kinda): http://forum.xda-developers.com/showthread.php?t=2003069

[Q] Two questions relating to fresh odin original FW flash, TWRP & encryption

I have been having a persistent issue trying to encrypt my phone's internal storage. (Samsung Galaxy S4 mini LTE (GT-I9195). I thought it might be related to me rooting the device, since I read that you can't encrypt a rooted phone.
So a few minutes ago I plucked up the courage to follow the tutorial to flash my original downloaded firmware to the phone, in an attempt to erase all trace of root. Well the phone came up and wanted my password, so I rebooted and installed TWRP via odin again, then did a factory reset and then used the wipe data option and proceeded to make a backup, assuming this would be as useful and as good as odin-flashing my original firmware back for future use and more convenient and less dangerous than using odin.
Well, after booting it up, going through the setup wizard and then adding a lockscreen password, I am still unable to encrypt the phone. It shows the green android robot, screen fades out, then very soon after that the phone reboots and it all comes back up as normal unencrypted. Bare in mind that this is still the stock firmware that was odin-flashed and then a factory reset.
After all this, what would I need to do to get the phone encryption working?
Also, is my assumption correct, that the new TWRP backup I made, after flashing the original firmware via odin, is that new fresh backup as good as flashing the original again via odin? At least in terms of the OS status? I know the recovery isn't changed by such a backup and odin wipes absolutely everything, but I think you know what I am asking.
Morthawt said:
I have been having a persistent issue trying to encrypt my phone's internal storage. (Samsung Galaxy S4 mini LTE (GT-I9195). I thought it might be related to me rooting the device, since I read that you can't encrypt a rooted phone.
So a few minutes ago I plucked up the courage to follow the tutorial to flash my original downloaded firmware to the phone, in an attempt to erase all trace of root. Well the phone came up and wanted my password, so I rebooted and installed TWRP via odin again, then did a factory reset and then used the wipe data option and proceeded to make a backup, assuming this would be as useful and as good as odin-flashing my original firmware back for future use and more convenient and less dangerous than using odin.
Well, after booting it up, going through the setup wizard and then adding a lockscreen password, I am still unable to encrypt the phone. It shows the green android robot, screen fades out, then very soon after that the phone reboots and it all comes back up as normal unencrypted. Bare in mind that this is still the stock firmware that was odin-flashed and then a factory reset.
After all this, what would I need to do to get the phone encryption working?
Also, is my assumption correct, that the new TWRP backup I made, after flashing the original firmware via odin, is that new fresh backup as good as flashing the original again via odin? At least in terms of the OS status? I know the recovery isn't changed by such a backup and odin wipes absolutely everything, but I think you know what I am asking.
Click to expand...
Click to collapse
ODIN doesn't wipe everything. Perform a factory reset via stock recovery immediately after flashing the firmware via ODIN to set your phone back to stock. And who told you that enryption doesn't work with rooted phones?!
LS.xD said:
ODIN doesn't wipe everything. Perform a factory reset via stock recovery immediately after flashing the firmware via ODIN to set your phone back to stock. And who told you that enryption doesn't work with rooted phones?!
Click to expand...
Click to collapse
I did a factory reset and deleted data and performed a new backup that I have saved to the computer.
But when I started to realise I could not encrypt I went googling and found a blog post by someone who claimed that he had to jump through all kinds of hoops to get it to encrypt after he rooted his S4 mini. But my problem is even non-rooted on default firmware with TWRP recovery installed I cannot encrypt So I am hoping someone here will have the answer.
Morthawt said:
I did a factory reset and deleted data and performed a new backup that I have saved to the computer.
But when I started to realise I could not encrypt I went googling and found a blog post by someone who claimed that he had to jump through all kinds of hoops to get it to encrypt after he rooted his S4 mini. But my problem is even non-rooted on default firmware with TWRP recovery installed I cannot encrypt So I am hoping someone here will have the answer.
Click to expand...
Click to collapse
The point is that that KNOX detects the TWRP recovery. Enryption is possible with any rooted custom rom and probably with any roms but Samsung's S4 generation and newer due to the stupid KNOX security.
LS.xD said:
The point is that that KNOX detects the TWRP recovery. Enryption is possible with any rooted custom rom and probably with any roms but Samsung's S4 generation and newer due to the stupid KNOX security.
Click to expand...
Click to collapse
Well I did get encryption working one time on a custom rom but I have no idea how I did it. What should I do to improve my chances of getting encryption working? I thought when I rooted the original rom it removed knoxx?

Encryption

A few questions about encryption on the S7:
Some threads, e.g., TWRP, refer to "Samsung encryption". Does the S7 use some sort of proprietary Samsung encryption, or does it use the standard Android encryption?
Since I have now disabled encryption after installing TWRP, can I re-enable it? If so, how?
Would FlashFire allow me to flash ROMs with encryption still enabled?
Thanks in advance.
dildano said:
A few questions about encryption on the S7:
Some threads, e.g., TWRP, refer to "Samsung encryption". Does the S7 use some sort of proprietary Samsung encryption, or does it use the standard Android encryption?
Since I have now disabled encryption after installing TWRP, can I re-enable it? If so, how?
Would FlashFire allow me to flash ROMs with encryption still enabled?
Thanks in advance.
Click to expand...
Click to collapse
1. Simply put, the method in which Samsung decrypts encrypted data isn't known
2. You can enable encryption but you must start from scratch. (As far as I am aware anyways). Means you must flash stock ROM in ODIN.
3. Not sure. You can certainly flash zips that modify /system. You can also use TWRP as long as you don't need to mount data. Switching ROM normally means a standard factory reset but if you are encrypted you can't use TWRP to factory reset and I am not sure if FlashFire can do it either.
Galactus said:
1. Simply put, the method in which Samsung decrypts encrypted data isn't known
2. You can enable encryption but you must start from scratch. (As far as I am aware anyways). Means you must flash stock ROM in ODIN.
3. Not sure. You can certainly flash zips that modify /system. You can also use TWRP as long as you don't need to mount data. Switching ROM normally means a standard factory reset but if you are encrypted you can't use TWRP to factory reset and I am not sure if FlashFire can do it either.
Click to expand...
Click to collapse
2. do you have to really start from the scratch?
http://forum.xda-developers.com/galaxy-s7/how-to/how-to-encrypt-device-custom-rom-knox-1-t3392301
3. is factory reset not just a kind of a wipe? why cant twrp just format the encrypted partitions?
I spent also several days to fully customize my S7 (cfw S7 debloated) and i am quite happy yet.
But if I lost once a phone long time ago.. So encryption is a must, root too.
I would accept definetely a non-working TWRP, if I could get an encryption?
any advices?
thx.
tefole said:
2. do you have to really start from the scratch?
http://forum.xda-developers.com/galaxy-s7/how-to/how-to-encrypt-device-custom-rom-knox-1-t3392301
3. is factory reset not just a kind of a wipe? why cant twrp just format the encrypted partitions?
I spent also several days to fully customize my S7 (cfw S7 debloated) and i am quite happy yet.
But if I lost once a phone long time ago.. So encryption is a must, root too.
I would accept definetely a non-working TWRP, if I could get an encryption?
any advices?
thx.
Click to expand...
Click to collapse
Yep, once you disable encryption in TWRP and flash the dm-verity zip, the option to encrypt the phone won't even be available in settings. In the rare case that it is, it will always fail.
Since you want root and encryption, it is pretty simple.
Flash stock rom in ODIN (Backup, backup, backup anything valuable)
Obtain root using CF-Auto Root method
Install TWRP, allow modifications, don't wipe /data
You can only flash zips from external SD card. Internal storage will be unavailable in TWRP
I did a make backups with TWRP and TitaniumBackup.
May I ask some more questions, i do want to understand the procedure.
Galactus said:
Flash stock rom in ODIN (Backup, backup, backup anything valuable)
Click to expand...
Click to collapse
I guess the stock ROM is already encrypted - is that the reason why TWRP doesnt have access to /data (as well to the internal /sdcard) till the encryption is disabled?
Obtain root using CF-Auto Root method
Click to expand...
Click to collapse
After flashing stock the bootloader is locked again, so I do have to unlock the "OEM unlock" per developer settings again? The phone wont be wiped afterwards?
Install TWRP, allow modifications, don't wipe /data
Click to expand...
Click to collapse
May i recover/restore here a formerly per TWRP backuped ROM? I guess, this want be possible, hence TWRP doesnt has access to /data, nor to /sdcard?!
Which partitions I am allowed to restore, respectively is there a chance to recovery somehow the TWRP backup (it was soo much work).
Or can i disable encryption and enable it again, after restore?
You can only flash zips from external SD card. Internal storage will be unavailable in TWRP
Click to expand...
Click to collapse
After everything went well, I am going to encrypt the ext-sdcard too. I guess, TWRP will be useless then...
tefole said:
I did a make backups with TWRP and TitaniumBackup.
May I ask some more questions, i do want to understand the procedure.
I guess the stock ROM is already encrypted - is that the reason why TWRP doesnt have access to /data (as well to the internal /sdcard) till the encryption is disabled?
After flashing stock the bootloader is locked again, so I do have to unlock the "OEM unlock" per developer settings again? The phone wont be wiped afterwards?
May i recover/restore here a formerly per TWRP backuped ROM? I guess, this want be possible, hence TWRP doesnt has access to /data, nor to /sdcard?!
Which partitions I am allowed to restore, respectively is there a chance to recovery somehow the TWRP backup (it was soo much work).
Or can i disable encryption and enable it again, after restore?
After everything went well, I am going to encrypt the ext-sdcard too. I guess, TWRP will be useless then...
Click to expand...
Click to collapse
Once you flash the stock ROM, the phone is encrypted before first boot
Once you OEM Unlock, it stays that way unless you attempt to re-lock it. Once you flash a stock ROM and go to developer settings, you'll see OEM Unlock is still on
Encrypted device = No restoring of any kind in TWRP, that is the trade off. Some people use FlashFire to back up and restore. I tried once a while back and it didn't work. Others seem to be ok
If external sd is encrypted also, then your only chance is to use FlashFire. TWRP is basically useless
Galactus said:
Once you flash the stock ROM, the phone is encrypted before first boot
Once you OEM Unlock, it stays that way unless you attempt to re-lock it. Once you flash a stock ROM and go to developer settings, you'll see OEM Unlock is still on
Encrypted device = No restoring of any kind in TWRP, that is the trade off. Some people use FlashFire to back up and restore. I tried once a while back and it didn't work. Others seem to be ok
If external sd is encrypted also, then your only chance is to use FlashFire. TWRP is basically useless
Click to expand...
Click to collapse
Thx for your reply
After I flashed stock and finally customized my installation, would this be safety feature to relock the OEM? Is a relocking wiping also the whole phone or only the unlocking?
So that means, that if go through this instructeres, i cant flash any CFW, neither i cant restore my TWRP backup?
Thats a pitty.
tefole said:
Thx for your reply
After I flashed stock and finally customized my installation, would this be safety feature to relock the OEM? Is a relocking wiping also the whole phone or only the unlocking?
So that means, that if go through this instructeres, i cant flash any CFW, neither i cant restore my TWRP backup?
Thats a pitty.
Click to expand...
Click to collapse
If you try to relock OEM, your device won't boot lol. I learned that the hard way months ago. Had to start from scratch.
What custom firmware are you trying to flash? If you mean custom ROMs then theoretically speaking you should be able to flash them using FlashFire.
Thank you for the hint - this will me spare the fate
I chose S7_extreme_debloated from @Battlehero.
I am quite happy with that CFW and i thought, i can install my apps and customize the system and start the encryption - didnt worked.
So, I will begin from the scratch too. It would be great, if I could start with this CFW after, flashing stock.

Best way to unroot and factory reset my Samsung Galaxy Note 4?

My problem is very simple at its core and I find myself resorting to extreme solutions such as factory reset to solve it. However, I am okay with this. I would like to know the best way to unroot and factory reset my Note 4 SM-N910U.
What follows is the original story and my attempts to fix it. It's rather long, so if you would like to skip this section there is a tl;dr at the end.
Originally, I had found myself unable to login to the app Snapchat because they had gone to extreme lengths to lock out rooted users (an infamous fact on online discussions).
A popular solution for this would've been to install the Xposed Framework with RootCloak to hide Root from Snapchat - this is where my first problem came along.
My Android phone is encrypted.
This means that I could not use TWRP to flash the Xposed Framework zip (because TWRP for my device does not support encryption, thus could not read /data directory.)
I tried using FlashFire to skip recovery and got the same result - /data encrypted.
I tried to flash with CWM to see if it would support decryption of /data partition, but CWM isn't even compatible with my device.
At this point I was running out of things to try (I had been after this problem for about three days) and I decided to just kick the bucket, unroot and factory reset, because apparently the only way to undo data encryption on Android is to delete everything .
Apparently, even this would be a challenge. To factory reset a rooted device, you apparently need a stock ROM.
I tried looking for stock ROMs for SM-N910U online but the sites that came up (there were about 9 hits on Google for my baseband) all seemed fake and potentially harmful.
Even then, I don't know how I would flash the ROM since my TWRP doesn't work but that's the least of my worries at the moment .
I'd be extremely grateful if anyone could offer any potential pointers on where to download a safe stock ROM for my device and how to flash this ROM when I have no working TWRP (since my /data partition is, again, encrypted).
It seems a bit like a paradox - to remove data encryption you need a TWRP stock flash, but for a TWRP stock flash you need to remove data encryption.
Please do help... thank you in advance.
TL;DR
- tried to install xposed to hide root.
- found out that i can't flash any roms from recovery, because my recovery (twrp) doesn't support android disk encryption.
- found out that to remove encryption, i need to factory reset.
- i can't factory reset, because I need a stock ROM and I don't know where to find said stock ROM.
- also, how would i even flash this rom without a working recovery (again, the recovery doesn't work because full disk encryption).
Device Details:
Phone: Samsung Galaxy Note 4​Model: SM-N910U​Android version: 6.0.1 Marshmallow​Baseband version: N910UXXU1DPL1​
qnxo said:
My problem is very simple at its core and I find myself resorting to extreme solutions such as factory reset to solve it. However, I am okay with this. I would like to know the best way to unroot and factory reset my Note 4 SM-N910U.
What follows is the original story and my attempts to fix it. It's rather long, so if you would like to skip this section there is a tl;dr at the end.
Originally, I had found myself unable to login to the app Snapchat because they had gone to extreme lengths to lock out rooted users (an infamous fact on online discussions).
A popular solution for this would've been to install the Xposed Framework with RootCloak to hide Root from Snapchat - this is where my first problem came along.
My Android phone is encrypted.
This means that I could not use TWRP to flash the Xposed Framework zip (because TWRP for my device does not support encryption, thus could not read /data directory.)
I tried using FlashFire to skip recovery and got the same result - /data encrypted.
I tried to flash with CWM to see if it would support decryption of /data partition, but CWM isn't even compatible with my device.
At this point I was running out of things to try (I had been after this problem for about three days) and I decided to just kick the bucket, unroot and factory reset, because apparently the only way to undo data encryption on Android is to delete everything .
Apparently, even this would be a challenge. To factory reset a rooted device, you apparently need a stock ROM.
I tried looking for stock ROMs for SM-N910U online but the sites that came up (there were about 9 hits on Google for my baseband) all seemed fake and potentially harmful.
Even then, I don't know how I would flash the ROM since my TWRP doesn't work but that's the least of my worries at the moment .
I'd be extremely grateful if anyone could offer any potential pointers on where to download a safe stock ROM for my device and how to flash this ROM when I have no working TWRP (since my /data partition is, again, encrypted).
It seems a bit like a paradox - to remove data encryption you need a TWRP stock flash, but for a TWRP stock flash you need to remove data encryption.
Please do help... thank you in advance.
TL;DR
- tried to install xposed to hide root.
- found out that i can't flash any roms from recovery, because my recovery (twrp) doesn't support android disk encryption.
- found out that to remove encryption, i need to factory reset.
- i can't factory reset, because I need a stock ROM and I don't know where to find said stock ROM.
- also, how would i even flash this rom without a working recovery (again, the recovery doesn't work because full disk encryption).
Device Details:
Phone: Samsung Galaxy Note 4​Model: SM-N910U​Android version: 6.0.1 Marshmallow​Baseband version: N910UXXU1DPL1​
Click to expand...
Click to collapse
Go to Sammobile .com or samsung-updates .com this use your model number to search for your stock firmware, find the firmware for your region then flash that via Odin.
Sent from my SM-S903VL using Tapatalk
Would I first need to "wipe" anything in TWRP?
qnxo said:
Would I first need to "wipe" anything in TWRP?
Click to expand...
Click to collapse
It wouldn't hurt
Sent from my SM-S903VL using Tapatalk

Need help Unrooting and relocking bootloader

I am running stock 9.0.3 ROM rooted with magisk and bootloader unlocked. Since i don't use root functionality that much so i have decided to unroot and relock bootloader.
Do i still need to flash stock ROM again? Or just uninstalling magisk will be enough? Any guide about this?
Thanks
Relocking the bootloader means you're going to wipe everything, so flashing oos is not your biggest problem, so wipe everything, flash oos(i guess you'll get the stock recovery back too), and then lock your bootloader again
https://forum.xda-developers.com/oneplus-6/how-to/tool-msmdownloadtool-v4-0-international-t3903272 this will do the job. It will wipe everything and restore your phone tho, so relocking, unroot etc.
whizeguy said:
https://forum.xda-developers.com/oneplus-6/how-to/tool-msmdownloadtool-v4-0-international-t3903272 this will do the job. It will wipe everything and restore your phone tho, so relocking, unroot etc.
Click to expand...
Click to collapse
That's right. It will look like just what your device is when you bought it.

Categories

Resources