decided to write a guide on how to mainline the rest of the patches for the pinephone pro: https://forum.mainlining.org/t/upstream-pinephone-pro-patches/138

no programming experience required (well maybe just a tad)! just a willingness to learn. also you need the pinephone pro to be able to mainline :P

#PinephonePro #MobileLinux #LinuxMobile

Upstream Pinephone Pro Patches!

This is a noob-friendly guide on how to mainline patches to mainline linux for the pinephone pro (short form: ppp). This should help you get your first patch into the Linux kernel! Any questions? Ask away! What does “mainlining” mean exactly? An Android or Linux device usually has some drivers to make peripherals (eg. touchscreen, battery, etc.) work. The problem is that these devices usually run an outdated Linux kernel. That means you are constantly rebasing and testing changes on top of main...

Mainlining

huh i turned the wifi off & screen off in phosh by dragging the brightness slider all the way to zero. within a few minutes it went from 31% to 92% all from a cable plugged into a laptop

had to restart the phone by physically taking the battery out but it seems like there is a battery charger driver and battery driver already in linux?

dunno if the battery is in a weird state, i recently plugged the ppp into an external monitor and it drained from 70-0% in a few seconds o_O

@adrianyyy could u allow forum posts to be edited indefinitely? seems like discourse only allows editting for only a day or so
@Logical_Error will look into it!
@Logical_Error should be done :)

@adrianyyy hm seems like editing older posts shows me “An error occurred: You are not permitted to view the requested resource”

edit: huh i could finally confirm my changes if i spam it

i did create a post underneath mine and tried to delete it. doesnt seem like it actually deleted from the forum tho and shows the original content in the edit history. can this be changed to actually delete the post in question?

@Logical_Error like this? :D
@adrianyyy yup thanks! looks like the posts in question deleted themselves too :D

@Logical_Error Great to see others working on mainlining these devices!

A note about sign-off-by tags though, as far as I've been able to figure out, you should not add a signed-off-by tag for someone else. If you want to include it, you should send the patch to them to review before sending it to the lkml. A signed-off-by tag indicates the signer agrees to the DCO, which isn't possible if they haven't seen the patch.

@aren oh gotcha thanks! i always trip up with these tags myself. ill edit this to include this info thanks!
@Logical_Error actually programing experience is required to submit kernel patches. Submitter is expected to understand the patch.

@pavel shhh! im trying to get people interested in mainlining! :P

but u are right ill make sure to add that u should understand the patch u are sending. thanks!