FORUMS

[Magisk] [Module] Mi A2 Ported camera for Whyred custom roms

2,119 posts
Thanks Meter: 4,236
 
By carlosggb, Senior Member on 28th July 2018, 05:20 AM
Post Reply Email Thread
Mi A2 Ported camera for Whyred devices!!! GLOBAL AND PRO - Oreo Only!!!


NOT FOR MIUI BASED ROMS!!!!


This wouldn't be possible without the efforts of @dan3840 . Respect bro!

HIGHLIGHTS
- Portrait front mode works
- Beautify Works
- Front Flash works (enabled torch mode which is perfect for frontal portrait mode photos!!)

NOT WORKING
-Report any other issues to keep improving it!!!

ENJOY!!!!

INSTALL INSTRUCTIONS
------------------------------

1-Uninstall all Gcams (They Cause conflict)

2a-Load Magisk module via Magisk Manager
or
2b-Flash zip via TWRP (this 2nd option if for users that app says "60" instead of camera" and cases that step 2a simply doesn't work

3-Reboot Phone
4-Give all the permissions to the camera
5-Have Fun!

CAMERA2API MUST BE ENABLED!

New update! v0.6
-fixed for some roms (AEX, etc)
-Cleaned up some unused files and lines
-Added Scenes!
-Age Stamp fixed
-EIS seems to be working now!

New update! v0.7
-Slow-Mo Fixed! Thanks Dyneteve!!!!

New update! v0.8
-Increased Photos quality (Please confirm if it works for you)
-HHT Fully implemented and it works Jointly with front selfie beautify mode/effect when needed

New update! v0.9
-Redistributed image quality scales better
-Added 1080p Slow-mo. Thanks @ARNOB XENON

New update! v1.0
-Normalized codecs and image processing.
-ADDED TWO NEW HDR MODES (PRO & LIVE)
-Removed Group mode and Fingerprint shutter (not working as of now, if i find a way to fix them, i'll re-add)
-Corrected Dual Watermark
-HDR now starts in Auto mode (works fine here, please confirm)


DOWNLOAD v1.0 (It's LIVE)

Tested on MSM Xtended Rom
Tested on Bootleggers by @Sumit Samanta
Tested on AOSiP
Tested on AEX by @xdatman

ENJOY! Say Thanks if you like it!
If you feel like, invite me some snacks and sodas
SEND SNACKS TO Carlosggb CLICK HERE
The Following 103 Users Say Thank You to carlosggb For This Useful Post: [ View ] Gift carlosggb Ad-Free
28th July 2018, 05:26 AM |#2  
Senior Member
Thanks Meter: 102
 
More
Will testing soon 👍👍👍
The Following 3 Users Say Thank You to raymondsanusi For This Useful Post: [ View ] Gift raymondsanusi Ad-Free
28th July 2018, 06:38 AM |#3  
Subhashis's Avatar
Senior Member
Flag Karakura Town
Thanks Meter: 84
 
More
Tested this on AOSiP ROM.Most of the things works well,but there are some bugs
1.slow mo doesn't work
2.very slow(3-5 s). Time to change between portrait and photo mode and also from back to front camera

Overall it's the best miui camera port that I have come across. I jumped to Aosp ROM as soon as this camera is ported
The Following 2 Users Say Thank You to Subhashis For This Useful Post: [ View ] Gift Subhashis Ad-Free
28th July 2018, 06:54 AM |#4  
RockStar8's Avatar
Senior Member
Flag I don't know!
Thanks Meter: 63
 
More
@carlosggb
Tested it out in AOSiP. Camera quality is good, portrait mode works great, same as stock camera.
Bugs I could find so far:-
1. As stated above by @Subhashis Switching from portrait to normal mode and front to back camera or vice versa lags like hell, takes 3 - 4 seconds.
2. FP Shutter doesn't work.
3. No auto HDR is available.
4. AI Mode is not working (I don't think it is gonna work anyway).
5. Even 1080p video doesn't have any stabilization.
6. Clicking on slow-motion crashes the camera app.
7. I don't know what magic mirror does but enabling group selfies does nothing (I know its a MI series features and I don't expect it to work on this phone either).

The lag is main problem in this camera. Otherwise its great. Having FP Shutter and Auto HDR would be convenient though. Thank you so much for your hard work man!

Edit:- Another problem I found after some time that flashing this camera stops Google camera from working, it crashes at launch. After disabling or uninstalling A2 camera form magisk Google camera works fine.

Edit 2:- Well, after disabling the module and making google camera work, re-enableing the module both camera works fine. Its wired or I might be doing something wrong.
The Following 6 Users Say Thank You to RockStar8 For This Useful Post: [ View ] Gift RockStar8 Ad-Free
28th July 2018, 07:09 AM |#5  
Member
Thanks Meter: 17
 
More
Great. Will test it out
28th July 2018, 07:30 AM |#6  
Member
Thanks Meter: 14
 
More
Nice work op.
But it force-closes on Liquid Remix 20180727.
The Following User Says Thank You to kalustan For This Useful Post: [ View ] Gift kalustan Ad-Free
28th July 2018, 08:11 AM |#7  
Account currently disabled
Thanks Meter: 7
 
More
Wow nice one
I'll testing soon
28th July 2018, 08:39 AM |#9  
Senior Member
Flag Mumbai
Thanks Meter: 89
 
More
Clicking a normal picture in photo mode makes my phone go into reboot. Anyone else facing this issue?
28th July 2018, 08:54 AM |#10  
Junior Member
Thanks Meter: 3
 
More
Dont work on Pixel rom!
28th July 2018, 09:04 AM |#11  
Senior Member
Thanks Meter: 121
 
More
Quote:
Originally Posted by kalustan

Nice work op.
But it force-closes on Liquid Remix 20180727.

Working. Enable all permission. Reboot ur device then check
The Following User Says Thank You to Sumit Samanta For This Useful Post: [ View ] Gift Sumit Samanta Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes