Camera slow start after opening and Gcam- app not installed - Xiaomi Mi A1 Questions & Answers

I tried to install Gcam on Mi A1 , but unfortunately the installation shows "app not installed"
the following are the steps i did. pls point out if i missed any.
1. unlocked bootloader
2.Root and installed Magisk without installing TWRP (used TWRP by booting )
3. downloaded and installed Gcam using Magisk (inside downloads)
-didnt showed any new gcam icon, also tried in the stock camera
The stock camera takes longer to start. (noticed every time).
So i tried to install Gcam apk by scrubber.
Installation shows (App not installed)
Even tried to enable camera2api using build prop and install gcam. No luck
Now the issue is the camera ( stock , and all other camera apps) taking longer to start and Gcam not installed.
any guess what went wrong ?
I hope Twrp was not the issue coz i didnt installed it.
will unrooting and relocking makes camera fast again

Search in Magisk the Module: MI A1 Camera Lag Fix Oreo.
And that's it. The problem it's with SELINUX.

Set selniux to permissive. There is a magisk module for it.

Angrydr0id said:
Search in Magisk the Module: MI A1 Camera Lag Fix Oreo.
And that's it. The problem it's with SELINUX.
Click to expand...
Click to collapse
thanks alot man.
but does this setting selinux permissive have aany draw back. Sorry if my question is noob

karthi2 said:
thanks alot man.
but does this setting selinux permissive have aany draw back. Sorry if my question is noob
Click to expand...
Click to collapse
Nah, don't worry about it.

Related

Xposed install guide

Hi all,
First off, backup everything and you do this at your own risk!
Okay, so you'll need a unlocked bootloader, twrp recovery and a rooted system with supersu installed.
Download the following
http://forum.xda-developers.com/attachment.php?attachmentid=3383776&d=1435601440
http://dl-xda.xposed.info/framework/sdk23/arm64/xposed-v83-sdk23-arm64.zip
Install XposedInstaller_3.0_alpha4.apk
Open SuperSU and leave it running in the background. Open Xposed app, click on framework and select soft reboot. You should now get a popup from SuperSU requesting access from the xposed app.
After reboot, browse to the following location. / system / EMUI / base / prop , open the local.prop file and locate the line "ro.config.hwtheme = 1". Once you have located the line, change from 1 to 0. Save the file and reboot to twrp recovery.
Install the xposed-v83-sdk23-arm64.zip, once installed click on wipe Dalvik cache.
Reboot and test.
The first reboot after the install can take up to 10 mins, don't panic its normal!
You can update to the latest version of xposed-v85-sdk23-arm64.zip after this, but for whatever reason v85 doesn't work when installing first.
Cheers,
Paul
Hi,
Thx for this!
I've a question: is it possible to use Xposed but to have possibility to change theme?
Because with "ro.config.hwtheme = 0" the theme app is down (normal i think) but the theme is ..... not very pretty :/
Thanks, sorry for my english!
Do v83 have some serious bugs or its ok to use?!
PalakMi said:
Do v83 have some serious bugs or its ok to use?!
Click to expand...
Click to collapse
Not sure to be honest, just use v83 to install with and upgrade after
Liffeyman said:
Not sure to be honest, just use v83 to install with and upgrade after
Click to expand...
Click to collapse
Ok :laugh:
The setting does not work intermittently, won't load, tried on two Honor 5c so far, latest version as well as xposed-v85.1-sdk23-arm64-custom-build-by-wanam-20160530.zip - a reboot fixes but may be other issues as only had the phone for a week or so. Any solution?
There is no need to disable Huawei Theme Engine. Just flash Xposed v86 (or any version later than 86) and you're good to go. No build.prop and local.prop edits needed.
buddimanv said:
The setting does not work intermittently, won't load, tried on two Honor 5c so far, latest version as well as xposed-v85.1-sdk23-arm64-custom-build-by-wanam-20160530.zip - a reboot fixes but may be other issues as only had the phone for a week or so. Any solution?
Click to expand...
Click to collapse
I had exactly the same problem, and to make it even worst I was having crashes when trying to call someone and also unable to receive calls. Sometimes a reboot would fix the situation but then it was back again. Are you facing the same problems with newer versions of xposed?
@Liffeyman Could you update the thread to the most recent xposed and installer? And also the change of the value inside the file is not needed anymore. Check this thread https://forum.xda-developers.com/android/general/guide-workaround-running-xposed-t3338765/
Mike_Wasawsky, didn't notice any other issues but settings won't launch - it was also the case with p9 lite. However, I am currently using Xposed framework 86.1 (custom build by wanam / 20160904) on build NEM-L51C432B120 and settings works most of the time if not all the time (I think I had to reboot once, not sure whether it was p9 Lite or 5c). Same version is also on a p9 lite and working OK. I would advise you to use latest Wanam build.
buddimanv said:
Mike_Wasawsky, didn't notice any other issues but settings won't launch - it was also the case with p9 lite. However, I am currently using Xposed framework 86.1 (custom build by wanam / 20160904) on build NEM-L51C432B120 and settings works most of the time if not all the time (I think I had to reboot once, not sure whether it was p9 Lite or 5c). Same version is also on a p9 lite and working OK. I would advise you to use latest Wanam build.
Click to expand...
Click to collapse
Do you have a link to that version? I couldn't find it. Thanks!
https://www.androidfilehost.com/?w=files&flid=37508 (https://forum.xda-developers.com/xposed/unofficial-xposed-samsung-lollipop-t3180960)
buddimanv said:
https://www.androidfilehost.com/?w=files&flid=37508 (https://forum.xda-developers.com/xposed/unofficial-xposed-samsung-lollipop-t3180960)
Click to expand...
Click to collapse
Thank you very much. I tried it anyway and I'm having the same issues.
I've been exploring this situation and realised that the problem wasn't specifically Xposed, but some of the modules.
I always use Youtube background, Youtube adAway and xInternalSD. Only installing youtube background it goes fine, but when I activate one of the others or both of them the problem starts again, randomly crashes settings and I can not make or receive calls, because the call app crashes too. :/
Why dint u tried from official site of rovo

Latest Magisk and SafetyNet on Stock N

Hello guys,
Please accept my apologies if this topic was asked/discussed in other threads. I was unable to find an answer to this question with my searches.
For a while now, I have noticed that Magisk fails SafetyNet on Nougat stock ROM. If my memory serves me, it started with v16.0 and now with beta ver. 16.2 the issue is still ongoing.
Has anyone found a way to pass SafetyNet for stock ROM?
P.S. I have noticed that in Magisk Manager settings, the option "Magisk Hide" disables itself after reboot, I assume something prevents it from working properly (???).
Thanks a lot in advance,
Catalin D
I've been having the same issue and got no solutions other than using 15.3.
Isopropil said:
I've been having the same issue and got no solutions other than using 15.3.
Click to expand...
Click to collapse
Better than no solution at all!
I can confirm the same results. I went ahead and tried all versions from 15.3 to 16.3 - only 15.3 works.
Unfortunately that version is lacking something for me at least... Have you been able to get modules working in 15.3?
They fail to install directly from Magisk Manager. When I try to do it manually in TWRP, I get no errors but the modules are not there when I boot back into the system.
There's clearly some problems we're having that other devices aren't... And the fact that these problems seem to be handled silently doesn't help.
MelloZ said:
Better than no solution at all!
I can confirm the same results. I went ahead and tried all versions from 15.3 to 16.3 - only 15.3 works.
Unfortunately that version is lacking something for me at least... Have you been able to get modules working in 15.3?
They fail to install directly from Magisk Manager. When I try to do it manually in TWRP, I get no errors but the modules are not there when I boot back into the system.
There's clearly some problems we're having that other devices aren't... And the fact that these problems seem to be handled silently doesn't help.
Click to expand...
Click to collapse
I am also using 15.3 magisk with 5.5.5 manager and I have no issues. I have systemiser, debloater, busybox, greenify. the only mod that seems to be not working îs YouTube vanced. I uninstalled the system YouTube and the mod seems unable to install its version.
rzarectha said:
I am also using 15.3 magisk with 5.5.5 manager and I have no issues. I have systemiser, debloater, busybox, greenify. the only mod that seems to be not working îs YouTube vanced. I uninstalled the system YouTube and the mod seems unable to install its version.
Click to expand...
Click to collapse
Works fine here w/ same Magisk & Manager.
try this: Uninstall Vanced. Reinstall YouTube, but freeze it after install. Reboot. Redownload & install Vanced. Reboot. Unfreeze original YouTube & profit. Goodluck.
rzarectha said:
I am also using 15.3 magisk with 5.5.5 manager and I have no issues. I have systemiser, debloater, busybox, greenify. the only mod that seems to be not working îs YouTube vanced. I uninstalled the system YouTube and the mod seems unable to install its version.
Click to expand...
Click to collapse
amphi66 said:
Works fine here w/ same Magisk & Manager.
try this: Uninstall Vanced. Reinstall YouTube, but freeze it after install. Reboot. Redownload & install Vanced. Reboot. Unfreeze original YouTube & profit. Goodluck.
Click to expand...
Click to collapse
there's an even easier fix. Usually Vanced (iYTBP) doesn't work because there are two installs of Youtube (on /system/app and on /data/app) and it only replaces the one in /system. The solution is to deactivate auto-updates, then use a file manager (i recommend root browser all the way) to delete the /data/app/com.google.youtube folder (or however it is called, but the one that has the youtube apk inside).
and of course reboot after that
Whatever the problem was, it seems to have been fixed in the beta released today. (version name 16.4 - version code 1642) Working great.
Looking at his (topjohnwu's) changelog, it seems he made a ton of structure changes and improvements regarding MagiskHide, so it's no surprise this got fixed in the process.
May Magisk and the Axon 7 live long and prosper!

Can't pass safetyney

Hi guys, i've installed Aosp Extended ROM but my safetynet is broken, i can't install any safetynet module from Magisk, from TWRP show "error 1 can't mount /system" but system is already mounted...
Any help? Thanks
N1ck474 said:
Hi guys, i've installed Aosp Extended ROM but my safetynet is broken, i can't install any safetynet module from Magisk, from TWRP show "error 1 can't mount /system" but system is already mounted...
Any help? Thanks
Click to expand...
Click to collapse
safety net has nothing to do with the ROM, but with Magisk and root. Maybe your Magisk installation isn't correctly configured ( Do not install Xposed Modules )
Re-flash the ROM and Reinstall latest Magisk (16.4).
ali-k95 said:
safety net has nothing to do with the ROM, but with Magisk and root. Maybe your Magisk installation isn't correctly configured ( Do not install Xposed Modules )
Re-flash the ROM and Reinstall latest Magisk (16.4).
Click to expand...
Click to collapse
Thanks, i've reinstalled magisk and now it's fixed
ali-k95 said:
safety net has nothing to do with the ROM, but with Magisk and root. Maybe your Magisk installation isn't correctly configured ( Do not install Xposed Modules )
Re-flash the ROM and Reinstall latest Magisk (16.4).
Click to expand...
Click to collapse
What's the problem with xposed? I had it in my previous phone and it passed safetynet with no issues.
Potus ThePlant said:
What's the problem with xposed? I had it in my previous phone and it passed safetynet with no issues.
Click to expand...
Click to collapse
Not sure but some of the modules break safety net. I've read it multiple times on different threads, people complaining wbout it.
ali-k95 said:
Not sure but some of the modules break safety net. I've read it multiple times on different threads, people complaining wbout it.
Click to expand...
Click to collapse
Ok, I'll try disabling the modules I have to see if that fixes the issue. I mostly have it to use GravityBox and Youtube Background Playback. The first one because I use the volume keys to skip songs (I'm using the stock rom) and the other one because Youtube vanced doesn't seem to install properly. Do you know of alternatives to any of those?
Potus ThePlant said:
Ok, I'll try disabling the modules I have to see if that fixes the issue. I mostly have it to use GravityBox and Youtube Background Playback. The first one because I use the volume keys to skip songs (I'm using the stock rom) and the other one because Youtube vanced doesn't seem to install properly. Do you know of alternatives to any of those?
Click to expand...
Click to collapse
Did you disable YouTube before + remove the playstore updates of YouTube too then install Vanced.
I don't use xposed at all as my ROM has everything i need, i just use a couple of Magisk modules ( font, vanced, iOS11 emojies and MiAi camera lag fix ). If nothing is broken, don't try and fix it
ali-k95 said:
Did you disable YouTube before + remove the playstore updates of YouTube too then install Vanced.
I don't use xposed at all as my ROM has everything i need, i just use a couple of Magisk modules ( font, vanced, iOS11 emojies and MiAi camera lag fix ). If nothing is broken, don't try and fix it
Click to expand...
Click to collapse
Where did that come from? I'm not trying to "fix" anything. All I want is to add is song skipping with the volume keys (something that should've been added to stock android by now). I tried what you said with vanced but it's still not working.
Alternative to Vanced youtube is "OGYoutube" (https://plusmods.com/ogyoutube) - installed as a standard app, so you can keep official updated Youtube (best of both worlds). I don't know about functional alternative to Gravitybox though, so you can't get rid of Xposed (the only module which breaks Safetynet by design).
Edit: if you use Gravitybox only for media control with volume keys, you might have luck with this app https://play.google.com/store/apps/details?id=frinky.volumeKeys.music.controller&hl=en. I didn't like it too much, but it's worth trying if Safetynet is your priority.
Edit2: Automation via Tasker is an option as well, but it was pain in the a** to use it on my previous phone.. https://www.xda-developers.com/tasker-pro-skip-music-tracks-using-volume-keys/
Edit3: Just realized that Button mapper pro (https://play.google.com/store/apps/details?id=flar2.homebutton&hl=en) offers this option as well and seems to be working fine. I guess that I can disable Xposed now, thank you for creating this topic

Camera is not working For my Mi A1

Cam is not working, can't open camera, pls restart the phone message display when trying open camera[/B]. i have rebooted the phone many times, and also tried other cam apps also. pls give me a fix for this .
muhamedunais said:
Cam is not working, can't open camera, pls restart the phone message display when trying open camera[/B]. i have rebooted the phone many times, and also tried other cam apps also. pls give me a fix for this .
Click to expand...
Click to collapse
Same for me, i recently updated for pie and i have root using Magisk.
I can take photos, but can't record, the camera just won't record.
Check installed Magisk modules.

Can't make viper4android work on OnePlus 8 Pro (11.0.8.8IN11BA)

The screenshot is in Spanish but I hope it still understandable. I've tried some solutions posted in the forum but I still didn't manage to make it work.
Arksuga said:
The screenshot is in Spanish but I hope it still understandable. I've tried some solutions posted in the forum but I still didn't manage to make it work.
Click to expand...
Click to collapse
Most of OnePlus phones need this app with Viper to make it work.
Press permissive botton.
If you are on stock OOS rom rooted you may need to disable battery optimization both Viper & This app.
My common steps.
Install this app enable permissive , then reboot.
Install Viper module in Magisk.
Run Viper app grant root then ok phone will auto reboot.
Run Viper again setting and enable lagacy option.
Done.
Viper Status will become normal.
In case the SELinux changer apk does not work for you, try this:
[MODULE] Debugging modules: ADB Root, SELinux Permissive, Enable Eng | XDA Forums (xda-developers.com)
Ensure you have Magisk, download the selinux_permissive_v2.zip and install it. For me it worked great.
I don't know what I did, I didn't change nothing on the SeLinux app, but today after uninstalling viper and installing it from an APK instead of from magisk I turned on Legacy mode and started working perfectly.
Is there anyway to see if I turned SeLinux to permissive unintentionally or something?
Arksuga said:
I don't know what I did, I didn't change nothing on the SeLinux app, but today after uninstalling viper and installing it from an APK instead of from magisk I turned on Legacy mode and started working perfectly.
Is there anyway to see if I turned SeLinux to permissive unintentionally or something?
Click to expand...
Click to collapse
No never. SELinux should be in enforcing.
Type "getenforce" in terminal to see selinux mode.

Categories

Resources