This repository has been archived by the owner on Dec 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # init.sh # root/mnt/android/default.prop # root/mnt/android/file_contexts.bin # root/mnt/android/init.kylin.rc # root/mnt/android/sbin/adbd # root/mnt/android/selinux_version # root/mnt/android/sepolicy
- Loading branch information
Showing
1,089 changed files
with
10,990 additions
and
14,075 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
decompress: | ||
gunzip -k openwrt-sunxi-cortexa53-sun50i-a64-sopine-baseboard-squashfs-sdcard.img.gz | ||
|
||
find the begining of root fs: | ||
fdisk openwrt-sunxi-cortexa53-sun50i-a64-sopine-baseboard-squashfs-sdcard.img | grep Linux | ||
2: 83 178 3 12 - 211 1 13 [ 45056 - 524288] Linux files* | ||
|
||
dump root fs: | ||
dd if=openwrt-sunxi-cortexa53-sun50i-a64-sopine-baseboard-squashfs-sdcard.img of=openwrt-sunxi-cortexa53-sun50i-a64-sopine-baseboard-root-squashfs.img ibs=512 skip=45056 | ||
|
||
mount root fs: | ||
mount -t squashfs openwrt-sunxi-cortexa53-sun50i-a64-sopine-baseboard-root-squashfs.img /mnt/sunxi | ||
|
||
OR in Macos | ||
|
||
squashfuse openwrt-sunxi-cortexa53-sun50i-a64-sopine-baseboard-root-squashfs.img /mnt/sunxi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# use opkg offline mode `opkg -o / -f /etc/opkg.conf install ??` to install, then | ||
# run this on device /overlay/upper/ to package | ||
find etc/init.d/ -type f|xargs -n1 sh -c '/$0 enable' | ||
find -type f -o -type l|grep -v ./mnt|grep -v ./root/|grep -v dropbear_rsa_host_key|grep -v urandom.seed|grep -v board.json|grep -v ./etc/config/|grep -v ./etc/samba/|tar -czf /tmp/update.tar.gz -T - | ||
find -type f -o -type l|grep -v ./android|grep -v ./mnt|grep -v ./root/|grep -v dropbear_rsa_host_key|grep -v urandom.seed|grep -v board.json|grep -v ./etc/config/|grep -v ./etc/samba/|tar -czf /tmp/update.tar.gz -T - |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
/bin/busybox | ||
busybox |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
/bin/busybox | ||
busybox |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,41 @@ | ||
config core main | ||
option lang auto | ||
option mediaurlbase /luci-static/material | ||
option resourcebase /luci-static/resources | ||
|
||
config extern flash_keep | ||
option uci "/etc/config/" | ||
option dropbear "/etc/dropbear/" | ||
option openvpn "/etc/openvpn/" | ||
option passwd "/etc/passwd" | ||
option opkg "/etc/opkg.conf" | ||
option firewall "/etc/firewall.user" | ||
option uploads "/lib/uci/upload/" | ||
|
||
config internal languages | ||
option en "English" | ||
option zh_cn "中文 (Chinese)" | ||
|
||
config internal sauth | ||
option sessionpath "/tmp/luci-sessions" | ||
option sessiontime 3600 | ||
|
||
config internal ccache | ||
option enable 1 | ||
|
||
config internal themes | ||
option Bootstrap "/luci-static/bootstrap" | ||
option Material "/luci-static/material" | ||
|
||
config internal apply | ||
option rollback 30 | ||
option holdoff 4 | ||
option timeout 5 | ||
option display 1.5 | ||
|
||
config core 'main' | ||
option lang 'auto' | ||
option resourcebase '/luci-static/resources' | ||
option mediaurlbase '/luci-static/material' | ||
|
||
config extern 'flash_keep' | ||
option uci '/etc/config/' | ||
option dropbear '/etc/dropbear/' | ||
option openvpn '/etc/openvpn/' | ||
option passwd '/etc/passwd' | ||
option opkg '/etc/opkg.conf' | ||
option firewall '/etc/firewall.user' | ||
option uploads '/lib/uci/upload/' | ||
|
||
config internal 'languages' | ||
option zh_cn '中文 (Chinese)' | ||
option en 'English' | ||
|
||
config internal 'sauth' | ||
option sessionpath '/tmp/luci-sessions' | ||
option sessiontime '3600' | ||
|
||
config internal 'ccache' | ||
option enable '1' | ||
|
||
config internal 'themes' | ||
option Bootstrap '/luci-static/bootstrap' | ||
option Material '/luci-static/material' | ||
|
||
config internal 'apply' | ||
option rollback '30' | ||
option holdoff '4' | ||
option timeout '5' | ||
option display '1.5' | ||
|
||
config internal 'diag' | ||
option dns 'openwrt.org' | ||
option ping 'openwrt.org' | ||
option route 'openwrt.org' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
config minidlna config | ||
option 'enabled' '0' | ||
|
||
config minidlna 'config' | ||
option enabled '0' | ||
option user 'nobody' | ||
option port '8200' | ||
option interface 'eth0,wlan0,p2p0' | ||
option friendly_name 'OpenWrt DLNA Server' | ||
option db_dir '/var/run/minidlna' | ||
option log_dir '/var/log/minidlna' | ||
option inotify '1' | ||
option enable_tivo '0' | ||
option wide_links '0' | ||
option strict_dlna '0' | ||
option presentation_url '' | ||
option notify_interval '900' | ||
option serial '12345678' | ||
option model_number '1' | ||
option root_container '.' | ||
list media_dir '/mnt' | ||
option album_art_names 'Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg' | ||
option friendly_name 'ZIDOO_Z9S' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,76 @@ | ||
|
||
config network | ||
option init network | ||
list affects dhcp | ||
list affects radvd | ||
option init 'network' | ||
list affects 'dhcp' | ||
list affects 'radvd' | ||
|
||
config wireless | ||
list affects network | ||
list affects 'network' | ||
|
||
config firewall | ||
option init firewall | ||
list affects luci-splash | ||
list affects qos | ||
list affects miniupnpd | ||
option init 'firewall' | ||
list affects 'luci-splash' | ||
list affects 'qos' | ||
list affects 'miniupnpd' | ||
|
||
config olsr | ||
option init olsrd | ||
option init 'olsrd' | ||
|
||
config dhcp | ||
option init dnsmasq | ||
list affects odhcpd | ||
option init 'dnsmasq' | ||
list affects 'odhcpd' | ||
|
||
config odhcpd | ||
option init odhcpd | ||
option init 'odhcpd' | ||
|
||
config dropbear | ||
option init dropbear | ||
option init 'dropbear' | ||
|
||
config httpd | ||
option init httpd | ||
option init 'httpd' | ||
|
||
config fstab | ||
option init fstab | ||
option init 'fstab' | ||
|
||
config qos | ||
option init qos | ||
option init 'qos' | ||
|
||
config system | ||
option init led | ||
option init 'led' | ||
option exec '/etc/init.d/log reload' | ||
list affects luci_statistics | ||
list affects dhcp | ||
list affects 'luci_statistics' | ||
list affects 'dhcp' | ||
|
||
config luci_splash | ||
option init luci_splash | ||
option init 'luci_splash' | ||
|
||
config upnpd | ||
option init miniupnpd | ||
option init 'miniupnpd' | ||
|
||
config ntpclient | ||
option init ntpclient | ||
option init 'ntpclient' | ||
|
||
config samba | ||
option init samba | ||
option init 'samba' | ||
|
||
config tinyproxy | ||
option init tinyproxy | ||
|
||
config minidlna 'minidlna' | ||
option init 'minidlna' | ||
option init 'tinyproxy' | ||
|
||
config transmission | ||
option init 'transmission' | ||
|
||
config aria2 | ||
option init 'aria2' | ||
|
||
config afpd 'afpd' | ||
option init 'afpd' | ||
|
||
config nfsd | ||
option init 'nfsd' | ||
|
||
config vsftpd 'vsftpd' | ||
option init 'vsftpd' | ||
|
||
config minidlna 'minidlna' | ||
option init 'minidlna' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
DEVICE_MANUFACTURER='OpenWrt' | ||
DEVICE_MANUFACTURER_URL='http://openwrt.org/' | ||
DEVICE_MANUFACTURER_URL='https://openwrt.org/' | ||
DEVICE_PRODUCT='Generic' | ||
DEVICE_REVISION='v0' |
Oops, something went wrong.