Broken gyroscope,accelerometer and proximity switch - Xperia Z Q&A, Help & Troubleshooting

Broken compass,gyroscope,accelerometer and proximity switch.
I was in cm11.After official lollipop release,i flashed zip with TWRP 2.8.6.0.
Everything works fine except compass,gyroscope,accelerometer and proximity switch.
In service test they exist but but the reading is always 0(meters) or 1(proximity).
And I flash thought tft ,but the issues still exists.
So,I tried cm12,but cm12 keep optimizing app and reboot.
I did those install after full wipe.
Then,I tried relock bootloader and fix it with pc companion pro.
But the meters and proximity still doesn't work.
Even i downgrade to cm11,the problem is still there.
Does this means it is a hardware failure and I just didn't notice they were broken before?
And why I can't cm12 keep optimizing app and reboot?
Or cm12 keep reboot because I did use a appropriate kernel?
I am confused with installing kernels.
Does zip flashing form recovery include kernel?
Or boot.img made by TWRP include kernel?
TFT include Kernel?
PC companion pro repair service installs kernel?

Related

Camera stops working often after cwm 6.0.4.8 on aosp roms

I'm not sure if I'm the only one experiencing this but every time I try to flash a custom kernel on CM11 and PA4 with cwm 6...4.8 camera app freezes like usual but then freezes again after 5 secs which is not usual.
Not only does this happen on custom kernals but stock CM11 and PA as well e.g. when I was in the science museum using PA taking pics everything was working well, then phone froze so I did a reboot in fact 5 reboots and camera displayed same symptoms as explained above. Also on CM11 stock kernal I did a regular reboot to apply full theme and bam camera stopped working all AF a sudden.
To fix I had to reflash ROM. I even did a full wipe( including format system) and still had same symptoms.
Pimped kernal just breaks camera straight from reboot no matter how many times I reboot it doesn't fix the problem. Only fix seems to reflash ROM (no need to wipe). Restoring stock/original ROM kernel fixes it but WiFi does not work.
Any way to get custom kernels to work without breaking camera?
..just an advice, do not use CWM, is recommended to flash with TWRP because is more efficient. I had many problems with CWM.
eclyptos said:
..just an advice, do not use CWM, is recommended to flash with TWRP because is more efficient. I had many problems with CWM.
Click to expand...
Click to collapse
Thanks for the reply. I have no option but to use cwm cause all my back ups where done on cwm.
As for the problem I found the solution in this thread:
http://forum.xda-developers.com/showthread.php?t=2505973
yup owns Z1 and stuff.

[Q] Cyanogenmod 11 Problems

So toady, I tried to install Cyanogenmod 11 on my Xperia SP, model C5036.
The install worked, but now my phone is missing the IMEI and can't activate Wi-Fi.
I would try to factory reset inside of my recovery, but when I try to enter it (camera button on boot), the phone boots normally and the LED on the bottom flashes red.
Some more info:
-Phone was rooted with Towel Root
-Bootloader is locked
-Phone is locked to Bell Canada, if that helps
-I, as an idiot forgot to wipe factory data and clear cache.
-Phone was previously running Sony 4.3
-The phone now lists the model number as C5303
-Cyanogenmod version: 11-20140528-UNOFFICIAL-huashan
ROM used: http://forum.xda-developers.com/showthread.php?t=2735975&page=51
If you need any more information, I will tell you.
Enter recovery with vol up/down (philz/cwm) buttons.
Missing imei is probably related to the recovery used. Try re-flashing the ROM via cwm, after data/cache/dalvik wipe.
FYI, Newer version of cm11-LBL is available.
mrhnet said:
Enter recovery with vol up/down (philz/cwm) buttons.
Missing imei is probably related to the recovery used. Try re-flashing the ROM via cwm, after data/cache/dalvik wipe.
FYI, Newer version of cm11-LBL is available.
Click to expand...
Click to collapse
I was able to flash the newer version through CWM and now the IMEI is back and my SIM works. The only thing that isn't working now is the Wi-FI; it won't switch on at all. So the only thing I still need help with is the Wi-Fi.
Probably the WiFi module not loading. Have you flashed the .205 kernel? Your model is c5306 and the kernel posted in the OP (of cm 11 thread) is for c5303. I don't know whether flashing that on your phone would be alright (or have you already flashed it?). I don't think it would cause problems...
In any case, try these in a terminal emulator to see whether wifi modules load..
Code:
su
modprobe wlan
Any error? If nothing, run "lsmod" (without quotes) to see which kernel modules are loaded.
mrhnet said:
Probably the WiFi module not loading. Have you flashed the .205 kernel? Your model is c5306 and the kernel posted in the OP (of cm 11 thread) is for c5303. I don't know whether flashing that on your ph[one would be alright (or have you already flashed it?). I don't think it would cause problems...
In any case, try these in a terminal emulator to see whether wifi modules load..
Code:
su
modprobe wlan
Any error? If nothing, run "lsmod" (without quotes) to see which kernel modules are loaded.
Click to expand...
Click to collapse
No, I haven't flashed it yet..
In Terminal Emulator doing the modprobe command gave me this:
Code:
modprobe: 'wlan.ko': unknown symbol in module or invalid parameter
[Code]
After doing lsmod, I get this:
[Code]
cpufreq_wheatley 7320 0 - Live 0x00000000
cpufreq_lionheart 57110 - Live 0x00000000
texfat 124855 0 - Live 0x00000000 (PO)
cfg80211 135928 - Lie 0x00000000
[Code]
I also used "svc wifi enable" but it just said "Killed" after.
Am I supposed to get these?
Looks like wlan.ko is not loading (??symbol mismatch..). The solution I can think of is to flash the given .205 kernel and hope it works!
So I flashed the .205 kernel in Androxyde's flash tool. When I booted up the phone, the phone turned off twice at the boot animation, but I don't think that did anything, as it still works.
The Wi-Fi now says "Turning Wi-Fi on..." but it just stays like that. I also noticed that running lsmod (su command does nothing) it says "cfg80211 135928 1 wlan, Live 0x00000000" instead of "cfg80211 135928 - Live 0x00000000" and new string "wlan 2702117 0 - Live 0x00000000 (0)".
Also, the IMEI is gone again, even after reflashing CM through cwm multiple times.
Should I just use a different ROM other than CM11?
Wlan.ko seems to load with .205 kernel. For the missing imei, the possible "solutions" mentioned by users in other threads are..
* Flashing ROM with a different recovery (TWRP seems to have the least imei problems).
* Do a backup in cwm and restore it (weird of course) - it also fixed Wi-Fi problems for some.
For some people, this imei missing thing is random! If nothing works, may try a different ROM. Maybe can flash/restore a stock based rom to get TWRP recovery, and then flash cm11-LBL via TWRP.
I restored my phone back to Sony 4.3 and re-installed CM11. Wi-Fi now works but no IMEI still.
I also can't access TWRP after installing cm11-LBL; only PhilZ and CWM are accessible. This has happened both times installing it.
Do you have any ROMs that you can recommend to me in case we can't fix this? The reason why I wanted to update to CM11 was because Sony's 4.3 had far too many bugs and lagged too much.
Cm11-lbl doesn't have TWRP. I meant, to use TWRP to flash while on a stock based ROM. Anyway, I'm now using PA rom for LBL : http://forum.xda-developers.com/showthread.php?t=2789320
It's a very nice ROM.
Need to flash it (build #3) via cwm. If no imei, making a cwm backup and restoring it is the working solution.
I flashed PA build #4 in TWRP and IMEI and baseband is still missing like in CM11. I did the backup and restore fix in CWM but it's still missing.
IMEI and baseband does show up normally in Sony 4.3, just not custom roms.
So, I have tried SlimKat, CM11-LBL and PA build #4. All show missing IMEI and basebands.
Strange! Imei missing issue is fixed in build 4. Only old cwm is not compatible. One issue mentioned about TWRP is that, doing a /system format manually before flashing creates problems.
I suggest to go through PA OP carefully and flash build 4 with newest recoveries (Philz confirmed working). Should work!
I already have flashed the newest version of dssmex's recoveries before flashing build 4.
So, this is what I did:
1. Factory reset to 4.3 through Flashtool
2. Re-root with Towelroot
3. Install newest recoveries by dssmex
4. Enter TWRP, factory reset, clear dalvik and cache and flash PA/4.4 ROM and then GApps
5. Power off, enter flashmode (green LED) and flash .205 kernel with Flashtool
6. Reboot, and 4.4 ROM boots up normally with Wi-Fi working, IMEI and baseband missing.
Is there anything that I'm doing wrong?
Steps are correct. Try flashing build #4 with Philz. Many have confirmed it's working with Philz (checkout the responses in PA thread). If still not working, I don't know what's going on .
Edit: just thinking.. whether c5303 kernel is causing an issue on your c5306 phone?? (You got your imei once but Wi-Fi modules didn't load while on stock 4.3 (c5306) kernel + cm-11 ROM no?). Can test this by flashing the given c5303_205 stock kernel (which is meant for cm-11/PA) while on your imei working 4.3 (c5306_205) stock ROM. If imei issue crops up, then we know it's the cause.
OR if you're now on PA/Slim/cm-11-lbl (and no imei), other thing you can do to test is flash a c5306_205 stock kernel while on that custom ROM. If imei appears, it's clear that the different kernel is causing the issue (but, expect Wi-Fi modules not to load!)
*Hope I'm not confusing you.. if you're not fed-up of this issue yet ()and interested on testing things, just save all the .ko files found in /system/lib/modules of your working stock 4.3 ROM to somewhere (sdcard), so can try those later with c5306 kernel + custom ROM. (But I have no idea whether it will work).
But first thing is to make sure that flashing PA build #4 with Philz doesn't solve the issue
@others
Any idea why this strange imei issue??
Yeah, flashing with PhilZ still doesn't fix IMEI.
This isn't confusing for me, so I'll let you know about these tomorrow, but two things:
- I can't find the C5306 kernel, is leaving the kernel the way it is (not flashing C5303) fine?
- To re-install .ko files do I just place them in that same directory with a file manager?
EDIT: Yup, flashing .205 kernel for C5303 on stock 4.3 erases IMEI.
pixielikescandy said:
- I can't find the C5306 kernel, is leaving the kernel the way it is (not flashing C5303) fine?
Click to expand...
Click to collapse
-yes, leave the c5306 kernel as it is (don't flash c5303 kernel after custom ROM flashing, just reboot).
So, what you can do is, flash eg. PA build #4 with Philz, while on c5306_205 kernel/ROM (working imei), and reboot without flashing c5303 kernel. Hope imei not missing!
Then, if Wi-Fi not working, try copying those 4.3 .ko files to the same place (overwrite) and make sure file permissions are 644 (rw-r--r--). Reboot, hope Wi-Fi works! (Not sure about that really.. ). Try modprobe and lsmod commands to see what's happening..
The IMEI appeared when I flashed PA with C5306 kernel, but I haven't done the Wi-Fi fix yet.
pixielikescandy said:
The IMEI appeared when I flashed PA with C5306 kernel, but I haven't done the Wi-Fi fix yet.
Click to expand...
Click to collapse
If you have time, can read the section 6 in the following link, to have an idea why kernel modules won't load if the base kernel is different.
http://www.tldp.org/HOWTO/html_single/Module-HOWTO/
Copy those matching 4.3 .ko files (and set perms) and see what happens..
Thank you so, so much! wlan.ko from 4.3 fixed it. PA is now running with both SIM and Wi-Fi working.
Installed bagyuz's CM11 on locked bl recently. Loving it.
Just set ART, and now dolphin seems to fly instead of swimming.
Issues I need help with:
a. How do one lock the 5 buttons (on homescreen) above the nav bar?
b. the quick launch button (the one you get when you swipe up the home button) - I get the same 3 buttons on locked and unlocked screen. I can't seem to activate the quick launch for locked screen...

[HELP]Xperia SP stuck in cyanogenmod logo after update

Hello,
I flashed CM11 yesterday and everything went alright. This morning I noticed I had an update for it and proceed to do it.
After the instalation and optimizing all apps it asked me for my simcard PIN and after I unlocked the phone it just went back to the cyanogenmod logo over and over.
I tried to reboot phone but it didn't help.
I've tried to search for similar threads but since i'm a newbie (first time I ever flashed anything) to this I decided to create this thread.
What should I do?
Thank you!
try to use flashtool. google it on how to use flashtool or check other threads.
So I guess i have to flash a stock ROM with flashtool and do it all over again right?
And btw, any reason you guys might think It got stuck in bootloop after I updated CM11? I came from a fresh stock rom. I'm kinda scared it might happen again after the reinstall.
Can't you enter recovery to flash a nandroid backup? (If you have one)
If not, you have two options to choose from.
Fastboot or flash a kernel with CWM or TWRP.
ADB push a zip file of a ROM and flash that.
Flash an FTF file using flashtool and start all over again.
There are many reasons why you're stuck in bootloop at the moment.
With the info you provided, there's no way of telling what caused it for you.
Well, i flashed stock ROM with flashtool, installed CM11 and I had no problems.
Went to settings and OTA update was available. Downloaded it and installed it, stuck in loopboot again. I just can't figure out what's wrong. My phone has bootload unlocked.
Might just do it all over and not update, is that a problem?
Don't use OTA, just download and flash updates manually using recovery.
In the future, for your ease, if this happens again just wipe the phone very clean (cache, /system, /data etc except /boot) and then re-flash the CM zip that you have.
It is a good practise if you make a nandroid backup before flashing a newer version of zip, in case of breaks. Or, you can have Titanium Backup to backup your apps automatically (pro version) everyday, so that you can be ready if there will be something bad happen.

lost recovery/can't boot into CWM/TWRP/Philz

So I've rooted my Z3c using dual recovery method, and later on flashed the Rectify mod, and everything seemed to be working well until I wanted to flash a file in recovery (I know I had CWM working at one point) but it is not working. I found the little NDR tool in the Rectify mod and tired the various recovery options (previously I would just use up on volume key). Well this is when I started noticing it not working and so I tried the manual volume key approach and still it is not working. I installed busy box and have found that can sometimes cause problems with NDR/Recovery however I attempted to uninstall was going to try different location but that's broken now too... I think.
So anyway, my problem is, if I re-install DualRecovery it still does not go to recovery.
Please help me get to Recovery mode so I can reflash rom.
Thank You
Have you installed a different busybox, most others aren't compatible with XZDR and will cause this kind of issue.
I'll tell you what I did, I downgraded firmware using flashtool, followed the dualboot method to upgrade while re-rooting and confirming recovery along the way (this seems to work) then as soon as I install rectify (making sure to flash dualboot flashable zip file before reboot) I'm no longer able to access recovery, not manually or using NDR. I also didn't intall busybox yet.
Oh boy what now, I'm back to square one.
I'm an idiot, what's the rectify mod? Point me to a download link and I'll see if there's something in it that's causing issues with XZDR.
Edit : I see its rectify rom. Well it most likely includes it's own version of busybox, hence the issue.

Problem Flashing Offcial Firmware

Hi, Dear xda members
Last week i soft bricked my Sony Xperia Z c6603
After flashing modified kernel, i lost everything
I couldn't reach recovery even couldn't flash one with fastboot(as my device was not recognized)
I tried flashing offcial firmware through flashtool. It succeeded flashing
But After reboot i had bootloob and the ROM didn't boot
Finally I had a solution to get my phone fixed. Here's what i did:
*Reboot to FlashMode
*In flashtool I flashed TWRP Recovery in FlashMode
Now all custom ROMs are working but when I flash an official and other ROM's based on official, I'm having bootloops
Tried to wait. NO result
Could you help me with it?
P.S the modified kernel was made by this tool http://forum.xda-developers.com/xpe...ot-automatic-repack-stock-kernel-dm-t3301605/
When i softbricked my phone I tried to fix it according to this guide http://forum.xda-developers.com/xpe...rick-sony-xperia-z-c6602-c6603-c6606-t3215134
after i flashed the cm rom, i got the same problem. after flash the stock ROM or official firmware, It keep bootloop. how you fixed It ?
315cqab said:
after i flashed the cm rom, i got the same problem. after flash the stock ROM or official firmware, It keep bootloop. how you fixed It ?
Click to expand...
Click to collapse
Do you still need the method i have gone through?
do you know how to flash the official ROM or firmware back? now i can only flash the custom ROM
315cqab said:
do you know how to flash the official ROM or firmware back? now i can only flash the custom ROM
Click to expand...
Click to collapse
Sorry even i need this. Currently i have the same problem. I cant flash official firmware or the one that is based on official. I need the solution
Same here, after install CM 14.1, i can't go back to official or rom based in Stock...
gussbravo said:
Same here, after install CM 14.1, i can't go back to official or rom based in Stock...
Click to expand...
Click to collapse
I have several problems too including not being able to run stock anymore. (endless black screen after experia logo). I tried flashtool (latest stock via xperifirm), Sony's flashtool. Companion didn't even want to flash (UEGetPhoneInfoMissingInfo), and left me wondering wether something is corrupt.
I've been running CM's for a while now and was wondering why NFC was not working. Not sure if it needs an updated firmware or what.
Other problem I've seen is that "fastboot flash recovery" always gives an error. "fastboot flash boot" works (this is how I install TWRP).
Can I try zeroing mmcblk0 or would that brick it? (does it really need to have a TA partition to accept boot connection? How does Sony init it anyways?)
I think I have a mmcblk0 backup from after unlocking (DRM lost though) but perhaps that will give me a somewhat clean situation again. Or perhaps I can compare it.
Edit: dd-ed my old mmc backup and now Xperia Companion didn't give an error anymore, did a factory reset, and after a long wait of the blue waving animation, I got it to work.
Even NFC firmware update started after rooting and deleting /data/ucf folder.
Now I want to go back to Nougat xD

Categories

Resources