Hi @ all...
At First let me Appologize for my bad English i come from Germany...
I have managed to compile cyanogen mod v7 without any problems and also the Generic Kernel for use with the avd (just to test if my Modifications on the Source work.....) But if i Start the avd with the custom compiled roms i only get a black screen...The strange thing is that i just removed the youtube app at the moment .....
and my second question would be about the android kernel that the MK16i uses , ist it necesarry to download a special version of the kernels
source or can i just compile a linux kernel from original repo, if yes wich version of the kernel would be needed to support MK16i's hardware???
thx in advanced....^^
Related
Hello,
I am quite new to Android development. I want to build a kernel for my Xperia Mini.
I have been following the steps on the official SE site. However,I need an initramfs. How do I get it ?
Thank You !
I just downloaded one from github freexperia project, but after compiling the kernel the phone doesn't boot ! What may be the problem ?
If you downloaded FXP sources to use with the Stock rom, it wont boot due to different size on the ramdisk.
Try compiling the zImage from Doomlord's Sources.
link: https://github.com/DooMLoRD/Xperia-2011-Kernel-2.6.32.9
Btw... Wrong forum section
Hello, I downloaded the ramdisk from DooMLoRD sources on github and built the kernel using the steps provided on the SE website. However, the phone doen not boot using that kernel which I have built. What may have gone wrong ?
Please Help !
Hey Guys,
I'm following sony tutorial on how to build stock kernel.
It is my first time doing something like that so I don't have a lot of knowlodge.
I done the following.
- Downloaded the source
- Downloaded prebuild toolchain by doomlord
- configured the kernel
- edited menu config and got zimage
Then I'm stuck , don't know what to do next...
So my questions is :
1- from where should I get stock ics ramdisk ?
2- How can I merge the ramdisk and zimage to get my boot.img ( I mean finishing compiling process ) ?
Other questions
1- Do I need to edit menu config only to get ext support? ( I used "ncurses-devel" which enables me to edit menu config via terminal , and I think I found ext2/3 is enabled by default if I'm not mistaken!!!! )
2- How to upstream the kernel to the latest available ?
3- how to add a patch ( like power button + home key = fast reboot )
I just want to create a simple kernel close to sony's one with tiny modifications , and have some fun by compiling too
I'm using ubuntu for this...
If anyone could help by answering my questions or pointing me to the right tutorial , I'll be thankfull.
Mysteryagr said:
Hey Guys,
I'm following sony tutorial on how to build stock kernel.
It is my first time doing something like that so I don't have a lot of knowlodge.
I done the following.
- Downloaded the source
- Downloaded prebuild toolchain by doomlord
- configured the kernel
- edited menu config and got zimage
Then I'm stuck , don't know what to do next...
So my questions is :
1- from where should I get stock ics ramdisk ?
2- How can I merge the ramdisk and zimage to get my boot.img ( I mean finishing compiling process ) ?
Other questions
1- Do I need to edit menu config only to get ext support? ( I used "ncurses-devel" which enables me to edit menu config via terminal , and I think I found ext2/3 is enabled by default if I'm not mistaken!!!! )
2- How to upstream the kernel to the latest available ?
3- how to add a patch ( like power button + home key = fast reboot )
I just want to create a simple kernel close to sony's one with tiny modifications , and have some fun by compiling too
I'm using ubuntu for this...
If anyone could help by answering my questions or pointing me to the right tutorial , I'll be thankfull.
Click to expand...
Click to collapse
1.you can get ics ramdisk from ics stock kernel.
2.get kernel kitchen
1.1you need to edit ramdisk to add suport
1.2you need to find your way to upstream it.
1.3its not posibole to go to fast boot with that module coz semc bootloder use menu bootn.that conbinacion is used on samsung phones.
n1kolaa said:
1.you can get ics ramdisk from ics stock kernel.
2.get kernel kitchen
1.1you need to edit ramdisk to add suport
1.2you need to find your way to upstream it.
1.3its not posibole to go to fast boot with that module coz semc bootloder use menu bootn.that conbinacion is used on samsung phones.
Click to expand...
Click to collapse
1. Is this the right way to get the ramdisk from 2011 xperia stock kernel
Edit: used kernel kitchen for this
2. I have kernel kitchen Should I use it to assemble boot.img ?
Also in sony tut. they used mkbootimg program
Edit: will figure it out myself insted of looking dumb xD
1.1 ok
1.2 still searching but do not know how!
need help
1.3 I didn't mean fastboot I meant device reset Home + power key , already there in some xperia 2011 stock based and JB kernels.
Thanks for answering my questions , I'm noob trying to learn here
Mysteryagr said:
1. Is this the right way to get the ramdisk from 2011 xperia stock kernel
Edit: used kernel kitchen for this
2. I have kernel kitchen Should I use it to assemble boot.img ?
Also in sony tut. they used mkbootimg program
Edit: will figure it out myself insted of looking dumb xD
1.1 ok
1.2 still searching but do not know how!
need help
1.3 I didn't mean fastboot I meant device reset Home + power key , already there in some xperia 2011 stock based and JB kernels.
Thanks for answering my questions , I'm noob trying to learn here
Click to expand...
Click to collapse
look at naa kernel,its for reset keyboard...look at his source its inside kernel
ok will check that...
another thing
Can I take cwm recovery from other custom kernel and simply put it in my ramdisk sbin folder or it needs modifications?
Compiled successfully
Kernel Compiled successfully, and I flashed it to my phone. booted fine
But now I've a problems:
- A message shows "are you sure you enabled root"
I already changed ro.secure=1 to =0 in defualt.prop in ramdisk
anything else to do?
Hi guys, I'm doing a Cyanogenmod 12.1 porting for my device that is unsupported. I can build everything and I get a flashable zip but I'm using a prebuilt stock kernel image extracted from the stock lollipop rom. After flashing, the phone does not boot and It's impossible even to access to logcat, so I think it's a kernel related issue. My question is:
- I have the stock kernel source (v.3.10) given by the vendor
- I have the cyanogenmod kernel source (v.2.69)
Do I have to build the stock kernel or I can build the cyanogenmod one by merging the drivers modules and others stuff?
And if I flash a wrong kernel image can my device become unusable?
I read that is not fair importing built kernel modules from other kernel version, but if I merge the kernel trees, is it the same?
Sorry in advance if my question is a noob question
Well I don't know much about porting roms or kernels though. But with what I've heard flashing the wrong kernels can permanently render your phone useless..
Sent from my Tecno F7 a ...?
Hi, this is my first post on xda, but i was reading it about 4 years and now i have unusuall question:
I have phone - samsung callisto (GT-I5510) with cyanogenmod 10.2 rom (android 4.3.1), and kernel sources are available for it, but only below 2.6.35.7 since phone is ancient. This is "latest" and probably "fastest" android phone with qwerty keyboard (not including this unrootable new blackberrys), so i think that it would be nice idea to deploy lightweight kali linux nethunter installation for hacking purpouses. I had some problems with oficial installer, and i had to modify it to allow install on device with such small /system partition, but the problem is that chrooting to Kali Roling is not working, becouse minimal kernel version needed is 3.2.*.*
Question is: Can i somehow "update" kernel sources of this device, so i can build 3.2.*.* kernel? I have much free time and even more determination to do this.
Hi guys, maybe a noob question, but I think could be useful for someone other. I noticed Sony provides kernel 4.14 via Open Devices programme. Does it would be easy replace the 4.4 kernel present in most of the ROMs available here with 4.14?