How to build the linux kernel provide by Lenovo for the TB8704F? - Thinkpad Tablet General

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

Related

(Secure Kernel) AnikOS Droid Kernel

Hi! I'm the head of the AnikOS community that is devoted to Linux Security Solution developing. For some time already we are porting some of our patches for linux kernel (especially GRSecurity-based) to 3.1.10 android kernel for some devices.
Some time later I'd like to introduce you the first working ALPHA version of this kernel named AnikOS Droid Kernel for TF101.
You can also read some useful information about AnikOS project here.
If you have any suggessions that need to be applied in our kernel so you are welcome with advices ;-)

Original source codes..

Does anyone here have the link for Huawei's source tree? What I'm looking for is the 2.6.35 kernel source code and the tarball which has extract-files.sh inside (android_device_huawei_u8800 I think?) I could only find modified ones for Cyanogenmod and ICS. I'm in a big need for them. I can't even download the source code for the kernel from Huawei's site because it just throws "Service currently unavailable" for me.
I actually tried using some device tree from github, but it resulted in these errors.
What I'm looking for are the non modified source files which I could use to build AOSP (Gingerbread).
Thanks in advance.

What build from Huawei has a 4.x kernel, for my phone? +few questions

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.

Kernel Compilation procedure

I am new to android kernel build stuff. So please forgive me if this is not the right platform to raise this query.May i know the steps involved in building the kernel? I am trying to build the stock kernel updated by oneplus in github. Any help or supporting links about kernel compilation will be of utmost help to me. Thanks!
https://forum.xda-developers.com/an...erence-how-to-compile-android-kernel-t3627297
Kernel devs most likely uses scripts to compile their kernel which you can probably find in their github and adapt for yourself

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

Categories

Resources