yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] elliwigy:
does the phone app work now tho? if so should be able to just flash a csc to get service back
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] elliwigy:
not sure y but my snapchat works flawlessly every time even with root without doing anything special lol i just followed instructions in op lol i do restore it though then sign in
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Raz12:
Nope i actually had 3 phone apks. I had phone ( voicemail ) , Phone 1.0 and phone 2.8.65655 something like that. I tried flashing back the csc but that didn't do it so now i flash the system and csc again so we will see. if not i will have to do all this over again when i get home. Which is fine! i know how to root now and everything so no harm. Just blah lol thanks for the information man ill let you know if flashing both brought it back.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] elliwigy:
hmm.. you can switch it to enforcing, whatta ya know lol.. but im not at a charger atm to see if it changes the 80% or not
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] elliwigy:
forgot pic
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Raz12:
Yup so flashing both system and csc brought it back. lets see if the phone app works now :D
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] cameljockey1:
Phone froze when I did that. A reboot put it back to permissive.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Raz12:
Mep no luck same stuff. imma try that log cat and see what it says.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] shakan09:
better call customer service bro
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Raz12:
If he calls, they are going to know he rooted it ! that's no good!
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] TheLastSidekick:
Question, when you wiped in Flashfire, did you select cache partion, or cache partition ext4? I had an accident the first attempt before I had root and selected ext4 and had force closes, had to re attempt. Luckily, it was fast and easy.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] TT_Vert:
Thanks for this guys, few quick questions before I get started.

1. I have not activated this phone on the sprint network in preparation for root. (It's been a paperweight). Should I switch service to it first or does that matter?

2. Similar to #1 I have not installed any S8 OTA updates in case they broke any possible root in the future (Today!), Should I install the OTA which gives calling plus (Call+data) or can OTA's be installed over this since it's just root and no modification to the file system otherwise?

Thanks again for the hard work guys!

Dave
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Raz12:
Yup i checked those as well. I can check again if i have 4 phone apks again. How do i do the logcat thing to see what the force close is ? is it terminal i need ? or do i need to actually download a application called logcat ?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] TheLastSidekick:
As per Google's instructions :

https://developer.android.com/studio/command-line/logcat.html
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] xDMONEYx:
So I tried to set SELinux to Enforcing with an SELinux changer app to try and test battery charging, however my phone went to the boot screen after a few moments and was stuck there. I hard reset and it booted into the OS just fine, but after about 30 odd seconds, it threw me back to the boot screen, where it again remained stuck. Tried this a few more times with the same result. I factory reset my phone, and it seems to be staying booted, which is odd.

Either way, just thought I would throw this out there in case anyone else decided to think to try this. Not sure what happened really, but I wouldn't recommend it hahaha.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Raz12:
I see I have 3. Weird right ? Like it's pushing one back already
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] TheLastSidekick:
It looks like one of the phone services are tied into voicemail in this case. The other seems to be an updated version of the dialer Samsung releases, and the other dial underneath this one seems to indicate an old release that may have been updated. (Could be wrong, just my two cents)
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] abdullaha:
I am on the latest AT&T firmware QGL, and I am having trouble finding the latest firmware. Does the system.img you flash have to be from the same firmware version as you started with? If not, can you flash the latest ota update after?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Ttw626:
Yes it worked finally after putting it into airplane mode and restarting then used ff. Thanks alot man.

---------- Post added at 12:43 PM ---------- Previous post was at 12:41 PM ----------

Yes it worked finally after putting it into airplane mode and restarting then used ff. Thanks alot man.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] iixAndroidx:
So is there any type of work around to get Snapchat working ? Such as rootcloak ? Haven't rooted yet bc of this reason. Need that snapchat lol
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] partcyborg:
I have a theory that the green lines screen issue is related to auto brightness. The reason for this is I have the issue frequently all day long but literally the phone is perfect in the evening, and I ruled out radio differences.

I turned off auto brightness this morning and so far so good. Hopefully this will fix the last issue I have with my rooted phone
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Kchitown1977:
Appreciate the reply
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] TEKHD:
Regarding 80% Battery Issue...

Can anyone with some basic rom dev knowledge try this: (Currently, I don't have the Qualcomm Snapdragon variant on hand, can't test myself)

S8+ Battery = 3500mAh

3500mAh + 20% = 4200mAh

Objective: Modify ROM and make it look like you S8+ battery is 4200mAh instead of 3500mAh... so, when Kernel removes 20%, you will have 100% battery (3500mAh)

We can't modify boot image...

Try this:

1. Remove ROM's signature verification (services.jar)

2. Decompile framework-res.apk

and edit this line:

\res\xml\power_profile.xml

<item name="battery.capacity">3500</item>

to

<item name="battery.capacity">4200</item>

Recompile Framework...

3. Then edit \etc\floating_feature.xml

<SEC_FLOATING_FEATURE_SETTINGS_CONFIG_BATTERY_CAPACITY>3500 mAh</SEC_FLOATING_FEATURE_SETTINGS_CONFIG_BATTERY_CAPACITY>

to

<SEC_FLOATING_FEATURE_SETTINGS_CONFIG_BATTERY_CAPACITY>4200 mAh</SEC_FLOATING_FEATURE_SETTINGS_CONFIG_BATTERY_CAPACITY>

then replace the 3 files (services.jar, framework-res.apk & floating_feature.xml) with the new ones... download a good battery app from play store and test...

Theoretically if the kernel reads battery info from firmware, it should fix the battery issue and 80% will be a 100%. Now, if Kernel reads battery info directly from chipset/board... then no dice.

Worth a try...

if it works... then apply same formula for the regular S8 variant with 3000mAh.

TEKHD
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] xDMONEYx:
What I did was this: during this root process, during part 1 after you have flashed the PWND firmware, but before you have run any of the ADB commands to actually root the phone, download and log into Snapchat. You will be able to login since the phone is not yet rooted. Then, move forward with the rest of part 1 and run the ADB commands to achieve root. Luckily none of that wipes or resets your phone. So, you end up with your phone rooted while you are logged into Snapchat. Now you can use something like Titanium Backup (I use Rom Toolbox Pro) to backup Snapchat's data. Before you proceed to step 2, I suggest moving that backup data to an external SD card just to be safe. Then, once you complete step 2 and have the more stable root/firmware, install Snapchat from the Play Store, then restore the data you backed up using whatever app you used, and when you launch Snapchat, you should be logged in! Worked for me multiple times.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] iixAndroidx:
Thank you will give it a try.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] jcradio:
OK finally got it rooted and everything seems fine. Well almost everything.

1. When I connect my S8 plus to my PC via USB I get a error message on the phone saying "THE CONNECTED DEVICE IS UNABLE TO ACCESS DATA ON THIS DEVICE. RECONNECT THE USB CABLE AND TRY AGAIN".

2. Samsungs SmartSwitch comes up with Unsupported Device.

Is this a known problem and if so is there a fix coming?

Many Thanks to the DEv's Great Job.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Kjc99:
Yup ignore it.... Just press ok
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] braswellington:
Snapchat still works on my phone and I'm rooted. at&t galaxy s8+
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] BlackAlien92:
I did wipe and it was at the top of the list in flashfire. Still never fixed the issue. I followed every step in the OP even copy and pasted the commands in adb just to be sure I had everything correct.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] braswellington:
Kernel keeps randomly going into panic

I think I saw a way to fix it on here. Could someone direct me to the page?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] kizzick:
same here still have the same issues hopefully the other guy having this issue will make a logcat like he said or i can and will once i get home
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Niteravin:
Awesome!!!!!!!!!!!!!! Job Guys, I have one question tho i have the root n all but when i go to flashfire n press the plus then the flash fireware then it goes to the select screen n it just load n load but nuthing Please Help
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] rickberg:
I had the problem with ff not showing files I went into the app and wiped all the cache and dalvik cache restarted phone and it started working
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Wacky2bakky:
So i ended up flashing the home csc and cp file with regular odin last night from sprints latest firmware so i can get the new extra features and everything seemed fine. but once i got to work this morning, phone kept freezing and error message would come up saying "the android.phone.app" has stopped. Wouldn't connect to my sprint service. I basically cant do anything with my phone. I tried wiping it thru stock recovery and clearing cache. I go through phone setup and it just ends up doing the same thing. I am stuck. So do i just need to flash the regular csc and cp of the latest sprint fw to fix it? Is there maybe options i didnt select in odin to do it properly? HELP!!! lol
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] progro420:
Did you extract and flash the system.img from the sprint firmware?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] AngelIsL33T:
Auto brightness doesn't effect my device. When turning on IRIS scanning, that's when i get those lines on the screen. Turned it off and haven't seen it since.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] bill10:
Ive managed to do everything bit the last step of installing my csc fails?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] hazmad:
Did you read the instructions? It says go into SuperSU settings (scroll all the way down) and enable pro, put in airplane mode and restart flashfire*
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] jokono421:
This is a sd card issue. You take that thing you got with sd card ,put sd card in it, put it in computer and reformat your sd card. Your sd card will work again. You might beable to extract the data from it but I never was able to get a good process to do so. Sadly enough sd card is corrupt an all your data is f###ed. At least you could still reformat an use it. For futer ref. try to make sure sd card isnt encrypted before rooting/flashing process.Believe me I feel your pain,I lost 160gb of torrents that are not seeding anymore before.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] partcyborg:
Yea that wasn't it it happened with auto off.

I don't use Iris scanner so that's not it either.

SUPER weird that it happens several times during the day then literally 0 at night.

Are you in the system.img and CSC in post #2?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Traceamount:
I'd like to know also. I have the same update waiting, is it safe? Have not rooted yet, sprint s8+. First got this update notification the day after root was released

Pic of update attached
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Niteravin:
Awesome

Thanks again for the helpful tip that i missed. I'm root n going to enjoy thanks to all of Devs that help make this happening. again AWESOME!!!!!!!!!!!!!!!!!!!!!!!!!! Job Guys
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] bftiedt:
The revision is still the same as all other firmwares (1 ) so yes it is safe .
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] qteezy2015:
Sorry for such a newb question.. I'm rooted now. So how do I apply future OTA updates.. without resetting/wiping or losing root? As OTA no longer works. Thanks in advance
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] howellcp:
You don't. You have to wait for a developer do cooler it with it.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] jjayzx:
I'm on Verizon and did both parts and things are running good. Just 2 things nothing major, can I get rid of stupid notification from about my phone cause it's rooted? Just an OCD typish thing, lol. Other is video calling, HD is on and WiFi but can't select the HD and video calling, it's gray and unselectable.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] jhofseth:
enforcing freeze probably related to root file SELinux info

Yeah, enforcing does that freeze to us in our situation. I had an apk installed that changed it after boot (i.e., trying to go enforcing to see if battery solved) and I ended up having to boot in SAFE MODE to uninstall it. I suspect the reason it freezes on us is that some system files related to root do not have proper SELinux info set. I once read that setting some SELinux settings might only be possible in a recovery environment, but they were probably not thinking about someone with a rooted phone. In any case, I am pretty sure that is our answer: some root related files do not have proper SELinux info, because we cannot benefit from installing in a recovery environment. Whether we can fix that or not despite our lack of custom recovery, dunno.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Wacky2bakky:
I did originally via flashfire in part 2 yes but that was before doing the flashing of home csc and cp of the firmware last night. Did I need to flash the csc and cp with regular Odin or modified Odin? And do I need anything specifically checked in Odin? Don't wanna lose root at this point, just wanna get back on sprints latest fw.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] progro420:
Ok well it sounds like you didn't use sprints latest update when you did part 2. Now that you have the latest sprint firmware, extract the system.img from the ap file from the most recent sprint update and flash it in flash fire.

If I remember correctly. I had to flash the cp file and csc in normal odin. If it fails retry. I had it fail lime 2 times, finally it successfully flashed and all is well.

I have factory reset etc and still haven't lost root so I wouldn't worry about that.

Hope I have helped you
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] jhofseth:
[MENTION=4202636]cameljockey1[/MENTION]

note: smiley faces are supposed to be u and : and o without spaces

I think that is our answer: if you open up supersu update-binary in a text editor, you see some supersu files need a file context that may only be possible in a recovery environment after 2014. For example System file context u:object_r:system_file:s0

FROM 2014: http://cygery.com/wordpress/2014/06/29/android-l-selinux-root-apps/

"System file context (u:object_r:system_file:s0)

Important: Please check the addition from July 9 at the end of this post. Changing the file context to u:object_r:system_file:s0 most probably won’t be possible outside of the recovery context in future Android versions."
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] AngelIsL33T:
Am I in the post? Idk what you mean lol
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] partcyborg:
ON not in. Stupid autocorrect
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Wacky2bakky:
Did u flash csc and cp all at once or seperately?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] thechaoz:
So in step 2, where we flash the CSC and system image, I can replace the system image with the U1 Unlocked firmware for Verizon posted on this website instead? I just hate the VZW bloat, want mobile hotspot and the root this technique provides. Unless the firmware here is also "unlocked"?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] progro420:
1 at a time, shouldn't make a difference though
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Wacky2bakky:
ok cool. now since ive flashed cp and csc from sprints latest (AQGL) thru odin, ive got my phone all setup again. i have only gotten the force close a couple times. Not constant like before. So when i go to flashfire the system image again from the latest fw, do i need to do everything in part 2 including flashing the csc root zip again or no since im already rooted?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] RedBullSlurpie:
Flashed back to stock, but how come the boot up no longer shows the Verzion loadup, and still shows Custom, with a lock, unlocked logo? No longer have root access, how can I get the verizon spalsh logo back, and the custom unlock to go away?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] progro420:
Honestly I would repeat everything in part 2 but using the files from our latest sprint update. Just to be safe because I haven't had any force closes since I Installed sprints latest firmware (system.img, cp, home csc)
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] qteezy2015:
The OP says to go back to stock choose any stock firmware of my choice.. I have AT&T firmware if I want to go tmobile firmware just use those files? That easy?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] matthewd769:
What???
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] kleen3r:
Is anyone else experienceing boot loops after wiping cache through Titanium Backup? I've had to redo my setup a few times now.

Root is definitely worth it though. Just curious when stuck in a bootloop is there anything I can flash other than stock firmware and starting over?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] jhofseth:
not context info of rooting files, verified with chcon in terminal

[MENTION=4202636]cameljockey1[/MENTION] , [MENTION=3812611]elliwigy[/MENTION]

It's not context info of rooting files that causes enforcing freeze; I verified with chcon in terminal. I manually changed all SuperSU install files with chcon to SELinux file contexts specified in SuperSU's update-binary after mounting system rw. There were no errors, so I can only surmise the enforcing freeze (that still occurs after manual change) is related to other factors--possibly boot image/kernel related.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] hazmad:
You used stock firmware for your carrier and you flashed all 4 files?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] jhofseth:
This is just a way to get your rooted US Snapdragon S8+ as close to your particular carrier's latest stock ROM as currently possible; it starts off from already rooted state:

This site is where I got my latest T-Mobile S8+ ROM; if you have the same T-Mobile S8+ SM-G955U model, then this would work for you too:

https://www.sammobile.com/firmwares/galaxy-s8+/SM-G955U/TMB/

for other carriers/models, just search: https://www.sammobile.com/firmwares/

If you are already rooted, just extract the files into a folder.

Further extract the AP file (e.g., with 7-Zip) to obtain only one file: system.img.ext4; I used 7-Zip. http://www.7-zip.org/download.html

Use that carrier specific system.img.ext4 as detailed in stage 2 of OP.

Do not flash BL.

Do not flash AP.

Flash CP in CP of latest Odin.

Flash CSC in CSC of latest Odin.

Good luck! :)

note: CSC does not wipe data on S8+!!! CSC is better than HOME_CSC, because it uses the CSC file (not home file) to make sure your CSC matches your new firmware. CP is important because it contains your modem.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] TT_Vert:
What carrier are you on? I was able to connect to my hotspot on Sprint but get no data. Tried turning Wi-Fi sharing option on/off w/o luck. To get back the popup that hotspot was not available for my phone I ran a few commands :

This is what allowed me to open hotspot and connect just have no data. Can ping the phone IP (gateway) but no other WAN IP so it's not a DNS issue.

Thanks in advance guys.

Dave
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Dominikankuko05:
Im on AT&T. But the link i provided doesnt need to run any commands at all. All you need is to download the APK file and just replace the original one in your phone.

https://redirect.viglink.com/?forma...loud.tapatalk.com/s/58ca0407...gProvision.apk

1) Find the /system/priv-app/TetheringProvision folder in a*rootcapable*file*manager.*

2) Make a*backup*copy (move somewhere else) of the current TetheringProvision.apk.*Note, don't leave two APK*files*in the folder, move it elsewhere or change the .apk to something else.

3) Copy the*new*APK*file*to this folder.*

4) Change the permissions on the*new*APK to 644 ( RW, R, R ).*

5) Profit, and thank vikes4life.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] TT_Vert:
I saw this but I do not have the tethering provisions folder under /system/priv-app/.

Dave
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] AKETech:
So I just wanted to update you. I went ahead and started all over and downloaded this version of these files, followed the instructions to the LETTER, and then was able to get through the 2nd part without any issues. It took some maneuvering to get FlashFire to work correctly, but now, finally after a week, I am fully through the root process. Thank you and all the DEVS who worked on this and contributed. You guys are not only awesome at what you do, but your help and patience with me through this week has been awesome. I will continue to follow the project and help other people the way this community has helped me.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] iiTzJ03y:
edit: probably should have used the search function first :/
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] AKETech:
I was finally able to get flashfire to work. Thank you so much for your help with this process. I have made sure to thank the DEVS also, but wanted to make sure you were also included.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] JollyGrnReefer:
I was able to get ADB working and detecting my device. I even pushed commands to remove the navigation bar, just to verify working. I have read through this thread, start to finish, at least 5 times educating myself on the process.

QUESTION:

To complete root, just follow the steps from start to finish? No hidden directions here? Do we need to download carrier specific system.img.ext 4, or just use the one included in the OP? Lastly, do we need carrier specific firmware for anything other than returning to stock?

Figured I would ask to be safe, but I have been reading and still have questions lol.