yashsingh1/xdaforums huggingface dataset:
[Verizon HTC One (M8)] jcase:
WeakSauce and Firewater have been patched on the latest HTC builds, the current solution is SunShine http://xdaforums.com/showthread.php?t=2792487

WeakSauce is an exploit for some HTC devices. It will not work on all HTC devices, if it crashes or doesn't make su available, then it isn't compatible at this time, and I have no interest in adding compatibilitiy. At the time of release, I confirmed that it was compatible with the HTC One m7 & m7 on Verizon. Those are the only two officially supported devices. Yes it will work on other phones, and is worth a try. It will also crash on many, and some it will appear to work and won't. I am not fixing this at this time.

Since this app is just so easy to use, and I am tired of off topic posts, I am closing the thread. If you can not figure out how to use it, ask elsewhere.

This app may not be redistributed, integerated in a toolkil or script, or sold in any way.

It gains root, mounts a new xbin containing busybox, and su. While it is designed for the Verizon HTC One m7 and m8, it will work on other HTC devices as well. It is a crapshoot depending on both model, and sometimes on firmware version. This exploit will re-root your device each boot. You only have write access to /system/xbin with this exploit.

Donations for this project can be sent to -> HTCWeakSauce@gmail.com

Credits:

vuln - jcase

exploit - jcase & beaups

icon - mattlgroff

Dr_Drache - lots of testing

Installation:

Install the WeakSauce app, run it hit agree.

Then install SuperSu from the market https://play.google.com/store/apps/details?id=eu.chainfire.supersu

On boot (well about 30 seconds after full boot), WeakSauce will re-root your device.

Unroot:

Uninstall app, uninstall SuperSu do a hard reboot (adb reboot)

Update:

Uninstall app, Uninstall SuperSu, do a hard reboot (adb reboot), reinstall app, re-root, reinstall SuperSu app.

Trouble shooting:

Uninstall WeakSauce

Uninstall SuperSu app

do a hard reboot (adb reboot)

reinstall WeakSauce

re run WeakSauce

reinstall SuperSu app

then ask for help on XDA (This means don't email me for help on this topic).

ChangeLog

1.0.1

Fixed supersu updating

Updated supersu su binary

Fixed replacing xbin at boot

Added more compatibility for older models

S-Off:

Gain root with weaksauce

use firewater (http://firewater-soff.com/)

uninstall weaksauce

flash custom recovery

flash supersu or superuser
[Verizon HTC One (M8)] Frankie1588:
Worked great!

Will be sending a donation your way soon!
[Verizon HTC One (M8)] whskytango:
Worked like a charm! I will send a donation to the email above after I post this :)

---------- Post added at 02:10 PM ---------- Previous post was at 02:09 PM ----------
[Verizon HTC One (M8)] nintendolinky:
Getting force closes on my M8, however its the international model. I don't want to unlock the bootloader until we possibly have S-Off so shame this doesn't work.
[Verizon HTC One (M8)] papi92:
$150 sent. Support your developers. Don't be a leecher.
[Verizon HTC One (M8)] mchief298:
You have the international model but are using Verizon forums for root? Oo Don't the other methods work for you?

Installed, and rooted. :)
[Verizon HTC One (M8)] oneandroidnut:
so this is only temp root and unroots on a reboot?
[Verizon HTC One (M8)] papi92:
The phone is write protected. So all changes on reboot are reverted. We need S-OFF for full root.
[Verizon HTC One (M8)] krazie1:
No it has to initialize the root every boot, it takes 1 min after boot up for the root to start up
[Verizon HTC One (M8)] ocman40:
it re roots on boot. Read up
[Verizon HTC One (M8)] 123421342:
Thanks for being amazing guys that was really fast!
[Verizon HTC One (M8)] CB620:
BAM!
[Verizon HTC One (M8)] jcase:
I only posted it in the verizon forum for a reason, I dont generally post roots for unlockable phones.
[Verizon HTC One (M8)] Frankie1588:
Anyone have any luck installing/using Xposed? Can't get it to work for some reason.
[Verizon HTC One (M8)] sean67854:
Can anyone verify this root method allows you to get around the entitlement check to use hospot on an unlimited plan?
[Verizon HTC One (M8)] jcase:
Read xposed OP read my op
[Verizon HTC One (M8)] owenbeals:
[YOUTUBE]5AYTcJgmflI[/YOUTUBE]

My quick video guide for those who prefer a visual aid
[Verizon HTC One (M8)] Evolutionmods:
Thanks guys! you all made me feel better about going with verizon for my M8.
[Verizon HTC One (M8)] mrbracht:
Soft reboot keeps xposed working. I was working with Jcase last night until around 4 am. This is teqkno. . Thank you very much for this again Jcase and beaups!

Sent from my HTC M8, Verizon style.
[Verizon HTC One (M8)] jparasita:
Awesome work when I get home you have a donation coming your way
[Verizon HTC One (M8)] jcase:
no, trying again today

probably not
[Verizon HTC One (M8)] TheBiles:
Can we actually write to /system with this exploit or is it mainly for temporary root access?

--

Sent from my HTC One M8
[Verizon HTC One (M8)] 123421342:
no, read the op
[Verizon HTC One (M8)] brownbuffalo:
Im super new at this, very beginner status. Would you be willing to share how you got s off? Or a tutorial that you've used?

I know there's firewater, but I'm not sure if I should use the temp root or regular method given I've rooted through weaksauce.

Thanks
[Verizon HTC One (M8)] Mike02z:
First, you cannot S-Off the M8 (yet) via any program. That comment was specific to the M7. For the M8 your only option is to use this to provide temp root access. Read the OP. When you reboot you lose root access until about 1 minute after boot. Then you will get a toast notification that "Root Activated"

As for a "How To" there are many places that provide this. Google "Firewater" but if you have a new HTC One (M8), it won't matter
[Verizon HTC One (M8)] brownbuffalo:
I actually just got the M7, and did find some tutorials, but was just curious about which method because I really am at novice level here and dont know the difference between the "normal" and "temp root" firewater options. Just trying to be safe

Thanks again, appreciate the response
[Verizon HTC One (M8)] jcase:
Use normal method
[Verizon HTC One (M8)] brownbuffalo:
Again, many thanks!
[Verizon HTC One (M8)] jparasita:
Hey [MENTION=2376614]jcase[/MENTION] not for nothing check out swappa if you did not already get one

http://swappa.com/buy/htc-one-m8-verizon/us
[Verizon HTC One (M8)] jcase:
Thanks but not in a position to ship one
[Verizon HTC One (M8)] David 617:
Figured I'd leave this here for jcase or anyone who is interested.

Kernel mod to disable system write protection.

http://xdaforums.com/showthread.php?t=2701816

It is not for the Verizon version, but it may be useful to the devs here.
[Verizon HTC One (M8)] jcase:
Doesn't disable EMMC write protection
[Verizon HTC One (M8)] David 617:
Hmm...

Someone over here http://xdaforums.com/showthread.php?t=2701871 had the idea to use symlinks to gain access to the system. Would that work? (I'd try it, but my m8 is still in the mail.)
[Verizon HTC One (M8)] jcase:
No this is EMMC write protection, and that looks like a lot if unneeded non sense
[Verizon HTC One (M8)] rudyo78427:
Got this working on my M8! much appreciated! :D
[Verizon HTC One (M8)] WorldOfJohnboy:
Got my "perminant" temp root and will donate once I can sell my M7's, thanks.

I have root and verified with Titanium, but SuperSU would not update binaries... is that normal?
[Verizon HTC One (M8)] jcase:
I'll throw up another update or you can manually replace the binary in xbin
[Verizon HTC One (M8)] EVOme:
If we weren't having any issues with 1.0, is there any need to update to 1.0.1? My 1.0 SU is is working fine.
[Verizon HTC One (M8)] drumst1x:
Already answered by jcase... please read the thread before asking questions like this, as it will just frustrate jcase, the mods, and everyone trying to read through the thread to keep up to date ... :)

jcase -- thanks for sharing this exploit with us. I join everyone else in hoping we can use this to find a way to get s-off. That will leave me with the only issue I have with this phone being the non-removable/replaceable battery :)
[Verizon HTC One (M8)] EVOme:
Thanks.....blah blah blah!
[Verizon HTC One (M8)] David 617:
but if i wanted to mod one or two of the system apks would sym-linking them work?

or b/c the originals are still there the sym-link will be ignored?

thanks for all your hard work here!
[Verizon HTC One (M8)] JWhetstone02:
I'll try this when I get home. My m8 hasn't been activated yet (won't be until /system write access or s-off is achieved) so I dont mind trying.

I read in that thread that it could be compatible with the vzw variant, so I'll try it. What's the worst that could happen :)

-HTC Droid DNA-
[Verizon HTC One (M8)] David 617:
thank you.

i'm looking into modding the tethering app, if there is a way to trick the system to use our apk, instead of the system one (even if system write protection is still on) then we can at least start working on 'fixing' the phone ;)
[Verizon HTC One (M8)] uberalbo:
How is that the Xposed framework can allow access to external storage (via the HandleExternalStorage module) despite lack of full root?
[Verizon HTC One (M8)] jcase:
Good luck writing the Symlink to system in the first place
[Verizon HTC One (M8)] David 617:
damn... i'm shooting in the dark here lol...

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

xposed modifies the live operating system. nothing xposed does writes to disk, (which is why it is so powerful in modding running programs)
[Verizon HTC One (M8)] drumst1x:
The symlink would need to be in /system, and it would point to something in /xbin or whatever it's called (that area we DO have write access to)..... and of course, since we can't write to /system, we can't create the symlink :)

Good idea though ... keep the think tank a-runnin'!
[Verizon HTC One (M8)] mentallo:
Like a few others, I also cant get SuperSU to update. I have done everything thats written here including disabling "Fastboot". It does ask me for permission to give apps root though, just the updating of the binary is not working.

I also can't get xposed to install correctly. I'm really confused why this is not working correctly.
[Verizon HTC One (M8)] kwkw480:
Mr. Case,

I understand that you beaups do not yet have devices. Is there anything that we (the community) can do to make that happen for you both. I'm willing to donate or possibly loan my device as I am sure many others are.
[Verizon HTC One (M8)] jcase:
Were good, its just finding time to buy one. Beaups has a loaner and we have funds to buy two. I just landed in Atlanta and will see what I can find
[Verizon HTC One (M8)] Tigerstown:
To bad not Detroit every vzw store I go to has tons.. hope you grab one in the ATL.
[Verizon HTC One (M8)] mchief298:
Best of luck. :) love the work you do

M8, nuff said.
[Verizon HTC One (M8)] jcase:
I'm going to mail order a GSM one, which is what I prefer and should be suitable
[Verizon HTC One (M8)] taspankya:
Will the GSM be able to emulate the Verizon blocks?
[Verizon HTC One (M8)] jcase:
It will be fine for my purposes
[Verizon HTC One (M8)] kwkw480:
ignore this.
[Verizon HTC One (M8)] prdog1:
HaHaa. Rezound was fun. Did both mine with a bread tie while holding my nuts. Got easier the more you did. I actually wrote a tut for that one. :p:laugh:
[Verizon HTC One (M8)] mike2246:
Bluetooth

does anyone else have Bluetooth issues after WeakSauce? I stream Spotify to my car constantly and after WeakSauce it hiccups/skips ever 3-5sec. uninstalled and problem went away.
[Verizon HTC One (M8)] jcase:
As my old southern mother would say, "Bless his heart" (Imagine 70yr old southern grandmother in passive aggressive mode trying not to be insulting, read it in that voice).

I just dropped an exploit that is easily valued at 5-10k USD on the open market. I would have asked a minimum of 10kusd from a customer. Feel free to reference any published material on this subject, I'm actually quoting low according to others. I got nothing free, I lost out at the benefit of the community.

This is no "half root", this is an beautiful and smooth exploit. Heck it runs from an app. No such thing as "half root", or "temp root". Root is root user, root is root.

The way a Verizon HTC device is locked compared to a GSM (AT&T in this case) device is, well 100% identical. They both store the SECU_FLAG (And unlock) on the same partition, both run on nearly identical hardware, both employ the same methods of protecting sensitive partitions.

Long story short, you lack the knowledge in this area to comment accurately on the subject, and you should not have. Your comments came out blatantly rude and aggressive. Everything you said was wrong, you effectively called me a thief.

Bless your heart.
[Verizon HTC One (M8)] holla420:
[MENTION=2376614]jcase[/MENTION] where in Atlanta? I'm on the north side of Atlanta
[Verizon HTC One (M8)] orangekid:
Thread cleaned.

This is a development thread.

Please keep all discussion related to weaksauce.

We have a general forum if you want to discuss other things.

Also, keep the discussions respectful please.

On a side now, we all need to be aware of the insinuations we make, and blasting developers who are responsible for us to even be able to mod our phones is not the way to get them to continue helping the community. Something to think about.

I will be monitoring this thread, let's keep it on the rails please.
[Verizon HTC One (M8)] jcase:
If you don't have a clue of what you actually speak off, read instead of commenting.

If you disagree with my policies, or my work, I eagerly await the release of your own original exploits, and welcome you. Not many of us who actively, consistently produce this kind of work for public use.
[Verizon HTC One (M8)] jcase:
I'm in Cumming right now, my father isnt doing to well and I'm trying to convince him to move near us in WA. Just got here, horrible flights, delays delays delays.
[Verizon HTC One (M8)] Tigerstown:
I'm greatful to have weaksauce! We could be sitting here totally stock.
[Verizon HTC One (M8)] holla420:
Damn man sorry to here about Ur dad. Hope everything works out fine for Ur family. Welcome to the home of the strip clubs. Hartsfield airport is mad busy
[Verizon HTC One (M8)] mike2246:
If it's "smooth" why does Bluetooth not work correctly anymore? or am I the only one with this issue? has anyone else tried streaming Bluetooth after root?
[Verizon HTC One (M8)] Mike02z:
Hope everything works out for your dad.

I was in Atlanta twice....Is the Cheetah club still around? They had another name for it so it looked good on an expense report. Club Eluvia or something? WOW, Will never forget HOTLanta!

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

No issues here and I have streamed BT audio in my car for at least 10 hours since root.
[Verizon HTC One (M8)] jcase:
Feel free to write your own exploit in the future, or post a detailed analysis of "why it is not smooth" and how it impacts your bluetooth (please don't just say it impacts your bluetooth). White a whitepaper format is acceptable, I would preferr a XKCD style comic. Especially if you can toss in some jokes that make me laugh.

It has nothing to do with bluetooth, outside of toggling it to trigger uevent_helper in a timely manner. I can gladly move that to wifi, or screen toggle, or remove it entirely and just delay the speed of the exploit. It really don't matter to me.
[Verizon HTC One (M8)] mike2246:
I'll try and Re-Root tomorrow, I've been Streaming perfect for 4 days before Root,

With Root it Hiccups and stops ever 3-5sec of playing. Uninstalled WeakSauce and Streaming (spotify/pandora) returned to normal. not sure what else to really try. nothing else changed on phone/car.
[Verizon HTC One (M8)] dr_drache:
Just want to throw my hat in the pool, I stream google music, and don't notice this hiccup. have you tried a reboot? (I know, silly.. but...)
[Verizon HTC One (M8)] mike2246:
yea, tried rebooting and still had same issue. other root features worked great (titanium) still trying to figure out correct settings for Wifi Tether.

I'll try Google Music tomorrow and check also.
[Verizon HTC One (M8)] fernando sor:
Dude spend the time with your father. This can wait.

Man my dad is 75. If he was sick I wouldn't be worried about unlocking my phone.
[Verizon HTC One (M8)] Captain_Throwback:
I'm on the Sprint variant, which doesn't need/use this exploit, and I have similar BT issues. It has nothing to do with this exploit/thread. For me, it happens inconsistently/randomly and cannot be attributed to anything specific.
[Verizon HTC One (M8)] David 617:
Hardware issue perhaps?
[Verizon HTC One (M8)] hgoldner:
No issues streaming BT here post root via WeakSauce. This is my 2d M8 (first one had serious cosmetic flaw). BT worked fine post-root.

My name's Harold and I'm a flashaholic....
[Verizon HTC One (M8)] mentallo:
I did a factory reset. Reinstalled weaksauce. Reinstalled supersu. SuperSu still fails at installing the binary.

I don't know what to do anymore.
[Verizon HTC One (M8)] nicholi2789:
I'm having some weird issues here. If I follow the instructions, uninstall Weaksauce, Uninstall SuperSU, then do an adb reboot (two just to be sure), then re-install, everything seems to work fine for a while. Then after a bit SuperSU will stop prompting superuser access when it's supposed to. Whatever app I'm using will just freeze or keep loading forever when I should be getting a SU request. It's odd. Then if I do the whole deal all over again, it will work fine for a while then stop again.

In the midst of doing one of these, I opened superuser, and for the first time I got the update binaries prompt. I hit OK, and the phone just shut itself off immediately and went to this screen (see screenshot) What do you guys think of that? Anyone else got this? Holding volume up and power for about 10 seconds got it to reboot and everything seems to be fine. Reminds me of the dreaded triangle of death on Sammy devices.
[Verizon HTC One (M8)] starcms:
I have same/similar issue. After a period of time, the prompt for superuser access from SuperSU stops appearing in apps. Also, it appears that apps which have previously been granted superuser access stop being given superuser access (for instance Titanium Backup will no longer be able to freeze apps) however all currently loaded xposed modules stay active and working.

A hard reboot fixes the problem, followed by a soft reboot to reenable my xposed modules.

Lastly, about 1 in 5 soft reboots freeze with a blank screen on boot up. Holding power and volume up forces a hard reboot and everything's good.

No complaints, just my observations over the past few days.
[Verizon HTC One (M8)] jcase:
Issue with how SuperSu updates, and the non-standard way su works with this. Aware, and easy fix. Will fix when time allows this week.

Or manually swap the old binary in xbin with new one
[Verizon HTC One (M8)] NoFanboy:
Dumb question - how can you see what version of weaksauce you're running?
[Verizon HTC One (M8)] Masa6GCS:
Just go to setting-appmanager find weak sauce and under app info it will say the version you have installed.
[Verizon HTC One (M8)] mentallo:
Jcase, I also want to let you know that supersu updating has never worked me, not on 1.0 nor the update
[Verizon HTC One (M8)] jcase:
Manually replace su binary, this may require changes from chain fire
[Verizon HTC One (M8)] Turgur:
Now that we can freeze apps with this, does anyone know a list of all the bloat that is safe to freeze? Thanks
[Verizon HTC One (M8)] runandhide05:
Correct me if I'm wrong but would simply downloading the supersu flashable zip from chain fire extracting the su binary and copy it to /xbin take care of people's (unable to update su) issues since xbin is writeable

Or even repackaging your weaksauce app with the new su binary, provided the end user resigns the all, and uninstalls the current all ( cause sigs would be mismatched)
[Verizon HTC One (M8)] Mike02z:
PM sent as this is off-topic.
[Verizon HTC One (M8)] dadams312:
Thanks, worked great!

Anyone give me an idea why I can delete all the Verizon bloatware, but it's all there again after I reboot my m8?
[Verizon HTC One (M8)] prdog1:
Because it was never really deleted. It was there you just couldn't see it. Can't write to system. Jcase gave a command that will disable them but will have to look back in the thread. :cool:

pm disable <package name> Don't quote me but I think it is close enough for a search. :laugh::cool:
[Verizon HTC One (M8)] dadams312:
Thanks, I will go back through the thread and see if I can find out how to do this.
[Verizon HTC One (M8)] Mike02z:
Just use Titanium to freeze the apps. That sticks after reboot.
[Verizon HTC One (M8)] Rydah:
any possibility to get compatibility with the sprint m8? i am aware i can unlock my bootloader and flash root, but unlocking deletes a certain data file i need to copy over prior to unlocking. Currently, i am getting force closes. Hope this logcat works: https://www.dropbox.com/s/vcrcbly6lgb8jfz/weaksause_sprintm8_logcat.rtf
[Verizon HTC One (M8)] bakemcbride21:
For those having issues...my first M8 was a complete turd. No matter what I did I would get 5-10 random reboots a day. I don't Bluetooth stream stuff...but given my initial lemon I wouldn't be surprised if others have issues manifesting themselves in different manners.

If it's intolerable...factory reset and add nothing and stream over Bluetooth..If it still stutters...get a warranty replacement.

Just got mine and it is infinitely more awesome than the first one i got
[Verizon HTC One (M8)] ironbesterer:
This was very easy! I can't believe there is already a root for my new baby!
[Verizon HTC One (M8)] prdog1:
Well Kernel source is released. All you need now is s-off and unlock. :p:laugh::cool:
[Verizon HTC One (M8)] dadams312:
That is what I ended up doing.
[Verizon HTC One (M8)] vroad:
This root exploit seems to be using a method that is not compatible with HTL22.

Still no root exploit that works on my HTL22?

I have S-OFFed my HTL22 before returning it to repair camera, but they replaced main board with new one. Why?

Now my phone has been updated to 2.21.970.2 without root capability.
[Verizon HTC One (M8)] Mike02z:
The HTL22 is not a Verizon M8. Not sure you'll get much help in this forum. This forum is exclusively for the Verizon M8. You might have better luck asking your question in the HTL22 Q and A section. (if there is one). Looks like the HTL22 is a Japan based phone and not anything like the M8 from what I read.
[Verizon HTC One (M8)] jcase:
Just replace su and daemons u

Repacking will not work without my patching
[Verizon HTC One (M8)] vroad:
HTC J One(HTL22) is M7 variant, I think. Its code name is M7_WLJ.

I just got ForceClose when I run WeakSauce on J One.

Although its latest version is still Android 4.2.2, J One 's firmware seems have fixed all vulnerabilities that are used to root the device.

Somebody already asked about this in forum but only possible way is pay a guy in auction to S-OFF J One.

He maybe using some hardware method to S-OFF.

So, you mean this only works on Verizon variant of M7?

If so I'll give up...
[Verizon HTC One (M8)] NotATreoFan:
It was written for the Verizon variant because all other carriers permit unlocking from HTCDev. If it happens to work on another version, it's a side effect.
[Verizon HTC One (M8)] steelersmb:
Is there a fix yet for SuperSu not being able to install the binaries? It was working fine on version 1 but when I upgraded it won't install them now. I saw the option to copy files but I am not sure where to copy them to on the phone.
[Verizon HTC One (M8)] prdog1:
system/xbin