Active Topics

 


Reply
Thread Tools
Posts: 163 | Thanked: 279 times | Joined on Feb 2017 @ Tbilisi, Georgia (caucasus)
#241
My issue still exists. Phone does not sleep at all. Even though cpu usage is minimal battery still drains.

here is my wakelock file

https://paste.ubuntu.com/25986943/
 

The Following User Says Thank You to matemana For This Useful Post:
Posts: 635 | Thanked: 1,535 times | Joined on Feb 2014 @ Germany
#242
Originally Posted by matemana View Post
My issue still exists. Phone does not sleep at all. Even though cpu usage is minimal battery still drains.

here is my wakelock file

https://paste.ubuntu.com/25986943/
Is this a fresh install? Which files did you use?

Could you please give he output of the following commands:

systemctl status bt-sleep-monitor.timer
systemctl status bt-sleep-monitor.service
systemctl status hciattach.service
 

The Following 2 Users Say Thank You to mautz For This Useful Post:
Posts: 163 | Thanked: 279 times | Joined on Feb 2017 @ Tbilisi, Georgia (caucasus)
#243
Yes it's a fresh install. I just installed some programs and python libs that's it.

1 systemctl status bt-sleep-monitor.timer

● bt-sleep-monitor.timer - Delay start of minimecs bt-sleep-monitor script to avoid getting wrong bluetooth value on startup
Loaded: loaded (/lib/systemd/system/bt-sleep-monitor.timer; disabled; vendor preset: enabled)
Active: active (running) since Sat 2017-11-18 16:58:09 +04; 53min ago
2 systemctl status bt-sleep-monitor.service

● bt-sleep-monitor.service - Start Minimecs bt-sleep-monitor script at startup
Loaded: loaded (/lib/systemd/system/bt-sleep-monitor.service; static; vendor preset: enabled)
Active: active (running) since Sat 2017-11-18 16:58:38 +04; 54min ago
Main PID: 11430 (bt-sleep-monito)
CGroup: /system.slice/bt-sleep-monitor.service
├─11430 /bin/bash /usr/bin/bt-sleep-monitor.sh
├─15520 dbus-monitor --system interface='com.nokia.mce.signal',member='displ...
└─15521 /bin/bash /usr/bin/bt-sleep-monitor.sh
3 systemctl status hciattach.service

● hciattach.service - Run hciattach when HCI UART device becomes available
Loaded: loaded (/lib/systemd/system/hciattach.service; static; vendor preset: enabled)
Active: inactive (dead)
Condition: start condition failed at Sat 2017-11-18 16:58:09 +04; 55min ago
ConditionPathExists=/data/property/persist.service.bdroid.bdaddr was not met
 

The Following 2 Users Say Thank You to matemana For This Useful Post:
Posts: 635 | Thanked: 1,535 times | Joined on Feb 2014 @ Germany
#244
There's domething wrong with Bluetooth. Could you do a 'devel-su ls /data/property' and check if the file petsist.service.bdroid.bdaddr is in there? If yes please check if it contains a mac adress.
 

The Following 2 Users Say Thank You to mautz For This Useful Post:
Posts: 163 | Thanked: 279 times | Joined on Feb 2017 @ Tbilisi, Georgia (caucasus)
#245
Originally Posted by mautz View Post
There's domething wrong with Bluetooth. Could you do a 'devel-su ls /data/property' and check if the file petsist.service.bdroid.bdaddr is in there? If yes please check if it contains a mac adress.
Only these files are in /data/property

persist.radio.adb_log_on persist.radio.eons.enabled

What does this mean? I also have strange issue. Wifi asks for password on every reboot.
 

The Following User Says Thank You to matemana For This Useful Post:
Posts: 635 | Thanked: 1,535 times | Joined on Feb 2014 @ Germany
#246
Your persist partition is corrupted. This also causes your wifi issues.

Maybe this can help you to repair the partition:

https://forum.xda-developers.com/goo...ition-t2821576
 

The Following 3 Users Say Thank You to mautz For This Useful Post:
Posts: 163 | Thanked: 279 times | Joined on Feb 2017 @ Tbilisi, Georgia (caucasus)
#247
Originally Posted by mautz View Post
Your persist partition is corrupted. This also causes your wifi issues.

Maybe this can help you to repair the partition:

https://forum.xda-developers.com/goo...ition-t2821576
Followed that guide but still there are only those two files in /data/property and phone changes mac address on every reboot and bluetooth does not work.

Hell the universe is forcing me to go back to android! WTH

My nexus 4 is working fine on SFOS, but i like nexus 5 because it has 4g and it's much faster but it has these issues. It's very annoying to have to enter wifi password on every reboot (i also have to change firewall settings on my router because of mac change on phone). I do not want to go back to android
 

The Following User Says Thank You to matemana For This Useful Post:
Posts: 635 | Thanked: 1,535 times | Joined on Feb 2014 @ Germany
#248
Code:
devel-su echo 01:02:03:04:05:06 > /data/persist/persist.service.bdroid.bdaddr
Does thus fix your bt problem? Check systemctl status hciattach.
 

The Following User Says Thank You to mautz For This Useful Post:
Posts: 163 | Thanked: 279 times | Joined on Feb 2017 @ Tbilisi, Georgia (caucasus)
#249
Originally Posted by mautz View Post
Code:
devel-su echo 01:02:03:04:05:06 > /data/persist/persist.service.bdroid.bdaddr
Does thus fix your bt problem? Check systemctl status hciattach.
There was no /data/persist directory

created /data/property/persist.service.bdroid.bdaddr with that mac addr in it and restarted BT service now it works It was so simple. Thank you.

Maybe if i create file like that for wifi it will have that mac address even after restart?

Strange thing. When i run these commands
cd /persist
mkdir bluetooth wifi
chown bluetooth:system ./bluetooth
chmod 770 ./bluetooth
cp /sdcard/.bdaddr /persist/bluetooth
chown bluetooth:system ./bluetooth/.bdaddr
chmod 660 ./bluetooth/.bdaddr
chown wifi:system ./wifi
chmod 770 ./wifi
cp /sdcard/.macaddr /persist/wifi
chown wifi:system ./wifi/.macaddr
chmod 660 ./wifi/.macaddr

I see those folders and files, but after reboot those folders and files are gone. Does those files exist on your device?

Last edited by matemana; 2017-11-20 at 08:43.
 

The Following 2 Users Say Thank You to matemana For This Useful Post:
Posts: 163 | Thanked: 279 times | Joined on Feb 2017 @ Tbilisi, Georgia (caucasus)
#250
I was trying to start aliendalvik on my nexus 5 with base CM13.
It tries to get permissions on sensors but it fails and then alien_bridge_server fails too with error
"alien_bridge_server[12713]: The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()"

BUT
I hate when this happens but still seems my phone sleep issue is fixed now.

[nemo@Sailfish ~]$ mcetool --get-suspend-stats
uptime: 15299.218
suspend_time: 9738.248
 

The Following 2 Users Say Thank You to matemana For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 21:34.