[Nexus 4 Original Android Development] thomas.raines:
Download Links and Changelogs

Nexus-4-Mako-LightningZap_p5.1.2.zip

cpufreq adjustments

led driver adjustments

Import RB tree adjustments from Motorolla

Input packet management adjustments

EOL

https://github.com/LightningZap/and...mmit/9ee0e0e3f9cf2733c554f0da69724c79f71cb4d9

Nexus-4-Mako-LightningZap_p5.1.1.zip

Fixed voltages and frequencies

uv_bin overhaul

Fixed inconstancies in installer

Guys and gals with slow binned cpus, MAKE SURE YOU SET THE MIN VOLTAGE TO 700. Or you will get random reboots like crazy. On a side note. I would strongly suggest wiping dalvik (art) and cache before flashing. If not, your device may shutdown immediately after it is done booting. Nothing to really worry about, just simply hold the power button for a few seconds till the google screen appears, and you should be good.

Nexus-4-Mako-LightningZap_p5.1.0.zip (dl link unavailable)

Major upstream update (166 commits)

TCP tweaks

Added GCC optimizations

Updated linaro toolchains

If you are having random reboot issues or you get stuck on the Google screen, try raising your min voltage to 700MHz. If that still doesn't work, let me know here. Please try to attach a dmesg log and make sure you tag me in the post so I don't miss it (@thomas.raines)

Enjoy!

Nexus-4-Mako-LightningZap_p5.0.2.zip

Added intelli_plug to handle CPU hot swapping

Disbabled MSM_HOTPLUG

Bumped to 5.0.2

Set min CPUFREQ to 9450

Changed Aroma installer defaults to my recommendations.**NOTE** If overclocking, I recommend using higher voltage min...

Included a LightningZap! tailored init.mako.rc that sets vibrator amp to 100, disables all that unneeded cpu governor junk and more...

Nexus-4-Mako-LightningZap_p5.0.1.zip

Bump to 5.0.1

added 5.0 emmc support

speedup /proc/net/unix

network speed tweak

exec_hardboot:updated with more current patch.

Avoids bogus error messages for the suspend aborts.

Avoid using global variable total_cpus

added sound control Thanks @faux123

Nexus-4-Mako-LightningZap_p5.0.zip

Update kernel to Lollipop 5.0

Added script to fix wonky sdcard issue. (5.0 was changing it from /sdcard/<your files> to /sdcard/0/<your files>. Script prevents that from happening and all is well)

All the same greatness of Lightning Zap! 4.4.X with no issues

Enjoy folks!

Nexus-LightningZap_p4.4-3.3.zip

Added remaining uv options to table

Backlight dimmer options

USB Fast Charge

CPUFREQ:rework of all tables. New implementation of freq's using PVS.

cpufreq: properly sync current scaling governor across all cores

Slight boost in L2 cache. Corrected number of cpufreqs

enable max screen off freq on/off support

added RESTRICT_ROOTFS_SLAVE

Added fsync on/off support:Enabled by default

Added f2fs and exfat support

Inspired by elementalx's flashing format using Aroma Installer, I have revamped cpufreq and uv tables, as well as added a few options.

You can now set your default options with the installer. Just follow the prompts as you go thru.

The flashing instructions are the same; however, at the end of the flashing process, you will have an option to save the log. I would recommend doing so.

But only share it with me if you have an issue.

The installer is not without it's little glitch. Occasionally, your screen might flash and appear to be going from screen to screen in recovery after the installation process has finished. Nothing to worry about. Just let it settle down and then reboot. I only had this issue in philz_touch.

With the L2 cache boost, and the lightningzap booster, those pesky random reboots due to L2 cache failing to sync are a thing of the past.

One thing to note, when selecting your cpufreq, this will set you MAXIMUM. Meaning, even with an app, you will not be able to go over the default you set. Select carefully. I would recommend setting core 1 to the highest you desire and then setting the other 3 cores lower in the case you need more. And just use trickstermod to adjust as necessary. Oddly enough, even if you set the cores individually and cores 2-3 lower than core 1, your max will be whatever core 1 was set on. But if you adjust them reverse to what I said, then you will be limited to whatever default core 1 is. Hopefully that makes sense.

I have also linked all cores. This means that when you use Trickstermod app to set your cpufreq, it applies it to ALL cores. I have notice some apps, like kernel tweaker, do not do this as they are not written correctly for multi-core processors. Most of the defaults like voltages, fsync, and sweep2* can still be controlled with trickstermod even if you disable them during install.

TBH the only thing you cannot change, is your max cpufreq (meaning, if you choose 1512(stock) as your max during install, the only way to raise it is to re-install the kernel. However, you can still fine tune it).

Another note, max freq is set to 1620; however, if you can still set it higher, will just have to use trickster mod to fine tune it...

Previous Changelogs and links

Nexus4-LightningZap_p4.4-3.2.zip

Dropped mpdecision

Added msm_hotplug (With updates)Reconfigured voltage table. Boots @ 700000uV on 94500mHz

Possible UV/OV is now 600000uV min 1450000uV max (Be careful with this as too low/high for your device could cause instability. Test your settings BEFORE setting it to set at boot. If you go below the thresholds, your device will become EXTREMELY unstable, reboot, say you should have listened and then blow up in your face...lol. Not really, but it will go into a kernel panic and reboot)

And FYI, the voltages are reported in uV not mV. If you don't know, 1000uV = 1mV; therefore, the kernel boots @ 700000 is 700mV...

Nexus4-LightningZap_p4.4-3-1.zip

Added sec_dvfs_dual. All CPU's handle hotplugging better now

Added lulzactive cpu gov

add row and fiops schedulers

set fiops as default scheduler

Working on getting smartassv2 to compile...

added LCD Gamma Hack from faux kernel

Nexus4-LightningZap_p4.4-3.zip

2 stage update on this one.

Stage 1

Dropped bricked base and went back to kk4.4 (AOSP & CAF) base

Revamped OC/UV. Still compatible with Trickster Mod app

(Because I dropped the bricked base and went back to original base, you won't have full control on thermald and mpdecision for now. Working on adding it, please be patient)

Stage 2 With results of the latest poll in mind:

Dropped the following governors:

Conservative

Gallimaufry

Ondemandx

Userspace

Made Intellidemand/deadline as default

Nexu4-LightingZap_p4.4-2.zip

Complete revamp of base. Used bricked kernel as base (thanks to show-p1984)

Created new branch for revamp (bricked-lz) Keeping kk4.4 branch for now.

Per user requests:

Moved RootBrowser to /data **Must remove it from /system/app prior to flashing

Removed voltage control app. No longer compatible with vc.

Fully compatible with TricksterMod app

Vote on the next poll for your favorite governor & io-scheduler (If I can get it setup right)

Nexu4-LightingZap_p4.4-1.2.zip

Reverted back to Linux Android Kernel version 3.4.0 due to instability

Bumped to p4.4-1.2

Revamped mako_defconfig in order to enable loadable modules

changed build cifs & tun as modules

Left WiFi modules as hard-coded drivers to avoid WiFi issues on other Roms (Sorry about this one guys and gals)

Nexus4-LightningZap_p4.4_1.1.zip

Bumped to latest stable kernel version 3.84.4 (LightningZap version p_4.4-1.1)

Added sweep2wake and doubletap2wake from bricked-kernel Mako (special thanks to show-p1984)

sweep2wake and doubletap2wake is disabled by default. To enable one or both, refer to this post

Nexus4-LightningZap_p4.4_1.zip

Initial release

Just a note, some combinations of governors and io-schedulers don't mix well and you could experience instability like freezes and reboots. Before posting an issue, change your governor and or io-scheduler. This will help me narrow down any issues. And by all means, please let me know which combination you experienced an issue with, and what exactly occurred.

Note that certain ROMs like Omni and Ubuntu Touch that use a modified initramfs or some other kernel modification, may not work with this kernel. I am working on it now.