[Miscellaneous Android Development] Matty1993:
ROM build is now up links are at the bottom,

This is for the HS_Q6_MB_V1.0 revision board,

ZMA_12_MB_V1.0 revision boards see the last post on thread for a working incomplete modded firmware.

Personally rebuilt stock OS installed on the R11 max china phone firmware with all mods done by myself apart from the optional modified boot.img

------------------------DISCLAIMER------------------------

Flash this Firmware at your own risk i am in no way responsible for any damage that can occurr flashing your MTK device with flash tools, such as

•Hardbricked devices

•Soft Bricked devices

•Lost imei or baseband issues

or anything else for that matter, you are solely responsible for the actions you make when flashing this firmware, however following instructions below you shouldnt have a problem with the device and you can enjoy your new updated R11 max Firmware.

______________________________________

R11 MAX DEVICE INFO

______________________________________

Android OS : 4.4.2 Kit Kat SDK:19

Kernel Version: 3.4.67

ROM ispre-rooted with SU & Busy Box binaries which will remain after factory reset.

File System: UBIFS

BaseBand CPU: MT6572_S00

BaseBand CPU Secure Version: FF

BaseBand CPU Bootloader Version: 01

INT RAM: 128KB SDRAM

EXT RAM: 512MB DRAM

NAND: (4GB + 4096MB) [HYNIX] - H9DA4GH4JJAMCR_4EM

Boot Style: NAND BOOT

Size: 0×20000000 [0.500GB]

BlockSize: 2048 SpareSize: 64 BMT blocks: 80

_____________________________________

REMOVED

_____________________________________

• Cooee launcher ( spyware )

• Marshmallow game ( adware )

• Browser

• calander

• gallery

• camera

• music fx

• exchange2

• email

• Volume control

• framework.jar

• calculator

• music player

• File manager

• system/vendor apps/FBlite/Whatsapp

• Stock boot animation

• Stock shutdown animation

• Stock start tone

• Stock Shutdown tone

• Stock UI sounds

• Stock Notifications sounds

• Stock Ringtone Sounds

• Stock Boot Logo

• Libs from removed apps

• framework from removed apps

• -res from removed apps

• Build.prop (Edited)

• Test Keys (they should be release)

• Wallpapers

• Live wallpapers

• Network Restriction lock (network Lock )

• Modem (connectivity & imei issues )

Plus alot more crap removed that i cant remember right now....

___________________________________________

ADDED OR REPLACED

___________________________________________

• SU Binary pre installed to system, will remain even after factory reset.

• BUSY BOX 1.28 binary pre installed to system, will remain even after factory reset.

• Nova Launcher as new stock launcher

• Opera mini browser (fast with inbuilt DL manager

• Google Calander

• Gmail

• Google wallpaper picker

• FOTO gallery 3.3

• Open Camera

• MTK Video Wallpapers

• Vivo Wallpapers

• Bubbles Live Wallpaper

• JRD Music Player

• JRD File Manager

• JRD Calculator

• updated exchange2

• JRD Secure container

• JRD FOTA & services

• JRD plugger

• Gmail

• MTK Sim Engineering mode

• Updated music FX

• CDS info.apk

• AVG mobile antivirus PRO* 365 day subscription free free from me :)

• JRD video player

• JRD video favourites

• JRD media container

• JRD Facelock

• Mobile Log

• Modem log

• Alcatel one touch manager agaent (wifi data sync)

• VIVO Boot Animation

• VIVO Shutdown Animation

• VIVO Boot Tone

• VIVO Shutdown Tone

• Updated Boot Logo

• Samsung G930F oreo Ringtone Sounds

• Samsung G930F oreo Notification Sounds

• Samsung G930F oreo UI sounds (where available)

• Build prop edited to display as VIVO R11 max

• Other .prop edits

• Updated to Release Keys (was test keys)

• updated libs for Jrd app support

• updated framework for Jrd app support

• updates -res for Jrd app support

• a few JRD -res and libs interswapped from alactel 4027A 4.4.2 EMMC with 3.4.67 Kernel also for use of some JRD features

• root set to function without the need for Su manager app binaries can run themselves.

• changed format of FAT from yaffs_img to normal_rom in scatter for use of the 37.8mb usb partition to be also used for for system storage aswell,

• UPDATED 3G modem to fix connectivity issues (pulled from HTC desire 310)

• added mount points to system for better SD card support and to mount as internal device storage when SD card is inserted.

•Replaced some system apps and some other apps from and alcatel OT 5050 MT6575 for faster UI and system stability.

•integrated framework2 into /system/framework/ as was completely absent, NOTE you cannot remove framework2 or any of its components you will break the system

Everything added or replaced came from the followimg devices.

•ZTE luna MT6572 EmmC

•Alcatel 4027 MT6572 EmmC

•Alcatel 5050 MT6575 EmmC

•HTC 310 MT6572 EmmC

•Samsung S7 Exynos8890

------------STORAGE CAPACITY--------------

storage free space is as follows without an SD card inserted before and after flash of new firmware

BEFORE

/data 20mb

/system 9.0kb

/usb storage 37.8mb (not usable)

AFTER

/DATA 62.9mb

/SYSTEM 25.2mb

/USB STORAGE 37.8mb (usable)

---------☆☆☆MODIFIED BOOT IMG☆☆☆---------

as these R11 max only come with a 512mb NAND chip with OS installed there is only 62.9mb Data storage after flash of my firmware,using the modified boot.img this allows you to use the devices SD card as the devices ROM & internal storage, info on my device with 15GB SD card,

/DATA 12.9GB

/SYSTEM 25.2MB

/USB storage 37.8MB

/internal storage 1.02GB

This has not been implemented into the build due to firmware size when pulling,

If you wish to use the modifed Boot.img and SD card you MUST partition the SD card BEFORE flashing the firmware if you wish to use the boot.img which is OPTIONAL rom will work fine without it,

partition your SD card as follows with 2 partitions

•PRIMARY partition - FAT32

•PRIMARY partition - EXT4

You should name your EXT4 partition that you made as "mmcblk0p2".

To flash with modified boot.img follow steps above for SD card, and steps below for flashing.

NOTE

if you use the boot.img you will need to reconfigure NOVA launchers looks in the Nova settings once flashed everything else is fine

WORKING

• everything is working unless stateded below

NOT WORKING

• VIVO wallpapers (not showing need to rubuild framework-res to set default as vivo)

• FaceLock (due to root installed secure container wont run, unroot and it should)

__________________________________________

FLASHING THE FIRMWARE

__________________________________________

********This is a "UBIFS" filesystem*********

EMMC storage devices are NOT compatible

Unless you change the scatter to support your file system and even then it may require porting still.

Open SP flash tool, and open the scatter.file and change flash method to download only and click download, plug the device in while switched off and the device will flash,

DO NOT USE "format all + download" unless you have a backup of your firmware and security partition or you WILL lose your imei.

________________________________________

LINKS

________________________________________

SP FLASH TOOL :

https://spflashtool.com/download/SP_Flash_Tool_v5.1824_Win.zip

FIRMWARE DOWNLOAD:

https://drive.google.com/file/d/1mK3lnvqSzvtMajyWm1S1YplfQvPlgcgY/view?usp=drivesdk

MODIFIED BOOT IMG :

https://drive.google.com/file/d/1IRwW4SY-mcRfRrFLYw45CpKacmoRRRW3/view?usp=drivesdk

all credits go to Luca Roggero for building this boot .img to allow SD card to be used as system & rom storage.

_______________________________________