[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Magendanz:
In this custom ROM...not a lot, really. I set the following in the vendor/build.prop:

ro.vendor.build.characteristics=tablet

debug.sf.latch_unsignaled=1

I also set this in the system/build.prop to change the wallpaper:

ro.config.wallpaper=/system/etc/default_wallpaper.jpg

In addition to the replacement wallpaper file at the above location, I also include this file to deal with the cold charging issue:

system/etc/init/off_mode_charge.rc:

on charger
setprop sys.powerctl reboot,leaving-off-mode-charging

And finally, I run the following Edify script:

ui_print(" ");
ui_print("*** Prepare LineageOS 19.1 package for SM-T510 ***");
ui_print(" ");

# Confirm we're working on the right device and ROM version
ui_print("- Confirming target device...");
show_progress(0.1, 5);
mount("ext4", "EMMC", "/dev/block/by-name/system", "/system_root");
mount("ext4", "EMMC", "/dev/block/by-name/vendor", "/vendor");

ui_print(" Found: " + file_getprop("/system_root/system/build.prop", "ro.build.description"));
(file_getprop("/system_root/system/build.prop", "ro.build.version.sdk") == "32") ||
abort("E3003: This update package is intended only for Android 12L builds (SDK 32).");

# Delete the stuff we know is incompatible
show_progress(0.1, 2);
ui_print("- Cleaning up legacy apps and services...");
delete_recursive("/system_root/system/overlay");
delete_recursive("/system_root/system/product/app/Jelly");
delete_recursive("/system_root/system/product/priv-app/GoogleDialer");
delete("/vendor/overlay/PixelLauncherOverlay.apk");
delete("/vendor/lib/liboemcrypto.so");

# Copy over the system update package
ui_print("- Installing new Android apps and services...");
show_progress(0.4, 20);
package_extract_dir("system_root", "/system_root");
package_extract_dir("vendor", "/vendor");

# Fix up the permissions
ui_print("- Cleaning up and setting metadata...");
show_progress(0.5, 5);
set_metadata_recursive("/system_root/system/app", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system_root/system/product/app", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system_root/system/priv-app", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system_root/system/product/priv-app", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system_root/system/lib", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_lib_file:s0");
set_metadata_recursive("/system_root/system/product/lib", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system_root/system/media", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system_root/system/product/media", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system_root/system/etc/init", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system_root/system/etc/permissions", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system_root/system/etc/preferred-apps", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system_root/system/etc/sysconfig", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system_root/system/framework", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system_root/system/etc/default_wallpaper.jpg", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system_root/system/build.prop", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0600, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system_root/vendor/etc/init", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:vendor_configs_file:s0");
set_metadata("/system_root/vendor/build.prop", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0600, "capabilities", 0x0, "selabel", "u:object_r:vendor_file:s0");
set_metadata("/system_root/vendor/default.prop", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0600, "capabilities", 0x0, "selabel", "u:object_r:vendor_file:s0");
#set_metadata("/system_root/system/bin/lpm", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "u:object_r:lpm_exec:s0");
#set_metadata("/system_root/system/phh/secure", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0666, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");

# Unmount
ui_print("- Unmounting partitions...");
show_progress(0.1, 5);
unmount("/system_root");
unmount("/vendor");

ui_print(" ");
ui_print("Installation successful.");
ui_print(" ");
set_progress(1.0);