SM-G9350 root guide - Samsung Galaxy S7 Edge Guides, News, & Discussion

Simple as pie root guide for our devices.
Things you will need Crom, Odin, TWRP, Permissive Kernel.
Crom.apk: https://www.androidfilehost.com/?fid=385035244224394932
Odin: http://odindownload.com/download/Odin3_v3.12.3.zip
TWRP SM-G9350: http://forum.xda-developers.com/s7-...ecovery-official-twrp-galaxy-s7-edge-t3458589
Permissive Kernel: https://www.androidfilehost.com/?fid=529152257862679620
SuperSU: http://forum.xda-developers.com/apps/supersu/v2-64-2-66-supersu-mode-t3286120
1. Boot up your phone and enable developer options, than go in to dev options and enable oem unlock.
2. Put Crom on your sdcard and install it to your phone. Open Crom and unlock the bootloader.
3. Put your phone in download mode and use Odin to flash twrp to your phone. (You put it in the AP slot, also under the options tab uncheck force reboot ). After your phone flashes unplug it from usb and force reboot it in to recovery and you will be greeted with twrp.
4. Swipe to continue, and format data right away to remove encryption from internal storage. At this point go ahead and flash the permissive kernel and supersu to be rooted.
5. Reboot one last time in to your rom.

Will this work on SM-G935U?

iterminator said:
Will this work on SM-G935U?
Click to expand...
Click to collapse
SM-G9350 ONLY, G935U is NOT BOOTLOADER UNLOCKED ONLY CARRIER UNLOCKED.

travis82 said:
Simple as pie root guide for our devices.
Things you will need Crom, Odin, TWRP, Permissive Kernel.
Crom.apk: https://www.androidfilehost.com/?fid=385035244224394932
Odin: http://odindownload.com/download/Odin3_v3.12.3.zip
TWRP SM-G9350: http://forum.xda-developers.com/s7-...ecovery-official-twrp-galaxy-s7-edge-t3458589
Permissive Kernel: https://www.androidfilehost.com/?fid=529152257862679620
SuperSU: http://forum.xda-developers.com/apps/supersu/v2-64-2-66-supersu-mode-t3286120
1. Boot up your phone and enable developer options, than go in to dev options and enable oem unlock.
2. Put Crom on your sdcard and install it to your phone. Open Crom and unlock the bootloader.
3. Put your phone in download mode and use Odin to flash twrp to your phone. (You put it in the AP slot, also under the options tab uncheck force reboot ). After your phone flashes unplug it from usb and force reboot it in to recovery and you will be greeted with twrp.
4. Swipe to continue, and format data right away to remove encryption from internal storage. At this point go ahead and flash the permissive kernel and supersu to be rooted.
5. Reboot one last time in to your rom.
Click to expand...
Click to collapse
Hi, I'm an absolute beginner in this. How do I "flash the permissive kernel and supersu"? I managed to figure out the rest, but not this. I tried transferring the zip files to my phone and then installing using TWRP but supersu said a file was missing...

Hi Travis,
Thanks a lot for your great help. Would you please give a link for the permissive kernel, the given link is broken. Thank :good:

Related

(guide) Verizon s5 Bootloader Unlock 100% Work Reactivation Lock off and Developer

100% WORKING
for lock bootloader on verizon s5 android 5.01 or 6
WARNING DOING THIS WILL WIPE YOUR EXTERNAL SD BACKUP YOUR SDCARD ONTO YOUR PC ALWAYS SAVE YOUR STUFF
DOWNLOAD ALL THE FILES
Get this to check your cid
FOR CHECKING YOUR CID has to be starting with 15 and not 11 https://apkpure.com/emmc-brickbug-check/net.vinagre.android.emmc_check/download?from=details new link
NCG Kernel: https://www.androidfilehost.com/?fid=23991606952612346
NCG Modem: https://www.androidfilehost.com/?fid=23991606952612348
NCG Stock Tar: https://www.androidfilehost.com/?fid=23991606952612350
i used NE9 FIRMWARE https://www.androidfilehost.com/?fid=23991606952607140
BUT NCG WORKS
try it on OK3 FIRMWARE or you can FLASH IT OVER WITH PB1 FIRMWARE https://www.androidfilehost.com/?fid=24438995911970571
get OK3 ROOT https://www.androidfilehost.com/?fid=24438995911970821
get latest flash fire http://www.apkmirror.com/apk/chainf...flashfire-0-52-android-apk-download/download/ new link
safestrap and kroot included in ok3 root folder and install to phone
busybox https://www.apk4fun.com/apk/6139/ and install
get terminal emulater also https://www.apk4fun.com/apk/1203/ new link
fix superuser get this https://www.androidfilehost.com/?fid=24052804347776739
BOOTLOADER unlock file
download https://github.com/beaups/SamsungCID/blob/master/samsung_unlock
CUSTOM RECOVERY https://dl.twrp.me/klte/
root file explorer http://www.apkhere.com/down/com.spee...rer_4.0.1_paid
LETS BEGIN
OPEN DEVELOPER OPTION
Go to the settings menu on your GS5.
Scroll down to the "System section and tap "About Device."
Now scroll down to "Build number."
Tap the "Build number" section seven times. ...
Now back out to the main settings menu, and you'll see "Developer options" listed
u can also uncheck verify apps via usb here
.
also go to security Open up Settings on your S5
Slide down to the System section
Tap on Security
Check the box next to Unknown sources
plug phone to pc and open OK3 ROOT put phone on home screen open ok3root and click on root follow the instructions that comes up phone should reboot to download mode and odin will open
.click on AP and pick NK2_kernel from the ok3 folder now flash
now phone will reboot and will STICK on Samsung and ok3 will finish rooting phone after the rooting is complete phone will not reboot u need to pull battery and load download mode manually
.enter download mode Turn off the device.
With the device turned off, press Volume Down, Home and Power Buttons simultaneously.
Once you see the warning message, release all buttons.
Press Volume Up to enter download mode.
Open Odin from the ok3 folder and put VZW_BOK3_KERNEL_ONLY.tar
thats INCLUDED in the folder CLICK ON AP in Odin and flash when finish phone will reboot
u can sigh into Samsung account but skip Google sign in now phone is rooted
get latest flashfire
safestrap and kroot included in ok3 root folder and install to phone
busybox and install
get terminal emulater also install
open kroot to confirm root
now to fix superuser get this https://www.androidfilehost.com/?fid=24052804347776739 extract and put mrw into phone storage u can put a copy into sd card also
.open terminal emulater and type this
su then press enter
then type
sh /sdcard/mrw/root.sh
then press enter
phone will reboot and kroot will be replace with superuser
super user will ask to update so update superuser as normal option
open safestrap and instal recovery but dont enter recovery
open safestrap and install NCG Stock Tar
if u have NE9 use it because that is what i used
for flashfire
open flashfire click +
go to flash firmware package
go to external sd card and pick NE9 FIRMWARE or NCG Stock Tar
it will start to scan archive
after it will say MD5 hashes were found in the archive and contents have been verified
15.now a patition option will come up with boot/recovery/system/cache will be ticked in red
all u need is boot and system ticked proceed to the next step by clicking on the white tick top right
now you wil be in the action option u should see
(instruction)
(samsung write protect)
(flash firmware package)
(everroot/reboot)
in firmware package it should have name of firmware ,boot and system alone
in everroot it will have inject supersu if u click on everroot and take of the tick u will have to root over so better keep it
in reboot it should say normal
click flash and let the firmware flash the rom keep a close eye on the flashing process
as soon as the phone goes to reboot quickly hold home and down volume to enter download mode
open Odin from the OK3 folder and put NCG KERNAL AND FLASH
when Odin makes the phone reboot hold down home and volume down to get back into download mode
in Odin put the NCG MODEM and flash again PHONE WILL REBOOT AND start to boot if stuck on Verizon for to long just pull battery
and enter PB1 recovery (volup+home+power) and wipe date factory reset
now phone should boot up now u have been downgraded to kitkat 4.4.2 with 5.0.1 bootloader
this is the only way to take off reactivation lock
NOW TO TURN YOUR PHONE INTO A DEVELOPER PHONE YES VERIZON BOOTLOADER UNLOCK
As u are on kitkat finally u can now take off the annoying reactivation lock
go to settings
security
click on reactivation lock enter your samsung account and the tick should be off
so now the REACTIVATION LOCK (KK) ON should now be REACTIVATION LOCK (KK) OFF in bootloader
now for DEVELOPER BOOTLOADER
download https://github.com/beaups/SamsungCID...samsung_unlock new link
Move it to your root directory of your internal storage (DONT KNOW Y THERE CONFUSE US OPEN PHONE INTERNAL STORAGE AND PUT IT THERE NOT IN A FOLDER THATS THE ROOT DIRECTORY)
Using a root file explorer http://www.apkhere.com/down/com.spee...rer_4.0.1_paid
goto /sys/block/mmcblk0/device
Copy the file cid to your internal storage(this is a backup of your old cid, if it fails to copy, just open it as text and copy paste the text)
open a terminal emulator app
type the following
su
cd /storage/emulated/0/
chown root.root samsung_unlock
chmod 777 samsung_unlock
./samsung_unlock
Device will poweroff u have to put it back on
Enter the terminal again after phone reboots and enter the following commands
su
cd /storage/emulated/0/
./samsung_unlock
Once completed reboot to bootloader u are now a developer with a unlocked bootloader
Verify you are a Developer by going to download mode (voldown+home+power)
u should see
REACTIVATION LOCK (KK) OFF
DEVELOPER
OPEN ODIN AND FLASH CUSTOM RECOVERY https://dl.twrp.me/klte/
NOW u got a custom recovery and open bootloader u are now a developer
this is as far as i have reached but i think it will be easy to upgrade to 6.01 and keeping the custom recovery using flash fire or safe strap or trwp recovery
u have to be carefull when upgradng with original rom u need the rom wth out a recovry
LOL NOW WE GOT 3 RECOVERY
SAFESTRAP RECOVERY
FLASHFIRE RECOVERY
TRWP RECOVERY
LOL
now u can install cm13 or even (resurrection remix will confirm if working) or whatever rom u get for s5 900v
THANKS TO THE DEVELOPERS THAT HELP ME PUT TOGETHER ALL THE STUFF THAT HELP ME TO FIGURE OUT HOW TO DO THIS
jrkruse
Misterxtc
Bren123
GeTex
[email protected]
AND ALL THE ONES I CANT REMEMBER
THANKS
:g ood:
::good:
does this work with Cid 11??
you made my method simpler thanks!
good going
---------- Post added at 11:48 PM ---------- Previous post was at 11:47 PM ----------
this method only works on smasung emmc cid 15
[email protected] said:
you made my method simpler thanks!
good going
---------- Post added at 11:48 PM ---------- Previous post was at 11:47 PM ----------
this method only works on smasung emmc cid 15
Click to expand...
Click to collapse
lol np i just write down exactly what i did with my own phone
nice instructions.
does this method work on the phone with Toshiba Cid 11??
No it does not
[email protected] said:
you made my method simpler thanks!
good going
---------- Post added at 11:48 PM ---------- Previous post was at 11:47 PM ----------
this method only works on smasung emmc cid 15
Click to expand...
Click to collapse
works on a s5 G900V 6.0.1? i can't root,this fails when i try to install the twrp recovery.
message: secure check fail: recovery. in the secure options, i have the protection disabled.
how can root my phone?
Download pb1 or ok3 firmware download them from sammobile.com
Then download Odin to your PC
Then download USB drivers to your PC from samsungs website
Then using Odin flash firmware you downloaded from sammobile.com
Connect your phone with USB cable to computer
Boot to download mode
Put file in ap/PDA slot on Odin then click start once your phone is done flashing it will boot up
Setup phone
Then go to settings menu then about and click build number 7 times till developer setting s are enabled
Then enabled USB. Debugging in developer setting
Turn off check file with USB/adb
Go to jrkruse ok3 root thread on XDA under s5 Verizon forum
Then you may be able to bootloader unlock go to
Getex kk-mm bootloader unlock for the s5 Verizon thread on XDA under S5 Verizon forum
Then flash custom recovery in Odin
Then install custom ROM in custom recovery
joethaking06 said:
does this work with Cid 11??
Click to expand...
Click to collapse
How do we check this again?
desmvp said:
How do we check this again?
Click to expand...
Click to collapse
this app https://play.google.com/store/apps/details?id=net.vinagre.android.emmc_check
I am at step 10. I quit lastnight because I was tired.
I have mrw on the SD and device storage. I type in the terminal command and it doesn't do anything. I also can't open flashfire(when I click on it the screen just flickers and back to normal)
I need help. Any credible users want to help me through Teamviewer for a little reward?
I may be missing the obvious here. But how do I get to the home screen in step 4. I was able to get usb debug checked and all that with shake settings but any floating hone screen button takes me back to the beginning of the setup process
Sent from my ALCATEL A564C using Tapatalk
kurntech said:
[/B][/B][/B][/SIZE]100% WORKING
ok if u have lock bootloader and on android 5.01
i have the verizon s5 but
WARNING DOING THIS WILL WIPE YOUR EXTERNAL SD BACKUP YOUR SDCARD ONTO YOUR PC ALWAYS SAVE YOUR STUFF
Get this to check your cid it has to start with 15
And not 11
https://play.google.com/store/apps/details?id=net.vinagre.android.emmc_check
I AM NOT SURE THIS WORKS ON OK3 FIRMWARE AS I HAD OK3 AND FLASHED PB1 TO DO THIS
IF U ARE ON OK3 FIRMWARE FLASH IT OVER WITH PB1 FIRMWARE https://www.androidfilehost.com/?fid=24438995911970571
BEFORE DOING ANYHING LOOK THROUGH THE INSTRUCTION AND MAKE SURE U DOWNLOAD EVERYTHING TO YOUR PC
get
NCG Kernel: https://www.androidfilehost.com/?fid=23991606952612346
NCG Modem: https://www.androidfilehost.com/?fid=23991606952612348
NCG Stock Tar: https://www.androidfilehost.com/?fid=23991606952612350
i used NE9 FIRMWARE https://www.androidfilehost.com/?fid=23991606952607140
BUT NCG WORKS
LETS BEGIN
1. get OK3 ROOT https://www.androidfilehost.com/?fid=24438995911970821
2.open developer Go to the settings menu on your GS5.
Scroll down to the "System section and tap "About Device."
Now scroll down to "Build number."
Tap the "Build number" section seven times. ...
Now back out to the main settings menu, and you'll see "Developer options" listed
u can also uncheck verify apps via usb here
.
3.also go to security Open up Settings on your S5
Slide down to the System section
Tap on Security
Check the box next to Unknown sources
4.plug phone to pc and open OK3 ROOT put phone on home screen open ok3root and click on root follow the instructions that comes up phone should reboot to download mode and odin will open
5.click on AP and pick NK2_kernel from the ok3 folder now flash
6.now phone will reboot and will stick on samsung and ok3 will finish rooting phone after the rooting is complete phone will not reboot u need to pull battery and load download mode manually
7.enter download mode Turn off the device.
With the device turned off, press Volume Down, Home and Power Buttons simultaneously.
Once you see the warning message, release all buttons.
Press Volume Up to enter download mode.
8.open odin from the ok3 folder and put VZW_BOK3_KERNEL_ONLY.tar thats also in the folder in AP in odin and flash when finish phone will reboot
9.u can sigh into sansung account but skip google sign in now phone is rooted
10. get latest flash fire http://www.apkmirror.com/apk/chainf...-release/flashfire-0-31-android-apk-download/
also put safestrap and kroot included in ok3 root folder and install to phone alsoget busybox https://www.apk4fun.com/apk/6139/ and install
get terminal emulater also http://www.apkmirror.com/apk/jack-p...erminal-emulator-1-0-70-android-apk-download/ install
open kroot to confirm root
11. now to get or fix superuser get this https://www.androidfilehost.com/?fid=24052804347776739 extract and put mrw into phone storage u can put a copy into sd card also
12.open terminal emulater and type this su
sh /sdcard/mrw/root.sh
enter
13.phone will reboot and kroot will be replace with superuser update superuser as normal option open safestrap and instal recovery but dont enter recovery
open safestrap and install NCG Stock Tar if u have NE9 use it because that is what i used
14.open flashfire click + go to flash firmware package go to external sd card and pick NE9 FIRMWARE or NCG Stock Tar
it will start to scan archive
after it will say MD5 hashes were found in the archive and contents have been verified
15.now a patition option will come up with boot/recovery/system/cache will be ticked in red
all u need is boot and system ticked proceed to the next step by clicking on the white tick top right
now you wil be in the action option u should see
(instruction)
(samsung write protect)
(flash firmware package)
(everroot/reboot)
in firmware package it should have name of firmware ,boot and system alone
in everroot it will have inject supersu if u click on everroot and take of the tick u will have to root over so better keep it
in rebbot it should say normal
click flash and let the firmware flash the rom keep a close eye on the flashing process
as soon as the phone goes to reboot quickly hold home and down volume to enter download mode
open odin from the OK3 folder and put NCG KERNAL AND FLASH
when odin makes the phone reboot hold down home and volume down to get back into download mode
in odin put the NCG MODEM and flash again PHONE WILL REBOOT AND start to boot if stuck on verizon for to long just pull battery
and enter PB1 recovery (volup+home+power) and wipe date factory reset
now phone should boot up now u have been downgraded to kitkat 4.4.2 with 5.0.1 bootloader
this is the only way to take off reactivation lock
16.NOW TO TURN YOUR PHONE INTO A DEVELOPER PHONE YES VERIZON BOOTLOADER UNLOCK
As u are on kitkat finilly u can now take off the annoying reactivation lock
go to settings
security
click on reactivation lock enter your samsung account and the tick should be off
so now the REACTIVATION LOCK (KK) ON should now be REACTIVATION LOCK (KK) OFF in bootloader
now for DEVELOPER BOOTLOADER
download https://github.com/beaups/SamsungCID...samsung_unlock
Move it to your root directory of your internal storage (DONT KNOW Y THERE CONFUSE US OPEN PHONE INTERNAL STORAGE AND PUT IT THERE NOT IN A FOLDER THATS THE ROOT DIRECTORY)
Using a root file explorer http://www.apkhere.com/down/com.speedsoftware.rootexplorer_4.0.1_paid
goto /sys/block/mmcblk0/device
Copy the file cid to your internal storage(this is a backup of your old cid, if it fails to copy, just open it as text and copy paste the text)
open a terminal emulator app
type the following
su
cd /storage/emulated/0/
chown root.root samsung_unlock
chmod 777 samsung_unlock
./samsung_unlock
Device will poweroff u have to put it back on
Enter the terminal again after phone reboots and enter the following commands
su
cd /storage/emulated/0/
./samsung_unlock
Once completed reboot to bootloader u are now a developer with a unlocked bootloader
Verify you are a Developer by going to download mode (voldown+home+power)
u should see
REACTIVATION LOCK (KK) OFF
DEVELOPER
OPEN ODIN AND FLASH CUSTOM RECOVERY https://dl.twrp.me/klte/
NOW u got a custom recovery and open bootloader u are now a developer
this is as far as i have reached but i think it will be easy to upgrade to 6.01 and keeping the custom recovery using flash fire or safe strap or trwp recovery
u have to be carefull when upgradng with original rom u need the rom wth out a recovry
LOL NOW WE GOT 3 RECOVERY
SAFESTRAP RECOVERY
FLASHFIRE RECOVERY
TRWP RECOVERY
LOL
now u can install cm13 or even (resurrection remix will confirm if working) or what ever rom u get for s5 900v:victory:
THANKS TO THE DEVELOPERS THAT HELP ME PUT TOGETHER ALL THE STUFF THAT HELP ME TO FIGURE OUT HOW TO DO THIS
jrkruse
Misterxtc
Bren123
GeTex
[email protected]
AND ALL THE ONES I CANT REMEMBER
THANKS
:fingers-crossed::fingers-crossed::fingers-crossed::fingers-crossed::fingers-crossed:
:good::good::good::good::good::good::good::good::good::good::good::good:
Click to expand...
Click to collapse
Kurntech I would recommend you add a link to getex bootloader unlock thread and direct people there I find the adb method easier personally not this method just a thought
Hmmm ok but this method not that hard let me recheck how I wrote it
orozcohoyos123 said:
works on a s5 G900V 6.0.1? i can't root,this fails when i try to install the twrp recovery.
message: secure check fail: recovery. in the secure options, i have the protection disabled.
how can root my phone?
Click to expand...
Click to collapse
U need to downgrade to 4.4.2 first its the only way to take off reactivation lock
GIXXERGUY6 said:
I am at step 10. I quit lastnight because I was tired.
I have mrw on the SD and device storage. I type in the terminal command and it doesn't do anything. I also can't open flashfire(when I click on it the screen just flickers and back to normal)
I need help. Any credible users want to help me through Teamviewer for a little reward?
Click to expand...
Click to collapse
Once u on the rom I recommended and I reach step 10 that means phone is rooted the command in step 12 will replace kroot with supersu also instal busybox and update superuse then flashfire will work
Wow! Thanks Buddy! This removed/turned my reactivation lock off on my Galaxy S5 Verizon with Marshmallows 6.0!
can we get working download links please
kurntech said:
100% WORKING
Get this to check your cid
FOR CHECKING YOUR CID has to be starting with 15 and not 11 https://play.google.com/store/apps/d...oid.emmc_check
get
NCG Kernel: https://www.androidfilehost.com/?fid=23991606952612346
NCG Modem: https://www.androidfilehost.com/?fid=23991606952612348
NCG Stock Tar: https://www.androidfilehost.com/?fid=23991606952612350
i used NE9 FIRMWARE https://www.androidfilehost.com/?fid=23991606952607140
BUT NCG WORKS
try it on OK3 FIRMWARE or you can FLASH IT OVER WITH PB1 FIRMWARE https://www.androidfilehost.com/?fid=24438995911970571
get OK3 ROOT https://www.androidfilehost.com/?fid=24438995911970821
get latest flash fire http://www.apkmirror.com/apk/chainfi...-apk-download/
safestrap and kroot included in ok3 root folder and install to phone
busybox https://www.apk4fun.com/apk/6139/ and install
get terminal emulater also http://www.apkmirror.com/apk/jack-pa...-apk-download/ install
fix superuser get this https://www.androidfilehost.com/?fid=24052804347776739
BOOTLOADER unlock file
download https://github.com/beaups/SamsungCID...samsung_unlock
CUSTOM RECOVERY https://dl.twrp.me/klte/
root file explorer http://www.apkhere.com/down/com.spee...rer_4.0.1_paid
::good:
Click to expand...
Click to collapse
working download links please? would be much appreciated some of the links are broken!
Thank you so much!!!! Works Perfect!! :good:
I have followed this guide step by step up until around step 14. I am not fully understanding what you mean by
open safestrap and instal recovery but dont enter recovery
open safestrap and install NCG Stock Tar
if u have NE9 use it because that is what i used
How do I go about this step?

[ALTERNATIVE] Root Mi A1 with TWRP Without disabling Ota

As you may imagine this simple guide will show you how to root your device with magisk from twrp recovery.
I know, there is already a guide by jashancheema that shows how to root this device, however it's difficult to update the system once you are rooted. In my opinion the way i'm about to show you is faster and easier.
Disclaimer: I am not responsible for ANY damage done to your phone, act at your own risk.
That's how you can root your phone with magisk and recovery without disabling ota.
1. First download magisk manager and magisk flashable zip from here (official thread)
Install magisk manager and copy the magisk flashable zip somewhere in your device or sd.
2. Download mohancm twrp recovery (recovery-3.2.1-2-oreo) from here (official thread)
NOTE: do not download the installer, you need the .img file bootable from fastboot (recovery-3.2.1-2-oreo.img)
3. Copy recovery-3.2.1-2-oreo.img into the fastboot folder.
4. Enable developer option from in the device, enable OEM unlocking.
5. turn off your device and enter into fastboot mode by holding voume down + power button, then connect your device to the pc.
6. now open fastboot and type this to check the connection, if the terminal return an andress your phone is correctly configured.
Code:
fastboot devices
7. type this from fastboot to unlock your bootloader.
Code:
fastboot oem unlock
8. now type this to boot your recovery (REMEMBER TO COPY THE RECOVERY IMG INTO THE FASTBOOT FOLDER)
Code:
fastboot boot recovery-3.2.1-2-oreo.img
9. once your recovey boot flash the magisk zip and reboot.
NOTE: do not install or flash twrp into your device or you won't be able to update through ota.
---------------------HOW TO UPDATE-----------------------------------------------------------------------------------------------------
When you will receive the update the only thing you need to do is boot twrp, flash magisk unistaller (that you can find here ) and update.
1. type this to boot your recovery (REMEMBER TO COPY THE RECOVERY IMG INTO THE FASTBOOT FOLDER)
Code:
fastboot boot recovery-3.2.1-2-oreo.img
2. flash magisk unistaller from recovey
3. Update your system
4. Repeat the same procedure to root again your device.
If you are italian and you need any help you can find it here, the serious telegram community.
https://t.me/XiaomiMiA1Italia
Special thanks to @samuele94 and @TheRealajeje from the telegram group.
RESERVED
All works!!! :good::good::good::good::good:
WORK
I tried, it works. thank you!
funziona da dio! fantastico! bella guida
Great work!
i already flash twrp on my device, so i cannot install update OTA until i go back to unroot?
@H.A.L. 9000, I'm sorry for my ignorance but I wonder whether the bootloader unlock passage (that'd reset everything) is inescapable after installing an OTA update
Can I install ota with the unlocked bootloader?
Thanks for this I was always confused on how to update the phone after magisk.
Edit: you think it's possible to use a custom kernel with magisk and still maintain ota?
Thank you, the rooting part worked flawlessly. :good: Now waiting for the next OTA to see if that will work well too.
1. USB debugging doesn't have to be allowed?
2. Updating Android can be done with PC only?
I did exactly the same (as nicely outlined in MP) for the last few updates, and can confirm it's working perfectly. I was using this as the 'normal' way failed due to unknown reasons.
This approach does not required a patched boot-image available, so imho it's more robust and reliable than the 'normal' method.
iG0tB0lts said:
Thanks for this I was always confused on how to update the phone after magisk.
Edit: you think it's possible to use a custom kernel with magisk and still maintain ota?
Click to expand...
Click to collapse
+1
Have you found out?
H.A.L. 9000 said:
As you may imagine this simple guide will show you how to root your device with magisk from twrp recovery.
I know, there is already a guide by jashancheema that shows how to root this device, however it's difficult to update the system once you are rooted. In my opinion the way i'm about to show you is faster and easier.
Disclaimer: I am not responsible for ANY damage done to your phone, act at your own risk.
That's how you can root your phone with magisk and recovery without disabling ota.
1. First download magisk manager and magisk flashable zip from here (official thread)
Install magisk manager and copy the magisk flashable zip somewhere in your device or sd.
2. Download mohancm twrp recovery (recovery-3.2.1-2-oreo) from here (official thread)
NOTE: do not download the installer, you need the .img file bootable from fastboot (recovery-3.2.1-2-oreo.img)
3. Copy recovery-3.2.1-2-oreo.img into the fastboot folder.
4. Enable developer option from in the device, enable OEM unlocking.
5. turn off your device and enter into fastboot mode by holding voume down + power button, then connect your device to the pc.
6. now open fastboot and type this to check the connection, if the terminal return an andress your phone is correctly configured.
7. type this from fastboot to unlock your bootloader.
8. now type this to boot your recovery (REMEMBER TO COPY THE RECOVERY IMG INTO THE FASTBOOT FOLDER)
9. once your recovey boot flash the magisk zip and reboot.
NOTE: do not install or flash twrp into your device or you won't be able to update through ota.
---------------------HOW TO UPDATE-----------------------------------------------------------------------------------------------------
When you will receive the update the only thing you need to do is boot twrp, flash magisk unistaller (that you can find here ) and update.
1. type this to boot your recovery (REMEMBER TO COPY THE RECOVERY IMG INTO THE FASTBOOT FOLDER)
2. flash magisk unistaller from recovey
3. Update your system
4. Repeat the same procedure to root again your device.
If you are italian and you need any help you can find it here, the serious telegram community.
https://t.me/XiaomiMiA1Italia
Special thanks to @samuele94 and @TheRealajeje from the telegram group.
Click to expand...
Click to collapse
Can't I just install syst update through twrp?
Rooting Mi A1 using this method worked. But the guide needs updating:
1.You must enable usb debugging
2.You must install magisk manager after unlocking bootloader. Installing it before is useless because unlocking bootloader will wipe all data.
freekarol said:
unlocking bootloader will wipe all data.
Click to expand...
Click to collapse
not till 9.5.11
freekarol said:
Rooting Mi A1 using this method worked. But the guide needs updating:
1.You must enable usb debugging
2.You must install magisk manager after unlocking bootloader. Installing it before is useless because unlocking bootloader will wipe all data.
Click to expand...
Click to collapse
Well, that happened to me.. Total WIPE... So, i decide to stop. But this night i'll try again, after a full backup. For me this is important because i need to use Android Auto, with aamirror.
I do regular backups so it was ok with me. It also should be in the guide as a first step: backup your phone. It seems like the guide is not for beginners... After rooting, you can face two problems:
1. From time to time, Magisk crashes. Just open it again.
2. There will be a camera lag. Installing a Magisk module should solve it(I haven't tried it yet): https://www.youtube.com/watch?v=UqcQKqhL3ok
there is some indication that 'fastboot boot twrp.img' wipes all the data!
Not sure when it started and if there is a way to avoid it - any idea?

[Guide] TWRP and ROOT for A20e (A202f) [Updated]

My way of installing TWRP and ROOT on A20e (only tested on a202f).
Everything is working both on TWRP and MAGISK.
Versions:
-Magisk (v26.1)
-MagiskManager (v26.1)
-TWRP (3.6.1_9.0)
_________________________________________________
Download attached files:
-TWRP and ROOT(magisk) Odin is included!
_________________________________________________
#Factory reset is recommended!
#Make sure BOOTLOADER is unlocked!
#If you don't need MAGISK stop at step 6 and reboot to system
[TWRP Installation]
1. Extract required files, open ODIN (as Administrator) click on the "AP" button and choose TWRP-3.6.1_9.0.tar file.
2. In the "Options" menu untick "Auto-Reboot" .
3. On your phone boot into the "Download Mode" then in ODIN you can press the START button. (make sure you are connected to PC)
4. If everything is fine there should be green "PASS!" text in ODIN.
[ If your flashing failed make sure the bootloader is unlocked and check if cable is properly connected ]
[Don't let the phone boot into system because it will replace TWRP with stock recovery.img]
6. Boot into TWRP and FORMAT DATA (Wipe/Format Data) to remove encryption.
# If you don't need MAGISK you can reboot to system. Otherwise continue reading the guide.
[MAGISK Installation]
7. From TWRP reboot into RECOVERY again.
8. Connect your phone to PC or if you moved Magisk-v26.1.zip and Magisk-v26.1.apk to SD card then use SD card.
9. Flash the Magisk-v26.1.zip file and reboot to system.
10. When you boot into system install the Magisk apk.
11. Open it and finish the installation process.
12. Reboot
ENJOY!
[UPDATE]
-Updated versions of both TWRP and MAGISK
# TWRP 3.5.2_9-0 --> TWRP 3.6.1_9-0
# Magisk v23 --> Magisk v24.3
-Remodifed VBMETA
For ANY help contact me on Telegram: https://t.me/SerbianGeek
does encryp work on this ? dont need to backup just hide data part if fone is stole
This one flashes and boots the first time, but after a reboot there is the infamous error "only official released binaries are allowed to be flashed"
/dev/null/ said:
This one flashes and boots the first time, but after a reboot there is the infamous error "only official released binaries are allowed to be flashed"
Click to expand...
Click to collapse
No problems on my end, pal.
SerbianGeekster said:
No problems on my end, pal.
Click to expand...
Click to collapse
this phone is really a PITA. every time i try to do something it's 1 step forward and 2 steps back. never suffered so much. i flashed it like 20 times. all i want is a working twrp on stock rom and pass safetynet
/dev/null/ said:
This one flashes and boots the first time, but after a reboot there is the infamous error "only official released binaries are allowed to be flashed"
Click to expand...
Click to collapse
to bypass this error:
1. connect to wifi
2. change the date to 2 august 2019
3. boot into download mode
4. flash twrp
Thank you! It worked! No problems got me.
I kinda feel like idiot that I couldn't install it with that ease before
OH **** IT WORKED !!!
I've been at this for hours, thank you so much !!!
Hello,
I have a Samsung A20e running with the a202fxxu4cvk1 firmware (a11 version). I would like to install twrp and then to root it. I tried several tutorials (Odin, OEM unblocked, USB debugging, time change) but twrp installation fails with message 'custom recovery blocked by frp'.
Can anyone help me?
I duckduckgoed, and found this XDA thread, where the second post says the following :
Nemirtingas said:
FRP: https://www.samsung.com/us/support/frp/
FRP Just locks your phone if you alter the boot or recovery image and you had a google account registered. To unlock it you have to wipe data (factory reset) and reflash stock boot.img and recovery.img before using it again. If your cousin wants to flash my ROM (lineageos-13.0) he'd better not, its not stable and he will encouter random reboots and codecs bugs. The best thing to do is to remove FRP from his phone and flash Magisk (a root manager like SuperSU) and debloat it.
For more information, find the Grandprimevelte group on Telegram.
Click to expand...
Click to collapse
The rest of the posts mention the need for a modified boot.img, else your phone would brick after adding a Google account, but I don't know about that... I have MicroG on mine with a Google account and no problems.
Anyway, frp seems to be a related to having a Google account on your phone.
fjunk said:
Hello,
I have a Samsung A20e running with the a202fxxu4cvk1 firmware (a11 version) /.../ Custom recovery blocked by frp'.
Can anyone help me?
Click to expand...
Click to collapse
Hello..I was wrong. My issue is not related to frp but OEM. OEM is unlocked according to developper menu but is not effective. Not able to upload any custom rom or bootloader.
I read that there was issue (use of a volume up button in download mode).
Any idea?
fjunk said:
Hello..I was wrong. My issue is not related to frp but OEM. OEM is unlocked according to developper menu but is not effective. Not able to upload any custom rom or bootloader.
I read that there was issue (use of a volume up button in download mode).
Any idea?
Click to expand...
Click to collapse
Indeed, my issue is that in download mode I can only do a volume down button and power button to reboot in system mode. No option to unlock bootloader.
I think you only need to do that once, afterwards, download mode doesn't warn you.
What error message do you get exactly when trying to flash TWRP, at what point, and what gives it (phone, odin) ?
lPolarisl said:
I think you only need to do that once, afterwards, download mode doesn't warn you.
What error message do you get exactly when trying to flash TWRP, at what point, and what gives it (phone, od
Click to expand...
Click to collapse
Many thanks for your update. Attached are pictures of the mobile and the Odin result. The error is an OEM issue (red text on the top of the mobile screen). In other forums, I can see that the download mode has an option to unlock OEM bootloader. I can't see it on my phone.
Putting the camera so that it covers the error message, what an amazing idea xD
I have never encountered this error, so let's start from the beginning.
Have you enabled the developer options, and activated "allow USB debugging" on the phone ? Also, if there is an option "allow OEM unlock", activate that as well (not all Samsung phones have it).
Have you installed the proper ADB and Samsung drivers ? Which version of Odin are you using ?
lPolarisl said:
Putting the camera so that it covers the error message, what an amazing idea xD
I have never encountered this error, so let's start from the beginning.
Have you enabled the developer options, and activated "allow USB debugging" on the phone ? Also, if there is an option "allow OEM unlock", activate that as well (not all Samsung phones have it).
Have you installed the proper ADB and Samsung drivers ? Which version of Odin are you using ?
Click to expand...
Click to collapse
Thanks for your reply.
That's sure that it doesn't really help to hide the error message. Usb debugging is enabled (I am able to run adb commands) and OEM is unlocked on the preference setting. I did the test with Odin 3.13 but same results with newer version. I installed an A11 firmware (a202fxxu4cvk1).
Don't t know how to go ahead. It seems that I don't have the possibility to unlock OEM in the download mode interface....
Wait, what is that about the firmware ? What did you flash, how and why ?
also, try a patched version of Odin from this post (I have 3.13.1_3B)
lPolarisl said:
Wait, what is that about the firmware ? What did you flash, how and why ?
also, try a patched version of Odin from this post (I have 3.13.1_3B)
Click to expand...
Click to collapse
I bought a refurbished mobile phone (blackmarket). It came with a 9.0 version. I tried to update to a custom rom without success so I installed the latest 'official' version
Download Samsung Galaxy A20e SM-A202F XEF France A202FXXU4CVK1 firmware
Fast download latest Samsung Galaxy A20e firmware SM-A202F from France with A202FXXU4CVK1 and Android version 11
www.sammobile.com
I uploaded this version using Odin. I also tried the patched Odin version. I read that the patched version only works with a10 version.
Huh...
I have no idea how that behaves, but I hardly see why it would cause a problem.
What else could you try... Restore factory settings maybe ?
Pressing volume up when starting in download mode ? (Note, this supposedly relocks the bootloader if it has been unlocked, if that happens and your phone isn't 100% on stock, it will brick.)

Question Bootloader and recovery not working

I have a A127F and i recently flashed new firmware. I want to now root it but i cannot boot to recovery or bootloader, and it wont recognize my device on adb. oem is unlocked and usb debugging is on. what do i do? is this a common problem?
You need to unlock the bootloader. Just cause you ticked orm unlock doesnt unlock it. Power completely of. Hold vol +- and pwr and plug in usb cable. Should get the option to long press up to unlock bootloader. Then put it in dl mode and flash some stock to get it working.
To root it you need the ap file you used to flash. Download magisk, transfer ap to downloads folder, patch the ap with magisk. Transfer the magisk patched tar back to pc(rooting wipes data so you know). Flash the patched ap file. Reboot and set it up and redownload magisk and open it should say additional setup required and will reboot. Once back get twrp app to flash twrp to recovery. There you rooted and have twrp.
On my device data was encrypted so i had to do the following in wipe click format data. Then go to advanced and click terminal then run the command multidisabler. After you run that reboot to recovery then reboot to system. After you get the phone setup again reinstall magisk and redo the additional setup required and after that your data should be decrypted.

Problems in rooting after flashing patched boot.img

Hi everyone sorry for the truble and probably the bad english this is not my main language .
I have an old Samsung s7 with android 8.0 that i wanted to root with magisk.
I first tried with twrp but i don't know why i couldn't "install" it, when flashing with odin it failed and made my phone go in like"emergency recovery mode ".
Next i tried without TWRP which i founded is the recommended method.
I did everything the guides i found said but when i am flashing the patched boot.img after the phone boot and i open magisk it isn't installed.
Ramdisk went from yes to no.
I don't know what to do i am sure i used the correct boot img. I transferred them via google driver in .tar maybe this broke something?
paoloooooo said:
I did everything the guides i found said
Click to expand...
Click to collapse
please mention the exact steps, we don't have crystal ball.
sorry,
I extracted boot.img from the ap file (it's the correct one i am sure because i used it to flash stock firmware).
Then i transferred the boot.img via google drive to the phone and used magisk to patch it, it said no error and everything worked fine . After that via google drive i brought back the patched file to the pc and used odin to flash it with BL CP HOME-CSC.
When i flash it with BL CP HOME-CS and the patched file the phone boot and ask me to go to factory reset i say yes, then after everything i reinstall magisk and ramdisk went from yes to no but it still says magisk not installed.
I don't know if i made myself clear
so I understood you enabled OEM unlocking, unlocked bootloader in download mode (what was factory resetting device) and after finishing initial welcome setup, you again ensured OEM is unlocked in developer settings. only then, you flashed Magisk, device is still working but Magisk provides no root, because ramdisk is gone.
What is the Samsung ROM version (for example G930FXXU8EVG3)?
What Magisk version you installed?
What options you set in Magisk before patching boot.img? Haven't used Magisk for a while, maybe no options have been asked.
i have enabled OEM unlocking but bootloader mode i don't have the option to activate it (in the passage before going to dowload mode) but the guide i looked said it wasn't needed if there wasn't the option.
I am using magisk 25.2 and they ask no option when patching .
download platform-tools, enable usb-debugging, install ADB drivers, confirm 'adb devices' on phone and push the ROM to phone storage.
Code:
adb devices
adb push path\to\pc\AP_[device_model_sw_ver].tar.md5 /sdcard/Download
uninstall Magisk and install older version Magisk-v24.2.apk
In case you want to use TWRP later, disable the encryption checkbox (only when asked) and disable avb/dm-verity checkbox (only when asked) in the options before patching (not sure these options exist though).
Device should have ramdisk, so do not enable the recovery option for now.
patch the whole AP_[device_model_sw_ver].tar.md5 file with Magisk. notice the file name when finished.
copy the patched file back to PC and rename it AP_[device_model_sw_ver]_magisk_patched_boot.tar
Code:
adb pull /sdcard/Download/magisk_patched.tar path\to\pc\AP_[device_model_sw_ver]_magisk_patched_boot.tar
flash the patched AP file together with BL CP CSC (will factory reset) and wait long time for first boot. finish the initial setup and install (older) Magisk apk again.
if rooting was successful, update Magisk from within the Magisk app.
i tried and did everything but when i try to flash with odin it crashes
please understand I won't answer "please help" or "tried everything" posts. give more information. the patched firmware does not flash? or is that general odin issue?
edit: given instructions were straight from magisk documentation
https://topjohnwu.github.io/Magisk/install.html#instructions
except for using older Magisk. I forgot to tell you how to install. did you figure it out yourself?
In the Magisk-v24.2.apk, do not update to recent version (yet).
In the settings, select Update Channel: custom. then select Custom Channel, copy-paste this link.
https://raw.githubusercontent.com/topjohnwu/magisk-files/4868c83/beta.json
you can now patch the rom file with older Magisk.
ok i managed to do every step you told me i patched the file with v24.2 of magik and falshed with odin, everything went fine. But there is still the same problem the app says that is not installed but ramdisk went from yes to no
You're more likely to get the help you need if you ask your question in the right place. We have a Galaxy S7 section. This is why Rule #1 is to search before posting! We will move your thread there.
An unlocked bootloader is absolutely necessary to root. Rooting means you're modifying images on the device; a locked bootloader will prevent flashing modified images. If you haven't unlocked your bootloader, that's your first step.
I personally haven't had any luck patching the AP file in Magisk either. My suggestion is to flash a custom recovery such as TWRP, then flash Magisk in TWRP. Use the latest version of Magisk - 25.2.
paoloooooo said:
But there is still the same problem the app says that is not installed but ramdisk went from yes to no
Click to expand...
Click to collapse
Hm.. then maybe it's true your device does not have boot ramdisk? or the patching failed and removed ramdisk somehow?
try again with "Recovery Mode" option enabled when patching. note you have to press the volume button for recovery mode each time you boot.
@V0latyle recent versions of Magisk running Zygisk may have incompatibilities
https://forum.xda-developers.com/t/...ices-with-old-kernel-3-19-s7-included.4447029
Magisk-v23.0.apk is last version without Zygisk (but afaik you still can disable Zygisk in recent Magisk).
https://raw.githubusercontent.com/topjohnwu/magisk-files/afe2c30/stable.json
aIecxs said:
Hm.. then maybe it's true your device does not have boot ramdisk? or the patching failed and removed ramdisk somehow?
try again with "Recovery Mode" option enabled when patching. note you have to press the volume button for recovery mode each time you boot.
@V0latyle recent versions of Magisk running Zygisk may have incompatibilities
https://forum.xda-developers.com/t/...ices-with-old-kernel-3-19-s7-included.4447029
Magisk-v23.0.apk is last version without Zygisk (but afaik you still can disable Zygisk in recent Magisk).
https://raw.githubusercontent.com/topjohnwu/magisk-files/afe2c30/stable.json
Click to expand...
Click to collapse
Zygisk is disabled by default, you have to manually enable it when setting up Magisk after root
V0latyle said:
You're more likely to get the help you need if you ask your question in the right place. We have a Galaxy S7 section. This is why Rule #1 is to search before posting! We will move your thread there.
An unlocked bootloader is absolutely necessary to root. Rooting means you're modifying images on the device; a locked bootloader will prevent flashing modified images. If you haven't unlocked your bootloader, that's your first step.
I personally haven't had any luck patching the AP file in Magisk either. My suggestion is to flash a custom recovery such as TWRP, then flash Magisk in TWRP. Use the latest version of Magisk - 25.2.
Click to expand...
Click to collapse
OEM unlocking should be like the boot loader.
i tried using TWRP and i followed this video doing all the steps
but after the final reboot magisk app is not there and if i try to install it manually it's the same as the immage i already posted.
I found out searching online that after root ramdisk should go from yes to no and that worked. But i don't know why it never says that's installed
paoloooooo said:
OEM unlocking should be like the boot loader.
i tried using TWRP and i followed this video doing all the steps
but after the final reboot magisk app is not there and if i try to install it manually it's the same as the immage i already posted.
I found out searching online that after root ramdisk should go from yes to no and that worked. But i don't know why it never says that's installed
Click to expand...
Click to collapse
It seems like you misunderstand several critical concepts.
First, OEM unlocking DOES NOT unlock the bootloader itself. It simply allows you to. After enabling OEM unlocking, you have to follow the process to boot the device into unlock mode, then you have to follow the prompts to unlock the bootloader, which will wipe the device.
Second, the Ramdisk indication in Magisk simply indicates whether or not the device has ramdisk. This does not change, regardless of whether or not the boot image or system has been patched with Magisk. The only thing you need to look for is Installed: <Magisk version>. If Installed: N/A then you do not have root.
All you need to do is install TWRP, and if you're going to be using the factory firmware, flash the Multidisabler. Then, install Magisk through TWRP. When you reboot to system, you should have root; you'll need to install the Magisk app, but once you do, you should see the version of Magisk next to Installed as described above.
@V0latyle I think paoloooooo is right (see his screenshot) and bootloader is unlocked (otherwise phone wouldn't boot after flashing magisk_patched.tar)
aIecxs said:
@V0latyle I think paoloooooo is right (see his screenshot) and bootloader is unlocked (otherwise phone wouldn't boot after flashing magisk_patched.tar)
Click to expand...
Click to collapse
I thought a locked bootloader will prevent flashing anything custom?
right. but afaik it's possible to flash on semi-locked bootloader after the OEM toggle was enabled, but vaultkeeper still armed. at least that is the mistake you're refering to, many people struggle with...
guys thanks for everything i literally don't know why but i tried one last time with patching immages and it had the same error as the immages.
2 days after, i looked into it again and i don't know how but magisk was installed.
Thanks for everything and sorry choosing wrong section and not being very explicative.
aIecxs said:
right. but afaik it's possible to flash on semi-locked bootloader after the OEM toggle was enabled, but vaultkeeper still armed. at least that is the mistake you're refering to, many people struggle with...
Click to expand...
Click to collapse
Yeah, it would seem that a user would have to do things one of two ways:
Unlock bootloader, flash custom recovery, IMMEDIATELY boot into recovery (do not allow boot to system), wipe /system and format /data, install custom OS...this should prevent KG from interfering
Unlock bootloader, flash multidisabler, wipe data, boot to system, connect to Internet, ensure OEM Unlocking toggle is still visible, if it is KG should be disabled
paoloooooo said:
Hi everyone sorry for the truble and probably the bad english this is not my main language .
I have an old Samsung s7 with android 8.0 that i wanted to root with magisk.
I first tried with twrp but i don't know why i couldn't "install" it, when flashing with odin it failed and made my phone go in like"emergency recovery mode ".
Next i tried without TWRP which i founded is the recommended method.
I did everything the guides i found said but when i am flashing the patched boot.img after the phone boot and i open magisk it isn't installed.
Ramdisk went from yes to no.
I don't know what to do i am sure i used the correct boot img. I transferred them via google driver in .tar maybe this broke something?
Click to expand...
Click to collapse
i have the exact problem I just want to install twrp but when flashing with odin it fails. can anyone help me install twrp?

Categories

Resources