Wednesday, September 21, 2016

[HELP] Porting Ubuntu Touch to Redmi Note 2

I'm learning how to port Ubuntu Touch to this device, but I'm not sure what files I need of Android to can do it.

Porting guide:
http://ift.tt/1USm7BB

Kernel, device & vendor by Nofearnohappy:
http://ift.tt/2c0Ad7L
http://ift.tt/1PYstBP
http://ift.tt/1PYstBP

I'm stuck in this:
Quote:

Enabling a new device

If you're repository is compatible with the AOSP tree, it's just a matter of adding the device specific git repositories and the vendor files (usually blobs that you need to extract from the original android image). Once that is done, you should be able build a small android system image that can be used by Ubuntu Touch in order to make it fully compatible with the device.

Device
Add your device specific git repositories under phablet/device ("phablet" is the repository you cloned by following the previous build example and/or Touch/Building).

Make sure it's respecting the format used by AOSP (device/<vendor>/<device name>).

Hardware
Add your hardware specifig git repositories under phablet/hardware.

Make sure it's respecting the format used by AOSP (hardware/<vendor>/<component>). As an example:

Code:

$ ls hardware/qcom/audio/
Android.mk  hal  legacy  visualizer  voice_processing

Vendor
Add your vendor specific binary blobs under phablet/vendor.

Make sure it's respecting the format used by AOSP (hardware/<vendor>/<component>).

Code:

$ ls vendor/asus/flo/
BoardConfigPartial.mk  BoardConfigVendor.mk  device-partial.mk  device-vendor.mk  proprietary

Retrieving the proprietary blobs from Android
Ubuntu Touch Preview uses some pre-compiled binary drivers from the Android layer for rapid enablement of devices. These are referred to as binary or proprietary blobs, as their source code is not available for the build, and are included in binary form.

Since we use AOSP as a base, for supported devices all you need to do is to download and extract and run as mentioned in the downloads from http://ift.tt/MSACGJ
Any help apreciated.


from xda-developers http://ift.tt/2clAfUW
via IFTTT

No comments:

Post a Comment