TeamWin / Team-Win-Recovery-Project

Core recovery files for the Team Win Recovery Project (T.W.R.P) - this is not up to date, please see https://github.com/TeamWin/android_bootable_recovery/
http://twrp.me
1.96k stars 741 forks source link

mismatched partition size during flash on moto x 2014 victara #532

Open binlan opened 8 years ago

binlan commented 8 years ago

i tried to flash all versions >=2.8.0.0 to <=2.8.7.1

binlan commented 8 years ago

i was able to run twrp with: fastboot boot recovery.img now i was able to flash a su app. then i tried to flash the latest recovery with the twrp manager. but it fails as well.

thats my cat /proc/partions

major minor #blocks name

7 0 3678208 loop0 253 0 262144 zram0 179 0 30535680 mmcblk0 179 1 102400 mmcblk0p1 179 2 384 mmcblk0p2 179 3 32 mmcblk0p3 179 4 1024 mmcblk0p4 179 5 256 mmcblk0p5 179 6 400 mmcblk0p6 179 7 32 mmcblk0p7 179 8 512 mmcblk0p8 179 9 2048 mmcblk0p9 179 10 3072 mmcblk0p10 179 11 3356 mmcblk0p11 179 12 1024 mmcblk0p12 179 13 256 mmcblk0p13 179 14 400 mmcblk0p14 179 15 512 mmcblk0p15 179 16 512 mmcblk0p16 179 17 4608 mmcblk0p17 179 18 1536 mmcblk0p18 179 19 1536 mmcblk0p19 179 20 488 mmcblk0p20 179 21 32 mmcblk0p21 179 22 1536 mmcblk0p22 179 23 1 mmcblk0p23 179 24 8 mmcblk0p24 179 25 1024 mmcblk0p25 179 26 128 mmcblk0p26 179 27 3072 mmcblk0p27 179 28 512 mmcblk0p28 179 29 4096 mmcblk0p29 179 30 6144 mmcblk0p30 179 31 8192 mmcblk0p31 259 0 8192 mmcblk0p32 259 1 10200 mmcblk0p33 259 2 10280 mmcblk0p34 259 3 10296 mmcblk0p35 259 4 102400 mmcblk0p36 259 5 1394760 mmcblk0p37 259 6 2834432 mmcblk0p38 259 7 25980800 mmcblk0p39 179 32 4096 mmcblk0rpmb

prajitdas commented 8 years ago

Any solution to this problem? I tried with twrp-3.0.1-0-victara.img. Still no luck.

klavergne commented 8 years ago

I have the same issue. Tried with 2.8.5.0 through 3.0.2-1. All gave the same error: Mismatched partition size (recovery)

I also tried a different recovery and got the same error.

Does anyone have a solution?

klavergne commented 8 years ago

Never mind. Turns out that it's only a warning. I was able to flash recovery and boot into TWRP after getting the partition size message.

zeroby0 commented 7 years ago

how do you boot into TWRP? I just get a black screen with Android lying down and a "No command." @klavergne

escape0707 commented 7 years ago

klavergne means the error message can be ignored. Everything works. The reason you might find your TWRP disappeared is that you booted your stock ROM which might restore your recovery partition. So just user fastboot to flash TWRP/CWM in bootloader and DO NOT reboot in to your ROM, instead go directly into recovery and do everything you planned to (root, xposed, etc). Bypassing the restoring of recovery when boot into system requires modify to /system . You can Google that around.