Where would you start if you are trying to build android 13 for msm8916/8939? - Android Q&A, Help & Troubleshooting

since android 12, lineageos source doesn't support 8916, even the folders like hardware/qcom-caf/msm8916 are missing... you have to patch the source, just having device tree/kernel/vendor is not enough. i know that it's possible, @daviiid99 made android 13 for j5 with the helps of @Ivan_Meler and @html6405 https://forum.xda-developers.com/t/...0-x-for-galaxy-j5-unified-2022-09-28.4493121/
i'm trying to build for asus Z00T and Z00L if possible. Z00T has 8939, Z00L has 8939 and 8916 variants.
since it's been done before, trying to figure everything out by myself doesn't make any sense and its above my knowledge level rn. even daviiid99 got some help.
i have the working device sources for android11, R roms are fully functional without any major issues. how can i patch the android source for msm8916 support and adapt R sources for T?

Related

LineageOS 13 vs 14: What are the pro- & contra on the RN3P?

I'm still unsure whether or not I should go with LineageOS 14 or 13 and was wondering if you all could chip in with things I might have missed:
LineageOS 13
Pro
- All hardware works
Contra
- Only unofficial builds (for the moment)
- Based on Marshmallow
LineageOS 14
Pro
- Active development
- Based on Nougat
- Weekly builds
Contra
- Camera glitches/fc's
- Torch glitches
- no Xposed for Nougat
- Screenshare / Miracast doesn't work
Care to add points?
LineageOS 13
Pro
- Official builds are available here on the forum
LineageOS 14
Contra
- no Xposed for Nougat
- Screenshare / Miracast doesn't work
Sure those are official? The thread I've seen is labeled 'unofficial'
https://forum.xda-developers.com/redmi-note-3/development/rom-cyanogenmod-13-t3431866
That's not Lineage OS
CyanogenMOD is dead and gone. LineageOS doesn't provide any LineageOS 13 builds (yet?)
Right. There's no official Lineage OS 13 ROM. But commits are being actively merged and it's still being developed as of today. Unofficial isn't all that different.
True enough, sooner or later official builds will come but today, that's not the case yet, so I'm sticking with unofficial builds only (for now)

How to build a device tree for LOS/MOKEE from CAF-AOSP device tree

I am trying to port Andriod O to my Oneplus 5. I know there is an existing and well-worked LOS/MOKEE for Oneplus 5, but I am trying to do it myself entirely, using the existing one as an example for study. So I can port LOS/MOKEE to my Xiaomi 8 SE ( sirius, SDM710).
I get some information that if you are porting Andriod to a device having no existing LOS/MOKEE supported, you can start it with CAF AOSP. And this is what I am doing.
Now, what I can do is :
* knowing Oneplus 5's OOS-BETA12 is based on LA.UM.6.4.r1-06100-8x98.0 (CAF AOSP version)
* use repo to download a single project of LA.UM.6.4.r1-06100-8x98.0 (like project under device/ , hardware/ , vender/ )
How can I build a device tree for LOS/MOKEE from CAF-AOSP device tree?
Is there someone can help me? Thank you!
nobody.....?

Ulefone S7: Kernel source / config / devicetree, etc

Hello folks,
I'm looking for the kernel source tree, defconfig, device tree for the Ulefone S7.
I've only found a source tree for a device calle Elefone S7, but I'm unsure whether it's the same chipset, and their kernel is pretty ancient (3.18.22), heavily differing from upstream version (6942 files changed, 2855793 insertions(+), 122204 deletions(-)), no defconfig for the device.
Could anyone help ?
What I finally like to do is porting to recent mainline and submit remaining patches for mainline integration.
thx
--mtx

[KERNEL] Linux Kernel Version 4.9

Linux Kernel 4.9 for Moto G5​
As you guys already know, our Moto G5 has an ancient linux kernel (3.18.x) which is now EOL (end of life) from support from actual Linux Foundation. It's pretty much stuck there with no probable updates to it (can use the android 3.18 for updates, but I think that's pretty much soon to be deprecated).
I have been working on this kernel since the past one year and finally managed to boot it on our Cedric!​
WARNING: THIS KERNEL IS STILL ALPHA AND MOST OF THE BUGS HAVE STILL NOT BEEN FIXED​.
I just wanted to share this kernel with the community!
What works:
Boots
Display
Touch
Storage
Charger
Battery Indication
Bugs:
Pretty much every basic thing
RIL (Calls, mobile data, etc.)
Vibrations (Weird and too strong)
Camera
Flashlight
Only Oreo boots so far.
Want to try for yourself?
Click Here to download link LineageOS 15.1 with Linux Kernel 4.9
Huge Thanks to @wiktorek140 for helping me out with bugs and congratulations to him for booting 4.9 on Montana
Leave a thanks if you like my work!
Buy me a Cup of Coffee or Beer here​
XDA:DevDB Information
Linux Kernel 4.9, Kernel for the Moto G5
Contributors
m_vaisakh, wiktorek140
Source Code: [url]https://github.com/mvaisakh/msm-4.9[/URL]
Kernel Special Features: Linux Kernel 4.9.x
Version Information
Status: Alpha
Created 2020-03-30
Last Updated 2020-03-30
Reserved
You can find screenshots here:
https://m.imgur.com/a/OWEhM3b
NOTE: The screenshots are from 2 different builds and hence the difference in kernel version.
Cheers!
Update:
I've been working to fix display and audio on for us.
You can check the progress in my kernel repository. I hope to fix it soon!
Nice! Simply nice. This will hopefully get more attention :good:
Update:
Indian variant finally boots now!!
Thanks to Neosight from Mido community for the fix!
It was because of the bootloader not accept the arm IOMMU of cedric (atleast in indian variant). Instead the kernel sent a full aarch64 (or arm64) iommu tz cb, which wasn't getting a secure pass from bootloader through qseecom interface, which apparently states that motorola still uses older (nougat) bootloader in XT1677 (or the Indian variant).
m_vaisakh said:
Update:
Indian variant finally boots now!!
Thanks to Neosight from Mido community for the fix!
It was because of the bootloader not accept the arm IOMMU of cedric (atleast in indian variant). Instead the kernel sent a full aarch64 (or arm64) iommu tz cb, which wasn't getting a secure pass from bootloader through qseecom interface, which apparently states that motorola still uses older (nougat) bootloader in XT1677 (or the Indian variant).
Click to expand...
Click to collapse
Ig edit the op then :angel:
nift4 said:
Ig edit the op then :angel:
Click to expand...
Click to collapse
Updated OP.
m_vaisakh said:
Updated OP.
Click to expand...
Click to collapse
bro how did u update from v3.18 to v4.9 ? Pls I wanna know where can I study about this?
devvikram said:
bro how did u update from v3.18 to v4.9 ? Pls I wanna know where can I study about this?
Click to expand...
Click to collapse
CAF had added support for msm8937 for 4.9 with Android Oreo, I just used their base and added moto g5 specific changes. It may sound easy, but it's not.
m_vaisakh said:
CAF had added support for msm8937 for 4.9 with Android Oreo, I just used their base and added moto g5 specific changes. It may sound easy, but it's not.
Click to expand...
Click to collapse
where to study on this??I want to do with my Snapdragon 625 . It's v3.18 which I have to upgrade to v 4.9
devvikram said:
where to study on this??I want to do with my Snapdragon 625 . It's v3.18 which I have to upgrade to v 4.9
Click to expand...
Click to collapse
There's no specific documentation for this. It was all trial and error. Have you read the OP? I've clearly stated it took me 1 year to get it to work.
To start, you should know your way around linux kernel and for reference you can use my source and well there are many other devices that were 3.18 and now run 4.9
m_vaisakh said:
There's no specific documentation for this. It was all trial and error. Have you read the OP? I've clearly stated it took me 1 year to get it to work.
To start, you should know your way around linux kernel and for reference you can use my source and well there are many other devices that were 3.18 and now run 4.9
Click to expand...
Click to collapse
thanks alot
I overtook the development and got a few quite nice results. Current bug list:
Boots -
Bt -
Wifi -
Camera -
Vibration -
Gps -
Audio -
Ril - (no call audio)
Fp -
Light Sensors -
Accelerometer -
Proximity -
Gyro -
Mic -
Usb Tethering -
MTP & ADB -
Headphones -
Offline Charging -
Flashlight -
SD Card -
FM Radio -
Issues:
Rebooting to recovery boots to system.
Random reboots.
(that is on Android 10)
my source is at https://github.com/n4experiments/
and thanks to wiktorek140 and his 4.9 montana port because without him I would never be able to get so far

Development [looking for test] lineage os 20 for xperia pro-i

hi, i was built lineage os for pdx217 (xperia pro-i), adapted by using 1 III device tree
https://drive.google.com/drive/folders/12ijsq5uQFl2ZYRxjVc-iENNe2YiYW90d?usp=sharing
flashing instruction is same as pdx215
if this going well, i might temporary maintain los for this device
device tree haven't been pushed yet
kernel source : https://github.com/sonybasement/kernel_sony_sm8350

Categories

Resources