razer-cheryl2: Minimum edits to device description
{ pkgs, ... }:
-/*
- * This file has been generated by autoport.
- * **Do not** open a Pull Request without having verified the port works.
- */
{
mobile.device.name = "razer-cheryl2";
mobile.device.identity = {
mobile.hardware = {
soc = "qualcomm-sdm845";
- ram = 1024 * 0/* (in MB) To be filled by the user */;
+ ram = 1024 * 8;
screen = {
- width = 0/* To be filled by the user */; height = 0/* To be filled by the user */;
+ width = 1440; height = 2560;
};
};
mobile.boot.stage-1 = {
- kernel.package = pkgs.callPackage ./kernel { kernelPatches = pkgs.defaultKernelPatches; };
+ kernel.package = pkgs.callPackage ./kernel { };
};
mobile.system.android = {
mobile.system.type = "android";
- /* The usb mode could not be detected.
- * Assuming this is an older device, android_usb should be used.
- * For a newer device, gadgetfs is to be used.
- */
- mobile.usb.mode = null;
-
- /* To be changed by the author, though those may or may work with any device. */
+ mobile.usb.mode = "gadgetfs";
# Google
mobile.usb.idVendor = "18D1";
# "Nexus 4"
mobile.usb.idProduct = "D001";
+ mobile.usb.gadgetfs.functions = {
+ rndis = "gsi.rndis";
+ };
}
