Lineage Os 13 Beta 2 For Redmi Pro

Discussion in 'Redmi Pro' started by reichmyu, Dec 10, 2016.

  1. Kristi6.9

    Kristi6.9Members

    Dec 10, 2016
    61
    10
    20
    Male
    #101Kristi6.9,Jan 26, 2017
    Last edited: Jan 26, 2017
    @reichmyu I found this comment on rn4 aosp rom [Here's what I did to fix the bluetooth:

    1.) I unzipped the ROM to get access to the system files
    2.) I went to the bluetooth folder under /system/app/bluetooth/
    3.) I made some new folders (lib/armeabi/) inside the bluetooth directory
    4.) I copied libbluetooth_jni.so from the MIUI system files
    5.) Rezipped the file and flashed it

    Now bluetooth works like a charm!]


    maybe this method can be used to fix some bugs+ this will fix your aosp port too I think
     
  2. reichmyu

    reichmyuMembers

    Jul 15, 2014
    157
    97
    40
    Male
    Ohhh that's great! I think that the main problem of bluetooth in the AOSP I ported is because of the base so if they managed to get it working in RN4 I may be able to get it working here too ^^
     
    Kristi6.9 likes this.
  3. Kristi6.9

    Kristi6.9Members

    Dec 10, 2016
    61
    10
    20
    Male
    I hope you fix it
     
  4. reichmyu

    reichmyuMembers

    Jul 15, 2014
    157
    97
    40
    Male
    I downloaded that bluetooth folder that he uploaded, let's see haha
     
  5. Kristi6.9

    Kristi6.9Members

    Dec 10, 2016
    61
    10
    20
    Male
    if it doesn't work try to take it from the miui rom......and can u tell me how did u fix the audio problem?
     
  6. reichmyu

    reichmyuMembers

    Jul 15, 2014
    157
    97
    40
    Male
    Both phones have a really similar speaker so I used all the libs form RN4/ApolloLite instead of using the audio libs from Redmi Pro
     
  7. Kristi6.9

    Kristi6.9Members

    Dec 10, 2016
    61
    10
    20
    Male
    ok......so the camera libs, fingerprint libs are the redmi pro ones or not?
     
  8. reichmyu

    reichmyuMembers

    Jul 15, 2014
    157
    97
    40
    Male
    In CM13 alpha 4 Redmi Pro libs, in CM13 beta 1 (I still have to upload it), aicp and aosp the libs from RN4/ApolloLite.

    So the result is the same in both cases
     
  9. Kristi6.9

    Kristi6.9Members

    Dec 10, 2016
    61
    10
    20
    Male
    ok...i compared lib64 folder from stock miui and cm13 and they are different from each other ....maybe you missed some libs and I think that that is the reason for those bugs....

    p.s on rn4 aosp rom fingerprint is working
     
  10. reichmyu

    reichmyuMembers

    Jul 15, 2014
    157
    97
    40
    Male
    Including all libs from MIUI does not help and sometimes it results in bootloop. The thing is that we should replace only the necesary libs and keeping in mind that they do not affect bootup. Also thanks for that post you shared about the AOSP, bluetooth is now working like a charm :D

    Enviado desde mi Redmi Pro mediante Tapatalk
     
  11. Kristi6.9

    Kristi6.9Members

    Dec 10, 2016
    61
    10
    20
    Male
    hahaha....aosp alpha 3 coming soon
     
  12. Kristi6.9

    Kristi6.9Members

    Dec 10, 2016
    61
    10
    20
    Male
    @reichmyu are Headphones working on this rom now???
     
  13. reichmyu

    reichmyuMembers

    Jul 15, 2014
    157
    97
    40
    Male
    Noo.. I did not edit the first post well
     
  14. Kristi6.9

    Kristi6.9Members

    Dec 10, 2016
    61
    10
    20
    Male
    when you will give a try on a 7.1.1 rom
     
  15. Matei Creanga

    Dec 15, 2016
    1
    0
    13
    Male
    GREAT JOB! keep up the good work :)
     
  16. reichmyu

    reichmyuMembers

    Jul 15, 2014
    157
    97
    40
    Male
    Already did but it did not boot haha
     
  17. reichmyu

    reichmyuMembers

    Jul 15, 2014
    157
    97
    40
    Male
    Thanks! :)
     
  18. Dimitris Verlis

    Dec 19, 2016
    26
    3
    15
    Male
    Headphones is working (my headphones we dont have buttons) but audio is spliting to headphones and speaker
     
  19. reichmyu

    reichmyuMembers

    Jul 15, 2014
    157
    97
    40
    Male
    Yep and that makes them useless so I decided to put then in not-working. It is weird that bluetooth headphones (that look like a harder thing to get working) are working great haha
     
  20. Kristi6.9

    Kristi6.9Members

    Dec 10, 2016
    61
    10
    20
    Male
    @reichmyu someone on xda sad to try liveboot apk from chainfire on cm14 rom it may show the bootloop problem
     
  21. reichmyu

    reichmyuMembers

    Jul 15, 2014
    157
    97
    40
    Male
    I had tried doing a logcat (same as that app does) but using a PC (via adb) and the phone does not get to an specific part of the boot when you can make a logcat to it. I can try with that app but I think that I will surely have the same result

    Thanks anyway!
     
    Kristi6.9 likes this.
  22. abefan

    abefanMembers

    Jan 24, 2017
    8
    0
    1
    Male
  23. JosephX12

    JosephX12Members

    Dec 21, 2016
    33
    14
    18
    Male
    Guys I've not flashed the ROM but I'm following the thread as I'd love to flash when all bugs are squashed.

    I've been looking around online and there is an app called "soundabout" that appears to be able to fix this speaker/headphone issue on various other devices with custom ROMs.

    If the app does indeed work perhaps you can get in touch with the Dev to find out what precisely it changes to fix this issue and implement a work around that way.
     
  24. Dimitris Verlis

    Dec 19, 2016
    26
    3
    15
    Male
    Sound about are not solved my problem, is driver issue :p
     
    JosephX12 likes this.
  25. Kristi6.9

    Kristi6.9Members

    Dec 10, 2016
    61
    10
    20
    Male
    Can you try to add this line (persist.camera.HAL3.enabled=1) on build prop - maybe it can help.


    and cyanogen is dead so i recommend u to change the name of the rom to lineage os on build prop + remove the vernee apollo lite name from there + find a lineage os bootanimation to replace the cyanogen old one.
     

Share Our Site