Results 1 to 9 of 9

Thread: Lollipop HDMI output and mic fix v2

  1. #1
    Resident
    Join Date
    May 2011
    Posts
    803
    Thanks
    15
    Thanked 531 Times in 203 Posts

    Lollipop HDMI output and mic fix v2

    Here is v2 of HDMI output fix and microphone fix, just flash over any Lollipop ROM using ClockworkMod:
    https://drive.google.com/file/d/0B6j...ew?usp=sharing
    HDMI will now not crash when sleeping or booting, also no more pausing when hdmi is not connected at bootup, but you will have to plug in HDMI before booting to enable HDMI output, otherwise it is disabled.

  2. The Following User Says Thank You to tenchi For This Useful Post:

    ri9000 (12-09-2014)

  3. #2
    Regular
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    398
    Thanks
    110
    Thanked 25 Times in 19 Posts
    thanks Tenchi, what code changes did you make?

  4. #3
    Resident
    Join Date
    May 2011
    Posts
    803
    Thanks
    15
    Thanked 531 Times in 203 Posts
    Quote Originally Posted by ri9000 View Post
    thanks Tenchi, what code changes did you make?
    Just check my github here: https://github.com/TenchiMasaki/andr...n/commits/cm12

  5. The Following User Says Thank You to tenchi For This Useful Post:

    ri9000 (12-09-2014)

  6. #4
    Regular
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    398
    Thanks
    110
    Thanked 25 Times in 19 Posts
    Hi Tenchi, if i'm looking in the right place? here ,
    in file : init.harmony.usb.rc ,
    a couple of orphan lines? (lines 37,38,39) /..
    on property:sys.usb.config=mtp,adb
    write /sys/class/android_usb/android0/enable 0
    write /sys/class/android_usb/android0/iSerial ${ro.serial}
    edit: looks like I don't know how to read git..
    those lines are not in the actual file?
    ..thought that might explain the mtp bug.
    Last edited by ri9000; 12-09-2014 at 04:52 PM.

  7. #5
    Resident
    Join Date
    May 2011
    Posts
    803
    Thanks
    15
    Thanked 531 Times in 203 Posts
    Quote Originally Posted by ri9000 View Post
    Hi Tenchi, if i'm looking in the right place? here ,
    in file : init.harmony.usb.rc ,
    a couple of orphan lines? (lines 37,38,39) /..
    on property:sys.usb.config=mtp,adb
    write /sys/class/android_usb/android0/enable 0
    write /sys/class/android_usb/android0/iSerial ${ro.serial}
    edit: looks like I don't know how to read git..
    those lines are not in the actual file?
    ..thought that might explain the mtp bug.
    They are diffs,- means deleted and + means added line.
    The changes are mainly in top 2 commits, not the config one.

  8. The Following User Says Thank You to tenchi For This Useful Post:

    ri9000 (12-09-2014)

  9. #6
    Regular
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    398
    Thanks
    110
    Thanked 25 Times in 19 Posts
    Tenchi is this "C" syntax correct?


    if (!contents | !contents->numHwLayers)
    return 0;

  10. #7
    Resident
    Join Date
    May 2011
    Posts
    803
    Thanks
    15
    Thanked 531 Times in 203 Posts
    Quote Originally Posted by ri9000 View Post
    Tenchi is this "C" syntax correct?


    if (!contents | !contents->numHwLayers)
    return 0;
    Ah found a typo, should have two | but effect is same anyways...

  11. #8
    Regular
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    398
    Thanks
    110
    Thanked 25 Times in 19 Posts
    Quote Originally Posted by tenchi View Post
    Ah found a typo, should have two | but effect is same anyways...
    so its still interpreted as a logical "or" ?
    https://github.com/TenchiMasaki/andr...egra2.cpp#L193
    line 193

  12. #9
    Resident
    Join Date
    May 2011
    Posts
    803
    Thanks
    15
    Thanked 531 Times in 203 Posts
    Quote Originally Posted by ri9000 View Post
    so its still interpreted as a logical "or" ?
    https://github.com/TenchiMasaki/andr...egra2.cpp#L193
    line 193
    It is a bitwise or

  13. The Following User Says Thank You to tenchi For This Useful Post:

    ri9000 (12-10-2014)

Remove Ads

Similar Threads

  1. HDMI output in jellybean beta 6 no sound?
    By smigunc in forum Vega ROM Development
    Replies: 2
    Last Post: 04-25-2013, 11:07 AM
  2. Full screen HDMI output for Honey Ice
    By partner in forum Vega ROM Development
    Replies: 19
    Last Post: 09-18-2012, 05:44 AM
  3. Can I Set HDMI output to 100mA?
    By ahso in forum Vega ROM Development
    Replies: 0
    Last Post: 03-27-2012, 01:08 AM
  4. HDMI Output
    By huntersli in forum Vega General Discussion
    Replies: 2
    Last Post: 12-30-2011, 05:50 AM
  5. HDMI only output? vega as smart tv box?
    By danb79 in forum Vega General Discussion
    Replies: 0
    Last Post: 09-14-2011, 03:38 PM

Search tags for this page

cm12 audiofix v2
,
cm12 hdmi error sound
,
cm12 mic fix
,
cm12-audiofix-v
,
cm12.1 hdmi
,

fix mic cm12

,
lollipop hdmi out
,
lollipop hdmi setting
,
lollipop mic fix
,
no sound through hdmi out on notion ink adam tablet
Click on a term to search for related topics.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •