Skip to content

Commit

Permalink
added official module files
Browse files Browse the repository at this point in the history
  • Loading branch information
ngdplnk committed Nov 17, 2024
1 parent 3e83536 commit 19edd59
Show file tree
Hide file tree
Showing 20 changed files with 91 additions and 2,501 deletions.
File renamed without changes.
File renamed without changes.
59 changes: 46 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,60 @@
# a73xq-stockcammods

<p align="center">
<img src="https://raw.githubusercontent.com/ngdplnk/a73xq_stockcammods/refs/heads/main/icon.png" alt="SSTools4MC Icon" width="400" />
<img src="https://raw.githubusercontent.com/ngdplnk/a73xq_stockcammods/refs/heads/main/banner.png" alt="a73xq-stockcammods banner" width="400" />
</p>

Modded A73 5G's camera-feature.xml based on S23/24 Ultra configs.
Enhanced features for your Galaxy A73 5G's Stock Camera based on S24 Ultra configs.

To use this mods, download the desired file and make sure to rename it to `camera-feature.xml`. Then, with root access and using ADB or a File manager, replace the existent file in `/system/cameradata` with the downloaded one. Clear the Camera app's data, force close it, and enjoy!
## Features
<details>
<summary>Click here to expand</summary>
This module allows you yo use the following features:

## For OneUI 6.1.1
- High bitrate recording.

> [!IMPORTANT]
> - Zooming in on 1080p120fps over 6.6x crashes the camera.
- Dual Rec and Fun modes.

- [Latest camera-feature.xml](https://github.com/ngdplnk/a73xq_stockcammods/blob/main/oneui-6/camera-feature.xml)
- Pro/Pro Video on Front Camera.

- [Latest RAW Enabled camera-feature.xml](https://github.com/ngdplnk/a73xq_stockcammods/blob/main/oneui-6/camera-featureRAW.xml)
- UW Cam support on Pro.

- [STOCK camera-feature.xml](https://github.com/ngdplnk/a73xq_stockcammods/blob/main/oneui-6/camera-featureSTOCK.xml)
- RAW copies on Pro mode.

- 1000 burst shot max count limit.

## Acknowledgements
Thanks to [Surfeur-des-reves](https://forum.xda-developers.com/m/surfeur-des-reves.1042515/) and [dr.ketan](https://xdaforums.com/m/dr-ketan.3931450/) on XDA for giving me the example [S23 Ultra camera-feature.xml](https://github.com/ngdplnk/a73xq_stockcammods/blob/main/examples/camera-featureS23U.xml) and [S24 Ultra camera-feature.xml](https://github.com/ngdplnk/a73xq_stockcammods/blob/main/examples/camera-featureS24U.xml) respectively, making the existence of these mods possible.
- New video resolutions:

All resolutions available for Main Camera:
- 4k 30/24fps
- QHD 60/30fps
- 1080p 24/30/60fps
- 720p 30fps

All resolutions available for Front Camera:
- 4k 30/24fps
- QHD 30fps
- 1080p 24/30/60/120fps
- 720p 30fps

FOR A73 5G ONLY - BY [@ngdplnk](https://github.com/ngdplnk) AND [@utkustnr](https://github.com/utkustnr)

- Pro Video features like Histogram, Sound level, Mic input control, Zoom rocker.

- Super Slow-mo capture duration time switch (0.4/0.8s).

- Single Take Highlight Videos, Slow-mo Clips, Collages and multi-camera.

- Front Camera Bokeh effects: Blur, Big circle, Spin, Zoom, Color Point.

- Night/Astro Hyperlapse.

- Anamorphic lens and DOF adapter settings on Camera Assistant.
</details>

## [📥Latest module for OneUI 6 - 6.1.1](https://github.com/ngdplnk/a73xq_stockcammods/releases/latest/download/a73xq-stockcammods.zip)

**If you are using KernelSU, toggle `Umount modules` OFF for the Camera app to get the mods working!!!**

## About and acknowledgements
Mods created and mantained with ❤️ by [@ngdplnk](https://github.com/ngdplnk). For A73 5G only.

Special thanks to [@utkustnr](https://github.com/utkustnr) :shipit:
File renamed without changes
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# First Release

- Say hi to the new module!
26 changes: 26 additions & 0 deletions customize.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
if [ "$API" -lt 34 ]
then
ui_print "! Unsupported SDK: $API"
abort "! Minimal supported SDK is 34 (Android 14/ OneUI 6)"
else
ui_print "- Device SDK is valid: $API"
fi

ui_print "- Remounting..."
mount -o rw,remount /system

ui_print "- Unlocking features..."
cp -f "${MODPATH}/system/cameradata/camera-feature.xml" "/system/cameradata/camera-feature.xml"
chmod 644 "/system/cameradata/camera-feature.xml"
chown root:root "/system/cameradata/camera-feature.xml"
mount -o ro,remount /system

ui_print "- Forcing camera stop..."
am force-stop com.sec.android.app.camera

ui_print "- Clearing camera data..."
pm clear com.sec.android.app.camera

ui_print "Reboot is required."
ui_print "If you are using KernelSU, toggle 'Umount modules' OFF for the Camera app to get the mods working!!!"
ui_print "Enjoy your new camera features!"
306 changes: 0 additions & 306 deletions examples/camera-featureS23U.xml

This file was deleted.

318 changes: 0 additions & 318 deletions examples/camera-featureS24U.xml

This file was deleted.

7 changes: 7 additions & 0 deletions module.prop
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
id=a73xq-stockcammods
name=A73 5G Stock Camera Mods
version=v1.0 for OneUI 6.X
versionCode=6100
author=@ngdplnk & @utkustnr
description=Enhanced features for your Galaxy A73 5G's Stock Camera based on S24 Ultra configs.
updateJson=https://raw.githubusercontent.com/ngdplnk/a73xq_stockcammods/main/update.json
Binary file removed module/camera-feature.zip
Binary file not shown.
6 changes: 0 additions & 6 deletions module/module.prop

This file was deleted.

9 changes: 0 additions & 9 deletions module/post-fs-data.sh

This file was deleted.

Loading

0 comments on commit 19edd59

Please sign in to comment.