Step D - Flashing recovery and setting system partition
Understang of partitions: The Phones ROM has been partition into the following: Misc, Recovery, boot, system, cache, and data
Misc 1MB, boot 5MB and cache 5MB sizes are the same for most of ROM unless specified.
Recovery partition size depend on the Recovery we flash (For TWRP it is 9MB )
ROM develeper usually specifies the size of ROM, example system=300MB so we need to adjust system partition size accordingly.
The remaining space will be assigned to data automatically.
If you are planning to use data2ext, make system size 380MB as data partition isn't used, we can utilize everything for system.
For CLK
Boot into Mainmenu for bootloader by
pressing and holding the back button when during boot.
Go to
Settings>Resize partition and change size of system by adding and subracting values,
commit changes and
apply.
Also change the size of
recovery partition to 9MB
Download
Recovery.zip and extract to a folder. Plug in USB. Run file "fastbootflash.bat" Wait. It should take around 2 mins to flash.(There is no progress bar)
Reboot Clk and now we can boot into recovery by
pressing and holding the back button when during boot, and choosing recovery.
For Magldr
Download
Recovery.zip and extract to a folder. Open File "flash.cfg"
Change the partition size for system. for example if you want to change system partition to 300MB, change the following: system ya 300M
and save changes to flash.cfg
Boot into Mainmenu for bootloader by
pressing and holding the power (disconnect) button when during boot.
Choose "USB flasher" in menu. Connect usb cable. Run "DAF.exe" as administrator and follow instructions. It will flash recovery and reboot.
During reboot hold power button and boot in MAGLDR main menu. Choose "AD Recovery"