yashsingh1/xdaforums huggingface dataset:
[Verizon HTC One (M8)] jcase:
Manually installing them, I suspect SuperSu just can not handle automatic update using this method. I will update the apk in the future, but really if this root is continued to be used people will have to learn how to manually update su or we will have to talk chainfire into modifying his supersu app.

Read the OP.

Still not reading the OP? Why? Read the OP.

http://smallbiztrends.com/2014/04/microsoft-word-rtf-files.html

No point in using RTF files, please use text files or pastebin for logs. Not opening your RTF, suspect the answer for weaksauce support is no.

Read the OP.
[Verizon HTC One (M8)] -4ndr01d-:
now that we have kernel source code, and someone compiles a kernel with the /system write fix ... using weaksause as our gaining root source. can we use an app like flashimg giu or flashify to flash the new kernel? ...assuming all the modules do not need to be written to the /system partition?
[Verizon HTC One (M8)] steelersmb:
Okay, not to seem stupid but here is what I did. I downloaded the latest SuperSU 1.94 and extracted the zip file. I do not see a deamons u file anywhere. I also see two su files, one in the arm folder and one in the x86 folder. Which one do I copy into the system/xbin directory? I can't get this to work at all.
[Verizon HTC One (M8)] jcase:
adb push su > /data/local/tmp/

adb shell

su

cat /data/local/tmp/su > /system/xbin/su

cat /data/local/tmp/su > /system/xbin/daemonsu

chmod 06755 /system/xbin/daemonsu

chmod 06755 /system/xbin/su

I'll push an update when I get back home with latest su, and possibly a self updating mechanism.
[Verizon HTC One (M8)] 123421342:
Nope bootloader is still locked
[Verizon HTC One (M8)] steelersmb:
Tried this but getting an error "text file busy". I guess I will wait for your update.

Thanks.
[Verizon HTC One (M8)] vroad:
"designed for the Verizon HTC M7 and M8" means vulnerability you used only exists in Verizon variant? I hoped this work, because OP says it will work on other HTC devies, and KDDI doesn't let users unlock bootloader through HTCDev (like Verizon).
[Verizon HTC One (M8)] jcase:
No it doesn't only exist in the Verizon devices, however I am only supporting it on the Verizon devices as it does not work on all HTC devices, and I don't plan on testing it.

If it works, it works, if it doesn't work, it isnt going to work.
[Verizon HTC One (M8)] Rydah:
Sorry sir, here is something better: http://pastebin.com/8Q8xgeAE

More so, believe this is the error:

E/dalvikvm(31183): dlopen("/system/lib/libdm-systemaccess.so") failed: dlopen failed: library "/system/lib/libdm-systemaccess.so" not found

Hoping that you could help us so we don't lose out on our proper data files.

Thanks,

Rydah
[Verizon HTC One (M8)] jcase:
Verizon only for m8 m7 it seems
[Verizon HTC One (M8)] schnob:
Deleted
[Verizon HTC One (M8)] starcms:
jcase, same problem here with the 2 commands:

cat /data/local/tmp/su > /system/xbin/su

cat /data/local/tmp/su > /system/xbin/daemonsu

any advice?

Thanks much!
[Verizon HTC One (M8)] runandhide05:
Try cp /data....
[Verizon HTC One (M8)] starcms:
Neither cat nor cp work. Both give the same "Txt file busy" error.

root@htc_m8wl:/ # cp /data/local/tmp/su > /system/xbin/su

cp /data/local/tmp/su > /system/xbin/su

tmp-mksh: can't create /system/xbin/su: Text file busy
[Verizon HTC One (M8)] jcase:
Yeah suffer until I get home on Sunday muhahahahaha
[Verizon HTC One (M8)] KnightDavid:
Promoting user apps to system apps

So in our current state, there's no way to move a user app from /data/app to /system/priv-app right? I did so with Root Explorer, but the app didn't work afterward, and was missing from /system/priv-app after a reboot. I'm guessing this isn't going to work until we have S-Off?
[Verizon HTC One (M8)] thedrizzle:
My kinda guy; that's how I would answer. Thanks for even doing this at all...I can't get over people's sense of entitlement.
[Verizon HTC One (M8)] jcase:
See OP
[Verizon HTC One (M8)] Karl:
:eek: http://xdaforums.com/htc-one-m8
[Verizon HTC One (M8)] Chuckd610:
Hello All...I just arrived from the AT&T GS3 to the Verizon M8. Big props to the dev of this exploit! Can't wait to see the Verizon M8 threads grow and grow.
[Verizon HTC One (M8)] Chuckd610:
Quick question: I edited the snd_soc_msm_2x file to increase the speaker volume. After rebooting, that file reverted back to stock settings. Is that due to S-On? I'm new to HTC and don't know some of these little differences. Thanks anyone
[Verizon HTC One (M8)] BladeRunner:
From the OP "You only have write access to /system/xbin with this exploit."
[Verizon HTC One (M8)] eighty1:
Buckhead resident here! IDK why I think its cool when ppl on XDA are in your area. I'm lame. :silly:
[Verizon HTC One (M8)] jcase:
I'm only visiting
[Verizon HTC One (M8)] lilredzmd:
Hmmm...lol..no comment
[Verizon HTC One (M8)] mrbracht:
What makes s-off difficult to achieve on the m8? Is it cause of KitKat? Random question I know. Ha

Sent from my HTC M8, Verizon style.
[Verizon HTC One (M8)] jcase:
a) off topic

b) bug fixes + new soc
[Verizon HTC One (M8)] nicholi2789:
Just check your download folder or wherever you downloaded it to. The apk file will have it in the name. Or if you go into settings>app manager and scroll all the way down to the bottom where weaksauce is and click on it, it will say the version number at the top.
[Verizon HTC One (M8)] nex86:
I only need root for Foldermount (Games on SD Card)

Is it confirmed that this works on the international unlocked M8 ?
[Verizon HTC One (M8)] mentallo:
I want to push the supersu binary to the xbin. I have never done this before. Is it correct that I get the correct file from here: http://download.chainfire.eu/396/SuperSU/UPDATE-SuperSU-v1.94.zip and then "adb push" it to the phone?

Anymore detailed help would be awesome.
[Verizon HTC One (M8)] HypostaticOnion:
Try it and see

If I've helped, please hit the thanks button
[Verizon HTC One (M8)] jcase:
read op/thread please
[Verizon HTC One (M8)] haitu:
Has any one else had their phone crash and reboot? It has happen twice. Last night I had pdanet usb tether on and it just rebooted. Could be because of anything but was wondering if it has happened to any one on weak sauce.
[Verizon HTC One (M8)] prdog1:
I would think it would more likely be Pdanet. Once rooted Weaksauce should be benign until root is required to be written to xbin again. :cool:
[Verizon HTC One (M8)] NotATreoFan:
If you're talking about the phone just rebooting without warning, that is part of HTC's write protection. Something was probably messing around with system files and that can trigger sudden reboot. I learned that when I was debloating my S-On but unlocked M7 (bought it day 1 before Dev block).
[Verizon HTC One (M8)] typeriz:
This
[Verizon HTC One (M8)] haitu:
I remember the first time it crashed. I had big tin cans adfree up and I attempted to update it in the app.
[Verizon HTC One (M8)] NotATreoFan:
That would explain it. Adfree tries to write to protected areas. The reboot don't always happen, but that is what causes them.
[Verizon HTC One (M8)] The Stig 04:
Mine has rebooted twice. Once while updating adfree which someone addressed as to why and another just random reboot while I was on the sportscenter app...can't say that weaksauce is the culprit though. I will say my phone has been acting a little weird lately but again idk if it's weaksauce, adfree, or xposed, and I really don't have the patience to uninstall one, then test for a day till I figure it out ?
[Verizon HTC One (M8)] uberalbo:
Having problems here, too. Was listening to an audiobook on the way to work (stored on the external sd card) when the phone gave me an alert saying the sd card had been ejected. Thinking it was a problem with Xposed, I did a soft reboot. Darn thing won't turn back on now (it's been over one hour since this happened).

No reaction to holding the power button down and no led when plugged in to a charging cable (though the phone was 80-90% charged at time of failure).

Any thoughts?
[Verizon HTC One (M8)] replica9000:
Are you trying to reboot it? Hold the power button and volume up for about 10 seconds.
[Verizon HTC One (M8)] uberalbo:
Well don't i feel like a monkey's uncle..that did the trick.

It would have been embarrassing to drive done to VZW during my lunch break just to find out i was doing it wrong.

SEARCH first albo...search first...
[Verizon HTC One (M8)] HypostaticOnion:
The international version can already be rooted. Unlock bootloader, then flash recovery and install an su zip.

If I've helped, please hit the thanks button
[Verizon HTC One (M8)] w4itg:
I don't see anything in the OP about xposed. At least on the OP about this root method. Am I missing something?
[Verizon HTC One (M8)] 123421342:
He said read the OP of xposed and the OP of this thread..
[Verizon HTC One (M8)] Mike02z:
Ummm....Something we should know? :D

https://twitter.com/firewaterdevs/status/452269087083614208/photo/1
[Verizon HTC One (M8)] zounduser:
Holy ****!!!!!!!!
[Verizon HTC One (M8)] jcase:
Assuming s-off becomes stable, I won't be fixing the su update issue, as it works enough for s-off purposes.
[Verizon HTC One (M8)] fronc:
Dude.... Already?!?! Yessssss!!!!!
[Verizon HTC One (M8)] fernando sor:
This thread needs a bot that posts read the op.
[Verizon HTC One (M8)] jcase:
<bot>

Read op

</bot>
[Verizon HTC One (M8)] shadeyhk:
M7 801s (Hong Kong Model)

Hi jcase,

Thanks for the hard work in bring this to the community.

Here is what I wanted to ask ...

in the instructions.txt

it mentions that It is a crapshoot depending on model,

does that mean that it will not work on this model M7 801s Android 4.2.2 (not using custom firmware)

As I just tried installing weaksauce 1.0.1

opened it, tried to agree, never got as far as the confirmation that it was rooted

it crashes out. So I didn't go on to install supersu

Would that mean I should give up trying to use this method to enable root.
[Verizon HTC One (M8)] jcase:
This would mean your device isn't compatible, and won't be unless firmware changes are made to the device.
[Verizon HTC One (M8)] Mike02z:
Do you ever sleep? :D
[Verizon HTC One (M8)] jcase:
no
[Verizon HTC One (M8)] replica9000:
You may have to put the OP in your sig....
[Verizon HTC One (M8)] AMoosa:
True, but I,like others, am looking for a root method (temp or not) that works without unlocking. I don't want a full wipe and replace recovery with twrp etc etc....
[Verizon HTC One (M8)] 3alaawi:
Unfortunately weaksauce has stopped

Hello,

The app opens and I get the notice that I can't complain if anything happens to my phone etc, and when I hit agree, the app closes and I get a notice of " Unfortunately, weaksauce has stopped".

I tried the troubleshooting of uninstalling it and then rebooting via adb reboot, but it still crashes.

I see nobody else has this issue? Any ideas?

I have an M8, on 1.54.401.5.

Also, I assumed that with this method of root there is no unlocking the bootloader so I can unroot and nobody will ever know that it was rooted, right?
[Verizon HTC One (M8)] 123421342:
There is no such thing as temp root. You have the ability to unlock your bootloader, jcase is not going to make this work on the international version because of that. You can't just have it both ways.... have root yet not modify your phone at all.
[Verizon HTC One (M8)] GetRipped:
You didn't mention it so just checking... Did you install supersu?

And to answer your question.. yes this root method is easily reversed without trace. To unroot just uninstall supersu and weaksauce. Honestly you might just want to wait for soff to release
[Verizon HTC One (M8)] 3alaawi:
Idid not. The instructions said to run weak sauce first, right?
[Verizon HTC One (M8)] prdog1:
Unless you have a US Verizon device the app will crash. :cool:
[Verizon HTC One (M8)] 3alaawi:
Aaah ok, umm I guess it'd be a good idea to make this clear in OP to avoid these questions? I understood that it'd work on my sim-free m8 from this.

And thanks.
[Verizon HTC One (M8)] prdog1:
May work on other US devices but all those using International variants have reported crashes. :cool:
[Verizon HTC One (M8)] jcase:
This is not accurate, the op is accurate. It works on far more than just Verizon, I developed it in an att phone.

Op is already accurate.

Not just us. Mostly us, depends on the specific firmware that is in the device, even between same device and carrier.
[Verizon HTC One (M8)] GetRipped:
International versions can just unlock and flash through custom recovery
[Verizon HTC One (M8)] 3alaawi:
k..
[Verizon HTC One (M8)] replica9000:
I consider it temp root because the phone is basically re-rooted after every reboot, with the help of an app or other method. Even with the ability to grant apps root access, we don't have the full capability to do things such as write/modify system files.
[Verizon HTC One (M8)] 123421342:
Okay, I see your way of thinking but in our case, root has nothing to do with writing to system AFAIK: It is a kernel and bootloader thing. Either way, I am happy to have something for us people stuck with a locked bootloader and I am really appreciative that jcase and beaups took the time to do this.
[Verizon HTC One (M8)] deeznuts:
Exactly but I think most of us are old enough to know u can't please everyone in this world. Even if S-Off was released today bug free you'd see people come out the wood work who didn't donate saying, "Well it's about time!" Sad but true.

Greatly appreciate the work here as some forget they do this for the community and maybe themselves and make the choice to share their work. They owe us nothing, we owe them everything. Some people get it backwards, never personally understood that way of thinking.
[Verizon HTC One (M8)] NotATreoFan:
But as jcase has said several times, it's not temp root. It's root. There is no such thing as temp root. And writing to /system/ is restricted by write protection in the kernel. Once we are unlocked and on custom kernel, write protection will no longer be an issue.
[Verizon HTC One (M8)] snufy:
Damn Skippy.. Would love to be able to do all the things with my phone that we all do. But family is first! Period! My mom just died 1 week ago and all I want is more time with her... This is pretty much my first post but been reading here for years and and I have respect and admiration for all that these guys do... So jcase not that u need my permission but ignore us all and take care of family!

Best of luck
[Verizon HTC One (M8)] Ndaoud360:
I remember in the Rezound days you didn't need s-off for the write protection stuff. It all worked as if you were s-off. Don't remember why it was like that for the Rezound.
[Verizon HTC One (M8)] Jason0071:
So what can be done with weak sauce root? Can apps like Viper4Android be installed and work after reboot?
[Verizon HTC One (M8)] David 617:
You can do anything that does not require writing to the system partition. Xposed works, tethering works, viper probably won't work...
[Verizon HTC One (M8)] jcase:
Root is access to root user, "temp root" is someone not knowing better making up new terms, or someone dumbing it down.
[Verizon HTC One (M8)] HypostaticOnion:
They started doing this with the m7 iirc

If I've helped, please hit the thanks button
[Verizon HTC One (M8)] replica9000:
I know what root is. I also know that "temp root" is an common yet incorrect term for Android. Maybe "temporary administrative rights" is a better term? What ever you want to call it, I've tried to explain my view on it above. Certainly not meant to sound unappreciative in anyway if it came out as such. Apologies if I've come across that way.
[Verizon HTC One (M8)] jcase:
Doesn't sound unappreciative, just drives me nuts lol. It over simplifies a subject, and leaves new people trying to school me on it weekly. I mean the only thing that sets it apart is if you can write to system or not. Which is an entirely different issue.
[Verizon HTC One (M8)] starcms:
jcase, any plans to fix the issue where a hard reboot is needed because apps stop being granted root access from SuperSU, unless S-OFF is imminent? Much appreciated.
[Verizon HTC One (M8)] drumst1x:
I think a lot of this comes from the verbification of "root" ("How to root your device", "I just rooted, awesome!"). There are all these how-to-root articles that are super dumbed down because the target audience doesn't have the knowledge of (or desire to understand) what root (su root ability) means. It sort of takes this all-encompassing "How to gain access to do whatever you want" meaning.

When people see a "root" thread here for their new phone, they're frustrated because it's not giving them what they think "root" means. Don't think you'll ever be able to get through to them, though I valiantly respect your efforts! :)

Thanks again for your hard work. Saw you're also working on a FireTV release :) You may be my newest fav. person! hehe
[Verizon HTC One (M8)] jcase:
You are right

Going to pick up a firetv now, have one ordered but dont want to wait.

Assuming it can be packaged in a releasable manner, it should be rather epic.
[Verizon HTC One (M8)] fernando sor:
How's the temp root coming fellas??

I'll just show myself out..
[Verizon HTC One (M8)] ironbesterer:
One tip when uprooting: you will need to use the adb reboot command in order for the unroot to completely go through. I tried using the power button to reboot, and it told me that my system was modified. After I used adb reboot, the messages alwent away and I was completely unrooted.
[Verizon HTC One (M8)] fernando sor:
Just uninstall the app and reboot
[Verizon HTC One (M8)] ironbesterer:
I don't think you read my post entirely. I rebooted using the power button, and it still showed modified system. I used the command adb reboot, and it was completely unrooted.

This was just a TIP. YMMV
[Verizon HTC One (M8)] fernando sor:
Gotcha. Just did not experience that issue.
[Verizon HTC One (M8)] fronc:
Probably has to do with the fast reboot setting being on. Not sure though...
[Verizon HTC One (M8)] ironbesterer:
I never thought of that. That could possibly be the problem.

Sent from my Verizon HTC One M8
[Verizon HTC One (M8)] GetRipped:
This is correct. Fastboot setting will keep root. To completely unroot uncheck the option in the power menu and reboot. This is hard vs soft reboot
[Verizon HTC One (M8)] Masa6GCS:
I had weaksauce installed and then was able to use firewater to get s-off. I then uninstalled weaksauce thinking it was unnecessary and rebooted, I had fastboot unchecked. When the phone restarted though supersu said that I did not have the binaries installed. I then uninstalled supersu and preformed an adb reboot. and tried installed weaksauce, but it fails to attain root. Does anyone know how i can get it back, the phone is unlocked now?

Edit: SO the answer was posted two posts later, couldn't be any simpler thanks, mchief298
[Verizon HTC One (M8)] jbarcus81:
Now.. how do we turn this into permanent root...
[Verizon HTC One (M8)] mchief298:
I Uninstalled weaksauce and supersu then flashed the zip from chainfire.

M8, nuff said.
[Verizon HTC One (M8)] jbarcus81:
I knew that..
[Verizon HTC One (M8)] Chuckd610:
S-Off?

A couple of pages ago, I posted a question regarding my failed attempts at increasing the speaker volume by changing values in the snd_soc_msm_2x file, but the file reverted to stock after reboot. Today I was reading about S-Off from this site: http://firewater-soff.com/.

On the instructions page under "Instructions (WeakSauce method - some m8 models and maybe others)" there is a firewater S-Off download for the VZW M8. I decided to download and install via adb. I got no errors and a message that it installed properly and that I am now S-Off. I decided to try to increase my speaker volume using the same previous failed method. This time after I rebooted, my changes stuck, and my volume was louder. Does this mean I am now S-Off? I can't get into the HBOOT (download mode) using the same method (volume down + power) as I could with the M7. I would like to see that screen to see if it says S-On or S-Off. All responses would be greatly appreciated.
[Verizon HTC One (M8)] mchief298:
Turn off fastboot in settings>power

M8, nuff said.
[Verizon HTC One (M8)] NotATreoFan:
Just reboot the phone and hold VolumeDown once the screen goes black. It will go into HBOOT automatically.
[Verizon HTC One (M8)] Chuckd610:
OMG!...OMG!...I am now S-Off!!! It also says UNLOCKED!

I guess I'll now try a custom recovery. This is great!

---------- Post added at 11:01 PM ---------- Previous post was at 10:31 PM ----------

I flashed TWRP, but it was a no-go. I did get the screen that had all the red writing on the bottom below HTC, but it ended up rebooting normally. Well I guess I can't have everything...lol...still very happy about being S-Off.
[Verizon HTC One (M8)] replica9000:
CWM works, although the text is tiny. TWRP needs some fixing.
[Verizon HTC One (M8)] Chuckd610:
I give a try...Thanks...Have you tried the same firewater I used to get S-Off?
[Verizon HTC One (M8)] replica9000:
Most likely, and then flashed SuperSu after I flashed CWM.
[Verizon HTC One (M8)] andybones:
flash CWM for now
[Verizon HTC One (M8)] Chuckd610:
CWM flashed fine, and yes, it's small as heck
[Verizon HTC One (M8)] Ndaoud360:
Be careful though. I'm not sure if CWM has the issue still but when the battery dies on its own you can't turn it back on (at least in the rezound days it did) unless you plugged it in the pc and did certain adb commands to get it to turn back on and charge.
[Verizon HTC One (M8)] replica9000:
Think that happened to me once, and adb reboot was enough.
[Verizon HTC One (M8)] Chuckd610:
I may have to get rid of CWM for now. No real benefit at this point.
[Verizon HTC One (M8)] replica9000:
Shouldn't let your battery drain completely anyways. It's bad for that battery, especially since we can't swap it out for a new one.
[Verizon HTC One (M8)] dm5530:
If you have S-OFF and wonder if you need to keep WeakSauce installed

Ran WeakSauce and firewater on my M8 last night. Now it's S-OFF.

Next I wondered if I need to keep WeakSauce installed. Uninstalled WeakSauce and rebooted; no root.

I found this thread (http://xdaforums.com/showthread.php?t=2708628) by MultiDev that answered my question. (See the last numbered entry in his OP; it's number 13 as I write this.)

Hope this helps.
[Verizon HTC One (M8)] holla420:
U have to flash supersu zip
[Verizon HTC One (M8)] dm5530:
You think so? I'm fairly certain it's a bit more than that.

In any case, getting S-OFF is wonderful news to me.
[Verizon HTC One (M8)] ickedmel:
Yeah.... After getting s-off with weak sauce just flash a custom recovery and flash supersu zip it really is that simple. Uninstall weak sauce also forgot to mention. These guys do all the work and make things pretty easy for us.
[Verizon HTC One (M8)] dm5530:
As you pointed out, we need to first flash a custom recovery.

Agree with you about the devs and others that have made this incredibly easy. :good:
[Verizon HTC One (M8)] jcase:
Just to be clear, s-off and other topics unrelated to WeakSauce are offtopic.

I will no longer be fixing minor bugs in WeakSauce, use weaksauce to gain root, firewater to s-off, uninstall weaksauce and root properly via a custom recovery.

Any major bugs, please do PM me about them
[Verizon HTC One (M8)] orangekid:
The developer has requested that there be no discussion in this thread that is not directly related Weaksauce.

This includes general questions about root, recoveries, ROMs, kernels, Johnny "Football" Manziel, apps, themes, etc.

Any such posting will be promptly cleaned.

Thanks.
[Verizon HTC One (M8)] o$$!ram:
Sorry for asking, but WeakSauce wont work on International M8!?

And it never will do it? :(

(i dont want to register my M8 at HTCdev - thats the reason why i ask)
[Verizon HTC One (M8)] andybones:
WeakSauce is not universal to HTC M8 variants.

The root method is directly for Verizon M8.

(You would need to talk to Jcase about universal)
[Verizon HTC One (M8)] :
Know that feeling. Rather not lose my warranty by registration with HTC. So will stay stock if there is never an option like this for the international version.
[Verizon HTC One (M8)] Frankie1588:
Soft reboot did the trick just like you said. Thanks so much!! :D