chenxiaolong / DualBootPatcher

Patches Android ROMs for dual boot support
https://dbp.noobdev.io
Other
527 stars 466 forks source link

I can't install Android One 8.1.0 (the zip file can support to Mi5X) #1238

Open AWhiteC opened 6 years ago

AWhiteC commented 6 years ago

I can't make my Mi 5X not only have MIUI 9, but also have Android One 8.1.0.(我不能使我的小米5X中的MIUI 9和Android One 8.1.0共存)
I Install Android One 7.1.2 haven't any problems by DualBootPatcher,but failure of Android One 8.1.0 installation.
If I don't install dual system,I have succeed to install Android One 8.1.0 by Recovery.I planned to install MIUI after install Android One but the DualBootPatcher can't open after ROOT by Magisk.
I hope the issue will be sloved.Thanks.

============= prop =============== ro.build.fingerprint=xiaomi/cm_tiffany/tiffany:7.1.2 ro.build.version.release=7.1.2 ro.build.version.incremental=45beb9ca6d ro.build.product=tiffany ro.product.device=tiffany ro.product.mod_device=unknown ro.miui.ui.version.name=unknown

file_contexts is not in package Warning: No file_contextsInstalling Mi5X_tiffany_AndroidOne_8.1.10_8.0Installing Mi5X_tiffany_AndroidOne_8.1.10_8.0

ROM ported by Aex12. ROM ported by Aex12. Installing bootInstalling boot

package_extract_file took 01s.package_extract_file took 01s. Patching system image unconditionally...

Patching system image unconditionally... package_extract_file took 394s.package_extract_file took 394s.

script succeeded: result was [1.000000]device name: /dev/block/bootdevice/by-name/system Filesystem volume name: / Last mounted on: /home/aex12/porting/system Filesystem UUID: bbcb9ad2-245d-035f-a549-7d500312efe1 Filesystem magic number: 0xEF53 Filesystem revision #: 1 (dynamic) Filesystem flags: unsigned_directory_hash Filesystem features: has_journal ext_attr resize_inode filetype extents sparse_super large_file gdt_csum Default mount options: (none) Filesystem state: clean Errors behavior: Remount read-only Filesystem os type: Linux Inode count: 193920 Block count: 774155 Reserved block count: 0 Free blocks: 69645 Free inodes: 186932 First block: 0 Block size: 4096 Reserved GDT blocks: 191 Blocks per group: 32768 Inodes per group: 8080 Inode blocks per group: 505 Last mount time: Mon Mar 5 20:13:40 2018 Last write time: Mon Mar 5 23:32:10 2018 Mount count: 4 Maximum mount count: 10 Last checked: Thu Jan 1 00:00:00 1970 Check interval: 0 () Lifetime writes: 46 MB Reserved blocks uid: 0 (user root) Reserved blocks gid: 0 (group root) First inode: 11 Inode size: 256 Required extra isize: 28 Desired extra isize: 28 Journal inode: 8 Default directory hash: tea Journal backup: inode blocks Failed to unlink '/cache/otad/otad.log' [2018-07-03T14:19:43.165593000+08:00][11343:11343][D] m/r/installer: Updater exited with status: 0

[2018-07-03T14:19:43.165737000+08:00][11343:11343][V] m/r/rom_installer: Elapsed time: 00:06:34.849 [2018-07-03T14:19:43.165785000+08:00][11343:11343][D] m/command: Running executable: /update-binary-tool [2018-07-03T06:19:43.169910000+00:00][11514:11514][D] m/r/update_binary_tool: update-binary-tool: Successfully mounted /mb/loop.system at /system [2018-07-03T14:19:43.201693000+08:00][11343:11343][D] m/r/installer: [Installer] Filesystem unmounting stage [2018-07-03T14:19:43.201843000+08:00][11343:11343][D] m/command: Running executable: /update-binary-tool [2018-07-03T06:19:43.216837000+00:00][11517:11517][D] m/r/update_binary_tool: update-binary-tool: Successfully unmounted /system [2018-07-03T14:19:43.217659000+08:00][11343:11343][D] m/command: Running executable: /update-binary-tool [2018-07-03T06:19:43.221853000+00:00][11518:11518][E] m/r/update_binary_tool: update-binary-tool: /cache: Failed to unmount: Invalid argument [2018-07-03T14:19:43.222695000+08:00][11343:11343][D] m/command: Running executable: /update-binary-tool [2018-07-03T06:19:43.225826000+00:00][11519:11519][E] m/r/update_binary_tool: update-binary-tool: /data: Failed to unmount: Invalid argument [2018-07-03T14:19:43.227289000+08:00][11343:11343][V] m/r/rom_installer: Copying temporary image to system [2018-07-03T14:19:56.315582000+08:00][11343:11343][W] m/u/multiboot: Failed to copy directory: /raw/system/etc/firmware: Permission denied [2018-07-03T14:20:16.970386000+08:00][11343:11343][W] m/u/multiboot: Failed to copy directory: /raw/system/vendor/firmware: Permission denied [2018-07-03T14:20:16.974236000+08:00][11343:11343][E] m/u/multiboot: /raw/system: Failed to copy xattrs: /raw/system: Permission denied [2018-07-03T14:20:16.974483000+08:00][11343:11343][E] m/r/installer: Failed to copy system files from /multiboot/.system.tmp to /raw/system [2018-07-03T14:20:17.351124000+08:00][11343:11343][D] m/mount: Clearing loop device /dev/block/loop2 [2018-07-03T14:20:17.351611000+08:00][11343:11343][V] m/r/rom_installer: Failed to copy /raw/data/.system.img.tmp to /raw/system [2018-07-03T14:20:17.351696000+08:00][11343:11343][D] m/r/installer: [Installer] Cleanup stage [2018-07-03T14:20:17.351734000+08:00][11343:11343][V] m/r/rom_installer: Failed to flash zip file. [2018-07-03T14:20:17.351789000+08:00][11343:11343][V] m/r/rom_installer: Destroying chroot environment [2018-07-03T14:20:19.405352000+08:00][11343:11343][E] m/r/installer: Failed to unmount /chroot/system: Invalid argument [2018-07-03T14:20:19.405478000+08:00][11343:11343][E] m/r/installer: Failed to unmount /chroot/cache: Invalid argument [2018-07-03T14:20:19.405522000+08:00][11343:11343][E] m/r/installer: Failed to unmount /chroot/data: Invalid argument [2018-07-03T14:20:19.405564000+08:00][11343:11343][E] m/r/installer: Failed to unmount /chroot/efs: Invalid argument [2018-07-03T14:20:19.406461000+08:00][11343:11343][E] m/r/installer: Failed to unmount /chroot/sbin: Invalid argument [2018-07-03T14:20:19.406521000+08:00][11343:11343][E] m/r/installer: Failed to unmount /chroot: Device or resource busy [2018-07-03T14:20:19.407935000+08:00][11343:11343][D] m/mount: Attempting to unmount /chroot/mb/install.zip [2018-07-03T14:20:19.409086000+08:00][11343:11343][D] m/mount: Attempting to unmount /chroot/mb/bind.data [2018-07-03T14:20:19.410170000+08:00][11343:11343][D] m/mount: Attempting to unmount /chroot/mb/bind.cache [2018-07-03T14:20:19.411208000+08:00][11343:11343][D] m/mount: Attempting to unmount /chroot [2018-07-03T14:20:19.427852000+08:00][11343:11343][E] m/r/installer: /efs: path not mounted [2018-07-03T14:20:19.427986000+08:00][11343:11343][V] m/r/rom_installer: The log file was saved as MultiBoot.log on the internal storage. [2018-07-03T14:20:19.428024000+08:00][11343:11343][V] m/r/installer: Finished cleanup `

deorder commented 6 years ago

Same issue for me on a One Plus One (Bacon) when installing the latest LineageOS 15.1

I think this is related to: https://github.com/chenxiaolong/DualBootPatcher/issues/982