What build from Huawei has a 4.x kernel, for my phone? +few questions - Huawei P9 Lite Questions & Answers

Hi,
So I have a VNS-L31 bought in France (Europe), not locked to a specific vendor for updates.
Actually I use LineageOS 14.1 self-built using a 3.10.x kernel (using Meticulus development files that I had to fork - like he removed his vendor repo and his latest commit in device repo is not buildable; see my Github repo and I don't give any rom or support for now).
I asked Huawei to get the kernel sources for the stock rom and I'd like to get the 4.x branch. The problem is they asked me a build number, but I flashed from Android 6 which uses 3.x, so I have no idea for what is this build number. I don't know what is the right build for EMUI 5 / Android 7 I could get/use. On the URL= http consumer huawei com /fr/support/mobile-phones/p9_lite_fr-sup htm ] official website [ /URL (in French) they do not offer a download option for this build (only Android 6 and a rollback package). And maybe this isn't even built using the 4.x branch?
And I don't know if I would get the same sources as in URL= https github com /OpenKirin/android_kernel_huawei_hi3650 ]this repo[ /URL.
Also, I'd like to know more of what's going on rom development for Android 7 (or 8). There do not seem that another LineageOS 14 port is going on, OpenKirin has only a recovery released as far as I know. Also, one or two other phones seem to use the same kernel, that are not other names for the P9 Lite, like the Honor 6X?
PS: I don't have any skill in rom porting, I sent a few emails to people that worked on this device, and I saw I'm really lacking of knowledge. Also, it would be one of my many side-projects.
Thanks for your help.

Related

AOSP Port to Qualcomm Note 4 (trltexx) - N910G

Greeting Developers :angel:,
I am new to this ROM building/porting process.
I want to install Vanilla Android on my note-4, so after questioning Google number of times, I came across official Android development guide on official Android website: https://source.android.com/source/downloading.html
I have downloaded the Android source locally and was following various Guides and tutorials from XDA-University & forums only for the development process. http://xda-university.com/as-a-developer/porting-aosp-roms-using-source-code
I discovered that for downloading/configuring the build for a specific device(trltexx), we need to create a localmanifest file that contains device tree, vendor and kernel configuration links for repo syncing.
Now, I want your expertise to guide me forward from this point. Questions being:
1. Can I use CM or other projects (eg. AICP etc.) device configurations for this AOSP project.
2. Can I use these configurations for cross-version android build, say if I want to compile version 6.x, can 5.x configs can be used. (Manufacturer will take several months to release version update)
or Create new configurations using some guide/tutorial/book or something.
In XDA, I know I'm at the write place posting my questions and asking for expertised help.:good:
Thanks!!

[ROM][XT16xx][7.1.0][CyanMod 14.1 [MotoG4 / G4 Plus] - Where are the BSP files?

Hello again,
Again I post here because I am denied posting in the correct spot. I suppose this silly denial will end, eventually.
I have a question for @Silesh.Nair :
In the dev thread, you tell somebody that he can build CM14.1 from source himself, using that guide:
http://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763
In a further post, you seem to indicate that the Moto G4 Plus build is obtained direct from the CM source repo.
I found that github repo for CM on the moto G4: https://github.com/CyanogenMod/android_device_motorola_athene
Unfortunately, the latest tag is marked CM 13 ... and there is nowhere to find the BSP files for CM 14.1.
Now, since it seems quite evident to you, but not at all for me, could you please kindly tell us where we can obtain the BSP files (device tree, vendor, kernel) for CM14.1 - Athene?
Thank you for your understanding my confusion.
You cannot post on a dev forum till you get to 10 posts.
You obviously cannot build cm14.1 using the device tree in cm github.
You have to sync the sources and add your device, vendor and kernel repos from here in your local manifest file.
Thank you
Silesh.Nair said:
You cannot post on a dev forum till you get to 10 posts.
You obviously cannot build cm14.1 using the device tree in cm github.
You have to sync the sources and add your device, vendor and kernel repos from here in your local manifest file.
Click to expand...
Click to collapse
Thank you for this snippet of information. I will look further into it.
In the world of embedded systems, when you have a generic operating system that can be used with many different hardware targets, a Board Support Package ("BSP") is the set of files that are required to build the generic OS on a specific target. For example here the BSP is all the files that are specific for the Moto G4/Plus (e.g. device tree, vendor, kernel), once you have a generic CM 14.1 distribution to start with. "BSP" refers to all the target-specific files that would not be the same on another target (i.e. a different phone).
I think this nomenclature is quite appropriate for the subject at hand.

How to build the linux kernel provide by Lenovo for the TB8704F?

I have tried the tutorials that are available on XDA, but it looks like this kernel is unable to be built outside of an Android project, but maybe I am doing something wrong.
How does one actually build the kernel that is provide by Lenovo. Is it possible to build the kernel by itself using the source provided by Lenovo?
.
The kernel source is here:
https://pcsupport.lenovo.com/us/en/...ntent=20190613_20190613184825&linkId=68972849

Original Samsung kernel sources for SM-T813

Hello,
For those interested in the original kernel source code for the SM-T813 :
As I am learning how to make ports for Android, I am trying to train on the original sources of the Linux kernel for the SM-T813.
After several weeks of research, I couldn't find the origin of the different kernel repositories.
Also on https://opensource.samsung.com, it was impossible to find the sources. So I contact them at the end of January to have an access to this sources...
... And they are now available !
You can download them on https://opensource.samsung.com (search SM-T813 at mobile phone on release center) or on my repository at https://github.com/Akipe/android_kernel_samsung_gts210vewifi_original_samsung
It is based on the T813XXS2BTK3 firmware with Android 7 Nougat.
I will see to ask for sources of similar tablets.
Will this help with porting new Adnoid version to these tablets?
Pawel_ said:
Will this help with porting new Adnoid version to these tablets?
Click to expand...
Click to collapse
I don't think so,
Kernel sources for this tablet already exist, and are ported to newer versions.
It is more useful for those who want start from scratch, and want to inspect the unmodified source code.
But my goal would be to successfully create from scratch for the SM-T813 LineageOS 14.1 (Android 7); and then try to move to the latest versions.
Since I am a beginner, I still have a lot to learn, and I don't have much time, so we will see

Trlte AOSP build

Where can I find the necessary device/kernel... files for a AOSP build of the trlte. I have built lineageos already but I am looking to build the AOSP one because:
I want to use this: https://github.com/pelya/android-keyboard-gadget
All my other devices are below kernel version 3.19 so its not gonna be simple as installing USB Gadget tool.
Unfortunately the provided link to the note 4 kernel: http://www.echoerom.com/ael-kernels/ doesnt load for me.
But the patch is still available: https://github.com/pelya/android-ke...-soc/samsung___apq8084______kernel_3.10.patch
Does anybody have a source tree for everything I need to build aosp of the trlte?
Also what else is different from default aosp and lineageos?

Categories

Resources