[Nexus 5 Themes and Apps] Tzfardaya:
So, In an attempt to get the configuration talk out of [MENTION=3292224]franciscofranco[/MENTION]'s kernel thread, I decided to open this "swap meet"

As you may know I've wrote a couple scripts to make it easier to pull a backup of the kernel settings available through the franco kernel updater app.

Preparing files for sharing

Kernel Settings

so, if you want to share your kernel settings, grab the backup-script.sh file from here, run it either through a file manager or a terminal emulator, then head over to /sdcard/settings_backup/ and grab the restore-script.sh file, rename it to <your_user_name-defaults.sh> and post a link to it here.

Per App Modes

If you want to share you Per-App Modes settings, you'll need to use either the franco kernel updater or his stand alone Per-App Modes app, either way, the process is the same, just the file paths are a little different.

FKU App

So, if you use the fku app, go into fku -> Per-App Modes -> Manage your modes and click the BACKUP MODES in the top right corner. This creates an xml file of all your per app settings (one file per mode). These files are stored in /sdcard/franco.kernel_updater/saved_per_app_modes

Create a zip file including the modes you want to share and post it here.

Stand Alone Per-App Modes App

The process for using the stand alone app is the same. Per-App Modes -> Manage, and click BACKUP MODES in the top right corner again, this creates another batch of .xml files... Only they're stored in /sdcard/per-app_modes/saved_per_app_modes/

Once again, Create a zip file of the modes you want to share and post here.

Using Shared Settings

Okay, so you've downloaded the scripts and zips that you want to try out... how do you use them..

Kernel Settings

The scripts are easy, just run them (as root) through a file manager or terminal emulator.. then use fku or an init.d system to set the changes on boot if you want.

Per App Modes

The process for using the downloaded zips is just the reverse of sharing them...

Unzip the file and place the .xml files in the appropriate folder (/sdcard/franco.kernel_updater/saved_per_app_modes if you use fku, or /sdcard/per-app_modes/saved_per_app_modes/ for the standalone Per-App Modes app)

Then go into into your app, back to the manage page, where we clicked the BACKUP MODES last visit, only this time, click the LOAD MODES button.

Now, if you had copied the .xml file to the right folders, you should see the new PAM modules loaded into the list.

I will try to keep my signature link up to date with posted settings, and try to keep an eye out for identical or substantially similar settings.

For those using mobile apps and can't see signatures, here is the link to the scripts.

the backup-script.sh file is in the scripts folder, kernel and pam settings are in the settings folder.

Custom Paths for Per-App Modes

One thing that the stand alone app brought that hasn't (officially?) been ported back to the fku app is custom paths...

Giving you the ability to use any tunable setting in your Per-App Modes. --now in fku

While you can add and edit these easily through the stand alone app (and one reason why I think you should get it) once you know how the files work, thy can also be used in the main fku app...

Because of this, I am somewhat hesitant to give out the directions without approval from franciscofranco... Per-App Modes is a paid app of his and I would hate to take revenue out of his pocket.

Okay, since [MENTION=3292224]franciscofranco[/MENTION] has given me permission to release this, here we are...

This Zip file contains all the (useful) per app mode custom paths... to use this DO NOT FLASH IT... this is just a simple zip, nothing else... just unzip it in the right location...

If you use the fku app, then you need to unzip it and move/copy the files from the zipped folder to the franco.kernel_updater/per-app_custom_paths folder.

If you use the standalone per app modes then follow the same directions as fku, but put the files in the per-app_modes/per-app_custom_paths folder

Cautions and Warnings

-Any and all zips you find in this thread should NOT be flashed via recovery, don't try, bad things may happen...

-Permission errors may occur when running scripts from this thread as root. I haven't been able to figure out why, but some roms seems to set various file permissions to 444 instead of the 664 that my script expects... if you do encounter this situation, let me know and I'll give you a quick fix for it (requires adding a line to the scripts)

I haven't added the fix to my backup-script yet because I'm curious what files they are.. I've encountered 2 files so far

- Upon further testing, we've learned that root browser (app) might not work to run these scripts... adb shell and terminal emulator are working properly though. (backup script needed a small tweak as well)