(Q) Android oreo for galaxy nexus - Samsung Galaxy Nexus

Hi everyone i want to have a oreo rom for galaxy nexus? Thanks

I don't have this device, but you can build from sources, and clone from trees:
https://github.com/Galaxy-Nexus/android_device_samsung_tuna/tree/lineage-15.0
https://github.com/Galaxy-Nexus/android_kernel_samsung_tuna/tree/lineage-15.0
https://github.com/Galaxy-Nexus/proprietary_vendor_samsung/tree/lineage-15.0

notnoelchannel said:
I don't have this device, but you can build from sources, and clone from trees:
https://github.com/Galaxy-Nexus/android_device_samsung_tuna/tree/lineage-15.0
https://github.com/Galaxy-Nexus/android_kernel_samsung_tuna/tree/lineage-15.0
https://github.com/Galaxy-Nexus/proprietary_vendor_samsung/tree/lineage-15.0
Click to expand...
Click to collapse
Can someone/Is someone willing to build this for the Galaxy Nexus? I was not able to find a proper documentation on how to do this

doxtsgaming said:
Can someone/Is someone willing to build this for the Galaxy Nexus? I was not able to find a proper documentation on how to do this
Click to expand...
Click to collapse
[GUIDE/HOW-TO] Building LineageOS for an Unsupported Device
Foreword: This is my own notes I created to build LOS for my device (SM-T713 or gts28vewifi). After reading this, I encourage you to create your own notes as it will help you better understand the build process. I followed the official guide...
forum.xda-developers.com
for second step, clone https://github.com/Galaxy-Nexus/proprietary_vendor_ti to proprietary/vendor/ti
https://github.com/Galaxy-Nexus/android_device_samsung_tuna/tree/lineage-15.0 to device/samsung/tuna
https://github.com/Galaxy-Nexus/android_kernel_samsung_tuna/tree/lineage-15.0 to kernel/samsung/tuna
https://github.com/Galaxy-Nexus/android_hardware_ti_omap4
to hardware/ti/omap4
https://github.com/Galaxy-Nexus/proprietary_vendor_samsung/tree/lineage-15.0 to proprietary/vendor/samsung
and clone the lineage-15.0 repo instead of 17.1
AND SKIP STEP 5!!! IMPORTANT

notnoelchannel said:
[GUIDE/HOW-TO] Building LineageOS for an Unsupported Device
Foreword: This is my own notes I created to build LOS for my device (SM-T713 or gts28vewifi). After reading this, I encourage you to create your own notes as it will help you better understand the build process. I followed the official guide...
forum.xda-developers.com
Click to expand...
Click to collapse
Thx. Maybe I'll write and publish my own detailed guide for this specific device. Am I allowed to share my built LOS 15.0 ROM image from this source?

doxtsgaming said:
Thanks for your help. I'm doing this the first time and I'm wondering, how to get a device manifest file and how the resulting .xml file should be named. In addition of that, I want to ask, if I can write and publish my own detailed guide for this specific device. I'm pretty sure I am not allowed to share my built LOS 15.0 ROM image from this source.
Click to expand...
Click to collapse
you are allowed to share your los 15.0 rom

Ok. Thanks for your help

I'm stuck now at the select command after chosen aosp_arm-eng (lunch command). Sry, I'm a bit clueless, but what should I choose as input?

doxtsgaming said:
I'm stuck now at the select command after chosen aosp_arm-eng (lunch command). Sry, I'm a bit clueless, but what should I choose as input?
Click to expand...
Click to collapse
https://github.com/Galaxy-Nexus/android_device_samsung_maguro/tree/lineage-15.0 clone this repo (git clone https://github.com/Galaxy-Nexus/android_device_samsung_maguro -b lineage-15.0 device/samsung/maguro)
and type lunch full_maguro-userdebug
and important!!! skip step 5

lunch option full_maguro-userdebug doesn't seem to work. I received a message.
{
"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 have two device directories one for tuna and one for maguro.

doxtsgaming said:
lunch option full_maguro-userdebug isn't available. Do I have to collect blob information from the device first (./extrace-files.sh)? This also doesnt worked for me.
Click to expand...
Click to collapse
can you show me the lunch options?

notnoelchannel said:
can you show me the lunch options?
Click to expand...
Click to collapse
after executing source build/envsetup.sh
Also I get many adb errors running ./extract-files.sh in maguro folder even I've installed android-platform-tools-base.

doxtsgaming said:
after executing source build/envsetup.sh
View attachment 5666829
Also I get many adb errors running ./extract-files.sh in maguro folder even I've installed android-platform-tools-base.
View attachment 5666835
Click to expand...
Click to collapse
you chose 15. full_maguro-userdebug
then what does it display?

That will show:

Okay, now type brunch full_maguro-userdebug

notnoelchannel said:
Okay, now type brunch full_maguro-userdebug
Click to expand...
Click to collapse
I stumbled across another error:

doxtsgaming said:
I stumbled across another error:
View attachment 5666863
openjdk-8-jdk and openjdk-11-jdk are installed.
Click to expand...
Click to collapse
Make cannot find tools.jar
Running Ubuntu 12.04 I have added to PATH: /home/jeffrey/jdk1.6.0_43/lib I am attempting to build from source using Make: make -j16 But encounter the error: build/core/config.mk:268: *** Error:
stackoverflow.com

I've reinstalled both jdk 8 and 11. Does anyone know how to solve this new error? thx for help.

doxtsgaming said:
I've reinstalled both jdk 8 and 11. Does anyone know how to solve this new error? thx for help.
View attachment 5668049
Click to expand...
Click to collapse
by removing the
ADDITIONAL_DEFAULT_PROPERTIES += ro.adb.secure=1
on config/common.mk resolve the problem.

by removing the
ADDITIONAL_DEFAULT_PROPERTIES += ro.adb.secure=1
on config/common.mk resolve the problem.
Click to expand...
Click to collapse
config/common.mk doesn't exist in my case. It doesn't seem to contain ADDITIONAL_DEFAULT_PROPERTIES += ro.adb.secure=1. Removing PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.adb.secure=1 didn't work. File path: android/lineage/vendor/lineage/config/common.mk
Thx for any help, as its my first time building a rom.

Related

[DEV] Compiling *working* a kernel from source

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

[HELP] Build ROM form SOURCE CM10.1

This is my initial build ROM form SOURCE CM10.1
im ussing ubuntu 10.04LTS
java version jdk1.6.0_24
after completing: sycn repo
I then did a build rom
however, after 4 hours passed error occurs as shown below
{
"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"
}
How can I fix the error?
please help for all
sorry for bad english
you have the same problem with me
i dont know about that..bcoz im a noob
but i search in google and found this
www.droidrzr.com/index.php/topic/19484-how-to-build-your-own-cm101-from-source/
i dont know this is work or not
Chronique said:
i dont know about that..bcoz im a noob
but i search in google and found this
www.droidrzr.com/index.php/topic/19484-how-to-build-your-own-cm101-from-source/
i dont know this is work or not
Click to expand...
Click to collapse
ok,thanks broo
Before thanks to u
mad vpart and Chronique
I think it's do not work on the GT-I8150. but i will try it
hopefully no error anymore :angel:
Have you applied the patch from http://review.cyanogenmod.org/#/c/34376 and the notes in that commit message?
jfbs said:
Have you applied the patch from http://review.cyanogenmod.org/#/c/34376 and the notes in that commit message?
Click to expand...
Click to collapse
yeaaaah :victory::victory:
I managed to implement it,
The first thank you arco68 that provide solutions
and also all members xda-developers
okay, I'll try to flash ROM
for the results I'll inform again
adikasgw said:
yeaaaah :victory::victory:
I managed to implement it,
The first thank you arco68 that provide solutions
and also all members xda-developers
okay, I'll try to flash ROM
for the results I'll inform again
Click to expand...
Click to collapse
good job bro....
I am still having problems in cameralib
Forgot to add: http://review.cyanogenmod.org/#/c/34375/
jfbs said:
Forgot to add: http://review.cyanogenmod.org/#/c/34375/
Click to expand...
Click to collapse
Im success build, but camera not work
i think currupt in folder lib, how to fix it sir?
It should work if you add patches:
http://review.cyanogenmod.org/#/c/34375/
and
http://review.cyanogenmod.org/#/c/34376/
as well as applying the notes within those commit messages.
jfbs said:
Forgot to add: http://review.cyanogenmod.org/#/c/34375/
Click to expand...
Click to collapse
jfbs said:
It should work if you add patches:
http://review.cyanogenmod.org/#/c/34375/
and
http://review.cyanogenmod.org/#/c/34376/
as well as applying the notes within those commit messages.
Click to expand...
Click to collapse
thansk before sir
but I've finished the build. after the lib folder I compare the results with the original folder cm10.1 alpha 7
was not the same as the results build rom, I try to take a few files in the lib folder belonging cm10.1 alpha 7 that there are no build results in the rom folder.
and turned out to be.
then what was wrong when I build rom, which cause the same contents to the lib folder cm10.1 alpha 7?
Not sure without looking at the code. Do you run 'make clean' before a new build?
jfbs said:
Not sure without looking at the code. Do you run 'make clean' before a new build?
Click to expand...
Click to collapse
yes broo. I've done that. but the result is the same

Nougat Sources for Redmi Pro |Device Tree|Vendor| by @end222

PROJECT ONGOING...
This device tree is maked without the kernel source code basing in how @adrianom did, check his post in xda here
These sources are used to build all Nougat based Roms for Redmi Pro
Known issues that waiting for fixes
Calls
Torch
Speaker sometimes
Camera
Mobile data
IR
Fingerprint sensor
It shows corrupted SD at boot but SD works good
Help on fixing these issues is appreciated.
GITHUB Links
Device tree: HERE
Vendor tree:HERE
CREDITS
HIT THANKS
DONATE FOR THE MAN WHO MADE THIS​
HELP IS NEEDED
XDA:DevDB Information
Device Tree Project [CM14.1] for Redmi Pro, Tool/Utility for the Xiaomi Redmi Pro
Contributors
kristi6.9, end222
Source Code: https://github.com/end222?tab=repositories
Version Information
Status: Testing
Created 2017-01-09
Last Updated 2017-06-23
Still nothing? i mean how mutch you get from this source code?
Hudinited said:
Still nothing? i mean how mutch you get from this source code?
Click to expand...
Click to collapse
Making a mix of this code and a ROM released for the Apollo Lite I get a ROM that stops in the bootanimation.
However now I can 'adb shell' that build so I can send commands to the phone and it executes them well so the system is working but the main UI isn't
end222 said:
Making a mix of this code and a ROM released for the Apollo Lite I get a ROM that stops in the bootanimation.
However now I can 'adb shell' that build so I can send commands to the phone and it executes them well so the system is working but the main UI isn't
Click to expand...
Click to collapse
i want to this phone,i wonder if android N release for this device or not
Hudinited said:
Still nothing? i mean how mutch you get from this source code?
Click to expand...
Click to collapse
Now it boots up ^^
A bit buggy but it boots up
{
"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"
}
Finally
end222 said:
Now it boots up ^^
A bit buggy but it boots up
View attachment 4080440
Click to expand...
Click to collapse
Whaaaaaaaaaat.... Upload it
kristi6.9 said:
Whaaaaaaaaaat.... Upload it
Click to expand...
Click to collapse
where is the link?are you uploading it?if you upload it i will buy this phone because i love nougat and cm or linage
pou_gh2 said:
where is the link?are you uploading it?if you upload it i will buy this phone because i love nougat and cm or linage
Click to expand...
Click to collapse
There is another thread in this section with the download link
end222 said:
There is another thread in this section with the download link
Click to expand...
Click to collapse
cm 14 alpha?most things does not work in that
pou_gh2 said:
cm 14 alpha?most things does not work in that
Click to expand...
Click to collapse
That is all I managed to do so far [emoji14]
end222 said:
That is all I managed to do so far [emoji14]
Click to expand...
Click to collapse
ty anyway
Hi Guys,
Can someone please help me?
I'm having trouble while to compile my build.
Firstly I did built my own device and vendor trees, then I had this error. After that I used this thread device and vendor tree still having same error.
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/system.prop', needed by '/home/neverson/android/system/out/target/product/omega/obj/ETC/system_build_prop_intermediates/build.prop', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/neverson/android/system'
What this error means and how can I fix it? Just for you know I think I have system.prop file, but the error remains.

[TUT] Compile Genom Kernel from Source Code for ONC

Hello everyone,
This is a tutorial on how to compile kernel from source code for our device Redmi 7
Special thanks to @rama982 for making Xiaomi source code usable, upstreaming kernel to latest CAF tag and integrating Wifi drivers
So basically to compile kernel from source code we will have to do 4 steps
1. Setup build environment
2. Install required packages
3. Download source code
4. Compile kernel
1. Setup build environment
Setup your favorite linux distro (I recommend using Ubuntu because it is user friendly).
You use virtual box or install linux to a separate partition if you are a Windows user.
2. Install Required packages
Open up terminal and run this command
Code:
sudo apt-get update
Terminal will ask for your password...This is normal....enter your password and press enter
Then run this command
Code:
sudo apt install bc bash git-core gnupg build-essential zip curl make automake autogen autoconf autotools-dev libtool shtool python m4 gcc libtool zlib1g-dev flex
You will get a question with (yes or no) in terminal....you have to press y then enter
3. Download source code
Code:
mkdir android && cd android
mkdir kernel && cd kernel
mkdir xiaomi && cd xiaomi
git clone https://github.com/rama982/android_kernel_xiaomi_onc.git onc
This will download the source code to /home/android/kernel/xiaomi/onc
You PC will download around 1.2 GB....this may take sometime depending on your internet connection speed
4. Compile kernel
One of greatest thing that @rama982 did was to embed a build script that make our lives way easier while compiling the kernel
You might need to change the kernel directory variable to your own path
Code:
KERNEL_DIR=${HOME}/$(basename $(pwd))
to
Code:
KERNEL_DIR=/home/android/kernel/xiaomi/onc
Once done editing build.sh file...let's compile the kernel
Code:
cd /home/android/kernel/xiaomi/onc
chmod a+x build.sh
./build.sh
chmod command is to make build script excutable
the build script will clone toolchains required to compile the kernel and will also clone Anykernel3 which is very useful to make the final flashable zip file.
Once the build script has done its magic you will get your flashable zip in /home/android/kernel/xiaomi/onc/Anykernel3
I hope i made every step as clear as possible
I am available for any questions
Best Regards
Credits:
Xiaomi developers
@rama982
Nice tutorial. I will give a shot when I am free. Thank you.
where is build.sh file ? remove ?
Check his github repos.
doesn't work
{
"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"
}
apt-get update
apt-get -y install libqt4-dev pkg-config
kairusds said:
doesn't work
Click to expand...
Click to collapse
The tutorial is a bit outdated because Rama deleted onc-rebase branch...also now his sources doesn't has build scripts
I'll update it soon
Best Regards
@mylove90
Your stock branch working only the wifi when I change the CONFIG_PRONTO_WLAN=y to CONFIG_PRONTO_WLAN=m
Why only working with module?
Zer0nite said:
@mylove90
Your stock branch working only the wifi when I change the CONFIG_PRONTO_WLAN=y to CONFIG_PRONTO_WLAN=m
Why only working with module?
Click to expand...
Click to collapse
I guess you are building for Miui...i adjusted my branch for Rom builders to build kernel inline with custom Roms with source built vendor..
Best Regards
mylove90 said:
The tutorial is a bit outdated because Rama deleted onc-rebase branch...also now his sources doesn't has build scripts
I'll update it soon
Best Regards
Click to expand...
Click to collapse
build with semaphoreci.sh works perfectly on micode sources, and the special thing is after the build is complete, kernel.zip is sent to the telegram channel itself
Really thank you

[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