리눅스 펌웨어 업데이트 명령 설치하기

category U5PVR 가이드 2019.04.25 09:49

안녕하세요? 


변경사항이 크게 없음에도 불구하고 새로 초기화 하여 업데이트를 하는 피곤함에.. 급작스럽게 만들어 보았습니다.


(현 업데이트 스크립트도 업데이트 될 예정입니다.)


# 스크립트 받기

root@AOL-Debian:~# wget https://github.com/djjproject/android_over_linux/raw/master/aolcommand/aolupdate -P /usr/local/bin

--2019-04-25 09:39:13--  https://github.com/djjproject/android_over_linux/raw/master/aolcommand/aolupdate

Resolving github.com (github.com)... 192.30.255.113, 192.30.255.112

Connecting to github.com (github.com)|192.30.255.113|:443... connected.

HTTP request sent, awaiting response... 302 Found

Location: https://raw.githubusercontent.com/djjproject/android_over_linux/master/aolcommand/aolupdate [following]

--2019-04-25 09:39:15--  https://raw.githubusercontent.com/djjproject/android_over_linux/master/aolcommand/aolupdate

Resolving raw.githubusercontent.com (raw.githubusercontent.com)... c151.101.0.133, 151.101.64.133, 151.101.128.133, ...

Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.

HTTP request sent, awaiting response... 200 OK

Length: 808 [text/plain]

Saving to: ‘/usr/local/bin/aolupdate’


aolupdate                 100%[====================================>]     808  --.-KB/s    in 0s      


2019-04-25 09:39:20 (5.16 MB/s) - ‘/usr/local/bin/aolupdate’ saved [808/808]


# 실행권한 주기

root@AOL-Debian:~# chmod a+x /usr/local/bin/aolupdate 



# 스크립트 실행하기

root@AOL-Debian:~# aolupdate

[info] get update file...

[info] unzip update file...


# 내역 확인

20190419 to 20190425 update

1. mpd : fix notworking problem.

2. pure-ftpd : fix not logging problem.

3. android-shell, system-rw, vendor-rw command patch


# 할꺼면 y / 아니면 CTRL+C 로 강제종료

# 이후 업데이트가 있다면 계속 물어봅니다.

[alert] apply update for 20190419? (y / ctrl+c for exit.) : y

Reading package lists... Done

Building dependency tree       

Reading state information... Done

Package 'android-tools-adb' is not installed, so not removed

0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.

--2019-04-25 09:43:50--  https://github.com/djjproject/android_over_linux/raw/master/aolcommand/adb

Resolving github.com (github.com)... 192.30.255.112, 192.30.255.113

Connecting to github.com (github.com)|192.30.255.112|:443... connected.

HTTP request sent, awaiting response... 302 Found

Location: https://raw.githubusercontent.com/djjproject/android_over_linux/master/aolcommand/adb [following]

--2019-04-25 09:43:51--  https://raw.githubusercontent.com/djjproject/android_over_linux/master/aolcommand/adb

Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...

Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.

HTTP request sent, awaiting response... 200 OK

Length: 982728 (960K) [application/octet-stream]

Saving to: ‘/usr/bin/adb’


/usr/bin/adb              100%[====================================>] 959.70K  2.82MB/s    in 0.3s    


2019-04-25 09:43:52 (2.82 MB/s) - ‘/usr/bin/adb’ saved [982728/982728]


# 완료확인

[update] update to 20190425 finished...

[info] current : 20190425


# 패치 확인

root@AOL-Debian:~# android-shell

U5ATVPLUS:/ # exit


root@AOL-Debian:~# system-rw

remount succeeded


root@AOL-Debian:~# mount

sysfs on /sys type sysfs (rw,relatime)

proc on /proc type proc (rw,relatime,gid=3009,hidepid=2)

tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=964580k,nr_inodes=120053,mode=755)

devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)

tmpfs on /dev/shm type tmpfs (rw,relatime)

tmpfs on /run type tmpfs (rw,relatime)

tmpfs on /dev/socket type tmpfs (rw,nosuid,relatime,size=964580k,nr_inodes=120053,mode=755)

tmpfs on /mnt type tmpfs (rw,relatime,size=964580k,nr_inodes=120053,mode=775,gid=1000)

/data/media on /mnt/runtime/default/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,uid=1023,gid=1023,derive=legacy,reserved=20MB)

/data/media on /mnt/runtime/read/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,uid=1023,gid=1023,derive=legacy,reserved=20MB)

/data/media on /mnt/runtime/write/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,uid=1023,gid=1023,derive=legacy,reserved=20MB)

/dev/block/mmcblk0p21 on /mnt/oscam type ext4 (rw,nosuid,nodev,noatime,noauto_da_alloc,data=ordered)

/dev/block/mmcblk0p15 on /system type ext4 (rw,noatime,data=ordered)

/dev/block/mmcblk0p21 on /data type ext4 (rw,nosuid,nodev,noatime,noauto_da_alloc,data=ordered)

/dev/block/sda1 on /media type xfs (rw,relatime,attr2,inode64,noquota)

/dev/block/sda1 on /data/linux/media type xfs (rw,relatime,attr2,inode64,noquota)

/dev/fuse on /media/plexdrive type fuse (ro,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other)

/dev/fuse on /data/linux/media/plexdrive type fuse (ro,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other)

unionfs-fuse on /media/gdrive type fuse.unionfs-fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other)

unionfs-fuse on /data/linux/media/gdrive type fuse.unionfs-fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other)

/dev/block/sda1 on /mnt/media type xfs (rw,relatime,attr2,inode64,noquota)


감사합니다.


차차 개선해보겠습니다.


댓글을 달아 주세요