Repartition - Need help adding more space to Internal Storage (Apps) - Other Tools & General Discussion

Hello,
I just bought a Gionee Elife E7.
I have a 4.4.2 custom ROM running on it, and everything works flawlessly, except I need more space on my Internal Storage from apps
After looking through various guides I'm stuck at this point:
Code:
Partition Table: gpt
Number Start End Size File system Name Flags
1 67.1MB 134MB 67.1MB fat16 modem
2 134MB 135MB 524kB sbl1
3 135MB 135MB 32.8kB dbi
4 201MB 201MB 32.8kB DDR
5 268MB 279MB 10.5MB aboot
6 279MB 279MB 512kB rpm
7 336MB 357MB 21.0MB boot
8 403MB 403MB 512kB tz
9 403MB 404MB 1049kB pad
10 404MB 406MB 1573kB modemst1
11 406MB 407MB 1573kB modemst2
12 470MB 1812MB 1342MB ext4 system
13 1812MB 6107MB 4295MB ext4 userdata
14 6107MB 6140MB 33.6MB ext4 persist
15 6140MB 6543MB 403MB ext4 cache
16 6543MB 6564MB 21.0MB recovery
17 6564MB 6566MB 1573kB fsg
18 6577MB 6577MB 1024B fsc
19 6577MB 6577MB 8192B ssd
20 6577MB 30.9GB 24.4GB fat32 udisk
21 30.9GB 30.9GB 10.5MB splash
22 30.9GB 31.3GB 322MB grow
The partition 13 "userdata" seems to be my partition for apps and the partition 20 "udisk" is my storage for files only.
Do I need to delete all the partitions from 13 to 20 in order to extend userdata from 4295MB to 8192MB and then proceed to add 14-20 again?
Also if I performed a full backup in twrp and moved it to my PC, is it still risky to do this?

Related

[WIP] command line nandroid-like backup all variants

Ok, so I successfully rooted my H810 G4 via LER. I was impressed with being able to dump the system.img of my phone, inject root into it, then write it back to my phone. So, I thought, why can't we just back up ALL the partitions of our phones this way and if something goes wrong, those of us who do NOT have a KDZ or TOT file to flash back to original factory can just go into download mode and dd our phones back to factory!! Now I have followed this tutorial here:
http://forum.xda-developers.com/showthread.php?t=2450045
to learn how to dump partitions. HOWEVER, what I do NOT yet understand is why he does not use any of the bs,skip,count variables in the dd command. So I need help understanding these and I am doing more reading on it here and there. What I don't know is are these variables partition specific, or are they only PHONE specific and we can just use the same variables for each partition?
I have an ATT H810 running H81010b firmware. Here is all my partition info!
Code:
C:\Users\petermg\Downloads\G4>adb shell
[email protected]:/ $ cat /proc/partitions
cat /proc/partitions
major minor #blocks name
253 0 721784 zram0
179 0 30535680 mmcblk0
179 1 88064 mmcblk0p1
179 2 512 mmcblk0p2
179 3 1024 mmcblk0p3
179 4 1024 mmcblk0p4
179 5 512 mmcblk0p5
179 6 512 mmcblk0p6
179 7 512 mmcblk0p7
179 8 2048 mmcblk0p8
179 9 1024 mmcblk0p9
179 10 512 mmcblk0p10
179 11 1024 mmcblk0p11
179 12 512 mmcblk0p12
179 13 512 mmcblk0p13
179 14 2048 mmcblk0p14
179 15 512 mmcblk0p15
179 16 512 mmcblk0p16
179 17 512 mmcblk0p17
179 18 512 mmcblk0p18
179 19 512 mmcblk0p19
179 20 512 mmcblk0p20
179 21 1536 mmcblk0p21
179 22 16384 mmcblk0p22
179 23 32768 mmcblk0p23
179 24 1536 mmcblk0p24
179 25 1536 mmcblk0p25
179 26 1536 mmcblk0p26
179 27 512 mmcblk0p27
179 28 512 mmcblk0p28
179 29 512 mmcblk0p29
179 30 2048 mmcblk0p30
179 31 512 mmcblk0p31
259 0 512 mmcblk0p32
259 1 512 mmcblk0p33
259 2 512 mmcblk0p34
259 3 2048 mmcblk0p35
259 4 4096 mmcblk0p36
259 5 49152 mmcblk0p37
259 6 40960 mmcblk0p38
259 7 40960 mmcblk0p39
259 8 8192 mmcblk0p40
259 9 8192 mmcblk0p41
259 10 32768 mmcblk0p42
259 11 8192 mmcblk0p43
259 12 4096 mmcblk0p44
259 13 4096 mmcblk0p45
259 14 16384 mmcblk0p46
259 15 40960 mmcblk0p47
259 16 8192 mmcblk0p48
259 17 47104 mmcblk0p49
259 18 2048 mmcblk0p50
259 19 10240 mmcblk0p51
259 20 6144 mmcblk0p52
259 21 4636672 mmcblk0p53
259 22 1261568 mmcblk0p54
259 23 24100864 mmcblk0p55
259 24 12271 mmcblk0p56
179 32 4096 mmcblk0rpmb
[email protected]:/ $
ls -al /dev/block/platform/f9824900.sdhci/by-name
[email protected]:/ $ ls -al /dev/block/platform/f9824900.sdhci/by-name
ls -al /dev/block/platform/f9824900.sdhci/by-name
lrwxrwxrwx root root 2015-01-01 15:37 DDR -> /dev/block/mmcblk0p30
lrwxrwxrwx root root 2015-01-01 15:37 aboot -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2015-01-01 15:37 abootbak -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 2015-01-01 15:37 apdp -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 2015-01-01 15:37 boot -> /dev/block/mmcblk0p38
lrwxrwxrwx root root 2015-01-01 15:37 cache -> /dev/block/mmcblk0p54
lrwxrwxrwx root root 2015-01-01 15:37 carrier -> /dev/block/mmcblk0p47
lrwxrwxrwx root root 2015-01-01 15:37 devinfo -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 2015-01-01 15:37 dpo -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 2015-01-01 15:37 drm -> /dev/block/mmcblk0p40
lrwxrwxrwx root root 2015-01-01 15:37 eksst -> /dev/block/mmcblk0p33
lrwxrwxrwx root root 2015-01-01 15:37 encrypt -> /dev/block/mmcblk0p32
lrwxrwxrwx root root 2015-01-01 15:37 eri -> /dev/block/mmcblk0p43
lrwxrwxrwx root root 2015-01-01 15:37 factory -> /dev/block/mmcblk0p49
lrwxrwxrwx root root 2015-01-01 15:37 felica -> /dev/block/mmcblk0p48
lrwxrwxrwx root root 2015-01-01 15:37 fota -> /dev/block/mmcblk0p51
lrwxrwxrwx root root 2015-01-01 15:37 fsc -> /dev/block/mmcblk0p27
lrwxrwxrwx root root 2015-01-01 15:37 fsg -> /dev/block/mmcblk0p26
lrwxrwxrwx root root 2015-01-01 15:37 grow -> /dev/block/mmcblk0p56
lrwxrwxrwx root root 2015-01-01 15:37 hyp -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 2015-01-01 15:37 hypbak -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 2015-01-01 15:37 keystore -> /dev/block/mmcblk0p29
lrwxrwxrwx root root 2015-01-01 15:37 laf -> /dev/block/mmcblk0p37
lrwxrwxrwx root root 2015-01-01 15:37 limits -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 2015-01-01 15:37 misc -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 2015-01-01 15:37 modem -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2015-01-01 15:37 modemst1 -> /dev/block/mmcblk0p24
lrwxrwxrwx root root 2015-01-01 15:37 modemst2 -> /dev/block/mmcblk0p25
lrwxrwxrwx root root 2015-01-01 15:37 mpt -> /dev/block/mmcblk0p42
lrwxrwxrwx root root 2015-01-01 15:37 msadp -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 2015-01-01 15:37 operatorlogging -> /dev/block/mmcblk0p46
lrwxrwxrwx root root 2015-01-01 15:37 persist -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 2015-01-01 15:37 persistent -> /dev/block/mmcblk0p35
lrwxrwxrwx root root 2015-01-01 15:37 pmic -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2015-01-01 15:37 pmicbak -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 2015-01-01 15:37 raw_resources -> /dev/block/mmcblk0p44
lrwxrwxrwx root root 2015-01-01 15:37 raw_resourcesbak -> /dev/block/mmcblk0p45
lrwxrwxrwx root root 2015-01-01 15:37 rct -> /dev/block/mmcblk0p34
lrwxrwxrwx root root 2015-01-01 15:37 recovery -> /dev/block/mmcblk0p39
lrwxrwxrwx root root 2015-01-01 15:37 rpm -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2015-01-01 15:37 rpmbak -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 2015-01-01 15:37 sbl1 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2015-01-01 15:37 sbl1bak -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 2015-01-01 15:37 sdi -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2015-01-01 15:37 sdibak -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 2015-01-01 15:37 sec -> /dev/block/mmcblk0p31
lrwxrwxrwx root root 2015-01-01 15:37 sns -> /dev/block/mmcblk0p41
lrwxrwxrwx root root 2015-01-01 15:37 spare1 -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 2015-01-01 15:37 spare2 -> /dev/block/mmcblk0p36
lrwxrwxrwx root root 2015-01-01 15:37 spare3 -> /dev/block/mmcblk0p50
lrwxrwxrwx root root 2015-01-01 15:37 spare4 -> /dev/block/mmcblk0p52
lrwxrwxrwx root root 2015-01-01 15:37 ssd -> /dev/block/mmcblk0p28
lrwxrwxrwx root root 2015-01-01 15:37 system -> /dev/block/mmcblk0p53
lrwxrwxrwx root root 2015-01-01 15:37 tz -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2015-01-01 15:37 tzbak -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 2015-01-01 15:37 userdata -> /dev/block/mmcblk0p55
[email protected]:/ $
Model: MMC 032G74 (sd/mmc)
Disk /dev/block/mmcblk0: 31.3GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 16.8MB 107MB 90.2MB fat16 modem
2 117MB 118MB 524kB pmic
3 118MB 119MB 1049kB sbl1
4 119MB 120MB 1049kB tz
5 120MB 121MB 524kB sdi
6 121MB 121MB 524kB hyp
7 121MB 122MB 524kB rpm
8 122MB 124MB 2097kB aboot
9 124MB 125MB 1049kB sbl1bak
10 125MB 125MB 524kB pmicbak
11 125MB 126MB 1049kB tzbak
12 126MB 127MB 524kB hypbak
13 127MB 127MB 524kB rpmbak
14 127MB 129MB 2097kB abootbak
15 129MB 130MB 524kB sdibak
16 130MB 131MB 524kB limits
17 131MB 131MB 524kB devinfo
18 131MB 132MB 524kB apdp
19 132MB 132MB 524kB msadp
20 132MB 133MB 524kB dpo
21 133MB 134MB 1573kB spare1
22 134MB 151MB 16.8MB misc
23 151MB 185MB 33.6MB ext4 persist
24 185MB 186MB 1573kB modemst1
25 186MB 188MB 1573kB modemst2
26 188MB 189MB 1573kB fsg
27 189MB 190MB 524kB fsc
28 190MB 190MB 524kB ssd
29 190MB 191MB 524kB keystore
30 191MB 193MB 2097kB DDR
31 193MB 193MB 524kB sec
32 193MB 194MB 524kB encrypt
33 194MB 195MB 524kB eksst
34 195MB 195MB 524kB rct
35 195MB 197MB 2097kB persistent
36 197MB 201MB 4194kB spare2
37 201MB 252MB 50.3MB laf
38 252MB 294MB 41.9MB boot
39 294MB 336MB 41.9MB recovery
40 336MB 344MB 8389kB ext4 drm
41 344MB 352MB 8389kB ext4 sns
42 352MB 386MB 33.6MB ext4 mpt
43 386MB 394MB 8389kB eri
44 394MB 398MB 4194kB raw_resources
45 398MB 403MB 4194kB raw_resourcesbak
46 403MB 419MB 16.8MB operatorlogging
47 419MB 461MB 41.9MB carrier
48 461MB 470MB 8389kB felica
49 470MB 518MB 48.2MB factory
50 518MB 520MB 2097kB spare3
51 520MB 531MB 10.5MB fota
52 531MB 537MB 6291kB spare4
53 537MB 5285MB 4748MB ext4 system
54 5285MB 6577MB 1292MB ext4 cache
55 6577MB 31.3GB 24.7GB ext4 userdata
56 31.3GB 31.3GB 12.6MB grow
(parted)
So if you guys can chime in and help get this figured out, also I will post updates for what I learn about it. Hopefully we can get this so that we can do backups this way until we get a custom recovery for the most of us with locked bootloaders!:good:
I too have been very interested in this... I made a backup of both the recovery and boot sectors on the phone. The ONLY problem I have is... HOW do I use a similar CWM or TWRP recovery, open those files, insert the required files into the STOCK recovery and dd it back to the recovery partition, so that I can flash my phone with custom Roms? There aren't too many Custom Roms for the LG G4 H810 (AT&T version) so, this isn't the most pressing thing... There might be more if I succeed at this. I am being very cautious as well too. I bricked one LG G4, and got the store to replace it. So now backing up everything is my #1 concern.
Peter, you sound quite knowledgeable about this... if you could point me in the right direction for HOW TO CREATE custom recovery images... I'd appreciate it. Not finding too much myself.
I am a linux admin for a big company. I am not happy that I don't have full Root on my phone. (Full root means SuperSU working and recovery image replaced with a custom image)
bigjohnman said:
I too have been very interested in this... I made a backup of both the recovery and boot sectors on the phone. The ONLY problem I have is... HOW do I use a similar CWM or TWRP recovery, open those files, insert the required files into the STOCK recovery and dd it back to the recovery partition, so that I can flash my phone with custom Roms? There aren't too many Custom Roms for the LG G4 H810 (AT&T version) so, this isn't the most pressing thing... There might be more if I succeed at this. I am being very cautious as well too. I bricked one LG G4, and got the store to replace it. So now backing up everything is my #1 concern.
Peter, you sound quite knowledgeable about this... if you could point me in the right direction for HOW TO CREATE custom recovery images... I'd appreciate it. Not finding too much myself.
I am a linux admin for a big company. I am not happy that I don't have full Root on my phone. (Full root means SuperSU working and recovery image replaced with a custom image)
Click to expand...
Click to collapse
I think we need unlocked bootloaders to use a custom recovery.
Great... Some more info would be nice... Is the boot loader found in the Boot.img section?
I haven't found too many HOW TO create an unlocked boot loader sites, I am just finding ones where they have the final product (Here flash this).
Have you seen any Warri?
bigjohnman said:
I too have been very interested in this... I made a backup of both the recovery and boot sectors on the phone. The ONLY problem I have is... HOW do I use a similar CWM or TWRP recovery, open those files, insert the required files into the STOCK recovery and dd it back to the recovery partition, so that I can flash my phone with custom Roms? There aren't too many Custom Roms for the LG G4 H810 (AT&T version) so, this isn't the most pressing thing... There might be more if I succeed at this. I am being very cautious as well too. I bricked one LG G4, and got the store to replace it. So now backing up everything is my #1 concern.
Peter, you sound quite knowledgeable about this... if you could point me in the right direction for HOW TO CREATE custom recovery images... I'd appreciate it. Not finding too much myself.
I am a linux admin for a big company. I am not happy that I don't have full Root on my phone. (Full root means SuperSU working and recovery image replaced with a custom image)
Click to expand...
Click to collapse
You know, I didn't even think about injecting files into the original boot.img. Wonder if that would work?
How did you back up your recovery and boot sectors? Was it with FlashFire? I've made a backup of my system partition from download mode using this command:
Code:
dd if=/dev/block/mmcblk0 bs=8192 skip=65536 count=579584 of=/data/media/0/system.img
from THIS THREAD
http://forum.xda-developers.com/showpost.php?p=62028523&postcount=2
I have ALSO made a backup of my system partition by using this command:
Code:
dd if=/dev/block/mmcblk0p53 of=/sdcard/system.img
following the instructions on THIS THREAD
http://forum.xda-developers.com/showthread.php?t=2450045
HOWEVER.. they are ALMOST identital in file size, but not quite. So I don't know if I would brick my H810 G4 by trying to restore my system partition using the file created via the second method...?
What I've also not tried yet is making a backup of any partitions using FlashFire.
What I'm trying to figure out is what are the exact commands to backup each partition in a way that we can RESTORE them if something goes wrong. And in this case I'm thinking restore them from DOWNLOAD MODE via the dd command. I need to learn more about why the first method of backing up the image contains variables that the second method does not, for example, the first method from download mode uses the command dd with the variables "bs=8192 skip=65536 count=579584", whereas the second method does not use these variables. I'm no dev, but if I can get enough free time away from the kids and madness :silly: I'm hoping to research enough to understand not only why these variables are used, but if they need to be adjusted for each partition backup and to which parameters. Since we're on the AT&T version, we don't have a TOT file, so if we screw something up we can't go back to stock. Now some guys have HARD BRICKED their devices and can NOT get into download mode, in which case not even a TOT/KDZ file will be able to be applied. But I think that if we can learn how to dd backup all the partitions from download mode correctly, then we should be able to dd restore those partitions if we mess up our phones and need to go back to stock!!! :laugh::good: This is my goal for now!!! But I like your idea of injecting things into the stock recovery!!!!!!!!!!!!!! That's a great idea!!! Need to learn more about those variables and how to apply them to each partitions. IN THE MEANTIME, what I'm going to try to do is back up partitions one by one using the second method and MOUNT THEM in Linux/Ubuntu via this command
Code:
su -
mkdir -p /mnt/disk
mount -o loop yourImage.img /mnt/disk
cd /mnt/disk
ls -l
as shown in the thread here
http://forum.xda-developers.com/showthread.php?t=2450045
If I find anything interesting... I'll post my results.
bigjohnman said:
Great... Some more info would be nice... Is the boot loader found in the Boot.img section?
I haven't found too many HOW TO create an unlocked boot loader sites, I am just finding ones where they have the final product (Here flash this).
Have you seen any Warri?
Click to expand...
Click to collapse
Creating a bootloader it's something that is actually quite difficult to do typically you need the source code for every chip and I/O od peripheral on the on the board think of Arduino open sourcing everything in building your own board. LG probably won't release this since it would give away you know trade secrets. typically what we've seen in the past is that OEMs will provide unlock bootloader which allow people to custom flash open recoveries which allow writing to boot images and things along those lines however due to AT&T and Verizon restrictions we probably won't see an open bootloader released officially
warri said:
however due to AT&T and Verizon restrictions we probably won't see an open bootloader released officially
Click to expand...
Click to collapse
+1 THIS!! That's why I am hoping to figure out how to "backup" and "restore" our partitions via dd at this point for no other reason than to "return to stock". One thing I have found is that when I have root I start messing around and when I start messing around sometimes I break something With a custom recovery I don't worry about it because I can just restore a backup, however since we don't have a custom recovery I am trying to learn how to backup and restore the partitions via dd in download mode.
So according to this article: http://www.addictivetips.com/mobile...plained-boot-system-recovery-data-cache-misc/ wiping the data partition is like doing a factory reset. I wanted to know if this was true or not so I went to my G3, backed up the data partition, then wiped it and rebooted and yes, it was just like I had done a factory reset on it. It worked fine. So... I guess for those of us who have made a backup of our system partition via the dd command in download mode, I guess we have all we need to go back to stock. This is so long as we don't flash the wrong KDZ/TOT file. I am not sure yet but I think the people who flash the wrong system.img file, like wrong firmware version, that end up getting the security error on boot up, I think all they need to do is just reflash the correct firmware system.img file and that takes care of it.. I'll have to double check the posts on that. So I guess just reflashing your original backed up system.img file then doing a factory reset will take the phone totally back to stock. It's sure looking this way as of right now. I am still reading up on partitions, etc..
I believe this to be true...EXCEPT the /persist partition where RCTD is found. Which seems to be preventing us from ugrading.
petermg said:
So according to this article: http://www.addictivetips.com/mobile...plained-boot-system-recovery-data-cache-misc/ wiping the data partition is like doing a factory reset. I wanted to know if this was true or not so I went to my G3, backed up the data partition, then wiped it and rebooted and yes, it was just like I had done a factory reset on it. It worked fine. So... I guess for those of us who have made a backup of our system partition via the dd command in download mode, I guess we have all we need to go back to stock. This is so long as we don't flash the wrong KDZ/TOT file. I am not sure yet but I think the people who flash the wrong system.img file, like wrong firmware version, that end up getting the security error on boot up, I think all they need to do is just reflash the correct firmware system.img file and that takes care of it.. I'll have to double check the posts on that. So I guess just reflashing your original backed up system.img file then doing a factory reset will take the phone totally back to stock. It's sure looking this way as of right now. I am still reading up on partitions, etc..
Click to expand...
Click to collapse
So how far did you get on this? My G4 developed the boot loop issue and will need to be sent away to be repair/replaced. Luckily I was able to flash the disable BIG cores fix to get it stable enough that I should be able to back it up. Just wondering now as I have a locked boot loader what the best way to do this is.
Do I use
Code:
dd if=/dev/block/mmcblk0p53 of=/sdcard/system.img
and if so, on which partitions? I'd like to be able to just flash all the images back onto the phone when it's back from repair and have it be like it was before I factory reset it and give it to the courier.
Lg g4 h810
Hey guys! I have g4 h810 brick, Qualcomm HS-USB QDLoader 9008,
not included, help me please i need dump for h810, sorry my english, i maker :crying:
---------- Post added at 11:35 AM ---------- Previous post was at 11:29 AM ----------
Hello , here you can share these files with all , I would be very grateful
Number Start End Size File system Name Flags
1 16.8MB 107MB 90.2MB fat16 modem
2 117MB 118MB 524kB pmic
3 118MB 119MB 1049kB sbl1
4 119MB 120MB 1049kB tz
5 120MB 121MB 524kB sdi
6 121MB 121MB 524kB hyp
7 121MB 122MB 524kB rpm
8 122MB 124MB 2097kB aboot
9 124MB 125MB 1049kB sbl1bak
10 125MB 125MB 524kB pmicbak
11 125MB 126MB 1049kB tzbak
12 126MB 127MB 524kB hypbak
13 127MB 127MB 524kB rpmbak
14 127MB 129MB 2097kB abootbak
15 129MB 130MB 524kB sdibak
16 130MB 131MB 524kB limits
17 131MB 131MB 524kB devinfo
18 131MB 132MB 524kB apdp
19 132MB 132MB 524kB msadp
20 132MB 133MB 524kB dpo
21 133MB 134MB 1573kB spare1
22 134MB 151MB 16.8MB misc
23 151MB 185MB 33.6MB ext4 persist
24 185MB 186MB 1573kB modemst1
25 186MB 188MB 1573kB modemst2
26 188MB 189MB 1573kB fsg
27 189MB 190MB 524kB fsc
28 190MB 190MB 524kB ssd
29 190MB 191MB 524kB keystore
30 191MB 193MB 2097kB DDR
31 193MB 193MB 524kB sec
32 193MB 194MB 524kB encrypt
33 194MB 195MB 524kB eksst
34 195MB 195MB 524kB rct
35 195MB 197MB 2097kB persistent
36 197MB 201MB 4194kB spare2
37 201MB 252MB 50.3MB laf
38 252MB 294MB 41.9MB boot
39 294MB 336MB 41.9MB recovery
40 336MB 344MB 8389kB ext4 drm
41 344MB 352MB 8389kB ext4 sns
42 352MB 386MB 33.6MB ext4 mpt
43 386MB 394MB 8389kB eri
44 394MB 398MB 4194kB raw_resources
45 398MB 403MB 4194kB raw_resourcesbak
46 403MB 419MB 16.8MB operatorlogging
47 419MB 461MB 41.9MB carrier
48 461MB 470MB 8389kB felica
49 470MB 518MB 48.2MB factory
50 518MB 520MB 2097kB spare3
51 520MB 531MB 10.5MB fota
52 531MB 537MB 6291kB spare4
53 537MB 5285MB 4748MB ext4 system
54 5285MB 6577MB 1292MB ext4 cache
55 6577MB 31.3GB 24.7GB ext4 userdata
56 31.3GB 31.3GB 12.6MB grow

How can I backup Soyes XS ROM?

I received my Soyes XS (the 2GB+16GB model) today. Before I start tinkering with it, I would like to make a full backup of the ROM.
The device uses a MTK chip (MT6737?). I tried to google for a scatter file (for SP Flash Tool) for the device, but so far I have not found one. I could try to make a scatter file myself, if I can get the partition offsets and sizes, but so far I have not been able to do that. The device has no /proc/partinfo file and /proc/mtd is empty. Does anybody know how can I determine the partition structure (start offsets and sizes) so that I can make a scatter file?
Or is there any other way to backup the ROM?
I found file MT6737M_Android_scatter.txt from https://raphsonbd.com/mediatek-device-android-scatter-file/
From that file I got the starting offset (0x0) and length (0x80000) of the PGPT partition, which contains the GPT partition table, which contains start sectors and sizes for all of the partitions of my device.
So I started SP Flash Tool and used "Read Back" to read the PGPT partition to my Linux PC to file PGPT. There I issued command "sgdisk -p PGPT", which displayed the following information:
Code:
$ sgdisk -p PGPT
Warning! Disk size is smaller than the main header indicates! Loading
secondary header from the last sector of the disk! You should use 'v' to
verify disk integrity, and perhaps options on the experts' menu to repair
the disk.
Caution: invalid backup GPT header, but valid main header; regenerating
backup header from main header.
Warning! Error 25 reading partition table for CRC check!
Warning! One or more CRCs don't match. You should repair the disk!
Main header: OK
Backup header: ERROR
Main partition table: OK
Backup partition table: ERROR
****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************
Disk /home/Big/tmp/Soyes XS/PGPT: 1024 sectors, 512.0 KiB
Sector size (logical): 512 bytes
Disk identifier (GUID): 00000000-0000-0000-0000-000000000000
Partition table holds up to 23 entries
Main partition table begins at sector 2 and ends at sector 7
First usable sector is 1024, last usable sector is 61070335
Partitions will be aligned on 1024-sector boundaries
Total free space is 0 sectors (0 bytes)
Number Start (sector) End (sector) Size Code Name
1 1024 7167 3.0 MiB 0700 proinfo
2 7168 17407 5.0 MiB 0700 nvram
3 17408 37887 10.0 MiB 0700 protect1
4 37888 58367 10.0 MiB 0700 protect2
5 58368 59391 512.0 KiB 0700 lk
6 59392 60415 512.0 KiB 0700 para
7 60416 93183 16.0 MiB 0700 boot
8 93184 125951 16.0 MiB 0700 recovery
9 125952 142335 8.0 MiB 0700 logo
10 142336 162815 10.0 MiB 0700 expdb
11 162816 163839 512.0 KiB 0700 seccfg
12 163840 167935 2.0 MiB 0700 oemkeystore
13 167936 180223 6.0 MiB 0700 secro
14 180224 196607 8.0 MiB 0700 keystore
15 196608 206847 5.0 MiB 0700 tee1
16 206848 217087 5.0 MiB 0700 tee2
17 217088 219135 1024.0 KiB 0700 frp
18 219136 284671 32.0 MiB 0700 nvdata
19 284672 360447 37.0 MiB 0700 metadata
20 360448 5603327 2.5 GiB 0700 system
21 5603328 6422527 400.0 MiB 0700 cache
22 6422528 61037567 26.0 GiB 0700 userdata
23 61037568 61070335 16.0 MiB 0700 flashinfo
Using that information I could use "Read Back" in SP Flash Tool to backup the partitions to my PC. The sector size is 512, so for example for the system partition I must enter 512*360448 = 184549376 as the Start Address and 512*(5603327-360448+1) = 2684354560 as the Length (in Decimal) when adding the partition to be read back.
By the way, the device should have only 16 GB memory, but the userdata partition is 26 GB! Strange!

Help! I bricked my ZTE Nubia Z5 NX501 while repartitioning

Hi, I had a working rooted ZTE Nubia Z5 NX501 with TWRP.
The userdata space is 2860MB while sdcard space is 25.4GB so i deciced to merge them using some adb commands in Windows
The memory details are as follow
fdisk -l /dev/block/mmcblk0
Disk /dev/block/mmcblk0: 31.2 GB, 31268536320 bytes
256 heads, 63 sectors/track, 3786 cylinders
Units = cylinders of 16128 * 512 = 8257536 bytes
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 1 266306 2147483647+ ee EFI GPT
cat /proc/partitions
major minor #blocks name
179 0 30535680 mmcblk0
179 1 87536 mmcblk0p1
179 2 128 mmcblk0p2
179 3 256 mmcblk0p3
179 4 512 mmcblk0p4
179 5 2048 mmcblk0p5
179 6 512 mmcblk0p6
179 7 15360 mmcblk0p7
179 8 512 mmcblk0p8
179 9 1 mmcblk0p9
179 10 3072 mmcblk0p10
179 11 3072 mmcblk0p11
179 12 1024 mmcblk0p12
179 13 10240 mmcblk0p13
179 14 15360 mmcblk0p14
179 15 2097152 mmcblk0p15
179 16 2792912 mmcblk0p16
179 17 8192 mmcblk0p17
179 18 122880 mmcblk0p18
179 19 153600 mmcblk0p19
179 20 780 mmcblk0p20
179 21 780 mmcblk0p21
179 22 780 mmcblk0p22
179 23 8 mmcblk0p23
179 24 1 mmcblk0p24
179 25 24768494 mmcblk0p25
ls -al /dev/block/platform/msm_sdcc.1/by-name
lrwxrwxrwx root root 1970-02-03 18:28 DDR -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 1970-02-03 18:28 aboot -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 1970-02-03 18:28 boot -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 1970-02-03 18:28 cache -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 1970-02-03 18:28 customfs -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 1970-02-03 18:28 grow -> /dev/block/mmcblk0p25
lrwxrwxrwx root root 1970-02-03 18:28 m9kefs1 -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 1970-02-03 18:28 m9kefs2 -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 1970-02-03 18:28 m9kefs3 -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 1970-02-03 18:28 m9kefsc -> /dev/block/mmcblk0p24
lrwxrwxrwx root root 1970-02-03 18:28 misc -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 1970-02-03 18:28 modem -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 1970-02-03 18:28 modemst1 -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 1970-02-03 18:28 modemst2 -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 1970-02-03 18:28 pad -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 1970-02-03 18:28 persist -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 1970-02-03 18:28 recovery -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 1970-02-03 18:28 rpm -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 1970-02-03 18:28 sbl1 -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 1970-02-03 18:28 sbl2 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 1970-02-03 18:28 sbl3 -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 1970-02-03 18:28 splash -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 1970-02-03 18:28 system -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 1970-02-03 18:28 tz -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 1970-02-03 18:28 userdata -> /dev/block/mmcblk0p16
parted /dev/block/mmcblk0 print
Model: MMC MBG8FB (sd/mmc)
Disk /dev/block/mmcblk0: 31.3GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 67.1MB 157MB 89.6MB fat16 modem
2 201MB 201MB 131kB sbl1
3 201MB 202MB 262kB sbl2
4 202MB 202MB 524kB sbl3
5 202MB 204MB 2097kB aboot
6 204MB 205MB 524kB rpm
7 268MB 284MB 15.7MB boot
8 336MB 336MB 524kB tz
9 336MB 336MB 1024B pad
10 336MB 339MB 3146kB modemst1
11 339MB 342MB 3146kB modemst2
12 342MB 343MB 1049kB misc
13 343MB 354MB 10.5MB splash
14 403MB 418MB 15.7MB recovery
15 418MB 2566MB 2147MB ext4 system
16 2566MB 5426MB 2860MB ext4 userdata
17 5426MB 5434MB 8389kB ext4 persist
18 5434MB 5560MB 126MB ext4 cache
19 5560MB 5717MB 157MB ext4 customfs
20 5771MB 5772MB 799kB m9kefs1
21 5772MB 5773MB 799kB m9kefs2
22 5838MB 5839MB 799kB m9kefs3
23 5839MB 5839MB 8192B DDR
24 5906MB 5906MB 1024B m9kefsc
25 5906MB 31.3GB 25.4GB fat32 grow
As you can see in order to all the space in the "grow" partition for the "userdata" partition i figured i had to delete partitions 16-25 and create them again with different calculations in size, so before i did that i dump images for all the partitions to be deleted (I did not backup the other partitions, maybe i was lazy).
I don't know how i messed up so now all i have is a QHSUSB_DLOAD device that i'm not able to get the drivers for.
The hardware id is USB\VID_19D2&PID_FFAE&REV_0000&MI_00 but i cannot find it, nor do i know what other driver i can use to put that string inside and get it to work and maybe try to unbrick my device. But on the other side i have a QHSUSB_DLOAD usb device with 5 units from F to J and the Disk Management shows a 30GB disk with around 15 partitions.
My device comes with Snapdragon 600 quad-core a 1.5GHz processor, 2GB of RAM y 32GB of internal storage.
Can anyone help me?

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