[Q] [Kernel] Building my own kernel - Galaxy Note GT-N7000 Q&A, Help & Troubleshooting

Hey guys i just started to develop for android. I already have a linux (Ubuntu) machine and the kernel source from samsung. I know how to build the kernel too. But now my question is: Can i test the kernel without flashing it to my device? I dont want to damage anything

KvnTM said:
Hey guys i just started to develop for android. I already have a linux (Ubuntu) machine and the kernel source from samsung. I know how to build the kernel too. But now my question is: Can i test the kernel without flashing it to my device? I dont want to damage anything
Click to expand...
Click to collapse
No options, flash on your device first..

zai89 said:
No options, flash on your device first..
Click to expand...
Click to collapse
k, Thanks

ppl, correct me if im wrong, but I think its easiest if you flash only the system partition.
but again, i wouldnt do it unless im sure that the bootloader is expected to work with that ROM. best is to recompile the ROM you're using yourself and see if the Kernel name changes under About Phone

schlager said:
ppl, correct me if im wrong, but I think its easiest if you flash only the system partition.
but again, i wouldnt do it unless im sure that the bootloader is expected to work with that ROM. best is to recompile the ROM you're using yourself and see if the Kernel name changes under About Phone
Click to expand...
Click to collapse
I want to test my own KERNEL not a custom ROM. If you flash a corrupted kernel you can hardbrick your device with ease. Imagine you develop ur own kernel, flashed it and youre device just turned into useless piece of electronic. Terrible.

Related

[REQ]Sgs2 Ics Touchwiz Rom for captivate

hi there, can any one port SGS2 touchwiz ics rom for captivate ? its already out for i9000. and i tried that on my captivate but no luck
Vibranturk to rescue!
Help us pls, Vibranturk!
majidshahab091 said:
hi there, can any one port SGS2 touchwiz ics rom for captivate ? its already out for i9000. and i tried that on my captivate but no luck
Click to expand...
Click to collapse
Unless Vibranturk knows how to compile kernels, he is of no use right now. Sorry, I would take a go at it, I just don't have any Linux installed right now and don't wanna DL the source to build the kernel. You have to build a modified kernel for the Phone to boot, you can try flashing Glitch after you the flash the ROM and reboot.
b-eock said:
Unless Vibranturk knows how to compile kernels, he is of no use right now. Sorry, I would take a go at it, I just don't have any Linux installed right now and don't wanna DL the source to build the kernel. You have to build a modified kernel for the Phone to boot, you can try flashing Glitch after you the flash the ROM and reboot.
Click to expand...
Click to collapse
I tried flashing this rom with glitch kernel but still no luck.
Then wait until I get things setup and I might take a go at it....
b-eock said:
Then wait until I get things setup and I might take a go at it....
Click to expand...
Click to collapse
ohh great. I think it will be the best rom for our cappy. It has very nice interface. Pls try to develop kernel for captivate..
I won't be developing a kernel, I would modifying Glitch probably
b-eock said:
I won't be developing a kernel, I would modifying Glitch probably
Click to expand...
Click to collapse
Yea thats good too. hoping for modified glitch
If all goes well then you could see a kernel soon. I just need to see what the dude from the I9000 Forums did to make it boot
b-eock said:
If all goes well then you could see a kernel soon. I just need to see what the dude from the I9000 Forums did to make it boot
Click to expand...
Click to collapse
b-eock .... thanx waiting for something nice
Worth repeating - thanks!
And again - may be porting just some TW apps will be easier.

[Q] CWM flashable kernel

why cant we flash kernel using CWM or apps like Odin or integrate kernel within the rom? like it is done on other phones... what is it that prevents it to be done on X8
CnC-ROCK said:
why cant we flash kernel using CWM or apps like Odin or integrate kernel within the rom? like it is done on other phones... what is it that prevents it to be done on X8
Click to expand...
Click to collapse
weeww...nice idea
but I dont know the answer dude!
waiting for the Pro person to answer it...
CnC-ROCK said:
why cant we flash kernel using CWM or apps like Odin or integrate kernel within the rom? like it is done on other phones... what is it that prevents it to be done on X8
Click to expand...
Click to collapse
i never seen on any Xperia phone 2010/2011 and generally any phones with 2.6.29.6 kernel to be able to flash through CWM or with apps... I know that a lot of other phones have that option but we are stuck with flashtool. :/
actually the X10 has a KTG kernel that can be flashed through CWM and it's for locked bootloaders. DooMKerneL for locked bootloaders can also be flashed via CWM.
you don't read much do you?
in an interview NAA already mentioned about it.and he is working on this , lets just cross our fingures and wish him all the best
Kernel and recovery have to be seperated to make kernel flashable through recovery. But in our case, recovery is part of kernel so that is making some troubles I guess
Godra said:
Kernel and recovery have to be seperated to make kernel flashable through recovery. But in our case, recovery is part of kernel so that is making some troubles I guess
Click to expand...
Click to collapse
Not at all,this is not a problem as long as we can install recovery at the stock kernel.
Sent from my X8 using xda premium
kernel and recovery can be separated easily. but that won't provide CWM flashable kernels. read my post (in this thread and the off-topic thread) or nAa's post in his interview.
flashing Kernel using CWM
sgt. meow said:
kernel and recovery can be separated easily. but that won't provide CWM flashable kernels. read my post (in this thread and the off-topic thread) or nAa's post in his interview.
Click to expand...
Click to collapse
As per my knowledge of uC (of cources with Atmel ones) ( new to ARM )
boot loader/ kernel boot is placed in special area of the non volatile memory and kernel calls the /system to boot.
Here in case of custom kernels , CWM is just embedded into kernel like a system functions which is called when recovery is evocked, allowing the kernel to perform read / write on to permitted partions like /system and others. but it does not provide access to the boot loader area.
Please let me knwo if I understand the things correctly in situation with ARM and andriod.
Cheers!
Royal Eagle
=============================================================================================
X8 | Unlocked boot loader | Achotjan Semc Debrand Engine v3.0 beta 2 | Super Charged with V6 -- More RAM means More faster
You are correct.
noobismyname said:
you don't read much do you?
in an interview NAA already mentioned about it.and he is working on this , lets just cross our fingures and wish him all the best
Click to expand...
Click to collapse
almost a year ago......you think he is still working on it?... i dont think so
he has work too..he cannot simply put all his time on xda..developing rom, handling his kernels...i dont think we will see cwm flashable kernel from him..although he can make it
he may be working on it. it's pretty hard to working even for nAa.
sgt. meow said:
he may be working on it. it's pretty hard to working even for nAa.
Click to expand...
Click to collapse
that what i said... he aint got free time.....he has his own work too... so he cannot do it...
CnC-ROCK said:
that what i said... he aint got free time.....he has his own work too... so he cannot do it...
Click to expand...
Click to collapse
Similar things we too thought before nAa released MINICM9...
So be patient and wait..

Building a new kernel need some info

Ok guys i am building a new kernel for you Note users based on the official source that samsung Dropped..i have the source and tools the problem is can someone point me on how to include the recovery as i do not own the device and would like to share some love on this device..else i will just build it without the recovery..
your replies will be much appreciated as this will be step forward for you to have a new kernel..this will be a blind build since i do not own the device i DID own it but never fiddled with it since the device was prone to bricking..
I hope you are aware of the brick bug.
http://forum.xda-developers.com/showthread.php?t=1633943
http://forum.xda-developers.com/showthread.php?t=1857556
Boy124 said:
I hope you are aware of the brick bug.
http://forum.xda-developers.com/showthread.php?t=1633943
http://forum.xda-developers.com/showthread.php?t=1857556
Click to expand...
Click to collapse
He just said that lol
Sent from my Galaxy Nexus using xda premium
Boy124 said:
I hope you are aware of the brick bug.
http://forum.xda-developers.com/showthread.php?t=1633943
http://forum.xda-developers.com/showthread.php?t=1857556
Click to expand...
Click to collapse
yes i am aware of that and it seems the newer ones are now safe from brick bug..but still its never late just to be cautious..
just finished building 1 kernel image..hope i did it right..
note: Always do a backup before borking your device..
test zimage
also i need a clean ramdisk for STOCK TW roms..as i am just using the Revived Hydracore kernel ramdisk..it might not boot as i what i am seeing it..but nonetheless just try if it boots up..
kairi_zeroblade said:
yes i am aware of that and it seems the newer ones are now safe from brick bug..but still its never late just to be cautious..
Click to expand...
Click to collapse
Sorry, but that's kind of a joke: you want to build a kernel for the Note, but you do not have one. And you do not know how to include recovery. And you want to be cautious.
You really expect that a member with a Note would risk his device testing this?
Maybe you should start to build a kernel for a device you own yourself.
ThaiDai said:
Sorry, but that's kind of a joke: you want to build a kernel for the Note, but you do not have one. And you do not know how to include recovery. And you want to be cautious.
You really expect that a member with a Note would risk his device testing this?
Maybe you should start to build a kernel for a device you own yourself.
Click to expand...
Click to collapse
i used the remaining Hydracore remnants for ramdisk and in my inspection i did found a recovery included..nevertheless it seems to be safe as i am reading his deve post before i dived in..
i own an S3 and i built my own kernel for it..based on the Update 7 sources the same goes for my S3 mini(i do not own the device but since sources are available then why not build 1)..also i am not obliging everyone to help..if it boots up then good for you as i can upload the source and for your devs to start spinning things..much more or less its a good start..
you can always ODIN in the stock boot image..if things come worse..also do not blame me since this was the problem with samsung to begin with..
edit1: ok so for those who are interested to help me you can PM me as i want to try the lower exynos platform..this is just weird as the kernel format is in zimage instead of a normal boot.img file..this is just for those who are brave and knows the way around stuff with N7000..
kairi_zeroblade said:
you can always ODIN in the stock boot image..if things come worse..also do not blame me since this was the problem with samsung to begin with..
Click to expand...
Click to collapse
If things come worse you'll make a new "Angelom Kernel". No risk for you - because you can't brick your device.
But in the end each tester has to decide if he wants to test your "blind build".
ThaiDai said:
If things come worse you'll make a new "Angelom Kernel". No risk for you - because you can't brick your device.
But in the end each tester has to decide if he wants to test your "blind build".
Click to expand...
Click to collapse
that is why its just for those who are brave enough..else you stay on stock forever..that is why samsung release these codes..for those who are interested..else just look at those codes..

[CM7][KERNEL]Unofficial Cyanogenmod 7 for Ace-i

reported it to be deleted.
wait till tomorrow for my new personal build
Will complete it later on.
Will complete it later on.
wuut?
This is yours CM7 or based on CM7 bieltv?
Alucard1989pl said:
This is yours CM7 or based on CM7 bieltv?
Click to expand...
Click to collapse
Yep my cm7 built from source
The device trees are by biel which I am working on.
downloading .... report in half an hour ...!
EDIT: Sbrick too, trying with hell lock now...
Phone has soft brick by kernel in your cm7 rom . . . system data and cache must be formated to ext4?
Alucard1989pl said:
Phone has soft brick by kernel in your cm7 rom . . . system data and cache must be formated to ext4?
Click to expand...
Click to collapse
use hells fusion from the other thread..
I already use hells fusion kernel but when i installed your cm7 my phone stuck on splash screen and led for 1 sec turn on.
Alucard1989pl said:
I already use hells fusion kernel but when i installed your cm7 my phone stuck on splash screen and led for 1 sec turn on.
Click to expand...
Click to collapse
logcat? its really weird cuz it worked for someone else..
what instructions did u use?
prototype-U said:
use hells fusion from the other thread..
Click to expand...
Click to collapse
Please include your kernel in this thread to make it clearer
You have to use this updater-script for flash cm7. If you don't use this one, the phone will get bricked. http://pastebin.com/htJ8NYTs
For use this updater-script you have to put in the first root of the zip two files: bmlunlock and busybox.
Remember to add the boot.img of hells fusion kernel at second post!
P.S. OP I think that you have to give credits to biel!
Soft Brick. Tried with hell lock flashable zip, softbrick with flashlight with 2 seconds. Now tried with the kernel you provided, stuck on the SGAi bootlogo. Any solution? You said it worked on someone else's device... How did he install? From stock or another rom?
EDIT: Now will try with the updater script you said, @Lopicl.00 . What attachment are you talking about?
mathm2013 said:
Soft Brick. Tried with hell lock flashable zip, softbrick with flashlight with 2 seconds. Now tried with the kernel you provided, stuck on the SGAi bootlogo. Any solution? You said it worked on someone else's device... How did he install? From stock or another rom?
Click to expand...
Click to collapse
Follow my post!
bricked the device while trying to install this rom, i had the kernel from your threat
Angryace said:
bricked the device while trying to install this rom, i had the kernel from your threat
Click to expand...
Click to collapse
Threat is something that puts you in danger
Well, I don't know which is the point of this thread. You are building my sources. You are making my ROM. Why create another thread? You don't have the device, me neither, but I started that project from 0. Why instead of making your CM7 you don't help us? Why don't you make a pull request? Do we need to talk with testers, which are the same for the both of us, to just test the same ROM!? If we want to have something big, we should focus on one CM and not building various CM7. I don't know which is the point of this, and I don't know what were you thinking. In your github there is 0 changes on my device tree. I committed all my changes during the last month and you used my work to build your own, and then it seems that your ROM is better than mine, because I don't release mid-done ROM's. I want to give the best expierence to all the users.
Also, I committed all the changes to help people understand on what I'm working. Many users asked me if I was really working on it, as I did not commit anything to github, but I was. And what happens if I commit? other users use my work to build their ROM's? I think that's not the way to go.
And what about a simple credit to the real author of this ROM? as your signature says: Send me device tree and I'll build the ROM. Why? To be more famous using other people's work? I don't get the point of anything here...
Oh, btw, where are the permissions to do that?
Thanks, Biel.
bieltv.3 said:
Well, I don't know which is the point of this thread. You are building my sources. You are making my ROM. Why create another thread? You don't have the device, me neither, but I started that project from 0. Why instead of making your CM7 you don't help us? Why don't you make a pull request? Do we need to talk with testers, which are the same for the both of us, to just test the same ROM!? If we want to have something big, we should focus on one CM and not building various CM7. I don't know which is the point of this, and I don't know what were you thinking. In your github there is 0 changes on my device tree. I committed all my changes during the last month and you used my work to build your own, and then it seems that your ROM is better than mine, because I don't release mid-done ROM's. I want to give the best expierence to all the users.
Also, I committed all the changes to help people understand on what I'm working. Many users asked me if I was really working on it, as I did not commit anything to github, but I was. And what happens if I commit? other users use my work to build their ROM's? I think that's not the way to go.
And what about a simple credit to the real author of this ROM? as your signature says: Send me device tree and I'll build the ROM. Why? To be more famous using other people's work? I don't get the point of anything here...
Click to expand...
Click to collapse
Ok I am also starting the device tree from scratch. Is that alright?
I will suspend the current build and post a new one tomorrow which will based on my device trees.
About credits? I didnt even complete writing this thread..
About changes thing? I have made changes at my end which are not committed becuz I dont wanna put untested changes on github.
Sorry If I offended someone but I had no real intentions of doing that..
and btw.. I mean somehting else from my sign.. I want to help other device owners to get new roms to their device. Though it contradicts to this build.

[Q] booting recovery on 64bit EU version?

Hi everyone...
Has anyone managed to get root acces or even boot twrp/cwm successfully on the EU 64bit version of the D510??
i have been trying to compile the kernel myslf but i dont have much experiance with kernels and setting up an environment..
and if anyone needs to use my 64bit variant for testing i will be here to help
Inside 4ndroid said:
Hi everyone...
Has anyone managed to get root acces or even boot twrp/cwm successfully on the EU 64bit version of the D510??
i have been trying to compile the kernel myslf but i dont have much experiance with kernels and setting up an environment..
and if anyone needs to use my 64bit variant for testing i will be here to help
Click to expand...
Click to collapse
Nobody working on it
vwadam said:
Nobody working on it
Click to expand...
Click to collapse
apaerently not although i am doing my best i have set up an ubuntu linux environment so i can compile kernels etc so hopefully i will be able to do something with it soon.. if not we will have to wait until htc release kernel source or a stock ruu so we can pull recovery and kernel from that..
Inside 4ndroid said:
apaerently not although i am doing my best i have set up an ubuntu linux environment so i can compile kernels etc so hopefully i will be able to do something with it soon.. if not we will have to wait until htc release kernel source or a stock ruu so we can pull recovery and kernel from that..
Click to expand...
Click to collapse
Oh ok,than good luck for it,hope to get it soon because my phone allredy in bootloop...

Categories

Resources