Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,741,401 Members 38,367 Now Online
XDA Developers Android and Mobile Development Forum

Bluetooth and UMS not working in homemade build

Tip us?
 
spezi77
Old
#1  
spezi77's Avatar
Recognized Contributor - OP
Thanks Meter 1333
Posts: 512
Join Date: Jan 2013
Location: /home/xda

 
DONATE TO ME
Default Bluetooth and UMS not working in homemade build

Hey guys,

Thanks for this great Omnirom! It is really snappy and running stable on my old device. I am running it on my 3 years old HTC Desire

I was only not able to compile with omnirom's android_packages_apps_Bluetooth. I guess that it comes from lacking support for legacy devices. When building CM-11 Bluetooth always worked fine for my device.

Furthermore USB mass storage is not working.. I have found a hint on xda, suggesting to enter within 'Terminal Emulator' app:
# su
# setprop persist.sys.usb.config mass_storage
# reboot

That did not work out for me.

if trying:
# setprop persist.sys.usb.config mass_storage,adb

at least ADB is working.

Any help is highly appreciated.

Thanks!
Device: NEXUS 4 - Google Kitkat 4.4.4
Retired: HTC Desire - AOSB Kitkat 4.4.4


My work for HTC Desire:



[4.4.4] AOSB Kitkat :||: [4.4.2] Liquid Kitkat :||: [4.4.4] OmniROM :||: [4.4.2] PAC-man ROM :||: [4.4.3] CarbonROM :||: [4.4.4] CM-11 KitKANG :||: [4.1.2] s'MiUi v5 3.11.29 :||: [4.1.2] Xperia Z

If you like my work and want to encourage me, please and rate this thread with 5 stars.


 
jeffsf
Old
(Last edited by jeffsf; 27th April 2014 at 04:09 AM.)
#2  
jeffsf's Avatar
Recognized Contributor
Thanks Meter 975
Posts: 1,081
Join Date: Mar 2011
Location: San Francisco

 
DONATE TO ME
You should check your build tree and kernel to make sure things are building correctly in Bluetooth. Where did you get your kernel sources and config?

UMass is, as I understand it, deprecated. Without build configuration changes it is generally unavailable. You would have to check both that it was compiling in, as well as called out in your init.rc files.

---
Posted from whatever phone booted today
Nexus 5, custom OmniROM builds (don't panic, it means I can brick my SGS4G without fear)
Samsung Galaxy S 4G -- Development version of OmniROM
Fromerly: Development version of Team Acid's CM9 source, Hefe Kernel of Darkness, KG4 modem.
Working on: Cleaning up the build tree for OmniROM and Samsung kernel sources


WiFi Performance, GB vs. ICS, and how to measure it yourself.

FreeBSD, Ubuntu, MacOS X, OpenWRT
Motorola Micro-TAC ("Micro" ) Nokia 2160, 8260, 6681, E70, N900, then had to move on
The Following User Says Thank You to jeffsf For This Useful Post: [ Click to Expand ]
 
Entropy512
Old
#3  
Senior Recognized Developer
Thanks Meter 24119
Posts: 13,137
Join Date: Aug 2007
Location: Owego, NY

 
DONATE TO ME
Quote:
Originally Posted by jeffsf View Post
You should check your build tree and kernel to make sure things are building correctly in Bluetooth. Where did you get your kernel sources and config?

UMass is, as I understand it, deprecated. Without build configuration changes it is generally unavailable. You would have to check both that it was compiling in, as well as called out in your init.rc files.

---
Posted from whatever phone booted today
There may be legacy support items missing that are needed, it's up to maintainers of legacy devices to figure out what and submit to gerrit.

I need to come up with some formal documentation on completely killing UMS with fire.
*so much sig updating needed*

My Github profile - Some Android stuff, some AVR stuff

An excellent post on "noobs vs. developers"

A few opinions on kernel development "good practices"

Note: I have chosen not to use XDA's "friends" feature - I will reject all incoming "friend" requests.

Code:
<MikeyMike01> Smali is a spawn of hell
<shoman94> ^^^ +!
Code:
<Entropy512> gotta be careful not to step on each other's work.  :)
<Bumble-Bee> thats true
<jerdog> compeete for donations
The Following User Says Thank You to Entropy512 For This Useful Post: [ Click to Expand ]
 
spezi77
Old
(Last edited by spezi77; 28th April 2014 at 09:53 PM.)
#4  
spezi77's Avatar
Recognized Contributor - OP
Thanks Meter 1333
Posts: 512
Join Date: Jan 2013
Location: /home/xda

 
DONATE TO ME
Quote:
Originally Posted by jeffsf View Post
You should check your build tree and kernel to make sure things are building correctly in Bluetooth. Where did you get your kernel sources and config?

UMass is, as I understand it, deprecated. Without build configuration changes it is generally unavailable. You would have to check both that it was compiling in, as well as called out in your init.rc files.

---
Posted from whatever phone booted today
First of all thanks for your replies.. highly appreciated!

I am sure that it's not a kernel issue cause it works with any other of my kk roms. It is the only stable kernel that runs kitkat on my phone: https://github.com/Evervolv/android_kernel_htc_qsd8k/

I will check my build tree and I guess that I will look into hardware/libhardware next..

Cheers!
Device: NEXUS 4 - Google Kitkat 4.4.4
Retired: HTC Desire - AOSB Kitkat 4.4.4


My work for HTC Desire:



[4.4.4] AOSB Kitkat :||: [4.4.2] Liquid Kitkat :||: [4.4.4] OmniROM :||: [4.4.2] PAC-man ROM :||: [4.4.3] CarbonROM :||: [4.4.4] CM-11 KitKANG :||: [4.1.2] s'MiUi v5 3.11.29 :||: [4.1.2] Xperia Z

If you like my work and want to encourage me, please and rate this thread with 5 stars.


Tags
homemade htc desire
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes