phhusson / treble_experimentations

Notes about tinkering with Android Project Treble
3.41k stars 660 forks source link

What is a "binder"? #2582

Open Bluscream opened 1 year ago

Bluscream commented 1 year ago

I can't find any info what that means in the treble faq

phhusson commented 1 year ago

basically, there is a communication protocol between the kernel and android, called binder. and this protocol has two versions, let's call then binder32 and binder64 (really it's 7 and 8, but well). On ARM64 kernels, binder64 is the "natural" protocol, so it's always been there. On ARM kernels, the "natural" (i.e. the one that feels the more natural wrt the platform) protocol use binder32. Since Android Pie, all devices are required to use binder64, even if it's not their "natural" one. On Oreo, only Samsung is known to have ARM64 kernels, but ARM32 Android

Bluscream commented 1 year ago

Ahh thank you :pray: you might want to add that to fhe FAQ or your readme:3