5,597,762 Members 36,396 Now Online
XDA Developers Android and Mobile Development Forum

[FIX] All in One Camera & Mic fixes for CM.7

Tip us?
 
TakamineSubasa
Old
(Last edited by TakamineSubasa; 19th April 2012 at 03:07 PM.)
#21  
Senior Member - OP
Thanks Meter 158
Posts: 371
Join Date: Sep 2011

 
DONATE TO ME
Quote:
Originally Posted by deniso177 View Post
Um he probably took the wrong camera fix, or did not set permisions on apk and libs right.

GO to my original thread with the camera fixes, and if you want brighter exposures flash my N2 libs fix, it should definately work, tested 100x on my own phone.

http://forum.xda-developers.com/show....php?t=1604205
Uhm i'm pretty sure that updater-script is correct... And as stated by 2-3 ppl, it seems to work..

Code:
ui_print("Mounting system...");
run_program("/sbin/busybox", "mount", "/system");
show_progress(1, 15);
ui_print("Installating fixes...");
package_extract_dir("system", "/system");
ui_print("Setting permissions...");
set_perm(0, 0, 0644, "/system/app/camera.apk");
set_perm(0, 0, 0644, "/system/lib/libaudio.so");
set_perm(0, 0, 0644, "/system/lib/libaudiopolicy.so");
set_perm(0, 0, 0644, "/system/lib/libcamera.so");
set_perm(0, 0, 0644, "/system/lib/libcamera_client.so");
set_perm(0, 0, 0644, "/system/lib/libcameraservice.so");
set_perm(0, 0, 0644, "/system/lib/libhardware_legacy.so");
set_perm(0, 0, 0644, "/system/lib/libmmipl.so");
set_perm(0, 0, 0644, "/system/lib/libmmjpeg.so");
set_perm(0, 0, 0644, "/system/lib/liboemcamera.so");
set_perm(0, 0, 0644, "/system/lib/libstagefright.so");
set_perm(0, 0, 0644, "/system/lib/libwebcore.so");
ui_print("Unmounting system...");
run_program("/sbin/busybox", "umount", "/system");
ui_print("Installation complete!");
 
deniso177
Old
#22  
Senior Member
Thanks Meter 144
Posts: 524
Join Date: Aug 2011
Quote:
Originally Posted by TakamineSubasa View Post
Uhm i'm pretty sure that updater-script is correct... And as stated by 2-3 ppl, it seems to work..

Code:
ui_print("Mounting system...");
run_program("/sbin/busybox", "mount", "/system");
show_progress(1, 15);
ui_print("Installating fixes...");
package_extract_dir("system", "/system");
ui_print("Setting permissions...");
set_perm(0, 0, 0644, "/system/app/camera.apk");
set_perm(0, 0, 0644, "/system/lib/libaudio.so");
set_perm(0, 0, 0644, "/system/lib/libaudiopolicy.so");
set_perm(0, 0, 0644, "/system/lib/libcamera.so");
set_perm(0, 0, 0644, "/system/lib/libcamera_client.so");
set_perm(0, 0, 0644, "/system/lib/libcameraservice.so");
set_perm(0, 0, 0644, "/system/lib/libhardware_legacy.so");
set_perm(0, 0, 0644, "/system/lib/libmmipl.so");
set_perm(0, 0, 0644, "/system/lib/libmmjpeg.so");
set_perm(0, 0, 0644, "/system/lib/liboemcamera.so");
set_perm(0, 0, 0644, "/system/lib/libstagefright.so");
set_perm(0, 0, 0644, "/system/lib/libwebcore.so");
ui_print("Unmounting system...");
run_program("/sbin/busybox", "umount", "/system");
ui_print("Installation complete!");
hmm looks right, can those people that have cam errors try my zips separetely and tell us if cam is still broken. remember this is for stock cm 7.2 RC1 only
Android Phones:

Samsung Galaxy S2
LG-P500
 
kutysam
Old
#23  
Member
Thanks Meter 31
Posts: 82
Join Date: Apr 2010
This works on Adam's N2 CM7, However, there were some issues along the way.
- I installed it using clockworkmod and cleared cache and dalvik cache etc.
- Camera gave me FC 100% of the time. Camera zoom worked probably though. Which meant that the 'new' camera apk was giving problems.
- So i removed camera.apk using titanium backup and simply 'moved' the camera apk from the zip file to the designated location using a cut and paste with ES File explorer.
And it worked!

1) Videos immediately start recording
2) Able to talk thru handphone's mic when hearing thru headphones.
3) Sound recorder works fine too!

Thank you for the amazing fix!
 
pikas23
Old
#24  
Member
Thanks Meter 3
Posts: 66
Join Date: May 2011
Location: Tagbilatan City
Quote:
Originally Posted by deniso177 View Post
Um he probably took the wrong camera fix, or did not set permisions on apk and libs right.

GO to my original thread with the camera fixes, and if you want brighter exposures flash my N2 libs fix, it should definately work, tested 100x on my own phone.

http://forum.xda-developers.com/show....php?t=1604205
Thanks dude!
Will test..

BTW,, All else failed except LG CAmera Pro.. I got it working but Picture Qualtiy is Poor..
DroidVPN User

innos D9
ROM: innos D9 3J Pure
Governor Choice: n/a
Recovery: ClockworkMod
Previous Phone: LG P500 Still working
 
umangleekha
Old
#25  
umangleekha's Avatar
Senior Member
Thanks Meter 163
Posts: 613
Join Date: Oct 2011
Location: Delhi
This is a funny story,
Trettet posted a fix from CM latest sources
I posted a fix from N2 sources to make a better fix
then Deniso17 combined both for experiments on quality and zoom
Now you are combining it with audio fix, what a combination :P
My Experience-
LGP500 Optimus One
Best GB ROM - neko95's ginger snap
Best ICS ROM - neko95's ICYsnap
Best GB KERNEL - DJNOxD's latest ta vsync
Best ICS KERNEL - Stock

----------------------------------------------------------------------------------
 
pikas23
Old
(Last edited by pikas23; 19th April 2012 at 05:03 PM.)
#26  
Member
Thanks Meter 3
Posts: 66
Join Date: May 2011
Location: Tagbilatan City
Only lgCamerapro video recordning works on my phone.

Tried dude umangleekha's fix but CameraZoom FX's video recording Force CLoses... Evertym..

Im Using GTR ROM 4.5X P500..

Whats funny is (on my phone with GTR ROM) stock GTR Camera App Cant take pictures or record at all.. I installed CAmera FX and photo and video recording works.. so I uninstalled Stock GTR Roms CAmera app thru Titanium back up.. tHEn Camera FX video recording doesnt Work... I think its dependednt on Stock Camera App???

But, i repeat, LGCameraPro works . both photo and video recording.
DroidVPN User

innos D9
ROM: innos D9 3J Pure
Governor Choice: n/a
Recovery: ClockworkMod
Previous Phone: LG P500 Still working
 
deniso177
Old
#27  
Senior Member
Thanks Meter 144
Posts: 524
Join Date: Aug 2011
Quote:
Originally Posted by umangleekha View Post
This is a funny story,
Trettet posted a fix from CM latest sources
I posted a fix from N2 sources to make a better fix
then Deniso17 combined both for experiments on quality and zoom
Now you are combining it with audio fix, what a combination :P
Well my fix has the apk, and the permissions work with it, so people for camcorder fix flash my fixes directly

---------- Post added at 03:09 PM ---------- Previous post was at 03:07 PM ----------

Quote:
Originally Posted by pikas23 View Post
Thanks dude!
Will test..

BTW,, All else failed except LG CAmera Pro.. I got it working but Picture Qualtiy is Poor..
Try my last file, with that quality is the highest
Android Phones:

Samsung Galaxy S2
LG-P500
The Following User Says Thank You to deniso177 For This Useful Post: [ Click to Expand ]
 
cybojenix
Old
#28  
cybojenix's Avatar
Recognized Developer
Thanks Meter 717
Posts: 610
Join Date: Apr 2012

 
DONATE TO ME
Sorry for bringing back an old thread
I am from p350,and we've had requests for this feature. Would it be possible to see the sources please, so we can have a chance of improving our cm7?

Sent from my LG-P350 using xda app-developers app
Quote:
<cybojenix> Every single language makes sense. They're logical
<cybojenix> Then there's just Perl.
<helicopter88> perl just looks like an esotheric language
<cybojenix> Perl is what came out from those monkeys trying to recreate Shakespeare
<helicopter88> cybojenix, this is the wise sentence of the month

like my work? buy me a present
 

Proud member of TeamHackLG


contact me here
My Builds
P350 kernels: 2.6.35 | 3.0.x
Github
devices: p350 | e610 | Nexus 7 | tegra note 7

 
krazzyvishal
Old
#29  
krazzyvishal's Avatar
Senior Member
Thanks Meter 233
Posts: 330
Join Date: Oct 2011
Location: Mumbai

 
DONATE TO ME
Quote:
Originally Posted by ZonbekaUnlimited View Post
OMG, it really works!! Im using neko95 G-T-R 1.9 ROM, Hats off to you sir...

BTW, i've just copied libs and set permissions in rootexplorer

Finally --> [BUG] Headphones are always recognized as mic+headphones. Internal mic is then disabled thus making it impossible to answer calls on headphones with no mic.
Quote:
Originally Posted by pradipsoman View Post
WORKING 100% on C.M RC1 !!! And it has also improved the voice quality during calls immensely! Thank you 1000 times!!!
What if my headset have both mic as well as headphone? Will it still work? Will it then allow me to use the headset mic when it is connected?
My homescreens:MyColorScreen
My WhatsApp+ themes: You'll love this!!!
My apps on:Google Play

Always have your stuff when you need it with Dropbox. Sign up for free! http://db.tt/swcWMFA3
Want even more space? Come here: Copy or here: OneDrive
 
Xazdron
Old
#30  
Senior Member
Thanks Meter 4
Posts: 139
Join Date: Dec 2012
Location: Kulim
can anybody help solve my problem?

while recording/ (calls) loudspeaker mode my mic wont detect sound.. anybody can try help me?

xperia neo l

cm7.2 by bootbu9
Device : Sony Xperia Neo L
Currently : Rooted and Officially Unlocked Bootloader
ROM : Stock Modded Rom by Myself
Kernel : Vengeance Custom

Device : Ninetology u9 Z1+
Currently : Rooted and Locked Bootloader
ROM : Stock Modded ROM by Myself
Kernel : Stock Kernel

#Need More Tweaks!

Tags
built-in, cm 7.2, fix, headset, mic
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes