Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

Commit

Permalink
Release v0.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
PkmX committed Nov 22, 2014
1 parent 9365d0f commit 6fe5bc3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="pkmx.lcamera"
android:versionCode="1"
android:versionName="0.1">
android:versionCode="2"
android:versionName="0.2">
<uses-sdk android:minSdkVersion="21"
android:targetSdkVersion="21" />
<uses-permission android:name="android.permission.CAMERA" />
Expand Down
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

![Screenshot](screenshot.jpg?raw=true)

**L Camera** is an open-source experimental camera app for Android L devices using the new `android.hardware.camera2` API. Currently, the only supported device is Nexus 5 running Android 5.0 Lollipop.
**L Camera** is an open-source experimental camera app for Android L devices using the new `android.hardware.camera2` API. Currently, the only supported device is Nexus 5 and Nexus 6 running Android 5.0 Lollipop.

*Please note that this app is intended to test and study new features of the camera API, it is not for general uses as it lacks many basic camera features (location tagging, white balance, photo review, flash control, etc).*

Expand All @@ -18,11 +18,12 @@ Slow motion video recorded with a Nexus 5: https://www.youtube.com/watch?v=iKAvN

* True manual focus (adjustable focus distance)
* Manual exposure time (0.8" to 1/75000)
* Manual ISO (100 to 10000)
* Manual ISO (40 to 10000)
* DNG output support
* 30-fps full-resolution burst capture with focus stacking & exposure bracketing in DNG
* 30-fps full-resolution video recording
* Experimental 60-fps video recording at 1080p
* 30-fps full-resolution (3264x2448) video recording on Nexus 5
* 30-fps 4K UHD (3840x2160) video recording on Nexus 6
* Experimental 60-fps video recording at 1080p on Nexus 5
* Material design

## Installation
Expand Down Expand Up @@ -60,11 +61,11 @@ Most RAW post-processing programs should be able to open them. While Adobe Light
[A short DNG editing tutorial using RawTherapee](http://imgur.com/a/ZpEPP#0).

### 60 FPS Recording
First, see [pkmx/lcamera#4](https://github.com/PkmX/lcamera/issues/4#issuecomment-61356241) for limitations of this modification.
First, see [pkmx/lcamera#4](https://github.com/PkmX/lcamera/issues/4#issuecomment-61356241) for limitations of this modification. This modification is only available for Nexus 5.

To enable 60fps recording, a system library `/system/lib/libmmcamera_imx179.so` needs to be replaced with a modified version. The following is a simplified walkthrough of the process. *Note that this is a very hacky solution and I'm not responsible for any damages done to your system or device. Approach at your own risk and make sure you understand what you are doing.*

1. You must have root access and busybox installed on your Nexus 5. (The latter is not strictly required, but makes the process easier as it provides `install` and `killall`.)
1. You must have root access and [busybox](https://play.google.com/store/apps/details?id=stericson.busybox) installed on your Nexus 5. (The latter is not strictly required, but makes the process easier as it provides `install` and `killall`.)
2. Download `libmmcamera_imx179_lrx21o.so` from the [release](https://github.com/PkmX/lcamera/releases) page and transfer it to the device. (The following assumes that it is located in `/sdcard/`.)
3. Launch a root shell.
4. Make a backup of the original library first: `cp /system/lib/libmmcamera_imx179.so /sdcard/libmmcamera_imx179_original.so`
Expand All @@ -81,7 +82,7 @@ The camera should now be able to record at 60fps and you can choose 60fps option
It seems that none of those devices fully support the new API as of now (2014/11/17). If you want to verify, enable verbose output outlined in the "Debugging" section below, and check the output from `logcat`. You should see a dump of your device cameras' capabilities like [this](https://gist.github.com/PkmX/fefff90bab3b6eb2847f) when L Camera is started. Your camera's `android.request.availableCapabilities` must include 1 (MANUAL_SENSOR), 2 (MANUAL_POST_PROCESSING) and 3 (RAW) for L Camera to work.

### Why do I get the 'Cannot parse package' error while installing?
Make sure the downloaded apk is not corrupted, as it seems some browsers download GitHub's webpage instead of the actual apk. You must also have the Lollipop running on your Nexus 5.
Make sure the downloaded apk is not corrupted, as it seems some browsers download GitHub's webpage instead of the actual apk. You must also have the Lollipop running on your device.

### Does it need root?
No. However, it is needed if you want to record videos at 60fps as a system library needs to be modified.
Expand Down Expand Up @@ -123,7 +124,7 @@ Please report any bugs or feature requests on GitHub's issue tracker.

## Credits

* Martin Wawro: for his support in enabling 60fps video recording
* Martin Wawro: for his support in enabling 60fps video recording on Nexus 5

## License

Expand Down

0 comments on commit 6fe5bc3

Please sign in to comment.