Document the Story of Your Social Life with 8tory

The different forms of social media are growing every day. It’s hard to imagine a day … more

Make Calling Your Loved Ones Easier and Cheaper this Diwali

Diwali, or Deepawali as some Indians call it, is the pride and joy of Indian … more

Big Android BBQ 5.0 Recap – XDA TV

This fifth annual Big Android BBQ has come and gone. The speakers have spoke, the sponsors have … more

Microsoft to Counter “OK Google” with Bing Torque

When Microsoft is making apps for Android, users should be aware that something … more
Post Reply

[TUTORIAL] Build 4.0.2.A.0.42 kernel with 2 way recording patch on neo

OP nmdang

20th January 2012, 11:51 AM   |  #1  
OP Junior Member
Thanks Meter: 6
 
17 posts
Join Date:Joined: Jan 2012
Hello everyone, I just want to share my experience about building kernel with 2 way recording patch. I hope some newbie (like me) can custom his/her phone. I've tested and it works OK on my phone with call recorder software. I hope some other custom kernels on this forum will include this feature soon.

- Dowload and install Sourcery G++ Lite 2009q1-161 https://sourcery.mentor.com/sgpp/lit...al/release1294 to build kernel like the tutorial on http://developer.sonyericsson.com/wp...a-linux-kernel
- Download rom source 4.0.2.A.0.42.tar.bz2 from http://developer.sonyericsson.com/wp...z2?cc=gb&lc=en
- Extract 4.0.2.A.0.42.tar.bz2: sudo tar -xvjf 4.0.2.A.0.42.tar.bz2
- Go to kernel directory: cd /../kernel
- Download sonyericsson_4_0_2_A_0_42.patch and vocpcm.c from http://code.google.com/p/2-way-call-...rowse/patches/
- Copy vocpcm.c to /../kernel/arch/arm/mach-msm/qdsp5v2
- Copy sonyericsson_4_0_2_A_0_42.patch to /../kernel/
- Appy patch: sudo patch -p0 -b -r - -i sonyericsson_4_0_2_A_0_42.patch
- Configure kernel: ARCH=arm CROSS_COMPILE=/../Sourcery_G++_Lite/bin/arm-none-eabi- make semc_hallon_defconfig
- Build kernel: ARCH=arm CROSS_COMPILE=/../Sourcery_G++_Lite/bin/arm-none-eabi- make
- Getting a RAM disk, assembling the boot.img, flashing like the tutorial from http://developer.sonyericsson.com

Enjoy it!
nmdang
Attached Files
File Type: rar stock rom pached call recording.rar - [Click for QR Code] (4.25 MB, 332 views)
Last edited by nmdang; 21st January 2012 at 09:31 AM.
The Following 5 Users Say Thank You to nmdang For This Useful Post: [ View ]
21st January 2012, 03:21 PM   |  #2  
kormatoes's Avatar
Recognized Contributor
Flag newcastle upon tyne ne5
Thanks Meter: 3,889
 
4,740 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Cool kernel what features you added apart from 2 way record
People there is a kernel at the bottom don't think anyone noticed
Plus ad your own splash

Sent from my MT15i using Tapatalk
21st January 2012, 03:23 PM   |  #3  
adridu59's Avatar
Recognized Contributor
Flag Paris, France
Thanks Meter: 2,284
 
879 posts
Join Date:Joined: May 2011
More
You do have WiFi working with your kernel ? If yes, how did you do ?
I see no compiling modules instructions in your post..

PS: My kernel has 2WCR support.
21st January 2012, 03:26 PM   |  #4  
skyboyextreme's Avatar
Senior Member
Flag Cairo
Thanks Meter: 153
 
1,089 posts
Join Date:Joined: Feb 2011
More
Quote:
Originally Posted by nmdang

Hello everyone, I just want to share my experience about building kernel with 2 way recording patch. I hope some newbie (like me) can custom his/her phone. I've tested and it works OK on my phone with call recorder software. I hope some other custom kernels on this forum will include this feature soon.

- Dowload and install Sourcery G++ Lite 2009q1-161 https://sourcery.mentor.com/sgpp/lit...al/release1294 to build kernel like the tutorial on http://developer.sonyericsson.com/wp...a-linux-kernel
- Download rom source 4.0.2.A.0.42.tar.bz2 from http://developer.sonyericsson.com/wp...z2?cc=gb&lc=en
- Extract 4.0.2.A.0.42.tar.bz2: sudo tar -xvjf 4.0.2.A.0.42.tar.bz2
- Go to kernel directory: cd /../kernel
- Download sonyericsson_4_0_2_A_0_42.patch and vocpcm.c from http://code.google.com/p/2-way-call-...rowse/patches/
- Copy vocpcm.c to /../kernel/arch/arm/mach-msm/qdsp5v2
- Copy sonyericsson_4_0_2_A_0_42.patch to /../kernel/
- Appy patch: sudo patch -p0 -b -r - -i sonyericsson_4_0_2_A_0_42.patch
- Configure kernel: ARCH=arm CROSS_COMPILE=/../Sourcery_G++_Lite/bin/arm-none-eabi- make semc_hallon_defconfig
- Build kernel: ARCH=arm CROSS_COMPILE=/../Sourcery_G++_Lite/bin/arm-none-eabi- make
- Getting a RAM disk, assembling the boot.img, flashing like the tutorial from http://developer.sonyericsson.com\

Enjoy it!
nmdang

maybe you want to add oc and init.d support also swap ?

can you compile the kernel on windows environment ?

Edit : off topic , did anybody notice that the design on the new xperia phones got reduced to an 'iphone' like clones.....instead of it's usual 'sexyness'
Last edited by skyboyextreme; 21st January 2012 at 03:37 PM.
21st January 2012, 03:45 PM   |  #5  
adridu59's Avatar
Recognized Contributor
Flag Paris, France
Thanks Meter: 2,284
 
879 posts
Join Date:Joined: May 2011
More
Quote:
Originally Posted by skyboyextreme

maybe you want to add oc and init.d support also swap

All this is in my kernel plus tons of other things..

Let's hope he knows how to deal with the WiFi.
The Following 2 Users Say Thank You to adridu59 For This Useful Post: [ View ]
21st January 2012, 03:54 PM   |  #6  
skyboyextreme's Avatar
Senior Member
Flag Cairo
Thanks Meter: 153
 
1,089 posts
Join Date:Joined: Feb 2011
More
Quote:
Originally Posted by adridu59

All this is in my kernel plus tons of other things..

Let's hope he knows how to deal with the WiFi.

yes man i'm waiting for it to get fixed too

but one important thing did you "pre"-overclock and "pre"-over volt your kernel ?
all i wish for is a stock clocked kernel that just gives the ability to overclock

Edit : why don't you ask inteks how did he make wifi function properly?
21st January 2012, 03:57 PM   |  #7  
adridu59's Avatar
Recognized Contributor
Flag Paris, France
Thanks Meter: 2,284
 
879 posts
Join Date:Joined: May 2011
More
Quote:
Originally Posted by skyboyextreme

yes man i'm waiting for it to get fixed too

but one important thing did you "pre"-overclock and "pre"-over volt your kernel ?
all i wish for is a stock clocked kernel that just gives the ability to overclock

Edit : why don't you ask inteks how did he make wifi function properly?

Default max frequency is 1.0 GHz like stock, voltages are stock too if I recall

Edit: 50mV undervolt to save battery.

Inteks didnt respond.

/spam thread
Last edited by adridu59; 21st January 2012 at 04:18 PM.
The Following User Says Thank You to adridu59 For This Useful Post: [ View ]
21st January 2012, 05:14 PM   |  #8  
kormatoes's Avatar
Recognized Contributor
Flag newcastle upon tyne ne5
Thanks Meter: 3,889
 
4,740 posts
Join Date:Joined: Apr 2011
Donate to Me
More
WiFi working perfectly

Sent from my MT15i using Tapatalk
21st January 2012, 05:17 PM   |  #9  
skyboyextreme's Avatar
Senior Member
Flag Cairo
Thanks Meter: 153
 
1,089 posts
Join Date:Joined: Feb 2011
More
Quote:
Originally Posted by kormatoes

WiFi working perfectly

Sent from my MT15i using Tapatalk

great now will the op now kindly please help adridu to complete his kernel
21st January 2012, 05:28 PM   |  #10  
kormatoes's Avatar
Recognized Contributor
Flag newcastle upon tyne ne5
Thanks Meter: 3,889
 
4,740 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Think has init.d also checking now' no ,huge drain from battery

Sent from my MT15i using xda premium
Last edited by kormatoes; 22nd January 2012 at 04:09 PM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes