yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S II SGH-T989] billydroid:
Flashed back to Juggernaut and everything is fine. So cm7 is the issue I suppose.
[AT&T Samsung Galaxy S II SGH-I777] mawells787:
I've only noticed this problem with my sgs2, never had it with atrix or HTC inspire. But my gmail app. almost every week will not send attachments or sync new emails. The only thing I can do is clear data and cache and the problem is fixed. But its annoying because I will send emails and the person I sent it to never gets it and when I check gmail its stuck in the outbox and it says sending. Anyone ever had this problem or know of a permanent solution?
[AT&T Samsung Galaxy S II SGH-I777] 21cdb:
I ran into that problem when I tried using gmail when I first got the phone. I just use Kaiten now.
[AT&T Samsung Galaxy S II SGH-I777] gr8hairy1:
Tell us about your phone. Stock, what rom, any things you've changed/flashed?

Sent from my páhhōniē
[XPERIA X10 Q&A, Help & Troubleshooting] iosi1212:
Hi, I have x10 2.3.3 kernel 2.6.29 and 2.1.71 baseman,

My problem is that when my phone reaching 15% life he says me "you have less than 15% battery life" like any x10 and than I click OK and the phone showing 0% battery and shutdown immediately, than I power on the phone and the battery life is 15-18%

I had cm7 and now I have stock tomorrow and it happened in both roms... those it the phone hardware or the battery?? What shall I do?? Help. Thanks.!
[XPERIA X10 Q&A, Help & Troubleshooting] gregbradley:
look for the battery optimisation thread from omegaRED in the general section and follow that.
[XPERIA X10 Q&A, Help & Troubleshooting] iosi1212:
Whole buying a new battery solve it?? because the phone was dropped many times could the battery be damaged?
[XPERIA X10 Q&A, Help & Troubleshooting] iosi1212:
I've already did a battery calibration... it didn't helped.. could it be the battery? Thanks
[Desire HD Q&A, Help & Troubleshooting] CuBz90:
I don't know if them problems are related, but I noticed the time on my phone was 5 hours behind, so I checked the settings, and it was still set to automatically update. The time on my phone has always been correct. I have an internet connection and full network reception.

Also, when trying to use the market, I get 'Conection Error' and pressing retry does nothing. Tried restarting, tried wiping delvik cache, but no luck.

Thanks
[Desire HD Q&A, Help & Troubleshooting] melvie:
And when you set manually the time how is the market then?
[Desire HD Q&A, Help & Troubleshooting] Haeriz:
Manually set the time and check tat u have chosen the right location eg:GMT+5:30
[EVO 4G Q&A, Help & Troubleshooting] Home_Sick_Heart:
I have read all the threads before on this, and I have not found a sufficient answer. I'm running SuperSonic 3D-RC1.2 on my HTC EVO 4G on Sprint.

My voicemail comes to me in a text message from 650-603-0000 telling me that I have a voicemail from a number. I have had this problem for quite some time.

Can anyone help me?

(By the way, I've been on XDA for months, but just got a login. I am very new to this site, so please don't bash me on this.)
[Galaxy S I9000 Q&A, Help & Troubleshooting] plotinus:
guys i'm trying to add lockscreens to the rom i'm using, I decompiled classes.dex from framework jar of a theme which have the lockscreens i want, after decompiling classes.dex with baksmali i get 4 folders:

-android

-com

-java

and -siso

which files are the ones that contains the information about lockscreens?

edit*

decompiling android-policy jar i found the files of the lockscreens. what more do i need?

any help would be appreciated and I hope somebody can help me

thanks

i've search for a tutorial or something that help me, but came with nothing, thats why I post this
[Bravo Android Development] the|gamer:
Hello,

as I have seen the Bravo has almost Identical Hardware as the Motorola Defy, but the Camera Module is a diffrent one!

Well to get Camera on the Bravo working with Defys CyanogenMod 7, you just have to modify the libcamera!

LibCamera:

https://github.com/CyanogenDefy/android_device_motorola_jordan/tree/gingerbread/libcamera

In the JordanCameraWrapper.h there are the Two Defy Camera Modules defined!

typedef enum {
CAM_SOC,
CAM_BAYER
} CameraType;

SOC = green Cam and BAYER = red Cam!

Also there is a JordanCameraWrapper.cpp (of course) which handles the whole Camera thing!

So the easiest way to get Camera working ist following:

- look up which device Card the Bravo has (need this from a few to rule out that there are diffrent Modules)

- modify the code to support the Bravos Cam Modules

- re-compile the camera lib

- hopefully get working camera!

I have to say I have no Motorola Bravo but I have a Motorola Defy!

I would do this for the Community!

So I would start setup an Dev Environment for the Bravo now!

I need a logcat from startup till shutdown in between you have to open the Camera App!

To do this do the follwing:

- Setup the Android SDK

- put your Device in Debugging Mode

- plug the USB in

- Setup the Motorola Drivers (same as for rooting)

- open a Command Box and navigate to the "platform-tools" folder in the Android SDK Folder

- type in "adb devices" and you should see a device listed!

- shutdown the Bravo as it is (Debug on, USB-Plug plugged in) now type in the following in your Command Box "adb logcat > logcat_bravo.txt"

- turn on your Bravo and wait till everything is ready, then open the camera app, then shutdown your Bravo

- Press CTRL + C and Navigate to "Platform-tools" folder, there should be your log file!

- upload it and send it to me!

Sry for the typos!

I am a Kraut (german) ;)

Regards,

the|Gamer
[Bravo Android Development] snnyby:
logcat.txt

Thanks for your help , will attach my logcat , booting stock froyo , firing up camera, taking a picture and shutting it down

Is LibSOCKobeCamera what you were looking for?

11-30 15:27:51.461 1211 1348 D LibSOCKobeCamera: +openCameraHardware

11-30 15:27:51.461 1211 1348 D LibSOCKobeCamera: -openCameraHardware

also an interesting line:

11-30 15:27:52.149 1910 1947 D MotoCamSetting: Droid2 isDroid2 in setting3m

11-30 15:27:52.149 1910 1947 D MotoCamSetting: Droid2 isDroid2 in settingtrue

3m is the camera resolution of bravo
[Bravo Android Development] the|gamer:
Hello,

thanks! now I need someone who gives my a bootup with CyanogenMod 7!

Regards
[Bravo Android Development] BravoMotorola:
Have you ever seen this thread I made? I guess not or else you would have helped long ago! http://xdaforums.com/showthread.php?t=1280257

Maybe this will help you? It is MIUI not CM7, but same libs don't make a difference correct?
[Bravo Android Development] the|gamer:
Hello,

Oh no I did not see that Thread!

I have to say it is may not that easy as I stated in first post its possible!

From what I see now it uses a SOC Module, so it could be from the same Manufactor as the Defys green lens.

Will download Bravos Source (Motorola released it) and then I have the Camera lib I have to implement it in to Cyanogenmod, that is the Plan and that is how the Cyanogenmod guys did it ;)

I will start these days when I have some freetime!

I'll keep you updated!
[Bravo Android Development] BravoMotorola:
I guess that makes you the only true developer of the Bravo then! I appreciate the help you're giving us! I'll make sure to thank every post I can:D
[Bravo Android Development] the|gamer:
Would like to make some kind of Bravo Customized Rom, with right build probs!
[Bravo Android Development] TooUglyForU:
I'm very excited about your participation.

Thank you so much for helping out!!
[Bravo Android Development] josuearisty:
Finally :p:p:p I hope we get it this time. :o
[Bravo Android Development] the|gamer:
Hi,

so what I need is the following:

a Log from someone with Cyanogenmod 7!

Searching for some Informations that may only CyanogenMod 7 gives me!

edit:

YES! a CyanogenMod 7 gives me the Informations that I need e.g.

I want the full logcat of a Bravo with CyanogenMod7!

I like to buy a Bravo so that developing is easy but they dont sell them in Germany!

So I guess there are some people that are ready to test for me?

Next week I have time enough to work at this thing!
[Bravo Android Development] josuearisty:
I'll do it when I arrive at home, Im using now gingerblur.

So, what you need now is a logcat of the phone when the camera launches?

I hope you get it soon, we use fast burst camera and action snap but we cant get the 3mpx, is just around a vga resolution picture.

Thanks for helping us!!
[Bravo Android Development] snnyby:
logcat from cm7, with working preview

here is the logcat from cm7, the camera preview works, but upon taking a picture the app freezes and just creates a 0 byte jpg file
[Bravo Android Development] josuearisty:
You did it before me :D

Well Im alredy at home to test anything.

I really hope we get it, @the|game is our saviour!!!
[Bravo Android Development] the|gamer:
This helps me alot!

So the Bravo has a SOC Camera Device which means it is the same Camera as the 1st Gen Defys (Green).

So the Problem is the Image processing!

I'll do more research on this at evening when I am back from Work!

Regards

the|Gamer
[Bravo Android Development] josuearisty:
If you need any other thing we are here.

I wanna help in everything I can. There some others who would like to help also.

I'll be pending to any move on this thread!!
[Bravo Android Development] Junkyardjames87:
Keep us updated please! I would love this to work.
[Bravo Android Development] BravoMotorola:
Yes see we do have camera actually working. And we can take videos. Its just when we take a picture it saves a null image and like on MIUI it displays "cannot connect to camera"
[Bravo Android Development] Junkyardjames87:
So if they are the same camera why don't the fixes for defy work on bravo?
[Bravo Android Development] BravoMotorola:
Because the camera isn't exactly the problem. If it was then we wouldn't even be able to take videos. As the|gamer said the problem is image processing.
[Bravo Android Development] Junkyardjames87:
So what do we need to do to fix that?
[Bravo Android Development] the|gamer:
I need to implement the Bravos Camera lib to the CyanogenMod 7 Build!

It uses the SOC Lib but it seems to be diffrent!
[Bravo Android Development] Junkyardjames87:
What's diffrent and what do you need to change it to make it work? Can get you copys of anything for Bravo that you need. Could get you a Bravo sometime next month if you need that too.
[Bravo Android Development] marquae11:
Progress?
[Bravo Android Development] josuearisty:
We have to wait for the|gamer, he said he is going to have some free time this week.

I hope he gets it. We need a fully working gingerbread rom.
[Bravo Android Development] the|gamer:
Hi,

I will look for it!

So there is still progress, no Panic ;)
[Bravo Android Development] marquae11:
Is it looking tough
[Bravo Android Development] josuearisty:
Please dont let us in the dark!! :(:(

I think we need at least a fully working gingerbread rom. :o:o
[Bravo Android Development] marquae11:
Really hope something happens soon. :)
[Bravo Android Development] josuearisty:
We hope that! I would like to know whats the progress?
[Bravo Android Development] the|gamer:
Hello,

I looked at the Camera Libs and it is really difficult for me to patch this one!

The fact that I have no hardware makes it even more difficult for me!

But I will some of my freetime!

Sry guys!
[Bravo Android Development] Junkyardjames87:
It's understandable not having the phone to test with. If you just make something that might work make us the Guineapigs. ;-) No risk to your phone. I'm available for beta and alpha testing.
[Bravo Android Development] helldogg75:
I am as well.
[Bravo Android Development] josuearisty:
We are avaliable.

I think the only way we could brick our phone is flashing a different baseband or something that have to do with that, I think!! :o:o:o
[Bravo Android Development] the|gamer:
more News from here!

This is the SOC Sensor in the Motorola Defy:

http://www.ovt.com/products/sensor.php?id=65

The OmniVision OV5642...

It might be that the Motorola Bravo hast the 3MP pendant OmniVision OV3640

http://www.ovt.com/products/sensor.php?id=7

I have to look deeper in to that!
[Bravo Android Development] josuearisty:
I think that there should be other android phones with the same camera bravo has.

We should look for it, and of course that CM7 was ported to it.
[Bravo Android Development] the|gamer:
Hello,

Yes and I know which Phone it is!

The ZTE Blade it also has a CyanogenMod Port!

Sourcecode for libcamera:

https://github.com/CyanogenMod/android_device_zte_blade/blob/gingerbread/libcamera/

CyanogenMod for ZTE Blade:

http://download.cyanogenmod.com/?type=stable&device=blade

there is a 5 and a 3MP Version of the ZTE Blade, our only problem could be that the ZTE has a Qualcomm Processor!

but you could try replace the files: libcamera.so,libcameraservice.so and libcamera_client.so if does not work then only replace libcamera.so

Report back your exp.!

Regards
[Bravo Android Development] josuearisty:
I'd like to test it now but the problem is that the LCD screen of my phone is broken, I bought it yesterday, I think I'll receive it later this week.

Any tester here? Im downloading the rom, I'll upload the camera files, to make it easier to test. (my internet is sucking now :mad:, I dont know what happen :confused:)

Thanks for your help man!!
[Bravo Android Development] helldogg75:
Volunteer right here. My bravo is only rooted and using a gb launcher
[Bravo Android Development] helldogg75:
Need files and instructions. Bear in mind I am noob, so sesame street it. Thank you.
[Bravo Android Development] BravoMotorola:
Wait so is it not image processing?
[Bravo Android Development] snnyby:
replaced all 3 files didnt work

It is looking for a qualcomm camera hardware.tried replacing all 3 files and only libcamera.so.

I/ActivityManager( 2107): Start proc com.android.camera for activity com.android.camera/.Camera: pid=2479 uid=10044 gids={1006, 1015}

I/WindowManager( 2107): Setting rotation to 1, animFlags=1

I/ActivityManager( 2107): Config changed: { scale=1.0 imsi=310/410 loc=en_US touch=3 keys=1/1/2 nav=1/2 orien=2 layout=34 uiMode=17 seq=4 themeResource=null}

D/szipinf ( 2479): Initializing inflate state

I/PowerWidget( 2166): Clearing any old widget stuffs

I/PowerWidget( 2166): Setting up widget

I/PowerWidget( 2166): Default buttons being loaded

I/PowerWidget( 2166): Button list: toggleWifi|toggleBluetooth|toggleGPS|toggleSound

I/PowerWidget( 2166): Setting up button: toggleWifi

I/PowerWidget( 2166): Setting up button: toggleBluetooth

I/PowerWidget( 2166): Setting up button: toggleGPS

I/PowerWidget( 2166): Setting up button: toggleSound

D/dalvikvm( 2479): GC_EXTERNAL_ALLOC freed 66K, 50% free 2718K/5379K, external 0K/0K, paused 59ms

V/CameraHolder( 2479): open camera 0

D/QualcommCameraHardware( 1930): createInstance: E

D/QualcommCameraHardware( 1930): createInstance: X failed to create hardware: No such file or directory

E/CameraService( 1930): Fail to open camera hardware (id=0)

E/CameraHolder( 2479): fail to connect Camera

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

E/CameraHolder( 2479):	at android.hardware.Camera.native_setup(Native Method)

E/CameraHolder( 2479):	at android.hardware.Camera.<init>(Camera.java:258)

E/CameraHolder( 2479):	at android.hardware.Camera.open(Camera.java:220)

E/CameraHolder( 2479):	at com.android.camera.CameraHolder.open(CameraHolder.java:124)

E/CameraHolder( 2479):	at com.android.camera.Camera.ensureCameraDevice(Camera.java:1813)

E/CameraHolder( 2479):	at com.android.camera.Camera.startPreview(Camera.java:1865)
[Bravo Android Development] Junkyardjames87:
Ok so wait. What's the problem now? I understand how to point programs to look for what they need in computers. Might be same on phones. But now what is our issue?
[Bravo Android Development] snnyby:
The phones may have the same 3mp sensor but different camera hardware. So the libcamera from blade did not detect bravo camera present
[Bravo Android Development] Junkyardjames87:
So is there a setting somewhere in the file to make it work.
[Bravo Android Development] the|gamer:
Hey,

that is a good starting point :)

Will look at this and then finally will turn on my compiler :D
[Bravo Android Development] snnyby:
i found some hard coded camera resolution in CameraHal.h

Hi thegamer, do you know where this camerahal.h source code is?

http://epsy.ath.cx/git/?p=DefyCM7/d...880e5d0e3711ae52ca6150f2f523a72&f=CameraHal.h

definitely has the 5M resolution hard coded in it, we need these recompiled with 3M 2048 x 1536

#define VIDEO_DEVICE "/dev/video5"

#define MIN_WIDTH 128

#define MIN_HEIGHT 96

#define PICTURE_WIDTH 3280 /* 5mp - 2560. 8mp - 3280 */ /* Make sure it is a multiple of 16. */

#define PICTURE_HEIGHT 2464 /* 5mp - 2048. 8mp - 2464 */ /* Make sure it is a multiple of 16. */

#define PREVIEW_WIDTH 176

#define PREVIEW_HEIGHT 144

#define PIXEL_FORMAT V4L2_PIX_FMT_UYVY

#define LOG_FUNCTION_NAME LOGD("%d: %s() ENTER", __LINE__, __FUNCTION__);

#define LOG_FUNCTION_NAME_EXIT LOGD("%d: %s() EXIT", __LINE__, __FUNCTION__);

#define VIDEO_FRAME_COUNT_MAX NUM_OVERLAY_BUFFERS_REQUESTED

#define MAX_CAMERA_BUFFERS NUM_OVERLAY_BUFFERS_REQUESTED
[Bravo Android Development] josuearisty:
Fingers crossed :D:D:D

I hope you get it, we really need a full gingerbread rom working!

Man you are helping a lot with this. Another test, lets wait till the|gamer compile the files!

I think we will get it soon, keep on with that!
[Bravo Android Development] BravoMotorola:
This looks like 100% progress to me. Snnyby, great work...I couldn't have figured that out but you sure did!
[Bravo Android Development] snnyby:
I found this page, I think we are on right track.. http://boundarydevices.com/blogs/ov5642-camera-driver-under-android

so I found these 3 locations:

find . -name CameraHal.h

./hardware/ti/omap3/camera-omap4/inc/CameraHal.h

./hardware/ti/omap3/camera-omap3/CameraHal.h

./hardware/ti/omap3-compat/camera-omap3/CameraHal.h

I edited the Picture width x height in these

Also edited CameraHal.cpp where available and removed incompatible resolutions

. build/envsetup.sh

brunch jordan

and compiling.. not sure how long it will take maybe a day or two?
[Bravo Android Development] BravoMotorola:
Really nice! That's amazing work! We have had a couple really good developers with this phone but none have gotten this far! And what are you're computer specs and what exactly are you compiling? Just the camera libs?
[Bravo Android Development] snnyby:
I am a unix system engineer, so did a lot of package compiling (./configure; make; make install) but I don't know much about android build process so I am just compiling everything.

It is a tiny Asus EeEBox PC with Atom 1.6 GHz and 1 Gig of RAM. Ubuntu seems to use both cores for compiling which is nice

Still compiling though, will check again in a few hours.
[Bravo Android Development] helldogg75:
Good luck and thank you.
[Bravo Android Development] snnyby:
still no go ...

getting the same error

D/CameraService( 1923): playSound(0)

V/camera ( 3028): the keyup is pressed first time

V/camera ( 3028): mShutterLag = 400ms

D/LibSOCJordanCamera( 1923): cfilledbuffer length = 1441792

D/CameraService( 1923): dataCallback(64)

E/CameraService( 1923): Null data returned in data callback

E/Camera ( 3028): Error -2147483648

I/JordanCameraWrapper( 1923): Found broken GPS latitude ref marker, offset 262, item W

D/CameraService( 1923): dataCallback(256)

V/camera ( 3028): mPictureDisplayedToJpegCallbackTime = 1324001975014ms

E/camera ( 3028): <PROFILE> Snapshot to Snapshot Latency = 1483 ms

D/CameraService( 1923): setPreviewDisplay(0x38ad0) (pid 3028)
[Bravo Android Development] BravoMotorola:
Good try though, I'd imagine you're pretty close.
[Bravo Android Development] the|gamer:
Well for Android 2.3 compilation it is recommended to use a PC with 4GB of Ram and a Dual-Core 64-Bit Prozessor!
[Bravo Android Development] BravoMotorola:
But that's just a matter of faster or slower right?
[Bravo Android Development] the|gamer:
did not compared them!
[Bravo Android Development] Junkyardjames87:
But will it wofk?
[Bravo Android Development] Junkyardjames87:
*work.
[Bravo Android Development] BravoMotorola:
Lol no I could tell it was 'work". You asked if it would work when he just said it didn't work.
[Bravo Android Development] josuearisty:
mmmm its there anybody working with camera??

What did happen with the|gamer? :confused::confused:

I try to learn something about this, I know its not easy, but if others did it, I can too. :p Well not like that.

First of all, I'll have to get a laptop to install linux on it.

I really like windows, and most of the android stuffs works with linux.
[Bravo Android Development] blackwing182:
DUDE use virtual machine and when installed in the same virtual machine make a new partition for linux and so on! ill give you a link on how to set up VM in your PC

http://theunlockr.com/2010/03/26/ho...om-for-android-part-1-setting-up-the-kitchen/

take it from part II. Download a Virtual Machine and Set It Up. do all he say! i did it with out any problems :)
[Bravo Android Development] snnyby:
I didn't t get any reply to the githib issue opened asking for Dev help. They didn't close it either.

Assuming they are all busy with ICS

https://github.com/CyanogenDefy/android_device_motorola_jordan/issues/161
[Bravo Android Development] BravoMotorola:
Nicely written, I hope they reply to it sometime. I bet they could easily figure it out.
[Bravo Android Development] josuearisty:
I hope they help soon!!

I've been thinking of getting rid of this phone many times, even my Cliq XT and Backflip have a fully working Gingerbread rom.
[Bravo Android Development] snnyby:
I got a new first gen Atrix 4G yesterday. man the phone is blazing fast! after the bravo I am getting motion sickness using it !!

I can spend some more time with the bravo. I want to compile the code again, replacing the error messages with my own to ensure it is really using my code.
[Bravo Android Development] BravoMotorola:
You did? Check this thread out! http://xdaforums.com/showthread.php?t=1403372&page=34
[Bravo Android Development] josuearisty:
What do you mean exactly with that? itsnt the atrix getting CM9? What happened with CM7?

Please let me know, Im thinking of gettin it someday!! :o
[Bravo Android Development] BravoMotorola:
CM7 working 100% on the Atrix. This is a CM9 KANG. It has some 3D problems and cam problems but it will work great soon.
[Bravo Android Development] josuearisty:
Great :D:D:D I think Im going to buy it soon!

I bought the LCD screen of my bravo on ebay and it doesnt work. :(:(

I lost my money because I dont live in USA and I cant return it without spending so much money. :(

Is there any site where I can buy it? Or does anybody here have a LCD which I can buy?

Thanks!!
[Bravo Android Development] the|gamer:
Hello,

well the problem is I can compile Linux kernels, I understand the C basics, but it seems to be a Problem somewhere deeper!

But it is a SOC Lense so Defy+ Kernels will make Camera impossible only Froyo Kernels will give working camera!

I guess when there will be a CM7 without Defy Froyo Kernel but with Bravo Froyo kernel It might could work.
[Bravo Android Development] slowcurve:
any chance you can make that happen?
[Bravo Android Development] the|gamer:
I have 8GB of RAM now, I will install Ubuntu soon and then I try compiling it again
[Bravo Android Development] josuearisty:
Please try doing it, we need at least a fully gingerbread rom!!! :o
[Bravo Android Development] slowcurve:
god speed to all of you
[Bravo Android Development] syllogyking:
is quarx, from defy, working on the bravo???:eek:

see his 'public activity': https://github.com/quarx2k
[Bravo Android Development] marquae11:
it says Motorola Kobe! Does he have a bravo?????? And by the way I remember way back when I first installed recovery on my bravo on froyo I had issues with the camera on stock. Could it be defy recovery causing the problem?
[Bravo Android Development] the|gamer:
Hey,

guess what?

The Kobe is the Codename for the Bravo!

Like Jordan for the Defy

So he is working at a port for the Kobe/Bravo!

I will compile a version from the Kobe git!