[Miscellaneous Android Development] macs18max:
-Bringing to you Ressurection Remix nougat for Lava R1s

-NOTE: This ROM is only build for LAVA R1s, Which is non-camera, non-gps version of Lava R1. It is not meant for Lava R1.

-NOTE: I am not responsible if you phone bricks or your data is lost.

-NOTE: This ROM needs to be flashed using SP Flash tools

-Thanks to all earlier MTK devs who made it easy to compile ROM for Lava R1s.

Download ROM https://github.com/maniacx/Lava-R1s-ROMs/blob/RR-N-v5.8.5-08-Aug-2020/Ressurection_remix.zip

Instructions:

Lets Backup your ROM. It is a bit time consuming but it is worthed.

Overview

Step no 1: Install MTK VCOM drivers

Step no 2: Install SP_FLASH_TOOL 5.19.24

Step no 3: Backup your current ROM. (Long process)

Step no 4: Installation of ROM.

Detail intructions

1. Install MTK VCOM drivers (On you PC/Laptop) if not already installed.

* Download VCOM drivers for Windows 10 for -> https://androidfilehost.com/?fid=962021903579482090

* Extract it to a folder.

* Go to Device Manager.

* Click on the name of your pc/LAPTOP

* Right-click on the name and select "Add Legacy Hardware".

* A new wizard will pop up. Just click on "Next".

* Select "Install the hardware that I manually select from the list (Advance)" and click "Next".

* From the long list in the following screen, just select "Show All Devices" and click "Next".

* Click on "Have Disk" in the following window and select the file "Windows 10 x64 MTK USB Drivers.inf" for 64bit Windows 10

(Note: Most PC are 64bit but if you are using 32bit version, Select "Windows 10 x86 MTK USB Drivers.inf")

* Click "Next"

* If asked for security warning select " Install Anyway"

Alternatively you can watch this Youtube video of how to install MTK VCOM drivers

(You can skip few instruction and start watching from 4:09 till the end)-> https://www.youtube.com/watch?v=T0n9dXZb6xo

2.Install SP_FLASH_TOOL 5.19.24

* Download SPflash tool for windows. https://spflashtool.com/

* Extract the SP_Flash_Tool_v5.1924_Win.zip in a folder.

* Open the file "option.ini" in Notepad. Under [Readback] change the text "ShowByScatter=false" to "ShowByScatter=true" and Save.

3. Backup your current ROM.

* Create a folder to backup ROM. Lets name it "Backup_lava_r1s"

* Download the file "LAVA_R1S_Android_scatter.txt" and copy is in the folder "Backup_lava_r1s"

* Run the SP_FLASH tool from the folder you have extract the files by double clicking "flash_tool.exe"

* You will automaically shown the screen tab for Downloads. For "Scatter-loading File" Choose "LAVA_R1S_Android_scatter.txt" in your backup folder "Backup_lava_r1s".

* Click on "Readback" tab. You will see of table with a list of partitions on the device.

* Double click on "preloader". It will ask you the folder location and file name for the partition to be saved.

Choose folder Backup_lava_r1s and give file name "preloader_lava6737m_sp504_int.bin". Then Click "OK".

* Double click on "preloader". It will ask you the folder location and file name for the partition to be saved.

Choose folder Backup_lava_r1s and give file name "preloader_lava6737m_sp504_int.bin". Then Click "OK".

* Double click on "pgbt". It will ask you the folder location and file name for the partition to be saved.

Choose folder Backup_lava_r1s and give file name "pgbt". Then Click "OK".

* Double click on "procinfo". It will ask you the folder location and file name for the partition to be saved.

Choose folder Backup_lava_r1s and give file name "procinfo". Then Click "OK".

* Double click on "nvram". It will ask you the folder location and file name for the partition to be saved.

Choose folder Backup_lava_r1s and give file name "nvram". Then Click "OK".

* Double click on "protect1". It will ask you the folder location and file name for the partition to be saved.

Choose folder Backup_lava_r1s and give file name "protect1". Then Click "OK".

* Double click on "protect2". It will ask you the folder location and file name for the partition to be saved.

Choose folder Backup_lava_r1s and give file name "protect2". Then Click "OK".

* Double click on "lk". It will ask you the folder location and file name for the partition to be saved.

Choose folder Backup_lava_r1s and give file name "lk.bin". Then Click "OK".

* Double click on "para". It will ask you the folder location and file name for the partition to be saved.

Choose folder Backup_lava_r1s and give file name "para". Then Click "OK".

* Double click on "boot". It will ask you the folder location and file name for the partition to be saved.

Choose folder Backup_lava_r1s and give file name "boot.img". Then Click "OK".

* Double click on "recovery". It will ask you the folder location and file name for the partition to be saved.

Choose folder Backup_lava_r1s and give file name "recovery.img". Then Click "OK".

* Double click on "logo". It will ask you the folder location and file name for the partition to be saved.

Choose folder Backup_lava_r1s and give file name "logo.bin". Then Click "OK".

* Double click on "expdp". It will ask you the folder location and file name for the partition to be saved.

Choose folder Backup_lava_r1s and give file name "expdb". Then Click "OK".

* Double click on "seccfg". It will ask you the folder location and file name for the partition to be saved.

Choose folder Backup_lava_r1s and give file name "seccfg". Then Click "OK".

* Double click on "oemkeystore". It will ask you the folder location and file name for the partition to be saved.

Choose folder Backup_lava_r1s and give file name "oemkeystore". Then Click "OK".

* Double click on "secro". It will ask you the folder location and file name for the partition to be saved.

Choose folder Backup_lava_r1s and give file name "secro.bin". Then Click "OK".

* Double click on "keystore". It will ask you the folder location and file name for the partition to be saved.

Choose folder Backup_lava_r1s and give file name "keystore". Then Click "OK".

* Double click on "tee1". It will ask you the folder location and file name for the partition to be saved.

Choose folder Backup_lava_r1s and give file name "trustzone1.bin". Then Click "OK".

* Double click on "tee2". It will ask you the folder location and file name for the partition to be saved.

Choose folder Backup_lava_r1s and give file name "trustzone2.bin". Then Click "OK".

* Double click on "frp". It will ask you the folder location and file name for the partition to be saved.

Choose folder Backup_lava_r1s and give file name "frp". Then Click "OK".

* Double click on "nvdata". It will ask you the folder location and file name for the partition to be saved.

Choose folder Backup_lava_r1s and give file name "nvdata". Then Click "OK".

* Double click on "metadata". It will ask you the folder location and file name for the partition to be saved.

Choose folder Backup_lava_r1s and give file name "metadata". Then Click "OK".

* Double click on "system". It will ask you the folder location and file name for the partition to be saved.

Choose folder Backup_lava_r1s and give file name "system.img". Then Click "OK".

* Double click on "cache". It will ask you the folder location and file name for the partition to be saved.

Choose folder Backup_lava_r1s and give file name "cache.img". Then Click "OK".

* Double click on "userdata". It will ask you the folder location and file name for the partition to be saved.

Choose folder Backup_lava_r1s and give file name "userdata.img". Then Click "OK".

*Tick all the partitions. preloader,pgbt,procinfo,nvram,protect1,protect2,lk,para,boot,recovery,logo,expdp,seccfg,oemkeystore,secro,keystore,tee1,tee2,frp,nvdata,metadata,system,cache,userdata

* Now Power off your lava R1s. Disconnect Mobile from Laptop/PC if connect using USB.

* Click "Readback" button.

* Connect your lava R1s to you PC using USB. It will start transfering paritions files to the PC in Backup_lava_r1s folder. Wait for transfer to complete.

Thats it. Keep these files safe, so that you will be able to restore original StarOS ROM for Lava R1s.

Alternatively you can watch https://www.youtube.com/watch?v=KRnz4iu85aE

4: Installation of ROM.

* Downloads the ROM file.

* Extract it to a folder "RRemix"

* Run the SP_FLASH tool from the folder you have extract the files by double clicking "flash_tool.exe"

* You will automaically shown the screen tab for Downloads. For "Scatter-loading File" Choose "MT6737M_Android_scatter.txt" in your backup folder "RRemix".

* Make sure the following are ticked for download on the phone boot,recovery,system,cache,userdata.

* Now Power off your lava R1s. Disconnect Mobile from Laptop/PC if connect using USB.

* Click on "Download" button.

* Connect your lava R1s to you PC using USB. It will start transfering paritions files to the phone. Wait for transfer to complete. This will install Ressurection Remix ROM and TWRP recovery.

Now you can start you Lava Phone and enjoy ressurection remix.

Alternatively you can watch this video https://www.youtube.com/watch?v=aht7Ey6WyNg

5. Installing Gapps or Magisk.

* Boot into TWRPrecovery but turning off your phone. Hold "Volume UP" buttton and "Power" Button until the device give an 3 option to choose between Recovery, Fastboot and Normal.

* Use "Volume Up" button arrow to move pointer to "Recovery" and press "Volume down" button to boot into TWRP recovery.

If you want to install Gapps, visit https://opengapps.org/ and select ARM64, 7.1, pico and download and copy to your phone when in recovery using USB cable.

install gapps

If you want to install Magisk, visit magisk site and download "Magisk 20.4" and copy to your phone when in recovery using USB cable.

install magisk