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
Related
This is for devs
This is a simple modification to have button-light-notifications (+ some extras) support.
This uses the LED class support in the linux kernel, with a new led driver for s5p6442.
On the Android system side, light notification is handled by the lights library (lights.s5p6442.so).
Below, you will find a new lights library that support bln and you can build it with the name lights.GT-I5800.so.
There is also a modification to the max8998.c driver. The old support for leds is deleted.
don't forget to :
- add LEDs class support in the kernel's .config (drivers/leds) and add all triggers.
- change owner and r/w permissions to the following sysfs files :
Code:
/sys/class/leds/lcd-backlight/brightness
/sys/class/leds/button-backlight/brightness
/sys/devices/platform/s5p6442_led.1/leds/button_led/trigger
/sys/devices/platform/s5p6442_led.1/leds/button_led/delay_on
/sys/devices/platform/s5p6442_led.1/leds/button_led/delay_off
Amazing.
Thanks
One question
Will it work on Samsung froyo roms
cdesai said:
Amazing.
Thanks
One question
Will it work on Samsung froyo roms
Click to expand...
Click to collapse
Yes, I guess.
Ironic. Lights file is called "lights.GT-I5800", but I5800 doesn't have leds
Anyway, I've just compiled it (both kernel and android sides), and in froyo something is failing (or maybe I did something wrong ). leds are almost always blinking (trigger file is at heartbeat mode almost all the time. Except when it's mode is default-on). I'm trying to see what the hell is causing this
moikop said:
Ironic. Lights file is called "lights.GT-I5800", but I5800 doesn't have leds
Anyway, I've just compiled it (both kernel and android sides), and in froyo something is failing (or maybe I did something wrong ). leds are almost always blinking (trigger file is at heartbeat mode almost all the time. Except when it's mode is default-on). I'm trying to see what the hell is causing this
Click to expand...
Click to collapse
change permissions directly in drivers/leds/led-class.c from 0644 to 0666 like this :
Code:
static DEVICE_ATTR(brightness, 0666, led_brightness_show, led_brightness_store);
static DEVICE_ATTR(max_brightness, 0444, led_max_brightness_show, NULL);
#ifdef CONFIG_LEDS_TRIGGERS
static DEVICE_ATTR(trigger, 0666, led_trigger_show, led_trigger_store);
#endif
and same in ledtrig-timer.c
Code:
static DEVICE_ATTR(delay_on, 0666, led_delay_on_show, led_delay_on_store);
static DEVICE_ATTR(delay_off, 0666, led_delay_off_show, led_delay_off_store);
Wow man! So fast..
ranadip.bswas said:
Wow man! So fast..
Click to expand...
Click to collapse
also, heartbeat is the default trigger. You can change it in the lights.GT-I5800 (lights.cpp) : change "heartbeat" to "none" if you want the default samsung behaviour.
moikop said:
Anyway, I've just compiled it (both kernel and android sides), and in froyo something is failing. leds are almost always blinking (trigger file is at heartbeat mode almost all the time. Except when it's mode is default-on).
Click to expand...
Click to collapse
marcellusbe said:
change permissions directly in drivers/leds/led-class.c from 0644 to 0666 like this :
and same in ledtrig-timer.c
Click to expand...
Click to collapse
That didn't do it, as it wasn't really a bug. Modified lights.c and now it works great!
Thanks
moikop said:
That didn't do it, as it wasn't really a bug. Modified lights.c and now it works great!
Thanks
Click to expand...
Click to collapse
Can we hav a bite??
This is really awesome marcel
Sent from my GT-I5801 using XDA App
This Is really Cool One ..looking forward to have it over our G3 .
Marcell You are a Rockstar in the Andriod world.
Man.. Cant wait.. Moikop said in earlier post he s able to compile it.. if it s completed, can we guys try it out?? :/
tapatalked by RnB
Please please... why are you making me so desperate.??
Please let us have some .
hey moikop.. any news?
ranadip.bswas said:
hey moikop.. any news?
Click to expand...
Click to collapse
Sorry guys, I'm busy with a new project much bigger and important
I've already implemented the support for this new system in G3Mod. lights.*.so file compiled as well, and it working great.
It's only a matter of time until you guys will be able to use this in your phones. Just be patient
moikop said:
Sorry guys, I'm busy with a new project much bigger and important
Click to expand...
Click to collapse
for g3...?
well
am having samsung galaxy i5800
will it be useful to my droid..??
austin266 said:
well
am having samsung galaxy i5800
will it be useful to my droid..??
Click to expand...
Click to collapse
hard back/menu button = bln wld not wrk.
Hey,
I am currently making a kernel and i would like to add the BLN support i am using Samsung Galaxy Wonder (GT-I8150) do i add the same lines as this one or i have to change some??
Sorry for noob question i am just a beginner!
Will this work on samsung galaxy grand... I'm desperate to have it...
venkat kamesh said:
HI EVERY ONE I AM DEVELOPER OF P350
I HAD GOT SOME PM REQUESTS TO SOLVE SOME BUGS
SO I STARTED MY WORK ON SOME FIXES
THIS ROM IS COMPILED FROM DEVICE FOLDER WITH SOME CHANGES [Thanx to Marcellusbe for making CM7.2 for this device]
I will try my level best upto my knowledge to solve the bugs.
And since I Dont have this device.... i need good testers for testing the patches which i will be giving. And all the patches which i will be giving in here will shud be used on the below rom only.
THE DOWNLOAD LINK FOR THE BASE ROM (CWM) ONLY CLICK HERE
OR I MIRRORED SOME LINKS SO U CAN TRY THIS ALSO CLICK HERE
_____________________________________________________________________
PATCH SECTION:
PATCH 2:CLICK HERE (UPDATED ON 12-06-2012 REGARD OPTIMIZER AND WIFI ABILITY CHANGES)
PATCH 1: CLICK HERE
PATCH 3:this is not working well so i will try
NOTE:For All the testers........
In the below bug list i hve mentioned for what bug which patch is for....so u can test accordingly.
QUICK RESPONSE MAKE WORK FAST
THANKS FOR TRUST ON MY WORK
THIS IS BUG LIST Thanks to kyrillos13.
I NEED TESTERS FOR THIS
- Sometimes the screen blinks white on Alpha8.1 [Its due to OPEN FIMG, it has something to do with the framerate of bootanimation]
- Auto-rotate stops working at random
- Ringtone doesn't loop (FIXED BY PATCH 2 TESTED)
- Bluetooth (PATCH1)(TESTED it works with this rom only)
- USB tethering (NEXT RELEASE)
- Video Recording (NEXT RELEASE)
- GPS isn't fully working (FIXED BY PATCH 2 TESTED) thanks for simbawimba on page 4
- Youtube lags at HQ quality (NEXT RELEASE WORKING ON IT)
- Video playback issues [Video lag ] (NEXT RELEASE NOW WORKING FOR IT)
- Wifi issue (You can't connect to a network with hidden SSID) NOT WORKING ON PATCH 3 I WILL REPOST NEW ONE
- Compass (DEPENDS ON GPS)
- iptables problem with the new kernel v1.8 (Confirmed)
NEW BUG ADDED GOT ON PM LET ME KNOW VOICE RECORDING IS WORKING ? IF NOT WORKING REPORT ME I WILL FIX
IF THERE ARE ANY MORE THAN THIS LIST PLEASE INFORM ME I WILL ADD TO LIST AND WILL BE SOLVED
IF U LIKE MY WORK PLEASE DONATE TO ME TO ENCOURAGE MY HARD WORK
Click to expand...
Click to collapse
JUST OUTDATED
TRY THIS TEST VERSION 2 I HAVE LOT OF EDITS AND SOME MORE FIXES
THE DOWNLOAD LINK FOR VERSION 2 IS CLICK HERE
FIRST MAKE A BACKUP AND THEN APPLY AND IF U REPLY AS QUICK MY WORK GET FASTER
multitouch status using any app
wifi (delete dhd.ko from system/lib/modules )
cam
bt call (it is now working with low voice) that too will be fixed
gps finally fixed
lag points at some conditions
video drawbacks
and few
dont apply any patches
today i had posted the kernel please check it if that works then here on test version 2 zip replace zimage and flash
here the thread is located http://forum.xda-developers.com/showpost.php?p=27986514&postcount=198
venkat kamesh said:
HI EVERY ONE I AM DEVELOPER OF P350
PLEASE DONT ASK FOR ETA'S
I HAD GOT SOME PM REQUESTS TO SOLVE SOME BUGS
SO I STARTED MY WORK ON SOME FIXES
THIS IS COMPILED FROM DEVICE FOLDER WITH SOME CHANGES
THE SAME U CAN EXPERIENCE FROM ROM
BUT IT HAD SOME MORE CHANGES
WELL I LIKE TO SAY THAT MY FIRST BUG RECTIFICATION IS Bt call
AND CAMERA IS JUST ADJUSTED
For this fix i need to get compile the kernel on edit of some drivers
I don't have devices to extract the configurations if the devs helped on this i can get few more fixes
THE DOWNLOAD LINK FOR THE ROM IS FOR CWM ONLY CLICK HERE
I AM NOT SURE BECAUSE ONE OF THE TESTER SAID IT PREVIOUSLY IT WAS NOT CONNECTED TO PC AND NOT IT PAIRED AND WORKED THE FINAL IS HE DONT HAVE THE BT DEVICE SO NEED TO GET TESTS
IF U LIKE MY WORK PLEASE DONATE TO ME TO ENCOURAGE MY HARD WORK
Click to expand...
Click to collapse
Nice to see an other developer for the g3!
i had a long work with this device i had posted the rom have a try on it (update version test 2 )
reserved for future use
to get latest updates on fixes
And another thing its highly recommended to flash this rom only for testers .....so the one who flashes ur only purpose shud be testing and reporting and this is going to be fast......no space for complain........
---------- Post added at 01:58 PM ---------- Previous post was at 01:49 PM ----------
bt on off problem is still there.the problem tht i said earlier on chat.
camera shows an erro..."cannt connect to camera".
venkat kamesh said:
...
For this fix i need to get compile the kernel on edit of some drivers
I don't have devices to extract the configurations if the devs helped on this i can get few more fixes
...
Click to expand...
Click to collapse
Why don't you just use marcellusbe guthub repository? I think you can find everything you need in it.
Kernel defconfig : https://raw.github.com/sdadier/gingerbread/cm7/Kernel/.config
Kernel source : https://github.com/sdadier/gingerbread
Device : https://github.com/sdadier/android_device_samsung_apollo
You must already have one of those links as i remember aarrun asking me about em yesterday.
One more thing, if you do any changes to the source, upload it somewhere, preferably github.
aarrun said:
And another thing its highly recommended to flash this rom only for testers .....so the one who flashes ur only purpose shud be testing and reporting and this is going to be fast......no space for complain........
---------- Post added at 01:58 PM ---------- Previous post was at 01:49 PM ----------
bt on off problem is still there.the problem tht i said earlier on chat.
camera shows an erro..."cannt connect to camera".
Click to expand...
Click to collapse
try the patch so it would be fixed
cdesai said:
Kernel defconfig : https://raw.github.com/sdadier/gingerbread/cm7/Kernel/.config
Kernel source : https://github.com/sdadier/gingerbread
Device : https://github.com/sdadier/android_device_samsung_apollo
You must already have one of those links as i remember aarrun asking me about em yesterday.
One more thing, if you do any changes to the source, upload it somewhere, preferably github.
Click to expand...
Click to collapse
here i am waiting for thanks for the post and thanks aarrun as he gave sources but for ics
venkat kamesh said:
try the patch so it would be fixed
Click to expand...
Click to collapse
Yep, they work now.
Except video cam of course.
Could you please take a look at the gps too it works but partially and takes insanely long to get a fix i think the problem is that it doesn't use the a-gps data from cellphone towers.
Sent from my GT-I5800 using Tapatalk 2
@venkat kamesh, you could also take a look here: http://forum.xda-developers.com/showthread.php?t=1118283
Its a bug list of the current CM7.2, so you know what should be fixed.
bt is fixed now.....he will be working on camera next......fixing the distorded preview bug and video recording. and really tht was damn fast.....
kyrillos13 said:
@venkat kamesh, you could also take a look here: http://forum.xda-developers.com/showthread.php?t=1118283
its a bug list of the current cm7.2, so you know what should be fixed.
Click to expand...
Click to collapse
really a valuable thread i will get on solve as quick as possible according to tester info
venkat kamesh said:
really a valuable thread i will get on solve as quick as possible according to tester info
Click to expand...
Click to collapse
Thanks man, that is just what is needed now.
venkat kamesh said:
really a valuable thread i will get on solve as quick as possible according to tester info
Click to expand...
Click to collapse
so good news for us ^^ i keep my fingers crossed that you will solve our issues in cm7
And maybe you could help or give some advice how to solve calling bug in rubensollie GB ROM's ports ?
http://forum.xda-developers.com/showthread.php?t=1613538
dkownacki said:
so good news for us ^^ i keep my fingers crossed that you will solve our issues in cm7
And maybe you could help or give some advice how to solve calling bug in rubensollie GB ROM's ports ?
http://forum.xda-developers.com/showthread.php?t=1613538
Click to expand...
Click to collapse
Wait first for get fully working cm7... We need that more than custom roms...
P.S. It's great to see that someone can fix all that bugs!!!
Sent from my GT-I5800 using XDA
venkat kamesh said:
really a valuable thread i will get on solve as quick as possible according to tester info
Click to expand...
Click to collapse
Thanks a lot to your Valuable Efforts ( Thanks Button Used As Well )
If it's not too much may I request you to also take a look at our Ice Cream Sandwich Port? Coz it's most probably abandoned by Current Devs and if you could work it would be great if you solve some things like Camera..
well i am also working with my device for ics by now i had just solved only 4 bugs for our devices
but i made our p350 a fully working cm rom without bugs
so here i am now working with two devices at a time so on completion of cm i will overtake your ics because one is better than other
tomorrow morning i am going to give a surprise for your devices
venkat kamesh said:
well i am also working with my device for ics by now i had just solved only 4 bugs for our devices
but i made our p350 a fully working cm rom without bugs
so here i am now working with two devices at a time so on completion of cm i will overtake your ics because one is better than other
tomorrow morning i am going to give a surprise for your devices
Click to expand...
Click to collapse
Great to see you here mate... Thanks a lot for helping us out here.....
Anyway I Like Surprizessssss
venkat kamesh said:
well i am also working with my device for ics by now i had just solved only 4 bugs for our devices
but i made our p350 a fully working cm rom without bugs
so here i am now working with two devices at a time so on completion of cm i will overtake your ics because one is better than other
tomorrow morning i am going to give a surprise for your devices
Click to expand...
Click to collapse
Am I dreaming? This is soooo great! If You and our senior devs join together then You could do magic! Very nice of you joining in to the i5800 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?
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
Hello all Respected devs
I need ur help for fix cam bug of 4.2
I have idea... from which u can solve 4.2 cam bug
I have no c2 device so... i cant do anything without it....
So any good dev help me to fix that....
Dhairya is do as i say nd then he got working cam... but now he saying that he will complete that by spet end...
But all want this patch fast so i m requesting you to do this
Please all respected devs support me to solve that cam problem
mohsin24 said:
Hello all Respected devs
I need ur help for fix cam bug of 4.2
I have idea... from which u can solve 4.2 cam bug
I have no c2 device so... i cant do anything without it....
So any good dev help me to fix that....
Dhairya is do as i say nd then he got working cam... but now he saying that he will complete that by spet end...
But all want this patch fast so i m requesting you to do this
Please all respected devs support me to solve that cam problem
Click to expand...
Click to collapse
Do what?
Solution of 4.2 Cam Fix
ibshar said:
Do what?
Click to expand...
Click to collapse
1st Thanks For Reply Me ..:good:
As We Know in 4.2 ROM there is Other ROM kernel is used.......
Then I learn About that handset Configuration... There is Different Camera Drivers So our CAM is not working..
But in Boot.img Kernel is packed But When we install that in phone kernel will extreact in Dev Folder As i know...... May B right....
So.... U Can Replace Camera Drivers from Root folder Use Camera Driver of Stock ...... Then Could Camera Will Work...
mohsin24 said:
1st Thanks For Reply Me ..:good:
As We Know in 4.2 ROM there is Other ROM kernel is used.......
Then I learn About that handset Configuration... There is Different Camera Drivers So our CAM is not working..
But in Boot.img Kernel is packed But When we install that in phone kernel will extreact in Dev Folder As i know...... May B right....
So.... U Can Replace Camera Drivers from Root folder Use Camera Driver of Stock ...... Then Could Camera Will Work...
Click to expand...
Click to collapse
Many already tried this several times this is what you said to that guy who got his cam working may be thats a fake news he already posted a fake post in the canvas2 group in fb if he got it working why is he waiting for sep end to upload 2 or 3 mb patch
Sent from my A110 using xda app-developers app
---------- Post added at 07:43 PM ---------- Previous post was at 07:42 PM ----------
showstopper1 said:
Many already tried this several times this is what you said to that guy who got his cam working? may be thats a fake news he already posted a fake post in the canvas2 group in fb if he got it working why is he waiting for sep end to upload 2 or 3 mb patch
Sent from my A110 using xda app-developers app
Click to expand...
Click to collapse
Sent from my A110 using xda app-developers app
showstopper1 said:
Many already tried this several times this is what you said to that guy who got his cam working may be thats a fake news he already posted a fake post in the canvas2 group in fb if he got it working why is he waiting for sep end to upload 2 or 3 mb patch
Sent from my A110 using xda app-developers app
---------- Post added at 07:43 PM ---------- Previous post was at 07:42 PM ----------
Sent from my A110 using xda app-developers app
Click to expand...
Click to collapse
There is Some Problem with lib files also..... After that u need to work on it also...... But
May b ur Right Bro........ But as he said me m serial Make contect with him and get status from him ...... and published in group..... ....... I think he will Do that............But Find Cam Driver may b it will work.......... I Just Sure becoz of him...... i have no c2 to check that........ So if I Wrong Sorry In Advance ,,,,,,, But Can i get final status it will work or not??????
mohsin24 said:
May b ur Right Bro........ But as he said me m serial Make contect with him and get status from him ...... and published in group....... I think he will Do that............But Find Cam Driver may b it will work.......... I Just Sure becoz of him...... i have no c2 to check that........ So if I Wrong Sorry In Advance ,,,,,,, But Can i get final status it will work or not??????
Click to expand...
Click to collapse
Kernel did Magic ....
Dark4Droid said:
Thats not the Problem..... ACtualy we use Kernel from Stock.... So drivers isnt issue.... Its the Libs and mounts for Camera....
Click to expand...
Click to collapse
Thanks Sam bro..............
Sorry For this Stupid Thread ..... I Just really Fool Person....... i just trust on That person............ Now i got The problem......... And As u say ...that MAC 2 Update is Also Fake...... Till he does not Upload that Patch I Will ask him for patch Any how.... if He Make Solution of that then he will provide patch....... Thanks Again bro
showstopper1 said:
Many already tried this several times this is what you said to that guy who got his cam working may be thats a fake news he already posted a fake post in the canvas2 group in fb if he got it working why is he waiting for sep end to upload 2 or 3 mb patch
Sent from my A110 using xda app-developers app
---------- Post added at 07:43 PM ---------- Previous post was at 07:42 PM ----------
Sent from my A110 using xda app-developers app
Click to expand...
Click to collapse
If its about me, then i must say i had not posted on facebook and had given working proof and the patch several times on different threads and in personal messages. Also told the edit that have to be done in init.rc. and even i had asked for n820's libs and camera.default.so so i can give a proper patch for canvas 2 but if they are not interested in trying, i am not interested in helping.
Sent from my Canvas Music using XDA Premium 4 mobile app
Sudeep Duhoon said:
If its about me, then i must say i had not posted on facebook and had given working proof and the patch several times on different threads and in personal messages. Also told the edit that have to be done in init.rc. and even i had asked for n820's libs and camera.default.so so i can give a proper patch for canvas 2 but if they are not interested in trying, i am not interested in helping.
Sent from my Canvas Music using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Sudeep Duhoon said:
If its about me, then i must say i had not posted on facebook and had given working proof and the patch several times on different threads and in personal messages. Also told the edit that have to be done in init.rc. and even i had asked for n820's libs and camera.default.so so i can give a proper patch for canvas 2 but if they are not interested in trying, i am not interested in helping.
Sent from my Canvas Music using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Chill bro its not you,actually you are doing a good job for your device n you are trying to help us too
Its not that anybody not wulling to test your patches itz because all and every possible ways have been tried out by @BOND1987 and @Dark4Droid even they tried with a110q files and also with jiyau base editef metainti.rc and init.rc too evry possible ways tried i think since it is the first dual core device from mmx with an 8mp shutter they might have used a different architecture for camera im saying this because i tried canvashd,canvasmusic camera the cam quality differs even they are using the same hardware cameras for all devices,but some lines or lib is conflicting but the answer lies in one of the libs from stock or in lines of the init.rc or metainit.rc and one more thing even we tried using the ics stock rom files
Sent from my A110 using xda app-developers app
Now i am damm sure the problem is not with kernel version it lies in libs. But i cant figure it out the last success we got is black screen on rear camera by bond1987. Soo all of you try some hex editing of libs.
And i think we need to post this problem on android general for more help. OP ask mods to move this post to android general or in Q&A section.
Sent from my C1604 using XDA Premium 4 mobile app
icoolguy1995 said:
Now i am damm sure the problem is not with kernel version it lies in libs. But i cant figure it out the last success we got is black screen on rear camera by bond1987. Soo all of you try some hex editing of libs.
And i think we need to post this problem on android general for more help. OP ask mods to move this post to android general or in Q&A section.
Sent from my C1604 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I think solution hidden in framework.jar. there are almost ten files named cam smile files in framework/hardware folder.. change all smiles with stock and test...
try
DEVS TRY WITH 5mp 4.2.2 libs files as it may slove problem as the rom which we ported is 5mp camera right ??
dhiarya said:
DEVS TRY WITH 5mp 4.2.2 libs files as it may slove problem as the rom which we ported is 5mp camera right ??
Click to expand...
Click to collapse
Please share it.
try
i am aslo searching for it but not gttng i got some libs here is link try in my it worked for 5 sec then fc and crashes http://d-h.st/1GU
dhiarya said:
i am aslo searching for it but not gttng i got some libs here is link try in my it worked for 5 sec then fc and crashes http://d-h.st/1GU
Click to expand...
Click to collapse
You said you have patched Camera... Just Pinkish Color issue is left...You were Joking @icoolguy1995 I was trialing around #camera and lib's... Now used A110Q camera apk... No Back cam + no front camera.... Early...I got Change camera to front camera option in @superdragonpt
Google Edition Camera Share..But upon changing...FC.... :victory:
currently this is my config, i've made some changes since i gave you my ramdisk and camera app on our FB dev Group
For better results use the camera app, i gave you.
init.rc (#Modified by me; im getting better results with this)
Added MODS in RED
Code:
[B] #Camera
chmod 0660 /dev/camera-sysram
chmod 0660 /dev/camera-isp
chmod 0660 /dev/camera-eis
chmod 0660 /dev/camera-fdvt
chmod 0660 /dev/camera-resmgr
chmod 0660 /dev/kd_camera_hw
chmod 0660 /dev/kd_camera_flashlight
chmod 0660 /dev/FM50AF
[COLOR=Red] chmod 0660 /dev/MT9P017AF
chmod 0660 /dev/A8141AF
[COLOR=Black]chmod 0660 /dev/OV8825AF[/COLOR]
chmod 0660 /dev/AD5823AF
chmod 0660 /dev/EEPROM_IMX111OTP
chmod 0660 /dev/EEPROM_93CX6 [COLOR=Blue]---------> EEPROM from my system/lib/modules [/COLOR][/COLOR]
chown system camera /dev/camera-sysram
chown system camera /dev/camera-isp
chown system camera /dev/camera-eis
chown system camera /dev/camera-fdvt
chown system camera /dev/camera-resmgr
chown system camera /dev/kd_camera_hw
chown system camera /dev/kd_camera_flashlight
chown system camera /dev/FM50AF
[COLOR=Red] chown system camera /dev/MT9P017AF
chown system camera /dev/A8141AF
[COLOR=Black] chown system camera /dev/OV8825AF[/COLOR]
chown system camera /dev/AD5823AF
chown system camera /dev/EEPROM_IMX111OTP
chown system camera /dev/EEPROM_93CX6
chmod 0777 /dev/iqoo_flashlight_platform //zsy [/COLOR][/B]
default.prop (#Modified)
Added MODS in RED
Code:
#
# ADDITIONAL_DEFAULT_PROPERTIES
#
[COLOR=Red][B]ro.secure=0
ro.allow.mock.location=1[/B][/COLOR]
persist.mtk.aee.aed=on [COLOR=Blue][B]-----> TEST "on" and "off", [/B][/COLOR] [B][COLOR=Blue]depending in your system stability[/COLOR][/B]
[COLOR=Red][B]ro.debuggable=1[/B][/COLOR]
[COLOR=Red][B]persist.sys.usb.config=mass_storage,adb[/B][/COLOR]
persist.service.acm.enable=0
[COLOR=Red][B]persist.service.adb.enable=1[/B][/COLOR]
ro.mount.fs=EXT4
Enjoy, and give feedback
http://forum.xda-developers.com/showthread.php?p=45746476#post45746476