[One (M8) Q&A, Help & Troubleshooting] Thijs_Rallye:
[EDIT]

Solution

Tried to fix the corrupted file system with E2FSCK from the recovery console but that unfortunately didn't work out. Decided to use a RUU which I luckily had of the M8s from my carrier and completely reinstalled my phone. Everything is fine again now.

Hello everyone,

I am kinda new here as a registered user, but I've been reading here for quite some time now.

I've recently purchased my M8s via my provider and decided to take the gamble and root the device as could be found in various threads spread around XDA. GUIDE

(Unlocked bootloader via HTCdev, installed TWRP as recovery, forgot to backup prior to rooting but made a full nandroid backup afterward.) Bluetooth has worked after rooting, because it was used to synchronize the contacts across two HTC phones. (my old One X+)

Phone was running fine but today I've found out that I cannot enable bluetooth on my phone. I can press the icon, it greyes out for a minute (as if the button remains pressed) and continues to stay off after that. I've found in another thread that a fastboot getvar all could be useful, so here it comes:

(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.0.U20410.1@50408
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: --------------------
(bootloader) imei: -------------------------
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8ql_ul
(bootloader) platform: hTCBmsm8939
(bootloader) modelid: 0PKV10000
(bootloader) cidnum: T-MOB003
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 8e18db08
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
(bootloader) mfg-name: 0001
all: Done!
finished. total time: 0.066s

Does anyone have a tip for fixing this issue, or where I can start searching / looking

Regards Thijs

Edit:

After finding out how to use logcat for some additional info:

[ 03-28 20:03:54.096 2167: 2167 D/QSTileView ]

touch down:bluetooth

[ 03-28 20:03:54.146 2167: 2167 D/QSTileView ]

touch up:bluetooth

[ 03-28 20:03:54.176 2167: 2167 I/QuickSettingBluetooth ]

airplaneToggleable:bluetooth,wifi,nfc

[ 03-28 20:03:54.176 2167: 2167 I/QuickSettingBluetooth ]

toggleBluetoothState.restrict:false

[ 03-28 20:03:54.176 2167: 2167 I/QuickSettingBluetooth ]

toggleBluetoothState.lock:false

[ 03-28 20:03:54.176 2167:15453 I/QuickSettingBluetooth ]

toggleState.currentState:false nextState:true

[ 03-28 20:03:54.186 1099: 8661 D/BluetoothManagerService ]

checkIfCallerIsForegroundUser: valid=true callingUser=0 foregroundUser=0

[ 03-28 20:03:54.186 1099: 8661 D/BluetoothManagerService ]

checking for enable restriction...

[ 03-28 20:03:54.186 1099: 8661 D/BluetoothManagerService ]

checkBTEasState, ret=true

[ 03-28 20:03:54.186 1099: 8661 I/BluetoothManagerService ]

isBluetoothRestricted(): false

[ 03-28 20:03:54.186 1099: 8661 D/BluetoothManagerService ]

enable(): region ID = 6

[ 03-28 20:03:54.186 1099: 8661 D/BluetoothManagerService ]

enable(): mBluetooth =null mBinding = false

[ 03-28 20:03:54.196 1099: 8661 W/Settings:Agent ]

MONITOR_LOG

[ 03-28 20:03:54.196 1099: 8661 W/Settings:Agent ]

name: bluetooth_on

[ 03-28 20:03:54.196 1099: 8661 W/Settings:Agent ]

value: 1

[ 03-28 20:03:54.196 1099: 8661 W/Settings:Agent ]

>> traceCallingStack()

[ 03-28 20:03:54.196 1099: 8661 W/Settings:Agent ]

Process.myPid(): 1099

[ 03-28 20:03:54.196 1099: 8661 W/Settings:Agent ]

Process.myTid(): 8661

[ 03-28 20:03:54.196 1099: 8661 W/Settings:Agent ]

Process.myUid(): 1000

[ 03-28 20:03:54.196 1099: 8661 W/Settings:Agent ]

[ 03-28 20:03:54.196 1099: 8661 W/Settings:Agent ]

[ 03-28 20:03:54.196 1099: 8661 W/System.err ]

java.lang.Throwable: stack dump

[ 03-28 20:03:54.236 1099: 8661 W/System.err ]

at java.lang.Thread.dumpStack(Thread.java:490)

[ 03-28 20:03:54.236 1099: 8661 W/System.err ]

at android.provider.HtcISettings$Agent.traceCallingStack(HtcISettings.java:56)

[ 03-28 20:03:54.236 1099: 8661 W/System.err ]

at android.provider.HtcISettingsGlobal$Agent.monitorKey(HtcISettingsGlobal.java:64)

[ 03-28 20:03:54.236 1099: 8661 W/System.err ]

at android.provider.Settings$Global.putStringForUser(Settings.java:7422)

[ 03-28 20:03:54.236 1099: 8661 W/System.err ]

at android.provider.Settings$Global.putString(Settings.java:7403)

[ 03-28 20:03:54.236 1099: 8661 W/System.err ]

at android.provider.Settings$Global.putInt(Settings.java:7503)

[ 03-28 20:03:54.236 1099: 8661 W/System.err ]

at com.android.server.BluetoothManagerService.persistBluetoothSetting(BluetoothManagerService.java:378)

[ 03-28 20:03:54.236 1099: 8661 W/System.err ]

at com.android.server.BluetoothManagerService.enable(BluetoothManagerService.java:598)

[ 03-28 20:03:54.236 1099: 8661 W/System.err ]

at android.bluetooth.IBluetoothManager$Stub.onTransact(IBluetoothManager.java:98)

[ 03-28 20:03:54.236 1099: 8661 W/System.err ]

at android.os.Binder.execTransact(Binder.java:454)

[ 03-28 20:03:54.236 1099: 8661 W/Settings:Agent ]

[ 03-28 20:03:54.236 1099: 8661 W/Settings:Agent ]

<< traceCallingStack(): 48(ms)

[ 03-28 20:03:54.246 1099: 1143 D/BluetoothManagerService ]

Message: MESSAGE_ENABLE

[ 03-28 20:03:54.246 1099: 1143 D/BluetoothManagerService ]

MESSAGE_ENABLE: mBluetooth = null

[ 03-28 20:03:54.246 1099: 1143 E/BluetoothManagerService ]

Fail to bind to: Intent { act=android.bluetooth.IBluetooth }