Giter VIP home page Giter VIP logo

surface-duo-oss's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

surface-duo-oss's Issues

[Question] Resulting Image does not support Touchscreen

Hello

I build the kernel for a Surface Duo 2 and could flash it successfully. Unfortunately, touchscreen shows no response (mice attached over usb-c is working, also the other stuff). What am I missing?

Thanks.

Edit:

Originally I had more problems, because i built QGKI (= no HW working). Now I changed to GKI and only got touchscreen not working.

Edit 2:

Rebuilt and works now.

No 2021 branches in .build

Running repo sync on a 2021 kernel revision branch causes the following errors:

platform/prebuilts/clang/host/linux-x86fatal: couldn't find remote ref refs/heads/surfaceduo/10/2021.115.52 surface-duo-oss-kernel.build:
fatal: couldn't find remote ref refs/heads/surfaceduo/10/2021.115.52

error: Cannot checkout surface-duo-oss-kernel.build: ManifestInvalidRevisionError: revision surfaceduo/10/2021.115.52 in surface-duo-oss-kernel.build not found
error: in sync: revision surfaceduo/10/2021.115.52 in surface-duo-oss-kernel.build not found

Fatal error: 'core.h' file not found

pinctrl-wcd.c can't find core.h in it's own directory:

kernel/msm-4.14/techpack/audio/soc/pinctrl-wcd.c:26:10: fatal error: 'core.h' file not found
#include "core.h"
         ^~~~~~~~
1 error generated.
make[5]: *** [/kernel/msm-4.14/scripts/Makefile.build:368: techpack/audio/soc/pinctrl-wcd.o] Error 1
make[4]: *** [/kernel/msm-4.14/scripts/Makefile.build:682: techpack/audio/soc] Error 2
make[4]: *** Waiting for unfinished jobs....

Then causes a later error:

make[3]: *** [/kernel/msm-4.14/scripts/Makefile.build:682: techpack/audio] Error 2
make[2]: *** [/kernel/msm-4.14/Makefile:1131: techpack] Error 2
make[2]: *** Waiting for unfinished jobs....

About the recommended development board

Do you have a recommended development board?
It seems that only the source code of the kernel can be found on GitHub. Do you open-source the whole Android system?

System doesn't boot / Files are not one boot.img

After following the directions, none of the files created boot through fastboot boot <filename>. I don't want to flash as there's no recovery boot.img if the device doesn't boot, besides boot_b. Is there a step I'm missing to make a bootable kernel?

CAP_AUDIT_READ undefined in classmap.h

Error 2 occurs during build/build.sh:
home/repo/kernel/msm-4.14/scripts/selinux/genheaders/genheaders.c:18:0: home/repo/kernel/msm-4.14/security/selinux/include/classmap.h:32:2: error: #error New capability defined, please update COMMON_CAP2_PERMS.

/home/repo/kernel/msm-4.14/scripts/selinux/mdp/mdp.c:48:0: /home/repo/kernel/msm-4.14/security/selinux/include/classmap.h:32:2: error: #error New capability defined, please update COMMON_CAP2_PERMS. #error New capability defined, please update COMMON_CAP2_PERMS.

Looking into classmap.h shows that CAP_AUDIT_READ is undefined in classmap.h and its included resources: linux/socket.h and linux/capability.h

The issue does not occur after commenting out lines 31 to 33 in msm-4.14/security/selinux/include/classmap.h

[SD1] Kernel build completes successfully, but no HW support

Hello,

I am trying to build a bootable kernel for the surface duo 1 using this guide. So far the building process completes without any errors and produces an Image file, dtbo.img, some *.ko files as well as a few *.dtbo artifacts.

When flashing with Anykernel3 for example (or boot.img via mkbootimg.py), the device seems to boot, but does not have hardware support. It is stuck at "phone is starting" and restarts after a few moments. I guess drivers are missing somehow.

How can I add these pls? I had a similar experience when building for SD2 QGKI, but there it could be solved by just building the GKI version.

Thanks in advance!

Best regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.