• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[APK] Google Camera 6.2.030 fully working

Search This thread

HomerSp

Retired Recognized Developer
Jan 5, 2010
619
585
Stockholm
Hi everyone! Just wanted to share this google camera port that I modded to work on the Razer Phone 1. It's based on BSG's latest (MGC_6.1.021_MI8_V1f.apk) build, but with some modifications made by me to make it not crash immediately as well as work with the front facing camera. The crashes are caused by the front facing camera only supporting legacy mode and not camera2 which is a requirement of Google Camera from a few versions ago.

The default settings seem to work fine for me, but I haven't really tried different configs and such, so do let me know if you experience any crashes or other oddities and I will look into it.

Downloads

BSG v2.0.0 (2019-09-30):
- Initial build based on BSG's MGC_6.2.030_RazerPhone2_V5.apk
- Force back facing camera for Portrait and Night Sight modes
- Show an error message when Do not disturb is enabled, this would cause a crash due to a bug in the Android framework
https://drive.google.com/open?id=1kZpM5hmlH-bloFUzXVNR5wVqEeqrxjjf

TlnNeun v1.0.0 (2018-12-21):
- Initial build based on MGC_6.1.021_BSG_Arnova-based_v.1.3a_fix_TlnNeun
https://drive.google.com/open?id=16qp8nKtxxJZjQOVxLDEtbcPmgUANKNOW

Older builds:

BSG v1.3.2 (2019-04-11):
- Add Lens Blur to the switch selector in addition to Portrait mode
- Attempt to fix black screen on startup that happened quite rarely
https://drive.google.com/open?id=1icUsKiPO6ls7hKg3CoboRqIyvM7sOT2L

BSG v1.3.1 (2019-01-29):
- Fix shots not working just after opening the app
https://drive.google.com/open?id=1QgEk_47Zo6440jG8iEh_3Vcy919tK0w6

BSG v1.3.0 (2019-01-20):
- Enable Photo Booth (only works on the back camera)
- Re-base on MGC_6.1.021_MI8_V2b_plus3
https://drive.google.com/open?id=1qROcohdj1A3p59KDo5j0gTuAkqihEzBx

BSG v1.2.0:
- Fix crash when using libs other than default
- Re-base on MGC_6.1.021_MI8_V1h
https://drive.google.com/open?id=1FmsdwieDRI3JcpNMAavfKB1hZ2AaneNN

BSG V1.1.0:
- Fix slow motion mode
https://drive.google.com/open?id=1mCZ0zMuSdDgWnqbXyypFjyTPPvEOiMPn

BSG V1.0.1:
- Fix rare crash when using night mode
- Remove slow motion as it doesn't work on this phone
- Fix back camera not working when disabling hdr+
https://drive.google.com/open?id=1CE8hL-E5YYQvq4kSnAbdzQL-1J__ZgHD

BSG V1.0.0:
- Initial release
https://drive.google.com/open?id=1zHcCu5c1egMsPT3q2Ajsm3-Ifm2DNj9q
 
Last edited:

aluisiosaboya

Member
Jul 21, 2012
30
10
Fortaleza
Hi everyone! Just wanted to share this google camera port that I modded to work on the Razer Phone 1. It's based on BSG's latest (MGC_6.1.021_MI8_V1f.apk) build, but with some modifications made by me to make it not crash immediately as well as work with the front facing camera. The crashes are caused by the front facing camera only supporting legacy mode and not camera2 which is a requirement of Google Camera from a few versions ago.

The default settings seem to work fine for me, but I haven't really tried different configs and such, so do let me know if you experience any crashes or other oddities and I will look into it.

V1:
https://drive.google.com/open?id=1zHcCu5c1egMsPT3q2Ajsm3-Ifm2DNj9q

Excellent news! I'll try your mod and share my experience. Thanks for you job! :good:

Update:
For me, everything worked very well, all mode are formidable on my RP1. Doesn't work Slow Motion and Front Cam on Portrait mode, like older version doesn't work too, I do not care about portrait mode on front camera.

Suggestion, if it is not possible to work on Portrait mode in Oreo 8.1, remove the switch button on portrait mode.

I think when the Pie rolls out to us, probrably we will be able to mod this aspect in gcam.

Thanks one more time for you attention with the Razer Phone community.
 
Last edited:
Mar 5, 2018
20
1
Great stuff, was hoping someone would do this.

Only things that crash which bother me are Slow motion not working and for some reason when I disable the HDR+ taking photos just does nothing
 

HomerSp

Retired Recognized Developer
Jan 5, 2010
619
585
Stockholm
I've uploaded version 1.0.1 which fixes some issues I found, as well as working around some of the things you all mentioned. Take a look at the OP for the full changelist and download link.
Unfortunately, I wasn't able to find a good way to completely disable portrait mode for the front camera, but since it doesn't crash when switching to it I didn't find it to be too much of a problem - as you can just press the switch button again.

Enjoy, and do let me know if you spot any more issues.
 

HomerSp

Retired Recognized Developer
Jan 5, 2010
619
585
Stockholm
Nice one.

Nice to be able to use these features now, Night Sight is surprisingly good.

A shame Slow mo doesn't work but I have a GCmod5 that has working Slow mo.
Good news: I've managed to get slow motion mode working on this build and uploaded v1.1.0 with it added back. See OP for the link.
 

-SKYLINE-

Senior Member
May 25, 2007
171
20
Great work! Really appreciate this!

Only comment is the slow motion seems to have screen flickering (likely due to it being fixed to 60hz but lights are 50hz where I am). Other camera modes will initially flicker but adapt after a second or two. This doesn't happen on the slow motion.
 

HomerSp

Retired Recognized Developer
Jan 5, 2010
619
585
Stockholm
I've added v1.2.0 to the OP, which fixes an issue where the app would crash when you choose anything other than the default google lib. It's also rebased on the latest BSG build, which adds a new Config option. In addition to that I've ported the changes to TlnNeun's latest build and added that to the OP - so feel free to choose whichever one you fancy! :)
 
  • Like
Reactions: Exelios

HomerSp

Retired Recognized Developer
Jan 5, 2010
619
585
Stockholm
In case anyone is wondering, the hack to enable the secondary back camera that works on the Razer Phone 2 unfortunately does not work on this device because the system checks a property to see what apps are allowed to use it (vendor.camera.aux.packagelist) and that is only set to com.razerzone.camera, unlike the Phone 2 which is set to com.razer.camera,org.codeaurora.snapcam,com.razerzone.camera. So until Razer changes this, there's not really a whole lot we can do unfortunately - not that the secondary sensor is really that good anyway.
 

HomerSp

Retired Recognized Developer
Jan 5, 2010
619
585
Stockholm
Nice one.

Nice to be able to use these features now, Night Sight is surprisingly good.

A shame Slow mo doesn't work but I have a GCmod5 that has working Slow mo.

Not too worried about the second rear camera.

Is there much difference between all of the different config options?
Unfortunately I'm not too sure what all of the different config options actually do - but I do know that changing what libs it uses can change how the picture looks in HDR+ mode, however, I don't really know in what way. I tend to just leave things on stock settings because I think it looks good enough - way better than the stock razer app anyhow.
 
Mar 5, 2018
20
1
Unfortunately I'm not too sure what all of the different config options actually do - but I do know that changing what libs it uses can change how the picture looks in HDR+ mode, however, I don't really know in what way. I tend to just leave things on stock settings because I think it looks good enough - way better than the stock razer app anyhow.

Yeah too right, way better than the stock app. Thanks again for this
 

ofeklivny

Member
Dec 19, 2010
8
1
Thank you so much!
Even night sight works! now I got a really good phone with a really good camera(well its 3am so I only tried really dark scenes :p )
first time I booted the app, front camera did not work. when I tried a second time it did!
Amazing job, thanks again. Wish there was a way to get the telephoto to work just for the sake of completeness. I got the phone today..
 

Top Liked Posts

  • There are no posts matching your filters.
  • 39
    Hi everyone! Just wanted to share this google camera port that I modded to work on the Razer Phone 1. It's based on BSG's latest (MGC_6.1.021_MI8_V1f.apk) build, but with some modifications made by me to make it not crash immediately as well as work with the front facing camera. The crashes are caused by the front facing camera only supporting legacy mode and not camera2 which is a requirement of Google Camera from a few versions ago.

    The default settings seem to work fine for me, but I haven't really tried different configs and such, so do let me know if you experience any crashes or other oddities and I will look into it.

    Downloads

    BSG v2.0.0 (2019-09-30):
    - Initial build based on BSG's MGC_6.2.030_RazerPhone2_V5.apk
    - Force back facing camera for Portrait and Night Sight modes
    - Show an error message when Do not disturb is enabled, this would cause a crash due to a bug in the Android framework
    https://drive.google.com/open?id=1kZpM5hmlH-bloFUzXVNR5wVqEeqrxjjf

    TlnNeun v1.0.0 (2018-12-21):
    - Initial build based on MGC_6.1.021_BSG_Arnova-based_v.1.3a_fix_TlnNeun
    https://drive.google.com/open?id=16qp8nKtxxJZjQOVxLDEtbcPmgUANKNOW

    Older builds:

    BSG v1.3.2 (2019-04-11):
    - Add Lens Blur to the switch selector in addition to Portrait mode
    - Attempt to fix black screen on startup that happened quite rarely
    https://drive.google.com/open?id=1icUsKiPO6ls7hKg3CoboRqIyvM7sOT2L

    BSG v1.3.1 (2019-01-29):
    - Fix shots not working just after opening the app
    https://drive.google.com/open?id=1QgEk_47Zo6440jG8iEh_3Vcy919tK0w6

    BSG v1.3.0 (2019-01-20):
    - Enable Photo Booth (only works on the back camera)
    - Re-base on MGC_6.1.021_MI8_V2b_plus3
    https://drive.google.com/open?id=1qROcohdj1A3p59KDo5j0gTuAkqihEzBx

    BSG v1.2.0:
    - Fix crash when using libs other than default
    - Re-base on MGC_6.1.021_MI8_V1h
    https://drive.google.com/open?id=1FmsdwieDRI3JcpNMAavfKB1hZ2AaneNN

    BSG V1.1.0:
    - Fix slow motion mode
    https://drive.google.com/open?id=1mCZ0zMuSdDgWnqbXyypFjyTPPvEOiMPn

    BSG V1.0.1:
    - Fix rare crash when using night mode
    - Remove slow motion as it doesn't work on this phone
    - Fix back camera not working when disabling hdr+
    https://drive.google.com/open?id=1CE8hL-E5YYQvq4kSnAbdzQL-1J__ZgHD

    BSG V1.0.0:
    - Initial release
    https://drive.google.com/open?id=1zHcCu5c1egMsPT3q2Ajsm3-Ifm2DNj9q
    7
    Nice one.

    Nice to be able to use these features now, Night Sight is surprisingly good.

    A shame Slow mo doesn't work but I have a GCmod5 that has working Slow mo.
    Good news: I've managed to get slow motion mode working on this build and uploaded v1.1.0 with it added back. See OP for the link.
    7
    Good news, I've released BSG v1.3.2 which you can find in the OP. It adds Lens Blur to the mode selector, while keeping Portrait mode as well, so you can choose whichever one you fancy. I was also finally able to reproduce the black screen on startup that happened quite rarely, and I've added some code to hopefully fix it in the latest version!
    4
    Any plans to update this to the newer 6.2 version of GCam now the RP1 Pie update is out?
    I've added a build based on BSG's 6.2.030 GCam release to the OP. Everything seems to be working fine, but do let me know if something's not working and I will have a look to see if I can fix it!

    Regarding it not working when do not disturb is enabled; this does seem to be a bug in the android framework (namely, it's trying to disable the camera shutter sound when trying to get the camera characteristics - before this is possible). I've added some code to detect if this will be an issue in the latest build, and if so it will show an error message that you need to disable DnD. Unfortunately there's not a whole lot that can be done about this, unless this is fixed on system-level and Razer then send us an OTA.
    3
    Alright cool.

    I have a small problem when opening the app sometimes, the viewfinder is just black and I have to switch to another mode and back to camera. Only happens sometimes when opening the app from a completely closed state.

    And also an issue where I have to press the shutter a couple of times for an image to be taken, with the onscreen button and volume button
    I've uploaded v1.3.1 to the OP which fixes the latter issue - so give that a try. Unfortunately I haven't really been able to reproduce the black viewfinder issue, but I will keep trying and report back if I find a fix.