P20 Pro camera gallery for non EMUi ROM's workaround - Huawei P20 Pro Guides, News, & Discussion

Hi all,
When I've installed lineage or treble ROMs I've always installed the p20 pro port, but the gallery missing is a ballache.
Was just having a tinker and found that there is a little glitch that can be used to get the gallery to come up on lineage / treble based ROMs that are using the P20 Pro camera port, this isn't a fix but it's definitely better than switching apps.
Firstly install either Lineage or wait for a treble based ROM to have the updated script which fixes the random reboots then visit and install the port of the P20 Pro camera from here.
https://forum.xda-developers.com/hu...uawei-p20-pro-camera-app-treble-roms-t3798767
Workaround
-------------------
1. Install a gallery application you would like to use
This is the one I used
https://play.google.com/store/apps/details?id=com.simplemobiletools.gallery
*Note* any gallery application will work, even photos.
2. Open the P20 Pro camera application
3. Take a picture.
4. Click the circular preview of the photo you just took.
*Note* - the screen will go black and will usually fail at this point.
5. Swipe to recents whilst it's trying to open the gallery then click back onto camera / gallery and it'll show you the choices for your gallery, make your choice.
6. Do this process again and then select your gallery app and then click Always.
That's it.
Working
---------------
Landscape - if you take a pic and open up the gallery from the shortcut in the camera whilst you're in landscape mode ie: sideways the gallery will open as expected.
Not working
--------------------
Portrait - opening the gallery app whilst in portrait mode will cause the original problem to occur, to get around this simply switch to recents then click back on camera or gallery and it'll open gallery as expected.
To do
---------
Have got the Huawei gallery apk but can't install it, it would work using the above if I could get it to install..
Not sure if this was common knowledge or not but I didn't know so for those of you who didn't....
Enjoy

Hi, i accidentally uninstalled Gallery via adb. How to get back the original Gallery apk. Tq
problem solved

Related

[Q] Stock Camera Gallery Link?

Is there a possibility to enter my gallery directly out of the stock camera or do I always have to quit the camera and enter the gallery manually? I only have the chance to view a taken picture for about 2 seconds... Maybe it is possible to conform this? My OnePlus One is rooted and I know how to flash zips so I'm thankful for every solution. If this isn't the problem it would be great if I could set my own Gallery (QuickPic).
Thanks
Yo can view pictures just by swipping to the left on the camera screen !

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

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
:laugh: SEND SNACKS TO Carlosggb CLICK HERE :laugh:
Will testing soon ???
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
@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.
Great. Will test it out
Nice work op.
But it force-closes on Liquid Remix 20180727.
Wow nice one
I'll testing soon
good work thanks i will also try to stable it
Clicking a normal picture in photo mode makes my phone go into reboot. Anyone else facing this issue?
Dont work on Pixel rom!
kalustan said:
Nice work op.
But it force-closes on Liquid Remix 20180727.
Click to expand...
Click to collapse
Working. Enable all permission. Reboot ur device then check
Photos taken using portrait mode in both the front and back camera takes years to process (10-15 seconds). While processing the camera is unusable and if you press too many buttons while its stuck, it will force stop.
Only portrait mode working here, anything elks results in phone crashing to black screen and have to reboot.
Edit: I did something and now everything working well
Edit: ok have found the culprit. HDR must be enabled along with AI. If HDR is disabled when AI is active, phone will crash
For camera related apps and mods, I think its a good idea to also state your device model -- Indian RN5pro or Global RN5 when reporting, because there might be some camera module/sensor related problems
Sumit Samanta said:
Working. Enable all permission. Reboot ur device then check
Click to expand...
Click to collapse
:victory:
Working now!
Thanks.
b3rvirus said:
For camera related apps and mods, I think its a good idea to also state your device model -- Indian RN5pro or Global RN5 when reporting, because there might be some camera module/sensor related problems
Click to expand...
Click to collapse
Sorry, edited my post, the problem was HDR had to be active when AI is active. Once I realised this I've had no problem. This is so good. Thanks
Doesn't seem to work on Resurrection Remix. App appears as '60' and refuses to open. Still, I'll keep an eye, this port is promising
Greetings, as mentioned above, I need device, ROM and logs of your issues. Incomplete information WILL BE IGNORED.
THIS IS A FIRST BETA, NEED LOGS TO IMPROVE
FC in AEX. All permission enabled.
Can you try this? change line in /common/system.prop ro.product.device=tissot_sprout to ro.product.device=whyred. and replace /system/etc/device_features/tissot_sprout.xml to whyred.xml found in miui rom and see if it helps.

Pie: Google Photos in Camera app

After the recent Pie update I noticed that there is no more Google Photos link in Camera app. When I open the fresh photo from within the Camera app, it opens in separate editor.
So the question is:
Can I bring back good old Photos to my camera?
P.S. It's not just that link is missing. If I delete the photo from within this weird new editor, it stays in Photos app.
Elegiacal said:
After the recent Pie update I noticed that there is no more Google Photos link in Camera app. When I open the fresh photo from within the Camera app, it opens in separate editor.
So the question is:
Can I bring back good old Photos to my camera?
P.S. It's not just that link is missing. If I delete the photo from within this weird new editor, it stays in Photos app.
Click to expand...
Click to collapse
I had the same problem when I removed the oneplus galley app with the 'system app safe remover' app (Root required) from the playstore. Even with a different camera app. Installing OnePlus Gallery again from the playstore didn't solve he problem.
Tried to remove the DCIM folder by renaming it, I restored the uninstallation with 'system app safe remover' but that didn't solve the problem either. Removing all updates for the oneplus gallery app by "uninstalling' the Oneplus Gallery app from the playstore. It removed all updates but didn't solve it either. What it did fix was flashing the same rom without wiping the userdata. after that it worked again.
Hope it will solve your problem too.
Maybe offtopic: Anyone knows how to uninstall the default oneplus gallery app without breaking the link to the DCIM photo's?

[8.0+] ROG Phone Apps Ports - Live Wallpaper + Camera

ROG Phone Apps Ports - Live Wallpaper + Camera​​
​
With the help of @MishaalRahman, I've been working on porting a few interesting apps from the (still upcoming) ROG Phone. These include, the Game Mode Live Wallpaper (for which I've also made a companion app, used to toggle the states of the live wallpaper), and the Asus PixelMaster Camera.
Things I'm very aware of:
- Camera needs polishing and a clear bug bashing.
Usage of the Game Mode Live Wallpaper and it's Companion Controller:
The live wallpaper by default launcher in the 'Off' state. To change it to 'On', you need to download an install an app I've made for the occasion, the ROG Companion Controller.
As soon as you open the app, it'll ask for Root permissions. This is to grant itself the WRITE_SECURE_SETTINGS permission. If you don't have Root in your device, the app will greet you with a screen explaining how to proceed and grant the permission in order to work.
Once done, touching on the app icon will toggle the Game Mode Live Wallpaper between it's 2 states, 'Off' and 'On'.
Download Game Mode Live Wallpaper (not modded) Mirror
Download ROG Controller Companion App - ver. 1.1 (needed if you want the above to work!) Mirror
Download Asus Camera Port (ver. 5.0.31.0_180918) Mirror
Download ROG Controller Companion App source code - ver. 1.1​
XDA:DevDB Information
Asus ROG Apps Port, Tool/Utility for all devices (see above for details)
Contributors
linuxct
Source Code: linuxct.space
Version Information
Status: Snapshot
Current Stable Version: c6ef0ccc
Stable Release Date: 2018-10-05
Created 2018-10-06
Last Updated 2018-10-05
Screenshots?
Tried the camera APK on Poco F1 . It did not work. When the app launches it freezes on the image that is infront of it. It does not give a black screen but freezes. Hope it can be made to work. Since there is lot of difference in gcam app and stock app, this app could also show some improvement in image captured.
A long shot, but is it possible for Gaming Mode on oxygen OS to trigger the companion app for the wallpaper?
Need camera 2 API to work?
Camera is unfortunately crashing on the Pixel XL (1st gen), let me know if there's anything I can do to help out with that. Looks great though! Great work for porting it so fast!
Camera working with LG V30, even the wide angle camera work.
Would be cool if the wallpaper can change automatically depend on day or night
I tried this on my Nokia 1 running project treble 9.0 and it completly mucked up the image, why is that?
Soneliem said:
A long shot, but is it possible for Gaming Mode on oxygen OS to trigger the companion app for the wallpaper?
Click to expand...
Click to collapse
You can trigger it with tasker, if you don't mind you can use the profiles I created.
Camera works on oneplus 5t using crdroid pie. No slowmo video
Camera working on LG G3 "vs985", 8.1, RR 6.2 Rom
Works on htc 10 running 8.0 except for slowmo
Rogcontroller app doesn't open at all in poco f1 (miui 10. 8.9.20)it just displays white screen
The ROGPhone Camera port works on ASUS Z010D (Zenfone Max), but it's super resolution, GIF, and time lapse features crashed with error message saying "camera is being used by another application, please close that application first". But it's ok for me. Thanks for your works.
The camera port is working on my Moto G5S Plus running stock android 7.1 (32-Bit). Only automatic and pro modes working (without HDR). Video recording, super resolution mode, GIFs, slowmo and time lapse are not working. Great job, hope to see more features working!
not working in oneplus 6. the viewfinder freezes instantly after opening the app.
timescaming said:
You can trigger it with tasker, if you don't mind you can use the profiles I created.
Click to expand...
Click to collapse
Thanks a lot, works a charm.
Camera works on my Redmi 2 on Lineage 8.1 Treble.
However max resolution is limited to 1mp (full resolution is 8mp) and all manual controls except exposure do not work.
Video recording also broken.
Puneeth 676797 said:
Rogcontroller app doesn't open at all in poco f1 (miui 10. 8.9.20)it just displays white screen
Click to expand...
Click to collapse
The app's functionality is extremely basic - It should display the set up text when no root nor permissions are detected.
What I'm getting the feel of, it detects you have Root yet you denied it, causing the app to try over and over.
Nevertheless, if you grant the application the WRITE_SECURE_SETTINGS permission through adb in a PC, that will work.
The command is:
Code:
adb shell pm grant com.linuxct.rogcontroller android.permission.WRITE_SECURE_SETTINGS
---
As for the rest of people here sending out feedback of the camera app, thanks. As some asked, yes, it does require Camera2 API.
If you encounter crashes, please provide logs to help debugging it!
Anyone knows how to install the ROG theme on Zenfones? I have Zenfone 5 ZE620KL but Idk how to install the theme that's on zip file

Google camera with portrait mode

Anyone got Google camera with working portrait mood?
This is not possible yet until some one will work for it...
Till we can only hope for this
There are some ports that nearly work well, but don't worth the try unless you want to have to reinstall the app and reboot your phone every 2 pictures... One works well but has a heavy blue tint, the other is good but make the camera driver crash at nearly every 1 or 2 pictures so you have to reinstall Google Camera app and reboot phone.
Naerade said:
There are some ports that nearly work well, but don't worth the try unless you want to have to reinstall the app and reboot your phone every 2 pictures... One works well but has a heavy blue tint, the other is good but make the camera driver crash at nearly every 1 or 2 pictures so you have to reinstall Google Camera app and reboot phone.
Click to expand...
Click to collapse
One of the developer said it's impossible for kirin devices
Someone ported gcam for honor 7x
https://forum.xda-developers.com/honor-7x/themes/portrait-mode-google-camera-v6-0-hdr-t3857851
Prashant324 said:
Someone ported gcam for honor 7x
https://forum.xda-developers.com/honor-7x/themes/portrait-mode-google-camera-v6-0-hdr-t3857851
Click to expand...
Click to collapse
Well dont use it...
Once you use it and
1) if directly switch to stock cam, everything including launcher and Ui crashes. No way to get out of it other than force restart... (you will get screen artifacts n thats it)
2) if launch this cam... Take a pic, exit and open stock cam, your stock cam wont load until you restart the device....
TALKING ABOUT HONOR PLAY DEVICES
And overall HDR+ doesnt do crap when compared to HDR mode in stock cam app
Zyfe3r0 said:
Well dont use it...
Once you use it and
1) if directly switch to stock cam, everything including launcher and Ui crashes. No way to get out of it other than force restart... (you will get screen artifacts n thats it)
2) if launch this cam... Take a pic, exit and open stock cam, your stock cam wont load until you restart the device....
And overall HDR+ doesnt do crap when compared to HDR mode in stock cam app
Click to expand...
Click to collapse
I have installed gcam on my honor 6x and everything is working fine. They provided a guide how to install gcam on honor 7x and this port is working fine with honor 6x.
Prashant324 said:
Someone ported gcam for honor 7x
https://forum.xda-developers.com/honor-7x/themes/portrait-mode-google-camera-v6-0-hdr-t3857851
Click to expand...
Click to collapse
Prashant324 said:
I have installed gcam on my honor 6x and everything is working fine. They provided a guide how to install gcam on honor 7x and this port is working fine with honor 6x.
Click to expand...
Click to collapse
Well... This isnt 7x or 6x forum...
Im talking abour Honor Play...
Weird, I don't think HDR+ would ever be supported for Kirin devices
Honor play boys i have good news for you. I have just found the working gcam. Everything is working i will suggest you the setting
Only you have to tweak the two settings ie, saturation and input model
Instructions:
1. Download the modified Google Camera apk here
https://www.celsoazevedo.com/files/android/google-camera/f/MGC_6.1.013_MiMAX2_V1b_A8.1+.apk
2. Install the app;
3. Give all permissions,
4. Go to settings, "BSG MOD" --> Input Model --> Pixel XL for Rear & Front
5. Restart the app and go to settings --> BSG MOD --> Saturation --> Back Camera : Highlight Sat to 2.0 and Shadow Sat to 2.6
Front camera: Highlight Sat to 2.0 and Shadow Sat to 2.6
6. Restart the app [needed]
7. Go to settings --> advanced --> turn On all the switches except HEVC/H.265 one.
8. Restart the app [needed]
Enjoy Google Camera on your Kirin Devices especially i have tried on Honor play
Credits:
BSG
Features working:
- Camera (HDR+, ZSL, flash, zoom, front camera, raw, etc)
- Video (at 1080p)
- Portrait Mode, Panorama, Photo Sphere
Features NOT working:
- Slow motion
- hdr+ or enhanced not working on front camera
- night sight
Portrait mode is not working in my mobile through I'm using the latest version 6.1.021 and made the necessity changes which you've suggested.
Jayanthjey said:
Portrait mode is not working in my mobile through I'm using the latest version 6.1.021 and made the necessity changes which you've suggested.
Click to expand...
Click to collapse
Here you go...
Open thread and you are done..
https://forum.xda-developers.com/honor-play/themes/google-camera-honor-play-t3863795/page22

Categories

Resources