HOW TO ROOT REGULAR SAMSUNG GALAXY S8
DISCLAIMER!!!
There
are quite a few steps involved in achieving the desired root, but it is all
straightforward if you follow the directions!! We will be here to assist with
the rooting process only! The reason i say that is due to the fact of all that
the ENG system.img contains, you can nuke your phone to oblivion if you aren't
careful, hence this next part... Anything and everything done with the ENG
system.img and root after root is achieved is on YOU, and the team and I
will NOT be held RESPONSIBLE! Don't blame us for your
experimenting! Root works, and won't mess your device up that is what we are
here for, any further research/testing is all on the USER!!
This thread will be focused on the regular
S8 variant, the S8+ thread can be found here Root Samsung Galaxy S8+ Now without further ado, we shall
begin!!!
REQUIREMNETS
Of course you'll need your Samsung Galaxy S8
--4
Firmware Files(provided by us)----Odin Prince Cosmey and Regular--
--systemroot.zip(provided by us)--
--SuperSU.zip(provided by us)--
--PC with ADB--
--Full stock firmware, either G950U or G950U1(just in case need to flash stock, as well as for system.img.ext4 and cache.img.ext4)--
--Full combo firmware(for whatever reason... we may need you to have it to fix issues you are having)--
PRORDURE
1.
Download the SamPWND_S8_4File_Firm, the SamPWND_S8.zip, and the systemroot.zip
2.
Download Odin Prince Comsy and Normal Odin
3.
Extract SamPWND_S8_Firm to your desired destination (desktop works), then open
Odin Prince Comsy, and place the files in their respective slot (BL --> BL,
AP --> AP, CP--> CP, CSC--> CSC)
4.
In Odin, go to options and select, Auto Reboot, Re-Partition, F. Reset Time,
Nand Erase All, and Phone Bootloader Update (This will wipe the device)
5.
Put Samsung Galaxy S8 into Download mode (Power + Volume Down + Bixby) A
warning screen will come up warning you about flashing a custom os, to continue
press Volume Up.
6.
Press Start in Odin (Flashing will begin, this can take up to 10 min)
7.
When complete device will reboot into recovery mode, at this point just select
reboot system now.
8.
Complete the Setup, and accept device RSA Keys, to authorize adb (if popup is
not there already, or you have dismissed it; please disconnect and reconnect
phone, then accept)
9.
Now take the systemroot.zip dowloaded in step one, and extract it to your adb
install directory (usually C:adb)
10.
Navigate to adb directory and CTRL + Shift + Right Click, select open cmd
window here
11.
Once you have cmd open and the extracted systemroot folder in your adb
directory, we can begin.
12.
Type: adb push systemroot /data/local/tmp/systemroot
13.
When that completes type: adb shell
14.
Once in the shell type: chmod -R 0777 /data/local/tmp
15.
This next one is tricky, type: setsid su (the output will look like this:
dreamqltesq:/ $ /system/bin/sh: No controlling tty: open /dev/tty: No such
device or address
/system/bin/sh: warning: won't have full job control), you will then be in a very unstable root shell
/system/bin/sh: warning: won't have full job control), you will then be in a very unstable root shell
16.
In order for this shell to become stable you must type exit, it will then drop
you into a stable root shell, however this will probably take a few tries as
most commands sent to the unstable shell are returned as gibberish. The shell
itself will continue to change from standard user to root user, upon a press of
the enter key. This will continue until exit is successfully ran and you are
dropped into the stable shell (Note: Since the shell is changing from user to
root after each command the exit command must be executed will the shell is
root, otherwise instead of dropping to a root shell, you will drop to a user
shell and have to begin with setsid su again)
17.
Once a stable root shell is achieved you will type: echo
/data/local/tmp/systemroot/remount2.sh > /sys/kernel/uevent_helper (this
will remount system and rootfs as r/w)
18.
Wait 10 sec and type: mount (confirm that system is mounted as r/w)
19.
Now we will execute the script, type: sh /data/local/tmp/systemroot/root.sh
(there will be some errors displayed back to you in adb, don't worry about them
everything is going accordingly)
20.
When the script is done running your device will reboot, and at this point you
are done. However, although root has been achieved it is not the smoothest/most
stable, but we have a remedy for that as well!
PART TWO.
1.
With your device still connected to the computer** Take the SamPWND_S8.zip
downloaded from step one, and either put it on your device's internal storage
or sdcard
2.
Take your stock firmware of choice, and extract it to your desktop. From this
you will take the system.img.ext4 and either put it on your device's inter
storage or sdcard
3. Download flashfire from the Play Store
4. Open flashfire and grant root permissions
(this must be done with airplane mode enabled), exit flashfire
5.
Open SuperSU, go to settings, scroll
to the bottom, and enable pro features. Reopen SuperSU, select flashfire, and
force user ROOT 6. Open flashfire again, and select flash firmware package (choose system.img.ext4)
7.
Select flash ZIP or OTA (choose
SamPWND_G950U.zip) Under options for the zip make sure to select mount /system
read/write!!
8.
Select wipe and make sure the top 3
options are selected, press the check in the right hand corner
9.
This next step is very important!
There is a specific order that these are supposed to be in, from top to bottom:
WIPE --> Flash Firmware Package --> Flash ZIP or OTA. If your order is
not this, hold down on wipe like it is an app and drag it to the top of the
list. Make sure it is in that order before pressing the flash button!
10.
Select EverRoot from main screen and
under options disable inject SuperSU
11.
Press the lightning bolt to begin
flashing, and wait for your device to reboot
12.
Congrats, you now have a very
smooth/fast/stable stock rom, with root. Enjoy!!
Source
: https://forum.xda-developers.com/galaxy-s8/development/samsung-galaxy-s8-root-snapdragon-t3659305


wow this is good thank
ReplyDeleteas easy as that
ReplyDeleteits like that
DeleteAndroid developers like you are really doing a great job. Keep it up
ReplyDeletechale this guy is a computer ned..thanks for the info
ReplyDeletenice article
ReplyDeletewaoooooh, nice procedure but could you simply it further.
ReplyDeletenice post
Good to know, but I feels the procedure is too long and complex. It's a nice info though
ReplyDeletethanks dude, really useful.
ReplyDeleteis there any short procedure, this looks very long for me
ReplyDeletewhat a great information provided. thanks for the tutorial.
ReplyDeletewow, i am so grateful for the details, for some time now it was a bit difficult doing this, your details makes it easier. thanks anyways!
ReplyDeleteThis information was really posted at the right time,thanks.
ReplyDeleteIt worked for me! THANKS
ReplyDeletenice write up
ReplyDeleteDoes this really work ? Anyway I will give it a try.
ReplyDeletethis is nice but too complex
Deletethis is great, your review on this devices is really excellent, now i know what device to buy.
ReplyDeleteHelp... i have bricked my S8
ReplyDeleteThis is too technical for my liking. I'll get someone to it for me.
ReplyDeleteAm grateful for the information. Am a fun of Samsung phones
ReplyDelete