Query regarding Engineer mode [Camera2Api/RAW image capture] - Xiaomi Redmi 6 Questions & Answers

I am trying to enable raw image capture on my phone , tried some magisk modules with no success .
Read that you could enable it via engineer mode
Found nothing there ( no camera option in hardware section of the app )
Any possible way to enable raw image capture(and/or use the manual exposure and other stuff ) ?
i know that Gcam's hdr+ won't work on mtk device.

Related

[GUIDE] How to work with MTK Engineer tools - Monitor radio - Modify NVRAM &more

Hello!
In this thread I want to show you how to use MTK Engineer tools. You will need a phone with a MTK (Mediatek) chip to work with this tools.
The most important tool I want to introduce you is MTK Catcher. MTK Catcher is an engineer program for Windows which allows to log and debug low level information on MTK devices (running android). The most interesting thing is that you can see GSM/UMTS radio messages between the phone and the cellular network. This is something special because all mobile phones have proprietary baseband firmware. We can gain insight in underlying GSM/GPRS protocols. MTK Catcher will display the information like in Wireshark. Xgoldmon and OsmocomBB are other projects which give the possibility to monitor this information but this is by far the user-friendliest way to do this.
However there is more potential behind this. The problem is that everything is proprietary here. It would be great if we could parse all information direct on the phone with MTK Catcher. We need to reverse engineer how MTK Catcher decodes the information using the database files. If we can analyze low level data direct on the phone, we could use e.g. this information for our IMSI Catcher Detector project to detect IMSI Catchers aka Stingrays much more reliable (Here you can see what kind of information we need to achieve this).
For more information about MTK Catcher read the manuals.
Warning: Working with Engineer tools means that you can damage your phone! Everything you do is at your own risk!
a) Capture network events and analyze later
Check if you have MTKLogger installed, this tool comes preinstalled on many MTK devices
Open MTK EngineerMode (you can use Mobileuncle MTK Tools to do this)
Open MTKLogger in “Log and Debugging”
Activate option “ModemLog”.
Start recording with MTKLogger and stop later.
On your sdcard you will find folder “mtklog” where all captures are saved including a database file.
Copy mtklog from your phone to PC
Open Catcher.exe
Select in Config → Database path your database file (BPLGU...)
Select in Controls → Dump File your MDLog_PS file (MDLog_L1 is not displayed)
b) Capture network events live over USB and access phone with other tools
You will need the database file so obtain it doing the procedure under a)
Activate USB Debugging in Developer Options
Open MTKLogger preferences
In ModemLog menu change Log Mode to “USB Mode”
Install MTK USB drivers
Install ADB drivers
Connect your phone with USB cable to your PC
Open Catcher.exe
Select in Config → Database path your database file (BPLGU...)
Start recording with MTKLogger *important*
Select in Configure Port → Conn. Mode “Smartphone USB Logging (MD1)”
Select in Controls → Set Filter what you want to display or just select all
Check Advanced menu out, there will be e.g. SIM/USIM Editor
How to edit NVRAM
Install MTK USB drivers
Install Maui META
Power off your phone
Attach your phone to USB → VCOM port should get installed
Open META (it needs admin privileges to create log files under C:/)
Select in Options → Connect Smartphone into META mode
Press Reconnect button
Attach powered off phone to USB
Power on the phone → Phone should get stuck on boot screen and fail driver install
Open device manager, Select “ALL MTK Drivers” as driver update path
Gadget CDC VCOM appears
Detach phone from USB
Power off the phone (hold power key for 10 seconds or remove battery)
Close META and try again the steps 5-9
If not successful try again 5-9 and 12-13
META shows “Connected with target” → Phone is in META mode
Select NVRAM editor in drop down menu
Press “Read from NVRAM” button
Select database file (BPLGU...)
NVRAM Records that might be relevant for logging:
NVRAM_EF_PORT_SETTING_LID:
usb_logging_mode: 1
tst_output_mode: 1 (to file)
NVRAM_EF_TST_CONFIG_LID:
usb_dma_logging_enable: TRUE
Please share everything relevant about what you could find out regarding MTK engineer tools! Thank you!
Everything you need is in this Dropbox folder
Documents / Manuals
MTK Catcher
Maui META
Drivers
Install procedure Screenshots
Thanks! Absolutely fantastic.
Reserving my post here!
InvaderX said:
Hello!
In this thread I want to show you how to use MTK Engineer tools. You will need a phone with a MTK (Mediatek) chip to work with this tools.
Click to expand...
Click to collapse
Thanks, excellent post! I was trying to analyze what is wrong with a MT6752 device and also to correct some NVRAM errors in a MT6592 device (lost wifi MAC address). Catcher seems like the perfect tool for that. Wish I had seen your post long time ago.
is there any solution to see realtime the codec in use for a call?
InvaderX said:
Hello!
Click to expand...
Click to collapse
Hi! Maui Meta is passworded?

[Completed] regarding mtk engineering mode

hello..i have changed headset settings from mtk engineering mode and now the volume is not decreasing or increasing by levels.. means it will go directly to high or zero...what should i do now?
Hi !
I would suggest to revert to its default settings by choosing the "normal mode " .
Also I would recommend to Search on google "MTK engineering mode headset settings"
Good luck !

Open in 21 MP with button ?

Hello,
I would like the apn button (on the side) open apn on 21 MP manual mode and not 8MP Auto mode.
It must be possible, by editing a file ? But which ...
Thanks
ps: i'm rooted

How disable enter to safe mode Xiaomi (non-root) ?

How can I disable enter to safe mode completely on my device Xiaomi with out root
Look inside here:
How to disable Safe Mode on Android
Safe Mode is a feature on the Android Operating System used to solve problems with configuration or app incompatibilities. Restarting the device in this mode will load only the System’s core applic...
help.qustodio.com

enabling camera 2 api without root access

hi i am new here and to the whole android modding scene in general
so yesterday i gathered up the courage to unlock the boot loader on my phone and install a custom rom so the problem that i am facing right now is that i forgot to turn on the setting for camera 2 api in the stock rom so how can i enable it now (i dont have root access) so i thought of modifiying the build.prop file but when i opened the file the lines werent there so what should i do should i add them myself or should i go back to the stock rom enable the option then reflash and if can do it by editing the build.prop file what lines should i add pls help me
Always as 1st thing of all things do a related Google search: mostly dozens findings!
So also this
[Guide] Enable camera API 2 (No root)
-----Working------ (Tested by users) I'm not liable for any damage, dead devices, corrupt sd cards bla bla bla Steps: 1) setup fastboot and adb drivers on pc 2) power off the phone and enter fastboot mode. 3) fire up fastboot terminal and...
forum.xda-developers.com
jwoegerbauer said:
Always as 1st thing of all things do a related Google search: mostly dozens findings!
So also this
https://forum.xda-developers.com/t/...api-2-no-root.3823498/post-77217117
[/QUOTE]
ok i will make sure to first google my problem before posting from the next time cheers,mate
Click to expand...
Click to collapse

Categories

Resources