Lineages os 17 vendor xiaomi capricorn - LineageOS Questions & Answers

Hello i can't find any vendor files to build los 17 for my mi5s, but i have seen mi9 build so someone have a vendor file for xiaomi where can i find them because on github all recent one are ban.

Try Gitlab's The-Muppets repo

Related

[Rom]Lineageos 18.1 with microG for OnePlus 5 & 5T

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is my daily driver that I have decided to share. With the increase of big tech and government overreach in our lives, I felt more of a desire to move away from Google and the like. OnePlus 5 & 5T was built with microG and LineageOS source and is fully functional.
What is this?
This is LineageOS with all closed-source binary Google blobs removed and replaced with microG. I.E no Play services or GAPPS. UnifiedNLP is used as networking location provider vice Google's NLP. F-Droid is installed by default providing alternative app store. However, with Aurora store you can still install Google Play store apps with ease (requires additional installations).
It is strongly recommended not to install GApps as this ROM contains a replacement for them.
Known issues
You tell me!
Installation with lineage recovery:
here for cheeseburger
here for dumpling
Installation with twrp
Clean flash
- Backup your data (recommended)
- Remove custom encryption pins/passwords (recommended)
- Reboot to TWRP
- Wipe system / data / cache / vendor (do not format data - this will erase the internal memory)
- Flash firmware (if needed), build (also no-verity if you want to run decrypted)
- Flash Magisk for root (if needed) - Restart
Dirty flash (Update)
- Backup your data (recommended)
- Reboot to TWRP - Flash new firmware (if needed) and update the build (followed by no-verity if you were decrypted earlier)
- Restart"
Dirty Flash (OTA)
Updates can be downloaded and installed on your phone via lineageos_updates.
See under settings/system/advanced.
If it is not possible to install the update automatically, or if you want to install it manually, please follow these steps,
select install in twrp/ parent folder/data/lineageos_updates.
selects the Rom and installs it and anything else you want to install, then restart.
Other information
Google Play Store Alternative If you want full access to normal android Play Store apps do the following: Open F-Droid app. Search for Aurora Store and install. Once opened select the appropriate option, generally option #1 will be the most common used with this ROM as long as it has not been modified by the user. Once setup you will have access to all applications as normal. Some apps require Play Services and cannot be used, This requires Magisk, which is not provided in our base rom. Once you have reached Magisk, you need to read and install NanoDroid, which can be found here XDA | Download website .
instructions for the nanodroid with PlayStore
Troubleshooting
instructions for push
Push Notification Test
Do not publish bug reports without specifying logs (logcats) or steps to reproduce the bug.
Download OTA
Oneplus 5 (cheeseburger)
Oneplus 5T (dumpling)
others downloads
TWRP https://dl.twrp.me/cheeseburger_dumpling/
Root: Magisk v21.x or Magisk Beta v21.x
No VerityNo Verity
Support for german users
Dashboard - Los-Legacy
Deine Android Community
forum.los-legacy.de
Telegram Group
t.me/losoneplus5
All credit goes to LineageOS team
Contributors
Exodusnick
Source Code Rom: https://github.com/LineageOS
Device tree: device_oneplus_cheeseburger
Device tree: device_oneplus_dumpling
Device tree: oneplus_msm8998-common
Kernel: kernel_oneplus_msm8998
Source Link microG:
https://github.com/lineageos4microg
ROM OS Version: Android 11
ROM Kernel: Linux 4.x
Based On: LineageOS
Version Information
Status: Stable
Created 2021-04-10
Last Updated 2023-03-24
Everyone is responsible for his own actions. Neither the operator of the site, nor I take responsibility for any damage to your device caused by any flash attempts.
instructions for the nanodroid playstore
Troubleshooting and Push Notification Test
thanks for creating my guide @daywalk3r666
Hi,
Do you use this docker image to build: https://github.com/lineageos4microg/docker-lineage-cicd ?
If so could you post your run command?
I had problem with building 17.1 so asking…
for 17.1 microg
docker-lineage-cicd-17.1
but i continue to give support for microg 17.1
[Rom]Lineageos 17.1 with microG for OnePlus 5 & 5T
This is my daily driver that I have decided to share. With the increase of big tech and government overreach in our lives, I felt more of a desire to move away from Google and the like. OnePlus 5 & 5T was built with lineagos and microG/LineageOS...
forum.xda-developers.com
New build available via ota or see download link.
Changelog
- Synced with LOS source
- Merged April 2021 Security update
- Merged Device tree
Changelog microG
GmsCore: don't overwrite LOCAL_REQUIRED_MODULES
GmsCore: Update to 0.2.18.204714 Preview releases
GmsCore: disable battery optimizations for microG
FDroid: update to 1.11
Download Rom
OnePlus 5T(dumpling)
lineage-18.1-20210422-microG-signed-dumpling.zip
OnePlus 5(cheeseburger)
lineage-18.1-20210422-microG-signed-cheeseburger.zip
Exodusnick said:
New build available via ota or see download link.
Changelog
- Synced with LOS source
- Merged April 2021 Security update
- Merged Device tree
Changelog microG
GmsCore: don't overwrite LOCAL_REQUIRED_MODULES
GmsCore: Update to 0.2.18.204714 Preview releases
GmsCore: disable battery optimizations for microG
FDroid: update to 1.11
Download Rom
OnePlus 5T(dumpling)
lineage-18.1-20210422-microG-signed-dumpling.zip
OnePlus 5(cheeseburger)
lineage-18.1-20210422-microG-signed-cheeseburger.zip
Click to expand...
Click to collapse
thx for the update..working like a charm
@tokariew
Command back I built a 17.1 microG build with lineageos4microg/docker-lineage-cicd on 04/22/2021 and there were no issues.
What kind of error message do you get in the log?
@Exodusnick my issue seems to be with using podman instead of docker for running container image. Not so sure why I have problem with dumpling on podman with 17.1 and later
New build available for 18.1 microG via ota or see download link.
Changelog
- Synced with LOS source
- Merged Mai 2021 Security update
- Merged Device tree
Changelog from my
Fixed - permission manager
Lineageos 18.1 microg Permission Manager Does not work · Issue #176 · lineageos4microg/docker-lineage-cicd
I build via docker.sh lineageos 18.1 for Samsung S7 flat and Samsung S7 edge with the sources of lineageos. docker run -e "BRANCH_NAME=lineage-18.1" -e "DEVICE_LIST=herolte,hero2lte" -e "SIGN_BUILD...
github.com
the build has full singnatue spoofing ,
not like the previous builds only restricted.
" SIGNATURE_SPOOFING=restricted "
will be reset when the pull pull request is completed.
Don't patch PermissionController for restricted signature spoofing by bananer · Pull Request #178 · lineageos4microg/docker-lineage-cicd
Fixes #176 Also added --force to the restricted patching command to make it non-interactive.
github.com
-e "SIGNATURE_SPOOFING=yes"
WARNING: The default signature spoofing patch is a security threat.
i have to tell you because i got the message.
in the previous builds it was set like this
-e "SIGNATURE_SPOOFING=restricted"
is restricted and has no full access
is applied to the official microG.
OnePlus 5T(dumpling)
lineage-18.1-20210508-microG-signed-dumpling.zip
OnePlus 5(cheeseburger)
lineage-18.1-20210508-microG-signed-cheeseburger.zip
and on github you can also follow everything what it is about exactly .
Lineageos 18.1 microg Permission Manager Does not work · Issue #176 · lineageos4microg/docker-lineage-cicd
I build via docker.sh lineageos 18.1 for Samsung S7 flat and Samsung S7 edge with the sources of lineageos. docker run -e "BRANCH_NAME=lineage-18.1" -e "DEVICE_LIST=herolte,hero2lte" -e "SIGN_BUILD...
github.com
or see
Telegram Group
t.me/losoneplus5
New build available for 18.1 microG via ota or see download link.
Changelog
- Synced with LOS source
- Merged Device tree
download link for OnePlus 5T(dumpling)
lineage-18.1-20210525-microG-signed-dumpling.zip
download link for OnePlus 5(cheeseburger)
lineage-18.1-20210525-microG-signed-cheeseburger.zip
Added to the OnePlus 5 Index Thread here.
New build available for 18.1 microG via ota or see download link.
Changelog
- Synced with LOS source
- Merged Device tree
download link for OnePlus 5T(dumpling)
lineage-18.1-20210601-microG-signed-dumpling.zip
download link for OnePlus 5(cheeseburger)
lineage-18.1-20210601-microG-signed-cheeseburger.zip
New build available via ota or see download link.
Changelog
- Synced with LOS source
- Merged june 2021 Security update
- Merged Device tree sehe Seite 1-3
- Merged Device tree sehe seite 1-2
Changelog microG
- GmsCore: Update to 0.2.19
Download Rom
OnePlus 5T(dumpling)
lineage-18.1-20210615-microG-signed-dumpling.zip
OnePlus 5(cheeseburger)
lineage-18.1-20210615-microG-signed-cheeseburger.zip
Thanks for the great work, no major problem to report after about 2 weeks!
Although that's my first time with microG thus I did struggle a bit to configure location services properly for example, but now everything works like a charm! (I also added a magisk module to control custom battery charging, I was hoping it was included in LineageOS)
Any update planned soon? It's been almost a month since last one, I hope development is still active
EDIT : Except microG services & signing, are there major differences with https://forum.xda-developers.com/t/11-0-official-lineageos-18-1-for-oneplus-5-5t.4173997/ ? Wouldn't it be possible to adapt builds from one to another?
No there is not much difference as I am using the same sources as the standard lineageos rom. New update is already running will be released later today.
I'm just waiting for Cheeseburger to finish with the building.
New update available for lineageos 18.1 microG via ota or see download link.
Changelog
- Synced with LOS source
- Merged Juli 2021 Security update
- Update System Webview to Bromite System Webview 91.0.4472.158
Changelog microG
- GmsCore: Update to 0.2.21
Download Rom
OnePlus 5T(dumpling)
lineage-18.1-20210713-microG-signed-dumpling.zip
OnePlus 5(cheeseburger)
lineage-18.1-20210713-microG-signed-cheeseburger.zip
INFO
lineagos recovery.img you can use, you do not have to can decide for yourself which recovery you want to use,
and the zip.prop is just a build info.
Exodusnick said:
New update available for lineageos 18.1 microG via ota or see download link.
Changelog
- Synced with LOS source
- Merged Juli 2021 Security update
- Update System Webview to Bromite System Webview 91.0.4472.158
Changelog microG
- GmsCore: Update to 0.2.21
Download Rom
OnePlus 5T(dumpling)
lineage-18.1-20210713-microG-signed-dumpling.zip
OnePlus 5(cheeseburger)
lineage-18.1-20210713-microG-signed-cheeseburger.zip
INFO
lineagos recovery.img you can use, you do not have to can decide for yourself which recovery you want to use,
and the zip.prop is just a build info.
Click to expand...
Click to collapse
Is it normal it says "No new updates found" in the system updater? Should I update flashing the zip manually?
something is wrong with the lineage updater
then you have to install it manually
ok something with the ota server what is wrong
am now times to the build of 01.06.2021 gone back and there is me also only the last update of 15.06.2021 indicated
I have found the error and that is by type microG (G) is large that must be small

General Device and vendor tree

I've copied a device tree from apollo (Mi 10T) with minor changes. I've also built a vendor tree from the latest MIUI 12 Firmware release
Please feel free to contribute as I've never done this stuff before

lineage os kernel compile

Hi I have problem with compiling lineage os for redmi note 8. Lineage os 18.1 repo
tree: https://github.com/ginkgo-dev/android_device_xiaomi_ginkgo
vendor: https://github.com/ginkgo-dev/android_vendor_xiaomi_ginkgo
kernel: https://github.com/ginkgo-dev/android_kernel_xiaomi_ginkgo

[Treble]vndk30(11) and vndk32(12L) treble vendor for galaxy s7 herolte

https://gitlab.com/hackintosh5/TrebleInfo
Credits​
https://github.com/8890q/ for LineageOS 19.1/18.1 device tree, kernel, hardware support, blobs
https://forum.xda-developers.com/t/treble-aosp-g930x-g935x-project_pizza-trebleport-v2-0.3956076/ for libsensor blobs
https://github.com/osm0sis/ for anykernel, used for the twrp patching zip
Special thanks​https://github.com/ExpressLuke for hero2lte testing
https://github.com/00p513-dev for suggesting using squashfs for vendor partition, making it possible to skip partition table modding
https://github.com/phhusson for looking into the double tap to wake issues with phh GSI
https://github.com/ivanmeler for prompting me to look into lpm again, now it is migrated into /vendor
Notes:​
I do not own a hero2lte(edge)
I'll mostly work on this only during weekends/holidays
and on that note the hero2lte build is not tested by myself
for vndk30 based vendor (LineageOS 18.1), use with android 11 and up GSIs
for vndk32 based vendor (LineageOS 19.1), use with android 12L and up GSIs
2022-06-12 the CACHE partition is now used as vendor, the HIDDEN patition is now used as cache, no more partition table mods required
Updates:​
2023-02-23
added store_mode.zip flashable that uses "/sys/class/power_supply/battery/store_mode" and "/sys/module/sec_battery/parameters/store_mode_max" interfaces for limiting battery charging
flash to limit battery charging to 70%, flash again to disable charging limit​​after flashing, charging limit can be adjusted at "/system/etc/init/8890_store_mode.rc" by changing "70" on the line "service enable_store_mode /system/bin/8890_store_mode 1 70" to other percentage values​
2023-02-15
include libaptX_encoder.so in patchers
adding patches to support phh android 13 GSIs:
includes lineage lmkd, LineageOS/[email protected] seems required for lmkd to work on this kernel​​fix bluetooth audio by disabling sysbta (generic in-system bluetooth audio implementation), see phhusson/treble_experimentations#2519​​disable full disk encryption and quota when booting android 13, 8890q/[email protected] 8890q/[email protected] ; FDE still works when using android 12 GSIs​​disable healthd offline charging service, conflicts with lpm​
2022-10-04
update gps blobs from https://github.com/8890q/proprietary_vendor_samsung/commit/698ddd9acd7bdca78ecea93e06fd78a0d9dbc407
2022-09-05
adding keystore fixes to a12_patcher.zip:
https://github.com/LineageOS/android_system_security/commit/356c125115c0a9b9f9670b5b86b6e291c5ec5404
https://github.com/8890q/patches/commit/9a322b4e71ca784d4a2f71494d1ef0e52f835efe
which fixes keystore apps and device encryption on Google 12L GSI, might also fix some keystore apps issues on phh GSI
2022-07-10
moved lpm to vendor partition
2022-06-26
rebased vndk32 on 2022-06-24 build from ivan
new smaller vendor flasher, flashes only boot and vendor
2022-06-24
lpm_installer.zip should work with Phh and Andy Yan GSIs better now
2022-06-18
vndk30 prop changes, might help booting exotic GSIs
2022-06-13
android 12 data usage meter now works with a12_patcher.zip
2022-06-12
fixed neural network api hal
fixed fingerprint sensor
switched vendor image to squashfs, no CreateVendor required anymore with it's small size
new twrp patcher zip, should no longer cause "twrp is stuck after flashing CreateVendor"
bigger GSIs should fit better now with the original ~4.5GB SYSTEM partition; device native roms can be used without RevertVendor
2022-05-31
fixed wifi tethering
vndk32: rebased on 2022-05-26 12L build from ivan
phh_wifitethering_patcher.zip for wifi hotspot on phh GSIs
2022-05-26
added vndk32 based release
lpm_installer.zip for offline charging
fixed keystore errors on android 12 GSIs, lock screens work now
2022-02-15
rebased on February build from 8890q
January android updates
2021-12-16
install libaudioroute into /vendor/lib
December android updates
2021-12-10
move properties to /vendor
Tested GSIs​
vndk30
https://github.com/phhusson/treble_experimentations/releases/tag/v313 (vanilla/bvS)
https://github.com/phhusson/treble_experimentations/releases/tag/v413 (vanilla/bvS)
https://developer.android.com/topic/generic-system-image/releases (android 12 gsi, with a12_patch.zip flashed after)
vndk32
https://github.com/phhusson/treble_experimentations/releases/tag/v413 (vanilla/bvS)
https://developer.android.com/topic/generic-system-image/releases (android 12 gsi, with a12_patch.zip flashed after)
important: system as root builds, you'd want ab build GSIs
Known issues:​
some GSIs like official google GSIs lacks the /efs mount point, it has to be added manually or it will boot loop at samsung logo failing to mount /efs
some android 12 GSIs does not boot due to the lack of ebpf on the 3.18 kernel, android 12 GSIs needs to have patched bpfloader and netd, see below
https://github.com/8890q/patches
https://github.com/phhusson/platform_system_bpf/commit/c81966c23d79241458ebf874cfa8662f44705549
https://github.com/phhusson/platform_system_netd/commit/3a6efa1ff3717a613d1ba4a0eff5e751262d1074
data usage stays at 0 MB used on android 12 GSIs, because ebpf is used for metering
a12_patcher.zip attempts to fix the above issues by creating /system_root/efs and importing bpfloader+netd from https://github.com/8890q/patches
a11_patcher.zip creates /system_root/efs if required
usb adb does not work on android 12 GSIs
a legacy implementation of usb adb is required for this kernel, see https://review.lineageos.org/c/LineageOS/android_packages_modules_adb/+/326385
as a workaround, disable usb adb and use wifi adb
Wifi tethering does not work on phh GSIs <= 414
https://github.com/phhusson/vendor_hardware_overlay/tree/pie/Tethering conflicts with our Tethering overlay
flash phh_wifitethering_patcher.zip after installing phh GSIs
Alarm clock not working on aosp GSI
it should be fixed on phh 414 and up, it is not a vendor issue. If you are using an older aosp GSI, flash deskclock_powersaving.zip to fix that. See https://github.com/LineageOS/androi...mmit/8dd096c4cfb647960be1695a57246727878b8c8d
Google android 13 GSIs do not work
post-build patching got more involved in android 13 since on-java patches are now required, stick with phh/treble droid GSIs which already include build time patches for bpf-less kernel support
Disk encryption does not work on android 13 GSIs
full disk encryption is removed in android 13, file based encryption not available currently https://github.com/8890q/android_de...mmit/3cbcf972465419c18bf4850d26320896df465b18
Installation​
If you are using the old partition table mod zip heroxlte_CreateVendor_2.0.zip from older versions, first flash heroxlte_RevertVendor_2.0.zip, or revert your partition table other ways such as odin. Skip this step if you have never touched your partition table
Install twrp-3.6.2_9-0 from https://eu.dl.twrp.me/herolte/ (s7) or https://eu.dl.twrp.me/hero2lte/ (s7 edge), as of rignt now newest(twrp-3.7.0_9-0) is too big for flashing
Flash twrp_patcher.zip to enable system.img flashing, it'll reboot to recovery once it's done, tested on 3.6.2_9-0 but newer versions should work unless recovery.fstab changes
Flash vndk32 for android 12.1(api level 32) and android 13.0(api level 33) GSIs, flash vndk30 for android 11(api level 30) and 12(api level 31) GSIs, herolte for s7 and hero2lte for s7edge
Flash the system.img of your choice
If you are using phh GSI version <= 414, flash phh_wifitethering_patcher.zip
If you are using phh GSI version <= 414, flash phh_dt2w_patcher.zip to fix double tap to wake
If you are using phh GSI version <= 413 or pure aosp, flash deskclock_powersaving.zip to fix alarm clock
If you are using an android 12/12L GSI, flash a12_patcher.zip
If you are using an android 11 GSI, flash a11_patcher.zip
If you are using a phh/treble droid android 13 GSI, flash phh_aosp13_patcher.zip
Updating vendor​
Flash vndk32 for android 12.1(api level 32) and android 13.0(api level 33) GSIs, flash vndk30 for android 11(api level 30) and 12(api level 31) GSIs, herolte for s7 and hero2lte for s7edge
Undo twrp_patcher.zip and revert to device native roms​This is not required for using device native roms, however OTA updates might require this
Flash the newest twrp again
Format cache using wipe -> select cache -> repair or change file system -> change file system -> ext4
Flash a device native rom
Building​lineage_build_herolte_vendor_part, lineage_build_hero2lte_vendor_part, lineage_build_herolte_vendor_part_18.1 and lineage_build_hero2lte_vendor_part_18.1 builds lineageos along with treble vendor using https://github.com/lineageos4microg/docker-lineage-cicd
you'll need ~15GB of free ram, ~300GB free disk space and podman
# create directories
mkdir src
mkdir zips
mkdir logs
mkdir ccache
# builds lineage 19.1 along with vndk32 for herolte (s7 flat exynos)
bash lineage_build_herolte_vendor_part
Reporting issues besides the known ones:​
You can report them over https://github.com/Kethen/herolte_treble/issues
Downloads​https://github.com/Kethen/herolte_treble/releases
katharinechui said:
Credits​https://github.com/8890q/ https://forum.xda-developers.com/t/...e-spoofing-ota-updates-for-s7-exynos.4368995/ for LineageOS 19.1/18.1 device tree, kernel, hardware support, blobs
https://forum.xda-developers.com/t/treble-aosp-g930x-g935x-project_pizza-trebleport-v2-0.3956076/ for libsensor blobs
Notes:​
I do not own a hero2lte(edge)
I'll mostly work on this only during weekends/holidays
and on that note the hero2lte build is not tested by myself
for vndk30 based vendor (LineageOS 18.1), use with android 11 and up GSIs
for vndk32 based vendor (LineageOS 19.1), use with android 12L and up GSIs
Updates:​
2022-05-26
added vndk32 based release
lpm_installer.zip for offline charging
fixed keystore errors on android 12 GSIs, lock screens work now
2022-02-15
rebased on February build from 8890q
January android updates
2021-12-16
install libaudioroute into /vendor/lib
December android updates
2021-12-10
move properties to /vendor
Tested GSIs​
vndk30
https://github.com/phhusson/treble_experimentations/releases/tag/v313 (vanilla/bvS)
https://github.com/phhusson/treble_experimentations/releases/tag/v413 (vanilla/bvS)
https://developer.android.com/topic/generic-system-image/releases (android 12 gsi, with a12_patch.zip flashed after)
vndk32
https://github.com/phhusson/treble_experimentations/releases/tag/v413 (vanilla/bvS)
https://developer.android.com/topic/generic-system-image/releases (android 12 gsi, with a12_patch.zip flashed after)
important: system as root builds, you'd want ab build GSIs
Known issues:​some GSIs like official google GSIs lacks the /efs mount point, it has to be added manually or it will boot loop at samsung logo failing to mount /efs
some android 12 GSIs does not boot due to the lack of ebpf on the 3.18 kernel, android 12 GSIs needs to have patched bpfloader and netd, see below
https://github.com/8890q/patches
https://github.com/phhusson/platform_system_bpf/commit/c81966c23d79241458ebf874cfa8662f44705549
https://github.com/phhusson/platform_system_netd/commit/3a6efa1ff3717a613d1ba4a0eff5e751262d1074
You can attempt to copy bpfloader and netd binaries from phh GSIs
a12_patcher.zip attempts to fix the above issues by creating /system_root/efs and importing bpfloader+netd from phh android 12 v413
usb adb does not work on android 12 GSIs
a legacy implementation of usb adb is required for this kernel, see https://review.lineageos.org/c/LineageOS/android_packages_modules_adb/+/326385
fingerprint sensor does not work, the vendor blob segfaults when it can't access /data/biometrics due to vndk selinux compliance
neuralnetworks hal does not work, perhaps it can be fix by linking it with another c/c++ library, missing a symbol that should be included in libc++ but not vndk libc++
phhgsi_arm64_ab:/ $ ldd /vendor/bin/hw/[email protected]
linux-vdso.so.1 => [vdso] (0x7138c71000)
CANNOT LINK EXECUTABLE "linker64": cannot locate symbol "__cxa_demangle" referenced by "/vendor/bin/hw/[email protected]"...
lpm/power off charging does not quite work, /system/bin/lpm links libandroid.so (violates vndk) and looks for media assets in /system
charging powered off will likely send you to recovery/system
flash lpm_instasller.zip after installing gsi if power off charging is desired, it might or might not work depending on GSI (tested on phh 413)
$ readelf -d proprietary/bin/lpm | grep NEEDED
0x0000000000000001 (NEEDED) Shared library: [libcutils.so]
0x0000000000000001 (NEEDED) Shared library: [libbinder.so]
0x0000000000000001 (NEEDED) Shared library: [libutils.so]
0x0000000000000001 (NEEDED) Shared library: [libsuspend.so]
0x0000000000000001 (NEEDED) Shared library: [libhardware.so]
0x0000000000000001 (NEEDED) Shared library: [libandroid.so]
0x0000000000000001 (NEEDED) Shared library: [libmaet.so]
0x0000000000000001 (NEEDED) Shared library: [libsxqk_skia.so]
0x0000000000000001 (NEEDED) Shared library: [liblog.so]
0x0000000000000001 (NEEDED) Shared library: [libc++.so]
0x0000000000000001 (NEEDED) Shared library: [libc.so]
0x0000000000000001 (NEEDED) Shared library: [libm.so]
0x0000000000000001 (NEEDED) Shared library: [libdl.so]
Installation​There are two requirements for testing this treble build:
A /vendor partition that is at least 250 MB
A recovery that is aware of the /vendor partition
You can fulfill these requirements by:
Install twrp normally
Flash heroxlte_CreateVendor_2.0.zip from https://forum.xda-developers.com/t/treble-aosp-g930x-g935x-project_pizza-trebleport-v2-0.3956076/ , it will create a ~400 MiB vendor partition and patch the current twrp you have
Or:
Modify the partition table manually and add a 250 MB partition named VENDOR, build/modify twrp manually to support the new partition
Once that's fulfilled, flash the zip in this release, herolte for flat and hero2lte for edge. The zips comes with an install of LineageOS 19.1/18.1. After Installing the zip you can write any system.img of your choice
After writing system.img, flash lpm_installer.zip if poweroff charging is needed. Note that that has been tested on phh v413 and google android 12 gsi
a12_patcher.zip replaces /system/bin/bpfloader and /system/bin/netd with phh versions, also creates /system_root/efs if required, allowing google android 12 gsi to boot
Building/Source​Please refer to manifests_herolte_vendor_part/roomservice.xml and manifests_herolte_vendor_part_18.1/roomservice.xml on https://github.com/Kethen/lineage_build_scripts for your own builds
Download​
Release 2022-05-26 · Kethen/lineage_build_scripts
18.1 herolte native build does not need patches
github.com
Click to expand...
Click to collapse
Excellent work.
katharinechui said:
https://gitlab.com/hackintosh5/TrebleInfo
Credits​
https://github.com/8890q/ for LineageOS 19.1/18.1 device tree, kernel, hardware support, blobs
https://forum.xda-developers.com/t/treble-aosp-g930x-g935x-project_pizza-trebleport-v2-0.3956076/ for libsensor blobs
https://github.com/osm0sis/ for anykernel, used for the twrp patching zip
Special thanks​https://github.com/ExpressLuke for hero2lte testing
https://github.com/00p513-dev for suggesting using squashfs for vendor partition, making it possible to skip partition table modding
https://github.com/phhusson for looking into the double tap to wake issues with phh GSI
Notes:​
I do not own a hero2lte(edge)
I'll mostly work on this only during weekends/holidays
and on that note the hero2lte build is not tested by myself
for vndk30 based vendor (LineageOS 18.1), use with android 11 and up GSIs
for vndk32 based vendor (LineageOS 19.1), use with android 12L and up GSIs
2022-06-12 the CACHE partition is now used as vendor, the HIDDEN patition is now used as cache, no more partition table mods required
Updates:​
2022-06-13
android 12 data usage meter now works with a12_patcher.zip
2022-06-12
fixed neural network api hal
fixed fingerprint sensor
switched vendor image to squashfs, no CreateVendor required anymore with it's small size
new twrp patcher zip, should no longer cause "twrp is stuck after flashing CreateVendor"
bigger GSIs should fit better now with the original ~4.5GB SYSTEM partition; device native roms can be used without RevertVendor
2022-05-31
fixed wifi tethering
vndk32: rebased on 2022-05-26 12L build from ivan
phh_wifitethering_patcher.zip for wifi hotspot on phh GSIs
2022-05-26
added vndk32 based release
lpm_installer.zip for offline charging
fixed keystore errors on android 12 GSIs, lock screens work now
2022-02-15
rebased on February build from 8890q
January android updates
2021-12-16
install libaudioroute into /vendor/lib
December android updates
2021-12-10
move properties to /vendor
Tested GSIs​
vndk30
https://github.com/phhusson/treble_experimentations/releases/tag/v313 (vanilla/bvS)
https://github.com/phhusson/treble_experimentations/releases/tag/v413 (vanilla/bvS)
https://developer.android.com/topic/generic-system-image/releases (android 12 gsi, with a12_patch.zip flashed after)
vndk32
https://github.com/phhusson/treble_experimentations/releases/tag/v413 (vanilla/bvS)
https://developer.android.com/topic/generic-system-image/releases (android 12 gsi, with a12_patch.zip flashed after)
important: system as root builds, you'd want ab build GSIs
Known issues:​
some GSIs like official google GSIs lacks the /efs mount point, it has to be added manually or it will boot loop at samsung logo failing to mount /efs
some android 12 GSIs does not boot due to the lack of ebpf on the 3.18 kernel, android 12 GSIs needs to have patched bpfloader and netd, see below
https://github.com/8890q/patches
https://github.com/phhusson/platform_system_bpf/commit/c81966c23d79241458ebf874cfa8662f44705549
https://github.com/phhusson/platform_system_netd/commit/3a6efa1ff3717a613d1ba4a0eff5e751262d1074
data usage stays at 0 MB used on android 12 GSIs, because ebpf is used for metering
a12_patcher.zip attempts to fix the above issues by creating /system_root/efs and importing bpfloader+netd from https://github.com/8890q/patches
a11_patcher.zip creates /system_root/efs if required
usb adb does not work on android 12 GSIs
a legacy implementation of usb adb is required for this kernel, see https://review.lineageos.org/c/LineageOS/android_packages_modules_adb/+/326385
as a workaround, disable usb adb and use wifi adb
lpm/power off charging does not work
lpm related blobs sadly has to be installed on /system, flash lpm_instasller.zip after installing gsi if power off charging is desired, it might or might not work depending on GSI (tested on phh 413 and 313)
Wifi tethering does not work on phh GSIs
https://github.com/phhusson/vendor_hardware_overlay/tree/pie/Tethering conflicts with our Tethering overlay
flash phh_wifitethering_patcher.zip after installing phh GSIs
Alarm clock not working on aosp GSI
it should be fixed on phh 414 and up, it is not a vendor issue. If you are using an older aosp GSI, flash deskclock_powersaving.zip to fix that. See https://github.com/LineageOS/androi...mmit/8dd096c4cfb647960be1695a57246727878b8c8d
Installation​
If you are using the old partition table mod zip heroxlte_CreateVendor_2.0.zip from older versions, first flash heroxlte_RevertVendor_2.0.zip, or revert your partition table other ways such as odin. Skip this step if you have never touched your partition table
Install the newest twrp from https://eu.dl.twrp.me/herolte/ (s7) or https://eu.dl.twrp.me/hero2lte/ (s7 edge)
Flash twrp_patcher.zip to enable system.img flashing, it'll reboot to recovery once it's done, tested on 3.6.2_9-0 but newer versions should work unless recovery.fstab changes
Flash Lineage 19.1 for android 12.1(api level 32) GSIs, flash Lineage 18.1 for android 11(api level 30) and 12(api level 31) GSIs, herolte for s7 and hero2lte for s7edge
Flash the system.img of your choice
If you are using a phh patched GSI, flash phh_wifitethering_patcher.zip
If you are using an android 12/12L GSI, flash a12_patcher.zip
If you are using an android 11 GSI, flash a11_patcher.zip
Flash lpm_installer.zip to enable poweroff charging
If you are using an aosp GSI that is not phh patched or older than phh 414, flash deskclock_powersaving.zip to fix alarm clock
If you are using phh GSI version <= 414, flash phh_dt2w_patcher.zip to fix double tap to wake
Undo twrp_patcher.zip and revert to device native roms​This is not required for using device native roms, however OTA updates might require this
Flash the newest twrp again
Wipe cache
Flash a device native rom
Building​lineage_build_herolte_vendor_part, lineage_build_hero2lte_vendor_part, lineage_build_herolte_vendor_part_18.1 and lineage_build_hero2lte_vendor_part_18.1 builds lineageos along with treble vendor using https://github.com/lineageos4microg/docker-lineage-cicd
you'll need ~15GB of free ram, ~300GB free disk space and podman
# create directories
mkdir src
mkdir zips
mkdir logs
mkdir ccache
# builds lineage 19.1 along with vndk32 for herolte (s7 flat exynos)
bash lineage_build_herolte_vendor_part
Reporting issues besides the known ones:​
You can report them over https://github.com/Kethen/herolte_treble/issues
Downloads​https://github.com/Kethen/herolte_treble/releases
Click to expand...
Click to collapse
on my phone nfc is not working what the hell should i do now?
the files are so much different to other devices i don't can handle....
aljoscha81 said:
on my phone nfc is not working what the hell should i do now?
Click to expand...
Click to collapse
wdym not working? what the hell did you do? mine is working, at least in terms of reading smart cards
(like seriously, what did you do to end up with non-working nfc)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
please send a logcat to https://github.com/Kethen/herolte_treble/issues
katharinechui said:
wdym not working? what the hell did you do? mine is working, at least in terms of reading smart cards
(like seriously, what did you do to end up with non-working nfc)
View attachment 5640219
please send a logcat to https://github.com/Kethen/herolte_treble/issues
Click to expand...
Click to collapse
ok i will get with matlog app if it help?
by the way it don't react while some machine is reading my blood.....
it is a freestyle libre sensor to monitoring diabetis .....
katharinechui said:
wdym not working? what the hell did you do? mine is working, at least in terms of reading smart cards
(like seriously, what did you do to end up with non-working nfc)
View attachment 5640219
please send a logcat to https://github.com/Kethen/herolte_treble/issues
Click to expand...
Click to collapse
sry here it is ....
forgot my git logging....
it is nfc enabled and running sensor scan modus with freestyle libre 3.3.1 app ...
the phone does not get any signal from device it is as doesn't have been real no error message ..... nothing....!
aljoscha81 said:
sry here it is ....
forgot my git logging....
Click to expand...
Click to collapse
sorry, the log is not helpful at all, all it shows is you have some kind of broken gapps installed and it kept crashing, and nfc scanned something
please capture log with `adb logcat`
what GSI are you using? can you check if nfc works with ivan's lineage 19.1?
like not existence....
katharinechui said:
sorry, the log is not helpful at all, all it shows is you have some kind of broken gapps installed
please capture log with `adb logcat`
what GSI are you using? can you check if nfc works with ivan's lineage 19.1?
Click to expand...
Click to collapse
ok ...
i'm on cr droid 8.5 nazim has post few min ago 8.6....
but adb must?....
broken gapps? it is inbuild... so .... oh nooooo
i got an other device is ran into same issue
can you send link to los 19.1 .....?
i ll give it a try
i will try adb log wait i must have a beer it is a long time for me like to have a12 gsi up and running ....... elstway?
aljoscha81 said:
ok ...
i'm on cr droid 8.5 nazim has post few min ago 8.6....
but adb must?....
broken gapps? it is inbuild... so .... oh nooooo
i got an other device is ran into same issue
can you send link to los 19.1 .....?
i ll give it a try
Click to expand...
Click to collapse
Ivan's LineageOS 19.1
LineageOS 19.1 (Android 12L) [Signature Spoofing][OTA updates] for S7 Exynos
LineageOS 19.1 for herolte /* * Your warranty is now void. * * I am not responsible for bricked devices, dead SD cards, * thermonuclear war, or you getting fired because the alarm app failed. Please * do some research if you have any concerns...
forum.xda-developers.com
also try other GSIs, test https://developer.android.com/topic/generic-system-image/releases#android-gsi-12 ARM64+GMS if you need gapps, remember to flash a12_patcher.zip, deskclock_powersaving.zip and lpm_installer.zip after flashing that particular gsi
katharinechui said:
Ivan's LineageOS 19.1
LineageOS 19.1 (Android 12L) [Signature Spoofing][OTA updates] for S7 Exynos
LineageOS 19.1 for herolte /* * Your warranty is now void. * * I am not responsible for bricked devices, dead SD cards, * thermonuclear war, or you getting fired because the alarm app failed. Please * do some research if you have any concerns...
forum.xda-developers.com
also try other GSIs, test https://developer.android.com/topic/generic-system-image/releases#android-gsi-12 ARM64+GMS if you need gapps, remember to flash a12_patcher.zip, deskclock_powersaving.zip and lpm_installer.zip after flashing that particular gsi
Click to expand...
Click to collapse
ok i see .. the los in the link you post is different to the one i installed i think i have installed before and got response to the nfc sensor but also only few times then no more nfc working also no android beam from other device....
aljoscha81 said:
ok i see .. the los in the link you post is different to the one i installed i think i have installed before and got response to the nfc sensor but also only few times then no more nfc working also no android beam from other device....
Click to expand...
Click to collapse
I had a look at the sensor app, it has 3 apps for 3 different sensors from abott, are you using the correct version?
The FreeStyle Libre 2 app is only compatible with FreeStyle Libre 2 Sensors. Learn more about compatibility at http://FreeStyleLibre.com
Click to expand...
Click to collapse
You can only use the FreeStyle Libre 3 app with FreeStyle Libre 3 Sensors. It is not compatible with FreeStyle Libre or FreeStyle Libre 2 Sensors.
Click to expand...
Click to collapse
katharinechui said:
I had a look at the sensor app, it has 3 apps for 3 different sensors from abott, are you using the correct version?
Click to expand...
Click to collapse
yes that is not harmfull for me
i use freestyle libre 3.......
that is forced to be not bypassing cause of decrypt of some company?
whiteanywaysomethingcryptingsomehow?...
you know?
?
aljoscha81 said:
?
Click to expand...
Click to collapse
if you have a FreeStyle Libre 3 sensor, you need a FreeStyle Libre 3 app
if you have a FreeStyle Libre 2 sensor, you need a FreeStyle Libre 2 app
if you have a FreeStyle Libre sensor, you need a FreeStyle Libre app
yes i do

android 12.1 los gsi 19.1 A50

goto https://drive.google.com/file/d/1TajDPKzJOhbQ_69rw8x3D7QsxEopPaqp/view?usp=sharing
extract boot vendor and mint kernel
next install boot and vendor using twrp and after that flash mint kernel
then flash los gsi from andyan gsis android 12 los 19.1
wipe dalvik art cache
format data
reboot system
kernel source:
GitHub - Galaxya50/android_kernel_samsung_exynos9610
Contribute to Galaxya50/android_kernel_samsung_exynos9610 development by creating an account on GitHub.
github.com
Deleted

Categories

Resources