[Q] P5113 Custom Kernel Compilation - Galaxy Tab 2 Q&A, Help & Troubleshooting

I can't seem to get my stock AOSP build working with a standard kernel compiled from the Samsung source (I haven't made any modifications). My AOSP ROM boots and works properly if I use the kernel extracted from the stock device boot.img, but if I try to use the kernel that I compiled, the device doesn't even boot properly and just goes into an infinite boot loop.
I've tried compiling with the Code Sourcery toolchain recommeded in the Samsung Kernel README, as well as with the arm-eabi-4.4.3 tootchain, but both yield the same result. Is there something I'm missing? Has anybody else gotten the stock Samsung kernel working with their ROM?

Samsung historically has never released workable kernel source.
Sent from my Galaxy Nexus using Tapatalk 2

Yeah, that's what I'm starting to hear. Are there any good resources or articles that give some pointers on debugging for kernel development?
Sent from my GT-P3113 using XDA

panehf said:
Yeah, that's what I'm starting to hear. Are there any good resources or articles that give some pointers on debugging for kernel development?
Sent from my GT-P3113 using XDA
Click to expand...
Click to collapse
I wish I knew, because I wouldn't mind getting into development either.
Sent from my Galaxy Nexus using Tapatalk 2

I started working on this last night and had the same experience. I'll keep plugging away at it and post back what I find.

I would love a custom kernel for this thing. This thing could be so much better. A custom kernel and more ROMs would complete me.

Related

[Request]Stock Kernel with Root and Rom Manager support

Hello- I posted this awhile ago but it got lost when the forums crashed:
Could someone out there point me to a stock kernel that has root built in and has rom manager support? Right now I have koush's rom CKM compatible kernel and I am using the one click root method- from what I understand it is preferable to have the root built into the kernel- thanks in advance
I would be interested in this as well.
untill samsung releases there d107 source code your out of luck. every kernbal right now is based of the dg27 kernal
Im running stock rom with the mixup kernel. Runs better than stock and everything works the same as if it were stock also. I suggest trying that.
Sent from my SPH-D700 using Tapatalk

Flashing kernals causes boot loops

I just got the Captivate yesterday and I'm in love with it. I've been modding my Backflip for a while and I'm fairly certain I know what I'm doing. I've been trying different ROMs and I've currently settled on a rooted stock 2.2 ROM.
I want to change my kernel though, so I put my phone in download mode and flashed the Galaxian kernel via Odin, it finished and then my phone started boot looping. So I one clicked it and tried again with SGS flasher, boot loop. One click restored, tried with CWM, boot loop.
I've also tried Talon, Speedmod, Setiron and a stock kernel with all 3 methods. Nothing will flash without boot looping.
That kernel is designed for reoriented i-9000 roms
Sent from my SAMSUNG-SGH-I897 using XDA App
What about all of the other ones that were supposedly for 2.2 ROMs?
AbaddonVH said:
What about all of the other ones that were supposedly for 2.2 ROMs?
Click to expand...
Click to collapse
It needs to be a true captivate 2.2 kernel a lot are i9000's you just need to read the op for whichever kernel you are looking at thoroughly. 90% of the time the dev states if its an i9000 kernel.
The speed mod kernel here, forum.xda-developers.com/showthread.php?t=893880 SHOULD work just make sure to wipe cache and dalvik cache in recovery after install and it should boot.
Sent from my I897 w/Antares Darkcloud, Red Nebula kernel, & 1.3Ghz OC using Tegrak.
You will have to read the description in the first post on the kernel you want to install, and the kernel you were installing was a gingerbread kernel
Sent from my SAMSUNG-SGH-I897 using XDA App
holeindalip said:
You will have to read the description in the first post on the kernel you want to install, and the kernel you were installing was a gingerbread kernel
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Yeah. You were trying to install a gingerbread kernel on a froyo ROM. That won't work.
Thanks guys! I think I downloaded the wrong version of SpeedMod the first time, it worked this time. Firstly I didn't know that the difference between i-9000 and i897 meant that much. Secondly, I'm not really sure how to read the kernel topics, they're confusing to say the least :S.
I'll learn sooner or later but thanks for your help everyone.
AbaddonVH said:
Thanks guys! I think I downloaded the wrong version of SpeedMod the first time, it worked this time. Firstly I didn't know that the difference between i-9000 and i897 meant that much. Secondly, I'm not really sure how to read the kernel topics, they're confusing to say the least :S.
I'll learn sooner or later but thanks for your help everyone.
Click to expand...
Click to collapse
Yeah some are very confusing the biggest help Is to learn the difference in firmware revision codes. Most captivate roms/kernels begin with k. like kh3, kf1 that sort of thing and from what I remember j is for I9000 eg jv1 etc...
Sent from my I897 w/Antares Darkcloud, Red Nebula kernel, & 1.3Ghz OC using Tegrak.

[Q] ICS ROM / KERNEL ? Anything official / Information?

Hello, I have been doing some reading here as well I sit on IRC on the #skyrocket channel which is pretty quiet these days.
I am using TPC GB rom build with Da_G kernel, and so far (since november 2011) it has been solid.
I have tried alienROM for the ICS leak, but it is missing some kernel features I like, however is a decent ROM. I was wondering if there were any nice ROMs or Kernels for ICS yet, or are well all still waiting for samsung to release an official ICS build so proper kernels can be made. It has been quite awhile and are we even getting an official build for the I727R (Rogers)
I wanted to post here if that is OK because I have not been finding too many answers to what I am looking for. I am in no rush really, but wanted to start thinking about tweeking my phone. Would it be best to play with leaked builds or just wait till some official builds come out then wait and go from there. If anyone has suggestions that would be great.
Thank you for your time and comments.
Hi. All the roms you'll find here are decent and will each appeal to different people and their needs. I've found the latest SkyICS to be excellent in many ways. Try a few different ones to see what you like. Any will be better than stock GB.
As for kernels, there are a few out, but none will have all the features we like about a custom kernel until the official ICS is released because -as far as I know - the code for the kernel hasn't been released yet.
For example, we won't have overclocking until someone can tear into the official released kernel.
I am not a developer, so please, someone correct me if I'm wrong about this.
Sent from my SAMSUNG-SGH-I727 using XDA
Without kernel source nothing can be done. No oc, no uv, no bln.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Thanks for the reply, I am on GB (not stock) running rom / kernel (4.3.5) just can't decide on what ICS I want to go with. So I will continue to read away
LPMatt said:
Hi. All the roms you'll find here are decent and will each appeal to different people and their needs. I've found the latest SkyICS to be excellent in many ways. Try a few different ones to see what you like. Any will be better than stock GB.
As for kernels, there are a few out, but none will have all the features we like about a custom kernel until the official ICS is released because -as far as I know - the code for the kernel hasn't been released yet.
For example, we won't have overclocking until someone can tear into the official released kernel.
I am not a developer, so please, someone correct me if I'm wrong about this.
Sent from my SAMSUNG-SGH-I727 using XDA
Click to expand...
Click to collapse
xcrazydx said:
Without kernel source nothing can be done. No oc, no uv, no bln.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
Doesn't the Cymbaline kernel have BLN now?
Dimarini said:
Doesn't the Cymbaline kernel have BLN now?
Click to expand...
Click to collapse
Yes. He posted that before the t989 source dropped. Cymbaline used fixes from that source. We also have instigatorx kernel for aosp based roms.
--
SGH-I727 using XDA premium, running cm9.
Questions? look here: http://forum.xda-developers.com/search.php

Can't Flash Kernels

So I lost my phone, got a new one, rooted using the casual root/unlock w/twrp method found on this forum http://forum.xda-developers.com/show....php?t=2332825
Is it possible to somehow improperly root/unlock without bricking? Or that I just got a bad download. I am having random reboots with just about every kernel I flash, some worse than others. I can only run the stock kernel. Running a clean 2.9 and the latest TWRP. Would it be useful to do a full wipe and "reroot/unlock"
What rom are you using and what kernels are you trying to flash?
Sent from my SCH-I535 using Tapatalk 4
Right, sorry. Liquid 2.9..tried flashing multiple builds of BMS, a few lk builds, dkp, and team kernalizer kernel. I think that's all of the available kernels for the s3
Sent from my SCH-I535 using Tapatalk 4
ThunderRootedDragon said:
Right, sorry. Liquid 2.9..tried flashing multiple builds of BMS, a few lk builds, dkp, and team kernalizer kernel. I think that's all of the available kernels for the s3
Sent from my SCH-I535 using Tapatalk 4
Click to expand...
Click to collapse
Clean flashes, freshly installed rom after first boot with the stock kernel, I reboot and flash the new kernel and just never fee stability.
Sent from my SCH-I535 using Tapatalk 4
ThunderRootedDragon said:
Clean flashes, freshly installed rom after first boot with the stock kernel, I reboot and flash the new kernel and just never fee stability.
Sent from my SCH-I535 using Tapatalk 4
Click to expand...
Click to collapse
Well, I follow AOSP kernel development a little bit. If I were you, I'd start by flashing a kernel built within seven days of July 20th cuz it seems every two to three weeks, kernel commits render older roms useless. If you don't follow AOSP commits in the more popular rom or kernel threads then I suggest staying away from custom kernels cuz they move quickly. Custom AOSP kernels built on 8/13 won't work on older roms for example.
Edit: I got July 20th cuz LiquidSmooth was last updated on July 20th btw. Just to be clear.
Good advice. I don't follow the aosp commits but I did have the same thought and flashed an older version of BMS (I really want to give it some burn) didn't work... I'll try an older build of lk too just to see where I am.
Really hoping 4.3 somehow resolves this issue for me.
Thanks for your help.
Sent from my SCH-I535 using Tapatalk 4
ThunderRootedDragon said:
Good advice. I don't follow the aosp commits but I did have the same thought and flashed an older version of BMS (I really want to give it some burn) didn't work... I'll try an older build of lk too just to see where I am.
Really hoping 4.3 somehow resolves this issue for me.
Thanks for your help.
Sent from my SCH-I535 using Tapatalk 4
Click to expand...
Click to collapse
Hope so too. I'm trying out Slim Bean beta 2 with BMS kernel from 8/15 and it's working great performance wise. I'd even suggest trying newer 4.3 rooms (CM, Unofficial CM, PA, etc) just for a couple hours and trying your hand with a custom kernel from 8/13 or newer. Or trying a newer 4.2.2 nightly with a custom kernel. For BMS, I believe GideonX said that 7/30 is the last JB 4.2.2 kernel he's made.
How long would you say you waited before flashing the kernel? I usually flash rom, reinstall my apps, set up home screens, then flash a kernel. Maybe 20 minutes between rom and kernel flash cuz of habit.
Sent from my SCH-I535 using Tapatalk 4

[Q] Cyanogenmod: Safe to flash a Kernel...?

Hi everyone,
I know this is probably a really nooby question, but im running the most recent nightly of cyanogenmod and i noticed it has its own kernel under About Phone. I would like to use faux kernel instead. Is it safe to flash faux kernel over the top of it or will it mess things up? Thanks guys!
All ROMs have kernels. They can't work without one so this makes the rules of changing kernels with cm no different from any other Rom.
You're right though, it's a really nooby question. I'm not trying to offend but not knowing this means you're not ready for flashing kernels. Please read the sticky threads in Q&A and general to bump your knowledge up to the next level first
Fyi, cm use CAF kernels only so you can only Flash CAF kernels.
Sent from my Nexus 5 using Tapatalk
you can flash any kernel you want.. but it doesnt mean that itll run. cyanogenmod uses caf for source, the moved away from aosp. so you can flash and run kernels based in caf, not aosp. faux kernel is an aosp kernel, so if you flash it you wont boot up.
Yeah, but only flash kernels for the n5. Flashing something else can brick it. If it's a caf based rom flash a caf kernel.
Sent from my SAMSUNG-SGH-I727 using XDA Free mobile app
rootSU said:
All ROMs have kernels. They can't work without one so this makes the rules of changing kernels with cm no different from any other Rom.
You're right though, it's a really nooby question. I'm not trying to offend but not knowing this means you're not ready for flashing kernels. Please read the sticky threads in Q&A and general to bump your knowledge up to the next level first
Fyi, cm use CAF kernels only so you can only Flash CAF kernels.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Ive read the stickies. I wanted to be cautious because im new to cyanogen and i didnt wanna mess anything up. I was using Cataclysm with Faux so I didnt need to know about CAF kernels back then. Thanks for your help anyway
simms22 said:
you can flash any kernel you want.. but it doesnt mean that itll run. cyanogenmod uses caf for source, the moved away from aosp. so you can flash and run kernels based in caf, not aosp. faux kernel is an aosp kernel, so if you flash it you wont boot up.
Click to expand...
Click to collapse
jd1639 said:
Yeah, but only flash kernels for the n5. Flashing something else can brick it. If it's a caf based rom flash a caf kernel.
Sent from my SAMSUNG-SGH-I727 using XDA Free mobile app
Click to expand...
Click to collapse
Alright got it. Ill have to go for a CAF kernel, thanks guys!
ProVickers said:
Ive read the stickies. I wanted to be cautious because im new to cyanogen and i didnt wanna mess anything up. I was using Cataclysm with Faux so I didnt need to know about CAF kernels back then. Thanks for your help anyway
Click to expand...
Click to collapse
It's good to be cautious.
Sent from my Nexus 5 using Tapatalk
rootSU said:
It's good to be cautious.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
right

Categories

Resources