[guide] [gpe] [lollipop] [capacitive key backlight] [root] [10dec2014] - One (M7) General

Since HTC forgot to include the button backlight for the capacitive keys, there is a way to enable them, if you have root. I do not take credit for the app, I just happened to realize it works to enable the keys when I was telling another user about it who wanted to disable the backlight on a Sense ROM. I personally don't use the capacitive keys and use the onscreen nav bar, so I hadn't worried about them, but I just discovered this worked by accident.
Install the following app, grant root permission, and select either bright, dim or off and there is a set at boot option in the overflow menu/settings. The lights shut off with the screen. It isn't the perfect fix, but it will give you backlight on capacitive keys until HTC releases an update.
https://play.google.com/store/apps/details?id=org.sleepydragon.capbutnbrightness
Again, this is not my app, and if you want to support the developer, purchase the paid app from the Play Store.
Paid version: ($2 US) https://play.google.com/store/apps/details?id=org.sleepydragon.capbutnbrightness.pro
Developer's xda thread: http://forum.xda-developers.com/showthread.php?t=2496347
Also, thanks to @dragonballz2k for pointing this out, you have to change the SELinux status to permissive using the following app in order for the permissions to be writable. https://play.google.com/store/apps/details?id=com.mrbimc.selinux
Just install the app, grant superuser permission, tap the "Permissive" button and reboot. Just leave the app installed. It will do its thing in the background automatically. (Note: this is not necessary if you are using ElementalX kernel as it already sets the SELinux status to permissive in the kernel.)
As always, any modifications to your device's software are at your own risk. Do not blame anyone but yourself if you break something. Not even your dog. He doesn't deserve it. And if he eats your friend's iPhone, let him sleep on the couch. He is a good dog.
Sent from my brain using human to phone transport technology.

Second post because it is the cool thing to do.
Sent from my brain using human to phone transport technology.

ABQNM said:
Second post because it is the cool thing to do.
Sent from my brain using human to phone transport technology.
Click to expand...
Click to collapse
Didn't work, granted root permission through SuperSU, but the debug log shows files to be modified to be read-only

KrazyKlutt said:
Didn't work, granted root permission through SuperSU, but the debug log shows files to be modified to be read-only
Click to expand...
Click to collapse
Maybe it works because I am running a custom kernel, ElementalX 19.0. It is possible that it has changed the permissions of the necessary files.
Sent from my brain using human to phone transport technology.

ABQNM said:
Maybe it works because I am running a custom kernel, ElementalX 19.0. It is possible that it has changed the permissions of the necessary files.
Sent from my brain using human to phone transport technology.
Click to expand...
Click to collapse
nope, i use ElementalX 19.0 too

KrazyKlutt said:
nope, i use ElementalX 19.0 too
Click to expand...
Click to collapse
So if you tap the bottom (full sun) button in the app it doesn't light up the keys? The debug info shows as read only for me as well, but it lights up immediately for me.
On: http://imgur.com/HdZcSoY
Off: http://imgur.com/TnELt0E
Sent from my brain using human to phone transport technology.

ABQNM said:
So if you tap the bottom (full sun) button in the app it doesn't light up the keys? The debug info shows as read only for me as well, but it lights up immediately for me.
On: http://imgur.com/HdZcSoY
Off: http://imgur.com/TnELt0E
Sent from my brain using human to phone transport technology.
Click to expand...
Click to collapse
no I get a pop-up with an error message, efter that i looked at the log and since it showed read-only is assumed that was the issue, but maybe it's not.

KrazyKlutt said:
no I get a pop-up with an error message, efter that i looked at the log and since it showed read-only is assumed that was the issue, but maybe it's not.
Click to expand...
Click to collapse
Maybe try revoking su permission and then accepting the supersu permission again when it prompts. If not, I'm not sure what the issue could be. I didn't write the app and it seemed to work fine for me, but there is a lot of craziness going on with sysfs security permissions and Lollipop on the m7 and m8. Flar2 (ElementalX dev) is having issues getting a lot of his custom features working properly because of this, but it seems to randomly affect some people and not others. Also make sure you have a current version of busybox.
Sent from my brain using human to phone transport technology.

ABQNM said:
Maybe try revoking su permission and then accepting the supersu permission again when it prompts. If not, I'm not sure what the issue could be. I didn't write the app and it seemed to work fine for me, but there is a lot of craziness going on with sysfs security permissions and Lollipop on the m7 and m8. Flar2 (ElementalX dev) is having issues getting a lot of his custom features working properly because of this, but it seems to randomly affect some people and not others. Also make sure you have a current version of busybox.
Sent from my brain using human to phone transport technology.
Click to expand...
Click to collapse
Figured it out is it is selinux use this app to fix the issue https://play.google.com/store/apps/details?id=com.mrbimc.selinux&hl=en

dragonballz2k said:
Figured it out is it is selinux use this app to fix the issue https://play.google.com/store/apps/details?id=com.mrbimc.selinux&hl=en
Click to expand...
Click to collapse
Oh man. That is it. I completely forgot I had that installed. I had it running for my sound mod and forgot about it. I guess it does other things. Thanks! I will update OP.
Sent from my brain using human to phone transport technology.

dragonballz2k said:
Figured it out is it is selinux use this app to fix the issue https://play.google.com/store/apps/details?id=com.mrbimc.selinux&hl=en
Click to expand...
Click to collapse
Thanks , that solved it for me as well. Does enabling permissive disturb any other apps you have with root access?

KrazyKlutt said:
Thanks , that solved it for me as well. Does enabling permissive disturb any other apps you have with root access?
Click to expand...
Click to collapse
It may actually make some work better. It may actually make some of the ElementalX kernel features work. I have had it installed since last Friday when I installed Project ERA (sound mod) and forgot about it and everything has been running great. In fact, things are working for me that others cannot get to work, even the kernel developer, flar2.
I have actually been talking to him about SELinux status and sysfs permissions in trying to fix some of the extra kernel features.
You just lose the protections afforded by SELinux enforced permissions that prevent other apps from modifying system files. Though KK 4.4.4 GPe did not have SELinux enforced. It was still permissive.
Sent from my brain using human to phone transport technology.

ABQNM said:
It may actually make some work better. It may actually make some of the ElementalX kernel features work. I have had it installed since last Friday when I installed Project ERA (sound mod) and forgot about it and everything has been running great. In fact, things are working for me that others cannot get to work, even the kernel developer, flar2.
I have actually been talking to him about SELinux status and sysfs permissions in trying to fix some of the extra kernel features.
You just lose the protections afforded by SELinux enforced permissions that prevent other apps from modifying system files. Though KK 4.4.4 GPe did not have SELinux enforced. It was still permissive.
Sent from my brain using human to phone transport technology.
Click to expand...
Click to collapse
Thanks for the info, good to know as I been using ElementalX for a long time and it's an awesome kernel.
All you developer are awesome actually, I feel less need every day to buy another Android phone since apart from the m7 bloody annoying buttons for volume and power, with super creations like ElementalX and hopefully in the near future xposed & gravitybox the M7 is a excellent phone. Although with 5.0.1, I really miss long press volume to change track with Gravitybox...

KrazyKlutt said:
Thanks for the info, good to know as I been using ElementalX for a long time and it's an awesome kernel.
All you developer are awesome actually, I feel less need every day to buy another Android phone since apart from the m7 bloody annoying buttons for volume and power, with super creations like ElementalX and hopefully in the near future xposed & gravitybox the M7 is a excellent phone. Although with 5.0.1, I really miss long press volume to change track with Gravitybox...
Click to expand...
Click to collapse
Yeah I miss xposed for a few features, but not enough to go back to the laggy, battery hungry mess that was Kit Kat on the M7. I have already learned to live without it.
As for the volume key to change tracks, there are a few apps. I use this one. It works with Google Play Music, (and it says Power Amp and stock music players, but I don't use those so I can't test them). I can't get it working on Spotify or Rdio, even using the compatiblity modes. It doesn't use long press, but rather a double press of the volume up or down keys, but it is at least something. It doesn't use any extra battery since it only runs when music is playing and the screen is off. https://play.google.com/store/apps/details?id=com.silentlexx.volbtntrackctrl
Sent from my brain using human to phone transport technology.

ABQNM said:
Yeah I miss xposed for a few features, but not enough to go back to the laggy, battery hungry mess that was Kit Kat on the M7. I have already learned to live without it.
As for the volume key to change tracks, there are a few apps. I use this one. It works with Google Play Music, (and it says Power Amp and stock music players, but I don't use those so I can't test them). I can't get it working on Spotify or Rdio, even using the compatiblity modes. It doesn't use long press, but rather a double press of the volume up or down keys, but it is at least something. It doesn't use any extra battery since it only runs when music is playing and the screen is off. https://play.google.com/store/apps/details?id=com.silentlexx.volbtntrackctrl
Sent from my brain using human to phone transport technology.
Click to expand...
Click to collapse
Yeah I use PocketSkip too, used it even in KK too a long time ago before i used GravityBox. PocketSkip is annoying because double press in more difficult in the pocket (with m7 awful volume rocker...) than a long press. Even more annoying is the sudden increase in volume before it change tracks. I mapped volume down in PocketSkip instead for the next song, more easy on the ear to hear a sudden drop in volume than an increase. I've e-mail and asked the author of any plans for long press and/or fixing the increase or drop in volume before skipping, but no response.

ABQNM said:
Oh man. That is it. I completely forgot I had that installed. I had it running for my sound mod and forgot about it. I guess it does other things. Thanks! I will update OP.
Sent from my brain using human to phone transport technology.
Click to expand...
Click to collapse
i will get it a try

Hitch3n said:
i will get it a try
Click to expand...
Click to collapse
If you are running ElementalX kernel you don't need the selinux app as the kernel has already changed the status to permissive. I don't know about other kernels however.

Related

What would you want in a custom ROM?

So, now we have the possibility to have custom ROMs, flasheable with CWM. THere are already two guys who have put effort out there, and maybe they'd want some ideas on what you people would like. What do you consider that should be in your custom ROM of choice?
Myself, I would love a Reboot and Screenshot option in the power off menu.
Maybe a minimalist version of 2.3?
I want the touchpads to be able to contol the system/launcher, like the D-Pad cans.
Great question.
I already have reboot options in the power menu of my ROM. Taking a serious look at the Screenshot option. Not many ROMs appear to have it though, but I'm going to give it a shot.
Landscape mode for the launcher would be awesome. I know you can use a custom launcher, but I really like the one that comes with the phone
Naatan said:
Landscape mode for the launcher would be awesome. I know you can use a custom launcher, but I really like the one that comes with the phone
Click to expand...
Click to collapse
there was a guy who edited the HomeAPK and made it 3 screens landscape
you can edit the Home through comp. to make it more
The stock launcher, at least in the last build, does have landscape support
Enviado desde mi R800i usando Tapatalk
USB OTG would be nice, though that would take some work to do since the stock SE kernel for our play do not support it
Regards Dousan...
sdlaurin said:
Maybe a minimalist version of 2.3?
Click to expand...
Click to collapse
This, with the auto brightness fixed, and overclocking. 'tis all I want in a ROM.
Sent from my R800
Naatan said:
Landscape mode for the launcher would be awesome. I know you can use a custom launcher, but I really like the one that comes with the phone
Click to expand...
Click to collapse
The one that comes with the phone does have landscape mode.........
1) Auto Brigtness disable
2) Overclock
3) Use the touchpad as a touchscreen emulator (eg swiping on the touchpad is the same as swiping on the screen, great for browsing without touching the screen)
4) Enable the FM radio
sdlaurin said:
Maybe a minimalist version of 2.3?
Click to expand...
Click to collapse
+1 for this. The only thing I liked about the Verizon Play is that it's basically running stock gingerbread. Currently, I'm using my custom "hybrid" of r800i rom mixed with r800x launcher/apps. The upside is that I removed all the sony junk and replaced it with stock android apps (dialer, calendar, contacts, etc) while keeping stuff like working touchpad (which failed me in cyanogenmod) and playstation pocket. The downside is that I can't replace the sony lockscreen and statusbar with the stock one. For now, I'm just using widgetlock to emulate it.
If someone can get a working stock gingerbread rom with NOTHING extra (not even hidden SE apps and services), but still have working playstation pocket and touchpads/xperia optimized apps. I will use it.
AndroHero's ROM is certainly in that path.
But really... the stock GB Launcher too? It couldn't be more spartan if it tried...
I took a good run at adding a Screenshot menu item to the power menu but haven't been successful yet. Ends up crashing on boot, unfortunately, so I'm doing something wrong. Not giving up yet though. Decompiling JARs and trying to understand it all is a huge pain in the ass.
I've got reboot options already though along with the ability to overclock and undervolt.
I was looking towards pretty much going as stock Android as possible, but I wasn't sure anyone would want it.
need a 3g and wifi transfer rate in status bar, to make sure all the things running at the background and another app like fpse or psx4droid just for play ,bcz this is xperia play
Sent from my unknown device using XDA Premium app
Vanilla GB Rom, with PSPocket and Touchpads working (which if CM7 did, would be AWESOME)
zerojay said:
I took a good run at adding a Screenshot menu item to the power menu but haven't been successful yet. Ends up crashing on boot, unfortunately, so I'm doing something wrong. Not giving up yet though. Decompiling JARs and trying to understand it all is a huge pain in the ass.
I've got reboot options already though along with the ability to overclock and undervolt.
I was looking towards pretty much going as stock Android as possible, but I wasn't sure anyone would want it.
Click to expand...
Click to collapse
Actually AndroHero is working in that direction too.
zerojay said:
I took a good run at adding a Screenshot menu item to the power menu but haven't been successful yet. Ends up crashing on boot, unfortunately, so I'm doing something wrong. Not giving up yet though. Decompiling JARs and trying to understand it all is a huge pain in the ass.
I've got reboot options already though along with the ability to overclock and undervolt.
I was looking towards pretty much going as stock Android as possible, but I wasn't sure anyone would want it.
Click to expand...
Click to collapse
I can't get reboot in power menu working. Well i can get it to work, but then the power off option reboots the device too
There's also the issue with Recovery just rebooting and not directly starting recovery yet. I'll take a look at what Power off is doing on mine as well.
Power Off seems to work fine for me. Are you maybe running it with the USB cable plugged in?
ROM i want?
Something useful,like a better signal for WIFI,5MPHD (if allowed by its hardware limitations) , however,what i REEALLY want is the 10Finger Touchscreen imporvement blagus is working on on SEtweak
Cat_On_Droid said:
ROM i want?
Something useful,like a better signal for WIFI,5MPHD (if allowed by its hardware limitations) , however,what i REEALLY want is the 10Finger Touchscreen imporvement blagus is working on on SEtweak
Click to expand...
Click to collapse
About the 10 finger touch screen. what would you use it for? i've always wondered this lol.

[ROM] [CM10.1] OaT_LnT[July 25, 2013]

Background
This is a very light and tweaked version of CM10.1 along with a lightened and tweaked version of GApps. If you are familiar with my previous Light n Tasty (LnT) releases, you know what to expect, although as of late I am going even further. For example, I am not including the CM Browser or Calendar apps in the ROM as IMO there are much better 3rd party ones available in Google Play, generally for free. (I do encourage you to support the developer via a paid app if that is available.) LnT is ringing in at very svelte ~240MB, leaving ~73MB free in an unexpanded ROM partition via AcmeInstaller3, after flashing LnT_CM10.1 and LnT_GApps. With that kind of room, you could even consider applying AppstoROM if it were beneficial to your TP. The standard GApps should be able to be used with the ROM, if so desired. Updates to the ROM and GApps will be made as significant changes occur, or if I get bored and want to flash something new :silly: .
Flashing
Personally, coming from LnTTP_CM10, I just dirty flashed over it with no problems, using the latest (?) TWRP. If you are coming from another ROM, it is highly recommended that you do a full set of wipes before flashing the ROM. It is also recommended that GApps be concurrently flashed with the ROM.
Issues
The issues with LnT are the same as with other CM10.1 releases, which center around a non-working bluetooth. Presumably the camera has been enabled, but as I have never really used that capability in CM or WebOS, I have not verified that. In fact, no camera app is included in the ROM, so if one is interested in that feature, a working one would have to be found in Google Play or one 'extracted and installed' from a standard CM10.1 ROM. Finally, if one is having problems with sound cutting off when the display turns off, try switching bluetooth on. It will not stay on, but it does seem to fix the sound problem when the display turns off.
Acknowledgements
I'll use the 'trickle down' approach here, and personally thank milaq, whose git repository this build is based on. It then follows that I am indebted to the work of those he mentions who have specifically contributed in the development of CM for the TouchPad, and to the many others who make generic contributions to CM, and of course to Google and AOSP for providing open source, which without none of this could be accomplished.
Links
LnT_CM10.1: http://www.mediafire.com/?wd99zjj60mfkv0j
MD5: a7034c388a7decca9f42e100773e648e
LnT_GApps:http: http://www.mediafire.com/download/441rgh1c8zrakj9/LnTGApps_0301-s.zip
MD5: 7f13aa68380bfb29fa1f5979b02cf1c8
Screenshots
System Add-Ons
Find your system add-ons to LnTTP here. They, of course, need to be placed in the system/apps directory, followed by setting the permissions appropriately, and then rebooting your TP. Since I don't use these I really can't verify if they work. Finally, if you are aware of a newer version, notify me and I will update here asap.
Been using this for a week, rock solid and very clean. I dirty flashed over his previous ROM using TWRP, along with the slimmed down Gapps. I am using Next browser and a calendar, both work well. I haven't been successful using Camera JB+, it tries to open, but when you try to take a picture it closes.
Great work as usual OaT!
Sent from my TouchPad using xda app-developers app
Nomad1600 said:
Been using this for a week, rock solid and very clean. I dirty flashed over his previous ROM using TWRP, along with the slimmed down Gapps. I am using Next browser and a calendar, both work well. I haven't been successful using Camera JB+, it tries to open, but when you try to take a picture it closes.
Great work as usual OaT!
Sent from my TouchPad using xda app-developers app
Click to expand...
Click to collapse
Believe that older version didn't have the camera enabled, but the soon to be posted one should.
O.a.T. said:
Believe that older version didn't have the camera enabled, but the soon to be posted one should.
Click to expand...
Click to collapse
Open for business!
O.a.T. said:
Open for business!
Click to expand...
Click to collapse
Thanks O.a.T.!!! Been waiting for this new version to be released.
Thanks for the ROM OaT. I use my touchpad much more than my Galaxy Tab (that still sits in the box and turned on only once) b/c your ROMs are so much better.
Hell Yah! Thanks again Oat for another badass release. Downloading now and can't wait to flash. Was using your 10.1 before and I'm sure this will continue to only get better.
Sent from my SGH-I747
Hmm... I can't seem to Flash the new 6/21 ROM... once I get into TWRP, and select the zip, it says:
Updating partition details
Running Boot script
Finished running boot script
E: Unable to open zip file
Error flashing zip 'sdcard/Download/LnTP_CM10.1_o621.zip'
Updating partition details...
Failed
Any suggestions? I tried twice, after the first fail I tried wiping cache and darvic but same result.
Nomad1600 said:
Hmm... I can't seem to Flash the new 6/21 ROM... once I get into TWRP, and select the zip, it says:
Updating partition details
Running Boot script
Finished running boot script
E: Unable to open zip file
Error flashing zip 'sdcard/Download/LnTP_CM10.1_o621.zip'
Updating partition details...
Failed
Any suggestions? I tried twice, after the first fail I tried wiping cache and darvic but same result.
Click to expand...
Click to collapse
Hmmm? Bad download? Did you check MD5? Otherwise I would restore your previous install, re-download, and reflash.
Kondik's/CM's New Privacy Guard
Hate to do this so soon after just posting the 0621 ROM, but oh well!
Have you heard about Kondik's/CM's new Privacy Guard capability? It's a WiP, but I've been using it most of the day on both my N4 and TP, and it seems to work very well and appears to be stabilizing in terms of changes. If you too want to give it a try, here you go...
ROM wPG: http://www.mediafire.com/?1dnu3e37yv5327m
MD5: 1d6eaaeea4c4ad421e2a78a3fb3c9331
O.a.T. said:
Hate to do this so soon after just posting the 0621 ROM, but oh well!
Have you heard about Kondik's/CM's new Privacy Guard capability? It's a WiP, but I've been using it most of the day on both my N4 and TP, and it seems to work very well and appears to be stabilizing in terms of changes. If you too want to give it a try, here you go...
ROM wPG: http://www.mediafire.com/?1dnu3e37yv5327m
MD5: 1d6eaaeea4c4ad421e2a78a3fb3c9331
Click to expand...
Click to collapse
No worries OaT, and I was able to download and flash the newer one successfully. I haven't opened up yet but I like the new boot animation. :laugh:
Getting pretty typical 10.1, but also not great battery life on this. Seeing about 30 to 40 mA drain when sleeping.
Sent from my ADR6400L using Tapatalk 2
btw, camera works (at least Camera JB+), but appears to flip the image. Still, good to get the camera working in time for my trip (so I can use Skype).
O.a.T. said:
Hate to do this so soon after just posting the 0621 ROM, but oh well!
Have you heard about Kondik's/CM's new Privacy Guard capability? It's a WiP, but I've been using it most of the day on both my N4 and TP, and it seems to work very well and appears to be stabilizing in terms of changes. If you too want to give it a try, here you go...
ROM wPG: http://www.mediafire.com/?1dnu3e37yv5327m
MD5: 1d6eaaeea4c4ad421e2a78a3fb3c9331
Click to expand...
Click to collapse
Will flash so no biggie. No idea what it is so looking for it now.
Thanks!
Sent from my TouchPad using xda app-developers app
Seanbest said:
Will flash so no biggie. No idea what it is so looking for it now.
Thanks!
Sent from my TouchPad using xda app-developers app
Click to expand...
Click to collapse
There are 2 locations to set options. In Settings>>Security towards the very bottom you will see a toggle that sets the privacy option on in every new app installed. In Settings>>Apps, after you select an app, you will see a checkbox in the app information that turns the privacy option on for that app. With the option turned on, for example, apps will be told gps is off, whether in fact it is or not, thus protecting your location. Also, for example, apps seeking a list of contacts will be provided a false list. There are also a few other actions also done to protect your privacy from 'nosy' apps.
Seanbest said:
Will flash so no biggie. No idea what it is so looking for it now.
Thanks!
Sent from my TouchPad using xda app-developers app
Click to expand...
Click to collapse
There are 2 locations to set options. In Settings>>Security towards the very bottom you will see a Privacy Guard check box that sets the privacy option on in every new app installed. In Settings>>Apps, after you select an app, you will see an Enable Privacy Guard checkbox that turns the privacy option on for that app. With the option turned on, for example, apps will be told gps is off, whether in fact it is or not, thus protecting your location. Also, for example, apps seeking a list of contacts will be provided a false list. There are also a few other actions done to protect your privacy from 'nosy' apps.
O.a.T. said:
There are 2 locations to set options. In Settings>>Security towards the very bottom you will see a Privacy Guard check box that sets the privacy option on in every new app installed. In Settings>>Apps, after you select an app, you will see an Enable Privacy Guard checkbox that turns the privacy option on for that app. With the option turned on, for example, apps will be told gps is off, whether in fact it is or not, thus protecting your location. Also, for example, apps seeking a list of contacts will be provided a false list. There are also a few other actions done to protect your privacy from 'nosy' apps.
Click to expand...
Click to collapse
Thanks. Been playing with it a bit.
Sent from my TouchPad using xda app-developers app
I still can't get themes to install and wifi cuts off every time the tablet sleeps, think I saw that was a cm issue, but hoping otherwise.
Sent from my TouchPad using xda app-developers app
Can I get away with acme installer 2 or is the 3 mandatory?
Sent from my cm_tenderloin using Tapatalk 2

Use pencil or any metal object as stylus on Galaxy S2 [Just like S5/Z Ultra/ Z1]

As you all know, Samsung has made a list of hidden features and one of them is where you can enable a pencil as stylus for you phone. This was USP of Xperia Z Ultra too and was also enabled via root on Xperia Z1.
But it looks like this feature will work on S2 too.
Requirements: [This was tested on SlimSaber running 4.4.2]
Any of the following:
1. Any AOSP based ROM which has the Galaxy S2 device setting included. OR
2. Any Sammy based ROM with Galaxy S2 device setting included (anyone confrim this is possbile?) OR
3. Any custom kernel which has option to change screen sensetivity (someone kindly suggest if this too is possbile)
What should be done? - Basically we need to increase the screen sensitivity
1. Open up the device settings. This can be in the app drawer depending on your ROM or integrated to the system settings. For example, in the in SlimSaber it is under: Settings - Advanced options - Device
2. Go to the "Screen" tab
3. Under "Touch sensitvity" change the value to "10"
4. Now try with pencil or any metal objects and have fun.
To quickly revert to default sensitivity turning off the screen does the job. This could be a bug.
Issues:
1. The sensitivity reverts back to default after screen off. At least in SlimSaber 4.4.2. The value will remain on 10, but i will need to tap on it again manually.
2. This will not work when the device in plugged into charger.
2. You need to go to all the way to the device setting screen each and every time. The screen is hyper sensitive for fingers when it is set to 10.
3. Of course, the screen is not as good as you to write down notes with handwriting like in Galaxy Note phones. But it is kinda cool to show it off.
3. The screen will get dirty Please don't use the phone while having food. Lead is bad for health
Video:
I am not sure whether screen sensitivity option is available for other phones like S3, S4 or other OEM too. If anyone know a way and have tried, let us know in the post.
Have you felt good about still holding on to Galaxy S2 yet?
Discovered so late
Awesome working .. Really appreciated dev works.
Just a question can we use it in stock s2 roms ?
kachrukamble said:
Discovered so late
Click to expand...
Click to collapse
I would not have discovered it if S5 hidden feature list was not announced. I have been using the high screen sensitivity option in AOSP from long time. Who knew it would do the trick
exynoss said:
Awesome working .. Really appreciated dev works.
Just a question can we use it in stock s2 roms ?
Click to expand...
Click to collapse
Yes. All credits go to the CM team who developed the Galaxy S2 device settings back in ICS days. This would not been possible the easy way without their app.
I have not used the stock ROM for a long time. The device settings was an app back in ICS days. Someone can try sideloading the app to stock ROM and see if it works. Or may be any custom kernel has this screen sensitivity feature?
Harsha Raj said:
Or may be any custom kernel has this screen sensitivity feature?
Click to expand...
Click to collapse
Ye right i guess I saw somewhere that screen sensitivey option in Kernel tweakers app. Will search for it
Eureka!!! After 2 yrs of s2 use, u have discovered something in it
Sent from my SM-N900 using Tapatalk
The DeviceSettings app writes the value selected for touch sensitivity to the following file to be picked up by the kernel:
Code:
/sys/class/sec/sec_touchscreen/tsp_threshold
Maybe some sort of scripting utility or tasker could help with rewriting the value to the file when the screen turns on and possibly save you having to go back in to force the update through the app??
AuSSiELaMbChOpS said:
The DeviceSettings app writes the value selected for touch sensitivity to the following file to be picked up by the kernel:
Code:
/sys/class/sec/sec_touchscreen/tsp_threshold
Maybe some sort of scripting utility or tasker could help with rewriting the value to the file when the screen turns on and possibly save you having to go back in to force the update through the app??
Click to expand...
Click to collapse
Thanks for the heads up. I'm no developer. I hope someone can make this, if possible. Tasker plugin app would be a best bet because I think scripts are good only at time of boot.
Sent from my GT-I9100 using Tapatalk
Harsha Raj said:
Thanks for the heads up. I'm no developer. I hope someone can make this, if possible. Tasker plugin app would be a best bet because I think scripts are good only at time of boot.
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
I was thinking a little different to a addon.d script I believe Script Manager allows you to save a script then run it via a widget, there are probably other options as well but I remember SManager from using it a longtime ago.
Sent from my GT-I9100 using XDA Premium 4 mobile app
Harsha Raj said:
3. The screen will get dirty Please don't use the phone while having food. Lead is bad for health
Click to expand...
Click to collapse
its graphite/carbon, not lead. its not bad for your health.
AuSSiELaMbChOpS said:
I was thinking a little different to a addon.d script I believe Script Manager allows you to save a script then run it via a widget, there are probably other options as well but I remember SManager from using it a longtime ago.
Sent from my GT-I9100 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes the app looks like it has many features. Hope someone can make it.
At default 50, my S2 screen has sensitivity issues o occasionally. Even if I decrease the value it's only until screen off.
The Jack of Clubs said:
its graphite/carbon, not lead. its not bad for your health.
Click to expand...
Click to collapse
Apparently my school teacher years back had different opinion. I stand corrected
Sent from my GT-I9100 using Tapatalk
Couldn't find the setting in Carbon Rom, musn't have included it. Too bad.
Pyvesb said:
Couldn't find the setting in Carbon Rom, musn't have included it. Too bad.
Click to expand...
Click to collapse
Maybe you can ask in the ROM thread if its buried somewhere else. Here is the device settings apk link from google search. But it did not install in mine, nor it worked when i side loaded it. https://code.google.com/p/slimics28/downloads/detail?name=GalaxyS2Settings.apk
Tried this one in NeatROM (Stock JB-Based) with Apolo Kernel and it worked, but it's seems too uncontrollable...
I made a script of the tsp_threshold value changing to 10, ran it, and tested my regular ballpen on it (empty, of course) and it worked, but most of the time, it won't detect the ballpen when I tried tapping it to type on a soft keyboard.
But when I do gestures like sliding and dragging, it works, though.
Is it safe to change the threshold to 5? I can't do it because I'm scared I might mess up some sh*t.
And also, I think when observed, that the threshold resets from 10 to 40 (my default) when screen turns off, since when I tried screen-off, then on, the touchscreen won't detect my ballpen anymore, and I have to re-run the script to do it again...
Harsha Raj said:
Maybe you can ask in the ROM thread if its buried somewhere else. Here is the device settings apk link from google search. But it did not install in mine, nor it worked when i side loaded it. https://code.google.com/p/slimics28/downloads/detail?name=GalaxyS2Settings.apk
Click to expand...
Click to collapse
Nope, app doesn't even want to install on KitKat. I'll try asking on the main thread as you recommanded.
souler456 said:
Tried this one in NeatROM (Stock JB-Based) with Apolo Kernel and it worked, but it's seems too uncontrollable...
I made a script of the tsp_threshold value changing to 10, ran it, and tested my regular ballpen on it (empty, of course) and it worked, but most of the time, it won't detect the ballpen when I tried tapping it to type on a soft keyboard.
But when I do gestures like sliding and dragging, it works, though.
Is it safe to change the threshold to 5? I can't do it because I'm scared I might mess up some sh*t.
And also, I think when observed, that the threshold resets from 10 to 40 (my default) when screen turns off, since when I tried screen-off, then on, the touchscreen won't detect my ballpen anymore, and I have to re-run the script to do it again...
Click to expand...
Click to collapse
It's not even as stable as I showed it in the video?
Can you make that script using SManager app? That way the script can work even after screen lock or something. I think this is the app https://play.google.com/store/apps/details?id=os.tools.scriptmanager
And I have no idea what happens when it's set to 5 try it out. Nothing bad might happen.
Sent from my GT-I9100 using Tapatalk
Harsha Raj said:
It's not even as stable as I showed it in the video?
Can you make that script using SManager app? That way the script can work even after screen lock or something. I think this is the app https://play.google.com/store/apps/details?id=os.tools.scriptmanager
And I have no idea what happens when it's set to 5 try it out. Nothing bad might happen.
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
About the video, yes, it's not that stable. But I guess it's the ROM's/Kernel's fault, since it's unstable changing the thresholds, they don't bother fixing it...
As for the script, have a look atTasker for that. When it screens-off, the threshold reverts back to normal (the bug on the ROM, maybe?), right?
Then when you do screen-on, use Tasker and it will automatically run the script, and will change the thresholds to the desired percent...
for the script commands I just created a script file:
Code:
#!/system/bin/sh
#Change Touch Sensitivity Script
#Default Sensitivity is 40 on NeatROM
echo 10 > /sys/class/sec/sec_touchscreen/tsp_threshold
Then put it on /system/xbin, changed it's permissions to 777, then ran it on Terminal Emulator.
To test, run this on your Terminal Emulator:
Code:
$ su
# sh -x /system/xbin/<name of the script>
It must echo your desired sensitivity. Then if all's well, try your pen now...
souler456 said:
About the video, yes, it's not that stable. But I guess it's the ROM's/Kernel's fault, since it's unstable changing the thresholds, they don't bother fixing it...
As for the script, have a look atTasker for that. When it screens-off, the threshold reverts back to normal (the bug on the ROM, maybe?), right?
Then when you do screen-on, use Tasker and it will automatically run the script, and will change the thresholds to the desired percent...
for the script commands I just created a script file:
Code:
#!/system/bin/sh
#Change Touch Sensitivity Script
#Default Sensitivity is 40 on NeatROM
echo 10 > /sys/class/sec/sec_touchscreen/tsp_threshold
Then put it on /system/xbin, changed it's permissions to 777, then ran it on Terminal Emulator.
To test, run this on your Terminal Emulator:
Code:
$ su
# sh -x /system/xbin/<name of the script>
It must echo your desired sensitivity. Then if all's well, try your pen now...
Click to expand...
Click to collapse
The script is working good manually. But I setup a profile on tasker as "screen on" and then the script. But the script won't get executed when screen turns on.
I tried same profile for music and it works well.
Sent from my GT-I9100 using Tapatalk
Harsha Raj said:
The script is working good manually. But I setup a profile on tasker as "screen on" and then the script. But the script won't get executed when screen turns on.
I tried same profile for music and it works well.
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
Did you check "Use Root" when assigning the script? cause you need too...

Missing Xposed on Android 5

What should replace G3 Tweaks/Xposed on Android 5?
On my rooted KK rom, I used several Xposed functions, out of which the most important to me:
- Four options/extended boot menu
- Volume keys skip tracks (RDIO, PANDORA) while screen is off
- More volume steps
Android 5 (ART) currently voids Xposed
Can you guys recommend ART alternatives for the above (APK or Mod)
Thanks
zolom said:
What should replace G3 Tweaks/Xposed on Android 5?
On my rooted KK rom, I used several Xposed functions, out of which the most important to me:
- Four options/extended boot menu
- Volume keys skip tracks (RDIO, PANDORA) while screen is off
- More volume steps
Android 5 (ART) currently voids Xposed
Can you guys recommend ART alternatives for the above (APK or Mod)
Thanks
Click to expand...
Click to collapse
So there is nothing out there yet, u have to wait if rovo89 make xposed ready for ART or alternatives.
Xposed will not work on Android L
Xposed will not work on Android L
Probably it will not be patched.
Let me tell you a story, of a time before xposed (GHAST, yes, for there was such a time!). Back in these dark days, mods used to be done by pulling apart an apk, making modifications in the code and rebuilding the apk to insert into a rom, the problem was these files were device specific, and often rom specific so it made modding very time consuming, and you had to remake a mod for each device and often each particular rom.
Xposed changed this, it patched files on the fly in such a way that it worked on every device and every rom (so long as the file it was patching, and the code it was changing was present).
Now we have no Xposed, we have to go back to those olden times, lets put on our robes and pick up that longsword and fight back.
..... TLDR: There is nothing that Xposed does that cannot be done 'the old way', it is just a far more time consuming process doing it the old way, and because it is now device and often rom specific finding a developer to do it for your device and rom might not be easy.
If there is automated call recording in a custom android 5 rom I will switch instantly.
Most other things are usually fixed by the custom roms as well.
GieltjE said:
If there is automated call recording in a custom android 5 rom I will switch instantly.
Most other things are usually fixed by the custom roms as well.
Click to expand...
Click to collapse
Xposed/G3 Tweaksbox has automatic call recording...
Tweakbox > call settings > Enable auto call recording
Jodsfk421 said:
Xposed/G3 Tweaksbox has automatic call recording...
Tweakbox > call settings > Enable auto call recording
Click to expand...
Click to collapse
I know, that's why I can't switch to 5 yet.
GieltjE said:
I know, that's why I can't switch to 5 yet.
Click to expand...
Click to collapse
Oh, derp. I thought you were looking for the feature. My bad.
GieltjE said:
I know, that's why I can't switch to 5 yet.
Click to expand...
Click to collapse
GieltjE said:
If there is automated call recording in a custom android 5 rom I will switch instantly.
Most other things are usually fixed by the custom roms as well.
Click to expand...
Click to collapse
ACR app records perfectly calls with the G3
zolom said:
What should replace G3 Tweaks/Xposed on Android 5?
On my rooted KK rom, I used several Xposed functions, out of which the most important to me:
- Four options/extended boot menu
- Volume keys skip tracks (RDIO, PANDORA) while screen is off
- More volume steps
Android 5 (ART) currently voids Xposed
Can you guys recommend ART alternatives for the above (APK or Mod)
Thanks
Click to expand...
Click to collapse
There's apps at Google play for almost everything you want.
Quickclick for the music, reboot menu widget for four way reboot, and so on... [emoji106]
For Active Display what's the best app without xposed?
Any replacement for Xprivacy?
What about Appsettings?
this is only reason for I dont like upgrade to 5.
S3V3N said:
Xposed will not work on Android L
Probably it will not be patched.
Click to expand...
Click to collapse
We know that.
Sent from my LG-D850 using XDA Free mobile app
Dude just wait xposed or something similar will eventually come for Android L too..
It's not just exposed. There are going to be a great many apps and tweaks that won't work on 5.0. Some will eventually be rewritten, some do things that might no longer be possible with Lollipop. All we can do is wait, and in the meantime decide whether the benefits of 5.0 outweigh the things we'll lose.
I'm going to hate the absence of Skip Lock, which the developer says can't be made to work on 5.0. That may keep me from upgrading for a while.
meyerweb said:
It's not just exposed. There are going to be a great many apps and tweaks that won't work on 5.0. Some will eventually be rewritten, some do things that might no longer be possible with Lollipop. All we can do is wait, and in the meantime decide whether the benefits of 5.0 outweigh the things we'll lose.
I'm going to hate the absence of Skip Lock, which the developer says can't be made to work on 5.0. That may keep me from upgrading for a while.
Click to expand...
Click to collapse
Well, LG G3 got a built-in lock skipper. I think its code may be studied and exploited for another use.
GTMoraes said:
Well, LG G3 got a built-in lock skipper. I think its code may be studied and exploited for another use.
Click to expand...
Click to collapse
It does? Can it unlock the device when connected to specific WiFi networks? 5.0 offers trusted Bluetooth, but not trusted WiFi, like Skip Lock does, and it also doesn't allow apps to unlock the screen. But my main point was that even if these capabilities are eventually provided, it will take time. Right now "upgrading" to Lollipop will mean doing without a lot of the tweaks and hacks we've become used to.
meyerweb said:
It does? Can it unlock the device when connected to specific WiFi networks? 5.0 offers trusted Bluetooth, but not trusted WiFi, like Skip Lock does, and it also doesn't allow apps to unlock the screen. But my main point was that even if these capabilities are eventually provided, it will take time. Right now "upgrading" to Lollipop will mean doing without a lot of the tweaks and hacks we've become used to.
Click to expand...
Click to collapse
Bluetooth and NFC. It's a new build, of course it has no hacks. Let's just wait to see what will come.
GTMoraes said:
Bluetooth and NFC. It's a new build, of course it has no hacks. Let's just wait to see what will come.
Click to expand...
Click to collapse
Right. But out of the box, 5.0 doesn't allow any app to trigger a screen unlock. A lot of other things have been locked down, too. For the time being, upgrading to Lollipop is going to mean doing without a lot of the tweaks we're used to.

Rooting the Essential Phone PH-1

I know this is probably a very simple question but I have not seen it addressed yet. What's the best way to root the Essential phone? Is there a working TWRP available yet? Anyone have a guide? thanks :good:
There is no public development currently happening.
It seems very quiet in here as far as root goes. I hope some devs are buying this phone.
in another thread there is a link to magisk and rooting w/o a custom recovery, no one has tried to see if it works on our device.
As soon as FedEx gets over this long weekend and gets me my phone, I'll do the Magisk root and post about it here.
Until then, I'm just stuck twiddling my thumbs and doing other stuff.
I wonder if any custom development will become available for this phone. Yeah, we can unlock the bootloader (pretty useless without a custom recovery) and possibly have root via Magisk (which is fine on the stock ROM), but I have a feeling devs may be staying away from the Essential. Whether it's due to the somewhat negative reviews and new Pixels coming out soon.
hx3 said:
I wonder if any custom development will become available for this phone. Yeah, we can unlock the bootloader (pretty useless without a custom recovery) and possibly have root via Magisk (which is fine on the stock ROM), but I have a feeling devs may be staying away from the Essential. Whether it's due to the somewhat negative reviews and new Pixels coming out soon.
Click to expand...
Click to collapse
in order to root w/ magisk via fastboot, we need the stock.img which isnt available.
It is my humble projection that the Essential will soon become one of the leaders in the ROM/development world.
Relax man... I've seen development for far less popular phones that were far more locked down... Most people that ordered don't even have their phones yet though... give it another week or two to pick up. I paid for my order about 2 weeks ago and it's not getting delivered till Tuesday or Wednesday and there are many others who don't even have tracking info yet.
You guys are probably right. Right now I don't even need root. There is no crap Ola I need to freeze with tibu.. I will still root as soon as it comes. This is the first time I bought a phone that did not come from a carrier.. Jeez what a difference
Sent from my SM-T800 using Tapatalk
I want root simply so that I can add LMT pie controls, hide the nav bar and run adaway. Other than that, there's very little I need root for these days.
im looking to root for adaway and volume skip track. other then that i really have no other need to root. TB for apps would be nice as well.
NeutronBomb said:
I want root simply so that I can add LMT pie controls, hide the nav bar and run adaway. Other than that, there's very little I need root for these days.
Click to expand...
Click to collapse
Try Unique Controls (play store) for pie. Nav bar can be partially hidden with an adb code to enable immersive mode, however this seems to cause layout issues because of the odd status bar implementation. Unfortunately this affects LMT, hence my going with a different app for now. I have a Tasker profile going with AutoTools to turn off immersive mode in apps I know don't work, and I'm getting my full screen pie goodness in about 80% of apps.
tardis_42 said:
Try Unique Controls (play store) for pie. Nav bar can be partially hidden with an adb code to enable immersive mode, however this seems to cause layout issues because of the odd status bar implementation. Unfortunately this affects LMT, hence my going with a different app for now. I have a Tasker profile going with AutoTools to turn off immersive mode in apps I know don't work, and I'm getting my full screen pie goodness in about 80% of apps.
Click to expand...
Click to collapse
Yeah I know how to get it all to work without root but its wonky that way.. Need root and SEL set correctly for everything to fully work without the jankiness.
NeutronBomb said:
Yeah I know how to get it all to work without root but its wonky that way.. Need root and SEL set correctly for everything to fully work without the jankiness.
Click to expand...
Click to collapse
Sorry, what's SEL?
tardis_42 said:
Sorry, what's SEL?
Click to expand...
Click to collapse
The main reason that I use LMT or pie controls in general is so that I have a menu button.. mainly so that in chrome I don't have to reach all the way to the opposite corner to open the menu (since I hold the phone in my left hand 99% of the time). The menu button will not work properly on LMT if you do not have SEL set to permissive. I'm not 100% sure exactly what SEL does but I think its like the SELinux security policy for the kernel or rom. Not a dev, my knowledge is limited..lol I just know it needs to be set to permissive for stuff like that to work properly.
The only reason I want root is for themes but if I could just get my hands on a stock vendor image I could just manually install a Substrantum theme.
Sent from my PH-1 using Tapatalk
root & updates
i'm also looking forward to have root, basically for adaway and titanium. but does anyone have an idea if this is going to have an effect on receiving OTA updates? or if root will be lost every time?
filou76 said:
i'm also looking forward to have root, basically for adaway and titanium. but does anyone have an idea if this is going to have an effect on receiving OTA updates? or if root will be lost every time?
Click to expand...
Click to collapse
For ad blocking look up AdClear.
It's an on device VPN that blocks ads. No root required.
V4A or ARISE is a must for me. Especially when coming from the U11's excellent audio performance.

Categories

Resources