yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] psouza4:
Full disclosure: a lot of the performance massaging is my own work that I'm linking to.

It's been a week since the engboot went mainstream and we have some solid, stable fixes now that I'd welcome you to try.

The flashable updates I've been releasing update all of the CPU settings (and there are dozens of them) and other /sys parameters, including IPv4, CPU sleep, etc. which were captured from an unrooted system and diff'd with the engboot's values. This is the single greatest thing you can do to fix the performance, overheating, and poor battery life issues.

I've posted about this in the (enormous) Chainfire thread as I wanted to develop a 'deep debloat' script. Unfortunately, there's no workaround for this just yet that I'm aware of.

After running the latest performance fixes update patch and manually disabling some pseudo-bloat (GearVR, Ant+, and other stuff I don't personally want that's not purely bloat), my SM-G930V is getting Antutu 3D of 130K-140K without overclocking. I imagine you'll easily get similar scores.

Well that's something we already knew: the bootloader is locked. It's a bummer, but not in of itself a problem for simply wanting root and Xposed.

Xposed is a biggie here and AdAway is great for all apps and browsers. Additionally, Titanium Backup, firewall/privacy apps and Xposed modules become available as does a lot more deeper system automation like Tasker which is somewhat limited without root. That doesn't even scratch the surface of theming (not really my thing, but it's pretty important to some people).

Ultimately it's up for everyone to decide how they want to use their phone and so forth, but I thought it'd be prudent to update you and anyone else scared by the initial few days of frustration with root what the current status is now.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] psouza4:
I imagine you probably clicked on a fake download link -- use ad blocking in your browser and you won't even see them. However, all the files here are being served without ads or malware from my Amazon S3 server via my guide if anyone needs mirrors.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] paulieparker:
Thanks for your mirror. Unfortunately, the original links are being flagged by Google as hosting malware. Appreciate your quick response!
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] psouza4:
I just re-downloaded them all myself using Chrome with their virus thing enabled (I never disable it anyway). No problems here. Maybe you've got something else going on.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] Ae3NerdGod:
What's app and Instagram both come included as system apps on g930u firmware. Any chance you can add this to your debloat? And also Facebook. I don't think any of those necessitate space in /system imho
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] Venom0642:
I just tested link works fine with no issues at all.

Running On Samsung Galaxy S7 Edge G935A Wicked Dark Carnage Theme
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] psouza4:
I sure can, but I'd need the path to those files... i.e. /system/priv-app/Facebook/ or wherever they live.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] Ae3NerdGod:
/system/app/Facebook_stub/Facebook_stub.apk

/system/app/FBInstagram_stub/FBInstagram_stub.apk

/system/app/WhatsAppDownloader/WhatsAppDownloader.apk
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] psouza4:
I'll add it to my script then for the next version -- it's interesting your bloat was all in /system/app, a lot of Verizon's was in /system/priv-app too.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] highaltitude:
I've already done it, but wanted to make sure, your debloat /fix.zips can be flashed over the top of each other?
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] Ae3NerdGod:
Yea, I saw that (I peeked at your scripts). I double checked tho, they're in system/app not priv
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] najoor:
Thank you for doing all you can to make it a better experience. If I may suggest, it would be great if the basic fixes (governor, wifi password, etc) and the debloating are done via separate scripts. I say this because debloating can depend on the personal choices and use model. Just sharing my thought. Again I thank you for spending time on the script. I doubt if most people would appreciate how much time and energy goes into doing things like this.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] psouza4:
Happy to help!

Perfectly reasonable request; here you go:

S7_or_S7Edge_Fixes_V12.zip (MD5 hash 09EFF3AEAC45D69B196C38280AE4063C) (any Samsung Galaxy S7 or S7 Edge)

Includes fixes only (no bloat removal):

Adds a rotate button to the native gallery app.

Adds a shortcut call button in the call log next to each logged call.

Adjusts several CPU tunables, which fixes phone lag and battery life issues.

Disables "No SIM" popup when no SIM card is present.

Disables roaming data by default.

Disables secure storage support, which fixes WiFi passwords not saving issue.

Disables SELinux enforcing.

Enables ADB to run as root by default.

Enables CPU idling/sleeping, which fixes phone heat issues.

Enables mock GPS locations.

Enables native call recording feature in the dialer.

Enables native WiFi calling feature in the dialer.

Enables RIL power saving features.

Enables scheduled messages in the native messaging app.

Enables the camera during calls.

Enables unlimited contact merging.

Fixes various 'searching for service' and other cellular network connectivity issues (SMS/MMS not working, calls not working, etc.)

Prefers LTE network.

Raises the contact name length limit to 1,280 characters.

Raises the maximum SMS recipient limit from 10 to 90.

Removes VoLTE icon.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] psouza4:
Yep -- I make sure they're compatible with each other and forward-compatible with updates and different versions.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] madsc13n41s4:
Lastlog

[OUT] ui_print

[UI] ================================================

[OUT] ui_print

[UI]

[OUT] ui_print

[UI] [ update from psouza4, version 10, 2016-07-10 ]

[OUT] ui_print

[UI]

[OUT] ui_print

[UI] Mounting Filesystem

[OUT] ui_print

[ERR] about to run program [/sbin/mount] with 4 args

[ERR] mount: mounting /dev/block/dm-0 on /data failed: Device or resource busy

[ERR] run_program: child exited with status 255

[UI] Deleting Bloatware

[OUT] ui_print

[UI] Updating System

[OUT] ui_print

[OUT] minzip: Extracted file "/data/s7startup/startupscript.sh"

[OUT] minzip: Extracted file "/data/s7startup/updatebuildprop.sh"

[OUT] minzip: Extracted file "/data/s7startup/updateothersxml.sh"

[OUT] minzip: Extracted file "/system/app/imsservice/imsservice.apk"

[OUT] minzip: Extracted file "/system/etc/init.sec.boot.sh"

[UI] Setting Startup Script

[OUT] ui_print

[ERR] about to run program [/system/bin/chmod] with 3 args

[ERR] about to run program [/system/bin/chcon] with 3 args

[ERR] about to run program [/system/bin/chmod] with 3 args

[ERR] about to run program [/system/bin/chcon] with 3 args

[ERR] about to run program [/system/bin/chmod] with 3 args

[ERR] about to run program [/system/bin/chcon] with 3 args

[UI] Unmounting File System

[OUT] ui_print

[OUT] wipe_cache

[UI] Success!

[OUT] ui_print

[UI]

[OUT] ui_print

[UI] ================================================

[OUT] ui_print

[UI] Finished Updating System

[OUT] ui_print

[UI] ================================================

[OUT] ui_print

[UI]

[OUT] ui_print

[ERR] script result was [ ]

[UI]

[UI] Rebooting...

It seems the script work is not succeeding. I would love to look into it, but the starter in my car has gone out so I have other priorities to tackle first.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] psouza4:
Thanks, but this was fixed in V11. V12 is also out which just adds additional debloat removal.

S7_or_S7Edge_Fixes_Debloater_V12.zip (MD5 hash F7D3B166D20DB7039BAD439F6D0BE4C1) (any Samsung Galaxy S7 or S7 Edge)
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] highaltitude:
Will your fixes work on SM-G935U? Thinking about flashing that rom on my 935A
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] jsanta11:
Yea the fixes will work, I have a g935a & flashed g935u. Fixes work phone is running smoothly and cool.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] codala2012@gmail.com:
My phone is oddly too cool, I mean I was used to my phone getting even a little warm when on it whilst fast charging, and it barely does now
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] cuezaireekaa:
After using [MENTION=1599591]psouza4[/MENTION]s' script, my device is way cool too. Just like it used to be on stock. I haven't tried dead effect 2 again yet. but last time playing that game, my phone overheated within 10mins and got a warning then it just shut off. Scared me it happened so fast so I haven't tried it yet. I will again soon. Don't want to damage the device and anyway, other games like Nova and mc5 and real racing3 run just fine for me so thats good enough for now haha

But yeah, I like a :cool: phone
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] Jtate1729:
How do you run your debloater script?
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] psouza4:
There are step-by-step instructions in my guide. Enjoy!
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] Jtate1729:
Thanks, I did look but I missed it thanks.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] M2490311:
Yep...my PC got AIDS. It's been 3 days and I can't seem to kill admobs and I'm popping off Trojan horses like fleas. Didn't know if that was the cause or not.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] TehPirate_:
Just going to throw it out there but if you're getting malware then you downloaded the wrong file. Sites like DH have ads which imitate the Download link, resulting in a fake download. I JUST downloaded this myself and no problem. If the download isn't a rar, then you screwed yourself.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] psouza4:
You mean is a RAR. The RAR files are the ones that are infected. But anyway, there's already mirrors posted to everything here at a clean server, so nobody should need to download from here unless they feel secure in their flavor of Adblock.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] cspiresucks:
Wonder if this would work with cspire?
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] Ae3NerdGod:
Cspire the carrier? What's your phones model number?
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] blaz1nr:
Go download chameleon from maleware bytes then also get maleware bytes . Run chameleon then run maleware bytes itself. That should knock out most of your problems.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] weedolo9y:
Thanks for all the help guys I finally managed to get root access my phone is running slow but thats because I have not figure out how to install this v12 zip i have scrolled through 64 pages of this post twice... i think im blind! anyone point me to a post # where the instructions are please and thank you in advance.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] psouza4:
http://xdaforums.com/verizon-galaxy-s7/how-to/how-to-notes-root-install-xposed-unroot-t3411039

That's my guide where the patch comes from.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] otacon132:
Beat me to the punch by a minute! Haha

Just to chime in with my experience so far.

I've got an att g935a that I flashed with the g935u firmware and I've rooted it a few times now since the root exploit came out. My best experience so far has been using psouza4's debloat zip, specifically, following his guide.

Last night I installed xposed and everything was fine. That is, until I installed xtouchwiz and decided to use it to tweak the phone a bit. This is where I started getting a message pop up whenever I had my sim card inserted, I would get a pop up that said the phone needs to restart to add new carrier specific sim card features. I'd hit OK, it would reboot and go into recovery where it would fail to "dm-verify" - I was stuck in a bootloop in the sense that whenever the phone was restarted it would give me the same exact message as soon as the phone booted.

I had to re flash back to g935u in order get back to stock and go through the root process all over again.

Besides the dm-verify issue with the xposed module, my phone is running well, I'll have to judge battery life after a full charge - but all is well.

Oh, and Snapchat doesn't work with xposed installed - so I'm thinking of uninstalling xposed until the framework is working better.

My only questions at the moment is: Does greenify need xposed in order to work properly with root? And, how can I modify the system to not throw the "loud volume warning"?
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] jawonder:
The scripts are only for Verizon model right ?.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] psouza4:
Need it? Nah. Should use it? Absolutely, why wouldn't you? :)

Lots of Xposed modules will disable this for you. I use Wanam Xposed.

Huge facepalm: no, they're for all models. It says RIGHT IN THE GUIDE. ;)
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] Saito209:
Anyone else having problems with text messages

---------- Post added at 05:05 PM ---------- Previous post was at 05:04 PM ----------

I can send them but im not recoeving them
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] jawonder:
Haha , sorry, the link i click on sent me to Verizon forum so i thought it was all about Verizon . I did all the necessary stuff needed to to get my AT&T edge up and running from back then but was just appreciating you work . Great job in providing an easy way for people to get the best out of the device . Thank you .

On another note, is it possible to get a script to enable Samsung pay to work or there's just no way around that if you are rooted ?.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] Tikerz:
Yep, I go back and forth from rooted to non-rooted and it happens when rooted. I also lose mobile data often when switching off WiFi.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] psouza4:
Did you flash the imsservice.apk replacement (and/or my patch that does this for you)? It's supposed to fix a lot of issues, including cellular service issues with calls, data, and SMS/MMS.

Haha no problem and glad to help.

Nope -- they hook deep into the system to check stuff, it's not just a matter of hiding root from them. It's something you give up for the sweet, sweet freedom of root.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] jawonder:
Yeah i'll rather root than sanmsung pay and android is working anyway, thanks .
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] psouza4:
ATTENTION: Chainfire released a new version of 'su' for us that fixes the package manager support (this means we can have a freeze debloater for some borderline bloat that you can unfreeze if you want). If you updated using the app, you won't have the correct version, so be sure you flash the new 'su'. Links updated in my root guide.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] Tikerz:
Yes, I'm on version 11. I texted my ex-wife last night (we're in a custody battle right now) and I never received her response. She took a screenshot of her response and showed me.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] psouza4:
I'd have you check with other AT&T S7/S7Edge owners and see what their experience has been like -- I'm receiving my usual flood of Amazon tracking notifications on Verizon.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] najoor:
One of the main pre-requisites of rooting android is to not be in the middle of any sort of litigation.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] Tikerz:
I know, right? :D
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] blaz1nr:
Nvrmnd
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] cspiresucks:
SM-G930R7
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] psouza4:
According to MobosData, your phone is indeed running the Qualcomm Snapdragon so you should be okay to root using my guide (perform the root and then the recommended next steps for non-Verizon variants). I would warn you that you'll probably want to find an Odin stock image to revert back to in case you have problems or for warranty reasons and of course always backup your data before you try anything.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] TehPirate_:
The rar I downloaded wasn't infected.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] psouza4:
There are no RAR files linked in the main post. There's "ODIN .zip", "g935a.zip", and "g930a.zip". Plus the link to Chainfire's site for SuperSu v2.74 which is "SuperSU-v2.74-S7QC.zip" (and is outdated, BTW -- 2.76 for S7QC is out). If you downloaded RAR files in this thread, they are likely infected. If you downloaded TAR files (g930a.zip and g935a.zip extract .TAR files), that's another story.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] Saito209:
No i didnt flash it but it suddenly started working again
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] Skizzy034:
Can someone upload their csc folder from /System? It needs to be from a stock rooted AT&T FW.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] psouza4:
My guide to debloat (including deep debloat) now includes a flashable ZIP update. It is compatible with all rooted Galaxy S7's and S7 Edge's (any carrier). Please read any warnings or disclaimers and let me know how it goes for you.

GUIDE: DEBLOAT a Galaxy S7 or S7 Edge
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] Hgatica99:
For snapchat, uninstall xposed, log in, and then install xposed. It's been a known issue but that's how you can get it to work.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] otacon132:
Fixed, thank you.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] ezwalker63:
Do you use "Wanam Xposed" or "Wanam Xposed for Android 5.x.x" ?
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] psouza4:
Wanam Xposed for Android 5.x.x (v1.3.0 updated 12/28/15).
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] Hgatica99:
Titanium Backup it just in case you ever accidentally uninstall it or something. And if you wanna use snapprefs then uninstall, get and insall v 9.21. 1.0, and restore data from titanium Backup, only data, not the app.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] jawonder:
Can i flash this using Flashfire over the supersu i already have ?. What are the other benefits other the above ?.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] psouza4:
Yep.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] jawonder:
Flashfire is not recognizing the supersu zip.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] Hgatica99:
Someone in another thread said they just extracted the apk and installed it like normal. Ima try it and see if it works.

Yep it just installed like a normal apk.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] jawonder:
But does it do what's supposed to by just installing the apk ?, there are other files and commands in the extracted zip .
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] Hgatica99:
Not exactly sure, since it only installed the apk and not the others I assume not. I think until there's a way to flash it via Flashfire we're gonna have to flash it using adb.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] psouza4:
You have to install the image, that's the entire point as it contains the actual su binary image. Check that you didn't turn on secure boot... that will kill root functionality.
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] otacon132:
I was able to flash the the new supersu (version .76) over my existing install (version .74) via adb on the g935u firmware no problem .
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] Tikerz:
Same
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] jawonder:
Thanks, will push with adb when i get home .
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] JuggerD:
Ok absolutely noob question here, it's my first time rooting an android phone since 2009ish, and have some problems now.

So I followed the guide down to the letter on my SM-G935A AT&T S7 Edge, also watch and followed this vid: https://www.youtube.com/watch?v=GNInTlCpv8E. Everything seems ok, (had to wipe phone just like the in the video), and got the supersu to be installed.

And here is where the problem starts: when I open SuperSU it pops up that the binary needs to be updated.

It gives 2 options for the update, either normal, or twnp or something like that. the twnp option does nothing and says failed.

The normal option goes into another popup that tries to install it, but then says failed as well. and gives 2 options again: "how to update", and "reboot". Reboot does nothing. But "how to update" brings me to this website: http://supersu.com/insteadbinaryfile.html

At this point i cant find this SuperSUme, only Supersume pro for 3.99, which i tried then refunded because it said it needed king root or something like that, which I know this isnt that.

The second method, on step 2 it says rename su to .su, which i assume is the folder named su, but it wouldnt let me rename that. So that's where i'm stuck at.

I am totally lost at what went wrong, and not sure where to go from here.

Any help would be appreciated and thanks in advance for any help.

PS: Please be detailed in any help because I seriously am VERY new to this, thanks.

PSS: Oooooooooook for some reason, after multiple "re-ODIN-ing" (is that the right term?), and "re-adb-root.bat-ing", root checker now says it's rooted...
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] twotabs:
so I have root now, but I'm wondering what the point really is since everytime I try to uninstall/disable all the samsung/carrier crapware, knox steps in and blocks it. Tried to uninstall/disable knox, no luck.

note: this was all attempted in rom toolbox pro, if there's another method that will work to get rid of this crapware I'm willing to try

edit: so apparently uninstall DOES work, but you need to reboot to see it in Rom Toolbox for some reason... disregard all above, but it's irritating I can't freeze them and am forced to make permanent deletions
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] br3w3r:
Make sure you used new SuperSU script and I use titanium backup
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] Hgatica99:
Try Disable Applications[root] from the play store. I use it and haven't had a problem with it
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] noobtxtech:
Yeah pretty sure we aren't supposed to update the script if I recall correctly it was a warning in the initial instructions, for someone ocd like me it is hard to resist any kind of a update
[AT&T Samsung Galaxy S7 Guides, News, & Discussion] jawonder:
Hey bro, did you make just a fix script for wifi, kernel adjustment etc. ?. I'm only seeing the one that also debloats on you thread .

I had to Factory reset my phone this morning because i had apps crashing after installing the new supersu or it could've been because i did the adaptable storage hack last night .

I rebooted this morning and i was stuck on the AT&T logo .