yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy R i9103] shaheen7m:
Guys, god sake please don't irritate Adam. If he know how to develop then obviously he knows when to update OP. And as Karthik said, we have a discuss thread to use. Use this thread for testing and bug logging. No offence meant and I know even this post is inappropriate in these thread, but situation demands. For all who need updated OP, please subscribe to these thread and follow Adam's post. Its the least thing we can do. I am doing the same.. Let him concentrate on dev. That's better for us... :thumbup:
[Samsung Galaxy R i9103] parmarket:
sorry to post this, but the worst part is people don't read previous posts for their query and keep on asking same thing already discussed. requesting all please dont ask if something is not working, just read previouse posts or go to general thread to ask questions, let it be just for devs.

still if you are not clear watch this
[Samsung Galaxy R i9103] shaheen7m:
Somebody noticed the missing of fm application?
[Samsung Galaxy R i9103] D™:
A little Help from My side

I dont know it will help you or not but a little help from my side:

List of Tegra 2 Devices with CM10/CM9 & working Camera :

1) LG Optimus 2X

1.1) http://xdaforums.com/showthread.php?t=1915411 - [CM10][P990] KashaMalaga Nightlies Hackfest JellyBean [build 18]

1.2) http://xdaforums.com/showthread.php?t=1875564 - [ROM][CM10] ParanoidAndroid v2.23 Hackfest JB [build8]

1.3) http://xdaforums.com/showthread.php?t=1508492 - [ROM][CM9][ICS 4.0.4][JUN27] Nova HD Rebuild v1.1.0 | LG UI 3.0 | Highly Customizable

2) Motorola Atrix 4G

2.1) http://xdaforums.com/showthread.php?t=1781970 - [ROM] CM10 (JellyBean) for Atrix - 20121024

2.2) http://xdaforums.com/showthread.php?t=1790036 - [Jellybean] unofficial cm10 by jokersax 8/29/2012

3) Samsung Galaxy Tab 10.1

3.1) http://xdaforums.com/showthread.php?t=1803593 - [19.Oct] Cyanogenmod 10 - Android 4.1.1 (Jelly Bean) - EXPERIMENTAL

3.2) http://xdaforums.com/showthread.php?t=1665133 - Official CyanogenMod 9 Nightlies

4) Motorola Xoom

4.1) http://xdaforums.com/showthread.php?t=1917575 - [ROM] [KANG] CM10 for wingray by z1gackly

4.2) http://xdaforums.com/showthread.php?t=1885269 - [ROM][NIGHTLY] CM10 (Wingray/Stingray/Everest)
[Samsung Galaxy R i9103] khpatel4991:
I am facing a common bug that I can't share item from any app to any app...I wrote in my previous thread about system crashing while trying to open tapatalk tweetcaster from browser,

Today I can't share a tweet from tweetcaster to any other app.

So in short the pop up of sharing with, has failed to start up..pls someone help

I tried sharing tweet even from Plume,but same result,android process stops

Now again like yesterday I can't change my wallpaper,from home screen and gallery...

AND now I can't open tweetcaster or plume..
[Samsung Galaxy R i9103] D™:
This can make you insane, can you please flash the latest build again. Dont do wipe data. just flash & wipe cache & dalvik one also.:fingers-crossed:

Suggestion: can we discuss all this in Discussion thread..?? I you dont mind then only.:)
[Samsung Galaxy R i9103] xlm13x:
sources/roms of other devices based on same board wont be useful.

Source.
[Samsung Galaxy R i9103] D™:
Can't say anything coz lots of MODs done by help taking from other sources.
[Samsung Galaxy R i9103] hasanjaved:
Buddy

There is one more with tegra 2

5) samsung captivate glide
[Samsung Galaxy R i9103] karthik050782:
Yes, we cant use blindly the same code. We need to work on that.

Here is my understanding, the chat says they can't use our kernel or programs as we have different configuration.

Our camer device names are s5k4ecgx and s5k6aafx. And in O2X it will be different.

After seeing the crespo, it uses the same driver but V4L2 have been used in their board. But in our N1 it is not present. I tried the same driver code and compiled it, but it got error in the board specific(where i scared to make changes).

Now, I think we can use the Galaxy Tab as base and need to analyse their driver code(which is working only for back camera) and see the logic and implement to our device.

Its gonna take time, but we cant sit idle and say its impossible, we have to TRY

What you guys say?

Edit: Glide don't have working camera in CM9 and CM10. Checked with DMAN!!!
[Samsung Galaxy R i9103] D™:
yes buddy & dev of that CM10 rom is with us already. He is "dman3285" buddy.;)
[Samsung Galaxy R i9103] D™:
100% true buddy. If we will just sit & look here n there then we can't do anything. you are doing such a tremendous job here. God bless you..:good:
[Samsung Galaxy R i9103] karthik050782:
Just checked pershoot github, they are using properietary library means just copy from ICS... But I tried that well before and it didn't boot...

Anyway will try tonight again and check the log...

Thanks for the support vikesh...
[Samsung Galaxy R i9103] D™:
Hey buddy, Just downloaded an application called Camera ICS & its showing installed in my menu. but when i click over it then gives FC.:(

so, I am attaching Logcat with screenshot.:victory:

Note: its showing always when I click over menu, means its stable after installations.:confused:
[Samsung Galaxy R i9103] karthik050782:
Yes! It won't work without Camera HAL.

Below is the error.

E/CameraService( 134): Camera HAL module not loaded

You have to take the camera.tegra.so from system/lib/hw/camera.tegra.so from ICS and push it into system/lib/hw/camera.n1.so

I tried this before but unable to boot... so keep ready with the backup and give a try.. If possible get the kmsg and logcat... lets see..
[Samsung Galaxy R i9103] D™:
Downloading another camera app & will let you know after..;)
[Samsung Galaxy R i9103] Adam77Root:
I had tried the proprietary HAL module and it didn't work.

Sent from my GT-I9103
[Samsung Galaxy R i9103] karthik050782:
Device getting boot after using the proprietary module?? For me it was not booting :(

@vikesh: App cant do anything! First the module should be loaded, then only you can use the app..
[Samsung Galaxy R i9103] D™:
Here is another Logcat with Screenshot of Line camera.

@karthik: buddy, jst trying my level best. Thought any app might do it. but no success. :(
[Samsung Galaxy R i9103] parmarket:
How trying different camera app will help here when drivers are not ready ?
[Samsung Galaxy R i9103] Adam77Root:
Because you didn't add the modules on which the camera HAL depends. Check your logcat, it'll tell you which libs are missing, I don't remember.

Sent from my GT-I9103
[Samsung Galaxy R i9103] karthik050782:
Nice! Will dig it on tonight, have you copied the cameradata and nvcamera.conf?
[Samsung Galaxy R i9103] D™:
You never know, it may work or may not.:p
[Samsung Galaxy R i9103] kunaal2580:
I just now flashed CM10 24th build.. its super smooth and lag free.. but I can't seem to find file manager, videos app.. also I am not able to play some videos from gallery.. is this normal?? Aren't these apps a available??
[Samsung Galaxy R i9103] mj.vikram:
Kunaal you need to download file manager from Play store and use MX Player for videos.....

Request all these kind of things should be discussed in General Section, Hope you will understand ....
[Samsung Galaxy R i9103] kunaal2580:
Thanks and sorry.. ill keep in mind..
[Samsung Galaxy R i9103] karthik050782:
Hello Friends,

Here is the update of my y'day work...

Tried by using proprietary libraries. As Adam mentioned copied all the missing libraries too... But the last log msg is

I/NvOmxCamera( 121): HAL_camera_device_open: open camera 0

E/NvOmxCamera( 121): int android::HAL_getNumberOfCameras() ++

E/NvOmxCamera( 121): int android::HAL_getNumberOfCameras() --

D/NvOmxCameraSettingsParser( 121): NvOmxCameraSettingsParser constructor

V/NvOmxCamera( 121): NvOmxCamera::NvOmxCamera ++

V/NvOmxCamera( 121): NvOmxCamera() Creating Camera objects...

E/NvOmxCamera( 121): createCameraObjects: graph creation failed! [0x80001005]

V/NvOmxCamera( 121): createCameraObjects: Fail! [0x80001005]

E/NvOmxCamera( 121): NvOmxCamera::createObjects :::: FAIL ::::::::::::::::: [0x80001005]

E/NvOmxCamera( 121): Camera cannot create

E/CameraService( 121): Could not open camera 0: -38

I/CameraService( 121): Destroying camera 0

E/CameraHolder( 1025): fail to connect Camera

E/CameraHolder( 1025): java.lang.RuntimeException: Fail to connect to camera service

This graph creation failed message is not going out.. And noticed with stock kmsg that the drivers get started at the time of camera open, but in our case the driver is not getting started.

Who knows if we overcome this graph creation error, then it may start and we might get a working camera.

Now, going to PM DevArtem and pershoot and let us see...

In between anybody find anything about this cameraobject you are free to post here or PM me :)
[Samsung Galaxy R i9103] Adi_Pat:
Do one thing, check logs with stock ICS and working camera, we will compare them. Your camera HAL is closed source?
[Samsung Galaxy R i9103] karthik050782:
Yeah Nvidia wont provide the HAL, only we have is drivers which are released by samsung!

Doing the comparison,

here the two logs

1. BB ROM Log

2. CM10 Log
[Samsung Galaxy R i9103] Adi_Pat:
Its difficult then :(

Any devices using same Camera HAL?
[Samsung Galaxy R i9103] D™:
Yes Dell Streak 7. I found these below links while searching for camera HAL.

For Google Doc

In XDA

But the guys is asking same as camera HAL error coming to our one.
[Samsung Galaxy R i9103] Adi_Pat:
Atleast we have some source to work with, rather use Dell Streak Opensource camera HAL than stick to closed source blobs which dont work (And you cannot edit them too)

!
[Samsung Galaxy R i9103] karthik050782:
Nope! With samsung and tegra 2 only Galaxy Tab having work camera with proprietary libraries... :(

Edit: Tried streak but didn't worked.. will come again with the logcat :)
[Samsung Galaxy R i9103] Adi_Pat:
It works for them, it doesn't work for us, and without source you simply would not be able to fix it. I suggest use the Dell Streak Opensource camera HAL, then we can work on fixing each error. Download them, since you have already set up env. to build for Galaxy R, download the libcamera source of DellStreak7. And try to build (Considering they are for Jellybean) upload them to github too, I will fork it and help you guys.
[Samsung Galaxy R i9103] amar1548:
Sorry posted in wrong section......
[Samsung Galaxy R i9103] karthik050782:
Here is the logcat using streak libcamera

I feel below is the culprit...

E/V4L2Camera( 121): ERROR opening V4L interface: No such file or directory

Edit: Our device wont support V4L2... so what next... ????
[Samsung Galaxy R i9103] CallMeVentus:
Make a null V4L2 ? Or something ?

Sent from Ursa's claws.
[Samsung Galaxy R i9103] karthik050782:
How to make that? In kernel or lib camera?
[Samsung Galaxy R i9103] CallMeVentus:
I believe it's libcamera....I might be wrong though .

Sent from Ursa's claws.
[Samsung Galaxy R i9103] Adi_Pat:
Its libcamera, @karthik can you push the sources with your changes to github, I can help out.
[Samsung Galaxy R i9103] karthik050782:
Sure, now out of home... u just need the libcamera source... then I am using the same derartem code... only change is in android.mk as camera.n1...
[Samsung Galaxy R i9103] dman3285:
Umm.. yes.. I found the hal. If youl look and download the source from Samsung open source and extract. The stock Board config.mk says BOARD_HAVE_HTC_CAMERA=true. I have the camera hal. In your galaxyr .mk add to PRODUCT_PACKAGES, LegacyCamera. And I'll send you the hal. :D
[Samsung Galaxy R i9103] karthik050782:
Send it now... will try after reaching home... another 2 hours... my head go into my laptop...

Thank u... have u tried? Its working in your device?
[Samsung Galaxy R i9103] 824587:
Does this mean you might push a camera fix in the next few hours ? Fingers crossed.
[Samsung Galaxy R i9103] D™:
May b. If it will work then only BT will have to b done. Bt wait till karthik works.
[Samsung Galaxy R i9103] karthik050782:
Its my mistake, i have used Toshiba thrive source.. now it is in my github...

https://github.com/karthik050782/android_device_toshiba_betelgeuse/blob/jellybean/libcamera

Check it out Adi... I think the thrive too have the same board...

Dman, waiting for ur reply, i think we use only HTC_AUDIO_DRIVER. Check it again.. after reaching home will do the check...

Guys, dont expect much, it will take some time...
[Samsung Galaxy R i9103] Machram:
First of all, a huge thanks to all the developers in CM10. You guys are doing the best work ever, seriously.

With that said, and I know you are currently working on getting the camera to work. But, I have noticed that no recording app works. It seems like it doesnt find the microphone or something(except in calls). So that's why Google Now wont work properly either.

Just wanted you guys to know, if you didnt already.

And can't thank you guys enough for all the hard work you are putting down on this rom. :)
[Samsung Galaxy R i9103] dman3285:
No.. we use the same camera also. I got it mostly working with the camera hal from the inspire4g which also uses the LegacyCamera
[Samsung Galaxy R i9103] Adi_Pat:
Will take a look at it tomorrow. Tired today .. 12:40am here. Will fork, clone and check it out tomorrow.
[Samsung Galaxy R i9103] karthik050782:
Thanks buddy! Me too from india, but only get time at night...

Now corrected the video0 error, it is in camerafactory.cpp... tried device specific, not worked...

tried tegra_camera it able to open, but while querying it is getting error

E/V4L2Camera( 121): Error opening device: unable to query device.

In KMSG:

<3>[ 1054.401380] tegra_camera tegra_camera: tegra_camera_ioctl: Unknown tegra_camera ioctl.

Digging... :)
[Samsung Galaxy R i9103] karthik050782:
My eyes are rolling.. not sure what to do... v4l2 queries are not getting accepted by tegra-camera.c...
[Samsung Galaxy R i9103] Indha Lezzio:
Watch the F1 race just in few minutes and have a rest mate :thumbup:

Sent from my I9103
[Samsung Galaxy R i9103] Adi_Pat:
Checking it out now!
[Samsung Galaxy R i9103] Tha TechnoCrat:
Vettel should win ;)

Edit @1

Vettel did win ;)
[Samsung Galaxy R i9103] CallMeVentus:
We might want to find something that bypasses/disables V4L2....

Sent from Ursa's claws.
[Samsung Galaxy R i9103] karthik050782:
Is it fine to disable V4L2, i can see many operations done in V4L2.

Btw, how to disable/bypass it :(
[Samsung Galaxy R i9103] CallMeVentus:
What operations exactly

Sent from Ursa's claws.
[Samsung Galaxy R i9103] karthik050782:
From opening the camera, verifying format... can u look into the code...

https://github.com/karthik050782/android_device_toshiba_betelgeuse/tree/jellybean/libcamera

---------- Post added at 09:02 PM ---------- Previous post was at 09:02 PM ----------

From opening the camera, verifying format... can u look into the code...

https://github.com/karthik050782/android_device_toshiba_betelgeuse/tree/jellybean/libcamera

I am not good in coding :(
[Samsung Galaxy R i9103] D™:
We are in news now. Thanks for all devs and users for thier support. http://www.xda-developers.com/android/unofficial-cyanogenmod-10-on-the-samsung-galaxy-r/?
[Samsung Galaxy R i9103] vipul12389mehta:
Yes...yes....yes.....we are in the news....thanks to the dev...

thanks to Adam and karthik for CM10...
[Samsung Galaxy R i9103] parmarket:
karthik050782 also should be appreciated as he is giving major amount of time for this. no credit for him :(

congrats adam man
[Samsung Galaxy R i9103] hasanjaved:
I also agree karthik050782 's name also should have been there in the news
[Samsung Galaxy R i9103] mj.vikram:
Congrats Adam

This is the second time Adam name came on the Portal, first for developing CWM V6 and now for CM10, one and only from our entire community.......
[Samsung Galaxy R i9103] D™:
Hey guys, pls we all know karthik did and doing great work for cm10. He really need appriciations. Bt dont make this scene. He is what he is. Nothing can change it. He is the man who dragout everything with adam and provided working 90% cm10. He is in every galaxy R user's mind and heart too. We love karthik and adam too..and all user and guest devs also.:D
[Samsung Galaxy R i9103] parmarket:
write in comments at least, may be they will add his name..

Sorry for these posts I know this is not right thread to speak this. :(
[Samsung Galaxy R i9103] D™:
Then wr must contact the admin and news writer as well.
[Samsung Galaxy R i9103] karthik050782:
Thanks for the support guys, even i was searching for my name but sadly it is not included. :)

It happen sometime, and need to move on... I am not doing the researches for the news or RD/RC titles, just for the satisfaction and the interest on exploring the device.

Even though I have put effort, all my work or just copy/paste. I haven't coded anything(coz i am not a C/C++ or unix developer)..

So don't take this as a discussion. The whole development is by Adam and he is the one should get the credit...

So lets jump into the development discussion, instead of this... :D

One more thing I want to mention that, I planned to stop my research for 2 times but Adam's encouragement made me to move on.

Soon I will be stopping the research(i wont call that i am doing development) due to Personal life(Need to take care of My loving wife and Kid) :)

Edit: No Thanks are available guys, will give you Tomorrow :)
[Samsung Galaxy R i9103] 'cooleagle':
Congrats Adam for being recognized for this milestone !

Looking at the way you've been contributing buddy, I'm sure more appreciation is going to come your way soon. ;)

Hats off to you man ! :)

Just one request don't give up on us completely, do help us whenever you get time buddy.

--------------------------------------------

Could everyone tweet to gsmarena / phonearena / etc requesting to publish this news ? Let every R user know about it.

Cheers !
[Samsung Galaxy R i9103] Grarak:
Everyone who work with Adam is a hero for me :D because of this I will include your name to my PA thread :P
[Samsung Galaxy R i9103] mj.vikram:
All the Best Buddy take your own time and enjoy the weekend :good:...
[Samsung Galaxy R i9103] parajsinghal:
I remember trying the same the day Adam released it. Didn't work for me too. Got the exact same error. But I didn't bother to see the logcat. Go on try it. I really hope you find something worthwhile :fingers-crosses:

But I wonder if Adam has tried that already?
[Samsung Galaxy R i9103] karthik050782:
Thank you guys for the encouragement... I just tried the persist.sys.usb.config=mtp,adb in build.prop but it didn't worked.. now updated my local copy of adams work.. doing brunch again.. It will take 2 hrs... So gud n8.. will update u tomorrow...

Edit: Till now no luck... Unable to enable adb... :mad::banghead:
[Samsung Galaxy R i9103] parajsinghal:
No buddy, I just checked, couldn't find any setting for mtp,adb in init.rc. Try persist.sys.usb.config=adb. That should work. There is setting for that. Also you could change the init.rc, and trying looking for this line (Thanks to Adam for telling me this)

service adbd /sbin/adbd

It should looks like this on your init.rc

service adbd /sbin/adbd

class core

disabled

Just remove disabled and you're good to go. To be sure I have both setting persist.sys.usb.config=adb and service force enabled in kernel. It work fine for me. But most probably persist.sys.usb.config=adb alone will do the trick.
[Samsung Galaxy R i9103] parajsinghal:
Okay, my bad, I just realized that you'd not be on a stock/ardatdat kernel so your config may be slightly different. So maybe you should try the combination of persist.service.adb.enable=1 and disabled removed from init script for adbd service.
[Samsung Galaxy R i9103] karthik050782:
Thanks paraj! Actually i am not a developer... Just doing some search and trying it... I think i have added some bug in adam build... So going back to same point and will try something..

EDIT: My repo got corrupted.. Doing again repo.. it will take hell lot of time.. Between I have seen some updates in github of epsylon3.. is he back? then i can retire :D :D
[Samsung Galaxy R i9103] xlm13x:
Can u plz share the link to epsy's repos where u have noticed recent changes.

I have checked his github but last update is in august.
[Samsung Galaxy R i9103] mj.vikram:
that link is for GB, This is for ICS/JB https://github.com/epsylon3 and this is also last updated on one month ago :confused:....
[Samsung Galaxy R i9103] karthik050782:
Yep mj.. He just created a new repo torrentflux... Also check in xda his profile... Last login :D... Lets stop this OT..

It seems adam also busy.. I got my repo and doing some mod... Soon u will be seeing a thread in general for how to build cm10...
[Samsung Galaxy R i9103] 824587:
Here http://www.nvidia.com/object/tegra-superchip.html it says that the "Tegra 2 Superchip" allows 1080p recording and playback, is there any chance we can get this at least in CM (i think 720p is just a Samsung-imposed limitation so that our phone isn't as good as the slightly more expensive SII) ?
[Samsung Galaxy R i9103] karthik050782:
Hi friends... I got some good link about telephony and found that stk app is not present... Now away from laptop.. Will check and update... In between if anyone knows this is useless then i will stop...
[Samsung Galaxy R i9103] parajsinghal:
AFAIK Stk is not mandatory. You can still give it a shot or wait for some dev to confirm. :thumbup:
[Samsung Galaxy R i9103] :
Could anybody pls share a log cat of the non working WiFi?
[Samsung Galaxy R i9103] karthik050782:
After reaching home i will provide the logcat... I checked the logcat of radio and added some conf.xml file.. But still it is unable to connect... I think the problem is with the .bin.. I will try to update with Cm7.2 ril binary...
[Samsung Galaxy R i9103] Adam77Root:
The problem is 'softap fwreload failed'. Sometimes it even says that SIOCGIPRIV failed and the issue is not related to the native daemon.

Sent from my GT-I9103
[Samsung Galaxy R i9103] karthik050782:
Here is the logcat... http://db.tt/GZVNkEWE
[Samsung Galaxy R i9103] karthik050782:
In logcat of radio with bb rom and kernel beta 5... I can see some boot commands... But in our cm10 build those boot commands are not getting executed... Hope the issue is with kernel... Anyone can look the attached logcats...

Bb logcat http://db.tt/0YwImFDZ

Will attach soon the cm10 logcat...

Here it is http://db.tt/j3Q4fiXd
[Samsung Galaxy R i9103] dr.ngk:
Keep it up devs!

LIVE LIFE KING SIZE!
[Samsung Galaxy R i9103] D™:
Kernel problem..?? there is only 1 person who can help if kernel related problem is there, ARDATDAT.:angel:

Asking him to look into.
[Samsung Galaxy R i9103] 824587:
MegaBassBeats dev D3HuM4NiZ3D can provide dsp (in addition to mbb mod) for stock ICS only if it's properly working in our own CM9+ build. Can I forward this thread to him (is dsp working ?) or shall we wait until we have a stable build ?
[Samsung Galaxy R i9103] Adam77Root:
Thank you guys! :) Karthik's name should also have been mentioned as he helped us a lot with his researches and encouragement. Keep up the good work! :thumbup:

Sent from my GT-I9103
[Samsung Galaxy R i9103] parmarket:
here is the conversation happened with writer of that article.

I have replied him with confirmation that he is offically part of dev team, and asked him to confirm same with adam.

adam buddy you can message him about same. :)
[Samsung Galaxy R i9103] D™:
You are great buddy. Drag out Something from nothing.
[Samsung Galaxy R i9103] karthik050782:
Thanks parmarket and thanks for the love and encouragement! Hope Adam will send my name ;)

Ok, now coming to camera, i used toshiba foilo 100 device which have tegra 2 but they use different camera(as webcam).

And, V4L2 won't work for us. After that I looked into Toshiba Thrive, which have tegra 2 and front and back camera with Tegra 2.

But they used the properietary libraries.

So final decision, we should have Camera HAL from Nvidia (which is not going to happen) or use properietary libraries :(
[Samsung Galaxy R i9103] D™:
Hey buddy. just was searching. PFA, if its useful. also, a page of wikipedia.

Edit: Drafted a mail to Nvidia guys. Hope they will say something over this.
[Samsung Galaxy R i9103] Adam77Root:
I dropped a PM to the_scotsman about Karthik. ;)

Sent from my GT-I9103