Camera starting slow - Xiaomi Mi A1 Questions & Answers

Hi all.
After updating to Oreo the camera is slow on starting.
I have tried other camera apps but it's the same. Even Gcam after rooting does the same.
Is it possible to speed up the startup?
Thanks.

belean_cristian said:
Hi all.
After updating to Oreo the camera is slow on starting.
I have tried other camera apps but it's the same. Even Gcam after rooting does the same.
Is it possible to speed up the startup?
Thanks.
Click to expand...
Click to collapse
If you are rooted with Magisk, you can install the Magisk SELinux Permissive Script module (this will change your SELinux mode to permissive) and the camera start-up lag will be gone.

cmk7128 said:
If you are rooted with Magisk, you can install the Magisk SELinux Permissive Script module (this will change your SELinux mode to permissive) and the camera start-up lag will be gone.
Click to expand...
Click to collapse
Confirm works great , also Viper module

I got the same problem, bro.
Saw this thread and did installed the Magisk SELinux Permissive Script module, the lag's now gone .

fantasticlord said:
I got the same problem, bro.
Saw this thread and did installed the Magisk SELinux Permissive Script module, the lag's now gone .
Click to expand...
Click to collapse
Good to hear that.
---------- Post added at 01:45 PM ---------- Previous post was at 01:39 PM ----------
euricoalex said:
Confirm works great , also Viper module
Click to expand...
Click to collapse
Yes. Personally I am waiting for the Dolby Atmos mod (by ahrion) to be compatible with Oreo.

cmk7128 said:
If you are rooted with Magisk, you can install the Magisk SELinux Permissive Script module (this will change your SELinux mode to permissive) and the camera start-up lag will be gone.
Click to expand...
Click to collapse
It worked like a charm. Thanks. I hated how slow it was opening

cmk7128 said:
If you are rooted with Magisk, you can install the Magisk SELinux Permissive Script module (this will change your SELinux mode to permissive) and the camera start-up lag will be gone.
Click to expand...
Click to collapse
Can i ask which version of magisk and Magisk SELinux Permissive Script module did u use? Coz when I'm installing, it says need magisk v4.0+. I used magisk v5.5.3

Latest.. i think, 1.1

The latest Magisk version is 15.2

mat_yan said:
Can i ask which version of magisk and Magisk SELinux Permissive Script module did u use? Coz when I'm installing, it says need magisk v4.0+. I used magisk v5.5.3
Click to expand...
Click to collapse
I installed SELinux Permissive Script v1.1 using Magisk v15.1 and Magisk Manager v5.5.2.

The trick function, but isn't there another solution without create security problems setting SElinux to permissive?

Hi, can someone please tell me how can i install Magisk SELinux Permissive Script and how to open it, i dowloand Magisk SELinux Permissive Script from xda and intall it from magisk and reboot my phone but how can i open it, please help me

Sefa142 said:
Hi, can someone please tell me how can i install Magisk SELinux Permissive Script and how to open it, i dowloand Magisk SELinux Permissive Script from xda and intall it from magisk and reboot my phone but how can i open it, please help me
Click to expand...
Click to collapse
There isn't anything to open, you'll need some app to toggle permissive/enforce, if you want to do that.

Do you people know that switching selinux to permissive TURNS OFF SECURITY FEATURES in android? Basically every software can read into every other. This is a very huge issue! Not a solution!

Same thread again and again. When are people gonna use the search function?

Ok then, please provide a link to a thread speaking about this issue. Your reply is useless, destructive, and meaningless. Why do you even write someting like that?

pr0bot said:
Ok then, please provide a link to a thread speaking about this issue. Your reply is useless, destructive, and meaningless. Why do you even write someting like that?
Click to expand...
Click to collapse
It wasn't even necessary to search, it's on the first page already, about 6 topics below this question. https://forum.xda-developers.com/mi-a1/help/properly-fixing-oreo-magisk-camera-lag-t3729709

I installed a Magisk module that's a fix for the issue of the camera, and it worked flawlessly

Can you help me how to install magisk and how to do it with steps?

Now it looks like Magisk SELinux Permissive Script is discontinued:
https://forum.xda-developers.com/apps/magisk/module-magisk-selinux-permissive-script-t3577549
and Magisk SELinux Manager should be used instead.
Has some tried it (Magisk SELinux Manager)? If so, how did s/he install it?

Related

ViperFx

Did somebody manage to properly run ViperFX? I found a thread over at en.miui.com, with a flashable zip but no instructions. On my old smartphone I had to remove AudioFX and cmaudio befor flashing ViperFX, and also set selinux to permissive. I tried the same with my redmi but it didn't work. Also setting selinux to permissive causes problems with my password recognition, oddly.
Also there is a thread at 4pda with an attachment, which however I cant donwload or which is removed.
So, anybody got ViperFX running and can give a propper instruction, would be very welcome!
I use ViperFX as Magisk Module, it works fine with LOS13 by jacoghi 05.06 ROM build, just flash it after you've flash Magisk v12. It works good as well with xiaomi.eu(as i've used it on xiaomi.eu 8.1.3.0 ROM build before). And yes, i think you have to set SELinux to Permissive for it to work properly. You can download it from this link.
Hello.
I run V4A in stock 8.2.4.0 with no problem, downloaded from official site http://vipersaudio.com/blog/
I put a simple script to set selinux to permissive in tasker at device boot, and everything work´s OK.
No problem here with password or anything else.
Sorry for my english.
jmsonicbox said:
Hello.
I run V4A in stock 8.2.4.0 with no problem, downloaded from official site http://vipersaudio.com/blog/
I put a simple script to set selinux to permissive in tasker at device boot, and everything work´s OK.
No problem here with password or anything else.
Sorry for my english.
Click to expand...
Click to collapse
Upload your script to use it and others users
Thanks

[GUIDE] How to install ARISE sound on 8.0 Magisk

UPDATE 1-07-18, This guide is now OUTDATED, for android 8.1, please reference this guide https://forum.xda-developers.com/pixel-xl/how-to/guide-ultimate-audio-battery-guide-t3727124#post75100735
Install ARISE on android 8.0 oreo passing safetynet
I am not responsible if you break or damage your device in any way​Hi XDA, this is how to install ARISE on google pixel/XL using Magisk
Safetynet is passed on this installation, V4A drivers are working​
Prerequisites:
https://androidfilehost.com/?fid=457095661767141554"]Arise aroma installer
Magisk v14 or greater
Arise magisk compatibility module
SE linux permissive Magisk module
Steps
Root your device using Magisk using HOMEBOY76's Guide step 9
Open Magisk Manager and install osm0sis's Busybox. It should be in the downloads repo
Reboot
Go into TWRP
Install the SE Linux permissive module zip (installing Magisk modules works on TWRP)
Install ARISE aroma (install any audio mods you want V4A 2.5.0.5 is recommended) (ICE sound breaks Android O's speakers, so skip all of the ICE sound profiles)
Make sure you skip the SE Linux permissive script, remove Deep audio buffer and repair SDCARD permissions
Install the ARISE Magisk module zip
Reboot and enjoy a better sound quality
I want to thank TopJohnWu, Jamesoolee, HOMEBOY76, the ARISE team, Jman420, Zack, and Ghost for making this possible
Great! Can confirm. V4a working with magisk! Had to install the permissive script through magisk. In twrp gave me error mounting system.
Check out my ultimate audio guide if you want stereo speakers
kingbri said:
Check out my ultimate audio guide if you want stereo speakers
Click to expand...
Click to collapse
Link?
Donric13 said:
Link?
Click to expand...
Click to collapse
oops, here is the link https://forum.xda-developers.com/pixel-xl/how-to/guide-how-to-make-pixel-pixel-xl-t3692855
Has anyone experienced a lost of sound system wide when using custom kernel, Gov, and I/O sched?
Thanks for this. Do you know if the Magisk permissive script passes safety net?
If not, can it be toggled easily?
Thanks!
kingbri said:
Check out my ultimate audio guide if you want stereo speakers
Click to expand...
Click to collapse
For magisk systemless root and passing safetynet?
Donric13 said:
Had to install the permissive script through magisk. In twrp gave me error mounting system.
Click to expand...
Click to collapse
Same issue here using latest TWRP.
djide said:
For magisk systemless root and passing safetynet?
Click to expand...
Click to collapse
Yes. Safety net checker shows green. So it should work (i don't use it).
Screenshot....
The permissive module does pass safetynet, mine is intact
kingbri said:
The permissive module does pass safetynet, mine is intact
Click to expand...
Click to collapse
Great, thanks!
Does this install still require you to delete apps from system/app in order to get to at least 400mb of free space?
Sent from my Pixel XL using XDA-Developers Legacy app
Donric13 said:
Great! Can confirm. V4a working with magisk! Had to install the permissive script through magisk. In twrp gave me error mounting system.
Click to expand...
Click to collapse
Followed the steps and installed v4a but its not working. No sound difference and the status says it's abnormal.... Any help would be appreciated
djide said:
Followed the steps and installed v4a but its not working. No sound difference and the status says it's abnormal.... Any help would be appreciated
Click to expand...
Click to collapse
Before installation i deleted some apps with filemanager in twrp (gmail, chrome, hangout, talkback) to get more system space. Then i followed exactly the steps of kingbri. Must say i only installed minimum of arise mod (core and deep buffer remove, nothing else). Before installation i dirty flashed stock image and deinstalled supersu.
Donric13 said:
Before installation i deleted some apps with filemanager in twrp (gmail, chrome, hangout, talkback) to get more system space. Then i followed exactly the steps of kingbri. Must say i only installed minimum of arise mod (core and deep buffer remove, nothing else). Before installation i dirty flashed stock image and deinstalled supersu.
Click to expand...
Click to collapse
I am using Magisk not supersu but still that shouldn't matter. Oh well
I have a ton of system space, so I dunno
djide said:
I am using Magisk not supersu but still that shouldn't matter. Oh well
Click to expand...
Click to collapse
Before i had supersu. That is why i deinstalled supersu before installing magisk.... With supersu v4a was only working in full permissive mode.... Thought maybe you took the same way...
If you are having any problems, feel free to dm me. I will try to solve them (not always a guaranteed fix)

[xposed] [mi9]

I've followed these instructions and success:
How to:
First of all you should have Magisk
Then you need to remove any old version of Xposed
--------------
Downlad:
https://1drv.ms/f/s!ApAcGV57xzrWhUsToUCAw0Y_LgYh
Open Magisk then flash:
1-magisk-riru-core-arm-arm64-v10.zip
2-magisk-EdXposed-arm-arm64-v x.x_beta-release.zip
Install:
XposedInstaller_by_dvdandroid_19_10_18. apk
Reboot
Done!
Tested on my Mi9 with debloated xiaomi.eu rom and additional I've installed gravitybox p and it's working with a lot of mods.
For example status bar see attached picture
thx for sharing bro
Very very nice... thanks you... It's enable and work....
You are following a tutorial from january, files could be outdated.
https://forum.xda-developers.com/mi-a1/themes/xposed-android-pie-9-0-t3891980
Just search xposed on Magisk modules, you will get detailed instructions and up to date github links.
aleksgiab said:
Very very nice... thanks you... It's enable and work....
Click to expand...
Click to collapse
May you wanna try also customiuizer
https://forum.xda-developers.com/xposed/modules/mod-customiuizer-customize-miui-rom-t3910732
It's also working for our mi9
Very nice, could you do me a favor and test, if this app Starts with xposed installed?
https://play.google.com/store/apps/details?id=com.starfinanz.mobile.android.pushtan
I need it very often and have no other phone, so if it doesn't work with xposed, sadly in can't install it
JetzNicht said:
Very nice, could you do me a favor and test, if this app Starts with xposed installed?
https://play.google.com/store/apps/details?id=com.starfinanz.mobile.android.pushtan
I need it very often and have no other phone, so if it doesn't work with xposed, sadly in can't install it
Click to expand...
Click to collapse
The app doesn't start, even with magisk hide nor with a tool for hide root. Sorry I didn't see a solution for you at the moment, but I didn't know all
Laptapper said:
The app doesn't start, even with magisk hide nor with a tool for hide root. Sorry I didn't see a solution for you at the moment, but I didn't know all
Click to expand...
Click to collapse
Thank you very much for testing.
Too bad it doesn't work, but to be honest, it's what I expected, as almost every mod seems to break this app
JetzNicht said:
Thank you very much for testing.
Too bad it doesn't work, but to be honest, it's what I expected, as almost every mod seems to break this app
Click to expand...
Click to collapse
May be it's working if you install on a non rooted device and start up normally settings in the app, then close the app, make a titanium full app backup with setting all data in titanium. Saving backup on otg disk.
Root phone, set up the phone completely, restore the app via titanium, don't start the app, choose hide the app in magisk, reboot, start app
Hi,
I've tried to install edxposed with magisk manager :
1 ) Riru Core V19.4
2 ) Reboot
3 ) Riru - EdXposed (sandhook) V0.4.5.1_beta(4463)
4 ) Reboot but bootloop
I must desactivate the Riru EdXposed module with TWRP and mm.
Does anyone encounter the same problem?
scarlaty said:
Hi,
I've tried to install edxposed with magisk manager :
1 ) Riru Core V19.4
2 ) Reboot
3 ) Riru - EdXposed (sandhook) V0.4.5.1_beta(4463)
4 ) Reboot but bootloop
I must desactivate the Riru EdXposed module with TWRP and mm.
Does anyone encounter the same problem?
Click to expand...
Click to collapse
Please follow step by step post1
No reboot after each step.
Thanks for reply.
I've tried with tour step (without reboot) but with magisk module (download from magisk) --> bootloop
Try tour step and your files --> no bootloop but not working
Between the two "way", i've remove all the module.
It works to me.
My Rom is aospextended.
scarlaty said:
Thanks for reply.
I've tried with tour step (without reboot) but with magisk module (download from magisk) --> bootloop
Try tour step and your files --> no bootloop but not working
Between the two "way", i've remove all the module.
Click to expand...
Click to collapse
scarlaty said:
Thanks for reply.
I've tried with tour step (without reboot) but with magisk module (download from magisk) --> bootloop
Try tour step and your files --> no bootloop but not working
Between the two "way", i've remove all the module.
Click to expand...
Click to collapse
afaik edxposed does not work on miui android 10 (yet?)
Please how it is with Android 10? I try steps in first post. Modules in Magisk are installed ok. But in xposed I see message, that framework is not installed. I see also message about update xposed apk, but when I try to do it, it crashes with message, that analyze of application package failed.
pavlli said:
Please how it is with Android 10? I try steps in first post. Modules in Magisk are installed ok. But in xposed I see message, that framework is not installed. I see also message about update xposed apk, but when I try to do it, it crashes with message, that analyze of application package failed.
Click to expand...
Click to collapse
Afaik only android 9
not sure if it works on chinese official rom
awaiting to unlock my device. cannot live without xposed modules
sfzz27 said:
awaiting to unlock my device. cannot live without xposed modules
Click to expand...
Click to collapse
just a quick question from someone who never used xposed. what modules are that good, you cannot live without them? just to know what I'm missing. thanks

cts profile fail

i went from stock everything, oem unlock, fastboot install of twrp fajita, flash stock rom downloaded from oneplus, then magisk
then i was having an issue with magisk , viper audio wasnt working properly
restarted to recovery, meant to wipe dalvik but pressed something else and borked the phone.
wiped everything, re installed the twrp recovery, re flashed zip. re flashed magisk again
now, i have to turn on magisk hide ( to pass cts profile ), which is something i never had to do before and i cant find netflix on the play store.
what can i do to correct the cts profile fail please.
Use this module: Magisk Hide Props Config
It requires: BusyBox, installer in this thread first post.
To activate the module and chose your new certified fingerprint you will need a terminal emulator, you can use any one you want really, personally I use this one.
Any questions ask.
Hi
I tried this, everything went through smoothly enough but it did not resolve the issue. To be clear this is what i did.
downloaded the magiskhide props module, installed through magisk
downloaded the busybox installer , installed through magisk
restarted
opened terminal, ran command 'props'
went through the process or redoing the files for the fingerprint reader according to make and model of my phone.
restarted
disabled magiskhide in magisk
restarted
still failing cts
did i miss something
it also mentioned that i am using a custom rom, i am using a stock rom downloaded from oneplus. i have unlocked the bootloader and am rooted using magisk .
do i need to re download and start again?
OhioYJ said:
Use this module: Magisk Hide Props Config
It requires: BusyBox, installer in this thread first post.
To activate the module and chose your new certified fingerprint you will need a terminal emulator, you can use any one you want really, personally I use this one.
Any questions ask.
Click to expand...
Click to collapse
leonzon said:
disabled magiskhide in magisk
Click to expand...
Click to collapse
Why are you disabling this? You need Magisk hide enabled. I rename Magisk as well. My phone passes safetynet and CTS. On the latest version of Magisk MagiskHide is off by default, it used to be on by default. TopJohnWu announced that a while back here.
OhioYJ said:
Why are you disabling this? You need Magisk hide enabled. I rename Magisk as well. My phone passes safetynet and CTS. On the latest version of Magisk MagiskHide is off by default, it used to be on by default. TopJohnWu announced that a while back here.
Click to expand...
Click to collapse
ok , so maybe thats all this is? damn, im sorry for wasting your time. What do you mean by you rename magisk, in the app drawer? the process?
thanks
leonzon said:
ok , so maybe thats all this is? damn, im sorry for wasting your time. What do you mean by you rename magisk, in the app drawer? the process?
thanks
Click to expand...
Click to collapse
In recent versions when you choose hide and it picks a random name for the Magisk Manager app it lets choose a name for the app instead of just Manager.

Viper4Android

Does anyone know if Viper4Android magisk module is working for the OnePlus 8 Pro? It hasn't been updated since 2019 and I was wanting to install it without having to install a custom kernel
dgunn said:
Does anyone know if Viper4Android magisk module is working for the OnePlus 8 Pro? It hasn't been updated since 2019 and I was wanting to install it without having to install a custom kernel
Click to expand...
Click to collapse
Can confirm it works. Install module and reboot. Open Viper4Android, install driver and reboot.
Working fine right after.
cas1991 said:
Can confirm it works. Install module and reboot. Open Viper4Android, install driver and reboot.
Working fine right after.
Click to expand...
Click to collapse
I have tried the magisk module and it is not working properly. It freezes up trying to install the driver and then it does not show that it is processing. Once I restart the device it tells me I need to install the driver again which freezes up and then does not work. I have installed it about five times now with no luck. It really really needs to be updated
dgunn said:
I have tried the magisk module and it is not working properly. It freezes up trying to install the driver and then it does not show that it is processing. Once I restart the device it tells me I need to install the driver again which freezes up and then does not work. I have installed it about five times now with no luck. It really really needs to be updated
Click to expand...
Click to collapse
This works
Works for me just make sure audio modification library is uninstalled and reboot, then install from magisk, reboot, install driver, reboot, profit!
Doesnt work for me, i have busybox, magiskhide props, miui 10 sounds, and systemless hosts installed. When i try to download viper, Magisk vanishes. If i download and try to add the module from a zip, Magisk crashes by just... vanishing....
PMad said:
Doesnt work for me, i have busybox, magiskhide props, miui 10 sounds, and systemless hosts installed. When i try to download viper, Magisk vanishes. If i download and try to add the module from a zip, Magisk crashes by just... vanishing....
Click to expand...
Click to collapse
Have you tried the above attached module?
PMad said:
Doesnt work for me, i have busybox, magiskhide props, miui 10 sounds, and systemless hosts installed. When i try to download viper, Magisk vanishes. If i download and try to add the module from a zip, Magisk crashes by just... vanishing....
Click to expand...
Click to collapse
Hi, on my previous device, I experienced this and, either upgraded the apk, or downgraded the apk by uninstalling (magisk apk), reinstalling older version, & reboot. You can find all the released apks on APKMirror. I'm personally using the EXOS magisk ROM, which has options for viper and Dolby Atmos(w/ EQ), with the module Audio Modification Library.
Just flash the 2.7.1.6 zip on magisk manager, reboot , open viper, install the drivers , reboot , done..
Samuel Holland said:
Hi, on my previous device, I experienced this and, either upgraded the apk, or downgraded the apk by uninstalling (magisk apk), reinstalling older version, & reboot. You can find all the released apks on APKMirror. I'm personally using the EXOS magisk ROM, which has options for viper and Dolby Atmos(w/ EQ), with the module Audio Modification Library.
Click to expand...
Click to collapse
Is yours working ok via the EXOS rom? I also have that installed but Viper won't process unless I have "Attach audio effects" toggled on in settings. On other phones, I've had to toggle this on and off right after and it would work, but with current setup, I have to leave it on for it to work. That may be causing problems with it not processing using youtube for me.
Do you have installed audio modification library?
Is viper4android working on the lastest OTA and magisk?
xXx no limits has this as an option and I can assure you it works.
It was working with ob1 but ob2 has been a no go. I've tried over and over but it ain't happening.
dladz said:
xXx no limits has this as an option and I can assure you it works.
Click to expand...
Click to collapse
I can confirm that it works.
Navyvet63 said:
It was working with ob1 but ob2 has been a no go. I've tried over and over but it ain't happening.
Click to expand...
Click to collapse
Working great on ob2 for me
I think I will try downgrading to ob1, install v4a then upgrade to ob2.
On ob2, magisk install fails for me once trying to download latest apk
pocholo36 said:
On ob2, magisk install fails for me once trying to download latest apk
Click to expand...
Click to collapse
APK?...why?
You need the viperfx for Android 11 zip. .
Just flash it on magisk...and is ready
cultofluna said:
APK?...why?
You need the viperfx for Android 11 zip. .
Just flash it on magisk...and is ready
Click to expand...
Click to collapse
I don't know, maybe something to do with my vpn ..
Is the Android 11 one the 2.7.1.6 zip in this thread?

Categories

Resources