yashsingh1/xdaforums huggingface dataset:
[Verizon HTC One (M8)] replica9000:
Trying this out now. GSam says I get 2d 5.4h now. We'll see what it says after a few days.

Wouldn't this be the same as setting the CPU governor to 'Performance'?
[Verizon HTC One (M8)] sparky_005:
Hey OP, thanks for the awesome mod! I've got a question though: is there any way to change the percentage at which power saver automatically comes on? Mine automatically comes on when the phone gets to 10%. I've looked through the PS options and couldn't find anything, was wondering if we can change it through terminal or sql editor
[Verizon HTC One (M8)] tantran:
With the update high performance mode is included
[Verizon HTC One (M8)] 1ManWolfePack:
The update I'm not taking. Lol.

Sent from my HTC6525LVW
[Verizon HTC One (M8)] The Stig 04:
Sure did add High performance mode.

View attachment 2694544
[Verizon HTC One (M8)] 1ManWolfePack:
That high performance mode seems similar to the Power Save "throttle CPU" option. Either way, I'm not taking the update.

Sent from my HTC6525LVW
[Verizon HTC One (M8)] The Stig 04:
To each their own I guess lol I took it and I'm still S-OFF and rooted via weaksauce. Don't have a custom recovery cause I don't want it.
[Verizon HTC One (M8)] 1ManWolfePack:
Did your baseband change? I'll take it if so. I'm sure TWRP will work soon enough.

Sent from my HTC6525LVW
[Verizon HTC One (M8)] The Stig 04:
Not sure what my baseband is supposed to be at. But that's where it's at ?

View attachment 2694550
[Verizon HTC One (M8)] 1ManWolfePack:
That's different for sure. Just compared to mine.

Sent from my HTC6525LVW
[Verizon HTC One (M8)] Dcox28:
After flashing the firmware update I'm now trying to get power saver back. When I open sql lite editor and navigate to Settings storage it says no databases found
[Verizon HTC One (M8)] schwartz.matthew.e:
Thanks for this!!!
[Verizon HTC One (M8)] intellem0s:
Awesome Tweak !!

Makes me wonder what else this SQ App can unlock with this phone..
[Verizon HTC One (M8)] K.AuthoR:
Is this the same as the Extreme Battery Saver?
[Verizon HTC One (M8)] sparky_005:
No sir, the thread for that is right here: http://xdaforums.com/showthread.php?t=2710946

Regular power saver lowers brightness, underclocks the cpu, and does a couple of other things to reduce battery usage. Extreme power saver basically puts the phone in a cripple mode, letting you only do a few things (but apparently it lasts forever)

Sent from my VZW HTC One M8
[Verizon HTC One (M8)] jessbowring:
I have this on mine
[Verizon HTC One (M8)] sparky_005:
This option appeared on my phone after the firmware update

Sent from my VZW HTC One M8
[Verizon HTC One (M8)] Rugged96:
figured it out....
[Verizon HTC One (M8)] replica9000:
Looks like with power saver on I get 2d 7.4h.
[Verizon HTC One (M8)] CtK4949:
Not sure if this was posted...

I don't think you need to do this mod. If you Edit Quick Settings and scroll down you will see one called Power Saver move it up to your default 12 tiles and click Done. You can now toggle Power Saver off/on.
[Verizon HTC One (M8)] 1ManWolfePack:
You have a One Max though, correct? *fingerprint scanner*

Sent from my HTC6525LVW
[Verizon HTC One (M8)] CtK4949:
Nope verizon m8
[Verizon HTC One (M8)] 1ManWolfePack:
Why do you have a fingerprint scan in your quick tiles? We don't have a scanner. My guess is that you've already done some tweaking. That tile was not there by default for me.

Sent from my HTC6525LVW
[Verizon HTC One (M8)] CtK4949:
Hmmm im only rooted, s-off, and twrped.

Installed tether fix, HTC browser, flashlight, and FM radio.
[Verizon HTC One (M8)] boricua95:
Tether fix is what adds those toggles. That's the only mod I have done and it adds the extra toggles.

---------- Post added at 04:47 PM ---------- Previous post was at 04:40 PM ----------

Does anybody know what number to add to get the toggle for power saver mode in quick settings?

It's 6 if anybody wants to add the toggle.
[Verizon HTC One (M8)] sean67854:
I've flashed the tether fix from here also and I don't have a fingerprint scanner tile.
[Verizon HTC One (M8)] Tigerstown:
You can also enable powersaver thru xml. This tweak was out before we had s-off so you couldn't write to system.
[Verizon HTC One (M8)] 85gallon:
I have enabled power saving and I can't notice any difference in power consumption. That mey be why it was disabled.
[Verizon HTC One (M8)] sparky_005:
It definitely makes a difference... Make sure you have some of the settings within the powersaver options ticked off.

Ex:

Sent from my VZW HTC One M8
[Verizon HTC One (M8)] Tigerstown:
I believe it Definitely makes a deference

An I think the disabled it because you can shut off data when screen is off. Of course just my opinion

I never have cpu one check as it tops out like half way. Just throwing that out there.
[Verizon HTC One (M8)] raypino:
just tried it and now it's an option. will definitely give this a go. liking the fact that data shuts off when when screen is off.

sent via carrier pigeon
[Verizon HTC One (M8)] Napoleones:
THIS!!!

https://www.youtube.com/results?search_query=How+to+enable+Power+Saver+Mode+on+VZW+M8
[Verizon HTC One (M8)] Ironkidz:
worked like a charm for me
[Verizon HTC One (M8)] jascolli:
If you don't want to spend the three bucks on sqlite editor this mod can also be done with the free apps ashell and asqlitemanager. Navigating to the correct settings is a little bit different. If anyone's interested I can post later.
[Verizon HTC One (M8)] mredamon:
Do you have to undo these changes in order to take an ota update?
[Verizon HTC One (M8)] jwortiz:
Please share if you can. I wouldn't normally use this type of application anyway, like I do with the other apps I've purchased.

Thanks!
[Verizon HTC One (M8)] Tigerstown:
On my m7 you could do a xml edit but it required a date wipe to enable. If you want to try that way I have the thread handy.
[Verizon HTC One (M8)] jascolli:
Download asqlitemanager and ashell from play store (free). Open ashell and grant SU. Check box for root then browse data>data>com.android.providers.settings>database>settings.db. it will ask you to open with asqlitemanager. Tap "secure" then tap page down until you locate the lines identified in the OP. Change the numerical values as described in the OP. Back out and save changes. Should be good to go.
[Verizon HTC One (M8)] buzzer555:
How do you get the power saver quick setting toggle?

I'd really like to have it in the notifications instead
[Verizon HTC One (M8)] NoFanboy:
Can you make it so it doesn't turn on automatically when the battery is at 15%?
[Verizon HTC One (M8)] raypino:
I would like to know how to do this as well

sent via carrier pigeon
[Verizon HTC One (M8)] hgoldner:
I haven't seen a reliable way to get the toggle. Posted suggestions have lead at best to a "nul" toggle or no change at all.

My name is Harold and I'm a flashaholic....
[Verizon HTC One (M8)] zenisnotchosen:
I was able to get the Power Saver and Extreme Power Save quick settings tiles by editing the xml file as posted in other threads. Don't have a link off-hand though, will update if I find it.

Update:

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

This is what I followed, it worked fine for me. I copied the xml file from the folder, edited it, then copied it back in recovery. You have to have Power Save and Extreme Power Save modes installed/available for it to work.
[Verizon HTC One (M8)] hgoldner:
Great! That finally worked for me, too.

My name is Harold and I'm a flashaholic....
[Verizon HTC One (M8)] duniecool:
Sweet, I cant wait to check this out. Ill have to nandroid back to sense for it tho!
[Verizon HTC One (M8)] krichmond0306:
Must being doing something wrong

I open SQL Editior, grant permission, click on SETTINGS STORAGE and theres "No databases found".................
[Verizon HTC One (M8)] y2jasper:
Hm so i just got my M8 today, i think i followed the directions correctly, because i can see the power saver option...but its grayed out so i cant enable it?

attached pictures of it. not sure i might have some problem with the weaksauce one click root though. after doing it root checker is telling me im rooted, but when i try to update su binary with supersu it keeps failing. when i restart my phone it stays unrooted til i open weaksauce again
[Verizon HTC One (M8)] Tigerstown:
Crazy. As I just check mine an there is a dtatbase found.. Maybe try an click full scan I really don't know just idea.
[Verizon HTC One (M8)] krichmond0306:
So odd, I just checked it again and there they were, not sure why the databases were missing for almost a week but they are there now.
[Verizon HTC One (M8)] camf3xu:
weird mines allready enabled. only thing ive done is use firewater, root and flash cleanrom.
[Verizon HTC One (M8)] Tigerstown:
Odd is right...least its there now for you to edit..
[Verizon HTC One (M8)] tier1dc:
5.0.1 rooted

can't find any .db files in the folder

seems SQLite didn't want to work. used SQLite Debugger instead.
[Verizon HTC One (M8)] Bullitt3309:
Just updated to MM and SQLite Editor can't find the databases. Is this something from the MM update? I was able to do this mod in Lollipop.
[Verizon HTC One (M8)] krazie1:
Can be found in OP of this thread http://xdaforums.com/verizon-htc-one-m8/general/verizon-htc-one-m8-official-marshmallow-t3331290
[Verizon HTC One (M8)] Bullitt3309:
Thanks. I will wait then since I dont want to wipe right now.
[Verizon HTC One (M8)] VelocityRaptor:
I was able to do it without a wipe.

In /system/customize/CID/default.xml find and set the following:

<item name="def_user_powersaver_enable">1</item>

<item name="def_hide_ui_user_powersaver">0</item>

In /system/customize/ACC/default.xml, find the item list and add <item>6</item> to the list:

<item type="integer-array" name="quick_setting_available_items">

<int>1</int>

<int>3</int>

<int>4</int>

<int>5</int>

<int>6</int>

<int>7</int>​

</item>

Run the following command in a terminal (I used 'adb shell'):

> settings put secure hide_ui_user_powersaver 0

Reboot when done to apply the changes. You should see a Power Saver item in 'Settings' -> 'Power' and you should be able to find a 'Saver' item when customizing your Quick Settings list.
[Verizon HTC One (M8)] mc_365:
what rom are you running and did you flash a different kernel along with a wp_mod, or some app to allow insecure adb?
[Verizon HTC One (M8)] garywojdan81:
Sounds like a terminal emulator will work
[Verizon HTC One (M8)] mc_365:
Thats not what I'm asking. I know how to enter the commands in either terminal or adb shell.

The command returns "system is read only"
[Verizon HTC One (M8)] VelocityRaptor:
What part is giving you the error - when you are trying to edit the xml files or running the 'settings' command?

For the xml files I just rebooted into recovery and mounted system from there and used adb pull/push to make the changes. My system is read-only when running normally so recovery is the only way I can make changes there. I ran the 'settings' with the phone booted normally. I just tested changing a few settings with that command and didn't have any issue with a read-only system.

To answer your questions, I'm just running the stock rooted m8vzw rom. I've gutted a bunch of the bundled system app bloat and made a bunch of other system config changes but I can't think of anything special I did that would make it run any different. I didn't install anything to make system writable and I don't have a custom kernel running.
[Verizon HTC One (M8)] mc_365:
I can edit the files just fine. I'm was getting the read only when trying to unhide powersaver in the main power settings menu. I'll try adb while in recovery.
[Verizon HTC One (M8)] mc_365:
I got it to go.

Maybe I hadn't restarted adb with root privileges.

so I ran:

adb kill-server

adb root

adb shell

> settings put secure hide_ui_user_powersaver 0

also I turned on the chainfire app "insecure adb"

so maybe that finally got it to work because previously when I ran:

adb root

I got message saying adb can not be run as root in production mode.

This was in spite of apps saying system was mounted rw, and being able to change the xml files using esfile text editor.

I might try to back track and uninstall some apps to see if I can figure out precisely what was my issue.

Thanks for responding. :good::D
[Verizon HTC One (M8)] mc_365:
Do you have any Idea how to get the music visualizer back? I like the lyrics feature that worked with any music source.

I didn't realize it was now in the music app, wonder if it works globally like in lollipop?

No it does not!
[Verizon HTC One (M8)] bug6810:
Goto Settings-about-software information-more-tap build number 4 times and it should enable developer options, Which will show up in the main settins screen,
[General Topics] Gill:
I am able to send files from my XDA to a mobile phone. However, I am unable to transfer files from the phone to my XDA. I set it up to receive incoming beams but no luck. My XDA was recently reinstalled - perhaps I have lost a setting. Can anyone help? Thanks.
[Moto X General] kkhadr:
Anybody knows if ATT 4.4.2 SBF is available or when it's going to be available.
[Moto X General] hovax615@hotmail.com:
Keep an eye out on this website. http://sbf.droid-developers.org/phone.php?device=0
[Verizon HTC One (M8)] Dwight Caffery:
As you may know, if you are using a secured lock screen and you enter the password/code/pin incorrectly 10 times in a row, it automatically wipes all data.

As I'm "new", I can't post a link to it, but Phandroid wrote an article on this (and made a video doing it)

I'm looking for a way to disable this.

I rooted using jcase's method. Any ideas?
[Verizon HTC One (M8)] 123421342:
I think you need /system write access, I am not sure it will work because you can fake write to /system but not really, so I don't think you can fix it without s-off.
[Verizon HTC One (M8)] Karl:
here you go

http://phandroid.com/2014/03/31/htc-one-m8-security-video/

:D
[Verizon HTC One (M8)] sfreemanoh:
I'm just wondering what you're doing to get your passcode/pattern wrong 10x in a row...
[Verizon HTC One (M8)] Keithn:
It's probably more of an issue with someone else playing with your phone or taking it. I know I don't find it useful at all and would only have a chance to cause problems for me.
[Verizon HTC One (M8)] sfreemanoh:
Yeah, I guess that makes sense. Give it to your kid to play with, only to get it back all fresh and wiped... Thank god I don't have kids!
[Verizon HTC One (M8)] MultiDev:
This annoyed the crap out of me. I travel constantly with my phone and if it gets wiped during travel (and losing pictures and documents), that would equal me being fired from my job. My companies exchange server enforces security, which is good. On other devices, I can simply turn off this absolutely retarded option.

I had the same problem on the HTC M7. Luckily it can be disabled with root.

Anyway, once we get a proper root, you can set the failed attempts = 0 in an system xml file and then you will be good to go.

EDIT:

Edit this file:

/system/customize/ACC/default.xml

change this:

<item type="integer" name="devicepolicy_max_fail_passwords_for_wipe">10</item>

to this

<item type="integer" name="devicepolicy_max_fail_passwords_for_wipe">0</item>

Reboot and its disabled.
[Verizon HTC One (M8)] l7777:
It isn't a retarded option if you're primary concern is data security. For some it's better to wipe the data clean than have it stolen by an attacker. Unfortunately the people who want this option are in the minority. There should be a toggle for everyone else who would rather keep the device from self destructing.

I believe this can be done with the temp root method. I was able to enable writing to the external sd card by modifying the /system/etc/permissions/platform.xml file. I'm guessing it will persist until a hard reboot. I might try to edit the default.xml later.Big fail. :)
[Verizon HTC One (M8)] MultiDev:
Don't defend this "feature". Its undefendable. Its a completely retarded option if you can't turn it off. You have no idea how much it worries me when I travel that I could have my device wiped due to 10 in correct entries; I am currently traveling with a company iPhone, because I am that paranoid of it wiping on me. This little "feature" has completely ruined this device for me. Completely and utterly. I would call that a retarded option.

As for data security, I enable encryption and use a strong password. I also have remote wipe options. This feature should be an optional feature, not a mandatory feature. If I'm such a minority, why does no other phone OS mandates this? Not iOS, WP8, blackberry, or even stock android. I've used many phones. Only recent HTC's have mandated this. The HTC One with original 4.2 firmware didn't mandate it.

This feature is completely retarded. Period. End of discussion. BTW, not trying to be mean-spirited or anything, but its just such a dumb move on HTC's part.

With temp root, I might be able to change it, but don't you need a reboot to complete any changes to the system xml?

EDIT:

So I attempted to change it, but the changes didn't stick. Tried a second time, but the phone crashed and rebooted on me.
[Verizon HTC One (M8)] l7777:
While the feature should be a user option, it is a good feature for those that need that type of security. As I said before, those are the minority. Most of us are happy with the security you mentioned and would rather the device did not self destruct, myself included.

FYI for anyone using a pattern, it seems you have to touch four dots before it considers it an attempt. I was able to touch any combination of 3 or less dots without lowering the counter.
[Verizon HTC One (M8)] drumst1x:
Current state of the exploit doesn't allow any changes to /system. Anything that looks like it got changed, really didn't, and even if it seems like it's working now, will revert upon your next reboot.
[Verizon HTC One (M8)] dottat:
Same as this thread.....

http://xdaforums.com/showthread.php?t=2700662
[Verizon HTC One (M8)] replica9000:
This worries me because I have kids. I don't want them wiping my phone by accident.
[Verizon HTC One (M8)] Keithn:
It will still make you wait between attempts if you get it wrong too many times. As long as they don't get it for a long period of time and don't get bored of trying you'll probably be okay
[Verizon HTC One (M8)] meest:
This is one of my biggest annoyances with HTC's lock screen. Give me an option to just have a pattern lock. the wiping should be a check box.

why it isn't an option I just don't know. Sure it should be a feature, it shouldn't be a forced one though.
[Verizon HTC One (M8)] Gator Brah:
Check out the new app called "nine" its an exchange mail client. You can apply the security settings to the app rather than the phone and also set it to wipe the email account rather than the phone if you reach the max failed attempts.

The client is actually the best i've found yet for email...great interface and options with a two week trial
[Verizon HTC One (M8)] l7777:
That is irrelevent for this discussion, exchange can only force a screen lock. HTC has baked in the 10 failure self destruct on any screen lock whether forced by exchange or simply turned on by the user.
[Verizon HTC One (M8)] Gator Brah:
negative ghostrider. I've tested it personally and the exchange securities are only applied to the app itself...not the phone. The exchange account is not even a device administrator which it would need to be to set the lock screen as well as wipe the device.
[Verizon HTC One (M8)] meest:
Ummm, afirmative ghostrider. HTC baked in the 10 time and wipe. regardless if I push a lock screen from my exchange security policies or not, if I turn on the pattern lock or other lock screen it will wipe after 10 times.

Just because you have a specific app that doesn't allow the exchange service to be admin doesn't change the fact that the 10 time wipe IS indeed baked into the lock screen.
[Verizon HTC One (M8)] hceuterpe:
I must be the only paranoia type on XDA, since no one has any idea about this, this is surprising...

I run my own Exchange server, and I voluntarily turn these policies on the moment I connect my account with my Android phone (in addition to device encryption).

The policy IS also configurable if you connect via Exchange. By doing so, you delegate it as a device administrator to your phone. Check in "device administrator" settings under the security and see if there are one or more enabled, and see if you can disable the one you're annoyed with.

Seriously though it's not that terrible. I have my phone to self destruct after 5 attempts. My company issued Blackberry has it trigger after 6. The more times you get it wrong, it keeps warning you, and eventually it will actually make you do stuff like type words in to ensure you aren't fat fingering your phone in your pants to give you another unlock attempt. If your company has the audacity that they will fire you because the phone was wiped and you can't read your correspondence, show them the figurative finger and demand a company issued device.

Technically I don't own an M8 phone yet since I'm waiting for the S-OFF before I buy, but I still have a mutated version of Sense running on my Rezound...so this should match up with what you're seeing.;)
[Micromax Canvas Magnus A117] navtab:
in canvas magnus, the light of 3 keys at the bottom goes off after 5 seconds and start only when we touch it again.

so is there any option so that it can stay awake till screen is on.

i m using Keyboard backlight controller app. its really nice app but one problem with this is that after every reboot/restart i have to again start the app.

so is there any tweak/ mod to solve it?
[Micromax Canvas Magnus A117] Rht555:
If rooted, try Gravity Box, it has option to keep backlight on with the screen.

Hit thanks if helped in any way
[Android Themes] neroyoung:
Hi,

It's been long time I haven't posted any tutorial, but last day one of my friend asked me on how to create .9.png images so I made this tutorial on it. I hope this helps you too...

All you need is to download the given draw9patch tool and follow the steps given in the video. Have fun !

Download link :

Download Draw9Patch Tool Here

[YOUTUBE]?v=4Yz_xh2OpR8[/YOUTUBE]​
[Android Themes] SXUsr:
Thanks for this, another tool that helps to eliminate the need to download the whole Android SDK. :)
[Android Themes] justmpm:
Thread closed - OP request
[Moto G Q&A, Help & Troubleshooting] dpk0875:
I'm on AOSPA 4.2 beta 2 and I'm loving the ROM. I have the Google now launcher running and just noticed today that the app drawer looks a little crowded. I have the grid 4x6!! But I swear it used to be 4x5. I know there's an xposed module with extra settings for Google now launcher but last time I installed closed over this ROM I got stuck in boot loop. Any suggestions to get my grid back the way it was?
[Moto G Q&A, Help & Troubleshooting] mccbrandon:
gravity box works for me
[Nexus 5 Q&A, Help & Troubleshooting] jdawg0024:
Just wondering they did a major update and now it's crashing like crazy