[Sammy-KERNEL] *13.02.12* RedPillKernel_Rev1.3 [nur für Gingerbread]

mecss

mecss

Ehrenmitglied
11.925
Header.png
pongster schrieb:

Es kommt dann, wenn du es am Wenigsten erwartest...


Wahrscheinlich einer der meist durchdachtesten Kernels, den ich je gemacht und genutzt habe...

einfach, intuitiv, ansprechend


Hallo SGS2-User aus dem schönsten Android-Forum in Deutschland. Ich stelle euch den Kernel vom HyperDroid-Androidmeda-Team vor. Er ist in der Revision 1.0 im HyperDroid-Androidmeda-Rom v5x und v6x enthalten. Hier wird demnächst die v1.1 vorgestellt und erscheinen, sobald die Devs den neuen Kernel frei gegeben haben, also am 01. Februar 2012.

Ich habe nach bestem Wissen versucht den Text ins Deutsche zu übersetzen, also seid mit mir nachsichtig, falls Fehler vorhanden sein sollten.

Ich möchte mich bei den Devs des Androidmeda-HyperDroid Dev Team bedanken. Zum einen für das wundervolle Rom und für den smoothen integrierten Kernels dieses Roms.

Hier der Originalthread zum Kernel im XDA, wobei die Specs zum Kernel auf der letzten Seite sind:

[KERNEL][01FEB'12]RedPillKernel Rev1.1 [Custom CWM Recovery|OC/UV|Voodoo] "CHOICE" - xda-developers

Custom Recovery von AF974 basierend auf das Team Overcome Recovery
(Dank geht an alterbridge dafür, dass er uns den Quellcode überließ)

Einige einzigartige Funktionen dieser Recovery:

  • Umgestaltetes Menu
  • Auswahl über Power Button und Home Button
  • Soft Back Key geht tatsächlich zurück
  • No/Yes Auswahl-Tweak (Wenn du weißt, wie man in die Recovery gelangt, dann brauchst du all diese "Nein's"/ "No's" nicht)
  • Mount Internal UND Mount External aus der Recovery (Wir haben uns gedacht, dass dies nützlich sein könnte)
Kernel Features Highlights:

  • Initramfs von LA2
  • Samsung-Kernel-Update3 (für den Deep-Sleep-Fix gepatcht)
  • Basierend auf Arighi's Quellen und einige Patches von pongster um die Leistung, Stabiltät und Akkulaufleistung zu erhöhen, implementiert
  • Custom ClockworkMod basierend auf Recovery v5.0.2.7 durch AF974 aus dem Team Overcome Recovery (Dank geht an alterbridge und AF974)
  • Sofortiger Root (modifiziertes Script durch gokhanmoral vom SiyahKernel mit einigen Änderungen durch pongster um die letzte Version der SU.apk und Binary sicher nutzen zu können)
  • Neuester Superuser 3.0 und su-Binary (Dank geht an chainsdd)
  • Touchscreenfix wurde auf “3″ gesetzt (vitalij)
  • Init.d-Support
  • VooDoo Louder Support durch supercurio
  • 2nd Core und Touch Move durch Tegrak Support
  • SetCPU und Voltage Control Support
  • Full CWM Manager 3.0 Support durch Chainfire
  • Experimenteller AOSP/CM7/MIUI-Support durch gokhanmoral (“u” Versionen)
  • CPU & GPU Overclocking und Undervolting durch Netarchy
  • Höchst experimenteller Ondemand auf CPU-Governors basierend (Geringe Veränderungen/Umbenannt um die Bugs im Experiment besser unterscheiden zu können) basierend auf arighi’s deep_sleep und fast_start Aufschlüssen
  • Maximale CPU-Frequenz auf 1.5Ghz taktbar
  • Aktivierung oder Deaktivierung von File Syncing (fsync)
  • Stochastischer Fair Blue (SFB) Network Scheduler aktiviert
  • CFS Autogroup durch Mike Galbraith aktiviert
  • CPU Topology und Sched_MC aktiviert
  • AFTR und LPA aktiviert
  • Viele Einstellungen durch sysfs implementiert
  • Untergevoltete Int ARM und Touch-LED-Werte (Dank geht an Phenomenal für die Idee)
  • Git-Implementierung von SHA-1 für 12% schnellere Boot-Zeit
  • CPU wird beim Booten auf 1.2Ghz gesetzt um schneller booten zu können (Dank geht an Imoseyon)
  • XZ-komprimierter Kernel um optimierte Werte zur Größe des Kernels nutzen zu können
  • Unkomprimierte Initramfs ge(tweakte Scripts/gen_initramfs.sh)
  • NTFS Lese/Schreib-Support für OTG (Flash-Laufwerke und Externe Wechsellaufwerke mit genug Power werden unterstützt)
  • CIFS- und FUSE-Support | Getweaktes Ext4-Filesystem
  • SIO | noop | deadline (für besseren Datendurchsatz und ausgewogene Wartezeit bis zur Ausführung von Befehlen für auf Mobile NAND basierte Geräte getweakt)
  • sleepy | hyper | conservative | ondemand CPU Governors
  • zusammenhängende cpufreq-Intervall-Regulierung (arighi) | BLN support (Dank geht an creams und neldar) | Fuel Guage Wakelock-Fix durch Entropy512
Power Saving Features:
  • AFTR + LPA aktiviert
  • sched_mc aktiviert
  • ARM CPU Topology aktiviert
  • CPU Hotplugging OFF, wenn screen off, aktiviert (Dank geht an arighi)
  • RCU Fast No HZ aktiviert
  • Stabile Voltage Tweaks für interne Voltages (nicht für ARM Voltage, welches für Stock verbleibt) um Hitzeentwicklung zu verringern, z.B. bei starkem Leistungsgebrauch
Boot Time Features:
  • Benutzt git Implem für SHA-1 um 12% schnellere Boot-Zeit zu erlangen
  • Added [PATCH] arm: remove “optimized” SHA1 routines by Linus Torvalds <torvalds@linux-foundation.org>
  • Added [PATCH] arm: remove stale export of ‘sha_transform’ Linus Torvalds <torvalds@linux-foundation.org>
  • Uncompressed initramfs (since initramfs is compressed as part of the kernel image, this is reduced to a copy operation from a decompress then copy one)
  • Set Clockspeed at 1.2Ghz at Boot time to ensure all critical tasks have enough power to perform them while the governors/maxfreq isn’t set yet. (Thanks to Imoseyon for this hack)
CPU Features
  • CPU and GPU OC/UV thanks to netarchy/Hacre
  • CPU Governors Included: *Final Clean up of CPU Governors available for simplicity. (all Governors are tweaked for the best possible balance of battery and performance with a slight lean towards performance) With this focus on simplicity stated earlier, the only governors available are the following:
    • sleepy (ondemand based cpu governor with minor edits by pongster) loves to sleep and idle at the lowest set frequency, hence the name change from “solo” to “sleepy”. Its closer to ondemandx in terms of performance. This can be tweaked and tuned using init.d scripts as well.
    • hyper (ondemand + suspend freq setting ability with minor edits by pongster) This was formerly the original kenobi which I renamed to hyper as others may not get the Star Wars Reference.
      icon_smile.gif
      It gives a good balance between battery life and performance. Its closer to ondemand in terms of performance. also tunable using init.d scripts.
    • conservative (good battery savings by default due to its slow ramp up and ramp down but tunable for performance) defaults are slightly tweaked for better performance than default conservative.
    • ondemand (old reliable thats been tweak by arighi to support deep_sleep and fast_start) these features try to detect if the CPU is coming from a deep sleep and is more likely to sleep again and thus limits its frequency to the lowest possible that can handle the operations needed. fast_start checks if the CPU needs more “ooomph” and jumps to the highest frequency faster to enable it to complete the operation the system needs to complete. (like during boot-up)
3rd Party Kernel Apps Support
  • CWM Manager 3.0 (It works well for me. Its a useful app by Chainfire that extends the features of the current recovery. No need to reinvent the wheel, so to speak)
  • Voodoo Louder by supercurio
  • Voodoo Display (for future supercurio app)
  • 2nd Core by Tegrak
  • Touch Move by Tegrak
  • SetCPU by michaelhuang
  • Voltage Control by xan
Filesystem Features (loaded by default to prevent the load insmodding at boot will cause, however minor)
  • CIFS
  • FUSE
  • NTFS
  • Experimental NTFS automount for OTG devices (you’ll have to do a little more work to enable sdcard as ntfs) (Thanks to gokhan for the hotplug script as base.) This script uses the native NTFS RW support available in t he kernel instead of ntfs-3g
  • Ext4 Tweaks from 3.x.x branch:
    • [PATCH] ext4: fix ext4_end_io_dio() racing against fsync() from https://lkml.org/lkml/2011/12/16/311 Reported-by: Kent Overstreet <koverstreet@google.com> Signed-off-by: “Theodore Ts’o” <tytso@mit.edu>
    • [PATCH] ext4: avoid hangs in ext4_da_should_update_i_disksize() from https://lkml.org/lkml/2011/12/16/344 Signed-off-by: Andrea Arcangeli <aarcange@redhat.com> Signed-off-by: “Theodore Ts’o” <tytso@mit.edu>
I/O Schedulers
  • SIO
  • deadline (tweaked for Flash)
  • noop
Performance Patches
  • Mike Galbraith’s Ultimate CFS Performance Patch (CFS Autogroup)<efault@gmx.de> as ported by faux123 <reioux@gmail.com> for 2.6.35 kernels. I (sarcastillo <sar.castillo@gmail.com>) additionally edited some things in sched.c to make it compile properly for 2.6.35.14 Samsung Sourced kernels More info on this here: https://lkml.org/lkml/2010/11/20/91
  • Added the CGroup Patch: Added [PATCH] cgroup: Provides a way of tasks grouping by timer slack value by Kirill A. Shutemov <kirill@shutemov.name> Based on patch by Jacob Pan.
    • Introduces per cgroup timer slack value which will override the default timer slack value once a task is attached to a cgroup.
    • It’s useful in mobile devices where certain background apps are attached to a cgroup and minimum wakeups are desired.
Miscellaneous Patches
  • Added [PATCH] cpu-hotplug: Add the function ‘cpu_hotplug_inprogress’ by Maya Spivak <mspivak@codeaurora.org>
  • Added [PATCH] printk: Don’t allow cpu to get console lock during hotplugging by Maya Spivak <mspivak@codeaurora.org>
  • Added [PATCH] rcu-tree: Check for extended quiescent state at start of gp by Maya Spivak <mspivak@codeaurora.org>
  • Added [PATCH] sched: Do not block when waiting to free old root domain by Maya Spivak <mspivak@codeaurora.org>
  • Enabled fsync disabled (can be disabled by doing an echo “1″ > /sys/module/sync/parameters/fsync_disabled in a terminal emulator or as a script for gscript or scriptmanager)
  • Touchscreen fix set to “3″ for more responsiveness during games, etc. (Thanks to vitalij)
  • AOSP/MIUI/CM7 *Only for “u” version* Experimental Support for Non-Samsung ROM’s thanks to gokhanmoral’s siyah_feature_set which I ported from his kernel tree and used his initramfs as a base for the *u* versions
Was sind der Sleepy- und Hyper-Governor? *Experimentelle CPU-Governors (Um alle Bugs korrekt zu unterscheiden, welche meinen Experimenten zugeschrieben werden sollen und nicht, die des ursprünglichen Autors, habe ich folgende Governors entsprechend umbenannt.)
  • sleepy (früher bekannt als solo) ist ein Versuch um ein Gleichgewicht zwischen Leistung und Akkulaufleistung zu schaffen. Er basiert auf den getweakten Ondemand von arighi und ist für das SGS2 optimiert. Er beinhaltet imoseyon’s Ondemandx-Tweaks mit einigen Down_sampling- und anderen Features,welche der User mittels sysfs durch das Setzen von "echo" abrufen kann. Sleepy ist dem Verhalten des Ondemandx , wenn er in Aktion ist, sehr ähnlich.
Er verfügt auch über die arighi’s fast_start und deep_sleep-Erkennung-Features. Darüber hinaus ist die maximale Frequenz im Suspend-Modus 500Mhz.

  • hyper (früher bekannt als kenobi) ist ein aggressiver Smart und Smooth, getweakt und optimiert für das SGS2, basierend auf den Ondemand, welcher von arighi getweakt wurde und mit einigen Ondemandx-Suspend-Features von imoseyon ausgestattet wurde. (Hinzugefügt wurden die Einstellungen suspend_freq mittels sysfs und Imoseyon’s Suspend Code) Hyper ist dem Verhalten des Ondemand, wenn er in Aktion ist, sehr ähnlich.
Er verfügt auch über die arighi’s fast_start und deep_sleep-Erkennung-Features. Darüber hinaus ist die maximale Frequenz im Suspend-Modus 500Mhz.
Dev-Team schrieb:
Dieser neue Kernel braucht keinerlei andere Tweaks als die, die wir implementiert haben, denn er basiert auf umfangreiche Tests und Erfahrungen mit dem SGS2, die mehrere Monate hinweg dauerten (Besonderer Dank geht an s2d4 für sein umfangreiches Testen)... wir nahmen das Risiko auf uns unsere Geräte kaputt zu machen bzw. zu bricken, damit euch dies nicht passiere... komplett getestete Tweaks hier!)
"Das ist Deine letzte Chance. Danach gibt es kein Zurück. Schluckst Du die blaue Kapsel, ist alles aus. Du wachst in Deinem Bett auf und glaubst an das was Du glauben willst. Schluckst Du die rote Kapsel (RedPill), bleibst Du im Wunderland, und ich führe Dich in die tiefsten Tiefen des Kaninchenbaus. Bedenke: Alles was ich Dir anbiete ist die Wahrheit, nicht mehr." - Morpheus, Die Matrix (Copyright bei den Wachowski Brothers... Larry and Andy)
Links kommen, sobald die RedPill von den Devs frei gegeben wird, also am 01. Februar 2012...und vergesst nicht immer schön ein Nandroid-Backup sicherheitshalber zu machen...da ich keinerlei Haftung für Schäden übernehme...
i.d.S. wünscht euch euer bekloppter mecss viel Spass;)
 
Zuletzt bearbeitet:
  • Danke
Reaktionen: doctadray, AndroMeise, gueni9960 und 33 andere
Kernel Changelogs

RedPill_Rev1.3
  • Added Newest RedPill CWM Based Recovery by AF974 (Touch Enabled with Battery % and Charging in Recovery) (Huge props to AF974)
  • Experimental: USB Audio support for DAC devices
  • Change Back to SLQB for slightly better performance
  • Removed Net Scheduling/Traffic Shaping via Stochastic Fair Blue Scheduler as this may be causing network issues for some users
  • Added HFS and HFS+ Support
  • Added back V(R) but tweaked it to prevent aliased requests from starving other I/O as well (Thanks to franciscofranco for the idea)
  • Update SIO I/O scheduler to 2012 version by Miguel Boton
  • Tweaked CPU Freq hyper sampling rate
  • Added Patch ARM: improve compiler’s ability to optimize page tables by Russel King
  • Added Patch wakelocks: Allow independent debugging of wake_lock_destroy() (Thanks to Entropy512)
  • Experimental: Updated Wireless Driver from EL29 Source… (Thanks to gokhanmoral for these files that are “cherry-picked” from his repo) If users report a lot of the dreaded wlan wakelocks, I can easily revert to the stock update3 sources… This is an attempt to solve WiFi problems some are having.


Download CWM ZIP

70007d1329143148-kernel-13feb12-redpillkernel_rev1-3-redpill-touch-cwm-recovery-af974-take-imgtar.png


Download TAR


70008d1329143148-kernel-13feb12-redpillkernel_rev1-3-redpill-touch-cwm-recovery-af974-take-imgzip.png


RedPill_Rev1.2

  • Tweaked tweaks.sh file based on additional information learned and tested recently. (VM System Reading by s2d4 found here)
  • Reduced number of available governors based on my personal testing… the 4 remaining should serve the needs of those looking for performance, battery life or anything in between.
  • Removed some more stuff no one used in the defconfig.
  • Release LA2 based initramfs version as stable (and make AOSP Support Unstable as we don’t test that in GB)
  • Tweaked mount options for ext4 (extended Commit time to 30 and fall in line with the VM System tweaks implemented)
  • Change from SLQB to SLUB for a little less overhead (vs. a queued allocator) More info on SLUB here: The SLUB allocator [LWN.net]
  • Tweaked values in deadline and SIO I/O scheduler to give better throughput while attemting to keep a similar latency to the original (if not more aggressive) Based on my initial (indicative, not conclusive… yet) testing, having these in line with the vm dirty, expire, writeback values + ext4 commit=30 + laptop mode to “schedule” write outs to NAND based storage works quite well to balance throughput with latency expected in a mobile device. We took the big picture view instead of copy pasting random “known” good values and challenged some assumptions even we had at the start. The result is a mobile device tuned for good throughput and battery life with above average latency (not the lowest latency out there, but given the benefits of better I/O throughput and potential battery savings + extending the lifetime of NAND Based storage I think it was a compromise worth taking)
  • Remove V(R) and BFQv3r1 scheduler as the tweaked deadline, SIO and noop are the best we’ve tested for NAND filled mobile devices. (More on this later)
  • Added franciscofranco’s deadline tweak that “Prevent aliased requests from starving other I/O”
  • Set deadline as default I/O scheduler
  • Tweaked deadline i/o fifo_batch for better throughput
  • Remove set_need_resched from rcutree.c based on https://github.com/drod2169/KangBang-OMAP/commit/717e7a22e42869418084701455c11e690a993fe8 which says: ”if we really are in an interrupt, the attempt to re-enter dyntick-idle mode will invoke rcu_needs_cpu() in any case, which will force the check for RCU callbacks. So this commit removes the check along with the set_need_resched()”
  • Experimental BTHID fix based on latest bthid.c from Samsung Source Releases I found on github (EK02 for Epic Touch 4G Released in December 2011… about 2 months after Update3 Sources were released for the i9100 and about the same time “BTHID broke” reports began coming in.) (Thanks to TDR for the source where I found this fix)


Legende:


Sammy-Kernel: RedPillKernel_Rev1.2_CWM.zip
68815d1328443435-kernel-05feb12-redpillkernel-rev1-2-custom-cwm-recovery-oc-uv-voodoo-choice-qrcode.png


AOSP-Kernel (CM7, Miui, etc.): RedPillKernel_Rev1.2u_CWM.zip

Link wurde vorerst aus Kompatibilitätsproblemen für AOSP-ROMs raus genommen!!!


Danke redalert für die QR-Codes...:thumbsup:
 

Anhänge

  • RedPillKernel_Rev1.2_CWM.zip
    4,8 MB · Aufrufe: 286
Zuletzt bearbeitet:
Ah man..... Ich hab mich verlesen.... Ich dachte das ist auf Standard gesetzt :D

Sach doch nich gleich krummer Hund zu mir :lol:
 
Bin ich ja mal gespannt, ich gehe davon aus das es ein guter und interessanter Kernel sein wird.

Pongster , RedPill ect sind ja alles Leute die für gute Arbeite bekannt sind.

SGS II Cyanogen Mod Tapatalk
 
Also ich werd ihn auf jedenfall testen! Hört sich geil an!
 
Gesehen habe ich den im XDA auch schon, bin gespannt wie der laufen wird.
 
Zuletzt bearbeitet:
Erscheint am 1 Februar, demnach noch nicht.

SGS II Cyanogen Mod Tapatalk
 
  • Danke
Reaktionen: mareis1973
Na los dann wollen wir mal..........:thumbsup:, wenn er raus ist latürnich.
Danke für die Info, den Kernel werde ich mal im Auge behalten.

Viele Grüße
 
Falsch gelesen. :blushing:
 
sounds nice...schon bei xda gelesen. bin gespannt

Sent from my GT-I9100 using Tapatalk
 
Flasht euch doch einfach Hyperdroid ..
Warum den nur den Kernel, wenn man das Gesamtpaket jetzt schon haben kann ? ;)
 
Weil HyperDroid Sammy-Rom ist und einige, nicht ich, AOSP-Roms nutzen wollen... ;) Oder eben eine Rom favorisieren, die anders ist...
 
  • Danke
Reaktionen: Simuur95
Richtig und der Kernel aus dem Rom geht nicht unter cm , der der morgen kommen soll soll aber laut changelog gehen

SGS II Cyanogen Mod Tapatalk
 
Mein Fehler .. Den AOSP Support hab ich glatt übersehen.
Habe ich nicht erwartet, dass der Kernel auch für AOSP funktionieren wird/soll .. ;)
 
Jop, mal schaun. Gurk schon ewig auf dem DK rum, es wird Zeit für was Neues :D
 
Bin auch sehr gespannt darauf.

SGS II Cyanogen Mod Tapatalk
 
Wo ist er? :D

Hubraum statt Wohnraum
 
Du ungeduldiges Wesen :D ... aber ja wo bleibter? Wobei, ist bei pongster schon der 1st Feb?
 
Also in der neuen Hyperdroidrom ist er schon drin. Ich habe diese gestern geflasht.
Der Kernel ist sehr smooth. Akku lässt sich noch nicht sagen. CWM schaut auch stylisch und wie ich finde übersichtlicher aus.
Vodoo louder funktioniert auch prima.
Gruss

Gesendet von meinem GT-I9100 mit Tapatalk
 
Ist das beim Aktuellen Siyah nicht auch so ???

Das Cwm Menü ist total anders ... Dachte ich hab was falsch gemacht :p
 

Ähnliche Themen

beicuxhaven
Antworten
6
Aufrufe
3.272
HCD
HCD
Androidflash
Antworten
5
Aufrufe
3.080
firemaker911
firemaker911
Oebbler
Antworten
0
Aufrufe
1.618
Oebbler
Oebbler
Zurück
Oben Unten