Please help in installing the system
-
@marekf said in Please help in installing the system:
Ubiports detected it and started the installation. He had problems with formatting (he divided for a very long time).
That sounds like the installer did not find the partitioning in the phone as it expected it to be. In other words, the partitions may not be standard.
-
@moem What to do
mf@mf-OptiPlex-3040:~/Pulpit/Xiaomi Mi A2$ fastboot getvar current-slot current-slot: a finished. total time: 0.001s mf@mf-OptiPlex-3040:~/Pulpit/Xiaomi Mi A2$ fastboot --set-active=<a|b bash: a: Nie ma takiego pliku ani katalogu b: nie znaleziono polecenia mf@mf-OptiPlex-3040:~/Pulpit/Xiaomi Mi A2$ fastboot --set-active=<a bash: a: Nie ma takiego pliku ani katalogu mf@mf-OptiPlex-3040:~/Pulpit/Xiaomi Mi A2$ fastboot getvar current-slot current-slot: a finished. total time: 0.001s mf@mf-OptiPlex-3040:~/Pulpit/Xiaomi Mi A2$ fastboot --set-active=a Setting current slot to 'a'... OKAY [ 0.011s] finished. total time: 0.011s mf@mf-OptiPlex-3040:~/Pulpit/Xiaomi Mi A2$ sudo fastboot boot '/home/mf/Pulpit/Xiaomi Mi A2/twrp-3.6.1_9-0-jasmine_sprout.img' downloading 'boot.img'... OKAY [ 0.916s] booting... OKAY [ 3.699s] finished. total time: 4.616s
-
@marekf said in Please help in installing the system:
@moem What to do
I don't know, but there is one question I have: did that phone come out with Android 10, or with an earlier version? In other words, was it on the stock version of Android?
-
@moem I do not know
-
@moem
That was the first thinking i had, but recent thread about that kind of issue talked about not being able to mount partition, there it seems to get throu, but fails reconnect abd link after reboot.That's why for a first try i suggested using previous installer.
-
@marekf said in Please help in installing the system:
@moem I do not know
Surely that is something you can find out by searching on the internet?
-
mf@mf-OptiPlex-3040:~/Pulpit/Xiaomi Mi A2$ fastboot format system Invalid erase-block-size 512: must be a power of 2 and at least 4096. Invalid logical-block-size 512: must be a power of 2 and at least 4096. mke2fs 1.45.5 (07-Jan-2020) /tmp/TemporaryFile-bXpvcU: Nie zaimplementowana funkcja biblioteki ext2 podczas ustawiania superbloku /usr/lib/android-sdk/platform-tools/mke2fs failed with status 1 mke2fs failed: 1 error: Cannot generate image for system_b mf@mf-OptiPlex-3040:~/Pulpit/Xiaomi Mi A2$ fastboot format vendor Formatting is not supported for file system with type 'raw'.
mf@mf-OptiPlex-3040:~/Pulpit/Xiaomi Mi A2$ fastboot getvar all (bootloader) crc:1 (bootloader) anti:1 (bootloader) token:MJiInxcLFmTvywq+YijRk4jmLLE= (bootloader) hw-revision:10000 (bootloader) unlocked:yes (bootloader) off-mode-charge:1 (bootloader) charger-screen-enabled:1 (bootloader) battery-soc-ok:yes (bootloader) battery-voltage:3930 (bootloader) version-baseband: (bootloader) version-bootloader: (bootloader) erase-block-size: 0x200 (bootloader) logical-block-size: 0x200 (bootloader) variant:SDM EMMC (bootloader) partition-type:userdata:ext4 (bootloader) partition-size:userdata: 0xBB77F7E00 (bootloader) partition-type:vendor_b:raw (bootloader) partition-size:vendor_b: 0x80000000 (bootloader) partition-type:vendor_a:raw (bootloader) partition-size:vendor_a: 0x80000000 (bootloader) partition-type:system_b:ext4 (bootloader) partition-size:system_b: 0xC0000000 (bootloader) partition-type:system_a:ext4 (bootloader) partition-size:system_a: 0xC0000000 (bootloader) partition-type:cache:ext4 (bootloader) partition-size:cache: 0x10000000 (bootloader) partition-type:boot_b:raw (bootloader) partition-size:boot_b: 0x4000000 (bootloader) partition-type:boot_a:raw (bootloader) partition-size:boot_a: 0x4000000 (bootloader) partition-type:minidump:raw (bootloader) partition-size:minidump: 0x8000000 (bootloader) partition-type:rawdump:raw (bootloader) partition-size:rawdump: 0x8000000 (bootloader) partition-type:modem_b:raw (bootloader) partition-size:modem_b: 0xC000000 (bootloader) partition-type:modem_a:raw (bootloader) partition-size:modem_a: 0xC000000 (bootloader) partition-type:logdump:raw (bootloader) partition-size:logdump: 0x4000000 (bootloader) partition-type:persistbak:raw (bootloader) partition-size:persistbak: 0x2000000 (bootloader) partition-type:persist:raw (bootloader) partition-size:persist: 0x2000000 (bootloader) partition-type:splash:raw (bootloader) partition-size:splash: 0x4000000 (bootloader) partition-type:mdtp_b:raw (bootloader) partition-size:mdtp_b: 0x2000000 (bootloader) partition-type:mdtp_a:raw (bootloader) partition-size:mdtp_a: 0x2000000 (bootloader) partition-type:bk1:raw (bootloader) partition-size:bk1: 0x700000 (bootloader) partition-type:bluetooth_b:raw (bootloader) partition-size:bluetooth_b: 0x100000 (bootloader) partition-type:dsp_b:raw (bootloader) partition-size:dsp_b: 0x1000000 (bootloader) partition-type:dsp_a:raw (bootloader) partition-size:dsp_a: 0x1000000 (bootloader) partition-type:modemst2:raw (bootloader) partition-size:modemst2: 0x800000 (bootloader) partition-type:modemst1:raw (bootloader) partition-size:modemst1: 0x800000 (bootloader) partition-type:fsg:raw (bootloader) partition-size:fsg: 0x800000 (bootloader) partition-type:logfs:raw (bootloader) partition-size:logfs: 0x800000 (bootloader) partition-type:devinfo:raw (bootloader) partition-size:devinfo: 0x800000 (bootloader) partition-type:misc:raw (bootloader) partition-size:misc: 0x400000 (bootloader) partition-type:xbl_b:raw (bootloader) partition-size:xbl_b: 0x380000 (bootloader) partition-type:xbl_a:raw (bootloader) partition-size:xbl_a: 0x380000 (bootloader) partition-type:sti:raw (bootloader) partition-size:sti: 0x200000 (bootloader) partition-type:bluetooth_a:raw (bootloader) partition-size:bluetooth_a: 0x100000 (bootloader) partition-type:keymaster_b:raw (bootloader) partition-size:keymaster_b: 0x100000 (bootloader) partition-type:keymaster_a:raw (bootloader) partition-size:keymaster_a: 0x100000 (bootloader) partition-type:mdtpsecapp_b:raw (bootloader) partition-size:mdtpsecapp_b: 0x400000 (bootloader) partition-type:mdtpsecapp_a:raw (bootloader) partition-size:mdtpsecapp_a: 0x400000 (bootloader) partition-type:tz_b:raw (bootloader) partition-size:tz_b: 0x400000 (bootloader) partition-type:tz_a:raw (bootloader) partition-size:tz_a: 0x400000 (bootloader) partition-type:devcfg_b:raw (bootloader) partition-size:devcfg_b: 0x100000 (bootloader) partition-type:devcfg_a:raw (bootloader) partition-size:devcfg_a: 0x100000 (bootloader) partition-type:toolsfv:raw (bootloader) partition-size:toolsfv: 0x100000 (bootloader) partition-type:ddr:raw (bootloader) partition-size:ddr: 0x100000 (bootloader) partition-type:dip:raw (bootloader) partition-size:dip: 0x100000 (bootloader) partition-type:abl_b:raw (bootloader) partition-size:abl_b: 0x100000 (bootloader) partition-type:abl_a:raw (bootloader) partition-size:abl_a: 0x100000 (bootloader) partition-type:cmnlib64_b:raw (bootloader) partition-size:cmnlib64_b: 0x100000 (bootloader) partition-type:cmnlib_b:raw (bootloader) partition-size:cmnlib_b: 0x100000 (bootloader) partition-type:cmnlib64_a:raw (bootloader) partition-size:cmnlib64_a: 0x100000 (bootloader) partition-type:cmnlib_a:raw (bootloader) partition-size:cmnlib_a: 0x100000 (bootloader) partition-type:pmic_b:raw (bootloader) partition-size:pmic_b: 0x80000 (bootloader) partition-type:pmic_a:raw (bootloader) partition-size:pmic_a: 0x80000 (bootloader) partition-type:hyp_b:raw (bootloader) partition-size:hyp_b: 0x80000 (bootloader) partition-type:hyp_a:raw (bootloader) partition-size:hyp_a: 0x80000 (bootloader) partition-type:rpm_b:raw (bootloader) partition-size:rpm_b: 0x80000 (bootloader) partition-type:rpm_a:raw (bootloader) partition-size:rpm_a: 0x80000 (bootloader) partition-type:frp:raw (bootloader) partition-size:frp: 0x80000 (bootloader) partition-type:keystore:raw (bootloader) partition-size:keystore: 0x80000 (bootloader) partition-type:msadp:raw (bootloader) partition-size:msadp: 0x40000 (bootloader) partition-type:apdp:raw (bootloader) partition-size:apdp: 0x40000 (bootloader) partition-type:oops:raw (bootloader) partition-size:oops: 0x20000 (bootloader) partition-type:storsec:raw (bootloader) partition-size:storsec: 0x20000 (bootloader) partition-type:vbmeta_b:raw (bootloader) partition-size:vbmeta_b: 0x10000 (bootloader) partition-type:vbmeta_a:raw (bootloader) partition-size:vbmeta_a: 0x10000 (bootloader) partition-type:sec:raw (bootloader) partition-size:sec: 0x5000 (bootloader) partition-type:ssd:raw (bootloader) partition-size:ssd: 0x8000 (bootloader) partition-type:limits:raw (bootloader) partition-size:limits: 0x8000 (bootloader) partition-type:fsc:raw (bootloader) partition-size:fsc: 0x2000 (bootloader) partition-type:dpo:raw (bootloader) partition-size:dpo: 0x2000 (bootloader) partition-type:switch:raw (bootloader) partition-size:switch: 0x2000 (bootloader) has-slot:modem:yes (bootloader) has-slot:system:yes (bootloader) current-slot:b (bootloader) has-slot:boot:yes (bootloader) slot-retry-count:b:6 (bootloader) slot-unbootable:b:no (bootloader) slot-successful:b:yes (bootloader) slot-retry-count:a:6 (bootloader) slot-unbootable:a:no (bootloader) slot-successful:a:no (bootloader) slot-count:2 (bootloader) secure:yes (bootloader) serialno:2a32c55 (bootloader) product:jasmine (bootloader) max-download-size:536870912 (bootloader) kernel:uefi all:
-
@marekf Can you install TWRP? If you can format the partitions through that. It looks like you have an issue with partition size.
If you can install TWRP and format the partitions, then install the correct stock ROM and try again.
I will say use a Windows PC and the Mi Flash tool to do this, making sure you DO NOT relock the bootloader. I have tried it on an Ubuntu machine and the Windows Mi Flash tool made it really easy and it worked.
(I have a Mi A2 and it was a bit finicky to get UT on, but I followed the instructions and used the Mi Flash tool to install the correct ROM.) -
@marekf
Please in futur use the code button in the post menu</>
to share code on forum, for keeping readable thread purpose.
I'll do it a second time for you in your post above.Use the tags like that :
To get this result (the best for long code share on the forum) :code_text
-
@keneda Ok
-
@marekf
Thanks -
@keneda Complicated installation I will install a custom rom aosp. Thank you for your help
-
code_text ```System uploaded success Twrp Fastboot 1.Twrp https://github.com/ubports-xiaomi-sdm660/artifacts/releases/download/20211023/firmware_jasmine_sprout_V11.0.28.0.zip 2.Download ROM, then execute flash_all.sh https://github.com/ubports-xiaomi-sdm660/artifacts/releases/download/20211023/ubuntu_touch_jasmine_global_images_V10.0.17.0.PDIMIXM_9.0.tar.gz target reported max download size of 805306368 bytes sending 'bluetooth_a' (556 KB)... OKAY [ 0.021s] writing 'bluetooth_a'... OKAY [ 0.011s] finished. total time: 0.032s target reported max download size of 805306368 bytes sending 'bluetooth_b' (556 KB)... OKAY [ 0.021s] writing 'bluetooth_b'... OKAY [ 0.005s] finished. total time: 0.027s target reported max download size of 805306368 bytes sending 'devcfg_a' (47 KB)... OKAY [ 0.006s] writing 'devcfg_a'... OKAY [ 0.004s] finished. total time: 0.011s target reported max download size of 805306368 bytes sending 'devcfg_b' (47 KB)... OKAY [ 0.007s] writing 'devcfg_b'... OKAY [ 0.004s] finished. total time: 0.011s target reported max download size of 805306368 bytes sending 'dsp_a' (16384 KB)... OKAY [ 0.507s] writing 'dsp_a'... OKAY [ 0.121s] finished. total time: 0.628s target reported max download size of 805306368 bytes sending 'dsp_b' (16384 KB)... OKAY [ 0.482s] writing 'dsp_b'... OKAY [ 0.124s] finished. total time: 0.607s target reported max download size of 805306368 bytes sending 'modem_a' (107697 KB)... OKAY [ 3.379s] writing 'modem_a'... OKAY [ 0.762s] finished. total time: 4.140s target reported max download size of 805306368 bytes sending 'modem_b' (107697 KB)... OKAY [ 3.163s] writing 'modem_b'... OKAY [ 0.772s] finished. total time: 3.935s target reported max download size of 805306368 bytes sending 'xbl_a' (2504 KB)... OKAY [ 0.085s] writing 'xbl_a'... OKAY [ 0.023s] finished. total time: 0.108s target reported max download size of 805306368 bytes sending 'xbl_b' (2504 KB)... OKAY [ 0.079s] writing 'xbl_b'... OKAY [ 0.022s] finished. total time: 0.101s target reported max download size of 805306368 bytes sending 'pmic_a' (38 KB)... OKAY [ 0.008s] writing 'pmic_a'... OKAY [ 0.004s] finished. total time: 0.012s target reported max download size of 805306368 bytes sending 'pmic_b' (38 KB)... OKAY [ 0.007s] writing 'pmic_b'... OKAY [ 0.004s] finished. total time: 0.011s target reported max download size of 805306368 bytes sending 'rpm_a' (219 KB)... OKAY [ 0.017s] writing 'rpm_a'... OKAY [ 0.005s] finished. total time: 0.022s target reported max download size of 805306368 bytes sending 'rpm_b' (219 KB)... OKAY [ 0.007s] writing 'rpm_b'... OKAY [ 0.005s] finished. total time: 0.012s target reported max download size of 805306368 bytes sending 'tz_a' (1924 KB)... OKAY [ 0.067s] writing 'tz_a'... OKAY [ 0.018s] finished. total time: 0.085s target reported max download size of 805306368 bytes sending 'tz_b' (1924 KB)... OKAY [ 0.065s] writing 'tz_b'... OKAY [ 0.018s] finished. total time: 0.083s target reported max download size of 805306368 bytes sending 'hyp_a' (272 KB)... OKAY [ 0.014s] writing 'hyp_a'... OKAY [ 0.004s] finished. total time: 0.018s target reported max download size of 805306368 bytes sending 'hyp_b' (272 KB)... OKAY [ 0.017s] writing 'hyp_b'... OKAY [ 0.004s] finished. total time: 0.021s target reported max download size of 805306368 bytes sending 'keymaster_a' (304 KB)... OKAY [ 0.018s] writing 'keymaster_a'... OKAY [ 0.006s] finished. total time: 0.023s target reported max download size of 805306368 bytes sending 'keymaster_b' (304 KB)... OKAY [ 0.018s] writing 'keymaster_b'... OKAY [ 0.029s] finished. total time: 0.047s target reported max download size of 805306368 bytes sending 'cmnlib64_a' (267 KB)... OKAY [ 0.014s] writing 'cmnlib64_a'... OKAY [ 0.005s] finished. total time: 0.019s target reported max download size of 805306368 bytes sending 'cmnlib64_b' (267 KB)... OKAY [ 0.018s] writing 'cmnlib64_b'... OKAY [ 0.006s] finished. total time: 0.024s target reported max download size of 805306368 bytes sending 'cmnlib_a' (216 KB)... OKAY [ 0.014s] writing 'cmnlib_a'... OKAY [ 0.005s] finished. total time: 0.020s target reported max download size of 805306368 bytes Marek Fiuk, [28.03.2022 18:47] sending 'cmnlib_b' (216 KB)... OKAY [ 0.008s] writing 'cmnlib_b'... OKAY [ 0.005s] finished. total time: 0.013s target reported max download size of 805306368 bytes sending 'abl_a' (148 KB)... OKAY [ 0.008s] writing 'abl_a'... OKAY [ 0.002s] finished. total time: 0.010s target reported max download size of 805306368 bytes sending 'abl_b' (148 KB)... OKAY [ 0.009s] writing 'abl_b'... OKAY [ 0.003s] finished. total time: 0.012s target reported max download size of 805306368 bytes sending 'boot_a' (28200 KB)... OKAY [ 0.869s] writing 'boot_a'... OKAY [ 0.192s] finished. total time: 1.062s target reported max download size of 805306368 bytes sending 'boot_b' (28200 KB)... OKAY [ 0.874s] writing 'boot_b'... OKAY [ 0.216s] finished. total time: 1.091s target reported max download size of 805306368 bytes erasing 'system_a'... OKAY [ 0.163s] sending sparse 'system_a' 1/3 (765908 KB)... OKAY [ 22.052s] writing 'system_a' 1/3... OKAY [ 0.000s] sending sparse 'system_a' 2/3 (786358 KB)... OKAY [ 55.758s] writing 'system_a' 2/3... OKAY [ 0.000s] sending sparse 'system_a' 3/3 (656104 KB)... OKAY [ 26.269s] writing 'system_a' 3/3... OKAY [ 0.000s] finished. total time: 104.244s target reported max download size of 805306368 bytes erasing 'system_b'... OKAY [ 0.861s] sending 'system_b' (434712 KB)... OKAY [ 13.376s] writing 'system_b'... OKAY [ 0.000s] finished. total time: 14.237s target reported max download size of 805306368 bytes sending 'vendor_a' (703802 KB)... OKAY [ 21.115s] writing 'vendor_a'... OKAY [ 0.001s] finished. total time: 21.116s target reported max download size of 805306368 bytes sending 'vendor_b' (703802 KB)... OKAY [ 20.786s] writing 'vendor_b'... OKAY [ 0.001s] finished. total time: 20.787s
-
@marekf Topic can be closed
-
-
-
-
-
-
@lakotaubp Sorry I have already corrected, thank you