發表文章

HTC U19e - Unlock - Flashing GSIs Rom

  HTC U19e - Unlock - Flashing GSIs Rom Reference Andy Yan's personal builds GSI Files,   https://sourceforge.net/projects/andyyan-gsi/files/ Generic System Images (GSIs),   https://developer.android.com/topic/generic-system-image Flashing GSIs,   https://source.android.com/docs/core/tests/vts/gsi#flashing-gsis ADB|FASTBOOT|LINUX COMMAND,   https://xdaforums.com/t/adb-fastboot-linux-commands-bootloader-kernel-recovery-rom-root-backup.3597181/ Project Treble GSI通刷ROM刷入方法,   https://forum.gamer.com.tw/C.php?bsn=60559&snA=41781 HTC U19e root方式&心得,   https://forum.gamer.com.tw/C.php?bsn=60559&snA=61118 HTC U19e Stock Rom Information Android 9 Software Number 1.00.709.30 Check the Treble GSI Requirements Install Treble Info apk from F-Droid,   https://f-droid.org/packages/tk.hack5.treblecheck/ Download 'vbmeta.img' from Google GSIs vbmeta.img,   https://dl.google.com/developers/android/qt/images/gsi/vbmeta.img Download Platform Tools, ADB/fastboot Platform Tools,   h

紅米Note 4X安裝LineageOS 18.1 Unofficial

  紅米Note 4X CPU: S625 RAM: 4G ROM: 64G OS: LineageOS 15.1 Official Recovery: TWRP 3.2.2 1. 安裝Orangefox Recovery 手機關機,按 Volume Up + Power直到mi標誌出現再放開按鈕進入TWRP,首頁點選安裝Install,OrangeFox-mido-stable@R11.1.zip 2. Wipe Dalvik/ART cache, Cache, System, Data, Vendor OrangeFox中選擇Wipe(垃圾桶圖示),點選"Dalvik/ART cache", "Cache", "System", "Data", "Vendor"執行清除。 3. Flash Latest Redmi Note 4X (mido) Firmware OrangeFox中選擇Files(資料夾圖示),點選fw_mido_miui_HMNote4XGlobal_V11.0.2.0.NCFMIXM_83170d3e3a_7.0.zip執行安裝(Install Zip,then Wipe Caches) 4. Flash LineageOS ROM OrangeFox中選擇Files(資料夾圖示),點選lineage-18.1-20210515-UNOFFICIAL-mido.zip執行安裝(Install Zip,then Wipe Caches) 5. Flash FlameGapps OrangeFox中選擇Files(資料夾圖示),點選FlameGApps-11.0-basic-arm64-20210606.zip執行安裝(Install Zip,then Wipe Caches) 6. Magisk (Option) OrangeFox中選擇Files(資料夾圖示),點選Magisk-v23.0.zip執行安裝(Install Zip,then Wipe Caches),安裝Magisk取得root權限。(SafetyNet/CTS Profile會過,但銀行App仍會偵測到) 7. Reboot OrangeFox中選擇Menu,選Reboot,

[ROCK64] rock64 安裝 docker

ROCK64 single board computer RAM: 4G ROM: 16G eMMC =================== 參考資料: https://docs.docker.com/v17.09/engine/installation/linux/docker-ce/ubuntu/#install-docker-ce-1 DOCKER Community Edition (CE) 安裝Docker CE步驟: $ sudo apt-get install \      apt-transport-https \      ca-certificates \      curl \      gnupg2 \      software-properties-common $ curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - $ sudo apt-key fingerprint 0EBFCD88 $ echo "deb [arch=arm64] https://download.docker.com/linux/debian \    $(lsb_release -cs) stable" | \    sudo tee /etc/apt/sources.list.d/docker.list $ sudo apt-get update $ sudo apt-get install docker-ce $ sudo docker run aarch64/hello-world

紅米Note 4X安裝LineageOS

紅米Note 4X CPU: S625 RAM: 4G ROM: 64G OS: MIUI 9.2.1 Global Stable 刷機步驟: 1. 小米解鎖 2. 安裝TWRP https://dl.twrp.me/mido/ twrp-3.2.2-0-mido.img 先把手機關機,按 Volume Down + Power 進入FASTBOOT模式,再使用USB連接手機於終端機下命令 fastboot flash recovery twrp-3.2.2-0-mido.img 安裝完成後 按 Volume Up + Power 同時至終端機下命令fastboot reboot,直到mi標誌出現再放開按鈕進入TWRP 避免TWRP於首次啟動時被原本的小米Recovery程式覆蓋 3. 清除資料 手機開機按 Volume Up + Power,直到mi標誌出現再放開按鈕。 進入TWRP首頁中點選Wipe,再點選Format Data並輸入yes,將手機原有的系統等資料格式化刪除 回到上頁點選Advanced Wipe,再點選Cache、System等資料partition將資料清除 清除完資料後,此時的手機已經沒有作業系統存在了 4. 安裝系統與套件 進入TWRP首頁中點選Install安裝手機作業系統與套件 LineageOS https://download.lineageos.org/mido lineage-15.1-20180731-nightly-mido-signed.zip OpenGApps https://opengapps.org/ 選擇 Platform:ARM64 Android:8.1 Variant:nano Note: LineageOS和OpenGApps要同時安裝, 因為LineageOS安裝完成且重開機登入使用之後,再進行重開機進入TWRP安裝OpenGAPP,會導致開機進入系統出現"goole服務已停止"的提醒 參考: https://wiki.lineageos.org/devices/mido/install

[Ubuntu] 修正Modelsim Linux - 編輯器editor字體過小

LinuxMint 18.3 Modelsim 10.5c 步驟: $ vim ~/.modelsim 找到 textFontV2 {{DejaVu Sans} 12} 改為 textFontV2 {{DejaVu Sans} -12} 也可調整字型大小 textFontV2 {{DejaVu Sans} -8} 存檔離開,重啟modelsim 參考: https://stackoverflow.com/questions/31555431/the-font-of-my-modelsim-is-too-small-to-see

[Ubuntu] 編譯xilinx simulation library給modelsim使用

 compile xilinx simulation library for modelsim LinuxMint, Ubuntu $ cd /opt/intelFPGA_pro/17.0/modelsim_ase $ sudo ln -s linuxaloem linuxpe $ cd /opt/Xilinx/Vivado/2017.4/bin/ $ ./vivado -mode tcl $ compile_simlib -directory ~/xilinx2017.4_lnx_lib_for_modelsim -simulator modelsim -simulator_exec_path /opt/intelFPGA_pro/17.0/modelsim_ase/linuxaloem -32bit ============================================================= Windows open windows power shell $ cd c:/ $ cd Xilinx/Vivado/2017.4/bin $ ./vivado.bat -mode tcl $ compile_simlib -directory C:\\xilinx2017.4_win_lib_for_modelsim -simulator modelsim -simulator_exec_path C:\\intelFPGA_pro\\17.0\\modelsim_ase\\win32aloem -32bit 參考: xilinx ug835

[Ubuntu] ModelSim Linux 安裝

安裝檔: ModelSimProSetup-18.0.0.219-linux.run ModelSim版本: 10.6c OS: Debian 9.6-amd64-cinnamon Install Command $ dpkg --add-architecture i386 $ apt update $ apt install libncurses5:i386 libx11-6:i386 libxext6:i386 libxft2:i386 libstdc++:i386 Environment Variables export PATH=$PATH:/opt/intelFPGA_pro/18.0/modelsim_ase/linuxaloem Unstall /opt/intelFPGA_pro/18.0/uninstall/modelsim_ase-18.0.0.219-linux-uninstall.run Note: 此環境安裝的ModelSim字體大小正常 ==================================================== 安裝檔: ModelSimSetup-17.1.0.590-linux.run ModelSim版本: 10.5b  OS: linuxmint 18.3 下載路徑: http://download.altera.com/akdlm/software/acdsinst/17.1std/590/ib_installers/ModelSimSetup-17.1.0.590-linux.run 安裝步驟: $ sudo dpkg --add-architecture i386 $ sudo apt-get install \ expat:i386 fontconfig:i386 libfreetype6:i386 libexpat1:i386 libc6:i386 \ libgtk-3-0:i386 libcanberra0:i386 libpng12-0:i386 libice6:i386 \ libsm6:i386 zlib1g:i386 unixodbc:i386 libncurses5:i386 \ libzmq3-dev:i3