Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,810,319 Members 52,981 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Why do I have 39 partitions?

Tip us?
 
terrabite3
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 2
Join Date: Aug 2014
Default [Q] Why do I have 39 partitions?

I've been blundering through the world of rooting for a few days, stumbling around in the dark. Many of the steps I've taken I didn't fully understand at the time, but I've come a long way towards understanding.

My getvar dump should answer most basic questions:
Code:
version: 0.5
version-bootloader: 1.44.0000
version-baseband: 1.00.20.0315
version-cpld: None
version-microp: None
version-main:
version-misc: PVT SHIP S-OFF
serialno: ############
imei: ###############
meid: ##############
product: m7_wls
platform: HBOOT-8064
modelid: PN0720000
cidnum: SPCS_001
battery-status: good
battery-voltage: 4319mV
partition-layout: Generic
security: off
build-mode: SHIP
boot-mode: FASTBOOT
gencheckpt: 0
I just flashed "RUU Zip M7_WLS_JB_50_Sprint_1.29.651.10_RUU_decrypted.zip"

Ok, here's my problem. My phone has 39 partitions instead of 37. I think this happened when I flashed "Sprint_HTC_One_m7wls_4.06.651.4_RUU" but I'm not sure about the timing. I went S-OFF and flashed to an older firmware, hoping that would clear up the issue, but it remains as before.

Code:
179	0	30535680	mmcblk0	
179	1	128	mmcblk0p1	
179	2	256	mmcblk0p2	
179	3	130671	mmcblk0p3	
179	4	1	mmcblk0p4	
179	5	16	mmcblk0p5	
179	6	256	mmcblk0p6	
179	7	15577	mmcblk0p7	
179	8	256	mmcblk0p8	
179	9	1024	mmcblk0p9	
179	10	256	mmcblk0p10	
179	11	2048	mmcblk0p11	
179	12	2080	mmcblk0p12	
179	13	5120	mmcblk0p13	
179	14	1024	mmcblk0p14	
179	15	1024	mmcblk0p15	dsps
179	16	61441	mmcblk0p16	adsp
179	17	8190	mmcblk0p17	radio_config
179	18	32768	mmcblk0p18	reserve_1
179	19	1022	mmcblk0p19	misc
179	20	4096	mmcblk0p20	modem_st1
179	21	4096	mmcblk0p21	modem_st2
179	22	20480	mmcblk0p22	devlog
179	23	4	mmcblk0p23	
179	24	256	mmcblk0p24	pdata
179	25	16	mmcblk0p25	
179	26	1280	mmcblk0p26	local
179	27	64	mmcblk0p27	extra
179	28	1024	mmcblk0p28	cdma_record
179	29	256	mmcblk0p29	skylink  [NEW]
179	30	25600	mmcblk0p30	carrier  [NEW]
179	31	72870	mmcblk0p31	reserve  [SMALLER]
179	32	54270	mmcblk0p32	reserve_2
179	33	76800	mmcblk0p33	radio
179	34	98303	mmcblk0p34	reserve_3
179	35	16384	mmcblk0p35	boot
179	36	16383	mmcblk0p36	recovery
179	37	1900543	mmcblk0p37	system
179	38	655359	mmcblk0p38	cache
179	39	27262976	mmcblk0p39	userdata
Because of this, TWRP incorrectly mounts the system partition to /data and fails to mount /cache and /system. When I modify /etc/fstab to reflect my partitions, it works. Until I try to restore from a backup or install a custom ROM. Then it somehow manages to remount something by the old scheme and fails. The device boots and runs fine, but anything to do with recovery is broken.

If anyone knows what's going on or how I can coerce TWRP to use my new partitions, it would mean a lot to me. Thanks.
 
nkk71
Old
#2  
nkk71's Avatar
Recognized Contributor
Thanks Meter 2,924
Posts: 5,891
Join Date: May 2010
Location: Beirut
Quote:
Originally Posted by terrabite3 View Post
I've been blundering through the world of rooting for a few days, stumbling around in the dark. Many of the steps I've taken I didn't fully understand at the time, but I've come a long way towards understanding.
 

My getvar dump should answer most basic questions:
Code:
version: 0.5
version-bootloader: 1.44.0000
version-baseband: 1.00.20.0315
version-cpld: None
version-microp: None
version-main:
version-misc: PVT SHIP S-OFF
serialno: ############
imei: ###############
meid: ##############
Code:
product: m7_wls
platform: HBOOT-8064
modelid: PN0720000
cidnum: SPCS_001
 
battery-status: good battery-voltage: 4319mV partition-layout: Generic security: off build-mode: SHIP boot-mode: FASTBOOT gencheckpt: 0
 


I just flashed "RUU Zip M7_WLS_JB_50_Sprint_1.29.651.10_RUU_decrypted.zip"

Ok, here's my problem. My phone has 39 partitions instead of 37. I think this happened when I flashed "Sprint_HTC_One_m7wls_4.06.651.4_RUU" but I'm not sure about the timing. I went S-OFF and flashed to an older firmware, hoping that would clear up the issue, but it remains as before.

Code:
179	0	30535680	mmcblk0	
179	1	128	mmcblk0p1	
179	2	256	mmcblk0p2	
179	3	130671	mmcblk0p3	
179	4	1	mmcblk0p4	
179	5	16	mmcblk0p5	
179	6	256	mmcblk0p6	
179	7	15577	mmcblk0p7	
179	8	256	mmcblk0p8	
179	9	1024	mmcblk0p9	
179	10	256	mmcblk0p10	
179	11	2048	mmcblk0p11	
179	12	2080	mmcblk0p12	
179	13	5120	mmcblk0p13	
179	14	1024	mmcblk0p14	
179	15	1024	mmcblk0p15	dsps
179	16	61441	mmcblk0p16	adsp
179	17	8190	mmcblk0p17	radio_config
179	18	32768	mmcblk0p18	reserve_1
179	19	1022	mmcblk0p19	misc
179	20	4096	mmcblk0p20	modem_st1
179	21	4096	mmcblk0p21	modem_st2
179	22	20480	mmcblk0p22	devlog
179	23	4	mmcblk0p23	
179	24	256	mmcblk0p24	pdata
179	25	16	mmcblk0p25	
179	26	1280	mmcblk0p26	local
179	27	64	mmcblk0p27	extra
179	28	1024	mmcblk0p28	cdma_record
179	29	256	mmcblk0p29	skylink  [NEW]
179	30	25600	mmcblk0p30	carrier  [NEW]
179	31	72870	mmcblk0p31	reserve  [SMALLER]
179	32	54270	mmcblk0p32	reserve_2
179	33	76800	mmcblk0p33	radio
179	34	98303	mmcblk0p34	reserve_3
179	35	16384	mmcblk0p35	boot
179	36	16383	mmcblk0p36	recovery
179	37	1900543	mmcblk0p37	system
179	38	655359	mmcblk0p38	cache
179	39	27262976	mmcblk0p39	userdata
Because of this, TWRP incorrectly mounts the system partition to /data and fails to mount /cache and /system. When I modify /etc/fstab to reflect my partitions, it works. Until I try to restore from a backup or install a custom ROM. Then it somehow manages to remount something by the old scheme and fails. The device boots and runs fine, but anything to do with recovery is broken.

If anyone knows what's going on or how I can coerce TWRP to use my new partitions, it would mean a lot to me. Thanks.
It's because you have a Sprint phone. The partition table is correct for Sprint (which is different from the M7_U/UL), you need to use TWRP for M7_WLS
http://techerrata.com/browse/twrp2/m7wls
 
terrabite3
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 2
Join Date: Aug 2014
Ahhhh! Thank you! The only question that remains is how I switched from the RIGHT one to the WRONG one at some point.
 
nkk71
Old
#4  
nkk71's Avatar
Recognized Contributor
Thanks Meter 2,924
Posts: 5,891
Join Date: May 2010
Location: Beirut
Quote:
Originally Posted by terrabite3 View Post
Ahhhh! Thank you! The only question that remains is how I switched from the RIGHT one to the WRONG one at some point.
you took a left turn somewhere

make sure you stick with recoveries/kernels/ROMs mean for Sprint.... due to the different partition table, unless you are 100% sure "it's" Sprint compatible (m7_wls), then don't flash it.
Thread Tools
Display Modes