yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] mark-1978:
It's the way i test new roms on my device, so i don't think the phone will get bricked. The recovery stays intact. It's a bit about the kernel used not to abuse your phone. So like your devices are all 1.4ghz, that's the same kernel as the mlais m9. I don't think you'll brick the devices, but hey camera will work on a lower resolution, the storages should be ok, the ram i don't know, could be just 1gb shown in settings. The display resolution is probably also different, but it's working still, could be real small. If you still think the device can get bricked, stay with the used roms. Or make a new topic/ask with the maker of the phone for new software. Even if the kernel is the wrong one, the image starts shaking and i do always get the battery out real fast. Recovery stays working after flashing the system partition. Hope this helps.
[Miscellaneous Android Development] Majk76:
I will try it on Ulefone Be X, because I dont have CWM or TWRP for Cubot X10....
[Miscellaneous Android Development] xDpt:
3g work in your phones? In mine dont work :S
[Miscellaneous Android Development] duckynawal:
What's your chipset?
[Miscellaneous Android Development] mark-1978:
Can't you install the same recovery on your cubot x10 like the ulefone be x? Btw his chipsets are mt6592M for both phones. If you want the newest twrp running on your phones, you have to take a printscreen of mtkdroidtools blocks map. Connect your pc to the phone running android, run mtkdroidtools, it will read out the data from your phone.
[Miscellaneous Android Development] mark-1978:
3g data fix

It is a setting in APN in 'sim cards/sim 1 settings/accesspoint names'. Delete 'proxy' and 'port', then save, wait a bit and 3g works again.
[Miscellaneous Android Development] duckynawal:
WiFi bug found in RR ROM. Decide randomly disconnects from WiFi access points and I have to reconnect immediately. Tested this bug in multiple places with multiple access points.

---------- Post added at 10:25 AM ---------- Previous post was at 10:24 AM ----------

*Device randomly disconnects

Sorry for another post, can't edit posts with XDA labs
[Miscellaneous Android Development] mark-1978:
Changed the Resurrection rom a bit. Could you test it? Here's the rom.
[Miscellaneous Android Development] duckynawal:
Will do. Will update in the next two days.
[Miscellaneous Android Development] mark-1978:
Snap apk is under the "/system/snap camera/" folder. You can use root-explorer to install it. Installing it for the second time works. Then set 'Post processing' to improve image, which makes the green color of the back camera go away. The snap app complaints about that there's no storage. Go to 'settings/others/storage location' and set it to external sd ( settings of the snap app i mean with this). This way you can enter the external sd card. There isn't yet another way to get to one of the internal sdcards to select as storage.
[Miscellaneous Android Development] Majk76:
i have bootloop on Ulefone Be X after flashing - Cubot X10 - 300416 - Resurrection Remix for Jiayu G4S (4)
[Miscellaneous Android Development] mark-1978:
What kind of bootloop? The one where the bootanimation is running continuously? Does it enter somehow or tries to enter the app installation session?
[Miscellaneous Android Development] Majk76:
just - boot logo ,black screen, boot logo ;)
[Miscellaneous Android Development] duckynawal:
RR Update

Dirty flashed the new ROM, wiped cache and dalvik.

Everything stayed intact, made my usual changes to system.

- WiFi bug fixed

- In-call UI bug fixed

- Screen sometimes flashes multiple times until I switch to another app or go into multitasking view (problem persistent from last RR ROM)
[Miscellaneous Android Development] mark-1978:
I will keep posting roms under this map: Download.
[Miscellaneous Android Development] mark-1978:
For the screen, try disable gpu acceleration in setings/development settings.
[Miscellaneous Android Development] duckynawal:
Will test and update.

Update: Problem solved, thank you.
[Miscellaneous Android Development] mark-1978:
Temasek CM13 for Mlais M9

Credits go to mtkroms.com, this is the link to the source rom: http://www.mtkroms.com/2016/05/stable-temaseks-cm13-for-mt6592.html

Temasek CM13 for Mlais M9.

Gapps have to be installed separately ( Arm, version 6.0)
[Miscellaneous Android Development] mark-1978:
Temasek 030516 Mlais M9.

Gapps have to be installed separately ( Arm, version 6.0)
[Miscellaneous Android Development] dead149:
mobile network?

mobile network isnt avaible.... imei on its place, on all build mobile network unavaible... m9+
[Miscellaneous Android Development] mark-1978:
3g data fix

It is a setting in APN in 'sim cards/sim 1 settings/accesspoint names'. Delete 'proxy' and 'port', then save, wait a bit and 3g works again .

You are right, it's a bug i guess. Don't know how to fix it yet. So the Tematek CM13 roms in this topic have the bug.
[Miscellaneous Android Development] dead149:
try number 10 of restoring nvram... and it now works! and 3g works fire.

---------- Post added at 12:31 PM ---------- Previous post was at 12:15 PM ----------

is it possible to swap internal storage and sd card?
[Miscellaneous Android Development] mark-1978:
You're right! Restoring IMEI number through MtkDroidtools works. Restoring NVRAM with twrp doesn't work however.

There is link2sd, you could use that app to use the external sd card instead of the internal.
[Miscellaneous Android Development] duckynawal:
Update on RR ROM

- WiFi randomly disconnects
[Miscellaneous Android Development] mark-1978:
Yup, those russians lol. And apparently you need mtkdroidtools to restore IMEI in future. So make a backup with mtkdroidtools from IMEI number.
[Miscellaneous Android Development] duckynawal:
Any available fixes or do we have to deal with it?

And yeah lol forgot to mention that. Luckily had a backup since TeslaOS
[Miscellaneous Android Development] mark-1978:
Think it's got something to do with GPS and wifi working together. So if you disable GPS, wifi works with no lost connections.

*edit: try install 'wifi master' and let it run and reconfigurate the wifi. Disabling GPS doesn't work.
[Miscellaneous Android Development] duckynawal:
I never use gps. Location is always on battery saving mode.
[Miscellaneous Android Development] mark-1978:
Android Marshmallow roms for mlais m9.
[Miscellaneous Android Development] mark-1978:
Have you rebooted after setting location to battery saving modus?
[Miscellaneous Android Development] duckynawal:
Yes.
[Miscellaneous Android Development] mark-1978:
Been googling a bit, and it says it's the routers security settings. Setting the security to WPA2 should solve the issue.
[Miscellaneous Android Development] duckynawal:
Seems like this ROM is a bit stubborn to listen

All my routers use WPA2.

Will test on public WiFi and update
[Miscellaneous Android Development] mark-1978:
Installing 'wifi master' from appstore seems to help. It reconfigurates the wifi. Been installing about 6 apps without interruption.
[Miscellaneous Android Development] mark-1978:
Android 6.0.1 with working wifi!
[Miscellaneous Android Development] duckynawal:
Is this based on RR for G4S?
[Miscellaneous Android Development] mark-1978:
Guess not, Someone else made it then the resurrection person.
[Miscellaneous Android Development] mark-1978:
Also possibility for installing IMEI number is installing 'chamelephone', give it root and fill in the IMEI number from the back of your phone.

*edit: only works for non-marshmallow roms. Have to use mtkdroidtools to restore IMEI for marshmallow.
[Miscellaneous Android Development] mark-1978:
Xposed framework for Marshmallow.
[Miscellaneous Android Development] duckynawal:
The normal official Xposed framework works with RR

---------- Post added at 10:24 AM ---------- Previous post was at 10:17 AM ----------

3G data doesn't work with RR ROM
[Miscellaneous Android Development] mark-1978:
Still not working, have you tried the deleting of strings in the apn? I will try the resurrection rom too.

*edit: 3g works, but a bit slow. You have to: 3g data fix

It is a setting in APN in 'sim cards/sim 1 settings/accesspoint names'. Delete 'proxy' and 'port', then save, wait a bit and 3g works again .

then turn on flight mode and turn it off again. You now have 3g.

There is an issue with the home button though. You can press it, it gives the shaker, but it doesn't close the app. Can't change it in settings either.

Patches for faster 3g don't really help.
[Miscellaneous Android Development] mark-1978:
IMEI fix android marshmallow

Solution for the IMEI restore error, replacing the modem.bin file under etc/firmware with stock one. Will reupload the firmwares. Now also in marshmallow simply restoring of IMEI numbers by normal ways.

To make 3g working:

It is a setting in APN in 'sim cards/sim 1 settings/accesspoint names'. Delete 'proxy' and 'port', then save,

then turn on flight mode and turn it off again. You now have 3g.
[Miscellaneous Android Development] mark-1978:
The green camera screen goes normal coloured if you install and run "snap trial camera" version.

Setting the lighting to 'cloudy' and activate autoflash makes the green tint go away.

"1: Auto: obvious green tint

2: Cloudy : Represents the light in the room accurately

3: Daylight I think very slight green tint you almost have to look for it

4: Flourescent Almost same as Cloudy

5: Incandescent I like the blueish effect sometimes you may desire this"

Source.
[Miscellaneous Android Development] xDpt:
THX

Work perfect :D Thank you :p ;)
[Miscellaneous Android Development] lunix21:
Esperando rom

Cuando esté la ROM preparada publicarla
[Miscellaneous Android Development] mark-1978:
Flashable IMEI changer

Change the 'MP0B_001' file in the zip file with the one from your phone with working imei and flash the zip file to restore the imei number.
[Miscellaneous Android Development] duckynawal:
Update on Resurrection ROM

- Reboot results in bootloop or crash and reboot when unlocking, have to wipe cache and dalvik to boot again.

- Massive battery drain whilst idle, still can't find the cause.

- Memory management is poor, using a class 10 or UHS-3 micro sd card as virtual memory could help.
[Miscellaneous Android Development] mark-1978:
hey duckynawal,

been having those after reboot bootloops with octos roms, but never after again. There are more versions of resurrection, also newer, you might want to try one of them out. Have been antutu bench marking the newest marshmallow versions and came to around 27.000, so actually the max the phone can get. Battery drain, it seems there is like only one version that goes in to deep sleep mode well. Others you can activate the Doze mode for deep sleep in settings.
[Miscellaneous Android Development] duckynawal:
Could you link me to the new versions please?
[Miscellaneous Android Development] mark-1978:
This should be one of the latest, excluding Neuropapa's resurrection version.

Here for all of the latest marshmallow roms.
[Miscellaneous Android Development] duckynawal:
So should I download the Neuropapa uploaded on 18/05 or the "Mlais M9 - Resurrection Remix for Jiayu G4S" on 05/11?

Lastly, does 3G data work on these and is there a fix if it doesn't?
[Miscellaneous Android Development] mark-1978:
The neuropapa is newer. Further yes 3g is working after deleting the 2 things in apn.
[Miscellaneous Android Development] mark-1978:
Fix vpn.

*edit: been trying it on marshmallow, but everytime i connect using psyphon, the hotspot shield turns off.

*edit2: it's either got to do with the boot.img or the missing sha256 coding option.
[Miscellaneous Android Development] pavaosk:
Deep sleep not working, double tap to wake and other gestures don't work, partitions have weird names instead of sdcard0 and sdcard1 (B895-07DF, 31BB-F6AC), Camera app crashing
[Miscellaneous Android Development] mark-1978:
Another something for vpn fix:"

2. VPN not working

This is a workthrough for VPN, after following process you can use VPN in this rom

[THANKS TO AJIT GURAYA AND SURAJ ( [MENTION=5578040]nervehammer[/MENTION] )FOR THIS]

Use VPN for wifi

1. Download psiphon from playstore and open it, choose Browser-Only mode don't tunnel whole device.

2. Go to its logs tab and check the port of http proxy.

3. Now open WiFi setting and long press to your WiFi network (from which u are connected) go to modify tab and from check the advanced options.

4. Chosen manual proxy option and put host name as 127.0.0.1 and port as the no. which you noted in step 2 (eg. 8080) and click save .

For Cellular Data-

1. Download psiphon from playstore and open it, choose Browser-Only mode don't tunnel whole device.

2. Go to its logs tab and check the port of http proxy.

3. Now open Setting>Sim cards>Sim 1/Sim 2 settings/Access Points Names and click on Connected APN

4.In Proxy put 127.0.0.1 and port as the no. which you noted in step 2 (eg. 8080) and click save .

Enjoy you have set up a VPN connection successfully.

You can open your browser and check your IP

Note: You have to undo this after you don't need VPN by changing manual proxy to none ."

Source
[Miscellaneous Android Development] mark-1978:
Deep sleep only works with one marshmallow version and the newest rr 5.6.9.

What version are you referring to with the bugs?
[Miscellaneous Android Development] pavaosk:
Mlais M9 - G4S_RR_M_v5.6.8_by_Neuropapa
[Miscellaneous Android Development] mark-1978:
Try another version. The camera should work fine there, but the sdcards are still named with the code.
[Miscellaneous Android Development] pavaosk:
Installed the new version (Mlais M9 - 052016ResurrectionRemix5.6.9_X300_Reinel), everything working fine now, only no double tap to wake up.
[Miscellaneous Android Development] mark-1978:
Have seen that option in one of the marshmallow versions, but i can't remember which one. Probably it wasn't the Resurrection remix version. Maybe the oct-os version: roms.
[Miscellaneous Android Development] mark-1978:
The Marsh versions of marshmallow have d2ts, is that the same as d2tw?
[Miscellaneous Android Development] mark-1978:
TWRP 3.0.0.2

TWRP 3.0.2.0 for Mlais M9 from 4pda site.
[Miscellaneous Android Development] mark-1978:
Marshmallow rom from 26-05-16.
[Miscellaneous Android Development] mark-1978:
Install 'L-speed' for remove of lags.
[Miscellaneous Android Development] pavaosk:
What is the best overall ROM for Mlais M9? (performance,battery life, least bugs)
[Miscellaneous Android Development] mark-1978:
Most marshmallow roms have like one bug, the vpn not working. Further there isn't much difference between the marshmallow versions. The antutu benchmark score is tweaked to 27.000 however in most marshmallow roms.

Seems though if you not install gapps, the phone is faster then with gapps.
[Miscellaneous Android Development] duckynawal:
RAM

The RAM is usually 200 MB free so to help out since it starts to lag when you multi-task, use Swapper for root:

https://play.google.com/store/apps/details?id=org.azasoft.free.swapper&hl=en

Set the file size to 500 MB and the location should internal storage. Only use external storage if you have a fast sd card (UHS class)
[Miscellaneous Android Development] mark-1978:
If you're about to install a new rom, i would advice 'xosp 6.1'rom. It looks very nice.
[Miscellaneous Android Development] devil2k16:
Everything works nice. But I only have 3,69 gb internal storage in the xosp rom. Phone storage is displayed as sdcard0, but is corrupt.. formatting not possible because of error message. In TWRP the phone storage is displayed with 0 MB. Formatting Data/Cache/Calvik didn't change anything. Should I try another marshmallow rom? I have 3,69gb internal storage since installing the EBR mod.

And there is a difference between installing of gapps in CM12.1 and CM13/Marshmallow. In CM12.1 the gapps where all installed in the system partition, but not in CM13, there I have only 1 gb space left. While flashing the rom and gapps there was an error message like "/emmc couldn't be mount". Could this be the problem?

Link2SD doesn't work with the marshmallow rom, the second partition of the external sd card is not found. Any solutions for that? Is that a problem of the custom rom or of marshmallow itself? I also can't format the external sd card as internal storage (the new option in marhsmallow for using sd cards), because it is displayed as corrupted then.
[Miscellaneous Android Development] mark-1978:
Try formatting '/emmc' in twrp as vfat partition. The 3.69GB of the patch, you'd better reinstall stock rom first with spflashtool, formatting all the drives. Then install recovery and install marshmallow. This should give you 2.1GB and 4.11GB of internal storage. So the patch isn't needed with the latest CM12.1 and CM13 roms. You can also try formatting external sd as portable device, if that doesn't work, format in twrp emmc/phone storage as vfat.
[Miscellaneous Android Development] devil2k16:
I have really no idea how to do that in TWRP. Only external sd card can be partitioned. Phone storage with 0 MB can't be selected and internal storage is not allowed. :confused:

Can you tell me what the difference is between emmc and internal storage? I can't even find emmc in TWRP.
[Miscellaneous Android Development] mark-1978:
First emmc is the same as phone storage. You select that partition and select the option below(advanced wipe). There you can change the filesystem and format the partition. Select vfat and format. Then reboot into android and you should be able to see the partition. Internal storage is the data partition, so 2.1GB, mmcblk0p8. Emmc/phone storage is the fat partition so mmcblk0p9.
[Miscellaneous Android Development] mark-1978:
Double tap to wake is an option in 'kernel adiutor', you can install it and turn it on.
[Miscellaneous Android Development] devil2k16:
With most CM13 roms i get an error while flashing: "some symlinks failed". Temasek rom worked fine once, but as I tried to flash it again, it always ends up in an bootloop with the mlais logo. Tried it several times, flashed stock, twrp and rom, but the rom doesn't boot again :(

Has someone tried the new marshmallow functionality "adoptable storage" yet? I always get damaged sd cards then.
[Miscellaneous Android Development] mark-1978:
What do you mean, doesn't boot? If you format system/data/cache partitions, you should be able to install the rom. But in the latest cm13 roms, i've added a line to make the mount bug go away. Standard procedure is, unmount /system and /data before you flash a new rom.

With adaptable storage, you mean the format option as internal storage right? That indeed doesn't work, so you can't make the 4.1 fat partition make the primary storage partition. You have to use an app for the install of new apps to the 4.1 gb partition.

With bootloops, you can also try a factory reset.
[Miscellaneous Android Development] devil2k16:
With "doesn't boot" I mean bootloop. I formatted everything except recovery and external sd, was that ok? I get this symlink error for example with the latest rom in your upload folder: "Mlais M9 - CM-13.0-20160613-UNOFFICIAL-E313.zip"

Do you know why the adoptable storage doesn't work? Only a problem on the m9? I have read some threads where this option works with cm13.

Which apps do you mean? Foldermount says I should select the root path of the external sd card. If I do that, foldermount creates an test directory in the selected directory but doesn't go on. Link2SD also doesn't work with a real external sd card, 2nd partition isn't found/can't be mounted.

Thanks for your help mark-1978 :good:
[Miscellaneous Android Development] mark-1978:
Have you installed twrp 3.0.2-2? app2sd is another tool.
[Miscellaneous Android Development] devil2k16:
Yes, installed twrp 3.0.2-2. I mentioned the wrong rom before, sorry. "Mlais M9 - CM-13.0-20160613-UNOFFICIAL-E313.zip" works, but i couldn't connect to google servers with this rom.

The symlink error occured with "Mlais M9 - cm-13.0-20160507-MONTHLY-mt6592.zip". But I could solve it with manually unmounting system and data before flashing the rom. Thanks again mark-1978

I don't think that app2sd is the right solution. As far as I know it can only move apps that can also be moved in the settings of the phone.
[Miscellaneous Android Development] devil2k16:
I will stay on the temasek rom now, that is the best one for me. In this rom there is a possibility for some apps, that normally can't be moved to the sd card: force change. No other marshmallow rom had this option. If someone has found this option in another rom, please tell me :)

Edit: I can't hear anything when making calls with the temasek rom :(

Edit2: Tried the rom "Mlais M9 - cm-13.0-20160507-MONTHLY-mt6592.zip" again. I don't have connection to mobile network there. IMEI is correct.
[Miscellaneous Android Development] mark-1978:
The monthly rom solved. The temasek rom also changed.
[Miscellaneous Android Development] devil2k16:
Bootloop at mlais logo with temasek rom now.
[Miscellaneous Android Development] mark-1978:
Placed the old sematek back. When i dial with it, it gives me sound though. The new RR 5.7.0, can't get the camera to work.
[Miscellaneous Android Development] devil2k16:
This phone is really strange......... Is that surely the old temasek rom? Flashed the old temasek => sound works with dialing, but now i miss the feature "force change", i even can't move any app to sd card, the "normal change option" is also not there anymore :D So i tried to flash it again: wipe everything -> unmount /system and /data -> flash rom -> factory reset -> bootloop at mlais logo.... I had the same problem some days ago and I couldn't solve it, also not with flashing stock before; after flashing some other roms the temasek rom worked again. Can you tell me what is going wrong here?
[Miscellaneous Android Development] mark-1978:
Could be some partition got corrupted. Using spflashtool is formatting the whole phone new, making it work again.
[Miscellaneous Android Development] mark-1978:
Hey, the new RR 5.7.0 also has the force change option.
[Miscellaneous Android Development] devil2k16:
First try didnt work, second worked.. Did the same steps twice: flash stock, flash trwp, wipe everything, flash temasek rom. So after second try I had sound in dialer. Now im using the phone for 2 days, didn't install any apps except gapps => no sound again in dialer (it also takes 30 seconds till the call begins). I should throw this **** out of the window..
[Miscellaneous Android Development] mark-1978:
Maybe i can fix that. Been using the older modem... bin file which is for the calling. But advantage is, you don't need mtkdroidtools to restore imei, so you don't need a pc. If i place back the newer modem...bin file, it should work. Will reupload the rom.
[Miscellaneous Android Development] simplx0r:
on any MM rom sound not working... m9+
[Miscellaneous Android Development] devil2k16:
Sound in videos or where? I have tested almost all MM roms on my m9+ now and the temasek rom was the only one, that sometimes has no sound when dialing. But only problems when dialing. In videos e.g. sound works without problems in all MM roms. But I have a green bar in the videos.. wasn't there a fix for that somewhere?

EDIT: no sound in rom "Mlais M9 - cm-13.0-20160507-MONTHLY-mt6592.zip", but sound when dialing

EDIT2: no sound in rom "Mlais M9 - 060316CM13_For_CM Cubix Cube by Renchie Aycardo", but osund when dialing

Can you please tell me, where i find this file on my phone? Thanks.
[Miscellaneous Android Development] simplx0r:
whole sound: not working while listen music, while watch videos, in system. while calling work fine

upd: while call not working too...

upd2: this bug on LP too
[Miscellaneous Android Development] mark-1978:
Under, /data/nvram/mpb/imei/, something like that.