yashsingh1/xdaforums huggingface dataset:
[Oukitel (All phone models)] thanas:
TWRP

DEPRECATED THIS IS A PORT, SEE OFFICIAL SOURCES RECOVERY:

https://xdaforums.com/android/devel...x-2-mt6757-t3877283/post78382817#post78382817

made TWRP 3.2.3-0 for the oukitel mix 2

mirror link:

>> https://androidfilehost.com/?w=files&flid=286537 <<

if coming from stock still needs the dm verity bootloader patch just like previous recovery.

if just updating obviously not.

tested it a bit more and every function seems to be working correctly including backup and restore.

keep in mind for some reason i couldnt restore backups made with previous versions of recovery.

furthermore im busy trying to figure out how to build something for this device any help would be appreciated.

***optionally for those preferring to flash directly from SPflash tools i have included the patched bootloader(preloader) "preloader_hcct6757_66_n.zip" and the needed scatter file "MT6757_Android_scatter.zip".***

have included the zips here.

- remember, no need to flash the "lazyflasher-no-verity-opt-encrypt.zip" if just updating, only if coming from stock (bootloader).

- if coming from stock dont forget to wipe>format data before applying the no-verity fix.

- if flashing through SPflashtools using the patched bootloader skip this step.

- if flashing through SPflashtools but the no-verity fix is already applied theres no need to flash bootloader too.

(for informational purposes my recovery is a port of https://xdaforums.com/android/development/recovery-twrp-3-2-x-lenovo-k8-plus-t3838633 it is built of k8 plus sources)

DEPRECATED THIS IS A PORT, SEE OFFICIAL SOURCES RECOVERY:

https://xdaforums.com/android/devel...x-2-mt6757-t3877283/post78382817#post78382817
[Oukitel (All phone models)] torrentszaki:
Hi!

Does working root exist to it?

I would like some programs uninstall.
[Oukitel (All phone models)] thanas:
are u kidding? https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
[Oukitel (All phone models)] torrentszaki:
I know all about it. It works?
[Oukitel (All phone models)] thanas:
Yes root works under magisk if i understand you correctly, just not the add-on modules.

I have a question. I need to know if this device also has older firmware which is on Android marshmallow. Afaik extracting blobs might be easier.. to get an idea at least. Does anyone know?

I have also requested oukitel for the release of the kernel sources

I would appreciate it if anyone could help me gather information how many official mix 2 firmwares exist and in what kernel versions they come im sure there must be some overlapping with all underneath P25 devices so we can finally have a custom rom for this device.

Im looking for information on other devices which share the same kernels for rom porting if anyone can be of any help

Also if anyone encounters newer TWRP versions on any of the underneath devices let me know, i would be glad to port.

Heres a list of all current P25 MT6757CD devices ive come across till now:

BLACKVIEW BV9000

BLACKVIEW BV9000 PRO

BLACKVIEW P6000

CONQUEST S11

DOOGEE MIX

E&L S70

INFINIX ZERO 5

LEAGOO S8 PRO

LENOVO K8 PLUS

MAZE ALPHA X

MAZE COMET

OUKITEL MIX 2

OUKITEL WP5000

SANTIN N1

SANTIN N1 MAX

ULEFONE T1 PREMIUM EDITION

UMIDIGI S2 PRO

VERNEE ACTIVE

VERNEE MIX 2

VKWORLD MIX 2

WEIMEI WE PLUS 3

Till now have found the Lenovo K8 Plus (same chip MT6757CD) has newer android firmware including stock and lineage on the same kernel as Oukitel Mix 2 v24 firmware (4.4.15+)

making it compatible for a port. As for Lineage i doubt the compatibility i hope someone else can shed some more light on this since it is very possible for us to have a custom ported rom very soon.

https://xdaforums.com/t/lenovo-k8-plus

***update

I managed to make a rom port although i get twrp error 7. even after modifying and deleting assert line in updater-script. anyone any clue?
[Oukitel (All phone models)] Bernie_W:
Hi,

as far as i know, mix2 was released with nougat only, so no MM. And there was just one update so far. Another guess is that there was a preproduction Rom, which was the one where the front led was still working, but nowhere to download.

I am not sure this is somehow related to your question, but i faced TWRP error 7 when i had /system mounted instead of unmounted.
[Oukitel (All phone models)] thanas:
i update some of my posts instead of bloating the thread

updates on my oukitel mix 2 build.prop testing

BUILD.PROP TWEAKS OUKITEL MIX 2:

https://xdaforums.com/showpost.php?p=78225680&postcount=98

ive made a request on XDA for us to have our own device forum for the mix 2.

next to that i have made a start on building the device tree for this device.

GITHUB PAGE OUKITEL MIX 2, DEVICE TREE *WIP*, VENDOR:

https://github.com/MadMIX2

discuss development

TELEGRAM GROUP OUKITEL MIX 2 DEVELOPMENT:

MOD EDIT: LINK REMOVED

if you want more roms and development for this device please

***SIGN THE PETITION FOR THE RELEASE OF OUKITEL MIX 2 KERNEL SOURCES

SO WE CAN HAVE MORE ROM DEVELOPMENT FOR THIS DEVICE***THANK YOU***

https://www.change.org/p/release-ou...m_medium=copylink&utm_campaign=share_petition

**UPDATES**

RELEASE OF WORKING TWRP DEVICE TREE FOR OUKITEL MIX2:

https://github.com/MadMIX2/android_device_oukitel_mix2/tree/twrp

the credits should go to xda user: [MENTION=8377831]GEEKOFIA[/MENTION]

hereby we bring official TWRP 3.2.3-0 built from Oukitel Mix 2 sources.

Download below:

>>> https://androidfilehost.com/?w=files&flid=286537 <<<

for more info see thread:

https://xdaforums.com/android/development/twrp-3-2-3-0-oukitel-mix-2-mt6757-t3877283
[Oukitel (All phone models)] thorn_pl:
Link for latest software ROM

Latest Software ROM

My Mirrors:

mega

dropbox

On this moment latest version is OUKITEL_MIX_2_V24_20180112
[Oukitel (All phone models)] the Doctor:
FYI, per the forum rules, promoting social media such as Telegram is not allowed on XDA.
[Oukitel (All phone models)] thanas:
our work is made official now by twrp:

https://twrp.me/oukitel/oukitelmix2.html

since lack of interest i pause development.
[Oukitel (All phone models)] torrentszaki:
I sold.
[Oukitel (All phone models)] kaew158:
Please guide porting for Helio P25 mt6757cd kernel 4.4.15+ android 7.1 (GOME U7).
[Oukitel (All phone models)] thorn_pl:
Android 7.0
[LeEco Le Max 2 Questions & Answers] Valekj86:
Hello guys,

i wanted to install a new room.

when i tried to install the twrp it looked like it worked.

But now the smartphone just restarts gehts a blue screen and then ist restarts again.

Plz help me to fix this.
[LeEco Le Max 2 Questions & Answers] ThE_MarD:
Heyyo, please follow this guide. This is how I did it with my Le Max 2 and it worked perfectly

https://xdaforums.com/le-max-2/how-to/protocol-backup-stock-rom-flash-stock-t3517151
[Essential Phone Themes, Apps, and Mods] 63c:
I have created a Magisk based DIY GCAM port for our PH-1 Phones.

Prerequisites:

Stock Pie 9.0, works on any of the Oreo 8-8.1 builds as well

Magisk 17.1 or newer (Uses 17000 template)

What it does:

It replaces media_profiles_V1_0.xml in vendor/etc : this allows for hevc, slo-mo

It sets postfsdata magisk policy (gives camera_config permissions, and allows it to switch faster when in recents)

Sets the following lines in props:

persist.camera.HAL3.enabled=1

persist.camera.eis.enable=1

ro.vendor.sensors.dev_ori=true

persist.camera.is_type=5

persist.camera.is_mode=5

This is a free-for-all zip, meaning i dont care if you modify it, pass it off to other groups, help anybody else, etc..Do with it what you wish. I am not responsible for any of your headaches however....

Thanks:

[MENTION=447799]bsg[/MENTION] - the originator

[MENTION=4860033]Arnova8G2[/MENTION] - for being kind enough to port GCAM to better our lives

[MENTION=2385005]invisiblek[/MENTION] and the rest of the hood at discord - everything gets done there

[MENTION=4487956]S4turno[/MENTION] - hosting and being a good sport

[MENTION=3135253]emowing[/MENTION] - selinux fixes in magisk

[MENTION=3266378]xterminater07[/MENTION] - sending logs, and doing some testing

[MENTION=2712580]cstark27[/MENTION] - building a settings-less version of GCAM to make life easier, and good help (it's hard to find)

[MENTION=235507]ArtZ[/MENTION] IMX258 color profile improvement and excellent GCAM mods

[MENTION=1154610]urikill[/MENTION] another GCAM mod contributor

[MENTION=5081847]Tolyan009[/MENTION] another GCAM mod contributor

[MENTION=7578917]SKULSHADY[/MENTION] another GCAM mod contributor

[MENTION=6071891]TheIronLefty[/MENTION] GCAM Jesus Christ Himself

PH1 GCAM MOD

https://www.androidfilehost.com/?fid=1322778262904008891

RECOMMENDED GCAM IS TOLYAN009 (TINEUN) 1.0.11 HIS REPO CAN BE FOUND HERE:

https://www.celsoazevedo.com/files/android/google-camera/dev-tolyan009/

LINK TO GCAM HOSTING (REPO FOR ALL OF THE GCAM VARIANTS)

https://www.celsoazevedo.com/files/android/google-camera/

OLD FILES

https://www.androidfilehost.com/?w=files&flid=255766 (This is the dump for the V15, V16 flavors)

Enjoy Folks :)
[Essential Phone Themes, Apps, and Mods] 63c:
Instuctions on how to use the PH1_GCAM_MODULE:

Basically, All GCAM ports Mostly, Fully, Sporadically, Sorta, Sometimes, with Caveats, 100% of the time, 60% of the time, more or less...... work with the PH-1. We are lucky to have a phone that doesn't have the headaches of the OP3/5/T, MI5S, and others that need wacky fixes to make GCAM work properly to some degree (This doesn't mean we don't have our own first world problems)

1. Install the latest DIY GCAM Mod from the Post Above.

2. Click on the link in the OP "REPO FOR GCAM VERSIONS" or the link to TOLYAN009 (TINEUN) and pick whatever GCAM you want. it is updated almost daily with new versions, different devs, different features and mods.

2A. If you choose TOLYAN009 (TINEUN) [MENTION=6071891]TheIronLefty[/MENTION] aka GCAM JEEZY aka GCAM SUPERBOSS aka KING OF GCAM SETTINGS put together a very nice thread, here: https://xdaforums.com/essential-phone/themes/custom-gcam-settings-using-tolyans-build-t3829476

Let me be honest, i like making things work, im not very skilled in the way of making things pretty, perfect, noise free, etc. He did a lot of legwork testing all sorts of settings to get here. They look pretty nice. Follow his OP for optimized settings (and he is always testing, he may come up with something better, so check back often)

3. Install the APK and go.
[Essential Phone Themes, Apps, and Mods] 63c:
ARCore, ARStickers, TANGO, and other AR related things

ARCore is a pain, since our phone isnt "technically" supported, but works well otherwise. What is included in the DIY GCAM MOD v1 and the full camera zips is a older beta release, that uses calibration_cad files in order to set up the orientation, etc. So now they are using .textproto files located in /data/data/com.google.ar.core/files/device_profile2_database, and they use the buildid from the buildprop to actively select the right textproto file. So anyways, if you want the latest ARCore, here is how.

1. Install this ARCore https://www.apkmirror.com/apk/googl...se/arcore-1-4-180716096-android-apk-download/ its the latest at this time

2. Install this ARStickers https://www.celsoazevedo.com/files/android/google-camera/ar/f/ARStickers_AllPack_ParseErrorFix.apk this is the latest.

3. Open GCAM and try to open AR Stickers (it will crash and FC, it needs to here, this is what it is supposed to do, its creating the device proto location, and the mata textproto isnt there, yet)

4. Using a file explore/adb/whatever browse to here /data/data/com.google.ar.core/files/device_profile2_database and rename a .textproto of your choice, I am currently using device_profile_taimen_colon_9.textproto . Just change the device codename (in this case taimen, to mata). Feel free to try any one you want.

5. Now open GCAM again, and open AR Stickers, it should give you the 3 permission prompts.

Alternatively, now that we have permatwrp, there are twrp flashable zips that do the majority of the work above, see here.

https://www.celsoazevedo.com/files/android/google-camera/ar/

As a bonus, here is the link to the latest Tango Measure app https://www.apkmirror.com/apk/googl...surements-2-1-180728039-android-apk-download/

Good luck, and thanks to [MENTION=2557531]starcms[/MENTION] for method of doing this
[Essential Phone Themes, Apps, and Mods] deepu458:
Congrats [MENTION=5447216]aer0zer0[/MENTION], for this work. I know u will pull it off. By teh way gr8 work.
[Essential Phone Themes, Apps, and Mods] Wickidmasshole:
are the download links working for anyone?
[Essential Phone Themes, Apps, and Mods] aer0zer0:
Try without chrome, I name things bad
[Essential Phone Themes, Apps, and Mods] sirdicholas:
Not working for me either. Tried on chrome and edge
[Essential Phone Themes, Apps, and Mods] aer0zer0:
Try without chrome
[Essential Phone Themes, Apps, and Mods] sirdicholas:
I did try on edge browser. What browser should I use then?

Edit: also tried with dolphin browser. I can select a mirror, after that it says page not found.
[Essential Phone Themes, Apps, and Mods] emowing:
Here is the selinux fix for you. GCam must be installed in /system/priv-app/

in post-fs-data... replace your setenforce 0 with.. I gave it all permissions but you can trim these down to only the necessary one if you want to test every single permission.

magiskpolicy --live "allow priv_app { camera_prop unlabeled } file { append create write relabelfrom link unlink ioctl getattr setattr read rename lock mounton quotaon audit_access open }"

magiskpolicy --live "allow priv_app { unlabeled qti_debugfs } dir { append create execute write relabelfrom link unlink ioctl getattr setattr read rename lock mounton quotaon rmdir audit_access remove_name add_name reparent execmod search open }"
[Essential Phone Themes, Apps, and Mods] aer0zer0:
I use firefox
[Essential Phone Themes, Apps, and Mods] xterminater07:
ok, I'm a n00b, how do i install this after rooted?
[Essential Phone Themes, Apps, and Mods] aer0zer0:
Everything is moved there, I'll give this a whirl later. Good looks [MENTION=3135253]emowing[/MENTION]
[Essential Phone Themes, Apps, and Mods] emowing:
download the magisk module (zip file) created by aer0zer0. Open up magisk manager, select modules, click floating +, browse to your downloaded zip, reboot. Make sure you don't have any other gcam by arnova installed. It will not work if you do.
[Essential Phone Themes, Apps, and Mods] xterminater07:
Just figured it out! Thanks :). Similar to exposed. Sounds working now with messenger on the microphone without any additional settings. Great work guys! However, with selinux off, are we at any major security risks?
[Essential Phone Themes, Apps, and Mods] aer0zer0:
Well sure, but one piece at a time
[Essential Phone Themes, Apps, and Mods] aer0zer0:
Also, you got root going, noice
[Essential Phone Themes, Apps, and Mods] xxvtcxx:
Because the the filename is: "GCAM with AR Stickers, version 3.zip"

the (,) in the filename messes with the URL.

If you click on one of the mirrors it'll give you a broken link like this:

http://qc4.androidfilehost.com/dl/s...0776376/GCAM+with+AR+Stickers,+version+3.zip?

If you delete the '%2C' in the link, the download will start.

corrected link:

http://qc4.androidfilehost.com/dl/s...20776376/GCAM+with+AR+Stickers+version+3.zip?
[Essential Phone Themes, Apps, and Mods] emowing:
I've already posted code to not turn off selinux. Just wait for aer0zer0 to make a new package
[Essential Phone Themes, Apps, and Mods] xterminater07:
You guy rocks!!!
[Essential Phone Themes, Apps, and Mods] aer0zer0:
Did u read 1st post.....
[Essential Phone Themes, Apps, and Mods] aer0zer0:
Strange, I'm working perfect, try uninstalling and reinstalling the mod.
[Essential Phone Themes, Apps, and Mods] xterminater07:
[MENTION=3135253]emowing[/MENTION] did you get a chance to read your PM?
[Essential Phone Themes, Apps, and Mods] Jmar72:
I downloaded the version in this thread. I am using oreo2 on the essential site. The camera works great and it probably better on Oreo than it was on nougat. However, if I use HDR+ and then use the video, I get the previous behavior as the previous BSG ports like losing sound. Once this behavior happens when I use the camera, the only way I can get it to work is stop the app, delete the app storage a cache, then reboot. After the reboot, I set the setting to pixel 2 and pixel 2 zls. After that I'm back to using the camera with no issues, unless I used video after using hdr+.

One last thing, after the error occurs. I would initially just reboot the phone and my sound would return but now I would see this error flash for like a milisecond. After seeing the error, I would launch the camera. Now, if I use HDR+ at all, I would like sound. I would have to delete the app cache and data, and reboot.

If there is a way to fix that issue then I think this app will be golden.
[Essential Phone Themes, Apps, and Mods] xterminater07:
That version is not modded, please read first post.
[Essential Phone Themes, Apps, and Mods] aer0zer0:
You don't meet the minimum requirements to use this mod :good:
[Essential Phone Themes, Apps, and Mods] Jmar72:
what am I missing? What do I need to do or install?

I really would like a version of gcam that will work on the essential phone using Oreo. I know there app is still getting updated regularly but I prefer the gcam.
[Essential Phone Themes, Apps, and Mods] aer0zer0:
Do you have magisk 15.2 or newer?
[Essential Phone Themes, Apps, and Mods] aer0zer0:
OP, 2nd, 3rd posts have all been updated, read up. I have new memes ready and waiting to deploy if need be.
[Essential Phone Themes, Apps, and Mods] herwarth:
V6 not working. With the recommended settings black screen taking photo. Video works. Uninstalling and reinstalling does not help. Rolling back to version 5
[Essential Phone Themes, Apps, and Mods] avd:
Lens blur is the new portrait mode?
[Essential Phone Themes, Apps, and Mods] gk1984:
Lens blur was introduced about 3 or 4 years ago.
[Essential Phone Themes, Apps, and Mods] aer0zer0:
Works for me...:good:
[Essential Phone Themes, Apps, and Mods] aer0zer0:
Toggle portrait mode on
[Essential Phone Themes, Apps, and Mods] aer0zer0:
plz hlp.....
[Essential Phone Themes, Apps, and Mods] herwarth:
Strange! I am using latest version of magisk. 15.3
[Essential Phone Themes, Apps, and Mods] aer0zer0:
Did you enable pd?
[Essential Phone Themes, Apps, and Mods] herwarth:
What is pd?
[Essential Phone Themes, Apps, and Mods] avd:
And the camera crashes....

I'll pull a lot when I get home...
[Essential Phone Themes, Apps, and Mods] kfhughes:
Deleted.
[Essential Phone Themes, Apps, and Mods] aer0zer0:
No, trying to modify on mobile without the app is a PITA, thank you for catching that
[Essential Phone Themes, Apps, and Mods] aer0zer0:
PD = phase detection, in developer settings. make sure it is unchecked

AVD, uninstall the mod, reboot, reinstall it, reboot, and resetup from scratch, something is screwy, i dont have any issues whatsoever, i have a v7 ready if you guys want to try it
[Essential Phone Themes, Apps, and Mods] aer0zer0:
V7 has been added to OP, post 2, post 3 have been updated accordingly.

For those who have been having issues, that are meeting the OP requirements. Lets chat, see if we can get you squared away.
[Essential Phone Themes, Apps, and Mods] caballon:
Eso it's working on Los 15.1 thanks broo
[Essential Phone Themes, Apps, and Mods] Genghis1227:
After many attempts installing different apps, I'm going to have to root with magisk and install the module. Essential should make all their builds available for side loading right? OTA updates are the only thing holding me back from magisk.
[Essential Phone Themes, Apps, and Mods] aer0zer0:
We have back to stocks ready the same day. Don't really need otas. The whole point of magisk is allow for OTAs because your not altering system.
[Essential Phone Themes, Apps, and Mods] gk1984:
OP mentions V7 has analog gain control. This looks like it's to set the maximum ISO. Higher ISO = brighter pics in low light at the cost of grainy pics. As in higher ISO, more grain.

I've seen the stock Essential camera use in the 2000s in some situations, for comparison
[Essential Phone Themes, Apps, and Mods] emowing:
FYI auto focus doesn't work in some scenarios. This happens when I tried to use a pixel HDR+ profile for ZSL.. After you touch focus, the camera will not release that to resume auto focus when you move the camera to another subject.

you can test this using show focus in developer.
[Essential Phone Themes, Apps, and Mods] herwarth:
V7 works like a charm! Thanks!
[Essential Phone Themes, Apps, and Mods] aer0zer0:
Yeah, saw that in the other threads. But I'm not usually autofocusing repeatedly. Once, pic, done.
[Essential Phone Themes, Apps, and Mods] warpjavier:
I flashed V5, V6 and V7. I still get black screen if I have HDR not set to auto.

I have no idea why. If I flash back to V4, works again.

Any clue?
[Essential Phone Themes, Apps, and Mods] aer0zer0:
Your on OB2, Magisk 15 or greater, and with no GCAM installed other than the mod, right?
[Essential Phone Themes, Apps, and Mods] warpjavier:
Yep, ob2, magisk 15.3 and no gcam now but I tried before, but I uninstall it before flashing this camera.

The other issue I noticed is in video mode which works even if I get black screen for the camera, the AF doesn't work. I focus on something and if I move the phone the focus stays the same.
[Essential Phone Themes, Apps, and Mods] aer0zer0:
What settings?
[Essential Phone Themes, Apps, and Mods] rignfool:
I actually can explain why posi-track works...

Edit: damn you XDA if you don't quote the picture
[Essential Phone Themes, Apps, and Mods] warpjavier:
Settings in the op..
[Essential Phone Themes, Apps, and Mods] avd:
V7 working for me. Thanks.
[Essential Phone Themes, Apps, and Mods] aer0zer0:
Love it!!!! What's a husker du, vs a husker dont
[Essential Phone Themes, Apps, and Mods] aer0zer0:
Is PD and PD blur on in debug settings
[Essential Phone Themes, Apps, and Mods] warpjavier:
I'm sorry, but I can't find those settings.
[Essential Phone Themes, Apps, and Mods] aer0zer0:
Settings, scroll to bottom, developer settings

Should be something for pd, and pd blur, uncheck them if they are checked
[Essential Phone Themes, Apps, and Mods] Genghis1227:
Ok, I had to unlock bootloader... So had to restore, which is why I didn't want to to begin with. Anyway, then installed magisk. I wanted to reset the phone after installing root and realized it uninstalled magisk. I went into the manager, reinstalled and it rerooted. Pass safety net so that is a good thing because I use Android pay.

After restored I installed your v7 cam mod and everything is working great so far.

It was a black screen initially, had to config to Nexus 6p and Nexus 6p for HDR+. Then had the pink tint in portrait mode so changed back level to 64. Everything is all good and so far no audio issues. Thank you!

What cam settings are you using?

What other magisk mods is anybody else using?
[Essential Phone Themes, Apps, and Mods] aer0zer0:
Do you use bt headphones? Aptx enabled? There's a mod in the forum to enable aptx
[Essential Phone Themes, Apps, and Mods] Genghis1227:
I have Bluetooth headphones but they don't support AptX so I'm not sure if I'd benefit there.
[Essential Phone Themes, Apps, and Mods] warpjavier:
Honestly, I don't see those settings.
[Essential Phone Themes, Apps, and Mods] aer0zer0:
Hmmmm. What settings are you on now?
[Essential Phone Themes, Apps, and Mods] warpjavier:
Settings, developers settings.
[Essential Phone Themes, Apps, and Mods] aer0zer0:
Try wiping data and cache for the app. Strange, your the only one.
[Essential Phone Themes, Apps, and Mods] avd:
The camera settings in the camera app?

---------- Post added at 06:31 AM ---------- Previous post was at 06:30 AM ----------

I just went out with the family in the city tonight and took some really nice photographs. V7 with your presets works great for me.
[Essential Phone Themes, Apps, and Mods] herwarth:
The developer menu is only visible when you select a phone in model. After that developer options is at the bottom of the menu. Perhaps you need an force stop of the app when you have selected a model. Stick to the settings described in post 2-3 of this topic