zeelog / android_device_samsung_tuna

Samsung Galaxy Nexus (Unified) - Device Config
3 stars 1 forks source link

Future of the project #1

Open eNTi opened 5 years ago

eNTi commented 5 years ago

Hi. Any chance you can upgrade this build to 16.0 or give me some pointers as to who to do that myself?

eNTi commented 4 years ago

I'd like to build this myself by following the guide on: https://wiki.lineageos.org/devices/maguro/build

but:

repo init -u https://github.com/zeelog/android_device_samsung_tuna.git -b cm-14.1
Downloading Repo source from https://gerrit.googlesource.com/git-repo
Downloading manifest from https://github.com/zeelog/android_device_samsung_tuna.git
remote: Enumerating objects: 8755, done.        
remote: Total 8755 (delta 0), reused 0 (delta 0), pack-reused 8755        
Receiving objects: 100% (8755/8755), 4.92 MiB | 2.86 MiB/s, done.
Resolving deltas: 100% (3989/3989), done.
fatal: manifest 'default.xml' not available
fatal: manifest default.xml not found

Anyone any idea how to resolve this?

eNTi commented 4 years ago

On the off-chance that someone is reading this... I fixed the above issue by creating a .repo/local_manifests/tuna.xml:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="eNTi/android_device_samsung_tuna" path="device/samsung/tuna" remote="github" revision="cm-14.1" />
  <project name="eNTi/android_kernel_samsung_tuna" path="kernel/samsung/tuna" remote="github" revision="cm-14.1" />
  <project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" />
  <project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" depth="1" remote="github" />
  <project name="TheMuppets/proprietary_vendor_ti" path="vendor/ti" revision="master" depth="1" />
</manifest>

The reason repo init didn't work is the fact that you can't init a device tree by itself.

eNTi commented 4 years ago

There's also a new issue I'm currently looking into:

Starting build with ninja
ninja: Entering directory `.'
ninja: warning: phony target '-*-' names itself as an input; ignoring [-w phonycycle=warn]
ninja: error: '/home/nt/dev/android/lineage/out/target/product/tuna/obj/SHARED_LIBRARIES/libjhead_intermediates/export_includes', needed by '/home/nt/dev/android/lineage/out/target/product/tuna/obj/SHARED_LIBRARIES/camera.omap4_intermediates/import_includes', missing and no known rule to make it
make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1

Will post here if I can find a patched libjhead.