M1cha / android_device_xiaomi_aries

Xiaomi MI2
24 stars 25 forks source link

Camera+Torch+Black Screen outgoing call #13

Closed gaernik closed 10 years ago

gaernik commented 10 years ago

Hey, I flashed the 13.11.13 release on my MI2 with bootfix,wlanfix and gapps but camera and torch aren't still working and whenever I make a call the screen turns to black and I must wait for the call to end (or remove battery)

gaernik commented 10 years ago

I did a clean installation without bootfix(my bad), cm+gapps+wlanfix but still same problems. i have the syslog if needed

gaernik commented 10 years ago

Even after having installed today's release,camera is still not working :o

M1cha commented 10 years ago

make a screenshot of this app: http://xiaomi.eu/community/threads/app-2013-06-12-hwinfo.20825/

on both MIUI and cm-10.2. and Give me your dmesg and logcat dumps.

gaernik commented 10 years ago

miui-screenshot_2013-11-28-14-25-35 cm-screenshot_2013-11-28-15-12-27 logcat dmesg here you go! I edited the extension of the dumps to jpg 'cause it won't let me upload txt and I have been waiting for a confirmation email on miuiandroid forums for 5 days now.

thanks!

M1cha commented 10 years ago

screenshots are ok but both logs are incomplete and broken

gaernik commented 10 years ago

save link with name and change the extension back to .txt, just worked for me!

M1cha commented 10 years ago

I know but they're incomplete. dmesg starts after 61s. and logcat has just 24 lines.

gaernik commented 10 years ago

I run this: su dmesg >/mnt/sdcard/dmesg.txt logcat -d -v time >/mnt/sdcard/logcat.txt

from terminal emulator, am i doing something wrong?

EDIT. shall I dump the logs from MIUI or CM?

M1cha commented 10 years ago

from cm10.2 ofc

gaernik commented 10 years ago

the thing is that under cm10.2 I am not able to make windows recognise my device and can't send adb instructions, but it works fine with miui

EDIT. I did a reboot and clean dual install and camera worked only first time and only front camera, then I tried to switch to back one and it never worked again

M1cha commented 10 years ago

did you enable ADB and root in developer settings?

gaernik commented 10 years ago

I have but still no device listed after "adb devices", even tried with kill-server. anyway I managed to get the dumps from terminal, these should be full: https://drive.google.com/file/d/0ByGqwp4EVll2UzNrSURRUndrdkU/edit?usp=sharing https://drive.google.com/file/d/0ByGqwp4EVll2dF9RaVJobWZONkE/edit?usp=sharing

M1cha commented 10 years ago

does the camera work with this experimental build? http://xiaomi.eu/community/threads/rom-jb-4-3-cyanogenmod-10-2.22016/page-48#post-188779

gaernik commented 10 years ago

both camera and torch now work, great job! i'll keep testing

M1cha commented 10 years ago

I close this because camera and torch are fixed. If you have blackscreen issues open a new issue for this, please.