[Miscellaneous Android Development] Matty1993:
For device R11Max Q6_MB_V1.0 UBIFS chinaphone

DISCLAIMER

Freshly compiled today :D see the disclaimer on 2nd screen of rom installer before proceeding with the installation process

FEATURES

• Custom CTR 2.7 lineageos themed by me which is an update from the old 2.2 i was using before

• Boot.img rebuilt from ground up to support Android 6.0 on ubifs UBI system layouts.

• Includes storage fix to make 4GB /data partition

• Custom boot logo created by me

• Custom lineageos aroma installer by me also

• Patched with Magisk V14

• Patched with LOS Root (dev options)

• Patched with nano Gapps

• Camera interploated and tweaked

• System tweaked for ubifs perf

• Tweaked read ahead and writeout for mmcblk's

• Tweaked and rewrote dalvikvm for ubifs perf

• Added init.d tweaks for system, cache & data

• Tweaked R/W options for low end sdcards

Update 2019-10- = Still in debug progression

• Fixed earpeice sensor not working sometimes

• Tweaked out the advan bluetooth and wifi modules and setprop for R11max wifi HW

• Updated modem paths and sockets for new rild

• Added debug props to fix camera flashes back and front as werent working before and also tweaked front camera flash to be brighter, couldnt do much about back as its a low lumen led but have brightened it up as best i can.

• Added NFC services to initrd and some system so far for TCT NFC immersion this will require purchasing an nfc tag if you want nfc

Some other stuff to i will comment below with new link when build is finished being debugged and uploaded in the next few days

NOT WORKING

• Offline charging not currently working should be soon enough

• Charging light not working offline or online ill see what i can do nearly forgot to list this one

BUGS

• You may get a random reboot or two or device may freeze and reboot once or twice this is due to magisk and not lineageos, have rigorously tested and goes away after system settles in

NOTES

• Build compiled using AdvanS4 eMMC sources as a base some modules have been left such as wifi and bluetooth if you have problems with either please let me know

• Once you complete the setupwizard if using a lower read/write speed class 10 sdcard give the device at least 5 minutes to settle in before using it or it will go a little slow until my tweaks kick in, high speed cards disregard this comment

• Tested and perf tweaked using class 10 HC 8GB card thats 6 years old with ancient slow read write speeds compared to todays HC cards, so those using new high speed cards should experience 0 lag at all

• See last picture if you would like to see how i have set sdcard partitions out for this lineageos build.

• If you dont have a scatter file to flash the recoveries let me know and will provide it in a link from google deive via PM i do this to stop people flashing with incompatible partition layouts.

• You will see a corrupt sdcard in settings/storage.....LEAVE IT ALONE... this is your /data partition the system us stating it is corrupt as it is expecting it to be in vfat format whereas it is in ext4 format, if tou format it youll stuff it up.

• Dates are diff in pictures as to what build dates actually are, pictures are old build append date is 20190930 5:35PM as you will find in settings about.

• You will see ViLTE,VoLTE,LTE options in networking settings note that this has not been fully intergrated and will not work on this device i added to system source for LTE devices i will recompile for in future and will save me adding it later for other devices using UBIFS please do not get confused this is GSM-2G radio device only and is not UMTS-3G or LTE-4G.

PREREQUISITES

• A computer with windows.

• SP Flash tool installed.

• SP Flash tool VCOM drivers installed.

• Scatter file for your device.

• Class 10 sdcard with high Read/Write speeds.

• USB cord for flashing.

• Can of coke or bourbon preferably.

• A brain or well at least half of one should suffice.

FLASHING

• Make a factory reset before doing anything and be sure to back your firmware up before proceeding.

• Insert your sdcard & flash this recovery

https://drive.google.com/file/d/1vggA-qFjsej2BdacsHUqnFOBx-izrCzK/view?usp=drivesdk

• Remove and reinsert battery after flash

• Hold power + volume up until recovery boots.

• Select advanced, partition sdcard, create 4096MB with 128MB swap on page after.

• Power off and flash this recovery boot to it the same way as you did the first recovery.

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

• Select UMS transfer and copy lineageos https://drive.google.com/file/d/1-vGYM_bDQKlYNgT_tYasVHLM0x3mXE7E/view?usp=drivesdk to the sdcard partition with pc.

• Power off and flash back to the first recovery and again boot to it.

• Select wipe menu, wipe data factory reset wait for it to complete, then select wipe all data preflash & wait for it to complete.

• Back to main menu select mounts & mount the system after return to the main menu.

• Select install, then install from sdcard and select the rom.zip and flash.

• Follow the on screen prompts and be sure to read page 2 of the installer before proceeding with installation.

• Reboot and done.

Dont forget the thanks button. :good: