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?
Related
Original LINK: http://forum.xda-developers.com/showthread.php?t=1023670
To start and organize X8 bootloader bypassing, and to leave X10 developers to focus entirely on X10 cracking, I've made this thread to keep track of progress and for developers to share info.
Of course, X10 developers, you're welcome too! Don't be shy!
Most important: do not ask for ETAs, and progress. It will be posted here, in first two posts.
Note: First two posts will be updated regulary, so don't forget to check them regularly!
What has to be done:
Compile splboot as kernel module - should be fine - nobodyAtall
Compile miniloader for MSM7227 - probably not working OK (jerpelea)
Make boot.img with zImage and ramdisk for X8
Developers and their work:
andrej456 - splboot, 15th May
Asdoos - signed up splboot.ko and miniloader - no progress yet
Bin4ry - side help and tips
Blagus - initiator, splboot, miniloader, boot.img, kernel
Chumby_666 - mood-lifter in IRC and tools provider
jerpelea - kernel progress
nobodyAtall - first compilation of splboot.ko and miniloader
slade87 - checking out splboot and miniloader, therefore reviving this subject, 2nd May
zdzihu - side help and tips
Progress (sorted by time):
splboot.ko - compiled by nobodyAtall - checked by jerpelea - working fine
miniloader - compiled by nobodyAtall - compiled from msm7x sources - checked by jerpelea, probably not working
ramdisk - from jerpelea - OK
kernel - needs to be compiled:
Originally Posted by jerpelea View Post
after many atrempts it seems that our problem is the compiled kernel
i have tested ramdisk and is ok
is loaded at correct address with correct parameters
kernel seems not to be compiled corectly
i will try to recompile and we will see
How to boot into custom kernel (how to test is it even working):
1) Get splboot.ko, miniloader and boot.img.
2) Download FlashTool 0.2.9.1
3) Place three files downloaded eariler to ./custom/kernel, replace existing files.
5) Ask root permissions - Allow
6) xRecovery
7) Install kernel bootkit (Advanced -> Kernel -> Install bootkit)
8) Reboot into custom kernel (Advanced -> Kernel -> Reboot custom kernel)
Click to expand...
Click to collapse
As far i can see the x8 comunity just need to recompile the kernel and thats it.
Maybe we can take advantage of what they did and try to work for our x10 mini/pro
Well, that's not so easy as it seems, we need to compile a splboot, and all who tried to did it, i think fail'd including me . Anyway we're working on that, but it's not gonna be easy
Does it by chance have anything to do with locating the root partition?
I really appreciate all the dev's hard work on this. With x10mp kernel being bypassed and seeing as we already have UV/OC/MT, what exactly is the benefit of putting a custom kernel on at this point?
D4rKn3sSyS said:
Well, that's not so easy as it seems, we need to compile a kernel, and all who tried to did it, i think fail'd including me . Anyway we're working on that, but it's not gonna be easy
Click to expand...
Click to collapse
compiling the kernel is not the issue compiling the splboot/miniloader with the adresses is the main issue.
slade87 said:
compiling the kernel is not the issue compiling the splboot/miniloader with the adresses is the main issue.
Click to expand...
Click to collapse
My bad i meant splboot.ko
ok heres my problem so far. i know howto compile kernel from source, and i've manage to compile one for my live walkman, but what i dont know is howto repack the compiled zImage with ramdisk?
on my previous device samsung galaxy ace i can use a perl script from here to repack and i know that the base parameter is 0x13600000 and pagesize is 4096.
so my question is:
1- is there any similar script that i can use te repack kernel for sony?
2- if theres none, can i use the said perl script by modifying base parameter and pagesize specifically for live walkman?
3- for live walkman, what is its kernel base parameter and pagesize?
4- i know that all of our current custom kernel had cwm recovery repacked as one with the kernel, and my guess is its in the ramdisk. so which file is the cwm recovery in the ramdisk?
thanks before
ummm anyone?
i cant give u any other help rather than this
"bump"
you can sms to Doomlord for helps, he's so kind
damn... still cant figure out why my kernel wont boot.
i'm following this thread to repack the ramdisk
http://forum.xda-developers.com/showthread.php?t=1477845
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....^^
Hi Every body ,
i want to flash a modified kernel in to my I 9100G phone , and am wondering is there any body could help me
by sharing a download link of the AnyKernel.zip tool
Ps: i want to flash my ZImage and the ramdisk with the built modules .
best regards
Hey.
I hope you know, what you are doing anyway https://github.com/koush/AnyKernel this is what you are asking just download zip.
Oh and you can give me a shout if something goes wrong
Thank you for your Help , i will try flash the kernel today,
adding information that, am trying to build the "GT-I9100G_ICS_Opensource_Update2", and i choose this tool to help me flashing my Zimage with the ramdisk (initramfs) including the Built modules .
Thak you, i will give you shouts
hi,
thanks to Mantulis for sharing the link .
After downloading AnyKernel.zip , i did the necessary steps by moving my zImage to "kernel folder" and the built modules in "/system/lib/modules/" folder , but it seems that i couldn't flash it using the CWM ,
i had the message like :
finding update package ...
Opening update packages ...
Installing update ...
AnyKernel Updater by Koush
Extracting system files ...
.
.
.
Done ...
but when viewing my Kernel version i found that it's the same old on (the kernel didn't flashed for real !!!!)
Ps:
I rebuilt the GT-I9100G_ICS_Opensource_Update2 kernel, and i get my Zimage,
i am using :
- Ubuntu 11.04,
-i tried the "arm-2010q1" toolchains and the "arm-eabi-4.4.3" one ,
- am using initramfs of Mr superatmos, that he mentioned in his thread http://forum.xda-developers.com/show....php?t=1587482 .
- i am working with "android_t1_omap4430_r03_user_defconfig", imade no changes to the .config file just the CONFIG_INITRAMFS_SOURCE.
my phone is on the ICS 4.0.3 ROM, with the 3.0.8-TH [email protected] #1 kernel version
Hi people,
after downloading AnyKernel.zip, and flashing the .zip to my I9100G phone, i always got a boot loop,
After the researches that i made, i understand that the Anykernel.zip was developed to HTC smartphone and not for te I9100G,
i Solved the boot loop situation by getting a new initramfs from the CWM kernel source and compiling my zImage with the arm-2010q1 toolchains.
Salutations.
I downloaded the zip and flashed it...
Still in a boot loop. Could more light be shed on this operation. Thank you.
hello every one,
is there any body who can help me with my problem Pleaaaaaaaaaaase ?
I rebuilt the GT-I9100G_ICS_Opensource_Update2 kernel, ang i get my Zimage, but when flashing it in to my I9100G phone i got a boot issue (KERNEL CANT BOOT stock into boot image) ,
for information: i am using :
- Ubuntu 11.04,
-i tried the "arm-2010q1" toolchains and the "arm-eabi-4.4.3" one ,
- am using initramfs of Mr superatmos, that he mentioned in his thread http://forum.xda-developers.com/showthread.php?t=1587482 .
- i am working with "android_t1_omap4430_r03_user_defconfig", imade no changes to the .config file just the CONFIG_INITRAMFS_SOURCE.
my phone is on the ICS 4.0.3 ROM, with the 3.0.8-TH [email protected] #1 kernel version
An other question: what's about the LOCALVERSION parameter ? it could be the problem ?, How i can get Kernel Logs when it is booting ??
i am working over 12 days for now, searching and testing with no result
metal_fuel said:
hello every one,
is there any body who can help me with my problem Pleaaaaaaaaaaase ?
I rebuilt the GT-I9100G_ICS_Opensource_Update2 kernel, ang i get my Zimage, but when flashing it in to my I9100G phone i got a boot issue (KERNEL CANT BOOT stock into boot image) ,
for information: i am using :
- Ubuntu 11.04,
-i tried the "arm-2010q1" toolchains and the "arm-eabi-4.4.3" one ,
- am using initramfs of Mr superatmos, that he mentioned in his thread http://forum.xda-developers.com/showthread.php?t=1587482 .
- i am working with "android_t1_omap4430_r03_user_defconfig", imade no changes to the .config file just the CONFIG_INITRAMFS_SOURCE.
my phone is on the ICS 4.0.3 ROM, with the 3.0.8-TH [email protected] #1 kernel version
An other question: what's about the LOCALVERSION parameter ? it could be the problem ?, How i can get Kernel Logs when it is booting ??
i am working over 12 days for now, searching and testing with no result
Click to expand...
Click to collapse
Problem Solved, i changed the initramfs files, extracted them from the CWM zImage
Salutations