Help..Can any one upload log for S2 x526 command "fdisk /dev/block/mmcblk0 " while the phone is in TWRP.
I accidentally clicked resize partition in TWRP 3.1.1.0 x526 while converting to f2fs. Now the data partition is same as sdcard. Any way to reduce it to earlier size of 4GB. It is not causing any problem but i wont be able to create back up since data is fused to sdcard. My internal storage partition is missing . I tried these methods but nothing worked.
1. Install stock rom -
2. Install Lineage
3. Install AICP
I need e2fsck commands to restore it back. Can any one upload log for S2 x526 command "fdisk /dev/block/mmcblk0 " while the phone is in TWRP.
please provide fdisk -l /dev/block/mmcblk0 output. This command has to be run while the phone is in TWRp. I have attached mine.
Code:
C:\adb>adb shell
~#fdisk -l /dev/block/mmcblk0
fdisk -l /dev/block/mmcblk0
Found valid GPT with protective MBR; using GPT
Disk /dev/block/mmcblk0: 61071360 sectors, 1148M
Logical sector size: 512
Disk identifier (GUID): 98101b32-bbe2-4bf2-a06e-2bb33d000c20
Partition table holds up to 56 entries
First usable sector is 34, last usable sector is 61071326
Number Start (sector) End (sector) Size Code Name
1 131072 303103 84.0M 0700 modem
2 393216 393217 1024 0700 fsc
3 393218 393233 8192 0700 ssd
4 393234 394257 512K 0700 sbl1
5 394258 395281 512K 0700 sbl1bak
6 395282 396305 512K 0700 rpm
7 396306 397329 512K 0700 rpmbak
8 397330 401425 2048K 0700 tz
9 401426 405521 2048K 0700 tzbak
10 405522 406545 512K 0700 hyp
11 406546 407569 512K 0700 hypbak
12 407570 440337 16.0M 0700 dsp
13 440338 443409 1536K 0700 modemst1
14 443410 446481 1536K 0700 modemst2
15 446482 446483 1024 0700 OEMCONFIG
16 446484 577555 64.0M 0700 oeminfo
17 655360 655423 32768 0700 DDR
18 655424 658495 1536K 0700 fsg
19 658496 658527 16384 0700 sec
20 658528 760927 50.0M 0700 splash
21 760928 762975 1024K 0700 aboot
22 762976 765023 1024K 0700 abootbak
23 765024 896095 64.0M 0700 boot
24 896096 1027167 64.0M 0700 recovery
25 1027168 1029215 1024K 0700 devinfo
26 1048576 1114111 32.0M 0700 persist
27 1179648 9568255 4096M 0700 system
28 9568256 10092543 256M 0700 cache
29 10092544 10094591 1024K 0700 misc
30 10094592 10095615 512K 0700 factory
31 10095616 10096639 512K 0700 bootconfig
32 10096640 10097663 512K 0700 rootconfig
33 10097664 10098687 512K 0700 recoveryconfig
34 10098688 10099711 512K 0700 letvconfig
35 10099712 10100735 512K 0700 letveui
36 10100736 10101759 512K 0700 letvsecure
37 10101760 10102783 512K 0700 letvreserve
38 10102784 10164223 30.0M 0700 kernellog
39 10164224 10165247 512K 0700 keystore
40 10165248 10165311 32768 0700 config
41 10165312 10296383 64.0M 0700 oem
42 10354688 10354751 32768 0700 limits
43 10485760 10486783 512K 0700 mota
44 10486784 10487295 256K 0700 devcfg
45 10487296 10489343 1024K 0700 dip
46 10489344 10554879 32.0M 0700 mdtp
47 10554880 10555903 512K 0700 syscfg
48 10555904 10564095 4096K 0700 mcfg
49 10616832 10617343 256K 0700 cmnlib
50 10617344 10617855 256K 0700 keymaster
51 10617856 10618367 256K 0700 cmnlibbak
52 10618368 10618879 256K 0700 keymasterbak
53 10747904 10748415 256K 0700 apdp
54 10748416 10748927 256K 0700 msadp
55 10748928 10748943 8192 0700 dpo
56 10748944 61071326 23.9G 0700 userdata
In case anyone need it
Code:
ADF -> /dev/block/mmcblk0p61
APD -> /dev/block/mmcblk0p60
abl -> /dev/block/mmcblk0p27
ablbak -> /dev/block/mmcblk0p28
apdp -> /dev/block/mmcblk0p31
asdf -> /dev/block/mmcblk0p62
asusfw -> /dev/block/mmcblk0p51
bluetooth -> /dev/block/mmcblk0p40
bluetoothbak -> /dev/block/mmcblk0p41
boot -> /dev/block/mmcblk0p12
cache -> /dev/block/mmcblk0p58
cmnlib -> /dev/block/mmcblk0p17
cmnlib64 -> /dev/block/mmcblk0p18
cmnlib64bak -> /dev/block/mmcblk0p20
cmnlibbak -> /dev/block/mmcblk0p19
ddr -> /dev/block/mmcblk0p38
devcfg -> /dev/block/mmcblk0p49
devcfgbak -> /dev/block/mmcblk0p50
devinfo -> /dev/block/mmcblk0p30
dip -> /dev/block/mmcblk0p29
dpo -> /dev/block/mmcblk0p33
dsp -> /dev/block/mmcblk0p26
factory -> /dev/block/mmcblk0p64
frp -> /dev/block/mmcblk0p52
fsc -> /dev/block/mmcblk0p42
fsg -> /dev/block/mmcblk0p11
hyp -> /dev/block/mmcblk0p7
hypbak -> /dev/block/mmcblk0p8
keymaster -> /dev/block/mmcblk0p15
keymasterbak -> /dev/block/mmcblk0p16
keystore -> /dev/block/mmcblk0p48
limits -> /dev/block/mmcblk0p35
logdump -> /dev/block/mmcblk0p53
logfs -> /dev/block/mmcblk0p37
mdtp -> /dev/block/mmcblk0p23
mdtpbak -> /dev/block/mmcblk0p24
mdtpsecapp -> /dev/block/mmcblk0p21
mdtpsecappbak -> /dev/block/mmcblk0p22
misc -> /dev/block/mmcblk0p47
modem -> /dev/block/mmcblk0p25
modemst1 -> /dev/block/mmcblk0p44
modemst2 -> /dev/block/mmcblk0p45
msadp -> /dev/block/mmcblk0p32
persist -> /dev/block/mmcblk0p46
pmic -> /dev/block/mmcblk0p9
pmicbak -> /dev/block/mmcblk0p10
priv -> /dev/block/mmcblk0p63
rawdump -> /dev/block/mmcblk0p56
recovery -> /dev/block/mmcblk0p59
rpm -> /dev/block/mmcblk0p5
rpmbak -> /dev/block/mmcblk0p6
sec -> /dev/block/mmcblk0p39
splash -> /dev/block/mmcblk0p34
ssd -> /dev/block/mmcblk0p43
sti -> /dev/block/mmcblk0p54
storsec -> /dev/block/mmcblk0p55
system -> /dev/block/mmcblk0p13
toolsfv -> /dev/block/mmcblk0p36
tz -> /dev/block/mmcblk0p3
tzbak -> /dev/block/mmcblk0p4
userdata -> /dev/block/mmcblk0p66
vbmeta -> /dev/block/mmcblk0p57
vendor -> /dev/block/mmcblk0p14
version -> /dev/block/mmcblk0p65
xbl -> /dev/block/mmcblk0p1
xblbak -> /dev/block/mmcblk0p2
Code:
Number Start End Size File system Name Flags
1 67.1MB 79.7MB 12.6MB xbl
2 79.7MB 92.3MB 12.6MB xblbak
3 92.3MB 96.5MB 4194kB tz
4 96.5MB 101MB 4194kB tzbak
5 101MB 101MB 524kB rpm
6 101MB 102MB 524kB rpmbak
7 102MB 102MB 524kB hyp
8 102MB 103MB 524kB hypbak
9 103MB 103MB 524kB pmic
10 103MB 104MB 524kB pmicbak
11 104MB 106MB 2097kB fsg
12 134MB 201MB 67.1MB boot
13 201MB 4496MB 4295MB ext4 system
14 4496MB 5335MB 839MB ext4 vendor
15 5335MB 5336MB 1049kB keymaster
16 5336MB 5337MB 1049kB keymasterbak
17 5337MB 5338MB 1049kB cmnlib
18 5338MB 5339MB 1049kB cmnlib64
19 5339MB 5340MB 1049kB cmnlibbak
20 5340MB 5341MB 1049kB cmnlib64bak
21 5341MB 5346MB 4194kB mdtpsecapp
22 5346MB 5350MB 4194kB mdtpsecappbak
23 5350MB 5383MB 33.6MB mdtp
24 5383MB 5417MB 33.6MB mdtpbak
25 5417MB 5532MB 115MB fat16 modem
26 5532MB 5549MB 16.8MB ext4 dsp
27 5549MB 5550MB 1049kB abl
28 5550MB 5551MB 1049kB ablbak
29 5551MB 5552MB 1049kB dip
30 5552MB 5552MB 4096B devinfo
31 5552MB 5552MB 262kB apdp
32 5552MB 5553MB 262kB msadp
33 5553MB 5553MB 1024B dpo
34 5553MB 5587MB 34.2MB splash
35 5587MB 5587MB 4096B limits
36 5587MB 5588MB 1049kB toolsfv
37 5637MB 5646MB 8389kB logfs
38 5704MB 5705MB 1049kB ddr
39 5705MB 5705MB 16.4kB sec
40 5705MB 5706MB 1049kB bluetooth
41 5706MB 5707MB 1049kB bluetoothbak
42 5771MB 5771MB 1024B fsc
43 5771MB 5771MB 8192B ssd
44 5771MB 5773MB 2097kB modemst1
45 5773MB 5776MB 2097kB modemst2
46 5776MB 5809MB 33.6MB ext4 persist
47 5809MB 5810MB 1049kB misc
48 5810MB 5811MB 524kB keystore
49 5811MB 5812MB 1049kB devcfg
50 5812MB 5813MB 1049kB devcfgbak
51 5813MB 5880MB 67.1MB ext4 asusfw
52 5880MB 5880MB 524kB frp
53 5880MB 5948MB 67.1MB logdump
54 5948MB 5950MB 2097kB sti
55 5973MB 5973MB 131kB storsec
56 6040MB 6174MB 134MB rawdump
57 6174MB 6174MB 65.5kB vbmeta
58 6174MB 6541MB 367MB ext4 cache
59 6541MB 6608MB 67.1MB recovery
60 6644MB 6853MB 210MB ext4 APD
61 6853MB 6898MB 44.0MB ext4 ADF
62 6898MB 6931MB 33.6MB ext4 asdf
63 6931MB 6932MB 524kB priv
64 6932MB 6942MB 10.5MB ext4 factory
65 6979MB 6979MB 131kB version
66 7046MB 62.5GB 55.5GB ext4 userdata
Code:
1 0 8192 ram0
1 1 8192 ram1
1 2 8192 ram2
1 3 8192 ram3
1 4 8192 ram4
1 5 8192 ram5
1 6 8192 ram6
1 7 8192 ram7
1 8 8192 ram8
1 9 8192 ram9
1 10 8192 ram10
1 11 8192 ram11
1 12 8192 ram12
1 13 8192 ram13
1 14 8192 ram14
1 15 8192 ram15
179 0 61071360 mmcblk0
179 1 12288 mmcblk0p1
179 2 12288 mmcblk0p2
179 3 4096 mmcblk0p3
179 4 4096 mmcblk0p4
179 5 512 mmcblk0p5
179 6 512 mmcblk0p6
179 7 512 mmcblk0p7
179 8 512 mmcblk0p8
179 9 512 mmcblk0p9
179 10 512 mmcblk0p10
179 11 2048 mmcblk0p11
179 12 65536 mmcblk0p12
179 13 4194304 mmcblk0p13
179 14 819200 mmcblk0p14
179 15 1024 mmcblk0p15
179 16 1024 mmcblk0p16
179 17 1024 mmcblk0p17
179 18 1024 mmcblk0p18
179 19 1024 mmcblk0p19
179 20 1024 mmcblk0p20
179 21 4096 mmcblk0p21
179 22 4096 mmcblk0p22
179 23 32768 mmcblk0p23
179 24 32768 mmcblk0p24
179 25 112640 mmcblk0p25
179 26 16384 mmcblk0p26
179 27 1024 mmcblk0p27
179 28 1024 mmcblk0p28
179 29 1024 mmcblk0p29
179 30 4 mmcblk0p30
179 31 256 mmcblk0p31
259 0 256 mmcblk0p32
259 1 1 mmcblk0p33
259 2 33424 mmcblk0p34
259 3 4 mmcblk0p35
259 4 1024 mmcblk0p36
259 5 8192 mmcblk0p37
259 6 1024 mmcblk0p38
259 7 16 mmcblk0p39
259 8 1024 mmcblk0p40
259 9 1024 mmcblk0p41
259 10 1 mmcblk0p42
259 11 8 mmcblk0p43
259 12 2048 mmcblk0p44
259 13 2048 mmcblk0p45
259 14 32768 mmcblk0p46
259 15 1024 mmcblk0p47
259 16 512 mmcblk0p48
259 17 1024 mmcblk0p49
259 18 1024 mmcblk0p50
259 19 65536 mmcblk0p51
259 20 512 mmcblk0p52
259 21 65536 mmcblk0p53
259 22 2048 mmcblk0p54
259 23 128 mmcblk0p55
259 24 131072 mmcblk0p56
259 25 64 mmcblk0p57
259 26 358400 mmcblk0p58
259 27 65536 mmcblk0p59
259 28 204800 mmcblk0p60
259 29 43008 mmcblk0p61
259 30 32768 mmcblk0p62
259 31 512 mmcblk0p63
259 32 10240 mmcblk0p64
259 33 128 mmcblk0p65
259 34 54190063 mmcblk0p66
179 32 4096 mmcblk0rpmb
Hi,
As Redmi 4A are already pretty cheap I wanted to experiment a bit. I have two of them, which one of them had unlocked bootloader and second did not.
I used emmcdl.exe to dump all partitions from one with unlocked bootloader:
Code:
# PartNum PartName StartSec NumSecs
# PartNum PartName StartSec NumSecs
1 modem 131072 172032
2 fsc 393216 2
3 ssd 393218 16
4 sbl1 393234 1024
5 sbl1bak 394258 1024
6 rpm 395282 1024
7 rpmbak 396306 1024
8 tz 397330 4096
9 tzbak 401426 4096
10 devcfg 405522 512
11 devcfgbak 406034 512
12 dsp 406546 32768
13 modemst1 439314 3072
14 modemst2 442386 3072
15 DDR 524288 64
16 fsg 524352 3072
17 sec 527424 32
18 splash 655360 40960
19 aboot 786432 2048
20 abootbak 788480 2048
21 boot 790528 131072
22 recovery 921600 131072
23 devinfo 1052672 2048
24 system 1054720 6291456
25 cache 7471104 524288
26 persist 7995392 65536
27 misc 8060928 2048
28 keystore 8062976 1024
29 config 8064000 64
30 oem 8064064 131072
31 limits 8257536 64
32 mota 8388608 1024
33 dip 8389632 2048
34 mdtp 8391680 65536
35 syscfg 8457216 1024
36 mcfg 8458240 8192
37 lksecapp 8519680 256
38 lksecappbak 8519936 256
39 cmnlib 8520192 512
40 cmnlibbak 8520704 512
41 cmnlib64 8521216 512
42 cmnlib64bak 8521728 512
43 keymaster 8522240 512
44 keymasterbak 8522752 512
45 apdp 8650752 512
46 msadp 8651264 512
47 dpo 8651776 16
48 cust 8781824 1048576
49 userdata 9830400 51240927
and then I have written them to the second Redmi 4A (I dumped them again, checked CRC sums which were fine). I hoped I got clone of the phone. Unfortunately I did not. I lost imei's and what is more phone stopped charging. WiFi and other functions are working working.
Are persist and modemst partitions that contain information about sensors and imei's?
Do you have idea what may went wrong as clonning partitions went OK ?
.
Friends, please help
Deleted the internal memory partition table.
Can anyone give a listing of the tayulitsa sections:
Code:
adb shell
sgdisk --print /dev/block/sda
Or maybe if someone has a gpt.bin dump:
Code:
adb shell
dd if=/dev/block/sda of=/external_sd/gpt.bin bs=8 count=2176
I have a version with 128GB of internal memory, but it will work with the other - I'll figure it out.
Code:
Number Start (sector) End (sector) Size Code Name
1 6 7 8.0 KiB A02C ssd
2 8 8199 32.0 MiB A026 persist
3 8200 8455 1024.0 KiB A01F misc
4 8456 8967 2.0 MiB FFFF countrycode
5 8968 9095 512.0 KiB A02D keystore
6 9096 9223 512.0 KiB FFFF frp
7 9224 41991 128.0 MiB FFFF minidump
8 41992 566279 2.0 GiB 8300 cust
9 566280 2794503 8.5 GiB FFFF super
10 2794504 2794519 64.0 KiB FFFF vbmeta_system_a
11 2794520 2794535 64.0 KiB FFFF vbmeta_system_b
12 2794536 2798631 16.0 MiB FFFF metadata
13 2798632 2831399 128.0 MiB A039 rescue
14 2831400 2835495 16.0 MiB FFFF gsort
15 2835496 2837543 8.0 MiB FFFF ffu
16 2837544 14024698 42.7 GiB A03A userdata
Something like this? @Shaman_RSHU . Got Spesn 64gb variant.
NeoPreacher said:
Code:
Number Start (sector) End (sector) Size Code Name
1 6 7 8.0 KiB A02C ssd
2 8 8199 32.0 MiB A026 persist
3 8200 8455 1024.0 KiB A01F misc
4 8456 8967 2.0 MiB FFFF countrycode
5 8968 9095 512.0 KiB A02D keystore
6 9096 9223 512.0 KiB FFFF frp
7 9224 41991 128.0 MiB FFFF minidump
8 41992 566279 2.0 GiB 8300 cust
9 566280 2794503 8.5 GiB FFFF super
10 2794504 2794519 64.0 KiB FFFF vbmeta_system_a
11 2794520 2794535 64.0 KiB FFFF vbmeta_system_b
12 2794536 2798631 16.0 MiB FFFF metadata
13 2798632 2831399 128.0 MiB A039 rescue
14 2831400 2835495 16.0 MiB FFFF gsort
15 2835496 2837543 8.0 MiB FFFF ffu
16 2837544 14024698 42.7 GiB A03A userdata
Something like this? @Shaman_RSHU . Got Spesn 64gb variant.
Click to expand...
Click to collapse
Oh thanks! It helped me a lot. I think now I can do without gpt.bin, doing everything manually using the sgdisk command in adb shell.
I erased my Vendor by accident on my Redmi 4A! Does anyone have a backup? :')
I Was booted into TWRP and I thought it was like samsung, so erased vendor, dalvik art cache ect.
Little did I knew was that I had deleted the EFS. So yea now if you have a Redmi 4A Vendor.img I would
love to have it since Bluetooth and Wifi Doesn't work
P.S. Sorry for my bad english, im just new here! )
ASCX_A20e said:
Does anyone have a backup? :')
Click to expand...
Click to collapse
Just download the firmware and extract it. That's it.
Redmi 4A – MIUI Download Xiaomi Official ROM
WoKoschekk said:
Just download the firmware and extract it. That's it.
Click to expand...
Click to collapse
It doesnt include a vendor.img sadly...
ASCX_A20e said:
It doesnt include a vendor.img sadly...
Click to expand...
Click to collapse
It does. I guarantee.
WoKoschekk said:
Just download the firmware and extract it. That's it.
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Are sure your device has a partition /vendor? Is it a system-as-root device? Below you see the partition table of your Redmi 4A. There's no partition /vendor and for that reason no one has a backup of it.
Code:
GPT fdisk (gdisk) version 1.0.9
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: damaged
****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************
Warning! Secondary partition table overlaps the last partition by
9830399 blocks!
You will need to delete this partition or resize it in another utility.
Disk gpt_main0.bin: 34 sectors, 17.0 KiB
Sector size (logical): 512 bytes
Disk identifier (GUID): 98101B32-BBE2-4BF2-A06E-2BB33D000C20
Partition table holds up to 52 entries
Main partition table begins at sector 2 and ends at sector 14
First usable sector is 34, last usable sector is 0
Partitions will be aligned on 2-sector boundaries
Total free space is 0 sectors (0 bytes)
Number Start (sector) End (sector) Size Code Name
1 131072 303103 84.0 MiB 0700 modem
2 393216 393217 1024 bytes A029 fsc
3 393218 393233 8.0 KiB A02C ssd
4 393234 394257 512.0 KiB A012 sbl1
5 394258 395281 512.0 KiB 0700 sbl1bak
6 395282 396305 512.0 KiB A018 rpm
7 396306 397329 512.0 KiB 0700 rpmbak
8 397330 401425 2.0 MiB A016 tz
9 401426 405521 2.0 MiB 0700 tzbak
10 405522 406033 256.0 KiB FFFF devcfg
11 406034 406545 256.0 KiB FFFF devcfgbak
12 406546 439313 16.0 MiB 0700 dsp
13 439314 442385 1.5 MiB A027 modemst1
14 442386 445457 1.5 MiB A028 modemst2
15 524288 524351 32.0 KiB A01A DDR
16 524352 527423 1.5 MiB A02A fsg
17 527424 527455 16.0 KiB A01D sec
18 655360 696319 20.0 MiB A036 splash
19 786432 788479 1024.0 KiB A015 aboot
20 788480 790527 1024.0 KiB 0700 abootbak
21 790528 921599 64.0 MiB A036 boot
22 921600 1052671 64.0 MiB A025 recovery
23 1052672 1054719 1024.0 KiB A03A devinfo
24 1054720 7346175 3.0 GiB A038 system
25 7471104 7995391 256.0 MiB A039 cache
26 7995392 8060927 32.0 MiB A026 persist
27 8060928 8062975 1024.0 KiB A01F misc
28 8062976 8063999 512.0 KiB A02D keystore
29 8064000 8064063 32.0 KiB FFFF config
30 8064064 8195135 64.0 MiB FFFF oem
31 8257536 8257599 32.0 KiB A040 limits
32 8388608 8389631 512.0 KiB 0700 mota
33 8389632 8391679 1024.0 KiB FFFF dip
34 8391680 8457215 32.0 MiB FFFF mdtp
35 8457216 8458239 512.0 KiB A018 syscfg
36 8458240 8466431 4.0 MiB 0700 mcfg
37 8519680 8519935 128.0 KiB FFFF lksecapp
38 8519936 8520191 128.0 KiB FFFF lksecappbak
39 8520192 8520703 256.0 KiB FFFF cmnlib
40 8520704 8521215 256.0 KiB FFFF cmnlibbak
41 8521216 8521727 256.0 KiB FFFF cmnlib64
42 8521728 8522239 256.0 KiB FFFF cmnlib64bak
43 8522240 8522751 256.0 KiB FFFF keymaster
44 8522752 8523263 256.0 KiB FFFF keymasterbak
45 8650752 8651263 256.0 KiB A022 apdp
46 8651264 8651775 256.0 KiB A023 msadp
47 8651776 8651791 8.0 KiB A024 dpo
48 8781824 9830399 512.0 MiB A03A cust
49 9830400 9830399 0 bytes A03A userdata
WoKoschekk said:
It does. I guarantee.
Click to expand...
Click to collapse
look at this bro, no there isnt
WoKoschekk said:
Are sure your device has a partition /vendor? Is it a system-as-root device? Below you see the partition table of your Redmi 4A. There's no partition /vendor and for that reason no one has a backup of it.
Code:
GPT fdisk (gdisk) version 1.0.9
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: damaged
****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************
Warning! Secondary partition table overlaps the last partition by
9830399 blocks!
You will need to delete this partition or resize it in another utility.
Disk gpt_main0.bin: 34 sectors, 17.0 KiB
Sector size (logical): 512 bytes
Disk identifier (GUID): 98101B32-BBE2-4BF2-A06E-2BB33D000C20
Partition table holds up to 52 entries
Main partition table begins at sector 2 and ends at sector 14
First usable sector is 34, last usable sector is 0
Partitions will be aligned on 2-sector boundaries
Total free space is 0 sectors (0 bytes)
Number Start (sector) End (sector) Size Code Name
1 131072 303103 84.0 MiB 0700 modem
2 393216 393217 1024 bytes A029 fsc
3 393218 393233 8.0 KiB A02C ssd
4 393234 394257 512.0 KiB A012 sbl1
5 394258 395281 512.0 KiB 0700 sbl1bak
6 395282 396305 512.0 KiB A018 rpm
7 396306 397329 512.0 KiB 0700 rpmbak
8 397330 401425 2.0 MiB A016 tz
9 401426 405521 2.0 MiB 0700 tzbak
10 405522 406033 256.0 KiB FFFF devcfg
11 406034 406545 256.0 KiB FFFF devcfgbak
12 406546 439313 16.0 MiB 0700 dsp
13 439314 442385 1.5 MiB A027 modemst1
14 442386 445457 1.5 MiB A028 modemst2
15 524288 524351 32.0 KiB A01A DDR
16 524352 527423 1.5 MiB A02A fsg
17 527424 527455 16.0 KiB A01D sec
18 655360 696319 20.0 MiB A036 splash
19 786432 788479 1024.0 KiB A015 aboot
20 788480 790527 1024.0 KiB 0700 abootbak
21 790528 921599 64.0 MiB A036 boot
22 921600 1052671 64.0 MiB A025 recovery
23 1052672 1054719 1024.0 KiB A03A devinfo
24 1054720 7346175 3.0 GiB A038 system
25 7471104 7995391 256.0 MiB A039 cache
26 7995392 8060927 32.0 MiB A026 persist
27 8060928 8062975 1024.0 KiB A01F misc
28 8062976 8063999 512.0 KiB A02D keystore
29 8064000 8064063 32.0 KiB FFFF config
30 8064064 8195135 64.0 MiB FFFF oem
31 8257536 8257599 32.0 KiB A040 limits
32 8388608 8389631 512.0 KiB 0700 mota
33 8389632 8391679 1024.0 KiB FFFF dip
34 8391680 8457215 32.0 MiB FFFF mdtp
35 8457216 8458239 512.0 KiB A018 syscfg
36 8458240 8466431 4.0 MiB 0700 mcfg
37 8519680 8519935 128.0 KiB FFFF lksecapp
38 8519936 8520191 128.0 KiB FFFF lksecappbak
39 8520192 8520703 256.0 KiB FFFF cmnlib
40 8520704 8521215 256.0 KiB FFFF cmnlibbak
41 8521216 8521727 256.0 KiB FFFF cmnlib64
42 8521728 8522239 256.0 KiB FFFF cmnlib64bak
43 8522240 8522751 256.0 KiB FFFF keymaster
44 8522752 8523263 256.0 KiB FFFF keymasterbak
45 8650752 8651263 256.0 KiB A022 apdp
46 8651264 8651775 256.0 KiB A023 msadp
47 8651776 8651791 8.0 KiB A024 dpo
48 8781824 9830399 512.0 MiB A03A cust
49 9830400 9830399 0 bytes A03A userdata
Click to expand...
Click to collapse
i erased /vendor by accident and I dont have a backup
ASCX_A20e said:
i erased /vendor by accident and I dont have a backup
Click to expand...
Click to collapse
As you can see above, there is no partition /vendor. The Redmi 4A is not a system-root device. So, /vendor is /system/vendor and you must flash the system.img to /system. That will restore your vendor files.
WoKoschekk said:
As you can see above, there is no partition /vendor. The Redmi 4A is not a system-root device. So, /vendor is /system/vendor and you must flash the system.img to /system. That will restore your vendor files.
Click to expand...
Click to collapse
my bad, i flashed system.img but it didnt fix sadly, wifi turns off when i turn it on.. any ideas?
ASCX_A20e said:
any ideas?
Click to expand...
Click to collapse
yes... flash the complete firmware and go back to stock.