New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
adrianom
Old
(Last edited by adrianom; 23rd February 2012 at 08:57 PM.)
#1  
Senior Member - OP
Thanks Meter 120
Posts: 161
Join Date: Oct 2011
Location: Florianópolis
Smile [KERNEL][ARC/ARC S] StockPlus v1.9 [2012-02-23]

Hello everybody,

Based on the kernel from DooMLoRD and FXP and wanting to make a more clean kernel in relations to Stock Kernel and add some personal changes, I make my own kernel that I am posting below.

He is based on 4.0.2.A.0.61_62 source kernel, and adding the follow changes:

v1.0:
  • New Governor Option:
    • SmartAssV2
    • Smartass
    • Smoothass
    • BrazilianWax
    • Interactive
    • Savaged-Zen
    • Scary
  • I/O Schedulers:
    • Noop (default)
    • Anticipatory
    • Deadline
    • CFQ
  • Overclock option to 1.9 Ghz
  • Enabled SWAP support
  • Enable some file systems:
    • EXT2
    • EXT3
    • EXT4
    • NTFS (Read & Write)
    • CIFS
  • DoomKernel Ramdisk:
  • Default Sony Xperia boot logo.
v1.1:
Have the same features that v1.0, only bug fix on compiler configuration.
v1.2:
Improve battery life
Change Sony source code base, now base on 4.0.2.A.0.61_62 source
v1.3:
Great improve of battery life by disable NETWORK_FILESYSTEMS (CIFS and NFS)
v1.4:
Enable CPU undervolting options (the kernel frequencies is not undervolted, but you can undervolt (recommend using IncrediControl)
WiFi undervolting
v1.5:
  • Disable duplicate voltage scaling frequency, for better manager of cpu frequency and better battery life.
  • From FreeXperia: salvage some more ram by removing unused pmem_adsp_cache
  • From FreeXperia: salvage some more ram by removing unused pmem_audio
  • Disable verbose procfs contents
  • Adding scripts for better battery life and overall performance:
    • Internet speed tweaks
    • Misc kernel tweaks
    • Battery tweaks
    • Journali smoff
    • Defrag DB
    • Loopy smoothness
    • Sick
    • Zipalign
    • Zipalign Defrag DB
  • Change sched_latency_ns to 600000
  • Change sched_wakeup_granularity_ns 400000
v1.6:
  • WiFi Power Management Tweak
  • Increase CPU voltage of some frequency for better stability
  • CPF Frequency Tweaks and Enable CPU AVS (Adaptive Voltage Scaling)
  • Revert: change sched_latency_ns to 600000
  • Revert: change sched_wakeup_granularity_ns 400000
  • Enable EXT3 and EXT4 Posix ACL and XATTR
  • Disable YAFFS ECC Check
  • Enable YAFFS empty lost and found folder at mount
  • Disable YAFFS block refreshing
  • Change pll2_fixup onverclock control
  • New compiled WiFi modules
  • WiFi modules included in Ramdisk

In general this version is for improve the battery life and resolve the problems of WiFi don't work because of user using not default WiFi modules (DoomKernel Modules)

Ps. For user with WiFi don't work just restart twice.
v1.7:
  • Enable 1200Mhz frequency
  • Add IO SCHEDULE BFQ
  • Add CM torch interface (base on Blendkernel v02 from Jason Stain)
  • Use disable_irq_nosync() from within irq handlers (base on Blendkernel v02 from Jason Stain)
  • Prepare I/O context code for BFQ
  • Custom tweaks in kernel config
v1.8:
  • Revert change in acceleration sensor support. Fix acceleration sensor error.
v1.9:
  • Upgrade busybox to fix the execution of user script (init.d).
  • Remove some scripts that were causing problems.
The instalation is the same from other kernel:

Code:
fastboot flash boot boot.img
PS.: for CPU undervolting I recomend using IncrediControl (https://market.android.com/details?i...incredicontrol)



I want to warn that THIS IS A TEST KERNEL, so he may have some bug.

By

Adriano Martins
-----------------------
Source at https://github.com/AdrianoMartins
Attached Files
File Type: zip boot.img_v1.9.zip - [Click for QR Code] (6.99 MB, 5274 views)
The Following 22 Users Say Thank You to adrianom For This Useful Post: [ Click to Expand ]
 
bern4d1
Old
#2  
Senior Member
Thanks Meter 62
Posts: 557
Join Date: Dec 2010
Location: Jakarta
I'm testing... thanks.
 
iridaki
Old
#3  
iridaki's Avatar
Retired Forum Moderator / Recognized Themer
Thanks Meter 4430
Posts: 3,598
Join Date: Feb 2007
Location: Athens

 
DONATE TO ME
Just flashed it! I will report soon! Thanks for sharing!
 
superlimau
Old
#4  
superlimau's Avatar
Senior Member
Thanks Meter 27
Posts: 241
Join Date: Nov 2009
Subscribed....

Sent from my LT15i
The Following User Says Thank You to superlimau For This Useful Post: [ Click to Expand ]
 
DooMLoRD
Old
(Last edited by DooMLoRD; 7th January 2012 at 05:14 PM.)
#5  
DooMLoRD's Avatar
Recognized Developer
Thanks Meter 23658
Posts: 10,572
Join Date: Jul 2010
Location: Indian Institute of Management, Ahmedabad (IIMA)
kindly tell me what do u mean by a
Quote:
less "invasive" kernel in relations to Stock Kernel
i am growing tired of this... people just use our sources without even bothering to ask first, use the exact same features, rebrand as their own work and if something problematic is found happily blame/point the finger at us...


try get some more features to Xperia 2011 device kernels...


instead of floating same/similar kernels help out in searching for the battery drain issue... if anyone is at all bothered atleast help in testing...


or if no one is interested then atleast tell me that way i wont spend my time working on ARC... wait may be i should stop all kernel work for ARC...
Like my work? Please consider donating via PayPal

Lead Developer of Team UtterChaos & Member of Team ICX

Creator of DooMKernel making those Snapdragons fly higher and faster

Android Devices I use : Sony Xperia Z, T, S, ARC, PLAY

Contributions : Generic Android / Xperia X10 / Xperia 2011 devices / Samsung Galaxy S2 / Huawei Ideos X6 / Samsung Galaxy SCL (i9003) / HTC Flyer / Kindle Fire / HTC JetStream / Xperia P, Sola, U / HTC One X / Xperia S / Xperia T, V, TX / Xperia Z, ZL, Tablet Z / Xperia SP





** NEW *** DooMLoRD Easy Rooting Toolkit (perf_event exploit)! (supports Xperia Z, S, SP! more to come!)


Wishlist: Xperia Z Ultra!
The Following 5 Users Say Thank You to DooMLoRD For This Useful Post: [ Click to Expand ]
 
iridaki
Old
(Last edited by iridaki; 7th January 2012 at 06:16 PM.)
#6  
iridaki's Avatar
Retired Forum Moderator / Recognized Themer
Thanks Meter 4430
Posts: 3,598
Join Date: Feb 2007
Location: Athens

 
DONATE TO ME
I have an early observation to report, that seems quite interesting.
I lost 8% in 57 minutes using this kernel and BetterBatteryStats app indicates that the phone isn't sleeping properly and there is an entry in Kernel Wakelocks I have never seen in stock kernel, deleted_wake_locks.



Hope this helps!


Quote:
Originally Posted by DooMLoRD View Post
kindly tell me what do u mean by a
i am growing tired of this... people just use our sources without even bothering to ask first, use the exact same features, rebrand as their own work and if something problematic is found happily blame/point the finger at us...
try get some more features to Xperia 2011 device kernels...
instead of floating same/similar kernels help out in searching for the battery drain issue... if anyone is at all bothered atleast help in testing...
or if no one is interested then atleast tell me that way i wont spend my time working on ARC... wait may be i should stop all kernel work for ARC...
Doom, although it's not my place to say anything, I figured I'd go ahead and do it anyway.

I understand your frustration because I know how much work you put in your kernels and you are without a doubt one of the most active developers.
And I have to agree that you are the "leader" around here, in the sense that if you don't introduce new features for our phones, no one else does.

The only thing that I wanted to point out is that, in my view, you shouldn't be disappointed when people use your work, if of course they credit you properly,
which I feel is the case here. Adrianom compiled this kernel for his personal use and thought he'd share, which objectively is not such a bad thing.
It's certainly not something that should make you feel like giving up on the Arc altogether, as this would be very sad.

And maybe also consider the way you started compiling kernels using zdzihu's sources and ramdisk (legendary Power To The People )
and slowly learned and shifted to your own sources...
So maybe that will be the case for the people currently using your sources.

I am sure that at the end of the day, your work is truly appreciated the way it deserves to be.

Just my 2 cents.
The Following 3 Users Say Thank You to iridaki For This Useful Post: [ Click to Expand ]
 
adrianom
Old
#7  
Senior Member - OP
Thanks Meter 120
Posts: 161
Join Date: Oct 2011
Location: Florianópolis
DooMLoRD,

Quote:
Originally Posted by DooMLoRD View Post
kindly tell me what do u mean by a
I just wanted to say I wanted a cleaner kernel compared to Sony, that's all. I did not want at all say that something is wrong with your kernel.

Quote:
Originally Posted by DooMLoRD View Post
i am growing tired of this... people just use our sources without even bothering to ask first, use the exact same features, rebrand as their own work and if something problematic is found happily blame/point the finger at us...
Here I think you're wrong, I did not say anything was wrong with your kernel, on the contrary, said even that was based on his and the FXP kernel, and I believe that I don't have to ask permission to use an Open Source code, you ask Sony? Google? Linus? I think not.

Quote:
Originally Posted by DooMLoRD View Post
try get some more features to Xperia 2011 device kernels...
I don't want new features, that is the point....

Quote:
Originally Posted by DooMLoRD View Post
instead of floating same/similar kernels help out in searching for the battery drain issue... if anyone is at all bothered atleast help in testing...
I am searching... on my own, or do you think that a developer community should consist of only one person developing and the others sending it logs?


I think you misunderstand my post, I just wanted to provide something that I'm using.

This is the principle of an open source system, people can move the way they want it. And that's what I'm doing.

Just wanted to help someone who wants the same as me.

By.
The Following 2 Users Say Thank You to adrianom For This Useful Post: [ Click to Expand ]
 
adrianom
Old
#8  
Senior Member - OP
Thanks Meter 120
Posts: 161
Join Date: Oct 2011
Location: Florianópolis
Quote:
Originally Posted by iridaki View Post
I have an early observation to report, that seems quite interesting.
I lost 8% in 57 minutes using this kernel and BetterBatteryStats app indicates that the phone isn't sleeping properly and there is an entry in Kernel Wakelocks I have never seen in stock kernel, deleted_wake_locks.



Hope this helps!
Thanks for the feedback.

I don't have this problem but, I'll see what can be.
The Following 2 Users Say Thank You to adrianom For This Useful Post: [ Click to Expand ]
 
DooMLoRD
Old
#9  
DooMLoRD's Avatar
Recognized Developer
Thanks Meter 23658
Posts: 10,572
Join Date: Jul 2010
Location: Indian Institute of Management, Ahmedabad (IIMA)
Quote:
Originally Posted by iridaki View Post
Doom, although it's not my place to say anything, I figured I'd go ahead and do it anyway.

I understand your frustration because I know how much work you put in your kernels and you are without a doubt one of the most active developers.
And I have to agree that you are the "leader" around here, in the sense that if you don't introduce new features for our phones, no one else does.

The only thing that I wanted to point out is that, in my view, you shouldn't be disappointed when people use your work, if of course they credit you properly,
which I feel is the case here. Adrianom compiled this kernel for his personal use and thought he'd share, which objectively is not such a bad thing.
It's certainly not something that should make you feel like giving up on the Arc altogether, as this would be very sad.

And maybe also consider the way you started compiling kernels using zdzihu's sources and ramdisk (legendary Power To The People )
and slowly learned and shifted to your own sources...
So maybe that will be the case for the people currently using your sources.

I am sure that at the end of the day, your work is truly appreciated the way it deserves to be.

Just my 2 cents.
Iris u have known me since X10 days... so thanks for ur post...




Quote:
Originally Posted by adrianom View Post
DooMLoRD,



I just wanted to say I wanted a cleaner kernel compared to Sony, that's all. I did not want at all say that something is wrong with your kernel.



Here I think you're wrong, I did not say anything was wrong with your kernel, on the contrary, said even that was based on his and the FXP kernel, and I believe that I don't have to ask permission to use an Open Source code, you ask Sony? Google? Linus? I think not.



I don't want new features, that is the point....



I am searching... on my own, or do you think that a developer community should consist of only one person developing and the others sending it logs?


I think you misunderstand my post, I just wanted to provide something that I'm using.

This is the principle of an open source system, people can move the way they want it. And that's what I'm doing.

Just wanted to help someone who wants the same as me.

By.
very interesting point of view...


this is not the first time such a thing is happening and may be i am a bit edgy today... anyways...


FYI, kindly read
Quote:
12. Using the work of others.
REF: http://forum.xda-developers.com/announcement.php?f=965


regards,

DooMLoRD
Like my work? Please consider donating via PayPal

Lead Developer of Team UtterChaos & Member of Team ICX

Creator of DooMKernel making those Snapdragons fly higher and faster

Android Devices I use : Sony Xperia Z, T, S, ARC, PLAY

Contributions : Generic Android / Xperia X10 / Xperia 2011 devices / Samsung Galaxy S2 / Huawei Ideos X6 / Samsung Galaxy SCL (i9003) / HTC Flyer / Kindle Fire / HTC JetStream / Xperia P, Sola, U / HTC One X / Xperia S / Xperia T, V, TX / Xperia Z, ZL, Tablet Z / Xperia SP





** NEW *** DooMLoRD Easy Rooting Toolkit (perf_event exploit)! (supports Xperia Z, S, SP! more to come!)


Wishlist: Xperia Z Ultra!
The Following User Says Thank You to DooMLoRD For This Useful Post: [ Click to Expand ]
 
adrianom
Old
(Last edited by adrianom; 14th January 2012 at 08:38 PM.)
#10  
Senior Member - OP
Thanks Meter 120
Posts: 161
Join Date: Oct 2011
Location: Florianópolis
Quote:
Originally Posted by iridaki View Post
I have an early observation to report, that seems quite interesting.
I lost 8% in 57 minutes using this kernel and BetterBatteryStats app indicates that the phone isn't sleeping properly and there is an entry in Kernel Wakelocks I have never seen in stock kernel, deleted_wake_locks.



Hope this helps!
iridaki,

I think I found the problem, I compile a new version and did some testing for a while and did not generate any deleted_wake_locks.

I would appreciate if you can test again. The boot image is on attach.

Thank you again for your feedback.

The Following 2 Users Say Thank You to adrianom For This Useful Post: [ Click to Expand ]
Tags
kernel, overclock, smartassv2, xperia, xperia arc