yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] biff6789:
Thank you, although to be more clear, I need to make PERMANENT change to a database on the phone and would need root for just 5 minutes to do so at which point I would flash back to stock while keeping the modded database in the app's data. An emulator would not be able to accomplish what I seek.

Thank you and I understand, but this root method performs a factory reset (i.e. wipes the /data partition) during flash, does it not? My initial inquiry was whether a method exists to flash this without forcing a factory reset, although it appears the answer for the time being has been no. With Samsung typically a CSC.tar wipes /data on the phone (i.e. factory resets) while a HOME_CSC.tar does not so I was wondering if the latter file existed as it might allow this root method to work without forcing a factory reset.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] DaftOdyssey:
What do you mean with home csc?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] RyanFabbro:
Where do I get these files from? I didn't even realize I was missing features until I read this convo lol
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] progro420:
Download sprints latest firmware...
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] lilrich17892:
So since nobody has answered. I'm assuming since I am on the modified sampwnd firmware AQDE, Odin isn't letting me go back to AQGL. If anybody has any knowledge as to what I should do please enlighten me. Sorry for blowing up the thread
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] theboz1419:
It's a zerolemon, Amazon has them. They have them in 2 or 3 different sizes.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] jhofseth:
I used regular csc from my carrier's latest ROM (T-Mobile S8+), and have zero issues with using the latest carrier system.img.ext4 (from same ROM as csc) rooted.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] the1stSecond:
Edit: Oh, saw all the other posts now...if you want enhanced services apk, let me know.

---------------------------------------------------------------Place them? Not sure what you mean. If you are thinking you have to download the apks I posted on your PC and then transfer them to a specific directory on your phone that is not correct. Not needed.

On your phone, follow the link from my post. Then just tap whatever apk you want and install.

FYI:

After you tap the apk and installation bsgins;

Files are copied and extracted and app is installed.

If same version is already on your phone it will be removed then replaced by the file you are trying to install. If previous version is installed, it will be updated.

Further FYI:

/data/app is location of apk copy

/data/data is location of application data storage
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] AKETech:
I used your file and method. It was the only way I was able to get this to work. So thank you for the file, but most of all thank you for your help. Without some of the great people on this thread, and their help, I wouldn't be rooted! Still haven't gotten the second part to work, but I will, and I certainly had problems because I didn't understand some of the things, but you, some of the developers, and others helped me through it, and everyone was great to me. So THANK YOU! I really appreciate all of your help, and your time.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] RyanFabbro:
Can I do anything with flashfire or do I need to do this on pc?

Also I can't find the latest firmware...
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Lmax579:
Are u using any apps like greenify or Lspeed?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] eelsid:
I got this once in Samsung Internet. Rebooted and didn't happen again but I only rooted last night. I flashed latest TMB system in flashfire per part 2 and then CSC via stock Odin, so maybe whatever is left over from the ENG flash (kernel?) is causing issues.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Ttw626:
Phone stuck on boot screen after root and restart

I rooted my phone (SM-G955U) with the instructions provided and everything went smoothly but I ran into "touchwiz keeps stopping" error and rebooted my phone but now it's stuck on the boot screen telling me my serial number and all the and now I'm lost on what to do. You should go with this or how to get it out of this? PLZ HELP. Thanks in advance.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Kjc99:
YA happened twice today. Turned screen off then right back on and everything had a green filter mostly seen on apps with white backrounds like internet and playstore and dialer.. Turned screen off and it went away.. .. Hasn't happen again since... Guess we'll just have to keep an eye out.... Only one or 2 others have had this so might not be the Eng firmware.... Thanks for responding

---------- Post added at 09:09 AM ---------- Previous post was at 09:07 AM ----------

Did you try to get into stock recovery? First try to wipe cache/dalvik in recovery... If all else fails maybe a reset.... Did you freeze/uninstall something that you shouldnt have?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] nimms:
http://updato.com/firmware-archive-select-model?record=1BECA6A8815E11E7963AFA163EE8F90B try the latest firmware for sprint if u want sprint version or

Download unlocked U1 version http://updato.com/firmware-archive-select-model?record=F6B451FD73EE11E7963AFA163EE8F90B

Follow first post directions
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] jhofseth:
carrier specific better

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] Ttw626:
Yeah I tried to get in recovery and after awhile got to the upload screen and just kept messing with it and finally was able to get into download mode and use ODIN to flash everything and start over. i was using titanium backup and removing things so I probably did remove something I shouldn't have and didn't notice it. New problem I am having now is that Flashfire just keeps spinning in circles when I go to flash firmware package and can't get it to load anything no mater what I try with it :rolleyes:. Anyone know how to get it to work correctly?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] elliwigy:
i would say it lookslike it haha if u want those extra features of course.. as long as you dont touch the bl or ap slots you should be fine.. if device gets wiped might mess a few things up tho
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] elliwigy:
well if you were to root then flash a stock system.img without wiping i am not sure thatd even remove root?

but yes, at some point or maybe even a few points it will be wiped.. its just the nature of what we have to work with and ive seen some wipes in odin even when it shouldnt have wiped etc
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] elliwigy:
well if its saying an error use regular odin to flash the stock BL you are trying to flash then flash the ap, csc and cp in comsey odin..

i did post in op the two odins as well as stated they are wierd sometimes, if one doesnt work use the other and sometimes you have to flash the partitions separately in dif odins etc etc
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] elliwigy:
the whole reason you guys were having the "issue" is because of the adb version/tool you were using.. i noticed issues between the various adbs available..

some when typing the adb push command was only pushing the files from the folder but its supposed to push the whole folder as that is how the root script was designed..

others couldnt type adb shell setsid su to drop straight into a root shell and had to go the unstable exit route which is a pita..

so the other day i just added the minimal adb that i use with 0 issues to post 2 with the systemroot to make it easier so now we shouldnt be seeing that issue if they use the supplied files and instructions in OP :)
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] elliwigy:
i typically ALWAYS use greenify but so far its not needed.. i do use l speed, love that app
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] elliwigy:
with the right set up it should happen very minimally and usually just toggling the screen off let aod come on then back on and its fixed for me.. but mines not near what some others have said lol.. i do imagine it is due to the permissive boot.img, keep in mind it was build for debugging/combo firms
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] elliwigy:
did u try putting phone in airplane mode then use ff??
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Ttw626:
I just tried it in airplane mode and still having the same issue
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] jhofseth:
Risky, definitely! :) But, I don't have the guts to dd BL partitions,

especially considering Odin signs at least some partitions

; you realize this when you compare non-flashed recovery to same recovery after flashing! Examine an AP extracted recovery in wxHexEditor (attached), then simultaneously examine/compare a dd backup of the exact same recovery. Specifically, look at the very last section following SEANDROIDENFORCE; Odin clearly appends a selected section of code; it is possible to search for the exact section that Odin copied from the main body of code in wxHexEditor! Cool stuff! As for the crom lock, the insertion of KIWIBIRD into steady partition was pre-emptive unlock in case the Hong Kong Snapdragon bootloader actually were able to be booted on a US Snapdragon S8+; basically, if it worked then I wouldn't be screwed at boot, because bootloader would be unlocked. However, modified Odin won't be nice and I don't have the guts to dd BL due to my direct observation of Odin partition signing. Definitely lucky, though! No risk no reward, so I was prepared to have to make an EDL cable out of USB, and worst case scenario go back to my Note 5. :)
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] theboz1419:
I had it do that 2 times, and when I put it in airplane mode it did not work for me either. Then I rebooted the phone, and it worked fine. You could also try removing FF from SU and put the phone in Airplane mode and reboot the phone, then let SU re add FF, and see if that works.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] dodg2001:
flashfire

open a web broswer and go to youtube, and search for Samsung s8 PlusG955u/1 and watch the video's it is in 2 parts, the Flashfire part in video part 2.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] boostnek9:
So mod your database in an emulator, save it and push it to your phone.

You'd be doing the exact same thing if you'd root your phone and flash back to stock. You need to push the db to your phone as well.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] lilrich17892:
Thanks for the reply. I did post a couple pages back that I used both versions of Odin as said to in op. The issue I'm getting is when I add the AP to either version of Odin it goes to check the md5 and stops working. I'll flash the BL first the see if I can get it to work. Any particular settings need to be checked and do I reboot after flashing bl then proceed to flash the other's? Thanks in advance

Update: I am now rooted and followed both steps in OP without any issues. Only problem I have now is occasionally phone will shutdown and boot into upload mode with subsystem error: modem crashed. I've seen multiple people encounter this. Is there a fix to it? Btw device is sprint g955u originally on AQGL
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Kjc99:
Thank you [MENTION=3812611]elliwigy[/MENTION] for confirming the greenish screen thing definitely not a big deal at all... I didn't see it effected more than a few people, so I was wondering if we did something wrong during the process....
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] elliwigy:
now if we can only get a willing participant.... we already have a member on our team that bricked but he used flashfire lmao dd would be a lot safer
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] elliwigy:
but yes.. first use crom.apk to unlock and set kiwibird flag then dd the bl.. and u are correct, it should be unlocked right off the bat lol but who knows
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Heavenly_Abyss2016:
Can't wait to see an attempt. DriveDroid cannot run properly in a rooted S8+ because kernel does not support it.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] boostnek9:
lmao. JTAG the damn thing in case of brick lol

Anyone willing to give this a try? haha
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] IJoxer:
Use Updato.com for the firmware, g950u and sort by date, find your carrier, download and flash with Odin. Be sure to clear any security measures first, you'll be unrooted and fully clean stock.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] elliwigy:
lol theres only over 90% chance of ahard brick haha
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] unitz0mbie:
honestly compared to stock how is your battery life? is this 80% really as bad as ppl make it seem to be?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] elliwigy:
not at all imo.. i can get upwards of 13hrs sot on a full 80% charge and have some battery left lol
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] unitz0mbie:
is the phone noticeable faster and all that since u have lspeed installed?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] muppetmaster916:
Only thing I've noticed negative about eng boot is that I seem to charge slower. No biggie though.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] xDMONEYx:
Only a handful of people in here have been making a stink about the battery being 80% and I think you're one of them hahaha.

That being said, battery life seems to be fine for me. I am also using L Speed (for the first time ever, great app that I am surprised I never knew of) and battery is good for me. Hard to get accurate usage info though, since my battery stats don't reset from not charging to 100%. Speaking of that, anyone know a good way to reset those stats manually?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] hazmad:
Do you, or anyone know how to JTAG without cracking open the phone? Too much trouble otherwise.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Kevin36:
trying to install through odin and getting unsuccessful it doesnt do anything installed usb drivers even changed cables
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] hazmad:
Adb works though? Which Odin are you using?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] mdiaz33685:
This is not quoting u, I just did not want to point or font any one out, lol, haha so many sensitive people,

And still answers are said which r 1 page or 2 back, that shows they did not read anything.

People that have memory card issues, usually with cheap cards from China, but even with good cards it happens for no reason at all, I use a low level hard drive utility and now there memory card low level utility out, if u can't see it on other devices and didn't make a backup, only 1 person at fault for not backing up something that is supposed to be important,

Ur files are probably 99% lost gone, goodbye.

I'm in the hospital, so I don't have access for the utility I use, but u can find then over the internet for free,

If u low level the scarf and then format and it works, to test the card to make sure it's good, or even when u buy a card, the 1st thing I do is fill it up to max. If it fills up it's should be good, that is how I have been testing every single card or hard drive I buy,

When cpu and memory and as came out, people find ways to counterfeit and try to push and make them faster and bigger, which at one point or another will crash and not work anymore.

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

I thin k it was a galaxy app update, sign into samsung for that. happened in my mobile awhile ago
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Kjc99:
+1 anyway to reset stats... Tried wiping cache in recovery and also powering off unplugging plugging.. Etc
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Kchitown1977:
I searched root junky throughout thread in his video he states a certain base band what if my baseband don't match what he states I have qg4 base can I still root currently on Verizon s8+
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] kizzick:
Did you ever fix your phone app? I'm having the Same issues
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] BlackAlien92:
No I never ended up fixing it so I just went back to stock. I was having too many issues even though I followed all the directions correctly
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Lmax579:
Yeah is pretty good and I been using speed up swap...
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] biff6789:
Thanks for the reply. I did try that but it seems Samsung has improved SELINUX and shut the door on that loophole. Attempting to adb pull the database from /data/data/package.name results in "Permission Denied" and attempting to adb shell in directly and try it by running 'run-as package.name' to gain permissions results in "run-as: Could not set capabilities: Operation not permitted" :(

Unless you know something I don't know I think I'm out of luck unless I come to peace with having to just dive in and flash root, thereby causing a factory reset, then installing and modding the app and its database while I have root and then attempt to flash but to stock unrooted without executing a wipe (via HOME_CSC).
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] hazmad:
if you don't put wipe before (above) system.img.ext4 when you use flashfire, you get major system issues.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] elliwigy:
a bit yes.. but i put on all battery saving lol
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] elliwigy:
follow instructions in op.. root junky made a video off the first release.. the steps and files have been slightly refined in the OP
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] elliwigy:
did u have root? if so you could have used the su command
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Raz12:
Okay so i have root and everything is fine. i can still make calls if i go into the contact app or another application that calls people. But my main phone application force closes each time. It happen after flashing the CSC for AT&T. Everything else works. Question ? if i titaniumbackup freeze it or uninstall it couldn't i just install the phone apk again for samsung and it should work again ? or will my calling be totally done ?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] elliwigy:
thing is we dont know if its actually the phome apk or something else the phone needs causing it to crash
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] elliwigy:
to add, thats why the csc in post 2 is the best to use.. u might b able to just flash it in ff.. dunno if it wipes or not
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Kevin36:
did both steps and up and running had 90% battery left with usage it went down to 78%. charged it and it did not go after 80% but I am very happy thanks alot.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Raz12:
i'm pretty sure that's the one i used. I used the one CSC the guy who made that zip root file for instructions part 2. I think it might just be the phone apk because contacts work and the dialer pops up right when someone calls. I just wanna know if i delete the apk and install a newer one or older version it fails can i still make calls ? and also i wish i could just download over it and override it with a new version but it wants me to uninstall the app first. I know there's a way around that too.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] hazmad:
are you on S8 or S8+. I'm on S8+, AT&T, i flashed home_csc (1AQC9) and not experiencing your fc problems.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Raz12:
i flashed that during my first time and i didn't experience that either. It's when i followed these steps :

U1_Firm_QG2_System_Img.zip

QG2_ADD_CSC_SYSTEMROOT.zip

Unzip U1_Firm_QG2_System_Img.zip and copy system.img.ext4 to your internal storage

Copy QG2_ADD_CSC_SYSTEMROOT.zip to your internal or sd card

Open Flashfire choose add zip choose QG2_ADD_CSC_SYSTEMROOT.zip and choose to mount system

Choose add firmware and choose system.img.ext4

Choose add wipe and select System data, 3rd party apps, Dalvik cache, Cache partiton, Cache Partiton format

Move this wipe to the top so its the first thing flashfire does

Make sure inject supersu is not checked

Make sure the flash order is Wipe, system.img.ext4 then QG2_ADD_CSC_SYSTEMROOT.zip

To get SnapChat working click disable supersu in the supersu app settings

Reboot Phone Install SnapChat

Enable supersu.

If this fails go down to reinstall in settings and click

Flashfire should now work and reflash this supersu.zip

That is when i got this issue. It's not that much of a big deal to me because i can do a work around but i would want the app to work and i just want to know if i reinstall it with a different version will it work again.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] cameljockey1:
Could we change with an app or terminal for the permissive to enforcing without anything messing up and see if the battery will charge past 80?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] hazmad:
the 80% restriction is baked into the boot/kernel

---------- Post added at 13:55 ---------- Previous post was at 13:51 ----------

Ahh https://xdaforums.com/showpost.php?p=73489978&postcount=925

I wasn't paying attention to any snapchat/netflix workaround(s), since I don't care about them. You could run logcat and see what's causing the fc (i think).
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Raz12:
Yeah me either man, i was only doing that because it brought me back to AT&T. If i didn't do that then it was going to be a mix of T mobile and At&t. I have snapchat already backed up with titanium so i didn't need a workaround and i will do the logcat log but i am about to just uninstall the apk and reinstall and let you guys know. I think there was someone else in this thread that got the same issue but idk. Brb thanks you guys for the help.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] joshclouds:
I have gotten a few answers but I just really want to get the okay from [MENTION=3812611]elliwigy[/MENTION] my phone in settings then about has a message saying my phones operating system has been modified and I may see more battery drain and that I need to call customer service is this normal?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Raz12:
Welp that was a bad idea lol. I have no service now :D
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] hazmad:
The only thing close to that i have is - about phone > status > device status: custom

Where is that message for you? A pop-up?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] elliwigy:
yes
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] elliwigy:
phone status.. the csc zip i post 2 removes knox and other crap entirely so thats where it comes from.. if urs says custom most likely due to having knox n such still on your phone