Post Reply
Talking

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

21st February 2012, 11:16 AM   |  #121  
tarobun's Avatar
Member
Thanks Meter: 33
 
41 posts
Join Date:Joined: 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: [ View ]
21st February 2012, 08:10 PM   |  #122  
Member
Thanks Meter: 9
 
88 posts
Join Date:Joined: Oct 2011
Thanks a lot for your help
12th March 2012, 12:30 AM   |  #123  
Jrhoop's Avatar
Senior Member
Thanks Meter: 221
 
465 posts
Join Date:Joined: Dec 2010
More
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!
15th March 2012, 10:34 AM   |  #124  
alf69mi's Avatar
Senior Member
Milan
Thanks Meter: 21
 
164 posts
Join Date:Joined: Feb 2009
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
26th March 2012, 08:01 PM   |  #125  
Stink's Avatar
Member
Flag Moscow
Thanks Meter: 9
 
66 posts
Join Date:Joined: Jul 2007
You can activate the noise suppression in my dialer?
Here is the link above to post, thanks in advance!
12th April 2012, 09:52 AM   |  #126  
Junior Member
Thanks Meter: 6
 
23 posts
Join Date:Joined: Apr 2009
Quote:
Originally Posted by tarobun

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 ?
Last edited by diavolo_78; 12th April 2012 at 09:59 AM.
15th April 2012, 11:32 PM   |  #127  
Junior Member
Thanks Meter: 3
 
2 posts
Join Date:Joined: Dec 2009
update for ics 4.0.3
Quote:
Originally Posted by tarobun

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
Last edited by firero; 15th April 2012 at 11:36 PM.
The Following 3 Users Say Thank You to firero For This Useful Post: [ View ]
15th April 2012, 11:39 PM   |  #128  
bazzag's Avatar
Senior Member
Flag Amman
Thanks Meter: 96
 
191 posts
Join Date:Joined: Jul 2011
More
FYI...If you want an echo-free ROM go for CM9, as it doesn't have NR implemented yet, hopefully never.
16th April 2012, 01:53 AM   |  #129  
Senior Member
Thanks Meter: 904
 
3,572 posts
Join Date:Joined: Dec 2010
Quote:
Originally Posted by bazzag

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.
17th April 2012, 05:11 PM   |  #130  
Member
Thanks Meter: 8
 
66 posts
Join Date:Joined: Oct 2011
Unhappy
Quote:
Originally Posted by tarobun

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

Post Reply Subscribe to Thread

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

Advanced Search
Display Modes


Top Threads in Galaxy S II Themes and Apps by ThreadRank