Gaming Console with Lollipop? Ouya Gets an Android TV Port

Android is a very flexible platform, and it can be used on a large variety of … more

Android App Review: Manage Your Connections Automagically – XDA TV

Material Design is all the buzz in the Android world right now. … more

Official TWRP Recovery Lands on Micromax Canvas Magnus

With the recent release of Android One, Micromax and MediaTek released fully buildable … more

Update Overload: SuperSU Heavily Updated

There are apps and apps out there. Very few can reach the level of popularity required to stay at … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP nmdang

20th January 2012, 12:51 PM   |  #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 10:31 AM.
The Following 5 Users Say Thank You to nmdang For This Useful Post: [ View ]
21st January 2012, 04:21 PM   |  #2  
kormatoes's Avatar
Recognized Contributor
Flag newcastle upon tyne ne5
Thanks Meter: 3,890
 
4,747 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, 04: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, 04: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 04:37 PM.
21st January 2012, 04: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, 04: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, 04: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 05:18 PM.
The Following User Says Thank You to adridu59 For This Useful Post: [ View ]
21st January 2012, 06:14 PM   |  #8  
kormatoes's Avatar
Recognized Contributor
Flag newcastle upon tyne ne5
Thanks Meter: 3,890
 
4,747 posts
Join Date:Joined: Apr 2011
Donate to Me
More
WiFi working perfectly

Sent from my MT15i using Tapatalk
21st January 2012, 06: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, 06:28 PM   |  #10  
kormatoes's Avatar
Recognized Contributor
Flag newcastle upon tyne ne5
Thanks Meter: 3,890
 
4,747 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 05:09 PM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes