[INFO] K88 (hw version: u91B) android sensors HAL source - ZTE Trek 2 Guides, News, & Discussion

https://github.com/STMicroelectronics/STMems_Android_Sensor_HAL_Input
https://github.com/STMicroelectronics/STMems_Android_Sensor_HAL_IIO
https://www.st.com/content/st_com/en/products/mems-and-sensors/accelerometers/lis3dh.html

@tdm what do you think about this

Related

[ROM][X00TD][8.1.0] LineageOS 15.1 [UNOFFICIAL][20190105]

The only difference between this rom and the official LineageOS build is working NFC. Tested on X00TDB ZB602KL (global model).
Compiled from the official LineageOS source.
If you do not require NFC, use the official LineageOS build.
If people are interested, I can keep this rom up to date from the official LineageOS upstream, please let me know.
Instructions:
Download the latest build and (optional) GApps
Reboot to recovery
Flash the latest build and (optional) GApps
Reboot
Download: Build link (Gdrive)
Gapps
XDA:DevDB Information
[ROM][X00TD] LineageOS 15.1 [OFFICIAL], ROM for the Asus ZenFone Max Pro M1
Kernel Source
Source Code: https://github.com/lineageos
XDA:DevDB Information
LineageOS 15.1 NFC, ROM for the Asus ZenFone Max Pro M1
Contributors
Vico100
Source Code: https://github.com/lineageos
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x
ROM Firmware Required: Latest firmware + Unlocked bootloader + TWRP
Based On: LineageOS
Version Information
Status: Stable
Current Stable Version: 15.1
Stable Release Date: 2019-01-05
Created 2018-10-07
Last Updated 2019-01-05
Hi, nice work there!
By the way, can I get output of getprop from stock?
Make sure to censor your IMEI and Serial Number before uploading. Thanks.
What's it for?
getprop attached.
Vico100 said:
What's it for?
getprop attached.
Click to expand...
Click to collapse
I ask for the output from stock firmware. I need it so I can improve my init lib on overriding certain stuffs based on memory, region, etc.
Sent from my ASUS_X00TD using XDA Labs
1.dt2w
2.after few min watching doc or third party video player without any action automatically stuck auto-rotate
krasCGQ said:
I ask for the output from stock firmware. I need it so I can improve my init lib on overriding certain stuffs based on memory, region, etc.
Click to expand...
Click to collapse
Okay. Attached from Asus stock firmware.
@Vico100
Can you please post your NFC-enabled device tree on github so people can make their own custom builds with working NFC? Looks like it is not going to happen to the official build.
Code:
project device/asus/X00TD/
diff --git a/BoardConfig.mk b/BoardConfig.mk
index eb880b0..680cf0a 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -207,7 +207,7 @@ TARGET_USES_MEDIA_EXTENSIONS := true
BOARD_NFC_CHIPSET := pn553
BOARD_NFC_HAL_SUFFIX := $(TARGET_BOARD_PLATFORM)
NXP_CHIP_TYPE := 4
-TARGET_USES_NQ_NFC := true
+TARGET_USES_NQ_NFC := false
# Partitions
BOARD_FLASH_BLOCK_SIZE := 262144
diff --git a/device.mk b/device.mk
index d07a2db..ece6579 100644
--- a/device.mk
+++ b/device.mk
@@ -272,11 +272,6 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/qti_whitelist.xml:system/etc/sysconfig/qti_whitelist.xml
-# Manifest replacement for non NFC variant
-PRODUCT_COPY_FILES += \
- $(LOCAL_PATH)/manifest_no_nfc.xml:$(TARGET_COPY_OUT_VENDOR)/manifest_no_nfc.xml \
- $(LOCAL_PATH)/rootdir/bin/device_check.sh:install/bin/device_check.sh
-
# Media
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
@@ -315,13 +310,10 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \
[email protected] \
+ [email protected] \
com.android.nfc_extras \
- com.nxp.nfc.nq \
- com.nxp.nfc.nq.xml \
- libnqnfc-nci \
- libnqp61-jcop-kit \
- nfc_nci.nqx.default \
- NQNfcNci \
+ nfc_nci.sdm660 \
+ NfcNci \
Tag \
[email protected] \
[email protected]
diff --git a/releasetools.py b/releasetools.py
index 01f04ac..4f2d397 100644
--- a/releasetools.py
+++ b/releasetools.py
@@ -38,6 +38,5 @@ def AddTrustZoneAssertion(info, input_zip):
def FullOTA_InstallEnd(info):
info.script.Mount("/system");
info.script.Mount("/vendor");
- info.script.AppendExtra('run_program("/sbin/sh", "/tmp/install/bin/device_check.sh");');
info.script.Unmount("/system");
info.script.Unmount("/vendor");
@Vico100
Thank you!
sim cards won't disable
Same issue as here

Is there anything I can do??

Hey so I'm fairly new to the development game and so far I've had success with most of the things I've found interest in. But I am having trouble with what I would like to accomplish most. I would really like to root my Galaxy note 8. It's my daily driver and I'd kill for root access. The issue that I'm running into is the only root method for my Verizon Galaxy note 8 is SamFails root method but it's only good for bootloader versions 1-3. My bootloader version is currently sitting at v5 from what I understand. Here's my phone's specs.
System
OS
Version: Oreo 8.0.0
Security patch: 01 February 2019
Build number: R16NW
Tags: release-keys
Bootloader: N950USQS5CSA1
SDK: 26
Font scale: Normal
Time zone: Central Standard Time
Uptime: 01:37:49
Uptime (w/o Deep Sleep): 01:36:59
Radio: N950USQS5CSA1
Miscellaneous
Virtual machine: ART 2.1.0
Version Java Runtime: Android Runtime 0.9
Heap size: 256 MB
SELinux: Permissive
Root: Unavailable
BusyBox: Unavailable
Version ICU: 9.0
Library ICU: 58.2
ICU CLDR: 30.0.3
Version ZLib: null
Version OpenSSL: OpenSSL 1.0.2 (compatible; BoringSSL)
Google Play Services: 15.0.90 (040400-231259764)
Kernel: 4.4.78-14375742
Fingerprint: samsung/greatqltesq/greatqlte:8.0.0/R16NW/N950USQS5CSA1:user/release-keys
Device
Model: SM-N950U
Codename: greatqlte
Manufacturer: samsung
Fingerprint scanner: Present
Display
Type: N/A
Resolution: 2220 x 1080
Frame rate: 60.000004 Hz
Density: 420 dp
Format: N/A
sRGB: Not supported
HDR: Not supported
HDR
Type: HDR10
Average luminance: 200.0
Maximum luminance: 540.0
Minimum luminance: 0.2
Identifiers
Processor
CPU
Model: Qualcomm MSM8998
Name: Snapdragon 835
Architecture: Kyro 280
DSP: Hexagon 682
Process: 10 nm
Cores: 8
Supported ABI: armeabi-v7a armeabi arm64-v8a
Governor: interactive
Frequency range: 300 MHz - 1900 MHz
Usage: 100 %
Based off that info is there anything that I can do to possibly change the bootloader version to 1-3? Please I've done what research I could do with the knowledge that I've obtained thus far and I'm stuck.
So by research did you look through the various threads here regarding rooting?
Kidd kuddi said:
Hey so I'm fairly new to the development game and so far I've had success with most of the things I've found interest in. But I am having trouble with what I would like to accomplish most. I would really like to root my Galaxy note 8. It's my daily driver and I'd kill for root access. The issue that I'm running into is the only root method for my Verizon Galaxy note 8 is SamFails root method but it's only good for bootloader versions 1-3. My bootloader version is currently sitting at v5 from what I understand. Here's my phone's specs.
System
OS
Version: Oreo 8.0.0
Security patch: 01 February 2019
Build number: R16NW
Tags: release-keys
Bootloader: N950USQS5CSA1
SDK: 26
Font scale: Normal
Time zone: Central Standard Time
Uptime: 01:37:49
Uptime (w/o Deep Sleep): 01:36:59
Radio: N950USQS5CSA1
Miscellaneous
Virtual machine: ART 2.1.0
Version Java Runtime: Android Runtime 0.9
Heap size: 256 MB
SELinux: Permissive
Root: Unavailable
BusyBox: Unavailable
Version ICU: 9.0
Library ICU: 58.2
ICU CLDR: 30.0.3
Version ZLib: null
Version OpenSSL: OpenSSL 1.0.2 (compatible; BoringSSL)
Google Play Services: 15.0.90 (040400-231259764)
Kernel: 4.4.78-14375742
Fingerprint: samsung/greatqltesq/greatqlte:8.0.0/R16NW/N950USQS5CSA1:user/release-keys
Device
Model: SM-N950U
Codename: greatqlte
Manufacturer: samsung
Fingerprint scanner: Present
Display
Type: N/A
Resolution: 2220 x 1080
Frame rate: 60.000004 Hz
Density: 420 dp
Format: N/A
sRGB: Not supported
HDR: Not supported
HDR
Type: HDR10
Average luminance: 200.0
Maximum luminance: 540.0
Minimum luminance: 0.2
Identifiers
Processor
CPU
Model: Qualcomm MSM8998
Name: Snapdragon 835
Architecture: Kyro 280
DSP: Hexagon 682
Process: 10 nm
Cores: 8
Supported ABI: armeabi-v7a armeabi arm64-v8a
Governor: interactive
Frequency range: 300 MHz - 1900 MHz
Usage: 100 %
Based off that info is there anything that I can do to possibly change the bootloader version to 1-3? Please I've done what research I could do with the knowledge that I've obtained thus far and I'm stuck.
Click to expand...
Click to collapse
You're on bootloader version 5 and there's nothing you can do because there's no possibility of downgrading your bootloader version back to 1 - 3 and there's no root available at this point in time.

Nokia 7.1 Source Code And Device Tree

Device tree: https://github.com/jack60612/Nokia-7.1-device-tree/releases/tag/1.0
Source Code: https://www.nokia.com/phones/en_int/opensource/

[ROM][OFFICIAL] LineageOS 17.1 for Xiaomi Mi Note 2 - scorpio

LineageOS is a free, community built, aftermarket firmware distribution of Android 10, which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.
GPL compliance:
Device tree source code: LineageOS/android_device_xiaomi_scorpio
Kernel source code: LineageOS/android_device_xiaomi_msm8996-common
Broken / not yet supported:
Tell Me
Downloads:
LineageOS Downloads
Notice:
No custom kernels are supported in this thread. Only stock kernel and official builds will be supported. No bug reports if that's not the case.
Installation:
Reboot to recovery (TWRP recovery for Mi Note 2 - Direct link)
Format /system, /data and /cache
Install LineageOS zip package
Install [optional] the LineageOS su addon to get root (there are obviously other root methods, but this is the recommended one as it survives to OTA updates)
Install [optional] a Google Apps package of your choice (Open GApps is advisable, but stock and super variants are not recommended!!!)
Credits & collaborations:
joe2k01
.
Finally, all LineageOS team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!
Device wiki:
Official wiki link
Contributors
joe2k01
ROM OS Version: 10.x
ROM Kernel: Linux 3.x
ROM Firmware Required: MIUI 8.8.30 Beta
Version Information
Status: Stable
Created 2021-01-19
Last Updated 2021-02-09
I installed lineage 18.1. But no Volte support. Any way to enable it?
There's a bug when opening Settings > System > Buttons. Here's the logcat I found:
Code:
HidlServiceManagement: Waited one second for [email protected]::IKeySwapper/default
hwservicemanager: Since [email protected]::IKeySwapper/default is not registered, trying to start it as a lazy HAL.
HidlServiceManagement: getService: Trying again for [email protected]::IKeySwapper/default...
libc : Unable to set property "ctl.interface_start" to "[email protected]::IKeySwapper/default": error code: 0x20
chatty : uid=0(root) logd identical 10 lines
init : Control message: Could not find '[email protected]::IKeySwapper/default' for ctl.interface_start from pid: 451 (/system/bin/hwservicemanager)
logd : logdr: UID=2000 GID=2000 PID=7072 n tail=0 logMask=99 pid=0 start=0ns timeout=0ns
cc: @fernandodtg @joe2k01
ChessPiece said:
There's a bug when opening Settings > System > Buttons. Here's the logcat I found:
Code:
HidlServiceManagement: Waited one second for [email protected]::IKeySwapper/default
hwservicemanager: Since [email protected]::IKeySwapper/default is not registered, trying to start it as a lazy HAL.
HidlServiceManagement: getService: Trying again for [email protected]::IKeySwapper/default...
libc : Unable to set property "ctl.interface_start" to "[email protected]::IKeySwapper/default": error code: 0x20
chatty : uid=0(root) logd identical 10 lines
init : Control message: Could not find '[email protected]::IKeySwapper/default' for ctl.interface_start from pid: 451 (/system/bin/hwservicemanager)
logd : logdr: UID=2000 GID=2000 PID=7072 n tail=0 logMask=99 pid=0 start=0ns timeout=0ns
cc: @fernandodtg @joe2k01
Click to expand...
Click to collapse
Just flash this vendor in TWRP (install - install image - vendor partition). One of the 4pda's user had corrected buttons settings + google camera fix.
vendor_fix.img
drive.google.com
The
ChessPiece said:
There's a bug when opening Settings > System > Buttons. Here's the logcat I found:
Code:
HidlServiceManagement: Waited one second for [email protected]::IKeySwapper/default
hwservicemanager: Since [email protected]::IKeySwapper/default is not registered, trying to start it as a lazy HAL.
HidlServiceManagement: getService: Trying again for [email protected]::IKeySwapper/default...
libc : Unable to set property "ctl.interface_start" to "[email protected]::IKeySwapper/default": error code: 0x20
chatty : uid=0(root) logd identical 10 lines
init : Control message: Could not find '[email protected]::IKeySwapper/default' for ctl.interface_start from pid: 451 (/system/bin/hwservicemanager)
logd : logdr: UID=2000 GID=2000 PID=7072 n tail=0 logMask=99 pid=0 start=0ns timeout=0ns
cc: @fernandodtg @joe2k01
Click to expand...
Click to collapse
This bug has been fixed in the official build.
Thanks @Wiwern and @LuK1337
Wow, updated my old phone. Love it
Can someone post the build pls, the link of the OP doesn't have any file for the Mi Note 2.
thanks
I took this guide and built a fresh LOS 18.1 for scorpio
Build for scorpio | LineageOS Wiki
wiki.lineageos.org
It was not easy (2 hrs on my i7 12700/64Gb/970Evo+) but succesuful....
Everyone can take it here (or make their own build)
lineage-18.1-20230327-UNOFFICIAL-scorpio.zip
drive.google.com
The only hint is to edit roomservice.py, make it first line #!/usr/bin/env python3 and you can extract proprietary blobs for scorpio.

Help needed in updating

Piles heup me update Android 11
Fur hp Huawei y9 prem piess heup me tolong sya update ka sistem hp sya ni
System
--------------------------------------------------------
Android Version : 10
Version Name : Q
Released Date : September 04, 2019
Code Name : Android 10
API Level : 29
Security Patch Level : 2020-08-01
Bootloader : unknown
Build Number : STK-L22 10.0.0.270(C636E4R6P1)
Baseband : 21C20B388S000C000,21C20B388S000C000
Java VM : 2.1.0
Kernel : 4.14.116
Language : Melayu (ms_MY)
OpenGL ES : 3.2
Root Management Apps : No Apps Detected
SELinux : Unable to determine
Google Play Services : 22.26.15 (100408-461192076)
Vulkan : Supported (1.1)
Treble : Supported
Seamless Updates : Not Supported
Huawei y9 prem said:
Piles heup me update Android 11
Fur hp Huawei y9 prem piess heup me tolong sya update ka sistem hp sya ni
System
--------------------------------------------------------
Android Version : 10
Version Name : Q
Released Date : September 04, 2019
Code Name : Android 10
API Level : 29
Security Patch Level : 2020-08-01
Bootloader : unknown
Build Number : STK-L22 10.0.0.270(C636E4R6P1)
Baseband : 21C20B388S000C000,21C20B388S000C000
Java VM : 2.1.0
Kernel : 4.14.116
Language : Melayu (ms_MY)
OpenGL ES : 3.2
Root Management Apps : No Apps Detected
SELinux : Unable to determine
Google Play Services : 22.26.15 (100408-461192076)
Vulkan : Supported (1.1)
Treble : Supported
Seamless Updates : Not Supported
Click to expand...
Click to collapse
Not an MTCx device. Search forums and contact reseller of device
Huawei y9 prem said:
Piles heup me update Android 11
Fur hp Huawei y9 prem piess heup me tolong sya update ka sistem hp sya ni
System
--------------------------------------------------------
Android Version : 10
Version Name : Q
Released Date : September 04, 2019
Code Name : Android 10
API Level : 29
Security Patch Level : 2020-08-01
Bootloader : unknown
Build Number : STK-L22 10.0.0.270(C636E4R6P1)
Baseband : 21C20B388S000C000,21C20B388S000C000
Java VM : 2.1.0
Kernel : 4.14.116
Language : Melayu (ms_MY)
OpenGL ES : 3.2
Root Management Apps : No Apps Detected
SELinux : Unable to determine
Google Play Services : 22.26.15 (100408-461192076)
Vulkan : Supported (1.1)
Treble : Supported
Seamless Updates : Not Supported
Click to expand...
Click to collapse
Additional to that: English please!
Huawei y9 prem said:
Piles heup me update Android 11
Fur hp Huawei y9 prem piess heup me tolong sya update ka sistem hp sya ni
System
--------------------------------------------------------
Android Version : 10
Version Name : Q
Released Date : September 04, 2019
Code Name : Android 10
API Level : 29
Security Patch Level : 2020-08-01
Bootloader : unknown
Build Number : STK-L22 10.0.0.270(C636E4R6P1)
Baseband : 21C20B388S000C000,21C20B388S000C000
Java VM : 2.1.0
Kernel : 4.14.116
Language : Melayu (ms_MY)
OpenGL ES : 3.2
Root Management Apps : No Apps Detected
SELinux : Unable to determine
Google Play Services : 22.26.15 (100408-461192076)
Vulkan : Supported (1.1)
Treble : Supported
Seamless Updates : Not Supported
Click to expand...
Click to collapse
hmmm.... Are you just kidding?
What you posted here is just a phone, not any sort of Android car stereo.
Your text is even not readable.
The attached device info shows clearly that we are talking about a phone. Tell the mods where you want to get moved to. As it is no radio, nothing to analyze here.

Categories

Resources