yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] cwhiatt:
I think I know exactly what happened. Instead of flashing the official firmware in Odin, I flashed the four extracted files from the SamPNWD.zip.

I downloaded the firmware for the Tmobile variant last night so later this evening, when my girl gets off work (I sent her with the device today) I can reflash the firmware files (see attached). The Odin slots for the 4 are self explanatory but can you let me know which Odin slots to use for the Home and User data files? I am used to the old school way where you flashed a single tar.md5 file.

*Edit - YouTube vid gave me the answers. HOME_CSC (for debranding goes in CSC slot) and USERDATA goes in the other available slot under CSC).

If anything herein seems incorrect let me know.

Thanks.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] MrSteelX:
Use the home csc with bl ap and cp

If memory serves me right this will force a factory reset.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] sparky2029:
Is anyone having trouble with the camera and gallery app? The gallery app force closes every time I try opening it and the gallery app opens but won't let me press anything on the screen . However it still let's me take a picture using the volume down key. Anyone having this issue or knows a possible fix for it? Thank you
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] AngelIsL33T:
Just download the update from updato.com
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] Shemploo:
[MENTION=3812611]elliwigy[/MENTION]

I'm sorry, I'm sure it's been asked already, I've done a search and I can't find an answer - Are you planning on testing SamPWND on newer firmware such as the one that just came out G950USQU1AQHD? or too much effort?

I'm wondering if there's a procedure to mark certain stock updates as SamPWND safe, meaning, confirmed to work with specific firmware, or will the method just remain on that one specific firmware?

Thanks, and apologies for what probably is uninformed spam to you. I'm curious cause I'm holding out on doing the procedure till possibly BL unlock, which I know might not happen, as I would like to be as up to date as possible.

Thank you.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] elliwigy:
i already updated it to AQHD with AQI2 combo files.. the system.img in sampwnd initial firmware is always going to be AQDE as its needed to initially root the device but after that should work for you to just flash the aqhd system in ff and then the systemroot.zip

its actually already uploaded too i just havent added to op yet lol

---------- Post added at 06:46 PM ---------- Previous post was at 06:45 PM ----------

to add, i only work on S8+, someone else owns theS8 as I do not havean S8

---------- Post added at 06:46 PM ---------- Previous post was at 06:46 PM ----------

so that means i did not update S8, only S8+ lol
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] Shemploo:
So for those of us that want to keep updating to latest firmware, is it safe to do so? (un-rooted firmware I mean) - I don't want to loose the ability to have root with SamPWND

Do you keep your S+ thread updated with a note or something, letting people know that SamPWND works with latest firmware updates?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] elliwigy:
so far yes, it is safe..

I do not.. simply because you should tell what is safe simply by looking at the build id before flashing it.. the increment version is literally in the firmware name lol we are still on 1.. once it changes to 2 then that would mean its been incremented and that particular firmware will prevent downgrading

i am already on all AQHD and AQI2 and rooted with SamPWND of course
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] Shemploo:
ah, you mean the 1 before the AQ!

I learn new things every day!
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] cwhiatt:
Reflashing original firmware now. The UMS tab is greyed out. Isn't this the slot where the USER Data file should go?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] MrSteelX:
Nope
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] cwhiatt:
You've been a huge help. Really thanks. Greatly appreciated. /sarc
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] veener79:
Just changing over to T-mobile from ATT. Thinking of getting the S8. I have not been able to root a phone in over 2 years because ATT locked down the S6 edge when T-Mobile did not. If I get a S8 from T-mobile should I be able to root it? Not sure if this is carrier specific or not for root.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] MrSteelX:
Can the s8 be rooted. Yes it can. All us s8 can be rooted and have locked bootloader.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] veener79:
Thanks that is great to hear if I get the S8. Looks like my S6 was also just rooted also with ATT but I need to look into that more.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] theshadower10:
Ok, so I haven't seen a post with a definitive yes or no answer. Can we root T-mobile s8 and have the latest update (G950USQU1AQHD)? See attached image for update information.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] JACOBXDM40:
i'm stuck on the part 2, 2nd step"Take your stock firmware of choice, and extract it to your desktop. From this you will take the system.img.ext4" not sure where to find this. could i download a rom and get that system.img.ext4 file from it. sorry for the dumb questions i have been out of this scene for a while now.

---------- Post added at 09:12 PM ---------- Previous post was at 08:54 PM ----------

I'm on t-mobile and I rooted.just stuck on part 2 because I'm an idiot and don't know what to do.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] bigalbklyn:
Use 7-zip to extract the firmware. Then use 7-zip again to extract the AP file. One of the files extracted from AP will be system.img.ext4.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] JACOBXDM40:
what am i extracting the firmware from?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] MrSteelX:
by downloading stock firmware from here http://updato.com/firmware-archive-select-model?record=ECA6F700A5BE11E7963AFA163EE8F90B
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] eelsid:
Yes this is possible. I am running it AQHD rooted now.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] elliwigy:
u havent tried to read very much.. i have been rooted on AQHD since it released
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] yungrandy:
ok guys, so what exactly can i do with the flashfire and super su now that my s8 is rooted?( thanks to the classy young devs of this site. thank you guys/girls, just in case )

---------- Post added at 08:50 AM ---------- Previous post was at 08:14 AM ----------

ok so where do i get the stock img.4 file for part 2. ?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] songokunr1:
hi,

i want to root s8 with instruction on page 1.

i have problem with "Odin PrinceComsy"

i must select "Phone Bootloader Update" option but i cant

can make "procedure 4" without "phone Bootloader Update""?

https://imgur.com/XgezSTj

can somebody help me with it?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] jrcdpm:
You do not need to select the phone bootloader.

---------- Post added at 11:34 AM ---------- Previous post was at 11:21 AM ----------
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] songokunr1:
thanks,

i installed adb from adbdriver,com but i dont have created folder in c:adb for it. Should i install something else to do step 9? ( i cant find this forlder in other location)
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] TheBigEasy88:
Please do not take this as an insult, but if you're having a difficult time with getting ADB to install, I would avoid rooting your phone and just be happy with what you have. It's a great phone as-is.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] jrcdpm:
So I am rooted on my S8 no problems. Verizon just released an update yesterday (G950USQS1AQI6_G950UOYN1AQI6_VZW). I have extracted the system.img.ext4 from the AP file for this latest release. Can I just put this on my internal storage (replacing the original file I used for root) and then repeat step 2 (using the same SamPWNDS8.zip file from original root) to have the latest Verizon release rooted?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] MrSteelX:
Just loadup ff and flash the updated img and SamPWNDS8.zip
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] jrcdpm:
Do I still do a "wipe" with FF or does flashing those files wipe the device?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] MrSteelX:
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 sdcardTake 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 sdcardDownload flashfire from the Play StoreOpen flashfire and grant root permissions (this must be done with airplane mode enabled), exit flashfireOpen SuperSU, go to settings, scroll to the bottom, and enable pro features. Reopen SuperSU, select flashfire, and force user ROOTOpen flashfire again, and select flash firmware package (choose system.img.ext4)Select flash ZIP or OTA (choose SamPWND_G950U.zip) Under options for the zip make sure to select mount /system read/write!!Select wipe and make sure the top 3 options are selected, press the check in the right hand cornerThis 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!Select EverRoot from main screen and under options disable inject SuperSUPress the lightning bolt to begin flashing, and wait for your device to rebootCongratulations you now have a very smooth/fast/stable stock rom, with root. Enjoy!!
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] yungrandy:
Is there any way to get this security notice to stop popping up . Saying unauthorized access to a secured area has been blocked?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] MrSteelX:
It is called uninstall security log agent. Problem solved.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] songokunr1:
Im doing procedure 2.

can somebody give me link for working stock firmware. I have G950U U.S snapdragon version. (system.img.ext4)?

i dont know how i can get it.)

i found it few page before. RESOLVED
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] yungrandy:
So where can I find it? The stock g950u firmware.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] Hauteknits:
Is there still the 80% Batt issue?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] AngelIsL33T:
Yes. Won't be fixed until an unlocked bootloader is achieved.

---------- Post added at 11:06 PM ---------- Previous post was at 11:05 PM ----------

http://updato.com/firmware-archive-select-model?record=6377884CA8AC11E7963AFA163EE8F90B

https://www.sammobile.com/firmwares/galaxy-s8/SM-G950U/

So two options :)
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] Kylekauz:
Is this root method still viable after the latest update?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] jrcdpm:
Yes at least with latest Verizon update it is, I just successfully did it.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] AngelIsL33T:
How did you apply this update with root? I'm trying to figure that out without losing root with SamPWND
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] yungrandy:
whats the difference between carriers firmware updates? and does it matter ?

---------- Post added at 05:32 AM ---------- Previous post was at 05:02 AM ----------

there is no system.img ext4 file in there
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] MrSteelX:
it is inside the ap file. use something like 7-zip to open file to get at the system.ext4.img
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] AngelIsL33T:
You have to open the AP file with winrar
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] cwhiatt:
7-zip works as well. I used it yesterday to extract.

---------- Post added at 02:36 PM ---------- Previous post was at 02:35 PM ----------

That should be sometime soon. /sarc
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] jrcdpm:
You will not lose root but the way I did it you do end up having to set up your phone from the beginning. I never got a clear answer if there was a way to preserve all your data and settings but it definitely preserves root:

Essentially you do step two but first download the most recent firmware to your computer. I used 7 zip to extract the files and then you go to the AP file, right click go to 7 zip and open archives and that give you the img.ext file. You then add that file to the internal drive of your phone (I removed the previous img.ext file from when I originally rooted). You then use flashfire to add the img.ext to flash firmware, the same SamPWND zip file that you used with original root (should still be there unless you deleted it after rooting) add to flash zip or OTA. Then do step 2 the same way--add wipe and make sure it is first followed by flash firmware, then flash zip and then make sure to disable EverRoot inject SuperSU and then hit flash.

After it re-booted I used regular Odin to flash the CSC file from the most recent update (put phone in download mode to flash the CSC file using Odin).

That's it. I have the most recent firmware from Verizon and still have a rooted S8.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] cwhiatt:
That only charges to 80%. Does the SD card work without error?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] jrcdpm:
I can live with the 80% charge. My SD card works fine.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] cwhiatt:
I've been trying for a couple of days now to get my gf's Tmobile S8 back to stock. I've not had any luck flashing the original firmware via Odin and I've also stalled out in the initialization phase when using Samsung Smartswitch.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] elliwigy:
its called complete part two you mean.. if hes getting that hes still on ENG

---------- Post added at 04:54 PM ---------- Previous post was at 04:53 PM ----------

if u dont kno how to use odin to flash stock firmwares root isntfor you
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] cwhiatt:
I've been rooting Tmobile Galaxy devices since the S3. I'm well versed in the root process as well as flashing firmware via Odin.

This particular S8 was previously rooted but given that I'm going to have to field the "Why is my phone only charging to 80%??" question over and over I decided to unroot it.

This isn't an operator error issue. The fact is that neither of the two options are working at present.

The Samsung Switch downloads the firmware in the first phase but when it jumps to the second phase of "update and initialization" is seems to just hang at 0%...

In Odin is does file analysis then setup but completes 0/ fail 1.

The model and firmware are correct.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] elliwigy:
it is user error.. ive helped many in the same boat as you and each time it was a waste of my time and came down to user error..

fact is you need to know how to use ODIN, have correct drivers, ensure using usb 2.0 NOT 3.0ports, make sure your downloads are not messed up etc.

We have gone back to stock 100s of timea as well as many users on here have gone back to stock many times with no issues..

therefore its either user error or a problem with your setup/downloads etc so to suggest its not a user/your setup issue is absurd as we know with 100% certainty its an easy odin flash away to get back to full stock

i never use smart switch bcuz i think its garbage, odin simply works
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] treasurmu:
For G950w Roger's

Hi guys

I just wanted to know if it's possible to root G950W Roger's because I don't see OEM IN THE DEVELOPMENT MODE it is possible? If it's can have some directions? Please

Tk u
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] Velaar.Felps:
Hey guys, not sure how important it is but I had a chance to look into G955U kernel sources. It seems our famous 80% charge is defined in sec_battery.h as

#define STORE_MODE_CHARGING_MAX 80

#define STORE_MODE_CHARGING_MIN 70

So after root we are getting into factory store mode, which is managed by #if defined(CONFIG_SEC_FACTORY).

No idea if we can actually patch it 'on the fly' but at least we know where to look. The checks themselves are in /drivers/battery_v2/sec_battery.c
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] elliwigy:
why dont u just follow the instructions in op? oem in dev options is absolutely useless even if you do add it, we cant unlock our bl at this time.. searxhing and reading goes a long way
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] elliwigy:
mine is not in store mode.. all that means is the capability is there, its not actually enabled.. the abl sets the capacity during the boot process most likely when it sees we are on a permissive boot.img and sets it to max 80% from what ive gathereed
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] Velaar.Felps:
Interesting. So far store_mode code is the only place where I was able to find a reference to 80% or 0.8 battery capacity. I'll see if I can find anything else in battery_V2 sources.

And how do you check that? I have an unrooted phone so want to compare.

- EDIT

#if defined(CONFIG_SEC_FACTORY) // SEC_FACTORY

#define STORE_MODE_CHARGING_MAX 80

#define STORE_MODE_CHARGING_MIN 70

It seems that STORE_MODE_CHARGING_MAX is always there and depends now on STORE_MODE but on CONFIG_SEC_FACTORY.

I also do not see any reference to setting the capacity (max_cap or whatever) through boot/cmdline. It seems the code only looks into SEC values. I'm now looking towards SEC_FACTORY && !STORE_MODE. I've looked into ABL itself. Which seems to be edkII based firmware. I think in S8 kernel is booted directly by EFI. Question is if max_capacity is applied on the firmware level. If yes - it can't really depend on kernel because in case phone is completely off kernel is not booted.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] yungrandy:
your right i havent did part two
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] AngelIsL33T:
ahh ok. Thought is was more complicated then that lol. Thanks :p
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] yungrandy:
ok what to do if flashfire dont show up in super su ?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] cwhiatt:
I had this happen. I think I restarted the device a time or two. Eventually it did.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] yungrandy:
about how long is it supposed to take to reboot still on flashfire breboot screen
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] AngelIsL33T:
I used the new system img when re rooting, but still ask me to update :/
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] cwhiatt:
Not more than a couple of minutes in my case.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] elliwigy:
look at last_kmsg or boot up logs and ull see a lot more references not pertaining to store mode

---------- Post added at 01:50 AM ---------- Previous post was at 01:49 AM ----------
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] jrcdpm:
Did you flash the most recent CSC in Odin after you were done? I did and I am not getting update message and it shows I am on the most recent update.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] AngelIsL33T:
Yeah I did that today. No longer getting the update!
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] highaltitude:
Ok, I've been rooted for a while and have followed along in the thread. I just wanted to verify, to update to the newest firmware, can you just go through the Part 2 section but with newer IMG?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] AngelIsL33T:
Yes. Then after, flash the new csc file as well. The normal csc
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] jamus28:
Entire post/question had incorrect info, deleted to not mislead anyone
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] yungrandy:
yea thats what im saying, ive been stuck on step two for about a week and still havent got it to work.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] yungrandy:
you wouldnt happen to still have the system.img.ext4 file by itself would you?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] AngelIsL33T:
i do. Not on my device tho, on PC.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] yungrandy:
oh ok . hey how am i supposed to flash the, systemroot.zip when i flash the system.img.ext4 in flashfire?

And does the system.img.ext4 file have to be in a folder when moved onto the internal phone storage?
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] MrSteelX:
Do you not know how to extract the file from stock firmware? You need to use a program called 7-zip here http://www.7-zip.org/

You then grab firmware for phone from here http://updato.com/firmware-archive-select-model?q=SM-G950U&exact=1&r=&v=&rpp=100

When the download finishes, it will be a zip file. Extract the zip file, it will then be in a folder by the same name.

open folder and see the 5 or 6 files in it. those files are tar.md5 files. You then open the ap file with 7-zip.

You then see the System.img.ext4 that you are looking for mate.

then you continue with part 2 on page 1
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] mabk:
Does this break anything? Android/Samsung Pay?

A few questions:

Does this work on the current S8 Verizon model (SMG950UZVV)?https://www.verizonwireless.com/smartphones/samsung-galaxy-s8/

Does this work on the unlocked S8 one from Samsung?

https://www.samsung.com/us/explore/galaxy-s8/

Does this break any functionality temporarily or permanently, such as Samsung/Android Pay?

What's the process for unrooting if I want to reroot?

Is this just rooting or a single ROM?

Thanks folks.
[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] MrSteelX:
............................................________

....................................,.-'"...................``~.,

.............................,.-"..................................."-.,

.........................,/...............................................":,

.....................,?......................................................,

.................../...........................................................,}

................./......................................................,:`^`..}

.............../...................................................,:"........./

..............?.....__.........................................:`.........../

............./__.(....."~-,_..............................,:`........../

.........../(_...."~,_........"~,_....................,:`........_/

..........{.._$;_......"=,_......."-,_.......,.-~-,},.~";/....}

...........((.....*~_......."=-._......";,,./`..../"............../

...,,,___.`~,......"~.,....................`.....}............../

............(....`=-,,.......`........................(......;_,,-"

............/.`~,......`-...................................../

.............`~.*-,.....................................|,./.....,__

,,_..........}.>-._...................................|..............`=~-,

.....`=~-,__......`,.................................

...................`=~-,,.,...............................

................................`:,,...........................`..............__

.....................................`=-,...................,%`>--==``

........................................_..........._,-%.......`

...................................,

By doing this. you lose spay,Android pay, and all knox stuff is lost while you are rooted.