yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] mark-1978:
speed tweaks

Install performancebooster through cwm and run 'su' and 'unlockfps' in shell.

Pureperformances is from this site. Just install through cwm and it should work. The CM.1.4 version works for all roms but the stock ones. It also contains the crossbreeder patch. Is more compatible then the crossbreeder patch mentioned in a few posts back.

*edit: according to devil2k16, only swap patch works.
[Miscellaneous Android Development] alijany2002:
Does FM radio work in this ROM?
[Miscellaneous Android Development] mark-1978:
Haven't tested the radio. Bluetooth and wifi work.

edit1: but fm radio is easy to fix: "FOR FM PROBLEM

Replace from /lib/module folder mtk_fm_drv.ko"

edit2: install the attachment through CWM to fix Fm radio.
[Miscellaneous Android Development] mark-1978:
Mlais bluetooth fix

Seems bluetooth isn't always working in the roms. Tried to make a bluetooth fix zip file installable through CWM.
[Miscellaneous Android Development] mark-1978:
CM12.1 from january 2016.

ro.build.date=Tue Jan 5 23:29:15 WIB 2016

*edit: this rom has sdcard issues. If you have a 32GB external sd card you can use that for storage. The internal sd card is only usable as backup if you root es file explorer and copy stuff under the root of internal sd card.
[Miscellaneous Android Development] mark-1978:
CM12.1 from january 2016.

ro.build.date=Tue Jan 5 23:29:15 WIB 2016

Storage fixed!
[Miscellaneous Android Development] fa4hu:
And both camera?
[Miscellaneous Android Development] mark-1978:
On standard mlais M9 it works. The plus version is somehow different in camera, not only the Mpx. Bluetooth headset is working, storage shows 3,7GB, google appstore is working, wifi, only gps i don't know.
[Miscellaneous Android Development] mark-1978:
Patched the rom from needrom(thx to Capone). So this would be OctOs 2.01 with working gps, after install gps fix from google store, and have 3.69GB of internal storage space.

Download

*fixed:

- faster dialer

- autofocus problem camera

- internal sdcard to 3.69GB

still needs Gapps android 5.1.1. Install with Philz touch recovery.
[Miscellaneous Android Development] mark-1978:
If your language isn't in the menu, then go to google play and install a 'locale select' app. With this ap you can install an extra language to your rom. Next go to settings to select the newly language, just installed by 'system locale'app.
[Miscellaneous Android Development] mark-1978:
Mlais M9 - Final Stable Bugless CM 12.1 Infinix X551 by Dennis Murimi

fixed:

- sd card patched

- rooted

Still need to install gapps.
[Miscellaneous Android Development] mark-1978:
Mlais Lollipop Exodus rom from december 2015, gapps and root included, camera 8 and 5 Mpx.

*edit: bug is appstore doesn't connect to internet.
[Miscellaneous Android Development] fa4hu:
Witch ROM does GPS, bluetooth, 8 and 5 Mpx camera, 3.69 GB internal memory and Google play work?
[Miscellaneous Android Development] mark-1978:
According to Cobane, this rom. He tested the gps work and it should work. I only patched some other files.
[Miscellaneous Android Development] fa4hu:
Witch other files?
[Miscellaneous Android Development] mark-1978:
can't remember exactly, something like sdcard,void,cameracustom.so.
[Miscellaneous Android Development] devil2k16:
I have tried both roms CM12.1 and OctOS2.01 (both with fixed storage) on my Mlais M9 Plus and get only 1,97 GB storage space. But manually installing the storage fix on the CM12.1 rom worked fine, 3,69 GB storage space now :) But it took me hours to get the correct driver run on windows 10 -.-

Any idea why the storage is not correct without manually installing it?

Thanks :)
[Miscellaneous Android Development] mark-1978:
Two possiblities: 1) the Custom rom doesn't alter the internal storage, so after once patched the phone with the two ebr files it keeps that way. This is what's my experience. 2) you might have to factory reset the rom after installing the custom rom.

I am installing some custom roms and always get the 3,69GB shown as internal storage.

How's the camera and gps doing on your device?

btw. The driver with stock rom can be downloaded here in one package.
[Miscellaneous Android Development] devil2k16:
CM12.1: back camera works fine with 8 mpx. I think GPS doesnt work. GPS Fix app is running since 5 mins now... Should I flash the GPS fix you have posted?

On CM12.1 and OctOS2.01 I have another big problem: I can't sync my google account. Gmail manually sync also doesn't work. Calender doesn't show anything.. Any ideas how to fix that? :( I have flashed the smallest GApps package and I have also flashed it a second time.

Do you think when I flash stock rom again the storage will remain with 3,69 gb?

Btw since I have flashed the storage fix, I can't access my internal storage anymore with Philz recovery. Why that? Do you have the same problem?
[Miscellaneous Android Development] mark-1978:
NEEDROM.CO OCTOS2.01I: you could try the version from needrom.com. OctOs2.01 i mean. Should only have replaced the customcamera.so in lib map for autofocus.

The octos2.01 you installed should have gps, maybe you got to get outside to get reception. Someone on this topic has tested the gps once correctly, but might been another rom.

DENNIS MURIMI CM12.1: Dennis murimi CM12.1 version syncs good with the appstore, has 5 Mpx both front and back camera(possibly extended by the 20MPx patch earlier in this post).

SDCARD PATCH: The Philz internal sd card entrance can be enabled by changing 'Advanced functions/sd target' and reboot into recovery, by chosing the map '0' you get the internal sd card.

CM12.1 WITH STORAGE PATCH H1: this version all ready has gapps installed: Mlais M9 - storage fix CM-12.1-20160105-H1. Without extra gapps, it shows autosync as on, but it won't sync. With gapps extra installed it automatically turns auto sync off.

*edit1: the autosync has something to do with the gps, disable it and reboot and sync will start again.
[Miscellaneous Android Development] fa4hu:
I have two problem with this ROM:

- Google syncing not works,

- screen vibrate.
[Miscellaneous Android Development] mark-1978:
you can disable vibrate in setings/sound
[Miscellaneous Android Development] fa4hu:
Not touch vibrating, screen quakes.

---------- Post added at 12:07 PM ---------- Previous post was at 11:43 AM ----------

This just for M9, I could not install into M9.
[Miscellaneous Android Development] mark-1978:
You mean the plus version. Disabling GPS, does that help with google sync? What do you mean with quakes?

*edit: you can also use the ressurection remix rom. Good camera, sync works with disabled gps, storage good, android 5.1.1.
[Miscellaneous Android Development] devil2k16:
DENNIS MURIMI CM12.1: I have installed this rom now on my M9 Plus and it works fine for me. Google snyc works and GPS on/off doesnt have any effects on google snyc. I'm not sure if GPS works properly, i have to test it outside (inside at least the device finds 10 satellites but doesn't connect, with the other roms I didnt even find one satellite inside).

Back camera is ok with 5 Mpx, but I can't select the front camera with the standard camera app. Should I try other apps? Or will the 20MPx patch have any effects on changing to front camera?

And I have a little problem with my external SD card: only link2sd is able to move the apps to the sd card; doing this in the phone settings ends up with an error "not enough free space". For some apps I even had to remove the sd card, otherwise google play showed an error when installing these apps. Has this something to do with the sd card patch?

With the modified OctOS2.01 I also had such quakes. After the phone booted into android a process was ended the whole time (process name was something like phone.android). Always when the pop-up for process end appeared, the screen brightness was changed and changed back when pop-up was confirmed with yes. After second reboot only the quaking was left, but the pop-up wasn't shown again.

I could solve the problem with flashing the rom a second time. But I have no idea where the difference was to the first time. I just didn't get that error anymore.

Thanks for this thread mark, it's very helpful for me :)
[Miscellaneous Android Development] mark-1978:
[MENTION=7262955]devil2k16[/MENTION], can't tell whether it's from the patch, the filesizes are all the same. But copied the files from the rom one month ago just to make sure. Further copied cam files from the plus version, that should make the camera work, or it just won't boot. Can't think of anything else then you should make a factory reset after installing the rom to make google appstore work again without errors. On my device, a non plus version, google appstore well it sometime gives me an error, but then either i reboot the device (after a new make of account) or reset google services and playstore in apps in settings, then press the home key and delete running programs and restart playstore. Here's the plus version of the rom!
[Miscellaneous Android Development] fa4hu:
Are you install with format system or not? (Just wipe data, cache and dalvik.)

---------- Post added at 03:34 PM ---------- Previous post was at 02:58 PM ----------

Thanks, I try!
[Miscellaneous Android Development] mark-1978:
[MENTION=3536868]fa4hu[/MENTION] just clean install format option in Philz touch recovery.
[Miscellaneous Android Development] devil2k16:
[MENTION=6767868]mark-1978[/MENTION] Just to be sure, the rom you have posted is the M9 Plus version of rom Mlais M9 - Final Stable Bugless CM 12.1 Infinix X551 by Dennis Murimi? And the Plus version shall make front and back camera working? With the standard version from post #103 it works really good, I'm not sure if I want to change it again :) And I have no problems with google sync in the standard version..

With format system? I just followed the steps Daddy79's post and selected "Clean to install new rom" in philz recovery.
[Miscellaneous Android Development] fa4hu:
I used TWRP, maybe that was the problem?
[Miscellaneous Android Development] mark-1978:
[MENTION=7262955]devil2k16[/MENTION] yep 13Mpx back and 8 front.

[MENTION=3536868]fa4hu[/MENTION] yes you have to use philz touch to make it install properly.
[Miscellaneous Android Development] Trinotet:
The Mlais M9 Plus - Final Stable Bugless CM 12.1 Infinix X551 by Dennis Murimi dont boot... keeps the bootanimation and dont boot...
[Miscellaneous Android Development] mark-1978:
Ok, i changed the rom files a bit. Should be 13Mpx, changed the files according the 20Mpx patch.
[Miscellaneous Android Development] devil2k16:
The ROM "Mlais M9 Plus - Final Stable Bugless CM 12.1 Infinix X551 by Dennis Murimi" works fine for me now. Back camera with 13 Mpx and front 8 Mpx. Thank you :)
[Miscellaneous Android Development] mark-1978:
Camera Megapixel fixes:

Mlais M9 standard version

Mlais M9 plus version
[Miscellaneous Android Development] Trinotet:
This new m9 plus version works for me too :)
[Miscellaneous Android Development] devil2k16:
Do you think the performance fixes will increase the speed of the phone? I have some lags with a game, I didn't have this lags with stock rom.
[Miscellaneous Android Development] mark-1978:
It says so: ">>> Better HD Graphics rendering". This link
[Miscellaneous Android Development] devil2k16:
Can I also install this with philz recovery?
[Miscellaneous Android Development] mark-1978:
yes. Then follow the description in the link. A lot of options that improve the performance are available in the program. You have to set them manual, takes some time.
[Miscellaneous Android Development] devil2k16:
Ok I will try it. And what's about THIS performance patch you posted?
[Miscellaneous Android Development] mark-1978:
It is a speedtweak and it's not in the later ABS tweak, so yes should also make the device faster.
[Miscellaneous Android Development] devil2k16:
Gaming performance is much better now with the performance fixes :D

Would you activate the 60 fps option and gpu rendering in the PBT Zone? Or does the unlockfps command have no effects then? Activated all 3 things now and runs nice :p
[MENTION=6767868]mark-1978[/MENTION] didn't you see my pn?
[Miscellaneous Android Development] mark-1978:
[MENTION=7262955]devil2k16[/MENTION]: don't know but yes i think 60fps is 60fps so it makes no difference. Glad to hear your games are running better now. What games do you play? And yes i saw your pm, but i have no clue what you mean with include and exclude, can't see something strange in the log txt file you attached.
[Miscellaneous Android Development] devil2k16:
Only "Trials Frontier". But now I have lags again after moving the app to sd card with Link2SD. I'm not sure where the problem is here, I have already bought a faster sd card. Do you have an idea? SD card slot in the phone too slow?

Have you never used the gapps-config file? Keyword "Include" shall only install the GApps that are listed in the file gapps-config.txt. Without that keyword the listed GApps are excluded and not installed. It works fine with exclude, but not with the damn include keyword.

I always use stock GApps package now. With the gapps-config file it can be installed without problems on the Mlais M9 Plus. But there are only 90 MB left now in the system partition. Will I get problems with that little free space?
[Miscellaneous Android Development] mark-1978:
TWRP 3.0 for mlais m9

see attachment! Installable with spflashtool as recovery. Twrp seems faster in formatting then philz recovery.

'unmount all except external sd card for installing new rom."
[Miscellaneous Android Development] Trinotet:
Better than the philz?
[Miscellaneous Android Development] mark-1978:
Reworked it and flashed android lollipop successfull with twrp 3.0.
[Miscellaneous Android Development] Andryaka:
Can it enter to internal storage in 5.1.1 with storage fix?
[Miscellaneous Android Development] mark-1978:
probably, but philz can do that too. You have to change the settings for sdcard\media'\0 and change it to sdcard\media to access it in recovery. The ebr tweak is working too, "wipe\format data" after flashing the two patched ebr files with spflash.
[Miscellaneous Android Development] Andryaka:
Is there any possibility to add zram and some other governors to kernel?

In Octos v2 after restoring my imei's i dont have signal.Imei is normal but signal strength is 0.sry for bad english.
[Miscellaneous Android Development] mark-1978:
[MENTION=7104891]Andryaka[/MENTION]: you can install [root] Kernel Tuner from playstore and change settings that way, you should have the same result as another governor. Z-ram, there was an app for that called z-ram deprecated, but somehow it isn't online anymore. It turned z-ram on or off and the percentages were available, like 15 or 25 percent. You may want to google that.
[Miscellaneous Android Development] mark-1978:
Another TWRP recovery for Mlais M9

Ported from kingzone k1.
[Miscellaneous Android Development] mark-1978:
GPS fix test

2 fixes for gps from the mtkroms.com site. From what we know, disabling the gps function in some CM12.1 roms can make the google appstore work again. See the attachments.

* Thanks to Daddy79 a way to get gps working with or without the patch: install from google playstore 'mtk epo.dat download tool' and 'faster fix', install and run. Maybe someone want to check if the patches have any influence on working gps.
[Miscellaneous Android Development] Andryaka:
Is there any miui rom(kitkat) without graphical bugs?
[Miscellaneous Android Development] mark-1978:
[MENTION=7104891]Andryaka[/MENTION]: what graphical bugs? Maybe some files still need to be replaced, that i didn't replace yet.
[Miscellaneous Android Development] mark-1978:
TWRP recovery 2.8.7.0 from Redmi Note 3g

Not tested yet. According to some porter it is very compatible with the mlais m9. Maybe marshmallow files can also be read with it. Cancelled because of too big size of recovery images.
[Miscellaneous Android Development] Andryaka:
TWRP 3

Faliled to mount ' /system ' (invalid argument)

Cant even wipe normally.

Mlais M9 - CM-12.1_Latest_MT6592_Ajit_mtkroms-com - dont installing

Can you give a link to your miui?
[Miscellaneous Android Development] mark-1978:
[MENTION=7104891]Andryaka[/MENTION]:look here for the miui versions.

TWRP ported have less options then Phillz recovery and contain still buggs.
[Miscellaneous Android Development] Andryaka:
[root] Kernel Tuner - it cant save governor settings.Settings dont work before reboot and and resets to default after reboot.Any other program dont work too.
[Miscellaneous Android Development] mark-1978:
The mtk chipsets aren't given free, so there ain't other governors yet. That's what i read on the internet. You could try however the speed tweaks for optimal gaming. Don't think it will boost the user experience, then you would have to install the fastest rom. The clockspeed of the m9 is limited to 1.4ghz, that's not very much, but it ain't a formula one wagon.
[Miscellaneous Android Development] Sztunt1:
No Signal

I have the same problem in OCT OS 2.0 i dont have signal. Imei is normal. Any fix?
[Miscellaneous Android Development] mark-1978:
Ok, when restoring imei, you have to reboot to make sim work. May take some minutes or work immediately. Should work though.

How do you restore Imei?
[Miscellaneous Android Development] Andryaka:
Im using FlyTweaks from play market.I knoq it is for fly smarphones but it is very nice program for devices with mtk.it work on stock and on all 5.1 roms except OctOs.Ive tryied mtk droid tools,ut dont work too.
[Miscellaneous Android Development] Sztunt1:
I reboot many times and nothing, no network signal:/ I restore imei in mtk droid tool.
[Miscellaneous Android Development] Andryaka:
I want to change only 2 parameters - powersave bias and sampling rate.But for some unknown reasons i cant do it.
[Miscellaneous Android Development] mark-1978:
If you're both trying Octos2.0, maybe you should try the newer version in this post.

*edit: strange thing is, the phone doesn't seem to find any sim card and so doesn't make the neccesary maps. Further there's another bug, if you turn the phone off and power it back on, it's in bootloop. I advice you to just install the working CM12.1 from Murimi.

*edit2: did you use philz touch recovery? Cause the twrp recoveries aren't completely compatible with roms.
[Miscellaneous Android Development] devil2k16:
[MENTION=6767868]mark-1978[/MENTION] What do you think is the fastest custom ROM for the Mlais M9 Plus of all the ROMs that are out there? And do you think stock ROM is always faster then the custom ROMs? Can I use the storage fixes with stock ROM also?

I was really happy after installing CM12.1 and the performance fixes, game performance was very good after fresh installation. But no I have big lags in all apps, sometimes must wait a minute till the phone reacts again. SD card was not the problem. Deactiving some PBS options again also didn't help.
[Miscellaneous Android Development] mark-1978:
[MENTION=7262955]devil2k16[/MENTION]: you could try cleaning up your phone, clean cache and dalvik in CWM, try fstrim to trim the internal sd card, clean caches with ccleaner. Don't think malware or viruses is the problem, unless you think yourself it can be.
[Miscellaneous Android Development] mark-1978:
Maybe "Kernel auditor" can do that.
[Miscellaneous Android Development] Andryaka:
He can.But as i sad only in stock.In 5.1 it dont save the settings of governor.I tried kernel auditor and setcpu both cant save changes is 5.1.
[Miscellaneous Android Development] mark-1978:
Could be the external sd card is slower then the internal, there is a external sd card speed fix in the ABS tweak. New SD cards are up to 80 MBPS, so that isn't the problem. Stays a cheap phone, could be external read speed is slower. The gapps exclude and include, you can also delete the files in system/apps with rooted es file explorer after installing gapps. Or try root app remover from the google appstore.
[Miscellaneous Android Development] devil2k16:
The external SD card is definitely not the problem as I thought. I have terrible lags in all apps now, don't know what's wrong with CM12.1. Sometimes I have to wait a minute till the phone reacts again. I'll flash the rom and the perfomance fixes again, maybe the PBS tweaks that I activated where too many.

The system partiton is read-only, isn't it? So I shouldn't have problems, if there are only 9% free space left?
[Miscellaneous Android Development] mark-1978:
readonly, yes no problem with space. Looks like the device is busy doing something, maybe you can disable autostart of some apps, too many apps installed or running. Maybe installed something new that's eating up cpu capacity. Btw, the new twrp 3 is not completely bug free, am still busy with that.
[Miscellaneous Android Development] devil2k16:
Yep it looks like the device is busy. Do you have an idea how to find out what's the problem exactly? RAM are 500 MB left the most time, there are also only some apps running in the background (e.g. facebook), but can these apps cause the lags!? I don't have installed other apps than I had installed in stock ROM, and there I didn't have such lags.

I guess I have to flash the rom again from beginning and install the apps one by one.
[Miscellaneous Android Development] mark-1978:
do you know fstrim for ssd trimming, that may optimize the disk. Or wipe cache in recovery, or in apps menu clear the caches.
[Miscellaneous Android Development] devil2k16:
Yes I have tried fstrim already, lags are still there. I have tried all your hints from this thread and your pm, but nothing helps till now.
[Miscellaneous Android Development] Andryaka:
Hmm.after istalling Mlais M9 - CM-12.1_Latest_MT6592_Ajit_mtkroms-com

and all apps everything was fine.But it 2 days i have "impossible to play video" - problem in all video players.video works only in browser.I dont installed any apps in this 2 days.From the start the most suspicious app was viper fx.But why exactly now?It worked fine 2 days.strange.
[Miscellaneous Android Development] devil2k16:
Do you also have such terrible lags in other apps? Or only problems with playing videos?

Did you install the rom on the plus or the non-plus version? Any other bugs with that rom? Does camera work? GPS? Google sync?
[Miscellaneous Android Development] Andryaka:
I have + version.Never have any terrible lags in apps.I can say it even faster than stock.Camera is ok.Gps dont work.Never have any problems with google sync.Only video problems with viper.
[Miscellaneous Android Development] mark-1978:
Format Cache in philz recovery.
[Miscellaneous Android Development] devil2k16:
Have you tried the gps fix?

[MENTION=6767868]mark-1978[/MENTION] Can I use the storage fix with stock ROM also?
[Miscellaneous Android Development] mark-1978:
you mean the ebr tweak? I think so. But doesn't the stock rom have like 4 GB of phone storage?
[Miscellaneous Android Development] Andryaka:
You want to have 3.69gb of memmory instead of 4gb of it?Funny
[Miscellaneous Android Development] mark-1978:
Thought you wanted to do the ebr tweak for 3.69 gb, but i don't know if you can get more then the 4 GB from stock out of the phone, just try it.
[Miscellaneous Android Development] devil2k16:
Hmm, i want to have more INTERNAL storage in stock rom. The storage space in stock rom is separated into 1,69 GB internal storage and 4 GB phone storage. Most apps can't be installed on the phone storage and I also can't use Link2SD with phone storage.

Yes, I wanted to use the EBR tweak in stock rom for more internal storage. I think the 4 GB phone storage is useless?
[Miscellaneous Android Development] mark-1978:
TWRP 3.0.0.0 solution:

"Hi, I have solved this problem. Just go open TWRP, go to Mount, remove all ticks and disable MTP and PROBLEM WILL BE SOLVED."

Keep external sd card mounted, since you have to install the rom from there.

Info found on this site.
[Miscellaneous Android Development] devil2k16:
Can we look forward to marhsmallow roms then? ;)

I tried the rom "Mlais M9 - CM-12.1_Latest_MT6592_Ajit_mtkroms-com" now, but same problems with lag. Think I go back to stock rom now.
[MENTION=6767868]mark-1978[/MENTION] Can I use your M9 stock rom for the plus version also? Could you maybe describe me the steps for flashing stock rom?