I would check the value of ro.product.device in build.prop
The value would be "sailfish" for Pixel and "marlin" for Pixel XL
Originally Posted by InterestingTwist
The problem is you don't know which system to mount
Recoveries have those values in their default.prop so it should also work without system mounted, but just in case anyone else needs it, this is how I added slot detection to AK2, grabbing it from the recovery property, then falling back to reading it directly from the commandline: https://github.com/osm0sis/AnyKernel...68c7c3d4dbb059
And there was some discussion on how to do it from the command line awhile back in here. Worth a search if you're interested. Someone said they'd take a stab a updating my odex script but I'm not sure they ever made any progress.
@osmosis I've installed your version of busybox on my devices for a while, because I trust you, and because I was having problems installing and using another much-recommended version. It seemed too much trouble for something that seems so basic. For an average end-user who only does simple stuff like flashing custom roms, sound mods, etc, is there going to be much difference between one busybox version and another? I'm just curious. Thanks for your work.
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer? | Terms of Service