Halium / projectmanagement

143 stars 32 forks source link

[device-port] [sanders] Motorola Moto G5s Plus #130

Open nanu-c opened 5 years ago

nanu-c commented 5 years ago

Tree: halium-7.1

halium-boot boots with ubuntu touch photo_2019-04-10_13-22-43

Fixup mountpoints

    "sanders")
        sed -i \
            -e 's block/bootdevice/by-name/modem mmcblk0p19 '\
            -e 's block/bootdevice/by-name/dsp mmcblk0p22 '\
            -e 's block/bootdevice/by-name/fsg mmcblk0p29 '\
            -e 's block/bootdevice/by-name/persist mmcblk0p30 '\
            -e 's block/bootdevice/by-name/boot mmcblk0p37 '\
            -e 's block/bootdevice/by-name/recovery mmcblk0p38 '\
            -e 's block/bootdevice/by-name/misc mmcblk0p39 '\
            -e 's block/bootdevice/by-name/hw mmcblk0p50 '\
            -e 's block/bootdevice/by-name/cache mmcblk0p52 '\
            -e 's block/bootdevice/by-name/system mmcblk0p53 '\
            -e 's block/bootdevice/by-name/userdata mmcblk0p54 '\
          "$@"

        ;;

Progress:

root@ubuntu-phablet:~# test_sensors 
library "sensors.rp.so" not found
library "/vendor/lib/hw/sensors.rp.so" not found
Hardware module ID: sensors
Hardware module Name: MultiHal Sensor Module
Hardware module Author: Google, Inc
Hardware module API version: 0x1
Hardware HAL API version: 0x1
Poll device version: 0x1030001
API VERSION 0.1 (legacy): 0x1
API VERSION 0.1: 0x65537
API VERSION 1.0: 0x16777217
API VERSION 1.1: 0x16842753
API VERSION 1.2: 0x16908289
API VERSION 1.3: 0x16973825
API VERSION 1.4: 0x17039361
Got 41 sensors
=== Sensor 0 ==
Name: LSM6DS3 Accelerometer
Vendor: STMicroelectronics
Version: 0x1
Handle: 0x1
Type: 1
maxRange: 78
resolution: 0
power: 1 mA
minDelay: 5000

=== Sensor 1 ==
Name: LSM6DS3 Gyroscope
Vendor: STMicroelectronics
Version: 0x1
Handle: 0x2
Type: 4
maxRange: 35
resolution: 0
power: 1 mA
minDelay: 5000

=== Sensor 2 ==
Name: LSM6DS3 Gyroscope Uncalibrated
Vendor: STMicroelectronics
Version: 0x1
Handle: 0x3
Type: 16
maxRange: 35
resolution: 0
power: 1 mA
minDelay: 5000

=== Sensor 3 ==
Name: TMD2725 PROX
Vendor: AMS TAOS
Version: 0x2
Handle: 0x4
Type: 8
maxRange: 5
resolution: 5
power: 0 mA
minDelay: 0

=== Sensor 4 ==
Name: TMD2725 ALS
Vendor: AMS TAOS
Version: 0x1
Handle: 0x5
Type: 5
maxRange: 1
resolution: 0
power: 0 mA
minDelay: 0

=== Sensor 5 ==
Name: Moto Mod Current Drain
Vendor: Motorola
Version: 0x1
Handle: 0x6
Type: 65549
maxRange: 1
resolution: 1
power: 0 mA
minDelay: 0

=== Sensor 6 ==
Name: LSM6DS3 Accelerometer -Wakeup Secondary
Vendor: STMicroelectronics
Version: 0x1
Handle: 0x7
Type: 1
maxRange: 78
resolution: 0
power: 1 mA
minDelay: 5000

=== Sensor 7 ==
Name: LSM6DS3 Gyroscope -Wakeup Secondary
Vendor: STMicroelectronics
Version: 0x1
Handle: 0x8
Type: 4
maxRange: 35
resolution: 0
power: 1 mA
minDelay: 5000

=== Sensor 8 ==
Name: LSM6DS3 Gyroscope Uncalibrated -Wakeup Secondary
Vendor: STMicroelectronics
Version: 0x1
Handle: 0x9
Type: 16
maxRange: 35
resolution: 0
power: 1 mA
minDelay: 5000

=== Sensor 9 ==
Name: TMD2725 PROX -Non Wakeup Secondary
Vendor: AMS TAOS
Version: 0x2
Handle: 0xa
Type: 8
maxRange: 5
resolution: 5
power: 0 mA
minDelay: 0

=== Sensor 10 ==
Name: TMD2725 ALS -Wakeup Secondary
Vendor: AMS TAOS
Version: 0x1
Handle: 0xb
Type: 5
maxRange: 1
resolution: 0
power: 0 mA
minDelay: 0

=== Sensor 11 ==
Name: Gravity
Vendor: QTI
Version: 0x2
Handle: 0xc
Type: 9
maxRange: 78
resolution: 0
power: 2 mA
minDelay: 5000

=== Sensor 12 ==
Name: Linear Acceleration
Vendor: QTI
Version: 0x2
Handle: 0xd
Type: 10
maxRange: 78
resolution: 0
power: 2 mA
minDelay: 5000

=== Sensor 13 ==
Name: Step Detector
Vendor: QTI
Version: 0x2
Handle: 0xe
Type: 18
maxRange: 1
resolution: 1
power: 1 mA
minDelay: 0

=== Sensor 14 ==
Name: Step Counter
Vendor: QTI
Version: 0x2
Handle: 0xf
Type: 19
maxRange: 1
resolution: 1
power: 1 mA
minDelay: 0

=== Sensor 15 ==
Name: Significant Motion Detector
Vendor: QTI
Version: 0x2
Handle: 0x10
Type: 17
maxRange: 1
resolution: 1
power: 1 mA
minDelay: -1

=== Sensor 16 ==
Name: Game Rotation Vector
Vendor: QTI
Version: 0x2
Handle: 0x11
Type: 15
maxRange: 1
resolution: 0
power: 2 mA
minDelay: 5000

=== Sensor 17 ==
Name: Tilt Detector
Vendor: QTI
Version: 0x2
Handle: 0x12
Type: 22
maxRange: 1
resolution: 1
power: 1 mA
minDelay: 0

=== Sensor 18 ==
Name: Gravity -Wakeup Secondary
Vendor: QTI
Version: 0x2
Handle: 0x13
Type: 9
maxRange: 78
resolution: 0
power: 2 mA
minDelay: 5000

=== Sensor 19 ==
Name: Linear Acceleration -Wakeup Secondary
Vendor: QTI
Version: 0x2
Handle: 0x14
Type: 10
maxRange: 78
resolution: 0
power: 2 mA
minDelay: 5000

=== Sensor 20 ==
Name: Step Detector -Wakeup Secondary
Vendor: QTI
Version: 0x2
Handle: 0x15
Type: 18
maxRange: 1
resolution: 1
power: 1 mA
minDelay: 0

=== Sensor 21 ==
Name: Step Counter -Wakeup Secondary
Vendor: QTI
Version: 0x2
Handle: 0x16
Type: 19
maxRange: 1
resolution: 1
power: 1 mA
minDelay: 0

=== Sensor 22 ==
Name: Game Rotation Vector -Wakeup Secondary
Vendor: QTI
Version: 0x2
Handle: 0x17
Type: 15
maxRange: 1
resolution: 0
power: 2 mA
minDelay: 5000

=== Sensor 23 ==
Name: AMD
Vendor: QTI
Version: 0x2
Handle: 0x18
Type: 33171006
maxRange: 1
resolution: 1
power: 1 mA
minDelay: 0

=== Sensor 24 ==
Name: RMD
Vendor: QTI
Version: 0x2
Handle: 0x19
Type: 33171007
maxRange: 1
resolution: 1
power: 1 mA
minDelay: 0

=== Sensor 25 ==
Name: Basic Gestures
Vendor: QTI
Version: 0x2
Handle: 0x1a
Type: 33171000
maxRange: 7
resolution: 1
power: 1 mA
minDelay: 0

=== Sensor 26 ==
Name: Facing
Vendor: QTI
Version: 0x2
Handle: 0x1b
Type: 33171002
maxRange: 3
resolution: 1
power: 1 mA
minDelay: 0

=== Sensor 27 ==
Name: Pedometer
Vendor: QTI
Version: 0x2
Handle: 0x1c
Type: 33171009
maxRange: 1
resolution: 1
power: 1 mA
minDelay: 0

=== Sensor 28 ==
Name: Motion Accel
Vendor: QTI
Version: 0x2
Handle: 0x1d
Type: 33171011
maxRange: 1
resolution: 1
power: 1 mA
minDelay: 0

=== Sensor 29 ==
Name: Coarse Motion Classifier
Vendor: QTI
Version: 0x3
Handle: 0x1e
Type: 33171012
maxRange: 2147483648
resolution: 1
power: 1 mA
minDelay: 0

=== Sensor 30 ==
Name: Chop Chop Gesture
Vendor: Motorola
Version: 0x2
Handle: 0x1f
Type: 65546
maxRange: 65535
resolution: 1
power: 1 mA
minDelay: 0

=== Sensor 31 ==
Name: Moto Glance Gesture
Vendor: Motorola
Version: 0x2
Handle: 0x20
Type: 65548
maxRange: 1
resolution: 1
power: 0 mA
minDelay: 0

=== Sensor 32 ==
Name: Camera Gesture
Vendor: Motorola
Version: 0x2
Handle: 0x21
Type: 65540
maxRange: 65535
resolution: 1
power: 1 mA
minDelay: 0

=== Sensor 33 ==
Name: Stowed
Vendor: Motorola
Version: 0x2
Handle: 0x22
Type: 65539
maxRange: 1
resolution: 1
power: 0 mA
minDelay: 0

=== Sensor 34 ==
Name: Display Rotate
Vendor: Motorola
Version: 0x2
Handle: 0x23
Type: 27
maxRange: 65535
resolution: 1
power: 0 mA
minDelay: 0

=== Sensor 35 ==
Name: Flatup
Vendor: Motorola
Version: 0x2
Handle: 0x24
Type: 65537
maxRange: 65535
resolution: 1
power: 0 mA
minDelay: 0

=== Sensor 36 ==
Name: Flatdown
Vendor: Motorola
Version: 0x2
Handle: 0x25
Type: 65538
maxRange: 65535
resolution: 1
power: 0 mA
minDelay: 0

=== Sensor 37 ==
Name: LTS Gesture
Vendor: Motorola
Version: 0x1
Handle: 0x26
Type: 65553
maxRange: 65535
resolution: 1
power: 0 mA
minDelay: 0

=== Sensor 38 ==
Name: FTM Gesture
Vendor: Motorola
Version: 0x2
Handle: 0x27
Type: 65554
maxRange: 65535
resolution: 1
power: 0 mA
minDelay: 0

=== Sensor 39 ==
Name: Moto Glance Gesture:Approach
Vendor: Motorola
Version: 0x2
Handle: 0x28
Type: 65555
maxRange: 1
resolution: 1
power: 0 mA
minDelay: 0

=== Sensor 40 ==
Name: Rear Proximity sensor
Vendor: liteon
Version: 0x1
Handle: 0x29
Type: 8
maxRange: 5
resolution: 5
power: 3 mA
minDelay: 0
JAIMINHO1337 commented 4 years ago

is this usable? can i test for you? do you need help?

Rajssss commented 4 years ago

is this usable? can i test for you? do you need help?

Wait for few more weeks..... Will let you know, there are many others who also want to test/help. Actually @nanu-c is no more interested in it, but I was working on it from where he left. Due to situations created by COVID, I can't proceed at the moment.

JAIMINHO1337 commented 4 years ago

ok, thanks.

jay739 commented 4 years ago

Even I'm ready to test it. Hope you complete it soon. I was thinking to start process right from the start. But thank god, someone already completed and is in midway. Eagerly waiting to test and All the best!

lpamoroso commented 4 years ago

Is it available to test now?

Rajssss commented 4 years ago

Is it available to test now?

Nope. Sorry...

ccten1 commented 3 years ago

Is it available to test now?

jash-maester commented 3 years ago

What modifications to the kernel did you had to make?

nanu-c commented 3 years ago

@jash-maester see here https://github.com/nanu-c/android_kernel_motorola_msm8953/commits/halium-7.1 and here https://github.com/nanu-c/android_device_motorola_sanders

jash-maester commented 3 years ago

Thanks, Will Look into them.

rudraksh-byte commented 3 years ago

Can I test now?

BigFatWario123 commented 2 years ago

Are you still working on this?

WetGato commented 1 year ago

is this ready to use?