5,596,235 Members 35,786 Now Online
XDA Developers Android and Mobile Development Forum

[HOWTO] Finally! a REAL solution to disable noise reduction

Tip us?
 
tarobun
Old
#121  
tarobun's Avatar
Member
Thanks Meter 33
Posts: 41
Join Date: Dec 2011
In some (most?) roms, you can turn on and off the noise reduction during a phone call by using the menu button - menu option is called "Noise Reduction On/Off". With the noise reduction "on" the icon is shown, when it is "off" the icon disappears.

The reason I said "some roms" is because I couldn't see that option in the CheckROM RevoHD™ V6.

You can only change the noise reduction during a phone call, not while dialling or ringing. Although you can turn it on/off during the call, it will not remember the state... it will always start "off" (the original Phone.apk will always start "on").

And no, I didn't delete anything. Just changed a 1 ("on") to a 0 ("off"). The smaller apk size is due to the compression of the classes.dex.

I used the hex editor 0xED for Mac OSX.
The Following User Says Thank You to tarobun For This Useful Post: [ Click to Expand ]
 
croperas
Old
#122  
Member
Thanks Meter 8
Posts: 75
Join Date: Oct 2011
Thanks a lot for your help
 
Jrhoop
Old
#123  
Jrhoop's Avatar
Senior Member
Thanks Meter 190
Posts: 383
Join Date: Dec 2010
tarobun - many thanks for your work on this. Tested and it works. My only mistake was trying to edit the hex file for the phone.apk instead of the phone.odex file. Duhhhh!
 
alf69mi
Old
#124  
alf69mi's Avatar
Senior Member
Thanks Meter 20
Posts: 160
Join Date: Feb 2009
Location: Milan
Hello tarobun,
just installed stock ICS XXLPQ , and in new Phone.odex i'm unable to find string 32 84 2F 00 12 13 .

Would it be possible to fix ICS Phone.odex?
Thanks
 
Stink
Old
#125  
Stink's Avatar
Member
Thanks Meter 6
Posts: 61
Join Date: Jul 2007
Location: Moscow
You can activate the noise suppression in my dialer?
Here is the link above to post, thanks in advance!
Do you Smell what The Rock is Cookin?
 
diavolo_78
Old
(Last edited by diavolo_78; 12th April 2012 at 09:59 AM.)
#126  
Junior Member
Thanks Meter 6
Posts: 23
Join Date: Apr 2009
Quote:
Originally Posted by tarobun View Post
Most ROM have a slightly different version of Phone.apk so it's best to modify the one that came with your ROM.

Having said that, the fix is very simple (just changing a 1 to a 0) so you could hex-edit the apk/odex directly... how good is your hex editing skills?

To make the changes via hex editing, do the following:

For odex ROMs:
  1. Download the Phone.odex file
  2. Open in hex editor
  3. Search for the bytes: 32 84 2F 00 12 13 (there should be only 1 match)
  4. Change the last byte to 03
  5. Save and upload Phone.odex to /system/app
  6. Reboot

For dexodex ROMs:
  1. Download the Phone.apk file
  2. Extract the classes.dex file (unzip Phone.apk classes.dex)
  3. Open in hex editor
  4. Search for the bytes: 32 84 2F 00 12 13 (there should be only 1 match)
  5. Change the last byte to 03
  6. Save and add classes.dex back to apk (zip Phone.apk classes.dex)
  7. Upload Phone.apk to /system/app
  8. Reboot

Otherwise upload your Phone.apk and I'll make the change for u.
Hello and thank you for your edit . I would also change the file phone will ask you some info I have is phone.odex the file , the file phone.apk with the green phone icon ... which of these files should I change ? Ginger is the rom 2.3.6 . KK2 poland .

Once changed just plug it in / system / app and overwrite the original after backing up ?
 
firero
Old
(Last edited by firero; 15th April 2012 at 11:36 PM.)
#127  
Junior Member
Thanks Meter 3
Posts: 2
Join Date: Dec 2009
Default update for ics 4.0.3

Quote:
Originally Posted by tarobun View Post
Most ROM have a slightly different version of Phone.apk so it's best to modify the one that came with your ROM.

Having said that, the fix is very simple (just changing a 1 to a 0) so you could hex-edit the apk/odex directly... how good is your hex editing skills?

To make the changes via hex editing, do the following:

For odex ROMs:
  1. Download the Phone.odex file
  2. Open in hex editor
  3. Search for the bytes: 32 84 2F 00 12 13 (there should be only 1 match)
  4. Change the last byte to 03
  5. Save and upload Phone.odex to /system/app
  6. Reboot

For dexodex ROMs:
  1. Download the Phone.apk file
  2. Extract the classes.dex file (unzip Phone.apk classes.dex)
  3. Open in hex editor
  4. Search for the bytes: 32 84 2F 00 12 13 (there should be only 1 match)
  5. Change the last byte to 03
  6. Save and add classes.dex back to apk (zip Phone.apk classes.dex)
  7. Upload Phone.apk to /system/app
  8. Reboot

Otherwise upload your Phone.apk and I'll make the change for u.
for ICS 4.0.3 you will have to search for 10 01 22 00 D6 and replace 10 with 20

smali :

.method private onPhoneStateChanged(Landroid/os/AsyncResultV
...
invoke-static {v0, v1, v1}, Lcom/android/phone/PhoneUtils;->turnOnNoiseSuppression(Landroid/content/Context;ZZ)V

second parameter has to be modified to v2:

invoke-static {v0, v2, v1}, Lcom/android/phone/PhoneUtils;->turnOnNoiseSuppression(Landroid/content/Context;ZZ)V
The Following 3 Users Say Thank You to firero For This Useful Post: [ Click to Expand ]
 
bazzag
Old
#128  
bazzag's Avatar
Senior Member
Thanks Meter 96
Posts: 191
Join Date: Jul 2011
Location: Amman
FYI...If you want an echo-free ROM go for CM9, as it doesn't have NR implemented yet, hopefully never.
 
ctomgee
Old
#129  
Senior Member
Thanks Meter 901
Posts: 3,564
Join Date: Dec 2010
Quote:
Originally Posted by bazzag View Post
FYI...If you want an echo-free ROM go for CM9, as it doesn't have NR implemented yet, hopefully never.
Or, you could follow these directions (http://forum.xda-developers.com/show....php?t=1441510). If it works, then you can use whatever ROM you want, with or without NR.

I did this, and now with NR defaulted on and a case on the phone, no echo.

I used to have a modded phone with NR defaulted off, but I decided that one of the features of this phone that I paid for was NR, so I wanted it working.
I never wanted to have a signature, but it seems I must. Please do not PM me directly for technical support. I mean it! No exceptions! Thank you.

Everyone (esPECIALLY n00bs) should read this.
 
x625
Old
#130  
Member
Thanks Meter 8
Posts: 66
Join Date: Oct 2011
Quote:
Originally Posted by tarobun View Post
Most ROM have a slightly different version of Phone.apk so it's best to modify the one that came with your ROM.

Having said that, the fix is very simple (just changing a 1 to a 0) so you could hex-edit the apk/odex directly... how good is your hex editing skills?

To make the changes via hex editing, do the following:

For odex ROMs:
  1. Download the Phone.odex file
  2. Open in hex editor
  3. Search for the bytes: 32 84 2F 00 12 13 (there should be only 1 match)
  4. Change the last byte to 03
  5. Save and upload Phone.odex to /system/app
  6. Reboot

For dexodex ROMs:
  1. Download the Phone.apk file
  2. Extract the classes.dex file (unzip Phone.apk classes.dex)
  3. Open in hex editor
  4. Search for the bytes: 32 84 2F 00 12 13 (there should be only 1 match)
  5. Change the last byte to 03
  6. Save and add classes.dex back to apk (zip Phone.apk classes.dex)
  7. Upload Phone.apk to /system/app
  8. Reboot

Otherwise upload your Phone.apk and I'll make the change for u.
hello tarobun
I really appreciate you if you can update your string value for ICS odex roms because after I updated to ICS again suffer from this problem and don't want to use some physical way to open my phone and the code don't exist on official ICS roms

thank you so much

Tags
disable noise reduction, i9100
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes