[Q] Disable home button from waking phone? - Rooted Verizon S5 Lollipop - Galaxy S 5 Q&A, Help & Troubleshooting

Is there a way to block the home button from waking up my phone (rooted verizon s5 on lollipop)? Before I used Wanam Xposed, I've tried editing gpio-keys.kl with no luck. Am I gonna have to hold out for Xposed or is there a way around this?
This was honestly one of the original reasons why I rooted because my phone was constantly unlocking in my pocket. Any help would be superduper appreciated <3

I've spent several hours looking into this. I'm not a developer, but from what I can tell, it appears that this will need someone competent to edit in system/framework of a rooted phone to modify the interceptKeyBeforeQueueing method in PhoneWindowManager class. Here's two links wit some pertinent discussion:
https://source.android.com/devices/input/key-layout-files.html
https://groups.google.com/forum/#!topic/android-platform/FhcVipMFZF4
Anyone competent and willing to take this on?

Related

[Q] Lock screen widgets with secure lock screen

Hey guys
As most of you probably know, as soon as you select for instance a pin for your lock screen the S4 disables the possibility for lock screen widgets. I'm currently getting around it with xposed and SamsungMultipleWidgets KitKat.
Just curious if there's any way around this limitation without xposed, or maybe even without root? I'm guessing that it's not possible, still.. I'm curious.
Obscure Reference said:
Hey guys
As most of you probably know, as soon as you select for instance a pin for your lock screen the S4 disables the possibility for lock screen widgets. I'm currently getting around it with xposed and SamsungMultipleWidgets KitKat.
Just curious if there's any way around this limitation without xposed, or maybe even without root? I'm guessing that it's not possible, still.. I'm curious.
Click to expand...
Click to collapse
Some ROMs have this feature baked in. SlimKat for instance. I dont believe there is a way whilst using a stock rom without using xposed, at least i never found one, and I looked hard!
fivecheebs said:
Some ROMs have this feature baked in. SlimKat for instance. I dont believe there is a way whilst using a stock rom without using xposed, at least i never found one, and I looked hard!
Click to expand...
Click to collapse
Yeah, I know.. I had it built in while running CM. Just had an urge to go back to stock for a while and was just wondering what features I wanted actually required root (and xposed).
If anyone else knows of a way, please let us know.
Hi gys, slightly different issue here, but would appreciate any help.
basically the PIN lock does not activate until 30 seconds or so after the phone boots up. So there is no securuty on initial boot up.
Its there if I do a reboot. But not there if I do a startup from fully off.
It used to work but at some point a few ROMs ago t stopped working.
I was told it was the kernel but I have tried 4 and all with the same result and have tried several roms.,

NCK bypassing, unlocking, and/or rooting? Lollipop help.

Okay, so, yes, I know to use the Search function, but alas all information is either outdated or there is no concise answers / solutions to be found. Trust me, I have scoured.
Overview: Okay so Thursday I bought an SGH-i337, being the nerd that I am knowing that I use MetroPCS (can't beat unlimited 4G LTE for $60) I scoured the net and researched ALL models of the S4 and G3. Decided the screen size of the G3 too big coming from a 5C. Decided Sprint's version might work, but not on 4G. Verizon, would switch from LTE to 2G with no 3G support, so that would be a desperation act, haha.
So, my main options were T-Mobile, then AT&T, because MetroPCS and T-Mobile were one and the same. All the people that had T-Mobile based phone sellers were being a pain in the butt to deal with... so, I found an AT&T owner that was ready.
The tragic love story: So on once I used the MicroSIM card in the S4 to cut an old full-size SIM to scale a border around my Nano SIM and finally got it placed perfectly to read... I was happy... which faded quickly as it was locked, how could I be so dumb!
So, the previous owner is now awaiting an unlock code as I found EVERY method to use the UMTS Menu is impossible to get to "[6] Phone Control" option. Due to that silly Auto Updating AT&T bloatware and Kernel upgrade/Firmware.
Okay, I should wait, but... does anyone know a way to get to the Phone Control menu using a secret code?? I have noticed some of the many codes go straight to the Debug Screen or go straight to the other menu options... so could there be one for Phone Control?
Also, maybe is there a way to get the phone to output the NCK Key manually connecting it to a computer and using a prompt? I may have heard about such a thing on SureWest routers through TelNet, to get the administration password... not that I personally have done this. Just feel like if these websites are able to use an IMEI number to charge you for a code... it has to be stored on the phone somewhere right?
Rooting and Downgrading
Also, has anyone tried the Odin way of downgrading and rooting these phones, has personally worked for them? I have found the threads on here and it seems pretty interesting... when I look at previous versions of Droid they look to allow more functionality for more advanced users than this 5.0, so if that be the case I am interested in taking this back to stock and beginning removal of all AT&T programs.
Maybe I am sounding like an idiot, but I have been on a Jailbroken 5C for... probably 2 years now and even with that it seems limiting to the curious, nerdy, mess with things side of me.
Summary:
- Should I just wait the 2-5 days for the code? / Would downgrading firmwares negate the entered NCK code if used prior to downgrade?
- Are there any known ways to unlock this model fully upgraded?
- Should I use the Odin methods of downgrading to stock? / Do you prefer previous versions over 5.0?
- What problems should have you guys faced / should I consider prior to doing anything?
- Should I just try to find a T-Mobile model of the S4??
Phew, sorry, if you read all of that and hate me for it, haha. Please, be knowledgable and not tell me how dumb I am for being so antsy to be able to use this phone w/o WiFi! Haha, you guys try using a 5C forever and see the screen difference / abilities you've been missing out on for so long!
Thanks!
The method of downgrading to 4.4.2 (aka NB1) then rooting and then going to lollipop by keeping the root has worked for me. There is no direct way, to root lollipop atm.
First downgrade to stock rootable 4.4.2. You can do this from any base, and/or use it if you mess your phone up (bootloops, etc). Link here. Second post on that thread, step 1. Make sure you download the rootable one.
To root it use TowelRoot. Run it - Tap make it ra1n - After a succeseful root, install SuperSU.
The follow this post here to goto stock rooted lollipop 5.0.1 (aka OC4). I recommend downloading the deodexed version, so you can install xposed if you want in the future.
Thats it for rooting lollipop. And now that you have root you can get rid of that bloatware.
-------------------------------------------------------------------
I personally, don't really fancy lollipop. High Ram usage.
Secondly, i bought this phone on eBay and it came unlocked, and even after flashing different firmwares, its still unlocked. I think if you unlock using that NCK code, the phone will stay unlocked forever.
Thirdly, the T-Mobile version has an unlocked bootloader, which is a big up in comparison to the i337. We are restriced to only using one costum recovery, that is SafeStrap. Others, don't work.
Thank you
I will probably have to go through that whole process. Got it unlocked thankfully, but am feeling as though based on specs and the little apps I have installed the phone should be a bit smoother in basic functionality especially Web browsing.
So yeah definitely already feeling your point in resource hog and though I disabled the bloatware, I don't think it helps being installed.
Also, figuring out after using the phone in my car that Galaxy has very quiet audio output via the 1/8" headphone jack. Seems that you can find volume controlled headphones easier than just straight cords! However, found this a known issue for all Galaxies and rooting it may be the easiest workaround.
Thanks for the organized list of information/insight! Now I will have some more stuff to geek out on... ?
Peptobismal said:
Also, figuring out after using the phone in my car that Galaxy has very quiet audio output via the 1/8" headphone jack. Seems that you can find volume controlled headphones easier than just straight cords! However, found this a known issue for all Galaxies and rooting it may be the easiest workaround.
Thanks for the organized list of information/insight! Now I will have some more stuff to geek out on...
Click to expand...
Click to collapse
You're welcome
I don't know, but cranking the volume to full on my phone using earphones, makes my ears hurt . The audio output on mine is great, nothing modified.
Oh, if you decide to stick with kitkat, check out these posts. I'm sure they will come in handy for stock roms. Simply to make life easier.
Remove AT&T carrier name from the notification bar
Restore Mobile Data Toggle in Notifications Bar (First method - apk on third post)
TheJuli said:
You're welcome
I don't know, but cranking the volume to full on my phone using earphones, makes my ears hurt . The audio output on mine is great
Click to expand...
Click to collapse
Yeah, I'd say it's probably fine with headphones, but through a car's auxiliary it is probably 25-30% quieter than my iPhone even at "full" volume.
Read that there are files to modify, but you have to be rooted.
What is this Mobile Data Toggle? Would it be really at all useful seeing as I have MetroPCS? * I assume that ridding AT&T is just a general tweak, which I do like getting rid of the carrier.
Peptobismal said:
What is this Mobile Data Toggle? Would it be really at all useful seeing as I have MetroPCS? * I assume that ridding AT&T is just a general tweak, which I do like getting rid of the carrier.
Click to expand...
Click to collapse
Mobile data toggle is used to enable Internet from your carrier/sim. Ridding the AT&T thing is sorta general because you need to have root.

disable long press to access settings on secondary screen

hello, kind folks.
cant seem to find a post (or a setting on the device) to disable this functionality. kinda annoys the hell out of me since my fingers tend to linger on that part of the screen. any leads?
TIA
Sent from my LG-H990 using Tapatalk
Hello there, @shoktong
While I do realize this thread is older, I have the same exact problem. My index is used for support when holding my phone while laying down and occasionally will long press the second screen, taking me to the settings. I find this annoying and there is actually no way to remove the setting without root.
I do have some good news for you though: Root has now been achieved on most V20 American varieties. It's set to be released sometime this week.
Here's the link to the thread: http://forum.xda-developers.com/v20/how-to/sprint-att-locked-bootloaders-root-t3491498/page1
Read it at your leisure, it's quite intriguing. And like I said, it's for all American varieties (Sprint, AT&T, VZW) so you have that to look forward to.

Samfail root success and workarounds

I wanted to start a thread in the AT&T forum for everyone to share there successes and workarounds after rooting with Samfail. I know there is a thread for the root process here https://forum.xda-developers.com/galaxy-note-8/development/root-samfail-galaxy-note8-t3685340 But i wanted this to be a place where we can share also what works for the AT&T phones.
I just rooted tonight, so far all i have done is disable the AT&T bootup sound but going to /system/omc/ATT/res/media/audio/ui and renaming PowerOn.ogg to read PowerOn.ogg.bak
As i figure out more things I'll keep updating the op.
Please feel free to share any tweaks you may know.
dirtydodge said:
I wanted to start a thread in the AT&T forum for everyone to share there successes and workarounds after rooting with Samfail. I know there is a thread for the root process here https://forum.xda-developers.com/galaxy-note-8/development/root-samfail-galaxy-note8-t3685340 But i wanted this to be a place where we can share also what works for the AT&T phones.
I just rooted tonight, so far all i have done is disable the AT&T bootup sound but going to /system/omc/ATT/res/media/audio/ui and renaming PowerOn.ogg to read PowerOn.ogg.bak
As i figure out more things I'll keep updating the op.
Please feel free to share any tweaks you may know.
Click to expand...
Click to collapse
As I sure you've seen my complaining in the root thread -- My main issue is the inability to get full calling features
It is very weird from my perspective in that everything seems to provision properly. I can make WiFi Calls but if I turn Wifi off then try ot make a call the call Ends suddenly unless I turn Enhanced LTE services off. But the really weird thing is that I can make calls in the area near my work (it is a bit more remote than where live) and it does appear that the calls are being made VoLTE. So why would the network in one place allow the calls to go through but in another the calls suddenly end ??? I think the answer to this might be the clue to getting this issue fixed for AT&T users.
I know many of you don't need the full calling features but for me it is essential and I would go without root if I can't find a solution :crying::crying:
jcrompton said:
As I sure you've seen my complaining in the root thread -- My main issue is the inability to get full calling features
It is very weird from my perspective in that everything seems to provision properly. I can make WiFi Calls but if I turn Wifi off then try ot make a call the call Ends suddenly unless I turn Enhanced LTE services off. But the really weird thing is that I can make calls in the area near my work (it is a bit more remote than where live) and it does appear that the calls are being made VoLTE. So why would the network in one place allow the calls to go through but in another the calls suddenly end ??? I think the answer to this might be the clue to getting this issue fixed for AT&T users.
I know many of you don't need the full calling features but for me it is essential and I would go without root if I can't find a solution :crying::crying:
Click to expand...
Click to collapse
Yea i never video or WiFi call (ok maybe have yo WiFi call about 2 or 3 times a year) so losing those two things don't bother me. I've always turned off enhanced lte services since they introduced it simply because it drains more battery plus from what I've googled about it, it don't really pertain to anything i need. I am hopeful though that once people start to use this root method, we'll start to figuring out how to fix everything like normal.
I'm not really sure the purpose to use this root method, its not even really root to begin with. What are your plans with using this method? I mean there are a few fun things to do but not worth a unstable system and 80% battery.
timmy10shoes said:
I'm not really sure the purpose to use this root method, its not even really root to begin with. What are your plans with using this method?
Click to expand...
Click to collapse
Why do you say "it's not really root to begin with"? By doing this method you gain access to root files and to the heart of your phone. SuperSU installs and works, you are able to deodex, theme, modify all as you want if you know what your doing. Sure there are a few issues with it (battery limited to 80%, WiFi calling, and camera) but none of this will get fixed we work on finding out the issue, but root has always brought about some type of issue one way or another in locked bootloader devices. My plan with rooting my phone is to build my rom with the tweaks and mods that i like, run the ad blockers that i like, possibly install xposed (haven't used it in a while). One of the main purposes of root in my opinion is to make your phone the way you like it. I mean you can sit around and wait for someone to make the phone how they like it and then possibly share it with others or you can take the initiative to learn yourself. Not really root to begin with? It's root, just not how it used to be. I hope someone does figure out a different root method that don't render the battery to 80%, i wish i knew how to look for exploits (I'm currently trying to learn) but until then, this is what we have. What are your reasons for believing this is not a real root method?
timmy10shoes said:
I mean its not really root because they are using a modified system file, not finding a real working exploit. It is a leaked factory image and a leaked factory kernel that needs to go with it. The 80% isn't going away. Its built into the kernel with can't be touched or motified. But we can always dream
Click to expand...
Click to collapse
Well that's why I'm still hoping for a different root method they don't have to use leaked files. But i can say that this root method runs a lot smoother than the method we had to use in the S7. This method hasn't been out very long, but is say within the next few months we'll start seeing more development happening . Or at least i hope. I've just recently started making my own roms (i don't release them to anyone being as I'm still learning and can't give a lot of trouble shooting assistance) but it's fun for me to pass the time at work. (I have a real laid back job with nothing to do a lot of times lol)
I mean its not really root because they are using a modified system file, not finding a real working exploit. It is a leaked factory image and a leaked factory kernel that needs to go with it. The 80% isn't going away. Its built into the kernel with can't be touched or motified. But we can always dream
---------- Post added at 04:48 PM ---------- Previous post was at 04:44 PM ----------
I get the fun part of it, thats why I use unlocked devices to flash the good stuff.
timmy10shoes said:
I mean its not really root because they are using a modified system file, not finding a real working exploit. It is a leaked factory image and a leaked factory kernel that needs to go with it. The 80% isn't going away. Its built into the kernel with can't be touched or motified. But we can always dream
---------- Post added at 04:48 PM ---------- Previous post was at 04:44 PM ----------
I get the fun part of it, thats why I use unlocked devices to flash the good stuff.
Click to expand...
Click to collapse
I've thought about buying am unlocked device but have read conflicting posts about service and radio bands messing that are used here in the US so I've always shyed away from them.
I have developed a few roms myself for the Bionic and Razr. Its highly entertaining and I want it myself but there hasn't been true root since the note 3 I believe.
---------- Post added at 04:54 PM ---------- Previous post was at 04:53 PM ----------
dirtydodge said:
I've thought about buying am unlocked device but have read conflicting posts about service and radio bands messing that are used here in the US so I've always shyed away from them.
Click to expand...
Click to collapse
I use unactivated devices. There is a ton on trial and error so I don't use my daily driver for that.
Are there any ROM anywhere for the snapdragon? Also anyone know where the stock firmware is located or can be found? When you go back,is it like it never happened ?
Don_Pachuco said:
Are there any ROM anywhere for the snapdragon? Also anyone know where the stock firmware is located or can be found? When you go back,is it like it never happened ?
Click to expand...
Click to collapse
No roms yet (on AT&T at least that i know of). Not trying to be rude but do you even search, see attached picture. Literally 4 post down from this thread.
I did search, and the one thread that I found, says "link removed". Then further down, it has files for the S8+.
Don_Pachuco said:
I did search, and the one thread that I found, says "link removed". Then further down, it has files for the S8+.
Click to expand...
Click to collapse
https://forum.xda-developers.com/att-galaxy-note-8/how-to/n950u-odin-5-files-stock-firmware-t3715770
Help!!! Please help!!!!
This is my first time with odin or basically anything computer related i am stuck at 2nd step of samfail. can some one please tell me what to do. it says fail (auth) thank you in advance. I have already done step 1 and it failed just like the instructions say but now in step 2 it fails every time. I'm stuck please help!
truly in over my head hear
jforest3026 said:
This is my first time with odin or basically anything computer related i am stuck at 2nd step of samfail. can some one please tell me what to do. it says fail (auth) thank you in advance. I have already done step 1 and it failed just like the instructions say but now in step 2 it fails every time. I'm stuck please help!
truly in over my head hear
Click to expand...
Click to collapse
This is a thread for mods done after rooting, post questions about getting rooted in your root thread please.
https://forum.xda-developers.com/ga...nt/root-samfail-galaxy-note8-t3685340/page323
the %80 max battery issue
I've enjoyed a rooted Note 8(sm-n950u) Nougat7.1.1 for over a week via samFAIL method and am quite thankful to the samfail/pwned team for providing it.
The max battery issue is the only drawback as far as I've noticed so far. I have a nice and speedy phone that is devoid of bloating apps, and vendor/carrier garbage.
As far as the max battery issue, I've done some digging and haven't found a cure yet.
I've noticed a couple things.
in /efs/Battery and in /sys/class/power_supply/battery there is a file named batt_capacity_max that has something to do with the max battery limit which is obvious by name of course.
Notes:
1. You can not change the value in /sys/class/power_supply/battery/. You can edit and write the file without any error or sign of failure; But checking the file immediately afterwards, you'll find that the contents did not change.
2. You can change the file in /efs/Battery/, but the contents are reset upon reboot.
3. The file contains only a number.
In my case, batt_capacity_max contains the number 1000 regardless of the charged state. i.e. It is 1000 when the phone if charged to max, and it is 1000 when the phone is nearly drained.
I change the value to see if it has any effect, and it does.
I interpreted the 1000 as binary 8, and changed to number to 1010 (binary 10). Then I charged the phone only to find that I could not charge the phone past 17% eep! This wasn't a problem though as rebooting the phone or returning the file to its original value restored the function to normal(rooted normal, that is..max 80%).
I've also deleted the file, then charged the phone to find that there was no effect.
I then came across a slightly older xda thread charge to 100 snapdragon root(s8 sampwn)
The thread had a great number of contributors and provided a great deal of background info, but the method described therein has become obsolete or does not apply to the Note 8 i believe.
If anyone has discovered anything effective regarding the battery max limit, I hope they will contribute that info here, or at least link to an existing thread that I may have missed.
One thing I would like to understand is what processe(s) are being employed in this battery limit system. Is it merely a sub-function of the SafetyNet, or something else? I've filtered what I believe are the pertinent logs(dmesg and logcat) trying to find reference to batt_capacity_max but have come up empty.
I have't tinkered with this in a couple days, but I plan to get back to it tomorrow. Anyone has ideas or suggestions, please contribute. personally I don't really care wether I "fix" this issue as much as I am using this pursuit to glean a better understanding of the android/samsung subsystems relative to it. .. to fix it, of course, is ideal.
delete

Screen turns on when plugging in for charge / High Volume warning Mods?

Hello!
I've been out of the rooting / custom rom game for awhile (last used with my galaxy s5) and I had a couple of questions for the community. I've been looking at rooting my phone and installing a custom rom basically only for these two things that keep bothering me.
1. Phone turns on screen when placed on charger. I won't explain why this annoys me and I've read all the posts where people are like "just set your time out to 30 seconds". I have a long time out because I am a musician and I use the phone at times for reading music. My nightly routin consists of placing my phone on my wireless charger and then pressing the power button to turn the screen off. I'd just like the phone to start charging without turning the screen back on. Minor inconvience I know, but we live in 2019 and I should be able to customize my phone the way I want, right?
2. When I'm listening to music over bluetooth, I try to increase the volume and get the "listening at high volumes..." notification. I would like to disable this permantely. I know that it goes away after hitting okay once, but it comes back after restarting. This is esspecially troubling while in the car and I have to look down at the phone and press the button making it more of a risk than it "helping me with loud volumes".
I remember using roms years ago that addressed these two specific problems and I loved them for that. So my question is, are there any fancy rooted mods I can do to my phone to disable these things, or is there a ROM that specifically addresses these issues I have? Are there files I can delete, or code I can modify? Ideally I can just disable these two things and stay stock, but I'm down for anything at this point.
Running a Unlocked Galaxy S8 SM-G950U1 with Android version 8.0.0.
Thank you for your help XDA community!
-M
mikeymasonic said:
Hello!
I've been out of the rooting / custom rom game for awhile (last used with my galaxy s5) and I had a couple of questions for the community. I've been looking at rooting my phone and installing a custom rom basically only for these two things that keep bothering me.
1. Phone turns on screen when placed on charger. I won't explain why this annoys me and I've read all the posts where people are like "just set your time out to 30 seconds". I have a long time out because I am a musician and I use the phone at times for reading music. My nightly routin consists of placing my phone on my wireless charger and then pressing the power button to turn the screen off. I'd just like the phone to start charging without turning the screen back on. Minor inconvience I know, but we live in 2019 and I should be able to customize my phone the way I want, right?
2. When I'm listening to music over bluetooth, I try to increase the volume and get the "listening at high volumes..." notification. I would like to disable this permantely. I know that it goes away after hitting okay once, but it comes back after restarting. This is esspecially troubling while in the car and I have to look down at the phone and press the button making it more of a risk than it "helping me with loud volumes".
I remember using roms years ago that addressed these two specific problems and I loved them for that. So my question is, are there any fancy rooted mods I can do to my phone to disable these things, or is there a ROM that specifically addresses these issues I have? Are there files I can delete, or code I can modify? Ideally I can just disable these two things and stay stock, but I'm down for anything at this point.
Running a Unlocked Galaxy S8 SM-G950U1 with Android version 8.0.0.
Thank you for your help XDA community!
-M
Click to expand...
Click to collapse
You need a modified Frame Jar so you can be able to have the screen stay off when you put in the charger if you was willing to install xposed I can lead you to a Module that resolves your first issue... For your second issue the same module resolves that issue also
([emoji3590]09-09-18[emoji3590])
You need a modified Frame Jar so you can be able to have the screen stay off when you put in the charger if you was willing to install xposed I can lead you to a Module that resolves your first issue... For your second issue the same module resolves that issue also
Click to expand...
Click to collapse
I'd be way into that! Please lead the way! So if I'm understanding correctly, I will need to root, flash a recovery such as TWRP, install Xposed frameworks as shown here for Oreo (my current OS), install the APK, and install the modules you point me to? Will I need to flash the stock OS again after installing the recovery? Please let me know if the link I added is out of date and if there's a newer thread. Also I am curious as to what the preferred/most up to date rooting method is for an unlocked Galaxy S8 if someone wouldn't mind sharing a link? It seems as there are a few more steps than what I was used to years ago, but I'm definitely down to dig in. Thank you for your help!
-M
PoochyX said:
You need a modified Frame Jar so you can be able to have the screen stay off when you put in the charger if you was willing to install xposed I can lead you to a Module that resolves your first issue... For your second issue the same module resolves that issue also
([emoji3590]09-09-18[emoji3590])
Click to expand...
Click to collapse
I'm now realizing I may be in some trouble as I've been doing some more digging. Am I correct that because I have an SM-G950U1 Snapdragon US "Unlocked" phone, that I have a locked bootloader and therefore cannot root?
The only thing that looks hopeful I've been seeing is with this guide, but the rom is for Nougat: here
I'd prefer to stay "stock" Oreo if possible.
Can I even install TWRP or Xposed without root on Oreo?
Thanks for your help.
Can anyone help with this? Thanks!
mikeymasonic said:
I'm now realizing I may be in some trouble as I've been doing some more digging. Am I correct that because I have an SM-G950U1 Snapdragon US "Unlocked" phone, that I have a locked bootloader and therefore cannot root?
The only thing that looks hopeful I've been seeing is with this guide, but the rom is for Nougat: here
I'd prefer to stay "stock" Oreo if possible.
Can I even install TWRP or Xposed without root on Oreo?
Thanks for your help.
Click to expand...
Click to collapse

Categories

Resources