1. Download our Official Android App: Forums for Android!

Root [Discussion]bluetooth fix?

Discussion in 'Android Devices' started by ortrigger, Jan 17, 2013.

  1. ortrigger

    ortrigger Android Expert
    Thread Starter
    Rank:
    None
    Points:
    113
    Posts:
    838
    Joined:
    Sep 7, 2012

    Sep 7, 2012
    838
    340
    113
    Male
    IT student
    I'm creating this thread to hopefully encourage developer discussion on what we can do to fix bluetooth in ICS. I realize that most people have moved on to cm10/aokp41 but there are some that still want the stock-based roms. I will help with what I can but my technical knowledge on this is still woefully thin.

    As far as the problem itself goes, is it that the LG rom doesn't recognize the bluetooth drivers in the custom kernel, or is it something different that I don't understand?
     

    Advertisement

  2. Biotic

    Biotic Android Expert
    Rank:
    None
    Points:
    223
    Posts:
    1,391
    Joined:
    Jan 19, 2011

    Jan 19, 2011
    1,391
    669
    223
    Male
    Construction and Android Developer
    Pennsylvania
    Not a kernel savy person (since the droid razr doesnt use kernels...) but im gonna have to say driver issue. Similar to adreno problems in some roms?
     
  3. azoller1

    azoller1 Android Expert
    Rank:
    None
    Points:
    213
    Posts:
    1,074
    Joined:
    Jul 16, 2012

    Jul 16, 2012
    1,074
    643
    213
    I tried the hcd file from cm10 and put it in my stock ics ROM but it didn't seem to fix anything with Bluetooth maybe I'll try it out again
     
  4. Lykarsis

    Lykarsis Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    300
    Joined:
    Oct 18, 2012

    Oct 18, 2012
    300
    82
    53
    Male
    Pizza Making, People Wrangling and PC Fixing
    Ohio
    I am by no means a dev or even remotely knowledgeable to be one but how can an android device not use a kernal? isn't that required for it to work? No offense intended, just very curious.
     
  5. Biotic

    Biotic Android Expert
    Rank:
    None
    Points:
    223
    Posts:
    1,391
    Joined:
    Jan 19, 2011

    Jan 19, 2011
    1,391
    669
    223
    Male
    Construction and Android Developer
    Pennsylvania

    The Droid Razr has a locked bootloader so we use what is called Safestrap. This tool mounts the system as read/writeable and uses motorolas locked boot image as our one and only kernel. We have a way to create a virtual kernel but it causes alot of trouble if your system isnt built for it.

    Anyways back on track
     
  6. ortrigger

    ortrigger Android Expert
    Thread Starter
    Rank:
    None
    Points:
    113
    Posts:
    838
    Joined:
    Sep 7, 2012

    Sep 7, 2012
    838
    340
    113
    Male
    IT student
    Would there be a way to rewrite the way ics calls bluetooth to make it work or would that take the actual source code?
     
  7. Neph81

    Neph81 Android Expert
    Rank:
    None
    Points:
    213
    Posts:
    1,399
    Joined:
    Mar 3, 2012

    Mar 3, 2012
    1,399
    823
    213
    Male
    Wisconsin
    The kernel Bluetooth works, so does the system drivers, just not together. In order to get the kernel to work with the system you would need to decompile most of the framework files and replace all the bluetooth info with stuff designed to interface with our kernel. Alternatively, you could convince LG to actually give us the real kernel source that properly boots ICS as their config does not and continues to not boot. Other then that, I doubt this will ever be fixable as you'd need someone with deep knowledge in both android and bluetooth to fix it.
     
    ortrigger, Biotic and IMUcarmen like this.
  8. ortrigger

    ortrigger Android Expert
    Thread Starter
    Rank:
    None
    Points:
    113
    Posts:
    838
    Joined:
    Sep 7, 2012

    Sep 7, 2012
    838
    340
    113
    Male
    IT student
    Thanks for the info neph. Have you checked the source released by lg for a -Werror flag? The Samsung galaxy camera kernel source had that and it caused the build to fail.
     
  9. Neph81

    Neph81 Android Expert
    Rank:
    None
    Points:
    213
    Posts:
    1,399
    Joined:
    Mar 3, 2012

    Mar 3, 2012
    1,399
    823
    213
    Male
    Wisconsin
    The build doesn't fail, and that's part of the problem. We can build the source code and it seems to work just fine, but if you stick that zImage into a boot.img, it won't boot. I'm dealing with the same BS while trying to help the guys in the Lucid forum. It builds, no errors, and yet won't boot. I even had them pull the config.gz file and it matched what I was building against. I completely believe that LG modded the code or kept something out that we need to boot ICS.
     
    brianmaedche and Biotic like this.
  10. tdm

    tdm Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    1,965
    Joined:
    Jun 4, 2012

    Jun 4, 2012
    1,965
    3,248
    313
    Developer
    Seattle, WA
    Totally agree. LG needs to come clean on the kernel sources.
     
    ortrigger and Biotic like this.
  11. ortrigger

    ortrigger Android Expert
    Thread Starter
    Rank:
    None
    Points:
    113
    Posts:
    838
    Joined:
    Sep 7, 2012

    Sep 7, 2012
    838
    340
    113
    Male
    IT student
    I see. Well, at least I know more now than I did before. Thanks for the input guys. Next step for me is to start learning more legitimate android development...and work out the kinks with my laptop not wanting to work 100%.
     
  12. Biotic

    Biotic Android Expert
    Rank:
    None
    Points:
    223
    Posts:
    1,391
    Joined:
    Jan 19, 2011

    Jan 19, 2011
    1,391
    669
    223
    Male
    Construction and Android Developer
    Pennsylvania
    We will come up with something
     
Tags:

Share This Page

Loading...