Wayland 模式,屏幕缩放200%,打开android studio 糊
gsettings get org.gnome.mutter experimental-features
['scale-monitor-framebuffer']
因为自由这一个feature是打开的,所以打开android studio是糊的,没有打开wayland的原生缩放,只打开了屏幕浮点缩放
Wayland 模式,屏幕缩放200%,打开android studio 糊
gsettings get org.gnome.mutter experimental-features
['scale-monitor-framebuffer']
因为自由这一个feature是打开的,所以打开android studio是糊的,没有打开wayland的原生缩放,只打开了屏幕浮点缩放
sudo apt-get install git fakeroot build-essential ncurses-dev xz-utils libssl-dev bc flex libelf-dev bison build-essential linux-headers-$(uname -r) libncurses5-dev bc bison flex rsync libelf-dev libssl-dev debhelper-compat libncurses-dev dwarves wget libdw-dev
cd ~/sources
tar -xf linux-6.17.8.tar.xz
cd linux-6.17.8/
cp -v /boot/config-$(uname -r) .config
make menucofig # don't modify any config, just save
make -j16 bindeb-pkg LOCALVERSION=-cfm880
cd ../
cfm880@cfm880:~/sources$ ls -al linux*| #! /bin/bash | |
| if [ "$1" = "--autostart" ] ; then | |
| mkdir -p ~/.config/autostart | |
| AUTOSTART="" | |
| AUTOSTART+="[Desktop Entry]\r\n" | |
| AUTOSTART+="Type=Application\r\n" | |
| AUTOSTART+="Name=Touchpad Emulator Autostart\r\n" | |
| AUTOSTART+="Exec=sh -c \"LaunchTouchpadEmulator.sh --start-disabled --force-autorotation\"\r\n" |
| fastboot %* getvar product 2>&1 | findstr /r /c:"^product: *nabu" || echo Missmatching image and device | |
| fastboot %* getvar product 2>&1 | findstr /r /c:"^product: *nabu" || exit /B 1 | |
| fastboot %* flash partition:0 %~dp0images\gpt_both0.bin || @echo "flash partition:0 error" && exit /B 1 | |
| fastboot %* flash partition:1 %~dp0images\gpt_both1.bin || @echo "flash partition:1 error" && exit /B 1 | |
| fastboot %* flash partition:2 %~dp0images\gpt_both2.bin || @echo "flash partition:2 error" && exit /B 1 | |
| fastboot %* flash partition:3 %~dp0images\gpt_both3.bin || @echo "flash partition:3 error" && exit /B 1 | |
| fastboot %* flash partition:4 %~dp0images\gpt_both4.bin || @echo "flash partition:4 error" && exit /B 1 | |
| fastboot %* flash partition:5 %~dp0images\gpt_both5.bin || @echo "flash partition:5 error" && exit /B 1 |
PC 上操作
adb push path/to/charles-ssl-proxying-certificate.pem /scard/Download
| import os | |
| import shutil | |
| from bs4 import BeautifulSoup | |
| import re | |
| def copy_files_without_extension(): | |
| # 创建目标目录 | |
| os.makedirs('html_resources', exist_ok=True) | |
| os.makedirs('other_resources', exist_ok=True) |
https://source.android.com/docs/core/ota/sign_builds?hl=zh-cn
生成签名
subject='/C=CN/ST=Beijing/L=Chaoyang/O=CFM880/OU=CFM880/CN=CFM880/emailAddress=chengfangming1993@gmail.com'
mkdir ~/.android-certs
for x in releasekey platform shared media networkstack; do \
./development/tools/make_key ~/.android-certs/$x "$subject"; \
donesudo apt remove --purge *nvidia*
sudo apt autoremove
sudo apt install pkg-config libglvnd-dev dkms build-essential libegl-dev libegl1 libgl-dev libgl1 libgles-dev libgles1 libglvnd-core-dev libglx-dev libopengl-dev gcc make
sudo apt install dkms
sudo apt remove libnvidia-egl-wayland1
sudo vim /etc/modprobe.d/nvidia-install-disable-nouveau.confnvidia-install-disable-nouveau.conf
| FROM ubuntu:jammy | |
| RUN apt update && apt install -y locales && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 | |
| ENV LANG=en_US.utf8 | |
| RUN apt upgrade -y | |
| RUN apt install -y bison flex gettext texinfo libncurses5-dev libncursesw5-dev xxd \ | |
| git gperf automake libtool build-essential gperf genromfs \ | |
| libgmp-dev libmpc-dev libmpfr-dev libisl-dev binutils-dev libelf-dev \ | |
| libexpat1-dev gcc-multilib g++-multilib picocom u-boot-tools util-linux \ | |
| dfu-util libx11-dev libxext-dev net-tools pkgconf unionfs-fuse zlib1g-dev \ | |
| libusb-1.0-0-dev libv4l-dev libuv1-dev npm nodejs nasm yasm libdivsufsort-dev \ |
find / -name libncurses.so
/usr/lib/x86_64-linux-gnu/libncurses.so
cd /usr/lib/x86_64-linux-gnu/
ls -al libncurses*
sudo ln -s libncurses.so.6.4 libncurses.so.5
sudo ln -s libncurses.so.6.4 libtinfo.so.5