[F1 geek stuff] UFS information, details about LUNs and partition scheme - Xiaomi Poco F1 Guides, News, & Discussion

Hi,
i started to gather some informations about the internals of the F1 and how the interal storage is arranged on these devices.
The Poco F1 uses a UFS component on the mainboard with 64GB/128GB/256GB capacity.
E.g. for the 128GB variants i found specific part numbers:
SKhynix H28S8Q302CMR
Samsung KLUDG4U1EA-B0C1
Unfortunately there a no detailed datasheet available for these components, as they seem to be confidential.
The sector sizes are 4096Bytes on these parts. The over all capacity varies depending on model.
Anyway, UFS technology allows to create several LUNs inside the chip and thats how it all shows up in underlying linux/android system (see the attached whitepaper for details as well).
After i had a look in the stock firmware package, i could easily put things together and get information about all partitions in detail.
/dev/block/sda -> LUN 0 - HLOS LUN
Code:
pre: 24k, next: 1M-24k
/dev/block/sda1 partition label="switch" size_in_kb="16" type="6A4AFEF7-0D3F-453A-8A48-6373F67FFFF0" bootable="false" readonly="false" filename="dummy.img" (all zero)
/dev/block/sda2 partition label="ssd" size_in_kb="32" type="2C86E742-745E-4FDD-BFD8-B6A7AC638772" bootable="false" readonly="false" filename=""
/dev/block/sda3 partition label="bk01" size_in_kb="440" type="7B00B63B-DB10-4A44-B544-14D344F55DAC" bootable="false" readonly="false" filename=""
/dev/block/sda4 partition label="bk02" size_in_kb="256" type="53E5B8DE-C6A6-4767-875F-6B72ECBED0B0" bootable="false" readonly="false" filename=""
/dev/block/sda5 partition label="bk03" size_in_kb="256" type="7C7E2B25-D52C-4829-BA6E-76408DF1B3CE" bootable="false" readonly="false" filename=""
pre: 1M, next: 32-1M
/dev/block/sda6 partition label="keystore" size_in_kb="512" type="DE7D4029-0F5B-41C8-AE7E-F6C023A02B33" bootable="false" readonly="false" filename=""
/dev/block/sda7 partition label="frp" size_in_kb="512" type="91B72D4D-71E0-4CBF-9B8E-236381CFF17A" bootable="false" readonly="false" filename=""
/dev/block/sda8 partition label="bk04" size_in_kb="2048" type="3FB510F6-4E73-49E7-9BDB-F6FEABA6086A" bootable="false" readonly="false" filename=""
/dev/block/sda9 partition label="misc" size_in_kb="4096" type="82ACC91F-357C-4A68-9C8F-689E1B1A23A1" bootable="false" readonly="false" filename="misc.img"
/dev/block/sda10 partition label="logfs" size_in_kb="8192" type="BC0330EB-3410-4951-A617-03898DBE3372" bootable="false" readonly="false" filename="logfs_ufs_8mb.bin"
/dev/block/sda11 partition label="oops" size_in_kb="16384" type="C549751F-0A51-4334-A85E-7D3F4FDB3127" bootable="false" readonly="false" filename=""
pre: 32M, next: 32M
/dev/block/sda12 partition label="devinfo" size_in_kb="16384" type="65ADDCF4-0C5C-4D9A-AC2D-D90B5CBFCD03" bootable="false" readonly="false" filename=""
/dev/block/sda13 partition label="bk05" size_in_kb="16384" type="4EF51EBC-5BF2-410B-8970-C2CE87227DF6" bootable="false" readonly="false" filename=""
pre: 64M, next: 2*64M
/dev/block/sda14 partition label="persist" size_in_kb="65536" type="6C95E238-E343-4BA8-B489-8681ED22AD0B" bootable="false" readonly="false" filename="" sparse="true"
/dev/block/sda15 partition label="persistbak" size_in_kb="65536" type="6C95E238-E343-4BA8-B489-8681ED22AD0B" bootable="false" readonly="false" filename="" sparse="true"
pre: 3*64M, next: 3*64M=192M
/dev/block/sda16 partition label="logdump" size_in_kb="65536" type="5AF80809-AABB-4943-9168-CDFC38742598" readonly="false" bootable="false" filename=""
/dev/block/sda17 partition label="minidump" size_in_kb="131072" type="71D24153-E4E2-4275-815C-08E10959803B" readonly="false" bootable="false" filename=""
pre: 6*64M, next: 18*64M=832M
/dev/block/sda18 partition label="cust" size_in_kb="851968" type="C3008246-512A-4FEB-8A51-068FA4AD5F6D" bootable="false" readonly="false" filename="cust.img" sparse="true"
/dev/block/sda19 partition label="recovery" size_in_kb="65536" type="9D72D4E4-9958-42DA-AC26-BEA7A90B0434" bootable="false" readonly="false" filename="recovery.img"
/dev/block/sda20 partition label="cache" size_in_kb="262144" type="5594C694-C871-4B5F-90B1-690A6F68E0F7" bootable="false" readonly="false" filename="cache.img" sparse="true"
pre: 24*64M, next: left
/dev/block/sda21 partition label="userdata" size_in_kb="4194304" type="1B81E7E6-F50D-419B-A739-2AEEF8DA3335" bootable="false" readonly="false" filename="userdata.img" sparse="true"
/dev/block/sdb -> LUN 1 - Boot LUN A
Code:
pre: 24k
/dev/block/sdb1 partition label="xbl_config_a" size_in_kb="512" type="5A325AE4-4276-B66D-0ADD-3494DF27706A" bootable="false" readonly="true" filename="xbl_config.img"
/dev/block/sdb2 partition label="xbl_a" size_in_kb="7168" type="DEA0BA2C-CBDD-4805-B4F9-F428251C3E98" bootable="false" readonly="true" filename="xbl.img"
partition label="last_parti" size_in_kb="0" type="00000000-0000-0000-0000-000000000000" bootable="false" readonly="true" filename=""
/dev/block/sdc -> LUN 2 - Boot LUN B
Code:
pre: 24k
/dev/block/sdc1 partition label="xbl_config_b" size_in_kb="512" type="5A325AE4-4276-B66D-0ADD-3494DF27706A" bootable="false" readonly="true" filename="xbl_config.img"
/dev/block/sdc2 partition label="xbl_b" size_in_kb="7168" type="DEA0BA2C-CBDD-4805-B4F9-F428251C3E98" bootable="false" readonly="true" filename="xbl.img"
partition label="last_parti" size_in_kb="0" type="00000000-0000-0000-0000-000000000000" bootable="false" readonly="true" filename=""
/dev/block/sdd -> LUN 3 - OTP LUN
Code:
/dev/block/sdd1 partition label="bk31" size_in_kb="32" type="D37A3651-9C07-467D-9898-E83881B4B1EC" bootable="false" readonly="true"
/dev/block/sdd2 partition label="cdt" size_in_kb="128" type="A19F205F-CCD8-4B6D-8F1E-2D9BC24CFFB1" bootable="false" readonly="true" filename=""
/dev/block/sdd3 partition label="bk32" size_in_kb="864" type="97312B22-8EDC-45E2-853A-1FE3D41083E4" bootable="false" readonly="true" filename=""
/dev/block/sdd4 partition label="ddr" size_in_kb="1024" type="20A0C19C-286A-42FA-9CE7-F64C3226A794" bootable="false" readonly="true"
/dev/block/sdd5 partition label="bk33" size_in_kb="1024" type="6CE93C62-BC7F-4D47-97CD-0095F8EED0FC" bootable="false" readonly="true" filename=""
partition label="last_parti" size_in_kb="0" type="00000000-0000-0000-0000-000000000000" bootable="false" readonly="true" filename=""
/dev/block/sde -> LUN 4 - Protected RO LUN
Code:
pre: 24k, next: 1M-24k
/dev/block/sde1 partition label="sec" size_in_kb="32" type="303E6AC3-AF15-4C54-9E9B-D9A8FBECF401" bootable="false" readonly="true" filename=""
/dev/block/sde2 partition label="limits" size_in_kb="32" type="10A0C19C-516A-5444-5CE3-664C3226A794" bootable="false" readonly="true" filename="dummy.img"
/dev/block/sde3 partition label="bk41" size_in_kb="168" type="2191E897-1B50-410A-9190-1ADD6203484B" bootable="false" readonly="true" filename=""
/dev/block/sde4 partition label="qupfw_a" size_in_kb="128" type="21D1219F-2ED1-4AB4-930A-41A16AE75f7F" bootable="false" readonly="true" filename="qupfw.img"
/dev/block/sde5 partition label="qupfw_b" size_in_kb="128" type="7E2F513D-7D9E-4C69-8607-FF9C796896FF" bootable="false" readonly="true" filename="qupfw.img"
/dev/block/sde6 partition label="apdp" size_in_kb="256" type="E6E98DA2-E22A-4D12-AB33-169E7DEAA507" bootable="false" readonly="true" filename=""
/dev/block/sde7 partition label="msadp" size_in_kb="256" type="ED9E8101-05FA-46B7-82AA-8D58770D200B" bootable="false" readonly="true" filename=""
pre: 1M, next: 16-1M
/dev/block/sde8 partition label="vbmeta" size_in_kb="128" type="4B7A15D6-322C-42AC-8110-88b7DA0C5D77" bootable="false" readonly="true" filename=""
/dev/block/sde9 partition label="bk42" size_in_kb="128" type="9D30B727-48F6-4BF2-A513-11C4D4850950" bootable="false" readonly="true" filename=""
/dev/block/sde10 partition label="storsec_a" size_in_kb="128" type="02DB45FE-AD1B-4CB6-AECC-0042C637DEFA" bootable="false" readonly="true" filename="storsec.img"
/dev/block/sde11 partition label="storsec_b" size_in_kb="128" type="E59F3F13-8F26-42C4-B75C-70C3CA15F4A7" bootable="false" readonly="true" filename="storsec.img"
/dev/block/sde12 partition label="devcfg_a" size_in_kb="256" type="F65D4B16-343D-4E25-AAFC-BE99B6556A6D" bootable="false" readonly="true" filename="devcfg.img"
/dev/block/sde13 partition label="devcfg_b" size_in_kb="256" type="EFD49359-6F37-4167-AEC5-DA3B23317A2B" bootable="false" readonly="true" filename="devcfg.img"
/dev/block/sde14 partition label="aop_a" size_in_kb="512" type="D69E90A5-4CAB-0071-F6DF-AB977F141A7F" bootable="false" readonly="true" filename="aop.img"
/dev/block/sde15 partition label="aop_b" size_in_kb="512" type="05D825D4-7213-4455-BF7F-7A8186CEB325" bootable="false" readonly="true" filename="aop.img"
/dev/block/sde16 partition label="bk43" size_in_kb="512" type="68852B76-70DF-4C1F-A268-8C339DD79F1E" bootable="false" readonly="true" filename=""
/dev/block/sde17 partition label="bk44" size_in_kb="512" type="ED08AB2A-50FA-4BF3-95A9-5F38802FB8FD" bootable="false" readonly="true" filename=""
/dev/block/sde18 partition label="cmnlib_a" size_in_kb="1024" type="73471795-AB54-43F9-A847-4F72EA5CBEF5" bootable="false" readonly="true" filename="cmnlib.img"
/dev/block/sde19 partition label="cmnlib_b" size_in_kb="1024" type="B8AF4F43-5797-4642-ACA9-AFFA3DC066AF" bootable="false" readonly="true" filename="cmnlib.img"
/dev/block/sde20 partition label="cmnlib64_a" size_in_kb="1024" type="8EA64893-1267-4A1B-947C-7C362ACAAD2C" bootable="false" readonly="true" filename="cmnlib64.img"
/dev/block/sde21 partition label="cmnlib64_b" size_in_kb="1024" type="3864BA83-61FF-4B82-A749-9ED7560D0503" bootable="false" readonly="true" filename="cmnlib64.img"
/dev/block/sde22 partition label="keymaster_a" size_in_kb="1024" type="A11D2A7C-D82A-4C2F-8A01-1805240E6626" bootable="false" readonly="true" filename="keymaster.img"
/dev/block/sde23 partition label="keymaster_b" size_in_kb="1024" type="E8DF5A85-A0BF-4FD0-9B9A-DECB191EECCB" bootable="false" readonly="true" filename="keymaster.img"
/dev/block/sde24 partition label="bluetooth" size_in_kb="1024" type="6CB747F1-C2EF-4092-ADD0-CA39F79C7AF4" bootable="false" readonly="true" filename="bluetooth.img"
/dev/block/sde25 partition label="bk45" size_in_kb="1024" type="1079AD2F-F4BC-488D-A185-32723E482E91" bootable="false" readonly="true" filename=""
/dev/block/sde26 partition label="hyp_a" size_in_kb="1024" type="E1A6A689-0C8D-4CC6-B4E8-55A4320FBD8A" bootable="false" readonly="true" filename="hyp.img"
/dev/block/sde27 partition label="hyp_b" size_in_kb="1024" type="DF718C12-3599-4F84-881F-89271F769A8F" bootable="false" readonly="true" filename="hyp.img"
/dev/block/sde28 partition label="dip" size_in_kb="1024" type="4114B077-005D-4E12-AC8C-B493BDA684FB" bootable="false" readonly="true" filename=""
/dev/block/sde29 partition label="bk46" size_in_kb="1024" type="71B28EC7-DF02-41E8-921F-725ECD024CD4" bootable="false" readonly="true" filename=""
pre: 16M, next: 16M
/dev/block/sde30 partition label="sti" size_in_kb="2048" type="AA9A5C4C-4F1F-7D3A-014A-22BD33BF7191" bootable="false" readonly="true" filename=""
/dev/block/sde31 partition label="toolsfv" size_in_kb="2048" type="97745ABA-135A-44C3-9ADC-05616173C24C" bootable="false" readonly="true" filename=""
/dev/block/sde32 partition label="abl_a" size_in_kb="2048" type="BD6928A1-4CE0-A038-4F3A-1495E3EDDFFB" bootable="false" readonly="true" filename="abl.img"
/dev/block/sde33 partition label="abl_b" size_in_kb="2048" type="9F68DAA1-EAAE-41F9-8C5F-69E15CC6AEB1" bootable="false" readonly="true" filename="abl.img"
/dev/block/sde34 partition label="tz_a" size_in_kb="4096" type="A053AA7F-40B8-4B1C-BA08-2F68AC71A4F4" bootable="false" readonly="true" filename="tz.img"
/dev/block/sde35 partition label="tz_b" size_in_kb="4096" type="1D5075D8-363A-4125-916B-C8B3E97B995C" bootable="false" readonly="true" filename="tz.img"
pre: 32M, next: 32M
/dev/block/sde36 partition label="fsg" size_in_kb="8192" type="638FF8E2-22C9-E33B-8F5D-0E81686A68CB" bootable="false" readonly="true" filename=""
/dev/block/sde37 partition label="dtbo" size_in_kb="8192" type="24D0D418-D31D-4D8D-aC2C-4D4305188450" bootable="false" readonly="true" filename=""
/dev/block/sde38 partition label="bk47" size_in_kb="8192" type="D388D29F-1309-4487-8944-A61DF37365BC" bootable="false" readonly="true" filename=""
/dev/block/sde39 partition label="spunvm" size_in_kb="8192" type="E42E2B4C-33D0-429B-b1EF-D341C547022C" bootable="false" readonly="true" filename=""
pre: 64M, next: 64M
/dev/block/sde40 partition label="bk48" size_in_kb="16384" type="B7EED6B5-020D-428F-A588-EF43148AF032" bootable="false" readonly="true" filename=""
/dev/block/sde41 partition label="bk49" size_in_kb="16384" type="7EF491C1-813C-4C8A-AF57-C968D72460BF" bootable="false" readonly="true" filename=""
/dev/block/sde42 partition label="splash" size_in_kb="32768" type="AD99F201-DC71-4E30-9630-E19EEF553D1B" bootable="false" readonly="true" filename=""
pre: 2*64M, next: 64M
/dev/block/sde43 partition label="logo" size_in_kb="32768" type="E5947DDB-0FDF-4FF0-A1E2-E408BC3DA4A7" bootable="false" readonly="true" filename="logo.img"
/dev/block/sde44 partition label="dsp" size_in_kb="32768" type="7EFE5010-2A1A-4A1A-B8BC-990257813512" bootable="false" readonly="true" filename="dsp.img"
pre: 3*64M, next: 64M
/dev/block/sde45 partition label="boot" size_in_kb="65536" type="20117F86-E985-4357-B9EE-374BC1D8487D" bootable="false" readonly="true" filename="boot.img"
pre: 4*64M, next: 3*64M=192M
/dev/block/sde46 partition label="modem" size_in_kb="196608" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" readonly="true" filename="modem.img"
pre: 7*64M, next: 1G
/dev/block/sde47 partition label="vendor" size_in_kb="1048576" type="97D7B011-54DA-4835-B3C4-917AD6E73D74" bootable="false" readonly="true" filename="vendor.img" sparse="true"
pre: 7*64M+1G, next: 3G
/dev/block/sde48 partition label="system" size_in_kb="3145728" type="97D7B011-54DA-4835-B3C4-917AD6E73D74" bootable="false" readonly="true" filename="system.img" sparse="true"
Total: 7*64M+4G=4544M, left: left 64M
partition label="last_parti" size_in_kb="0" type="00000000-0000-0000-0000-000000000000" bootable="false" readonly="true" filename=""
/dev/block/sdf -> LUN 5 - Protected RW LUN
Code:
/dev/block/sdf1 partition label="fsc" size_in_kb="256" type="57B90A16-22C9-E33B-8F5D-0E81686A68CB" bootable="false" readonly="false" filename=""
/dev/block/sdf2 partition label="bk51" size_in_kb="744" type="694BE4BC-8A47-4D18-870A-EB07C9D07CB2" bootable="false" readonly="false" filename=""
/dev/block/sdf3 partition label="bk52" size_in_kb="1024" type="3B02C43F-8F67-49BE-86FE-D8D030F2CCA6" bootable="false" readonly="false" filename=""
/dev/block/sdf4 partition label="ImageFv" size_in_kb="2048" type="17911177-C9E6-4372-933C-804B678E666F" bootable="false" readonly="false" filename="imagefv.elf"
/dev/block/sdf5 partition label="bk53" size_in_kb="4096" type="DD6DC330-95B2-4244-B45F-A52078EA7F67" bootable="false" readonly="false" filename=""
/dev/block/sdf6 partition label="modemst1" size_in_kb="8192" type="EBBEADAF-22C9-E33B-8F5D-0E81686A68CB" bootable="false" readonly="false" filename=""
/dev/block/sdf7 partition label="modemst2" size_in_kb="8192" type="0A288B1F-22C9-E33B-8F5D-0E81686A68CB" bootable="false" readonly="false" filename=""
partition label="last_parti" size_in_kb="0" type="00000000-0000-0000-0000-000000000000" bootable="false" readonly="false" filename=""
Furthermore i found out that fastboot is able to handle all these partitions.
Try:
fastboot getvar all
... and you'll see every single partition is shown with type and size.
Though there are no LUNs specified here, fastboot does not need them... the LUNs are only visible in the kernels device structure.
That's it by now.
Just thought it may be useful for others, as i found nothing specific about it
EDIT:
HLOS (High-Level Operating System) = Android OS
abl = android bootloader, signed part of uefi
tz = trustzone
xbl = extensable bootloader
cdt = configuration data table
frp = factory reset partition, signed part of uefi
imagefv = lzma compressed bitmaps (battery), signed part of uefi
P.S.: For a better overview, find the partiton info as a text file attached.
Cheers,
scholbert

Hi,
as there'd been some interest here already and as i started some research, here's an addon...
UEFI bootloader (main) partitions:
/dev/block/sdb1 type="5A325AE4-4276-B66D-0ADD-3494DF27706A" xbl_config.img (elf format, trusted secure configuration for xbl, includes/refers to binary blobs for hardware setup (e.g. PMIC))
/dev/block/sdb2 type="DEA0BA2C-CBDD-4805-B4F9-F428251C3E98" xbl.img (elf-format, trusted secure extensible bootloader, part of UEFI, QC_IMAGE_VERSION: BOOT.XF.2.0-00389-SDM845LZB-1)
/dev/block/sde32 type="BD6928A1-4CE0-A038-4F3A-1495E3EDDFFB" abl.img (elf-format, includes LinuxLoader, implements fastboot, starts Android kernel, part of UEFI)
Many more parts are required for all the secure boot stuff (tz.img, keymaster.img, hyp.img, ...), but there's not much information to be found about the inards...
... and there's not much we could influence here, as all parts are signed for the secure world :silly:
Reference: https://worthdoingbadly.com/qcomxbl/
Reference: https://source.codeaurora.org/quic/la/abl/tianocore/edk2/
Especially: https://source.codeaurora.org/quic/...r/LinuxLoader.c?h=LA.UM.8.3.r1-07900-sdm845.0
Fun: https://github.com/edk2-porting/edk2-sdm845
Some other (known) partitions related to the bare metal:
/dev/block/sde24 type="6CB747F1-C2EF-4092-ADD0-CA39F79C7AF4" bluetooth.img (fat16 file format, includes firmware binaries for BT chipset)
/dev/block/sde46 type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" modem.img (fat16 file format, includes firmware binaries for baseband, wifi, widevine... many other parts)
TBC
Regards,
scholbert

Beryllium fastboot commands
Hi again!
In the meantime i started dissecting abl.img (Android bootloader, a.k.a. LinuxLoader), which is an essential part of the UEFI framework used on the Poco F1 to boot everything up.
The code inside abl UEFI binary is compressed using LZMA. Fortunately there are some great developers out there, who program awesome tools like this:
https://forum.xda-developers.com/android/general/tool-imjtool-unpack-extract-variety-ota-t4078159
This tool is really straight forward and after taking a look into uncompressed binary code of LinuxLoader,
it's easy to get an idea of the implemented fastboot commands (as fastboot routines are part of this code).
See my second post, where i gave some links to the codeaurora sources of LinuxLoader...
So here's the fastboot command list for Poco F1 (beryllium):
Code:
flash:
erase:
set_active
oem unlock
oem lock
flashing get_unlock_ability
flashing unlock
flashing lock
flashing lock_critical
oem enable-charger-screen
oem disable-charger-screen
oem enable-qseelog
oem disable-qseelog
oem off-mode-charge
oem select-display-panel
oem device-info
oem edl
oem reboot-recovery
continue
reboot-bootloader
oem poweroff
getvar:
download:
oem uefilog
oem lkmsg
oem lpmsg
oem mini
Again, here's a nice sum up of the protocol...
Reference: https://gerrit.pixelexperience.org/..._core/+/refs/tags/android-10.0.0_r2/fastboot/
As most commands are well explained and we do know what they do... others (esp. the "oem" ones) are not very well documented and it is mostly unknown what happens under the hood.
So as always, be very careful not to brick or damage your device if you fiddle around with thoose.
EDIT:
Some oem commands could be found in the official/open release...
https://source.codeaurora.org/quic/.../FastbootCmds.c?h=LA.UM.8.3.r1-07900-sdm845.0
... some are vendor specific proprietary code.
The last command "oem mini" really draw some interest on my side, as i suppose it could be an underlying test system (afaik Mini OS was first found on LG devices).
Please be very careful if you try... at the moment i do know nothing in detail, it's your own risk
Stay clean!
scholbert

Is there any possibility to increase LUN Size? I want to increase system Partition by decreasing Userdata partition but in new system they both are separated by LUN.

Related

[REF] Partition layout

Here is the partition layout for your viewing pleasure.
Code:
/dev/block/sda1 => modemst1
/dev/block/sda2 => modemst2
/dev/block/sda3 => fsc
/dev/block/sda4 => ssd
/dev/block/sda5 => persist
/dev/block/sda6 => efs
/dev/block/sda7 => param
/dev/block/sda8 => misc
/dev/block/sda9 => keystore
/dev/block/sda10 => devcfg
/dev/block/sda11 => frp
/dev/block/sda12 => bota
/dev/block/sda13 => fota
/dev/block/sda14 => persistent
/dev/block/sda15 => apnhlos
/dev/block/sda16 => modem
/dev/block/sda17 => boot
/dev/block/sda18 => recovery
/dev/block/sda19 => persdata
/dev/block/sda20 => system
/dev/block/sda21 => cache
/dev/block/sda22 => userdata
/dev/block/sdb1 => xbl
/dev/block/sdd1 => rpm
/dev/block/sdd2 => tz
/dev/block/sdd3 => hyp
/dev/block/sdd4 => fsg
/dev/block/sdd5 => sec
/dev/block/sdd6 => pmic
/dev/block/sdd7 => dsp
/dev/block/sdd8 => dip
/dev/block/sdd9 => mdtp
/dev/block/sdd10 => aboot
/dev/block/sdd11 => devinfo
/dev/block/sdd12 => bluetooth
/dev/block/sdd13 => lksecapp
/dev/block/sdd14 => keymaster
/dev/block/sdd15 => cmnlib
/dev/block/sdd16 => cmnlib64
/dev/block/sdd17 => apdp
/dev/block/sdd18 => msadp
/dev/block/sdd19 => dpo
/dev/block/sdd20 => ddr
/dev/block/sdd21 => pad
Any partition of these can be deleted? A spare partition can be used for vendor stuff to port treble
What is this partition layout in reference to and how does it relate to a potential bootloader unlock ?
modaifallah said:
Any partition of these can be deleted? A spare partition can be used for vendor stuff to port treble
Click to expand...
Click to collapse
Delete them willy nilly and your device will end up like my S6 Edge. It is super hard bricked because I messed up its partition table, now it does nothing, stuck in 9006 and 9008 mode. And I don't believe anyone has the firehose files and bootloader hex map of the G925V.
But possibly, maybe.
Fenny said:
Here is the partition layout for your viewing pleasure.
Code:
/dev/block/sda1 => modemst1
/dev/block/sda2 => modemst2
/dev/block/sda3 => fsc
/dev/block/sda4 => ssd
/dev/block/sda5 => persist
/dev/block/sda6 => efs
/dev/block/sda7 => param
/dev/block/sda8 => misc
/dev/block/sda9 => keystore
/dev/block/sda10 => devcfg
/dev/block/sda11 => frp
/dev/block/sda12 => bota
/dev/block/sda13 => fota
/dev/block/sda14 => persistent
/dev/block/sda15 => apnhlos
/dev/block/sda16 => modem
/dev/block/sda17 => boot
/dev/block/sda18 => recovery
/dev/block/sda19 => persdata
/dev/block/sda20 => system
/dev/block/sda21 => cache
/dev/block/sda22 => userdata
/dev/block/sdb1 => xbl
/dev/block/sdd1 => rpm
/dev/block/sdd2 => tz
/dev/block/sdd3 => hyp
/dev/block/sdd4 => fsg
/dev/block/sdd5 => sec
/dev/block/sdd6 => pmic
/dev/block/sdd7 => dsp
/dev/block/sdd8 => dip
/dev/block/sdd9 => mdtp
/dev/block/sdd10 => aboot
/dev/block/sdd11 => devinfo
/dev/block/sdd12 => bluetooth
/dev/block/sdd13 => lksecapp
/dev/block/sdd14 => keymaster
/dev/block/sdd15 => cmnlib
/dev/block/sdd16 => cmnlib64
/dev/block/sdd17 => apdp
/dev/block/sdd18 => msadp
/dev/block/sdd19 => dpo
/dev/block/sdd20 => ddr
/dev/block/sdd21 => pad
Click to expand...
Click to collapse
Is that 6.0.1 MM? Or just from the Pit File itself? Did you use the old Pit Magic 3.0? Is SDC where Download Mode Resides since it is the one not listed? Is SDD a carbon copy of the firmware image we load into ODIN?

Which Partition is the recovery?

I've ls the symlinks, but i'm not able to say which one is the recovery partition.
Can anyone explain the list for me?
abl_a -> /dev/block/mmcblk0p33
abl_b -> /dev/block/mmcblk0p34
apdp -> /dev/block/mmcblk0p36
bluetooth_a -> /dev/block/mmcblk0p45
bluetooth_b -> /dev/block/mmcblk0p46
The bootimages to patch with Magisk:
boot_a -> /dev/block/mmcblk0p13
boot_b -> /dev/block/mmcblk0p14
cmnlib64_a -> /dev/block/mmcblk0p22
cmnlib64_b -> /dev/block/mmcblk0p24
cmnlib_a -> /dev/block/mmcblk0p21
cmnlib_b -> /dev/block/mmcblk0p23
ddr -> /dev/block/mmcblk0p43
devcfg_a -> /dev/block/mmcblk0p58
devcfg_b -> /dev/block/mmcblk0p59
devinfo -> /dev/block/mmcblk0p62
dip -> /dev/block/mmcblk0p35
dpo -> /dev/block/mmcblk0p38
dsp_a -> /dev/block/mmcblk0p31
dsp_b -> /dev/block/mmcblk0p32
dtbo_a -> /dev/block/mmcblk0p54
dtbo_b -> /dev/block/mmcblk0p55
elableinfo -> /dev/block/mmcblk0p53
frp -> /dev/block/mmcblk0p60
fsc -> /dev/block/mmcblk0p47
fsg -> /dev/block/mmcblk0p11
hyp_a -> /dev/block/mmcblk0p7
hyp_b -> /dev/block/mmcblk0p8
keymaster_a -> /dev/block/mmcblk0p19
keymaster_b -> /dev/block/mmcblk0p20
keystore -> /dev/block/mmcblk0p57
limits -> /dev/block/mmcblk0p40
logdump -> /dev/block/mmcblk0p61
logfs -> /dev/block/mmcblk0p42
mdtp_a -> /dev/block/mmcblk0p27
mdtp_b -> /dev/block/mmcblk0p28
mdtpsecapp_a -> /dev/block/mmcblk0p25
mdtpsecapp_b -> /dev/block/mmcblk0p26
misc -> /dev/block/mmcblk0p56
modem_a -> /dev/block/mmcblk0p29
modem_b -> /dev/block/mmcblk0p30
modemst1 -> /dev/block/mmcblk0p49
modemst2 -> /dev/block/mmcblk0p50
msadp -> /dev/block/mmcblk0p37
oemowninfo -> /dev/block/mmcblk0p12
persist -> /dev/block/mmcblk0p51
pmic_a -> /dev/block/mmcblk0p9
pmic_b -> /dev/block/mmcblk0p10
pwinfo -> /dev/block/mmcblk0p52
rawdump -> /dev/block/mmcblk0p65
rpm_a -> /dev/block/mmcblk0p5
rpm_b -> /dev/block/mmcblk0p6
sec -> /dev/block/mmcblk0p44
splash -> /dev/block/mmcblk0p39
ssd -> /dev/block/mmcblk0p48
sti -> /dev/block/mmcblk0p63
storsec -> /dev/block/mmcblk0p64
system_a -> /dev/block/mmcblk0p15
system_b -> /dev/block/mmcblk0p16
toolsfv -> /dev/block/mmcblk0p41
tz_a -> /dev/block/mmcblk0p3
tz_b -> /dev/block/mmcblk0p4
userdata -> /dev/block/mmcblk0p68
vbmeta_a -> /dev/block/mmcblk0p66
vbmeta_b -> /dev/block/mmcblk0p67
vendor_a -> /dev/block/mmcblk0p17
vendor_b -> /dev/block/mmcblk0p18
xbl_a -> /dev/block/mmcblk0p1
xbl_b -> /dev/block/mmcblk0p2

Create correct Scatter File from BeTools XML

Code:
<Partitions>
<!-- size unit is MBytes -->
<Partition id="prodnv" size="10" rule="WVME22020E.img"/>
<Partition id="miscdata" size="1"/>
<Partition id="recovery" size="40" rule="WRME22020E.img"/>
<Partition id="misc" size="1"/>
<Partition id="trustos" size="6" rule="WJME22020E.img"/>
<Partition id="trustos_bak" size="6"/>
<Partition id="sml" size="1" rule="WXME22020E.img"/>
<Partition id="sml_bak" size="1"/>
<Partition id="uboot" size="1" rule="WUME22020E.img"/>
<Partition id="uboot_bak" size="1"/>
<Partition id="uboot_log" size="4"/>
<Partition id="logo" size="6" rule="WLME22020E.img"/>
<Partition id="fbootlogo" size="6" rule="WOME22020E.img"/>
<Partition id="l_fixnv1" size="2" rule="WNME22020E.img"/>
<Partition id="l_fixnv2" size="2"/>
<Partition id="l_runtimenv1" size="2"/>
<Partition id="l_runtimenv2" size="2"/>
<Partition id="proinfo" size="2" rule="WKME22020E.img"/>
<Partition id="gpsgl" size="1" rule="WIME22020E.img"/>
<Partition id="gpsbd" size="1" rule="WWME22020E.img"/>
<Partition id="wcnmodem" size="10" rule="WGME22020E.img"/>
<Partition id="persist" size="2" rule="VRME22020E.img"/>
<Partition id="l_modem" size="25" rule="WMME22020E.img"/>
<Partition id="l_deltanv" size="1" rule="WFME22020E.img"/>
<Partition id="l_gdsp" size="10" rule="WEME22020E.img"/>
<Partition id="l_ldsp" size="20" rule="WAME22020E.img"/>
<Partition id="pm_sys" size="1" rule="WDME22020E.img"/>
<Partition id="teecfg" size="1" rule="WTME22020E.img"/>
<Partition id="teecfg_bak" size="1"/>
<Partition id="boot" size="35" rule="WBME22020E.img"/>
<Partition id="dtbo" size="8" rule="VOME22020E.img"/>
<Partition id="super" size="4100" rule="WYME22020E.img"/>
<Partition id="cache" size="150" rule="WHME22020E.img"/>
<Partition id="socko" size="75" rule="VSME22020E.img"/>
<Partition id="odmko" size="25" rule="VDME22020E.img"/>
<Partition id="vbmeta" size="1" rule="VBME22020E.img"/>
<Partition id="vbmeta_bak" size="1"/>
<Partition id="metadata" size="16"/>
<Partition id="sysdumpdb" size="10"/>
<Partition id="vbmeta_system" size="1" rule="VMME22020E.img"/>
<Partition id="vbmeta_vendor" size="1" rule="VNME22020E.img"/>
<Partition id="userdata" size="0xFFFFFFFF" rule="WSME22020E.img"/>
</Partitions>
This is the xml of betools for the tablet m107_9863a_64_q (MT6580).
I tried to create a scatter file for the ReadBack function of MTK SP FLASH TOOL
Code:
##############################################################################################=Mircale Team=
#
# General Setting
#
############################################################################################################
- general: MTK_PLATFORM_CFG
info:
- config_version: V1.1.2
platform: MT6580
project: mtk_android
storage: EMMC
boot_channel: MSDC_0
block_size: 0x20000
############################################################################################################
#
# Layout Setting
#
############################################################################################################
- partition_index: SYS0
partition_name: PRELOADER
file_name: preloader.bin
is_download: true
type: SV5_BL_BIN
linear_start_addr: 0x0
physical_start_addr: 0x0
partition_size: 0x400000
region: EMMC_BOOT_1
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: BOOTLOADER
reserve: 0x00
But it give error:
ERROR : S_DL_GET_DRAM_SETTING_FAIL (5054)
[EMI] Obtain DRAM Failed!
[HINT]:
Please check your load matches to your target which is to be downloaded.
Click to expand...
Click to collapse
Where im doing it wrong??

Partition table 64gb version

Hi,
Accidentally I removed all partitions from Mix 2s 64GB. Would it be pissible to check and send me partition table? I am not able to do anything without partition. Fastboot works, so repartitation is possible, but have no table.
Thanks
up
Hi,
I hope it is not to late. Just yesterday I installed WinPE to my phone, so i made a Backup of the gparted print:
Code:
Number Start End Size File system Name Flags
1 0.02MB 0.04MB 0.02MB switch
2 0.04MB 0.07MB 0.03MB ssd
3 0.07MB 0.52MB 0.45MB bk01
4 0.52MB 0.79MB 0.26MB bk02
5 0.79MB 1.05MB 0.26MB bk03
6 1.05MB 1.57MB 0.52MB keystore
7 1.57MB 2.10MB 0.52MB frp
8 2.10MB 4.19MB 2.10MB bk04
9 4.19MB 8.39MB 4.19MB misc
10 8.39MB 16.8MB 8.39MB logfs
11 16.8MB 33.6MB 16.8MB oops
12 33.6MB 50.3MB 16.8MB devinfo
13 50.3MB 67.1MB 16.8MB bk05
14 67.1MB 134MB 67.1MB ext4 persist
15 134MB 201MB 67.1MB ext4 persistbak
16 201MB 268MB 67.1MB logdump
17 268MB 403MB 134MB minidump
18 403MB 1275MB 872MB ext4 cust
19 1275MB 1342MB 67.1MB recovery
20 1342MB 1611MB 268MB ext4 cache
21 1611MB 59064MB 57454MB ext4 userdata
ElTentakel said:
Hi,
I hope it is not to late. Just yesterday I installed WinPE to my phone, so i made a Backup of the gparted print:
Code:
Number Start End Size File system Name Flags
1 0.02MB 0.04MB 0.02MB switch
2 0.04MB 0.07MB 0.03MB ssd
3 0.07MB 0.52MB 0.45MB bk01
4 0.52MB 0.79MB 0.26MB bk02
5 0.79MB 1.05MB 0.26MB bk03
6 1.05MB 1.57MB 0.52MB keystore
7 1.57MB 2.10MB 0.52MB frp
8 2.10MB 4.19MB 2.10MB bk04
9 4.19MB 8.39MB 4.19MB misc
10 8.39MB 16.8MB 8.39MB logfs
11 16.8MB 33.6MB 16.8MB oops
12 33.6MB 50.3MB 16.8MB devinfo
13 50.3MB 67.1MB 16.8MB bk05
14 67.1MB 134MB 67.1MB ext4 persist
15 134MB 201MB 67.1MB ext4 persistbak
16 201MB 268MB 67.1MB logdump
17 268MB 403MB 134MB minidump
18 403MB 1275MB 872MB ext4 cust
19 1275MB 1342MB 67.1MB recovery
20 1342MB 1611MB 268MB ext4 cache
21 1611MB 59064MB 57454MB ext4 userdata
Click to expand...
Click to collapse
Is it the same with mix 3 since it's basically similar phone?
I corrupted my partition
I have the same issue where I wiped everything like an idiot, how do I apply the partition table to the phone, what are the steps?

Can't flash firmware. Please help!

Hi. I have F3111 and I can't flash any firmware with flashtool. I think I messed up with partitions, because I accidentally removed "lk" partition through parted. I recreated it and I can normally boot into OS or TWRP recovery, but partition is probably empty. Flashtool is stuck when flashing "partitions.sin".
Code:
29/020/2022 14:20:19 - INFO - Flashtool 0.9.34.0
29/020/2022 14:20:19 - INFO - Searching for a web proxy
29/020/2022 14:20:19 - INFO - A proxy has been found. Using it as default
29/020/2022 14:20:19 - INFO - Syncing devices from github
29/020/2022 14:20:19 - INFO - Opening devices repository.
29/020/2022 14:20:19 - INFO - Scanning devices folder for changes.
29/020/2022 14:20:22 - INFO - Pulling changes from github.
29/020/2022 14:20:23 - INFO - Devices sync finished.
29/020/2022 14:20:23 - INFO - Loading devices database
29/020/2022 14:20:23 - INFO - Loaded 131 devices
29/020/2022 14:20:23 - INFO - Starting phone detection
29/020/2022 14:20:25 - INFO - Device disconnected
29/020/2022 14:20:38 - INFO - Selected Bundle for Sony Xperia XA(F3111). FW release : 33.3.A.0.127_R2B. Customization : F3111_Customized CE1_1302-4691
29/020/2022 14:20:38 - INFO - Preparing files for flashing
29/020/2022 14:20:49 - INFO - Please connect your device into flashmode.
29/020/2022 14:20:58 - INFO - Using Gordon gate drivers version 3.1.0.0
29/020/2022 14:20:58 - INFO - Opening device for R/W
29/020/2022 14:20:58 - INFO - Device ready for R/W.
29/020/2022 14:20:58 - INFO - Reading device information
29/020/2022 14:20:58 - INFO - Phone ready for flashmode operations.
29/020/2022 14:20:58 - INFO - Opening TA partition 2
29/020/2022 14:20:58 - INFO - Current device : F3111 - RQ30038RTS - 1302-4476_R8A - 1300-9502_33.2.A.2.73 - GENERIC_33.2.A.3.105
29/020/2022 14:20:58 - INFO - Closing TA partition
29/020/2022 14:20:58 - INFO - Start Flashing
29/020/2022 14:20:58 - INFO - Processing loader.sin
29/020/2022 14:20:58 - INFO - Checking header
29/020/2022 14:20:58 - INFO - Flashing data
29/020/2022 14:20:58 - INFO - Loader : S1_Root_cf2a - Version : MT6755_13 / Boot version : S1_Boot_MT6755_M0.MP6_16 / Bootloader status : ROOTED
29/020/2022 14:20:58 - INFO - Max packet size set to 8M
29/020/2022 14:20:58 - INFO - USB buffer size set to 512K
29/020/2022 14:20:59 - INFO - Parsing boot delivery
29/020/2022 14:20:59 - INFO - Found a template session. Using it : C:\Users\FaboThePlayer\.flashTool\firmwares\prepared\33.3.fsc
29/020/2022 14:20:59 - INFO - Set loader configuration : [00 01 00 00 00 0C]
29/020/2022 14:20:59 - INFO - Opening TA partition 2
29/020/2022 14:20:59 - INFO - Writing TA unit 00002774. Value : 01
29/020/2022 14:20:59 - INFO - Closing TA partition
29/021/2022 14:21:00 - INFO - Processing partitions.sin
29/021/2022 14:21:00 - INFO - Checking header
29/021/2022 14:21:00 - INFO - Flashing data
29/021/2022 14:22:09 - ERROR - Processing of partitions.sin finished with errors.
29/021/2022 14:22:09 - INFO - Flashing finished.
29/021/2022 14:22:09 - INFO - Please unplug and start your phone
29/021/2022 14:22:09 - INFO - For flashtool, Unknown Sources and Debugging must be checked in phone settings
Before messing with partitions flashtool worked perfectly. In log you can see template session, I think if I could remove it, I could flash again without any issues. So, I tried to go to that directory. It shows only when I'm flashing firmware and is used by flashtool at this moment, so can't remove it. Also, I'm sure that this template session is stored somewhere in phone, not PC. Tried to wipe /userdata, it's stored somewhere deeper than that.
I have full log of what have I messed up that day.
Code:
Microsoft Windows [Version 10.0.22000.739]
(c) Microsoft Corporation. Wszelkie prawa zastrzeżone.
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot devices
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot devices
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot devices
RQ30038RTS fastboot
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery "D:\Pliki\Rooting itp\SONY XPERIA XA\rootpack 33.2.A.2.73\recovery.img"
target reported max download size of 134217728 bytes
sending 'recovery' (12768 KB)...
OKAY [ 0.550s]
writing 'recovery'...
OKAY [ 0.711s]
finished. total time: 1.263s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot "D:\Pliki\Rooting itp\SONY XPERIA XA\rootpack 33.2.A.2.73\boot.img"
target reported max download size of 134217728 bytes
sending 'boot' (11696 KB)...
OKAY [ 0.505s]
writing 'boot'...
OKAY [ 0.182s]
finished. total time: 0.688s
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
* daemon not running; starting now at tcp:5037
* daemon started successfully
RQ30038RTS unauthorized
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
RQ30038RTS unauthorized
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
RQ30038RTS unauthorized
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
RQ30038RTS unauthorized
C:\Program Files (x86)\Minimal ADB and Fastboot>adb push "D:\Pliki\Rooting itp\SONY XPERIA XA\Magisk-v21.0.zip" /sdcard
D:\Pliki\Rooting itp\SONY XPERIA XA\Magisk-v21.0.zip: 1 file pushed. 7.2 MB/s (6196156 bytes in 0.821s)
C:\Program Files (x86)\Minimal ADB and Fastboot>adb install "D:\Pliki\Rooting itp\F-Droid.apk"
D:\Pliki\Rooting itp\F-Droid.apk: 1 file pushed. 6.2 MB/s (8165518 bytes in 1.252s)
pkg: /data/local/tmp/F-Droid.apk
Success
C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot recovery
C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot recovery
C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot recovery
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
C:\Program Files (x86)\Minimal ADB and Fastboot>
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
RQ30038RTS device
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
RQ30038RTS device
C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot recovery
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
RQ30038RTS recovery
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
RQ30038RTS recovery
C:\Program Files (x86)\Minimal ADB and Fastboot>adb push "D:\Pliki\Rooting itp\parted_gdisk_fdisk_mkfs.ext4-ARM\parted" /
D:\Pliki\Rooting itp\parted_gdisk_fdisk_mkfs.ext4-ARM\parted: 1 file pushed. 4.4 MB/s (464372 bytes in 0.101s)
C:\Program Files (x86)\Minimal ADB and Fastboot>adb push "D:\Pliki\Rooting itp\parted_gdisk_fdisk_mkfs.ext4-ARM\gdisk" /
D:\Pliki\Rooting itp\parted_gdisk_fdisk_mkfs.ext4-ARM\gdisk: 1 file pushed. 7.8 MB/s (572212 bytes in 0.070s)
C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell
~ # umount /data
~ # parted /dev/block/mmc0blk0
/sbin/sh: parted: not found
~ # parted /dev/block/mmc0blk0
/sbin/sh: parted: Permission denied
~ # parted /dev/block/mmc0blk0
/sbin/sh: parted: Permission denied
~ # mount /data
~ # exit
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
RQ30038RTS recovery
C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell su
/sbin/sh: su: not found
C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell
~ # umount /data
~ # parted
/sbin/sh: parted: Permission denied
~ # parteds
/sbin/sh: parteds: not found
~ # mount /data
~ # exot
/sbin/sh: exot: not found
~ # exit
C:\Program Files (x86)\Minimal ADB and Fastboot>adb push "D:\Pliki\Rooting itp\parted_gdisk_fdisk_mkfs.ext4-ARM\mkfs.ext4" /sbin
D:\Pliki\Rooting itp\parted_gdisk_fdisk_mkfs.ext4-ARM\mkfs.ext4: 1 file pushed. 7.3 MB/s (415040 bytes in 0.054s)
C:\Program Files (x86)\Minimal ADB and Fastboot>adb push "D:\Pliki\Rooting itp\parted_gdisk_fdisk_mkfs.ext4-ARM\parted" /sbin
D:\Pliki\Rooting itp\parted_gdisk_fdisk_mkfs.ext4-ARM\parted: 1 file pushed. 6.8 MB/s (464372 bytes in 0.065s)
C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell
~ # chmod 777 /sbin/parted
~ # chmod 777 /sbin/mkfs
chmod: /sbin/mkfs: No such file or directory
~ # chmod 777 /sbin/mkfs.ext34
chmod: /sbin/mkfs.ext34: No such file or directory
~ # chmod 777 /sbin/mkfs.ext3
chmod: /sbin/mkfs.ext3: No such file or directory
~ # chmod 777 /sbin/mkfs.ext4
~ # parted /dev/block/mmc0blk0
Error: Could not stat device /dev/block/mmc0blk0 - No such file or directory.
Retry/Cancel? camn
Retry/Cancel? cancel
~ # parted /dev/block/mmc0blk0
Error: Could not stat device /dev/block/mmc0blk0 - No such file or directory.
Retry/Cancel? retru y
Error: Could not stat device /dev/block/mmc0blk0 - No such file or directory.
Retry/Cancel? retry
Error: Could not stat device /dev/block/mmc0blk0 - No such file or directory.
Retry/Cancel? cancel
~ # umount /data
~ #
~ # parted /dev/block/mmcblk0
GNU Parted 3.2
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) resizepart 3 16 10G
Error: Can't have overlapping partitions.
(parted) resizepart 16 10G
Error: Can't have overlapping partitions.
(parted) resizepart 15 10G
Error: Can't have overlapping partitions.
(parted) rezi s
align-check TYPE N check partition N for TYPE(min|opt)
alignment
help [COMMAND] print general help, or help on
COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition
table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table,
available devices, free space, all found partitions, or a particular
partition
quit exit program
rescue START END rescue a lost partition near START
and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected
device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition
NUMBER
unit UNIT set the default unit to UNIT
version display the version number and
copyright information of GNU Parted
(parted) resizepart 10 5G
Error: Can't have overlapping partitions.
(parted) resizepart 3 2G
Error: Can't have overlapping partitions.
(parted) resizepart 1 2
Partition number? exit
Error: Expecting a partition number.
(parted) resizepart 2 1G
Error: Can't have overlapping partitions.
(parted) print
Model: MMC Q313MB (sd/mmc)
Disk /dev/block/mmcblk0: 15.6GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 524kB 2621kB 2097kB ta
2 2621kB 13.1MB 10.5MB ext4 protect1
3 13.1MB 25.2MB 12.1MB ext4 protect2
4 25.2MB 41.9MB 16.8MB ext4 ltalabel
5 41.9MB 83.9MB 41.9MB fotakernel
6 83.9MB 84.4MB 524kB para
7 84.4MB 94.9MB 10.5MB expdb
8 94.9MB 95.9MB 1049kB frp
9 95.9MB 96.2MB 262kB ppl
10 96.2MB 130MB 33.6MB ext4 nvdata
11 130MB 163MB 33.6MB metadata
12 163MB 168MB 4456kB ext4 persist
13 168MB 168MB 262kB seccfg
14 168MB 176MB 8389kB oemkeystore
15 176MB 180MB 3146kB proinfo
16 180MB 205MB 25.2MB md1img
17 205MB 210MB 4981kB md1dsp
18 210MB 214MB 4194kB md1arm7
19 214MB 219MB 5243kB md3img
20 219MB 224MB 5243kB nvram
21 224MB 225MB 1049kB lk
22 225MB 226MB 1049kB lk2
23 226MB 268MB 41.9MB boot
24 268MB 277MB 8389kB logo
25 277MB 282MB 5243kB tee1
26 282MB 287MB 5243kB tee2
27 287MB 294MB 6291kB secro
28 294MB 302MB 8389kB keystore
29 302MB 319MB 16.8MB ext4 apps_log
30 319MB 336MB 16.8MB ext4 diag
31 336MB 646MB 310MB ext4 oem
32 646MB 856MB 210MB ext4 cache
33 856MB 881MB 25.2MB ext4 Qnovo
34 881MB 12.0GB 11.1GB ext4 userdata
35 12.0GB 15.6GB 3607MB ext4 system
36 15.6GB 15.6GB 16.8MB flashinfo
(parted) rez si
align-check TYPE N check partition N for TYPE(min|opt)
alignment
help [COMMAND] print general help, or help on
COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition
table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table,
available devices, free space, all found partitions, or a particular
partition
quit exit program
rescue START END rescue a lost partition near START
and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected
device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition
NUMBER
unit UNIT set the default unit to UNIT
version display the version number and
copyright information of GNU Parted
(parted) resizepart 34 8G
Warning: Partition /dev/block/mmcblk0p34 is being used. Are you sure you want to
continue?
parted: invalid token: 8G
Yes/No? no
(parted) rm 34
Warning: Partition /dev/block/mmcblk0p34 is being used. Are you sure you want to
continue?
Yes/No? y
Error: Partition(s) 34 on /dev/block/mmcblk0 have been written, but we have been
unable to inform the kernel of the change, probably because it/they are in use.
As a result, the old partition(s) will remain in use. You should reboot now
before making further changes.
Ignore/Cancel? rm21
parted: invalid token: rm
Ignore/Cancel? rm 21
parted: invalid token: rm
Ignore/Cancel? cancel
(parted) rm 21
Error: Partition(s) 34 on /dev/block/mmcblk0 have been written, but we have been
unable to inform the kernel of the change, probably because it/they are in use.
As a result, the old partition(s) will remain in use. You should reboot now
before making further changes.
Ignore/Cancel? cancel
(parted) print
Model: MMC Q313MB (sd/mmc)
Disk /dev/block/mmcblk0: 15.6GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 524kB 2621kB 2097kB ta
2 2621kB 13.1MB 10.5MB ext4 protect1
3 13.1MB 25.2MB 12.1MB ext4 protect2
4 25.2MB 41.9MB 16.8MB ext4 ltalabel
5 41.9MB 83.9MB 41.9MB fotakernel
6 83.9MB 84.4MB 524kB para
7 84.4MB 94.9MB 10.5MB expdb
8 94.9MB 95.9MB 1049kB frp
9 95.9MB 96.2MB 262kB ppl
10 96.2MB 130MB 33.6MB ext4 nvdata
11 130MB 163MB 33.6MB metadata
12 163MB 168MB 4456kB ext4 persist
13 168MB 168MB 262kB seccfg
14 168MB 176MB 8389kB oemkeystore
15 176MB 180MB 3146kB proinfo
16 180MB 205MB 25.2MB md1img
17 205MB 210MB 4981kB md1dsp
18 210MB 214MB 4194kB md1arm7
19 214MB 219MB 5243kB md3img
20 219MB 224MB 5243kB nvram
22 225MB 226MB 1049kB lk2
23 226MB 268MB 41.9MB boot
24 268MB 277MB 8389kB logo
25 277MB 282MB 5243kB tee1
26 282MB 287MB 5243kB tee2
27 287MB 294MB 6291kB secro
28 294MB 302MB 8389kB keystore
29 302MB 319MB 16.8MB ext4 apps_log
30 319MB 336MB 16.8MB ext4 diag
31 336MB 646MB 310MB ext4 oem
32 646MB 856MB 210MB ext4 cache
33 856MB 881MB 25.2MB ext4 Qnovo
35 12.0GB 15.6GB 3607MB ext4 system
36 15.6GB 15.6GB 16.8MB flashinfo
(parted) resizepart 35 5 G
Error: Can't have the end before the start! (start sector=23445504
length=-13679878)
(parted) resizepart 35 9G
Error: Can't have the end before the start! (start sector=23445504
length=-5867378)
(parted) resizepart 35 9G 15G
Error: Can't have the end before the start! (start sector=23445504
length=-5867378)
(parted) resizepart 35 9G 15G
Partition number? re ex
Error: Expecting a partition number.
(parted) e
(parted) resizepart 35 13G
Warning: Shrinking a partition can cause data loss, are you sure you want to
continue?
Yes/No? yes
Error: Partition(s) 34 on /dev/block/mmcblk0 have been written, but we have been
unable to inform the kernel of the change, probably because it/they are in use.
As a result, the old partition(s) will remain in use. You should reboot now
before making further changes.
Ignore/Cancel? cancel
(parted) print
Model: MMC Q313MB (sd/mmc)
Disk /dev/block/mmcblk0: 15.6GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 524kB 2621kB 2097kB ta
2 2621kB 13.1MB 10.5MB ext4 protect1
3 13.1MB 25.2MB 12.1MB ext4 protect2
4 25.2MB 41.9MB 16.8MB ext4 ltalabel
5 41.9MB 83.9MB 41.9MB fotakernel
6 83.9MB 84.4MB 524kB para
7 84.4MB 94.9MB 10.5MB expdb
8 94.9MB 95.9MB 1049kB frp
9 95.9MB 96.2MB 262kB ppl
10 96.2MB 130MB 33.6MB ext4 nvdata
11 130MB 163MB 33.6MB metadata
12 163MB 168MB 4456kB ext4 persist
13 168MB 168MB 262kB seccfg
14 168MB 176MB 8389kB oemkeystore
15 176MB 180MB 3146kB proinfo
16 180MB 205MB 25.2MB md1img
17 205MB 210MB 4981kB md1dsp
18 210MB 214MB 4194kB md1arm7
19 214MB 219MB 5243kB md3img
20 219MB 224MB 5243kB nvram
22 225MB 226MB 1049kB lk2
23 226MB 268MB 41.9MB boot
24 268MB 277MB 8389kB logo
25 277MB 282MB 5243kB tee1
26 282MB 287MB 5243kB tee2
27 287MB 294MB 6291kB secro
28 294MB 302MB 8389kB keystore
29 302MB 319MB 16.8MB ext4 apps_log
30 319MB 336MB 16.8MB ext4 diag
31 336MB 646MB 310MB ext4 oem
32 646MB 856MB 210MB ext4 cache
33 856MB 881MB 25.2MB ext4 Qnovo
35 12.0GB 13.0GB 996MB ext4 system
36 15.6GB 15.6GB 16.8MB flashinfo
(parted) printcancelyes resizepart 35 13G(parted) ex (parted) ex
align-check TYPE N check partition N for TYPE(min|opt)
alignment
help [COMMAND] print general help, or help on
COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition
table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table,
available devices, free space, all found partitions, or a particular
partition
quit exit program
rescue START END rescue a lost partition near START
and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected
device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition
NUMBER
unit UNIT set the default unit to UNIT
version display the version number and
copyright information of GNU Parted
(parted) resize part
Partition number? re exit
Error: Expecting a partition number.
(parted) resizepart 35 15G
Error: Partition(s) 34 on /dev/block/mmcblk0 have been written, but we have been
unable to inform the kernel of the change, probably because it/they are in use.
As a result, the old partition(s) will remain in use. You should reboot now
before making further changes.
Ignore/Cancel? CANCEL
(parted) print
Model: MMC Q313MB (sd/mmc)
Disk /dev/block/mmcblk0: 15.6GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 524kB 2621kB 2097kB ta
2 2621kB 13.1MB 10.5MB ext4 protect1
3 13.1MB 25.2MB 12.1MB ext4 protect2
4 25.2MB 41.9MB 16.8MB ext4 ltalabel
5 41.9MB 83.9MB 41.9MB fotakernel
6 83.9MB 84.4MB 524kB para
7 84.4MB 94.9MB 10.5MB expdb
8 94.9MB 95.9MB 1049kB frp
9 95.9MB 96.2MB 262kB ppl
10 96.2MB 130MB 33.6MB ext4 nvdata
11 130MB 163MB 33.6MB metadata
12 163MB 168MB 4456kB ext4 persist
13 168MB 168MB 262kB seccfg
14 168MB 176MB 8389kB oemkeystore
15 176MB 180MB 3146kB proinfo
16 180MB 205MB 25.2MB md1img
17 205MB 210MB 4981kB md1dsp
18 210MB 214MB 4194kB md1arm7
19 214MB 219MB 5243kB md3img
20 219MB 224MB 5243kB nvram
22 225MB 226MB 1049kB lk2
23 226MB 268MB 41.9MB boot
24 268MB 277MB 8389kB logo
25 277MB 282MB 5243kB tee1
26 282MB 287MB 5243kB tee2
27 287MB 294MB 6291kB secro
28 294MB 302MB 8389kB keystore
29 302MB 319MB 16.8MB ext4 apps_log
30 319MB 336MB 16.8MB ext4 diag
31 336MB 646MB 310MB ext4 oem
32 646MB 856MB 210MB ext4 cache
33 856MB 881MB 25.2MB ext4 Qnovo
35 12.0GB 15.0GB 2996MB ext4 system
36 15.6GB 15.6GB 16.8MB flashinfo
(parted) resizepart 35 15G 6
Error: Can't have the end before the start! (start sector=23445504
length=-23414253)
(parted) resizepart 35 16G
Error: Partition(s) 34 on /dev/block/mmcblk0 have been written, but we have been
unable to inform the kernel of the change, probably because it/they are in use.
As a result, the old partition(s) will remain in use. You should reboot now
before making further changes.
Ignore/Cancel? cancel
(parted) pa ri
Model: MMC Q313MB (sd/mmc)
Disk /dev/block/mmcblk0: 15.6GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 524kB 2621kB 2097kB ta
2 2621kB 13.1MB 10.5MB ext4 protect1
3 13.1MB 25.2MB 12.1MB ext4 protect2
4 25.2MB 41.9MB 16.8MB ext4 ltalabel
5 41.9MB 83.9MB 41.9MB fotakernel
6 83.9MB 84.4MB 524kB para
7 84.4MB 94.9MB 10.5MB expdb
8 94.9MB 95.9MB 1049kB frp
9 95.9MB 96.2MB 262kB ppl
10 96.2MB 130MB 33.6MB ext4 nvdata
11 130MB 163MB 33.6MB metadata
12 163MB 168MB 4456kB ext4 persist
13 168MB 168MB 262kB seccfg
14 168MB 176MB 8389kB oemkeystore
15 176MB 180MB 3146kB proinfo
16 180MB 205MB 25.2MB md1img
17 205MB 210MB 4981kB md1dsp
18 210MB 214MB 4194kB md1arm7
19 214MB 219MB 5243kB md3img
20 219MB 224MB 5243kB nvram
22 225MB 226MB 1049kB lk2
23 226MB 268MB 41.9MB boot
24 268MB 277MB 8389kB logo
25 277MB 282MB 5243kB tee1
26 282MB 287MB 5243kB tee2
27 287MB 294MB 6291kB secro
28 294MB 302MB 8389kB keystore
29 302MB 319MB 16.8MB ext4 apps_log
30 319MB 336MB 16.8MB ext4 diag
31 336MB 646MB 310MB ext4 oem
32 646MB 856MB 210MB ext4 cache
33 856MB 881MB 25.2MB ext4 Qnovo
35 12.0GB 15.6GB 3613MB ext4 system
36 15.6GB 15.6GB 16.8MB flashinfo
(parted) re3
align-check TYPE N check partition N for TYPE(min|opt)
alignment
help [COMMAND] print general help, or help on
COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition
table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table,
available devices, free space, all found partitions, or a particular
partition
quit exit program
rescue START END rescue a lost partition near START
and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected
device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition
NUMBER
unit UNIT set the default unit to UNIT
version display the version number and
copyright information of GNU Parted
(parted) res
align-check TYPE N check partition N for TYPE(min|opt)
alignment
help [COMMAND] print general help, or help on
COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition
table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table,
available devices, free space, all found partitions, or a particular
partition
quit exit program
rescue START END rescue a lost partition near START
and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected
device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition
NUMBER
unit UNIT set the default unit to UNIT
version display the version number and
copyright information of GNU Parted
(parted) exit
align-check TYPE N check partition N for TYPE(min|opt)
alignment
help [COMMAND] print general help, or help on
COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition
table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table,
available devices, free space, all found partitions, or a particular
partition
quit exit program
rescue START END rescue a lost partition near START
and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected
device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition
NUMBER
unit UNIT set the default unit to UNIT
version display the version number and
copyright information of GNU Parted
(parted) exit
align-check TYPE N check partition N for TYPE(min|opt)
alignment
help [COMMAND] print general help, or help on
COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition
table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table,
available devices, free space, all found partitions, or a particular
partition
quit exit program
rescue START END rescue a lost partition near START
and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected
device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition
NUMBER
unit UNIT set the default unit to UNIT
version display the version number and
copyright information of GNU Parted
(parted) exit
align-check TYPE N check partition N for TYPE(min|opt)
alignment
help [COMMAND] print general help, or help on
COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition
table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table,
available devices, free space, all found partitions, or a particular
partition
quit exit program
rescue START END rescue a lost partition near START
and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected
device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition
NUMBER
unit UNIT set the default unit to UNIT
version display the version number and
copyright information of GNU Parted
(parted) exit
align-check TYPE N check partition N for TYPE(min|opt)
alignment
help [COMMAND] print general help, or help on
COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition
table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table,
available devices, free space, all found partitions, or a particular
partition
quit exit program
rescue START END rescue a lost partition near START
and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected
device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition
NUMBER
unit UNIT set the default unit to UNIT
version display the version number and
copyright information of GNU Parted
(parted) exit
align-check TYPE N check partition N for TYPE(min|opt)
alignment
help [COMMAND] print general help, or help on
COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition
table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table,
available devices, free space, all found partitions, or a particular
partition
quit exit program
rescue START END rescue a lost partition near START
and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected
device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition
NUMBER
unit UNIT set the default unit to UNIT
version display the version number and
copyright information of GNU Parted
(parted) help
align-check TYPE N check partition N for TYPE(min|opt)
alignment
help [COMMAND] print general help, or help on
COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition
table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table,
available devices, free space, all found partitions, or a particular
partition
quit exit program
rescue START END rescue a lost partition near START
and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected
device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition
NUMBER
unit UNIT set the default unit to UNIT
version display the version number and
copyright information of GNU Parted
(parted) exit
align-check TYPE N check partition N for TYPE(min|opt)
alignment
help [COMMAND] print general help, or help on
COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition
table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table,
available devices, free space, all found partitions, or a particular
partition
quit exit program
rescue START END rescue a lost partition near START
and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected
device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition
NUMBER
unit UNIT set the default unit to UNIT
version display the version number and
copyright information of GNU Parted
(parted) stop
align-check TYPE N check partition N for TYPE(min|opt)
alignment
help [COMMAND] print general help, or help on
COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition
table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table,
available devices, free space, all found partitions, or a particular
partition
quit exit program
rescue START END rescue a lost partition near START
and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected
device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition
NUMBER
unit UNIT set the default unit to UNIT
version display the version number and
copyright information of GNU Parted
(parted) exit
align-check TYPE N check partition N for TYPE(min|opt)
alignment
help [COMMAND] print general help, or help on
COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition
table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table,
available devices, free space, all found partitions, or a particular
partition
quit exit program
rescue START END rescue a lost partition near START
and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected
device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition
NUMBER
unit UNIT set the default unit to UNIT
version display the version number and
copyright information of GNU Parted
(parted) adbn
align-check TYPE N check partition N for TYPE(min|opt)
alignment
help [COMMAND] print general help, or help on
COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition
table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table,
available devices, free space, all found partitions, or a particular
partition
quit exit program
rescue START END rescue a lost partition near START
and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected
device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition
NUMBER
unit UNIT set the default unit to UNIT
version display the version number and
copyright information of GNU Parted
(parted) adbs
align-check TYPE N check partition N for TYPE(min|opt)
alignment
help [COMMAND] print general help, or help on
COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition
table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table,
available devices, free space, all found partitions, or a particular
partition
quit exit program
rescue START END rescue a lost partition near START
and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected
device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition
NUMBER
unit UNIT set the default unit to UNIT
version display the version number and
copyright information of GNU Parted
(parted) adb
align-check TYPE N check partition N for TYPE(min|opt)
alignment
help [COMMAND] print general help, or help on
COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition
table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table,
available devices, free space, all found partitions, or a particular
partition
quit exit program
rescue START END rescue a lost partition near START
and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected
device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition
NUMBER
unit UNIT set the default unit to UNIT
version display the version number and
copyright information of GNU Parted
(parted) shell
align-check TYPE N check partition N for TYPE(min|opt)
alignment
help [COMMAND] print general help, or help on
COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition
table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table,
available devices, free space, all found partitions, or a particular
partition
quit exit program
rescue START END rescue a lost partition near START
and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected
device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition
NUMBER
unit UNIT set the default unit to UNIT
version display the version number and
copyright information of GNU Parted
(parted) shelladb exitstopexithelpexitres pricancelresizepart 35 16G (parted) print CANCELresizepart 35 15G(parted) exit resizepartprint cancelyes resizepart 35 13G(parted) ex (parted) exresizepart 35 9G 15G 5G(parted) print cancelrm 21 cancelrm 21 y rm 34no resizepart 34 8G print
Model: MMC Q313MB (sd/mmc)
Disk /dev/block/mmcblk0: 15.6GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 524kB 2621kB 2097kB ta
2 2621kB 13.1MB 10.5MB ext4 protect1
3 13.1MB 25.2MB 12.1MB ext4 protect2
4 25.2MB 41.9MB 16.8MB ext4 ltalabel
5 41.9MB 83.9MB 41.9MB fotakernel
6 83.9MB 84.4MB 524kB para
7 84.4MB 94.9MB 10.5MB expdb
8 94.9MB 95.9MB 1049kB frp
9 95.9MB 96.2MB 262kB ppl
10 96.2MB 130MB 33.6MB ext4 nvdata
11 130MB 163MB 33.6MB metadata
12 163MB 168MB 4456kB ext4 persist
13 168MB 168MB 262kB seccfg
14 168MB 176MB 8389kB oemkeystore
15 176MB 180MB 3146kB proinfo
16 180MB 205MB 25.2MB md1img
17 205MB 210MB 4981kB md1dsp
18 210MB 214MB 4194kB md1arm7
19 214MB 219MB 5243kB md3img
20 219MB 224MB 5243kB nvram
22 225MB 226MB 1049kB lk2
23 226MB 268MB 41.9MB boot
24 268MB 277MB 8389kB logo
25 277MB 282MB 5243kB tee1
26 282MB 287MB 5243kB tee2
27 287MB 294MB 6291kB secro
28 294MB 302MB 8389kB keystore
29 302MB 319MB 16.8MB ext4 apps_log
30 319MB 336MB 16.8MB ext4 diag
31 336MB 646MB 310MB ext4 oem
32 646MB 856MB 210MB ext4 cache
33 856MB 881MB 25.2MB ext4 Qnovo
35 12.0GB 15.6GB 3613MB ext4 system
36 15.6GB 15.6GB 16.8MB flashinfo
(parted) help
align-check TYPE N check partition N for TYPE(min|opt)
alignment
help [COMMAND] print general help, or help on
COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition
table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table,
available devices, free space, all found partitions, or a particular
partition
quit exit program
rescue START END rescue a lost partition near START
and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected
device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition
NUMBER
unit UNIT set the default unit to UNIT
version display the version number and
copyright information of GNU Parted
(parted) mkpart ext4
File system type? [ext2]? exot
parted: invalid token: ex
File system type? [ext2]? exit
parted: invalid token: exit
File system type? [ext2]? exit
parted: invalid token: exit
File system type? [ext2]? no
parted: invalid token: no
File system type? [ext2]? ext4
Start? no
Error: Invalid number.
(parted) mkpart
Partition name? []? system
File system type? [ext2]? ext4
Start? t y
Error: Invalid number.
(parted) mkpart
Partition name? []? system
File system type? [ext2]? ext4
Start? yes
Error: Invalid number.
(parted) mkj p
Partition name? []? mk ex
File system type? [ext2]? s
parted: invalid token: s
File system type? [ext2]? exit
parted: invalid token: exit
File system type? [ext2]? ext4
Start? exit
Error: Invalid number.
(parted) mkpart
Partition name? []? system
File system type? [ext2]? ext4
Start? exit
Error: Invalid number.
(parted) mkpart
Partition name? []? userdata
File system type? [ext2]? ext4
Start? 881MB
End? 11.1GB
Error: Partition(s) 21, 34 on /dev/block/mmcblk0 have been written, but we have
been unable to inform the kernel of the change, probably because it/they are in
use. As a result, the old partition(s) will remain in use. You should reboot
now before making further changes.
Ignore/Cancel? cancel
(parted) print
Model: MMC Q313MB (sd/mmc)
Disk /dev/block/mmcblk0: 15.6GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 524kB 2621kB 2097kB ta
2 2621kB 13.1MB 10.5MB ext4 protect1
3 13.1MB 25.2MB 12.1MB ext4 protect2
4 25.2MB 41.9MB 16.8MB ext4 ltalabel
5 41.9MB 83.9MB 41.9MB fotakernel
6 83.9MB 84.4MB 524kB para
7 84.4MB 94.9MB 10.5MB expdb
8 94.9MB 95.9MB 1049kB frp
9 95.9MB 96.2MB 262kB ppl
10 96.2MB 130MB 33.6MB ext4 nvdata
11 130MB 163MB 33.6MB metadata
12 163MB 168MB 4456kB ext4 persist
13 168MB 168MB 262kB seccfg
14 168MB 176MB 8389kB oemkeystore
15 176MB 180MB 3146kB proinfo
16 180MB 205MB 25.2MB md1img
17 205MB 210MB 4981kB md1dsp
18 210MB 214MB 4194kB md1arm7
19 214MB 219MB 5243kB md3img
20 219MB 224MB 5243kB nvram
22 225MB 226MB 1049kB lk2
23 226MB 268MB 41.9MB boot
24 268MB 277MB 8389kB logo
25 277MB 282MB 5243kB tee1
26 282MB 287MB 5243kB tee2
27 287MB 294MB 6291kB secro
28 294MB 302MB 8389kB keystore
29 302MB 319MB 16.8MB ext4 apps_log
30 319MB 336MB 16.8MB ext4 diag
31 336MB 646MB 310MB ext4 oem
32 646MB 856MB 210MB ext4 cache
33 856MB 881MB 25.2MB ext4 Qnovo
21 881MB 11.1GB 10.2GB ext4
35 12.0GB 15.6GB 3613MB ext4 system
36 15.6GB 15.6GB 16.8MB flashinfo
(parted) s
(parted) remo
align-check TYPE N check partition N for TYPE(min|opt)
alignment
help [COMMAND] print general help, or help on
COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition
table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table,
available devices, free space, all found partitions, or a particular
partition
quit exit program
rescue START END rescue a lost partition near START
and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected
device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition
NUMBER
unit UNIT set the default unit to UNIT
version display the version number and
copyright information of GNU Parted
(parted) rm 21
Error: Partition(s) 34 on /dev/block/mmcblk0 have been written, but we have been
unable to inform the kernel of the change, probably because it/they are in use.
As a result, the old partition(s) will remain in use. You should reboot now
before making further changes.
Ignore/Cancel? cancel
(parted) print
Model: MMC Q313MB (sd/mmc)
Disk /dev/block/mmcblk0: 15.6GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 524kB 2621kB 2097kB ta
2 2621kB 13.1MB 10.5MB ext4 protect1
3 13.1MB 25.2MB 12.1MB ext4 protect2
4 25.2MB 41.9MB 16.8MB ext4 ltalabel
5 41.9MB 83.9MB 41.9MB fotakernel
6 83.9MB 84.4MB 524kB para
7 84.4MB 94.9MB 10.5MB expdb
8 94.9MB 95.9MB 1049kB frp
9 95.9MB 96.2MB 262kB ppl
10 96.2MB 130MB 33.6MB ext4 nvdata
11 130MB 163MB 33.6MB metadata
12 163MB 168MB 4456kB ext4 persist
13 168MB 168MB 262kB seccfg
14 168MB 176MB 8389kB oemkeystore
15 176MB 180MB 3146kB proinfo
16 180MB 205MB 25.2MB md1img
17 205MB 210MB 4981kB md1dsp
18 210MB 214MB 4194kB md1arm7
19 214MB 219MB 5243kB md3img
20 219MB 224MB 5243kB nvram
22 225MB 226MB 1049kB lk2
23 226MB 268MB 41.9MB boot
24 268MB 277MB 8389kB logo
25 277MB 282MB 5243kB tee1
26 282MB 287MB 5243kB tee2
27 287MB 294MB 6291kB secro
28 294MB 302MB 8389kB keystore
29 302MB 319MB 16.8MB ext4 apps_log
30 319MB 336MB 16.8MB ext4 diag
31 336MB 646MB 310MB ext4 oem
32 646MB 856MB 210MB ext4 cache
33 856MB 881MB 25.2MB ext4 Qnovo
35 12.0GB 15.6GB 3613MB ext4 system
36 15.6GB 15.6GB 16.8MB flashinfo
(parted) mkpart
Partition name? []? lk
File system type? [ext2]?
Start? 224MBB
Start? 224MB
End? 225MB
Error: Partition(s) 34 on /dev/block/mmcblk0 have been written, but we have been
unable to inform the kernel of the change, probably because it/they are in use.
As a result, the old partition(s) will remain in use. You should reboot now
before making further changes.
Ignore/Cancel? ,
Ignore/Cancel? CA
Ignore/Cancel? can
(parted) mkpart
Partition name? []? userdata
File system type? [ext2]? ext4
Start? 881MB
End? 12.0GB
(parted) print
Model: MMC Q313MB (sd/mmc)
Disk /dev/block/mmcblk0: 15.6GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 524kB 2621kB 2097kB ta
2 2621kB 13.1MB 10.5MB ext4 protect1
3 13.1MB 25.2MB 12.1MB ext4 protect2
4 25.2MB 41.9MB 16.8MB ext4 ltalabel
5 41.9MB 83.9MB 41.9MB fotakernel
6 83.9MB 84.4MB 524kB para
7 84.4MB 94.9MB 10.5MB expdb
8 94.9MB 95.9MB 1049kB frp
9 95.9MB 96.2MB 262kB ppl
10 96.2MB 130MB 33.6MB ext4 nvdata
11 130MB 163MB 33.6MB metadata
12 163MB 168MB 4456kB ext4 persist
13 168MB 168MB 262kB seccfg
14 168MB 176MB 8389kB oemkeystore
15 176MB 180MB 3146kB proinfo
16 180MB 205MB 25.2MB md1img
17 205MB 210MB 4981kB md1dsp
18 210MB 214MB 4194kB md1arm7
19 214MB 219MB 5243kB md3img
20 219MB 224MB 5243kB nvram
21 224MB 225MB 1049kB ext2
22 225MB 226MB 1049kB lk2
23 226MB 268MB 41.9MB boot
24 268MB 277MB 8389kB logo
25 277MB 282MB 5243kB tee1
26 282MB 287MB 5243kB tee2
27 287MB 294MB 6291kB secro
28 294MB 302MB 8389kB keystore
29 302MB 319MB 16.8MB ext4 apps_log
30 319MB 336MB 16.8MB ext4 diag
31 336MB 646MB 310MB ext4 oem
32 646MB 856MB 210MB ext4 cache
33 856MB 881MB 25.2MB ext4 Qnovo
34 881MB 12.0GB 11.1GB ext4
35 12.0GB 15.6GB 3613MB ext4 system
36 15.6GB 15.6GB 16.8MB flashinfo
(parted) help
align-check TYPE N check partition N for TYPE(min|opt)
alignment
help [COMMAND] print general help, or help on
COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition
table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table,
available devices, free space, all found partitions, or a particular
partition
quit exit program
rescue START END rescue a lost partition near START
and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected
device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition
NUMBER
unit UNIT set the default unit to UNIT
version display the version number and
copyright information of GNU Parted
(parted) name 34 userdfa
(parted) name 34 da
(parted) name 4 3x
Partition name? [protect2]? no
(parted) pa r
Model: MMC Q313MB (sd/mmc)
Disk /dev/block/mmcblk0: 15.6GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 524kB 2621kB 2097kB ta
2 2621kB 13.1MB 10.5MB ext4 protect1
3 13.1MB 25.2MB 12.1MB ext4 no
4 25.2MB 41.9MB 16.8MB ext4 ltalabel
5 41.9MB 83.9MB 41.9MB fotakernel
6 83.9MB 84.4MB 524kB para
7 84.4MB 94.9MB 10.5MB expdb
8 94.9MB 95.9MB 1049kB frp
9 95.9MB 96.2MB 262kB ppl
10 96.2MB 130MB 33.6MB ext4 nvdata
11 130MB 163MB 33.6MB metadata
12 163MB 168MB 4456kB ext4 persist
13 168MB 168MB 262kB seccfg
14 168MB 176MB 8389kB oemkeystore
15 176MB 180MB 3146kB proinfo
16 180MB 205MB 25.2MB md1img
17 205MB 210MB 4981kB md1dsp
18 210MB 214MB 4194kB md1arm7
19 214MB 219MB 5243kB md3img
20 219MB 224MB 5243kB nvram
21 224MB 225MB 1049kB ext2
22 225MB 226MB 1049kB lk2
23 226MB 268MB 41.9MB boot
24 268MB 277MB 8389kB logo
25 277MB 282MB 5243kB tee1
26 282MB 287MB 5243kB tee2
27 287MB 294MB 6291kB secro
28 294MB 302MB 8389kB keystore
29 302MB 319MB 16.8MB ext4 apps_log
30 319MB 336MB 16.8MB ext4 diag
31 336MB 646MB 310MB ext4 oem
32 646MB 856MB 210MB ext4 cache
33 856MB 881MB 25.2MB ext4 Qnovo
34 881MB 12.0GB 11.1GB ext4 da
35 12.0GB 15.6GB 3613MB ext4 system
36 15.6GB 15.6GB 16.8MB flashinfo
(parted) p
Model: MMC Q313MB (sd/mmc)
Disk /dev/block/mmcblk0: 15.6GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 524kB 2621kB 2097kB ta
2 2621kB 13.1MB 10.5MB ext4 protect1
3 13.1MB 25.2MB 12.1MB ext4 no
4 25.2MB 41.9MB 16.8MB ext4 ltalabel
5 41.9MB 83.9MB 41.9MB fotakernel
6 83.9MB 84.4MB 524kB para
7 84.4MB 94.9MB 10.5MB expdb
8 94.9MB 95.9MB 1049kB frp
9 95.9MB 96.2MB 262kB ppl
10 96.2MB 130MB 33.6MB ext4 nvdata
11 130MB 163MB 33.6MB metadata
12 163MB 168MB 4456kB ext4 persist
13 168MB 168MB 262kB seccfg
14 168MB 176MB 8389kB oemkeystore
15 176MB 180MB 3146kB proinfo
16 180MB 205MB 25.2MB md1img
17 205MB 210MB 4981kB md1dsp
18 210MB 214MB 4194kB md1arm7
19 214MB 219MB 5243kB md3img
20 219MB 224MB 5243kB nvram
21 224MB 225MB 1049kB ext2
22 225MB 226MB 1049kB lk2
23 226MB 268MB 41.9MB boot
24 268MB 277MB 8389kB logo
25 277MB 282MB 5243kB tee1
26 282MB 287MB 5243kB tee2
27 287MB 294MB 6291kB secro
28 294MB 302MB 8389kB keystore
29 302MB 319MB 16.8MB ext4 apps_log
30 319MB 336MB 16.8MB ext4 diag
31 336MB 646MB 310MB ext4 oem
32 646MB 856MB 210MB ext4 cache
33 856MB 881MB 25.2MB ext4 Qnovo
34 881MB 12.0GB 11.1GB ext4 da
35 12.0GB 15.6GB 3613MB ext4 system
36 15.6GB 15.6GB 16.8MB flashinfo
(parted) name 234
Error: Partition doesn't exist.
(parted) name 34 userdata
(parted) name 21 lk
(parted) print
Model: MMC Q313MB (sd/mmc)
Disk /dev/block/mmcblk0: 15.6GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 524kB 2621kB 2097kB ta
2 2621kB 13.1MB 10.5MB ext4 protect1
3 13.1MB 25.2MB 12.1MB ext4 no
4 25.2MB 41.9MB 16.8MB ext4 ltalabel
5 41.9MB 83.9MB 41.9MB fotakernel
6 83.9MB 84.4MB 524kB para
7 84.4MB 94.9MB 10.5MB expdb
8 94.9MB 95.9MB 1049kB frp
9 95.9MB 96.2MB 262kB ppl
10 96.2MB 130MB 33.6MB ext4 nvdata
11 130MB 163MB 33.6MB metadata
12 163MB 168MB 4456kB ext4 persist
13 168MB 168MB 262kB seccfg
14 168MB 176MB 8389kB oemkeystore
15 176MB 180MB 3146kB proinfo
16 180MB 205MB 25.2MB md1img
17 205MB 210MB 4981kB md1dsp
18 210MB 214MB 4194kB md1arm7
19 214MB 219MB 5243kB md3img
20 219MB 224MB 5243kB nvram
21 224MB 225MB 1049kB ext2 lk
22 225MB 226MB 1049kB lk2
23 226MB 268MB 41.9MB boot
24 268MB 277MB 8389kB logo
25 277MB 282MB 5243kB tee1
26 282MB 287MB 5243kB tee2
27 287MB 294MB 6291kB secro
28 294MB 302MB 8389kB keystore
29 302MB 319MB 16.8MB ext4 apps_log
30 319MB 336MB 16.8MB ext4 diag
31 336MB 646MB 310MB ext4 oem
32 646MB 856MB 210MB ext4 cache
33 856MB 881MB 25.2MB ext4 Qnovo
34 881MB 12.0GB 11.1GB ext4 userdata
35 12.0GB 15.6GB 3613MB ext4 system
36 15.6GB 15.6GB 16.8MB flashinfo
(parted) mount /datqa
align-check TYPE N check partition N for TYPE(min|opt)
alignment
help [COMMAND] print general help, or help on
COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition
table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table,
available devices, free space, all found partitions, or a particular
partition
quit exit program
rescue START END rescue a lost partition near START
and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected
device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition
NUMBER
unit UNIT set the default unit to UNIT
version display the version number and
copyright information of GNU Parted
align-check TYPE N check partition N for TYPE(min|opt)
alignment
help [COMMAND] print general help, or help on
COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition
table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table,
available devices, free space, all found partitions, or a particular
partition
quit exit program
rescue START END rescue a lost partition near START
and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected
device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition
NUMBER
unit UNIT set the default unit to UNIT
version display the version number and
copyright information of GNU Parted
(parted) exit
align-check TYPE N check partition N for TYPE(min|opt)
alignment
help [COMMAND] print general help, or help on
COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition
table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table,
available devices, free space, all found partitions, or a particular
partition
quit exit program
rescue START END rescue a lost partition near START
and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected
device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition
NUMBER
unit UNIT set the default unit to UNIT
version display the version number and
copyright information of GNU Parted
(parted)
C:\Program Files (x86)\Minimal ADB and Fastboot>
Now, it looks like this :
Code:
(parted) print
Model: MMC Q313MB (sd/mmc)
Disk /dev/block/mmcblk0: 15.6GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 524kB 2621kB 2097kB ta
2 2621kB 13.1MB 10.5MB ext4 protect1
3 13.1MB 25.2MB 12.1MB ext4 protect2
4 25.2MB 41.9MB 16.8MB ext4 ltalabel
5 41.9MB 83.9MB 41.9MB fotakernel
6 83.9MB 84.4MB 524kB para
7 84.4MB 94.9MB 10.5MB expdb
8 94.9MB 95.9MB 1049kB frp
9 95.9MB 96.2MB 262kB ppl
10 96.2MB 130MB 33.6MB ext4 nvdata
11 130MB 163MB 33.6MB metadata
12 163MB 168MB 4456kB ext4 persist
13 168MB 168MB 262kB seccfg
14 168MB 176MB 8389kB oemkeystore
15 176MB 180MB 3146kB proinfo
16 180MB 205MB 25.2MB md1img
17 205MB 210MB 4981kB md1dsp
18 210MB 214MB 4194kB md1arm7
19 214MB 219MB 5243kB md3img
20 219MB 224MB 5243kB nvram
21 224MB 225MB 1049kB lk
22 225MB 226MB 1049kB lk2
23 226MB 268MB 41.9MB boot
24 268MB 277MB 8389kB logo
25 277MB 282MB 5243kB tee1
26 282MB 287MB 5243kB tee2
27 287MB 294MB 6291kB secro
28 294MB 302MB 8389kB keystore
29 302MB 319MB 16.8MB ext4 apps_log
30 319MB 336MB 16.8MB ext4 diag
31 336MB 646MB 310MB ext4 oem
32 646MB 856MB 210MB ext4 cache
33 856MB 881MB 25.2MB ext4 Qnovo
34 881MB 12.0GB 11.1GB ext4 userdata
35 12.0GB 15.6GB 3613MB ext4 system
36 15.6GB 15.6GB 16.8MB flashinfo
Could somepony help me please?
PS. Sorry for my english if it's really bad.

Categories

Resources