Last active
October 19, 2023 16:41
-
-
Save KSXGitHub/f79c00af0855ef312203d2b3988dfa9a to your computer and use it in GitHub Desktop.
Revisions
-
KSXGitHub revised this gist
Oct 19, 2023 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -25,4 +25,4 @@ Assuming your monitor is 1920x1080. ## Small quality of life tweaks * **Wallpaper:** Most wallpaper apps for Android assume potrait screen and crop your beautiful 1920x1080 landscape wallpaper, which lead you seeing only a blurred corner in the main screen. Except one app named [Slideshow Wallpaper](https://github.com/Doubi88/SlideshowWallpaper). -
KSXGitHub revised this gist
Oct 19, 2023 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,3 +22,7 @@ Assuming your monitor is 1920x1080. 4. Add `set gfxpayload=1920x1080` to the `load_theme` function, under the `set gfxmode` command. 5. Change `set gfxmode={whatever}` to `set gfxmode=1920x1080`. 6. Save the `android.cfg` file, unmount `/mnt`, and then shutdown by `poweroff -f`. ## Small quality of life tweaks * Wallpaper: Most wallpaper apps for Android assume potrait screen and crop your beautiful 1920x1080 landscape wallpaper, which lead you seeing only a blurred corner in the main screen. Except one app named [Slideshow Wallpaper](https://github.com/Doubi88/SlideshowWallpaper). -
KSXGitHub revised this gist
Oct 19, 2023 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Assuming your monitor is 1920x1080. 1. Boot into Android debug mode. 2. Mount the boot partition (could be `/dev/sda1` or `/dev/vda1` or something else) to `/mnt` (don't worry if `/mnt` already have files). 3. Use `vi` to open `/mnt/boot/efi/android.cfg`. 4. Add `set gfxpayload=1920x1080` to the `load_theme` function, under the `set gfxmode` command. 5. Change `set gfxmode={whatever}` to `set gfxmode=1920x1080`. -
KSXGitHub revised this gist
Oct 19, 2023 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,8 +8,7 @@ 1. Enable Intel Virtualization Technology in the BIOS. 2. Add `intel_iommu=on iommu=pt` to your kernel parameters (of the host OS). 3. Set `Video QXL -> Video -> Model` from `QXL` to `Virtio`. Skip this step if `Video Virtio` already exists. 4. Set `Display Spice -> Listen type` to `None`. 5. Enable `Display Spice -> OpenGL`, and change to dropbox under from `Auto` to the name of your GPU. -
KSXGitHub renamed this gist
Oct 19, 2023 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
KSXGitHub created this gist
Oct 19, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ ## Prerequisites * Host OS: Linux * Program: virt-manager * Intel Virtualization Technology (to enable OpenGL for good framerate) ## OpenGL for good FPS 1. Enable Intel Virtualization Technology in the BIOS. 2. Add `intel_iommu=on iommu=pt` to your kernel parameters (of the host OS). 3. Set `Video QXL -> Video -> Model` from `QXL` to `Virtio`. * If `Videio Virtio` already exists, then skip. 4. Set `Display Spice -> Listen type` to `None`. 5. Enable `Display Spice -> OpenGL`, and change to dropbox under from `Auto` to the name of your GPU. ## Native resolution Assuming your monitor is 1920x1080. 1. Boot into Android debug mode. 2. Mount the root partition (could be `/dev/sda1` or `/dev/vda1` or something else) to `/mnt` (don't worry if `/mnt` already have files). 3. Use `vi` to open `/mnt/boot/efi/android.cfg`. 4. Add `set gfxpayload=1920x1080` to the `load_theme` function, under the `set gfxmode` command. 5. Change `set gfxmode={whatever}` to `set gfxmode=1920x1080`. 6. Save the `android.cfg` file, unmount `/mnt`, and then shutdown by `poweroff -f`.