Magisk Based GCAM Port, Google Lens Support, Slo-Mo, 60FPS Enabled

Search This thread

aer0zer0

Recognized Contributor
Sep 20, 2013
3,295
2,529
Cortland NY
I have created a Magisk based DIY GCAM port for our 10's. Basically, it installs everything you need for it to work, and you try/select whatever GCAM you think works the best. All this will do is enable the extra features for GCAM

***SLOMO NOT WORKING ON OREO FOR ME***

Prerequisites:
2.xx.xxx.xx Nougat Stock sense, not sure about LOS or others (you can try, no guarantees).
3.xx.xxx.xx Oreo Stock sense, not sure about LOS or others (you can try, no guarantees).
Magisk 15.0 or newer (Uses 1500 template)
No Other GCAM installed (remove any prior to flashing magisk module)


REMEMBER TO SET ALL SETTINGS AND FC ONCE BEFORE USE!!!!!


What it does:

It replaces media_profiles.xml in system/etc : this allows for HEVC and 60fps

Oreo Version

It adds ARCore and ARStickers to system/app
It sets ro.config.calibration_cad=/system/etc/calibration_cad.xml
It adds res_ctrl.conf to system/etc
it updates all the various .xml files that have media settings within them


This is a free-for-all zip, meaning i dont care if you modify it, pass it off to other groups, help anybody else, etc.
I am not responsible if you get your phone messed up, it works for me, and for others. I will help as much as i can. Its a work in process, hopefully, it will make life easier for everybody. This is really close to being a DD, i will try other GCams as i find time. Im really waiting for Oreo on VZW, then ill really get into it. (AR Stickers, etc.)


Also, this is a HTC 10 thread, and while i dont mind helping people (I want everybody to have a working GCAM) this magisk module, especially the media_profiles.xml is very very very 10 specific. You can however, do the legwork, use this zip as a template, and make one for your threads/personal use as well. And i dont mind. Just dont come in here without a logcat with some phone that's not a 10 and say its broke. I will at least look at a logcat and help if its not a 10, but my demands have been expressed.

Also, for those with a 10.. Dont come in here and tell me its broke, not tell me anything relevant, have no logcat, and expect a fix...you will be meme flamed for my amusement...You have been warned. You should know better at this point!!!

Thanks

@Arnova8G2 Porting Gcam over to us, and listening to our needs
@tsalta Getting everything moving along, and testing with me

Link Nougat (DIY GCAM MOD)

https://www.androidfilehost.com/?fid=890129502657598199

Link Oreo (DIY GCAM MOD)

https://www.androidfilehost.com/?fid=746010030569969249

GCAM Repo

https://www.celsoazevedo.com/files/android/google-camera/

Old Versions Here

https://www.androidfilehost.com/?w=files&flid=256412

Enjoy :)
 
Last edited:

aer0zer0

Recognized Contributor
Sep 20, 2013
3,295
2,529
Cortland NY
Changelog/Bugs:

DIY GCAM MODS: Everything but GCAM, Pick the one you like the best and use this mod to get the extras to work.

V31: Version back to 2 revs. 1: Skulshady V3.0, portrait works (6p or pixel 2017 zsl hdr +, that one has low light bug still), Tolyan009 v1.3.5, portrait doesnt work, more options (needs alot of configuration, pixel 2, 2017 pixel zsl hdr+ new, black level 64, hdr+ control on, turn off use google photos in debug settings)

V30: Oreo and Nougat: Added HEVC Back in, Removed Lens (Built into photos now), some people say slomo works in oreo now, you tell me ;) Uses Arnova V7B6 Camera...too bad it's junk......

V28: Cleaned up media_profiles_vendor.xml and added HEVC support. (Slo-Mo at least loads the viewfinder now, getting warmer :) )

V24: Low Light/Flash Bugs fixed, increase sharpness might be better, still no slo-mo :(

V23: Same oreo bugs

v8 Nougat: Updated to arnova pixel2mod v6b14, probably the last good one
v8 Oreo: Initial release, has b14, and AR stickers, need someone to test it on oreo.

v7: 99.98% works, only "little" bug is if you take a low light/room is completely dark photo (front and rear), very rarely, but sometimes the camera app crashes.

v1: Initial release

Bugs: No front HDR, Slo-mo crashes went set to 240fps (120 is fine), can only take picture with hdr+ enhanced on for rear, view finder is a little slow for portrait mode rear.
 
Last edited:

aer0zer0

Recognized Contributor
Sep 20, 2013
3,295
2,529
Cortland NY
V28: To ease confusion, 6P works with everything it appears, 2017 Pixel HDR ZSL has some issues in low/no light still (wanna help, PM @tsalta )

V24: Either works i believe

V23: I use nexus6P, you can use pixel 2 as well

v8: Use nexus 6P, it all works, you can use 2017 pixel zsl HDR+, but it will FC in dark/no light using flash.
 
Last edited:

aer0zer0

Recognized Contributor
Sep 20, 2013
3,295
2,529
Cortland NY
How to modify the zip for your a new gcam:

1. uninstall gcam mod
2. reboot
3. Install gcam of your choosing
4. using root browser, copy directory from data/app containing google camera directory.
5. take the contents of that folder, copy the contents to the zip file, in system/app/GCAM, replace the contents in there.
6. reflash zip with new gcam
 

tsalta

Senior Member
Dec 25, 2008
2,461
721
London
I have created a Magisk based GCAM port for our 10's, based off of whatever GCAM is working mostly at the time. It has Google Lens support, portrait mode front and rear, HDR rear, Slo-Mo, 60FPS support.

Prerequisites:
2.xx.xxx.xx Nougat Stock sense, not sure about LOS or others (you can try, no guarantees).
Magisk 15.0 or newer (Uses 1500 template)
No Other GCAM installed (remove any prior to flashing magisk module)


What it does:

It replaces media_profiles.xml in system/etc : this allows for slo-mo and 60fps
It adds google_build.xml in system/etc/sysconfig: Lens
It adds nexus.xml in system/etc/sysconfig: Lens
It adds pixel_2017.xml in system/etc/sysconfig: Lens
It adds pixel_2017_exclusive.xml in system/etc/sysconfig: Lens
It adds GCAM in system/app:

This is a free-for-all zip, meaning i dont care if you modify it, pass it off to other groups, help anybody else, etc.
I am not responsible if you get your phone messed up, it works for me, and for others. I will help as much as i can. Its a work in process, hopefully, it will make life easier for everybody. This is really close to being a DD, i will try other GCams as i find time. Im really waiting for Oreo on VZW, then ill really get into it. (AR Stickers, etc.)


Also, this is a HTC 10 thread, and while i dont mind helping people (I want everybody to have a working GCAM) this magisk module, especially the media_profiles.xml is very very very 10 specific. You can however, do the legwork, use this zip as a template, and make one for your threads/personal use as well. And i dont mind. Just dont come in here without a logcat with some phone that's not a 10 and say its broke. I will at least look at a logcat and help if its not a 10, but my demands have been expressed.

Also, for those with a 10.. Dont come in here and tell me its broke, not tell me anything relevant, have no logcat, and expect a fix...you will be meme flamed for my amusement...You have been warned. You should know better at this point!!!

Also: Since for right now, there is really only 1 good working configuration, you will need to look at 3rd post for settings. Please fiddle as you like, post settings that are better than mine.

Link v1

https://www.androidfilehost.com/?fid=673956719939816978 (Latest Version)

Enjoy

Hello dude i see you are starting like you sayd befor im just wondering what version you used like a base?

Arnova 1.6 or maybe 1.2 ?

Just wondering

Thanks for the Share will test it now!

Edit: Yes 1.6 i guess or perhaps 1.7 but the feel is like more 1.6

Yes this is the most stable build with all the options that we can have the only one thing we gona miss is the Pixel 2017 HDR+ ZSL the ZSL works only with this presets and since the new versions it doesnt work anymore the last time was worked fine on V 1.2

---------- Post added at 09:20 AM ---------- Previous post was at 08:54 AM ----------

Changelog/Bugs:

v1: Initial release

Bugs: No front HDR, Slo-mo crashes went set to 240fps (120 is fine), can only take picture with hdr+ enhanced on for rear, view finder is a little slow for portrait mode rear.

well i can take pictures with HDR+ and HDR+ Enhchanced from the Back camera so it is working fine not bug.
Also the Front HDR+ is working what i mean is it is made to work only In portrait MOD so when you shoot Portrait with the Front and you have HDR+ portrait camera enabled will get the effect this is how the build is mean to work so you can remove this from the Bugs it is not actually a bug.
 
Last edited:

aer0zer0

Recognized Contributor
Sep 20, 2013
3,295
2,529
Cortland NY
Hello dude i see you are starting like you sayd befor im just wondering what version you used like a base?

Arnova 1.6 or maybe 1.2 ?

Just wondering

Thanks for the Share will test it now!

Edit: Yes 1.6 i guess or perhaps 1.7 but the feel is like more 1.6

Yes this is the most stable build with all the options that we can have the only one thing we gona miss is the Pixel 2017 HDR+ ZSL the ZSL works only with this presets and since the new versions it doesnt work anymore the last time was worked fine on V 1.2

---------- Post added at 09:20 AM ---------- Previous post was at 08:54 AM ----------



well i can take pictures with HDR+ and HDR+ Enhchanced from the Back camera so it is working fine not bug.
Also the Front HDR+ is working what i mean is it is made to work only In portrait MOD so when you shoot Portrait with the Front and you have HDR+ portrait camera enabled will get the effect this is how the build is mean to work so you can remove this from the Bugs it is not actually a bug.

Arnova 1.7 beta 1

It will only take pics on hdr+ if it decides hdr should be used. If you turn hdr off, it won't work.

Yea, I'm aware of the work around for front hdr+. But you can't just have hdr+ on the front camera in normal mode. So it's a bug still until we find a better alternative camera that works.

You can be the tester @tsalta if you like. I explained how to put different GCAMS in the magisk zip, so you can find the perfect version.
 

tsalta

Senior Member
Dec 25, 2008
2,461
721
London
Arnova 1.7 beta 1

It will only take pics on hdr+ if it decides hdr should be used. If you turn hdr off, it won't work.

Yea, I'm aware of the work around for front hdr+. But you can't just have hdr+ on the front camera in normal mode. So it's a bug still until we find a better alternative camera that works.

You can be the tester @tsalta if you like. I explained how to put different GCAMS in the magisk zip, so you can find the perfect version.


Yes im planing to make one version same with 1.6 because 1.6 is more stable than 1.7 beta ad 1.7 in 1.6 will take pictures always with HDR+ or Enchanged whatever you want from the back camera.

and i think 1.6 is one idea faster no freeze slownes on the viewfinder
 

tsalta

Senior Member
Dec 25, 2008
2,461
721
London
@aer0zer0 i was planing to make another version but after alot of test the most stable build that work is 1.7 Beta 1 so thanks for the share.

I mean compared to the Other builds that have Portraid mode if not 1.2 is the most stable

Like ive sayd many times every build have some advantage and dissadvantages for example 1.2 is super fast and stable also has working Pixel config with ZSL in other hand do not have POrtrait

Well above 1.6 they have everything but the pixel config is not working and no ZSL at all.

Also i have some other builds that are Not Arnova diferent from different russian sites and i had the best Front + HDR+ mod and take amazing HQ selfies but only this is the advantage of the mod.

if we have somehow to make a mix like frankenstain from the mods we know who is best and work perfect to make One build that include all the things.

Thanks for the Magisk Module.
 

aer0zer0

Recognized Contributor
Sep 20, 2013
3,295
2,529
Cortland NY
@aer0zer0 i was planing to make another version but after alot of test the most stable build that work is 1.7 Beta 1 so thanks for the share.

I mean compared to the Other builds that have Portraid mode if not 1.2 is the most stable

Like ive sayd many times every build have some advantage and dissadvantages for example 1.2 is super fast and stable also has working Pixel config with ZSL in other hand do not have POrtrait

Well above 1.6 they have everything but the pixel config is not working and no ZSL at all.

Also i have some other builds that are Not Arnova diferent from different russian sites and i had the best Front + HDR+ mod and take amazing HQ selfies but only this is the advantage of the mod.

if we have somehow to make a mix like frankenstain from the mods we know who is best and work perfect to make One build that include all the things.

Thanks for the Magisk Module.

No problem, once Oreo hits, everything will be better, I'm sure
 

tsalta

Senior Member
Dec 25, 2008
2,461
721
London
You have a 10, right? The only thing I can think of is media_profiles.xml is not in the right spot.

Yes it is media Profile xml i never ever had Slow Mo to work no matter of the presets in best case just freeze and i found out that this heppand only in Viper Magisk ROM people who are with Lee Droid v 4 have Slow Mo working so im pretty sure its ROM related and thats why i leave it thats way i get tired of trying to fix it and just waiting the OREO.
 

aer0zer0

Recognized Contributor
Sep 20, 2013
3,295
2,529
Cortland NY
@tsalta have you tried older builds, like in the 1.4s I would sacrifice portrait mode for clean front and rear camera implementation. The 10 was my daily driver till I got a essential phone mid September. So I haven't messed with it much. Are the bsg versions any good?
 

aer0zer0

Recognized Contributor
Sep 20, 2013
3,295
2,529
Cortland NY
Yes it is media Profile xml i never ever had Slow Mo to work no matter of the presets in best case just freeze and i found out that this heppand only in Viper Magisk ROM people who are with Lee Droid v 4 have Slow Mo working so im pretty sure its ROM related and thats why i leave it thats way i get tired of trying to fix it and just waiting the OREO.

You have to add Google's preset media configs to media_profiles.xml that's how it works. 240 fc, since the sensor can't handle it.
 

tsalta

Senior Member
Dec 25, 2008
2,461
721
London
You have to add Google's preset media configs to media_profiles.xml that's how it works. 240 fc, since the sensor can't handle it.

I have the google preset for the slow motion but same the viewfinder freezes imideately when i press slow motion.

Anyway in the Magisk version u provide you have media profile xml with the settings and is the same if you have another idea how to add this google media configs let me know or write me them here to chek what i have now to see if they differ.

About the Gcam Mods.

I tested all of them by all i mean even builds that are not even listen on XDA.

for me Arnova 1.2 is one of the best for us because its fast and all HW levels are added to support level 3 so we HTC 10 users and many other devices that have and can handle camera 2 api have HW level 3 support.

In the 1.2 Bold Red build from Arnova even the Pixel 2017 ZSL HDR+ preset work in all conditions i never had a single crash there shooting day and night, the only one downside is that there is no Portrait MODE.

Another info like i mentioned befor i had one Build if you wish will upload it that it has the Most amazing fron Shooter with HDR+ it is based on BSG build but edited by some Russian folk from 4pda i used this mod only because of the front facing camera a slefie is about 5 mb in size Crisp and clear like you shoot it with back camera.

Other than that one of my Favorite as well is the ArtZ based Mod that is Pixel based Version 2.

Have everything working ZSL all is set to use Pixel configs have a Portrait Mod working and so on.

The only problem with this build is like i explain several times befor shooting in the dark when there is not Object to focus the app force crash it is somthing related to the Focus plus the Flash it is like the Flashligh do not work properpy in synhron with the Focus and the HDR+

but for a day and good light photos i got the best pictures with this ArtZ MOD.

---------- Post added at 03:55 PM ---------- Previous post was at 03:48 PM ----------

@tsalta have you tried older builds, like in the 1.4s I would sacrifice portrait mode for clean front and rear camera implementation. The 10 was my daily driver till I got a essential phone mid September. So I haven't messed with it much. Are the bsg versions any good?

Try this out just set up the camera on 1st run for Max Quality and shoot with the Front Camera in Good Light condition.

If we have somehow to see what settings use this apk for the front to implement in the 1.7 regular front will be Awesome.

https://drive.google.com/open?id=1wzNyFYW0C8Esz2yZb2M0-fvXTw_1p8Sf
 

aer0zer0

Recognized Contributor
Sep 20, 2013
3,295
2,529
Cortland NY
I have the google preset for the slow motion but same the viewfinder freezes imideately when i press slow motion.

Anyway in the Magisk version u provide you have media profile xml with the settings and is the same if you have another idea how to add this google media configs let me know or write me them here to chek what i have now to see if they differ.

About the Gcam Mods.

I tested all of them by all i mean even builds that are not even listen on XDA.

for me Arnova 1.2 is one of the best for us because its fast and all HW levels are added to support level 3 so we HTC 10 users and many other devices that have and can handle camera 2 api have HW level 3 support.

In the 1.2 Bold Red build from Arnova even the Pixel 2017 ZSL HDR+ preset work in all conditions i never had a single crash there shooting day and night, the only one downside is that there is no Portrait MODE.

Another info like i mentioned befor i had one Build if you wish will upload it that it has the Most amazing fron Shooter with HDR+ it is based on BSG build but edited by some Russian folk from 4pda i used this mod only because of the front facing camera a slefie is about 5 mb in size Crisp and clear like you shoot it with back camera.

Other than that one of my Favorite as well is the ArtZ based Mod that is Pixel based Version 2.

Have everything working ZSL all is set to use Pixel configs have a Portrait Mod working and so on.

The only problem with this build is like i explain several times befor shooting in the dark when there is not Object to focus the app force crash it is somthing related to the Focus plus the Flash it is like the Flashligh do not work properpy in synhron with the Focus and the HDR+

but for a day and good light photos i got the best pictures with this ArtZ MOD.

---------- Post added at 03:55 PM ---------- Previous post was at 03:48 PM ----------



Try this out just set up the camera on 1st run for Max Quality and shoot with the Front Camera in Good Light condition.

If we have somehow to see what settings use this apk for the front to implement in the 1.7 regular front will be Awesome.

https://drive.google.com/open?id=1wzNyFYW0C8Esz2yZb2M0-fvXTw_1p8Sf

So even using the magisk mod, slo- mo crashes? It works fine for me, just 240 crashes, 120 works fine
 

tsalta

Senior Member
Dec 25, 2008
2,461
721
London
So even using the magisk mod, slo- mo crashes? It works fine for me, just 240 crashes, 120 works fine

Yes even the Magisk Mod and i know this heppans in Viper ROM i don`t know why.

Im sure if i flash now LeeDroid will work but like i say im just waiting OREO
 

Top Liked Posts

  • There are no posts matching your filters.
  • 27
    I have created a Magisk based DIY GCAM port for our 10's. Basically, it installs everything you need for it to work, and you try/select whatever GCAM you think works the best. All this will do is enable the extra features for GCAM

    ***SLOMO NOT WORKING ON OREO FOR ME***

    Prerequisites:
    2.xx.xxx.xx Nougat Stock sense, not sure about LOS or others (you can try, no guarantees).
    3.xx.xxx.xx Oreo Stock sense, not sure about LOS or others (you can try, no guarantees).
    Magisk 15.0 or newer (Uses 1500 template)
    No Other GCAM installed (remove any prior to flashing magisk module)


    REMEMBER TO SET ALL SETTINGS AND FC ONCE BEFORE USE!!!!!


    What it does:

    It replaces media_profiles.xml in system/etc : this allows for HEVC and 60fps

    Oreo Version

    It adds ARCore and ARStickers to system/app
    It sets ro.config.calibration_cad=/system/etc/calibration_cad.xml
    It adds res_ctrl.conf to system/etc
    it updates all the various .xml files that have media settings within them


    This is a free-for-all zip, meaning i dont care if you modify it, pass it off to other groups, help anybody else, etc.
    I am not responsible if you get your phone messed up, it works for me, and for others. I will help as much as i can. Its a work in process, hopefully, it will make life easier for everybody. This is really close to being a DD, i will try other GCams as i find time. Im really waiting for Oreo on VZW, then ill really get into it. (AR Stickers, etc.)


    Also, this is a HTC 10 thread, and while i dont mind helping people (I want everybody to have a working GCAM) this magisk module, especially the media_profiles.xml is very very very 10 specific. You can however, do the legwork, use this zip as a template, and make one for your threads/personal use as well. And i dont mind. Just dont come in here without a logcat with some phone that's not a 10 and say its broke. I will at least look at a logcat and help if its not a 10, but my demands have been expressed.

    Also, for those with a 10.. Dont come in here and tell me its broke, not tell me anything relevant, have no logcat, and expect a fix...you will be meme flamed for my amusement...You have been warned. You should know better at this point!!!

    Thanks

    @Arnova8G2 Porting Gcam over to us, and listening to our needs
    @tsalta Getting everything moving along, and testing with me

    Link Nougat (DIY GCAM MOD)

    https://www.androidfilehost.com/?fid=890129502657598199

    Link Oreo (DIY GCAM MOD)

    https://www.androidfilehost.com/?fid=746010030569969249

    GCAM Repo

    https://www.celsoazevedo.com/files/android/google-camera/

    Old Versions Here

    https://www.androidfilehost.com/?w=files&flid=256412

    Enjoy :)
    8
    I converted my phone to Oreo us unlocked...building a deodex base, then hitting gcam and slomo
    6
    Changelog/Bugs:

    DIY GCAM MODS: Everything but GCAM, Pick the one you like the best and use this mod to get the extras to work.

    V31: Version back to 2 revs. 1: Skulshady V3.0, portrait works (6p or pixel 2017 zsl hdr +, that one has low light bug still), Tolyan009 v1.3.5, portrait doesnt work, more options (needs alot of configuration, pixel 2, 2017 pixel zsl hdr+ new, black level 64, hdr+ control on, turn off use google photos in debug settings)

    V30: Oreo and Nougat: Added HEVC Back in, Removed Lens (Built into photos now), some people say slomo works in oreo now, you tell me ;) Uses Arnova V7B6 Camera...too bad it's junk......

    V28: Cleaned up media_profiles_vendor.xml and added HEVC support. (Slo-Mo at least loads the viewfinder now, getting warmer :) )

    V24: Low Light/Flash Bugs fixed, increase sharpness might be better, still no slo-mo :(

    V23: Same oreo bugs

    v8 Nougat: Updated to arnova pixel2mod v6b14, probably the last good one
    v8 Oreo: Initial release, has b14, and AR stickers, need someone to test it on oreo.

    v7: 99.98% works, only "little" bug is if you take a low light/room is completely dark photo (front and rear), very rarely, but sometimes the camera app crashes.

    v1: Initial release

    Bugs: No front HDR, Slo-mo crashes went set to 240fps (120 is fine), can only take picture with hdr+ enhanced on for rear, view finder is a little slow for portrait mode rear.
    5
    Hello guys the new Build UriKill_MGC_5.1.018_FinalMOD_All_Inc IS SICK.

    https://www.celsoazevedo.com/files/android/google-camera/

    All Configs are working we got Zero Shutter LAG and All pixel configs, Super HDR+ on front is working fine as well, we got Auto and MANUAL FOCUS awesome.

    The build have Portrait Mod and Blur Mode implementation together. the HDR+ processing even on Super High its as fast as posible overal very very good build work like a charm the only thing i cant turn on is the Portrait Mod i think is a cosmetic because on other devices work will be good if someone with OREO test it because i think under OREO the portrait will work as well.
    5
    @aer0zer0
    If you don`t mind i decide to share with the others the BASE that i got from some Russians Folks. This is the most Stable Gcam for everyday Use based on B-S-G and have some awesome HDR+ on front!

    What we have here is:

    Working HDR+ on both Cameras, the Front HDR+ is amazing!
    Working Google Lense, Slow Motion, Video Recording but For Video Recording the Quality and the SOUND cant be compared to the HTC Stock camera Hi res Audio Recording and so on so i never really use Gcam for Video Recordings!

    The MOD have working Panaroma, Photo Sphere and Lens Blur, doesnt have Portrait Mode but this is a Build for everyday USE day and night

    I use to have installed another Version and use it only for Portraists Thats it.

    Optimal Settings are:

    MODEL: Pixel XL Corr
    Config Camera HDR+ Pixel 2017 ZSL HDR+
    HDR+ Parameters = Super High
    Final JPG Quality = 100%

    This is very snappy and fast stable Build with Superb Image quality!
    And most important we can use ZSL and the Pixel presets.

    this is the only one Build that have so crazy HDR+ on front!

    ENJOY

    https://drive.google.com/open?id=1859LkpPX4aze0EhZ1cj8cSmxjoRbKiY_
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone