Camera2api and Rotation Fix for Xiaomi Mi5 - Magisk

Hey Guys! I'm new with making magisk module. I started with basic things. Before i found a module for camera2api but its making front camera upside down. So i made a module about that. It's work with Xiaomi Mi5 tested by me. Maybe it can work with other phones. You should try it.
I hope you like my work.
And... Sorry for my bad English!
I cannot add to attachment but you can download with this link:
http://www70.zippyshare.com/v/ZSdldEhD/file.html
MI 5 cihazımdan Tapatalk kullanılarak gönderildi

Good work
Thanks for the zip

Good one thanks

Do you flash this after enabling camera 2 API or this would automatically install camera 2 API as well?

Here, the preview is ok but after the picture is rendered, it turns upside down.

not working.
its asking for magisk 14+ i am using 19+???? what gives????

emon112 said:
its asking for magisk 14+ i am using 19+???? what gives????
Click to expand...
Click to collapse
That's because it utilises a very old module template that doesn't work with current Magisk releases.

pfss said:
Here, the preview is ok but after the picture is rendered, it turns upside down.
Click to expand...
Click to collapse
The same problem I have too, any solution?

Related

Get working portrait mode for both front and rear camera on MI MIX 2

Finally I have a version of Gcam with with front and back camera portrait mode and working on android 7.1.1 as well on my MI MIX 2
Note - Now you don't need to purchase dual cam phone for portrait mode. U can do it with just a single cam
Pre-requisites
1) Any phone running android 7.1.1 and above
2) Unlocked bootloader
3) Working Twrp.img, Magisk 15.2 zip, camera 2 api enabler zip
4) Version of Gcam which I have provided
5) Lots of guts
Please note - I am not responsible for bricked device. U do this at your own risk
Procedure
1) Flash twrp, boot in twrp and swipe to allow modification (Necessary to mount system)
2) Flash magisk 15.2 zip then flash camera 2 api enabler
3) Reboot to system and install the provided Gcam apk
4) Open the app. Voila ! Now u have working portrait mode in both front and back cam
Note - This worked on my MI MIX 2 but it should work on any device
I am posting sharable links from my google drive account for Gcam, Magisk and camera 2 api enabler here
https://drive.google.com/open?id=1rL3OztwDVhGK0hppPXUi2aKfrFcmYpmE
U can check the pics for the awesome results
Autofocus dont work!
Don't work for me on EU rom
Works great...thanks
if only focus worked
ShadyGame said:
Works great...thanks
if only focus worked
Click to expand...
Click to collapse
That isn't working for me either. But pics looks amazing
I can confirm it works but as stated no auto focus with miui 9 rooted.
I dont quite get it .. what does this do? What do you mean you dont need dual cam phone? The front camera is in the front and back is on the other side ... ?
Jackal331 said:
I dont quite get it .. what does this do? What do you mean you dont need dual cam phone? The front camera is in the front and back is on the other side ... ?
Click to expand...
Click to collapse
It adds blur in the background.
Works fine for me with latest Gcam5 1.6
Autofocus also works if you force HDR+
The version from OP completely breaks AF.
Envoyé de mon MIX 2 en utilisant Tapatalk
Jackal331 said:
I dont quite get it .. what does this do? What do you mean you dont need dual cam phone? The front camera is in the front and back is on the other side ... ?
Click to expand...
Click to collapse
As in, you don't need 2 rear or 2 front cameras for the bokeh effect, since it can be done in software.
ketya4u said:
Finally I have a version of Gcam with with front and back camera portrait mode and working on android 7.1.1 as well on my MI MIX 2
Click to expand...
Click to collapse
Thank you brother. I can finally use this phone as my daily driver. Stock MIUI and camera are pure Garbage. This Camera mod combined with RR rom makes me comfortable enough to leave my Pixel 2 xl at home. Thanks again.
Sent from my Xiaomi MI Mix 2 using XDA Labs
Does tap to focus work with this mod though?
Working with global rom oreo?
fifa_05 said:
Working with global rom oreo?
Click to expand...
Click to collapse
Yes it working
allrockedout said:
Yes it working
Click to expand...
Click to collapse
Thanks. Working like a charm
Not working on MIUI 9 Global 8.3.29Beta, U know how to solve?
3coma14 said:
Not working on MIUI 9 Global 8.3.29Beta, U know how to solve?
Click to expand...
Click to collapse
Flash this via recovery it will work https://www.file-upload.com/z2t5fpd8el2o
thanks for the contribution, but only the portrait mode works with the front camera, my mix 2
---------- Post added at 11:03 PM ---------- Previous post was at 10:48 PM ----------
ready! thx

[thread closed]

This used to be the support thread for the MagiskHide Props Config module. It isn't any longer...
Because of reasons, the support thread has moved here:
https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-t3789228
If you came here following a link, please ask the link provider to update said link.
Works!!!
Thank you
Small update.
v1.1.0
New fingerprint added (Sony Xperia Z3).
Added the ability to update the fingerprints list automatically
Now, every time you run the props command, the fingerprints list will automatically be updated if new prints have been added.
Hello! It works with xposed installer?
MI 5 cihazımdan Tapatalk kullanılarak gönderildi
puhu said:
Hello! It works with xposed installer?
MI 5 cihazımdan Tapatalk kullanılarak gönderildi
Click to expand...
Click to collapse
If you're asking if the module can hide Xposed, the answer is: no!
This is real nice fellow, thanks!
Here's my little contribution, if useful for someone out there, a working fingerprint for the Samsung Galaxy Grand Prime (tested by myself on variant SM-G530H only with AospExtended 4.6):
Code:
samsung/fortuna3gdtvvj/fortuna3gdtv:5.0.2/LRX22G/G530BTVJU1BPH4:user/release-keys
Cheers.
Updated the fingerprints list to v2
Added fingerprint for Samsung Galaxy Grand Prime, thank you @abacate123.
The list updates when you run the props command.
Pixel 2 passes, but if you want it for completeness sake:
google/walleye/walleye/PPP1.180208.014/4633861:user/release-keys
Anyone could do some certified fingerprint for xiaomi mi5s (capricorn) ?
Thank you so much
FSLenviant said:
Anyone could do some certified fingerprint for xiaomi mi5s (capricorn) ?
Thank you so much
Click to expand...
Click to collapse
You'll likely have better luck with that question in your device's forum.
P10 plus passes with this (emui 8)! Thanks for the module :good:
Didgeridoohan said:
If you're asking if the module can hide Xposed, the answer is: no!
Click to expand...
Click to collapse
I mean safetynet pass if xposed installed.?
MI 5 cihazımdan Tapatalk kullanılarak gönderildi
puhu said:
I mean safetynet pass if xposed installed.?
Click to expand...
Click to collapse
No...
Didgeridoohan said:
You'll likely have better luck with that question in your device's forum.
Click to expand...
Click to collapse
Hi
I see, was thought someone done this before here, but you were right..
I'll try to do your advice ..
Thanks a lot brother ..
Working fine here,using mi 6 fingerprint,thanks
Sent from my Redmi 4X using XDA Labs
Not working for Lenovo k6 power,??
What to do??
moonranger98 said:
Not working for Lenovo k6 power,??
What to do??
Click to expand...
Click to collapse
Now you provide an excessive amount of details as to what you've done and what isn't working. The logs written about in the OP are also a good idea to provide...
XPERIA Z3 Compact = Sony/D5803/D5833:6.0.1/23.5.A.1.291/2769308465:user/release-keys
Didgeridoohan said:
Now you provide an excessive amount of details as to what you've done and what isn't working. The logs written about in the OP are also a good idea to provide...
Click to expand...
Click to collapse
I installed the 1.1 version from magisk manager. And after reboot it's still showing CTS profile false .
Currently I am using resurrection remix 7.1.2 on Lenovo k6 power.
Anything else??
moonranger98 said:
I installed the 1.1 version from magisk manager. And after reboot it's still showing CTS profile false .
Currently I am using resurrection remix 7.1.2 on Lenovo k6 power.
Anything else??
Click to expand...
Click to collapse
This module should not fix cts by itself, it's a tool for you to fix it yourself by changing your build fingerprint to a certified one through the terminal commands (read the OP again).
Have you applied any certified fingerprint yet? If not, download the stock rom for your device, open it and open the build.prop file, find the "ro.build.fingerprint=" line, then copy and paste its content here or manually apply it through the terminal commands.

[Magisk Module] Snapchat Volume Fix for Mi Mix 2

Hey guys, I've managed to fix the low Snapchat volume on videos taken by the Mi Mix 2.
For a simple fix, download and install my Magisk module here
To fix Snapchat manually, read my guide here
Enjoy!
UPDATE: added @manuerduarte's fix for audio quality, since it patches the same file
UPDATE 2: Download the module from the magisk repo "Mi Mix 2 Audio Quality and Volume fix" if you want the newest version :good:
Hey a question
do you know how to fix the audio recording quality while recording video, it records 96kbps sound which is why sound is bad, can we do something to fix it?
Karidas said:
Hey a question
do you know how to fix the audio recording quality while recording video, it records 96kbps sound which is why sound is bad, can we do something to fix it?
Click to expand...
Click to collapse
Look inside /system/etc/media_profiles.xml
Edit: been changing values and it doesn't seem to fix anything
ssojyeti2 said:
Look inside /system/etc/media_profiles.xml
Edit: been changing values and it doesn't seem to fix anything
Click to expand...
Click to collapse
yeah, it sucks, only xiaomi can fix it.
I have found a trick to record good audio see my post below.
https://forum.xda-developers.com/mi-mix-2/how-to/mi-mix-2-video-sound-recording-quality-t3776450
updated with module download link
have you found the fix for the audio recording quality while recording video? or 96kbps is all we get with this phone?
Karidas said:
have you found the fix for the audio recording quality while recording video? or 96kbps is all we get with this phone?
Click to expand...
Click to collapse
Haven't really been looking since last time
ssojyeti2 said:
Haven't really been looking since last time
Click to expand...
Click to collapse
oh...
ssojyeti2 said:
Hey guys, I've managed to fix the low Snapchat volume on videos taken by the Mi Mix 2.
For a simple fix, download and install my Magisk module here
To fix Snapchat manually, read my guide here
Enjoy!
Click to expand...
Click to collapse
Mod didn't work for me, volume is still low on Snapchat. Also once I installed it my WiFi hotspot came up with a error and I was unable to connect to my WiFi hotspot.
Slimegod said:
Mod didn't work for me, volume is still low on Snapchat. Also once I installed it my WiFi hotspot came up with a error and I was unable to connect to my WiFi hotspot.
Click to expand...
Click to collapse
What rom are you running? I've only tested this on MIUI oreo
ssojyeti2 said:
What rom are you running? I've only tested this on MIUI oreo
Click to expand...
Click to collapse
MIUI 8.0
Slimegod said:
MIUI 8.0
Click to expand...
Click to collapse
MIUI 8.0 as in MIUI 8 or MIUI Oreo?
ssojyeti2 said:
miui 8.0 as in miui 8 or miui oreo?
Click to expand...
Click to collapse
MIUI 9 Oreo
Slimegod said:
MIUI 9 Oreo
Click to expand...
Click to collapse
Are you running any mods? Do you have any other magisk modules installed?
Slimegod said:
MIUI 9 Oreo
Click to expand...
Click to collapse
Are you running any mods? Do you have any other magisk modules installed?
ssojyeti2 said:
Are you running any mods? Do you have any other magisk modules installed?
Click to expand...
Click to collapse
No I do not.
Slimegod said:
No I do not.
Click to expand...
Click to collapse
just updated the module with a better patch method. Redownload it and lmk if it works. I changed the name, so make sure you uninstall the old one if you still use it
ssojyeti2 said:
Hey guys, I've managed to fix the low Snapchat volume on videos taken by the Mi Mix 2.
For a simple fix, download and install my Magisk module here
To fix Snapchat manually, read my guide here
Enjoy!
UPDATE: added @manuerduarte's fix for audio quality, since it patches the same file
Click to expand...
Click to collapse
With this mod yo audio is recorded at 256kbps, just for information
manuerduarte said:
With this mod yo audio is recorded at 256kbps, just for information
Click to expand...
Click to collapse
Yeah I have that in the module description, thanks for the fix btw
ssojyeti2 said:
just updated the module with a better patch method. Redownload it and lmk if it works. I changed the name, so make sure you uninstall the old one if you still use it
Click to expand...
Click to collapse
I won't be trying it sorry, with your mod I can't connect to my WiFi hotspot on my device. It just gets a error. Unless it's tested as working then I'll try.

[MAGISK] Various mods for Xiaomi Mi 5S Plus (natrium) running MIUI 10 Oreo

UPDATED FOR MIUI 10 (OREO)
Magisk 17.1 MINIMUM is REQUIRED!
This module activate many features that's deliberately disabled by Xiaomi even tho the device itself supports it such as:
1. Enable Camera2 API, EIS, Zero Shutter Lag, 60fps mode, many other camera features.
2. Activate the [Full screen gestures]
3. Disable the hardware capacitive keys - by: null4n @ GitHub.
4. All camera sounds will be disabled.
5. Replace system emoji font with latest Android Pie's emoji.
6. iZat configuration mods.
7. Thermal engine mods.
Script by: suwakowww @ GitHub
---===INSTALL VIA MAGISK REPO===---
or my repo: https://github.com/Crescendo-BLYAT/natrium-mods
Does it support the latest firmware 8.10.11?
Man1zZz said:
Does it support the latest firmware 8.10.11?
Click to expand...
Click to collapse
Read the last line?
Crescendo Xenomorph said:
Read the last line?
Click to expand...
Click to collapse
Okay. Installed on 8.10.11 android 7, and screen buttons has appear. And old buttons dont work (which on the body).
Man1zZz said:
Okay. Installed on 8.10.11 android 7, and screen buttons has appear. And old buttons dont work (which on the body).
Click to expand...
Click to collapse
yup, its supposed to be like that as detailed in the 3rd point:
2. Activate the [Full screen gestures] & disable the hardware capacitive keys.
This module activate the onscreen button (you got [Full screen display] menu inside Settings as well, you can activate the [Full screen gestures] and the nav bar will be disabled as well... Enjoy
Crescendo Xenomorph said:
yup, its supposed to be like that as detailed in the 3rd point:
2. Activate the [Full screen gestures] & disable the hardware capacitive keys.
This module activate the onscreen button (you got [Full screen display] menu inside Settings as well, you can activate the [Full screen gestures] and the nav bar will be disabled as well... Enjoy
Click to expand...
Click to collapse
yes, you are right. Didn get the point of activating Full screen display mode, for screen gestures?
i think, our hardware buttons is much usable. But stabilization in camera begin to work, but with a little ^input lag^
google camera work also.
Will this work on aex rom? Also how to revert back?
Man1zZz said:
yes, you are right. Didn get the point of activating Full screen display mode, for screen gestures?
i think, our hardware buttons is much usable. But stabilization in camera begin to work, but with a little ^input lag^
google camera work also.
Click to expand...
Click to collapse
yup for full screen display gestures...
Sent from my MI 5s Plus using Tapatalk
Farhan Maitla said:
Will this work on aex rom? Also how to revert back?
Click to expand...
Click to collapse
no, it's for MIUI only as AOSP based got diff files layout.
to revert simply uninstall the module within Magisk (asuming you use Magisk).
I tried installing it via magisk but it says this zip is not a magisk module. I downloaded again and tried but same. I also tried through twrp but i knew it wouldn't install
Farhan Maitla said:
I tried installing it via magisk but it says this zip is not a magisk module. I downloaded again and tried but same. I also tried through twrp but i knew it wouldn't install
Click to expand...
Click to collapse
Magisk 17.1 is REQUIRED....
Hey,
Does it also work with xiaomi Mi 5s?
Can you please port it for miui 10.. Oreo based... You can build it and I'll test it for you..
killlah5 said:
Hey,
Does it also work with xiaomi Mi 5s?
Click to expand...
Click to collapse
It'll work except the device specific features as it'll replace file inside /etc/device_features/ folder....
GPS, busybox, hardware capacitive button will be disabled & you can activate the full screen gestures.
But all camera related mods will not be in place since it will not replace the xml file (file name is different between devices).
I dunno how to make Magisk to append/replace lines inside the [whatever the device name is].xml file inside those folder.
Any help will be appreciated.
shubhamkulkarni02 said:
Can you please port it for miui 10.. Oreo based... You can build it and I'll test it for you..
Click to expand...
Click to collapse
OK, I'll try to make the mods for Oreo MIUI 10 and attach it for you to try
shubhamkulkarni02 said:
Can you please port it for miui 10.. Oreo based... You can build it and I'll test it for you..
Click to expand...
Click to collapse
here you go....
btw, can you disable quick settings pull-down in lock screen?
are you using Xposed? is it working properly in Oreo?
Can you add a option for us to still use the hardware button and not the full screen gesture?
Sent from my MI 5s Plus using Tapatalk
huangjunwei said:
Can you add a option for us to still use the hardware button and not the full screen gesture?
Sent from my MI 5s Plus using Tapatalk
Click to expand...
Click to collapse
I will make separate module for that in Monday [emoji6]
but be aware that the full screen gestures menu will be gone from Settings...
the rest is all the same...
Sent from my MI 5s Plus using Tapatalk
huangjunwei said:
Can you add a option for us to still use the hardware button and not the full screen gesture?
Sent from my MI 5s Plus using Tapatalk
Click to expand...
Click to collapse
here you go.....
also since you didn't state which MIUI & android version you're in, I assume it'll be MIUI 10 Oreo like the others.
Does the mod work on MIUI 10.1.3 (Pie EU) for Poco F1 ? I'm mostly interested in the 60 FPS video recording.

Which Gcam port for MIUI 11/Android Q ?

Hello,
I was quite happy of HyperCam before my device got updated to Android Q. It had most of the features working, plus on screen buttons to switch between the 3 cameras.
Of course, since I received the update it does not work anymore. I found a Hypercam based on Gcam v7, but i can't access all the camera modules.
What are you guys using on MIUI 11 ?
Thanks
V.
I use the one by Urnyx. Works well for me.
BlackCommando said:
I use the one by Urnyx. Works well for me.
Click to expand...
Click to collapse
Thanks for your answer. Unfortunately it doesn't fit me because the quality is not amazing and there is no way to apply config files. Also there is no filming at 60fps and the autofocus doesn't seem to work properly with the 2x lens...
I'm using this
nakulp said:
I'm using this
Click to expand...
Click to collapse
Where did you get it from?
xdabitch said:
Where did you get it from?
Click to expand...
Click to collapse
Check out this thread https://forum.xda-developers.com/k20-pro/themes/app-gcamator-easiest-to-perfect-gcam-t4010017
Note: Use the one for Mi 9T Pro
AvgZing said:
Check out this thread https://forum.xda-developers.com/k20-pro/themes/app-gcamator-easiest-to-perfect-gcam-t4010017
Note: Use the one for Mi 9T Pro
Click to expand...
Click to collapse
Thanks for that. Unfortunately the gcamator app keeps crashing on my phone. I emailed the dev.
im using this one, the latest beta
https://www.celsoazevedo.com/files/android/google-camera/dev-xtrme/

Categories

Resources