<FoxieFlakey>
a question is there anything important i misssed trying to compile/configure the kernel out of this based on postmarketos config at same 6.15-r0 version? because i would like a "localyesconfig" + thinlto clang working properly before i add my own config changes. my device which is xiaomi redmi prime 5a (msm8940) refuses to boot using msm89x7 kernels (bootloops). the way i install is replace the /boot/vmlinuz and lk2nd boots to it
FoxieFlakey has quit [Ping timeout: 480 seconds]
FoxieFlakey has joined #msm8937-mainline
FoxieFlakey has quit [Ping timeout: 480 seconds]
FoxieFlakey has joined #msm8937-mainline
<intelinsidecomputer[m]>
<FoxieFlakey> "a question is there anything..." <- I haven't reached an level high enough to exactly help you, but I will try helping you, If something does not work and you can't see the error, try UART debug if that's possible on Qualcomm devices and x7 and 40 chipsets seems to not match up so maybe that's the problem.
<FoxieFlakey>
<intelinsidecomputer> ".. maybe that's the problem." i think its likely no because i booted postmarketos with same kernel (but prebuilt by them) its working fine and about UART debug, how do i do that?
<intelinsidecomputer[m]>
<FoxieFlakey> "<intelinsidecomputer> ".. maybe..." <- Not sure about UART, but that boot loop should be caused by something phone cannot initialize or other error, can you add visible debug, that should display everything on the screen?
<intelinsidecomputer[m]>
Also how can I find dtb for my device, because when flashing that image he told me to I get dtb is missing, I tried what pmOS page said just copy the values from /proc/device-tree/model but it gives permission denied and I cannot get magisk on that phone
<FoxieFlakey>
<intelinsidecomputer> "..can you add visible debug, that should display everything on the screen?.." okay i'll try it in sometime later, kernel compile took ages
<FoxieFlakey>
because i found earlyprintk which display kernel log early
<FoxieFlakey>
after looking into kernel config, there are no earlyprintk available
<intelinsidecomputer[m]>
dr_shui[m]: Looks like the dtb value is incorrect, probably if I flashed that image successfully that's what I would get probably
<intelinsidecomputer[m]>
You need to see what /proc/device-tree/model says on your device through adb shell
<intelinsidecomputer[m]>
Other than that, how to fix that, I don't knkw
<barni2000[m]>
<dr_shui[m]> "ima_d73e872.jpeg" <- Upadet lk2nd to latest commit
<barni2000[m]>
<FoxieFlakey> "a question is there anything..." <- If you want to compile use the config from the repo
<barni2000[m]>
I have tested it on ugg
<FoxieFlakey>
<barni2000> "..use the config from the repo" <- i did use config from postmarketos' repo beecause the same kernel binary distributed by it works fine but when i compile it myself, it doesnt work i only did localyesconfig (using the repo's config as base) and enabling thinlto and no more than that
<intelinsidecomputer[m]>
<barni2000[m]> "I have tested it on ugg" <- Finally you are free, I noticed there is FFBM mode, do you know how can I use it? It boots as android but shows device unauthorized
<intelinsidecomputer[m]>
> <@barni2000:matrix.org> I have tested it on ugg
<intelinsidecomputer[m]>
* Finally you are free, I noticed there is FFBM mode, do you know how can I use it? It boots as android normally would do but only shows FFBM mode text and nothing else and in adb it shows up as unauthorized device
<barni2000[m]>
Idk how you can use ffbm mode, i only know how you can use edl and fastboot
<intelinsidecomputer[m]>
barni2000[m]: Me too, now for that dtb
<intelinsidecomputer[m]>
I don't know how to get correct values without root
<intelinsidecomputer[m]>
And I will not replace boot or recovery images at all costs
<barni2000[m]>
dmesg also needs root?
<barni2000[m]>
And no working loader for edl :(
<FoxieFlakey>
dmesg likely needs root for majority of linux based device due sensitive information in there
<Daanct12>
FoxieFlakey: linux used to not have dmesg locked behind cap_admin
<Daanct12>
so it's up to userspace to deny access to that
FoxieFlakey has quit [Quit: Leaving]
Daanct12 has quit [Quit: WeeChat 4.6.3]
<intelinsidecomputer[m]>
Btw, Is there any exploit to root the phone? Shizuku does not give me low level access to files.
FoxieFlakey has joined #msm8937-mainline
<intelinsidecomputer[m]>
Guys, I dumped the files from my phone as much as I could and noticed the lib files reference msm8937
<intelinsidecomputer[m]>
Does that mean I can also try 8937 loaders?
<NekoCWD[m]1>
<intelinsidecomputer[m]> "Does that mean I can also try 89..." <- What loaders? EDL?
<intelinsidecomputer[m]>
NekoCWD[m]1: Yeah
<NekoCWD[m]1>
It's safe to try ig
<intelinsidecomputer[m]>
NekoCWD[m]1: You're right, I will also try to form an email to doro about that device's kernel sources, loader, firmware and more only if they can give it to me
FoxieFlakey has quit [Ping timeout: 480 seconds]
<intelinsidecomputer[m]>
Nope that did not work, who could've guessed
<NekoCWD[m]1>
Can't you download official firmware for your phone?
<NekoCWD[m]1>
You can extract dts from it
<intelinsidecomputer[m]>
NekoCWD[m]1: It does not exist
<intelinsidecomputer[m]>
Also I found some recovery logs
<intelinsidecomputer[m]>
Okay I dumped some of the system and vendor, could anyone help find from what url or server the phones gets updates? I am planning something big
<NekoCWD[m]1>
<intelinsidecomputer[m]> "Okay I dumped some of the system..." <- From vendor OTA servers. There are no centralised server ig
<intelinsidecomputer[m]>
NekoCWD[m]1: Yeah, but how can I find them in the firmware, the https link must be defined somewhere but couldn't figure where
fossdd has joined #msm8937-mainline
<intelinsidecomputer[m]>
<NekoCWD[m]1> "From vendor OTA servers. There..." <- What search queries in grepwin you recommend? it just searches through the whole dump and tries to find something
<NekoCWD[m]1>
Idk, You can build lk2nd if you have boot img