[Guide] Installing GCam on Mi A2 running LineageOs - Xiaomi Mi A2 / 6X Guides, News, & Discussion

I've had quite a bit of trouble trying to find a combination of app+config that works well, now that I've found one I figured I would make a quick guide to make future lives easier.
1. Download and Install the latest apk of BSG's GCam port from here, I would recommend only going with the versions in red as they are the most stable, once you click the latest version make sure to select the "com.android.mgc" version (apk that ends in _MGC)
2. Create a folder in your main directory to store the config file, name is no longer that important but I name the folder GCam to avoid future confusion.
3. Download attached .xml file and copy it to the folder.
5. Open the newly installed camera app, and double tap on the black area around the shutter button, a window should pop up to chose a config file, search and select the .xml file in the GCam folder.
-We're almost finished, you need to limit exposure time for astrophotography mode or the app will crash when you try to use it.-
6. Open the camera's config by clicking the arrow on the top of the screen and clicking the bottom right settings button, it might take a min to open.
7. Click on modules, this is the individual configuration of each lens:
-In Back (1.0): Scroll down until you find "Astro Max Exposure Time", and set it to 5 sec, any more and the app will hang when you take a picture.
-In Back (1.1): Same as before but set time to 4 sec.
-Front is not necessary as astrophotography is not available.
With that you should have a -mostly- working version of gcam, I haven't been able to get the front flash to work as of yet, and for slow mo make sure to select 1/4x.
If you want to use a different gallery from google Photos, select it under Settings/General/Adanced, while you're here you can enable H.265/HVEC so video sizes aren't as large. You can mess around with the rest of the settings, although it might cause issues with quality, if you screw something up you can just reinstall the app and config.
Feel free to hit me up if you have any issues.

Related

Crashing pimg.exe

Hi,
I've noticed that my pimg.exe keeps crashing in several folders. I can start the program but then when I navigate to certain folders the program just closes unexpectedly. I turned the Error notification option ON and a report is sent every time it crashes...
I it very anoying because one of the folder where it crashes is the default folder to where photos are saved when taken with the camera.
Is there a fix to the crashing pimg.exe
My pimg.exe crashes whenever I go to the a folder containing video files. It doesn't matter if the folder is in memory or on the storage card. Pimg.exe works fine on pictures.
Kluges for crashing pimg.exe (Pictures & Videos)
shriek said:
Hi,
I've noticed that my pimg.exe keeps crashing in several folders. I can start the program but then when I navigate to certain folders the program just closes unexpectedly. I turned the Error notification option ON and a report is sent every time it crashes...
I it very anoying because one of the folder where it crashes is the default folder to where photos are saved when taken with the camera.
Click to expand...
Click to collapse
I've learned some things about this. If your symptoms are similar, this may help.
I've been having pimg.exe crashes on Windows Mobile 6 (CE OS 5.2.1238), HTC Advantage 7501, factory ROM.
I've found that it has a tendency to crash upon tapping Menu, and the odds go up as the folder of images gets larger. A 18MB folder with 200 images (mostly .jpg) is more than enough to cause trouble, but I can sort of work around it. Certain other functions are also crash-prone, such as breaking out of view mode.
First, avoid the application's Menu, if you can. It's safest to navigate to he image folder in Total Commander 2.5.1 and double-click on the image I most want to see. If the image comes up, navigate using arrow keys ONLY. If you must break out of view mode to the browser mode, or must use the menu, WAIT, as discussed below.
Second, if you start the app directly, navigate to your target without tapping any images. Once there, it may be useful to highlight several images (tap-drag) before tapping menu.. It MAY be useful to use the arrow keys to scroll up and down a little way from your target so that ~6 rows thumbnails above and below your target are drawn. Now, JUST WAIT. 1 minute is sometimes long enough for a 200 image folder. Tap Menu and see if it cashes.
Third, It may be useful to navigate to a small folder of images (less than 1 screen of thumbnails) and let it draw he thumbs, then come back. I have sometimes gotten from a state where none of the above work, to one where some do.
Any reader who has information on this, please reply to this thread!

Advice: Fixing several issues with my ROM

I'm hoping to get a bit of advice, I'm new to ROM cooking but after a couple days I'm nearly there. Please see the list of issues and have a look if you know the solution to any of them. Many thanks, Andrew
http://forum.xda-developers.com/showthread.php?t=534946
prob: no longer asks for screen calibration on install.
fix: Do manually via Settings > Screen until I find a fix.
prob: after installed you'll get a white screen saying "please wait".
fix: Hit one of the top icons and it'll go away.
note: I'm looking for a fix without enabling HTC's RunCC.
prob: clicking the battery icon doesn't do anything (it should really invoke power).
fix: access manually via Settings until I fix.
prob: screen text is default (one size too large imho). Need to find the registry key to notch it down a level.
fix: do manually via "screen"for now.
prob: the background is a gif as I can't workout how to get the compiler to use a jpg for the Default_stwater.
fix: none
issue: slight colour banding because of it.
prob: empty Tools folder on Start-Menu.
fix: delete it from /Windows/Start-Menu/Programs
issue: can't find the location to kill it so you'll need to do manually.
snoopy20 said:
I'm hoping to get a bit of advice, I'm new to ROM cooking but after a couple days I'm nearly there. Please see the list of issues and have a look if you know the solution to any of them. Many thanks, Andrew
http://forum.xda-developers.com/showthread.php?t=534946
prob: no longer asks for screen calibration on install.
fix: Do manually via Settings > Screen until I find a fix.
prob: after installed you'll get a white screen saying "please wait".
fix: Hit one of the top icons and it'll go away.
note: I'm looking for a fix without enabling HTC's RunCC.
prob: clicking the battery icon doesn't do anything (it should really invoke power).
fix: access manually via Settings until I fix.
prob: screen text is default (one size too large imho). Need to find the registry key to notch it down a level.
fix: do manually via "screen"for now.
prob: the background is a gif as I can't workout how to get the compiler to use a jpg for the Default_stwater.
fix: none
issue: slight colour banding because of it.
prob: empty Tools folder on Start-Menu.
fix: delete it from /Windows/Start-Menu/Programs
issue: can't find the location to kill it so you'll need to do manually.
Click to expand...
Click to collapse
I am also a noob cook but for the tilt. Ill be happy to help you with what I can.
The screen calibration depends on the build you are using. What build are you using?
I normally just take a jpg file and rename it and copy over the old one in the sys file.
As far as the empty folder you should be able to just delete the icon and then it will not be there. I am not sure how you have your kitchen set up. If you have a custom icon package in your ext folder then you can delete it there.
Not to sure about the text size but will look into it.
1
might be something with your kitchen
in some kitchens for diamond there is option to "disable everything other than screen calibration" (exactly opp. but that might cause some issue)
3
use advanced config and in "today" options select display battery on today screen
6
in your kitchen look for a file called "initflashfiles.dat" (NOT TXT)
it will be in "OEM_Lang_xxxx" folder (might differ)
edit that file and remove entry for the tools folder
and keep that file in "read only" attributes
1. already played with this option but it's not doing anything for me "disable everything other than screen calibration" ... It did work at one point
3. I don't want it on the Today screen I only want it to run the htcpower app when it's clicked.
6. "initflashfiles.dat">> no entry called "Tools" already tried that
Why does it matter if it's read-only or not?

Kluges for crashing pimg.exe (Pictures & Videos)

shriek said:
Hi,
I've noticed that my pimg.exe keeps crashing in several folders. I can start the program but then when I navigate to certain folders the program just closes unexpectedly. I turned the Error notification option ON and a report is sent every time it crashes...
I it very anoying because one of the folder where it crashes is the default folder to where photos are saved when taken with the camera.
Click to expand...
Click to collapse
I've learned some things about this. If your symptoms are similar, this may help.
I've been having pimg.exe crashes on Windows Mobile 6 (CE OS 5.2.1238), HTC Advantage 7501, factory ROM, "Pictures & Videos" application.
I've found that it has a tendency to crash upon tapping Menu, and the odds go up as the folder of images gets larger. A 18MB folder with 200 images (mostly .jpg) is more than enough to cause trouble, but I can sort of work around it. Certain other functions are also crash-prone, such as breaking out of view mode.
First, avoid the application's Menu, if you can. It's safest to navigate to he image folder in Total Commander 2.5.1 and double-click on the image I most want to see. If the image comes up, navigate using arrow keys ONLY. If you must break out of view mode to the browser mode, or must use the menu, WAIT, as discussed below.
Second, if you start the app directly, navigate to your target without tapping any images. Once there, it may be useful to highlight several images (tap-drag) before tapping menu.. It MAY be useful to use the arrow keys to scroll up and down a little way from your target so that ~6 rows thumbnails above and below your target are drawn. Now, JUST WAIT. 1 minute is sometimes long enough for a 200 image folder. Tap Menu and see if it cashes.
Third, It may be useful to navigate to a small folder of images (less than 1 screen of thumbnails) and let it draw he thumbs, then come back. I have sometimes gotten from a state where none of the above work, to one where some do.
Check encryption setting for storage card
What I have noticed is that when I copied the pictures to storage cards and encryption is turned on, the pimg.exe (picture viewer) crashes. I experimented by turning off encryption and then recopied the same folder with images to the storage card and did not get the same error on the same folder.
Perhaps you might want to try that.

Disable brightness slider in notification drop down

Was looking for this for a while and I found the solution in the Note edge forum posted by Skenderbeggar. Basically Samsung removed the option to hide or display the brightness slider, I personally don't use it and think it takes up a lot of space. This should work with all varients.
1. Get SQLite Editor (Does cost $. but you can use it for other things too)
2. Open it, and select the FILES column
3. Scroll to the DATA folder and open it
4. Scroll to the DATA folder within it and open it
5. Scroll to the COM.ANDROID.PROVIDERS.SETTINGS folder and open it
5. Open the DATABASES folder
6. Open the "settings.db "file
7. Click on the "system" file
8. Select "notification_panel_brightness_adjustment" (number 279 on my list)
9. Change the value from 1 to 0.
10. Save, close out and reboot.
Worked, thank u. Was just asking about this on the echo thread. Now to get rid of the stock toggles so I can just have my own from the notification toggle app.
Nice, glad I could pass on some info!

[GUIDE] Add "Shot ON MI" watermark to photos taken by GCam

Hello guys, we all know Google Camera is better than the MIUI Camera 999999999 times . But you can take photos with "SHOT ON MI" watermark only on MIUI Camera. So that's very bad for us. But I will show how to add "SHOT ON MI" watermark to photos taken by Google Camera (or another camera app).
REQUIREMENTS:
- PicsArt
- A root explorer [or you can just download the required .png file (ONLY FOR MI NOTE 3): https://i.hizliresim.com/PDdlV6.png ]
- A brain
STEPS:
1- Open your root explorer and go to /system/etc. Find the dualcamera.png and copy it to your storage (or just download it if you have Mi Note 3. If you have another Xiaomi device, you must get it from the path I gave.)
2- Open PicsArt (login or register if you're going to use it first time)
3- OK. Now you're at the homepage of the app. Go to your profile. (It should look like this: )
https://i.hizliresim.com/r14JJ3.jpg
4- Create a sticker:
https://i.hizliresim.com/0zXGRL.jpg
5- Now you're at the photo selection tab. Tap to "Recent":
https://i.hizliresim.com/NDXOLL.jpg
6- Tap to "More":
https://i.hizliresim.com/nldJy5.jpg
7- Tap to "Other":
https://i.hizliresim.com/2adEPL.jpg
8- Select the "dualcamera.png" that you copied to your storage with a file manager:
https://i.hizliresim.com/b61LEG.jpg
9- Tada! Your watermark is right here. It should look like this:
https://i.hizliresim.com/r14Jp1.jpg
10- Select all of the picture by swiping across it (like a brush tool). It'll become reddish. After that, tap to next button. (It should look like this: )
https://i.hizliresim.com/GD7ygv.jpg
11- Select all of the picture again with the brush at the bottom. And tap to save. (It should look like this: )
https://i.hizliresim.com/Bzny59.jpg
(before the selection)
https://i.hizliresim.com/1EbGAD.jpg
(after the selection)
12- Don't do anything on this tab (just tap to next button):
https://i.hizliresim.com/JD9Ojo.jpg
13- Save the watermark as a sticker:
https://i.hizliresim.com/g6g9BR.jpg
14- Just save it to device:
https://i.hizliresim.com/zMZJXY.jpg
15- Just tap to "Done":
https://i.hizliresim.com/VDOrBv.jpg
Tada! Now you saved the watermark as a PicsArt sticker. Once you save the sticker, you can use it any time when you want. So if you want to add the watermark to a photo, don't create a sticker again and start from the step 16.
In this guide, we will edit this photo taken by Google Camera. Let's go :highfive: :
https://i.hizliresim.com/lZXOpg.jpg
16- When you want to add your "SHOT ON MI" sticker to a photo, tap to "+" button and select edit.
https://i.hizliresim.com/LDMbYa.jpg
17- Select your photo in the photo selection tab and choose the original size of photo if you don't want to lose quality:
https://i.hizliresim.com/EDLPbv.jpg
18- Now you're at the photo editor. Select the sticker option:
https://i.hizliresim.com/oV5OZ7.jpg
19- Tap to "My Stickers":
https://i.hizliresim.com/dBrO0Q.jpg
20- Select your watermark. It's slightly invisible because it's white, but you'll see it if you look again:
https://i.hizliresim.com/VDOrXq.jpg
21- And the watermark is right there! :victory: Adjust its size and position and save it by tapping to next button:
https://i.hizliresim.com/6NBJ97.jpg
(Before adjustment)
https://i.hizliresim.com/AzV1Lp.jpg
(After adjustment)
22- Save the photo by the same way with the sticker's one:
https://i.hizliresim.com/mob2o0.jpg
https://i.hizliresim.com/mob2N8.jpg
https://i.hizliresim.com/VDOrBv.jpg
Tada! Your photo taken by Google Camera with the "SHOT ON MI" watermark is ready! Enjoy it!
https://i.hizliresim.com/GD79Nb.jpg
Can i use Gcam on miui 1o now?
No
Enviado desde mi Mi Note 3 mediante Tapatalk
[or you can just download the required .png file (ONLY FOR MI NOTE 3): https://i.hizliresim.com/PDdlV6.png ] - 403 Forbidden
there are appz avaible in Playstore
which rom it is?

Categories

Resources