Help On Porting Roms - OnePlus 8T Questions & Answers

Hello Everyone, I am new to porting custom ROMs and I would like to start to Port custom ROMs for this device, could anyone help me get started?

MaybeDontAsk said:
Hello Everyone, I am new to porting custom ROMs and I would like to start to Port custom ROMs for this device, could anyone help me get started?
Click to expand...
Click to collapse
Try building lineage first. https://wiki.lineageos.org/devices/kebab/build

Thanks for telling me what to start with, I was successful on everything until the "Brunch Kebab" command on that one I got the following Vendor Error I believe it is - hope you can help me
{
"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"
}

MaybeDontAsk said:
Thanks for telling me what to start with, I was successful on everything until the "Brunch Kebab" command on that one I got the following Vendor Error I believe it is - hope you can help meView attachment 5541455
Click to expand...
Click to collapse
You used this for the vendor files, https://github.com/TheMuppets/proprietary_vendor_oneplus right?

Nope I didn't even know I needed that, thanks I'll try this tomorrow, if I need to extract this, do I extract it to the vendor folder?

MaybeDontAsk said:
Nope I didn't even know I needed that, thanks I'll try this tomorrow, if I need to extract this, do I extract it to the vendor folder?
Click to expand...
Click to collapse
Yeah, just (in the source location):
Code:
cd vendor/
git clone https://github.com/TheMuppets/proprietary_vendor_oneplus.git -b lineage-18.1 oneplus
Then you should be good to go.
Make sure these exist too:
kernel/oneplus/sm8250
hardware/oneplus

Alright if I success building lineage tomorrow, should I try to port another custom ROM? And if yes do I need to download any other files other than the source cuz I believe everything is pre installed for the OnePlus 8t on the lineage os 8T build guide.

MaybeDontAsk said:
Alright if I success building lineage tomorrow, should I try to port another custom ROM? And if yes do I need to download any other files other than the source cuz I believe everything is pre installed for the OnePlus 8t on the lineage os 8T build guide.
Click to expand...
Click to collapse
Yes of course you can try building other ROMs. Lineage is already built for the 8T, but is a good place to start. You will need to download the source of each ROM you want to build. However, Lineage has all of the needed files to be downloaded for the 8T. For other ROMs, you will need to edit some files in the device trees and possibly make your own.

Do u know if there's a guide or examples to editing files like that or making my own?

MaybeDontAsk said:
Do u know if there's a guide or examples to editing files like that or making my own?
Click to expand...
Click to collapse
Hmm, this guide may help - https://blog.arrowos.net/compilation-guide/
But also, this telegram group can be helpful to start - https://t.me/AndroidBuildingHelp

Hi thanks, so I was ready (Kinda) to start building DotOS 6.0 (Android 12) For This Device (OnePlus 8T) right after finishing the lineage build but I got the following error after one hour -
Sorry for the bad quality, rn I have the project 404 rom on my phone that came with no camera so had to get gcam ported apk to take this picture.

MaybeDontAsk said:
Hi thanks, so I was ready (Kinda) to start building DotOS 6.0 (Android 12) For This Device (OnePlus 8T) right after finishing the lineage build but I got the following error after one hour -View attachment 5542333
Sorry for the bad quality, rn I have the project 404 rom on my phone that came with no camera so had to get gcam ported apk to take this picture.
Click to expand...
Click to collapse
That looks like youre building lineage still right? Also, A12 will be a little more difficult to build and may need a more extensive guide..
And more code is needed to figure out the error

Hi, I want to build KangOS from source, I know all basic commands to sync repo and all of that but I don't know how to buil/port/make it for this device (Oneplus8T) any guide on if I need stock filmware or edit any files?

Hello, after a long time, I have decided to try porting a rom again, I am trying to port an Android 12L rom, but I've come upon an error when I am about to compile the rom
Code:
"Brunch Kebab"
and I get "No config file found for Target Device Kebab (I have already cloned vendor, device tree and kernel files for 12L) I have been trying to fix this error for around an hour or 2 now. I would appreciate if you helped me

MaybeDontAsk said:
Hello, after a long time, I have decided to try porting a rom again, I am trying to port an Android 12L rom, but I've come upon an error when I am about to compile the rom
Code:
"Brunch Kebab"
and I get "No config file found for Target Device Kebab (I have already cloned vendor, device tree and kernel files for 12L) I have been trying to fix this error for around an hour or 2 now. I would appreciate if you helped me
Click to expand...
Click to collapse

Related

[Q] [NEEDS HELP] Creating ROM for Ace Plus

Hello.
Right now as I am typing this message, the source files for Cyanogenmod 11.0 are being synced to my computer, and I am trying to make a build for our device. I have a few questions though that would affect my development:
1) On a guide I was reading (http://forum.xda-developers.com/showthread.php?t=2060017), it says "MAKE SURE YOUR PHONE IS ON OFFICIAL LATEST CYANOGENMOD ROM". But trebon isn't officially supported. Would it still work if I put in trebon, or do I need to do other steps?
2) Do I have to code something after downloading the Android sources, or do I just have to build it instantly?
Any help on these would be greatly appreciated. I'm willing to create a ROM for our device if I can get the help I need, since I have nothing better to do anyway.
Thanks!
Liam D. said:
Hello.
Right now as I am typing this message, the source files for Cyanogenmod 11.0 are being synced to my computer, and I am trying to make a build for our device. I have a few questions though that would affect my development:
1) On a guide I was reading (http://forum.xda-developers.com/showthread.php?t=2060017), it says "MAKE SURE YOUR PHONE IS ON OFFICIAL LATEST CYANOGENMOD ROM". But trebon isn't officially supported. Would it still work if I put in trebon, or do I need to do other steps?
2) What's the minimum RAM requirement for Cyanogenmod? If OmniROM or AOKP is lighter, I would switch sources.
2) Do I have to code something after downloading the Android sources, or do I just have to build it instantly?
Any help on these would be greatly appreciated. I'm willing to create a ROM for our device if I can get the help I need, since I have nothing better to do anyway.
Thanks!
EDIT: After doing some research, I switched to AOKP instead of Cyanogenmod 11 because it is lighter. Apparently, according to the Cyanogenmod 11 Google+ post, they require a minimum of 512MB RAM, which our phone does not have. Syncing right now is AOKP source code. If some people would like to help me make a build, I would appreciate it if you would answer the questions above.
Click to expand...
Click to collapse
me :good:.. i want to help
Thanks, Androidoo.
To anyone who wonders, I got some help from @streambinder and right now I just finished downloading the Cyanogenmod 11 sources. I'll be whipping up a new build within the week and would love to have other users test it out for me (if I ever get to finish it). I've been using TheWhisp's sources for Cyanogenmod 11 for Galaxy Mini and when the ROM I built goes live, I'll be sure to upload it here and give him credits for his sources.
I need a little help here, possibly from @giugiu19 @smartandroidtech @streambinder
{
"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've tried Googling for answers but I got no luck with this. Can you help me out with that?
Thanks!
I think you must refer this guide as it is much more detailed.
http://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763
If you have any question then you can ask the OP of that guide.
kk9999gada said:
I think you must refer this guide as it is much more detailed.
http://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763
If you have any question then you can ask the OP of that guide.
Click to expand...
Click to collapse
Thanks kk9999gada! I'll take a look at that.
Success! I've managed to make a build with no errors.
I'll be testing this now, and if all goes well, expect a release soon!
Liam D. said:
Success! I've managed to make a build with no errors.
I'll be testing this now, and if all goes well, expect a release soon!
Click to expand...
Click to collapse
grea work man excited:fingers-crossed:
Androidoo said:
grea work man excited:fingers-crossed:
Click to expand...
Click to collapse
Thanks!
Right now, everything works fine, except for WiFi. I'm still trying to figure it out, and it looks like I might have to change kernels.
Liam D. said:
Thanks!
Right now, everything works fine, except for WiFi. I'm still trying to figure it out, and it looks like I might have to change kernels.
Click to expand...
Click to collapse
which kernel u tried?
Androidoo said:
which kernel u tried?
Click to expand...
Click to collapse
I tried the SpeedMod kernel, the phone boots fine but WiFi doesn't work. I tried Triprex's kernel, and the phone would not respond at all.
Liam D. said:
I tried the SpeedMod kernel, the phone boots fine but WiFi doesn't work. I tried Triprex's kernel, and the phone would not respond at all.
Click to expand...
Click to collapse
kernel problem.. cn u try for logcat any devs cn help this may be or u trying somethig more>??
Androidoo said:
kernel problem.. cn u try for logcat any devs cn help this may be or u trying somethig more>??
Click to expand...
Click to collapse
It's finals week in the university, so I'm putting it on hold. On Friday I will resume development. I have a logcat ready here and I'm studying it to figure out the problem. I'm 99% sure this is a problem with the kernel, probably a broken module.
If anyone's interested, I have a working copy of the ROM, but WiFi and Camera doesn't work yet. If you want I can upload the ROM. I'm doing a project for school right now. After I finish (in about 1 more hour), I'll upload some screenshots of my ROM.
Here are the screenshots of the ROM I built:
Liam D. said:
Here are the screenshots of the ROM I built:
View attachment 2980442 View attachment 2980443
Click to expand...
Click to collapse
GREAT WORK BUDDY PLEASE START A THREAD its jus perfect with new theming engine
---------- Post added at 10:01 AM ---------- Previous post was at 09:59 AM ----------
Liam D. said:
It's finals week in the university, so I'm putting it on hold. On Friday I will resume development. I have a logcat ready here and I'm studying it to figure out the problem. I'm 99% sure this is a problem with the kernel, probably a broken module.
If anyone's interested, I have a working copy of the ROM, but WiFi and Camera doesn't work yet. If you want I can upload the ROM. I'm doing a project for school right now. After I finish (in about 1 more hour), I'll upload some screenshots of my ROM.
Click to expand...
Click to collapse
Start A thread and take as much time you need:fingers-crossed:
Thanks.
Uploading a build right now (the one where camera and WiFi doesn't work yet). I'm also downloading a new kernel build to my PC to experiment with (kernel 3.4.x from TheWhisp's jenad build).

Lineage 15 Oreo i9300

have lineage oreo for S2 9100 , and 9300????
download links Do you have to note 2 oreo
It would be smarter to build Android Oreo Go,unfortunately no I do not have the experience to do it but it is just a suggestion.
GO SGS3
Dinkec27 said:
It would be smarter to build Android Oreo Go,unfortunately no I do not have the experience to do it but it is just a suggestion.
Click to expand...
Click to collapse
Totally agree! Read about this somewhere recently, it seems like the best option for our older devices. And Yes! No notion of how to do it but perhaps some nice adventurous Dev will take up the torch.
We need supporting kernel man!
hishamnoobie said:
We need supporting kernel man!
Click to expand...
Click to collapse
fourkbomb is working on a new kernel for i9300, named midas. Just wait,won't be long time.https://github.com/fourkbomb/linux
That's great news. Does someone maybe know the current status of the development?
Ok, I just found this: https://blog.forkwhiletrue.me/pages/roadmap/
aureliomilitao said:
have lineage oreo for S2 9100 , and 9300????
Click to expand...
Click to collapse
i think that someone is developing lineage 15.1 for our beloved device
here's the link- https://forum.xda-developers.com/ga...14-1-i9300-t3544531/post76226256#post76226256
Any news?
PLHokus said:
Any news?
Click to expand...
Click to collapse
{
"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"
}
Looks like it's coming along nicely with a lineage-15.1 branch https://github.com/fourkbomb/android_device_samsung_midas
Sly Fox007 said:
Looks like it's coming along nicely with a lineage-15.1 branch https://github.com/fourkbomb/android_device_samsung_midas
Click to expand...
Click to collapse
that is for all s3 versions or only i9300 ?
hasan.sy said:
that is for all s3 versions or only i9300 ?
Click to expand...
Click to collapse
""Midas" is the codename for the family of boards consisting of the Galaxy S3 (GT-I9300, GT-I9305, SHV-E210K/L/S) and the Galaxy Note 2 (GT-N7100, GT-N7105)." from https://blog.forkwhiletrue.me/pages/midas-mainline/
when did this project will finish am waiting...... for my devices gt-i9305
Someone can always try to transform the S3 into treble compatible so that everyone can then try to use the GSI Treble roms at least to breath some live back into the S3
Here's an update on the development: https://blog.forkwhiletrue.me/posts/an-almost-fully-libre-galaxy-s3/ It's not for Oreo development specifically but it's about u-boot and the kernel.
Sly Fox007 said:
Here's an update on the development: https://blog.forkwhiletrue.me/posts/an-almost-fully-libre-galaxy-s3/ It's not for Oreo development specifically but it's about u-boot and the kernel.
Click to expand...
Click to collapse
the device tree for s3 on los15.1 already prepeared here.but midas still not perfect which needs a lot skills to run.so no body build a rom to try…(excepet the author)
https://github.com/fourkbomb/android_device_samsung_midas
mountainguan said:
the device tree for s3 on los15.1 already prepeared here.but midas still not perfect which needs a lot skills to run.so no body build a rom to try…(excepet the author)
https://github.com/fourkbomb/android_device_samsung_midas
Click to expand...
Click to collapse
how to install this kernel to devices any idea about it
pandeyshreedhar said:
how to install this kernel to devices any idea about it
Click to expand...
Click to collapse
It's not ready for anything but booting linux. If you really want to try it out, instructions are at the bottom of the page.
Try it yourself
If you're after something to tinker with, have a spare GT-I9300/GT-I9305/GT-N7100/GT-N7105 lying around, and don't really care about using anything based on the old kernel (be that LineageOS, Replicant, or the stock firmware), you can even try this for yourself. While it should be possible to go back to the proprietary bootloader, I have not tested doing so: doing this would be left largely as an exercise to the reader. It's also worth mentioning that LineageOS/Replicant will boot under u-boot with a kernel compiled without CONFIG_ARM_TRUSTZONE set, but the display will not work (probably because u-boot does not initialise the display).
...
Click to expand...
Click to collapse
Hi all,
I guess we can expect Oreo ROM for our s3 by using a method called MicroG which galaxy s2 also uses the same structure for supporting lineage 15. Or we can port los 15 from galaxy s2 because both the offer a similar kernel version.
Cheers if anyone tries to build los 15 for our device using the given info..
( Note: the given info might be correct according to a dev that I've confirmed.)

[ROM][UNOFFICIAL][7.1.2] LineageOS 14.1 for LG Aristo 2

{
"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"
}
Disclaimer:
Code:
/*
* Your warranty is void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
What's working:
IDK
Not working:
IDK
Links:
TWRP: https://androidfilehost.com/?fid=5862345805528064784
Google Apps (arm): https://opengapps.org/
ROM: https://www.androidfilehost.com/?fid=5862345805528066888
Source:
Device Tree (cv1): https://github.com/armandopartida0/android_device_lge_cv1
Device Kernel (cv1): https://github.com/armandopartida0/android_kernel_lge_cv1
Shared Device Tree (sd4xx): https://github.com/LG-SD4XX/android_device_lge_sd4xx-common/tree/cm-14.1-32-test
Device Blobs (cv1): https://github.com/armandopartida0/vendor_lge_cv1
Special thanks to:
Travisholt92
deadman96385
Thank you both for working on a common device tree
Remember, this ROM build is a test. It might work just fine, or it could not boot at all. Let me know how the build goes. Also this is a 32bit rom.​
Donate here --------> https://paypal.me/APartida332
*Warning- As of right now, the build will only boot the lineage os boot animation. I will look into it and fix it soon
armandop_ said:
*Warning- As of right now, the build will only boot the lineage os boot animation. I will look into it and fix it soon
Click to expand...
Click to collapse
That's it, just the animation ? You need a logcat or dmesg ?
tecknight said:
That's it, just the animation ? You need a logcat or dmesg ?
Click to expand...
Click to collapse
A logcat and a dmesg would be nice
armandop_ said:
A logcat and a dmesg would be nice
Click to expand...
Click to collapse
OK, you got it
any luck getting this rom to work?
Was this ever fixed?
Any work towards this? Or is aristo 2 dead?
rabbidninja said:
Any work towards this? Or is aristo 2 dead?
Click to expand...
Click to collapse
Hey the LG Aristo 2 is far from dead. Right now we are experimenting on this rom. So just hang in there. The development just kick started since being released January this year(2018). Thanks to tecknight you can root and install twrp custom recovery. And now were working on lineage OS 14.1. So when this is released as a "non-buggy" rom then we pretty much have unlocked all the potential of the Device.
---------- Post added at 03:15 PM ---------- Previous post was at 03:12 PM ----------
HiGhDRo3o5 said:
Was this ever fixed?
Click to expand...
Click to collapse
We are working on the fix still. Don't give up!
Should I use arm or arm64 gapps?
jflow36 said:
Should I use arm or arm64 gapps?
Click to expand...
Click to collapse
The architecture is arm so use arm gapps
Lg aristo 2 lineage os 14.1
Can you update me on development for lineage os for lg aristo 2 or is development completely dead
Isaah E said:
Can you update me on development for lineage os for lg aristo 2 or is development completely dead
Click to expand...
Click to collapse
It's dead but I'm gonna reboot the project. I'm determined not to let the Aristo 2 die. Tomorrow I'm uploading the AtomicRom that I created using the iPioneer Rom for the Aristo. That should inspire some more development in the Aristo 2.
NonStickAtom785 said:
It's dead but I'm gonna reboot the project. I'm determined not to let the Aristo 2 die. Tomorrow I'm uploading the AtomicRom that I created using the iPioneer Rom for the Aristo. That should inspire some more development in the Aristo 2.
Click to expand...
Click to collapse
Does the rom you made work correctly Im really excited can't wait for you to upload it
Isaah E said:
Does the rom you made work correctly Im really excited can't wait for you to upload it
Click to expand...
Click to collapse
It's very unstable if you flash it. But I'm going to make a TWRP Backup and Upload it to remove any errors from flashing.:fingers-crossed:
Is there any simple way to port an existing ROM with the same base Android Version and same chipset? The Galaxy J2 has both and seems to have plenty of development.
PAWGLove said:
Is there any simple way to port an existing ROM with the same base Android Version and same chipset? The Galaxy J2 has both and seems to have plenty of development.
Click to expand...
Click to collapse
Hey I'll check that out. I already ported Resurrection Remix and Lineage OS 14.1 from the LG K20 Plus, but the bugs need to be fixed. Theres an issue with the Wifi not connecting and there's an issue with the camera. It opens but shortly after it opens it says Media Server failed to start.
I haven't done much development but I can start trying to fix them. If you want to try and fix my ports here's the links:
Lineage OS 14.1 Port
Resurrection Remix Port
Here's the link I followed for porting and bug fixing.
[Guide] AIO PORTING GUIDE [MTK-QUALCOMM-RECOVERY-BUGFIX-VOLTE]
I'm about to extract the Kernel from our stock boot.img(AKA: boot.img-zimage) using Android Image Kitchen for android.
I'll make a porting thread guide for our device. It won't show you how to fix the bugs but it will show you how to do the basic things such as fixing the error in twrp from the assert. I'll try and get it done today.
Ok Sounds great im downloading your ports now. (Fair warning im a scrub) so dont expect me to work any wonders, but I'll definitely mess around and see if i accodently fix something.
Is that the Lineage Port from the 1st page of this post? Or is it a bootable buggy version?
PAWGLove said:
Ok Sounds great im downloading your ports now. (Fair warning im a scrub) so dont expect me to work any wonders, but I'll definitely mess around and see if i accodently fix something.
Is that the Lineage Port from the 1st page of this post? Or is it a bootable buggy version?
Click to expand...
Click to collapse
Bootable Buggy One
Btw you don't have to be a pro to fix bugs. And I like that your up to a challenge. You remind me of me. I would do try to fix them myself but I'm up to something else with updating my ROM. My signature is a link to my thread. You could subscribe to it for the new updates. I'm releasing a new one today that will boot quicker.
Here's the zimage for future porting....
https://www.androidfilehost.com/?fid=11410963190603868521
Everything seems good on Resurrection Remix except for no camera and no LED Flashlight.
Thanks for the good port!

Need info about touchscreen related files on LineageOS.

Hi People!
I have an SM-T355Y which does not have any official or unofficial LineageOS ports. So, I am using a ROM for a similar device (SM-T350) which has some unofficial ROMs..
The screen has some scaling difference between the SM-T350 and T-355Y models due to which touches in around 75% of the screen get scaled to entire 100% - so to click something at the right bottom corner, I have to touch a point which is around 1.5 inches from bottom and 0.5 inches from right. Crude representation below:
Touching blue point will click at orange point:
{
"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"
}
Is there some config file that I can edit to scale the touch response so that I get the click below the point I touch?
Or is there a 'mapping' file that I can use?
Do let me know if I can try some other tricks.
Rahul.raj said:
Hi People!
I have an SM-T355Y which does not have any official or unofficial LineageOS ports. So, I am using a ROM for a similar device (SM-T350) which has some unofficial ROMs..
The screen has some scaling difference between the SM-T350 and T-355Y models due to which touches in around 75% of the screen get scaled to entire 100% - so to click something at the right bottom corner, I have to touch a point which is around 1.5 inches from bottom and 0.5 inches from right. Crude representation below:
Touching blue point will click at orange point:
Is there some config file that I can edit to scale the touch response so that I get the click below the point I touch?
Or is there a 'mapping' file that I can use?
Do let me know if I can try some other tricks.
Click to expand...
Click to collapse
You need a kernel that is compatible with your model number. Your device and the similar device have slightly different hardware, therefore, the kernel from the other device is slightly different than yours.
This isn't the kind of thing where you can just edit some system files, this has to be done by installing a compatible kernel. You will have to try finding a kernel that is already made for your specific model number or you will have to build a new kernel from the ground up yourself by compiling the new kernel using the source code for your device(if it is available). Or, you can try using a kernel from other similar devices. Or, you can try porting a kernel to make it work on your device.
If you are lucky, you might find something that is already compatible that you can just install as it is. If you can't find something compatible, you'll have to compile a new kernel or port an existing kernel.
Droidriven said:
<...>
Click to expand...
Click to collapse
Thanks for the guidance.
Possibly dumb questions:
1. Can a kernel specifically compiled for my device be 'flashed' into the currently installed setup, through PC or TWRP, or do I need to 'integrate' it into the ROM and flash the ROM again?
2. As I said, my device is unsupported by LineageOS. What would be a good resource for me to follow to build a device specific kernel?
Rahul.raj said:
Thanks for the guidance.
Possibly dumb questions:
1. Can a kernel specifically compiled for my device be 'flashed' into the currently installed setup, through PC or TWRP, or do I need to 'integrate' it into the ROM and flash the ROM again?
2. As I said, my device is unsupported by LineageOS. What would be a good resource for me to follow to build a device specific kernel?
Click to expand...
Click to collapse
1) the kernel can be flashed via TWRP if it has been converted into a flashable .zip file, can can take a copy of your lineageOS ROM .zip and delete the ROM system.img from the .zip and replace it with the kernel file. It is risky if you don't edit the .zip file correctly, you might want to consider using a method that converts your kernel file directly into a flashable .zip the same way ROM .zips are created.
2)first, you need to do some Google searching to see if your device's stock kernel source has been released to the public. If it isn't publicly available, you will not be able to build a device specific kernel. Or you can try finding LineageOS ROMs for similar devices and extract the kernel from those ROMs and flash them on your device. You could also find the lineagOS kernel source code for those other devices/ROMs and try compiling your own kernel from those lineageOS kernel sources.
Thanks a ton for the feedback.
There is no ROM/ kernel for my device and the 'similar' device has the scaling issue.
Having said that there was a Marshmallow kernel from Ashyx: But I am not confident that it will work with a Nougat ROM.
I looked at the compile instructions for LineageOS, but that has a step where it needs to download proprietary files from a device already running LineageOS ROM. Kind of chicken and egg problem it seems.
Looks like there is no way ahead on this.

[Q]Kernel SU for oneplus 7 pro??

Hi,
anyone have any kernelSU that works with oneplus 7 pro?
Ive never heard of this however if you are able to compile the kernel with your hardware then you can set it up yourself, Let me know if you end up doing so cause I would like to check it out too! Id build it myself but I have 3gb left on my hard disk...
kernel-assisted-superuser - Kernel assisted means of gaining a root shell for Android
git.zx2c4.com
RolandStoner said:
Ive never heard of this however if you are able to compile the kernel with your hardware then you can set it up yourself, Let me know if you end up doing so cause I would like to check it out too! Id build it myself but I have 3gb left on my hard disk...
kernel-assisted-superuser - Kernel assisted means of gaining a root shell for Android
git.zx2c4.com
Click to expand...
Click to collapse
I don't know how to build it , if you can guide me I will build it .
I just so happened to acquire a few development machines to work with so once I get setup Ill let you know o7
RolandStoner said:
I just so happened to acquire a few development machines to work with so once I get setup Ill let you know o7
Click to expand...
Click to collapse
if you can save a video or screenshots for the steps and share it later it will be appreciated, a draft will be enough
Youll have to excuse my incoherent babbling then
Im almost finished with setting up my devices, after that its going to take a moment for android to dl then ill give it a go
Gotta restart today, didn't expect it to actually cost 200+gb for setup
No Problem, take your time really appreciate your work here,
it will work with android 11 right? as A12 is not stable for oneplus 7 pro
RolandStoner said:
Gotta restart today, didn't expect it to actually cost 200+gb for setup
Click to expand...
Click to collapse
sorry to ask , any update?
loshabih said:
sorry to ask , any update?
Click to expand...
Click to collapse
having some trouble compiling the kernel :/ working on it
going off of lineage 20 btw: https://github.com/LineageOS/android_device_oneplus_guacamole
GitHub - LineageOS/android_kernel_oneplus_sm8150
Contribute to LineageOS/android_kernel_oneplus_sm8150 development by creating an account on GitHub.
github.com
im going to try getting the .config off of my device as a base since i cant seem to find the guac defconfig. After that it should just be running the script and compiling
Alright, I think I figured it out. 3 reinstallations and 1tb later my env is almost complete
Alright I finally know what the **** im doing. Ill post the kernel once it compiles and here is a doc for building yourself
To compile the Android kernel source code, you will need to have a Linux-based d - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
pastebin.com
RolandStoner said:
Alright I finally know what the **** im doing. Ill post the kernel once it compiles and here is a doc for building yourself
To compile the Android kernel source code, you will need to have a Linux-based d - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
pastebin.com
Click to expand...
Click to collapse
sorry for asking ..did you successfully compiled the kernel ?
I have not, i dont think my hw can do it, all my machines keep stalling at some point. if you have the storage space and recommended hardware i can send you all the stuff i have
loshabih said:
sorry for asking ..did you successfully compiled the kernel ?
Click to expand...
Click to collapse
I compiled the kernel.
{
"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"
}
boot.img for LineageOS 20 with KernelSU
https://drive.google.com/file/d/1xUprcgTg-nsxBIS5I_VDaBju0LLFkKDO/view?usp=sharing
KernelSU for OnePlus 7/7 Pro (Flashable Zip)
https://github.com/snowwolf725/android_kernel_oneplus_sm8150/releases
https://drive.google.com/file/d/1c6Z0dHCXSxmV223L0Ta1gSSJo0tnSpkb/view?usp=share_link
KernelSU Manager APK
https://github.com/tiann/KernelSU/releases
snowwolf725 said:
I compiled the kernel.
View attachment 5829085
boot.img for LineageOS 20 with KernelSU
http://dstats.net/track/2y5x97
KernelSU for OnePlus 7/7 Pro
http://dstats.net/track/2y5yb6
Click to expand...
Click to collapse
URL is not working ..it show disabled .
also does it work with stock OOS11 or i must have LineageOS ?
loshabih said:
URL is not working ..it show disabled .
also does it work with stock OOS11 or i must have LineageOS ?
Click to expand...
Click to collapse
I have updated the links.
The boot.img is only for LineageOS 20.
I'm not sure it work with OOS11 currectly or not.
You should try it by yourself.
You can flash the zip file through TWRP.
snowwolf725 said:
I have updated the links.
The boot.img is only for LineageOS 20.
I'm not sure it work with OOS11 currectly or not.
You should try it by yourself.
You can flash the zip file through TWRP.
Click to expand...
Click to collapse
i will try ..
thanks
zip file caused boot loop, TWRP touch not working, I had to fastboot boot twrp.img
then restore the boot.img backup

Categories

Resources