Working Stock Mi A2 camera for Mi A1 custom pie roms (After January patch) - Xiaomi Mi A1 Themes, Apps, and Mods

(I am not a developer who created the below files, i am just a crazy boy who always install many stuffs for making phone more interesting, so credit for making the below files goes to the developers who created it, i just discovered the method by which stock camera will work on pie roms)
Hey Guys, I am visiting Many posts on xda for stock camera for mi a1 but still i found nothing which will work.. but now after Many tries i found on method which works for me..
So download the files given in below link
https://drive.google.com/folderview?id=1Ops1ScNLjtyPRy8k8nLhc0UhcDY-LfzP
Requirements:- Rooted Mi A1 (This method may also work in other phones but i had mi a1 so, i only tested in it) and also i tested in hovoc os , it may work in other roms too
Whats working
Almost all things working except slow motion
Installation process
1) Download All files in your phone.
2) Install Mi_A2_Camera_app_port-v3.zip ( In magisk) and reboot the phone.
3) then After reboot, now Install tissot-stock-camhal_v2.zip ( In magisk) and then reboot the phone.
4) After reboot, open camera and it will ask for permissions or u can give permissions from settings too. ( Portrait mode will still not work)
5) Now install Selinux changer app and set it to permissive and reboot the phone, now check the portrait mode if it is lagging then uninstall selinix changer app and reboot again, thats it
This method may not work for all but its works for me running with hovoc os.. so try it may work for u guys too, if it is working then hit thanks and sorry for my bad English

Related

How to enable Camera2API on Mi Max 3?

My Mi Max 3 does not have Camera2API enabled, so I can't capture RAW pictures with the camera. How can I fix this? I tried Magisk but it broke the WiFi for some reason (WiFi could not be turned on at all). Is there any other way to enable Camera2API? I'm running MIUI 9.6.11.0 Stable (China ROM)
It's really stupid that Xiaomi doesn't let us capture RAW images with the default camera app of Mi Max 3. Good camera sensor totally wasted.
Was just hunting around for how to do this, is editing the build.prop file the only way I wonder? Couldn't find anything in the Magisk development and modification machine downloads section.
Look at this :
magisk-camera2-api-enabler
worked for me, i am now a happy Gcam user....
I ended up flashing a rom with it enabled.
Yeah I ended up doing the same, too as I wasn't aware of the module. I'll give it a go when MIUI 11 global finally surfaces!
1) Unlock your bootloader (Approx. wait for 1 week)
2) When it is ready, download "XiaoMiTool V2"
3) Unlock your phone.
4) Install TWRP
5) Install Magisk.

Anyone got ARCore working on this phone?

As we already know our phone doesn't support ARCore but there's a way to enable it on unsupported phones here: https://www.celsoazevedo.com/files/android/google-camera/ar/
Even tho I did what it said there I couldn't get it to work and every time I open an AR App or I try to open the Playground the app crashes. Did anyone manage to get this work on our device? If yes how?
Might work on custom ROMs but I'm interested in the stock PIE ROM.
Thanks!
Have the same problem. Did everything they said on the site. AR+ option enabled on pokemon go, but whenever I tried to use it, the screen went dark and crashes.
Would be nice if someone says that is able to use arcore right now in this phone. I wonder if it got patched
I know you said that you're interested in stock ROM, but that's the thread that pops up when people google anything related to ARCore and Mi A2 Lite, so I'm here to let everybody know that I got ARCore working on this phone using custom ROM called Pixel Experience. Every AR app I tried works except for Playgound. You can find it here on xda-developers. I couldn't reproduce these effects on stock ROM.
arcore enabler on magisk and voilá! (i recommend use the 1.5v zip file, the 1.6v crashes safety net!)
It doesn't work. Every time i open Playground app or any other AR app it crashes.
I did everything - Magisk+ arcoreenabler(both version 1.5 and 1.6) and installing Arcore and Playground app.
I'm on Pie stock.
Any help?
+1
I'm also trying to get ARCore working on my A2 Lite but still nothing... I want to install the Measure app, which needs ARCore, but every time I try to open, it crashes. Has anyone found a solution?
For a while I was able to run ARcore following these institutions, but at the time my device was on Android 8 but now after I have upgraded to Android 9 it doesn't work at all.
antonioaz23 said:
I'm also trying to get ARCore working on my A2 Lite but still nothing... I want to install the Measure app, which needs ARCore, but every time I try to open, it crashes. Has anyone found a solution?
Click to expand...
Click to collapse
Have you flashed via magisk the ArCore fix?
nikoman1987 said:
Have you flashed via magisk the ArCore fix?
Click to expand...
Click to collapse
Yes, I already tried that
antonioaz23 said:
Yes, I already tried that
Click to expand...
Click to collapse
Right now I'm using an GSI version of android 10 for our device and all AR apps including gcam playground are working fine(maybe a little bit laggy in playground camera, but maybe it depends on which version of gcam you are using) Maybe these days if i have some free time ,i'll reflash stock rom and look for a solution
nikoman1987 said:
Right now I'm using an GSI version of android 10 for our device and all AR apps including gcam playground are working fine(maybe a little bit laggy in playground camera, but maybe it depends on which version of gcam you are using) Maybe these days if i have some free time ,i'll reflash stock rom and look for a solution
Click to expand...
Click to collapse
I can confirm it
ax333l said:
I know you said that you're interested in stock ROM, but that's the thread that pops up when people google anything related to ARCore and Mi A2 Lite, so I'm here to let everybody know that I got ARCore working on this phone using custom ROM called Pixel Experience. Every AR app I tried works except for Playgound. You can find it here on xda-developers. I couldn't reproduce these effects on stock ROM.
Click to expand...
Click to collapse
I installed the pixel experience rom but it still didn't work.
Guys, I made it work at june 19. I forgot to share here. Everything relationed to ARcore was working, even playground. My response is in this thread for whoever got the same issue:
https://forum.xda-developers.com/mi-a2/help/arcore-support-mi-a2-t3900879
Hey there, I remember I had got ARCore working A2 Lite. After flashing the module through Magisk, you need to install the ARCore app from PlayStore from here : https://play.google.com/store/apps/details?id=com.google.ar.core
It should work afterwards, but Pokemon might not work, as they check for rooted/unlocked devices to prevent cheating.
marstonpear said:
Hey there, I remember I had got ARCore working A2 Lite. After flashing the module through Magisk, you need to install the ARCore app from PlayStore from here : https://play.google.com/store/apps/details?id=com.google.ar.core
It should work afterwards, but Pokemon might not work, as they check for rooted/unlocked devices to prevent cheating.
Click to expand...
Click to collapse
You just have to go to "magisk hide" inside magisk app and add pokemon go in there
Arcore is working!!!!!!!!
SnoopDoggyStyleDogg said:
As we already know our phone doesn't support ARCore but there's a way to enable it on unsupported phones here: https://www.celsoazevedo.com/files/android/google-camera/ar/
Even tho I did what it said there I couldn't get it to work and every time I open an AR App or I try to open the Playground the app crashes. Did anyone manage to get this work on our device? If yes how?
Might work on custom ROMs but I'm interested in the stock PIE ROM.
Thanks!
Click to expand...
Click to collapse
I installed ARCore on my mi a2 lite on my stock rom! Reply if you want to know how.
2 Konnie said:
I installed ARCore on my mi a2 lite on my stock rom! Reply if you want to know how.
Click to expand...
Click to collapse
"Reply if you want to know how." How?
Explaination
Fast Eagle said:
"Reply if you want to know how." How?
Click to expand...
Click to collapse
Ok, I'll explain it to you very simple. Tell me if you don't understand me or if you want an explaination with detail.
(Continue at your own risk. I don't have any responsibility for bricked devices in case you don't know what you are doing!!!)
1: Downgrate your android device to the latest version of android oreo(8.1.0).
2: Root your android.
3: Install Magisk Manager.
4: Download and install the magisk module "ArCore/Playground Patcher".
5: Use a terminal emulator to enable camera2 api.
6: Install google camera port for mi a2 lite (or mi a2 if your device is a mi a2).
Done! Now you can play any ar game or install ArStickers for Google Camera(Ar Stickers is an older version of Playground for android 8)
Warning: Google Camera may crash when you are in Video mode or Photo mode but everything else works (including ArStickers)
Also let me know if it worked.

Working Mi A1 camera installation method for Mi A1 Pie Custom Roms after January Patc

(I am not a developer who created the below files, i am just a crazy boy who always install many stuffs for making phone more interesting, so credit for making the below files goes to the developers who created it, i just discovered the method by which stock camera will work on pie roms)
No guarantee, it will work but u must try it.. its works for me
I m just tired to type this post so i copy pasted from my Mi A2 camera thread:laugh:
Hey Guys, I am visiting Many posts on xda for stock camera for mi a1 but still i found nothing which will work.. but now after Many tries i found on method which works for me..
So download the files given in below link
https://drive.google.com/folderview?id=1ZlSDutHYC83DMbNPPtUjSl7DaoNnn9dC
Requirements
Rooted Mi A1 with Magisk
(I have only tested in Hovoc os, this methed may works in other roms too..)
Whats working
Almost all things working except slow motion
Installation process
1) Install tissot-stock-camhal_v2.zip in Magisk and reboot the phone.
2) Install sulinux changer app and set it to permissive.
3) Now install the miui camera app Normally.. after installation reboot the phone
4) check the portrait mode, if it is lagging then uninstall sulinux changer app and reboot for final time, thats it Mi A1 camera will works fine now:fingers-crossed:
This method may not work for all but its works for me running with hovoc os.. so try it may work for u guys too, if it is working then hit thanks and sorry for my bad English

Camera STOCK for custom ROM (Portrait mode work)

Friends we can finally use dual camera in any custom rom.
Install using Magisk.
If it does not work at the first attempt it is recommended to return to the stock rom and then install the custom rom.
That way everything will work without problem.
Venezolano desde Argentina.
Hmmm... Portrait mode on rear camera not working... It fc app.. Aosip
Works
I am on RR
adag1 said:
Hmmm... Portrait mode on rear camera not working... It fc app.. Aosip
Click to expand...
Click to collapse
Work on PE and EvolutionX
Portrait mode no work in RR
Force Close
leechgid said:
Portrait mode no work in RR
Force Close
Click to expand...
Click to collapse
Strange. I am on the latest build, with DragonHeart Kernel. All seems to work fine.
Portrait mode no work in Bootleggers 4.2
Force Close
Does this cam crashes frequently? I know cameras have been always the most difficult part o custom roms, I am still on stock only for the camera, other roms I tried (with a mi a1, to be honest) crashed when I need to take a quick picture... Also tried the GCam, it has better quality but it was worse at the end, it broke the whatsapp camera taking green pictures and random crashes were common. I would really like to install RR or any other rom, but the camera is dragging me back.
I wish there would be a debloated stock rom (no GAPS and the few xiaomi extras) just for keeping the camera working normally, but noone has done it (and I am far for been able to )
DARKEASC said:
Does this cam crashes frequently? I know cameras have been always the most difficult part o custom roms, I am still on stock only for the camera, other roms I tried (with a mi a1, to be honest) crashed when I need to take a quick picture... Also tried the GCam, it has better quality but it was worse at the end, it broke the whatsapp camera taking green pictures and random crashes were common. I would really like to install RR or any other rom, but the camera is dragging me back.
I wish there would be a debloated stock rom (no GAPS and the few xiaomi extras) just for keeping the camera working normally, but noone has done it (and I am far for been able to )
Click to expand...
Click to collapse
I get green tinted photos when I zoom in this camera app. Otherwise, I encounter no crashes or other problems.
Fix for the color bug:
Set the HDR mode to "live".
Portrait Mode is absent on AOSiP ROM
Portrait mode does not work on back camera.
Front camera has color bug. But, if hdr turn on or in portrait mode it works fine.
On superior OS
I got bootloop after flash this module in magisk 19.4 on (AEX) AOSP Extended v6.7 Is working only on LineageOS based roms?
lars00 said:
I got bootloop after flash this module in magisk 19.4 on (AEX) AOSP Extended v6.7 Is working only on LineageOS based roms?
Click to expand...
Click to collapse
Miui camera works with almost every custom rom : Superior , crdroid , POSP , RR (I've tested on them )
Portrait mode crashing with back camera is fixable , you'll need some file explorer with root permissions . The problem is with vendor mismatch , and you'll need to make some changes , here is the walkthrough:
How to solve vendor mismatch bug:
Find string ro.vendor.build.fingerprint in the file /vendor/build.prop, copy the value from it and replace this value to ro.build.fingerprint in the file /system/build.prop ,reboot and portrait mode has to be working , it works for me all the time
Unfortunately I don't know where is the problem. After install this module and restart device, then stuck on AEX boot animation. After uninstall module in Magisk Mnanager 4 Recovery boots again normally For me also not working MI A2 camera port in generic Magisk modules, respectively not all functions, no live image filters, crashing etc. Can't it cause the custom Vendor of AEX rom?
Base lineageos.snap camera and GCam 6.2.030 works fine. I use both of them, it is not the conflict in there?
Thank you for your tips...
lars00 said:
Unfortunately I don't know where is the problem. After install this module and restart device, then stuck on AEX boot animation. After uninstall module in Magisk Mnanager 4 Recovery boots again normally For me also not working MI A2 camera port in generic Magisk modules, respectively not all functions, no live image filters, crashing etc. Can't it cause the custom Vendor of AEX rom?
Base lineageos.snap camera and GCam 6.2.030 works fine. I use both of them, it is not the conflict in there?
Thank you for your tips...
Click to expand...
Click to collapse
Try using this magisk module:
https://drive.google.com/file/d/1po2DDLUifIEJe_zMJvpVXuWch8jffZzw/view?usp=drivesdk
This is stock Daisy camera ,uninstall miui camera from magisk ,then install this zip,reboot and try again
nikoman1987 said:
Try using this magisk module:
.......
This is stock Daisy camera ,uninstall miui camera from magisk ,then install this zip,reboot and try again
Click to expand...
Click to collapse
This link doesn't contain any magisk zip module, this is nova launcher backup file(?). I'm using Lawnchair on Aex.
I have all Magisk modules unistalled before flash MiuiCamera.zip of course, but stuck on AEX screen persist.
I have tried more versions of miui camera, but no satisfying success.
nikoman1987 said:
Try using this magisk module:
https://drive.google.com/file/d/1aSX4odE5fAqtl4ImEwRrDxdkWuABbX_J/view?usp=drivesdk
This is stock Daisy camera ,uninstall miui camera from magisk ,then install this zip,reboot and try again
Click to expand...
Click to collapse
wrong link bro
lars00 said:
This link doesn't contain any magisk zip module, this is nova launcher backup file(?). I'm using Lawnchair on Aex.
I have all Magisk modules unistalled before flash MiuiCamera.zip of course, but stuck on AEX screen persist.
I have tried more versions of miui camera, but no satisfying success.
Click to expand...
Click to collapse
Sorry , copied the wrong link , the link is fixed now
can this work on 10 GSI maybe? i would rather not bootloop

Advise/help "updating" sony camera from LOS/AICP Android 7 to 9

Sadly needed to post since I have no idea how to do ( I tried with the port guide here but .... idk I am too bad )
dmg0 long time ago shared Sony/Cyberian Camera mod working with lineage 14 ( android 7) from munjeni, also working on aicp I guess ( he told me but never tried ). So ... how can I "update" that camera mod to lineage/aicp android 9 ?? Any tip, help or guide will be appreciated
This is the zip link https://4pda.ru/forum/index.php?showtopic=555348&st=6400#entry66224835
thats the mod
--- Установка ---
1. Скачать zip
Thank you
Simple...
First wipe cache/data for the current/stock camera app that comes prepackaged with your rom. Boot into recovery and install the Cyberian 8.7 .zip for z1c. Also, it might be of interest for you to check out the Open Camera app available, as it supports a variety of ways to manually adjust your photos and videos.

Categories

Resources