[DEV] Compiling *working* a kernel from source - T-Mobile, Samsung Galaxy SIII

Has anyone done it?
I did a few runs with the m2_att_defconfig and the defconfig I pulled from the stock boot.img but I've had no luck with either. I'm fairly certain I'm repacking my boot.img back correctly, but that could be an issue as well.
I've uploaded the kernel source to github as well as the defconfig I pulled from my phone in case someone wants to save some time.
I wonder if the ominous "QUALCOMM SECUREBOOT: ENABLE" has anything to do with it too.
Anyone have any thoughts? Ideas?
Please stay on topic here
======================================================
Edit
mdeejay is a genius. It works with the following:
Code:
./mkbootimg --cmdline "console=null androidboot.hardware=qcom user_debug=31" --kernel zImage --ramdisk ramdisk.gz --base 0x80200000 --ramdiskaddr 0x81500000 -o ./boot.img

I have been getting nothing but errors, can't figure it out. I'm trying for just stock right now.
Sent from my SGH-T999 using Tapatalk 2

Romanbb
try it

Have been working on this 'problem' now for nearly a week with testers (I have the International gsm model) and no luck at all. Tried unpacking/repacking with/without the command line using manaul methods and automatic but always hit a bootloop.
I NEED to be able to work with these boot image for AT&T/VERIZON/SPRINT and also TMOBILE for my US S3 ToolKit so if anyone has any insight what is needed to successfuly repack the boot image please share. I have been working with boot images from NAND backups as that was the only image available to me until yesterday when Adam Lange published the Odin Stock Roms for all the carriers so I will have another go today with those.
@ mdeejay is that a repacked boot image for Tmobile? If so and its worked for you please could you share how you managed it?
Mark.

mskip said:
@ mdeejay is that a repacked boot image for Tmobile? If so and its worked for you please could you share how you managed it?
Mark.
Click to expand...
Click to collapse
yes. its for tmobile
i cant test. i dont have device
you can try same way http://forum.xda-developers.com/showthread.php?t=1584919 create boot img with correct offsets for sgs3
i think its useful for all msm8960 devices

mdeejay said:
yes. its for tmobile
i cant test. i dont have device
you can try same way http://forum.xda-developers.com/showthread.php?t=1584919 create boot img with correct offsets for sgs3
i think its useful for all msm8960 devices
Click to expand...
Click to collapse
Ok thanks for the info I will check it out
Mark.

mdeejay is a genius!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Romanbb said:
mdeejay is a genius!
Click to expand...
Click to collapse
Hey Romanbb I havent had a chance to look at this yet do you mind sharing the params you had to use packing the boot image.
Thanks, Mark.

mskip said:
Hey Romanbb I havent had a chance to look at this yet do you mind sharing the params you had to use packing the boot image.
Thanks, Mark.
Click to expand...
Click to collapse
already edited the OP with what I used to repack the ramdisk

Romanbb said:
already edited the OP with what I used to repack the ramdisk
Click to expand...
Click to collapse
Thanks I will give it a try when I get home
Mark.

Could you please post how you got a working build environment or the guide you used to make one? I think my Ubuntu is giving me problems.
Sent from my SGH-T999 using Tapatalk 2

brfield said:
could you please post how you got a working build environment or the guide you used to make one? I think my ubuntu is giving me problems.
Sent from my sgh-t999 using tapatalk 2
Click to expand...
Click to collapse
you are giving ubuntu problems. Linux is infallible.

The Pope of Dope said:
you are giving ubuntu problems. Linux is infallible.
Click to expand...
Click to collapse
Lol, that is great!
But seriously, I cannot get a Kernel to build. It does everything but output the damn thing lol.

brfield said:
Lol, that is great!
But seriously, I cannot get a Kernel to build. It does everything but output the damn thing lol.
Click to expand...
Click to collapse
sudo apt-get install build-essential
???

The Pope of Dope said:
sudo apt-get install build-essential
???
Click to expand...
Click to collapse
Will try this if my current adventure doesn't work

roman, can u please drop one for at&t?? I don't have computer so can't build one. So requesting you to just make one oc for att version! Thnx

Haven't got my phone yet, but been doing some reading for when I do and according to this: https://developer.qualcomm.com/sites/default/files/snapdragon-specs.pdf and your latest source edits, it doesn't look like these processors necessarily support all these frequencies (they seem pretty limited compared to the Exynos). do they hold up very well?

I compiled mkbootimg from source, and for some reason it wont let me use the --ramdiskaddr option.
If I take that out then it compiles a boot.img but it isn't bootable.

brfield said:
I compiled mkbootimg from source, and for some reason it wont let me use the --ramdiskaddr option.
If I take that out then it compiles a boot.img but it isn't bootable.
Click to expand...
Click to collapse
https://www.dropbox.com/s/rz9ymlbur0zh7ll/mkbootimg

Related

[TOOL]RFS to EXT4 Conversion tool for compatible Kernels (CWM Flashable)

I am not a Galaxy Tab owner but I was contacted by af974 to help provide a way of converting to EXT4 for Gingerbread. I am a developer mainly for the Epic 4G but with the similarities I figured I could help out and af974 asked me to post our solution.
This is a ClockworkMod flash-able .zip that simply converts /system /data and /cache from RFS to EXT4. It was originally by Dameon87 and modified for the Galaxy Tab by me. If you don't have an EXT4 compatible kernel then flashing this WILL soft-brick your device! This should work on any kernel that has EXT4 support. (not just Gingerbread)
THIS TOOL WILL FORMAT (ERASE) YOUR DEVICE. IF YOU DON'T UNDERSTAND THIS THEN DO NOT FLASH IT!!! IT DOES NOT INCLUDE ANY BACKUP OR RESTORE FUNCTIONALITY.
Tested with this kernel by koxudaxi: http://forum.xda-developers.com/showthread.php?t=943669
Instructions:
ENSURE the new kernel supports EXT4 before begin!!!
1. Make a backup in ClockworkMod
2. Flash the TabEXT4Converter_v2.zip script
3. Flash custom kernel or flash rom
4. Restore backup (optional)
You can verify the conversion by typing 'mount' in terminal emulator or adb shell.
Download: http://devphone.org/files/galaxytab/TabEXT4Converter_v2.zip
If any one wants to donate a Tab I will be more than happy to develop a kernel for the users.
Thanks for your work Rodd.
Just to add some info, this was tested on my tab with koxudaxi kernel and it works like a charm.
Got over 3000 on quadrant score, pic is coming but what really impressed me is how it is smooth now with less less lag.Considering that kernel used is not at 100% i say that this is pretty awesome.
Uploaded with ImageShack.us
Rhaaaaaaaaaaaaaa Lovelyyyyyyyyyyy !!
Thanks For it !!
af974 said:
Thanks for your work Rodd.
Just to add some info, this was tested on my tab with koxudaxi kernel and it works like a charm.
Got over 3000 on quadrant score, pic is coming but what really impressed me is how it is smooth now with less less lag.Considering that kernel used is not at 100% i say that this is pretty awesome.
Uploaded with ImageShack.us
Click to expand...
Click to collapse
Are you using the koxudaxi gingerbread or froyo kernel?
Hello,
This is Run with Overcome ?!
GingerBread of course
caveman999 said:
Are you using the koxudaxi gingerbread or froyo kernel?
Click to expand...
Click to collapse
caveman999 said:
Are you using the koxudaxi gingerbread or froyo kernel?
Click to expand...
Click to collapse
look into the first post, it's for ginger
af974 said:
GingerBread of course
Click to expand...
Click to collapse
heh, I skipped right over that part in the original post...
Thanks
Leon_Citron said:
look into the first post, it's for ginger
Click to expand...
Click to collapse
the ext4 conversion should work with any kernel that supports ext4...not just gingerbread
I'm not sure that it works, Alterbridge wrote in his first post:
ROM FEATURES:
CIFS/EXT4 Support (thanks to Richard Trip!)
Click to expand...
Click to collapse
but he said nothing about kernel.
rurouniphana said:
Hello,
This is Run with Overcome ?!
Click to expand...
Click to collapse
EDIT: of course you can flash kouxdaxi kernel in Overcome rom and then apply this mod
rurouniphana said:
Hello,
This is Run with Overcome ?!
Click to expand...
Click to collapse
if you have questions if a kernel is compatible then you need to ask that kernel developer...i don't have a tab to test or time to pick apart every kernel to see how and if they implemented ext4
Yes it should work with the overcome kernel, as it includes ext4 modules in the kernel.
Thx !! Very good job !!
overclocking kernels will not work at the moment on overcome, be carefull....
abuser0815 said:
overclocking kernels will not work at the moment on overcome, be carefull....
Click to expand...
Click to collapse
Of course, Koxudaxi's Kernel works like a charm
Superb. Above 3k quadrant.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my GT-P1000 using XDA App
Is this operation reversible? How to come back to old fs?
Thanks
Cannot boot
I was with the good kernel, flash the conver file, reboot, no reboot
I'm looking why at the moment.
How to check if the system is really in ext4 ?
Leon_Citron said:
Cannot boot
I was with the good kernel, flash the conver file, reboot, no reboot
I'm looking why at the moment.
Click to expand...
Click to collapse
The same thing is happening to me. I'm stuck at the Galaxy Tab and Samsung screen.

[APP] aZuZu Stock zImage Splitter 4 Windows Final

Anyway this is final version of command line samsung stock zImage Splitter
THIS TOOL CAN SPLIT STOCK IMAGES ONLY!
aZuZu Samsung Mobile Stock zImage Splitter, v1.02.3f. Final. (c) aZuZu. 2011.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If this is not usefull please report to mod..
great job!
awesome!
Wow, it's nice to see some x10 xda'ers in the galaxy forums
ok. folks! new version is up.. still in alpha but now supports all three formats
stock, tegrak, and chainfire are now supported.
WARNING: i have issuses with cygwin so there is special exe file run_cpio.exe in application folder which you can run manualy to unpack chainfire ramdisk.
enjoy!
A small guide on how-to use it would be highly appreciated...
pramathesh said:
A small guide on how-to use it would be highly appreciated...
Click to expand...
Click to collapse
today i have upload new version. which can handle all three formats..
for now it is using additional argument..
so to unpack stock zImage command goes
asmzis zImage stock
so to unpack chainfire zImage command goes
asmzis zImage chainfire
so to unpack tegrak zImage command goes
asmzis zImage tegrak
old version could unpack only stock.
p.s next version will be back to old asmzip zimage becouse i will add detection for types..
plus fix for zimages w/o ramdisk.
ok. reuploaded stock zimage splitter.
fixed:
a) it doesn't use 7z no more.
b) detection of stock / custom zimage / image wo ramdisk.. so it gives nice message
Will test
Enviado desde mi GT-I9000 usando Tapatalk
Tried to unpack stock JVQ zImage but without luck:
asmzis.exe zImage
aZuZu Samsung Mobile Stock zImage Splitter, v1.02.3f. Final. (c) aZuZu. 2011.
zImage File Size : 5595 kB.
zImage Header Size : 32 kB.
zImage Type : Custom zImage or zImage w/o ramdisk.
Click to expand...
Click to collapse
Here's the link to zImage: zImage-JVQ.tar (5.47 MB)
Also tried to unpack CF-Root 3.7 for JVQ zImage but had the same error.
Bo$s said:
Tried to unpack stock JVQ zImage but without luck:
Here's the link to zImage: zImage-JVQ.tar (5.47 MB)
Also tried to unpack CF-Root 3.7 for JVQ zImage but had the same error.
Click to expand...
Click to collapse
thanks on feed back... sorry my mistake. i added to hard rule about using signature so that cf-root can't be extracted i have upload hot fix now all "stock" packed zImages should be supported. Once again sorry!
Thanks for this great tool! Is it also possible to make a repacker?
sorry..but what is this? please, explain?
aZuZu said:
thanks on feed back... sorry my mistake. i added to hard rule about using signature so that cf-root can't be extracted i have upload hot fix now all "stock" packed zImages should be supported. Once again sorry!
Click to expand...
Click to collapse
Now it works, Thanks
syamsoul said:
sorry..but what is this? please, explain?
Click to expand...
Click to collapse
Tool to unpack initramfs from kernel image. It may be helpful to diff images from different ROM releases.
bub181 said:
Thanks for this great tool! Is it also possible to make a repacker?
Click to expand...
Click to collapse
well i don't have samsung so i need read some more text lines but i will soon..
Bo$s said:
Now it works, Thanks
Tool to unpack initramfs from kernel image. It may be helpful to diff images from different ROM releases.
Click to expand...
Click to collapse
thanks...!
I'd really love to learn how to build a kernel if someone is willing to teach. I'm a quick learner.
Sent from my GT-I9000 using XDA Premium App
pramathesh said:
I'd really love to learn how to build a kernel if someone is willing to teach. I'm a quick learner.
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
Tutorials:
how to build android kernel
Sources (2.3.3):
[REF] Source code: Unified git repo for GT-I9000 Gingerbread kernel source - xda-developers
https://opensource.samsung.com/ => search i9000
VM's with tools for building from sources:
http://forum.xda-developers.com/showthread.php?t=1022407
http://forum.xda-developers.com/showthread.php?t=881845
If you haven't sources (Sammy 2.3.4) you can modify initramfs:
http://forum.xda-developers.com/showthread.php?t=1152740

[Odin/Heimdall][kernel][WIP]EG30, stock, busy-box, CWM, root, init.d, boot anim

Hey all, this is my first kernel attempt and just repacked it tonight... so I haven't had a chance to try it myself, yet. I'm posting it here in case anyone is brave enough to give it a go before I get a chance, or if you'd like to cross-check my work.
Basically, it's based off bubby's CWM kernel. From there, I added root, init.d, boot animation support and busybox from directions provided by the brilliant chris41g. The busybox is his 1.20.0 script. SU is the 3.0 binaries. You'll need to rename your bootanimation.zip to sanim.zip.
Technically, I think this is considered a plus kernel.
So, a thanks is due to bubby for the base kernel, and to chris41g for stopping my head from spinning, and making things easier to understand (been 6 years or so since I looked at any code). Anyone I'm missing, I'd be more than honored if you speak up.
The DL http://dev-host.org/73mnp1f4lr81/EG30_Stock_Root_CWM_BB.tar.gz
Like everyone else says, attempt with caution, and at your own risk. This should be considered a work-in-progress until I've had a chance to test it out myself. I am not responsible for anyone bricking their device, so you've been warned. I am, however, grateful to anyone willing to try it out.
Here we go gimme a minute.... flashing now
Edit: booted up, quadrant 3096, no interactive governer, will have to run to check for battery drain, I have only experienced LOS twice up to now so have to see where that goes. I'll get back to you...
lawnguy said:
Here we go gimme a minute.... flashing now
Edit: booted up, quadrant 3096, no interactive governer, will have to run to check for battery drain, I have only experienced LOS twice up to now so have to see where that goes. I'll get back to you...
Click to expand...
Click to collapse
It works? Holy crap
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Since my heart rate settled down, it's time for a shower and bed.
Really, thanks so much for trying it!
Will test this.
Sent from my Epic Touch 4G
weird when i fire up odin it doesn't see the file being there when i point odin to it?
BLOWNCO said:
weird when i fire up odin it doesn't see the file being there when i point odin to it?
Click to expand...
Click to collapse
You might want to make sure the file extension is .tar and not something else like .gz
I haven't flashed this yet, thats just my opinion.
EDIT: I just looked at it. Extract the .tar file inside the .gz archive.
AvatarOfFrost said:
You might want to make sure the file extension is .tar and not something else like .gz
I haven't flashed this yet, thats just my opinion.
Click to expand...
Click to collapse
Looking at the download link in the OP, the file ends .tar.gz
AvatarOfFrost said:
You might want to make sure the file extension is .tar and not something else like .gz
I haven't flashed this yet, thats just my opinion.
EDIT: I just looked at it. Extract the .tar file inside the .gz archive.
Click to expand...
Click to collapse
that didn't work i extracted it and got a Zimage can anyone post the .tar like whoever actually flashed it.
BLOWNCO said:
that didn't work i extracted it and got a Zimage can anyone post the .tar like whoever actually flashed it.
Click to expand...
Click to collapse
Try zipping the zimage in .tar file
Sent from my SPH-D710 using XDA App
Really??? Appreciate the effort but never even tested it?
Sent from my SPH-D710 using XDA Premium App
asafegous said:
Try zipping the zimage in .tar file
Sent from my SPH-D710 using XDA App
Click to expand...
Click to collapse
think ill just wait a bit till some more brave peeps do it lol
Here's the .tar extracted with 7zip. Was waiting for some more opinions/reviews before I test. Who wants to jump?
Can someone who knows how to compile kernels change the boot anamation target file?
Sent from my SPH-D710 using XDA App
rde34 said:
Here's the .tar extracted with 7zip. Was waiting for some more opinions/reviews before I test. Who wants to jump?
Click to expand...
Click to collapse
it still doesn't show up under odin
Did not work for me. Stuck at the bootscreen.
Flashed it over zedomax's V3.
rde34 said:
Here's the .tar extracted with 7zip. Was waiting for some more opinions/reviews before I test. Who wants to jump?
Click to expand...
Click to collapse
I commend your efforts, but isn't it normal practice to test behind the scenes" before release?
.....
Vegasden said:
I commend your efforts, but isn't it normal practice to test behind the scenes" before release?
.....
Click to expand...
Click to collapse
It's an open WIP...that means people can help out, test, etc etc. A community project for the community to work on (if they want to).
The Evo had dozens of these anyone remember Evoblur?
Anyone who gets stuck at the boot screen, just flash a stable kernel over it and you should be back to normal
asafegous said:
Can someone who knows how to compile kernels change the boot anamation target file?
Sent from my SPH-D710 using XDA App
Click to expand...
Click to collapse
Is the boot animation not working, or do you want to be able to name it bootanimation.zip? If that's the case, I could name it anything I want... nothing wrong with sanim.zip. If the boot animation isn't working, I'll go back and see what I did wrong.
Like AbsoluteZeroGI said, it's an open WIP. I appreciate all the help I can get.
BLOWNCO said:
it still doesn't show up under odin
Click to expand...
Click to collapse
Hmmmm, I'll see what I can whip up.
OK, had a chance to flash this morning before work. Stuck on boot loop. I'll have time to troubleshoot when I get home from work.

[DISCUSSION][KERNEL][WIP]Kernel Development

Hey guys. I made this thread because there is not any kernel for our Desire 300. In this thread, you can discuss everything and share your work (repos, source codes, etc.).
let me drop these here:
https://github.com/bangdes/android_device_htc_g3u
https://github.com/DroidTwe4kz/android_device_htc_desire_300
https://github.com/anoane/HTC-HD2-kernel-3.4
and some kernel update commits:
https://github.com/broodplank/samsu...mmit/a871f58973aa4273933ea2531a1da4865bdc8c88
https://github.com/broodplank/samsu...mmit/ea3d92b5a088f4f5981eb3f0a84edff961c42170
https://github.com/broodplank/samsu...mmit/e84784695b8fc2d1cf92c55255e208ccfb7da9e8
https://github.com/broodplank/samsu...mmit/141859897a260de7eb0cf4405ceaeff6aff59e31
https://github.com/broodplank/samsu...mmit/a10f6eb164a164f9fa49af2ac1e5c6a502d4582d
https://github.com/broodplank/samsu...mmit/7a2e966034557c83d657601ea76347f6f63fcf6a
https://github.com/broodplank/samsu...mmit/e21a96294d4ca02ab111bf16a4e578ead4026590
https://github.com/broodplank/samsu...mmit/3395b043af4e421a9f0c515d5bb7b57902fbe9b2
i know it was originally for the msm7x30 chipset, but it *should* be compatible (i think)
and this:
https://github.com/qwerty123443/desire300kernel
is currently uploading, and it will take a while. by the time you read this it'll probably be done
Thank you. Waiting for other user to post. I've asked my friends for help in developing kernel and they accepted. I think we'll finish soon.
DroidTwe4kz said:
Thank you. Waiting for other user to post. I've asked my friends for help in developing kernel and they accepted. I think we'll finish soon.
Click to expand...
Click to collapse
kernel should be updated from 3.4.0 to 3.4.49 :good:
Yes. Can we talk on hangouts? [email protected] is my email, add me.
DroidTwe4kz said:
Yes. Can we talk on hangouts? [email protected] is my email, add me.
Click to expand...
Click to collapse
can you chat with hangouts? i (unfortunately) don't own a microphone
EDIT:
also: don't mind my english, it's not that good although i am a grammar nazi to myself
i'm going to sleep first and tomorrow i have to go to school so i guess it'll be tomorrow afternoon before i come back
i can't promise i can come here every day, but i'll try to do so.
qwerty123443 said:
can you chat with hangouts? i (unfortunately) don't own a microphone
EDIT:
also: don't mind my english, it's not that good although i am a grammar nazi to myself
i'm going to sleep first and tomorrow i have to go to school so i guess it'll be tomorrow afternoon before i come back
i can't promise i can come here every day, but i'll try to do so.
Click to expand...
Click to collapse
I don't have mic to, don't mind
Ah, I should try source kernel from @qwerty123443 ... Seems like more update than mine
bangdes said:
Ah, I should try source kernel from @qwerty123443 ... Seems like more update than mine
Click to expand...
Click to collapse
please don't, it's broken
use this one:
https://github.com/anoane/HTC-HD2-kernel-3.4
Could flashing a kernel somewhat boot up my phone? Stuck on the HTC logo.
Sarmiento_Luise said:
Could flashing a kernel somewhat boot up my phone? Stuck on the HTC logo.
Click to expand...
Click to collapse
This is simple bootloop. Try wiping device and flashing ROM.
qwerty123443 said:
please don't, it's broken
use this one:
https://github.com/anoane/HTC-HD2-kernel-3.4
Click to expand...
Click to collapse
Yes indeed, if we use g3u_defconfig. But I'm trying use config kernel from CM10 and still running well (dunno it would boots or not? )
*edit : it same broken too, you're right
Sent from my GT-I9300 using XDA Premium 4 mobile app
---------- Post added at 08:49 AM ---------- Previous post was at 08:38 AM ----------
qwerty123443 said:
please don't, it's broken
use this one:
https://github.com/anoane/HTC-HD2-kernel-3.4
Click to expand...
Click to collapse
Hmm... I've checked and It same with mine
GeoDev 1.0 Released: http://forum.xda-developers.com/desire-300/development/rom-geodev-1-0-t3078797
http://i.imgur.com/LFPYgvC.jpg
Did it!
http://i.imgur.com/LFPYgvC.jpg
It extremely unstable , but it boots (sort of).
Will post source later
edit: here is the source, it had to be modified a bit to make it work.
it has the correct toolchain included.
https://github.com/qwerty123443/g3u-kernel-v3.4
qwerty123443 said:
Did it!
http://i.imgur.com/LFPYgvC.jpg
It extremely unstable , but it boots (sort of).
Will post source later
edit: here is the source, it had to be modified a bit to make it work.
it has the correct toolchain included.
https://github.com/qwerty123443/g3u-kernel-v3.4
Click to expand...
Click to collapse
Hmm so what issues are we talking about here, I made little to no effort to make this boot and so far it looks pretty stable i am about to start working on it and source will be on my git soon
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I was playing with the kernel and it crashed, had tot do a hard reset. I'll work on OC and stuff after tomorrow
qwerty123443 said:
I was playing with the kernel and it crashed, had tot do a hard reset. I'll work on OC and stuff after tomorrow
Click to expand...
Click to collapse
I got mine running pretty nice as of now if you want i could send you test version
What exactly have you changed?
qwerty123443 said:
What exactly have you changed?
Click to expand...
Click to collapse
To make it compile? Nothing really and i just added few features to it afterward you can find everything on my git
Ivan_Meler said:
To make it compile? Nothing really and i just added few features to it afterward you can find everything on my git
Click to expand...
Click to collapse
I'm trying to build cm10.1 and still black screen on booting, do u have an idea?
Sent from my GT-I9300 using XDA Premium 4 mobile app

[GUIDE] how to build a kernel for S20 FE (snapdragon) may 28, 2022

*hello everyone my name is El_chanz and today I came here to teach you how to compile a kernel for s20fe
Ok guys, I am going to show you how to build a Sammy kernel from my source.
Below is a list of requirements that you must have in order to be successful.
REQUIREMENTS
1. For the best outcome, you need to be on Linux. I dont support VM Box
2. A github account or the like. Its free.
3. Be familiar with terminal commands
4. And have alot of patients
first thing open a terminal on your desktop you must run the following command: git clone https://github.com/Elchanz3/klimbokernel.git
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
this will clone my source to your directory
well after you finish cloning my source to your directory enter on my source
well if you want to configure the kernel with your modifications go to klimbokernel_s20fe/arch/arm64/configs and open the r8q_defconfig as text and make your changes
after finishing your settings go back to /klimbokernel_s20fe
now you are inside the source open the terminal
now run the following command: ./build_kernel.sh ) as root, my script will automatically install the necessary dependencies: gcc clang and All the android dependencies
after you run the script it will start installing the things needed for the build it will ask for permissions to install
you need to say ( y ) to all
after installing everything the script will ask which variant you want to compile the kernel for
, you choose need to choose your device variant
ok after you choose it will compile for your variant you will need to wait, this can take time depending on your cpu in my case it compiles between 25 to 30 minutes
your kernel is already compiled and ready to be flashed!
to find the kernel zip file go to anykernel3
all done
remembering that my script runs clang 10 if you want the latest stable version of clang you will need to download
download link: https://android.googlesource.com/pl...3febb26cbd05d9a1e44f089190ac892f72e684.tar.gz
after you download this you will need to extract to /home
then open the following path: /home/chanz/clang-14.0.7/clang-r445002/bin
in my case i renamed this to clang 14 but enter linux-64 and do this path
copy this path and go back to kernel source and edit the build_kernel.sh script
edit the KERNEL_LLVM_BIN=clang-12 line to
KERNEL_LLVM_BIN=/home/chanz/clang-14.0.7/clang-r445002/bin/clang
remember put your clang path here, i used my only path as an example
after that save the script and run it in the source terminal (./build_kernel.sh)
well after that the kernel will be compiled automatically
and we finally ended up here
I hope I helped you
if I helped you don't forget to leave a like XD
goodbye until next time!
Good guide
Hi,
for compiling exynos kernel the guide it's fails.
Please update also exynos.
Thank you
Hello! I'm trying to understand the process of building the kernel from source according to the instructions but I get an error. Can you suggest what am I doing wrong?
ip-drop said:
Hello! I'm trying to understand the process of building the kernel from source according to the instructions but I get an error. Can you suggest what am I doing wrong? View attachment 5655003View attachment 5655005
Click to expand...
Click to collapse
run sudo apt install flex
ricci206 said:
Hi,
for compiling exynos kernel the guide it's fails.
Please update also exynos.
Thank you
Click to expand...
Click to collapse
maybe i will do it today if i have time
snapdragon teaks said:
forse lo farò oggi se ho tempo
Click to expand...
Click to collapse
thank you
ricci206 said:
thank you
Click to expand...
Click to collapse
https://forum.xda-developers.com/t/guide-how-to-build-a-kernel-for-s20-fe-exynos.4466475/ here is the guide bro
Thank you for answering the question
Subsequently, when building the kernel, I encountered a problem, can you tell me how to fix the errors?
did you follow the steps correctly?
I am planning to build roms for this device. Can you help me with some things?
1) Does this device have a device tree?
2) If not, I will try to build one but this will be my first time so I will appreciate any help
KHSH01 said:
I am planning to build roms for this device. Can you help me with some things?
1) Does this device have a device tree?
2) If not, I will try to build one but this will be my first time so I will appreciate any help
Click to expand...
Click to collapse
sorry for late reply, im little busy these days, 1) idk if this device have since i don't see any one.
snapdragon teaks said:
sorry for late reply, im little busy these days, 1) idk if this device have since i don't see any one.
Click to expand...
Click to collapse
No worries man. I'm just glad you took the time to reply.
Greetings to all !!! I finally learned how to successfully compile the kernel for my device .. but later I ran into a problem. My software cannot raise the access point with the given software (SSID and password). Something intuitively tells me that when compiling the kernel, I did not include any of the settings .. Can someone tell me what the problem is ???

Categories

Resources