FORUMS
Remove All Ads from XDA

[KERNEL][ARC/S] LuPuSv3 [CM9 BASED][LINARO][31-12-2012]

3,232 posts
Thanks Meter: 14,519
 
By wedgess, Retired Forum Moderator / Inactive Recognized Developer on 9th September 2012, 09:32 PM
Post Reply Email Thread
LuPuS Kernel

LuPuS-ARC/S-STOCK KERNEL HERE!!
LuPuS-JB-CM10/AOKP KERNEL HERE


Hi most of you already know my LuPuS-Stock kernel so thought i'd make one for you all that will work with any
cm9 based roms such as AOKP-by Supervenom and Paranoid Android, and obviously CM9 as well. Just wanna say a
big thanks to FXP - Jerpelea for pointing me in the rite direction for wifi to work
and of course the people who help me test besttt and sinkster for testing on both ARC-S and ARC
What i'm going to do is just update this by the end of the week to add everything else in.
So here is whats added so far but first it has to be done ------------



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.
*/

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



What Works --
Wifi - (flash modules)
Data
Camera
Panorama
Video Recording (720p now works)
Video Playback
Front Camera
Bluetooth
Everything Else that works on FXP

What doesn't work --
Anything that doesn't work on FXP




Included in kernel

[/LIST]
Added Io-schedulers --
  • - Noop
    - Anticipatory
    - Deadline
    - CFQ
    - BFQ
    - SIO

Added Governors --
  • - lagfree
    - brazillianwax
    - smoothass
    - scary
    - savagedzen
    - smartass
    - smartassv2
    - interactivex
    - minmax
    - powersave
    - performance
    - conservative
    - ondemand
    - interactive
    - userspace
    +
    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
    - Supports ext 2,3
    - Updated zRam
    - Lzo compression/decompression speed has doubled on average.
    - Init.d support
    - Fudgeswap
    - And much more
    - O/C and stable upto 2ghz, although I do not recommend O/C to 2ghz for long periods of time, do so at your own risk.




Show your support for the kernel and my work by putting this in your signature, its only a quick one I done up with my limited time



Code:
https://img.xda-cdn.com/1-YQNjsm69E9J0KZsyosgmkSiCk=/http%3A%2F%2Fi.imgur.com%2FxtWNL.png
Downloads in post 2


I would like to say a big thanks to -
FXP - Sources/help with wifi (thanks Jerpelea)
Cyanogenmod - Sources
DooMLoRD - for patches and all the work he has done for Xpeeria's
xeozus
NobodyAtAll
Faux123
Erasmus
Leedroid
Jerpelea
Anyone missing please PM me
Sinkster - Testing for ARC
besttt - testing for ARC-S
tempest918 - For the New Logo


Please Click Thanks


Kernel sources
-b ics
https://github.com/garwedgess/LuPuS-CM-iCs
The Following 43 Users Say Thank You to wedgess For This Useful Post: [ View ] Gift wedgess Ad-Free
 
 
9th September 2012, 09:34 PM |#2  
wedgess's Avatar
OP Retired Forum Moderator / Inactive Recognized Developer
Flag Dublin, Ireland
Thanks Meter: 14,519
 
Donate to Me
More
Changelog


*** Previous changelog was messed up so I'll include everything in here ***


Code:
v3 

- All previous boot issues / issues fixed
- Improved Battery Life alot :)
- Thumbee support
- EXT 2/3 & 4 supported
- Init.d supported
- Init.d scripts added (run at boot)
- SLQB Memory allocator
- ARM7 optimizations
- Brought OC back down to 1.6 max (no need for it above 1.6 unless u want to kill your device)
- Kernel sources completely reworked started from scratch o Sony xx.587 sources
- Tiny RCU
- Updatedd patched and fixed LZO
- lowered vfs cache pressure
- Increased Wifi- Range and added support for channel 14
- 0 % Battery patch - Thanks @ Bazoocaze
- Better memory copy
- Better memory move
- Deep sleep issue fixed
- LMK Optimizations (LowMemoryKiller)
- VDD support (voltage conrol)
- Linaro Optimzations
- Compaction added
- KSM
- CIFS (improved support)
- NTFS
- Updated to newest SIO Io-Scheduler
- Google Snappy Compress & Decompress
- Added Vibrate To Recovery (Notification to enter CWM)
- Wifi module size drasticly reduced
** Possibly missing a few things **



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.

Thank you to members -
  • ~ Frenchdroid
    ~ [user_99]
For your kind donations


ARC/S CM9 KERNEL

LuPuS-ARC-CM9.img

MD5 = 0638186df6b258457ed440e76991f6fa

Wifi modules in attachments
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Check your MD5 match the above if not re-download

Zram is not enabled by default- to enable it flash the zip below
If for whatever reason you want to disable it after you have flashed the .zip, just go to ect/init.d and delete 00zram
Attached Files
File Type: zip wedgess_NEW_Zram-Enabler.zip - [Click for QR Code] (157.8 KB, 399 views)
File Type: zip wifi_cm-ti-wlan_signed.zip - [Click for QR Code] (219.3 KB, 819 views)
The Following 15 Users Say Thank You to wedgess For This Useful Post: [ View ] Gift wedgess Ad-Free
9th September 2012, 09:34 PM |#3  
wedgess's Avatar
OP Retired Forum Moderator / Inactive Recognized Developer
Flag Dublin, Ireland
Thanks Meter: 14,519
 
Donate to Me
More
CIFS
The attached zip for CIFS is not a flashable zip read below
Make sure you download Cifs-v2 if your using v2 of kernel

What is CIFS???
  • Server Message Block (SMB) or Common Internet File System (CIFS) are normally used to provide shared access to files on a network, mostly involving computers running MS Windows.

    It allows you to conveniently mount/unmount your network accessible file resources and access the files transparently via your favourite Android app (playing music / videos, accessing documents etc.) Settings are stored on your SD card with permissions to write also to your SD card.


Instructions
  • - extract cifsfile.zip from below
    - save cifs,ko file to your sdcard
    - in terminal emulator
    - cd sdcard
    - su
    - insmod cifs.ko

Now download CifsManager or similar app and configure it
Attached Files
File Type: zip cifs_ntfs_usb-otg_modules_signed.zip - [Click for QR Code] (409.0 KB, 129 views)
The Following 8 Users Say Thank You to wedgess For This Useful Post: [ View ] Gift wedgess Ad-Free
9th September 2012, 10:22 PM |#4  
tajimura's Avatar
Senior Member
Flag Tashkent
Thanks Meter: 202
 
More
Ooh, was waiting for it. Gonna try that as soon as I get to office (home PC doesn't recognize fastboot mode :-\)

Sent from nowhere
9th September 2012, 10:39 PM |#5  
Marchello1's Avatar
Senior Member
Flag Mostar
Thanks Meter: 138
 
More
Quote:
Originally Posted by tajimura

Ooh, was waiting for it. Gonna try that as soon as I get to office (home PC doesn't recognize fastboot mode :-\)

Sent from nowhere

try to install drivers for x10 from drivers folder in flashtool instalation folder.

i gotta try this kernel tomorow

Sent From Xperia Arc - CM10 Using Xda Premium!
9th September 2012, 11:35 PM |#6  
tajimura's Avatar
Senior Member
Flag Tashkent
Thanks Meter: 202
 
More
Quote:
Originally Posted by Marchello1

try to install drivers for x10 from drivers folder in flashtool instalation folder.

i gotta try this kernel tomorow

Sent From Xperia Arc - CM10 Using Xda Premium!

All drivers are in place, and I can use Flash mode, but when I connect in fastboot mode (blue led) Flashtool says "phone connected in flash mode" and fastboot itself complains that there are no connected devices.

Sent from nowhere
10th September 2012, 12:10 AM |#7  
batwingnz's Avatar
Senior Member
Flag Wellington
Thanks Meter: 262
 
More
Quote:
Originally Posted by tajimura

All drivers are in place, and I can use Flash mode, but when I connect in fastboot mode (blue led) Flashtool says "phone connected in flash mode" and fastboot itself complains that there are no connected devices.

Sent from nowhere

Reinstalled flashtool recently, got that error, reinstalled the drivers one by one and it worked. For further help (from those that i'm sure know better than me) go to the flashtool sticky thread.
10th September 2012, 12:25 AM |#8  
besttt's Avatar
Senior Member
Flag athens
Thanks Meter: 4,539
 
More
wi fi information
because your rom has the last modules from fxp kernel perhaps the signal is no so good do the follow
go to setings wifi delete from memory the pass and create it again and now wi fi is turbo i get from bencmark quadrand 2340 score with settings sio intelidemand oc min346 oc max 1800
The Following User Says Thank You to besttt For This Useful Post: [ View ] Gift besttt Ad-Free
10th September 2012, 03:24 AM |#9  
h.debnath's Avatar
Senior Member
Flag Toronto
Thanks Meter: 47
 
More
seeing how there's an overwhelming amount of governors and schedulers lol can anyone recommend a combination for bother performance and battery?

btw why is there only 341 MB of ram instead of the usual 360 MB..
10th September 2012, 08:12 AM |#10  
wedgess's Avatar
OP Retired Forum Moderator / Inactive Recognized Developer
Flag Dublin, Ireland
Thanks Meter: 14,519
 
Donate to Me
More
Quote:
Originally Posted by h.debnath

seeing how there's an overwhelming amount of governors and schedulers lol can anyone recommend a combination for bother performance and battery?

btw why is there only 341 MB of ram instead of the usual 360 MB..

Less ram because of 720p recording, was going to remove it but though people would want it, fxp have re-added it to fxp137, I can i Ilsa remove it for next release of people don't want it.

As for governors for performance I recommend intellidemand, superbad, darkside or battery life smartass, smartassv2 or virtuous. And keep SIO as scheduler it default in all my kernels

Sent from my GT-I9300
The Following 4 Users Say Thank You to wedgess For This Useful Post: [ View ] Gift wedgess Ad-Free
10th September 2012, 08:20 AM |#11  
sinkster's Avatar
Senior Member
Flag Glasgow
Thanks Meter: 378
 
More
Left it overnight, 3g on, sync on, bad ass/noop. Battery drained 11% over 10 hours, which is great compared to any cm9 previously.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes