Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
JsChiSurf
Old
(Last edited by JsChiSurf; 13th June 2010 at 02:51 AM.)
#1  
JsChiSurf's Avatar
Recognized Developer - OP
Thanks Meter 727
Posts: 2,177
Join Date: Feb 2010
Location: Chicago

 
DONATE TO ME
Default [MOD]Remove 'End Call' Soft Key While Call in Progress - Updated 5/26 for Fresh 2.1.2

Updated 5/26/10 with new version supporting Fresh 2.1.2. See Here for download.

Okay, some of you saw my initial failed attempt at this mod, for removing the 'end call' virtual key / button on the screen, while a call is in progress.

The purpose of this mod is to prevent accidentally hanging up on a caller, by having your face press the 'end call' virtual button. There are even apps in the market to try and address this, so I'm guessing the issue is widespread for people.

On my first attempt, I inadvertently removed the entire bottom row, which was problematic, as it prevented you from being able to enter numbers, etc, during a voice prompt.

I was unable to find a way to remove JUST the 'end call' button, without removing the entire bottom row, so I decided to take a different approach, which is the end product posted here.

This approach seeks to simply disable the key press event on the 'end call' key. This way, we don't have to worry about removing the button, just disabling its function. As a result of disabling, I then went and removed the 'End call' text from the button, and turned it from red to gray, to essentially show it as disabled / non-functional.

To end a call using this mod, simply press the 'red' end call hard key on your phone.

Reference: (obsoleted, see second screenshot)


EDIT: After some additional tinkering, I was able to find a way, through a combination with the original mod, to now remove for display the button all together. The original .zip has been updated accordingly.

Reference:


This mod may not be for you, but if you frequently experience this sort of problem, hopefully this helps.

Download Update <---Flash via recovery

Always nandroid. I don't believe I broke anything, but I very well could have.
 
98classic
Old
#2  
98classic's Avatar
Senior Member
Thanks Meter 0
Posts: 390
Join Date: Dec 2007
Location: redlands, ca
would it be possible to give the button a different function? such as turning off the backlight?
 
JsChiSurf
Old
#3  
JsChiSurf's Avatar
Recognized Developer - OP
Thanks Meter 727
Posts: 2,177
Join Date: Feb 2010
Location: Chicago

 
DONATE TO ME
Quote:
Originally Posted by 98classic View Post
would it be possible to give the button a different function? such as turning off the backlight?
Not easily, but nothing is impossible .
 
mountaindont
Old
#4  
Account currently disabled
Thanks Meter 0
Posts: 615
Join Date: Mar 2010
Location: Detroit, MI
dude. you are on a ROLL my man!
 
regaw_leinad
Old
#5  
regaw_leinad's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 3195
Posts: 3,489
Join Date: Jan 2010
Location: Seattle, WA
Quote:
Originally Posted by JsChiSurf View Post
Not easily, but nothing is impossible .
You are crazy man!
you keep bringing these new things to the table and everyone loves it.
Keep up the great work!

This was all smali editing huh?
Device: HTC EVO 4G LTE | Hardware Version: 0003
Recovery:TWRP 2.3.3.0 | Bootloader: S-OFF
ROM: CM10.1



My Development Threads

Watch my programming tutorials on YouTube - BetterCoder
Hosting a YouTube Giveaway? Use my new application GiveMeAway

For support, join me at #RegawMOD on freenode HERE.
I'm also a professional musician - YouTube - SoundCloud


Please don't post just to say "Thanks" - There's a button for that . Be sure to use it!
 
doojer
Old
#6  
Senior Member
Thanks Meter 0
Posts: 324
Join Date: Nov 2009
Yes!!!!!

Thank you SO much! I really, really, need this. I must have a pointy face or something.

Downloading now....
 
98classic
Old
#7  
98classic's Avatar
Senior Member
Thanks Meter 0
Posts: 390
Join Date: Dec 2007
Location: redlands, ca
Quote:
Originally Posted by JsChiSurf View Post
Not easily, but nothing is impossible .
lol, i hear ya, well good stuff with the rotary and the clock removal im using both. and the only thing i hate about this phone vs. my old winmo phone is being able to turn the backlight off while on the phone and my cheek doing all sorts of crap when im on a call haha. thanks
 
JsChiSurf
Old
#8  
JsChiSurf's Avatar
Recognized Developer - OP
Thanks Meter 727
Posts: 2,177
Join Date: Feb 2010
Location: Chicago

 
DONATE TO ME
Quote:
Originally Posted by regaw_leinad View Post
You are crazy man!
you keep bringing these new things to the table and everyone loves it.
Keep up the great work!

This was all smali editing huh?
Thanks. Yes, this mod encompassed smali edits, a resource.arsc edit, and some .9 png changes. I have to be honest, this one took more effort than expected! It was an all-nigther .
 
sud_hotline
Old
#9  
sud_hotline's Avatar
Member
Thanks Meter 0
Posts: 46
Join Date: Feb 2010
Location: Houston, TX
Thanks a lot for this mod, downloading now.
have been accidentally ending calls a lot, this will definitely help.
 
Kcarpenter
Old
#10  
Kcarpenter's Avatar
Senior Member
Thanks Meter 146
Posts: 3,348
Join Date: Nov 2009
Location: Clinton, TN
Default Re: [MOD] Disable 'End Call' Soft Key / Button v2.0

is this metamorph or update.zip?

Sent from my HERO200 using the XDA mobile application powered by Tapatalk
-----------------
-HTC EVO LTE - Stock ATM
Google+: Karl Carpenter
FaceBook: http://www.facebook.com/kcarpenter5407
Twitter: @KCarpenter528

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Permanent Screen Off for the Visually Impaired

Most of us take the simple act of waking up our devices and having a quick glance at the … more

App Analytics, or the Death of the Independent App Developer

This is entry number one in a series of articles about tools for app developers, … more

Serajr Power Toggles Brings Settings to the Small App World

Ever since the introduction of multi-window with things like Cornerstone and … more