• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM] Tesla OS V1.5 [LP 5.1.1] for Mlais M9 - MT6592M

What firmware package you used to make this rom works in device?

  • I used the firmware package "OPT2-FIRMWARE_Mlais_M9_for-LP5.1.1_ROMS.zip"

    Votes: 0 0.0%

  • Total voters
    2
  • Poll closed .

M4rQu1Nh0S

Senior Member
Sep 18, 2015
103
17
0
Guarulhos
This Rom is Ported From EquiNox Team build. And Ported to Mlais M9 (MT6592M) by ME (M4rQu1Nh0S)
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
* DO NOT LEECH MY DOWNLOADS, PLEASE RE-DIRECT YOUR FORUM /PAGE
* TO THIS THREAD, IF YOU LIKE MY WORK, YOU CAN SAY THANKS,
* AND MAYBE BUY ME SOME BEERS
*/
Backup IMEI-NVRAM before

Tesla OS is a free, open-source, aftermarket firmware distribution of Android 5.1 (Lollipop), which is designed to increase performance and reliability over stock Android for your device. It offers features not found in the official Android based firmwares of vendors.

UPDATES:
04/12/2015: 22:40 - *Preparation Firmware*
-Created a second option of firmware:
OPT1 by M4rQu1Nh0S and OPT2, with help of mark-1978 (by send working firmware files)

04/12/2015: 03:00 - *Preparation Firmware*
-Unlocked bootloader
-Removed unnecessary files, less bugs

02/12/2015: 10:50:
-New instructions
-ROM are separated from FIRMWARE

30/11/2015 - 10:50:
-Fixed EBR1 And EBR2 file to avoid brick
-Fixed some lines in MT6592_Android_scatter.txt
-Some needed files are presents now
FEATURES:
  • Android 5.1.1
  • Tesla Settings; where user can find following features in one place
  • AOKP system animations
  • Listanimation Views and Interpolator
  • Toast Animations
  • Gesture Anywhere
  • Network Traffic
  • Wakelock Blocker
  • Slim’s DPI converter
  • Navigation Bar Height/Width
  • DownloadManager: add to pause/resume download by user
  • Improved Headsup
  • Tesla UI
  • Settings: add back date style option
  • Settings: add back status bar date options
  • Settings: Disable Quick Settings on secure Lockscreen
  • Margaritov colorpicker from SlimRoms
  • Optimized performance; more smooth experience
  • And Many more !
Features for Mlais M9:
  • OTA Updater
  • Power ON Logo
  • Resized Boot Animation
  • PhilZ Recovery as default recovery | Compatible with Emulated Storage system
  • Internal Storage and User Storage space merged (2GB /data + 4GB /sdcard0 = 6GB (/data <-> /data/media)
WORKING:
  • Sync( turn off GPS reboot)
  • Storage Info Fixed (Settings -> Storage)
  • SIM2 / Dual SIM
  • Data
  • Camera (Camcoder record 720p videos with Videocam Illusion)
  • Flashlight
  • Sensors
  • Sound
  • Bluetooth
  • IMEI detection
  • GPS (tested with Google Map)
  • SDcard as default storage
  • Microphone (maybe not working with Google voice Search)
NOT WORKING:
  • USSD (with some carriers)
  • FMRadio
  • Hotspot (turned on but not detecting by any device)
Download ROM, Firmware and Tools:

Backup your IMEI-NVRAM before. Use the "MTKdroidTools" app to backup and restore IMEI data

How to flash the FIRMWARE to Lollipop based ROMs:
Install the Mlais M9 driver and extract the SP Flash Tools before start
  1. Extract the file "OPT1-FIRMWARE_Mlais_M9_for-LP5.1.1_ROMS.zip" to any folder
  2. Open the SP Flash Tools app and select Scatter file: MT6592_Android_scatter.txt from extracted folder
  3. In SP Flash Tools, Click in: Download Only botton and change to: "Format All + Download"
  4. Power off the your device
  5. Click in: "Download" Botton (on side of stop botton) to start
  6. With device off, connect the device in PC USB cable
  7. Wait the SP Flash tool flash firmware in the device
  8. Done, after SP Flash tool flash the firmware you need power off the device again
How to flash the Tesla OS ROM for Mlais M9
  1. Power ON the device and go to Recovery Mode (Press the key Power + Volume Down together)
  2. Go to Install Zip menu, Choose zip from SDCard and flash ROM_Mlais_M9_Tesla-OS_CM12.1-LP5.1.1.zip
  3. Go to: Wipe and Format Options -> Select: Factory Reset and select "Yes - Wipe all user data"
  4. Select: Wipe and Format Options -> Custom Format Options -> and select: format /data and /data/media (/sdcard) and select "Yes - Format"
  5. Reboot the device.
  6. Use MTKdroidTools app to restore the IMEI data and reboot again.
  7. Enjoy the Tesla OS, A featured CyanogenMod 12.1 version with Android LP 5.1.1

IF YOU FOLLOWED THE STEPS WITH FIRMWARE OPT1 BUT THE PHONE STILL BRICKED:
  1. Try use the "OPT2-FIRMWARE_Mlais_M9_for-LP5.1.1_ROMS.zip"
  2. Flash the firmware again, following the steps above
    BIG THANKS TO mark-1978

CREDITS / THANKS:
Tesla OS developers: http://teslaos.github.io/team.html
CyanogenMod
AOSP
Slim Roms
PAC ROM

EquiNox Team
Amit Kumar

neel solanki lg
Darshan Mistry
Arjit Deb
Shubham Soni
PINTO THAKUR - by share the rom for us!
HOVATEK - by EBR edit guide, this guide helped me!

PS: Sorry my english, fix me if I're wrong!

XDA:DevDB Information
Tesla OS for Mlais M9, ROM for all devices (see above for details)

Contributors
M4rQu1Nh0S, mark-1978
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: CyanogenMod

Version Information
Status: Stable
Current Stable Version: V1.5
Stable Release Date: 2015-11-25

Created 2015-11-26
Last Updated 2015-12-04
 

Attachments

Last edited:

M4rQu1Nh0S

Senior Member
Sep 18, 2015
103
17
0
Guarulhos
installed it and the Phone was bricked. Preloader rom could fix it.
What? if you flash the device with your rom Preloader you can fix this problem?
I'll examine another way to install the Tesla OS without brick the phone, but if the Preloader of your stock rom unbrick the device... I'll fix, so say your solution!
 

mark-1978

Senior Member
Jun 17, 2015
544
133
43
UPDATE:
30/11/2015 - 10:50:
-Fixed EBR1 And EBR2 file to avoid brick
-Fixed some lines in MT6592_Android_scatter.txt
-Some needed files are presents now

Tesla OS for Mlais M9: Download Links
Still a bricked phone.

---------- Post added at 04:35 PM ---------- Previous post was at 03:55 PM ----------

Can't you use this rom :https://drive.google.com/file/d/0B93fqCUuxz97OTA0dklQdGpqVlk/view?pli=1
to make a working cyanogenmod 12.1 version for the mlais m9? It's the same chipset and it's in cwm format.
 

M4rQu1Nh0S

Senior Member
Sep 18, 2015
103
17
0
Guarulhos
Still a bricked phone.

---------- Post added at 04:35 PM ---------- Previous post was at 03:55 PM ----------

Can't you use this rom :https://drive.google.com/file/d/0B93fqCUuxz97OTA0dklQdGpqVlk/view?pli=1
to make a working cyanogenmod 12.1 version for the mlais m9? It's the same chipset and it's in cwm format.
can you paste logcat after boot the device? i edited ebr1 and ebr2 to merge internal storage with phone storage, i will examine again, but i follow this steps and i boot the device normally!

paste logcat, and i will examine!
 

mark-1978

Senior Member
Jun 17, 2015
544
133
43
can you paste logcat after boot the device? i edited ebr1 and ebr2 to merge internal storage with phone storage, i will examine again, but i follow this steps and i boot the device normally!

paste logcat, and i will examine!
took mbr(makes it possible to flash the rom at all time), the preloader(makes the rom boot when installed) from preloader mod rom and your rom works now :).

*edit: bluetooth gives an closing error and wifi isn't working yet. Can't enable wifi.
 
Last edited:

M4rQu1Nh0S

Senior Member
Sep 18, 2015
103
17
0
Guarulhos
took mbr(makes it possible to flash the rom at all time), the preloader(makes the rom boot when installed) from preloader mod rom and your rom works now :).

*edit: bluetooth gives an closing error and wifi isn't working yet. Can't enable wifi.
these issues about bluetooth and wifi is normal in first use, you need advance without enable bluetooth, wifi and SIM Card in "First steps" screen, after this and after restore IMEI data, these problems will desappears!

let me hear again: if you flash this firmware without MBR and without preloader of this package, but with stock firmware MBR and preloader files you can make this rom works?

*edit: you can help uploading these files and I will add to rom package
 
Last edited:

mark-1978

Senior Member
Jun 17, 2015
544
133
43
these issues about bluetooth and wifi is normal in first use, you need advance without enable bluetooth, wifi and SIM Card in "First steps" screen, after this and after restore IMEI data, these problems will desappears!

let me hear again: if you flash this firmware without MBR and without preloader of this package, but with stock firmware MBR and preloader files you can make this rom works?

*edit: you can help uploading these files and I will add to rom package
yup.
 
  • Like
Reactions: M4rQu1Nh0S

M4rQu1Nh0S

Senior Member
Sep 18, 2015
103
17
0
Guarulhos
yep, there's something with the pincode being wrong entered, but there's no option of re-entering it. The wifi option will show wifi turned on, but there are no routers to be found. The logo on top of the sim doesn't show connection.
very strange, you have the same Mlais M9 with 4.4.2 and with chipset 6592M... and i reinstalled the firmware following the steps. you need change preloader and mbr to make rom works right?

if you replaced the preloader and mbr of stock rom, i think that you need use adb push and copy some files from stock to tesla os rom.

try follow the guide, but use your stock rom files before use mtkrom's files:
http://www.mtkroms.com/2015/07/bug-solving-cm-12-for-mtk.html

try upload the changes after you fixed some issues!
I will port the pure CM12.1 BETA6 to Mlais M9 later, i'm if you need another support...
 

mark-1978

Senior Member
Jun 17, 2015
544
133
43
very strange, you have the same Mlais M9 with 4.4.2 and with chipset 6592M... and i reinstalled the firmware following the steps. you need change preloader and mbr to make rom works right?

if you replaced the preloader and mbr of stock rom, i think that you need use adb push and copy some files from stock to tesla os rom.

try follow the guide, but use your stock rom files before use mtkrom's files:
http://www.mtkroms.com/2015/07/bug-solving-cm-12-for-mtk.html

try upload the changes after you fixed some issues!
I will port the pure CM12.1 BETA6 to Mlais M9 later, i'm if you need another support...

It says something about copying files from etc map from system.img from stock to the cyanogenmod 12.1 rom. However the system.img from your cyanogemod rom seems to be read-only, so i can't copy the files. Can you make it read and write? This should fix the wifi issue.

*edit: copied the files for wifi,bluetooth and sim through es file explorer from the stock to the cyanogenmod 12.1 , but isn't working yet.
 
Last edited:

M4rQu1Nh0S

Senior Member
Sep 18, 2015
103
17
0
Guarulhos
It says something about copying files from etc map from system.img from stock to the cyanogenmod 12.1 rom. However the system.img from your cyanogemod rom seems to be read-only, so i can't copy the files. Can you make it read and write? This should fix the wifi issue.

*edit: copied the files for wifi,bluetooth and sim through es file explorer from the stock to the cyanogenmod 12.1 , but isn't working yet.
before do: adb push
you need do: adb remount first
 

mark-1978

Senior Member
Jun 17, 2015
544
133
43
before do: adb push
you need do: adb remount first
could just copy the files to the sd card, put the sd card in the Phone and copy them to the data/etc map. Just replace the existing files. Then rebooted the device, but still no wifi. Should be the same result as doing it with adb push like you say. Maybe there still is difference between the kitkat (rom) and the lollipop (rom), incompatiblities i mean.
 

M4rQu1Nh0S

Senior Member
Sep 18, 2015
103
17
0
Guarulhos
could just copy the files to the sd card, put the sd card in the Phone and copy them to the data/etc map. Just replace the existing files. Then rebooted the device, but still no wifi. Should be the same result as doing it with adb push like you say. Maybe there still is difference between the kitkat (rom) and the lollipop (rom), incompatiblities i mean.
The selinux are permissive?
You can see in about phone under options menu.

You've do a factory reset and tested again?
 
Last edited:

M4rQu1Nh0S

Senior Member
Sep 18, 2015
103
17
0
Guarulhos
Ok, i will split rom and firmware

It says something about copying files from etc map from system.img from stock to the cyanogenmod 12.1 rom. However the system.img from your cyanogemod rom seems to be read-only, so i can't copy the files. Can you make it read and write? This should fix the wifi issue.

*edit: copied the files for wifi,bluetooth and sim through es file explorer from the stock to the cyanogenmod 12.1 , but isn't working yet.
Okay! I have an idea, i will split the rom and the firmware.
I will upload two files: ROM and the Firmware.
The firmware package will used to flash compatible lollipop scheme in the device.
and the rom package, used to flash the Tesla OS under recovery.

doing this, the issue about read-only rom files can be resolved...
 

mark-1978

Senior Member
Jun 17, 2015
544
133
43
Okay! I have an idea, i will split the rom and the firmware.
I will upload two files: ROM and the Firmware.
The firmware package will used to flash compatible lollipop scheme in the device.
and the rom package, used to flash the Tesla OS under recovery.

doing this, the issue about read-only rom files can be resolved...
have already copied the files to the working rom, wifi still isn't working. But yes, it is a step further.