Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,781,011 Members 47,641 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
nmdang
Old
(Last edited by nmdang; 21st January 2012 at 09:31 AM.)
#1  
Junior Member - OP
Thanks Meter 6
Posts: 17
Join Date: Jan 2012
Smile [TUTORIAL] Build 4.0.2.A.0.42 kernel with 2 way recording patch on neo

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)
The Following 5 Users Say Thank You to nmdang For This Useful Post: [ Click to Expand ]
 
kormatoes
Old
#2  
kormatoes's Avatar
Recognized Contributor
Thanks Meter 3,888
Posts: 4,737
Join Date: Apr 2011
Location: newcastle upon tyne ne5

 
DONATE TO ME
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
 
adridu59
Old
#3  
adridu59's Avatar
Recognized Contributor
Thanks Meter 2,281
Posts: 878
Join Date: May 2011
Location: Paris, France
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.
Follow me on Github.

Prehistoric phones > Nokia 5230 > Xperia Neo (MT15i) [4.1.B.0.587]
 
skyboyextreme
Old
(Last edited by skyboyextreme; 21st January 2012 at 03:37 PM.)
#4  
skyboyextreme's Avatar
Senior Member
Thanks Meter 153
Posts: 1,089
Join Date: Feb 2011
Location: Cairo
Quote:
Originally Posted by nmdang View Post
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'
Xperia Neo S+

PwnKernel v1.7b + .64 Baseband + S.E 'Super' Tweaked XXX Edition + Rooted + CPU @ 1.6GHz with 1200mV + 420mb User spaced + 16GB-C4 Kingston microSD + Link2SD @ 512MB sd-ext4 + CWM Recovery 5.0.2.7 + DRM Functional

(4000 Antutu-Points)

My name is John, Hi
Now Playing : Shadow Gun - The Left Over, GTA III - 10th Anniversary
 
adridu59
Old
#5  
adridu59's Avatar
Recognized Contributor
Thanks Meter 2,281
Posts: 878
Join Date: May 2011
Location: Paris, France
Quote:
Originally Posted by skyboyextreme View Post
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.
Follow me on Github.

Prehistoric phones > Nokia 5230 > Xperia Neo (MT15i) [4.1.B.0.587]
The Following 2 Users Say Thank You to adridu59 For This Useful Post: [ Click to Expand ]
 
skyboyextreme
Old
#6  
skyboyextreme's Avatar
Senior Member
Thanks Meter 153
Posts: 1,089
Join Date: Feb 2011
Location: Cairo
Quote:
Originally Posted by adridu59 View Post
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?
Xperia Neo S+

PwnKernel v1.7b + .64 Baseband + S.E 'Super' Tweaked XXX Edition + Rooted + CPU @ 1.6GHz with 1200mV + 420mb User spaced + 16GB-C4 Kingston microSD + Link2SD @ 512MB sd-ext4 + CWM Recovery 5.0.2.7 + DRM Functional

(4000 Antutu-Points)

My name is John, Hi
Now Playing : Shadow Gun - The Left Over, GTA III - 10th Anniversary
 
adridu59
Old
(Last edited by adridu59; 21st January 2012 at 04:18 PM.)
#7  
adridu59's Avatar
Recognized Contributor
Thanks Meter 2,281
Posts: 878
Join Date: May 2011
Location: Paris, France
Quote:
Originally Posted by skyboyextreme View Post
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
Follow me on Github.

Prehistoric phones > Nokia 5230 > Xperia Neo (MT15i) [4.1.B.0.587]
The Following User Says Thank You to adridu59 For This Useful Post: [ Click to Expand ]
 
kormatoes
Old
#8  
kormatoes's Avatar
Recognized Contributor
Thanks Meter 3,888
Posts: 4,737
Join Date: Apr 2011
Location: newcastle upon tyne ne5

 
DONATE TO ME
WiFi working perfectly

Sent from my MT15i using Tapatalk
 
skyboyextreme
Old
#9  
skyboyextreme's Avatar
Senior Member
Thanks Meter 153
Posts: 1,089
Join Date: Feb 2011
Location: Cairo
Quote:
Originally Posted by kormatoes View Post
WiFi working perfectly

Sent from my MT15i using Tapatalk
great now will the op now kindly please help adridu to complete his kernel
Xperia Neo S+

PwnKernel v1.7b + .64 Baseband + S.E 'Super' Tweaked XXX Edition + Rooted + CPU @ 1.6GHz with 1200mV + 420mb User spaced + 16GB-C4 Kingston microSD + Link2SD @ 512MB sd-ext4 + CWM Recovery 5.0.2.7 + DRM Functional

(4000 Antutu-Points)

My name is John, Hi
Now Playing : Shadow Gun - The Left Over, GTA III - 10th Anniversary
 
kormatoes
Old
(Last edited by kormatoes; 22nd January 2012 at 04:09 PM.)
#10  
kormatoes's Avatar
Recognized Contributor
Thanks Meter 3,888
Posts: 4,737
Join Date: Apr 2011
Location: newcastle upon tyne ne5

 
DONATE TO ME
Think has init.d also checking now' no ,huge drain from battery

Sent from my MT15i using xda premium

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Forums Added for the LG G Watch R and Samsung Gear S

A little over a week ago, LG “inadvertently” let the world know about the … more

Secrecy App Goes Open Source, New LG Android Wear Device! – XDA Developer TV

Secrecy encryption app goes open source! That and much … more

Pushbullet Updated with SMS Send Ability

Pushbullet is one of thoseapplications that every Android lover should have installed on his or … more

[OTA] Nvidia Shield Tablet Receives its First Update

The Nvidia Shield Tabletis the latest toy from one of the largest desktop graphics … more