yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] Ty5982:
try flashing recovery 5.0.2.6 or download HD2 TOOLKIT,best program out there,everything u need all on page,so easy to use
[HD2 Android Q&A, Help & Troubleshooting and Genera] Ridil:
i did used HD2 toolkit

and installed CLK

then recovery from HD2 toolkit

and that error what i got

flash_read_image : failed (511 errors )

Error : cannot read recovery header

at the last line

cmdline : no console suspend = 1 wire.search_count=5 clk=1.4.0.1
[HD2 Android Q&A, Help & Troubleshooting and Genera] mail2richard:
i have the same problem ...

-> Android load at 11800000

from NAND

yaffs2 part is /system

Load zImage

Load initrd.gz

[K]11808000:224ac0 12200000:281E6C

Load done!

123456

Go Go Go!

another thing to mention

tried to install WP7 using the same way

loaded successfully to the welcome screen

then when i touch screen to go on

it doesn't recognize that i did touched the screen

when i press the hard keys like volume or power

it's working

i installed other android rom tried other partitions like 150/ 200/ 250 and tried various rom, still stuck at 123456, gogogo, tried to boot up from sd card, but i dunno what are the files that are supposed to be on the sd card, so its still stuck at 123456, gogogo too

so what can i do now ..
[HD2 Android Q&A, Help & Troubleshooting and Genera] Ty5982:
format ur sd card and put the rom bk on ur sd card then try again,normally does the trick
[HD2 Android Q&A, Help & Troubleshooting and Genera] mail2richard:
what are the files on the SD card?

most of the time after i downloaded a zipped rom .. i have no idea what other files is needed.. also my clockworkmod dun appear to be working well even after a few installation (can i have a link) and i can only install using DAF.exe ... any DAF andriod rom 2.3 and up to recommend ? Thanks
[HD2 Android Q&A, Help & Troubleshooting and Genera] Ty5982:
running from daf is no more lol,are u using clkwork or magldr,either way the rom has to be on ur sd card in zip format obviously lol and thats it,but when u download a rom make sure u download the right 1,it shud say if its for clkwrk or magldr,also im using recovery 5.0.2.6,also does the rom u download require sd-ext(partitioning ur sd card) as for rom choice,i'd go for TBD ROM v.2.3,FU#KING SUPERB ROM,i've had it for a few days now,flashed the red theme,not been this happy with my fone for along time,i won't be flashing anything else for along time lol
[HD2 Android Q&A, Help & Troubleshooting and Genera] mail2richard:
i have the same issue.. any solutions ?
[HD2 Android Q&A, Help & Troubleshooting and Genera] sirsiggi:
Same here... any solutions???
[HD2 Android Q&A, Help & Troubleshooting and Genera] faizul_emizal:
same here... what is the problem actualy? :(
[HD2 Android Q&A, Help & Troubleshooting and Genera] leo_ng:
i have the same problem~

>.<~~~

i think it is a hardware problem coz i open my hd2 in order to change the screen then start this problem.

but i dont understand why i can use and flash to WM 6.5 it's no problem.....

only Android...........

i help my Family (5 HD2)flash HD2 to Android many many times.~

i dont think is operating problem.......

i hv try MTTY but no use.

The following is a reference, we can c "task 29" is Abnormal.

You can also upload to share~

Cmd>set 14

crc=0xD2C8DA7F.
[Captivate Themes and Apps] caulton:
I am NOT the dev of the app but figured i should share it on the cappy forum:D

the link to the original thread is below

http://xdaforums.com/showthread.php?t=1325248

Steps to install :

a) place file "latinIME_2.APK" in your sd card

b) open root explorer

C) Go to sdcard n find the place where u kept latinIME_2.apk in your sdcard

D) copy it to system>apps

E) set the permissions to rw-r--r-- by ticking the all three in "read" column and tick the first in the "write" column.

F) and then press ok and then reboot.

link 1 (megaupload)= http://www.megaupload.com/?d=E5D6E8KA

link 2 (mediafire) = http://www.mediafire.com/?aehxcsb88l6bl2o

link 3 (hotfile)= http://hotfile.com/dl/133742651/096d...IME_2.apk.html

link 4 (dropbox) = http://dl.dropbox.com/u/47466890/LatinIME_2.apk
[Captivate Themes and Apps] AnarchoXen:
You get it working?
[Captivate Themes and Apps] nakedninja42:
I got it working after I removed the stock gingerbread keyboard. That should be added to the instructions...
[Captivate Themes and Apps] caulton:
u don't have to remove the GB keyboard or rename the apk just change the permissions and reboot

the only thing that i noticed not working is the vibration:(
[Captivate Themes and Apps] xTRUEx:
the vibrations work for me...
[Captivate Themes and Apps] TheJive:
Your instructions were perfect .. works great on my Captivate running Pinnacle 1.3 !! Thanks!!
[Captivate Themes and Apps] caulton:
how did u get the vibration to work

im on the latest miui with glitch v12
[Captivate Themes and Apps] TRusselo:
why is the version of the app 2.3.7 ? that is not ice cream sandwich !
[Captivate Themes and Apps] technobabble042:
I had to delete the stock keyboard on KJ3. Guess it differs from rom to rom?

EDIT: Is it just me, or is this just a themed version of the 2.3 keyboard? Doesn't have the new autocorrect layout that the ICS keyboard is supposed to have.
[Captivate Themes and Apps] TRusselo:
because its not ICS. i opened the app with android commander on my pc to side load it to system (it can do that) and it came up with the app info and its 2.3.7 build
[Captivate Themes and Apps] fritzgerald:
Definitely just a themed version of GB keyboard
[Captivate Themes and Apps] Jirv311:
Yup. It's originally from this thread. Last one in the list. Works well though and nice and clean looking. But definitely not from ICS.
[Captivate Themes and Apps] designfears:
Works on Obsession JVT but vibrate on key press isn't working.
[Galaxy S II Themes and Apps] drorsi:
I searched a solution to disable NR in the beginning of the call. I had an echo problem in my phone, and the only way to fix it was to disable the NR.

The problem - each time you place or answer a call we need to go to menu and disable it.

All the codes that posted here didn't disable the NR. they only disabled the menu.

After digging for a few days in the smali of the Phone.apk I found the solution -

You need to edit CallNotifier.smali -

Search for - turnOnNoiseSuppression and rem the line

In my case it looks like this.

.line 957
.local v3, noise_reduction:Z
iget-object v8, p0, Lcom/android/phone/CallNotifier;->mApplication:Lcom/android/phone/PhoneApp;

const/4 v9, 0x1

[COLOR="Red"]# [/COLOR]invoke-static {v8, v3, v9}, Lcom/android/phone/PhoneUtils;->turnOnNoiseSuppression(Landroid/content/Context;ZZ)V

And in PhoneApp$PhoneAppBroadcastReceiver.smali (not all APk's needs it)-

.line 1930
sget-object v1, Lcom/android/phone/PhoneUtils$AMRState;->WB:Lcom/android/phone/PhoneUtils$AMRState;

invoke-static {v1}, Lcom/android/phone/PhoneUtils;->setAMRCodec(Lcom/android/phone/PhoneUtils$AMRState;)V

.line 1940
:goto_9
iget-object v1, p0, Lcom/android/phone/PhoneApp$PhoneAppBroadcastReceiver;->this$0:Lcom/android/phone/PhoneApp;

invoke-virtual {v1}, Lcom/android/phone/PhoneApp;->getApplicationContext()Landroid/content/Context;

move-result-object v1

invoke-static {v1}, Lcom/android/phone/PhoneUtils;->isSupportedNoiseReductionInWBMode(Landroid/content/Context;)Z

move-result v1

if-nez v1, :cond_21

if-ne v0, v5, :cond_21

iget-object v0, p0, Lcom/android/phone/PhoneApp$PhoneAppBroadcastReceiver;->this$0:Lcom/android/phone/PhoneApp;

invoke-virtual {v0}, Lcom/android/phone/PhoneApp;->getApplicationContext()Landroid/content/Context;

move-result-object v0

invoke-static {v0}, Lcom/android/phone/PhoneUtils;->isNoiseSuppressionOn(Landroid/content/Context;)Z

move-result v0

if-ne v0, v5, :cond_21

.line 1943
iget-object v0, p0, Lcom/android/phone/PhoneApp$PhoneAppBroadcastReceiver;->this$0:Lcom/android/phone/PhoneApp;

invoke-virtual {v0}, Lcom/android/phone/PhoneApp;->getApplicationContext()Landroid/content/Context;

move-result-object v0

[COLOR="Red"]# [/COLOR]invoke-static {v0, v4, v4}, Lcom/android/phone/PhoneUtils;->turnOnNoiseSuppression(Landroid/content/Context;ZZ)V

Different apk's versions may have different line number and variables numbers.

This change will make the phone starts calls with NR off. (may not work in the first call after the phone boots up - looking for a fix)

you can still turn it on if you want, during the call

Enjoy!
[Galaxy S II Themes and Apps] ctomgee:
This is driving me insane.

I cannot, for the life of me, get a smali folder when I decompile Phone.apk. I've tried using APKManager 4.9, and directly using APKTool.

Using APKManager, I set my project, decompile with dependencies, drag twframework-res.apk when asked.

Using APKTool, I type:

apktool d Phone.apk

Both methods, all I get are a res folder, AndroidManifest.xml, and apktool.yml.

Is there something I am missing?
[Galaxy S II Themes and Apps] petsasj:
Yeah, you're missing the fact that your ROM is probably odexed and not deodexed.
[Galaxy S II Themes and Apps] ctomgee:
Such a simple answer... *sigh*

You are correct. So how can I edit the .smali file of an odexed Phone.apk?

EDIT: Nevermind... I supposed I can just find a deodexed Phone.apk to make the change on, yeah?
[Galaxy S II Themes and Apps] petsasj:
Finding a deodexed Phone.apk is probably easiest fo you. I don't think you're accustomed to smali/baksmali deodexing procedures? There's a nice How-To by sicopat, but still, get a deodexed Phone.apk
[Galaxy S II Themes and Apps] ctomgee:
Just started learning about deodexing, yeah. I think I've found a deodexed Phone.apk for my ROM version, thanks for your help.
[Galaxy S II Themes and Apps] SignalX:
thanks but what about MIUI and CM7 roms?

i have echo problem in these roms!

cheers,

SX
[Galaxy S II Themes and Apps] knightnz:
Have you looked to see if that same line is in the file?
[Galaxy S II Themes and Apps] yay1974:
Anyone can confirm it really works?

Thank you for the solution but can anyone post deodexed phone.apk with this solution here (xxki4 or xwkj3)?
[Galaxy S II Themes and Apps] ctomgee:
I can confirm that it DOES work. I was able to edit a deodexed Phone.apk from XXKI3, and now it defaults NR to being OFF during calls. (though, as drorsi states in the OP, it is still on for the first call after the phone boots). You still have the option of turning it on during the call if you wish.

You can find what you need to know on how to decompile/recompile .apk files at http://xdaforums.com/showthread.php?t=695701.
[Galaxy S II Themes and Apps] v0dKa.mL:
i try to do this fix into the phone.apk from checkrom with call record but i didn´t find the CallNotifier.smali so i give up ;( maybe someone can help me please `

Greetz Marcel
[Galaxy S II Themes and Apps] SignalX:
no

you think its same?

can you please check mate?

cheers,

SX
[Galaxy S II Themes and Apps] v0dKa.mL:
maybe someone can help me please so i upload the phone.apk

http://www.megaupload.com/?d=GEEHBN37

thx in advice

v0dKa
[Galaxy S II Themes and Apps] eseregin:
Guys, could somebody be so kindly and share with us Phone.apk with NR off as default for last software KJ3 please?

ps

v0dKa, that the apk is it? from what version, why, could you explain please?
[Galaxy S II Themes and Apps] v0dKa.mL:
Sorry its the apk from the checkrom rom :-) with call record

When someone have a patched apk without record but with non increasing ringtone for the kj3 please upload it
[Galaxy S II Themes and Apps] Tiim:
Same here on CM7, solution would be welcome! (BTW there is a disable noise reduction tweak in VillainROM's VRTweaks)
[Galaxy S II Themes and Apps] Jossermuntjewerf:
I've got the same problem with CM7 (and other ROM's btw).

Driving me insane as well.

Is there anyone kind enough to help me with this problem?

I tried the villain rom as well, with the villain tweak. But that doesnt seem to work either....
[Galaxy S II Themes and Apps] code72:
Help

A question:

i used apkmanager and followed 1st post instructions for .smali files but when i recompile apk it asks to delete modified files from "keep" folder, what must i do?
[Galaxy S II Themes and Apps] ctomgee:
When recompiling, there will be a "keep" folder at some point. (you will be prompted on this step) Delete any file you might have edited from this folder at this step. If you edited any xml files, you'll need to delete the resources.arsc file.
[Galaxy S II Themes and Apps] code72:
Ok, but in "keep" folder there aren't .smali file so how can i delete them?
[Galaxy S II Themes and Apps] ctomgee:
Just like editing any .xml file will result in a new resources.arsc file you will have to delete in this step, editing .smali files will result in a new classes.dex file. You will have to delete that file from the "keep" folder during this step.
[Galaxy S II Themes and Apps] newHere:):
i'm supposed to delete only this row?

invoke-static {v8, v3, v9}, Lcom/android/phone/PhoneUtils;->turnOnNoiseSuppression(Landroid/content/Context;ZZ)V

or the hole of this?

.line 957
.local v3, noise_reduction:Z
iget-object v8, p0, Lcom/android/phone/CallNotifier;->mApplication:Lcom/android/phone/PhoneApp;

const/4 v9, 0x1

# invoke-static {v8, v3, v9}, Lcom/android/phone/PhoneUtils;->turnOnNoiseSuppression(Landroid/content/Context;ZZ)V

thanks :)
[Galaxy S II Themes and Apps] ctomgee:
The first one. Though note: the "#" character essentially comments out the line of code. So putting "#" in front (as it is in your second example) will have the same effect as totally removing the line once the package is recompiled.
[Galaxy S II Themes and Apps] newHere:):
thanks :)

i know that // is for a comment...

what language is this smali file is written on ? :o

after i'm changing this, on the first call after a reboot i need to disable the NR manually?

or i have nothing to do on the first call ?
[Galaxy S II Themes and Apps] ctomgee:
// is a comment in many languages, including java, c, c++, and c#; but # is a comment in others, such as perl, python, and ruby. Still others use other characters. SQL uses --, for example. (sorry; I'm a programmer by profession)

For me it's on for the first call after a reboot only, and can be turned off during that call.
[Galaxy S II Themes and Apps] frankcilo:
I just can not use apktool:(

Who would be so kind as to change the rom phone.apk from Criskelo KK5 V32 (with CallRec included)?

I think it would be helpful to many.

Thanks to those who will post the modified phone.apk;)

View attachment Phone.apk
[Galaxy S II Themes and Apps] bazzag:
If anyone wants a Phone.odex (For stock KJ2) with NR permanently disabled, I'll upload mine.
[Galaxy S II Themes and Apps] ronnbon:
lets organize this a little...

just a suggestion: maybe all of you who managed to mod their phone.apk could upload or send it to the thread starter with declaration from which version it is and than he or she collects them and puts them at the first posting so people could just download the apk which fits to their rom?

P.S.

I tried to mod it myself but I don't know where I get the twframework.apk at MIUI...?
[Galaxy S II Themes and Apps] newHere:):
i guess that the "tw" on twframework are stands for TouchWiz...

miui is not using the TouchWiz so you cant find it...

you probably need to find a file with a different name... but i do not use MIUI rom so i can't help you with this
[Galaxy S II Themes and Apps] ronnbon:
I thought that also so I tried it with the normal framework.apk as dependence but that didn't work- error from apk-tool: not the right dependence.

At another thread where I asked this before, I got the answer it has to be the twframework.apk... :confused:
[Galaxy S II Themes and Apps] frankcilo:
Up your Phone, I can test it on my KK5...it possible that it work fine also on kk5:)
[Galaxy S II Themes and Apps] bazzag:
Here it is, stock Phone.odex for KJ2 with Noise Cancellation permanently disabled, i.e. it can't be enabled again from the phone, so you might want to backup your Phone.odex first.

(Attached file is .rar because odex files can't be uploaded directly.)
[Galaxy S II Themes and Apps] frankcilo:
ops, my rom is deodexed!!
[Galaxy S II Themes and Apps] SignalX:
thanks

can anyone please mod phone.apk for kk5 and share it?

cheers,

SX
[Galaxy S II Themes and Apps] -ph-:
Here you have!
[Galaxy S II Themes and Apps] SignalX:
ok,

now its disabled by default when i call! let see how others hear voice now! :)

thanks in advance mate!!

cheers,

SX
[Galaxy S II Themes and Apps] -ph-:
Don't forget! If you turn off or reboot the phone, the first call that you make or receive, will have the noise reduction on.

The other calls will be with it off.

It's a bug, and drorsi, who kindly gave this solution, still looking for a solution :)
[Galaxy S II Themes and Apps] bazzag:
I fixed this issue in here:

http://xdaforums.com/showthread.php?t=1372718

Make sure you undo drorsi's changes first, both fixes didn't seem to work together last time I checked.
[Galaxy S II Themes and Apps] -ph-:
Thanks! Im gonna try that an then I report the results :-)
[Galaxy S II Themes and Apps] SignalX:
can you please mod a phone.apk for kk5 with your fix?

cheers,

SX
[Galaxy S II Themes and Apps] bazzag:
Sorry dude, currently running a stock odexed KJ2. I'm sure -ph- or someone else can upload it. :)
[Galaxy S II Themes and Apps] wollax:
Hallo, I really can't use apkmanager, not brave enough and using mac as PC ! Is it possible for someone here apply this magical patch on the attached phone.apk ? it's from a REVOHD v. 4.0 and it has the rec feature applied.

Thanks for the help !
[Galaxy S II Themes and Apps] -ph-:
Sorry man, I'm no expert :o

Following the instructions of bazzag I don't find the line that he says to change...
[Galaxy S II Themes and Apps] -ph-:
I made the changes, using bazzag's formula :p

Just change the name of the .apk
[Galaxy S II Themes and Apps] SignalX:
@ -ph-

mate, you're awesome!!! :-)

thanks u very much!

SX
[Galaxy S II Themes and Apps] frankcilo:
Can you mod Phone.apk with Call Rec from KK5 Criskelo Rom?

You are great!!!

Thanks

This is Phone.apk of Criskelo KK5 with Call Rec:

View attachment Phone.apk
[Galaxy S II Themes and Apps] -ph-:
If you want I can try to use the other formula, but it has the first call bug...
[Galaxy S II Themes and Apps] -ph-:
Guys, the Call Rec feature changes the lines presented by bazzag.

I'm no expert, and the only thing I do is follow he's instructions.

I tried to compile a phone.apk with call rec and noise supression off.

Can you try and give me feedback? (don't forget to change the name)
[Galaxy S II Themes and Apps] -ph-:
Like I did to frankcilo, here you have a Phone.apk modified.

I'm not sure if it works, so make a backup of the original.

If you could test it for me I would appreciate it :)

Note: Don't forget to change the name :p
[Galaxy S II Themes and Apps] wollax:
Very nice of you, I will test it and let you know how it works asap !

thanks a lot !
[Galaxy S II Themes and Apps] wanam:
No need to modify smali files, you just can choose "false" for the property "has_in_call_noise_suppression" in "res\values\bools.xml".

<bool name="has_in_call_noise_suppression">false</bool>
[Galaxy S II Themes and Apps] -ph-:
That will note disable the noise suppression by default. It will only disable the option to turn it on/off.
[Galaxy S II Themes and Apps] Mystenes:
-ph- is right Wanam, In Your ROM noisesupression is still on
[Galaxy S II Themes and Apps] frankcilo:
Thanks, I test it now...

Edit: it seems work well, but I can't activate noise suppression during call if I want it again
[Galaxy S II Themes and Apps] -ph-:
Yep, that's the catch of this solution.

There's another solution, that is on the first page of this post. But has a bug too.

Honestly I prefer this one ;)
[Galaxy S II Themes and Apps] frankcilo:
Ok, thanks
[Galaxy S II Themes and Apps] wollax:
hallo thanks a lot it is really working your mod ! that strange echo effect is finally disappeared .....

great work and thans a lot !
[Galaxy S II Themes and Apps] yousif666:
I made the changes but when i try to make a call i get force close. :(
[Galaxy S II Themes and Apps] fraser82:
hi, i've tried to decompile the phone.apk file but after hour of trying i can't do it correctly. anyone can help me? i have attached my file to modify :)

thanks a lot

francesco
[Galaxy S II Themes and Apps] newHere:):
which rom do you use?

if it is not MIUI or CM7 , can you attach the file twframework-res.apk too ?

it is located at /system/framework/
[Galaxy S II Themes and Apps] fraser82:
hi, this is my file, thanks a lot :)
[Galaxy S II Themes and Apps] newHere:):
i guess your rom is not deodexed

because after i decompile your Phone.apk there are no "smali" folder :(

so i can't change it...

i guess you will have to change the Rom if you want me to disable the noise reduction for you...
[Galaxy S II Themes and Apps] AznImport:
This fix seems to work ok. The only issue I have is that the fix only seems to work a few seconds into the call. For example, when I call my girlfriend, she can still hear herself talking for the first 1-3 seconds. After that amount of time the echoing stops. This only happens when I use a case (Otterbox)....Any ideas???

(btw, I am currently using CheckROM's REVO V4, not sure if this is an issue but I thought I might mention it anyway)
[Galaxy S II Themes and Apps] tarobun:
I found the best way to change the default noise suppression was to change the noise_reduction variable in CallNotifier.smali from 0x1 (true) to 0x0 (false).

Fix also works from the beginning of call.

ie.

From

.line 971
const/4 v3, 0x1
.line 975
.local v3, noise_reduction:Z

to

.line 971
const/4 v3, [COLOR="Red"][b]0x0[/b][/COLOR]
.line 975
.local v3, noise_reduction:Z
[Galaxy S II Themes and Apps] 2fastkuztoms:
any modified phone apk for MIUI...
[Galaxy S II Themes and Apps] kokoskokis544:
When u get the echo problem os your device on a case? I ve read somewherr and confirmed it myself that some cases produce the echo problem. Try removing it from the case...
[Galaxy S II Themes and Apps] newHere:):
try this fix:

http://xdaforums.com/showthread.php?t=1372718

works flawlessly
[Galaxy S II Themes and Apps] tarobun:
Looks like talexop arrived at the same solution ahead of me.... :)

http://xdaforums.com/showpost.php?p=20320415&postcount=12
[Galaxy S II Themes and Apps] AznImport:
Thanks for all the replies! Unfortunately I've tried that fix already, still no avail. Again, the echo only lasts for 1-3 seconds after the receiver speaks. Would any of you know if the kernal, rom, or modem has anything to do with this problem?
[Galaxy S II Themes and Apps] tarobun:
Did you try the fix i wrote?

I'd be very surprised if it has any delays.
[Galaxy S II Themes and Apps] AznImport:
Unfortunately I am away from my laptop (left it at home)...Would you be able to provide me with a modified version of Phone.apk? Sorry for any inconveniences.
[Galaxy S II Themes and Apps] -ph-:
If you use CheckROM you in Kitchen Pro a Mod made by me with the correction.

Use the version noise reduction off + call rec.
[Galaxy S II Themes and Apps] AznImport:
Ive tried to install the Noise reduction off + Call rec. (Phone_Record.Zip) through Kitchen Pro, but it doesn't seem to automatically activate. Any ideas? Ive tried a fresh install of CheckRom V4 but still doesn't seem to work.

---------- Post added at 10:26 PM ---------- Previous post was at 10:22 PM ----------

I was thinking of just manually placing a modified version of Phone.apk in System/apps. I was wondering if anyone can provide me with a modified version with Tarobun's script that he posted a few posts back. Thanks!