Let's get this kernel built from source! - Nexus 10 General

Hey guys... I just wanted to see if anyone is already working on getting the kernel to compile..
You can find the source here: https://android.googlesource.com/kernel/exynos/ as stated in an earlier thread.
I'm currently getting my computer reformatted and getting my build environment set up. I've built from source before, but never for a kernel. Hoping to get the ball rolling on this! Cheers! :good:

By the way, I think we should all start hanging out in #nexus10 on freenode irc. Collaboration FTW
EDIT:
#Nexus10 already exists....

jdbeitz said:
Hey guys... I just wanted to see if anyone is already working on getting the kernel to compile..
You can find the source here: https://android.googlesource.com/kernel/exynos/ as stated in an earlier thread.
I'm currently getting my computer reformatted and getting my build environment set up. I've built from source before, but never for a kernel. Hoping to get the ball rolling on this! Cheers! :good:
Click to expand...
Click to collapse
Looks like android-exynos-manta-3.4-jb-mr1-fr is the shipping kernel. Will check it out here shortly.

I was unsuccessful my first go around :/ I'm gonna keep trying though!

jdbeitz said:
I was unsuccessful my first go around :/ I'm gonna keep trying though!
Click to expand...
Click to collapse
Yeah, really just need the kernel config off the device. We'll have that soon enough though.

It builds fine for me.
I've mirrored the kernel source on GitHub as well, chirayudesai/android_kernel_exynos
Sent from my GT-P1000

cdesai said:
It builds fine for me.
I've mirrored the kernel source on GitHub as well, chirayudesai/android_kernel_exynos
Sent from my GT-P1000
Click to expand...
Click to collapse
Oh... think I was using the wrong toolchain before. Thanks for the mirror too.

Related

[kernel][experimental] at&t

Hello,
Just putting the word out that I've built hxore for AT&T
I can't test it (I do not have the AT&T version) so you'll need to two things to test this:
1) Bravery!
2) A copy of a kernel.img you know works, and a backup of your kernel modules
Here's the post: http://forum.xda-developers.com/showpost.php?p=42630684&postcount=782
Please feedback in the kernel thread.
Apologies in advance if it doesn't work! Don't get your hopes up!
First one didn't work due to my boundless stupidity
http://forum.xda-developers.com/showpost.php?p=42658745&postcount=796
The version in the link above therefore has a significantly better chance of working! Brave testers wanted!
git link please dude, might cherrypick into my ATT kernel, if that's ok?
Lloir said:
git link please dude, might cherrypick into my ATT kernel, if that's ok?
Click to expand...
Click to collapse
Umm. It's going to be tricky because I merged all my commits from the international kernel into one big patch...
But here: https://github.com/bedalus/ATnT/
Also I've had no confirmation yet that it's actually working!
I think you'd be better off cherry picking from the hxore repo
bedalus said:
Umm. It's going to be tricky because I merged all my commits from the international kernel into one big patch...
But here: https://github.com/bedalus/ATnT/
Also I've had no confirmation yet that it's actually working!
I think you'd be better off cherry picking from the hxore repo
Click to expand...
Click to collapse
lol sod that then. send me a link in my pm i'll test the kernel for you later
http://forum.xda-developers.com/showpost.php?p=42698401&postcount=828
Latest test version, hopefully with wifi fixed, testers needed!
bedalus said:
http://forum.xda-developers.com/showpost.php?p=42698401&postcount=828
Latest test version, hopefully with wifi fixed, testers needed!
Click to expand...
Click to collapse
I'll give it a shot.
Sent from my HTC One X+
fastboot is a pile of aids on my work laptop. I'll give this a shot at home.
Just a suggestion, would this get more of the right kind of exposure in the development forum? I think a lot of the flashaholics don't bother with a given device's "general" forum.
Thanks, the new versions been shown to have a serious fault already. But once I get it working, I'll continue the AT&T release announcements in the main thread.
Keep it up. You'll get it eventually!
Sent from my HTC One X+
I'm going to continue to post the AT&T test builds in the main thread from now on.
Thread closed
...on OP's request

(WIP) Ubuntu Touch

Ubuntu Touch Developer Preview for the Fascinate
// It took me a while to get it right, but here it is.
//Camera works, wireless internet works.
Haven't checked sound.
Don't know if phone or SMS works.
Need testers.
//How to install: DO A BACKUP FIRST!
Get the zip here Then get this. Go to recovery, do a wipe/factory reset.
//Flash the first zip, don't reboot yet. Go to Mounts and Storage, mount /data and then format it or it won't work.
//Then flash the second zip and reboot.
//After you reboot, don't do an apt update. It seems to bork things up for me. Using adb on your computer, type 'phablet-flash -d grouper -b' (to update to the latest).
Enjoy.
The above is the old way. Thanks to UnjustifiedDev the new build is below:
"Ubuntu touch
1. Download bootstrap http://goo.im/devs/Unjust/Fascinate/...scinatemtd.zip
2. Download preinstall http://cdimage.ubuntu.com/ubuntu-tou...blet-armhf.zip
yes it is 300+mb make sure you have space on your sdcard for it
3. Download layout fix http://goo.im/devs/Unjust/Fascinate/...layout_fix.zip
4. Reboot to recovery wipe data etc then flash bootstrap file first the cm-10.1 zip then reboot recovery
5. in ubuntu's purple recovery flash the saucy zip takes a while to flash make sure your battery is charged
6. Flash layout fix right after saucy zip completes then reboot
7. Note this a preview not a daily driver it is pretty cool but it lacks full features. Wifi works idk if sound works or data my phone is not in service
Source https://github.com/Ubuntu-Fascinate I did fix the layout no need for an extra zip next build "
You are the man, Unjust!!
Remember, it's just a developer preview at this point. Not much you can do with it right now.
Redwolves (meandmine)
[
Since the Fascinate is not my daily driver, I have no way to test 3G or SMS. Anyone want to give a try and post your results?
Thanks, Redwolves
I will keep this updated as much as I can. I'll also put detailed instructions an my github page for anyone who wants to compile their own.
I will put up the instructions on my github page tonight. I'll link to it here when I do.
Redwolves
*face palm* good job dude I was just building it was gonna be a surprise for y'all. You beat me to it lol. Nice job.
Sent from my SCH-I500 using Tapatalk 2
Really cool and as far as I know cdma isnt compatible with ubuntu touch but wifi should work. Im just glad yours worked I would really like to see a patch or could you push the source you used to get it working. I tried at least 10 times no luck at all on booting.
edit nvm thanks for this
Unjustified Dev said:
Really cool and as far as I know cdma isnt compatible with ubuntu touch but wifi should work. Im just glad yours worked I would really like to see a patch or could you push the source you used to get it working. I tried at least 10 times no luck at all on booting.
edit nvm thanks for this
Click to expand...
Click to collapse
Is it really can't work for the cdma?
Sent from my SCH-I500 using Tapatalk 4 Beta
ekowanz said:
Is it really can't work for the cdma?
Sent from my SCH-I500 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Works fine for cdma it uses cm10.1 source so anythibg cm10.1 has it can use.
Unjustified Dev said:
Really cool and as far as I know cdma isnt compatible with ubuntu touch but wifi should work. Im just glad yours worked I would really like to see a patch or could you push the source you used to get it working. I tried at least 10 times no luck at all on booting.
edit nvm thanks for this
Click to expand...
Click to collapse
No patch needed boots and works fine for me straight from source but I like android better just lack of apps on Ubuntu. And agreed nice job
Sent from my SCH-I500 using Tapatalk 2
bbrad said:
No patch needed boots and works fine for me straight from source but I like android better just lack of apps on Ubuntu. And agreed nice job
Sent from my SCH-I500 using Tapatalk 2
Click to expand...
Click to collapse
I meant patch as in a diff file to see how he modified things
Unjustified Dev said:
I meant patch as in a diff file to see how he modified things
Click to expand...
Click to collapse
I didnt need to modify anything.
Sent from my SCH-I500 using Tapatalk 2
bbrad said:
I didnt need to modify anything.
Sent from my SCH-I500 using Tapatalk 2
Click to expand...
Click to collapse
Im talking source code you cant just build it like a regular rom there is things you need to modify
Unjustified Dev said:
Im talking source code you cant just build it like a regular rom there is things you need to modify
Click to expand...
Click to collapse
I didn't have to modify anything it just used the cm files. Did you follow the official port guide or some off the wall nut job guide here on xda? Maybe I'm just lucky idk. Who cares.
Sent from my SCH-I500 using Tapatalk 2
I followed the porting guide. Commented out AriesParts and Samsung-something-or-other in a makefile in /devices. Patched /kernel/samsung/aries/fs/proc/array.c and /kernel/samsung/aries/arch/arm/configs. I did some other other patches to a makefile in /build. I played with it for about a month using just the phablet-armhf.zip. I had it booting for about 15 seconds after a while. I was going through logcats and trying to trace them back to any warnings thrown during compilation.
Then I found out it uses the grouper image. Voila, instant boot. I left the changes in the source, though.
redwolves said:
I followed the porting guide. Commented out AriesParts and Samsung-something-or-other in a makefile in /devices. Patched /kernel/samsung/aries/fs/proc/array.c and /kernel/samsung/aries/arch/arm/configs. I did some other other patches to a makefile in /build. I played with it for about a month using just the phablet-armhf.zip. I had it booting for about 15 seconds after a while. I was going through logcats and trying to trace them back to any warnings thrown during compilation.
Then I found out it uses the grouper image. Voila, instant boot. I left the changes in the source, though.
Click to expand...
Click to collapse
I'll put up detailed instructions and the code on my github page when I get the chance. Life has 'a life' in it, you know.
Scott
If anyone is having problems, please see if you can grab a logcat and send it to me.
for some reason wen i install the 2nd zip, i get status 7 error
arqda said:
for some reason wen i install the 2nd zip, i get status 7 error
Click to expand...
Click to collapse
You're the second person who has said that. I can't reproduce it on my phone. I need to find a common thread.
What Baseband version are you running?
Thanks, Scott
redwolves said:
You're the second person who has said that. I can't reproduce it on my phone. I need to find a common thread.
What Baseband version are you running?
Thanks, Scott
Click to expand...
Click to collapse
Ill try to give u as much detai l as possible.
Baseband: i500.04.V.EH03
Tried flashing using CWM4, 6, modified6, and twrp
Using 1gb sd card (class ?) To flash
Finally got around to detailed instructions on my github account. It's here. I'll push the code up shortly.
redwolves said:
Finally got around to detailed instructions on my github account. It's here. I'll push the code up shortly.
Click to expand...
Click to collapse
I did all of that except one thing I forgot array.c also we dont need samsung service mode
Unjustified Dev said:
I did all of that except one thing I forgot array.c also we dont need samsung service mode
Click to expand...
Click to collapse
"While in /device/samsung/aries-common, edit device_base.mk. Comment out AriesParts and SamsungServiceMode under
"# Device-specific packages"."
I thought I had it in there.

Sweet treat in about 2 hours

Building a sweet treat for you guys, will post it in dev section assuming all goes well
Can you post link here as well when its ready?
jontr said:
Can you post link here as well when its ready?
Click to expand...
Click to collapse
sure
Wow! Excited to breathe some new life into the old manta.
Has it been two hours yet??!?!?!
I guess all didn't go too well...
how to farm upvotes this isn't reddit guys
wturner859 said:
I guess all didn't go too well...
Click to expand...
Click to collapse
Had some java issues, will be def ready tomorrow :good:
sooti said:
Had some java issues, will be def ready tomorrow :good:
Click to expand...
Click to collapse
Bad news... buillt fine, flashed it, no boot, i think our device needs a new bootloader, unless someone else has an idea? tried both otapackage and img files
sooti said:
Bad news... buillt fine, flashed it, no boot, i think our device needs a new bootloader, unless someone else has an idea? tried both otapackage and img files
Click to expand...
Click to collapse
What are you trying to build? I built Lollipop from the r2 repo a few days ago, available here: http://d-h.st/Ryr
stiggy2012 said:
What are you trying to build? I built Lollipop from the r2 repo a few days ago, available here: http://d-h.st/Ryr
Click to expand...
Click to collapse
Same here, but my device doesn't boot, is it working for you???
sooti said:
Same here, but my device doesn't boot, is it working for you???
Click to expand...
Click to collapse
Yep, works fine. Build with the latest "preview binaries". Literally all I did was repo init/sync, load the variables, run the binary scripts, chose manta with lunch and then finally run make.
stiggy2012 said:
Yep, works fine. Build with the latest "preview binaries". Literally all I did was repo init/sync, load the variables, run the binary scripts, chose manta with lunch and then finally run make.
Click to expand...
Click to collapse
Preview binaries? that must be what I am missing... anyway if you already built one no point in duplicating work, good job, ill get back to building for my G3-D855
sooti said:
Preview binaries? that must be what I am missing... anyway if you already built one no point in duplicating work, good job, ill get back to building for my G3-D855
Click to expand...
Click to collapse
Yep, these: https://developers.google.com/android/nexus/blobs-preview
I suspect that will be much, MUCH more difficult than a Manta build! Tell you what though: If you do manage to get it going well I may well buy a G3 myself as the hardware is gorgeous and they are quite cheap nowadays... Only thing that puts me off is LG's update record and (until recently) the locked bootloader
stiggy2012 said:
Yep, these: https://developers.google.com/android/nexus/blobs-preview
I suspect that will be much, MUCH more difficult than a Manta build! Tell you what though: If you do manage to get it going well I may well buy a G3 myself as the hardware is gorgeous and they are quite cheap nowadays... Only thing that puts me off is LG's update record and (until recently) the locked bootloader
Click to expand...
Click to collapse
Got mine booting pac-rom with everything working just fine, some minor issues like camera getting stuck in background sometimes but nothing major
stiggy2012 said:
Yep, works fine. Build with the latest "preview binaries". Literally all I did was repo init/sync, load the variables, run the binary scripts, chose manta with lunch and then finally run make.
Click to expand...
Click to collapse
Hi, how is it to load the variables? I tried to build lollipop for manta and I did all that you said but I don't remember that step.
tavocabe said:
Hi, how is it to load the variables? I tried to build lollipop for manta and I did all that you said but I don't remember that step.
Click to expand...
Click to collapse
"source build/envsetup.sh" from build directory.
https://source.android.com/source/building-running.html
stiggy2012 said:
"source build/envsetup.sh" from build directory.
https://source.android.com/source/building-running.html
Click to expand...
Click to collapse
OH, yeah I remember that. Didn't know the initialization/setup of the environment was actually loading the variables. Thanks!
Oh so this is the show off thread?
Well I built mine with transparent bars via linaro toolchain
Seriously though this isn't reddit...

[KERNEL] FenomenalMOD [UBERTC][24-03-2017]

INTRO:
I present a new version of my kernel, now for the lg k7, the kernel has patches that will help you get a very good performance, as well as a longer battery life, and better fluidity, is compiled with UbertTC in its version 5.2, in addition to containing patches for a correct stability.
Features:
* Compiled with UberTC
* More coming soon...
Downloads:
Preview version -> Download
Instructions:
* Flash in TWRP
Notes:
* Im only test in MetroPCS variant
Sources:
GitHub
Reserved
....
Worked flawlessly. Flashed with TWRP and rebooted and system loaded up fine. There was a few minor lags as it booted into the system past the MetroPCS logo but that was probably due to the changes made by the zip but after that the system was more fluid than it previously was even after having soo many apps installed. Great work. This is one step closer to completing a custom rom like CM13 or Lineage OS. Good luck with more development.
thepcwiz101 said:
Worked flawlessly. Flashed with TWRP and rebooted and system loaded up fine. There was a few minor lags as it booted into the system past the MetroPCS logo but that was probably due to the changes made by the zip but after that the system was more fluid than it previously was even after having soo many apps installed. Great work. This is one step closer to completing a custom rom like CM13 or Lineage OS. Good luck with more development.
Click to expand...
Click to collapse
Im already working on Lineage
xperiafan13 said:
Im already working on Lineage[/QUO
Hey people don't forget to hit the thanks button.
By the way ty Dev keep up the good work. This phone is def a decent phone surprise nothing been built for it.
Click to expand...
Click to collapse
xperiafan13 said:
Im already working on Lineage
Click to expand...
Click to collapse
Nice. I hope Development is going well. If you need any testers i am up for testing any builds.
thepcwiz101 said:
Nice. I hope Development is going well. If you need any testers i am up for testing any builds.
Click to expand...
Click to collapse
I second that statement... I'll be a test dummy ?? anything for a new ROM!
Im already compile lineage, but this not boot, im need more time
xperiafan13 said:
Im already compile lineage, but this not boot, im need more time
Click to expand...
Click to collapse
Need any help let me know. . I'd love to help!
xperiafan13 said:
Im already compile lineage, but this not boot, im need more time
Click to expand...
Click to collapse
Hopefully it boots. Many of us have been waiting for a custom rom ??? btw, I tried to make help with compiling a custom rom but haven't had time. I'm also a noob in this so Im researching on "How to complie a custom rom from scratch" but its really difficult ?? Thank you for your efforts???
SageTheMage99 said:
Hopefully it boots. Many of us have been waiting for a custom rom ??? btw, I tried to make help with compiling a custom rom but haven't had time. I'm also a noob in this so Im researching on "How to complie a custom rom from scratch" but its really difficult ?? Thank you for your efforts???
Click to expand...
Click to collapse
Yeah I have ported a few ROMs but when it comes down to comp... A ROM that's a whole different ball park for me also.
You could try to Port the LG Leon ROMs. There's 2 I don't have the phone so I can not try.
Good job on the kernel compile i couldnt get mine to boot, good luck on the lineage compile. Ive picked this phone back up so let me know if you need any help.
NASSTYROME said:
Good job on the kernel compile i couldnt get mine to boot, good luck on the lineage compile. Ive picked this phone back up so let me know if you need any help.
Click to expand...
Click to collapse
Hello, i just downloaded LineageOS but everytime i type:
"breakfast m1", i get:
** Don't have a product spec for 'lineage_m1'
** Do you have the right repo manifest?
Any help is appreciated, for better way to reach me is my kik: SageOfSixPaths999
Breakfast wont work u need to manually set variables and make calls like old android.
NASSTYROME said:
Breakfast wont work u need to manually set variables and make calls like old android.
Click to expand...
Click to collapse
Would you please guide me or send link to where i could do this?
At the moment I am not working on this, since I am in school projects, but once I finish with it I will continue with this, both the kernel and the development of rom, the sourves are in my github of the kernel, if they want to modify it or Add improvements
xperiafan13 said:
At the moment I am not working on this, since I am in school projects, but once I finish with it I will continue with this, both the kernel and the development of rom, the sourves are in my github of the kernel, if they want to modify it or Add improvements
Click to expand...
Click to collapse
Ok thank you for your work ether way but i can try to help, i just need info. But i will do and find out whatever i can. I really am exited for a new rom lol. I will continue once i get home.
xperiafan13 said:
At the moment I am not working on this, since I am in school projects, but once I finish with it I will continue with this, both the kernel and the development of rom, the sourves are in my github of the kernel, if they want to modify it or Add improvements
Click to expand...
Click to collapse
Just curious, what version of Lineage OS were you building?
EDIT: I am running the kernel on the T-Mobile K330 variant with no issues. Good work :good:
QuickNET Tech said:
Just curious, what version of Lineage OS were you building?
EDIT: I am running the kernel on the T-Mobile K330 variant with no issues. Good work :good:
Click to expand...
Click to collapse
I know you didn't ask me but if it helps, I'm working on CM-14.1
All i need is to "set the variables manually" but so far no luck in my research and also no one helps me with my questions. I also posted a post on the thread of k7 questions and such but so far no luck.

Going to start porting ROMs

I am noticing this phone doesn't have a lot of development and this phone is a really nice one. It's fast and it runs anything I throw at it. I want to start porting some ROMs and maybe compile a kernel for it and see what this baby can do more. Any ideas on what ROMs you want me to port and I will start from there? Thanks guys.
I've been working on a tree I've been authoring from scratch. Hopefully I'll have it finished soon so I can get the kernel updated and up to nougat and then to Oreo. I've had to learn everything on the fly and things keep getting in the way, but hopefully things will go much smoother for all of us once my tree is finished.
AMD_1986 said:
I am noticing this phone doesn't have a lot of development and this phone is a really nice one. It's fast and it runs anything I throw at it. I want to start porting some ROMs and maybe compile a kernel for it and see what this baby can do more. Any ideas on what ROMs you want me to port and I will start from there? Thanks guys.
Click to expand...
Click to collapse
Lineage OS please
all the roms out are emui and i feel it makes this phone a lot slower than the specs would otherwise say it should be. would love love love to have Lineage OS on this phone as well.
I need a tester to try flashing Lineage OS after I'm done with it. It should be done by tomorrow.
AMD_1986 said:
I need a tester to try flashing Lineage OS after I'm done with it. It should be done by tomorrow.
Click to expand...
Click to collapse
I'll be willing to test it for sure.
OP -- Not that I'm not salivating at the thought of getting lineageos on this phone, but what are your credentials..? You've only made two posts on xda (both on this thread), so understand the hesitation to run anything you release. Who are you - how long have you been at it, have you released any roms elsewhere?
In any case, welcome to xda!
AMD_1986 said:
I need a tester to try flashing Lineage OS after I'm done with it. It should be done by tomorrow.
Click to expand...
Click to collapse
I'd be down to test it too.
I used to create ROMS for HTC Evo Shift 4G. Also known as the shifty. It was called Ginger8. I don't have the older HTC so I stopped development.
AMD_1986 said:
I used to create ROMS for HTC Evo Shift 4G. Also known as the shifty. It was called Ginger8. I don't have the older HTC so I stopped development.
Click to expand...
Click to collapse
Sweet, well thanks for coming and showing our devices some love! I be happy to test it like I said, and I'll send you logs and what not just in case there's any issues.
Awesome!
Been watching this thread like a hawk haha!
AMD_1986 said:
I used to create ROMS for HTC Evo Shift 4G. Also known as the shifty. It was called Ginger8. I don't have the older HTC so I stopped development.
Click to expand...
Click to collapse
Looking forward to it AMD. I do not have a spare device so I cannot test it. But I'll be lurking for this day. Please keep us updated. Thanks !
I will let be uploading it later tonight. Haven't flashed anything. Been busy. Thanks guys.
AMD_1986 said:
I will let be uploading it later tonight. Haven't flashed anything. Been busy. Thanks guys.
Click to expand...
Click to collapse
Right on, no rush my dude lol. Thanks again!
Tried flashing it and it won't boot up. Will continue to look into this more. Might be possible to build Lineage OS for this device. I will try that tonight and post back with results.
AMD_1986 said:
Tried flashing it and it won't boot up. Will continue to look into this more. Might be possible to build Lineage OS for this device. I will try that tonight and post back with results.
Click to expand...
Click to collapse
I'd b willing to bet it's because of the EMUI junk....
Can someone pull a system.img from a working B180 stock rom? Might aid me in fixing it.
AMD_1986 said:
Can someone pull a system.img from a working B180 stock rom? Might aid me in fixing it.
Click to expand...
Click to collapse
I got you my dude, give me a few. I have a whole working Rom too if you need that as well.
I need just the system.img. I don't need a zip file. I want to build off stock as close as possible. I can't extract it from the zip I have now.

Categories

Resources