[APP][STOCK][PORT] ASUS Snapdragon Camera from STOCK ROM

Search This thread

Tyakrish

Senior Member
Jun 13, 2016
430
288
Asus Zenfone Max Pro M2
Asus Stock Snapdragon Camera from the latest Stable Pie...

Just flash the zip from the link below via any recovery and enjoy ! :)

Now ported to Android 10 as well !
Android 10 ROMs on which confirmed to be working:
CRDroid 6
EVO-X 3.3
HavocOS 3

What's Working:
- Everything (Please don't read the bug section)

Bugs:
Unfortunately I have tried a lot to fix the below bugs, but I lack the kind of reverse engineering knowledge that pro Google Camera Modders have. So I guess just pretend that its bug-free.
:p
- Pics can't be saved to External Storage
- Beauty Mode not working. Please use another app to increase your nonexisting beauty :p
- (On Android 10 ROMs) The app might not appear in the launcher. Check out troubleshooting section.

For Pie ROMs -
Filename: AsusPieCam11.1P.zip
Download:
https://drive.google.com/file/d/1bdeOv21pkoTPvKPgIiI1CwZUintuvKyo/view?usp=sharing
SHA-1: 283f0d517fa14dcf0de1790b8a3ccad1f575b880

For Android 10 ROMs -
Filename: AsusPieCam11Q.zip
Download:
https://drive.google.com/file/d/10gRbXRrVNbP5cIqKN4rbPkS3lEGAlFow/view?usp=sharing
SHA-1: 124ea5a1f5212dedefa72273224603231c3d8880

Special Thanks to these people for helping me out on many occasions:
@legacy07
@bauuuuu (Fixing selfie flash and integrating the camera and fixes in device tree)
@Skssbss

P.S.
This is my first work on XDA and I would be highly motivated to continue it, if you hit the thumbs up button... :)
If you like my work, you can buy me a coffee:
https://www.paypal.me/tyakrish

If any problems after flashing zip, pls refer to the Troubleshooting section.
I take no responsibility of any ports to other devices, if any doubts, contact the porters.
 
Last edited:

Tyakrish

Senior Member
Jun 13, 2016
430
288
Asus Zenfone Max Pro M2
TROUBLESHOOTING

General Troubleshooting:
https://forum.xda-developers.com/ma...us-camera-pie-stock-rom-t3910834/post79522285

Troubleshooting for people for whom the app does not appear in the launcher:
https://forum.xda-developers.com/ma...us-camera-pie-stock-rom-t3910834/post81293849


CHANGELOG

26-Dec-2019
- Same zip as 11P, just included the fix apk which I posted before for Pie ROMs. Now the 11.P zip should work on all Pie ROMs regardless of signature.

21-Dec-2019
- Ported Camera from 1912.072
- Camera version has been bumped up to 1457
- Tighter integration with the Android System, due to changed apk signature, from Asus' signature to Aosp platform signature and small edits to the app.
- (Q specific) Some more edits were made to the apk, to be able to work on Q. Crashes were fixed.
- (Q specific) Edited edify flash script, so that the app is installed in the correct location. Due to changes in Android 10, the zip contents are now installed to /system/system.
- Removed most permissions which have no need to be explicitly granted as priv-app permissions in the xml.

12-Dec-2019
- Ported Camera from WW 1910.071
- Camera version bumped up to 1287
- Optimized updater script:
* Properly added symlinks to libs
* Added proper file system permissions
- Removed 2-3 unnecessary priv-app permissions

23-Sept-2019
- Ported Camera from WW 1908.070
- Camera version bumped up to 1280
- Continuous Shot has been fixed in some ROMs based on @kubersharma lineage tree. Tested on CRDroid. Thanks @kubersharma

14-July-2019
- Ported Camera from WW(India) 1906.067

5-July-2019
- Ported Camera from JP 1906.066

21-June-2019
- Fixed high screen brightness in the app. Also the screen brightness is now adjustable via brightness slider.

22-April-2019
- Ported Asus Camera from latest Stable Pie 1905.65

18-April-2019
- Fixed updater-script to prevent conflicts between old oreo Asus Camera libs and new stuff from Stable Pie Asus Camera

17-April-2019
- Ported Asus Snap Camera from latest Stable Pie
- Added proper priv-app permissions as required by the camera.
- Fixed storage of media to external sdcard (Media on external sdcard will be stored in "/Android/data/org.codeaurora.snapcam/files". Unfortunately I cannot do anything about it. Its a limitation of Android)
- Permanently fixed Window Animation Scale doubling issue (Issue was present with the Pie version as well the Pie Beta version of the camera)

23-March-2019
- Added Camera Calibration app from STOCK Oreo
- Adjusted locations of libraries

15-March-2019
- Fixed Window Animation Scale doubling issue (Ported Stock Asus Camera from STOCK OREO WW-15.2016.1902.192)
- Latest Asus Camera Improvements and AI Scene Detection

14-March-2019
- Initial Release (Ported Stock Asus Camera from PIE BETA WW-16.2017.1901.046)
 
Last edited:

X10MINISTER

Senior Member
Jul 17, 2016
157
32
Hello Guys, I finally managed to port Asus Stock Snapdragon Camera from the latest Pie BETA ROM...

Just flash the zip from the link below via any recovery and enjoy ! :)

Working: Almost Everything, except known bugs...

Known bugs: Front Flash

P.S.
This is my first work on XDA and I would be highly motivated to continue it, if you hit the thumbs up button... :)

Download Link: https://drive.google.com/uc?id=1VT37j60CpDNpCJd7M6hxNEUGKHTikI5Y

Hope u'll manage to fix it on the next update..goodluck.
I think there's bug on depth effect/portrait mode on rear facing camera..it's blank when on the mode,sometimes it's in green solid color.. Let me know if it's only me..
 
Last edited:

Arkapravoarka

Senior Member
Aug 6, 2016
104
27
Bangalore
Xiaomi Poco X3 NFC
I was in need of this in my Pixel experience.
Please fix the rear portrait mode, thanks

---------- Post added at 06:18 AM ---------- Previous post was at 06:16 AM ----------

Can you post screenshots or logs of the issue ? Because I am not facing any such problem here... Also tell me which ROM, you are using...
I had already installed oneplus cam as system camera. that was causing the problem, its solved now. I'm on pixel experience
 

rohanpls

Senior Member
Jan 22, 2019
64
206
Asus Zenfone Max Pro M2
OnePlus 7T
Hello Guys, I finally managed to port Asus Stock Snapdragon Camera from the latest Pie BETA ROM...

Just flash the zip from the link below via any recovery and enjoy ! :)

Working: Almost Everything, except known bugs...

Known bugs:
1) Front Flash
2) Rear Depth/Portrait Mode
3) Window Animation scale doubles up everytime, upon opening the app

P.S.
This is my first work on XDA and I would be highly motivated to continue it, if you hit the thumbs up button... :)

Download Link: https://drive.google.com/uc?id=1VT37j60CpDNpCJd7M6hxNEUGKHTikI5Y

Hey, I think I found a solution for animation scale bug and I have fixed it.
here is the link: https://drive.google.com/open?id=1ToBnFJEwA5ml4LfQBVYZf4676JJC8M7m
 

Tyakrish

Senior Member
Jun 13, 2016
430
288
Asus Zenfone Max Pro M2
Hey, I think I found a solution for animation scale bug and I have fixed it.
here is the link: https://drive.google.com/open?id=1ToBnFJEwA5ml4LfQBVYZf4676JJC8M7m
I think I know what you did... You removed the SET_ANIMATION_SCALE permission right ?
But I had also tried it... It still doesn't work ... Window Animation still doubles...

Anyway that is not needed now, since I have ported Stock Oreo Cam from latest Oreo OTA update ... It fixes the window animation issue.... Plus it comes with latest camera enhancements by Asus like AI Scene Detection
 
  • Like
Reactions: xenolith190

rohanpls

Senior Member
Jan 22, 2019
64
206
Asus Zenfone Max Pro M2
OnePlus 7T
I think I know what you did... You removed the SET_ANIMATION_SCALE permission right ?
But I had also tried it... It still doesn't work ... Window Animation still doubles...

Anyway that is not needed now, since I have ported Stock Oreo Cam from latest Oreo OTA update ... It fixes the window animation issue.... Plus it comes with latest camera enhancements by Asus like AI Scene Detection
Link please? Works with custom pie rom?
 

Ben10Tom

Member
Nov 24, 2014
45
8
Bangalore
Bug: Unable to turn Shutter Sound Off

Hello Guys, I finally managed to port Asus Stock Snapdragon Camera from the latest OREO ROM...

Just flash the zip from the link below via any recovery and enjoy ! :)

Working: Almost Everything, except known bugs...

Known bugs:
1) Front Flash
2) Rear Depth/Portrait Mode

P.S.
This is my first work on XDA and I would be highly motivated to continue it, if you hit the thumbs up button... :)

Download Link: https://drive.google.com/uc?id=14-tqL4f5D_q-W3Qkmq2yHyKlxS-IxBq0&export=download

Thank you for the port! It works well and takes some good pictures.

Just wanted to let you know of (possibly) a bug that I am facing. I am unable to turn the shutter sound off. It is showing that it is 'disabled' but the sound still persists when I take pictures.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 60
    Asus Stock Snapdragon Camera from the latest Stable Pie...

    Just flash the zip from the link below via any recovery and enjoy ! :)

    Now ported to Android 10 as well !
    Android 10 ROMs on which confirmed to be working:
    CRDroid 6
    EVO-X 3.3
    HavocOS 3

    What's Working:
    - Everything (Please don't read the bug section)

    Bugs:
    Unfortunately I have tried a lot to fix the below bugs, but I lack the kind of reverse engineering knowledge that pro Google Camera Modders have. So I guess just pretend that its bug-free.
    :p
    - Pics can't be saved to External Storage
    - Beauty Mode not working. Please use another app to increase your nonexisting beauty :p
    - (On Android 10 ROMs) The app might not appear in the launcher. Check out troubleshooting section.

    For Pie ROMs -
    Filename: AsusPieCam11.1P.zip
    Download:
    https://drive.google.com/file/d/1bdeOv21pkoTPvKPgIiI1CwZUintuvKyo/view?usp=sharing
    SHA-1: 283f0d517fa14dcf0de1790b8a3ccad1f575b880

    For Android 10 ROMs -
    Filename: AsusPieCam11Q.zip
    Download:
    https://drive.google.com/file/d/10gRbXRrVNbP5cIqKN4rbPkS3lEGAlFow/view?usp=sharing
    SHA-1: 124ea5a1f5212dedefa72273224603231c3d8880

    Special Thanks to these people for helping me out on many occasions:
    @legacy07
    @bauuuuu (Fixing selfie flash and integrating the camera and fixes in device tree)
    @Skssbss

    P.S.
    This is my first work on XDA and I would be highly motivated to continue it, if you hit the thumbs up button... :)
    If you like my work, you can buy me a coffee:
    https://www.paypal.me/tyakrish

    If any problems after flashing zip, pls refer to the Troubleshooting section.
    I take no responsibility of any ports to other devices, if any doubts, contact the porters.
    8
    TROUBLESHOOTING

    General Troubleshooting:
    https://forum.xda-developers.com/ma...us-camera-pie-stock-rom-t3910834/post79522285

    Troubleshooting for people for whom the app does not appear in the launcher:
    https://forum.xda-developers.com/ma...us-camera-pie-stock-rom-t3910834/post81293849


    CHANGELOG

    26-Dec-2019
    - Same zip as 11P, just included the fix apk which I posted before for Pie ROMs. Now the 11.P zip should work on all Pie ROMs regardless of signature.

    21-Dec-2019
    - Ported Camera from 1912.072
    - Camera version has been bumped up to 1457
    - Tighter integration with the Android System, due to changed apk signature, from Asus' signature to Aosp platform signature and small edits to the app.
    - (Q specific) Some more edits were made to the apk, to be able to work on Q. Crashes were fixed.
    - (Q specific) Edited edify flash script, so that the app is installed in the correct location. Due to changes in Android 10, the zip contents are now installed to /system/system.
    - Removed most permissions which have no need to be explicitly granted as priv-app permissions in the xml.

    12-Dec-2019
    - Ported Camera from WW 1910.071
    - Camera version bumped up to 1287
    - Optimized updater script:
    * Properly added symlinks to libs
    * Added proper file system permissions
    - Removed 2-3 unnecessary priv-app permissions

    23-Sept-2019
    - Ported Camera from WW 1908.070
    - Camera version bumped up to 1280
    - Continuous Shot has been fixed in some ROMs based on @kubersharma lineage tree. Tested on CRDroid. Thanks @kubersharma

    14-July-2019
    - Ported Camera from WW(India) 1906.067

    5-July-2019
    - Ported Camera from JP 1906.066

    21-June-2019
    - Fixed high screen brightness in the app. Also the screen brightness is now adjustable via brightness slider.

    22-April-2019
    - Ported Asus Camera from latest Stable Pie 1905.65

    18-April-2019
    - Fixed updater-script to prevent conflicts between old oreo Asus Camera libs and new stuff from Stable Pie Asus Camera

    17-April-2019
    - Ported Asus Snap Camera from latest Stable Pie
    - Added proper priv-app permissions as required by the camera.
    - Fixed storage of media to external sdcard (Media on external sdcard will be stored in "/Android/data/org.codeaurora.snapcam/files". Unfortunately I cannot do anything about it. Its a limitation of Android)
    - Permanently fixed Window Animation Scale doubling issue (Issue was present with the Pie version as well the Pie Beta version of the camera)

    23-March-2019
    - Added Camera Calibration app from STOCK Oreo
    - Adjusted locations of libraries

    15-March-2019
    - Fixed Window Animation Scale doubling issue (Ported Stock Asus Camera from STOCK OREO WW-15.2016.1902.192)
    - Latest Asus Camera Improvements and AI Scene Detection

    14-March-2019
    - Initial Release (Ported Stock Asus Camera from PIE BETA WW-16.2017.1901.046)
    6
    BIG UPDATE:
    I was able to successfully port Snapcam to Android 10.
    From now on, there will be two versions of the camera shared on this thread; one for Pie ROMs and the other for Q ROMs

    Tested on CRDroid 6, EVO X 3.3, HavocOS 3.0 (Android 10) ROMs
    Thanks to @Praveen Pannu for testing

    Bugs: As of now, the bugs are the same as mentioned in the first post of this thread.

    If the camera is not opening up properly or some functions like depth mode is not working or showing a black screen, it maybe due to persist issue after installing Android 10. Learn more here:
    https://forum.xda-developers.com/ma...n-fixing-persist-issues-t4024247/post81288631

    Those people for whom the app does not appear in the launcher after flashing, see this post:
    https://forum.xda-developers.com/ma...us-camera-pie-stock-rom-t3910834/post81293849

    Download links in the first thread.

    CHANGELOG:
    21-Dec-2019
    - Ported Camera from 1912.072
    - Camera version has been bumped up to 1457
    - Tighter integration with the Android System, due to changed apk signature, from Asus' signature to Aosp platform signature and small edits to the app.
    - (Q specific) Some more edits were made to the apk, to be able to work on Q. Crashes were fixed.
    - (Q specific) Edited edify flash script, so that the app is installed in the correct location. Due to changes in Android 10, the zip contents are now installed to /system/system.
    - Removed most permissions which have no need to be explicitly granted as priv-app permissions in the xml.

    It took me many nights to figure out what was not working and why. If you like my work and want to support me, you can buy me a coffee here:
    https://www.paypal.me/tyakrish
    5
    Update:

    14-July-2019
    - Ported Camera from WW(India) 1906.067

    Filename: AsusPieCam8.zip
    Checksum (SHA-1):
    3319c2565a95ecdb241ec6bb82e013e71a2e4864
    5
    Unfortunately I have tried everything to fix the Signature issue which happens in some Android 10 ROMs. But I have run out of ideas. The test apk for Android 10 gives the "Critical Permissions missing" issue which we had seen earlier. The only way that I could fix it was sign the apk with Aosp test keys which are used in most custom ROMs.
    Unfortunately popular ROMs like Lineage and probably Pixel Experience, use their own private keys for signing their ROMs and not the default Aosp test keys. I can't possibly sign the app with keys which aren't accessible to the public.

    The only way, the camera might appear in launcher and work on these ROMs is if it is included in the ROM by ROM developers. So future zips for Android 10 will only work on some ROMs, but others will have to request their ROM developers to include the updates in their ROM.

    Also, I would like to inform users once again that for TWRP users, with the similar issue of app not appearing in launcher, is not related to this issue. So for people using TWRP check the 2nd post of this thread. Even after following the troubleshooting steps, still it doesn't appear then it will be the Signature issue.

    Don't lose hope though. In the future, this might change if I get another idea or when Asus releases Q for our device. But for now, I am concluding this issue. Stay awesome guys :)