yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] gbl08ma:
I copied two "supposedly 4K" video recordings to a Windows machine and both the Windows properties dialog and VLC agree that there are only two streams (one video, one audio) and the video stream is 1920x1080 H264 at 30 fps, bitrate approximately 41 Mbps.

Any difference in quality you may be seeing is due to the increased bit rate (when H264 and 1080p is selected, the average bitrate is about 16 Mbps), because the resolution is the same. Hence, not 4K.
[Miscellaneous Android Development] fards:
Mediainfo is your friend.

https://mediaarea.net/en/MediaInfo
[Miscellaneous Android Development] gbl08ma:
I hoped there was a second H265 video stream, but nope...

Still, the side-effect of forcing a higher bitrate is interesting.
[Miscellaneous Android Development] fards:
Yes curious indeed

Can get that using marginz snap camera, setting it manually
[Miscellaneous Android Development] MadAzmo:
Since the topic temporarily moved to the camera, what is that time lapse thing and how it is supposed to word or even do?

Having it translated in my device home language it looks like something that should slow down your video, you know like... Time lapse.

Instead when I playback the recorded video it looks more like a "time leap".

Ugh?

Inviato dal mio Apollo_Lite utilizzando Tapatalk
[Miscellaneous Android Development] Zorikage:
Il time-lapse è una feature che permette di fare una foto in movimento stile luci che si muovono in tempo reale, cerca su google per farti un idea chiara.

I've explain what 'time-lapse' is in his language trying to help.
[Miscellaneous Android Development] nature boy:
The H265/HEVC seems restricted to 4K recording, not available via API to other resolutions.

Would be cool to use HEVC on 1080p as well.
[Miscellaneous Android Development] Irish_Dude:
Guys does anyone have instructions on how to flash back to the latest stock ROM (and a link to it if possible)?

Also does flashing back to stock ROM remove TWRP?

I really love the look and feel of the M.A.D ROM but i find that I'm charging my phone more than using it.

I also find that I'm carrying my charger with me everywhere I go now, just in case i run out of "juice"
[Miscellaneous Android Development] Zorikage:
This problem is something we should fight for, if we want to support developers on this project and tell them bugs and everything. I know battery can get some problems after charging a lot of times (i'm doing it badly for now), you should know it's normal because developers are human like us and they are trying their best to solve every issue :)
[Miscellaneous Android Development] Irish_Dude:
What exactly should we fight for?

The developers are well aware of the battery drain issue as is everyone else, so there's no point in repeating it over and over like some people in this thread are.

I wasn't complaining or demanding an immediate fix like some people are, I was simply asking for help with flashing my phone back to the stock ROM because it's not suitable as a daily driver for me (yet)

I'm extremely grateful for all the hours the M.A.D team have put into this project and I think it's a wonderful ROM they have shared with us which is why I made a donation.
[Miscellaneous Android Development] BlueFlame4:
Speaking of wakelocks: Can someone test this kernel? It contains changes that fixed deep sleep for Ulefone Metal so I am rather confident that it will work for Apollo Lite as well. I don't own the device though, so feedback is welcome ;)

Usage: Flash via fastboot
[Miscellaneous Android Development] Zorikage:
I'm just telling you that if you've put this ROM then you should already know that you could have issues like this one.

That's it.

Also i've found the Stock ROM you was searching, you can download it here from needrom-

How to put it on your device:

- Unpack FlashTools, and Click on Flash_tool.exe

- Select "scatter-Loading"and search MT6797_Android_scatter.txt in ROM

- Wait file to be added into Flash Tool

- Select "Download Only"or if upgrade "Firmware upgrade"

- Turn off your phone, remove the battery (if the battery is removable) and replace it after some seconds (and don't turn on the phone).

- Press “Download”button to start

- and connect your phone into the computer via USB data cable.

- The process will start and a red progress bar will appear after color purple, yellow.

- And green circles display

- Finish !

- You can now safely disconnect your phone and turn it on.

(you can ready this on the link provided too)

I think this is the first OTA, so you can choose if do the 4° OTA, and yea this is gonna remove your TWRP.

If it doesn't, you can freely put back the Original stock Recovery by flashing it like TWRP and download it from here
[Miscellaneous Android Development] MadAzmo:
Thank you for explaining.

The "slow down" translation for "time lapse" made a mess in my skull.

Still, I read opposite beliefs about this sensor being able to record in 60fps.

Bull**** or bliss?

Inviato dal mio Apollo_Lite utilizzando Tapatalk
[Miscellaneous Android Development] almajnoun:
Other bug cast screen not working whit merascreen

I test ROM beta and stable
[Miscellaneous Android Development] AxelMilb:
Der Kernel bringt leider auch nicht den deep sleep.

Aber vielen Dank für deine Mühe.

Gruß Axel

Gesendet von meinem Apollo Lite mit Tapatalk
[Miscellaneous Android Development] JP12:
It doesn't seem to fix deep sleep. Surprisingly enough it does stop overheating. According to GSam the phone doesn't get warmer than 30 degrees while quick charging. Might also be a problem with sensor readout.
[Miscellaneous Android Development] RalphMalph:
Since today i have the original cover (the one with the window for the clock-app on the stockrom) and i realized that when i open it, the sensor detects it and it shows the screen. But....i noticed a bug.

It shown the shutdown menu on top. See photo.

Apart from that, sometimes it is not locking/turning off the screen when closing the cover.
[Miscellaneous Android Development] DerTeufel1980:
It's gonna be fixed next build... We just hope to fix deep sleep as well...
[Miscellaneous Android Development] No1VIPER:
How is the deep sleep bug hunt going?
[Miscellaneous Android Development] gbl08ma:
I see that on the Jiayu S3 device tree, this commit reverts this one.

Can a dev confirm this is, or might be, related to the WebView problems I reported earlier that made lots of apps crash (and have since been mitigating by installing Chrome Beta and setting it as the WebView provider)?

If yes, don't forget to revert it on the Apollo Lite tree also ;) (although I guess you already did it)
[Miscellaneous Android Development] superdragonpt:
Theres's no webview issue on tree

the commit above (on Jiayu s3) was just forgoten to be removed from the tree...

as we already had added it to framework ... so it was a duplicate, the remove was just a clean nothing else.

in terms of aditional webview implementation, we've added all the alternatives already, it's included on vernee apollo builds...

if no other webview is in use, then it'll fallback to aosp one.

bb
[Miscellaneous Android Development] gbl08ma:
Yeah, I thought so. On the last release of this ROM lots of apps start crashing with WebView errors (apparently, the AOSP implementation goes missing somehow) after Google Play Services/Chrome/Something I don't know updates and the phone reboots once or twice, and the only way to fix is to install Chrome Beta and select it as the WebView implementation. This has happened to me twice and it's what I was referring to, not sure if you already knew about it or not.
[Miscellaneous Android Development] superdragonpt:
i only noticed Chrome Canary messing up a bit my system, and after removing it, the fallback (to aosp webview) was kinda weird indeed.

But, up until new mainstream patchs exists, there's not much i can do on this matter

bb
[Miscellaneous Android Development] kucyk84:
i don't know what's happend but last couple days phone is very lagging, i use him as always i do nothing special,but still laggy;/

but ROM is very nice and i wil wait for update
[Miscellaneous Android Development] RalphMalph:
Will this be a good weekend?

At least... Enjoy the weekend all.
[Miscellaneous Android Development] alandur:
try to clear data in cache from "settings" -> "storage" -> "storage in cache"

It works for me...

I know this hint from my old nexus 7 tablet... maybe it's relateted to the i/o gouvenor?
[Miscellaneous Android Development] kucyk84:
its this same as cache and dalvik cache in recovery?

nothing helps
[Miscellaneous Android Development] alandur:
Hmm... As far as I know, it ist not exactly the same.

Sorry that this didn't helped you...

Gesendet von meinem Apollo_Lite mit Tapatalk
[Miscellaneous Android Development] mirkhei:
GAPPS not working

i tried with latest opengapps and google play service is still crashing or has stopped, what cann i do?

:confused::confused:
[Miscellaneous Android Development] Zorikage:
Gapps mini and bellow are working great, the other one for now have a lot of problems.

If your google play services crash only at the start try to skip it and login later.
[Miscellaneous Android Development] Xorianator:
Install Nano or Pico.

If doesnt work, fullwipe and reflash.
[Miscellaneous Android Development] dobermann24:
Im use pico all the time. No Problem. You have the right pico choicen ? Amr64 7.1 ?
[Miscellaneous Android Development] RalphMalph:
Yes, arm64 and 7.1
[Miscellaneous Android Development] kucyk84:
another question

i want use my phone with beamer, is there any way to make him MHL?
[Miscellaneous Android Development] lucashkl:
Hi,

I want to try this rom,but give me information,work or not on redmi note 4 nikel?please answer..

Thanks
[Miscellaneous Android Development] Zorikage:
This is only for Vernee Apollo Lite and NO ports..
[Miscellaneous Android Development] RalphMalph:
I think port is possible for $15K
[Miscellaneous Android Development] MadAzmo:
I guess it should be around 30K, as of now.

Inviato dal mio Apollo_Lite utilizzando Tapatalk
[Miscellaneous Android Development] Verevka:
Hi M.A.D team, can you share the solution with adjusting the volume level of the conversation? In the second version of firmware you have corrected it, thanks. Make your friend см13 for Doogee F7, same problem =(

https://github.com/Verevka/android_device_doogee_f7

Sorry my english )
[Miscellaneous Android Development] DerTeufel1980:
You need to recompile audio.primary.mt6797. There's mtk volume control version (or something like that) defined. You need to compile it with lower version.

It's been [MENTION=4761533]fire855[/MENTION] who found this
[Miscellaneous Android Development] Verevka:
Thanks for the help :)
[Miscellaneous Android Development] Huncriter:
[MENTION=5213876]Verevka[/MENTION] any news of cm14.1?
[Miscellaneous Android Development] Verevka:
Wait official 7.0

---------- Post added at 02:53 PM ---------- Previous post was at 02:47 PM ----------

Correctly I understand? You need

#ifdef MTK_BASIC_PACKAGE
#include "AudioTypeExt.h"
#endif

replace

#ifndef MTK_BASIC_PACKAGE
#include "AudioTypeExt.h"
#endif

and ProjectConfig.mkto register : MTK_BASIC_PACKAGE = yes

and compile audio.primary.mt6797?
[Miscellaneous Android Development] superdragonpt:
The purpose of this thread ain't for how-to build/ fix this or that, but for feedback about the rom.

this matters can become a snow-ball in no time ...

one more and your fired ( haha )

bb
[Miscellaneous Android Development] RalphMalph:
Can we soon give new feedback? ;)
[Miscellaneous Android Development] iroqq:
Hey guys from Team M.A.D.,

are there any plans to enable Camera2 API or would it be possible to include the camera mods from fards custom stock build?
[Miscellaneous Android Development] superdragonpt:
There's no camera API2 support on this mtk's.

Fards camera mods, I can't say how much they changed.

But I guess you /him can just replace our camera blobs on our build with his...

Making a simple flashable.zip with his blobs, shouldn't be no bother...

Bb

In the mean time we are more concerned ATM in deep sleep bug, its extremely weird, and we never had this in any other build
[Miscellaneous Android Development] No1VIPER:
Have you had anymore luck narrowing down the cause of the deep sleep bug?
[Miscellaneous Android Development] nature boy:
Source code doesn't have the full features to enable Camera2, although the Helio P20 phone (Umi Plus E) comes with a new camera app, dunno if it's a cosmetic change or big changes under the hood.
[Miscellaneous Android Development] Xorianator:
Very nice. I mean your work on trying to figure this out, not the bug itself *gg*

Keep on doing guys :), we all appreciate your work!
[Miscellaneous Android Development] RalphMalph:
Have a question, our Apollo Lite has the capability of VoLTE, but is it enabled in the MAD-rom?

I cannot test it, because my provider does not support it, but would like to know for coworker.
[Miscellaneous Android Development] :
Thread cleaned of posts with links to work with no up to date kernel source included.

Please be sure to post current and proper kernel source when posting any Roms/kernels on XDA. And also, please seek permission to post them in other members threads. :good:

Cheers,

Darth

Senior Moderator
[Miscellaneous Android Development] qqquan:
Battery Problem

Hello. I would ask if you are already Working on the problem with the battery consuming?
[Miscellaneous Android Development] Zorikage:
The developer are talking about this for like 15 days dude, try to read after the stable 1 update post, they are working insanely on it! :)
[Miscellaneous Android Development] gbl08ma:
Today I learned about https://github.com/google/battery-historian

Attached are two screenshots from an analysis of a bug report I took today.

The first non-unknown wakeup reason is "Abort:Pending Wakeup Sources: WLAN timeout".

The reason why the CPU stays awake is not really a wake lock but the fact that it is constantly being waken up (it deep sleeps "just a little" between wakeups and that's why the deep sleep counter slowly increases... mine is at 8 seconds now).

If you search for this you'll find out these are related to problems affecting other devices like the HTC 10 and apparently even the Nexus 6P when on Nougat (!).

Sadly I don't have solutions. And M.A.D. has been at this bug for so long that they probably already know this, but I know people are happier if they are given technical reasons :p so here are my findings anyway (the hardest part was installing battery historian, fortunately I develop in Go. The alternative would be to download the docker image but I bet it is huge and my connection is slooow).

If you can install battery historian I suggest you do it and see the results for your Apollo Lite, also it would be interesting to compare with the stock ROM.
[Miscellaneous Android Development] dobermann24:
How can i install this. In PC or apk ?
[Miscellaneous Android Development] gbl08ma:
It's installed on the PC and then you need to take a bug report on the phone or over ADB. The setup is a bit complicated, instructions are on the GitHub page I linked.

Alternatively, once in a while hosted versions of it (it's basically an app that provides a website running on localhost, so it can be turned into a public website) pop up, and you could use those (with a bug report you take on your phone) but yesterday all the ones I could find were down.
[Miscellaneous Android Development] superdragonpt:
Cool find

We found out already some memory leaks, battery consuming services,etc

Deep sleep still not kiking in like it should ,very weird this is a first timer .

It's better to grab kernel logs, system logs with a userdebug permissive build ...

I just can't post it, as it haves way less security .

Still looking... This is way time consuming...

Making a build (2 hours for me) then test it for like a day... Grabbing logs... Making small changes (we can't go crazy... Small changes at a time), making another build... Another day testing...

And on top of that, I still build for other devices...

As well as the other team members..

Cheers
[Miscellaneous Android Development] kucyk84:
anyone problem with rotation? my phone just turned off and on and now screen rotation worked only straight left and right, but not 180 degrees. i have no idea what's happened.

edit : ive tried with a couple of 3rd party apps and its work only with Rotate screen pro, but i want use it with 3r party app
[Miscellaneous Android Development] dobermann24:
THX for info

---------- Post added at 04:22 PM ---------- Previous post was at 04:20 PM ----------

Its okay. You do a good job. :)
[Miscellaneous Android Development] RalphMalph:
Maybe we can have a build already, and you can meanwhile work on the battery. Or send it out to couple of testers
[Miscellaneous Android Development] DJ_Casper:
Does it support HTC One M8 Dual Sim?
[Miscellaneous Android Development] RalphMalph:
Yes, no problem

Vernee is nickname for HTC

And Apollo Lite is the same model as the One M8 dual, but for the Chinese market

Ps.

Guess it is not working hè
[Miscellaneous Android Development] Zorikage:
I got new minor bugs to report:

When unlocking the device with fingerprint, it unlocks but nothing work like there's a imput from a joystick (and then if you press the navigation multiwidow button it works normal or just lock again and unlock again), this happen sometimes, not always.

Also want to say something about battery: when charging and playing something it won't charge the phone and it will slowly decrease even if the icon say we are connected to the battery charger.

That's it
[Miscellaneous Android Development] DerTeufel1980:
I don't have a problem with fp, but for charging, you should use the stock charger and high quality cable.

Never had a phone before, charging faster than this one. If yours does not... It's broken
[Miscellaneous Android Development] Zorikage:
I have two Vernee Apollo Lite with your ROM, i can confirm that this problem are real..

Fingerprint when unlocking sometimes it give a comand like a joystick (i can do a screenshot if needed)

Also using the normal charger type c with the stock cable, if you play a heavy game it won't charge, only discharge (slowly but discharge) if you need any 'proof' i can do a video
[Miscellaneous Android Development] AxelMilb:
Original Charger Display on = 5V 1,4A

Display Off = 9V 1,4A

The stock cabel is crap

Gesendet von meinem Apollo Lite mit Tapatalk
[Miscellaneous Android Development] Xooparboy:
I have a problem

Hello, I can't install version 20161230, It gives me error number 7. I have tried to unmount /system first on twrp and it doesn´t work. I have installed version 20161224 without problems. I´m asking for your help, thank you.
[Miscellaneous Android Development] FoxBob79:
Try to install with the M.A.D.-TWRP version: CLICK

Other TWRP-versions will cause the number 7 error.
[Miscellaneous Android Development] Zorikage:
So you're saying is a problem from literally the stock cable?

I though it was related to the battery drain bug somehow, by the way isn't a big problem either for me because i always charge without using the phone, it just happened once and i find out this weird thing :P

About the other minor bug, it happens 5% of times when unlocking with fingerprint the device. It show a input (a square on the first home icon) like a joystick is connected.

So i tried to tap an app or other things and it won't open.

To fix this i just press the multitask button on the navigation bar and the joystick input (the square on icon) is going to disappear and everything works fine. (Also locking and unlocking again gonna make it disappear too)

If you need screenshot (or a screen record) i can do them maybe to show you how it is like.
[Miscellaneous Android Development] kisger13:
I have the same, but it is normal, don't forget quick charge is only work when screen is off. This clearly communicated by Verenee. I don't think this is cabe problem, I tried with 2 different kind other cable and I have the same results. So basicly this is not a bug.

Check out this official video at 4:38

https://www.youtube.com/watch?v=yhgB84eOBF4
[Miscellaneous Android Development] Logan the Hamster:
Hi guys, first thanks for the Rom, but I have 3 big problems.

1. Ehen i want to choose my mobile provider I just see a bunch oft numbers and not the names oft the networks.

2. Often when I play sounds it isn't smooth but it is stuttering.

3. The base Software keyboard crashes offen.

Pls help me to solve this problems, especially the 1. one.

Furthermore how can I set up the display (contrast, colour, brightness, sharpness, ...)?

Logan
[Miscellaneous Android Development] skylineone044:
Hey!

I have an idea, that could fix (temporarely) the deep sleep bug!

Note: I am not a software developer/programmer, nor I have any experience with software development.

So my idea is to add an app to the system (so it is a system app) that always running, and tests: if the screen is off and the phone isn't in deep sleep, then it will force it into deep sleep. And if the phone gets somehow out of deep sleep, the becouse the app is running, it will force it into deep sleep. [And so on....]

I hope that this isn't a crazily stupid idea, and can be made...

Good luck, and thanks your work! Have a nice day!

:)
[Miscellaneous Android Development] Dani551:
Your idea is great, however if a software used for this purpose is not very well optimized it can defeat the very purpose of having this software. The task of polling and checking the deepsleep state of the device every few milliseconds or seconds might add up some unnecessary CPU load which will prevent the deepsleep mode or at least disturb it. But fortunately, there is a better software already optimized for this purpose: Greenify. You would most probably have heard about this and Greenify can turn on an 'Aggressive Doze' mode which will cause a similar behaviour to the deepsleep mode.
[Miscellaneous Android Development] skylineone044:
Actually I use greenify, and used it for quite some time now.

And You are right, but If the phone is in deep sleep, the app should be sleeping too, If I'm right...so you only have to check if the phone isn't sleeping, and the screen is off. Which means there is no battery drain if the phone is sleeping. But It may not work this way...I'm not a software developer, so What do I know... Anyway have a nice day!

:)
[Miscellaneous Android Development] Primus919:
I have a problem with national roaming. My Provider is eplus (germany), roaming is on, but no internet connection in O2. Someone a noun?

Thanks for the great rom
[Miscellaneous Android Development] gycu:
Thanks guys, you are awesome, you did so much in so little time!

Merry Christmas!
[Miscellaneous Android Development] nature boy:
Can confirm there's some sort of cracking on the right side, occasional.

Also believe RDS (FM radio station) isn't working.
[Miscellaneous Android Development] DerTeufel1980:
Buhhh. Maybe my navbar changes, and compiling the rom where nearly at same time... Then you can expect it next build
[Miscellaneous Android Development] kisger13:
Dear Guys,

Thank you so much for your hard work, that's my best Christmas present ever! :laugh:

Please keep up your work!

Please let me give just a quick review (3 hours of usage) and some bug report.

Pros:

- ROM is amazing, very smooth and quick

- camera is awesome, very quick autofocus

- Gapps pico, root ok

- quick charge looks ok (just 1 charge i did)

- no heating

- 4G working fine (I will check 3G an 2G also when I go from home)

- Wifi ok

- GPS ok

Cons:

- double tap to wake not working

- every restart sim card pin needs to be enter 2-3 times (once I need to power off because not unlocked the sim)

- Antutu score is "only" 66.239 (stock rom has 88.543)