pelya / android-keyboard-gadget

Convert your Android device into USB keyboard/mouse, control your PC from your Android device remotely, including BIOS/bootloader.
Apache License 2.0
1.22k stars 308 forks source link

how to compile a kernel for my old vodafone 858 smart / Huawei 8160 #5

Closed Steven1000000 closed 6 years ago

Steven1000000 commented 9 years ago

As a family practice doctor, your app could be useful for getting medical notes from my personal device onto the EMR on a locked corporate network.

I would like to learn how to compile a kernel for my old vodafone 858. Before getting my current phone, I found a youtube video detailing the process to flash CM9 which gave the 858 a new lease on life for a while.

I have read your instructions to launch commands on github from a linux box. I have previously run ubuntu from a CD/DVD but I would like to ask if that is the right idea or not as I am in unfamiliar territory and could use a little help please.

pelya commented 9 years ago

Hi. It seems like you'll have to build Cyanogenmod with my patch yourself - you don't need to flash everything you've built, only boot.img. Here are instructions: http://wiki.cyanogenmod.org/w/Build_for_u8160 Apply this patch to kernel sources before compiling Cyanogenmod: https://github.com/pelya/android-keyboard-gadget/blob/master/kernel-3.1.patch using command patch -p1 < kernel-3.1.patch There are chances that the patch will not apply cleanly, because the kernel may be too old, likely 2.9. On Jul 27, 2014 12:15 PM, "Steven1000000" notifications@github.com wrote:

As a family practice doctor, your app could be useful for getting medical notes from my personal device onto the EMR on a locked corporate network.

I would like to learn how to compile a kernel for my old vodafone 858. Before getting my current phone, I found a youtube video detailing the process to flash CM9 which gave the 858 a new lease on life for a while.

I have read your instructions to launch commands on github from a linux box. I have previously run ubuntu from a CD/DVD but I would like to ask if that is the right idea or not as I am in unfamiliar territory and could use a little help please.

— Reply to this email directly or view it on GitHub https://github.com/pelya/android-keyboard-gadget/issues/5.

Steven1000000 commented 9 years ago

Thank you. If the 858 smart is too old to have a 3.1 kernel, perhaps I had better try my current phone instead. This is a vodafone smart mini - 875 comes up on the play app store, but I am unsure of the model number.

conrad-heimbold commented 6 years ago

How to build LineageOS (including the kernel and boot image) for e.g. Motorola Moto G4 Play: https://wiki.lineageos.org/devices/harpia/build