Coder Social home page Coder Social logo

android_device_xiaomi_clover's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

android_device_xiaomi_clover's Issues

fix

<xi:include href="/vendoe/etc/usb_audio_policy_configuration.xml"/>
fix
<xi:include href="/vendor/etc/usb_audio_policy_configuration.xml"/>

Successful build does not boot

I am able to build LineageOS 16.0 with these sources using the following manifest:

~$ cat .repo/local_manifests/clover.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <!--
  Xiaomi Mi Pad 4 (clover)
  -->
  <project      path="device/xiaomi/clover"             name="xiaomi-sdm660/android_device_xiaomi_clover"               remote="github"         revision="lineage-16.0" />
  <project      path="device/xiaomi/sdm660-common"      name="xiaomi-sdm660/android_device_xiaomi_sdm660-common"        remote="github"         revision="havoc" />
  <project      path="kernel/xiaomi/clover"             name="xiaomi-sdm660/android_kernel_xiaomi_clover"               remote="github"         revision="master" />
  <project      path="vendor/xiaomi/clover"             name="xiaomi-sdm660/android_vendor_xiaomi_clover"               remote="github"         revision="master" />
  <project      path="packages/resources/devicesettings" name="LineageOS/android_packages_resources_devicesettings"     remote="github"         revision="lineage-16.0" />
  <project      path="vendor/xiaomi/MiuiCamera"         name="xiaomi-sdm660/android_vendor_xiaomi_Miuicamera"           remote="github"         revision="master" />
</manifest>

I can flash the result in TWRP without errors, but following this, I end up in fastboot all the time.
When trying to boot only boot.img via fastboot, I get the following error:

~$ fastboot boot boot.img
downloading 'boot.img'...
OKAY [  2.203s]
booting...
FAILED (remote: Failed to load/authenticate boot image: 00000050)
finished. total time: 2.206s

Two weeks ago, I was able to successfully build and install LineageOS 16.0 for the Mi Pad 4 using sources from https://github.com/parfrost/android_device_xiaomi_clover. Unfortunately, the author removed the lineage-16.0 branch so I can't see what has changed. I remember that it used sdm660-common, vendor and kernel from here (https://github.com/xiaomi-sdm660).

When the boot failed, I went back to TWRP and installed the previous image (using device tree from user parfrost) again. This works fine, so I'm now with a working Mi Pad 4, but I cannot update it.

Any idea what's wrong?

Build instructions

Hi all!

I'm following up to #2 where I documented my manifest to build LineageOS 16.0 for clover.

After checking again today, I see that there are now 6 branches in https://github.com/xiaomi-sdm660/android_device_xiaomi_sdm660-common of which 4 were updated in the last 4 days.

So @coderzstas @StyloGey @tytydraco @rcstar6696 can you please point out what your branches are meant for and if they have any dependencies on specific branches in other projects (e.g. kernel)?

I would be happy if this ticket remains open for the time being or if you move this information to a wiki page where such information can be found...

Thanks in advance!

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.