Hello friends !
- I'm using Android Tool Rom, when packing the file system, I get the following error, I'm using Android 11.- Can you help me to fix this error?
- Thank you very much!
Error :
"loaded 2956 fs_config entries
Creating filesystem with parameters:
Size: 610156544
Block size: 4096
Blocks per group: 32768
Inodes per group: 7456
Inode size: 256
Journal blocks: 2327
Label: system
Blocks: 148964
Block groups: 5
Reserved block group size: 39
error: ext4_allocate_best_fit_partial: failed to allocate 5080 blocks, out of space?
"
Related
i using windows 8 and cygwin for my work! but i install complete and run android kitchen work perfect but when i extract file from system.img using ext2explorer i have some bugs, i cannot extract all file apk some file is not found but when on ext2explorer i can see all file! I don't know should i do?
Please help me to my work been continue
My log from ext2explorer
Code:
Error Opening \\.\PhysicalDrive1. Error Code 2
No of disks 1
Scanning \\.\PhysicalDrive0
index 0 ID 27 size 21848064
index 1 ID 7 size 204800
index 2 ID 7 size 144507008
index 3 ID F size 1083696705
index 4 ID 7 size 394122582
index 5 ID 7 size 147717606
index 6 ID 7 size 541856322
Partition Table Error on D:/cygwin/home/Quí/kitchen/WORKING_JBlite/system/ext4_system.img
Invalid End of sector markerBlock size 4096, inp 7840, inodesize 256
Linux Partition found on disk 2 partition 0
Error reading Inode 0 parent inode 2.
Error reading Inode 0 parent inode 11.
Error reading Inode 0 parent inode 310.
Error reading Inode 0 parent inode 505.
Error reading Inode 0 parent inode 509.
Error reading Inode 0 parent inode 513.
Error reading Inode 0 parent inode 576.
Error reading Inode 0 parent inode 587.
Error reading Inode 0 parent inode 586.
Inode 597 with file size 0
Error reading Inode 0 parent inode 596.
Error reading Inode 0 parent inode 602.
Error reading Inode 0 parent inode 604.
Error reading Inode 0 parent inode 619.
Error reading Inode 0 parent inode 661.
Error reading Inode 0 parent inode 663.
Error reading Inode 0 parent inode 676.
Error reading Inode 0 parent inode 681.
Error reading Inode 0 parent inode 675.
Error reading Inode 0 parent inode 829.
Error reading Inode 0 parent inode 828.
Error reading Inode 0 parent inode 831.
Error reading Inode 0 parent inode 837.
Error reading Inode 0 parent inode 841.
Error reading Inode 0 parent inode 845.
Error reading Inode 0 parent inode 849.
Error reading Inode 0 parent inode 853.
Error reading Inode 0 parent inode 836.
Error reading Inode 0 parent inode 858.
Error reading Inode 0 parent inode 860.
Error reading Inode 0 parent inode 862.
Error reading Inode 0 parent inode 864.
Error reading Inode 0 parent inode 866.
Error reading Inode 0 parent inode 868.
Error reading Inode 0 parent inode 870.
Error reading Inode 0 parent inode 872.
Error reading Inode 0 parent inode 857.
Error reading Inode 0 parent inode 835.
Error reading Inode 0 parent inode 833.
Inode 875 with file size 0
Error reading Inode 0 parent inode 876.
Error reading Inode 0 parent inode 508.
Error reading Inode 0 parent inode 884.
Error reading Inode 0 parent inode 931.
Error reading Inode 0 parent inode 1021.
Error reading Inode 0 parent inode 1067.
Error reading Inode 0 parent inode 1072.
Error reading Inode 0 parent inode 1074.
Error reading Inode 0 parent inode 1078.
Error reading Inode 0 parent inode 1084.
Error reading Inode 0 parent inode 1456.
Error reading Inode 0 parent inode 1463.
Error reading Inode 0 parent inode 1462.
Error reading Inode 0 parent inode 1465.
Inode 1507 with file size 0
Error reading Inode 0 parent inode 1504.
Error reading Inode 0 parent inode 1066.
Error reading Inode 0 parent inode 1514.
Error reading Inode 0 parent inode 1524.
Error reading Inode 0 parent inode 1548.
Error reading Inode 0 parent inode 1580.
Error reading Inode 0 parent inode 1513.
Error reading Inode 0 parent inode 1657.
Error reading Inode 0 parent inode 1656.
Error reading Inode 0 parent inode 1509.
Error reading Inode 0 parent inode 1662.
Error reading Inode 0 parent inode 1661.
Error reading Inode 0 parent inode 1660.
Error reading Inode 0 parent inode 1665.
Error reading Inode 0 parent inode 1681.
Error reading Inode 0 parent inode 1664.
Error reading Inode 0 parent inode 1695.
Error reading Inode 0 parent inode 1697.
Error reading Inode 0 parent inode 1700.
Error reading Inode 0 parent inode 1705.
Error reading Inode 0 parent inode 1723.
Error reading Inode 0 parent inode 1725.
Error reading Inode 0 parent inode 1721.
Error reading Inode 0 parent inode 1741.
Error reading Inode 0 parent inode 1745.
Error reading Inode 0 parent inode 1744.
Error reading Inode 0 parent inode 1773.
Error reading Inode 0 parent inode 1778.
Error reading Inode 0 parent inode 1777.
Error reading Inode 0 parent inode 1781.
Error reading Inode 0 parent inode 1780.
Error reading Inode 0 parent inode 1786.
Error reading Inode 0 parent inode 1785.
Error reading Inode 0 parent inode 1789.
Error reading Inode 0 parent inode 1788.
Error reading Inode 0 parent inode 1793.
Error reading Inode 0 parent inode 1799.
Error reading Inode 0 parent inode 1798.
Error reading Inode 0 parent inode 1792.
Error reading Inode 0 parent inode 1791.
Error reading Inode 0 parent inode 1803.
Error reading Inode 0 parent inode 1807.
Error reading Inode 0 parent inode 1806.
Error reading Inode 0 parent inode 1802.
Error reading Inode 0 parent inode 1801.
Error reading Inode 0 parent inode 1812.
Error reading Inode 0 parent inode 1811.
Error reading Inode 0 parent inode 1810.
Error reading Inode 0 parent inode 1817.
Error reading Inode 0 parent inode 1816.
Error reading Inode 0 parent inode 1815.
Error reading Inode 0 parent inode 1823.
Error reading Inode 0 parent inode 1822.
Error reading Inode 0 parent inode 1821.
Error reading Inode 0 parent inode 1829.
Error reading Inode 0 parent inode 1828.
Error reading Inode 0 parent inode 1827.
Error reading Inode 0 parent inode 1835.
Error reading Inode 0 parent inode 1834.
Error reading Inode 0 parent inode 1833.
Error reading Inode 0 parent inode 1842.
Error reading Inode 0 parent inode 1841.
Error reading Inode 0 parent inode 1855.
Error reading Inode 0 parent inode 1860.
Error reading Inode 0 parent inode 1859.
Error reading Inode 0 parent inode 1854.
Error reading Inode 0 parent inode 1853.
Error reading Inode 0 parent inode 1864.
Error reading Inode 0 parent inode 1863.
Error reading Inode 0 parent inode 1862.
Error reading Inode 0 parent inode 1772.
Error reading Inode 0 parent inode 1870.
Error reading Inode 0 parent inode 1872.
Error reading Inode 0 parent inode 1869.
Error reading Inode 0 parent inode 1868.
Error reading Inode 0 parent inode 1874.
Error reading Inode 0 parent inode 1877.
Error reading Inode 0 parent inode 1879.
Error reading Inode 0 parent inode 1876.
Error reading Inode 0 parent inode 1882.
Error reading Inode 0 parent inode 1884.
Error reading Inode 0 parent inode 1886.
Error reading Inode 0 parent inode 1881.
Error reading Inode 0 parent inode 1890.
Error reading Inode 0 parent inode 1889.
Error reading Inode 0 parent inode 1888.
Error reading Inode 0 parent inode 1892.
Error reading Inode 0 parent inode 1895.
Error reading Inode 0 parent inode 1894.
Error reading Inode 0 parent inode 1897.
Error reading Inode 0 parent inode 1902.
Error reading Inode 0 parent inode 1901.
Error reading Inode 0 parent inode 1905.
Error reading Inode 0 parent inode 1904.
Error reading Inode 0 parent inode 1908.
Error reading Inode 0 parent inode 1907.
Error reading Inode 0 parent inode 1911.
Error reading Inode 0 parent inode 1910.
Error reading Inode 0 parent inode 1914.
Error reading Inode 0 parent inode 1913.
Error reading Inode 0 parent inode 1920.
Error reading Inode 0 parent inode 1919.
Error reading Inode 0 parent inode 1923.
Error reading Inode 0 parent inode 1922.
Error reading Inode 0 parent inode 1927.
Error reading Inode 0 parent inode 1930.
Error reading Inode 0 parent inode 1929.
Error reading Inode 0 parent inode 1926.
Error reading Inode 0 parent inode 1925.
Error reading Inode 0 parent inode 1934.
Error reading Inode 0 parent inode 1937.
Error reading Inode 0 parent inode 1936.
Error reading Inode 0 parent inode 1933.
Error reading Inode 0 parent inode 1932.
Error reading Inode 0 parent inode 1940.
Error reading Inode 0 parent inode 1939.
Error reading Inode 0 parent inode 1943.
Error reading Inode 0 parent inode 1942.
Error reading Inode 0 parent inode 1948.
Error reading Inode 0 parent inode 1947.
Error reading Inode 0 parent inode 1946.
Error reading Inode 0 parent inode 1955.
Error reading Inode 0 parent inode 1954.
Error reading Inode 0 parent inode 1953.
Error reading Inode 0 parent inode 1957.
Error reading Inode 0 parent inode 1961.
Error reading Inode 0 parent inode 1960.
Error reading Inode 0 parent inode 1959.
Error reading Inode 0 parent inode 1964.
Error reading Inode 0 parent inode 1963.
Error reading Inode 0 parent inode 1967.
Error reading Inode 0 parent inode 1966.
Error reading Inode 0 parent inode 1972.
Error reading Inode 0 parent inode 1971.
Error reading Inode 0 parent inode 1970.
Error reading Inode 0 parent inode 1976.
Error reading Inode 0 parent inode 1975.
Error reading Inode 0 parent inode 1974.
Error reading Inode 0 parent inode 1982.
Error reading Inode 0 parent inode 1981.
Error reading Inode 0 parent inode 1985.
Error reading Inode 0 parent inode 1984.
Error reading Inode 0 parent inode 1980.
Error reading Inode 0 parent inode 1992.
Error reading Inode 0 parent inode 1991.
Error reading Inode 0 parent inode 1990.
Error reading Inode 0 parent inode 1994.
Error reading Inode 0 parent inode 1998.
Error reading Inode 0 parent inode 1997.
Error reading Inode 0 parent inode 1996.
Error reading Inode 0 parent inode 2000.
Error reading Inode 0 parent inode 2003.
Error reading Inode 0 parent inode 2005.
Error reading Inode 0 parent inode 2002.
Error reading Inode 0 parent inode 2009.
Error reading Inode 0 parent inode 2008.
Error reading Inode 0 parent inode 2014.
Error reading Inode 0 parent inode 2013.
Error reading Inode 0 parent inode 2012.
Error reading Inode 0 parent inode 2022.
Error reading Inode 0 parent inode 2027.
Error reading Inode 0 parent inode 2026.
Error reading Inode 0 parent inode 2021.
Error reading Inode 0 parent inode 2020.
Error reading Inode 0 parent inode 2031.
Error reading Inode 0 parent inode 2030.
Error reading Inode 0 parent inode 2029.
Error reading Inode 0 parent inode 2035.
Error reading Inode 0 parent inode 2034.
Error reading Inode 0 parent inode 2033.
Error reading Inode 0 parent inode 2039.
Error reading Inode 0 parent inode 2042.
Error reading Inode 0 parent inode 2041.
Error reading Inode 0 parent inode 2038.
Error reading Inode 0 parent inode 2037.
Error reading Inode 0 parent inode 2046.
Error reading Inode 0 parent inode 2045.
Error reading Inode 0 parent inode 2044.
Error reading Inode 0 parent inode 1867.
Error reading Inode 0 parent inode 2051.
Error reading Inode 0 parent inode 2050.
Error reading Inode 0 parent inode 2049.
Error reading Inode 0 parent inode 2053.
Error reading Inode 0 parent inode 2058.
Error reading Inode 0 parent inode 2057.
Error reading Inode 0 parent inode 2061.
Error reading Inode 0 parent inode 2060.
Error reading Inode 0 parent inode 2066.
Error reading Inode 0 parent inode 2065.
Error reading Inode 0 parent inode 2070.
Error reading Inode 0 parent inode 2069.
Error reading Inode 0 parent inode 2073.
Error reading Inode 0 parent inode 2072.
Error reading Inode 0 parent inode 2079.
Error reading Inode 0 parent inode 2083.
Error reading Inode 0 parent inode 2082.
Error reading Inode 0 parent inode 2078.
Error reading Inode 0 parent inode 2077.
Error reading Inode 0 parent inode 2087.
Error reading Inode 0 parent inode 2091.
Error reading Inode 0 parent inode 2090.
Error reading Inode 0 parent inode 2086.
Error reading Inode 0 parent inode 2085.
Error reading Inode 0 parent inode 2095.
Error reading Inode 0 parent inode 2094.
Error reading Inode 0 parent inode 2099.
Error reading Inode 0 parent inode 2098.
Error reading Inode 0 parent inode 2097.
Error reading Inode 0 parent inode 2106.
Error reading Inode 0 parent inode 2105.
Error reading Inode 0 parent inode 2104.
Error reading Inode 0 parent inode 2110.
Error reading Inode 0 parent inode 2109.
Error reading Inode 0 parent inode 2108.
Error reading Inode 0 parent inode 2117.
Error reading Inode 0 parent inode 2116.
Error reading Inode 0 parent inode 2120.
Error reading Inode 0 parent inode 2119.
Error reading Inode 0 parent inode 2115.
Error reading Inode 0 parent inode 2126.
Error reading Inode 0 parent inode 2128.
Error reading Inode 0 parent inode 2133.
Error reading Inode 0 parent inode 2132.
Error reading Inode 0 parent inode 2139.
Error reading Inode 0 parent inode 2138.
Error reading Inode 0 parent inode 2137.
Error reading Inode 0 parent inode 2145.
Error reading Inode 0 parent inode 2148.
Error reading Inode 0 parent inode 2147.
Error reading Inode 0 parent inode 2144.
Error reading Inode 0 parent inode 2143.
Error reading Inode 0 parent inode 2152.
Error reading Inode 0 parent inode 2151.
Error reading Inode 0 parent inode 2150.
Error reading Inode 0 parent inode 2048.
Error reading Inode 0 parent inode 2155.
Error reading Inode 0 parent inode 2161.
Error reading Inode 0 parent inode 2154.
Error reading Inode 0 parent inode 2165.
Error reading Inode 0 parent inode 2164.
Error reading Inode 0 parent inode 2176.
Error reading Inode 0 parent inode 2194.
Error reading Inode 0 parent inode 2197.
Error reading Inode 0 parent inode 2192.
Error reading Inode 0 parent inode 2201.
Error reading Inode 0 parent inode 2203.
Error reading Inode 0 parent inode 2200.
Error reading Inode 0 parent inode 2206.
Error reading Inode 0 parent inode 2205.
Error reading Inode 0 parent inode 2209.
Error reading Inode 0 parent inode 2211.
Error reading Inode 0 parent inode 2208.
Error reading Inode 0 parent inode 2214.
Error reading Inode 0 parent inode 2216.
Error reading Inode 0 parent inode 2213.
Error reading Inode 0 parent inode 2221.
Error reading Inode 0 parent inode 2227.
Error reading Inode 0 parent inode 2226.
Error reading Inode 0 parent inode 2233.
Error reading Inode 0 parent inode 2232.
Error reading Inode 0 parent inode 2242.
Error reading Inode 0 parent inode 2241.
Error reading Inode 0 parent inode 2246.
Error reading Inode 0 parent inode 2245.
Error reading Inode 0 parent inode 2251.
Error reading Inode 0 parent inode 2253.
Error reading Inode 0 parent inode 2250.
Error reading Inode 0 parent inode 2256.
Error reading Inode 0 parent inode 2260.
Error reading Inode 0 parent inode 2262.
Error reading Inode 0 parent inode 2259.
Error reading Inode 0 parent inode 2265.
Error reading Inode 0 parent inode 2264.
Error reading Inode 0 parent inode 2269.
Error reading Inode 0 parent inode 2268.
Error reading Inode 0 parent inode 2274.
Error reading Inode 0 parent inode 2273.
Error reading Inode 0 parent inode 2279.
Error reading Inode 0 parent inode 2278.
Error reading Inode 0 parent inode 2282.
Error reading Inode 0 parent inode 2285.
Error reading Inode 0 parent inode 2284.
Error reading Inode 0 parent inode 2288.
Error reading Inode 0 parent inode 2297.
Error reading Inode 0 parent inode 2299.
Error reading Inode 0 parent inode 2296.
Error reading Inode 0 parent inode 2305.
Error reading Inode 0 parent inode 2303.
Error reading Inode 0 parent inode 2302.
Error reading Inode 0 parent inode 2301.
Error reading Inode 0 parent inode 2310.
Error reading Inode 0 parent inode 2312.
Error reading Inode 0 parent inode 2309.
Error reading Inode 0 parent inode 2317.
Error reading Inode 0 parent inode 2319.
Error reading Inode 0 parent inode 2316.
Error reading Inode 0 parent inode 2322.
Error reading Inode 0 parent inode 2321.
Error reading Inode 0 parent inode 2327.
Error reading Inode 0 parent inode 2329.
Error reading Inode 0 parent inode 2326.
Error reading Inode 0 parent inode 1771.
Error reading Inode 0 parent inode 1770.
Error reading Inode 0 parent inode 1769.
Error reading Inode 0 parent inode 2333.
Error reading Inode 0 parent inode 1720.
Error reading Inode 0 parent inode 2338.
Error reading Inode 0 parent inode 2337.
Error reading Inode 0 parent inode 1694.
Error reading Inode 0 parent inode 2367.
Error reading Inode 0 parent inode 2373.
Error reading Inode 0 parent inode 2375.
Error reading Inode 0 parent inode 2377.
Error reading Inode 0 parent inode 2372.
Error reading Inode 0 parent inode 2380.
Error reading Inode 0 parent inode 2382.
Error reading Inode 0 parent inode 2384.
Error reading Inode 0 parent inode 2379.
Error reading Inode 0 parent inode 2371.
Error reading Inode 0 parent inode 2387.
Error reading Inode 0 parent inode 2386.
Error reading Inode 0 parent inode 2370.
Error reading Inode 0 parent inode 2369.
Error reading Inode 0 parent inode 2366.
Error reading Inode 0 parent inode 2390.
Error reading Inode 0 parent inode 2392.
Error reading Inode 0 parent inode 2389.
Error reading Inode 0 parent inode 2407.
Error reading Inode 0 parent inode 2.
Edit: I fixed bugs but i cannot deodex perfectly also have some bugs
Not have answer please Mod delete my thread
Sent from my GT-I8160 using Tapatalk 4 Beta
[*] Formatting System
Creating filesystem with parameters:
Size: 1572864000
Block size: 4096
Blocks per group: 32768
Inodes per group: 8000
Inode size: 256
Journal blocks: 6000
Label:
Blocks: 384000
Block groups: 12
Reserved block group size: 95
Created filesystem with 11/96000 inodes and 12609/384000 blocks
[*] Formatting Cache
Creating filesystem with parameters:
Size: 880803840
Block size: 4096
Blocks per group: 32768
Inodes per group: 7680
Inode size: 256
Journal blocks: 3360
Label:
Blocks: 215040
Block groups: 7
Reserved block group size: 55
Created filesystem with 11/53760 inodes and 6965/215040 blocks
[*] Formatting Dalvik
[*] Extracting System
I:TWFunc::Set_Brightness: Setting brightness control to 5
I:TWFunc::Set_Brightness: Setting brightness control to 0
I:TWFunc::Set_Brightness: Setting brightness control to 255
minzip: Error writing 32768 bytes from zip file from 0xbec2ed14: No space left on device
minzip: Process function elected to fail (in inflate)
minzip: Can't extract entry to file.
minzip: Error extracting "/system/priv-app/SecVideoPlayer.apk"
minzip: Extracted 2345 file(s)
[*] Extracting Data
minzip: Extracted 9 file(s)
[*] Symlinking
failed to mkdir /system/etc/firmware/wcd9310/wcd9310_mbhc.bin: No space left on device
symlink: failed to symlink /system/etc/firmware/wcd9310/wcd9310_mbhc.bin to /data/misc/audio/mbhc.bin: making parents failed
symlink: failed to symlink /system/etc/firmware/wcd9310/wcd9310_mbhc.bin to /data/misc/audio/mbhc.bin: No such file or directory
script aborted: symlink: some symlinks failed
symlink: some symlinks failed
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard/SpeedSoftware/Archives/yay.zip'
Error flashing zip '/sdcard/SpeedSoftware/Archives/yay.zip'
Updating partition details...
Iata backup size is 39MB, free: 2557MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:Set page: 'flash_done'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log
Trying to wipe my phone since my screen broke here are the logs after I ran fastboot -w I also don't have access to adb it was listed as unauthorized and with a broken screen I'm unable to authorize it.
Additionally, is there anything else I should do before getting rid of the phone?
HTML:
C:\>fastboot -w
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
wiping userdata...
Creating filesystem with parameters:
Size: 59751923712
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 14587872
Block groups: 446
Reserved block group size: 1024
Created filesystem with 11/3653632 inodes and 275392/14587872 blocks
target reported max download size of 536870912 bytes
wiping cache...
Creating filesystem with parameters:
Size: 268435456
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 65536
Block groups: 2
Reserved block group size: 15
Created filesystem with 11/16384 inodes and 2089/65536 blocks
erasing 'userdata'...
OKAY [ 0.164s]
sending 'userdata' (141067 KB)...
OKAY [ 4.420s]
writing 'userdata'...
(bootloader) Not allowed in locked state!
FAILED (remote failure)
finished. total time: 4.600s
Thanks,
Hi, I need your help because I can't do it anymore.
I am trying to flash the phone using ADB Installer v1.4.3 and I constantly get errors like below Error 32. I used the latest drivers, the last rom and bootloader and no luck.
Can you explain to me step by step what I am doing wrong and what should I do?
Below I also put fastboot getvar all (I use HTC_fastboot from the official HTC website)
Thank you very much for your help.
C:\adb> fastboot flash zip signed.zip
target reported max download size of 16773120 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 1261404130 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1244635106 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1227866082 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1211097058 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1194328034 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1177559010 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1160789986 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1144020962 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1127251938 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1110482914 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1093713890 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1076944866 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1060175842 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1043406818 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1026637794 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1009868770 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 993099746 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 976330722 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 959561698 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 942792674 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 926023650 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 909254626 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 892485602 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 875716578 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 858947554 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 842178530 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 825409506 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 808640482 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 791871458 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 775102434 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 758333410 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 741564386 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 724795362 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 708026338 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 691257314 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 674488290 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 657719266 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 640950242 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 624181218 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 607412194 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 590643170 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 573874146 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 557105122 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 540336098 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 523567074 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 506798050 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 490029026 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 473260002 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 456490978 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 439721954 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 422952930 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 406183906 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 389414882 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 372645858 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 355876834 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 339107810 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 322338786 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 305569762 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 288800738 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 272031714 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 255262690 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 238493666 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 221724642 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 204955618 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 188186594 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 172482530 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 155705314 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 138936290 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 122167266 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 105398242 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 89325538 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 72544226 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 55775202 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 39006178 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 22237154 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 5468130 is not a multiple of the block size 4096
sending sparse 'zip' (16376 KB)...
error: write_sparse_skip_chunk: don't care size 1261404130 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1261404130 is not a multiple of the block size 4096
OKAY [ 1.646s]
writing 'zip'...
(bootloader) zip header checking...
FAILED (remote: 32 header error)
finished. total time: 1.757s
C:\adb> fastboot getvar all
< waiting for device >
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 00.03.012_U10012131_41.09.1216
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.51.401.5
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: LC58RYA04574
(bootloader) imei: 354338064130376
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: a31_ul
(bootloader) platform: hTCBmsm8916
(bootloader) modelid: 0PE640000
(bootloader) cidnum: HTC__032
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: RUU
(bootloader) commitno-bootloader: 568aef46
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
(bootloader) mfg-name: 1101
all: Done!
I'm using a Xiaomi Redmi Note 9S with MIUI 11.0.10 which is Android 10. There seems to be some bug with root that can soft-brick your phone. When you boot into TWRP, it can no longer mount the System partition - pressing it, will do nothing.
So I connect via adb to the phone. It's root adb and I am root according to "whoami".
cat /proc/partitions output:
Code:
~ # cat /proc/partitions
major minor #blocks name
1 0 8192 ram0
1 1 8192 ram1
1 2 8192 ram2
1 3 8192 ram3
1 4 8192 ram4
1 5 8192 ram5
1 6 8192 ram6
1 7 8192 ram7
1 8 8192 ram8
1 9 8192 ram9
1 10 8192 ram10
1 11 8192 ram11
1 12 8192 ram12
1 13 8192 ram13
1 14 8192 ram14
1 15 8192 ram15
8 0 120479744 sda
8 1 8 sda1
8 2 32768 sda2
8 3 1024 sda3
8 4 512 sda4
8 5 512 sda5
8 6 131072 sda6
8 7 1048576 sda7
8 8 131072 sda8
8 9 131072 sda9
8 10 64 sda10
8 11 64 sda11
8 12 16384 sda12
8 13 393216 sda13
8 14 393216 sda14
8 15 16384 sda15
259 0 8192 sda16
259 1 8388608 sda17
259 2 109786956 sda18
8 16 8192 sdb
8 17 7168 sdb1
8 18 128 sdb2
8 64 4194304 sde
8 65 512 sde1
8 66 4096 sde2
8 67 512 sde3
8 68 262144 sde4
8 69 1024 sde5
8 70 4096 sde6
8 71 32768 sde7
8 72 8192 sde8
8 73 32768 sde9
8 74 512 sde10
8 75 512 sde11
8 76 512 sde12
8 77 128 sde13
8 78 64 sde14
8 79 2048 sde15
259 3 2048 sde16
259 4 512 sde17
259 5 4096 sde18
259 6 512 sde19
259 7 262144 sde20
259 8 1024 sde21
259 9 4096 sde22
259 10 32768 sde23
259 11 8192 sde24
259 12 32768 sde25
259 13 512 sde26
259 14 512 sde27
259 15 512 sde28
259 16 128 sde29
259 17 64 sde30
259 18 2048 sde31
259 19 2048 sde32
259 20 4 sde33
259 21 1024 sde34
259 22 256 sde35
259 23 8192 sde36
259 24 33424 sde37
259 25 4 sde38
259 26 1024 sde39
259 27 8192 sde40
259 28 2048 sde41
259 29 65536 sde42
259 30 128 sde43
259 31 32 sde44
259 32 32 sde45
259 33 512 sde46
259 34 28 sde47
259 35 512 sde48
259 36 1024 sde49
259 37 64 sde50
259 38 131072 sde51
259 39 24576 sde52
259 40 64 sde53
259 41 24576 sde54
259 42 131072 sde55
8 32 8192 sdc
8 33 7168 sdc1
8 34 128 sdc2
8 80 131072 sdf
8 81 104 sdf1
8 82 2048 sdf2
8 83 2048 sdf3
8 84 10240 sdf4
8 85 128 sdf5
8 48 131072 sdd
8 49 104 sdd1
8 50 128 sdd2
8 51 1024 sdd3
253 0 934804 dm-0
253 1 1403780 dm-1
253 2 2356452 dm-2
df -h output after flashing new .EU ROM - this is how it should look like:
Code:
~ # df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 2.7G 752.0K 2.7G 0% /dev
tmpfs 2.7G 0 2.7G 0% /mnt
tmpfs 2.7G 0 2.7G 0% /apex
tmpfs 2.7G 6.4M 2.7G 0% /tmp
/dev/block/sda18 104.7G 14.5G 90.2G 14% /data
/dev/block/sda18 104.7G 14.5G 90.2G 14% /sdcard
/dev/block/dm-1 1.3G 1.2G 33.4M 97% /vendor
/dev/block/sda13 356.0M 428.0K 328.7M 0% /cache
/dev/block/dm-2 2.2G 2.1G 109.5M 95% /system_root
/dev/block/dm-2 2.2G 2.1G 109.5M 95% /system
df -h output - what it actually looks like after soft-brick:
Code:
~ # df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 2.7G 752.0K 2.7G 0% /dev
tmpfs 2.7G 0 2.7G 0% /mnt
tmpfs 2.7G 0 2.7G 0% /apex
tmpfs 2.7G 2.6M 2.7G 0% /tmp
/dev/block/sda13 356.0M 1.1M 328.0M 0% /cache
/dev/block/sda18 104.7G 15.3G 89.4G 15% /data
/dev/block/sda18 104.7G 15.3G 89.4G 15% /sdcard
Trying to mount the "dm" devices, you can mount dm-0 and dm-1, but dm-2 (which should be system) fails:
Code:
~ # mount -r /dev/block/dm-2 /fufu/ -v -t ext4
mount: mounting /dev/block/dm-2 on /fufu/ failed: Read-only file system
DM-verity is disabled:
Code:
adb enable-verity
verity not enabled - ENG build
e2fsck fails because it claims to have no write access:
Code:
~ # e2fsck /dev/block/dm-2
e2fsck 1.44.4 (18-Aug-2018)
e2fsck: Operation not permitted while trying to open /dev/block/dm-2
You must have r/w access to the filesystem or be root
~ # whoami
root
File system is still intact. You can "dd" the dm-2 partition to some other place and access it via Linux or an ext4 viewer on Windows (https://www.diskinternals.com/linux-reader/ for example). You can also do it via adb: "adb pull /dev/block/dm-2"
When mounting (see above) and then looking in the log (dmesg):
Code:
<6>[ 1057.614782] EXT4-fs (dm-2): INFO: recovery required on readonly filesystem
<3>[ 1057.614797] EXT4-fs (dm-2): write access unavailable, cannot proceed
tune2fs for dm-1 and dm-2:
Code:
~ # tune2fs -l /dev/block/dm-1
tune2fs 1.44.4 (18-Aug-2018)
Filesystem volume name: vendor
Last mounted on: <not available>
Filesystem UUID: 6d16bab1-58d9-3c5d-8f14-f608f924affd
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode filetype extent sparse_super large_file uninit_bg
Filesystem flags: unsigned_directory_hash
Default mount options: (none)
Filesystem state: clean
Errors behavior: Remount read-only
Filesystem OS type: Linux
Inode count: 87824
Block count: 350944
Reserved block count: 0
Free blocks: 12643
Free inodes: 84860
First block: 0
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 87
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 7984
Inode blocks per group: 499
Last mount time: n/a
Last write time: Thu Jan 1 08:00:00 1970
Mount count: 0
Maximum mount count: -1
Last checked: Thu Jan 1 08:00:00 1970
Check interval: 0 (<none>)
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
~ # tune2fs -l /dev/block/dm-2
tune2fs 1.44.4 (18-Aug-2018)
Filesystem volume name: /
Last mounted on: /
Filesystem UUID: bbcb9ad2-245d-035f-a549-7d500312efe1
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode filetype needs_recovery extent sparse_super large_file uninit_bg
Filesystem flags: unsigned_directory_hash
Default mount options: (none)
Filesystem state: clean
Errors behavior: Remount read-only
Filesystem OS type: Linux
Inode count: 147456
Block count: 589113
Reserved block count: 0
Free blocks: 32124
Free inodes: 142168
First block: 0
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 143
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 8192
Inode blocks per group: 512
Last mount time: Sun Aug 2 03:07:27 2020
Last write time: Thu Jan 1 08:00:00 1970
Mount count: 4
Maximum mount count: -1
Last checked: Thu Jan 1 08:00:00 1970
Check interval: 0 (<none>)
Lifetime writes: 692 kB
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
-> dm-2 has a flag called "needs_recovery" set.
- I can run e2fsck on the dd exported image of dm-2 which recovers it fine, but I cannot dd it back to dm-2 - again no write access:
Code:
~ # dd if=/sdcard/systemfile.img of=/dev/block/dm-2
dd: writing '/dev/block/dm-2': Operation not permitted
1+0 records in
0+0 records out
0 bytes (0B) copied, 0.000131 seconds, 0B/s
Ideas how I can write anything to /dev/block/dm-2 (I also cannot change anything via tune2fs to the other dm devices).
Thank you
@herlgl You should take a look at this or this. Good luck!
have you solved? how?