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

Not understanding readme #48

Closed Leedl3 closed 6 years ago

Leedl3 commented 8 years ago

Hi, I am trying to port this patch to the Moto E 2nd Gen "surnia". The kernel piece is fine its the boot.img piece I am skeptical about. This will need to be installed using fastboot right? Also the command: repo init -u https://android.googlesource.com/platform/manifest -b android-4.4.2_r1 . What would I need to change the android-4.4.2_r1 to? I am running cm 13 witch is android version 6.0.1. I do apologize if the answer to these questions are simple but I want to be sure that I don't mess up especially since this is the boot.img file we are talking about.

Thank you -Leedl3

pelya commented 8 years ago

These instructions are for AOSP. If you are using cyanogenmod, first you need to compile cyanogenmod itself: https://wiki.cyanogenmod.org/w/Build_for_surnia Then you patch the kernel, recompile your cyanogenmod, and take the resulting boot.img, which you can flash using fastboot. You don't need system.img and other stuff, but unfortunately it will compile everything, so that requirement to have 60Gb free space still applies.

And if you succeed, please give me compiled boot.img.

On Thu, Apr 28, 2016 at 8:15 AM, Leedl3 notifications@github.com wrote:

Hi, I am trying to port this patch to the Moto E 2nd Gen "surnia". The kernel piece is fine its the boot.img piece I am skeptical about. This will need to be installed using fastboot right? Also the command: repo init -u https://android.googlesource.com/platform/manifest -b android-4.4.2_r1 . What would I need to change the android-4.4.2_r1 to? I am running cm 13 witch is android version 6.0.1. I do apologize if the answer to these questions are simple but I want to be sure that I don't mess up especially since this is the boot.img file we are talking about.

Thank you -Leedl3

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/pelya/android-keyboard-gadget/issues/48

Leedl3 commented 8 years ago

Ok, thank you!

conrad-heimbold commented 6 years ago

Newer tutorial: https://wiki.lineageos.org/devices/surnia/build