yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] fire855:
​

This is a Official Build of madOS ( based on AOSP 8.1.0 ) for Vernee Apollo Lite & X with MTK 6797 SoC

madOS is based on pure A.O.S.P. with many additional customizations and MediaTek support.

#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.
*/

Installation Instructions:

The latest 7.1.2 build must be flashed in SPFT with firmware upgrade mode before this ROM can be flashed (Downloads: VAL, VAX)

Download ROM from M.A.D. Facebook

OR from xda DevDB

Download 8.1 GApps from xda devdb (Mirror)

Backup

Flash new mandatory new Oreo TWRP (available on downloads)

Boot to the new TWRP recovery

full Wipes (dont come crying if you didn't .. ;p )

Install rom (optionally following by GAPPS if you use them)

Optional: go to: wipe --> Advanced Wipe, tick 'cache' and klick 'repair or change File System' --> change File System --> F2FS --> swipe to the right (hit back several times, and proceed the same way with 'data').

Reboot System

Working:

RIL (Calls /SMS, Data connection, etc)

Wifi

Bluetooth

FM Radio

All Sensors

Fingerprint

Lights

Both storages & MTP

HW de/encoding

Camera (photos and video)

GPS & aGPS

Audio

madOS Extras (the features ya'all used too), plus, some new features we added on Oreo)

Bugs:

-

XDA:DevDB Information

madOS_O_VAL_VAX, ROM for all devices (see above for details)

Contributors

fire855, DerTeufel1980, superdragonpt

Source Code: https://github.com/MediatekAndroidDevelopers

ROM OS Version: 8.x Oreo

ROM Kernel: Linux 3.x

ROM Firmware Required: TWRP

Based On: AOSP

Version Information

Status: Stable

Stable Release Date: 2017-12-25

Created 2017-12-25

Last Updated 2018-01-13
[Miscellaneous Android Development] fire855:
Changelogs

[Stable] Build [8.1.0] 20171225

First Release

madOS version: 2.1

Patch Level: 8.1.0 [OPM1] December 5, 2017

Kernel: 3.18.89 (o-8.1.0 branch)

[Stable] Build [8.1.0] 20180102

madOS version: 2.1.1

Fixed UI lags / hangs

Fixed deepsleep

Fixed screen recording

Fixed video playback issues

Updated graphics system

Improved GSM/LTE signal handling

Fixed alarms

Fixed FMRadio

Fixed wallpaper scrolling setting in madLauncher

Fixed 5GHz hotspot issues

Improvements in bluetooth for A2DP

Updated included APNs list

madOS color Engine:

Rebased & many improvements on the engine

Better support on theming Quick Settings

New option to override default Google 8.1 QS theming

New reset button to get back to default 8.1 theming

New MAD mode
[Miscellaneous Android Development] fire855:
Merry Christmas !!
[Miscellaneous Android Development] honzyn25:
Thanks. Merry Christmas.

The computer died. I will not make the sd card backup. :(
[Miscellaneous Android Development] Sax_93:
Marry Xmas to all.
[Miscellaneous Android Development] RalphMalph:
Wow.... Oreo release and directly 8.1 weeeeeeeeeeee!

Didn't expect this before the new year, what a surprise.

Thanx you [MENTION=4761533]fire855[/MENTION]

Thank you MAD-team
[Miscellaneous Android Development] TJFA81:
Hi,

How to install ROM and gapps?

On TWRP or using flash?

Thank you
[Miscellaneous Android Development] cedricboquiren:
Should we come from the last 7.1.2 build (which has different partitions from stock)?
[Miscellaneous Android Development] Xorianator:
I really appreciate the work, but it's somewhat unflashable. New recovery is not stable, it gets stuck sometimes. Also I didn't manage to bring 8.1 to run with Gapps yet.

€: To provide somewhat more information: System crashes when running playstore.

€2: Full wipe made, advanced wipe and wiped every partition. It gets stuck coincidential, there's no proper reason for it, it got stuck once when I flashed MadOS itself, second time it got stuck flashing gapps, so I hope I get it run that night...

€3: Recovery freezes and after 30 seconds (approx) phone reboots.

€4: Nope, I don't get it to work, goddamnit. It freezes almost immediately after I enter my pin.
[Miscellaneous Android Development] TJFA81:
Help please...

I install new TRWP OREO on old twrp...

when reboot the phone shutoff and does nothing... i cant turn on...
[Miscellaneous Android Development] Xorianator:
Hold VOL+ and POWER when rebooting. Then you can choose to boot into TWRP. There you copy the new recovery image and then flash Oreo.
[Miscellaneous Android Development] TJFA81:
I cant...

When choose recovery the phone freezes. black screen

To install new TWRP OREO its only necessary flash the file recovery.img???
[Miscellaneous Android Development] Xorianator:
Yes, you only have to bring the recovery up again.

What you can also do is: Go back to 7.1 (flash it with SPflashtool) and then do the steps
[Miscellaneous Android Development] TJFA81:
I cant go to recovery...

Can start the phone but cant go to recovery after flash new recovery file posted on MAD facebook.

I dont have 8.1 because of that, just did the first step anda now cant go to recovery
[Miscellaneous Android Development] Xorianator:
Reflash 7.1 image using SPflashtool, I made a guide for this There you go. Then you can repeat.

Okay so 8.1 is not working at all... I get somewhat a weird failure on screen, the screen "sacks" down (main UI Activity just "fall down", status bar is still up) and then it freezes... Looking forward to get this fixed soon.

€: And the boot time is horrible, before I see a screen it's black for idk 2 Minutes

€3: Nvm lol, actually the phone is now unable to boot in System....

€4: Give it a try with "optional" F2FS File system step, let's see.

€5: Nope, didn't fix a thing. So well, at least I could capture this "sack down" thing:

The red line is where the display ends. As you can see the symbols are still in place. The blue line marks where the activity "sack down" and if this happens (which happens just on coincidence) nothing will happen any further, system's frozen and it reboots afterwards.
[Miscellaneous Android Development] fire855:
TWRP
[Miscellaneous Android Development] TJFA81:
Thank you, already did it... reflash recovery.img but by spflashtool. Now im inside twrp3.2.1...

Now its time to try install oreo and gapps
[Miscellaneous Android Development] fire855:
Yes, the latest 7.1.2 is mandatory. Added this to the first post now too.
[Miscellaneous Android Development] Kojeak:
I tried to install the new rom, after I installed the new twrp, the phone is still restarting, I tried to return to 7.1.2 with spft but no success even does not connect with the laptop, what I could do they do?
[Miscellaneous Android Development] cvegreen:
I will root my phone again to try this one. But not today. ( to much alcochol in my blood)
[Miscellaneous Android Development] daitalos:
Lol ... ? ? ?
[Miscellaneous Android Development] Eltony2216:
feliz año nuevo, gracias por el aporte de Android Oreo (8.1.0), funcionaria para un S4 Sprint SPH-L720?
[Miscellaneous Android Development] Xorianator:
Vernee Apollo Lite & X

=> No
[Miscellaneous Android Development] cvegreen:
Thanks mate, my phone is running Android 8.1 now. But i cant discover annaything, The battery is down for the moment. The only thing that i could not get working yet was play store.
[Miscellaneous Android Development] fire855:
Short update: Deepsleep and alarms are fixed now too :) Next release coming soon
[Miscellaneous Android Development] Sax_93:
Fixed deepsleep wow nice job :D:D
[Miscellaneous Android Development] daitalos:
Nice..for battery I think is normally after flashing rom...you can try calibration battery (after calibration is better ,to work your device until the battery is empty and then a full charge again)..I'm using pico package & works correctly on my device..

For playstore you can try with last universal version .apk(update) here : https://www.apkmirror.com/apk/googl...39-w-all-0-pr-178322352-android-apk-download/

& then if you want, reboot on recovery & wipe dalvik / cache only! & reboot..

(I'm using this playstore version & latest beta google play services)
[Miscellaneous Android Development] Xorianator:
It will come in 2018, yay. :laugh:
[Miscellaneous Android Development] cedricboquiren:
It feels so itchy to flash things now that I am so tempted to ask for ETA but no, I won't. LOL

#MADmadeMEflashaholic

#HappyNewYear
[Miscellaneous Android Development] Sax_93:
Is this serve to get less battery drain also if you have google play service optimized?

Now my battery go off at about 40% :crying:, but i suppose that my battery is dead. There is a way to check if a battery is dread or other?
[Miscellaneous Android Development] cedricboquiren:
I also think my battery is starting to deteriorate.

Does anyone know where to order a new battery for Apollo Lite?
[Miscellaneous Android Development] Sax_93:
i ordered a new battery on aliexpress, i will receive it tomorrow i suppose.
[Miscellaneous Android Development] lifescanner:
is it complicated to change the Battery VAL ??
[Miscellaneous Android Development] cedricboquiren:
It seems like voLTE is already implemented on stock ROM. Can this feature be added to madOS?
[Miscellaneous Android Development] eidighans:
Happy New Year and thank's MAD for this incredible ROM !

Question : Does anyone have experience with root by Magisk for this 8.1.0 Rom ?

After I successfully installed it on my VAL, I rootet with Magisk 15.0 and installed Magisk-Manager 5.4.

Root checker said that I had root access and there were several notices by Superuser for some apps like

Titanium Backup for example. So everything was fine at that time.

Next day when trying to use ES-fileexplorer there was at once a notification that Magisk-Manager did not react

and if I wanted to close it or restart the app. The third time the app was closed immediately.

I deinstalled ES-fileexplorer and Magisk-Manager, wiped dalvik and cache, rebootet the VAL

and installed Magisk-Manager again,

but it immediately closed when I tried to start it. Now root-checker said that root was not properly installed.

I reinstalled the extracted boot.img from madOS 8.1.0 by TWRP several times and tried different versions of Magisk and Manager but always the same issue with closing the app and no more proper root .

( I always had proper root without the Manager-app )

Then I decided to root with SR5-SuperSU-v2.82 and everything works fine since then.

But I would like to use some of the Magisk features.

Has anybody any idea about it ?
[Miscellaneous Android Development] cvegreen:
I was using also the pico package, but he was freezing al the time. Somtimes so fast that i could enter my pincode but not even unlock my screen. The times that the phone was working in Android 8..1, was it a pleasure. Fingerprint is extreemly fast. The screen is brighter, more clear view than in 7. The phone was generaly more snappy, but freezing without warning. The only thing you can do is restart en hope that he wil boot up totaly. So now i am back on 7. I wait for the version that fire855 is working on right now.

Sorry for my extremely bad english, I speak Dutch
[Miscellaneous Android Development] skylineone044:
For some reason Magisk v15.0 doesn't work, but v15.1 works fine, so go try that.
[Miscellaneous Android Development] hazol:
It's also freeze for me.

In addition, twrp often freezes!
[Miscellaneous Android Development] fire855:
New build ready to download: https://xdaforums.com/devdb/project/?id=23828#downloads

I updated the TWRP recovery image too :)

Changelog: https://xdaforums.com/showpost.php?p=74961269&postcount=3

Enjoy and happy new year ;)
[Miscellaneous Android Development] Sax_93:
Nice job. :)

How are the instruction to update all?

are we need to reinstall rom and twrp from zero ?
[Miscellaneous Android Development] RalphMalph:
Yeahhhhhh great job MAD-team.

So much updates lately. Not expecting this support for the VAL.

Would have been nicer maybe if you included the 5 January security update.... Ohhh no, wait. Next week another update :silly:

Great job

Edit:

Wow... What a changelog... Thumbs up
[Miscellaneous Android Development] hazol:
Hello!

I updated the ROM. I hope it will be good.

But why can't opens total commander the sd card?
[Miscellaneous Android Development] Sax_93:
how u updated the Rom ?

have u reinstalled all from zero?
[Miscellaneous Android Development] hazol:
First I did backup of data.

Then yes, I started from zero...

At the end I restored data.
[Miscellaneous Android Development] fire855:
Zero is the best to avoid any issues. But a dirty flash from the first 8.1 release *should* be working too.
[Miscellaneous Android Development] Xorianator:
WHOOP WHOOP I will give it a try. AMAZING JOB that ya did it so fast. Hopefully it's fixed now, if not, at least I know which file you need. Looking forward \o/!

€: First review: At least the recovery is still unstable.

€2: Build works, no freeze / crash so far *yes* but as mentioned in € TWRP still has some freezing issue
[Miscellaneous Android Development] hazol:
It had to be root, so that's good. ☺️
[Miscellaneous Android Development] JVTNET:
Thanks for your efforts, I have the stock rom right now, can I jump directly to this version making a fresh install from the TWRP???

Thank you.
[Miscellaneous Android Development] daitalos:
No..you can't ! But why do not you first read the OP before asking? All is there ...

(First needs the last build 7.1.2 via spft on your device)

---------- Post added at 05:47 ---------- Previous post was at 05:43 ----------

Lol...yes
[Miscellaneous Android Development] daitalos:
generally 2/1 build works very well & fast(VAL) ...I have some issues (small but there are)

at the first start in fingerprint adjustment,I had to forsake it (skip) because the image of the setting(fingerprint settings) was missing & I did it after from the device settings...

Radio does not work yet (personally do not care) ...

The problem with the central button remains for me (only in mad launcher)

Sometimes after reboot,some icons disappear from the main page bar (especially the settings icon)

The user image can not be added to the lock screen..

small problems,rom generally works very well...youtube & player videos play very well on my device

Thanks & sry for english
[Miscellaneous Android Development] cedricboquiren:
Read installation instructions, dude

---------- Post added at 06:58 AM ---------- Previous post was at 06:16 AM ----------

Radio now works fine for me. That's kinda weird
[Miscellaneous Android Development] daitalos:
[/COLOR]

Radio now works fine for me. That's kinda weird[/QUOTE]

for me no...(but I do not care radio)

see >
[Miscellaneous Android Development] cedricboquiren:
Just in case you are having trouble rooting using SuperSU, here's what I did:

1. Flash ROM + Gapps

2. Boot the phone.

3. Install SuperSU from Google Play.

4. Reboot to recovery.

5. Flash SuperSU 2.82 zio.
[Miscellaneous Android Development] cedricboquiren:
[MENTION=4761533]fire855[/MENTION], congratulations. This ROM is now perfect for me as my daily driver. Everything works just awesomely fine. More power to MAD Team.
[Miscellaneous Android Development] hazol:
The navigation bar is malfunctioning when making a decision on the side. The home button flashes, and there are other troubles. By the way, the system is much more stable than before. FM radio works well for me.

Thanks for your works!
[Miscellaneous Android Development] mlara.particular:
Hi,

Anyone tried Magisk for rooting? I used Magisk 15.2 and the phone freezes at Bootlogo.....
[Miscellaneous Android Development] cvegreen:
I downloaded the new files that i not yet expectet [MENTION=4761533]fire855[/MENTION], but i have a massive migraine attack today. so the update will not for today. But my phone is almost ready. Just install the new TWRP via the way that [MENTION=5976373]daitalos[/MENTION] explaind me. So it commes OK. But not today. My head explodes from the pain.

Sorry for my exreem bad Enlisch, I speak Dutch
[Miscellaneous Android Development] cedricboquiren:
Just use SuperSU instead. It works fine in any madOS.
[Miscellaneous Android Development] cedricboquiren:
Also, just in case you want to use PiP for Youtube (which is only available if you have RED subscription), you can use Lucky Patcher (requires root) to enable it. It adds the background playback feature as well. Coolness overload.
[Miscellaneous Android Development] comand11:
I cant root, its aborting at the Installation
[Miscellaneous Android Development] antoniorodc:
Wifi 5G don't works for me

[MENTION=4761533]fire855[/MENTION] Thanks for new version. Radio works fine but Wifi 5G don't. I scan wifi with Android Selector and with external application and the mobile don't show any network 5G.

I spflash MAD 7.1.2 and networks 5G works. I flashed (full wipe & new recovery) MAD 8.1.0 (v2.1.1) and Wifi 5G don't works.

Some tip?
[Miscellaneous Android Development] cedricboquiren:
Install supersu from playstore first before flashing the zip file.
[Miscellaneous Android Development] comand11:
I had supersu install from playstore first
[Miscellaneous Android Development] daitalos:
Aborted is a issue of recovery mainly...

Make sure you have the latest twrp version from OP (2/1/2018)!

Root: >

Take this version supersu & flash it via twrp :

http://download.chainfire.eu/1220/SuperSU/SR5-SuperSU-v2.82-SR5-20171001224502.zip

After reboot, if you see the supersu missing from the device,

do not download from the playstore!

Take this apk & Install it :

https://www.apkmirror.com/apk/codin...elease/supersu-2-82-sr5-android-apk-download/

(also included in the zip)
[Miscellaneous Android Development] Sax_93:
how i need to install the new recovery?

I have done these steps but doesn't work.

1) Install Stock Rom;

2) Install TWRP_302_for_Vernee_Apollo_Lite_P6

3) Update recovery (install > image> select recovery> reboot recovery).

The image is stopped on logo vernee :(
[Miscellaneous Android Development] cvegreen:
[MENTION=4761533]fire855[/MENTION], Thanks mate. The new rom is running on my Apollo Lite. Its looking Great. He is just installed. The fingerprint is working great. Playstore is working. The rest must i checking. But for now it is mucht more stable than the first one. Thanks alot.
[Miscellaneous Android Development] musterzwerg:
Proximity Sensor not working

Thank you guys, this rom is amazing! One issueI have found is, that the prximity sensor is not working. So when a call comes in, the display ist not turned off. I checked this issue with an sensor test app (sensor test by ettore zaffaroni). The Proximity sensor shows always "Far" no matter how close I put my hand.

Is there any bugfix?

Thanks a lot.
[Miscellaneous Android Development] superdragonpt:
Again guys:

Base ROM mandatory to jump to Oreo:

Latest madOS 7.1.2 SPFLASHTOOLS version

Then simply flash Oreo's TWRP

Then go ahead and full wipes + flash madOS 8.1.x ROM

Cheers
[Miscellaneous Android Development] superdragonpt:
FMRadio works just fine on my VAL as well...that is weird :p

Also on fire's VAX

:P
[Miscellaneous Android Development] M4N135H:
The new build is more stable than the last. There are some issues I've experienced:

navigation buttons disappear when in setting menu

switching between portrait and landscape video while playing will cause phone to crash and reboot

there is a slight stutter while scrolling down youtube

cannot disable encryption, so some zips cannot be flashed in TWRP (it sometimes says cannot mount storage)
[Miscellaneous Android Development] Lorisson:
Do the following at your own risk and take a full backup before proceeding.

To disable force encryption without losing data using Magisk (not tested with SuperSU):

Backup/Copy your internal storage on your pc or SD card

Enter TWRP and backup your data partition to SD card (do not backup on Internal Storage!!!), full nand backup optional, just in case...

Enter TWRP and unistall Magisk using zip uninstaller

Reboot in TWRP and tap Wipe > Format Data > type "yes" > swipe (this will disable force encryption)

Install Magisk (this will prevent the system to force encrypt again)

Reboot in TWRP, tap Settings and check "Use rm -rf instead of formatting"

Restore your backed up data partition from SD card

Reboot to system and restore your internal storage

This will make booting to TWRP much faster, not sure if it has any impact on overall performace.

If you have issues/fc with MagiskSU I bet you have your data partition formatted to f2fs.

The workaround I found so far is to reformat data partition to ext4. You can do this without losing data using a similar technique as the one explained above, but you don't need to uninstall/reinstall Magisk.

Backup/Copy your internal storage on your pc or SD card

Enter TWRP and backup your data partition to SD card (do not backup to Internal Storage!!!), full nand backup optional, just in case...

Enter TWRP and tap Wipe > Advanced > check Data > Repair or Change File System > EXT4 > swipe

Reboot in TWRP, tap Settings and check "Use rm -rf instead of formatting"

Restore your backed up data partition from SD card

Reboot to system and restore your internal storage

Don't know if it's a Magisk issue or a poor implementation of f2fs in the kernel, but now it should work as expected. What I found for sure is that Magisk Manager cannot access the database file su.db located in /data/user_de/0/com.topjohnwu.magisk/databases/su.db when in a f2fs file system, thus creating a force close.

Overall a great THANK YOU to MAD, you did an awsome work. This rom is fast and reliable.
[Miscellaneous Android Development] Sax_93:
I'm using magisk root 15.2 and all work perfecly...
[Miscellaneous Android Development] joaopguima91:
I'm also using magisk 15.2 and everything works perfectly!
[Miscellaneous Android Development] meditec:
Now some good news:

After all issues I am back an stock android 6 and now, my battery is living for 4 days+

https://picload.org/view/ddawwwdw/battery.png.html

After installing stock there are 4 ota-updates

this very good battery living you just can get by stock rom without twrp.
[Miscellaneous Android Development] Sax_93:
if don't use the smartphone watching video and other i can get same days :D
[Miscellaneous Android Development] gycu:
Finally! SuperSU was a pain in the bottom to install, even broke my rom, I had to use spft again. Now it finally works! Muchos gracias ;)!

LE: Rom works like a charm, no freeze and it's even faster, battery looks way better, jsut have to test it some more.

MAD Team, you rock , thank you for your hard work and flawless results!

LLE: If I had to go back to 6 again and specially go back to Vernee software, I would just shoot myself but that's just me :)
[Miscellaneous Android Development] kheradon59:
Hello and happy new year,

I installed on my VAX the new version of the ROM, gapp pico and SuperSU 2.82 SR5.

FM Radio OK. Quick Settings theme OK.

I always has UI lags. On lock screen, I have to wait about 3 to 5 second to access the access pin screen although immediate with fingerprint.

For information, I use Nova Launcher.

Another problem I had was with the mobile network. After lunch, I realise that I have no mobile access. To recover, I switch from LTE to 3G and back. My provider is SFR (France).

Except these 2 problems, It is again a great job. I think i will stay on this ROM for a long time.

Thanks MadTeam
[Miscellaneous Android Development] EnZl:
Hello,

I've same problem with freeze on lock screen. Correctly, screen freeze while i press power (turn screen on) button. This freeze appears with disabled lock screen too.
[Miscellaneous Android Development] mlara.particular:
When turning on Airplane mode, after turning off LTE doesn't recover, no data, needs a Reboot. Anyone experienced this?
[Miscellaneous Android Development] cvegreen:
I did it like [MENTION=2879335]ralfmalf[/MENTION] did in post 43 https://xdaforums.com/showpost.php?p=74968174&postcount=43 and everything work verry well. I use the latest ROM and TWRP form 02/01.2018.