[Nexus 5 Themes and Apps] BSME_SWeedon:
Instructions are below. Just a warning that you'll be modifying system files and so things could go wrong. Be careful, take your time, and back up the files you are replacing along with a nandroid backup. I assume no responsibility if your phone breaks though. This process was developed by someone else and I am posting this on their behalf. I will help where I can, but google will be your best friend

Instructions for Nexus 5 running 5.1 ASOP and Nexus 5 running 5.1.1 Cyanogenmod 12.1

1. You need to be rooted with a custom recovery. I won't go into detail on how to do that since there are plenty of threads on xda-developers about it.

2. Download the correct .zip for you system and install them after booting into recovery

Instructions for Nexus 5 running 5.0.1 ASOP and Nexus 5 running 5.0.2 Cyanogenmod 12

1. You need to be rooted with a custom recovery. I won't go into detail on how to do that since there are plenty of threads on xda-developers about it.

2. Copy the correct 2 files to your phone. One set is for a Nexus 5 running 5.0.1 ASOP and the other is for Nexus 5 running 5.0.2 Cyanogenmod 12 . I plugged my phone into my windows computer and just placed them in the root of the "drive". From the phone's point of view this is /sdcard.

3. You now need to change the permissions of the 2 files. You have to put them in the /system/ folder before you can change permissions. /mnt/sdcard doesn't allow you to change permissions. So copy them to /system/ and change their permissions to 0644 (rw-r--r--). I use root browser for this.

4. Use root browser and move libbluetooth_jni.so to /system/lib/ and move bluetooth.default.so to /system/lib/hw. I would copy the original files to somewhere else first as a backup in case something goes wrong. Double check the permissions on the new files after you move them to their respective locations.

5. Reboot.

6. Installed Kevo and it stopped telling my my phone wasn't supported at this point and everything worked fine.

Please join the KEVO ALPHA Google Group to get the most recent version of the app. I have provided a link to the 1.0.15, but it may be out of date.

KevoForAndroid-1.0.15p.apk

KevoForAndroid-1.0.15p.apk	7.91MB

PLEASE CHECK THE FILES BEFORE YOU COPY THE OVER YOUR FILES, ELSE YOU WILL BREAK YOU BLUETOOTH

-As along as you keep a copy of your original files you can always paste them over the broken ones

ANDROID Stock 5.0.1 ASOP ONLY Files from Download Tab

bluetooth.default.so	2015-02-26 12:36	1.26MB	is for 5.0.1 ONLY

libbluetooth_jni.so 2015-02-26 12:36	87.63KB	is for 5.0.1 ONLY

ANDROID Stock 5.1 ASOP ONLY File from Download Tab

patched-bluetooth.zip

ANDROID 5.0.2 Cyanogenmod 12 Nightly ONLY Files from Download Tab

bluetooth.default.so	2015-02-26 12:33	1.31MB	is CM12 5.0.2 ONLY

libbluetooth_jni.so 2015-02-26 12:33	112.45KB	is CM12 5.0.2 ONLY

ANDROID 5.1.1 Cyanogenmod 12.1 ONLY(WILL NOT WORK ON CM12.1 running 5.1.0) File from Download Tab

cm12.1-patched-bluetooth.zip

PROCESS IF YOU DONT HAVE EITHER ONE OF THESE OS

:

If neither one of these sets of files work for you. You can make your own. This process will take the whole day and a lot of goggling if you have never used Linux, Source Code, or compiled anything. Remember to always have have all files up to date, use Python 2.7 not Python 3+, have >100 gig of hard drive space, and google the errors when you see them in the terminal window.(you will see a lot if this is your first time). If you are familiar with all this then it will likely take about 2 hours and that is just for downloading the source code and compiling.

1. You need to be rooted with a custom recovery. I won't go into detail on how to do that since there are plenty of threads on xda-developers about it.

2. Get the android source code. Follow the instructions from Google or from your ROM on how to do this. Note that you'll need either a Linux system or an OSX system. (I used an Ubuntu and installed it on a extrahardive, but you can use a virtual machine as well) Also note that getting the source takes quite a while. It took around an hour for me and I have 100Mb down.

3. Edit a file from the hammerhead source. If you followed the instructions on getting the source, you'll find the file at device/lge/hammerhead/bluetooth/. The file is called bdroid_buildcfg.h. Open the file and add "#define BLE_VND_INCLUDED TRUE" (without the quotes) above the line "#define BTM_BLE_ADV......". Save the file.

4. Compile, again following the instructions from Google or from your ROM. Obviously this time will vary depending on the speed of your computer. it can take anywhere from 30 min to 2 hours.

5. Once the compile is done, we need to grab 2 files. out/target/product/hammerhead/system/lib/libbluetooth_jni.so and out/target/product/hammerhead/system/lib/hw/bluetooth.default.so. Save the files in a location you can access easily for copy to your phone.

6. Copy the 2 files to your phone. I plugged my phone into my windows computer and just placed them in the root of the "drive". From the phone's point of view this is /sdcard.

7. You now need to change the permissions of the 2 files. You have to put them in the /system/ folder before you can change permissions. /mnt/sdcard doesn't allow you to change permissions. So copy them to /system/ and change their permissions to 0644 (rw-r--r--). I use root browser for this.

8. se root browser and move libbluetooth_jni.so to /system/lib/ and move bluetooth.default.so to /system/lib/hw. I would copy the original files to somewhere else first as a backup in case something goes wrong. Double check the permissions on the new files after you move them to their respective locations.

9. Reboot. Kevo stopped telling my my phone wasn't supported at this point and everything worked fine.

XDA:DevDB Information

Kevo Working on Nexus 5, App for all devices (see above for details)

Contributors

BSME_SWeedon, scorchsta

Version Information

Status: Beta

Current Beta Version: 1.0.15

Beta Release Date: 2015-02-17

Created 2015-02-26

Last Updated 2015-05-21