Hey,
My phone display 16Gb instead of 32Gb !
I had restored my phone multiple times lately because of some things I shouldn't do..
I've a LG G2 D802, get back to stock rom (KOR) rooted but no recovery as I have "adbd cannot run as root in production builds" issue.
So if anyone know how to go back to normal or just install a recovery in order to go under a non stock rom, i'd be glad to follow his advice.
By the way when I go to hardware information on Android I see 32Gb but anywhere else even on PC i see 16Gb (10 actually).
You may want to have a look here http://forum.xda-developers.com/showthread.php?t=2432476 sounds like you have to install a kdz from a country that uses 32gb G2. I had a similar issue when restoring a stock rom on my G pro once, some kdz files are for 16gb variants.
PallyBud said:
You may want to have a look here http://forum.xda-developers.com/showthread.php?t=2432476 sounds like you have to install a kdz from a country that uses 32gb G2. I had a similar issue when restoring a stock rom on my G pro once, some kdz files are for 16gb variants.
Click to expand...
Click to collapse
Ok, thank you! I'll give it a shot tomorow, internet is too slow here ...
Will say if it worked tomorow! Thanks again!
shark_max said:
Ok, thank you! I'll give it a shot tomorow, internet is too slow here ...
Will say if it worked tomorow! Thanks again!
Click to expand...
Click to collapse
I do not think it will help you might have a partition problem like many of us have had. Try this http://forum.xda-developers.com/showpost.php?p=50790181&postcount=49
K,
Kickoff said:
I do not think it will help you might have a partition problem like many of us have had. Try this http://forum.xda-developers.com/showpost.php?p=50790181&postcount=49
K,
Click to expand...
Click to collapse
Hey!
I was actually trying it on my own as I find it on another forum but the output is different than yours :
Code:
[email protected]:/system/bin # ./parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
p
Model: MMC 032GE4 (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 83.9MB 67.1MB fat16 modem
2 83.9MB 84.9MB 1049kB sbl1
3 84.9MB 85.5MB 524kB dbi
4 101MB 101MB 524kB DDR
5 117MB 118MB 1049kB aboot
6 118MB 120MB 1049kB rpm
7 134MB 151MB 16.8MB boot
8 151MB 152MB 1049kB tz
9 152MB 152MB 1024B pad
10 168MB 171MB 3146kB modemst1
11 171MB 174MB 3146kB modemst2
12 174MB 174MB 1024B pad1
13 185MB 201MB 16.8MB misc
14 201MB 235MB 33.6MB ext4 persist
15 235MB 252MB 16.8MB recovery
16 252MB 255MB 3146kB fsg
17 268MB 269MB 524kB fsc
18 269MB 269MB 524kB ssd
19 269MB 269MB 1024B pad2
20 269MB 270MB 524kB encrypt
21 285MB 294MB 8389kB ext4 drm
22 294MB 302MB 8389kB ext4 sns
23 302MB 336MB 33.6MB laf
24 336MB 369MB 33.6MB fota
25 369MB 403MB 33.6MB ext4 mpt
26 403MB 403MB 524kB dbibak
27 403MB 404MB 1049kB rpmbak
28 404MB 405MB 1049kB tzbak
29 405MB 405MB 8192B rct
30 419MB 3322MB 2902MB ext4 system
31 3322MB 3959MB 638MB ext4 cache
32 3959MB 4043MB 83.9MB tombstones
33 4043MB 4060MB 16.8MB spare
34 4060MB 4110MB 50.3MB ext4 cust
35 4110MB 15.7GB 11.6GB ext4 userdata
36 15.7GB 15.8GB 37.7MB grow
Edit : ok, I will try to be a better student and try to actually read your post.. I will send the result later..
Edit2 : Thanks a lot, it worked perfectly!
Related
As far as I know, there is:
/boot
/bootloader
/userdata
/system
/cache
/recovery
/radio
Is there a way for me to create a new partition on the NAND to which I can write to and from?
Sinfamy said:
As far as I know, there is:
/boot
/bootloader
/userdata
/system
/cache
/recovery
/radio
Is there a way for me to create a new partition on the NAND to which I can write to and from?
Click to expand...
Click to collapse
There are actually more partitions that you thought.
Code:
# parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
p
Model: MMC 016G92 (sd/mmc)
Disk /dev/block/mmcblk0: 15.8GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 524kB 67.6MB 67.1MB fat16 modem
2 67.6MB 68.2MB 524kB sbl1
3 68.2MB 68.7MB 524kB sbl2
4 68.7MB 70.8MB 2097kB sbl3
5 70.8MB 71.3MB 524kB tz
6 71.3MB 94.4MB 23.1MB boot
7 94.4MB 117MB 23.1MB recovery
8 117MB 118MB 799kB m9kefs1
9 118MB 119MB 799kB m9kefs2
10 119MB 120MB 799kB m9kefs3
11 120MB 121MB 524kB rpm
12 121MB 121MB 524kB aboot
13 121MB 122MB 524kB sbl2b
14 122MB 124MB 2097kB sbl3b
15 124MB 124MB 524kB abootb
16 124MB 125MB 524kB rpmb
17 125MB 125MB 524kB tzb
18 125MB 126MB 524kB metadata
19 126MB 143MB 16.8MB misc
20 143MB 159MB 16.8MB ext4 persist
21 159MB 1040MB 881MB ext4 system
22 1040MB 1627MB 587MB ext4 cache
23 1627MB 15.8GB 14.1GB ext4 userdata
24 15.8GB 15.8GB 524kB DDR
25 15.8GB 15.8GB 507kB grow
I am trying to get us a working custom rom for this tablet. I have downloaded the stock firmware, used kitchen to de-odex system and built a rom, the problem I am running in to is an error in updater script and some other error when flashing. Any help would be appreciated.
Robbie D said:
I am trying to get us a working custom rom for this tablet. I have downloaded the stock firmware, used kitchen to de-odex system and built a rom, the problem I am running in to is an error in updater script and some other error when flashing. Any help would be appreciated.
Click to expand...
Click to collapse
hi,
without the actual errors your question reads like this:
HELP !!!!! I flumoxed my combobulator and now the doohickey on my thing-a-ma-whatsit is all floopy ! :crying:
:silly:
Kidding ! okay seriously,
if you can pack you /system as a system.img [not sparse] you can use the following method in your script for installation.
Code:
ui_print("***********************************************");
ui_print(" rom-test");
ui_print(" by super-dev");
ui_print("***********************************************");
ui_print("Installing System.....");
show_progress(1, 15);
package_extract_file("system.img", "/dev/block/mmcblk0p[COLOR="Red"]##[/COLOR]");
ui_print("Installing Kernel.....");
show_progress(0.050000, 5);
package_extract_file("boot.img", "/dev/block/mmcblk0p[COLOR="Red"]##[/COLOR]");
show_progress(0.200000, 10);
ui_print("Installation complete!");
if you can output a system.img and it is sparse [need linux] the command to change it to ext4 is
simg2img system.img system.img.ext4
then you can rename system.img.ext4 to system.img
the partition layout by ACTUAL mmcblk0p## is : for t530nu;
Code:
[email protected]:/ $ su
[email protected]:/ # parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print all
print all
Model: MMC 016GE2 (sd/mmc)
Disk /dev/block/mmcblk0: 15.8GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 4194kB 18.9MB 14.7MB emmc apnhlos /modem /dev/block/mmcblk0p1
2 18.9MB 71.0MB 52.2MB emmc modem /mdm /dev/block/mmcblk0p2
3 71.0MB 71.6MB 524kB sbl1
4 71.6MB 71.6MB 32.8kB dbi
5 71.6MB 71.6MB 32.8kB ddr
6 71.6MB 73.7MB 2097kB aboot
7 73.7MB 74.3MB 524kB rpm
8 74.3MB 74.8MB 524kB tz
9 74.8MB 75.8MB 1049kB pad
10 75.8MB 86.3MB 10.5MB param
11 86.3MB 101MB 14.7MB ext4 efs /dev/block/mmcblk0p11
12 101MB 104MB 3146kB modemst1
13 104MB 107MB 3146kB modemst2
[COLOR="Red"]14[/COLOR] 107MB 118MB 10.5MB [COLOR="Red"]boot /dev/block/mmcblk0p14[/COLOR]
[COLOR="Red"]15[/COLOR] 118MB 128MB 10.5MB [COLOR="Red"]recovery /dev/block/mmcblk0p15[/COLOR]
16 128MB 139MB 10.5MB fota
17 139MB 146MB 7331kB backup
18 146MB 149MB 3146kB fsg
19 149MB 149MB 1024B fsc
20 149MB 149MB 8192B ssd
21 149MB 158MB 8389kB ext4 persist
22 158MB 167MB 9437kB ext4 persdata
[COLOR="Red"]23[/COLOR] 167MB 2579MB 2412MB ext4 [COLOR="Red"]system /dev/block/mmcblk0p23[/COLOR]
24 2579MB 2893MB 315MB ext4 cache /dev/block/mmcblk0p24
25 2893MB 2914MB 21.0MB ext4 hidden /preload /dev/block/mmcblk0p25
[COLOR="Red"]26[/COLOR] 2914MB 15.8GB 12.8GB ext4 [COLOR="Red"]userdata /dev/block/mmcblk0p26[/COLOR]
(parted)
cheers !
m
moonbutt74 said:
hi,
without the actual errors your question reads like this:
HELP !!!!! I flumoxed my combobulator and now the doohickey on my thing-a-ma-whatsit is all floopy ! :crying:
:silly:
Kidding ! okay seriously,
if you can pack you /system as a system.img [not sparse] you can use the following method in your script for installation.
Code:
ui_print("***********************************************");
ui_print(" rom-test");
ui_print(" by super-dev");
ui_print("***********************************************");
ui_print("Installing System.....");
show_progress(1, 15);
package_extract_file("system.img", "/dev/block/mmcblk0p[COLOR="Red"]##[/COLOR]");
ui_print("Installing Kernel.....");
show_progress(0.050000, 5);
package_extract_file("boot.img", "/dev/block/mmcblk0p[COLOR="Red"]##[/COLOR]");
show_progress(0.200000, 10);
ui_print("Installation complete!");
if you can output a system.img and it is sparse [need linux] the command to change it to ext4 is
simg2img system.img system.img.ext4
then you can rename system.img.ext4 to system.img
the partition layout by ACTUAL mmcblk0p## is : for t530nu;
Code:
[email protected]:/ $ su
[email protected]:/ # parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print all
print all
Model: MMC 016GE2 (sd/mmc)
Disk /dev/block/mmcblk0: 15.8GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 4194kB 18.9MB 14.7MB emmc apnhlos /modem /dev/block/mmcblk0p1
2 18.9MB 71.0MB 52.2MB emmc modem /mdm /dev/block/mmcblk0p2
3 71.0MB 71.6MB 524kB sbl1
4 71.6MB 71.6MB 32.8kB dbi
5 71.6MB 71.6MB 32.8kB ddr
6 71.6MB 73.7MB 2097kB aboot
7 73.7MB 74.3MB 524kB rpm
8 74.3MB 74.8MB 524kB tz
9 74.8MB 75.8MB 1049kB pad
10 75.8MB 86.3MB 10.5MB param
11 86.3MB 101MB 14.7MB ext4 efs /dev/block/mmcblk0p11
12 101MB 104MB 3146kB modemst1
13 104MB 107MB 3146kB modemst2
[COLOR="Red"]14[/COLOR] 107MB 118MB 10.5MB [COLOR="Red"]boot /dev/block/mmcblk0p14[/COLOR]
[COLOR="Red"]15[/COLOR] 118MB 128MB 10.5MB [COLOR="Red"]recovery /dev/block/mmcblk0p15[/COLOR]
16 128MB 139MB 10.5MB fota
17 139MB 146MB 7331kB backup
18 146MB 149MB 3146kB fsg
19 149MB 149MB 1024B fsc
20 149MB 149MB 8192B ssd
21 149MB 158MB 8389kB ext4 persist
22 158MB 167MB 9437kB ext4 persdata
[COLOR="Red"]23[/COLOR] 167MB 2579MB 2412MB ext4 [COLOR="Red"]system /dev/block/mmcblk0p23[/COLOR]
24 2579MB 2893MB 315MB ext4 cache /dev/block/mmcblk0p24
25 2893MB 2914MB 21.0MB ext4 hidden /preload /dev/block/mmcblk0p25
[COLOR="Red"]26[/COLOR] 2914MB 15.8GB 12.8GB ext4 [COLOR="Red"]userdata /dev/block/mmcblk0p26[/COLOR]
(parted)
cheers !
m
Click to expand...
Click to collapse
thank you for an in depth answer.. I feel it is over my head though..I will try and figure it out, and search like there's no tomorrow!!! cheers and thanks again!!
Hello everyone,
Instead of hijacking the topic of gkalen i'am going to expose my problem here, is my phone dead ?!
5 days after installing the miui v7 global rom my phone rebooted and got stuck at Mi logo.
Since then i dont have acces to xiaomi recover only to fastboot mode.
I cant use miflash because i kept getting the following error: [00000AFC]86d6ac8f 0.27 FAILED (remote: failed to write partition)
Mi PC suite isnt working either.
Today i managed to access TWRP recovery and as well adb shell, but installaing via recovery is not working as well and I get the following message:
E:Unable to mount '/data'
Same error using adb shell.
So I think the problem is linked to the partitions, let me show you thoses logs:
/dev/block/mmcblk0p24 /cache ext4 rw
/dev/block/mmcblk0p23 /system ext4 rw
/dev/block/mmcblk0p30 /data ext4 rw
/dev/block/mmcblk0p1 /firmware vfat rw
/dev/block/mmcblk0p25 /persist ext4 rw
/dev/block/mmcblk1p1 /external_sd vfat rw
/usb-otg vfat rw
Parted /dev/block/mmcblk0p24
print
Error: /dev/block/mmcblk0p24: unrecognised disk label
Parted /dev/block/mmcblk0p23 => Fine
print
Model: Unknown (unknown)
Disk /dev/block/mmcblk0p23: 1074MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Number Start End Size File system Flags
1 0.00B 1074MB 1074MB ext4
Parted /dev/block/mmcblk0p30
print
]Error: /dev/block/mmcblk0p30: unrecognised disk label
I'am getting desesperate, anyone knows how to fix partitions issue ?
Actually i could need some help, if someone would be kind enough to run the following command with adb shell:
parted /dev/block/mmcblk0
print
And give me the output, here is mine and I guess i'am missing a few bits...:
Model: MMC HAG2e (sd/mmc)
Disk /dev/block/mmcblk0: 15.8GB
Sector size (logical/physical): 512B/512B
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 524kB sbl1bak
4 135MB 136MB 1049kB aboot
5 136MB 137MB 1049kB abootbak
6 137MB 138MB 524kB rpm
7 138MB 138MB 524kB rpmbak
8 138MB 139MB 524kB tz
9 139MB 139MB 524kB tzbak
10 139MB 140MB 524kB hyp
11 140MB 141MB 524kB hypbak
12 141MB 142MB 1049kB pad
13 142MB 143MB 1573kB modemst1
14 143MB 145MB 1573kB modemst2
15 145MB 146MB 1049kB misc
16 146MB 146MB 1024B fsc
17 146MB 146MB 8192B ssd
18 146MB 156MB 10.5MB splash
19 201MB 201MB 32.8kB DDR
20 201MB 203MB 1573kB fsg
21 203MB 203MB 16.4kB sec
22 203MB 237MB 33.6MB boot
23 237MB 1310MB 1074MB ext4 system
24 1310MB 1646MB 336MB cache
25 1646MB 1679MB 33.6MB ext4 persist
26 1679MB 1713MB 33.6MB recovery
27 1745MB 1745MB 524kB keystore
28 1745MB 1745MB 32.8kB config
29 1745MB 1812MB 67.1MB oem
30 1879MB 15.8GB 13.9GB userdata
Hi,
were you abel to solve your problem or have you received any reply to it? I also think that my internal SD card is corrupted and to install a new ROM I have to set it up again. I always get the following error messagre if I want to flash it with Mi-flash
"remote: failed to write partition" .
If I check it with fastboot in detail, I miss the partition with the name "partition". This is the first one which is flashed, but I do not have.
My phone is 2014813.
I hope somebody may help me.
Hello,
did any of you ever get this fixed ? Would be nice to hear the solution because I am faced with the same problem unfortunatly....
tia !
Did anyone here fixed this issue? Or is it hardbricked forever?
I never was able to repair it unfortunatly.
Here, maybe you might need the partition table of our lovely device(s) somehow and are too lazy or have no possibility to get it
1 0.13MB 2.23MB 2.10MB TA
2 4.19MB 21.0MB 16.8MB ext4 LTALabel
3 21.0MB 105MB 83.9MB fat16 modem
4 105MB 105MB 0.13MB pmic
5 105MB 105MB 0.13MB alt_pmic
6 105MB 105MB 0.00MB limits
7 105MB 106MB 1.05MB DDR
8 106MB 106MB 0.26MB apdp
9 106MB 107MB 0.26MB msadp
10 107MB 107MB 0.00MB dpo
11 107MB 107MB 0.52MB hyp
12 107MB 108MB 0.52MB alt_hyp
13 109MB 111MB 1.57MB fsg
14 111MB 111MB 0.01MB ssd
15 111MB 112MB 1.05MB sbl1
16 112MB 113MB 1.05MB alt_sbl1
17 113MB 115MB 1.57MB modemst1
18 117MB 119MB 1.57MB modemst2
19 119MB 119MB 0.26MB s1sbl
20 119MB 120MB 0.26MB alt_s1sbl
21 120MB 120MB 0.13MB sdi
22 120MB 120MB 0.13MB alt_sdi
23 120MB 121MB 1.05MB tz
24 121MB 122MB 1.05MB alt_tz
25 122MB 122MB 0.52MB rpm
26 122MB 123MB 0.52MB alt_rpm
27 123MB 124MB 1.05MB aboot
28 124MB 125MB 1.05MB alt_aboot
29 125MB 192MB 67.1MB boot
30 192MB 226MB 33.6MB rdimage
31 226MB 259MB 33.6MB ext4 persist
32 259MB 326MB 67.1MB FOTAKernel
33 326MB 327MB 1.05MB misc
34 327MB 328MB 0.52MB keystore
35 328MB 328MB 0.00MB devinfo
36 328MB 328MB 0.52MB config
37 331MB 436MB 105MB rddata
38 436MB 447MB 10.5MB ext4 apps_log
39 449MB 466MB 16.8MB ext4 diag
40 466MB 780MB 315MB ext4 oem
41 780MB 990MB 210MB ext4 cache
42 990MB 25753MB 24763MB ext4 userdata
43 25753MB 31266MB 5513MB ext4 system
Click to expand...
Click to collapse
KuroTheBang said:
Here, maybe you might need the partition table of our lovely device(s) somehow and are too lazy or have no possibility to get it
Click to expand...
Click to collapse
Thanks. Do you know if any of these partitions contain the boot splash image?
I don't know tbh, I can look these days if you want
Hi,
So since my the Gionee Elife E7 has 32GB of space but only 4 GB is for apps it's quite annoying to delete something all the time.
Has anyone had any luck partitioning ? Took a look at the partition table
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 the partition for apps and the partition 20 "udisk" is the 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? Since the recovery partition is between the 13 and 20 as well