Skip to content
This repository has been archived by the owner on Dec 28, 2020. It is now read-only.

Commit

Permalink
for bpi-w2 7.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jjm2473 committed Nov 16, 2019
1 parent 45d4e43 commit 6c00bfa
Show file tree
Hide file tree
Showing 65 changed files with 44 additions and 91 deletions.
3 changes: 2 additions & 1 deletion init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ echo './proc
./storage
./system
./sys
./vendor
./mnt
./dev
./acct
./data' | xargs -n1 sh -c 'mkdir -p root/mnt/android/$0; chmod 755 root/mnt/android/$0'

chmod 750 root/mnt/android/sbin
chmod 771 root/mnt/android/data
chmod 770 root/mnt/android/cache
chmod 770 root/mnt/android/cache
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,8 @@ alias pci:v00008086d00002653sv*sd*bc*sc*i* ahci
alias pci:v00008086d00002652sv*sd*bc*sc*i* ahci
alias net-pf-24 pppoe
alias of:N*T*CRealtek,rtk1295-sdmmc* rtk_sdmmc
alias devname:ppp ppp_generic
alias char-major-108-0 ppp_generic
alias net-pf-16-proto-16-family-l2tp l2tp_netlink
alias raid6 raid456
alias raid5 raid456
Expand All @@ -311,6 +313,7 @@ alias netdev-gretap0 ip_gre
alias netdev-gre0 ip_gre
alias rtnl-link-gretap ip_gre
alias rtnl-link-gre ip_gre
alias ppp-compress-18 ppp_mppe
alias md-level-1 raid1
alias md-raid1 raid1
alias md-personality-3 raid1
Expand All @@ -329,4 +332,3 @@ alias pci:v000010ECd00008168sv*sd*bc*sc*i* r8168
alias pppox-proto-1 l2tp_ppp
alias block-major-9-* md_mod
alias md md_mod
alias fs-nfsd nfsd
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
raid0.ko: md-mod.ko
ahci.ko:
pppoe.ko:
slhc.ko:
pppoe.ko: pppox.ko ppp_generic.ko slhc.ko
rtk-sdmmc.ko:
ppp_generic.ko: slhc.ko
gre.ko:
udp_tunnel.ko:
l2tp_netlink.ko: l2tp_core.ko ip6_udp_tunnel.ko udp_tunnel.ko
Expand All @@ -13,24 +15,25 @@ dm-log.ko:
ip_gre.ko: gre.ko ip_tunnel.ko
async_xor.ko: xor.ko async_tx.ko
async_tx.ko:
ppp_mppe.ko: ppp_generic.ko slhc.ko
dm-region-hash.ko: dm-log.ko
raid6_pq.ko:
ip_tunnel.ko:
raid1.ko: md-mod.ko
linear.ko: md-mod.ko
raid10.ko: md-mod.ko
ip6_udp_tunnel.ko:
ppp_async.ko: crc-ccitt.ko
pptp.ko: gre.ko
ppp_async.ko: crc-ccitt.ko ppp_generic.ko slhc.ko
pptp.ko: gre.ko pppox.ko ppp_generic.ko slhc.ko
crc-ccitt.ko:
multipath.ko: md-mod.ko
ufsd.ko: jnl.ko
r8168.ko:
dm-mirror.ko: dm-region-hash.ko dm-log.ko
l2tp_ppp.ko: l2tp_netlink.ko l2tp_core.ko ip6_udp_tunnel.ko udp_tunnel.ko
l2tp_ppp.ko: l2tp_netlink.ko l2tp_core.ko ip6_udp_tunnel.ko udp_tunnel.ko pppox.ko ppp_generic.ko slhc.ko
async_pq.ko: async_xor.ko xor.ko async_tx.ko raid6_pq.ko
jnl.ko:
pppox.ko: ppp_generic.ko slhc.ko
md-mod.ko:
nfsd.ko:
xor.ko:
async_raid6_recov.ko: async_tx.ko raid6_pq.ko
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Device nodes to trigger on-demand module loading.
ppp_generic ppp c108:0
1 change: 1 addition & 0 deletions root/lib/modules/4.1.35-04005-dirty/modules.softdep
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Soft dependencies extracted from modules themselves.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
alias symbol:md_write_start md_mod
alias symbol:md_wakeup_thread md_mod
alias symbol:mddev_unlock md_mod
alias symbol:slhc_free slhc
alias symbol:gre_cisco_register gre
alias symbol:async_gen_syndrome async_pq
alias symbol:ppp_register_net_channel ppp_generic
alias symbol:raid6_2data_recov raid6_pq
alias symbol:async_tx_submit async_tx
alias symbol:md_is_badblock md_mod
Expand All @@ -12,17 +14,21 @@ alias symbol:md_register_thread md_mod
alias symbol:md_error md_mod
alias symbol:dm_rh_dec dm_region_hash
alias symbol:ip_tunnel_encap_del_ops ip_tunnel
alias symbol:pppox_ioctl pppox
alias symbol:dm_rh_recovery_prepare dm_region_hash
alias symbol:rdev_set_badblocks md_mod
alias symbol:raid6_call raid6_pq
alias symbol:md_find_rdev_nr_rcu md_mod
alias symbol:gre_build_header gre
alias symbol:slhc_uncompress slhc
alias symbol:md_done_sync md_mod
alias symbol:l2tp_tunnel_closeall l2tp_core
alias symbol:async_syndrome_val async_pq
alias symbol:md_allow_write md_mod
alias symbol:bitmap_end_sync md_mod
alias symbol:ppp_input ppp_generic
alias symbol:gre_cisco_unregister gre
alias symbol:register_pppox_proto pppox
alias symbol:async_tx_quiesce async_tx
alias symbol:l2tp_tunnel_delete l2tp_core
alias symbol:dm_rh_dirty_log dm_region_hash
Expand All @@ -36,18 +42,23 @@ alias symbol:dm_rh_get_region_key dm_region_hash
alias symbol:dm_dirty_log_type_register dm_log
alias symbol:dm_rh_region_context dm_region_hash
alias symbol:bio_alloc_mddev md_mod
alias symbol:slhc_remember slhc
alias symbol:register_md_personality md_mod
alias symbol:jnl_op jnl
alias symbol:md_wait_for_blocked_rdev md_mod
alias symbol:l2tp_session_delete l2tp_core
alias symbol:ip_tunnel_init ip_tunnel
alias symbol:ip_tunnel_ioctl ip_tunnel
alias symbol:ppp_channel_index ppp_generic
alias symbol:md_rdev_clear md_mod
alias symbol:md_unplug md_mod
alias symbol:md_unregister_thread md_mod
alias symbol:async_xor async_xor
alias symbol:raid6_gfexi raid6_pq
alias symbol:ppp_receive_nonmp_frame ppp_generic
alias symbol:raid5_set_cache_size raid456
alias symbol:pppox_unbind_sock pppox
alias symbol:ppp_input_error ppp_generic
alias symbol:rtk_sdmmc_remove rtk_sdmmc
alias symbol:md_update_sb md_mod
alias symbol:ip_tunnel_lookup ip_tunnel
Expand All @@ -59,6 +70,7 @@ alias symbol:async_trigger_callback async_tx
alias symbol:udp_sock_create6 ip6_udp_tunnel
alias symbol:md_set_array_sectors md_mod
alias symbol:crc_ccitt crc_ccitt
alias symbol:ppp_unit_number ppp_generic
alias symbol:ip_tunnel_delete_net ip_tunnel
alias symbol:sync_page_io md_mod
alias symbol:dm_rh_recovery_end dm_region_hash
Expand All @@ -73,8 +85,10 @@ alias symbol:l2tp_session_find l2tp_core
alias symbol:rdev_clear_badblocks md_mod
alias symbol:bitmap_endwrite md_mod
alias symbol:raid6_gfexp raid6_pq
alias symbol:slhc_toss slhc
alias symbol:dm_region_hash_destroy dm_region_hash
alias symbol:async_memcpy async_memcpy
alias symbol:ppp_dev_name ppp_generic
alias symbol:l2tp_xmit_skb l2tp_core
alias symbol:l2tp_tunnel_find_nth l2tp_core
alias symbol:ip_tunnel_changelink ip_tunnel
Expand All @@ -89,6 +103,7 @@ alias symbol:raid6_gfinv raid6_pq
alias symbol:dm_rh_stop_recovery dm_region_hash
alias symbol:l2tp_session_find_by_ifname l2tp_core
alias symbol:md_finish_reshape md_mod
alias symbol:slhc_init slhc
alias symbol:dm_rh_recovery_in_flight dm_region_hash
alias symbol:md_stop_writes md_mod
alias symbol:dm_rh_flush dm_region_hash
Expand Down Expand Up @@ -117,11 +132,14 @@ alias symbol:ip_tunnel_init_net ip_tunnel
alias symbol:ip_tunnel_xmit ip_tunnel
alias symbol:l2tp_session_create l2tp_core
alias symbol:ip_tunnel_encap ip_tunnel
alias symbol:ppp_output_wakeup ppp_generic
alias symbol:md_rdev_init md_mod
alias symbol:ip_tunnel_dst_reset_all ip_tunnel
alias symbol:dm_dirty_log_create dm_log
alias symbol:md_reload_sb md_mod
alias symbol:unregister_md_personality md_mod
alias symbol:unregister_pppox_proto pppox
alias symbol:ppp_register_compressor ppp_generic
alias symbol:udp_tunnel6_xmit_skb ip6_udp_tunnel
alias symbol:md_do_sync md_mod
alias symbol:bitmap_load md_mod
Expand All @@ -144,7 +162,11 @@ alias symbol:async_xor_val async_xor
alias symbol:l2tp_tunnel_create l2tp_core
alias symbol:gre_del_protocol gre
alias symbol:__async_tx_find_channel async_tx
alias symbol:ppp_unregister_channel ppp_generic
alias symbol:slhc_compress slhc
alias symbol:ppp_unregister_compressor ppp_generic
alias symbol:bitmap_unplug md_mod
alias symbol:ppp_register_channel ppp_generic
alias symbol:bitmap_startwrite md_mod
alias symbol:dm_rh_inc_pending dm_region_hash
alias symbol:dm_rh_update_states dm_region_hash
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added root/lib/modules/4.1.35-04005-dirty/ppp_mppe.ko
Binary file not shown.
Binary file not shown.
Binary file added root/lib/modules/4.1.35-04005-dirty/pppox.ko
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added root/lib/modules/4.1.35-04005-dirty/slhc.ko
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 0 additions & 2 deletions root/lib/modules/4.1.35-04005-g6c2818e-dirty/modules.softdep

This file was deleted.

Binary file not shown.
Binary file not shown.
8 changes: 4 additions & 4 deletions root/mnt/android/default.prop
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ debug.atrace.tags.enableflags=0
#
# BOOTIMAGE_BUILD_PROPERTIES
#
ro.bootimage.build.date=2019年 07月 11日 星期四 18:39:44 CST
ro.bootimage.build.date.utc=1562841584
ro.bootimage.build.fingerprint=realtek/rtk_kylin32/kylin32:7.1.1/N9F27C/jiangb07111839:eng/test-keys
persist.sys.usb.config=none
ro.bootimage.build.date=Tue May 29 14:09:43 CST 2018
ro.bootimage.build.date.utc=1527574183
ro.bootimage.build.fingerprint=realtek/rtk_kylin32/kylin32:7.1.1/N9F27C/mikey05291409:eng/test-keys
persist.sys.usb.config=adb
Binary file modified root/mnt/android/file_contexts.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion root/mnt/android/fstab.kylin.emmc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK

/dev/block/mmcblk0p1 /system ext4 ro,noatime wait
#/dev/block/mmcblk0p5 /vendor ext4 ro,noatime wait
/dev/block/mmcblk0p5 /vendor ext4 ro,noatime wait
/dev/block/mmcblk0p3 /cache ext4 rw,noatime,nosuid,nodev,journal_checksum,errors=continue,data_err=ignore,discard wait
#/dev/block/mmcblk0p2 /data ext4 rw,noatime,nosuid,nodev,journal_checksum,errors=continue,data_err=ignore,discard wait,forceencrypt=/cache/data-MD1
/dev/block/mmcblk0p2 /data ext4 rw,noatime,nosuid,nodev,journal_checksum,errors=continue,data_err=ignore,discard wait,encryptable=/cache/data-MD1
Expand Down
68 changes: 0 additions & 68 deletions root/mnt/android/init.kylin.rc
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,6 @@ on post-fs-data
#PPPoE conf folder
mkdir /data/misc/ppp 0775 system system

mkdir /mnt/nfs 0755 root system
mkdir /tmp/ramfs 0777 root system
mkdir /tmp/ramfs/mnt 0777 root system

mkdir /data/etc 0777 system system
mkdir /data/etc/gapps 0777 system system

on early-boot
# insert mali kernel module
insmod /system/vendor/modules/mali_kbase.ko
Expand Down Expand Up @@ -144,11 +137,7 @@ on boot

#UART device
chmod 0660 /dev/ttyS1
chmod 0777 /dev/venus_ir
chown bluetooth net_bt_stack /dev/ttyS1

#change the mode for fan
chown system system /sys/devices/platform/980070d0.pwm/dutyRate2

# rfkill
chmod 0660 /sys/class/rfkill/rfkill0/state
Expand Down Expand Up @@ -276,60 +265,3 @@ on property:persist.rtk.performancemode=1
on property:sys.boot_completed=1 && property:persist.rtk.performancemode=0
write /sys/devices/system/cpu/cpufreq/interactive/boost 0

service factorysave /system/bin/factorysave.sh
disabled
oneshot

service preinstall /system/bin/preinstall.sh
user root
group root
disable
oneshot

service c4_sddpd /system/bin/c4_sddpd
user root
group root
disable
oneshot

service hdservice /system/bin/hdservice
class main
user root
group root
oneshot

on property:sys.boot_completed=1
start preinstall
start gapps_installer

service gapps_installer /system/bin/gapps_installer.sh
user root
group root
disabled
oneshot

#jiangbo one rooot
service zidoo_root /system/bin/zidoo_root.sh
user root
group root
disabled
oneshot

service zidoo_unroot /system/bin/zidoo_unroot.sh
user root
group root
disabled
oneshot
#jiangbo one rooot

#jiangbo su daemon
service su_daemon /system/xbin/su --daemon
seclabel u:r:sudaemon:s0
oneshot

on property:persist.sys.root_access=0
stop su_daemon

on property:persist.sys.root_access=1
start su_daemon

4 changes: 0 additions & 4 deletions root/mnt/android/property_contexts
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,5 @@ persist.media.USE_RTMediaPlayer u:object_r:system_prop:s0
persist.sys.RunRTKIniSettings u:object_r:system_prop:s0
persist.gralloc.afbc.fb u:object_r:system_prop:s0
persist.gralloc.afbc.texture u:object_r:system_prop:s0
persist.bluetooth.disableabsvol u:object_r:system_prop:s0

# zidoo property
zidoo. u:object_r:system_prop:s0
#line 1 "out/target/product/kylin32/obj/ETC/sectxfile_nl_intermediates/sectxfile_nl"

Binary file modified root/mnt/android/sbin/adbd
Binary file not shown.
2 changes: 1 addition & 1 deletion root/mnt/android/selinux_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
realtek/rtk_kylin32/kylin32:7.1.1/N9F27C/jiangb06271734:eng/test-keys
realtek/rtk_kylin32/kylin32:7.1.1/N9F27C/mikey05291409:eng/test-keys
Binary file modified root/mnt/android/sepolicy
Binary file not shown.
1 change: 1 addition & 0 deletions root/mnt/android/sys.part.rc.emmc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/dev/block/mmcblk0p1 /system
/dev/block/mmcblk0p2 /data
/dev/block/mmcblk0p3 /cache
/dev/block/mmcblk0p5 /vendor
3 changes: 0 additions & 3 deletions root/mnt/android/ueventd.kylin.rc
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
/dev/rtk-md 0660 mediacodec mediacodec
/dev/rtk_btusb 0660 bluetooth net_bt_stack
/dev/ttyS1 0660 bluetooth net_bt_stack
/dev/ttyS0 0660 system system
/dev/ttyS2 0660 system system
/dev/sw_sync 0660 system graphics
/dev/uctrl 0660 media root
/dev/rpc* 0660 media graphics
Expand All @@ -29,4 +27,3 @@
/dev/i2c-* 0660 system system
/dev/snd/* 0660 system audio
/dev/graphics/* 0660 media graphics
/dev/block/sr* 0644 root root
1 change: 0 additions & 1 deletion root/mnt/android/vendor

This file was deleted.

0 comments on commit 6c00bfa

Please sign in to comment.