test

2021年6月4日 星期五

Install Node-Red on Termux and connect with HA core

 1.Here is the way for install Node-Red on Termux

apt update

apt upgrade

apt install coreutils nano nodejs

npm i -g --unsafe-perm node-red

node-red

Then you can point a browser to check if Node-Red was installed successful or not.

http://localhost:1880

2.Now, if you want to connect Node-red with HA core, you should search in the Palette Manager (in Node-Red) for this module and install it:

node-red-contrib-home-assistant-websocket

Now you got it.

ref:

2021年4月29日 星期四

酷比魔方iPlay 30 Pro Root

###寫在前頭,記得要用新一點的ADB,不然會跳出刷機失敗的訊息

目前最新版的magisk刷完會報錯,退一檔比較適合


先解鎖(資料會被刪除),電腦安裝好聯發科的相對應硬體驅動 →

fastboot flashing unlock


電腦端:下載iPlay30 Pro韌體(記得要使用相對應目前機器的版本號的韌體),取出其中的boot.img、vbmeta.img

手機端:安裝magisk app,將boot.img導入magisk app後進行修改,將改完的boot_patched.img移至電腦內,然後利用ADB重開機至bootloader模式開刷→

adb reboot bootloader


電腦端:確認手機設備驅動安裝無誤,輸入adb指令→ adb devices  

刷入magisk修改後的boot.img 輸入adb指令→ 

fastboot --disable-verity --disable-verification flash boot magisk_patched.img


刷入原始的vbmeta.img 輸入adb指令→ 

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img


重開機完成 輸入adb指令→ 

fastboot reboot




參考資料群:

 https://forum.xda-developers.com/t/root-tutorial-android-10-alldocube-iplay30-tablet.4214603/

https://forum.xda-developers.com/t/problem-with-fastboot-root-alldocube-iplay30-android10.4211897/

https://community.umidigi.com/forum.php?mod=viewthread&tid=19114&extra=page%3D1&page=1