Tuesday, 2025-09-30

*** ced117_ is now known as ced11706:56
ArnoRUHello. I have a question about porting. Can I use Android 12L as a base for porting? I don't really know the differences between A12 and A12L, but my phone supports only LineageOS 19.1 to LOS 22.1 (officially). I would not risk to port on android 13-14.10:28
Mister_MagisterI'm not sure whats android 12 L but you can use android 1210:32
Mister_Magisteryou can use lineage 19 to 2110:32
ArnoRUMister_Magister, google said it is android 12, but with big screen support (after 12L it has been merged to main brunch)10:51
Mister_Magisterthen pay no attention to L10:56
ArnoRUAh, okay. I'll use this then11:14
ArnoRUMay i ask, how do i need to find a kernel for my device? I Have xiaomi 11 lite 5g ne (lisa). It has official support of LOS. I found device tree in LineageOS/android_device_xiaomi_lisa, but when I'm searching for LineageOS/android_kernel_xiaomi_lisa or LineageOS/android_kernel_xiaomi_sm7325 I found nothing. On official page of lineageos my CPU called Qualcomm sm7325. What's wrong? Why I cant find any kernel in the official LOS repo?11:27
Mister_Magistercheck the dependencies11:34
Mister_Magisterhttps://github.com/LineageOS/android_device_xiaomi_lisa/blob/lineage-22.2/lineage.dependencies11:35
Mister_Magisterhttps://github.com/LineageOS/android_device_xiaomi_sm8350-common/blob/lineage-22.2/lineage.dependencies11:35
Mister_Magisterand voila https://github.com/LineageOS/android_kernel_xiaomi_sm835011:35
ArnoRUUghh... Why it uses the different name? Why sm8450 if cpu is sm7325?11:36
Mister_Magistermaybe they're the same thing who knows11:38
Mister_Magisterthey look almost same in specs so they could be REALLY similar11:39
Mister_Magister8350 is clocked higher it seems11:39
ArnoRUwait. sm8450 kernel will not help me. only for lineage 22.211:41
Mister_Magisterwhere did you get 8450 from?11:41
Mister_Magisterhttps://github.com/LineageOS/android_kernel_xiaomi_sm8350/tree/lineage-19.111:42
ArnoRUAH. misspeled11:43
Mister_MagisterLike i got two devices one with 4G another without, one snapdragon 400 another snapdragon 410 but they both use snapdragon 400 kernel, sometimes two model numbers are basically same thing11:44
ArnoRUfine though if it will work. what is not fine is i have no proprietary for 19.1 and have no option to extract them. so, i'm moving to los 2011:48
Mister_Magistermight as well go straight to 21 xd11:50
ArnoRUI think lower is better11:50
Mister_Magisternot necessarily :P lower = older kernel11:51
ArnoRUand?11:51
ArnoRUdoes old kernel is not working fine with sfos?11:52
ArnoRUbtw, haven't anyone tried to build a bundle like GSI? and can it be created or only native install with no other options?11:55
ArnoRUbtw, haven't anyone tried to build a bundle like GSI? and can it be created or only native install with no other options? /11:56
T42_<TheVancedGamer> mal: could you post the output of vulkaninfo of an SFOS device please?12:21
mal@TheVancedGamer https://pastebin.com/N97WnGRs12:32
T42_<TheVancedGamer> ok, I'm confused now12:32
T42_<TheVancedGamer> so I have the same extensions exposed, but running `vkcube-wayland` doesn't actually render anything on screen12:32
malhmm12:32
T42_<TheVancedGamer> it's just an empty window12:32
malneed to see about building vkcube-wayland, where is source of that?12:33
T42_<TheVancedGamer> I just installed vulkan-tools package in apt repos12:33
T42_<TheVancedGamer> that package also provides vulkaninfo for me12:33
malok, I think I might not have that built12:34
Mister_Magistermal: would you be so kind and poke someone about the hbm patch?13:22
Mister_Magisterit's been months13:22
malMister_Magister: is the commit message and PR title accurate anymore, that only does configurable path now?13:30
Mister_Magisteryes, per request, but i couldn't get it to work, hence i asked for example config13:30
Mister_Magistereither i could do hbm all day every day or no hbm ever13:31
malso what did you change in the als config file in your tests?13:34
Mister_Magistermany things and none of them worked13:36
Mister_Magisterputting 500 in every spot = HBM all day, putting 256 in every spot, which should result in HBM being set to 1 and brightness being set to 0 did not work, putting in numbers from 0 to 510 in every profile, did not work, changing interpolation so that from 1/3 onwards numbers are greater than 255 did not work. I also tried many other things that I do not remember and none of them worked and at this point i have no idea how does13:46
Mister_Magisterit work or how does spiiroin think it works13:46
malevery spot as in which entry in the config file?13:48
malLevelsProfile?13:49
Mister_Magisteryes13:50
maland the lux values match to some degree what you get from sensor?13:50
malI mean the range of those13:51
Mister_Magistersure sensor goes 5000+13:51
malok13:51
Mister_Magisteri did mess with BrightnessLed LevelsProfile0 as well13:51
Mister_Magisteryou'd think that if sensor is at 5000, automatic brightness is set to max so profile 0, and you put in last place value higher than 255 which should put 1 in the hbm place it would work but it does not13:54
malso did you try adding some debug prints if verbose logging is not helpful to see what kind of values it really uses13:59
Mister_Magisteri tried everything mate, I have no idea how it works but spiiroin seems confident that if you put values they'll be used so I asked for sample config14:01
Mister_MagisterI'm sure if he provides one it will all work just fine14:01
Mister_Magisterthe code is so mangled i cannot make head or tailis of it14:01
malso so that hbm_and_level is never anything above 255?14:03
Mister_Magisterunless you put 500 in every spot14:03
Mister_MagisterI would also like to point out that DEFAULT_HBM_TIMEOUT is not used anywhere, nor have I seen any timeouting functionality14:03
malwhat is the value of hbm_and_level when 500 is used?14:03
Mister_MagisterI don't quite remember as it was months ago but it did write 1 to hbm path14:04
T42_<adampigg> rinigus: looking at your plugin commits .. is it possible for one plugin to support both the hidl and aidl interfaces?21:01
malof course it is, it just needs detection for it21:10
T42_<adampigg> I thought so looking at the code21:13
malthat is how I have done other binder packages like gps, sensors, nfc, and also the jolla volte plugin21:17
malmain ofono binder plugin is the exception21:17
malexamples for doing autodetection can be found in those geoclue hybris plugin, sensorfw and nfc-binder-plugin repos21:19

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!