ChanServ changed the topic of #msm8937-mainline to: Boot Linux on your MSM8917/37/40 and QM215 mobile! | GitHub: https://github.com/msm89x7-mainline | Logs: https://oftc.irclog.whitequark.org/msm8937-mainline | Bridged to #msm8937-mainline:kde.org on Matrix
Daanct12 has joined #msm8937-mainline
<Biswa96[m]> I had one but it does not work now. the display was broken. after changing the display+touch, touch does not work. and it heats up too much.
Daanct12 has quit [Quit: WeeChat 4.6.3]
Daanct12 has joined #msm8937-mainline
Daanct12 has quit [Quit: WeeChat 4.6.3]
Daanct12 has joined #msm8937-mainline
<barni2000[m]> focaltech is not enabled on rolex
neden[m] has joined #msm8937-mainline
Daanct12 has quit [Quit: WeeChat 4.6.3]
<neden[m]> Hey everyone!
<neden[m]> Honestly I new to all this but I own Redmi 4a and decided to install postmarketos on it. I built lk2nd from source and followed the [tutorial](https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_4A_(xiaomi-rolex)), but it resulted to endless bootloop. Lk2nd debug output shows nothing suspicious, just restarts the phone after `Jumping to kernel via monitor` (I have himax display and goodix touchscreen if this matters). Could you please
<neden[m]> advise me what should I do to solve this problem?
naysco114514[m] has joined #msm8937-mainline
<Biswa96[m]> nice, barni2000 was looking for a redmi 4a in above comments. How did you compile lk2nd?
<naysco114514[m]> is this the touch screen?
<naysco114514[m]> not working
<Biswa96[m]> that looks like the focaltech one ft5x06
<barni2000[m]> focaltech is not enabled, but i am planning to enable it so i can provide you some test build
<barni2000[m]> <neden[m]> "Hey everyone!..." <- please write the steps what you have done
<barni2000[m]> you can check lk2nd with fastboot boot lk2nd.img
<naysco114514[m]> I used this branch“ https://github.com/barni2000/linux/tree/msm89x7-6.9-rc6-playground/ ”On this branch, my touch screen can work
<barni2000[m]> naysco114514[m]: dont use that branch
<barni2000[m]> your touchscreen can be enabled easily i will do that
<neden[m]> <barni2000[m]> "please write the steps what..." <- 1. `pmbootstrap init` (vendor: qcom, codename: msm89x7)... (full message at <https://matrix.org/oftc/media/v1/media/download/AbQ5gSfiys7ov-cDCcNKGO_JtE7cPgtmuUk3iNW4QCo0xKZFAeKo3H_ODqiAJi8cipzHGVIdYfMoA_ltRBzAqDhCeYMrsdmgAG1hdHJpeC5vcmcvallnbUVOT3F6bFlpWmRGUExRVVZwZWZU>)
<barni2000[m]> no make TOOLCHAIN_PREFIX=arm-none-eabi- lk2nd-msm8937
<barni2000[m]> * > make TOOLCHAIN\_PREFIX=arm-none-eabi- lk2nd-msm8937
<barni2000[m]> no
<barni2000[m]> * > make TOOLCHAIN\_PREFIX=arm-none-eabi- lk2nd-msm8937
<barni2000[m]> no
<barni2000[m]> make TOOLCHAIN_PREFIX=arm-none-eabi- lk2nd-msm8952
<neden[m]> Sorry, just a typo
<neden[m]> 8952 actually
<barni2000[m]> Try fastboot boot lk2nd.img
<barni2000[m]> And push vol down
<neden[m]> If I press "continue", it bootloops
<barni2000[m]> dont press continue
<barni2000[m]> fastboot oem log
<barni2000[m]> it seems very few lines
<barni2000[m]> i have the same panel btw mdss_dsi_hx8394f_boe_720p_video
<barni2000[m]> log should contains the partitions from your device
<barni2000[m]> try to reflash the latest available stable miui on your device
<barni2000[m]> maybe you can just try to flash a fw package first
<barni2000[m]> for focaltech touch lk2nd also should be modified naysco114514
<neden[m]> <barni2000[m]> "maybe you can just try to..." <- The log remains pretty the same
<neden[m]> Anyway thank you so much
<neden[m]> I'll try to play around with partitions and write you back later
<barni2000[m]> maybe reflashing stock miui will help to fix it
<barni2000[m]> just don't lock your device accidentaly
<neden[m]> Okay, I will try it
<NekoCWD[m]1> Ooops, sorry
<barni2000[m]> there is a half solution there
<barni2000[m]> it not handling some dirs so not correct
<barni2000[m]> the ultimate solution would recursively check the files and skip the symlinks
<barni2000[m]> * solution would be recursively check
<barni2000[m]> the issue msm-firmware-loader make symlink from wlan dir from vendor partition what cause symlinks
<barni2000[m]> s/cause/contains/
<NekoCWD[m]1> I think that script should be rewritten in c/cpp/rust/go/etc. Complicated shell scripts looks awful for me
<barni2000[m]> Python
<barni2000[m]> Simple clean easy to modify and all distro contains it
<NekoCWD[m]1> Oh, yea, python will be easiest way
<barni2000[m]> After a shell script getting more complex it will be unreadable and unmaintainable :(