yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] criswellc90:
30 pages of people saying there is no fix for the 80% battery issue. 15 people asked. Please read the entire post before quoting or replying to it.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] BlackAlien92:
so I got all the commands put into adb (part1) but now my phone is stuck in the att boot logo. any fix for this? really would appreciate the help. Also I have tried changing the root.sh in systemroot folder to the other that another user posted in a earlier post. But was never able to get root when running "id" command. So I stayed with the one posted in the 1st post
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] XBlackChaosX:
While I'm eagerly waiting for the S8 version to drop I just finished reading all (current) 31 pages just to make sure I have all the information I could possibly need.... Now, why am I saying this?.....well to let all those that before you ask a question it's best to read and or use the search function... If I can read 31 pages (it only took about 10 minutes) then so can you!! ??
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] ron31:
i enter this command in cmd adb push systemroot /data/local/tmp i get error file doesn t exist or erroe 32 doens t match client 36 killing........ phone is plugged in i enter adb devices my phone shows up in cmd when i plug cable in the phone i get the connected device is unable to access data on this device .It went thru the odin ok it all loaded the files provided on first post .i also have the root file install in same folder as adb folder. i dont know what im missing im not new to adb i rooted my google pixel xl and installed twrp no prob my device is g955w i also get this message on my phone security notice unauthorized access to a secure area has been block
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] meathammer386:
I like the way you think
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] SpasilliumNexus:
Remove the SD card. I had the same issue with a 256GB card, and ever since I removed it, the freeze followed by reboot into upload mode stops. Formatting the card or using a smaller sized one doesn't fix it either. As soon as I put one back in, a few minutes later, the problem comes back.

This is what shows up on the display of the phone:

EDIT: If it makes any difference, this happens on an S8+ from Comcast, using the QG4 system.img and CSC zip a few pages back.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] jawonder:
When i select the "Flash Firmware package" and "system.img.ext4" in Flashfire it does not give me the popup to select mount as R/W . It has the check mark at "system.img.ext4" and the check at the top right . Could it be because i have it on my external SD ?.

Ok, got it . I forget i was using jrkruse files and should've use his method instead.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] HighOnLinux:
I'm glad i read onto this thread to see what i need to understand before i give it a go on my s8 tomorrow morning. I'm very happy about this and am thankful for everyone's work and advice/solutions for these issues. Now for everyone posting the same questions, please read from page 12 until now. It'll be your lifesaver to do it correctly. It's like reading a book. If you can't do so, don't post anything up please. Thank you.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] the1stSecond:
Edit 08/20

In the off chance someone reads this having done a search for Xfinity Mobile (CCT) because when trying to flash the FJ HomeCSC from CCT stock firmware and gets model dismatch error:

Just use the Devs G955_ADD_CSC_Root.zip and then the sysimgext4 posted by the Dev and use them as he outlined.

Works perfectly and I am on Xfinity firmware with good root access.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] lightninbug:
is this the system image for tmobile?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] DarkXoa:
That looks exactly like what I was seeing! I'll try this in a bit. Quick question first, though: were you able to use your external sd after the root process was all finished?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Slim2none4u:
One issue I see is the OP text is wrong. Should be 2 lines I believe

adb shell

setsid su

Someone correct me if I'm wrong.

Maybe clean up the OP and make it more clear and easier to read with numbered steps versus just a > separating steps.

Not knocking the OP in anyway. Just constructive criticism towards the layout.

It's a bit rough....
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] kclive:
I try it this way as well and still get the setsid: exec su: Permission denied

Any ideas?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] rogerandgina:
How do I extract system root zip to add directory?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] muppetmaster916:
Same, hoping someone has some insight.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] DetoxVenom:
Have modem crash what do I do step 2 probly didn't work or something, how can I fox without Odin, like flashfire? Also can I update to latest u1 firmware and keep root? With flashfire?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] DetoxVenom:
I read the stuff about cp and hos and all that but I need to know specifically what to do from where I am please and thank you.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] IJoxer:
Use 7zip and add modem.bin from cp to tar archive, then same with non-hlos from bl. Flash tars with PrinceComsey Odin.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] DetoxVenom:
I can't use flashfire? And what's tar archive
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] chiefwigms:
Not sure if its xposed (I have Gravity Box + AdBlocker Reborn), but I get random app force closes (Hangouts, Gmail, Maps).. I did a factory reset as well (restoring app data), but still have issues occasionally. Followed instructions as posted.

Anyone else?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] TheBigEasy88:
It could be either Xposed or Substratum if you're using it. Turn-off Xposed and play around for a day and see if they still persist. Trial & error is your best bet in figuring it out.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] IJoxer:
Tar is a compressed archive format, like zip or rar, it should be the default option when you right click and use the 7zip context menu to 'add to archive'. Double check tar is the archive format and push OK, it'll compress it to a tar and that is what you flash in Odin, it's likely doable in FF, but I'm assuming you're fairly inexperienced and would be better off using odin with default options selected.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] DetoxVenom:
If rooted every phone I ever had, it's just that this method of rooting is a little bit more confusing then my s7e was, I don't have access to a computer now... So I would like to just flashfire it. How ever I don't think there is a tool on Android to let you compress to a tar format, I'll check.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] partcyborg:
I don't :)

If you look at /init.rc you will see that the first thing exec'd is a binary in /system/bin to setup something about timezone data from I think the chosen csc (I forget and can't check right now I'm at work). Given that this is in /system I can replace it with a script that does anything I want, calling the real version at the end returning the result if needed to the caller.

This is exactly how safestrap works, except they used e2fsck. Note that I've only briefly glanced at this, so it may turn out that there is a better injection point, but the premise is sound.

I'm not saying that a complete pristine vanilla install is definitely possible, just that I see nothing in the overall system design that prevents us from using any part of it.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] DetoxVenom:
Also downloaded the new axx u1 rom like 5 times now and ever time it says corrupted when I try to unzip
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] partcyborg:
Technically, tar is an archive format not a compression format. It actually does not do any compression at all, just groups files together preserving all attributes and permissions. This is why on Unix you see .tar.gz files (or .tgz historically) which is a gzip compressed tar, or you see tar.md5.rar or tar.md5.zip files with firmware ROMs, which are zip or rar compressed tar files to make them smaller to download.

So if you're ever going to transport/move/upload one compress it as especially with firmware the filesize is a lot smaller. Also make sure you have the space if you wanna open it up locally as I've seen full system ROMs double in size from system.img.ext4

Just sayin :)
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] DetoxVenom:
So does anyone have a method to fixing the modem crash with the 2 files via FF should I compress them?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] 94tbird:
Take them out of the firmware, put them on the internal SD card, and flash them via Flashfire. no need to rezip them or anything.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] DetoxVenom:
Thank you it worked! Just flashed the 2 as firmware it updated, hopefully no more crashes

--------

NVM it just crashed after a successful flash of the modem bin and hol file, what do I do now
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] partcyborg:
Except for making people mistakenly believe that tar will compress their files, leading to questions about how to get ROMs copied over to their phone from elsewhere, as a relatively recent uncompressed system.img.ext4 is bigger than 4GB which makes it too large to be copied to their phone :rolleyes:

ANYWAY MOVING ON..........

In terms of efs, the only file I have found in there that has a direct reference to battery stuff is /efs/Battery/batt_capacity_max which will set the value of /sys/class/power_supply/battery/batt_capacity_max of which there is much debate as to whether or not increasing this has any effect on your charge rate. Regardless, you can only increase it to be a Max of 1000 which appears to be hard coded in the kernel.

Given that 1k is only 6% more than my default value, I do not feel qualified to an opinion either way, however I did note that doing the following:

1) With all default settings, charge phone to full 80% so it's not charging anymore.

2) leaving phone plugged in, change value in /sys

3) unplug phone and immediately plug back in

Would result in the percentage dropping to 72% (despite the value of the /sys only increasing by 6%) and it would begin drawing a charge again until it hit 80% again.

I verified it was charging by looking directly at the kernel logs which clearly states the phone is in the state of "status=Discharging, charging=True". This state appears to reflect the IMO hacky things done to the kernel/device in order to achieve the 80% charge limit

---------- Post added 19th September 2017 at 12:15 AM ---------- Previous post was 18th September 2017 at 11:47 PM ----------

Woah really I'm sorry I missed that! Can you post a link to it or PM me one?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] IJoxer:
Tar IS a compressed archive, one of several formats used for compression, but it's irrelevant as I fail to see your logic/argument? Same for the reference to the system.img, which was never discussed, but again irrelevant as I fail to see the logic/argument? However, system.img can be copied to the device on internal storage, just not sd cards due to the fat/32 4gb file size limitations . My point was you were creating another useless post to argue semantics, when anyone attempting advanced procedures, such as this, should know what I meant.

MOVING ON...

Well then, thanks for explaining, I did a little digging but haven't quite looked at the files yet. I have mapped battery related files into a separate folder for research when I get home though, and found a few more than what you listed.

Here they are:

Batt_capacity_max [efs/Battery]

HwParamBattQR [efs/FactoryApp]

batt_cable_count [efs/FactoryApp]

batt_discharge_level [efs/FactoryApp]

batt_temp_charge [efs/FactoryApp]

Not sure if that'll help anyone, but at least the information is available.

---------- Post added at 12:27 AM ---------- Previous post was at 12:20 AM ----------

I'll have to eat my words here, they've upgraded the beta to 14.0. The previous beta build was said to exclude the flashing of boot.img, but apparently there were too many issues/bricks, so they have updated it. It now clearly points out that certain oems (cough cough Samsung) makes it difficult to modify boot.img.

Back to the drawing board...:(
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] TheMadScientist:
Lets keep it on track guys!!!!!!
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] arrogant437:
off topic, Sorry

can someone please tell where i can pull an ota from. Im getting ready to reflash everything(just because) and i want have the latest modem/csc to use in part 2. i just returned to stock (QG1, only ATT Stock firmware i could find) and downloaded the ota. i used adb pull /cache but get 0 Files pulled/ on my old samsung phones thats where the otas would be dwnloaded to. Any help would be appreciated. Updato shows nothing for my device. Starting to hate I left Sprint

Edit: Tried sm-g955u1 search in updato and found qh3 firmware. Product code shows ATT so Ill give it a try. Would still like to know what directory the OTAs are downloaded to
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] hazmad:
ota downloads to /data/fota
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] jhofseth:
PIE security bypass (2 binary), arm64 kexec, kdump, vmcore-dmesg

Download easypie.zip to Download folder (probably default). Unzip into Download folder.

pie_bypass_kexec_kdump_vmcore-dmesg.tar || easypie.sh || instructions.txt

In Android terminal:

su

cd /sdcard/Download

mount -o rw,remount -t ext4 /system

cp easypie.sh /system/xbin

chmod 755 /system/xbin/easypie.sh

easypie.sh

After install finishes successfully, type in same terminal:

rm -f /system/xbin/easypie.sh

mount -f -o ro,remount -t ext4 /system

Now, what we need is to find & load a kexec enabling kernel module or something similar to allow the above to swap our kernel. The point is, you now are closer to our shared goal. :)
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] elliwigy:
u guys are barkimg up the wrong tree.. the boot.img writes the files to the efs partition upon boot... from what i gathered it reads other files in /sys and writes to the /efs .. i also tried changing values on /efs and no luck.. keep in mind id stay away from doing anything with /efs as you could really screw your phone up..

instead maybe you guys should take a look at healthd in /sbin:
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] elliwigy:
u cant touch ota without root.. if someone gets an ota downloaded while rooted and can pull it let me know lol
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Raz12:
Idk boys. My phone keeps charging higher than 80 now. It seems the more I use to it the better??
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] 94tbird:
and exactly how did you achieve this?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Raz12:
God, you're asking me. I'm just keeping it on the charger beyond 80% it seems. Like it's on 82% right now and I had it on the charger for a while now. It stays at 80% for a while then slowly moves up. I only use L speed and put everything on max. 85% is the highest I got to so far. I haven't had to flash my phone for about 2 weeks now. So I'm thinking that might be the case ? unless I did something that made it change.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] DetoxVenom:
Yeah mine has been going to 86 and occasionally breaching 90, also I flashed modem and hos anyone have any suggestions I'm still getting modem crash, not as much but still
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] 94tbird:
Ive had mine on the charger for 10+ hours overnight and it never goes past 80%
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] whitetrash529:
OK, I know this is one of "those" questions and, yes I did search and yes I did see some responses but, I couldn't tell if they were sarcasm or not SO...

Will this work on AT&T?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] Raz12:
Yes AT&T Galaxy S8 Plus
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] hazmad:
This works on all S8+ manufactured for the US. It'll most likely be model SM-G955U. If your bought if from your carrier, they're all basically the same, no matter which carrier. So yes, this works on AT&T, Verizon, Sprint, T-Mobile, etc. as long as it matches the model in the op. This is model dependant, not carrier.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] whitetrash529:
Thanks, everyone. Like I said, I did search and saw some smarta$$ answers because of people asking "dumb" questions so I wasn't sure of the truth
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] arrogant437:
Yep...im with ATT....ive used it at least 4x now with different system images and the unofficial xposed. Currently on qh3 unlocked firmware . I havent tried xposed this go round yet but ive noticed it (xposed) seems to work better when you flash it with part 2 of the OP.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] DetoxVenom:
I flashed the modem and hlos files from the latest Sprint firmware and now I'm still getting crashes. What now?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] elliwigy:
check the model number for crying out loud.. att is a G955U model, thats the veruy first model listed right in the title.....

so THAT MEANS ITS SUPPORTED if your model isnt in the title, then I would ask

you get sarcastic responses bcuz its blatently obvious it is supported just by reading the thread title which u say uve read but still ask lol not trying to be rude but it couldnt b more clear your device is supported...
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] TT_Vert:
For those who have issues w/ tasker and the hotspot toggle here is a fix!

Since the Tasker dev isn't willing to resolve this issue I spoke w/ the person who wrote the 7.1.1 plugin to fix this issue. He stated he has another for Android 5.0+ as well which worked a treat. You must be rooted but this allows you to use tasker to toggle hotspot on android 7.0.

https://xdaforums.com/android/apps-games/app-toggle-wi-fi-hotspot-5-0-xda-t2981805

Dave
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] jokono421:
You must of flashed a bad zip, or messed up something deleteing apps. Root does not cause any crashes, it works fine. I suggest go through step 1 and 2 again in phone. then dont do multiple tweaks and changes too phone at same time. Every time you delete a system app, engage a root app, or flash a zip.Wait 5 mins in between each customization. Maybe a reboot and a power off power on. Eventually you will find what you keep doing to your phone to crash. Also if you got unofficial xposed beware some xposed apps will crash your phone by just enabling them.srry white trash did not mean to add you in paragraph.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] hazmad:
You've probably got double system app(s)/file(s) somewhere. Was wipe at the top of your Flashfire list, when you did part 2? Do you have any duplicates in your Titanium (or similar) app list?

You could dig through your logs to find the culprit, but it might be worth (or easier) just starting over with a fresh install.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] DetoxVenom:
All I did was flash modem and hlos, after step 2 not during. And when I did flash them I didn't use wipe, should I have? My only crash is modem crash
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] hazmad:
Yup, should've wiped. that'd be the cause of your issues.

So you ended up installing a stock system on top of an eng system. If you redo part 2 verbatim, that should fix your system issues.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] DetoxVenom:
Instead of there system xt4 can I use the latest Sprint firmware and still have root?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] whitetrash529:
Dude, I get it. I'm an IT Engineer. I am expert at reading directions and fine print. However, I saw enough of the questionable responses to cause doubt . Also, the search function on this forum is not the most intuitive or desirable. I'd rather be safe than sorry and waste hours of my time in the process.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] hazmad:
That an option too, albeit a little more difficult.

extract your system.img.ext4 file from AP firmware, copy to phone. if you don't have it, it's probably on androidfilehost somewhere. then use FF with wipe first, then system.img.ext4 (as firmware), then SU (as zip) check system rw, same thing for Busybox (optional).

after that you might have to odin your stock cp & csc, if it got reset during the process.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] mdiaz33685:
The problem is every few pages someone asks the same questions, with Sprint, att and the answer that was given about the other phone models.

So it's been answered so much..

Please don't bring up u r an IT engineer and u r am expert in reading directions and fine print,

Cause then we all assume u didn't read, haha :p cause u asked the question which is on the OP in big red letters.

Yes the search sucks, I can truly agree.. :good:

Get the latest firmware for ur model to do step 2, turn on airplane mode for flash fire.

Cause those questions have been asked thousands of times and everyone read and searched.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] DetoxVenom:
So

1.wipe

2.system xt4 from newest Sprint firm

3.systemroot.zip

4.modem.bin

5.hlos

6.profit?

This should bring me to newest firmware, fix the modem crash, and keep root? ?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] hazmad:
I don't think you need the modem or hlos, but yeah it should be good either way.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] IJoxer:
You might not need to, but it is recommended, also be sure to wipe cache in recovery afterwards. If you choose to skip flashing hlos and modem, and get upload errors regarding a crashed modem, the solution will be to flash the hlos and modem.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] DetoxVenom:
Thanks so much guys I'll let you know how it works
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] flashsugar:
I tried to flash a updated version of the firmware with flashfire and i got stuck into a bootloop. Odin does not appear to recognize my phone when i put it into download mode. Any suggestions on what to do?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] elliwigy:
i understand, wasnt trying to offend you but u have to understand its frustrating to see the same questions asked repeatedly haha, all good..

i tried to make the op as clear as possible so if u see your model in the title it 100% works for your model
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] GSM CHEN:
boot.img

annoying!!!

abl.elf

annoying!!!
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] lifeofmessiah:
What does this do? I've scoured this thread and it appears just random lol sorry.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] DetoxVenom:
What did you flash and what order?
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] whitetrash529:
Understood :)

Thanks. No offense taken. I try to be very understanding of these things.
[Samsung Galaxy S8+ ROMs, Kernels, Recoveries, & Ot] eelsid:
Wow thanks man this completely fixed my sdcard issue! I went from unmounts every few minutes to none the last two days! I had tried different cards, both FAT32 and exFAT, even putting tape on the card (pointless). Finally I can use my sdcard for photos again. I would recommend anyone using an sdcard should use SD Card Monitor from the Play Store and see if you're having the same issue on the original combo boot.img.