Porting a nougat device tree and kernel to oreo (or mm to n) - G4 Q&A, Help & Troubleshooting

What is the process of upgrading an older kernel and device tree to a new android version?
E.g. I understand that oreo has a new device tree layout - how do I see that, and once I have got it, where would I start to port oreo to a nougat tree and kernel?
Sorry if this is an silly question - this is the first time I have considered upgrading a device to an unsupported android version and I am not sure where to begin

I've seen this guide referenced before. Not a direct answer to your question though https://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763

Related

[Question] AOSP ROM from cile381

Hey Guys,
I prefer to build a own AOSP from this Thread http://forum.xda-developers.com/g4/development/rom-android-source-project-t3337687
but the Problem is the CAF Stuff and so..... somebody have any idea to create a version with the current CAF & Android 6.0.1 Revision? There is needed to change on vendor or device Drivers from his Github ? https://github.com/cile381

Z5P Dual: How to fix Nougat kernel issues?

Hello! I am building AOSP 7.0 Nougat for the Z5 Premium Dual and I am having an issue with my new kernel where the SIM cards aren't being read.
The new kernel where it is not working is built on the newest revision of Nougat 7.0.0 (r24 at this moment in time) that is now officially supported by Sony.
The old kernel where it IS working is built on revision 17 (the one Sony was supporting until now).
This is my first time building android so I would very much appreciate any help or suggestions!
The thread can be referenced under Original Development and I can upload the working and non-working kernel if needed!

Update to a newer version of a ROM using updated files from another ROM

I was wondering, theoretically (I'm not planning on doing it, I was just interested as I am trying to find out more about ROM development and how it works), could I take an updated ROM, e.g. Lineage OS 15.1, that is not supported by my device on the latest version, but was supported on the last version, and take a ROM that is working on android 8.1 (the same as Lineage OS 15.1), and combine them together to make a working Lineage OS 15.1 port for my phone.
Is this how porting works?
Sorry if this is the wrong place for a question like this, but I wasn't sure where else to put it.

Why there is no Oxygen OS unnoficial rom for our OP3T ?

Hello guys,
There is a lot of customs roms for our OP3T but why there is no Oxygen OS roms unnoficial (based on the latest OOS build) for our OP3T, since OOS is a very good os, i don't understand.
It's not possible ?
Thanks guys
There are OOS based ROMs such as theOne3OS, Experience etc. They have mostly been debloated versions of the official ROM with some baked-in enhancements like Magisk modules. There are no OOS ROMs based on Android 10 AFAIK. Not sure how difficult it is to port stable official Android 10 ROMs from other OnePlus devices.
Nixeus2 said:
Hello guys,
There is a lot of customs roms for our OP3T but why there is no Oxygen OS roms unnoficial (based on the latest OOS build) for our OP3T, since OOS is a very good os, i don't understand.
It's not possible ?
Thanks guys
Click to expand...
Click to collapse
OOS is closed source - nobody (but OnePlus) has source code for. The non-OOS custom roms are source build (aosp and caf open source based). The OOS based roms are just repacks of the original OOS. OOS is no longer supported for op3/t - after OOS 9.0.6 there is nothing to repack.
Like the others said repacks are availible, if you want to try to run a newer oxygen os version than is officially availible you have the biggest chance with the unofficial gsi support route and a oxygenos gsi rom. But i don't expect it to work well so only do it if you enjoy tinkering with your phone and are an experienced flasher who has the neccesary backups.
OneUi is closed source too.
Why have old galaxy phones OneUi-costum rom from new galaxy Devices?
Keyvannn said:
OneUi is closed source too.
Why have old galaxy phones OneUi-costum rom from new galaxy Devices?
Click to expand...
Click to collapse
Hard to say on this general basis. Maybe gsi.
I suggest you read the threads of such roms and ask the dev if those threads doesn't answer your question.
Then you can do the same for oos. I'm sure many people will appriciate your work.

Port new lineage os to mako(LG Nexus 4)

Hi. I want to try to build lineage os 17/18 for my old phone. I have env and I already build package for other phone. For Nexus 4 there and only some old lineage os 15 builds. How to prepare lineage os 18 based on lineage os 15? Is it possible or maybe it needs to be done from scratch. Is there any instruction how to do this?
Porting a ROM means there's a similar device with a working LineageOS on it. Which means it's already built, and only small modifications to make it stable for you.
Porting doesn't work the way you described. You can't build Android 12 on top of Android 8, every new major Android update, Google releases a new source code.
Then, manufacturers/developers modify it to their sweets. What you want to do is to build LineageOS 18/17 for an unsupported device. There's a lot of guides online about it. The context matters.
Can you share some links about building lineage os for unsupported devices? Will it help somehow when there are some old versions builds?

Categories

Resources