[Rom][US_Carriers_Pie_DSF6_Note 8U/U1[Non-Rooted_SafeStrap _Method] - Samsung Galaxy Note 8 ROMs, Kernels, Recoveries, &

Note 8 V5 Bootloaders If Not Already On Safestrap Follow My EDL Pie Safestrap Method​
Please Note This Is Not A Root Method For Oreo Or Pie. As Of Now There Is Still No Root Method For Oreo Or Pie​This Takes Some Patience To Install​
N8 SM-N955U/U1/W Install Instructions And Files
Download
SM_N950_DSF6_SYSTEM.rar Latest Build
Install Instructions Safestrap Method
Make Sure The Latest Samsung Drivers Are Installed. They Can Be Found Here
1. Copy ****_SYSTEM.img to your internal sdcard. Reboot to download mode and in BL slot in Odin flash Use The BL_ENG_BOOTLOADERS_SAFESTRAP_N950U_V5.tar.md5 and reboot to safestrap
2. In Safestrap choose install then choose select storage and select internal storage click ok then at bottom choose install image and choose ****_SYSTEM.img then select flash to system image then swype to flash
3. Now chose zip and flash Safestrap-4.10-B03-GREATQLTE-PIE.zip
4. To leave safestrap reboot to download mode
5. In odin load BL_N950USQU5****tar.md5 in BL slot and flash
To Enter And Exit Safestrap After Intitial Install
1. To enter safetrap flash the BL_ENG_BOOTLOADERS_SAFESTRAP_N950U_V5.tar.md5 in BL Slot in odin phone will boot too safestrap sometimes it may take a minute to do so
2. To leave safestrap reboot to bootloader or download still does not work so you still need to manually reboot to bootloader
3. Use modded Odin and load BL_N950USQU5****tar.md5 In BL Slot
Helpful Key Combos
Recovery Mode
Bixby + Volume Up + Power @ Same time
Download Mode
Bixby + Volume Down + Power @ Same time
Safe Mode
Phone Powered Off
Press and hold the Power key past the model name screen.
When “SAMSUNG” appears on the screen, release the Power key.
Immediately after releasing the Power key, press and hold the Volume down key.
Maintenance Mode
Press and hold the Power + Volume Down buttons for approximately 10
Bugs:
DO NOT USE ENCRYPTION
Safestrap rom slots do not work
Safestrap might not read larger than 64gig sd cards on some cards
Formating data in safestrap may cause reboot so make sure to format data very last thing
What Is Safestrap
Safestrap is a Bootstrap / Recovery for locked bootloader phones. Safestrap is now based on TWRP Recovery (a touch based recovery) and you can perform .zip installs, backups and restores here.
View attachment 4531040View attachment 4531041View attachment 4531042View attachment 4531043View attachment 4531044View attachment 4531045
Credits:
- @Raymonf for modified odin
- @afaneh92 for safestrap Main Thread Here Consider a donation to him he worked along time on this Donation Link
- @me2151 for finding this method
- @tytydraco for some instructions
- @mweinbach for some instructions
- @Craz Basics for xposed on non rooted
- @partcyborg for finding the root method!
- @elliwigy for being great help and original S8 root
- @rayan-refoua for boot animation
- @SamGuy2020 for testing S8 install method
Click to expand...
Click to collapse

View attachment Safestrap-4.10-B03-GREATQLTE-NOUGAT.zip Needed If running nougat rom
View attachment Safestrap-4.10-B03-GREATQLTE-PIE.zip Needed If running Pie rom

Main question I have is about the battery do we get %100 on the unrooted pie?

DroidisLINUX said:
Main question I have is about the battery do we get %100 on the unrooted pie?
Click to expand...
Click to collapse
Still 80% battery.
Sent from my Pixel 3 XL

DroidisLINUX said:
Main question I have is about the battery do we get %100 on the unrooted pie?
Click to expand...
Click to collapse
Yes
Sent using some kind of device I modified

Eudeferrer said:
Still 80% battery.
Sent from my Pixel 3 XL
Click to expand...
Click to collapse
80 percent is only on rooted nougat. Pie is unrooted and battery will charge to 100 percent
Sent using some kind of device I modified

jrkruse said:
80 percent is only on rooted nougat. Pie is unrooted and battery will charge to 100 percent
Sent using some kind of device I modified
Click to expand...
Click to collapse
Magisk just tweeted that the "world's first true system-as-root" was just created. Do you think that with this we could achieve root for Pie? Or would this not change anything?
Sent from my Pixel 3 XL

Eudeferrer said:
Magisk just tweeted that the "world's first true system-as-root" was just created. Do you think that with this we could achieve root for Pie? Or would this not change anything?
Sent from my Pixel 3 XL
Click to expand...
Click to collapse
All that a and b partition stuff reefers to phones that were released with pie. Our phone is still old school no treble support.
Sent using some kind of device I modified

Would I have to flash every time i want to enter safestrap?

also if I were to want to revert to the rooted nougat ROM, do I have to follow all the steps on the rooting guide or could I just flash an image through safestrap?

purpleuser said:
also if I were to want to revert to the rooted nougat ROM, do I have to follow all the steps on the rooting guide or could I just flash an image through safestrap?
Click to expand...
Click to collapse
you can just flash image in safestrap and then flash the safestrap for nougat zip in post 2 (or its included in the new DSF6 build) after you flash the nougat system image in safestrap to get back to nougat safestrap. If you fail to flash the safestrap zip for nougat your phone will automatically boot to safestrap on every reboot on a nougat rom.

jrkruse said:
you can just flash image in safestrap and then flash the safestrap for nougat zip in post 2 (or its included in the new DSF6 build) after you flash the nougat system image in safestrap to get back to nougat safestrap. If you fail to flash the safestrap zip for nougat your phone will automatically boot to safestrap on every reboot on a nougat rom.
Click to expand...
Click to collapse
Thanks for answering my question. I'm new to all of this, so I appreciate the guidance.
Another question. Would I brick my phone if I tried to flash a ROM image with a v3 bootloader through safestrap?

purpleuser said:
Thanks for answering my question. I'm new to all of this, so I appreciate the guidance.
Another question. Would I brick my phone if I tried to flash a ROM image with a v3 bootloader through safestrap?
Click to expand...
Click to collapse
You can flash a system image from v3 firmware but must remain on v5 boot and recovery images and bootloaders and modems
Sent using some kind of device I modified

Nice this ROM just goes over the Nougat image with all my settings and apps intact. Even the pay apps are working (probably because no root). Now I just need to find a way to flash Viperaudio drivers then I'm all set.

jrkruse said:
You can flash a system image from v3 firmware but must remain on v5 boot and recovery images and bootloaders and modems
Sent using some kind of device I modified
Click to expand...
Click to collapse
Awesome. This is great. Thanks

Hey, is it alright to do an update for June Security Patch? It's changing my build number to N950USQS / N950UOYN - DSF3.

vman00 said:
Nice this ROM just goes over the Nougat image with all my settings and apps intact. Even the pay apps are working (probably because no root). Now I just need to find a way to flash Viperaudio drivers then I'm all set.
Click to expand...
Click to collapse
I've tried to flash a few different viper zips in safestrap to no avail. The driver would not load. I was told that root is needed to actually "load" the drivers, even if you install them via safestrap. I'm not sure this is true though because if it was, the viper app would ask for root privs, wouldn't it? Anyways, if you make any progress let me know I need that viper in my life.

BotsOne said:
I've tried to flash a few different viper zips in safestrap to no avail. The driver would not load. I was told that root is needed to actually "load" the drivers, even if you install them via safestrap. I'm not sure this is true though because if it was, the viper app would ask for root privs, wouldn't it? Anyways, if you make any progress let me know I need that viper in my life.
Click to expand...
Click to collapse
might as well wait for rootless
https://forum.xda-developers.com/android/apps-games/app-viper4android-fx-2-6-0-0-t3774651

vman00 said:
might as well wait for rootless
https://forum.xda-developers.com/android/apps-games/app-viper4android-fx-2-6-0-0-t3774651
Click to expand...
Click to collapse
You should be able to change the permissions for the files themselves with safestrap you can change file permissions if it allows us read write to system then you could try making an init script to load in on boot with rooted permissions to load the viperaudio like an init.d
Vipermod start service this is just off of the top of my head but I will look into more this weekend when I got some time to test out the new rom and safestrap

Viper will not work without root because it needs to execute a script at startup and no scripts will execute on a stock system. There were or maybe are rootless version but they still needed a permissive kernel to work
Sent using some kind of device I modified

Related

[RECOVERY LOCKED/Nougat/7.0][G950U/W] Safestrap Recovery v4.09 B01 [Apr 19, 2019]

Samsung Galaxy S8 (Snapdragon)
PLEASE READ READ READENTIRE OP
"ALL MAJOR WORK DONE BY HASHCODE SO GO GIVE HIM SOM THANKS.DO NOT POST ANY BUG OR ISSUE COUSED BY THIS RECOVERY IN ORIGINAL THREAD BY HASHCODE, POST HERE AND I WILL HELP YOU."
CURRENT PROJECT STATUS:
BETA v4.09-B01 [Nougat:7.0]
WHAT IS SAFESTRAP?
Safestrap is a Bootstrap / Recovery for locked bootloader phones. The goal is to avoid touching your primary system (I'll call this "stock" system) and only flash or make large changes to another place on your phone that Safestrap treats as a "2nd system" (in this case, it's a series of virtual ROM slots located on the internal emmc area: "/sdcard"). Once installed, you will see a "Splashscreen" giving you the option to hit "menu" to enter recovery. The recovery portion of Safestrap is now based on TWRP 3.3.0 (a touch based recovery) and you can perform .zip installs, backups and restores here. The additional features I've added to TWRP are mostly located under the "Boot Options" menu:
Here you can create virtual ROM-slots for flashing ROMs. NOTE: The bigger you make the /data partition the less room you will have to make other ROM-slots.
You can activate a new ROM-slot by choosing the slot you wish to make active and then selecting the "Activate" button. Once active, you will see the "rom-slot#" up in the top of the screen shown in green. If you make the "stock" ROM active, then you can see it in the top shown in red.
Once a ROM-slot is active, all actions you would normally perform using TWRP are directed to that ROM-slot. For example, "Install" to flash a .zip, backup and restore.
HOW DO I INSTALL SAFESTRAP?
Requirement: Root
[Safestrap pre V4.07] Requirement: busybox. Grab "Busybox" from the Play Store and run the installer.
APK install:
Once installed, open up the Safestrap application, Agree to the disclaimer that you won't try to sue me and hunt me down with a rifle if you manage to break your phone..
Then use the "Install Recovery" button. You should see the current version down in the lower left corner of the window. And the "Status:" should say "Installed" when you're done.
From there you can reboot and you *should* see a new splash screen during the boot up. While this is showing you can enter Safestrap Recovery using the [ menu ] button.
Flashable zip:
Flash using Safestrap recovery or FlashFire.
HOW DO I ENTER RECOVERY?
During each reboot a splashscreen will be displayed showing whether the device is running a rom-slot or on the "Stock ROM".
Press the button shown on the screen to either enter "RECOVERY" or "CONTINUE" booting (or the hard button underneath each option).
HOW DO I UPGRADE SAFESTRAP?
APK:
Push the APK up to your sdcard.
Boot back into the "stock" rom-slot.
Open your old Safestrap app and use the "Uninstall Recovery" button
Browse to where you pushed the APK
Click on it and install like normal
Once installed, open the APK, Grant SU access, Use the "Install Recovery" button.
Flashable zip:
Flash using Safestrap recovery or FlashFire.
KNOWN ISSUES:
- Sometimes the installation doesn't work correctly. If you don't see the splashscreen after a rebooting. Install Safestrap again.
DOWNLOADS:
CONFIRM THAT YOU ARE USING A SAMSUNG GALAXY S8 (Snapdragon) [Nougat:7.0]
LATEST ZIP: Safestrap-4.09-B01-DREAMQLTE-SS-FF-flashable.zip
LATEST APK: Safestrap-4.09-B01-DREAMQLTE.apk
androidfilehost
WARNING: Safestrap is heavily modified to be "Safe" for your device. Do not download TWRP from their website and expect it to work the same way. Also TWRP does not support Safestrap, tho some issues that may come up will be TWRP dependant, please try and contact myself or look on the forums for your device for answers before hunting down TWRP people. They won't be able to help w/ Safestrap specific questions.
Special Thanks To
@Hashcode, DeesTroy & TeamWin for all their hard work making TWRP such a fantastic recovery.
@jrkruse for pointing me that S8 has permissive root. @partcyborg for getting root on S8.
CHANGELOG:
4.09-B01 [2019-04-19]
- TWRP updated to 3.3.0.
- Fix reboot function
- Add reboot to safestrap button in reboot menu
- Add Edl button in reboot menu
- Move Boot Options to advanced menu items.
- Safestrap app: Update topjohnwu's libsu to 2.4.0.
- Safestrap app: Update install recovery function.
4.08-B01 [2019-03-01]
- TWRP updated to 3.2.3.
- Fix datamedia mount.
- Add hijack-backup during image flashing.
- Major code clean up.
4.07-B01 [2018-07-16]
- Fix CHARGER_BOOT detection.
- TWRP updated to 3.2.2.
- Update safestrap portrait theme.
- Update safestrap app to use topjohnwu's libsu & internal busybox (busybox app not needed anymore).
4.06-B02 [2018-04-10]
- Fix taskset cpus to 8 cores (thanks to Hashcode).
- Add exfat support for recovery (ext-sdcard fix).
- Fix MTP (thanks to me2151).
4.06-B01 [2018-04-03]
- Initial release.
BUGS:
- ROM-slots not working for now.
Mine
dang never been first to reply to a thread lol.....anyways been looking at this and waiting for it to release, downloading and going to give it a whirl nice job to all involved:good::highfive::good:
Has this been tested on s8+ g55u.?
So far install goes as planned boots up tried flashing a zip that I have that works with flash fire it goes thru the motions of flashing but upon reboot my mods have not been applied, i did go into the mount option first and ticked system. So so far no flashing zips but that could be user error ill be so stoked once i get it figured out going to way cooler than using flashfire(got love that app it has been a blessing to us s8 owners) also will this run aroma scripts as well i love making me some aroma installers lol:good::highfive::good:
MysticFTW said:
Has this been tested on s8+ g55u.?
Click to expand...
Click to collapse
Its almost the same, but here you go Galaxy S8 SM-G955U (dream2qlte)
sawixso81 said:
So far install goes as planned boots up tried flashing a zip that I have that works with flash fire it goes thru the motions of flashing but upon reboot my mods have not been applied, i did go into the mount option first and ticked system. So so far no flashing zips but that could be user error ill be so stoked once i get it figured out going to way cooler than using flashfire(got love that app it has been a blessing to us s8 owners) also will this run aroma scripts as well i love making me some aroma installers lol:good::highfive::good:
Click to expand...
Click to collapse
Recovey uses different mount point, recovery log can help.
Thank you
If the main OS becomes unbootable due to a bootloop or something of that sort, is it possible to get back to SS? What does it take to convert Odin-flashable firmware into TWRP/SS flashable firmware?
afaneh92 said:
Its almost the same, but here you go Galaxy S8 SM-G955U (dream2qlte)
Recovey uses different mount point, recovery log can help.
Click to expand...
Click to collapse
Thanks a bunch for this bad a#$ tool/utility this makes my life as an avid modder so much easier when flashing and modding system files awesome work and yes I did have to change the mount points to get my zip to flash and aroma is working as well!!!!!!!!! :good::highfive::good:
Dang Ive been busy all stinkin day and just come across it.
Nice......
Whoa, this is awesome! So this isn't exactly unlocking the bootloader, right? It's just one of the first custom recoveries working on Snapdragon? This is super cool, thank you!
SirSoviet said:
If the main OS becomes unbootable due to a bootloop or something of that sort, is it possible to get back to SS? What does it take to convert Odin-flashable firmware into TWRP/SS flashable firmware?
Click to expand...
Click to collapse
Just wait, I will start working on new ROM soon.
Also stock odin flashable including SS and ROOT (flashing ENG boot to enable them).
Damn, I never thought I'd see the day So I the battery is still locked to 80% right? Anyway good job and best of luck in future developments man!
Confirmed working on G950W. Great job! One nitpick I have about is that scrolling is incredibly laggy/stuttery, otherwise the whole package works fine other than the rom slots.
SirSoviet said:
Confirmed working on G950W. Great job! One nitpick I have about is that scrolling is incredibly laggy/stuttery, otherwise the whole package works fine other than the rom slots.
Click to expand...
Click to collapse
Will try to fix lag issue soon.
Does this work for all snapdragon S8s, or only the unlocked variants? I have the Tmobile version and would love this.
Also, any ROMs that come from this, will they still have the 80% battery life issues if the custom ROM doesn't use root (I'm not sure if all custom ROMs require root or not). Do the ROMs still have to be based on stock samsung, or could we see AOSP style ROMs with this?
DXander1337 said:
Does this work for all snapdragon S8s, or only the unlocked variants? I have the Tmobile version and would love this.
Also, any ROMs that come from this, will they still have the 80% battery life issues if the custom ROM doesn't use root (I'm not sure if all custom ROMs require root or not). Do the ROMs still have to be based on stock samsung, or could we see AOSP style ROMs with this?
Click to expand...
Click to collapse
Support all snapdragon variants of S8. Unless they has different partition layout.
How does this affect things like knox flag and safetynet? Do we have access to system and kernel?
kekistaneerefugee said:
How does this affect things like knox flag and safetynet? Do we have access to system and kernel?
Click to expand...
Click to collapse
Bootloaders still locked. So Knox isn't tripped but as you have to be rooted to do this is say safety nets broke

[RECOVERY LOCKED/Nougat/7.0][G892U/A] Safestrap Recovery v4.11 B01 [Dec 10, 2019]

Samsung Galaxy S8 Active (Snapdragon)
PLEASE READ READ READENTIRE OP
"ALL MAJOR WORK DONE BY HASHCODE SO GO GIVE HIM SOM THANKS.DO NOT POST ANY BUG OR ISSUE COUSED BY THIS RECOVERY IN ORIGINAL THREAD BY HASHCODE, POST HERE AND I WILL HELP YOU."
CURRENT PROJECT STATUS:
BETA v4.11-B01 [Nougat:7.0]
WHAT IS SAFESTRAP?
Safestrap is a Bootstrap / Recovery for locked bootloader phones. The goal is to avoid touching your primary system (I'll call this "stock" system) and only flash or make large changes to another place on your phone that Safestrap treats as a "2nd system" (in this case, it's a series of virtual ROM slots located on the internal emmc area: "/sdcard"). Once installed, you will see a "Splashscreen" giving you the option to hit "menu" to enter recovery. The recovery portion of Safestrap is now based on TWRP 3.3.0 (a touch based recovery) and you can perform .zip installs, backups and restores here. The additional features I've added to TWRP are mostly located under the "Boot Options" menu:
Here you can create virtual ROM-slots for flashing ROMs. NOTE: The bigger you make the /data partition the less room you will have to make other ROM-slots.
You can activate a new ROM-slot by choosing the slot you wish to make active and then selecting the "Activate" button. Once active, you will see the "rom-slot#" up in the top of the screen shown in green. If you make the "stock" ROM active, then you can see it in the top shown in red.
Once a ROM-slot is active, all actions you would normally perform using TWRP are directed to that ROM-slot. For example, "Install" to flash a .zip, backup and restore.
HOW DO I INSTALL SAFESTRAP?
Requirement: Root
APK install:
Once installed, open up the Safestrap application, Agree to the disclaimer that you won't try to sue me and hunt me down with a rifle if you manage to break your phone..
Then use the "Install Recovery" button. You should see the current version down in the lower left corner of the window. And the "Status:" should say "Installed" when you're done.
From there you can reboot and you *should* see a new splash screen during the boot up. While this is showing you can enter Safestrap Recovery using the [ menu ] button.
Flashable zip:
Flash using Safestrap recovery or FlashFire.
HOW DO I ENTER RECOVERY?
During each reboot a splashscreen will be displayed showing whether the device is running a rom-slot or on the "Stock ROM".
Press the button shown on the screen to either enter "RECOVERY" or "CONTINUE" booting (or the hard button underneath each option).
HOW DO I UPGRADE SAFESTRAP?
APK:
Push the APK up to your sdcard.
Boot back into the "stock" rom-slot.
Open your old Safestrap app and use the "Uninstall Recovery" button
Browse to where you pushed the APK
Click on it and install like normal
Once installed, open the APK, Grant SU access, Use the "Install Recovery" button.
Flashable zip:
Flash using Safestrap recovery or FlashFire.
KNOWN ISSUES:
- Sometimes the installation doesn't work correctly. If you don't see the splashscreen after a rebooting. Install Safestrap again.
DOWNLOADS:
CONFIRM THAT YOU ARE USING A SAMSUNG GALAXY S8 Active G892U (Snapdragon) [Nougat:7.0]
LATEST ZIP: Safestrap-4.11-B01-CRUISERLTE-SS-FF-flashable.zip
LATEST APK: Safestrap-4.09-B01-CRUISERLTE.apk
androidfilehost
CONFIRM THAT YOU ARE USING A SAMSUNG GALAXY S8 Active G892A (Snapdragon) [Nougat:7.0]
LATEST ZIP: Safestrap-4.11-B01-CRUISERLTEATT-SS-FF-flashable.zip
LATEST APK: None
androidfilehost
WARNING: Safestrap is heavily modified to be "Safe" for your device. Do not download TWRP from their website and expect it to work the same way. Also TWRP does not support Safestrap, tho some issues that may come up will be TWRP dependant, please try and contact myself or look on the forums for your device for answers before hunting down TWRP people. They won't be able to help w/ Safestrap specific questions.
Special Thanks To
@Hashcode, DeesTroy & TeamWin for all their hard work making TWRP such a fantastic recovery.
@jrkruse for pointing me that S8 has permissive root. @partcyborg for getting root on S8.
CHANGELOG:
4.11-B01 [2019-04-19]
- TWRP updated to 3.3.1.
- Add proper G892A device support.
- Clean up hijack.
- Fix datamedia mount.
- Enhanced Safestrap logo.
- More stuff I forgot, lol
4.09-B01 [2019-04-19]
- TWRP updated to 3.3.0.
- Fix reboot function
- Add reboot to safestrap button in reboot menu
- Add Edl button in reboot menu
- Move Boot Options to advanced menu items.
- Safestrap app: Update topjohnwu's libsu to 2.4.0.
- Safestrap app: Update install recovery function.
4.08-B01 [2019-03-01]
- TWRP updated to 3.2.3.
- Fix datamedia mount.
- Add hijack-backup during image flashing.
- Major code clean up
- Initial release.
BUGS:
- ROM-slots not working for now.
Great job. I will try to flash stock oreo and this safestrap via this safestrap. So i review to keep it on stock oreo.
After test, it works fine. But I can't keep it with stock oreo.
Can you enable adbd insecure on twrp? Thanks.
quanqw said:
Can you enable adbd insecure on twrp? Thanks.
Click to expand...
Click to collapse
Not sure.
does it work on s8 sc-02j docomo it just say safestrap is disabled recovery and continue but when i choose recovery its still TWRP
epiphany74721 said:
does it work on s8 sc-02j docomo it just say safestrap is disabled recovery and continue but when i choose recovery its still TWRP
Click to expand...
Click to collapse
That's normal click recovery to go-to safestrap. Bte this is supposed to be for US variants kinda lucky you didn't brick as the model it's for is listed in the title
epiphany74721 said:
does it work on s8 sc-02j docomo it just say safestrap is disabled recovery and continue but when i choose recovery its still TWRP
Click to expand...
Click to collapse
You device is unlocked right? why you need safestrap?
afaneh92 said:
You device is unlocked right? why you need safestrap?
Click to expand...
Click to collapse
i got data mount issue on twrp cant install rom i want to replace it with safestrap recovery
epiphany74721 said:
i got data mount issue on twrp cant install rom i want to replace it with safestrap recovery
Click to expand...
Click to collapse
Type this in terminal or in twrp terminal then copy output or take screen shot.
"ls -al /dev/block/platform/soc/1da4000.ufshc/by-name"
I will make twrp for you.
afaneh92 said:
Type this in terminal or in twrp terminal then copy output or take screen shot.
"ls -al /dev/block/platform/soc/1da4000.ufshc/by-name"
I will make twrp for you.
Click to expand...
Click to collapse
here sorry for the late reply a little busy ang my imei is corrupted also cant install s8 docomo 8.0 all corrupted in samfirm wont install oreo also
epiphany74721 said:
here sorry for the late reply a little busy ang my imei is corrupted also cant install s8 docomo 8.0 all corrupted in samfirm wont install oreo also
Click to expand...
Click to collapse
First safestrap not working on oreo/pie without permissive kernel. Try this
https://www.google.com/amp/s/forum....rnel-permissive-patcher-android-t3506338/amp/
I will make you twrp soon. Will pm you when its ready.
Edit: no need to build new twrp for your device, data encrypted on oreo/pie.
After booting in TWRP download and flash no-verity-opt-encrypt-6.0 zip to disable data partition encryption
afaneh92 said:
First safestrap not working on oreo/pie without permissive kernel. Try this
https://www.google.com/amp/s/forum....rnel-permissive-patcher-android-t3506338/amp/
I will make you twrp soon. Will pm you when its ready.
Edit: no need to build new twrp for your device, data encrypted on oreo/pie.
After booting in TWRP download and flash no-verity-opt-encrypt-6.0 zip to disable data partition encryption
Click to expand...
Click to collapse
I switched to s8 dual g9500. It has twrp from @jesen but it has an issue. Can you fix it?
https://forum.xda-developers.com/ga...ecovery-twrp-galaxy-s8-s8-snapdragon-t3636718
quanqw said:
I switched to s8 dual g9500. It has twrp from @jesen but it has an issue. Can you fix it?
https://forum.xda-developers.com/ga...ecovery-twrp-galaxy-s8-s8-snapdragon-t3636718
Click to expand...
Click to collapse
You should ask in that thread
4.09-B01 is up
- TWRP updated to 3.3.0.
- Fix reboot function.
- Add reboot to safestrap button in reboot menu.
- Add Edl button in reboot menu.
- Move Boot Options to advanced menu items.
- Safestrap app: Update topjohnwu's libsu to 2.4.0.
- Safestrap app: Update install recovery function.
Damn, needs root. I misread the post at first so ignore my previous question.
Hi,
I just installed this on my g892a, however it fails to mount /data. It looks like it's trying to mount /dev/block/sda24, however, on my phone it's actually /dev/block/sda23:
I tried changing the partition in /etc/safestrap/ss.config but that didn't do anything
Is there anything I can do to get it to mount, or do you need to recompile twrp?
Thanks!
cd109876 said:
Hi,
I just installed this on my g892a, however it fails to mount /data. It looks like it's trying to mount /dev/block/sda24, however, on my phone it's actually /dev/block/sda23:
I tried changing the partition in /etc/safestrap/ss.config but that didn't do anything
Is there anything I can do to get it to mount, or do you need to recompile twrp?
Thanks!
Click to expand...
Click to collapse
You need to edit twrp.fstab and ss.config in twrp recovery too.
I will try to add support for G892A in the next build.
afaneh92 said:
You need to edit twrp.fstab and ss.config in twrp recovery too.
I will try to add support for G892A in the next build.
Click to expand...
Click to collapse
Alright, I haven't built twrp / safestrap before so I'm having some trouble figuring it out, but I don't want to bug you with that. I do have a question though - when i get this working, could i flash a rom (to the stock rom slot) like a stock oreo rom with the same bootloader revision and keep safestrap installed? And then if I wanted to I could restore the backup of the nougat rooted rom? It looks like it can be done with the regular s8, but I'm confused as to whether it would work here or what I would need to do.
cd109876 said:
Alright, I haven't built twrp / safestrap before so I'm having some trouble figuring it out, but I don't want to bug you with that. I do have a question though - when i get this working, could i flash a rom (to the stock rom slot) like a stock oreo rom with the same bootloader revision and keep safestrap installed? And then if I wanted to I could restore the backup of the nougat rooted rom? It looks like it can be done with the regular s8, but I'm confused as to whether it would work here or what I would need to do.
Click to expand...
Click to collapse
Rom slot is broken on arm64 devices.
You can use stock slot only.

[RECOVERY LOCKED/PL1/5.0][I545V] Safestrap Recovery v4.10 B01 [June 19, 2019]

Samsung Galaxy S4 (Snapdragon)
PLEASE READ READ READENTIRE OP
"ALL MAJOR WORK DONE BY HASHCODE SO GO GIVE HIM SOM THANKS.DO NOT POST ANY BUG OR ISSUE COUSED BY THIS RECOVERY IN ORIGINAL THREAD BY HASHCODE, POST HERE AND I WILL HELP YOU."
CURRENT PROJECT STATUS:
BETA v4.10-B01 [PL1/Lollipop:5.0]
WHAT IS SAFESTRAP?
Safestrap is a Bootstrap / Recovery for locked bootloader phones. The goal is to avoid touching your primary system (I'll call this "stock" system) and only flash or make large changes to another place on your phone that Safestrap treats as a "2nd system" (in this case, it's a series of virtual ROM slots located on the internal emmc area: "/sdcard"). Once installed, you will see a "Splashscreen" giving you the option to hit "menu" to enter recovery. The recovery portion of Safestrap is now based on TWRP 3.3.0 (a touch based recovery) and you can perform .zip installs, backups and restores here. The additional features I've added to TWRP are mostly located under the "Boot Options" menu:
Here you can create virtual ROM-slots for flashing ROMs. NOTE: The bigger you make the /data partition the less room you will have to make other ROM-slots.
You can activate a new ROM-slot by choosing the slot you wish to make active and then selecting the "Activate" button. Once active, you will see the "rom-slot#" up in the top of the screen shown in green. If you make the "stock" ROM active, then you can see it in the top shown in red.
Once a ROM-slot is active, all actions you would normally perform using TWRP are directed to that ROM-slot. For example, "Install" to flash a .zip, backup and restore.
HOW DO I INSTALL SAFESTRAP?
Requirement: Root
[Safestrap pre V4.07] Requirement: busybox. Grab "Busybox" from the Play Store and run the installer.
APK install:
Once installed, open up the Safestrap application, Agree to the disclaimer that you won't try to sue me and hunt me down with a rifle if you manage to break your phone..
Then use the "Install Recovery" button. You should see the current version down in the lower left corner of the window. And the "Status:" should say "Installed" when you're done.
From there you can reboot and you *should* see a new splash screen during the boot up. While this is showing you can enter Safestrap Recovery using the [ menu ] button.
Flashable zip:
Flash using Safestrap recovery or FlashFire.
HOW DO I ENTER RECOVERY?
Note: ENG_OF1 is 4.2.2 and not like OF1 5.0
Reboot to Download mode then flash BL_ENG_OF1_BOOT_ABOOT_I545V.tar
During each reboot a splashscreen will be displayed showing whether the device is running a rom-slot or on the "Stock ROM".
Press the button shown on the screen to either enter "RECOVERY" or "CONTINUE" booting (or the hard button underneath each option).
HOW DO I EXIT RECOVERY?
Reboot to Download mode from Safestrap recvoery then flash BL_PL1_BOOT_ABOOT_I545V.tar
HOW DO I UPGRADE SAFESTRAP?
APK:
Push the APK up to your sdcard.
Boot back into the "stock" rom-slot.
Open your old Safestrap app and use the "Uninstall Recovery" button
Browse to where you pushed the APK
Click on it and install like normal
Once installed, open the APK, Grant SU access, Use the "Install Recovery" button.
Flashable zip:
Flash using Safestrap recovery or FlashFire.
KNOWN ISSUES:
- Sometimes the installation doesn't work correctly. If you don't see the splashscreen after a rebooting. Install Safestrap again.
DOWNLOADS:
CONFIRM THAT YOU ARE USING A SAMSUNG GALAXY S4 (Snapdragon) [PL1/Lollipop:5.0]
LATEST ZIP: Safestrap-4.10-B01-JFLTEVZW-SS-FF-flashable.zip
LATEST APK: Safestrap-4.10-B01-JFLTEVZW.apk
androidfilehost
WARNING: Safestrap is heavily modified to be "Safe" for your device. Do not download TWRP from their website and expect it to work the same way. Also TWRP does not support Safestrap, tho some issues that may come up will be TWRP dependant, please try and contact myself or look on the forums for your device for answers before hunting down TWRP people. They won't be able to help w/ Safestrap specific questions.
Special Thanks To
@Hashcode, DeesTroy & TeamWin for all their hard work making TWRP such a fantastic recovery.
@jrkruse for the combo firmware
CHANGELOG:
- TWRP updated to 3.3.1
- Initial release.
OC1/OF1 users do not flash PL1/ENG_OF1 Bootloader you cant go back, if any tester intersted pm me.
MI1 4.2.2 ROM will uploaded soon.
Hi there! Will this work on model SCPH-I545?
heyitzrare said:
Hi there! Will this work on model SCPH-I545?
Click to expand...
Click to collapse
SCH-I545? Samsung galaxy S4 verizon variant?
afaneh92 said:
SCH-I545? Samsung galaxy S4 verizon variant?
Click to expand...
Click to collapse
Yes
heyitzrare said:
Yes
Click to expand...
Click to collapse
make sure you are on PL1 bootloader then do the instruction
afaneh92 said:
make sure you are on PL1 bootloader then do the instruction
Click to expand...
Click to collapse
Hello again! I just attempted this, to no avail. Safestrap still identifies as "not installed."
heyitzrare said:
Hello again! I just attempted this, to no avail. Safestrap still identifies as "not installed."
Click to expand...
Click to collapse
Install again, some times first click dont work.
Hello! How to make a root on PL1 Verizon? I tried to do it with KingRoot and dr.foneRoot, but it doesn’t work.
V_Den said:
Hello! How to make a root on PL1 Verizon? I tried to do it with KingRoot and dr.foneRoot, but it doesn’t work.
Click to expand...
Click to collapse
Use mobilego wondershare
afaneh92 said:
Use mobilego wondershare
Click to expand...
Click to collapse
Success! Thank you so much! The process lasted about 30 minutes. Several reboots and root done.
I need your advice. After successful installation of Safestrap, Omega I9505 V42.1 was flashed. The result is a splash screen Samsung custom. Safestrap did not boot. Installing a stoсk i545 modem and bootloader with Odin did not affect. Flashed i545 PL1 with Odin. As a result, got stuck on a splash screen Verizon.
Before the modifications, configuration was:
bootloader - I545VRSGPL1
PDA - I545VRSGPL1
CSC - I545VZWGPL1
Baseband - I545VRSGPL1
Kernel 3.4.0-4584173
I made a backup in Safestrap, but I don’t know how to install it.
What can I try to do in this situation? Thanks.
V_Den said:
I need your advice. After successful installation of Safestrap, Omega I9505 V42.1 was flashed. The result is a splash screen Samsung custom. Safestrap did not boot. Installing a stoсk i545 modem and bootloader with Odin did not affect. Flashed i545 PL1 with Odin. As a result, got stuck on a splash screen Verizon.
Before the modifications, configuration was:
bootloader - I545VRSGPL1
PDA - I545VRSGPL1
CSC - I545VZWGPL1
Baseband - I545VRSGPL1
Kernel 3.4.0-4584173
I made a backup in Safestrap, but I don’t know how to install it.
What can I try to do in this situation? Thanks.
Click to expand...
Click to collapse
Dont flash the boot.img
Use safestrap to flash the rom. Then go back to PL1 bootloaders and boot.img
I am on OF1 running stang 5 litre ROM with flash fire installed. Is there any point in going to PL1 and installing safe strap? What ROMs work with it?
StoneyJSG said:
I am on OF1 running stang 5 litre ROM with flash fire installed. Is there any point in going to PL1 and installing safe strap? What ROMs work with it?
Click to expand...
Click to collapse
If you can wait I will send you some files to test over OF1.
Do you have telegram?
afaneh92 said:
If you can wait I will send you some files to test over OF1.
Do you have telegram?
Click to expand...
Click to collapse
No sorry, I don't have telegram. I have Google drive and there's those free file upload sites too.
StoneyJSG said:
No sorry, I don't have telegram. I have Google drive and there's those free file upload sites too.
Click to expand...
Click to collapse
Can you send me your OF1 boot.img and aboot.mbn before we start
afaneh92 said:
Can you send me your OF1 boot.img and aboot.mbn before we start
Click to expand...
Click to collapse
Sure, I can upload them to my Google drive and link it here. How do I extract the aboot.mbn and boot.img from the phone?
StoneyJSG said:
Sure, I can upload them to my Google drive and link it here. How do I extract the aboot.mbn and boot.img from the phone?
Click to expand...
Click to collapse
From the tar firmware!
Im so lazy to download it, I can do it later if you dont have it.

[TWRP][Magisk][Snapdragon SM-G9730]How to get Stock ROM with TWRP and Root

Hi Everyone,
With all of the hype around the Exynos phone its finally time for the TGY/CHC Snapdragon variants to get some attention.
No this won't work with US variants, please don't ask. This is tested on my normal s10 (SM-G9730). I'm not sure if the s10+ would work.
I've worked with a few key people to get this working. So credit goes to Flatty, Ianmacd and the creators of tomatolei rom.
This setup will let the user do the following:
-Boot/Restart phone without holding any odd button combos to boot into rooted rom.
-Hold the recovery buttons to get into TWRP.
-Not having to worry about losing root when restarting if you forget to hold your buttons, you don't need to hold anything once properly setup.
The following steps below will help you achieve a stock rom with TWRP:
1. You must be on stock rom, ideally non rooted. If you are rooted, flash your stock rom (The rom version is important, this was completed using the ASH2 version of the TGY firmware.) using ODIN (CSC HOME).
2. Once flashed boot into android and ensure OEM unlocking is enabled in developer settings.
3. Boot to download mode by turning the phone off, then press and hold the volume down button along with the Bixby key just beneath it, then press and hold the power button.
4. Flash attached TWRP from download mode. (This led my phone to boot looping). https://www.mediafire.com/file/cg8bcrf78v66v8j/LatestTomato.tar/file
5. Flash the second attached TWRP (you may have to restart and re-enter download mode again). (I believe the above flash is required too, as it likely contains vendor info). https://www.mediafire.com/file/21akg54uxqk3eix/G9730_TWRP_3.3.1-1_tomatolei-0831-v4.0.tar/file
6. Reboot phone to recovery mode (Volume up, bixby and power upon restart) which will now boot you to TWRP.
7. Flash Snapdragon muti disabler from TWRP. https://www.mediafire.com/file/opbsc7wrcr69b2v/multidisabler-samsung-1.6.zip/file *Per @FlatOutRU After flashing multidisabler you must Wipe Data (if you didn't do that before with twrp - Thanks for the clarification.
8. Boot to your rom and ensure all is well.
9. Feel free to download the latest Magisk zip and flash root from TWRP by using the recovery mode button sequence upon restart.
Sidenote: The G9730_TWRP_3.3.1-1_tomatolei-0831-v4.0.tar and tomatolei ROM also let me install PHH AOSP and PHH LineageOS
PHH AOSP microG: https://forum.xda-developers.com/pr...arm64aosp-9-0-0r21-microg-ufofficial-t3878115
PHH LineageOS: https://forum.xda-developers.com/pr...i-lineageos-16-0-gsi-arm64-ab-how-to-t3908029
Hopefully this gets a few nice Stock ROMs being produced.
Download links are added.
Fznwolf: congrat for this thread, well explained.
some question:
1) what's bring latestomato.tar ? , because no need this for me
2)magisk work for you even if you don't flash magisk_patched.tar?
3)are you able to make backup into twrp because for me it's failed. i think it work if use tomato rom but i prefer stay to tgy rom
pixiebob said:
Fznwolf: congrat for this thread, well explained.
some question:
1) what's bring latestomato.tar ? , because no need this for me
2)magisk work for you even if you don't flash magisk_patched.tar?
3)are you able to make backup into twrp because for me it's failed. i think it work if use tomato rom but i prefer stay to tgy rom
Click to expand...
Click to collapse
Thanks for the compliment @pixiebob
1) I believe the latestomato.tar has some pieces of tomato rom that allow for booting.
2) Yes, i didnt use magisk_patched.tar. I used the official magisk zip after all of my original steps as the last step.
3) I have several backups, I'm on TGY. Try start from scratch and follow my above steps using a TGY rom. Sounds like you may need to wipe and start over using the original steps provided, make sure to use the multidisabler originally attached.
Fznwolf said:
Thanks for the compliment @pixiebob
1) I believe the latestomato.tar has some pieces of tomato rom that allow for booting.
2) Yes, i didnt use magisk_patched.tar. I used the official magisk zip after all of my original steps as the last step.
3) I have several backups, I'm on TGY. Try start from scratch and follow my above steps using a TGY rom. Sounds like you may need to wipe and start over using the original steps provided, make sure to use the multidisabler originally attached.
Click to expand...
Click to collapse
you are right once multidisabler attached to your first post is installed i'm able in Twrp to backup ending without error, fantastic
pixiebob said:
you are right once multidisabler attached to your first post is installed i'm able in Twrp to backup ending without error, fantastic
Click to expand...
Click to collapse
Great to hear it's working out.
Once we root and install twrp, how we can update the phone ?
Otherwise, thanks for your work !
Yay dude thanks for using my instruction and my modified zips without asking me first
You've got an attempt before - trying to post my 9730 overlay for AOSP
Fznwolf said:
I've worked with a few key people to get this working. So credit goes to Flatty, Ianmacd and the creators of tomatolei rom.
Click to expand...
Click to collapse
No, you didn't work with other people. You just spammed me ,my pm here and in telegram to get explanation and posted it here without permission
You've also forgot one important step. After flashing multidisabler you must Wipe Data (if didn't do that before with twrp)
Multidisabler - i've just changed a few lines in @ianmacd code to get it working on our Snapdragon variant.
Twrp.tar - extracted boot.img and recovery.img from @tomatolei ROM for S10+ 9750
Thanks again @FlatOutRU I've updated the initial description to include the wipe after the muti-disabler flash as per your comments.
Hopefully this allows more work to be done on the Snap s10s!
FlatOutRU said:
Yay dude thanks for using my instruction and my modified zips without asking me first
You've got an attempt before - trying to post my 9730 overlay for AOSP
No, you didn't work with other people. You just spammed me ,my pm here and in telegram to get explanation and posted it here without permission
You've also forgot one important step. After flashing multidisabler you must Wipe Data (if didn't do that before with twrp)
Multidisabler - i've just changed a few lines in @ianmacd code to get it working on our Snapdragon variant.
Twrp.tar - extracted boot.img and recovery.img from @tomatolei ROM for S10+ 9750
Click to expand...
Click to collapse
Thank you, it works perfectly.
what Magisk version do you use ?
Is it working with magisk v20 ?
Vuska said:
what Magisk version do you use ?
Is it working with magisk v20 ?
Click to expand...
Click to collapse
I'm on 19.3, I don't see why 20 wouldn't work.
Fznwolf said:
I'm on 19.3, I don't see why 20 wouldn't work.
Click to expand...
Click to collapse
Not work in G9750 ... dont know why...
Sent from my SM-G9750 using Tapatalk
When you say flash (with only stock recovery installed) do you mean with Odin? Which boxes in odin would this tar files go to (e.g. AP, boot?). My phone is s10+ 9750. has it been tested on that? thanks a lot.
Any chance for 9700 (s10E) support?
NisseGurra said:
Any chance for 9700 (s10E) support?
Click to expand...
Click to collapse
Lets consider my method superseded by https://forum.xda-developers.com/s1...p-3-3-1-v3-t3980463/post80569455#post80569455
Thank you @Mentalmuso
heavenly86 said:
When you say flash (with only stock recovery installed) do you mean with Odin? Which boxes in odin would this tar files go to (e.g. AP, boot?). My phone is s10+ 9750. has it been tested on that? thanks a lot.
Click to expand...
Click to collapse
This would be AP, please use https://forum.xda-developers.com/s1...p-3-3-1-v3-t3980463/post80569455#post80569455
Vuska said:
Not work in G9750 ... dont know why...
Sent from my SM-G9750 using Tapatalk
Click to expand...
Click to collapse
https://forum.xda-developers.com/s1...p-3-3-1-v3-t3980463/post80569455#post80569455 will work.
Fznwolf said:
I'm on 19.3, I don't see why 20 wouldn't work.
Click to expand...
Click to collapse
Please do not use 20, it is not found to be working. Stick with 19.3.
Any luck on the 975U. I have e an unlocked VZW 975U running Android Q
Blackweiser35 said:
Any luck on the 975U. I have e an unlocked VZW 975U running Android Q
Click to expand...
Click to collapse
I see no one's responded to you in the last few days, probably because the OP says to not bother asking if it works with US variants. No there's no known way to get root on one of the 97_U variants. The bootloader is locked, and it would take a miracle to bypass that.
Cannot use Dex for PC function.
Could you upload tomatolei's twrp v6, which updated the kernel to support the Dex funtion? Many thanks!

[Guide][Root] The easiest way to root without TWRP

Last updated May 2020
Keeping it short. This is a simple way to root your device. You will need a computer and a data cable for this.
Objectives :
Have root using Magisk
Be able to install OTA from the settings without bootloops
Avoid boot loop
Very important :
This will work with ANY Xiaomi phone, and should work with ANY ANDROID phone as well. The difference between phones would be in where you can get your boot image from.
Your phone has to have an unlocked bootloader
Your phone has to have stock recovery. TWRP WILL cause bootloop for root and/or OTA updates from system.
I like to have root with magisk and don't want to install TWRP because I want to be able to install OTA from system without boot loops. This guide will help you achieve this with ease.
Steps:
Download the ROM full zip file. This could be the ROM ALREADY installed on your phone or you are updating your phone to it. Here is a video of one way to get your ROM file.
https://youtu.be/KsxHial1v1U
Open the file and extract "boot.img" on your phone or Computer.
Move the boot.img file to your phone
Download and install the latest Magisk official manager app from here: https://github.com/topjohnwu/Magisk/releases/download/manager-v7.4.0/MagiskManager-v7.4.0.apk
Open Magisk manager and click install then "select and patch a file" like in this video
https://youtu.be/USHcCMYlexM
Copy the Patched image from the download folder to your computer adb/fastboot folder
Reboot your phone into fastboot (press and hold power and vol down) and connect it to the computer
Flash that patches image file using fastboot
fastboot flash boot magisk_patched.img
Click to expand...
Click to collapse
fastboot reboot
Click to expand...
Click to collapse
Open Magisk manager and complete the installation if needed. The app will prompt you for action.
Enjoy
Update May 2020
Hello again,
Sorry for being away for so long. Here are some of the things I have noticed people are confused with and need to make them clear:
This method works for ANY Android phone. As long as you have the Correct boot.img and can unlock the bootloader
MAKE SURE 100% you have the correct boot.img file for your CURRENT ROM
MAKE 100% SURE, the boot.img file you get from the FULL ROM zip file, not an OTA update zip file
Make sure you check the date and time of the "magisk_patched.img" file to make sure that is the one you made
Make sure you use the LATEST magisk manager
Make sure you open magisk after flashing the magisk_patched.img as boot image. Magisk manager will tell you if there is another step needed, just click yes and it will be done in seconds
Make sure to enable "Hide Magisk" to allow you to have your BANK apps working as well as security checks
If any app you use gives you an error "YOU ARE Rooted bla bla bla" Use magisk manager to hide the root for this specific app (in the settings)
That's all I can remember, good luck
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Kiwironic said:
Keeping it short. This is a simple way to root your device. You will need a computer and a data cable for this.
Steps:
Download the ROM full zip file. This could be the ROM ALREADY installed on your phone or you are updating your phone to it. Here is a video of one way to get your ROM file.
Open the file and extract "boot.img" on your phone or Computer.
Move the boot.img file to your phone
Download and install the latest Magisk official manager app from here: https://github.com/topjohnwu/Magisk/releases/download/manager-v7.4.0/MagiskManager-v7.4.0.apk
Open Magisk manager and click install then "select and patch a file" like in this video
Copy the Patched image from the download folder to your computer adb/fastboot folder
Reboot your phone into fastboot (press and hold power and vol down) and connect it to the computer
Flash that patches image file using fastboot
Open Magisk manager and complete the installation if needed. The app will prompt you for action.
Enjoy
Click to expand...
Click to collapse
After fastboot flash, reboot, open magisk manager, tap INSTALL beside "magisk is up to date". Then select direct install; reboot.
Works on MIUI 11.0.2; davinciin. ??
I know that when I unlock the bootloader,the phone is going to reset...but,is it going to happen immediately or after that 168 hours of waiting?
Sent from my Xiaomi Mi 9T using XDA Labs
welder73 said:
I know that when I unlock the bootloader,the phone is going to reset...but,is it going to happen immediately or after that 168 hours of waiting?
Sent from my Xiaomi Mi 9T using XDA Labs
Click to expand...
Click to collapse
People report different amounts of wait time, depends on the mi account I think
welder73 said:
I know that when I unlock the bootloader,the phone is going to reset...but,is it going to happen immediately or after that 168 hours of waiting?
Sent from my Xiaomi Mi 9T using XDA Labs
Click to expand...
Click to collapse
Phone is reset when the bootloader is unlocked, not before/during the waiting time.
Can do with locked bootloader?
Micdu70 said:
Phone is reset when the bootloader is unlocked, not before/during the waiting time.
Click to expand...
Click to collapse
Thank you man :good:
Sent from my Xiaomi Mi 9T using XDA Labs
Cabeção-Flu said:
Can do with locked bootloader?
Click to expand...
Click to collapse
No, bootloader has to be unlocked.
@Kiwironic followed your guide and worked very well, although I had to wipe data through the stock recovery to get the phone to boot, I believe that's just how newer Xiaomi phones work. I do have one question though, now that I'm rooted with stock recovery, would I be able to install OTA updates? I'm assuming I would of course lose root and have to redo the process from scratch if that's the case.
Lazer Bear said:
@Kiwironic followed your guide and worked very well, although I had to wipe data through the stock recovery to get the phone to boot, I believe that's just how newer Xiaomi phones work. I do have one question though, now that I'm rooted with stock recovery, would I be able to install OTA updates? I'm assuming I would of course lose root and have to redo the process from scratch if that's the case.
Click to expand...
Click to collapse
I had root on MIUI10 and updated the ROM to MIUI11 then did my root again the way mentioned and did NOT have to wipe. You can get OTA anyway, it will try the update first, it will fail, then it download and install a full ROM zip automatically. You have to wait for it to do that twice, that's all. The first boot after the update takes some time.
@Kiwironic First, thank you so your simple guide!
Can this cause bootloop on my device? If yes, can I simply flash the original boot.img to boot without any data loss?
Also another question: my device is rootless and bootloader unlocked, so my Google Pay doesn't work. When installing Magisk it goes back to work immediately or I have to do something to work?
kryzeK said:
@Kiwironic First, thank you so your simple guide!
Can this cause bootloop on my device? If yes, can I simply flash the original boot.img to boot without any data loss?
Also another question: my device is rootless and bootloader unlocked, so my Google Pay doesn't work. When installing Magisk it goes back to work immediately or I have to do something to work?
Click to expand...
Click to collapse
If you flash the full rom, chances of bootloop is minimal. And should have stock experience except for being unlocked.
I got bootloop, using indian global V11.0.2.0.
After flashing patched boot, it gets bootloop recovery, only way is to wipe all data and reboot
After booting up and opeing magisk it shows a recommendation to install some ZIP
Accepting the recommendation results in bootloop,
Rejecting the recommendation and trying to Install > Direct Install results in bootloop as well
Posted a thread with this issue here
stone_henge said:
I got bootloop, using indian global V11.0.2.0.
After flashing patched boot, it gets bootloop recovery, only way is to wipe all data and reboot
After booting up and opeing magisk it shows a recommendation to install some ZIP
Accepting the recommendation results in bootloop,
Rejecting the recommendation and trying to Install > Direct Install results in bootloop as well
Posted a thread with this issue here
Click to expand...
Click to collapse
This
I got the exact same issue, every time it asked me to install additional zip files it went into recovery immediately after booting up.
Anyone know why this happened?
oblyvision said:
This
I got the exact same issue, every time it asked me to install additional zip files it went into recovery immediately after booting up.
Anyone know why this happened?
Click to expand...
Click to collapse
Do you have stock recovery or TWRP? Which version of Magisk are you using?
I have patched my boot stock image, installed full ROM, then flashed the patched boot image. Magisk did not show any recommendation installation.
There are a few guides online on how to deal with Magisk Bootloop without the need to wipe data.
Kiwironic said:
Do you have stock recovery or TWRP? Which version of Magisk are you using?
I have patched my boot stock image, installed full ROM, then flashed the patched boot image. Magisk did not show any recommendation installation.
There are a few guides online on how to deal with Magisk Bootloop without the need to wipe data.
Click to expand...
Click to collapse
TWRP 3.3.1-8, magisk 20.1
Patching boot image with magisk wasn't a problem. The Superuser itself works normally, module doesn't. The magisk manager suggested to download additional files for the magisk to be working properly.
I'm on MIUI 11.0.1 Global
Was TWRP the cause in the fist place?
oblyvision said:
TWRP 3.3.1-8, magisk 20.1
Patching boot image with magisk wasn't a problem. The Superuser itself works normally, module doesn't. The magisk manager suggested to download additional files for the magisk to be working properly.
I'm on MIUI 11.0.1 Global
Was TWRP the cause in the fist place?
Click to expand...
Click to collapse
On first installation MM asks to download what it needs e.g. to verify SafetyNet. Allow and there is no problem about. TWRP is generally not needed to install Magisk. Things are documented in Magisk guides
https://topjohnwu.github.io/Magisk/
https://www.didgeridoohan.com/magisk/HomePage
oblyvision said:
TWRP 3.3.1-8, magisk 20.1
Patching boot image with magisk wasn't a problem. The Superuser itself works normally, module doesn't. The magisk manager suggested to download additional files for the magisk to be working properly.
I'm on MIUI 11.0.1 Global
Was TWRP the cause in the fist place?
Click to expand...
Click to collapse
Yes, as the title suggests "without TWRP". The reason is, you cannot install OTA and magisk easily without using the stock recovery. Any attempt to update OTA or use any recovery script on the phone will result in a boot loop.
The solution to get out of the boot loop is simple. Actually a couple of solutions.
One, flash your stock recovery, or
Two, flash a full ROM that includes the stock recovery.
No need to wipe data
That's the only reason I made this post and the other about OTA on root. I don't like to use TWRP because I want OTA install without boot loop. At the same time I want root. Hence the solutions I provided
Kiwironic said:
Yes, as the title suggests "without TWRP". The reason is, you cannot install OTA and magisk easily without using the stock recovery. Any attempt to update OTA or use any recovery script on the phone will result in a boot loop.
The solution to get out of the boot loop is simple. Actually a couple of solutions.
One, flash your stock recovery, or
Two, flash a full ROM that includes the stock recovery.
No need to wipe data
That's the only reason I made this post and the other about OTA on root. I don't like to use TWRP because I want OTA install without boot loop. At the same time I want root. Hence the solutions I provided
Click to expand...
Click to collapse
I've tried flashing magisk via recovery and didn't work, the same bootloop. Here's the thread: https://forum.xda-developers.com/mi-9t/how-to/guide-miui-11-v11-0-1-0-pfjmixm-rooted-t3997299
I thought this might be a working alternative.
Gotta try installing magisk with stock recovery then, and if it still didn't work, well, more research for me..
oblyvision said:
I've tried flashing magisk via recovery and didn't work, the same bootloop. Here's the thread: https://forum.xda-developers.com/mi-9t/how-to/guide-miui-11-v11-0-1-0-pfjmixm-rooted-t3997299
I thought this might be a working alternative.
Gotta try installing magisk with stock recovery then, and if it still didn't work, well, more research for me..
Click to expand...
Click to collapse
You have to understand the requirements :
- stock recovery
- install magisk manager app
- patch the boot image for your stock ROM (same version on your phone)
- flash that Patched boot image.
- reboot
- done, that's magisk installed

Categories

Resources