[KERNEL][ NEO-L ][JB] LuPuS-jB-v10 [LINARO 4.7.3][UPDATED 06-06-13]

Rating

No votes yet

47 posts / 0 new
Last post
wedgess's picture
Offline
Joined: 12/21/2012 - 07:56
[KERNEL][ NEO-L ][JB] LuPuS-jB-v10 [LINARO 4.7.3][UPDATED 06-06-13]

LuPuS JellyBean Kernel

First Working JB kernel for NEO-L

 

Hi, I have kernels for the PLAY and seen as slz.kiev helped me bring the great PACman ROM for Xperia PLAY, Which I then ported to your NEO-L. So I decided to create a more custom Kernel for use withmy PACman ROM for NEO-L. There is more to be added
but for first release you get 25 governors 6 io-schedulers, SLQB memory allocator, a few changes to make
android smoother. It is also built with linaro 4.6 toolchains. And wifi signal and lock on should be increased

This kernel can be used on any JB CM BASED roms as it has its own set of Wifi Modules
Disclaimer


Code:
#include 
/*
* Your warranty is now void.. LOL I guess you knew it already.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, you getting dumped or you getting fired because your phone 
* bootloops and alarm does not go off. Please do some research if you have any  
* concerns about features included in my kernel before using it! YOU and only 
* YOU are choosing to make these modifications.
*/

#ifdef
You have a question post it in the thread,
Instead of Pm'ing me, as other users may
experience you problems
#endif

What Works --

  • Wifi - (flash modules)
    Bluetooth
    Everything Else that works on FXP and any other JB kernel

What doesn't work --

  • ALS (Disabled)
    Anything that doesn't work on FXP and any other JB kernel

Included in kernel

 

Added Io-schedulers --
  • - Noop
    - Anticipatory
    - Deadline
    - CFQ
    - BFQ
    - SIO

Added Governors --

  • - lagfree
    - brazillianwax
    - smoothass
    - scary
    - savagedzen
    - smartass
    - smartassv2
    - interactivex
    - minmax
    - + the 5or6 that are there with FXP

    Lulzactive - Thanks to Tegrak
    Based on Interactive and Smartass. When workload is greater than or equal to 60%, the governor scales up
    CPU to next higher step. When workload is less than 60%, governor scales down CPU to next lower step.
    When screen is off, frequency is locked to global scaling minimum frequency

    Virtuous
    Virtuous is a modded smartassV2 which gives even more battery time then smartassV2

    Intellidemand - Thanks to faux123
    This is an intelligent ondemand that enters browsing mode to limit max frequency when GPU is idling,
    and (exits browsing mode) behaves like ondemand when GPU is busy; to deliver performance for gaming and such.
    Intellidemand does not jump to highest frequency when screen is off.

    Lazy - Thanks to Ezekeel
    The Idea here is to eliminate any instabilities caused by fast frequency switching by ondemand.
    Lazy governor polls more often than ondemand, but changes frequency only after completing min_time_state
    on a step overriding sampling interval.
    Lazy also has a screenoff_maxfreq parameter which when enabled will cause the governor to always
    select the maximum frequency while the screen is off.

    -Ondemandx:
    Basically an ondemand with suspend/wake profiles. This governor is supposed to be a battery friendly ondemand. When screen is off, max frequency is capped at 500 mhz. Even though ondemand is the default governor in many kernel and is considered safe/stable, the support for ondemand/ondemandX depends on CPU capability to do fast frequency switching which are very low latency frequency transitions. I have read somewhere that the performance of ondemand/ondemandx were significantly varying for different i/o schedulers. This is not true for most of the other governors. I personally feel ondemand/ondemandx goes best with SIO I/O scheduler.

    -Lionheart:
    Is a conservative-based governor. The tunables (such as the thresholds and sampling rate) were changed so the governor behaves more like the performance one, at the cost of battery as the scaling is very aggressive.

    To 'experience' Lionheart using conservative, try these tweaks:
    sampling_rate:10000 or 20000 or 50000, whichever you feel is safer. (transition latency of the CPU is something below 10ms/10,000uS hence using 10,000 might not be safe).
    up_threshold:60
    down_threshold:30
    freq_step:5
    Lionheart goes well with deadline i/o scheduler. When it comes to smoothness (not considering battery drain), a tuned conservative delivers more as compared to a tuned ondemand.

    BadAss Governor:
    Badass removes all of this "fast peaking" to the max frequency. Badass will also take the gpu load into consideration. If the gpu is moderately busy it will bypass the above check and clock the cpu with 1024Mhz. If the gpu is crushed under load, badass will lift the restrictions to the cpu.

    Superbad -
    A "superbad" super smooth rendition of a highly optimized "smartass" governor!

    Darkside -
    A "slightly more agressive smart" optimized governor!

What else-----

  • -SLQB - (SLAB allocator with Queue)-(both)
    This memory allocator is designed for small number of CPUs system (such as desktop or smart phone devices). This allocator is design to be simple and it is optimized for using order-0 pages as much as possible (order-0 pages are the simplest therefore quickest type of memory in a Linux system to allocate).

    - Added Cleancache
    - Updated zRam
    - Lzo compression/decompression speed doubled on average

--When phone vibrates tap the vol-down key to enter Multiboot menu

I would like to say a big thanks to -

  • paxChristos - Tutorial / Help
    FXP - Sources
    Cyanogenmod - Souces
    DooMLoRD - Everything he's done for XPeria's
    CosmicDan - Multiboot
    Supervenom - For the amazing AOKP rom
    Solomon4400 - For helping me test
    tempest918 - For the New Logo
    xeozus
    NobodyAtAll
    Faux123
    Erasmus
    Leedroid
    Jerpelea
    CTCaer
    Anyone missing please PM me

Please Click Thanks

Kernel sources -b jellybean
https://github.com/garwedgess/semc-kernel-msm7x30


wedgess's picture
Offline
Joined: 12/21/2012 - 07:56

LuPuS-Jellybean-DOWNLOADS

Changelog ...............

Code:
[v1] 
- Initial release
- 25 Governors
- 6 Io-Schedulers
- SLQB memory allocator
- Built with linaro 4.6 toolchains
- Swap
- Zram enabled
- Custom voltage control supported
- Supports USB OTG
- Supports ext2, 3 & 4

v2

- Changed to compressed zImage
- New CPU-freq table supports OC upto 2ghz untested after 1.7
- Diasabled my disabling of sched feauture :P
- Changes to worfk with PAC v2


- V3 changelog

- Updated to latest FXP sources
- Updated GENLOCK (FXP)
- Added cleancache
- Re - Enabled CIFS
- Disable ALS


V4 changes
- Fixed battery dran
- Updated SIO IO-schedule
- Reverted 2ghz to 1.6ghz
- Updated LZO compression / Decompression
- Further optimzed

v5 changes

- BOOTs BOTH CM9 BASED and CM10 BASED
- Recovery Fixed no more "DANCING" Thanks @skritchz
- Added Tiny RCU 
- Added Custom partition sizes ~ Thanks @CosmicDan
- Patched LZO
- Updated to Linaro 4.7 toolchain
- Changed to Google snappy compression/decompression
- Wifi Modules included ~ Thanks @Cosmicdan
- TWRP recovery (fully touch)
- Enabled USB tether
- Disabled gentle_fair_sleepers
- Updated video drivers
- Added memcopy
- Added compaction
- Backported binder changes
- Lowered vfs_cache_pressure
- LMK (lowmemorykiller) optimizations
- All latest multiboot changes from @CosmicDan huge thanks 
- Moved 30MB from userdata to system. NANDROID BACKUP BEFORE UPGRADING YOUR KERNEL. -Thanks @CosmicDan

Multiboot

For help and support on Multiboot, please check fma965's thread - "Noob friendly guide to Multibooting Jellybean"

Requirements:

Quote:
  • Unlocked Vendor partition (see "Download/Installation" below)
  • System size below 310MB
  • ICS Only - AOSP-based ROM (not stock-based)

Features:

Huge thanks @CosmicDan

Quote:

ICS and JB Support
One kernel, two worlds... you can install any AOSP-based ICS ROM (e.g. CM9, AOKP, etc) in any Slot (as long as it's multiboot aware, see below) and it will work automatically.

Team Win Recovery Project
CWM-Recovery has been replaced with the powerful TWRP. Full touch interface, file browser, backup names with keyboard, batch ZIP install, and more.

Multiboot RAMDisk
Pressing Vol-Down will now show a GUI for selecting which slot you want to boot or enter recovery on. Slot 2 and 3 are stored in ext2 images on your SDCard, and the process is fully automated and well-detailed to guide you through it. Please note that you can only install a ZIP in Recovery for Slot 2 and 3 if it is marked "Multiboot-aware" (see Compatibility section below).

Repair Tools
The Tools > Repair menu allows you to check your sdcard and sd-ext for errors and repair them. Also fix permissions and scan/repair Slot 2 and 3. This solves a lot of common problems with data and app2sd issues.

609MB data partition space
Cache is reduced to 8MB and system reduced to 280MB, giving a total size of 639MB for data. The ROM must be smaller than 280MB for this to work obviously (see "tested" section below). The cache is only 8MB so the kernel automatically links /cache/dalvik-cache to /data/dalvik-cache (simulates MIUI behavior).

Wifi Module auto-install
If the wifi module on the system doesn't exist or is different to the one in the ramdisk, it will be installed/replaced automatically. As an additional fail-safe, the kernel has magic checking (module version) removed - so any module will install on this kernel (but that does not mean it will work!)

Compatibility

Quote:

The kernel has been tested and working on the following ROM's -

  • Turbo UI Preview (CosmicDan's source build) (Multiboot-aware)
  • Project Jellyzeus AOSP (CosmicDan's source build) (Multiboot-aware)
  • SlimBean for Xperia Play GSM/CDMA (cj360's source build) (Not multiboot-aware yet)
  • P.A.C Man-PA (wedgess' source build) (Not multiboot-aware yet- will be today)
  • CM10 (Not multiboot-aware)
  • CM9 (Not multiboot-aware)

Please report if it works or not for other Jellybean/ICS-AOSP ROM's.

Bugs/Important Caveats

Quote:
  • If your ROM has a "Reboot to Recovery" option, using it will load a broken Recovery where no mounts work. I can't fix this, so simply don't use it (just use Vol-Down on normal reboot).
  • Using Fastboot may trigger a "boot menu loop" - simply enter CWM-Recovery for any slot and then select reboot to solve it.

Important info regarding safe Multiboot

Quote:
  • Do NOT install a ROM ZIP in Slot 2 or 3 until it is marked "multiboot-aware". Otherwise the ROM will format/install to your internal, no matter *what* you do. For details on how to make a ROM multiboot-aware, see this post.
  • To get around a ROM not being multiboot aware (if you want to install it in Slot 2 or 3), simply install in Internal (Slot 1) as normal, then set up the second or third slot with "Copy from Internal" instead of "Blank". Then of course you can reformat and reinstall on Internal.
  • Make sure your SDCard is free of errors. If you encounter *any* issues with a ROM, do a full Repair in the Tools menu before reporting any issues.
  • *Never* unmount SDCard in Recovery for Slot 2 and 3. But Mounting USB Storage is 100% fine.

Downloads

If you like my work please consider buying me a beer or something else
by clicking the DONATE ME button, of course it isn't needed but greatly appreciated and keeps me motivated.

################################################## ################################################## #################

LuPuSv5-720p-jB-Kernel.img
Md5 = 6951584d5efd564388ed31945050faa4
LuPuSv5-480p-jB-Kernel.img
Md5 = 451ab8c12f2c490ce76dcf019dabc89b

If wifi doesnt work flashable zip is attached at the bottom of the post
################################################## ################################################## #################[/LIST]

First-time users - Enter Multiboot Menu (Vol-Down key) and go to Internal > Recovery, then format system, data and cache before doing anything else. Very important.


If you cannot enter the Boot Menu or Recovery after flashing, you need to flash the FTF first.

Quote:

YOU MUST FULLY WIPE via recovery or

Code:
 fastboot erase userdate
fastboot erase system

, the partition map has changed (30MB moved from data to system). You MUST Nandroid Backup before flashing the v5 update, then Nandroid restore after flashing. Otherwise you WILL lose your data.

If your MD5# doesn't match re-download

IckyXperia's picture
Offline
Joined: 01/09/2013 - 08:43

Great, dev
Thank u for hard work dev

venoma333's picture
Offline
Joined: 01/09/2013 - 08:19

Thanks for bringing the lupus kernel to neo L, but do you plan on making one for the neo and neo V? Great work, otherwise!

wedgess's picture
Offline
Joined: 12/21/2012 - 07:56
Quote:
Originally Posted by venoma333
View Post
Thanks for bringing the lupus kernel to neo L, but do you plan on making one for the neo and neo V? Great work, otherwise!

Thanks as of rite now no, but in the next week or 2 yes as cm9 kernel for play is near enough, if not is final as of today. So that will be brought along with a JB kernel to Neo in the coming week +. I have 14 active projects at the moment plus more to be released so finding time when im a one man team is quite difficult

Sent from my GT-I9300 On Official JB


philipjones's picture
Offline
Joined: 01/09/2013 - 08:43

After flashing kernel, first shall I flash (WiFi-FiX-.zip) or the Rom. and Also in CWM whenever I go up or down the half screen moves to right then again on next click it becomes normal. is it ok?

b00tbu9's picture
Offline
Joined: 01/09/2013 - 08:38

Nice work

Thanks once the camer is fixed for Xperia Series CM10 with lupus JB kernel

wedgess's picture
Offline
Joined: 12/21/2012 - 07:56
Quote:
Originally Posted by philipjones
View Post
After flashing kernel, first shall I flash (WiFi-FiX-.zip) or the Rom. and Also in CWM whenever I go up or down the half screen moves to right then again on next click it becomes normal. is it ok?

This a problem with all jb kernels on xperia CWM jumps maybe due to no vsync??

Sent from my GT-I9300 On Official JB

ctnami's picture
Offline
Joined: 01/09/2013 - 08:43

My WIFI does not work. When I touched the wifi button to turn it on, but nothing happened.

Did I make a mistake while flashing?


venoma333's picture
Offline
Joined: 01/09/2013 - 08:19
Quote:
Originally Posted by ctnami
View Post
My WIFI does not work. When I touched the wifi button to turn it on, but nothing happened.

Did I make a mistake while flashing?

Did you flash the WiFi fix from the second post?

ctnami's picture
Offline
Joined: 01/09/2013 - 08:43
Quote:
Originally Posted by venoma333
View Post
Did you flash the WiFi fix from the second post?

Yes. I flashed it.

---------- Post added at 06:39 PM ---------- Previous post was at 06:32 PM ----------


Quote:
Originally Posted by venoma333
View Post
Did you flash the WiFi fix from the second post?

I did a full wipe once, then flashed the wifi.

Now it works.

Thanks.

Sorry to bother you all.