I followed the instructions in OP. Apparently I misunderstood them. Instead of booting into whatever Recovery is installed on the Nexus 5, boot into the Recovery on the Github page. Then follow the rest of the instructions.
- If repartition pack says that device isn't correct, than, if partition table wasn't modified before, congrats! your device has different memory chip that those I worked with. No worry, PM me and I'll add support for it.
# Before processing further we highly recommend you backup persist using terminal and dd comand and EFS # Or you might lose your IMEI/WIFI + BT mac addresses # This mod is backwards compatible with any ROM so we highly recommend NOT to reverse it if repartition went well. # You should use ONLY recovery from this thread since other don't support all benefits of this mod. # When installing ROM just after you flashed zip and before installing GAPPs you MUST make a resize in TWRP since all roms are build for ~1G system. # To restore stock layout use same zip and steps as for repartition. 1. Boot into recovery (You need to allow system partition modification to be able resize /system in recovery). 2. Backup your data & Move your files from flash to your PC. 3. Flash repartition pack zip. 4. Do the actions asked by repartition pack (go to Terminal in ordinary recovery and input word that pack will tell you. Everything else will be done automatically). 5. Phone will reboot into recovery. 6. Install TWRP from below (it is build with support of new partitions layout and sizes. It can be differed from official TWRP by next format 3.x.x-1 UA). 7. Format everything. (mount errors will not affect formatting!) - In TWRP: Wipe > Format data - Type yes - Once this completes go to: Wipe > Advanced Wipe - Tick all the boxes and wipe. There should be no further mount errors. 8. Install ROM which you like. 9. Enjoy better flash partition layout.
25 192937984B 1266679807B 1073741824B system 26 1266679808B 1298137087B 31457280B crypto 27 1298137088B 2032140287B 734003200B cache
25 192937984B 1803551231B 1610613248B system 26 1803551232B 2065695231B 262144000B vendor 27 2065695232B 2097152511B 31457280B crypto 28 2097152512B 2306867711B 209715200B cache
adb root adb shell dd if=/dev/block/mmcblk0p16 of=/sdcard/persist.img
Can someone please help this member writing about lack of space in a repartition thread?
Edit: Apparently not...
So, the first and most obvious glaring question - have you repartitioned your Nexus 5?
Edit: After four days, nothing. Yet again. Yet another occasion where I try to help a junior member, to receive only silence. I am disinclined to bother any more.
Can you please help me? i repartitioned but it broke my partition table i suppose because everything showed 0MB in TWRP and when wiping it said "failed to mount '/everything' (Invalid argument)" when i tried to partition it to stock it spilled out some errors and when i tried again it said "This is not Nexus 5"
This is for someone who flash factory image and get stuck.
I did flashing factory image, and I got stuck on the boot.
I could still get into bootloader, so flashed twrp and install other roms but still stuck.
after that, I found this thread and... I found way to recover it.
Have to go through repartition again. this time, it asks revert back to stock.
and then, do it again to modify partition.
after flash twrp, it shows vendor partition error. dont worry. after wipe(format) it, it will be gone.
then, you can install any rom you like, and.. my ancient N5 is back!
Hello, hope there are still some active members who can help someone like me.
I followed the instruction strictly but when I execute the zip I get the output:
Can not extract updater-script. Do you have it in package?
Updating partition details...
Failed to mount '/vendor' (Invalid argument)
I never reach the "Type something into your terminal part" .
Now I get the mount error every time I try to do something in recovery but that doesn't seem to have any effect I was able to get my system back running by loading a backup. I tried to fix the mount error by "formatting data" and wiping everything. Didn't work.
I am just copying the files from my PC to my phone and execute them with TWRP. So I don't get why a file should be missing. My Google/XDA search wasn't really successful so maybe someone of you encountered similar problems and can help with the mount error or the missing updater-script. Thanks.