yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] eyelost:
I am making it to the point of mounting. I make it through to a stable root shell but my device never restarts which i am supposedly by this point at step two. I go in to check with rootcheck and flashfire and it has not rooted. what am i missing?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] jhofseth:
If stuff doesn't run properly in stage 1, redo adb commands (i.e., also making sure stage 1 files are in proper place). If that doesn't work, start from beginning in Comsey Odin.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] nm1557:
/??

Yes, I've done that with multiple different firmwares. Wouldn't this have to do with the bootloader since init.rc is in the boot.img ramdisk?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] jhofseth:
boot image is primarily ramdisk and kernel. your phone is supposed to have internal storage symlinked to sdcard. sdcard is not external sdcard, it's a fake sdcard. I would try AParted (with Busybox installed too) for external SD.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] nm1557:
So this will let me get past the kernel panic on boot caused by my sdcard?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] jhofseth:
can you boot fine with no external SD inserted?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] nm1557:
Yes; works without an sdcard and kernel panic with an sdcard. The error message that appears on the kernel panic is "CRC Error on sdcard"
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] HighOnLinux:
[Edited for no false info.]
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] jhofseth:
maybe, just don't insert external SD until after boot until you get it fixed. backup data if you need it saved from external SD. try AParted with Busybox also installed. you could also try reformatting external SD within settings of Android, which might be better.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] nm1557:
I don't need to edit the kernel. I just need to get my sdcard to work...

Any insight on a CRC error. Tried with multiple sdcards of various sizes and it wont work.

So not actually a CRC error but something else triggering it.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] tychsy89:
This was a lot of fun
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] IcY Weazel:
:)

**** Yeah this **** works like a Mother ****er nice work man very nice :svetius: :victory: I was a little confused in adb the first five times I kept typing commands and it would come back sorry asdfasdasdfnk not found but on number six everything worked without problems :)
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] eyelost:
Thanks
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] jhofseth:
From what I could tell, the ROM you mentioned, Nemesis, is for S8's with unlocked bootloaders (e.g., it's rooted with Magisk, different kernel, etc.), so it wouldn't work for those of us who had to use SamPWN (e.g., US Snapdragon S8). Most bootloader unlocked S8's also have a different CPU and GPU than we do. Magisk is a systemless root we can't use because it needs to modify boot image; for us, anything that changes boot or bootloader(s) is not currently possible. We can't have modified kernels yet, and our kernel is what is currently limiting our charge to 80%*. Right now, we are limited in terms of what we can flash, but there is still a lot of good stuff we can install and change with root. :)

*You can charge it to 100% in upload (not download) mode. https://xdaforums.com/showpost.php?p=73619880&postcount=2399
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] jhofseth:
busybox is virtually essential

Many already know, but Busybox is virtually essential for root users. Many root apps will fail to run or fail to run properly if you don't have Busybox installed. Some root apps will tell you in the description, some will tell you with dialogue box that pops up, etc., but many root apps just assume you already have it installed or they assume you should know better.

FREE Busybox (Stericson) in Google Playstore

https://play.google.com/store/apps/details?id=stericson.busybox&hl=en

I got the Busybox Pro (Stericson) version, because there are more install options and you can uninstall. Stericson Busybox is the most popular/possibly safest installer and at least one journalist said that BusyBox X did not install in such a way that symlinks were easily removeable, and/or that it overwrote important files. Most of the rarely if ever used extra commands in BusyBox X are probably useless in Android anyway.

ON-SALE right now for 1.99 Busybox Pro (Stericson) in Google Playstore

https://play.google.com/store/apps/details?id=stericson.busybox.donate&hl=en

I had to first copy the busybox binary manually to /system/xbin then run the installer; for some reason, it was failing before I did that on my rooted US Snapdragon S8+. You can download the attached binary and it likely saves to Download folder (probably default). In Android Terminal Emulator (

only if installer initially fails for you too

):

su

mount -o rw,remount -t ext4 /system

mv /sdcard/Download/busybox.zip /system/xbin/busybox

chmod 755 /system/xbin/busybox

mount -o ro,remount -t ext4 /system

exit

exit

After moving busybox (it's not really zipped, and mv in this case will remove .zip extension) and changing permissions, you should be able to successfully

run the Playstore installed Stericson busybox apk installer

. Again, only use the attached 64bit binary file if you need to, and only prior to running the installer, because just having the binary in that folder is mostly useless without all the symlinks the installer creates. :)
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] elliwigy:
you need the proper build.prop edits.. for example disabling knox, tima,aslr, selinux, dmverity etc.. i also learned its good to have verity bootmode set to eio.. not sure which of my edits is doing it but eio verity mode is suppose to report verity errors but still boot..

theres a ton u can do with just the build prop.. for example booting into ffbm mode lol.. some interesting stuff.. but change the wrong thing ur screwed
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] thefinalgamer211:
Phone rotation not working

Unfortunately my phone rotation sensor seems to be on the fritz and doesn't work how it is supposed to. This is shown when I hold the phone vertically in portrait it flips to landscape view and vice versa. Is there any way I can fix this?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] wings110:
after got root warranty 0x0 will be 0x1?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] eelsid:
Did you flash the S8+ firmware to an S8? I have seen comments from people that used the 955 firmware from the S8+ thread on their 950 S8 that had this issue.

---------- Post added at 03:03 PM ---------- Previous post was at 03:02 PM ----------

This root will not trip the KNOX bit.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] wings110:
only got root knox won't be tripped . pay won't work?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] eelsid:
Pay will not work. Also a few other things mentioned earlier in the thread.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] wings110:
thanks a lot . If reflash stock firmware through Odin pay will work well?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] eelsid:
Yes
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] bigalbklyn:
Would I be better off using Sprint firmware since Boost Mobile, (my carrier), piggybacks Sprint?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] HighOnLinux:
Honestly, i wouldn't really know. But i wouldn't recommend it. It actually would think you're on sprint and put sprint bloatware on your phone. Do it at your risk.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] bigalbklyn:
Thanks for the heads up.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] freak69ize:
I would use the U1 FW. I used on my Verizon s8 and have no problem
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] thefinalgamer211:
If I flashed the wrong software is there a way to fix it?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] HighOnLinux:
Yes. Find the S8 files from a thread and download it onto your laptop/pc, afterwards, open odin and plug your phone into your pc and flash it. And you'll be on the right fw with no issues :D
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] thefinalgamer211:
Sorry to be a nag nut I can't seem to find any stock fw's for my s8 g950u they all seem to be for the s8 plus if you or anyone could point me in the right direction it would be very much appreciated
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] davidisflash:
This is where I'm stuck. Just attempted root for the first time 20 minutes ago. I perform the adb push just fine to push the systemroot folder to /data/local/tmp/systemroot. I enter the adb shell and perform the chmod from OP on that folder. With setsid su and then exit command, I'm definitely getting a stable root (it takes many attempts). I can hold down the enter key and see only #, not the alternating between $ and #.

It looks like something is happening with that adb push of systemroot, despite the command appearing successful (it shows a progress percentage and number of kilobytes pushed). I even intentionally typed the wrong folder and confirmed a file not found. When I'm at the stable root shell and try to execute step 17 in the OP (the echo command), system and rootfs aren't getting mounted as rw. The echo command returns silently and when trying to execute the root shell script, I'm getting tons of file not found messages (as I expect, I confirmed system and rootfs were left as ro). I'm trying to do an "ls" command on the /data/local folder and getting permission issues. Also, if I use tab complete when I start typing /d, of course /data comes up, but if I use tab complete as I'm typing /data/l, local folder won't auto-complete. What am I missing? I'm following (and have refollowed) the OP to the T.

I notice then that on the next reboot, I get a popup about an unauthorized access to system was blocked.

Some notables:

1) I only used Prince Comsy Odin from the OP. I didn't at any point use the general Odin link

2) I didn't have the option to check the box in Prince comsy to do bootloader update. It was greyed. But I think this one is optional anyhow right?

3) /data/local exists. If I leave command prompt and re-enter adb with adb shell and attempt a "mkdir /data/local", I'm told it exists. Same with /data/local/tmp. Something is just not right here when entering the stable root shell and seeing this path.

Btw folks, when using mount, an easier way to clean up the output to see if you mounted as r/w fine is run these commands:

mount | grep -i system

mount | grep -i rootfs

You'll only see the partitions you care about. Sorry for the wordiness. Trying to give enough context to hopefully help others and to clarify my steps.

*EDIT: the adb files were uploaded to a subdirectory systemroot within /data/local/tmp/systemroot lol. Fixed. Reran everything AND I HAVE ROOT!!!! Thanks a ton guys!!!
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] HighOnLinux:
No problem. I got you:

http://updato.com/firmware-archive-select-model?exact=1&q=SM-G950U
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] RypeDub:
This is what I get when I run PrinceCosmey either as Admin or not using the proper S8 files:

<ID:0/004> Added!!

<ID:0/004> Odin engine v(ID:3.1203)..

<ID:0/004> File analysis..

<ID:0/004> SetupConnection..

<ID:0/004> Initialzation..

<ID:0/004> Send lock information..

It just stays at this. Yes: I checked all of the options and placed the proper AP, BL, etc.

How long does this part take?

----------------------------------------------------------------------------------------------------------------------

Ok, now it says this:

<ID:0/004> Added!!

<ID:0/004> Odin engine v(ID:3.1203)..

<ID:0/004> File analysis..

<ID:0/004> SetupConnection..

<ID:0/004> Initialzation..

<ID:0/004> Send lock information..

<ID:0/004> Lock operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] xterminater07:
I know this is not related to this topic, but I can't find a Note8 forum from xda yet. I got my unlocked Note8 today, and two tech support dudes swear to me that the bootloader is unlocked. I made sure he knows bootloader unlocked vs sim unlocked, and he said you want to root your phone right? It will void your warranty. I said that is fine.

Can anyone of the dev confirmed what he said is true?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] RypeDub:
Please edit your post, say mods: delete, then make a new topic..

YOU NEED to, that is how forums work. I hate you for doing that, just asking your question in a top level, popular thread.

That being said: Verizon specifically locks their bootloaders on ALL phones - source: I work for them, I don't know about other carriers, I don't know about Samsung direct purchases.

How do you even test if a bootloader is locked or unlocked?

I wanna know if mine is locked, and we can also help xterminater07 (whom I still hate until he makes his own thread, in the proper section) at the same time.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] foster_chile:
??? Work??

https://download.chainfire.eu/1159/...uto-Root-dreamqlteue-dreamqlteue-smg950u1.zip

Enviado desde mi SM-G950U1 mediante Tapatalk
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] RypeDub:
We don't know here in this thread.

Try making a new one, I bet you someone will know when you make your own thread.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] wings110:
I have g930u it is s7 snapdragon cpu can I use this method got root without trip knox ? thanks really very much.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] xBkKx:
No
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] jhofseth:
No, neither that S8 nor the S8+ one currently work for US Snapdragon S8/S8+; they are auto-compiled, that's all. :)
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] solfly7:
Same boat. Waiting to see if bootloader gets unlocked, then we should be good.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] stmims1124:
http://updato.com/firmware-archive-select-model?exact=1&q=SM-G950U

Just got to do a quick Google search, my dude
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] davidisflash:
Anyone have worse sound quality after installing Viper mod?

I first grabbed the latest 2.5 apk and installed it. It would always freeze grabbing the latest driver. This is with me even temporarily setting the kernel to permissive. So I bailed this method and just grabbed the Arise sound mod aroma 2.94 installer.

Aroma installed fine. I used FlashFire though the scaling of the install wizard was off. On next reboot I'm noticing that the driver status is in fact saying it's enabled. It shows processing when music starts playing.

Spotify sounds horrible now, and this is even with turning the eq off in Viper. If you go to Viper eq settings, it still wants to use the default samsung one. To confirm the default samsung one isn't used, I'll move the sliders real time and here no diff. Only sometimes when I turn on / off the master power in viper do I hear a difference in the sound...as if it's "kicking in."

Any clues? Spotify sounds distorted in the mid ranges.

EDIT: I forgot I needed to freeze soundalive in Titanium. Changes in spotify are now shown and I was able to tell it to use viper. Thankfully I didn't have to reinstaller viper.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] Logix:
I also have this question and might try it I wish a dev would chime in before I brick some devices.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] stmims1124:
I haven't touched Heimdall since like 2013 so I'm not entirely certain, but I really doubt it would work. These specific versions of Odin have been needed because of like signature checks and also just the way Samsung firmwares are broken up now. I don't think Heimdall has been updated in forever, but maybe someone grabbed the source and did something with it.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] bigalbklyn:
Status of my root process

Although I was pretty sure I followed the OP's procedure correctly, after completing part 2 I believe I didn't actually achieve a stable root shell in part 1. Not able to uninstall any system apps, getting the random vibration pulses and my phone often freezes up when trying to do anything that involves root permissions.

What do you all think?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] shubzk123:
I can't proceed with part 2. Flashfire is stuck at select file. It just keeps on loading and I'm getting random vibrations and freezes.

I'm on Canadian Galaxy S8 G950W.

Please help!!!!
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] HighOnLinux:
Put your phone in airplane mode, close flashfire, reopen it and try again.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] shubzk123:
It worked! :D :D Can you explain why it wouldn't work without airplane mode on?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] foster_chile:
Does this work on sm-g950u1?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] jhofseth:
I wouldn't try flashing anything in Heimdall onto the US S8/S8+ Snapdragon. As far as I could tell, Heimdall was made for much older versions of Android on much older Samsung phones.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] shubzk123:
Completed step 1 and 2 but com.android.phone is stopping again and again! the pop-up isnt going away. I tried flashing the CSC using odin but that didn't help either!! Please help me!!

---------- Post added at 07:30 AM ---------- Previous post was at 06:52 AM ----------

Can some Canadian who has successfully rooted their s8 create a thread please?

I beg of you man!!!!
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] dragsnapon:
Thanks for all of your hardwork. I was able to root the phone w/ no experience in this type of stuff by simply following your instructions.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] HighOnLinux:
It was originally on the s8+ guide to gain root but the airplane mode step wasn't brought up in this OP's instructions. But glad you got it working
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] jhofseth:
using SamPWND root for sound

I have not yet used SamPWND root for modding sound. I can say that the S8+ setting for sound UHQ upscaler sounds nice with earbuds. S8+ sound UHQ upscaler will not work with at least some bluetooth, nor will it work with DeX mode and it also doesn't work with normal speaker output. Bluetooth sound can be crappy/tinny, so I turn on S8+ Surround and Tube Amp Pro, which are available but UHQ upscaler isn't for me in that instance. The nice thing about the S8+ is that it remembers your sound settings for that context: with earbuds it remembers I use UHQ upscaler; with bluetooth it remembers I use Surround and Tube Amp Pro; and, with regular phone speaker output it greys out those three options. :)
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] partcyborg:
This is false. The kernel only knows a hard coded path to the init binary on the root filesystem (typically /bin/init but in Android's case /init) and the init binary takes care of finding your she'll to execute bringing up the system in whatever way it is designed to.

Everything, including init itself is part of the system partition, meaning bootloader does not specifically know or care as all it knows overall is location of kernel file (zimage or something similar in boot img) and kernel knows location of init.

dm-verity is used to check system partition integrity because a multi gig ext4 partition is too complicated to be checked by a very small amount of resident embedded c code with no standard lib support (you don't use regular libc in trusted code, or we would have bl unlock hack already) as the location of files is chunked up in inodes across the flash disk.

The only way it can boot at all is a special part of the disk in a hard coded place is set a aside where a pointer to the beginning of the kernel file is written.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] jhofseth:
init.d vs init.rc

I think one popular/traditional way of running init.d scripts is to put the command in the init.rc file; this is true init.d support, but we can't do it traditionally because the init.rc file is a part of the ramdisk, which is a part of the boot image that secure check fails with even the addition of a couple lines in a single tiny file. So, yeah it is true that the init.d folder and contained scripts can be added to a SamPWND phone, it's just that the best way of executing them via init.rc is currently impossible for us. Of course, there are other ways of executing the scripts, but there are adverse consequences to some: one instance is user-side init.d where the darn scripts run so late, you have to be really careful to give them time to run after rebooting, etc. :)
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] Smithfolk4:
First you may want to flash CSC and CP for your phone in ODIN. Only select F. Reset Time and Auto Reboot in ODIN.

You may want to check out the [MENTION=1949695]jrkruse[/MENTION] thread in the S8+ Kernel, ROMS, Development Forum. He has a ROM specifically for Canada. Hopefully that will help. You will have to replace the firmware with the one for your phone if you are no on and S8+. I am not sure what will happen if you have an S8 and not S8+ with the systemroot zip. It may not work for an S8, so be careful with that. Anyway, there may be some info in that thread that will help you out.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] jiffyjeffsd:
Finally got it!!!!

I was getting error about unauthorized software.

Used all the files from the op,and bingo.

Thank you everyone involved!!!
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] shubzk123:
Flashing CSC and CP didn't help. Checked [MENTION=1949695]jrkruse[/MENTION] thread, didn't find anything. :/

Thanks anyways
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] highaltitude:
Anyone keep getting a pop up message that says "this test version is too old, please update"?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] tenthousandfeet:
Look at my last comment in this thread. TL;DR: use a 950U firmware.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] rageroid:
Has anyone ran Tor for transparent proxy and Tor Everything?