I have sm-n910w8 [canadian] model and it's rooted, twrp recovery, and running Emporia rom.
I need to sell this phone and want to restore to absolute stock settings so the buyer will not face issues with roms/bootloops.
I would also like the buyer to receive OTA updates from carrier.
Please tell me best way to do this.
PS there is no data on phone, so data loss is not a problem
Go to sammobile.com, download the latest stock ROM for your exact specific model, and simply flash it via Odin. Stock recovery will be restored, root will be gone and OTA will obviously be activated again. Before doing all these COMPLETELY WIPE the phone with TWRP's advanced option though, all partitions, data, system, cache and all.
Many corporate IT security policies including mine at work are requiring that all devices used for work, i.e. BYOD, must be encrypted. I prefer my device to be rooted…and control my device to my liking. There’s a problem though… it’s not easy encrypting with root present. I set out on a mission to get it working.
There is very little information about encrypting Galaxy S6 devices (or any Galaxy for that matter) with root. I've tried numerous methods around the web and here on XDA but none worked with any of the current ROMs. I spent several days researching, investigating, and testing various methods before finding a solution that works.
Although not required, I started a fresh start—flashed the official Marshmallow stock ROM for my device (SM-G920i) and in the process wipe my device completely, including formatting the data partition and wiping the internal SD.
I previously had Lollipop installed with custom ROM. A nandroid was performed, ran TiBu then copied all the contents of the internal memory on my laptop prior to going to official stock. Can never be too careful.
The steps outlined below was tested on both ALEXIS ROM 5.0 and XtreStoLite 3.3.1 ROMs using the G920i unlocked variant. It may work on other international variants.
Flash stock Marshmallow ROM through Odin in ‘AP’ with AutoReboot and NAND Erase checked (from Odin v3.11.1 options)
Flash CF-AutoRoot via ODIN [let it auto-reboot when complete]
Flash TWRP 3.0.2-1 via ODIN [disable auto-reboot in ODIN options]
Reboot into TWRP recovery
Perform factory reset then format Data partition
Reboot TWRP recovery so that the Data partition is refreshed
Copy custom ROM and other flash files you’ll be using to /sdcard/ using ADB Push command. For example o adb push Rom.zip /sdcard/tools.
Flash custom ROM then reboot
Be patient—reboot will take about 5 minutes
Power off then boot into TWRP again to perform a factory reset and wipe Delvic cache
Reboot - wait patiently as boot will take several minutes
When the system finally boots up go through the first start wizard then go into setting to set up pin and fingerprints you wish to use
Encrypt phone -- this will take a while before it's complete. Be patient; the device will reboot several times, ask for password at boot-up then boot into the finally into the system.
The phone is now encrypted. Because we performed a factory reset, root and TWRP recovery were removed. We now have to flash CF-autoroot and TWRP recovery via Odin. Again, patience is required--it'll take about 5-10 minutes for the boot to complete.
Note that TWRP does not know how to decrypt Samsung encryption and therefore it can't read the /data/ partition. That partition will either have to be formatted before flashing a new ROM or removing encryption. Now I did not test removing the encryption, but I’d suggest that you have current backups of your device prior to performing that task.
I hope this helps anyone experiencing this issue.
Seems to me, that if they want the device encrypted, they would also prohibit root, it is a security risk.
So is there any chance to update an encrypted Rom via TWRP?
Good walkthrough.
I did also some research and i found on some other forums the opinion, that a full-disk-encryption on a rooted phone make not much sense,
where you can replace/install the custom recovery and decrpt the data with some adb commands? Is that true?
Confusing.
tefole said:
Good walkthrough.
I did also some research and i found on some other forums the opinion, that a full-disk-encryption on a rooted phone make not much sense,
where you can replace/install the custom recovery and decrpt the data with some adb commands? Is that true?
Confusing.
Click to expand...
Click to collapse
twrp do don't support samsung decryption, so encrypted data can be only deleted. but, if you enable reactivation lock, then, you can't flash in recovery, so stolen phone is like brick
BUT with custom rom (TyrannusRom and note 7 port) encrypted phone do not boot (boot loop), so there I finished my work with encryption
paulyz said:
twrp do don't support samsung decryption, so encrypted data can be only deleted. but, if you enable reactivation lock, then, you can't flash in recovery, so stolen phone is like brick
Click to expand...
Click to collapse
I see.
I believe, that i can live without the ability that TWRP doenst decrypt the /data and the /sdcard partition,
if I can run with a CFW, and if the phone is rooted and encrypted.
After i put the CFW on the phone, even I need TWRP anymore. Usually i try to dont change the CFW so frequently.
With reactivation look you mention the "OEM unlock" in the Android\developer settings I guess?
Is the flashing really locked, like brick, really? If you can't flash in recovery, but how to restore a stock firmware with odin? Isnt it the same?
I didnt get that
tefole said:
I see.
I believe, that i can live without the ability that TWRP doenst decrypt the /data and the /sdcard partition,
if I can run with a CFW, and if the phone is rooted and encrypted.
After i put the CFW on the phone, even I need TWRP anymore. Usually i try to dont change the CFW so frequently.
With reactivation look you mention the "OEM unlock" in the Android\developer settings I guess?
Is the flashing really locked, like brick, really? If you can't flash in recovery, but how to restore a stock firmware with odin? Isnt it the same?
I didnt get that
Click to expand...
Click to collapse
"Reactivation lock lets you use your Samsung account to prevent others from activating your device if it's ever lost or stolen. With Reactivation lock turned on, you will be required to enter your Samsung account credentials prior to performing a factory reset on the device. Your Samsung account login should be something you can easily remember."
when RL activated, you can't flash, you always get error.
One big problem, what after encryption you can't update ROM, change or update kernel and etc.
I see., thx for the infos.
I did some research as well. With activated RL you can go only in download mode and install stock with Odin.
But the phone is going to ask you for your samsung account credentials - anyway.
tefole said:
I see., thx for the infos.
I did some research as well. With activated RL you can go only in download mode and install stock with Odin.
But the phone is going to ask you for your samsung account credentials - anyway.
Click to expand...
Click to collapse
if you will find useful information, post, because, I very interested too, just do not have a lot time to play with this.
I dropped my 6p and now have no screen and no touch.
The device is rooted on stock 7.1.1 with unlocked boot loader. and fingerprint scanner is working. I can answer the phone and make phone calls with Bluetooth and hear notification sounds but dark display and no touch.
I want to backup my data before sending it to repair. So far I was only able to adb pull the SD card. I cannot use adb backup because it requires the confirmation on the phone. any suggestion how I can backup the data without any touch access on the phone?
Also, if I go to bootlaoder and flash the entire stock there, all my data is erased right? what happens to fingerprint data stored on the device? If I relock the bootloader, will it do a factory reset? in another word what is the best way to do a factory reset and erase everything without access to phone screen and touch?
Any help is really appreciated.
mnlv said:
I dropped my 6p and now have no screen and no touch.
The device is rooted on stock 7.1.1 with unlocked boot loader. and fingerprint scanner is working. I can answer the phone and make phone calls with Bluetooth and hear notification sounds but dark display and no touch.
I want to backup my data before sending it to repair. So far I was only able to adb pull the SD card. I cannot use adb backup because it requires the confirmation on the phone. any suggestion how I can backup the data without any touch access on the phone?
Also, if I go to bootlaoder and flash the entire stock there, all my data is erased right? what happens to fingerprint data stored on the device? If I relock the bootloader, will it do a factory reset? in another word what is the best way to do a factory reset and erase everything without access to phone screen and touch?
Any help is really appreciated.
Click to expand...
Click to collapse
If you do a clean flash of the factory image all of your data is erased including your fingerprints. You shouldn't lock the bootloader before flashing the factory image. If you aren't fully stock including recovery and lock the bootloader you could brick the phone. There isn't really a need to lock the bootloader before sending it for repair.
jhs39 said:
If you do a clean flash of the factory image all of your data is erased including your fingerprints. You shouldn't lock the bootloader before flashing the factory image. If you aren't fully stock including recovery and lock the bootloader you could brick the phone. There isn't really a need to lock the bootloader before sending it for repair.
Click to expand...
Click to collapse
Thanks. I just did a backup in TWRP using adb.
If I receive another refurb 6p instead of what I send, Can I restore this backup to a new phone or something will not work because the data partition is encrypted?
Should I do a wipe data and system in TWRP before going to bootloader and flashing the factory image?
mnlv said:
Thanks. I just did a backup in TWRP using adb.
If I receive another refurb 6p instead of what I send, Can I restore this backup to a new phone or something will not work because the data partition is encrypted?
Should I do a wipe data and system in TWRP before going to bootloader and flashing the factory image?
Click to expand...
Click to collapse
I'm pretty sure you can't restore the backup from one phone to a different phone even if it's the same model. Maybe somebody knows a way to do it. You don't really need to wipe anything in TWRP if you are going to do a clean install of the factory image. The install will wipe everything.
If you have Usb debugging enabled you could also use Hisuite by Huawei. Do a google search for it as I can't post a link due to new account.
I'm quite new at this... But I bought S5 Verizon model from a friend. But when I opened up the back cover it was a G900F model.
Which is strange cause the Verizon firmware 'seemed' to be working. I later realised that I couldn't send text messages, I could call though. And some of the sensors were not working, such as the gyroscope.
I tried flashing the correct firmware, tried changing the CSC. I was unsuccessful at both. But I did get the phone rooted and the boatloader unlocked.
I really need help, thanks a lot...
If your bootloader is unlocked then download the custom rom you want and put it in internal storage after that boot into download mod and go to Odin and flash TWRP recovery
after that do a nandroid backup and go go to wipe advanced wiping and wipe system, cache, dalvick cache and date
once finished, press on install and install the ROM you downloaded and install other packages if found like google apps
after having flashed all the files of room hit reboot system and wait till phone boots
First boot may take up to 20 minutes
Sprint Note 4, completely unmodified, stock everything. 4.4.4 I'm pretty sure.
I've been out of the loop for a long time, is it at all possible to install TWRP or use AROMA file manager without wiping any of the data from my phone? I've forgotten my password and the main goal of unlocking the phone is to back up the data so a factory reset or anything that deletes data is completely out of the question.
flashing twrp will not delete anything
do your homework and READ about twrp and related stuff - there's a lot of info on the sprint forum, very helpful
you will be ultimately more aware and responsible about what you can do with your phone
https://forum.xda-developers.com/note-4-sprint/help/installing-twrp-t3381073