[Moto E4 Plus Guides, News, & Discussion] Zumairmhd:
Hello guys!!! I'm back with super cool guide about increasing recovery partition.

Recovery: This partitions hold the files that allow one to enter ‘recovery mode’, which is essentially a second boot partition that allows one to apply OTAs, make/restore backups, and install ROMs or root binaries. This partition will either hold the stock recovery, or a custom recovery. Custom recoveries can be flashed and allow the user to back up, restore, install to and wipe other partitions, among other features. This partition can be safely modified but ensure to always have a stock recovery flashed when applying stock OTAs.

You may ask why I need to increase recovery partition?

The Answer is: Some recoveries like Orange Fox, PitchBlack need around 24-27 Mb size but OEM packed with 16Mb recovery.

So that's why I need to increase partition size.

/*
* First Take a Full Backup.
* Im not responsible for anything that may happen to your phone by doing this experiment.
* You do it at your own risk and take the responsibility upon yourself and you are not to blame us or XDA and its respected developers.
*/

Ok as I mention earlier first take a full backup of your system. In this process we need to delete all the partitions.

Let's start the process​

Step

Now use this Script to back up nvram nvdata frp ... etc partitions. (Usage is given in README)

Step

download this scatter file

Step

Put The scatter file into existing Stock rom folder

Step

Now Open the Spflash tool

Step

Select the new scatter file in spflash tool

Step

Now Select Format all + Download option (by default its select Download only option) & start the flashing process.

Now if you switch on your phone than your imei and baseband will not work.

Follow Guide A if you got backup from that script.

Follow Guide B if you not got backup from that script.

While in spflash tool, Press Ctrl+Alt+V to open advanced mode

Go to window->write memory and another tab with name Write Memory will appear next to Memory test.

If you don't know how to do the above step only watch this video for enabling Write Memory Tab click this link

Guide A

Go to Write memory :

In file path->select efuse.img

Begin address (HEX) : 0xAB80000

Regin: EMMC_USER

Then press button Write memory

Plug USB cable

Now Proceed with other files in same way

In file path->select hw.img

Begin address (HEX) : 0xED80000

Regin: EMMC_USER

Then press button Write memory

Plug USB cable

In file path->select oem.img

Begin address (HEX) : 0xF580000

Regin: EMMC_USER

Then press button Write memory

Plug USB cable

In file path->select persist.img

Begin address (HEX) : 0x7B80000

Regin: EMMC_USER

Then press button Write memory

Plug USB cable

In file path->select utags.img

Begin address (HEX) : 0xAC00000

Regin: EMMC_USER

Then press button Write memory

Plug USB cable

In file path->select nvram.img

Begin address (HEX) : 0x380000

Regin: EMMC_USER

Then press button Write memory

Plug USB cable

In file path->select secro.img

Begin address (HEX) : 0x6380000

Regin: EMMC_USER

Then press button Write memory

Plug USB cable

In file path->select frp.img

Begin address (HEX) : 0xAC80000

Regin: EMMC_USER

Then press button Write memory

Plug USB cable

In file path->select nvdata.img

Begin address (HEX) : 0xAD80000

Regin: EMMC_USER

Then press button Write memory

Plug USB cable

Now you have imei and baseband!

Enjoy!

Guide B

Download this file click this link & unpack it.

Go to Write memory :

In file path->select efuse.img

Begin address (HEX) : 0xAB80000

Regin: EMMC_USER

Then press button Write memory

Plug USB cable

Now Proceed with other files in same way

In file path->select hw.img

Begin address (HEX) : 0xED80000

Regin: EMMC_USER

Then press button Write memory

Plug USB cable

In file path->select persist.img

Begin address (HEX) : 0x7B80000

Regin: EMMC_USER

Then press button Write memory

Plug USB cable

In file path->select utags.img

Begin address (HEX) : 0xAC00000

Regin: EMMC_USER

Then press button Write memory

Plug USB cable

Now Also there are two ways either you can follow one.

Method 1

Now install custom recovery and flash magisk.

Now install custom recovery and flash magisk.

After got baseband number use toolhero app.

Make sure you have data connection.

Click on IMEI wait for few seconds it will ask root access, grant access and set whatever IMEI number you want after that click modify. It will open share tab click any sharing media just for facking give message and back to toolhero now click on modify again.

This time it will ask to reboot. Reboot and see the IMEI number.

If the above method not worked follow the second method.

Method 2

Download this Nvram Database file click here

Now download the SNWritter tool & use the above file. (follow any snwritter guide on youtube.)

Credits : [MENTION=7968806]vishalk17[/MENTION]

www.lenovoroot.com

[MENTION=8604973]Zumairmhd[/MENTION]

Please hit a like if it is all success :good::good::good:​