ICS, AOKP & JB Camera Fixing for the LG P690 aka LG OPTIMUS NET - Miscellaneous Android Development

PLEASE REFER TO THE MOST RECENT COMMENTS AS A LOT OF CHANGES HAVE TAKEN PLACE OVER TIME.
I'm creating a separate thread related to camera development for our LG P690 aka LG OPTIMUS NET so as to avoid spamming and mix up of topics in other threads.
Please don't spam this thread with topics other than the LG P690 camera.
If you're a developer and know about C programming, YOU'RE THE GUY WE NEED!!!
I'll brief up what we're doing here:-
I've been studying the camera problem of our device from quite a long time and I've been trying to fix it but its taking lot of time. So, I need help from interested people so that I can possibly fix it asap!!:fingers-crossed: I'm gonna list what we have to do to fix it in steps.
If you've ever seen a logcat for the camera for any of the recent roms for our device, you'll notice this line:
E/CameraService( 1506): Camera HAL module not loaded
This line means that the camera module that needs to be loaded for the camera to start is not being loaded. Solving this would be the 1st step in solving the camera problem. To do this we need the camera.msm7x27.so lib from devices with working camera(preferably with preview as well) which exists in the /system/lib/hw directory.
If you're interested in helping me, find devices with specs similar to our own and download JB, ICS roms of those devices. The specs I'm speaking of are:-
Must be ARMV6
Must have a 3MP camera
It must have a msm7x27 board(THIS IS MOST IMPORTANT)
In general its specifications must be as similar to our device as possible
Extract the rom, go to /system/lib/hw, get the camera.msm7x27.so lib, upload it & obviously provide me a link to it on this thread. This will save a lot of time in downloading roms one by one and trying to fix.
Please do include:
Name of the device
Name of the rom from which you have extracted the lib

RESERVED
I'll be uploading test fixes in this post from now on. I need someone to test these. Flash cm9 or cm10 or aopk ics rom onto your device. If you don't know how to logcat specifically for the camera, download the alogcat apk provided in this post as well. Even if you do know, its easier doing it using this app.
1)Place the rom, cam fix zip file and alogcat apk(if needed) on your sd card.
2)Do a clean wipe, flash the rom and flash the fix as well.
3)Reboot and install the alogcat apk.
4)Enable USB debugging on your phone and connect to pc. Open adb and type the following commands one by one.
Code:
adb shell
su
chmod 0666 /dev/msm_camera/config0
chmod 0666 /dev/msm_camera/control0
chmod 0666 /dev/msm_camera/frame0
chmod 0666 /dev/graphics/fb0
Reboot.
5)Open alogcat. Set camera as the filter in options & minimize.
6)Now click on the camera icon. You'll probably get an error. Close it.
7)Open alogcat and see if camera HAL module was loaded instead of the error mentioned on the 1st post.
8)If it shows the same error as that on the 1st post, the fix is useless. If HAL module was loaded before the camera crashed, we're in luck!!
9)Post that logcat and mention the fix file name.
Loading the HAL module is the 1st step and we're gonna have to keep on trying libs from different phones, make small modifications and try. So post the camera.msm7x27.so from working roms having similar specifications as ours.

ready to help in any way.. :laugh: :laugh: :angel: :angel:

Here's one from p500 aokp with working camera. Rename and remove .zip.

Hi,
I'm ready to test and post dmesg, logcat, etc. Just tell me what to do ...
Btw what are the phones with same soc? I'll try to search xda and download such rom's :beer:
Sent from my LG-P690 using xda premium

Guys go to the 2nd post. I've posted a test fix. The instructions are on the post itself.
@sacredash I'm not able to use your file. I'm not able to extract it & renaming doesn't seem to help either. Upload it once again plz. Try mediafire.
Sent from my LG-P690 using xda app-developers app

abhishek046 said:
Guys go to the 2nd post. I've posted a test fix. The instructions are on the post itself.
@sacredash I'm not able to use your file. I'm not able to extract it & renaming doesn't seem to help either. Upload it once again plz. Try mediafire.
Sent from my LG-P690 using xda app-developers app
Click to expand...
Click to collapse
trying asap.. :good: :good:

abhishek046 said:
Guys go to the 2nd post. I've posted a test fix. The instructions are on the post itself.
@sacredash I'm not able to use your file. I'm not able to extract it & renaming doesn't seem to help either. Upload it once again plz. Try mediafire.
Sent from my LG-P690 using xda app-developers app
Click to expand...
Click to collapse
It wasn't a zip file I had to rename it because .so shows invalid file.
hw.zip

the above fix cam patch_03 dint workd for me..anybody else tried?i tried on aokp..

aj1234josh said:
the above fix cam patch_03 dint workd for me..anybody else tried?i tried on aokp..
Click to expand...
Click to collapse
The camera itself won't work with that patch. The aim is to make the HAL module load. That's why I'm asking for logcats. As of now, the logcat shows the error written in the 1st post, i.e HAL module not loading. If the new logcat, i.e the logcat after flashing the patch shows that the camera HAL loaded and then the camera crashed, I can modify this fix to make the cam work. Right now our aim is to CHECK WHETHER THE HAL MODULE LOADS.
Sent from my LG-P690 using xda app-developers app

abhishek046 said:
The camera itself won't work with that patch. The aim is to make the HAL module load. That's why I'm asking for logcats. As of now, the logcat shows the error written in the 1st post, i.e HAL module not loading. If the new logcat, i.e the logcat after flashing the patch shows that the camera HAL loaded and then the camera crashed, I can modify this fix to make the cam work. Right now our aim is to CHECK WHETHER THE HAL MODULE LOADS.
Sent from my LG-P690 using xda app-developers app
Click to expand...
Click to collapse
m saying same..it dint worked for me means,,the HAL module dint loaded..i checked logcat its same..

aj1234josh said:
m saying same..it dint worked for me means,,the HAL module dint loaded..i checked logcat its same..
Click to expand...
Click to collapse
Hmm, that lib was from a p500 rom. I'll try with sacredash's lib tomo. Meanwhile we need to make a list of devices which have specs similar to ours & most imp-a msm7x27 board. It'll help others in selecting roms to download. Could you help??
Sent from my LG-P690 using xda app-developers app

Tried the patch too and got Hal module not loaded before as well as after.
Btw most devices with our specs don't have a working camera in ics, p500 is the closest.

sacredash said:
Tried the patch too and got Hal module not loaded before as well as after.
Btw most devices with our specs don't have a working camera in ics, p500 is the closest.
Click to expand...
Click to collapse
If not all specs, it must use msm7x27 board atleast. Then we can try. Most roms containing cams which are partially working were done by switching libs and modding. Once if we manage to get the HAL module loaded, then the rest of the fixing I can do. Finding the right camera.msm7x27.so is the headache. We won't get a perfect cam through this but it'll allow 3rd party camera apps to function which can do that job.
Sent from my LG-P690 using xda app-developers app

i think this link may help in making list for devices..
http://smartphonebenchmarks.com/for...msm7225-msm7625-processors-how-good-are-they/
we hav to particularly find Qualcomm MSM7x27 (MSM7227 MSM7627) devices

sorry off topic..
@abhishek046
if you know how to work with sources can you try to fix speaker phone..
this is the source for speaker fone fix for p500 can you make it work for p690?
https://github.com/lgics/cm_device_lge_p500/commit/61e35e443f326d8ea66ca08803920aeb42b9b360

Name: Lg Optimus Hub (the phone is pretty much the same, but it has a 5MP camera
ROM: CyanogenMod 9 (in the changelog it says that it's working paritially)
in the archive is just the system/lib/hw
hope this can help you guys.

htc legend it's a MSM7227 device with working camera on jell bean port only with a third part app as Camera Illusion... so have you tested with this app?

alex-p690 said:
Name: Lg Optimus Hub (the phone is pretty much the same, but it has a 5MP camera
ROM: CyanogenMod 9 (in the changelog it says that it's working paritially)
in the archive is just the system/lib/hw
hope this can help you guys.
Click to expand...
Click to collapse
can you provide updaterscript and boot.img of same rom?

aj1234josh said:
can you provide updaterscript and boot.img of same rom?
Click to expand...
Click to collapse
here they are... Do you need anything else?

Related

[Dev][ROM][2.3.7][GWK74] CyanogenMod 7 port for Samsung Galaxy SL [24.1.2012]

I started this thread to continue codeworkx work he started for porting the CM7 to Galaxy SL.
the old thread that codeworkx started can be found here
[NO NOOBS][ROM][2.3.7][GWK74] CyanogenMod 7 for Samsung Galaxy SL
All credits are reserved for codeworkx and any one whom was working or is working on this port
-----------------------------------------------------------------------------------------------------------------------------------
Latest release 24.1.2012 :
https://rapidshare.com/files/3198315351/update-cm-7.1.0-GalaxySL-KANG-signed.zip
video playback fix
updated the kernel to UC v8
-----------------------------------------------------------------------------------------------------------------------------------
Summary for this project :
First of all this project is still under development and it can't be considered as stable.
What is working in this port :
Calls and sms
3G
GPU
Audio
Wifi
Internal & external sdcards
Bluetooth
Touchscreen
Camera
vibration
video playback
What is buggy and not working in a good shape:
DSP manager (seems to work after reinstalling it, http://forum.xda-developers.com/showpost.php?p=20222709&postcount=161) ( thanks goes to tanmayrocks )
GPS
What is not working :
Video recording
Hotspot
Tethering
Applications that require mic can't use the mic
Any feature that is not listed here it's not tested yet and it might be working
Install instruction:
INSTRUCTIONS:
- First time flashing CM 7 to your Galaxy SL (or coming from another ROM)?
Install a Kernel with ClockworkMod Recovery (any one should work).
http://forum.xda-developers.com/showthread.php?t=1151704
http://forum.xda-developers.com/showthread.php?t=1357747
http://forum.xda-developers.com/showthread.php?t=1311983
Reboot into Recovery
Do a Nandroid backup!
Install the ROM from sdcard using ClockworkMod Recovery
Optionally install the Google Addon
- Upgrading from earlier CM7?
Do a Nandroid Backup!
Install the ROM (your Google apps will be backed up automatically)
Optionally install the Google Addon (might get lost during update)
There are no Google Apps bundled with CM ROMs, because Google asked Cyanogen to remove copyrighted apps, after flashing rom don't forget to flash Google Addon package if you want it.
NOTE: Your device will be fully converted to EXT4, except for the efs partition. You'll lose all data on the first install!
Click to expand...
Click to collapse
Project releases :
05.11.2011-1: http://www.multiupload.com/SGI6Y6W5H9
overlay: fixed the overlapping issue, makes camera controls visible
05.11.2011-2: http://www.multiupload.com/UUPRTB8JPO
apply device specific overlays
fixed auto brightness
performance improvement
opensourced liblights module
touchbutton backlight should now act as notification led
27.11.2011: http://www.multiupload.com/UV6NDZKDMG
Replace the old kernel sources with the latest release from samsung
Replace the liboverlay with the original overlay
Replace the libcamera with the original libcamera released by samsung (and modified by codeworkx)
Fix image capturing using the front camera
note this package missing the librotation.so download it and push it to system/lib
download link:http://www.multiupload.com/2PIVAHPSJX
Click to expand...
Click to collapse
3.12.2011: http://www.multiupload.com/5ML6GQDBCM
Touchscreen fixed
librotation.so included in the package
10.12.2011: http://www.multiupload.com/2F4ZJNA3B0
fix some bugs in the liboverlay
fix camera preview
fix camera freez after capturing image
fix front camera
14.12.2011: http://www.multiupload.com/ZOFPM6QZNH
vibration fix
24.1.2012: https://rapidshare.com/files/3198315351/update-cm-7.1.0-GalaxySL-KANG-signed.zip
video playback fix
updated the kernel to UC v8
Development resources :
https://github.com/teamhacksung
https://github.com/waleedq
https://opensource.samsung.com/
thank you all
man really wanted to test this firmware....
very sad just sold my phone today..
Downloading!
Awesome work man!
i can finally play any game
btw am i the only one who needs around 4-5 minutes to boot?
Stickied, is the original cm7 abandoned now?
i would suggest u too improve vibrater sensivity
if improve vibrater sensivity more people can test this build nd report issue
@ wardfan
may be for sometime
@ waleed
great going friend
usmankh10 said:
i would suggest u too improve vibrater sensivity
if improve vibrater sensivity more people can test this build nd report issue
Click to expand...
Click to collapse
someone ban this guy
wardfan220 said:
Stickied, is the original cm7 abandoned now?
Click to expand...
Click to collapse
no its not abondaned it is temperorily not been responded by OP.
Sp8ky said:
i can finally play any game
btw am i the only one who needs around 4-5 minutes to boot?
Click to expand...
Click to collapse
it could take this long only for the first boot, i don't have this issue
LOL thank you
waleedq said:
it could take this long only for the first boot, i don't have this issue
Click to expand...
Click to collapse
no, i had this problem everytime, its not your build
i think its the sd card
waleedq said:
it could take this long only for the first boot, i don't have this issue
Click to expand...
Click to collapse
Are you doing all this alone?!?
Hey, is notification bug fixed in this CM7.1 fixed? We tried everything... It didn't work in CM7 (5.10.2011) and we tried modifying build.prop. When you finish more important features, could you focus on this bug? Thank you for your efford. Congratulations for your work
any explain how to update this to my sl9003,please post
orly1001 said:
any explain how to update this to my sl9003,please post
Click to expand...
Click to collapse
Read first post, then ask...
Is there any way to get samsung keyboard working on CM7 ? I tried by replacing LatinITE.apk or something by it, did not work.
PS: I already searched and found nothing, asked in Q & A thread no one answered...
great!I am waiting your wonderful CM7
Its aswm....
Bro i know its a silly reply sry for that...
But u rock..
I am ussing as stock.....evry thing is working which is required for daily use
Sp8ky said:
someone ban this guy
Click to expand...
Click to collapse
who the hell are u ask mods to Ban me
i dont wana use harsh words here,so be carefull making such comments
keep up the good work waledq

CM debugging

Now that we have enough cm ports the next thing we need to do is fixing all the bugs in it. We should not rely on whitexp for everything! Lets help him out...
Current Bugs(common in all roms)
1.Wifi
2.Bluetooth
3.Software rendering only
4.Camera
5.Green screen in auto rotation
6.No sound in headphones
Tell me if I missed something..
To moderator:You can put this thread anywhere if you think I created it in the wrong forum. The other thread you made is for debugging small problems like sdcard unreadable etc. Here we aim to do technical things( LIKE A BOSS) xD
Look here
U missed maybe the volume problem while using headphones ?
Sent from my GT-S5360 using xda premium
Green screen in rotate comes here?
Sent via Rajnikanth
lets keep this professional,
post a logcat together with the report,
so we can trace problems
deathnotice01 said:
lets keep this professional,
post a logcat together with the report,
so we can trace problems
Click to expand...
Click to collapse
We need to aim on fixing the bugs of only 1 rom for now cuz each rom has different bugs... I think democracy should be the one? It seems the most stable.
our phone is using bcm4330 right? Well the HTC Sensation XL uses the same chip too see here
http://www.chinagadgetland.com/wifi-ic-bcm4330-for-htc-sensation-xl-p-10008632.html
Can we use this?
The main problem is hardware rendering,when it will be fixed,things like camera,sensors work.
But we need the help of Broadcom Engineers because libGLES_hgl.so has a lot of dependencies and does not work with the stock surfaceflinger/libui. So we need libGLES_hgl.so without dependencies.
I read this on MADTeam thread
"theviper" said:
our phone is using bcm4330 right? Well the HTC Sensation XL uses the same chip too see here
http://www.chinagadgetland.com/wifi-ic-bcm4330-for-htc-sensation-xl-p-10008632.html
Can we use this?
Click to expand...
Click to collapse
Lot of phones use it! HTC explorer also has it
the problem is the libGLES_hgl.so the dev need to the source code of the file..
we cannot fix the bug this time with out the source that affect other library like
liblog.so
libcutils.so
libhardware.so
libutils.so
libpixelflinger.so
libETC1.so
libui.so
libc.so
libstdc++.so
libm.so
libGLES_android.so
the source is need to create the indepentdency library that not affect the other library so if that happen we can now use the egl.cfg with out having problem in other library...
Or else use a pre share library source.. like david did to fix swap color...
Sent from my GT-S5360 using slow mobile internet..
are this the drivers?
https://github.com/CyanogenMod/android_hardware_broadcom_wlan/tree/gingerbread/bcm4330
blooper1 said:
the problem is the libGLES_hgl.so the dev need to the source code of the file..
we cannot fix the bug this time with out the source that affect other library like
liblog.so
libcutils.so
libhardware.so
libutils.so
libpixelflinger.so
libETC1.so
libui.so
libc.so
libstdc++.so
libm.so
libGLES_android.so
the source is need to create the indepentdency library that not affect the other library so if that happen we can now use the egl.cfg with out having problem in other library...
Or else use a pre share library source.. like david did to fix swap color...
Sent from my GT-S5360 using slow mobile internet..
Click to expand...
Click to collapse
may trying to apply it manually in framework.ajr and compare the libs and egl related problems with gb 2.3.6, it works almost every tiem ^^
For headphone sound, try to delete the libaudioeq.so from system/lib it should work
DQiB said:
may trying to apply it manually in framework.ajr and compare the libs and egl related problems with gb 2.3.6, it works almost every tiem ^^
For headphone sound, try to delete the libaudioeq.so from system/lib it should work
Click to expand...
Click to collapse
wow thats a good idea using framework.jar to compare the libs file if that will work may be soon unofficial port of cm7 will be release... thanks sir for helping us!
Sent from my GT-S5360 using xda premium
---------- Post added at 04:12 PM ---------- Previous post was at 04:02 PM ----------
bluethooth library
libc.so
libstdc++.so
libm.so
libbluetooth.so
Camera library
libutils.so
libbinder.so
libui.so
liblog.so
libcamera_client.so
libcutils.so
libc.so
libstdc++.so
libm.so
libbrcmjpeg.so
libcamera.so
audio library
libasound.so
liblog.so
libcutils.so
libutils.so
libmedia.so
libhardware.so
libhardware_legacy.so
libc.so
liba2dp.so
liblvvefs.so
lib_Samsung_Resampler.so
libsamsungSoundbooster.solibsamsungAcousticeq.so
libsoundalive.so
libstdc++.so
libm.so
libaudio.so
Sent from my GT-S5360 using xda premium
yes i appritiate this thread
but let me know atleast how many bugs we can solve 2, 3
suppose almost all but the problem caused by drivers.....can be solved
the gpu......
if i am wrong then sorry
btw thanks
i am no dev but flashed whitexps latest build..
wifi still not work havent tried bluetooth but i guess that doesnt work too.
camera dont work too...
but here's the biggie..telephony fully fixed
usb tethering work..
and i am a tOTAL noob..no use trying to ask me to debug..trying to help :0
hell_lock said:
Now that we have enough cm ports the next thing we need to do is fixing all the bugs in it. We should not rely on whitexp for everything! Lets help him out...
Current Bugs(common in all roms)
1.Wifi
2.Bluetooth
3.Software rendering only
4.Camera
5.Green screen in auto rotation
6.No sound in headphones
Tell me if I missed something..
To moderator:You can put this thread anywhere if you think I created it in the wrong forum. The other thread you made is for debugging small problems like sdcard unreadable etc. Here we aim to do technical things( LIKE A BOSS) xD
Click to expand...
Click to collapse
well carrier internet is not working for me either
I am on democracy rom and I replaced all the libs with the ones in cm7(latest one)...
Anyone here who has the latest ver installed? Is there any colour change while screen rotation?
Color swapped when rotation ...
Sent from my GT-S5360 using xda premium
Nano's 0.63 build doesnt have the green screen issue. Anyone who still has it?
Just asking guys
How can I make the sound to work correctly I got always problem when playing with sound?
Can I replace some audio file from stock?
Sent from my GT-S5360 using xda premium
Baskhara said:
Just asking guys
How can I make the sound to work correctly I got always problem when playing with sound?
Can I replace some audio file from stock?
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
what problems are you getting in sound? Its working fine on my side..but the sound works till 90% it does not work in full

[Mod] Sony Xperia S JellyBean Adreno Drivers [Need dev help]

Original post here http://forum.xda-developers.com/showpost.php?p=34049640&postcount=17396
Xperia S (lt26) Source tree here:
https://android.googlesource.com/device/sony/lt26/
Heres a flashable zip containing the Xperia S JellyBean Adreno drivers.
I take no credit for these files, infact I would like to thank XirXes for finding them and N10AP for figuring out how to make it work.
MAKE A BACKUP!
Flash the attachment in recovery. Check my findings first to see if you don't mind losing video playback and some glitches..
Let us know how it works for you - better or worse?
My initial findings are that:
1) It fixes the need to disable HW overlays to play shadowgun deadzone and dead trigger without glitches!!
2) It seems to cause a green image when you take a picture using Camera app, the picture comes out fine though. Maybe we dont need all the binaries?
3) When transition into loading screen for games occur it causes some visual garbage.
4) Breaks video playback
Pretty sure the official adreno drivers from qualcomm that are included in bruces cm10 build are jellybean drivers.
infact i'm sure they are. These will more likely than not make no difference.
EDIT: https://developer.qualcomm.com/mobi...phics-optimization-adreno/tools-and-resources
They do make a difference in shadowgun and dead trigger, but we need to figure out which files are causing the camera issues now.
Thanks for your input.
GavTheStoner said:
They do make a difference in shadowgun and dead trigger, but we need to figure out which files are causing the camera issues now.
Thanks for your input.
Click to expand...
Click to collapse
Ah okay, if they make a noticeable difference i could be wrong. Guess a dev's input is needed to fix them up a bit
For start try removing this libs (Restore original ones) to fix glitches.
Code:
libmemalloc.so
liboverlay.so
libgenlock.so
libQcomUI.so
Leave rest.
Dont have JB now to test for my self.
ivicask said:
For start try removing this libs (Restore original ones)
Code:
libmemalloc.so
liboverlay.so
libgenlock.so
libQcomUI.so
Leave rest.
Dont have JB no to test for my self.
Click to expand...
Click to collapse
Thanks will try it
Is possibe to install this directly? Is there any way to get the Xperia S Adrno deivers for ICS in order to play games like Batman and NOVA 3 or Wild Blood with full effects? It would be gorgeous!
lanluckez said:
Is possibe to install this directly? Is there any way to get the Xperia S Adrno deivers for ICS in order to play games like Batman and NOVA 3 or Wild Blood with full effects? It would be gorgeous!
Click to expand...
Click to collapse
Yes it is possible to install this, I would only use it on Jellybean CM10 based roms though.
I dont know about the ICS Drivers.
Back on topic, Removing those 4 files results in a black screen at boot, currently trying trial and error to find out why..
GavTheStoner said:
Yes it is possible to install this, I would only use it on Jellybean CM10 based roms though.
I dont know about the ICS Drivers.
Back on topic, Removing those 4 files results in a black screen at boot, currently trying trial and error to find out why..
Click to expand...
Click to collapse
You just removed them? You need to push/flash original files from bruce rom or other JB your using. Not just delete files
No, I flashed back to original CM10 and then flashed modified zip without those files.
Managed to get it to boot by removing 3 of those files from the zip. It appears to need liboverlay.so.
Still got all glitches. Thanks for the help though.
GavTheStoner said:
Managed to get it to boot by removing 3 of those files from the zip. It appears to need liboverlay.so.
Still got all glitches. Thanks for the help though.
Click to expand...
Click to collapse
Yea, you would need more graphic libs from that Sony Xperia S rom to get rid of glitches.
Oh right. Also just found out that it breaks video playback.
Doh!
Edit: have added link to original post in OP
I have to goto work for a few hours so can't do any more work on this for now...
Did anyone figure anything out while I was gone?
I'm glad to see some experimentation with these. I wonder if we can get anything useful out of the lt26 source tree too.
https://android.googlesource.com/device/sony/lt26/
Thanks XirXes I'm sure that will come in handy. Its all a bit beyond me to be honest. Simple file replacing is about as far as my knowledge goes lol
So nobody can help or wants to help with this?
Looks like we are stuck with broken cm10 adreno support then...
GavTheStoner said:
So nobody can help or wants to help with this?
Looks like we are stuck with broken cm10 adreno support then...
Click to expand...
Click to collapse
Sure
Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium
We need to wait till Qualcomm release new drivers. The only thing we can do is tweak these test drivers which I think is what Sony have done.
End of story. Sadly...
But all that is available are the Aug.1 early drivers
Sent from my HTC Sensation using Tapatalk 2

General Dev Ideas

So i just did a system dump of the Huawei P1 and i think the radio Might work i got all the Libs frameworks now need to modd it for CM10 + ICS
FM Radio
In ICS check the kernel Dir for Radio0
on Huawei its at dev/radio0
On Cm10 sys/class/video4linux/radio
must add android/hardware/fmradio to framework to jar to test
UsbHost
I think i saw in arcee commits its enabled in the kernel so i will attempt to use the libs from p1 + framework tweak to add android/hardware/usb
I also got the Camera App Which Imo is better than Stock CM10 Camera + ArcCamera it has panaroma + HDR it can adjust sharpness saturation exposure(not Lg's "Brightness" which they call exposure) and brightness + Contrast Red Eye Reduction Plus i think it uses custom Flash Pattern For camera the Issue with it is something is causing it fill the buffer and the app freezes when using Features that require the Huawei camera Library framework
Edit: No go radio Broadcom Chip Same as Prada.
Camera P1 Only Panorama HDR is implimented in CameraHal.
OTG Need OTG Cable to test.
defcomg said:
So i just did a system dump of the Huawei P1 and i think the radio Might work i got all the Libs frameworks now need to modd it for CM10 + ICS
FM Radio
In ICS check the kernel Dir for Radio0
on Huawei its at dev/radio0
On Cm10 sys/class/video4linux/radio
must add android/hardware/fmradio to framework to jar to test
UsbHost
I think i saw in arcee commits its enabled in the kernel so i will attempt to use the libs from p1 + framework tweak to add android/hardware/usb
I also got the Camera App Which Imo is better than Stock CM10 Camera + ArcCamera it has panaroma + HDR it can adjust sharpness saturation exposure(not Lg's "Brightness" which they call exposure) and brightness + Contrast Red Eye Reduction Plus i think it uses custom Flash Pattern For camera the Issue with it is something is causing it fill the buffer and the app freezes when using Features that require the Huawei camera Library framework
Click to expand...
Click to collapse
Hi defcomg,
Any progress on the USB host? I desperately hope that you can make USB OTG work on O3D!!!
schubeir
Please link me to the camera u speak of. I live HDR photography lol
Sent from my LG-P920 using xda app-developers app
---------- Post added at 05:59 PM ---------- Previous post was at 05:58 PM ----------
Well... when you got it kinda working lol
Sent from my LG-P920 using xda app-developers app
MIUI V4
Im trynna Patch Stock ICS so far so good Will Need Testers if it Builds can't test oN CM10 and I are to Lazy to flash ics and then back again:good:.
If It works i will try Patch CM10 Next
H8 my internet damn 99% Upload and then fail trying again
I Give up for now it's still failing
defcomg said:
I Give up for now it's still failing
Click to expand...
Click to collapse
Good luck uploading, is this a test for otg?
Sent from my LG-SU760 using xda app-developers app
defcomg said:
I Give up for now it's still failing
Click to expand...
Click to collapse
hahha -160kbs , how does that even make sense lol, hope you havent given up totally, i could try the patch rom if you want , im back on ported ics
defcomg said:
Im trynna Patch Stock ICS so far so good Will Need Testers if it Builds can't test oN CM10 and I are to Lazy to flash ics and then back again:good:.
If It works i will try Patch CM10 Next
Click to expand...
Click to collapse
Are you talking about miui patchrom?
Sent from my LG-P920 using xda app-developers app
rezzsha said:
hahha -160kbs , how does that even make sense lol, hope you havent given up totally, i could try the patch rom if you want , im back on ported ics
Click to expand...
Click to collapse
yeah it always shows incorrect upload speed only have 512kbps upload internet is crap in my country they expensive as **** lol I will try again if that fails I will just do the github thing and upload the patchrom I used the lu6200 as template
berni987654321 said:
Are you talking about miui patchrom?
Sent from my LG-P920 using xda app-developers app
Click to expand...
Click to collapse
I have already patched it that's the ROM for testing
Only error I had was compiling settings apk had to manually patch it and that was it
Sent from my LG-P920 using xda app-developers app
***********************************************************************************
wARNING THIS IS A TEST ROM MIGHT BOOT LOOP I DUNNO TEST AWAY BASED ON ICS
**************************************************************************************
MIUIV4-ICS.zip - 251.02 MB
i'll try it out soon
edit: doesnt go pass the lg Logo
rezzsha said:
i'll try it out soon
edit: doesnt go pass the lg Logo
Click to expand...
Click to collapse
i think its the updater script
Code:
set_perm(0, 0, 06755, "/system/xbin/invoke-as");
it should at the least bootloop it patched the framework files without issue the only apps i patched was Gallery and ArcCamera
okay i should edit my reply to ,it gets stuck on the lg logo, restarts after a bit , then goes into recovery
If you need a tester I'm running ICS and ready to brick my phone :good: .
I had some free time so I synced cm10.1 source and started compiling it. Already fixed some compiling errors but got into trouble with the LGInfineon.java will post details later
Sent from my LG-P920 using xda app-developers app
posted last lines on pastebin hope somebody has an idea
hey defcomg , so i tried the mui port you posted above ,and added the line to the updater-script and had samnos j/h kernel , and instead of rebooting i get stuck on the "secure booting unsuccessfull" black screen, ive already flashed the signed u-boot but still nothing. Anyone else tried it ??
berni987654321 said:
posted last lines on pastebin hope somebody has an idea
Click to expand...
Click to collapse
Only saw this now According to the 2X Forum you need to move that file the issue i think it's refrencing files that do not exist in that dir
device/lge/p920/ril/telephony/java/com/android/internal/telephony/
to
frameworks/opt/telephony/src/java/com/android/internal/telephony/
Click to expand...
Click to collapse
Code:
$ mv ~/cm10.1/device/lge/p920/ril/telephony/java/com/android/internal/telephony/LGEInfineon.java ~/cm10.1/frameworks/opt/telephony/src/java/com/android/internal/telephony/LGEInfineon.java
rezzsha said:
hey defcomg , so i tried the mui port you posted above ,and added the line to the updater-script and had samnos j/h kernel , and instead of rebooting i get stuck on the "secure booting unsuccessfull" black screen, ive already flashed the signed u-boot but still nothing. Anyone else tried it ??
Click to expand...
Click to collapse
Then Secure boot needs to be turned off in Ramdisk does it logcat? on that screen
ok I just copyd it to that folder and cept the old one in the p920 directory
will try it later

Camera and Gallery Fix [CyanogenMod 11/12.1/13] Update

All Credits goes to M132 and CyanogenMod
jflte devices Only !
For "Smooth Video Recorder" : please choose "30 fps" in the framerate options.
Now it's super fast on video recording (in low light also !!!).
Update : add missing library (filters) and script modification. Please install from recovery, don't unzip and copy files. The script must remove some files during installation !
Update 1 : "Shutter Button" fixed
Update 2 : old and new shutter button availables
Update 3 : New Build for CM12.1
Awesome work, everything seems to work great except when pausing the recording it crashes the app
Awesome!
Good job
it crashed on Carbon nightly...........
qtwrk said:
it crashed on Carbon nightly...........
Click to expand...
Click to collapse
tested only on official cm11 ! no problem here
don't make any modification to avoid error and crash !
marouane80 said:
tested only on official cm11 ! no problem here
Click to expand...
Click to collapse
Just really wish it works on carbon.
It's not exactly a crash.
Picture is taken, but camera force closed,,, so had to open it again to take next picture
any news ?
Working good, now the best app is the stock camera app )))) thanks!
marouane80 said:
All Credits goes to M132 and CyanogenMod
I have made a flashable zip with their original apk with some tweaks added in : bools, media_profiles.xml and some HW libs.
May be CyanogenMod team can use this in the future to make "a smooth video recorder" on jf devices (please for this, choose "30 fps" in the framerate options).
Now it's super fast on video recording (in low light also !!!).
Edit : media_profiles and Camera app fixed, please re-download ! :good:
Click to expand...
Click to collapse
Thanks, It works!
New Update : add missing library (filters) and script modification. Please Install from recovery ! The script must remove some files during installation.
"Unable to connect to camera" under CM11 7/31 after installing this. Any fix?
fkacct said:
"Unable to connect to camera" under CM11 7/31 after installing this. Any fix?
Click to expand...
Click to collapse
I have the same problem. The original camera fix was buggy but better -- it would allow for recording of video but taking a still image would crash the app.
If you want I can post a link to the original somewhere. Of course, a working version of this fix would be best; I've had to revert to a deodexed (sp?) stock rom just to get the camera functionality back. I really miss CM.
xseeks said:
I have the same problem. The original camera fix was buggy but better -- it would allow for recording of video but taking a still image would crash the app.
If you want I can post a link to the original somewhere. Of course, a working version of this fix would be best; I've had to revert to a deodexed (sp?) stock rom just to get the camera functionality back. I really miss CM.
Click to expand...
Click to collapse
New Update Out !
marouane80 said:
New Update Out !
Click to expand...
Click to collapse
Still getting the "Can't connect to camera" error.
xseeks said:
Still getting the "Can't connect to camera" error.
Click to expand...
Click to collapse
It's working here on the the latest nightly (21-08-2014).
Please install from recovery. Don't unzip and copy files, it will not work like this ! There is a script to remove some files during installation.
Thanks
marouane80 said:
It's working here on the the latest nightly (21-08-2014).
Please install from recovery. Don't unzip and copy files, it will not work like this ! There is a script to remove some files during installation.
Thanks
Click to expand...
Click to collapse
Actually, I think I need to apologize. I'm pretty sure that I'm using the wrong phone; it's a jfltetmo (t-mobile) device, not jflte. My bad.
marouane80 said:
It's working here on the the latest nightly (21-08-2014).
Please install from recovery. Don't unzip and copy files, it will not work like this ! There is a script to remove some files during installation.
Thanks
Click to expand...
Click to collapse
Thanks for your work. But I also get the "Can't connect to camera" error. I clean flashed the 08-21 nightly CM11 and 6-6 gapps, then reboot and set up rom. Then flash the camera fix. But no luck.
I'm on jfltetmo device. I use TWRP 2.7.1.0. Wish this would work. The choppy video camera seems to be in all non touchwiz roms. Even in GPE edition. I'd be upset if I bought a GPE and out of the box it produced these poor videos.
Please, can you make a version for GE Rom? Thanks for your work marouane80.
New fix out. Install it from Recovery please !
marouane80 said:
New fix out. Install it from Recovery please !
Click to expand...
Click to collapse
Only CM11?

Categories

Resources