The story
I've put my n7000 by the sink, set water running and got distracted. By the time I came back my n7000 was lying in the water. I've just wiped it with a towel and put it aside with a careless thought "Wth, it's not the first time. Nothing bad can happen. This device is bulletproof!", after a couple of hours the device went to a reboot and started to shutdown completely each time it went to a sleep mode (reboots took 5-10 minutes). Also it was completely silent :(
Damage assess
After taking the device apart I saw some white residue under the Yamacha's mc1n2 audio chip, cleaned all the boards with alcohol and dried all the parts. Still the same symptoms where there: long boot times, no audio, shutdown in sleep mode, also the sound chip was getting warm quickly. Sad. ADB logs where showing errors of ALSA not finding a sound card and some mc1n2 related errors. The chip was dead.
Trying to recover
Took out my hot air gun and removed the chip completely, cleaned solder from the chip pads on the board. Hooray! Back to normal boot times! (Now definitely no audio :cyclops:) But still ALSA and mc1n2 related errors in the logs (was running latest CM 12.1 NightOwl rom). Also found another problem: couldn't get any audio even through bluetooth, all audio players where not even trying to play files, video players complainig that any video file cannot be played, only got success with MX Player's software codec, no audio through bluetooth though. Started experimenting with the CM 12.1 NightOwl rom sources, managed to build it (It would be nice if they had some simple instructions on how to configure and build it in the dedicated rom thread, can't post there due to noobs 10 posts limit). In the device's config settings found
and set both to false. Yay! Bluetooth audio is back, players working! Still the problem with shutdowns in sleep mode remains, must be something with the SOC itself, or the power managing chip. Ended up installing "Wake Lock - PowerManager" and setting it up to start on boot and set a partial wakelock to keep the CPU awake.
Now I got almost working device to continue pushing it to the limit :)
The end :victory:
The question: could someone point out the low level parts of CM 12.1 and kernel responsible for putting the device into sleep (may be it is possible to narrow down the shutdown issue an somewhat fix it without having to keep the whole CPU awake)?
I've put my n7000 by the sink, set water running and got distracted. By the time I came back my n7000 was lying in the water. I've just wiped it with a towel and put it aside with a careless thought "Wth, it's not the first time. Nothing bad can happen. This device is bulletproof!", after a couple of hours the device went to a reboot and started to shutdown completely each time it went to a sleep mode (reboots took 5-10 minutes). Also it was completely silent :(
Damage assess
After taking the device apart I saw some white residue under the Yamacha's mc1n2 audio chip, cleaned all the boards with alcohol and dried all the parts. Still the same symptoms where there: long boot times, no audio, shutdown in sleep mode, also the sound chip was getting warm quickly. Sad. ADB logs where showing errors of ALSA not finding a sound card and some mc1n2 related errors. The chip was dead.
Trying to recover
Took out my hot air gun and removed the chip completely, cleaned solder from the chip pads on the board. Hooray! Back to normal boot times! (Now definitely no audio :cyclops:) But still ALSA and mc1n2 related errors in the logs (was running latest CM 12.1 NightOwl rom). Also found another problem: couldn't get any audio even through bluetooth, all audio players where not even trying to play files, video players complainig that any video file cannot be played, only got success with MX Player's software codec, no audio through bluetooth though. Started experimenting with the CM 12.1 NightOwl rom sources, managed to build it (It would be nice if they had some simple instructions on how to configure and build it in the dedicated rom thread, can't post there due to noobs 10 posts limit). In the device's config settings found
Code:
# Audio
BOARD_USE_TINYALSA_AUDIO := true
BOARD_USE_YAMAHA_MC1N2_AUDIO := true
Now I got almost working device to continue pushing it to the limit :)
The end :victory:
The question: could someone point out the low level parts of CM 12.1 and kernel responsible for putting the device into sleep (may be it is possible to narrow down the shutdown issue an somewhat fix it without having to keep the whole CPU awake)?
Aucun commentaire:
Enregistrer un commentaire