[Q] Sony Xperia ARC; CM 10 - camera crashes on focus - Xperia Arc Q&A, Help & Troubleshooting

Hi,
I realize that this question might have been asked and answered several times already, but searching the forum got me nowhere really
I use Xperia ARC (but it is detected as Xperia Arc S, its OK i guess), CM version is 10-20130623-NIGHTLY-anzu; Kernel version 2.6.32.9-FXP (if i'm reading everything right)
Problem: when using camera and trying to focus by taping on screen - gallery app crashes like 8 times out of 10. I've read that I have to install proper device camera drivers. Can anyone tell how this could be done easiest way? Where to get those drivers from and where to install. I've seen somewhere on developer.sonymobile that Sony were distributing their camera drivers for such needs exactly.
Thanks for your help

Related

[Q] I got the Xperia Neo. Now what ?

Hello, guys, after reading and using the xperia x1 section here for years, yesterday i bought xperia neo - my first android device and of course, another SE device for my history collection . Since there isnt a Neo's section here, and I believe the difference between Arc and Neo according to the software is really slight,I would like to ask you :what now: - how to check if my device is rooted (and if so or not,what to do ?... are the ARC themes and etc. in that section appliable to the neo..10x )
to check your phone root status get Root Checker from market (free).
There's a guide covering the various ways to root ones phone here.
And I wouldn't try installing the Arc themes onto anything but an Arc.
Whilst the Arc and Neo are very similar, any themes created using files extracted from an Arc are unlikely to work with a Neo.
Step666 said:
There's a guide covering the various ways to root ones phone here.
And I wouldn't try installing the Arc themes onto anything but an Arc.
Whilst the Arc and Neo are very similar, any themes created using files extracted from an Arc are unlikely to work with a Neo.
Click to expand...
Click to collapse
Well, arent they having the fuction of add ons and ready akp-s?If not,then i shoul check the general Adroid theme developing,i guess ? :-o. ALso checked that my phone is not rooted but as i know,more important and lets say vital for my device to get rooted is not to be with unlocked bootloader. Is there way to find out that and most probably, if it is not, i will try rooting it with the universal program(apk) for rooting :gingerbreak http://forum.xda-developers.com/showthread.php?t=1044765

[Q] [help]Auto rotate problem

I'm having this problem in any ics and jb roms.
Auto rotate isn't working at all but in games,camera accelerometer works fine.
And in gb autorotate also works
please help me.
Model : Arc S
current rom: Xperia Ultimate HD 3.02
Kernel : KTG
Baseband : 77
Turning it on might help?
Settings - screen - rotate automaticly
Sent from my Xperia Arc S using xda premium
TheHaso said:
Turning it on might help?
Settings - screen - rotate automaticly
Sent from my Xperia Arc S using xda premium
Click to expand...
Click to collapse
that's the first thing i chetk after installing each n every rom.....
any other solutions ??? any patch or something that can help me ?
I tried samsung's "auto rotate hot fix" patch and advanced tools which is mentioned in this topic
http://forum.xda-developers.com/showthread.php?p=25869460
but no luck
Does it work in messages, browser, gallery?
Sent from my Xperia Arc S using xda premium
TheHaso said:
Does it work in messages, browser, gallery?
Sent from my Xperia Arc S using xda premium
Click to expand...
Click to collapse
not working : gallery album walkman etc
working only on camera to capture landscape or portrait and in temple run like games it is working
and if I put ginger bread everything works
no issue on gb
Is there anyone who can help me out ???
it7.phoenix said:
Is there anyone who can help me out ???
Click to expand...
Click to collapse
You might want to ask Jader since he developed the ROM...
僕のLT18iから送られてきた
I have the same problem on my arc s
Stock ics, locked bootloader
I have searched a lot, but couldnt fins any fix
Same Problem | Some extra Info | Help needed
it7.phoenix said:
I'm having this problem in any ics and jb roms.
Auto rotate isn't working at all but in games,camera accelerometer works fine.
And in gb autorotate also works
please help me.
Model : Arc S
current rom: Xperia Ultimate HD 3.02
Kernel : KTG
Baseband : 77
Click to expand...
Click to collapse
Well, I've got the same problem on my ArcS too. Been trying to figure it out for a few days now but no luck so far. Everything stock here, got it with GB, used the PCC to upgrade to .587 and boom, no auto rotate. Currently using Rotation Locker (off market apk) to lock the screen in landscape mode to watch movies etc but it is a pain in the bottom not having it auto.
Tools I used.
1. Advanced Tools aka AT by SCDevs (Found on GPlay)
2. ES File Explorer
3. Eroot 1014 (For testing purposes but has no effect either positive or negative on the rotate problem.)
Some of my findings and let me know if any of you facing the problem have the same things wrong on your phone(s) too.
1. On AT, it lists the devices that are there but the compass is not shown while the accelerometer is. The accelerometer is showing unusual readings, i.e. the normal reading for the z-axis listed by AT is supposed to be 9.8 m/s^2 (i.e. just gravitational acceleration) when laid on a flat surface (& x,y are both supposed to be 0) but mine shows z @ 20 m/s^2 which is the max reading that the device supports.
2. The compass device (AKM8975 IC) /sys/devices/i2c-0/0-000c does not have a symlink to the /sys/bus/12c/drivers/akm8975 folder. [The accelerometer is 0-0038 & bma150 respectively]. All the folders in /i2c-0 parent folder has a symlink "driver" to the respective in bus/i2c/drivers folder. I assume this means that there is no link to the drivers while booting up and this is causing the devices to get cranky. All the other device folders have the symlink to their respective drivers folder and all the other devices are working afaik.
[See Update at the bottom]
3.
I tried samsung's "auto rotate hot fix" patch and advanced tools which is mentioned in this topic
http://forum.xda-developers.com/show...php?p=25869460
Click to expand...
Click to collapse
Yeah, I tried that too but no go.
Like someone else mentioned on that thread, SGS2 has a completely different hardware. You can figure this out yourself (If you have root). Extract the files from the AutoRotateHotfix.zip provided in that thread. Copy the file /system/bin/sensorservice and system/lib/hw/sensors.default.so to the corresponding folders on your phone. The phone will restart automatically ( after copying only one file if you have already started AT but definitely after both). Start AT and then check the list of Sensors on the device and you'll get a completely different list compared to when the stock files were there. Incidentally with the stock files the compass was not being detected at all.
My next steps.
1. Try editing the hw_config.sh file to somehow load the driver after boot or the pre_hw_config.sh or init.rc files for pre-boot/boot process.
2. Try figure out a way to add the symlink in the /sys folders but that seems to be a no go as well since that is an in-memory file system and is automatically mounted by the kernel during boot. Which probably means any changes have to be done on the source level, too much work for auto rotate since I have the rotation locker in hand.
3. Try a different kernel and ROM combo but I'm new to this so I'll need to read up a lot on that. Flashtool for Xperia seems to have capabilities to pack the .ftf files from different ROMs together so that might be a way to go. Maybe a GB kernel and ICS ROM mashup, i don't even know if that will work at all.
Help required from your side.
Check is the stuff I've noted as faulty in my phone is also the same in your phone. While this by no means guarantees that that is in fact the source of the trouble, atleast it is a start.
Hopefully this can be resolved and we can all learn a few things on the way
Updates/Edit
The compass device (AKM8975 IC) /sys/devices/i2c-0/0-000c does not have a symlink to the /sys/bus/12c/drivers/akm8975 folder. [The accelerometer is 0-0038 & bma150 respectively].
Click to expand...
Click to collapse
Checked a ST15i Xperia Mini which has no problems with auto rotate and looks like I was right, so to speak. The Mini has the symlinks in the correct places and according to AT it has the same/similar hardware. The compass chip is AKM8975 as in the Arc S but the accelerometer is BMA250 instead of BMA150 in the Arc S. So if any of you can confirm that those symlinks are missing in your phone(s) then the source of the problem can be confirmed and maybe Sony can be updated about it for a fix, which should be simple enough considering it requires only adding a couple of symlinks. How they managed to miss out on adding them in the first place is a mystery to me as the Mini is all stock and came with the ICS .431 firmware out of the box, so no updates from GB to ICS.
sabeer.abdulla said:
Well, I've got the same problem on my ArcS too. Been trying to figure it out for a few days now but no luck so far. Everything stock here, got it with GB, used the PCC to upgrade to .587 and boom, no auto rotate. Currently using Rotation Locker (off market apk) to lock the screen in landscape mode to watch movies etc but it is a pain in the bottom not having it auto.
Tools I used.
1. Advanced Tools aka AT by SCDevs (Found on GPlay)
2. ES File Explorer
3. Eroot 1014 (For testing purposes but has no effect either positive or negative on the rotate problem.)
Some of my findings and let me know if any of you facing the problem have the same things wrong on your phone(s) too.
1. On AT, it lists the devices that are there but the compass is not shown while the accelerometer is. The accelerometer is showing unusual readings, i.e. the normal reading for the z-axis listed by AT is supposed to be 9.8 m/s^2 (i.e. just gravitational acceleration) when laid on a flat surface (& x,y are both supposed to be 0) but mine shows z @ 20 m/s^2 which is the max reading that the device supports.
2. The compass device (AKM8975 IC) /sys/devices/i2c-0/0-000c does not have a symlink to the /sys/bus/12c/drivers/akm8975 folder. [The accelerometer is 0-0038 & bma150 respectively]. All the folders in /i2c-0 parent folder has a symlink "driver" to the respective in bus/i2c/drivers folder. I assume this means that there is no link to the drivers while booting up and this is causing the devices to get cranky. All the other device folders have the symlink to their respective drivers folder and all the other devices are working afaik.
[See Update at the bottom]
3.
Yeah, I tried that too but no go.
Like someone else mentioned on that thread, SGS2 has a completely different hardware. You can figure this out yourself (If you have root). Extract the files from the AutoRotateHotfix.zip provided in that thread. Copy the file /system/bin/sensorservice and system/lib/hw/sensors.default.so to the corresponding folders on your phone. The phone will restart automatically ( after copying only one file if you have already started AT but definitely after both). Start AT and then check the list of Sensors on the device and you'll get a completely different list compared to when the stock files were there. Incidentally with the stock files the compass was not being detected at all.
My next steps.
1. Try editing the hw_config.sh file to somehow load the driver after boot or the pre_hw_config.sh or init.rc files for pre-boot/boot process.
2. Try figure out a way to add the symlink in the /sys folders but that seems to be a no go as well since that is an in-memory file system and is automatically mounted by the kernel during boot. Which probably means any changes have to be done on the source level, too much work for auto rotate since I have the rotation locker in hand.
3. Try a different kernel and ROM combo but I'm new to this so I'll need to read up a lot on that. Flashtool for Xperia seems to have capabilities to pack the .ftf files from different ROMs together so that might be a way to go. Maybe a GB kernel and ICS ROM mashup, i don't even know if that will work at all.
Help required from your side.
Check is the stuff I've noted as faulty in my phone is also the same in your phone. While this by no means guarantees that that is in fact the source of the trouble, atleast it is a start.
Hopefully this can be resolved and we can all learn a few things on the way
Updates/Edit
Checked a ST15i Xperia Mini which has no problems with auto rotate and looks like I was right, so to speak. The Mini has the symlinks in the correct places and according to AT it has the same/similar hardware. The compass chip is AKM8975 as in the Arc S but the accelerometer is BMA250 instead of BMA150 in the Arc S. So if any of you can confirm that those symlinks are missing in your phone(s) then the source of the problem can be confirmed and maybe Sony can be updated about it for a fix, which should be simple enough considering it requires only adding a couple of symlinks. How they managed to miss out on adding them in the first place is a mystery to me as the Mini is all stock and came with the ICS .431 firmware out of the box, so no updates from GB to ICS.
Click to expand...
Click to collapse
1.My compass is there in AT
my Z-axis shows 21 ( but under 'BMA150 accelerometer' it shows maximum range "9.81 m/s^2"
2.i got no symlink it the /sys/devices/i2c-0/0-000c folder
3.That didnt work for me either
still no luck guys
found something interesting
http://www.slatedroid.com/topic/374...ks-fine-but-screen-doesnt-rotate/page__st__40
post #45
but this app is for bm250 and we do have bm150 so this app isn't working.
and i found one more blog which says install GB and install ics/jb without wiping anything... i did that too but no luck.......
i found something more tempting i downloaded a app "Hi Music" and autorotate is working in this app.....
now im using xperia z jelly bean 3
and as far as auto rotate i just need landscape mode in album/gallery which can be done by playing a video(which stucks screen on landscape till screen locks)
it7.phoenix said:
still no luck guys
found something interesting
http://www.slatedroid.com/topic/374...ks-fine-but-screen-doesnt-rotate/page__st__40
post #45
but this app is for bm250 and we do have bm150 so this app isn't working.
and i found one more blog which says install GB and install ics/jb without wiping anything... i did that too but no luck.......
i found something more tempting i downloaded a app "Hi Music" and autorotate is working in this app.....
now im using xperia z jelly bean 3
and as far as auto rotate i just need landscape mode in album/gallery which can be done by playing a video(which stucks screen on landscape till screen locks)
Click to expand...
Click to collapse
there are many apps for auto rotation
u should try one
and by advanced tools
orientation sensor not detected
magnetic field sensor not detected
and on accelerometer bma150 and z axis is on 22 and maximum range 9.81 m/s^2
Sahaab said:
there are many apps for auto rotation
u should try one
Click to expand...
Click to collapse
name it brother
i'll try
it7.phoenix said:
name it brother
i'll try
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=gpc.myweb.hinet.net.RotationAnywhere
here
by the way have u tried any custom kernel?
try rotation lock adaptive
Sent from my ZL 6502 latest Pac rom using XDA Premium [HD]
yes
my bootloader is unlocked
found another app whoch is great for rotating screen
https://play.google.com/store/apps/details?id=nl.fameit.rotate_license
this can help to select apps to use landscape/portrait screen
it7.phoenix said:
yes
my bootloader is unlocked
found another app whoch is great for rotating screen
https://play.google.com/store/apps/details?id=nl.fameit.rotate_license
this can help to select apps to use landscape/portrait screen
Click to expand...
Click to collapse
Is auto rotation fixed when u use a kernel which is not based on stock?
any kernel on any GB rom(stock/custom) rotation works fine
But in any JB/ICS custom or stock roms with any kernel, auto rotate is not working
it7.phoenix said:
any kernel on any GB rom(stock/custom) rotation works fine
But in any JB/ICS custom or stock roms with any kernel, auto rotate is not working
Click to expand...
Click to collapse
Its not the problem with any ROM. Arc S seems to have different drivers than Arc.
Some lib files u need to take from ur stock rom. It used to come when I flash other device os in my pro. Then, adding few libs will solve that. Dont remember wht...
If I m not wrong, browser autorotation will go to landscape and will not come back to potrait mode... Am i correct?

Questions [Still Need Answers]

so i have a bunch of questions
1. Is HDR hardware Related or Framework [or what?]
2. how would i Center the clock after Decompiling the SystemUI.apk (ps i added A seconds timer to the clock if that makes a difference)
i managed to get battery and everything on the left but the clock stayed on the right :S
3. how is the XS Rom booted? scripts or apps
4. is it possible to set the Hardware to something that is discoverable by Ubuntu [for example], and then booting ubuntu [for example] as a primary rom
5. is it possible to flash SP Firmware on to the XS
XSP rom does need some modifying to work on XS
--please ignore any Grammar mistakes
Useful Info
things are best explained to me Directly and simply otherwise i don't/find it hard to understand (dyslexia or something)
1st Q ans - Well that part people still don't know because mostly Xperia with Exmor RS camera got HDR,but Xperia C got HDR with Exmor R camera...maybe software and hardware related
Last Q ans - You flash SP rom to XS,then your device will have serios problem mate,I mean it
Sent from my SK17i using xda premium
??
UchihaDareNial
Click to expand...
Click to collapse
what do you mean, if i was to flash just the SP rom and not the kernel , would it not boot would things crash , what?
You will end up bricking your device. You need to go to your devices specific page, you can do that near the top and just type your device model in the type to find your device.
May also suggest using the search function it can be more specific related to your questions.
But yeah, using a ROM from another device to another device will brick it and it will not boot.
Would it work
Android_UK
Click to expand...
Click to collapse
Well me and ForzaFerrariLeo have been working on a port to the xs
the Ram disk didnt need any edditing for it to kind of boot, we both Assume that there are some Configs and build.props that need editing for it to boot but ill have to wait till around 11PM my time for FFL to wake up

[Q] [Request] Xperia S stock camera on Lollipop?

Hello,
I'm currently (and very happily) running nAOSPROM on my Xperia S. However, the only thing I miss from stock is the camera, both its simplicity and its quality. I tried various alternative camera apps, and they are all not very satisfactory (especially in low light) and seem to draw an ungodly amount of battery while doing an inferior job. I even tried the recent port of Z4 camera (including framework), and it seems that the XS isn't able to handle that one anymore, running out of memory and coming to a screeching halt. Not that I'd be particularly interested in placing stickers on my pictures or using AR anyway.
Bottom line/tl;dr: I want the camera back that worked so great in Xperia S stock firmware.
My question now is: Is there any possibility and if so, someone knowledgeable enough to port the bog-standard Xperia S stock camera from the latest (and probably last) JB stock firmware so it can be run on Lollipop?
Thank you so much in advance (even for a definite no)
-m
http://forum.xda-developers.com/cro.../port-xperia-z4-framework-sony-stock-t3154772
there is a version for naosp b24 but it does not work..i got only black screen on camera app ...maybe the dev will release some update .. i am waiting for stock cam to... thats the only reason why i am still on stock rom
dobi235 said:
http://forum.xda-developers.com/cro.../port-xperia-z4-framework-sony-stock-t3154772
there is a version for naosp b24 but it does not work..
Click to expand...
Click to collapse
Yes, that's the one I meant with "the recent port of the Z4 camera", I made the same experience.
I'm really hoping for a port of the original, basic, but great working camera.
i wrote to the dev and he replied to me: "to fix black screen use com.sonyericsson.cameraextension.jar in framework folder from working xperia port camera for xperia s it will surely works" .. so i will try it when i will have some free time
dobi235 said:
i wrote to the dev and he replied to me: "to fix black screen use com.sonyericsson.cameraextension.jar in framework folder from working xperia port camera for xperia s it will surely works" .. so i will try it when i will have some free time
Click to expand...
Click to collapse
I'm waiting too for a stock camera port for lollipop roms (ucyan or naosp). Please let us know the outcome.
I'm still on stock too just for the camera. I'm using the EXR port from Z1 which is great but also the stock would be great.
Any news ?
I do not know if I'm doing dirty flash which find it hard but I tried to install both Ucyan as the Naosp the Ucyan in the system is with random crashes and reboots in Naosp black screen and a Rebot until not stand it and went back to SipleAOSP
Any news ?
metai said:
My question now is: Is there any possibility and if so, someone knowledgeable enough to port the bog-standard Xperia S stock camera from the latest (and probably last) JB stock firmware so it can be run on Lollipop?
Thank you so much in advance (even for a definite no)
-m
Click to expand...
Click to collapse
I hope So ,, he will be my new hero :highfive:
jason xmas said:
I hope So ,, he will be my new hero :highfive:
Click to expand...
Click to collapse
In my opinion there isn't any hero here in this moment ...
buy Xperia Overlay.. there is worknig sony cam on 5.0.2 but without superior auto

Looking into unlocking the bootloader and moving to LOS on my XZ2c - not sure where to start

hi there. I've had my XZ2 Compact (H8324) for a while now, and I'm looking into finally switching to LineageOS on it (preferably with MicroG instead of normal GApps suite, although it looks like it's not an option for now).
the problem is, I haven't tinkered with my devices for a while now - the last time I did that was on my Xperia mini pro about 7 years ago, and obviously a lot has changed since that.
it also doesn't help that the XZ2 Compact has a bit worse dev support than my previous device used to, and the documentation of the process seems to be a bit missing, too. I've seen some discussions link to the regular XZ2 forum for certain tools, so it's a little bit all over the place.
I'm not completely sure what's the procedure now, what tools should I use to unlock and flash the device, and what precautions do I need - for example, as far as I can tell from this thread, there's no need to fix the camera if I unlock the bootloader when running Android 10, but I'd want to make sure that it's correct. any suggestions on where to start the whole thing from would be very appreciated.
the device is H8324 (dual-SIM) running the latest available version of Android 10 - 52.1.A.3.49, and all the steps that require using PC will be performed from a Linux machine.
thanks in advance!
On most phones unlocking the bootloader wipes the phone.
Before anything backup, backup, BACKUP to an external device!
This can be tricky if you're not rooted and can't use an application such as Titanium Backup.
I use SMS Backup/Restore (Google Play Store) to backup my call logs and text messages and backup contacts using default contact manager.
If you're going to unlock and root on stock ROM camera should be fine.
If you're going to run a custom ROM check the forums for known issues.
According to this thread Sony Xperia XZ2 Compact [ROM][11] LineageOS 18.1 [OFFICIAL] (XDA)
KNOWN ISSUEs
The Sony stock camera does not work at the moment.
Click to expand...
Click to collapse
yeah, I've got the backups covered, my SMS are saved in the Signal backup and my contacts are all synced. thanks for looking out for me though!
from what I can tell, the LineageOS issue you quoted only affects Sony's camera app, while taking pictures with alternative apps works okay - and I'm fine with that. I just wanted to double check that there's no problems with viewfinder preview and the like, like it used to be with some Xperias in the past after unlocking the bootloader.

Categories

Resources