Micromax Yureka: Indian Handset with CyanogenMod

Thesoap opera involving Cyanogen Inc., OnePlus, and Micromax is one of the most talked about … more

Chainfire Turns Your Bootanimation into a Logging Center

Having a nice boot animation certainly adds a little bit of aesthetic polish to your … more

Android TV Launcher Pushed to Google Play

Over the past decade, the tech universe has seen two drastic and widely contrasting changes with … more

Cyngn, OnePlus, Micromax – The Legal Battle

Recently, a battle has been waging in India over the rights to distribute the commercial … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP JsChiSurf

28th April 2010, 06:07 PM   |  #1  
JsChiSurf's Avatar
OP Recognized Developer
Hacksville
Thanks Meter: 1,249
 
2,334 posts
Join Date:Joined: Feb 2010
Donate to Me
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.
Last edited by JsChiSurf; 13th June 2010 at 03:51 AM.
28th April 2010, 06:09 PM   |  #2  
98classic's Avatar
Senior Member
Flag redlands, ca
Thanks Meter: 17
 
441 posts
Join Date:Joined: Dec 2007
More
would it be possible to give the button a different function? such as turning off the backlight?
28th April 2010, 06:10 PM   |  #3  
JsChiSurf's Avatar
OP Recognized Developer
Hacksville
Thanks Meter: 1,249
 
2,334 posts
Join Date:Joined: Feb 2010
Donate to Me
Quote:
Originally Posted by 98classic

would it be possible to give the button a different function? such as turning off the backlight?

Not easily, but nothing is impossible .
28th April 2010, 06:11 PM   |  #4  
Account currently disabled
Flag Detroit, MI
Thanks Meter: 0
 
615 posts
Join Date:Joined: Mar 2010
dude. you are on a ROLL my man!
28th April 2010, 06:12 PM   |  #5  
regaw_leinad's Avatar
Recognized Contributor / Recognized Developer
Flag Seattle, WA
Thanks Meter: 3,665
 
3,665 posts
Join Date:Joined: Jan 2010
More
Quote:
Originally Posted by JsChiSurf

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?
28th April 2010, 06:12 PM   |  #6  
Senior Member
Thanks Meter: 2
 
332 posts
Join Date:Joined: Nov 2009
Yes!!!!!

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

Downloading now....
28th April 2010, 06:13 PM   |  #7  
98classic's Avatar
Senior Member
Flag redlands, ca
Thanks Meter: 17
 
441 posts
Join Date:Joined: Dec 2007
More
Quote:
Originally Posted by JsChiSurf

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
28th April 2010, 06:14 PM   |  #8  
JsChiSurf's Avatar
OP Recognized Developer
Hacksville
Thanks Meter: 1,249
 
2,334 posts
Join Date:Joined: Feb 2010
Donate to Me
Quote:
Originally Posted by regaw_leinad

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 .
28th April 2010, 06:19 PM   |  #9  
sud_hotline's Avatar
Member
Flag Houston, TX
Thanks Meter: 0
 
46 posts
Join Date:Joined: Feb 2010
More
Thanks a lot for this mod, downloading now.
have been accidentally ending calls a lot, this will definitely help.
28th April 2010, 06:23 PM   |  #10  
Kcarpenter's Avatar
Senior Member
Flag Clinton, TN
Thanks Meter: 146
 
3,343 posts
Join Date:Joined: Nov 2009
More
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

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes