Trying to build unofficial 15.1

feduss

Senior Member
Jan 24, 2013
235
44
48
Cagliari
www.muscledroid.altervista.org
Right now, i'm trying to build los15.1, just for fun (i'm not using this smartphone at all, but i want to learn how to do a bring up, it's interesting). I've fixed about 11 compile time error (missing libs etc), but i have other, such as:

Code:
system/core/adb/daemon/main.cpp:113:59: error: use of undeclared identifier 'AID_UHID'
                      AID_NET_BW_STATS, AID_READPROC,     AID_UHID};
                                                          ^
system/core/adb/daemon/main.cpp:114:49: error: no matching function for call to 'ArraySizeHelper'
    minijail_set_supplementary_gids(jail.get(), arraysize(groups), groups);
                                                ^~~~~~~~~~~~~~~~~
If someone knows how to fix it, let me know! Here's is my roomservice.xml:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="LineageOS/android_device_motorola_maserati" path="device/motorola/maserati" remote="github" revision="refs/heads/cm-14.1" />
  <project name="LineageOS/android_device_motorola_spyder" path="device/motorola/spyder" remote="github" revision="refs/heads/cm-14.1" />
  <project name="LineageOS/android_device_motorola_umts_spyder" path="device/motorola/umts_spyder" remote="github" revision="refs/heads/cm-14.1" />
  <project name="LineageOS/android_device_motorola_targa" path="device/motorola/targa" remote="github" revision="refs/heads/cm-14.1" />
  <project name="Unlegacy-Android/android_kernel_ti_omap4" path="kernel/motorola/omap4-common" remote="github" revision="3.0/common" />
  <project name="LineageOS/android_device_qcom_common" path="device/qcom/common" remote="github" />
  <project name="TheMuppets/proprietary_vendor_motorola" path="vendor/motorola" remote="github" revision="refs/heads/cm-14.1" />
  <project name="Unlegacy-Android/proprietary_vendor_ti" path="vendor/ti" remote="github" revision="stable" />
  <project name="Unlegacy-Android/android_hardware_ti_omap4" path="hardware/ti/omap4" remote="github" revision="stable" />
  <project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" />
  <project name="LineageOS/android_external_jhead" path="external/jhead" remote="github" revision="refs/heads/cm-14.1" />
  <project name="LineageOS/android_device_motorola_omap4-common" path="device/motorola/omap4-common" remote="github" />
</manifest>
 

feduss

Senior Member
Jan 24, 2013
235
44
48
Cagliari
www.muscledroid.altervista.org
I have back-ported the kernel (binder, alarmtimer etc) with di help of @Tomoms . Then, i've reimplemented file-based flash and i've commented device and selinux assertion in updater-script (because they don't work on this old twrp with 8.0 rom). But there's something that i'm missing, because the rom won't boot, and it goes on AP fastboot (the new kernel works on los14.1, obv with CONFIG_ANDROID_BINDER_IPC_32BIT=y, while on los15.1 it must be on =n)

My sources: https://github.com/feduss/android_kernel_motorola_omap4-common
 

fuyunji430

New member
Apr 8, 2011
2
2
23
远在中国的我表示很喜欢这个设备,现在它运行起来很慢,不过作为第二个设备很好值得研究,但是我更敬佩你对这个设备的支持与付出。我还是偶尔会上这论坛看看的。
 
  • Like
Reactions: feduss

feduss

Senior Member
Jan 24, 2013
235
44
48
Cagliari
www.muscledroid.altervista.org