Cara Connect Android ke Laptop dengan WI-FI atau USB
Jika device kondisi root
Masuk ke terminal :
su
setprop service.adb.tcp.port 5555
stop adbd
start adbdjika ingin disable
setprop service.adb.tcp.port -1
stop adb
start adbJika device kondisi non-root
colokkan kabel USB dahulu
adb tcpip 5555jika hanya menggunakan kabel usb cukup sampai disini aja. Cara berikutnya untuk menghubungkan dengan WI-FI
adb connect ip:5555Cara Mirror Smartphone ke laptop
pastikan device sudah terhubung dengan laptop jika belum bisa diikuti dulu cara sebelumnya. untuk mengecek apakah sudah terhubung atau belum bisa cek :
adb devicesinstall scrpy ikuti link dibawah ini
https://github.com/Genymobile/scrcpy
scrcpyUbuntu in Termux
apt-get update && apt-get upgrade -yapt-get install wget proot git -ygit clone https://github.com/MFDGaming/ubuntu-in-termux.gitcd ubuntu-in-termuxchmod +x ubuntu.sh./ubuntu.sh -ySetiap mau jalan kan ubuntu silakhkan ketik
./startubuntu.shBuild Web Server
Persiapan
Install web server :
apt install apache2Install database :
apt install mysql-serverProblem
AH00557: apache2: apr_sockaddr_info_get() failed for localhost
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
(13)Permission denied: AH00072: make_sock: could not bind to address [::]:80
(13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
*Jalankan :
vi /etc/apache2/apache2.confTambahkan dan simpan :
ServerName 127.0.0.1Lalu edit juga di bagian :
vi /etc/hostsServerName 127.0.0.1Plugin Android Drawable Importer
download file yang ada di link dibawah ini untuk android studio versi arctic fox
https://gitlab.com/dwiHard/LinuxAdministration/-/blob/master/Android/File/ADI-hack-0.8.ziplalu buka android studio
file->setting->plugins->setting->install plugin from diskCheck Health EMMC
Method to check EMMC’s Health
Check at /sys/class/mmchost/mmc0/mmc0:0001/lifetime via any root explorer
0x01 0x01 = 100%-90%
0x01 0x02 = 90-80%
0x01 0x03 = 80-70%
0x01 0x04 = 70-60%
0x01 0x05 = 60-50℅
0x01 0x06 = 50℅-40℅
0x01 0x07 = 40℅-30℅
0x01 0x08 = 30℅-20℅
0x01 0x09 = 30℅-20℅
0x01 0x0A = 20℅-10℅
0x0b 0x0b = Dead AFAtau download apk https://github.com/dwiHard/five_byte.github.io/blob/master/Android/File/Disk Health Checker.apk
Problem ADB Android
ADB Device Unauthorized
masuk folder /data/misc/adb lalu buat ssh key lalu masukkan ke /data/misc/adb/adb_keys