Related
Instead of trying to keep up on the two CM threads that are already going and talking about the exact same things I figured I would start up a new thread and see if this fixes anything.
--------------
I will admit... I don't know jack about programming... but I am good at messing with stuff and seeing if it works. I got a little bored tonight and noticed there was a new change to the MIUI ROM that adds 720p recording. So being Halloween... why not Frankenstein a little!
I grabbed the camera.apk from the MIUI ROM (its an AOSP ROM.. so it should work right? lolz). Copied it over to my clean install of CM6.1 RC2 and boom... no crashing recording using 720p.
I have recorded about 30 videos now that are anywhere from 2 seconds in length to 5 minutes... one after another... without a crash.
There are a couple options missing that CM has... but I think this would be a good start to resolving the issues.
Please keep in mind.... there are a couple things you will need to do.
1. Download the following APK. (see below)
2. Using root explorer... browse to /system/app and check the current permissions for the existing camera.apk. It should be rw-r--r--.
3. Copy the downloaded camera.apk and replace the one in /system/app.
4. Change the permissions of the new camera.apk to rw-r--r--.
5.Close root explorer and reboot your phone.
6. Open the camera app, switch to camcorder. Using the onscreen menu, change the quality setting from high to custom.
6. Now select the top option to change the video quality. Select 720p.
7. Profit.
If you don't know how to change permissions... or know how to copy apks... please.. please.. please don't do this. If you are comfortable with it... let me know if it keeps crashing.
I know it doesn't have all the fancy settings the CM camera does... but I think this may be a very good step forward. So far.. It hasn't crashed out on me.
If you are going to do this and record one video and say its fixed... please dont bother. We need REAL testing.
The camera.apk can be downloaded here....
http://www.mediafire.com/?q9y8zst9aeqlgc7
Thanks all... if this ends up not working... I blame the to much beer.
If it does... we may be on a good start to getting this fixed. Cheers.
Oh yea... if you are using the camcorder.. you can turn of the screen and it wont force close when you turn it back on. Win.
Here's an update.zip for it. Flash via recovery. Also added the original CM camera from the Incredible build. I'll post a few cameras for you guys to test.
Thanks goes to the OP for getting this in motion.
touchpro247 said:
Here's an update.zip for it. Flash via recovery.
Click to expand...
Click to collapse
Thank you... I'll admit it... I fail. lol. Just trying to be of some help getting this fixed.
I have tried the Nexus camera.apk in the past... it had the same issue.
It seems that the 720p issue exists on most if not all of the CM builds.
The only difference I see from face value is that CM camera builds have the crazy auto focus. If you are in a quiet place, listen to the camera itself. It physiclly moves inside the housing.
If you ever happen to hear the camcorder app FC, you can hear a little "click" right before it force closes. That is the camera lens moving.
It appears that the auto focus is messing everything up. Without autofocus (the MIUI camera.apk)... everything appears to work as it should.
As soon as you throw in the fancy auto focus stuff... it causes crashes.
Food for thought. I don't know a lot about it... but progress is progress.
Thank you for a zip version, Root explorer doesn't work on AOSP roms for me, is this common across the board?
mikeymop said:
Thank you for a zip version, Root explorer doesn't work on AOSP roms for me, is this common across the board?
Click to expand...
Click to collapse
Works for me. Are you sure you gave it root access in SU with the remember button ticked?
Also, good to see that somebody took the initiative. I had posted in the CM forum this afternoon that the MIUI Rom had functioning cam but nobody seemed to notice and I don't have much skills - glad to see camalus did - going to try this right away...
http://forum.xda-developers.com/showthread.php?p=8931211#post8931211
I swapped the MIUI camera with root explorer and recorded 10 videos in 720p. The camera didn't fc on me at all. The videos looked good and playbacked smoothly on my phone and computer. The camera at times would get hung up for a second or two but I'm not complaining at all. Got a working camera now!
I just found that if you turn the focus mode to off in the camera settings with the camera that comes with cm6, this also allows you to record in 720p with no force closes. Funny its such an easy fix. As long as auto focus doesn't mean the world to you.
I have suspected for a while that the auto focus was causing issues.
I just loaded the patch on the newest nightly... no fc either.
I sent a message to koush on twitter. Hoping his intelligence can pinpoint this in more depth.
Here's to hoping!
Sent from my ADR6300 using XDA App
Anyone else testing this? Could use more help here.
Sent from my ADR6300 using XDA App
camalus said:
Anyone else testing this? Could use more help here.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Works perfectly for me. Taken 4 test videos in quick succession, no issues whatsoever.
Did not realize this was even an open issue. I believed this was already in the CM6.1 chain for inclusion in RC3 or whatever.
Ok. Just wanted to report my findings after flashing the zip file. The only settings I change in the camera was quality to custom in order to get the 720 resolution enabled.
Video #1: 1 min, 22 sec
I stopped recording of first video and without closing the camera app I started a 2nd video,
Video #2: Started recording and the camera freezed (FC would have been better) after 22 seconds. Had to pull out the battery to restart the phone.
In summary, is still not fixed. I'll revert back to the original Camera.apk.
Androidnite said:
Ok. Just wanted to report my findings after flashing the zip file. The only settings I change in the camera was quality to custom in order to get the 720 resolution enabled.
Video #1: 1 min, 22 sec
I stopped recording of first video and without closing the camera app I started a 2nd video,
Video #2: Started recording and the camera freezed (FC would have been better) after 22 seconds. Had to pull out the battery to restart the phone.
In summary, is still not fixed. I'll revert back to the original Camera.apk.
Click to expand...
Click to collapse
What version of CM are you running? What kernel? Did you do a full wipe before trying this?
camalus said:
What version of CM are you running? What kernel? Did you do a full wipe before trying this?
Click to expand...
Click to collapse
I did not flash the zip file and instead did it manually and it works for me.
Sent from my ADR6300 using XDA App
camalus said:
What version of CM are you running? What kernel? Did you do a full wipe before trying this?
Click to expand...
Click to collapse
I had a clean install:
1) wipe data/cache/dalvik
2) Install CM6.1 RC2
3) Install gapps
4) Wipe dalvik
5) Flash Adrynalyne's kernel: I have SLCD and the stock kernel does not work for me
6) Reboot until the homescreen
7) Go to recovery and flash camery fix
8) Reboot to homescreen and try camera
Which camera did you install the MIUI or CM6?
Sent from your mom's phone
masully1984 said:
Which camera did you install the MIUI or CM6?
Sent from your mom's phone
Click to expand...
Click to collapse
The CM6 one
Androidnite said:
The CM6 one
Click to expand...
Click to collapse
The MIUI camera has the fix, not the CM one.
Fretless said:
The MIUI camera has the fix, not the CM one.
Click to expand...
Click to collapse
LOL!!!! So why they posted a separate CM6 one? Are you saying you were able to use the MIUI one with CM6?
Androidnite said:
LOL!!!! So why they posted a separate CM6 one? Are you saying you were able to use the MIUI one with CM6?
Click to expand...
Click to collapse
Yes. The MIUI adds the 720p non-fc functionality, or at least it has so far.
The fix below has been merged into the nightlies!! expect to see it on the 23rd.
If you're impatient, you can install a compiled version of the apk from recovery...
---------------
The camera issue is for ALL of cyanogenmod, not just us dinc users.
I've grabbed some of the patches that are being worked on and put some of my own work into it.
Please let me know what you find.
For me, it crashes almost every single time if I use continuous focus, but it's fine with infinity.
Screen off and on works without FC, but the camera is hard coded to not allow recording with screen off.
1. Backup
2. Flash aosp-camera-fix-v1.0.zip
3. reboot..
flashed
Just flashed, off to a meeting but will report back shortly. I would love to be able to shoot video in 720.
in to see the responses
no issues
No FC in continuous or infinity mode. Shot about 10 minutes of video in both. Screen off then on kills recording. Still no 720p recording mode though (not that this was supposed to fix that, I was just hoping).
Recap: No camera/video FC in either mode (continuous or infinity)
Thanks for this
...
To get 720 p.. Make sure quality is set to custom and file type is mpeg4, then it should show up in the settings.
Someone alert camalus!
I will be flashing this after work today! Thank you!!!
Sent from your mom's phone
jimmypopulous said:
Someone alert camalus!
Click to expand...
Click to collapse
Its Christmas!
Weeeeeeeeeeeee! LED and camera fix in the Same day!
Sent from my ADR6300 using XDA App
That does it. Thanks again.
seanzer said:
To get 720 p.. Make sure quality is set to custom and file type is mpeg4, then it should show up in the settings.
Click to expand...
Click to collapse
Sent from my ADR6300 using XDA App
camalus said:
Its Christmas!
Weeeeeeeeeeeee! LED and camera fix in the Same day!
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Indeed. well done seanzer, well done!
rom manager now shows build #157 (11-23) does this include both the cam and led fix?
radiohead14 said:
rom manager now shows build #157 (11-23) does this include both the cam and led fix?
Click to expand...
Click to collapse
Maybe cam fix, definitely not led fix tho.. hasn't been approved.
hi seanzer. on cm nightly build #161 - issue: when on videocam, and i turn off the screen (recording or not), when you unlock, the videocam becomes almost half the size of the screen (with the preview screen almost a quarter the size, and is now on the lower left), and it's unresponsive.
radiohead14 said:
hi seanzer. on cm nightly build #161 - issue: when on videocam, and i turn off the screen (recording or not), when you unlock, the videocam becomes almost half the size of the screen (with the preview screen almost a quarter the size, and is now on the lower left), and it's unresponsive.
Click to expand...
Click to collapse
Same thing happened on my friends moto Droid 1.. i think the latest commit to the camera broke it. Try a nightly before the 24th... which only contains my camera fix. I haven't had time to test the latest nightly yet, but I will have to investigate more what happened..
seanzer said:
Same thing happened on my friends moto Droid 1.. i think the latest commit to the camera broke it. Try a nightly before the 24th... which only contains my camera fix. I haven't had time to test the latest nightly yet, but I will have to investigate more what happened..
Click to expand...
Click to collapse
thanks man. i just installed build #159 and cam is back to normal again.
on a different note: how come the vanilla cam doesn't support 8mp wide like the htc sense cam?
radiohead14 said:
how come the vanilla cam doesn't support 8mp wide like the htc sense cam?
Click to expand...
Click to collapse
anyone know? is this the same with all aosp roms?.. the camera just isn't as good as the htc cam.
Fixed my Nexus One
Installed on CM 6.1 on a Nexus One, fixed the camera for photos, haven't tested the videos.
Symptoms: Camera keeps crashing after a few shots. Force Close the application and if I tried to run it I only got a blackscreen until the Force Close window appeared.
It also rebooted my phone one 2 occasions.
Installed using Rom Manager:
Install from SD
Selected .zip
Backup Rom (Yes)
Wipe (NO!!!)
Everything went smooth.
Now I'm taking pictures, modifying settings, Touch Focus, everything seems to work.
Took 20 pictures in a row and fast.
Thanks for the fix
I had high expectations on this one, I tried it but I still get FC on the camera.
I have a Magic and I am running the CM 6.1 Rom
radiohead14 said:
anyone know? is this the same with all aosp roms?.. the camera just isn't as good as the htc cam.
Click to expand...
Click to collapse
If you look at the resolution of the 8mp wide setting on the stock sense camera, it's not actually 8mp. It's really the same as 6mp wide on the CM camera.
Sent from my ADR6300
To avoid going OT here. I opened this thread, write here all things which don't concern AOSP development
How to make photos clearer with the stock camera app?
GeoVali99 said:
How to make photos clearer with the stock camera app?
Click to expand...
Click to collapse
Change quality from superfine to 100%
:angel:
Well, all the CM and AOSP roms don't have the same picture/video quality as stock 4.1.2.
Contrast, levels, sharpness, color balance, white point, it's all off in certain light conditions. Video is perfectly fine, but only under well lit scenes, when you don't have as good light, the camera apps don't boost the brightness/levels to make the scene visible, unlike stock 4.1.2. Let me be very clear: if you're taking pictures or video in clear sunlight, then it's not much of a problem. It's when you leave the sunlight that stock 4.1.2 is easily superior in picture quality compared to the other roms. Again, nothing that can't be fixed if you're handy with photoshop or other decent image editing tools. Just a little more work to get nice pictures off the bat.
I think once CM and AOSP roms' bugs are ironed out (since we have sources and devs can have a look at how it's done, not using the leaked code for legal reasons), another point of work could be porting whatever camera processing stock 4.1.2 does back into the camera files of these roms.
Of course I'm just a user and not a developer and my post may come across as a request.. I'd say it's constructive criticism, for the future. For those who don't use their phone much as an imaging device, it's not that big of an issue, the performance increase of these roms is worth it. Again, nothing that some photoshop can't fix, nothing that some premiere editing can't fix either.
Im Getting Status 7 While Installing Any Solution?
DaRkRhiNe said:
Change quality from superfine to 100%
:angel:
Click to expand...
Click to collapse
1.The option isn't there.
2.In CM 11 even when checking that,the photos still come unfocused while de flash isn't on.I tried touch to focus,everything,and the final photo still isn't focused with the stock app.Good that the Moto X camera does it right for now.
Any chance of getting the screen recording working??? :fingers-crossed:
In this rom the GPS and the Wifi Direct works?
Because i am on Mokee OS 4.3.1 and i like to try for the first time a 4.4 based rom!
Anyone else facing problems with MTP??
I can't seem to access it on the PC.
Also adb doesn't detect any device.
The storage works fine although.
USB debugging is enabled btw.
Sent from my GT-I9070 using Tapatalk
dagger said:
Anyone else facing problems with MTP??
I can't seem to access it on the PC.
Also adb doesn't detect any device.
The storage works fine although.
USB debugging is enabled btw.
Sent from my GT-I9070 using Tapatalk
Click to expand...
Click to collapse
Tips
-First boot requres a lot of time
-MTP - to make MTP working, go to Settings, Developer options, disable USB debugging, re-enable it again, tap ok from the message
-Torch works only with CyanogenMod's app
Click to expand...
Click to collapse
This worked for me.
Topse said:
This worked for me.
Click to expand...
Click to collapse
Oops missed it.
Thanks for the help.
Sent from my GT-I9070 using Tapatalk
Anyone else having audio stuttering?
SinWei97 said:
Im Getting Status 7 While Installing Any Solution?
Click to expand...
Click to collapse
Ur zip must be corrupted try to download again and flash
Sent from my GT-I9070 using Tapatalk
some app fails to install
I am having trouble while installing some apps, installation fails with a message 'Couldn't install on USB storage or SD card'.
It happens only for few apps (example: XDA app).
I tried to install the app after unmounting SD card as suggested in a thread, but it also failed.
Anyone got any suggestion.
Not that problem here. Try to flash again the rom making all wipes. See the first post in original development.
Sent from my GT-I9070 using xda app-developers app
I have done all wipes before installing the zip.Give it a second try and its still the same.
Bugs found so far:
1. Can't move apps to SD card (clean install).
2. No gesture typing in keyboard.
3. Home screen settings button beside widgets button, when pressed nothing happens.
Anyone having these issues
Sent from my GT-I9070 using Tapatalk
---------- Post added at 11:15 PM ---------- Previous post was at 10:42 PM ----------
DaRkRhiNe said:
Change quality from superfine to 100%
:angel:
Click to expand...
Click to collapse
Where to change quality of photos ? :what:
Sent from my GT-I9070 using Tapatalk
Annasarp said:
Bugs found so far:
1. Can't move apps to SD card (clean install).
2. No gesture typing in keyboard.
3. Home screen settings button beside widgets button, when pressed nothing happens.
Anyone having these issues
Click to expand...
Click to collapse
2. Same here. (Maybe because AOSP?)
3. The settings button works for me. When pressed I get Google Now settings.
Sent from my iPad using Tapatalk
Annasarp said:
Bugs found so far:
1. Can't move apps to SD card (clean install).
2. No gesture typing in keyboard.
3. Home screen settings button beside widgets button, when pressed nothing happens.
Anyone having these issues
Sent from my GT-I9070 using Tapatalk
Click to expand...
Click to collapse
1. Not any app can be moved to SD card (not ROM issue, but app )
2. I don't need that, but in the rom is not implemented (I think)
3. Read all the thread. It's wrote that AOSP Launcher has no settings. Install Google Home. (search it on google )
Why I can't install my apps like titanium backup and My game Tower Of Savior's? Always get apps install unsuccessful
Anyone know how to or have knowledge how to change default gallery to another like Quickpic?
Stock gallery is awful lol
Brava27 said:
Anyone know how to or have knowledge how to change default gallery to another like Quickpic?
Stock gallery is awful lol
Click to expand...
Click to collapse
I want this feature too, but I think it's not possible, not that I've seen do it in the previous android phones..
You can always install other camera apps, like Snap Camera HDR is good, Manual Camera, Camera FV-5, DSLR Camera pro, with these app you can use other gallery apps.
Once Quickpic is installed, doesn't it ask you to choose the default app when you open a picture?
Sent from my NCC-1701 using Tapatalk.
Giancarlo456 said:
I want this feature too, but I think it's not possible, not that I've seen do it in the previous android phones..
You can always install other camera apps, like Snap Camera HDR is good, Manual Camera, Camera FV-5, DSLR Camera pro, with these app you can use other gallery apps.
Click to expand...
Click to collapse
Yes! Good call on snap camera. I like it!
Giancarlo456 said:
I want this feature too, but I think it's not possible, not that I've seen do it in the previous android phones..
You can always install other camera apps, like Snap Camera HDR is good, Manual Camera, Camera FV-5, DSLR Camera pro, with these app you can use other gallery apps.
Click to expand...
Click to collapse
I don't have S6 but successfully did this in others models.
Here the clue, just replace the following :
"com.sec.android.gallery3d" => "com.alensw.PicFolder"
"com.sec.android.gallery3d.app.Gallery" => "com.alensw.PicFolder.GalleryActivity"
After that when click the gallery in the Camera App, it will open with QuickPic
hkla said:
Here the clue, just replace the following :
"com.sec.android.gallery3d" => "com.alensw.PicFolder"
"com.sec.android.gallery3d.app.Gallery" => "com.alensw.PicFolder.GalleryActivity"
Click to expand...
Click to collapse
Didn't really understand what to do.
You mean rename the folders in Android/data ?
Giancarlo456 said:
Didn't really understand what to do.
You mean rename the folders in Android/data ?
Click to expand...
Click to collapse
De-compile the Camera App and search and replace those words in the smali files
"com.sec.android.gallery3d" => "com.alensw.PicFolder"
"com.sec.android.gallery3d.app.Gallery" => "com.alensw.PicFolder.GalleryActivity"
Re-compile back and replace the original apk.
hkla said:
De-compile the Camera App and search and replace those words in the smali files
"com.sec.android.gallery3d" => "com.alensw.PicFolder"
"com.sec.android.gallery3d.app.Gallery" => "com.alensw.PicFolder.GalleryActivity"
Re-compile back and replace the original apk.
Click to expand...
Click to collapse
For some reason I can't decompile the SamsungCamera4.apk, other apks I can, but not this one... Don't know why..
Edit: I used the apktool method with the "apktool d SamsungCamera4.apk Camera" line and also used this website http://www.decompileandroid.com/ both end in errors
Giancarlo456 said:
For some reason I can't decompile the SamsungCamera4.apk, other apks I can, but not this one... Don't know why..
Edit: I used the apktool method with the "apktool d SamsungCamera4.apk Camera" line and also used this website http://www.decompileandroid.com/ both end in errors
Click to expand...
Click to collapse
Not sure, don't have S6.
But somebody already successfully MOD S6 camera so technically shouldn't be problem.
http://forum.xda-developers.com/galaxy-s6/themes-apps/camera-mod-s6-g920f-5-0-2-improved-t3080693
I'm interested too, i want open quick pic in stock camera app but i don't find nothing except with xposed framework for the old galaxys
Brava27 said:
Yes! Good call on snap camera. I like it!
Click to expand...
Click to collapse
Hi there, I don't have the S6 but I have the S5 and I use snap camera on it to remove the noise reduction.
Can you test it out and tell me if you can get the noise reduction removed and sharpness reduced?
Go to "Other" in Snap Camera, and select "Show Advanced Settings" and "Use OpenGLES 2.0". Go to Photo and tell me if you see "Denoise" under zero shutter lag. If not then make sure that in Other "Use Camera2 API" is not selected.
When you see Denoise, deselect it if it's selected and let me know if you see lots of noise. You'll get much more details in the pictures but more noise.
Thanks!
I like using QuickPic. It's very nice.
Brava27 said:
Yes! Good call on snap camera. I like it!
Click to expand...
Click to collapse
Even with Snap Camera and the "disable gallery" setting selected, it brings me into Snap Camera Gallery. How do I change this?
Sent from my SM-G920T using Tapatalk
HDR+ is already available through efforts
11.06
fix settings
please off motion
Download:https://mega.nz/#F!pg5y2CaJ!qH95TX8mieu7pP50DsPI-A
Sorry, bad English.
Original version:
GCam5.1.018-Arnova8G2-V1.7
MGC_5.1.018_v2e_tolyan009_v1.3.9_manual_focus
If you like, you can donate :https://paypal.me/machao44?locale.x=zh_XC
This is a good start! Thank you !
This is great! Is there a reason why you ported version 5 instead of the newer versions (6.x)? Merely curious.
Excellent, just did a quick test and photos seams sharper with gcam.
- Can you change default app for opening miniature?
- ISO setting don't work
Keep up the great work
iArvee said:
This is great! Is there a reason why you ported version 5 instead of the newer versions (6.x)? Merely curious.
Click to expand...
Click to collapse
6. X because of the problem of white balance FC. I don't know how to fix it
M-Rom said:
6. X because of the problem of white balance FC. I don't know how to fix it
Click to expand...
Click to collapse
I see. If there's anything you might need that could help, let me know and I'll try to help you out!
Donated. Great start start. Please continue working on this!
I cant use it always fc
i dearly hope that guy in the other thread who kept hammering on about wanting gcam to be ported to xperia 1 will give a fair donation to this bloke.
Hi! Ma Shao
China Mainland seems to have published nw-a100 and ZX500 Series with android 9 system
Have you tried to extract the app of the player from walkman APP (W.mucis)
For use with XPERIA phones.
What's the difference between the two apks?
Settings works, great!
M-rom you make very good custom ROMs you ever going to make for Xperia 1 I use to have m-rom on my xz premium
Portrait mode doesn't blur the background or am I missing something?
iArvee said:
What's the difference between the two apks?
Settings works, great!
Click to expand...
Click to collapse
Some minor diffenence in settings.
Not all settings work, have to try some times.
My observations so far are that Gcam images look more organic and with much less artifacts than the stock camera, jpg files are also bigger with more information and hold up to editing better than the ones from the stock camera. The port is definitely worth it and I hope M-rom keeps working on it.
I can't get regular photos to work with either apk. Video works, photos w/front camera work, but can't get rear camera to work. Any tips?
No idea, both versions work for photos for me (on one of them portrait mode doesn't start). I use both.
Can anyone post comparison photos between Gcam and original ?
Portrait mode doesn't work with portrait camera.
mattfury said:
I can't get regular photos to work with either apk. Video works, photos w/front camera work, but can't get rear camera to work. Any tips?
Click to expand...
Click to collapse
Maybe you can check if you turned the "raw+jpg" on or not. I tried this before and it won't work. Turned off then rear camera worked.