[P][DEVELOPMENT] Linux 3.4 port [Fix Build] - Sony Xperia P, U, Sola, Go

I'm working on further implementation of the AOSX Team's 3. 4 kernel port.
Now the kernel compiles, and very initial boot succeed. Wanting more devs to improve it and make the kernel finally boots fully ~
And great thanks to AOSX for the porting of the architecture and drivers!
Source: http://pan.baidu.com/s/1pJDLUob
Difference with aosx source:
1. Import files for nypon
2. av8100 and board-rio-grande build fix
3. config fix for early boot
XDA:DevDB Information
Linux 3.4 Port For Xperia P, Kernel for the Sony Xperia P
Contributors
zhy0919, AOSX Team
Kernel Special Features: NULL
Version Information
Status: Testing
Current Stable Version: 0.01
Created 2014-09-26
Last Updated 2014-09-26

gr8 job bro!! wish to see a complete and stable release soon

This thread is kinda useless as it doesn't work and 95A31 won't work on it anymore.
But if you have an UART cable you can try to debug it

Garcia98 said:
This thread is kinda useless as it doesn't work and 95A31 won't work on it anymore.
But if you have an UART cable you can try to debug it
Click to expand...
Click to collapse
Did you look at his sources? He said it compiles and boots, right? So there is progress being made I assume. And progress isn't useless [emoji6]

Deleted

stothegee said:
Did you look at his sources? He said it compiles and boots, right? So there is progress being made I assume. And progress isn't useless [emoji6]
Click to expand...
Click to collapse
He said that it doesn't boot, by the way I didn't take a look to his sources because I won't download it and make a diff with AOSX repo, but as far as I have understood he just took AOSX sources and compile a kernel.

Garcia98 said:
He said that it doesn't boot, by the way I didn't take a look to his sources because I won't download it and make a diff with AOSX repo, but as far as I have understood he just took AOSX sources and compile a kernel.
Click to expand...
Click to collapse
You can try to compile AOSX Source. It won't compile with nypon config

zhy0919 said:
You can try to compile AOSX Source. It won't compile with nypon config
Click to expand...
Click to collapse
That's because we were working with kumquat defconfig. Does your kernel boots btw?
Cheers,
AJ

Abhinav2 said:
That's because we were working with kumquat defconfig. Does your kernel boots btw?
Cheers,
AJ
Click to expand...
Click to collapse
Not yet~ Does your kernel boot on kumquat?

zhy0919 said:
Not yet~ Does your kernel boot on kumquat?
Click to expand...
Click to collapse
Nope. But we got a log
AJ

支持了:fingers-crossed::fingers-crossed:

Sujunxian said:
支持了:fingers-crossed::fingers-crossed:
Click to expand...
Click to collapse
English, please

Garcia98 said:
English, please
Click to expand...
Click to collapse
He meant supported by the way, great build will look into it

Deleted

Guys Are you still on this project or has the work on 3.4 stopped?
It's probably very hard to get it working right

Related

[ROM] [DEV] CyanogenMod

Hi all! I am compiling the sources of cyanogenmod for xperia neo! When it has finished loading the zip on multiupload! If you want to try flashing from recovery and see what goes and what's wrong! Then copy the logcat here to resolve bugs
Download: http://www.multiupload.com/NB1PGWDYCF with kernel FXP
Flash via recovery Clockworkmod!
Try the rom!
http://forum.xda-developers.com/showthread.php?t=1205141
I really hope you ment CM9
Marcell96 said:
I really hope you ment CM9
Click to expand...
Click to collapse
If I can compile it Yes
if you manage to do that I will test it.
Sipi1302 said:
if you manage to do that I will test it.
Click to expand...
Click to collapse
I put the download of rom in the first post
installing rom es we speak
yes! flash zip!
Is it your own source or you've compiled FXP sources to let us give it a try?
Thanks anyway mate good job!
Sent from my neo ROM cm7xperia_edition_v02
OK firs kernel in zip package is not working (endless boot) so I flash with Night-elf kernel and starts ok but no WiFi, and its CM7 not CM9, camera works as video too. Rom is fast with no lags. That is what I notice.
r-ikfoot said:
Is it your own source or you've compiled FXP sources to let us give it a try?
Thanks anyway mate good job!
Sent from my neo ROM cm7xperia_edition_v02
Click to expand...
Click to collapse
I compiled the rom cyanogen from source
Sipi1302 said:
OK firs kernel in zip package is not working (endless boot) so I flash with Night-elf kernel and starts ok but no WiFi, and its CM7 not CM9, camera works as video too. Rom is fast with no lags. That is what I notice.
Click to expand...
Click to collapse
Thanks for having tested! I'll change the kernel! It is cm7 not cm9! You can make a logcat?
Sorry I returned to may daily rom. Inspecting call so I try this on quick.
Sipi1302 said:
Sorry I returned to may daily rom. Inspecting call so I try this on quick.
Click to expand...
Click to collapse
When can you try! which kernel you used to boot?
I used Night-elf kernel from achotjan rom thread. Only thing is that WiFi is not working, it say error.
markolino631 said:
I compiled the rom cyanogen from source
Click to expand...
Click to collapse
What does it change compared to FXP release ?
Sipi1302 said:
I used Night-elf kernel from achotjan rom thread. Only thing is that WiFi is not working, it say error.
Click to expand...
Click to collapse
thanks!! have you not noticed other problems?
adridu59 said:
What does it change compared to FXP release ?
Click to expand...
Click to collapse
This rom was compiled from source of cyanogen and not those of team FXP
markolino631 said:
thanks!! have you not noticed other problems?
Click to expand...
Click to collapse
No except wifi error with this kernel, others seems working fine.
with which kernel wifi work?

PAC-man ROM 4.4 Alpha-1 || DoubleTap2Wake

Hi!
I'm bringing to you PAC 4.4. It's finally here.
I will try to bring one more feature: sweep2wake and dualtap2wake.
I have made some research on google and XDA and found person who will help me to build kernel with patches.
Stay in touch.
Due to some people ignorace I delete my source and all download. NO MERCY ANYMORE!!!
XDA:DevDB Information
PAC-man ROM 4.4 Alpha-1 DT2W, a ROM for the Sony Xperia Z Ultra
Contributors
reaper61616
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.4.x
Version Information
Status: Alpha
Created 2014-03-24
Last Updated 2014-05-05
reaper61616 said:
Hi!
I'm bringing to you PAC 4.4. It's finally here.
I will try to bring one more feature: sweep2wake and dualtap2wake.
I have made some research on google and XDA and found person who will help me to build kernel with patches.
Stay in touch.
GAPPS:
http://forum.xda-developers.com/showthread.php?t=2397942
Kernel source: https://github.com/CyanogenMod/android_kernel_sony_msm8974
XDA:DevDB Information
PAC-man ROM 4.4 Alpha-1, a ROM for the Sony Xperia Z Ultra
Contributors
reaper61616
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.4.x
Version Information
Status: Alpha
Created 2014-03-24
Last Updated 2014-03-24
Click to expand...
Click to collapse
Thanks a lot man looking forward to the kernel and rom especially the swep2wake ........................just loved it on my galaxy nexus...and missing it on my ultra..
mathurmatt said:
Thanks a lot man looking forward to the kernel and rom especially the swep2wake ........................just loved it on my galaxy nexus...and missing it on my ultra..
Click to expand...
Click to collapse
Will do my best to make it work.
reaper61616 said:
Will do my best to make it work.
Click to expand...
Click to collapse
doubleltap2wake? That would be awesome!
pemell said:
doubleltap2wake? That would be awesome!
Click to expand...
Click to collapse
sweep2wake is more important to me... This evening I will try to patch kernel and build PAC with it.
If everything goes ok tomorrow build will be ready to download.
reaper61616 said:
sweep2wake is more important to me... This evening I will try to patch kernel and build PAC with it.
If everything goes ok tomorrow build will be ready to download.
Click to expand...
Click to collapse
Sounds great... Looking forward to try it out.. Before stock KitKat was launched I'd tried three PAC official KitKat builds... Great features, but kept crashing nova launcher n few other apps... Otherwise its great rom.. Tap2wake n sweep2wake sounds interesting indeed... Can't wait!
F**K!!
I will not do anything today!
My ssh connection to build machilne is dead!!
Tomorrow will start ssh server so I will be able to connect to my build machine.
My ssh is ok now. This evening is reserved for patching kernel.
Let's corss fingers.
reaper61616 said:
My ssh is ok now. This evening is reserved for patching kernel.
Let's corss fingers.
Click to expand...
Click to collapse
Could you include pegasusq governor? That's the best I've ever tried...
Sent from my Xperia Z Ultra using Tapatalk
pemell said:
Could you include pegasusq governor? That's the best I've ever tried...
Sent from my Xperia Z Ultra using Tapatalk
Click to expand...
Click to collapse
I'm only noob. Will try. Please give me link to source.
Hello reaper. Please see pm sent couple
of days back..just fyi thanks
Hi!
I've found part of touchscreen driver which is responsible for doubletap2wake.
This code is generic so I just force to enable it and it partial work.
Works when USB connected, but suddenly phone is DEAD (turned off).
Today I will work on it.
Link:
https://github.com/CyanogenMod/andr...11.0/drivers/input/touchscreen/max1187x.c#L75 (definition)
Fingers cross pleas.
I just look into source one more time and think enable sweep2wake and doubletap2wake will be very very easy.
If everything will go ok share new built kernel will take about 10 minutes (without tests - I will not publish kernel without testing)
Stay in touch for more info.
BTW.
Today will upload new build (without modded kernel).
Hi, thanks for your work.
Could you please add loop device support in your kernel. This mod already added in stock kernel but all cm kernel doesn't have this.
This mode needed for run Linux on Android.
Sent from my C6833 using Tapatalk
reaper61616 said:
I just look into source one more time and think enable sweep2wake and doubletap2wake will be very very easy.
If everything will go ok share new built kernel will take about 10 minutes (without tests - I will not publish kernel without testing)
Stay in touch for more info.
BTW.
Today will upload new build (without modded kernel).
Click to expand...
Click to collapse
When you get this working I would love it if you could pass on the patches and stuff you did to get it working so others could include this in other roms - with credit of cause
reaper61616 said:
I just look into source one more time and think enable sweep2wake and doubletap2wake will be very very easy.
If everything will go ok share new built kernel will take about 10 minutes (without tests - I will not publish kernel without testing)
Stay in touch for more info.
BTW.
Today will upload new build (without modded kernel).
Click to expand...
Click to collapse
I am waiting for sweep2wake and doubletap2wake feature eagerly ,please make it fast:good:
OMG i am DYING to have sweep2wake or knock to wake on this phone!!
Upload new build. Sorry for delay.
Enjoy.
reaper61616 said:
Upload new build. Sorry for delay.
Enjoy.
Click to expand...
Click to collapse
Great .Is tap to wake or slide to wake working in this new build?
techpal said:
Great .Is tap to wake or slide to wake working in this new build?
Click to expand...
Click to collapse
Not yet. There will be more work to do as I thought.

Unified kernel for msm8974 devices

Unified kernel for msm8974 devices
hi all
we are cooking 1 kernel for all msm8974 devices for all custom roms
Source
https://github.com/sonyxperiadev/kernel
in this moment Z1 (honami) and Z2 (sirius) are tested
feel free to fork, joyn and push back
XDA:DevDB Information
Unified kernel for msm8974 devices, Kernel for the Sony Xperia Z Ultra
Contributors
jerpelea, Kali-, tilal6991, cdesai
Kernel Special Features:
Version Information
Status: Testing
Created 2014-11-07
Last Updated 2014-11-07
So Excited
Powered By SONY XPERIA Z ULTRA
progress
z Ultra boots
panel needs some work
ts is cleaned
audio and sensord dsp has booted
Can't wait to see the final result.
Sent from my C6806 using XDA Premium HD app
I see the touch panel driver has been updated...
/me goes off to play with dt2w
panel fixed
kernel crash fixed
remaing
boot logo
audio
Logo is fixed
audio is fixed
where can we get the ramdisk to compile the zImage generated by this into boot.img ?
Is this kernel for AOSP based ROMs? If so, does the unified kernel work with the GPE of the phone?
fzurita said:
Is this kernel for AOSP based ROMs? If so, does the unified kernel work with the GPE of the phone?
Click to expand...
Click to collapse
yes it works on GPE
jerpelea said:
yes it works on GPE
Click to expand...
Click to collapse
Yep my _GPe is currently running AOSP and this kernel (give me a day or so and I'll try and release a semi functional build)
Thanks @jerpelea the the Sony team
kernel seems stable
jerpelea said:
kernel seems stable
Click to expand...
Click to collapse
Yeah, been running 5.0 in it for a while now. The 5.2.2.2 branch I'll sent a pull request with some net commits, otherwise mobile data can't function.
Sent from my Xperia Z1 (AOSP) using XDA Free mobile app
jerpelea said:
kernel seems stable
Click to expand...
Click to collapse
There is ALOT of screen flickering in Z Ultra using the kernel, can you please see what's happening
can someone provide a builded zip or a img file so noobs can test the kernel as well?
hi All
Busy weeks ....months ...
Progress so far
- unified 3.4 kernel is stable for daily use and community tweaking
As some of you have already seen we have started work on comunity 3.10 unified kernel
This kernel is not finished and not stable but is an invitation for developers to joyn, test and improve a kernel built "by community for community"
Br
J
mo120697 said:
can someone provide a builded zip or a img file so noobs can test the kernel as well?
Click to expand...
Click to collapse
you can test on any AOSP or CM12 roms
both use Sony unified kernel
br
J
jerpelea said:
hi All
Busy weeks ....months ...
Progress so far
- unified 3.4 kernel is stable for daily use and community tweaking
As some of you have already seen we have started work on comunity 3.10 unified kernel
This kernel is not finished and not stable but is an invitation for developers to joyn, test and improve a kernel built "by community for community"
Br
J
Click to expand...
Click to collapse
3.10? Really excited, i'll see if i can contribute somehow.
build guide has been updated for easy reading
http://developer.sonymobile.com/kno...evices/how-to-build-and-flash-a-linux-kernel/
br
J

[LOLLIPOP] Xperia AOSP Project

hi all
we have included this device in open devices project
you can check news about project on
http://developer.sonymobile.com/know.../open-devices/
feel free to fork, build, fix and push back
Br
J
reserved
@jerpelea
What about software binaries for Z Ultra? will Z1 do the job?
@jerpelea
Can you please share a bit more details about the precompiled kernel for other devices there at SonyXperiaDev's git is made from which sources?
So that by then we can compile a kernel.
I'll have a look tonight and see if there is anything I can try
I'm trying to build aosp 5 using z1 binaries from the sony dev site at the moment
blueether said:
I'll have a look tonight and see if there is anything I can try
I'm trying to build aosp 5 using z1 binaries from the sony dev site at the moment
Click to expand...
Click to collapse
you and me both but at the same time i'm following @jerpelea guide to build lollipop with new binaries
My VM takes ages to compile
blueether said:
I'll have a look tonight and see if there is anything I can try
I'm trying to build aosp 5 using z1 binaries from the sony dev site at the moment
Click to expand...
Click to collapse
I have been trying since almost one week.
Have been stuck at points i couldnt get past.
Lets hope this time something sweet comes :angel:
Many thanks jerpelea.
A device-sony-togari repository is referenced in the readme for the rhine common device tree, but It's not yet public. Can we expect this, along with togari specific binaries any time soon?
Compiling Sucessfull
Not made with lollipop binaries.
#### make completed successfully (02:10:52 (hh:mm:ss)) ####
Anyone care to try? I'm not responsable for any bricking or the cat in the house catching fire.
Saatvik Shukla said:
@jerpelea
Can you please share a bit more details about the precompiled kernel for other devices there at SonyXperiaDev's git is made from which sources?
So that by then we can compile a kernel.
Click to expand...
Click to collapse
the kernel is precompiled from the kernel repo of the sonyxperiadev git. (latest 3.5 branch should be used for compiling).
May i suggest adding "5.0" or "lollipop" to the thread title?
tsiros said:
May i suggest adding "5.0" or "lollipop" to the thread title?
Click to expand...
Click to collapse
Yeah, that would draw some extra attention. Maybe a mod can add it?
you can use honami blobs but kernel and dts have to be recompiled from unified kernel source
kernel is same unified kernel and has all configs for togari
please be patient and we will add new devices soon
br
J
Ok... building kernel right now... let's see
Sm0L said:
Compiling Sucessfull
Not made with lollipop binaries.
#### make completed successfully (02:10:52 (hh:mm:ss)) ####
Anyone care to try? I'm not responsable for any bricking or the cat in the house catching fire.
Click to expand...
Click to collapse
Sure bring it on. Still animal crulety is not fun
KalleEatingBrain said:
Sure bring it on. Still animal crulety is not fun
Click to expand...
Click to collapse
You probably should check out this thread.
updated guide and blobs for android Lollypop version 5.0.1
http://developer.sonymobile.com/knowledge-base/open-source/open-devices/
jerpelea said:
updated guide and blobs for android Lollypop version 5.0.1
http://developer.sonymobile.com/knowledge-base/open-source/open-devices/
Click to expand...
Click to collapse
Thanks for the hard work. AOSP id my daily at the moment, only real bug seems to be that cores 1-3 don't go off line (it is using CM's kernel at the moment as the AOSP one had more bugs I think)
blueether said:
Thanks for the hard work. AOSP id my daily at the moment, only real bug seems to be that cores 1-3 don't go off line (it is using CM's kernel at the moment as the AOSP one had more bugs I think)
Click to expand...
Click to collapse
cm and aosp in this moment are same kernel
br
J
jerpelea said:
cm and aosp in this moment are same kernel
br
J
Click to expand...
Click to collapse
blueether said:
Thanks for the hard work. AOSP id my daily at the moment, only real bug seems to be that cores 1-3 don't go off line (it is using CM's kernel at the moment as the AOSP one had more bugs I think)
Click to expand...
Click to collapse
Cm11 kernel to be precise.
If I remember right cm12 kernel didn't boot at all.

[PROJECT] Making AOSP Device Tree

Does someone wants to help me making an AOSP device tree?
Would bring some more roms to our device
I already started with a branch and commented out some compiling errors:
https://github.com/benschhold/android_device_oneplus_oneplus2/tree/aosp
Any help is appreciated.
@regalstreak
maybe something for you if you are interested
benschhold said:
@regalstreak
maybe something for you if you are interested
Click to expand...
Click to collapse
The problem is the kernel source. Ain't it? We need to rebegin from the plain linux kernel src imo idk
regalstreak
regalstreak said:
The problem is the kernel source. Ain't it? We need to rebegin from the plain linux kernel src imo idk
regalstreak
Click to expand...
Click to collapse
angler custom kernel work on both cm/aosp so i didnt thought about that
and isnt oxygen stock kernel aosp + oneplus patches? maybe we could start from there
benschhold said:
angler custom kernel work on both cm/aosp so i didnt thought about that
and isnt oxygen stock kernel aosp + oneplus patches? maybe we could start from there
Click to expand...
Click to collapse
Oxygen is based on caf so it is difficult. But not impossible. Did you build tho? We can get it booting easily. But ril and some stuff womt work.
regalstreak
regalstreak said:
Oxygen is based on caf so it is difficult. But not impossible. Did you build tho? We can get it booting easily. But ril and some stuff womt work.
regalstreak
Click to expand...
Click to collapse
im currently stuck at busybox error which i couldnt solve but not sure if its device related, tried on screwd rom and that have a lot of optimizations which cought caused that
i have to try again on another aosp source
benschhold said:
im currently stuck at busybox error which i couldnt solve but not sure if its device related, tried on screwd rom and that have a lot of optimizations which cought caused that
i have to try again on another aosp source
Click to expand...
Click to collapse
Make pure aosp source. And clone busybox from cm if its still not fixed. Its not a device error.
regalstreak said:
Make pure aosp source. And clone busybox from cm if its still not fixed. Its not a device error.
Click to expand...
Click to collapse
yep, im syncing
will try cm busybox if errer persists
benschhold said:
yep, im syncing
will try cm busybox if errer persists
Click to expand...
Click to collapse
screwd rom woo my fav rom !!
Sent from my ONE A2003 using XDA-Developers mobile app
does someone know where to define where kernel source is stored?
the typical TARGET_KERNEL_SOURCE is not working
when to try to build inline its always looking in out/ folder
Man, wish I could help but lack the skills.. Plenty of Linux machines on hand though.. Where do I start?
@benschhold, @King_lilrowrow wrote on his Twitter acc about 20 days ago he built NX Rom using only AOSP code. Doesn't that mean he had to make an AOSP tree? I would ask him for help
MaxtremePL said:
@benschhold, @King_lilrowrow wrote on his Twitter acc about 20 days ago he built NX Rom using only AOSP code. Doesn't that mean he had to make an AOSP tree? I would ask him for help
Click to expand...
Click to collapse
Trees or it didn't happen!
builds are going through compiling now
but are not booting
lets see
benschhold said:
builds are going through compiling now
but are not booting
lets see
Click to expand...
Click to collapse
Take your time [emoji1] [emoji7]. Can't wait. I have always loved pure AOSP
Sent from my ONE A2003 using Tapatalk
benschhold said:
builds are going through compiling now
but are not booting
lets see
Click to expand...
Click to collapse
Post some logcat, maybe we can help
WaxLarry said:
Post some logcat, maybe we can help
Click to expand...
Click to collapse
as far as i now its not possible to take one when not passing oneplus logo
i just compile another one and lets hope for the best :fingers-crossed:
i've already built aosp for lg g3.. i'm downloading right now n-preview2 sources i will help, i'll let you know once i will have everything ready
benschhold said:
as far as i now its not possible to take one when not passing oneplus logo
i just compile another one and lets hope for the best :fingers-crossed:
Click to expand...
Click to collapse
The problem is the kernel, i've already had this kind of problem.
Are you compiling your own kernel? If yes, which sources?
Basically in lollipop the kernel is compiled uncompressed with appended dtb, since MM, kernel is compressed and dtb is included in kernel.
WaxLarry said:
The problem is the kernel, i've already had this kind of problem.
Are you compiling your own kernel? If yes, which sources?
Basically in lollipop the kernel is compiled uncompressed with appended dtb, since MM, kernel is compressed and dtb is included in kernel.
Click to expand...
Click to collapse
no i went back to screwd cause aosp just wont find my kernel source
i fckd it up elsewhere
there is a solution for this. set in your baord config like this
Code:
BOARD_CUSTOM_BOOTIMG_MK := device/oneplus/oneplus2/mkbootimg.mk
and take the file from cm for example

Categories

Resources