wuxianlin / android_device_oneplus_enchilada Goto Github PK
View Code? Open in Web Editor NEWOPPO OnePlus 6(enchilada) device tree for building twrp
OPPO OnePlus 6(enchilada) device tree for building twrp
issue got closed there and I was advised to open here again
Hi,
when mounting /system
it is obviously wrong mounted
By default only Data
and Firmware
are mounted when booting into recovery
.
After adb shell
you'll see:
~ # mount
rootfs on / type rootfs (rw,seclabel)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,size=3913464k,nr_inodes=978366,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600,ptmxmode=000)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,seclabel,relatime,size=3913464k,nr_inodes=978366)
pstore on /sys/fs/pstore type pstore (rw,seclabel,relatime)
none on /config type configfs (rw,relatime)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
/dev/block/bootdevice/by-name/modem_a on /firmware type vfat (ro,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/block/sda17 on /data type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/sda17 on /sdcard type ext4 (rw,seclabel,relatime,data=ordered)
after mounting /system
via TWRP you'll see:
~ # mount
linker: error reading config file "/system/etc/ld.config.txt" for "/sbin/busybox" (will use default configuration): error reading file "/system/etc/ld.config.txt": Too many symbolic links encountered
WARNING: linker: error reading config file "/system/etc/ld.config.txt" for "/sbin/busybox" (will use default configuration): error reading file "/system/etc/ld.config.txt": Too many symbolic links encountered
rootfs on / type rootfs (rw,seclabel)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,size=3913464k,nr_inodes=978366,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600,ptmxmode=000)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,seclabel,relatime,size=3913464k,nr_inodes=978366)
pstore on /sys/fs/pstore type pstore (rw,seclabel,relatime)
none on /config type configfs (rw,relatime)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
/dev/block/bootdevice/by-name/modem_a on /firmware type vfat (ro,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/block/sda17 on /data type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/sda17 on /sdcard type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/bootdevice/by-name/system_a on /system type ext4 (rw,seclabel,relatime,data=ordered)
and the expected /system/xbin
is not there
/system # l
linker: error reading config file "/system/etc/ld.config.txt" for "/sbin/busybox" (will use default configuration): error reading file "/system/etc/ld.config.txt": Too many symbolic links encountered
WARNING: linker: error reading config file "/system/etc/ld.config.txt" for "/sbin/busybox" (will use default configuration): error reading file "/system/etc/ld.config.txt": Too many symbolic links encountered
drwxr-xr-x 26 root root 4096 Jul 22 19:20 .
drwxr-xr-x 30 root root 0 Feb 3 1970 ..
drwxr-xr-x 2 root root 4096 Dec 31 2008 acct
drwxr-xr-x 2 root root 4096 Jul 22 19:20 bin
drwxr-xr-x 2 root root 4096 Dec 31 2008 bt_firmware
lrw-r--r-- 1 root root 50 Dec 31 2008 bugreports -> /data/user_de/0/com.android.shell/files/bugreports
lrw-r--r-- 1 root root 11 Dec 31 2008 cache -> /data/cache
lrw-r--r-- 1 root root 13 Dec 31 2008 charger -> /sbin/charger
dr-x------ 2 root root 4096 Dec 31 2008 config
lrw-r--r-- 1 root root 17 Dec 31 2008 d -> /sys/kernel/debug
drwxrwx--x 2 system system 4096 Dec 31 2008 data
lrw------- 1 root root 23 Dec 31 2008 default.prop -> system/etc/prop.default
drwxr-xr-x 2 root root 4096 Dec 31 2008 dev
drwxr-xr-x 2 root root 4096 Dec 31 2008 dsp
lrw-r--r-- 1 root root 11 Dec 31 2008 etc -> /system/etc
drwxr-xr-x 2 root root 4096 Dec 31 2008 firmware
-rwxr-x--- 1 root shell 1820920 Dec 31 2008 init
-rwxr-x--- 1 root shell 1450 Dec 31 2008 init.environ.rc
-rwxr-x--- 1 root shell 2776 Dec 31 2008 init.oem_ftm.rc
-rwxr-x--- 1 root shell 28864 Dec 31 2008 init.rc
-rwxr-x--- 1 root shell 1795 Dec 31 2008 init.recovery.qcom.rc
-rwxr-x--- 1 root shell 12973 Dec 31 2008 init.usb.configfs.rc
-rwxr-x--- 1 root shell 6516 Dec 31 2008 init.usb.rc
-rwxr-x--- 1 root shell 497 Dec 31 2008 init.zygote32.rc
-rwxr-x--- 1 root shell 847 Dec 31 2008 init.zygote64_32.rc
drwx------ 2 root root 16384 Dec 31 2008 lost+found
drwxr-xr-x 2 root system 4096 Dec 31 2008 mnt
drwxr-xr-x 2 root root 4096 Dec 31 2008 odm
drwxr-xr-x 2 root root 4096 Dec 31 2008 oem
drwxr-xr-x 2 root root 4096 Dec 31 2008 op1
drwxr-xr-x 2 root root 4096 Dec 31 2008 op2
drwxr-xr-x 2 root root 4096 Dec 31 2008 persist
drwxr-xr-x 2 root root 4096 Dec 31 2008 postinstall
drwxr-xr-x 2 root root 4096 Dec 31 2008 proc
drwxr-xr-x 3 root root 4096 Dec 31 2008 res
drwxr-xr-x 2 root root 4096 Dec 31 2008 root
drwxr-x--- 2 root shell 4096 Dec 31 2008 sbin
lrw-r--r-- 1 root root 21 Dec 31 2008 sdcard -> /storage/self/primary
drwxr-x--x 2 root sdcard_r 4096 Dec 31 2008 storage
drwxr-xr-x 2 root root 4096 Dec 31 2008 sys
drwxr-xr-x 19 root root 4096 Dec 31 2008 system
-rw-r--r-- 1 root root 5338 Dec 31 2008 ueventd.rc
drwxr-xr-x 2 root shell 4096 Dec 31 2008 vendor
but here:
/system/system # l
linker: error reading config file "/system/etc/ld.config.txt" for "/sbin/busybox" (will use default configuration): error reading file "/system/etc/ld.config.txt": Too many symbolic links encountered
WARNING: linker: error reading config file "/system/etc/ld.config.txt" for "/sbin/busybox" (will use default configuration): error reading file "/system/etc/ld.config.txt": Too many symbolic links encountered
drwxr-xr-x 19 root root 4096 Dec 31 2008 .
drwxr-xr-x 26 root root 4096 Jul 22 19:20 ..
drwxr-xr-x 103 root root 4096 Dec 31 2008 app
drwxr-xr-x 3 root shell 8192 Jul 24 21:55 bin
drwxr-xr-x 2 root root 4096 Dec 31 2008 bpm
-rw------- 1 root root 10408 Dec 31 2008 build.prop
-rw-r--r-- 1 root root 84340 Dec 31 2008 compatibility_matrix.xml
drwxr-xr-x 20 root root 4096 Dec 31 2008 etc
drwxr-xr-x 2 root root 4096 Dec 31 2008 fake-libs
drwxr-xr-x 2 root root 4096 Dec 31 2008 fake-libs64
drwxr-xr-x 2 root root 8192 Dec 31 2008 fonts
drwxr-xr-x 2 root root 4096 Dec 31 2008 foss
drwxr-xr-x 5 root root 4096 Jul 24 22:01 framework
drwxr-xr-x 7 root root 16384 Dec 31 2008 lib
drwxr-xr-x 6 root root 20480 Jul 24 22:02 lib64
-rw-r--r-- 1 root root 2946 Dec 31 2008 manifest.xml
drwxr-xr-x 4 root root 4096 Dec 31 2008 media
drwxr-xr-x 74 root root 4096 Dec 31 2008 priv-app
drwxr-xr-x 11 root root 4096 Dec 31 2008 reserve
drwxr-xr-x 3 root root 4096 Dec 31 2008 tts
drwxr-xr-x 9 root root 4096 Dec 31 2008 usr
lrw-r--r-- 1 root root 7 Dec 31 2008 vendor -> /vendor
drwxr-xr-x 2 root shell 12288 Jul 24 23:59 xbin
and what about the extra message that is showing up when /system
is mounted ?
linker: error reading config file "/system/etc/ld.config.txt" for "/sbin/busybox" (will use default configuration): error reading file "/system/etc/ld.config.txt": Too many symbolic links encountered
WARNING: linker: error reading config file "/system/etc/ld.config.txt" for "/sbin/busybox" (will use default configuration): error reading file "/system/etc/ld.config.txt": Too many symbolic links encountered
So from my point of view /system
is somehow strangely mounted to
/system
and /system/system
...
... which makes it almost impossible to install stuff to /system/xbin
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.