yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] tytung:
Two-way call recording

Since I got some free time, I have patched the two-way call recording support into my r8.3 kernel manually.

Please flash r8.3_callrec kernel (for MAGLDR) and give feedback.

I installed CallRecorder_v.1.0_build16.apk for testing.

Before flashing r8.3_callrec kernel, CallRecorder can record both caller and callee's voices clearly.

Both volumes are equal but very low even the media/playback volume is max.

After flashing r8.3_callrec kernel, CallRecorder can record both caller and callee's voices.

But callee's volume is very louder than caller's volume (my own voice).

If there's no enough feedbacks, I won't include this feature into my next kernel release.

Edit: my modified patch for HD2 is attached. (Only for kernel developer)

Edit2:

You can find cLK version here.

Please reply any feedback in this thread: [DEV/TEST] Kernel with two-way call recording [needs testing]. Thanks.
[HD2 Android NAND Development] Yom:
Please count me in to include the patch in your kernel! Also, could you please make a cLK flashable zip?

And talking about patches.... any ideas how I can change the bluetooth mac address?

Posted using my hacked, rooted, undervolted, overclocked, pimped-out and overall bad-ass Samsung Galaxy Tab.
[HD2 Android NAND Development] tytung:
I always update ROMs directly. (Backup first of course.)

Only exception is re-installing CWM_Recovery_for_NexusHD2_135M to have a large system partition.

In my ROM, cache is located at /data/cache path (i.e data partition) and dalvik is located at /data/dalvik-cache path (i.e data partition), so factory reset will erase both of them.

However, apps2sd will have different behavior, for example, dalvik-cache is moved to SD card.

I don't use apps2sd personally, so I don't know the details when updating ROMs.

I switched v2.3 to new cam libs, so restoring from Titanium Backup will break the camera if I remember it correctly.
[HD2 Android NAND Development] tytung:
Your question is too general.

If you follow my quick install guide in first post correctly and have a clean install, you won't get any issues.
[HD2 Android NAND Development] `SBR`:
Count me in.. but release as a test kernel.. so that anyone can test it..

i don't how to patch the Kernel.. noobie in patching stuffs

EDIT: Sorry for the above question, overlooked it... installing now.. and share you the test results..
[HD2 Android NAND Development] dLeTe:
Much appreciated

Thank you tytung and czacha234 for your prompt replies. I was just curious if it was necessary to install the recovery/partitioner before installing the build. Doesn't seem like I need it unless I opt for more space like you said. Thanks tytung for all your time you put into your build and the regular follow ups you do to postngs.
[HD2 Android NAND Development] tone602:
tested on cm7

Tested on Hyperdroid Cm7 v1.0.4 and it works. Everything booted up fine. Did a test call yo my voice mail while I spoke a sentence. Played back the recording and I could here both sides. Quality of the recording could use a lil improvement but it does work fine.

Thanks.
[HD2 Android NAND Development] LordDeath:
tytung, do you have any idea why PPTP VPN isn't working in other builds but it is working in yours?

I get this as soon as I try to establish a connection:

D/VpnService(17957): Local IP: 192.168.178.22, if: eth0
D/VpnService(17957): VPN UP: down
I/SProxy_mtpd(17957): Start VPN daemon: mtpd
D/SProxy_mtpd(17957): mtpd is running after 0 msec
D/SProxy_mtpd(17957): service not yet listen()ing; try again
D/mtpd (18019): Waiting for control socket
D/dalvikvm(17957): GC_CONCURRENT freed 397K, 55% free 2522K/5575K, external 0K/0
K, paused 2ms+2ms
D/mtpd (18019): Received 20 arguments
I/mtpd (18019): Using protocol pptp
I/mtpd (18019): Connecting to xxx.xxx.xxx.xxx port 1723
I/SProxy_mtpd(17957): got data from control socket: 20
I/mtpd (18019): Connection established (socket = 11)
D/mtpd (18019): Sending SCCRQ
D/mtpd (18019): Received SCCRP -> Sending OCRQ (local = 20757)
I/mtpd (18019): Tunnel established
D/mtpd (18019): Received OCRQ (remote = 23201)
I/mtpd (18019): Session established
I/mtpd (18019): Creating PPPoX socket
F/mtpd (18019): Socket() Protocol not supported

As you can see the PPPoX Protocol isn't supported here. :(

I am using TyphooN's CyanogenMod 7 builds with your latest tytung r8.3 kernel.

Did you do something different with your build that VPN is working? I thought this was kernel-related but as I use the same kernel as this build here, it doesn't seem to be the source of my problem. :confused:
[HD2 Android NAND Development] tytung:
Download cLK_tytung_r8.3_callrec_PPP_update.zip.

I don't install cLK bootloader to test it yet.

Besides, this cLK flashable zip includes NexusHD2-Gingerbread's initrd.gz in boot.img, so it may be not compatible with other ROM.
[HD2 Android NAND Development] narucii:
Tytung,

Where can I get the Clock widget like your avatar?
[HD2 Android NAND Development] raven_raven:
It's Fancy Widget, version 1.3. Not available in Market, because HTC didn't like it.

(and I didn't mean to thank you, just missed button and clicked "Thanks" instead of "Quote")
[HD2 Android NAND Development] armato:
with this build is possible to use a ext3 /ext4 partiotion as internal storage???

i have typhoon but it doenst support it... this rom can ?
[HD2 Android NAND Development] TTJB:
Ok I was waiting for someone to post a similar question to what I have. I have been using the 2.2 Nand since it's release on my wife's and my HD2. And although it has a few minor problems such as the blinking light and Never getting a lock on GPS it works wonderfully for daily usage. I now would like to update before I get left too far behind :) The only problem is the only way I knew how to flash a Rom was with the DAF method. Now I understand this is the way we are going and I need to learn, but I think I have been intimidated by all of the different instructions on different boards. I.E.-Partition this? Wipe data, factory reset? Hell I don't even know if I have CWM on my phone? I think that I read somewhere that if you flashed this developers Rom through DAF that it installed CWM for you?

So I guess what I am asking is. All of that is not necessary to upgrade to a newer version? Just backup and restore current Rom then flash newer Rom? Also if I do have CWM through my 2.2 Nand Daf flashed Rom, do I have CWM Recovery installed also? Or is that something completely different? Sorry to sound foolish but I'm trying and this is just a hobby when I have time.

Also thanks again to the developers and wonderful people of XDA who know infinitely more about this than I do :)
[HD2 Android NAND Development] urnightmare:
i've make it again and it works perfectly the text are fine , but i have some questions is it normal to get force close in first Setup wizard and in browser??

is the problem with bluetooth and gps (Battery darin in standby) in the NexusHD2 Froyo 1.9G solved with the Kernel 8.3 ?

thanks again...
[HD2 Android NAND Development] chimpsinties:
Tytung

Just downloaded 2.5 and installed it over 2.2 with no problems at all.

Thought it was about time I bought you a beer because I love your ROM's they're the best out there. :D

Ref: 23820778E8405152L

Cheers mate :cool:
[HD2 Android NAND Development] dLeTe:
CWM already available

I believe CWM was readily at your disposal the day you flashed the ROM. You can get to it by going to the Boot AD SD option I believe. There you can create backups and flash update.zips. Though, you might have to update your MAGLDR to 1.13 if not already done so. (anyone? correct me if I'm wrong).

And like I mentioned in my post, I never partitioned or wiped anything so I don't think you should have any issues.

As for GPS, after you have figured out how to use CWM, you can use one of the zips provided from this thread: http://xdaforums.com/showthread.php?t=953630.

I live in SoCal and flashed the SouthWest one. GPS locks in seconds!
[HD2 Android NAND Development] Kefir.net:
I just just think about it because 2.6.35 is native kernel for all Android 2.3 devices, just a suggestion if it will be better :)

And I also interest, why there are no kernels after 2.6.32 for HD2? If Desire and Nexus have it, why we don't?
[HD2 Android NAND Development] finesse:
quick question about carrying out an update - I have 2.4 installed and want to upgrade to 2.5. I select apply upgrade from SD card but I receive an error message saying " E: Can't find file"

Do I need to create a new folder on the sd card?
[HD2 Android NAND Development] agentfazexx:
Re-read the instructions in the OP. You'll be fine.
[HD2 Android NAND Development] chimpsinties:
You basically just do exactly the same as you did when you installed 2.4. Just stick the zip file on the root of you SD card. Boot in to MagLDR and update from zipfile (not update.zip cos it's not called that). You have to select your zip file then run it. All settings should be as you left them.

I know this works cos I just did it myself tonight :D
[HD2 Android NAND Development] f1ux:
I'd most definitely be up for this being a standard inclusion in the kernel!

Thanks for all the hard work.

Now this is working, my only problem with the HD2 is the bluetooth MAC address only showing a generic MAC so my ipad won't tether to it with PAN networking.. :(
[HD2 Android NAND Development] finesse:
In AD recovery? I select install update from sd card but still no luck
[HD2 Android NAND Development] marcimix:
What did you say?

Fancy Widget is in the https://market.android.com/details?id=com.anddoes.fancywidget&feature=search_result ;)

OH YEA! I founded clear another rom for my HD2 :D Thanks a lot I donate you when I get some money...
[HD2 Android NAND Development] `SBR`:
I have a problem with r8.3_callrec kernel.. Calls are dropping frequently, but the recording sound quality is loud and clear...

currently using Hyperdroid cm7 1.04

i'll check again.. if not back to 8.3 kernel..
[HD2 Android NAND Development] thi713:
i am having problems with the v5, whenever i go to the wifi menu, i can't not connect. It said, "Error". is anyone experiencing that same problem?
[HD2 Android NAND Development] jaba_cz:
I'm going to test the kernel. Running it at HD GBX v11.

First resume: It boots :-)

Next experience will be posted.

Edit: First call test .... file with record created, but no sound in there.
[HD2 Android NAND Development] Achen_su:
hope tytung can unlock volume like segio corecell.

can makd speaker increase 20%

because nexus kernel sound is so small.
[HD2 Android NAND Development] armato:
with this rom is possible to use a ext3/4 partition as internal storage to have more then 512 mega?
[HD2 Android NAND Development] davidgiga:
Hi,

First of all: Thanks for this awesome rom.

But I just had a strage crash:

My HD2 was just unpacking a map for copilot when suddenly

the phone freezes completely and some wired colored stripes appeared (about 5 verticaly)

Even the orange led stayed on after I removed the power cord.

State:

-Phone was charging

-Wifi was on

-GPS was on

-CoPilot was unpacking

I will try if I can reproduce this freeze or if it was just random.
[HD2 Android NAND Development] nkulkifrop:
low speaker/headphone volume for media

i agree, great build but media volume is too low. after a call the volume is even lower and the volume up button doesn't work anymore.
[HD2 Android NAND Development] nForce:
@tytung

This ROM is really SOOO great. Battery life is awsome. I installed it last night and after 20 hours I still have 40% left, with wlan active, bluetooth active (connected to mbw-150 via openwatch), data always on...

I also like the screen-off animation, looks very cool :cool:
[HD2 Android NAND Development] mishik:
Works on HyperdroidGBX-v11 and magldr. Volume - exactly as you said.

Please include this patch in your future kernel versions.

Thanks !
[HD2 Android NAND Development] czacha234:
Hi,

Maybe phone overheated? While you charging it, back bottom part is getting quite hot. Or something wrong with your sdcard? It never happened to me, just guessing.
[HD2 Android NAND Development] mishik:
Did you try calling one of your contacts ?

I had the same thing when I tried to test it using my cell provider service number (*054). Nothing was recorded. After that I called one of my contacts and the call was recorded fine. I supposed it is a bug in the callrecorder app. Like may be it fails when you call a number not in contacts, or smth like that. I'll report it to the author of the app.
[HD2 Android NAND Development] InfX:
Thanks a lot, going to try it !
[HD2 Android NAND Development] MAsterokki:
MSCHAPv2 not working anymore

Dear Tytung,

Since your 2.5 build I can't connect to 802.1x EAP networks with MSCHAPV2 verification... Could you please look into that? Network setup always forgets the phase 2 verification settings.

I already tried reinstalling with a clean start, but it keeps failing on the verification process. WPA(2) connections are working fine.

It might be the kernel, because with 8.2 and the ad-hoc patch connecting to the network was no problem.
[HD2 Android NAND Development] Capt.PP:
Install updates via CWM as a zip. It's the only way, follow my sig if you have magldr 1.3

It's overheating, don't install anything when you're charging the phone. It cause the bottom part of the phone to warm up and froze your phone.
[HD2 Android NAND Development] DanielNTX:
No problems here. Connecting via 802.1x EAP with MSCHAPv2... on my corporate network and home network. Don't know why you are having issues.
[HD2 Android NAND Development] jonathancano:
question

I'm new to gingerbread... for some reason i can't find the lockscreen (doesnt come on) and it seems like the home key does not work... Other than that im thoroughly impressed! Super fast and smooth!
[HD2 Android NAND Development] `SBR`:
Hi tytung.. i have problem with ur patch for call recording...

if i am making a call, i can hear the other end but they can't hear my voice...

i tested with different calls.. have the same issue.. don't the where the pbm is?

but with your normal 8.3 everything is perfect..
[HD2 Android NAND Development] mpdt:
How do I stop the notification light from flashing?
[HD2 Android NAND Development] uccoffee:
the phone reset itself once today after upgrade from 2.4 to 2.5...

Hope it's just a 1 time bad luck. :(
[HD2 Android NAND Development] TTJB:
Thanks for your assistance dLeTe. Now if I feel emboldened I may possibly try to upgrade in a few days the CWM way.
[HD2 Android NAND Development] Capt.PP:
Settings/Location&Security/Set up screen lock.

Settings/Sound/(uncheck) Pulse notification light.
[HD2 Android NAND Development] michd2:
I'm using this for a few days now and I'm just stunned by how smooth this ROM is. I've beenusing the RAFdroid Froyo-sense ROM and MDJ's Cyanogen-gingerbread ROM, but this is the smoothest so far/by far. It's working great, batterydrain is the best so far. Great ROM, good job!
[HD2 Android NAND Development] mykor:
Tytutng Great work. i just have a question about its clock, how can i overclock it? i'm using set cpu but the maximum is 998mhz

Thanks.
[HD2 Android NAND Development] jjasie:
This rom is the best. Battery life is amazing no more drains. Went to bed at 68% and woke up at 59% just incredible. Thats with everything turnes on Thanks to tytung and all who made this rom possible
[HD2 Android NAND Development] star80:
same problem for me.Is there any solution?
[HD2 Android NAND Development] marcimix:
My apps shutdown like Opera Mobile 11 or NFS Shift. When I use a lot this things. So logcat will be needed for fix this? ;)
[HD2 Android NAND Development] charnsingh_online:
Tytung i need to discuss some stuff with you, Can u add me on gtalk charansingh.online Fix the last bugs on HD2
[HD2 Android NAND Development] pask876:
Yes, please help him to give us the definitive CM7 buid on the HD2 :)
[HD2 Android NAND Development] insanix:
Wonderfull fast ROM. I have only one thing to point out, the partition layout 5/135/2 may not work for everybody. I tried 3 times with this layout, 1st boot was ok, setting up the device blah-blah-blah, on reboot I got stuck to the green HTC logo... So after some experimenting I tried a somewhat "larger" partition layout like 5/140/4 and no more getting stuck on reboot!

Really nice ROM! (if you happen to need greek input you 'll find that greekime works perfectly and allows 160 character long SMSs in this ROM)

Nice work Tytung!
[HD2 Android NAND Development] stanleywoon:
+1 for A2DP not working.. It disconnect when start playing music... logcat log attached..my A2DP headset is sony ericsson MW600..it used to work in r8.2
[HD2 Android NAND Development] chimpsinties:
I used to use Wireless tether quite a bit. Since the upgrade to v2.5 it's stopped working. I can run it and my laptop will connect but it always says "Connected but with Limited Connectivity" :eek:

Anyone else get this?

I've tried using Wireless Tether v2.0.7 from market and the one built into this ROM with no luck.

I can't even get my laptop to show up the the Access Control list :(
[HD2 Android NAND Development] clio94:
tytung hello.can you give me a help please; i want to make a kernel based on your latest fixes to play in froyo darkstone`s super ram and boot from windows mobile.your latest kernel r8.3call_rec boots and works perfect except that i cant scan and connect in wifi networks.in american android which is 2.3.3 android works everything perfect.can you tell me please,what changes must i do to have working wifi in froyo rom;
[HD2 Android NAND Development] thor17:
Same thing for me. On 2.5 both the built-in wireless tethering and Wireless Tether 2.0.7 don't work for me. The wireless network shows up, but my laptop gets stuck at obtaining an IP address.
[HD2 Android NAND Development] B.Maximenko:
Thanks!

I'm using Pongster's CM7 v1.0.4 on cLK. After flashing your cLK flashable zip I got stuck at processing fastboot, so I downloaded your version for magldr and fastbooted zImage and initrd.gz and it works perfectly now. Made a few calls in sum of 35 mins and got zero issues with both speech and recording. I'd like to have this ability in next versions, at least as an alternative build.

Again, thanks!
[HD2 Android NAND Development] dzuljo:
802.1x- 802.1n

Hi Tytung

thanks for your excellent work

i have question about wifi network

is this Kernel work with 802.1n wifi router

i try but is not succeed
[HD2 Android NAND Development] skyalvinlee:
http://xdaforums.com/showthread.php?t=1011810

Check this out, is will this mod be applicable??
[HD2 Android NAND Development] tyween:
Hey tytung, I have been using your kernels in my ROM for quite some time. An issue was brought up to me by a user. I am not sure if this really is an issue as I have no way to test it. I saw in your kernel r8.1 (# Enabled universal TUN/TAP device driver support in the kernel to support opening a VPN connection.).

A user is telling me that they cannot access the PPTP VPN using my ROM and your 8.3 kernel. He also pointed out to me that this was an issue that CyanogenMod has addressed here: http://code.google.com/p/cyanogenmod/issues/detail?id=2829

It looks like it was something they fixed in the kernel. I have no way to validate the claims that the PPTP VPN connection does not work, as I do not have access to any VPN to do a test. Do you have any insight into this? I assumed that your kernel was already compatible with this feature based on your changelog.
[HD2 Android NAND Development] stuntdouble:
Works fine with my Belkin wireless N router.
[HD2 Android NAND Development] dzuljo:
also works with my router but with mixed mode

when put in N mode is not connect

tnx for answer
[HD2 Android NAND Development] tytung:
Because our kernel source have too many fixes/workarounds so that it cannot be upgraded to AOSP 2.6.35 kernel by applying/merging the 2.6.35 kernel changes (ie. commits) from git repository easily.

That's also why I must update WiFi drivers to AOSP version manually in my r6 kernel.
[HD2 Android NAND Development] tytung:
Bluetooth MAC address is determined by the kernel.

But we only have a fake address.

/* Fix BT address for Leo */
static unsigned char bt_bd_ram[MAX_BT_SIZE] = {0x50,0xC3,0x00,0x00,0x00,0x00};
unsigned char *get_bt_bd_ram(void)
{
return (bt_bd_ram);
}

http://gitorious.org/~tytung/linux-...aster/arch/arm/mach-msm/board-htcleo-rfkill.c

What kind of address do you need to let you ipad tether to it with PAN networking?
[HD2 Android NAND Development] tytung:
Does anyone have the same issue (Calls are dropping frequently) ?

And since rafpigna agree that the discussion of two-way call recording can be post in his thread.

http://xdaforums.com/showpost.php?p=12478231&postcount=26

Please reply any two-way call recording feedback in his thread.

Thanks.
[HD2 Android NAND Development] tytung:
What's v5?
[HD2 Android NAND Development] stuntdouble:
Of course it wont. HD2 devices aren't wireless N enabled.
[HD2 Android NAND Development] tytung:
Tell me how to do it. Thanks.
[HD2 Android NAND Development] tytung:
You can install dtapps2sd-2.7.5.2-signed.zip, and it moves apps to SD card.

But internal storage won't be added.

In fact, you don't need to increase the internal storage since the apps have already moved to SD card.
[HD2 Android NAND Development] tytung:
Well, as you said, if this issue cannot be reproduced, then no one can fix it.
[HD2 Android NAND Development] tytung:
I didn't change any WiFi related code between r8.2 and r8.3 kernels.

It's a known UI bug for all Android ROMs that network setup always forgets the phase 2 verification settings.

So don't modify your network when you already setup it.
[HD2 Android NAND Development] splat matt:
Great ROM! After searching for several days I decided to ask this question: When I try to install my swype beta it fails at login - I believe it is looking for a device ID. Any suggestions?

Thanks in advance for all who reply,

Matt
[HD2 Android NAND Development] tytung:
It should be the app problem. I mean CallRecorder.

Please move all discussions of two-way call recording to Dev thread.

Thanks.
[HD2 Android NAND Development] B.Maximenko:
As I've posted previously, call recording works flawlessly for me! It's just great.

So +1 to including it to the release.
[HD2 Android NAND Development] tytung:
Do you want to talk or send messages with each other?

I'm not a native English speaker, so talking in English may be not easy for me. :o
[HD2 Android NAND Development] tytung:
If you don't install any large add-ons into system space, partition layout 5/135/2 is enough.
[HD2 Android NAND Development] tytung:
Do you try the stock music player?

It seems that your PowerAMP Music Player causes this issue.
[HD2 Android NAND Development] tytung:
You need a new wpa_supplicant.

Get it from http://xdaforums.com/showpost.php?p=10675148&postcount=876
[HD2 Android NAND Development] tytung:
No problem for me.

I didn't change anything related to tethering between v2.4 and v2.5 ROMs.
[HD2 Android NAND Development] tytung:
Not sure.

I don't have a 802.1n wifi router.
[HD2 Android NAND Development] tytung:
PPTP VPN in my ROM works well.

http://xdaforums.com/showthread.php?p=12434060&highlight=VPN#post12434060

You can search "VPN" in my thread to get more related posts.

I will look into this issue when I have time.

Edit:

In cyanogenmod issue (the link you provide):

Comment 32 by ste...@couttstech.com, Mar 12, 2011

Looks like it's been fixed in the rom properly and kernel patch reverted. Haven't tried latest nightly but it should be fixed in it.
[HD2 Android NAND Development] f1ux:
Thanks for the reply. I'm not sure exactly why it doesn't like the MAC but here is a link with a fix for the htc incredible and an example where the mac causes the problem if you wouldn't mind looking?

https://code.google.com/p/android-wifi-tether/issues/detail?id=905
[HD2 Android NAND Development] marcimix:
Nah nah nah... In every rom I was installed Sense or not Sense. I got in every HD game some reboots/freezes or just off the app. Sometimes even on an Opera but on opera have only shutdowns. Whats I doing wrong?