[GUIDE] how to build a kernel for S20 FE (snapdragon) may 28, 2022 - Samsung Galaxy S20 FE Guides, News, & Discussion

*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 ???

Related

[APP] ROM compilation tool Cyanogenmod Compiler (CMC)

Just stumbled across THIS.
Sounds fun
lithid-cm said:
Cyanogenmod Compiler (CMC)
Build cyanogenmod with a cli interface.
{
"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 you are wondering how you can use this software its easy. You can clone my repo for now. and run the CMCompiler script:
Code:
git clone https://github.com/lithid/CMC.git
cd CMC
./CMCompiler
Features:
- Check for repo installation on startup / or create a repo
- Add and remove devices quickly and easily.
- Remove all non english languages.
- Remove live wallpapers
- Remove cm wallpapers
- Check if adb is running or not.
- Update the repo
- Compile cyanogenmod
- Built in color themes. > http://goo.gl/cED8t
- Plugin support. (More information on this to come)
- local config file for saving settings or manually editing them.
- Odex plugin built into the package. This will take your connected cyanogemod installed phone and odex the rom on the phone.
Known Issues:
- There is nothing under the menu option 99. This is a placeholder for information about me and the compiler. If you select it it will just exit you out of the script.
- There is no checking for installed software. You will need to install the needed packages on your own to compile. Check post 2 for needed software.
- I have only tested this with ubuntu 11.04.
- Removing the CM wallpapers from the build only works with gingerbread for now. Everything else is working as expected for me.
- I don't check for open ports on your network, so there might be issues connecting to the repos and syncing. I have not built error checking for that.
Features to come:
- Check for installed tools and tell you which are still needed
- Installer/Remover
- Updated information about CMC and plugin support.
- Pure AOSP via plugin
- Adb installer
- Better error checking support.
- Check for errors during compile and point to places to fix.
- Edit the name of your kanged rom!
- I will also take requests!
Please any issue that should arise, I apologize in advanced. Please let me know with as much detail as possible to replicate the issue and I will resolve it.
You can follow me on google+ I tend to talk about it a bit on there as well.
Click to expand...
Click to collapse
Lol this tool should have been called "Auto Kang"
Umm. Really? Lol
Sent from my Galaxy Nexus Sep using Tapatalk
This is bad ! Now every idiot in this forum gonna post a "Kang" with the same features but different colors.
jalexishg said:
This is bad ! Now every idiot in this forum gonna post a "Kang" with the same features but different colors.
Click to expand...
Click to collapse
Haha...see the person above you for an example lol.
will play around, who knows...might like it
jalexishg said:
This is bad ! Now every idiot in this forum gonna post a "Kang" with the same features but different colors.
Click to expand...
Click to collapse
Srsly... hopefully people just do it for themselves and not post all the links.
I'll play with it see if I can kang something for myself.
Sent from my Nexus S 4G using xda premium
I've been eager to learn how to make a rom and now I have the way to try it out... thank you sir for this
Sent from my Nexus S 4G using Tapatalk
Pretty cool, been looking to learn to kang. For MYSELF don't worry all no links will be posted unless, in the unlikely chance, i create something awe inspiring.
Follow the leader @corythug
corythug said:
Pretty cool, been looking to learn to kang. For MYSELF don't worry all no links will be posted unless, in the unlikely chance, i create something awe inspiring.
Follow the leader @corythug
Click to expand...
Click to collapse
Your amazing. Because your right. We don't need 50 threads for the same damn rom.
Sent from my Nexus S 4G using Tapatalk
jalexishg said:
This is bad ! Now every idiot in this forum gonna post a "Kang" with the same features but different colors.
Click to expand...
Click to collapse
Doesn't everyone here already do that?
AwesomeTurtle said:
Doesn't everyone here already do that?
Click to expand...
Click to collapse
BrickROM was entirely different

[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

CyanogenMod DEV ONLY thread

This is a DEV ONLY thread.
We'll not answer silly questions!
{
"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"
}
DEVELOPMENT CHAT:
#honor6-dev @ freenode irc
HOW TO BUILD?
1. Prepare your build environment and get the CM11 sources. Read the official CM wiki if you don't know how.
2. Add our local manifest
https://raw.githubusercontent.com/honor6-dev/manifests/cm-11.0/local_manifest.xml (goes to .repo/local_manifests/local_manifest.xml)
3. repo sync -j10
4. Run following commands to start building:
Code:
. build/envsetup.sh
lunch cm_h60_l02-eng
brunch cm_h60_l02-eng
Currenlty supported: cm_h60_l01-eng, cm_h60_l02-eng, cm_h60_l03-eng, cm_h60_l04-eng, cm_h60_l11-eng, cm_h60_l12-eng, cm_h60_l21-eng
Code:
/boot /dev/block/mmcblk0p13
/cache /dev/block/mmcblk0p38
/system /dev/block/mmcblk0p37
/data /dev/block/mmcblk0p39
/recovery /dev/block/mmcblk0p14
/sdcard ???????
WIN!
Fixed the inline kernel building.
CM now builds the modem driver and straight after it, the kernel.
Just wanted to say thank you!!!!
codeworkx said:
WIN!
Fixed the inline kernel building.
CM now builds the modem driver and straight after it, the kernel.
Click to expand...
Click to collapse
Looking forward to seeing your progress! :good:
Hi @codeworkx , I have compiled cm11 with you source, but when flash the package with CWM i have error :
This package is for device h60_l04,h60-l04; this device is hw60. Error (Status 7) :crying:
Then the cwm you're using is faulty. Use the recovery.img from your cm build.
Btw. your build will not boot into gui. It's totally useless unless you're a really good developer.
Sent from my Nexus 5 using XDA Free mobile app
Pretty big problems with buffer allocation for EGL.
GraphicsBufferAllocator (libui.so) tells Gralloc (gralloc.hi3630.so) to allocate some buffers of a platform specific type.
Gralloc tells ION (libion.so) to do so. ION tells kernel. Simple, in theory.
CMs libui doesn't have the required stuff for our platform and using libui.so from huawei results in nothing.
This will be a very hard game.
For the ascend p1 development @Loller79 worked on a gralloc fix, last year. I hope It could be useful..
I mailed honor support to ask their developers' help. My request was redirected to their team.. :fingers-crossed:
I think they're passing some custom usage flags to gralloc we don't know yet. I'll try to build gralloc from sources and use it on stock rom to get that stuff logged.
Sent from my Nexus 5 using XDA Free mobile app
Graphics stack up and running!
Wifi fixed
First sign of teh baseband!
Nice job
Hloody bell! I wasn't expecting this considering the quality of the sources.
Audio, Media and Camera are depending on each other and are linked to framework.
Can't get it running and already pulled in half of the stock rom. This is pretty bad.
Makes it impossible to get a newer android version running. So you always have to wait on huawei.
Have to decompile original framework and see what we're missing. I assume this will take me countless hours.
So don't expect any progress during the next few days/weeks.
codeworkx said:
Audio, Media and Camera are depending on each other and are linked to framework.
Can't get it running and already pulled in half of the stock rom. This is pretty bad.
Makes it impossible to get a newer android version running. So you always have to wait on huawei.
Have to decompile original framework and see what we're missing. I assume this will take me countless hours.
So don't expect any progress during the next few days/weeks.
Click to expand...
Click to collapse
Bad news
See here https://code.google.com/p/android-apktool/issues/detail?id=727
I heard that some part of Honor's firmware are encrypted...
codeworkx said:
Audio, Media and Camera are depending on each other and are linked to framework.
Can't get it running and already pulled in half of the stock rom. This is pretty bad.
Makes it impossible to get a newer android version running. So you always have to wait on huawei.
Have to decompile original framework and see what we're missing. I assume this will take me countless hours.
So don't expect any progress during the next few days/weeks.
Click to expand...
Click to collapse
Forget what i said earlier.
Audio: working
Calling: working
Camera: working except for video recording because of broken Sensors
Video Playback: working
Sensors fixed
Video recording hangs when hitting "record" button

[info] Linux on SM-T585 Samsung Galaxy TAB A6 10.1 (2016)

Hi,
Currently i am porting Linux "Ubuntu phablet" to my device Samsung Galaxy TAB A6 10.1 (2016), i have a little progress here.
Currently i was able to do following
- Recompile the kernel and enable video frame buffer
- Build init scripts and create boot.img
- Installed Ubuntu touch on system partition
- Boot to Ubuntu and enable adbd server to be able to continue.
Here you can find a video with my progress h**p://ms.serdit.ro/files/linux-boot-t585.mp4
Best regards,
Marc
Added kernel linux logo
Hi,
For days i was stuck in why those nice penguins are not shown at startup, and voila, i did it....
Here is a nice one
{
"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"
}
Best regards,
M
Hi,
Just to let you know that I have another breakthrough, an init boot menu which can,
- boot installed Linux from system partition
- Reboot in recovery
- reboot
- mount .iso or .img from sdcard and boot from them if contain any OS
Here is a demo
Best regards,
M
I have modified the kernel's fonts to have bigger fonts on text console. This gif is loading very slow....
Help Needed
Hi. I am one of the few who is interested in having linux installd on android devices (Galaxy Tab A 10.1 2016), but there is little forums about this.
I am therefore asking for your help in trying to get this to work. I am trying to install any linux distribution thats available.
As i saw in your video you had something similar to grub bootloader. Can you share it please. B ut most importantly I'd like to know how to get linux installed.
Any necessary information will be greatly accepted.
Thank you in advance and look forward to hearing from you soon.
Hi pops,
Unfortunately there is no complete linux version yet which works on this tablet, i didn't had enough time to complete my port so currently the only thing which works is the boot process of a bare linux with only command line without wifi or mobile data.
The above boot menu is actually a simple program, built by me, which loads an init scripts from desired partition based on an exit code from a loop in the initial init script. It is programmed in C and you need to know how to cross-compile on other platform apps in order to be usable, or to use it as is with precompiled menu.
Basically my linux does not have graphical interface and no peripherals yet and does not have an installable image, with a little progress on android LXC container which is up and running, but nothing tested yet.
Best regards,
Marc
Thank you very mu ch for your quick reply. I understand totally what you said. :good::good:
I believe that this is something that shouldnt be done by only one developer as it may be lots of work.
I know lots about android but not about porting or making custom roms, custom recoveries, or custom kernels. I
If you come up with anything let me know(and who ever it may concern).
Thanks so much again for your reply. :good::good:
Pops
Unfortunately I will not update any of my threads on XDA-Developers websites.
I asked them to remove all my posts and delete my account, but is seems that they did't did that yet.
I will continue to work on my projects but publish the result elsewhere.
Okay but I'd really appreciate if I can stay in the know aboit this so i will leave my contact in order for you to update me. And if you may require any help from my end that wouldn't be. problem.
Email: [email protected]
Website: http://bitly.com/popscommunications
https://popsproductions.wixsite.com/popscommunications
Pops
I will update the http://ms.serdit.ro page with any news i will have, you can check that page regularly if you want, or you can use that to ask anything.
Hi..any new updates
download linl broken
I am terribly sorry, i do not have that device anymore and discontinued the work on it long time ago.
ok, i want test it
pls give link
lentas said:
ok, i want test it
Click to expand...
Click to collapse
I don't think i have the source code of my work for this device anymore, as I changed quite a few computers since then and a lot of hard disks. However, i will have a look for them and if I will have them i will upload all of them on my GitHub repos.
ok
lentas said:
ok
Click to expand...
Click to collapse
Meanwhile you may want to review the PostmarketOS pages, it seems to have been ported to this tablet, there is a kernel source link as well
wifi is broken from that device on pmos
lentas said:
wifi is broken from that device on pmos
Click to expand...
Click to collapse
Even so, is more than i achieved, you can try to fix that.
im not a c++ coder

(Q) Android oreo for 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.

Categories

Resources