[JB+KK+LP][HACK] RAM "repartition" - up to 691.1 MB of accessible RAM - Galaxy Ace II Android Development

Hi everybody!
Today I've experimented with kernel a bit and have found a way to increase accessible RAM up to 691.1 MB, at the cost of not working(or not fully working) camera, HW decoding and inablilty boot to recovery. The way is to modify cmdline:
https://github.com/ChronoMonochrome/Chrono_Kernel/commit/17d83a66bcb07a79e4575e0da3b762acd0def203
We use CONFIG_CMDLINE_FORCE=y to ignore cmdline passed by bootloader and use instead new one which contains defconfig.
The default cmdline is(JB bootloader with 624 MB - don't remember its baseband name)
CONFIG_CMDLINE="cachepolicy=writealloc mpcore_wdt.mpcore_margin=359 root=/dev/ram0 rw rootwait crash_reboot=yes crash_dump=no init=init console='null' [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] vmalloc=264M jig_smd=0 lpm_boot=0 checksum_pass=1 checksum_done=1 sec_debug.enable=0 sec_debug.enable_user=0 androidboot.serialno=47907233a768cf60 board_id=12 startup_graphics=1 logo. lcdtype=4 sbl_copy=1"
Click to expand...
Click to collapse
and new one that's in config:
CONFIG_CMDLINE="cachepolicy=writealloc mpcore_wdt.mpcore_margin=359 root=/dev/ram0 rw rootwait crash_reboot=yes crash_dump=no init=init console='null' [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] vmalloc=264M jig_smd=0 lpm_boot=0 checksum_pass=1 checksum_done=1 sec_debug.enable=0 sec_debug.enable_user=0 androidboot.serialno=47907233a768cf60 board_id=12 startup_graphics=1 logo. lcdtype=4 sbl_copy=1"
Click to expand...
Click to collapse
Take a look at "[email protected] [email protected]". 72M means size of HWMEM, "@256M" - its physical address. The same is for "mem" - 55M is size of nearest RAM bank.
Because we forcibly passed this cmdline and bootloader can't add parameter bootmode=2, it disallows to boot into recovery. Maybe later I'll be able to fix it.
Now about other side-effects of reduction of HWMEM - I've tested few sizes of HWMEM, and results as follows:
HWMEM=16M(699M) - camera, audio and hw decoding doesn't work at all
HWMEM=24M(691M) - camera and hw decoding doesn't work at all
HWMEM=48M - video recording and hw decoding doesn't work
HWMEM=64M - video recording still doesn't work, but camera doesn't FC when enabling video mode. May be some cameras will work.
HWMEM=72M - haven't found any bugs yet.
HWMEM=84M - default HWMEM size.
UPD. also uploaded kernel with [email protected] - this decreases available RAM, but maybe for some app or game will be useful this plenty of HWMEM
http://xda.mister-freeze.eu/XDA-files/ChronoMonochrome/kernel/mem_repart/
I've also tried to decrease modem_mem and mem_trace, but unfortunately, it causes bootloop (tested 8MB of modem memory, and 10M of mem_trace, both of these settings separately)
Now few words about how to flash it when recovery is unavailable: extract boot.img to /sdcard and flash kernel via terminal. Script to flashing kernel is attached - if you not familiar with terminal commands I recommend just execute this script to automatize the process. To return to usual kernel, extract boot.img to the same place, flash it, reboot to recovery and flash installable kernel again.
Enjoy :highfive:

@ChronoMonochrome thanks for keeping alive our ace 2 , so far I test HWMEM = 72M , but I have one question , what else do you bring to our phone ? Cheers ^^ :good::good:

Now some users will know why we doesn't see a full 768MB of RAM in phone info.
But @chrono, because of "androidboot.serialno=47907233a768cf60 board_
id=12 lcdtype=4" forced cmdline will bootup every codina devices?

Ave_Hornet said:
but I have one question , what else do you bring to our phone ? Cheers ^^ :good::good:
Click to expand...
Click to collapse
haha maybe LK3.1, but it's f***n buggy, it has problems with earlysuspend - it's unable to play music when screen is off and etc. Furthermore, I'm unable so far merge all changes from chrono kernel (most of them cause bootloop).
PolishVodka said:
Now some users will know why we doesn't see a full 768MB of RAM in phone info.
But @chrono, because of "androidboot.serialno=47907233a768cf60 board_
id=12 lcdtype=4" forced cmdline will bootup every codina devices?
Click to expand...
Click to collapse
Hm, honestly I've some doubts about it - maybe anyone already tested it?
This "androidboot.serialno" probably was generated by bootloader - I haven't tested yet whether other number works or not.
UPD. checked right now - at least androidboot.serialno=ffffffffffffffff works as well as mentioned one. board_
id=12 shouldn't cause problems since it's probably number, specific for codina, but only lcdtype=4 may cause problems on s6d display.

ChronoMonochrome said:
Because we forcibly passed this cmdline and bootloader can't add parameter bootmode=2, it disallows to boot into recovery. Maybe later I'll be able to fix it.
Click to expand...
Click to collapse
Fixed! :fingers-crossed: https://github.com/ChronoMonochrome/Chrono_Kernel/commit/8dbbd48feb1c57db7a335684ff418af01de00d40
This extends bootloader cmdline with new size of HWMEM, instead of passing custom cmdline.
As it turned out, HWMEM should be minimum 68 MB to avoid having any bugs:
http://xda.mister-freeze.eu/XDA-files/ChronoMonochrome/kernel/mem_repart/codina_kernel_hwmem68M.zip
Let me know, if you need a build with even lower size of HWMEM.

As for now, I did not notice any error in HWMEM=64 , but if I think well, that if the will not be any errors ,such modification will be commonplace in Your Kernel?
:silly: Btw. You Are CRAZY @ChronoMonochrome :good: :good:
Edit1. Searches for the network, but nothing works related to the Internet ,Anyone can confirm that ?

Damn it, it was too fast. I've seen some errors in kmsg and camera randomly FCs. I'm afraid that some errors in logs also can evidence about damage FS. I had to restore CWM backup to avoid camera FC, but even on usual kernel with orig HWMEM size I still have errors in kmsg when taking a photo:
Code:
<4>[ 54.664611] CM_NO_MORE_MEMORY domainId: 22, memType 7, wordSize 61440, alignement 15
<4>[ 54.664642] ALLOCATOR Dumping allocator "scratch" [0x00058800:0x00068800]
<4>[ 54.664642] Error: CM_NO_MORE_MEMORY: CM_AllocMpcMemory() failed
<6>[ 55.954864] dma dma0chan22: allocated logical channel (phy 3)
But I should say that I've previously used more unstable HWMEM size as low as mentioned 16 MB - and I've had some crashes which probably caused memory corruption(I do not mean the RAM, as is a non-volatile memory). The problem is that I've used dynamic fsync - now I came to conclusion that we should forget about using it - even simple app FC can cause problems, which persists until you restore full CWM backup. Does anyone have camera FC or errors in kmsg like above?

ChronoMonochrome said:
...... The problem is that I've used dynamic fsync - now I came to conclusion that we should forget about using it - even simple app FC can cause problems, which persists until you restore full CWM backup. Does anyone have camera FC or errors in kmsg like above?
Click to expand...
Click to collapse
Yeah, exactly the same what i had said for some weeks.. it makes no sense.... kernel default is "0" Fsync ON and i've removed NT-APP Permission to make it fail-safe (for this tweak)..
usually it's no problem if we have a fresh cwm backup.. simply format /data and restore only /data .. in 99% of cases the system works normal again..

PolishVodka said:
Now some users will know why we doesn't see a full 768MB of RAM in phone info.
Click to expand...
Click to collapse
Why was clear since beginning, but i remember talk about HOW to change it you-know-where over year ago
Now this topic is extremly interesting.
Vodka, will you make SAME kernel that's used in slimkat with HWMEM=64?
I fell off my chair seeing how this rom with your kernel works, this is totally unreal, man(14760 pts in antutu at 1.1ghz - also - machine works now at 500mhz like at 800mhz before).

Outstanding! Simply outstanding! :good:
Sorry to be without any information in this post. But this news must be celebrated.
EDIT
Using 68M without any issues... Camera/Video are working fine... with incredible RAM of 647 MB :good:

fluffi444 said:
Using 68M without any issues... Camera/Video are working fine... with incredible RAM of 647 MB :good:
Click to expand...
Click to collapse
I could confirm this :good::good:
Edit:
Btw, would this work for any kernel @ChronoMonochrome? Or is it specific to yours?

Why not simply use dynamic memory allocation through CMA for all ION heaps to free up more RAM when not used by surfaceflinger, audio or other subsystems? Afaik legacy memory allocators like PMEM, CMEM, HWMEM were all deprecated when the unified memory manager (ION) was introduced in Android 4.0.

yowanvista said:
Why not simply use dynamic memory allocation through CMA for all ION heaps to free up more RAM when not used by surfaceflinger, audio or other subsystems?
Click to expand...
Click to collapse
Yep, I thought about dynamic memory allocation too. Unfortunately, with one thought it ended up. I do not have much experience in programming to do so. Too many things use HWMEM - if I'm not wrong, mali also use it. It doesn't seem to me a simple.
shaqman89 said:
Btw, would this work for any kernel @ChronoMonochrome? Or is it specific to yours?
Click to expand...
Click to collapse
There are nothing specific to my kernel. As I said, it just adds new parameters "hwmem" and "mem" to the end of cmdline(it's much simplier to don't override old parameters but just do as it done). Therefore, it should work with every kernel.

Should i flash the zip after chronokernel version 2.19 or no?

HI @ChronoMonochrome
Take a look at "[email protected] [email protected]". 72M means size of HWMEM, "@256M" - its physical address. The same is for "mem" - 55M is size of nearest RAM bank.
if i change hwmem from 72 to 70 or 71 and mem from 55 to 60 or 56 its good for ace 2
and how i change this hwmem and mem ?
thanks sorry if my english is bad

I want to test it on my Ace 2. What is most stable value for our phone? And can You tell me how-to-do-it with noob-friendly tut?

str3tch72 said:
I want to test it on my Ace 2. What is most stable value for our phone? And can You tell me how-to-do-it with noob-friendly tut?
Click to expand...
Click to collapse
A user with over 2000 post is not allowed to ask for an "noob-friendly how-to".
If you do so anyway you are just only to lazy to search or to lazy to switch brain to ON.
*just kidding (a bit)* :highfive:
Just flash complete Kernel - HWMEM changes are hardcoded in kernel...
http://xda.mister-freeze.eu/XDA-files/ChronoMonochrome/kernel/mem_repart/
chrono_kernel_R2.21.2_hwmem68.zip is the latest with HWMEM68 which gives you 640 of RAM.
But be warned - Sooner or later some apps starting to FC without any obvious reason.

@ChronoMonochrome
Good job , thnaks.
I remember , when we upgrade Android 2 to 4 , there was two partitions named param and normal , that shoud be replaced in order to increase memory from 500MB to 624 , so what was that?
Here is that thread

sorset said:
@ChronoMonochrome
Good job , thnaks.
I remember , when we upgrade Android 2 to 4 , there was two partitions named param and normal , that shoud be replaced in order to increase memory from 500MB to 624 , so what was that?
Here is that thread
Click to expand...
Click to collapse
624MEM_V2.tar.md5 replaces bootloader, but 624MEM_V1.tar.md5 doesn't... It should be interesting itself, but I haven't any idea how it can work without replacing bootloader and its cmdline.
UPD. Maybe cmdline isn't hardcoded in bootloader, but written somewhere in param.lfs.

fluffi444 said:
......
chrono_kernel_R2.21.2_hwmem68.zip is the latest with HWMEM68 which gives you 640 of RAM.
But be warned - Sooner or later some apps starting to FC without any obvious reason.
Click to expand...
Click to collapse
Right now flashed my Kernel with HWMEM=68 (646MB RAM) .. and now i just want to ask u how long i need to wait till some Apps starts to FC ?? - Of course just approxx. maybe after 1 day of usage ???

Related

[DISCONTINUED][Dec 16][KERNEL][SD] hastarin r8.6 [standard/eb]

NOTE: No longer being developed. You may want to try tytung's kernels instead.
Click to expand...
Click to collapse
Release 8.6
This is a Kernel I built for my own purposes, and now for others, based on the current EVO kernel (as of whenever I last merged it to my branch) and changes from various sources.
Click to expand...
Click to collapse
Features
Here's what's different to the main tree (See changelog for latest changes in case I forget to update this)
Packaged to be compatible with cedesmith's new style initrd for easy installation on builds using it
CIFS support via a module
mac address patch for wifi/bt by mdebeljuh. See http://forum.xda-developers.com/showthread.php?t=819819
Built without support for ext3 and yaffs
Optimized for speed rather than size
Removed some debug features the average user isn't capable of using anyway (dmesg/logcat still work)
G-sensor workaround by mdebeljuh & jdivic (http://forum.xda-developers.com/showthread.php?p=9208297#post9208297)
Smartass governor added as default
Sysfs interface for optional under/overvolting (see http://forum.xda-developers.com/showthread.php?t=821372) (800-1350mV)
Optional overclocking (via SetCPU or similar) to 1536MHz - USE AT YOUR OWN RISK - it may damage your phone
Optional older battery driver with my patch to support the official HTC extended battery (eb version)
Click to expand...
Click to collapse
Extended battery users extra WARNING!
r8.3+ version with "eb" supports extended batteries using the old driver. r7.7+ temperature reporting for extended batteries is reasonable but NOT accurate. Please see this post for more information.
As of r8.5.3 versions without eb in the name have EXPERIMENTAL (ie it has known bugs) support for extended batteries using a patch to the new driver. More information.
Click to expand...
Click to collapse
Use this at your own risk.
How to Install the kernel
Download the latest from here:
Release r8.6 - https://dl.dropbox.com/u/11373163/Kernels/update.kernel.hastarin.16.12.2010.zip
(Overclock and Undervolt enabled but defaults to normal speeds and voltages)
Release r8.6_eb - https://dl.dropbox.com/u/11373163/Kernels/update.kernel.hastarin.eb.16.12.2010.zip
(as above but with older battery driver with extended battery support)
Undervolt 925mV - https://dl.dropbox.com/u/11373163/Kernels/update.kernel.hastarin.undervolt925mV.15.12.2010.zip
(optional update to undervolt to 925mV, edit as needed)
NOTE: It would be nice to see a few more clicks of that Thanks button folks.
Click to expand...
Click to collapse
DONATIONS
In the past I've suggested donating to your favorite charity instead of me.
But I've decided due to the amount of time this is now taking to accept some donations. I encourage you to still consider a charity first, such as:
http://www.kennedysdisease.org/
So far I've had enough donations to buy an official HTC extended battery for testing purposes. Future donations will probably be spent on beer, coffee or junk food.
Please only donate if you can spare the money. NOTE: I've all but given up getting extended battery support working with the new driver!
I also can't make any guarantees on how long I can keep investing time in the kernel so please consider any donations to be for past work done, not what I might do in the future.
Finally please note I'm building a kernel here and working on the odd bit of code. The bulk of the work is done by others:
Cotulla
Markinus
Letama
Rajko
gauner1986
and no doubt more I've missed
Donations to some of them can be made here:
http://forum.xda-developers.com/showthread.php?t=794953
Click to expand...
Click to collapse
Anyone having issues with this kernel. PLEASE before you post them here, try the following:
Make sure you reboot twice after installing so files get updated (or manually update them then reboot if your build won't auto update)
Actually reading the README.txt provided!
Reading my FAQ
If that doesn't work try a stock EVO kernel
If you still have issues with the stock EVO kernel it's nothing I've done and we may have to wait for the devs to fix it.
If that still doesn't work, then don't use any task killers, and try a clean format of your SD card.
If that still doesn't work you're out of luck.
Click to expand...
Click to collapse
Further Information
I am running Autokiller (despite it's name this is not an automatic task killer) set to Optimum.
I do recommend System Panel Lite to be able to see what processes are using your CPU. I DO NOT recommend using any automatic task killer.
I do recommend using EBL with a 3 sec timeout
Further recommendations can be found in My FAQ
Click to expand...
Click to collapse
A note on the included lights file
memin1857 said:
I talked to gauner1986 (author of the new lights file) and the filename comes from the build.prop file.
It is the ro.board.platform=xxxxxx line in the build.prop file.
xxxxx is also your lights filename. (lights.xxxxx.so)
For example my desire hd build has msm7x30
others I have seen are htcleo, default, qsd8k, ace, bravo.
So you have to rename the lights.htcleo.so that is in hastarins root\system\lib\hw folder to match your builds filename if you want it to work.
Click to expand...
Click to collapse
Old versions
Old camera driver versions for builds that haven't been updated to support the new driver yet:
Release r8.5.3_oldcam - http://www.multiupload.com/KTF4ULINT3
(as per base but with old camera driver)
Release r8.5.3_eb_oldcam - http://www.multiupload.com/X6ZTQ9S2ER
(as above but with older battery driver with extended battery support)
Click to expand...
Click to collapse
Notes:
This should work with any build that can use the EVO kernel.
Data will not work on RMNET based builds.
For anyone else complaining about no data issues make sure you installed the kernel AND modules correctly, and if you're using an older build you may need to update your WiFi firmware and/or your radio.
If it's no data over 3G also check your APN settings.
Click to expand...
Click to collapse
Changelog
Code:
[I]Release r8.6 - 16/12/2010[/I]
- Patched Wifi driver to match main tree (fixes wakeup lag when wifi is on) - Thanks Markinus
- Updated init script to update calibration data (fixes mac address not working) - Thanks OSM
- Enabled extreme overclocking and included speeds from mdeejay's kernel. USE THESE AT YOUR OWN RISK I DO NOT recommend overclocking, you will see little benefit in daily use.
[I]Release r8.5.3 - 09/12/2010[/I]
- EXPERIMENTAL support for extended battery users (NOT for daily use yet)
See http://bit.ly/eDLk0g for more information
- REMOVED initrd.gz & haret.exe (by now all recent builds are updated anyway)
- REMOVED LeTama's new PPP wrapper and aussiebum's suggested ppp options
The latest builds incorporate these changes anyway, and you can get them from
the original thread - http://bit.ly/92IBH6
- Modified package to suit cedesmiths initrd.gz - http://bit.ly/foZ1j3
- Trimmed changelog to only include recent changes
- Yet another smd_tty patch test
[I]Release r8.5.1 - 26/11/2010[/I]
- Included LeTama's patch to fix music skipping when turning the screen on
- Included root folder structure with LeTama's new PPP wrapper and aussiebum's suggested ppp options
****** WARNING ************ WARNING ************ WARNING ************ WARNING ************ WARNING ******
Includes new camera driver you may need a new camera APK and libraries, etc
HTC Desire (Sense) Camera APK - http://www.multiupload.com/0YVTSSQO79 (Thanks mdeejay)
Libraries for Desire/Nexus builds - http://www.multiupload.com/1UDF24Y28R (Thanks michyprima)
****** WARNING ************ WARNING ************ WARNING ************ WARNING ************ WARNING ******
[I]Release r8.5 - 23/11/2010[/I]
- Reverted my toolchain due to a wierd bug causing increased power drain in r8.4 after calls
- Updated smd_tty - This is still experimental but the Beta had 900+ downloads with largely positive feedback
- Changed default governor to smartass
[I]Release r8.4 - 18/11/2010[/I]
- WARNING from 8.3 still applies, see below.
- Updated my toolchain to latest CodeSourcery one
- Commit messages follow for the rest. Thanks to huanyu for finding most of the patches so I could just git cherry-pick them, and to mdeejay for pointing me to huanyu's git tree.
b02a70d Tweak smartass for better performance
260b0ba Added some extra debug info for vdd_level being set on bootup, and fixed another warning in WiFi driver.
e9c3ac0 Optimized ARM RWSEM algorithm
fea4f78 increase IDLE_TIMEOUT within kgsl_yamato_idle (kgsl_yamato.c)
f248e15 msm: kgsl: Remove support for mmap from the kgsl driver.
031a7f7 [ARM] msm: qsd8k: audio
7304611 cpufreq: interactive: Changes to interactive governor
c8cec4c cpufreq: interactive: Fix potential division by zero
c69e698 msm_kgsl: Optimize TLB flushing
9e35440 msm_kgsl: Move kgsl_sharedmem_init to module load
[I]Release r8.3 - 17/11/2010[/I]
- Added smartass governor (use SetCPU if you want to try it)
- Added sysfs interface for undervolting (see http://forum.xda-developers.com/showthread.php?t=821372)
- Added g-sensor workaround by mdebeljuh & jdivic (http://forum.xda-developers.com/showthread.php?p=9208297#post9208297)
- Merged main tree - WARNING: Includes new camera driver with auto white balance bug (but auto focus/zoom works)
[I]Release r8.2 - 11/11/2010[/I]
- Minor update to enable App2SD again (yes Angry Birds should install without unmounting SD)
- Merged main tree as usual (nothing of immediate use in there though)
[I]Release r8.1 - 07/11/2010[/I]
- Merged main tree again (light sensor changes, lowered verbosity of battery driver, etc)
- Included latest liblights to go with the light sensor changes
- Removed NFS support
- Moved CIFS support to a module
- Built with support for tunneling (GRE), may help those with VPN issues
[I]Release r8 - 30/10/2010[/I]
- MAJOR CHANGES = now closer to main tree
- Removed gauner1986s video driver tweaks (they were causing issues merging the main tree)
- DOES NOT support extended batteries due to the new ace based driver (until I can figure out a fix, best bet for eb users is to catch myself and/or Markinus on IRC over the next week or so and we may be able to test further)
- DOES NOT support Overclocking/Undervolting/AXI My testing shows they provide minimal benefit in day to day use, and tend to cause unpredictable errors that will make troubleshooting remaining issues (like data issues) harder. I may release a kernel with these things when everything is running smoothly, but until then I won't even be running one on my phone.
- Perflocked = You can't even underclock with SetCPU. My reasoning is the same as above.
- Merged main tree (updated battery driver from Desire HD kernel, plus a tweak to help prevent oom errors)
- Updated wifi.mac patch by mdebeljuh (http://forum.xda-developers.com/showthread.php?p=8828147)
- Added PPP patch from http://docs.openmoko.org/trac/ticket/2212 (no this does not fix everything with PPP)
I hope to upload to Rapidshare Links
Here u go
http://www.multiupload.com/5QIHT86TAU
[Kernel][21.09.2010][Overclocking][Undervolting][AXI]EVO base + tweaks
Click to expand...
Click to collapse
so... you come from the future?
jrdaz said:
so... you come from the future?
Click to expand...
Click to collapse
Lol in some countries (eg. Australia) it's already tuesday... So it is possible
pixine786 said:
Here u go
http://www.multiupload.com/5QIHT86TAU
Click to expand...
Click to collapse
Thanks I'd seen that but hadn't taken the time to sign up and figure it out.
MAsterokki said:
Lol in some countries (eg. Australia) it's already tuesday... So it is possible
Click to expand...
Click to collapse
Exactly, it's 36 minutes in to Tuesday here.
damn for some time I was just thinking what is he talking about... why u giving so much importance to time stamp... Let XDA server do things for you...
Life is simple... U making things complicated
Can this kernel only be used with a hd2 desire hd rom or also with other current roms?
hastarin said:
Thanks I'd seen that but hadn't taken the time to sign up and figure it out.
Click to expand...
Click to collapse
Hope u are not angry on me... I didnt even asked ur permission... Sorry Bro
TheWizzard2203 said:
Can this kernel only be used with a hd2 desire hd rom or also with other current roms?
Click to expand...
Click to collapse
ONLY HD2 Desire HD Rom (Beta 2)
TheWizzard2203 said:
Can this kernel only be used with a hd2 desire hd rom or also with other current roms?
Click to expand...
Click to collapse
I have no idea sorry. I updated the original post to indicate this.
you test this build?
or
you post this builds for other people try without securety
hastarin said:
I debated releasing an actual built version of this, rather than just the diff, but here goes...
This is a Kernel I built for my own purposes based on the current EVO kernel (as of this commit) and the diffs guaner1986 and darkstone provided in his Desire HD - Beta 2 build.
It has some minor tweaks to the code provided to enable overclocking with AXI enabled. Undervolting support was already there, from gauner1986.diff, along with audio tweaks and others. darkstones shadow writes and writecombine graphic tweaks are also included.
Use at your own risk if you know how. I won't be answering questions on this and I won't be doing another build in a hurry, I'll leave that to the core folks that really know what they're doing.
What's included:
The kernel (as Image) and needed modules
Latest haret.exe
A new initrd.gz (for use with darkstones Desire HD Beta 2 Build) with a logo.rle as created by Letama (hope he doesn't mind)
Diff of the changes made
Before people ask, and so I don't have to answer, no it is not built for extended batteries (unless the base kernel is and I didn't know about it).
NOTE: I have not tested this with other builds. Try it at your own risk. I don't understand half the code in gauner1986's patch.
Download from Megaupload:
http://www.megaupload.com/?d=Y18CPVVX
or
http://www.multiupload.com/5QIHT86TAU - thanks pixine786
Click to expand...
Click to collapse
Is this thread exclusive for Android Elites out there?
Thanks for a very informative thread for the Noobs.
What do we do with this?
Threads shared should offer support to EVERYONE. otherwise its DISCRIMINATORY.
starting a thread just to show off your skills with Android and not offering guide and help just pisses me off really
jigners said:
Is this thread exclusive for Android Elites out there?
Thanks for a very informative thread for the Noobs.
What do we do with this?
Threads shared should offer support to EVERYONE. otherwise its DISCRIMINATORY.
starting a thread just to show off your skills with Android and not offering guide and help just pisses me off really
Click to expand...
Click to collapse
Where do you see discrimination ?
There are many post on how to update a Kernel.
The dev has compile the kernel for users that don't know how to compile.
I prefer to say thanks to the user to give us the new kernel ..
Iosu
jigners said:
Is this thread exclusive for Android Elites out there?
Thanks for a very informative thread for the Noobs.
What do we do with this?
Threads shared should offer support to EVERYONE. otherwise its DISCRIMINATORY.
starting a thread just to show off your skills with Android and not offering guide and help just pisses me off really
Click to expand...
Click to collapse
If the OP had used smaller words, would that have made you feel better?
jigners said:
Is this thread exclusive for Android Elites out there?
Thanks for a very informative thread for the Noobs.
What do we do with this?
Threads shared should offer support to EVERYONE. otherwise its DISCRIMINATORY.
starting a thread just to show off your skills with Android and not offering guide and help just pisses me off really
Click to expand...
Click to collapse
And posts like yours are why I said I won't answer questions. The information is out there. I had to find it for myself, so can you.
That said, I've linked "know how" in the original post to the wiki:
http://htc-linux.org/wiki/index.php?title=Leo/UpdateKernel#Installing_latest_Linux_kernel_image_.28zImage.29
Should I try this with mattc 1.7 or is there no chance to boot it with this kernel?
Thanks for your work will test.
if OP wanted to publish something that has worked well for him
he should be willing to support the thread not warn those who
have little knowledge to stay away as he wont be answering questions
see my point? that is not in the spirit of community really now is it?
It's working fine. I don't like the first image but better than a white screen. It's overclock to 1113*** . I'll go home later to test WiFi .
Sent from my Desire HD using XDA App

[Kernel] Archos Gen8 Kernel (2.3.20 firmware OK) (max 1.2G) (Updated: 15-APR-2011)

First, thanks $aur0n for the nice work and I can now also boot from SD card and enjoy the rooted system in EXT4
For those interested in overclock, you can try this kernel (I have tested it in Archos 70IT, but it should work in A101/A43IT as well):
** See below for instructions on how to apply this overclock kernel with the newest firmware
2011-04-15 (Latest version)
=========================
- Re-compile the whole kernel from archos latest kernel source code
- Suggested to use with newest chulri's initramfs
- Overclock to 1200Mhz
For firmware 2.3.20:
Download here: http://www.mediafire.com/?pnbev44hk2m1346
Click to expand...
Click to collapse
File name: zImage_archos_2.3.20_recode09.zip (MD5: 7756BA280F3FEBAD23A528A10EB1D6B5)
==================================================
Get rooted with newest firmware 2.X.X + overclock!
Click to expand...
Click to collapse
** Special thanks to chulri for the updated initramfs **
0) Install SDE first
1) Download chulri's initramfs from here: http://code.google.com/p/archos-gen8-sde-rooting/downloads/list
(Download the appropriate version that matches with your firmware version)
2) Grap the newest overclock kernel: http://www.mediafire.com/?pnbev44hk2m1346
3) Reboot your Archos holding "Volume -"
4) Recovery System -> Developer Edition Menu -> Flash Kernel and Initramfs
5) Connect USB and copy initramfs from (e.g. avos_2.X.XX_temproot.zip) and copy zImage from (e.g. zImage_archos_recode04A.zip) to Archos machine
6) Reboot by holding "Volume -"
7) Choose the 2nd menu item (Developer Edition)
8) Here, you get rooted in the newest firmware + overclock kernel
9) Enjoy ^_^
==================================================
Previous Versions
==================================================
2011-02-11
===================
- Further complier optimization
- Better performance on Archos 101
- Max frequency back to 1200Mhz because some users report not stable at 1280Mhz
- Revert interactive CPU governor (seems not stable)
- Suggested to use with chulri's initramfs
1200Mhz version:
Download here: http://www.mediafire.com/?eo3cmqg64md7qdb
Mirror: http://www.zshare.net/download/8731000468bf80d9/
Click to expand...
Click to collapse
File name: zImage_archos_recode04A.zip (MD5: 950D533F09131FCFCBD2BE4084C44691)
File name: zImage_archos_2.1.04_recode01.zip (MD5: ADF0C6FCCA503932D1C3860B3BAF61B3)
2011-02-01
===================
- Rebase from the original kernel source
- Complier optimization
- Add interactive CPU governor
- Bluetooth fix (please test, should still have problems)
- For those enjoying online flash movie, e.g. myTV.tvb.com, please set the freq to min:1000/max:1000 (Best with flash player v10.1.105.6 or upper)
- Set freq to min:1100/max:1100 for best 3D gaming experience
- Suggested to use with chulri's initramfs
1280Mhz version:
Download here: http://www.mediafire.com/?wu37fj90g69o61e
Mirror: http://www.zshare.net/download/860178577cd732f3/
Click to expand...
Click to collapse
File name: zImage_archos_2.1.04_recode01.zip (MD5: ADF0C6FCCA503932D1C3860B3BAF61B3)
2011-01-17
==================
- Not guarantee to work with $aur0n's 0.4.1 initramfs. Please use 0.2/0.3 initramfs (boot from SD) if you get problems
- More stable & smooth
- Overclock to 1280Mhz (Stable in playing NFS shift for a few hours - I am in world track now...)
- Remove 250Mhz and add 600Mhz (as 600Mhz is needed for SetCPU to display correctly)
- Fix the SetCPU 'time in state' problem
- Revert the bluetooth driver
- Cherry-pick more commits (refer to my github)
- Special thanks to $aur0n's initramfs
1280Mhz version:
Download here: http://www.mediafire.com/?1qweknppsoyb6rx
Mirror: http://www.zshare.net/download/8536472801a3552a/
1200Mhz version:
Download here: http://www.mediafire.com/?36wjsvkh6615dxg
Click to expand...
Click to collapse
Alternative link to $aur0n's initramfs (boot from SD): http://www.mediafire.com/?t41kvaonad7c83d
File name: zImage_archos_1280_fix01.zip (MD5: 5DAC535DA0EFFB1422BC887EF19564F8)
File name: zImage_archos_1200_ext4_fix07.zip (MD5: 1F022CCCD127A051154E98C5AC56CD2F)
2011-01-12
================
- More stable & smooth
- Apply 2.6.29.6 patchset - kernel
- Apply 2.6.29.6 patchset - ipv4
- ramzswap support (refer: http://code.google.com/p/compcache/)
- Cherry-pick more commits (refer to my github)
Download here: http://www.mediafire.com/?dih30gjy0lvljpk
Mirror: http://www.zshare.net/download/85094141432e0aae/
File name: zImage_archos_1200_ext4_fix05.zip (MD5: ECA8381E8371D1FE89FE2253D3482E9E)
2011-01-06
======================
- EXT4 fix (Quadrant score ~ 2500)
- Stable at max frequency 1200Mhz and min frequency 250Mhz (thanks Tzbob)
- Selectable frequency using SetCPU: 250/300/1000/1152/1200 Mhz
- 2.6.31 scheduling tweaks
- Source code pushed to github.com for easy sharing and conforming to GNU public license
- Merge various commits ( details can be seen in my github: https://github.com/ardatdat/archos-kernel/ )
- Quadrant scoring 2808 using 1200Mhz and boot from SD (Sandisk 8G Class 4)
Download here: http://www.mediafire.com/?7o7wnyipxwffx3w
Mirror: http://www.zshare.net/download/8483628818cf11b2/
File name: zImage_archos_1200_ext4_fix04.zip (MD5: 2CEF2D7F526DCD81B9C75EE2DAEBFF6F)
2011-01-03
================
- Updated a new kernel that supports $aur0n script (EXT4 support)
- Down-clock to 1100 Mhz because 1200 Mhz seems too hot and not too stable
- Merge some patches from kernel 2.6.29.6
Download here: http://www.mediafire.com/?ut6deu41216wdyd
Mirror (zip): http://www.mediafire.com/?83rd6te7a8ndmts (MD5: 7C8F9D48D74F45251B358FB3E2454485)
2011-01-02
============
- Initial version (not EXT4 support)
- Over-clock to 1200Mhz
http://www.mediafire.com/?bw8iq34tkvkllxe (MD5: 83D2A38A84C97C9336325EDD48C8D1B3)
Beware! After overclock, you will feel a bit hotter than before and battery drains much faster!! Flash it at your own risk.
What you need to do is:
1) Install SDE
2) Get the initramfs from this post (download the kernel+init.zip and extract it): http://forum.xda-developers.com/showpost.php?p=9948644&postcount=1
3) Replace the zImage with the new overclocked kernel
4) Boot into SDE recovery menu and copy the initramfs.cpio.gz and zImage through USB cable
5) Boot into SDE developer OS
6) You should get all your apps here and have superuser right now
You will now have read/write access to /system/ or /data/ ...etc.
Next step: You can download GScript from the market (free) to make some custom scripts to remove unnecessary apps and replace the hosts file, etc.
=================================================
Give us a "Thank" if you think this kernel works great for you
* Feel free to buy me a beer by clicking at the 'donate' button
=================================================
Oh thanks man! I'll impliment this into my own version of Auron's, yeah there was some confusion about your method, thanks for clearing that up!
Nevermind XD I don't know enough to add that, but Auron heavily uses EXT4 which he compiled into his kernel, which is probably why it isn't working for you, he explains in his topic the things he did or did not do.
Tzbob said:
Oh thanks man! I'll impliment this into my own version of Auron's, yeah there was some confusion about your method, thanks for clearing that up!
Nevermind XD I don't know enough to add that, but Auron heavily uses EXT4 which he compiled into his kernel, which is probably why it isn't working for you, he explains in his topic the things he did or did not do.
Click to expand...
Click to collapse
Thanks. BTW, it would be good if Auron will release his source such that we know what exactly is changed apart from the EXT4 things.
New kernel updated!!!
Get it at the #1 post
Now, it is EXT4 support and can be used together with $aur0n initramfs !!!
Down-clock to 1100Mhz seems to make it more stable
Thanks man really appreciate your quick work! works perfectly with Auron's
Although I'm curious how that overclock works, I've read up on it and it seems that everyone else is making overclocking modules etc. your solution seems a lot more efficient. Do other people know about it too?
I first though it was just a soft change, something that didn't affect the hardware, but something that just forced the digit 1100 instead of 1000, this doesn't appear to be the case since I get some speed gains in Quadrant
~ benched a 2438 ^^
edit: is it possible for you to change the LOWEST value as well? i'm not sure how it would react but I imagine a 100Mhz/200Mhz feature would save up some standby-battery-usage also is it possible to change the intervals with this method? so that we can get 300/400/500/600/700..1100?
edit2: would it be theoretically possible to compile a kernel with driver support for gamepads and others? perhaps ntfs-3g to mount ntfs external drivers... thinking about this we have usb host on this device and an open bootloader
Tzbob said:
Thanks man really appreciate your quick work! works perfectly with Auron's
Although I'm curious how that overclock works, I've read up on it and it seems that everyone else is making overclocking modules etc. your solution seems a lot more efficient. Do other people know about it too?
I first though it was just a soft change, something that didn't affect the hardware, but something that just forced the digit 1100 instead of 1000, this doesn't appear to be the case since I get some speed gains in Quadrant
~ benched a 2438 ^^
edit: is it possible for you to change the LOWEST value as well? i'm not sure how it would react but I imagine a 100Mhz/200Mhz feature would save up some standby-battery-usage also is it possible to change the intervals with this method? so that we can get 300/400/500/600/700..1100?
edit2: would it be theoretically possible to compile a kernel with driver support for gamepads and others? perhaps ntfs-3g to mount ntfs external drivers... thinking about this we have usb host on this device and an open bootloader
Click to expand...
Click to collapse
The most difficult part is to determine how much voltage to be given to each frequency. So, it would take some efforts to study.
In addition, setting too low frequency is not necessary be good because the machine might go into deep sleep and never wake up.
Have you run any Super PI tests (or something similar) to see if there are stability issues with the increased clock rates?
Typically when I over-clock my CPU on my PC I increase the voltages at the micro or mini level (CPU, Front Side Bus, Memory, Memory Controller, etc.). As an example 1.3500 may not be stable but 1.3501 could be. Typically You can find the voltage tolerances typically at CPU manufacturer website (ie Intel for me). of course you also have to deal with the temperature of the CPU and other supporting components that regulate the voltage. I will run a Super PI type application to test stability for a few hours. If it works then dont add voltage.. if it comes back with a miscalculation OR an application/OS crash then increase the voltage by a micro amount...
You are correct when you saw it not performing at a higher clock rate... typically what happens if the CPU does not have enough voltage to perform at the expected clock rate it seems to throttle the execution rate to ensure some level of integrity of the executing transaction..
Unfortunately over-clocking is not a science..
ardatdat said:
The most difficult part is to determine how much voltage to be given to each frequency. So, it would take some efforts to study.
In addition, setting too low frequency is not necessary be good because the machine might go into deep sleep and never wake up.
Click to expand...
Click to collapse
its using the same cpu as a lot of android phones are and i daresay that most of the work (working out optimal cpu voltage etc) has already been done
The question is for non-standard clock rates. Standard clock rates should have well defined voltages.
thefunkygibbon said:
its using the same cpu as a lot of android phones are and i daresay that most of the work (working out optimal cpu voltage etc) has already been done
Click to expand...
Click to collapse
can this kernel work on a101 or not?
Yes it will work, I'm 90% sure since they tested it on the 70IT and it's working perfect on my 43IT.
Tzbob said:
Yes it will work, I'm 90% sure since they tested it on the 70IT and it's working perfect on my 43IT.
Click to expand...
Click to collapse
ok i will give it a try....
I have tried this 1100 Mhz kernel and angry birds don't want to start and asphalt 5 have to force closing, I have returned with the only rooted rom....
merlin_1492 said:
I have tried this 1100 Mhz kernel and angry birds don't want to start and asphalt 5 have to force closing, I have returned with the only rooted rom....
Click to expand...
Click to collapse
While this kernel has been OC, it only allows you to choose higher frequencies. BUT, you can still choose 1000 Mhz as the highest by setting it in SetCPU.
After setting min/max as 1000Mhaz in SetCPU, this kernel is just like any other kernels, except that I have applied some of the newest kernel patches (fix bugs?) so that this kernel MUST be better than the stock one.
Hope you enjoy using it
no no, the problem is that after installing oc kernel(without touching anything about frequency), angry birds doesn't run and asphalt 5 doesn't run well and it closes when init a race...So, what's the problem? I have returned to original kernel(with rooting), and now are perfectly running(angry birds and asphalt5)...
merlin_1492 said:
no no, the problem is that after installing oc kernel(without touching anything about frequency), angry birds doesn't run and asphalt 5 doesn't run well and it closes when init a race...So, what's the problem? I have returned to original kernel(with rooting), and now are perfectly running(angry birds and asphalt5)...
Click to expand...
Click to collapse
It is quit strange, coz I can run angry birds, dungeon hunter, etc.. very smoothly even when I use 1100 Mhz, have you tried to install SetCPU and set the frequency?
Any one have similar problems?
Working great on my A101! It's subtle, but I do notice a slight performance increase in pocket legends. Keep up the great work ardatdat!
ok so i did it and now the youtube app freezes up with 1100 or 1200 mhz...the video plays for like 3 or 4 sec and than freeze leaving only audio playback.. video plays normal at 1000 mhz and down...
thanks for your sharing
but I can't unzipped the newest kernel
the 7-zip showed "file broken"
uglin said:
thanks for your sharing
but I can't unzipped the newest kernel
the 7-zip showed "file broken"
Click to expand...
Click to collapse
Thanks. A mirror (zip) link is posted in post #1, please check and re-download

[FAQ] >> RBAP for miniCM10 by nAa, nAa's kernel X10mini/X8/x10miniPRO .:08/07/2013:.

[FAQ] >> RBAP for miniCM10 by nAa, nAa's kernel X10mini/X8/x10miniPRO .:08/07/2013:.
Read Before Asking Please
FAQ for MiniCM10, and nAa kernel
reading may answer to lots of your questions !
for X10mini, X8 & x10miniPRO
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i decided to create a new thread dedicated to Q&A about miniCM10
this thread is the place of your questions, answers, tips about miniCM10 and nAa ics kernel
so please, as usual, read FAQ, use search option or anything else before asking commonly answered questions
the FAQ will be incremented when needed
the Q&A is written as Q are asked
Requirements:
Latest 2.1.1.A.0.6/2.1.1.C.0.0 SE firmware / Baseband: M76XX-TSNCJOLYM-53404015
Unlocked bootloader
Latest version of the JBnAa kernel
Instructions:
paste miniCM10-4.X.X on the root of your SDcard
backup
flash JB kernel
get in recevery and format /system ; /data ; /cache
flash rom
flash gapps
wait for the very long first boot
enjoy
Please make sure you followed the above steps before reporting any issues, especially 'wipe data/factory reset'
something else that is useful to read before asking :
Here we (nearly all? XDA members, regardless of being devs or only users [like me], me at least ) don't care about your good/bad English the important is trying to be understood and to understand the content of the threads
only ask things you can't find, or you don't understand, please if you don't understand something in any process tell us exactly where is your problem : it will optimize the answer
sometime rephrasing things can make you understand better, feel free to help us for making the most understandable sentence for anybody
i'm always trying to use a proper English (not so easy for a non native English ^^)
but if there's something misunderstood because of my English your are welcome to correct me
BUT if you don't make the effort to read, I won't make the effort to answer (ok, you can't read everything... but read the minimum )
that's it
miniCM website is now available (http://minicm.dyndns.org/site/Chat/ for chatroom)
clic on the red text above ​
register, and then enjoy
________________________________
bug tracking template :
twins.7 said:
#BUG Report
DO
Reboot - Recovery
BUG
the screen stuck in rebooting dialog. It should just rebooting
ACTION
press home key (or any key maybe) to make it reboot
Click to expand...
Click to collapse
________________________________
we seek for you, TESTERS, go there for helping : [DEV] miniCM10 debug only thread (shakira, robyn and mimmi)​
2nd part of FAQ
FAQ :
for miniCM7 refer to THIS THREAD PLEASE
for miniCM9 refer to THIS THREAD PLEASE​
for quick search, use ctrl+f and enter keyword, you should find an answer to your question
ok, let's start with some fun :
how to understand FAQ :
0/ question(which build(s) is(are) concerned with q/
answer to the question
old, wrong or obsolete answer
additionnal comments if needed​
__________________________________________________
nobodyAtall said:
about nAa JB kernel :
Preface:
Read through [that] post. Don't rush into flashing. Be sure you understand the process before you start
This is a custom kernel developed for Android Jellybean
Do NOT try this kernel on other Android versions - you are totally unsupported
This kernel introduces custom mtd partitioning with larger /system partition to hold the extra JB calories. If you are moving from another custom kernel to this one, you MUST first format /system /data and /cache via the embedded CWM recovery
Click to expand...
Click to collapse
1/ any problem with display overridding?( ? ; ? )
in settings > development settings :
_____________________
2/ wanna go back to a non jelly bean based rom?( all builds ; all devices )
go to CWM > mount&storage and format :
/system
/data
/cache
then flash the kernel you want, (press flash on flashtool, plug the phone to pc, force reboot by pressing home+power, press and hold back button)
==> you can now restore a backup of the old rom you were previously using or install another non JB based rom
_____________________
3/ hard/software keyboard isn't working properly??( ? ; mimmi )
x10man said:
Quick fix for the soft keyboard:
On the select input method screen turn the hardware keyboard to off like so:
The software keyboard will now appear but the hardware keyboard still works.
Basically this needs to auto-switch when the hw keyboard opens and closes.
X10man
Sent from my U20i using xda premium
Click to expand...
Click to collapse
DanielFran said:
Power off, then remove sim card. Reboot and select language, change keyboard layout in advanced definitions (mimmiparts). Then put again sim.
Sent from my U20i using Tapatalk 2
Click to expand...
Click to collapse
4/ why my wifi can't load? ( all builds ; all devices )
you may have that kind of logcat:
Code:
D/WifiService( 1694): setWifiEnabled: true pid=2095, uid=1000
E/WifiStateMachine( 1694): Failed to load driver!
E/WifiStateMachine( 1694): DriverFailedState
open terminal emulator :
Code:
lsmod
if it doesn't answer anything, maybe /system is out of space and kernel fails to copy wifi modules at boot (note that undervolt module wont work either)
try the following :
open any file explorer that is root capable,
go to /system/media/audio/ringtones
delete some ringtones (at least to recover about 3 or 4 MB free, the more is safer) [1.5 MB seems to be enough though ]
reboot
try lsmod and see, if the kernel succeeded to copy modules at boot it's ok and and lsmod outputs what you are waiting for, if not reflash kernel and/or try to install a reduced miniCM10 zip (by deleting ringtones as for the previous way, but in a zip editor)
hoping it will solve your problem
5/ you have various problems with wifi ? ( all builds ; all devices )
refer to miniCM7 and miniCM9 miniFAQs !!!
6/ what are I/O schedulers ? ( all builds ; all devices )
a kind of answer here
7/ i updated from miniCM10-4.0.0 to 4.0.1 and after updating the gapps to 20120923 i've lost the camera ? (miniCM10-4.0.1 ; all devices)
go to mount&storage
format /system (NO data lost )
install miniCM4.0.1 again
install gapps 20120923
reboot&wait
all should be back to normal : fast and feature full
8/ how can i set keyboard shortcuts on my hardware keyboard? (all builds ; mimmi)
just edit azerty.xml or qwerty.xml in system\usr\keyboard-config\layouts
9/ how can i fix my azerty/qwerty/qwertz... HardWare keyboard? (miniCM10-4.0.2+ ; mimmi)
first flash this : from here
and then the zip corresponding to your specific language : look here
/!\ choose "default input method" so that the KB works correctly, if you don't it will behaves strangely
/!\ do not modify keyboard_layouts and keyprints in any way if you want the above to work, edit: seems you can edit the xml finally
/!\ do not modify advanced>mimmiperts, make sure you have not touched it before processing the installs. it is recommended to start from a "fresh build" i.e. to wipe all user data, and so on.
defauld input and sym button should be back
/!\here is another way to fix it : follow allesand's instructions
10/ i wanna use a2sd, what is it and how to make it work? (all builds ; all devices)
refer to that short tuto & infos here by drfr
11/ my LED is not blinking properly is there any way to change that? (all builds ; all devices)
You must delete /system/lib/hw/lights.msm7x27.so with rootexplorer or any other file manager that allows you to explore and modify root files
handcent led settings does not work properly with lights.robyn.so
of course, you need to reboot your phone after that.
REDELETE AFTER EACH UPDATE if you have the same problem SINCE THE FILE IS REWRITTEN
12/ why flastool doesn't flash the kernel i choose? (any version)
when there are lots of kernel builds in flashtool firmware folder, flashed kernel might not be the right one,
to void this, create a folder in it, cut/paste all your previous kernel there
and only keep the one you want to flash in the firmware folder
then, start flastool and process flashing operations
13/ i'have some problem for sending mms (all builds until miniCM10-4.0.2+ ; all devices)
--> with CM7/9/10 you just CANT send mms without data enabled
if you can't even with data enabled:
DaRk_dOg said:
I think that this is a common issue with CM7 and not just MiniCM7 (I experienced it on my DHD too).
Here is a small workaround for now:
Before sending the mms, disable data traffic, then enable it again and then send your mms.
You have to do it every time, before an mms but it is working for me.
Regards, D_d
Click to expand...
Click to collapse
--> seems now, mms can be sent without enabling data or anything, just need to have correct APN set up
14/ CM file manager doesn't work well for no (not at all in fact) (all builds? ; all devices?)
see details here.
15/concerning brightness on MiniCM10-4.0.2 nightly 20130119 and higher, (MiniCM10-4.0.2-nightlies ; shakira, robyn, mimmi?
to get compatibility with .32 kernel, nAa needed to change some things related to brightness monitoring
and that's why some issues appeared with .29 kernel, and then were fixed, but with the drawback of light being at max for a short time before dimming when turning the screen on.
using .32 kernel solves this issue
with old .29 kernel, use MiniCM10-4.0.2-stable or nightlies until 20130114
for newer nightlies (especially 20130207+) prefer .32 kernel
16/ concerning Undervolting and newer .32 kernels : (MiniCM10-4.0.2+ and nAa .32-03+ ; all devices)
NobodyAtall said:
VDD levels
From 03 onwards, I've ported the vddlevels functionality from msm7x30
so that we can variably change the voltage level of the frequency we
want without the need for external modules.
The current voltage information is available at:
Code:
/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
E.g. the defaults after flashing the kernel should be:
Code:
[email protected]:/ # cat /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
122880: 3
245760: 4
320000: 5
480000: 6
604800: 7
614400: 7
633600: 7
652800: 7
672000: 7
691200: 7
710400: 7
729600: 7
748800: 7
768000: 7
787200: 7
806400: 7
825600: 7
844800: 7
864000: 7
To change for example the voltage level of the 122880 frequency, you could do:
Code:
echo '122880 0' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
If you cat this file again, you should see that the voltage level is
picked up. The new voltage level is picked up when the CPU will scale
to the particular frequency level.
The undervolting tickbox in the 'Performance Settings' of the latest
MiniCM10 nightlies already uses the new interface. The values that are
set there are the same ones as those passed by the old undervolting
module:
Code:
[email protected]:/ # cat /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
122880: 0
245760: 2
320000: 3
480000: 5
604800: 6
614400: 7
633600: 7
652800: 7
672000: 7
691200: 7
710400: 7
729600: 7
748800: 7
768000: 7
787200: 7
806400: 7
825600: 7
844800: 7
864000: 7
Do I need undervolting?
You dont NEED undervolting. It can save though hours of some battery
life during the day.
Overvolting?
Even though the interface allows you to overvolt, I don't suggest
doing so. It will result to instabilities or crashes and is totally
unsupported.
Performance?
Undervolting decreases the performance results - this is to be expected.
Click to expand...
Click to collapse
17/ why can't i connect my device to USB on PC ? (MiniCM10-4.1.0+ & nAa05+ ; all devices)
SmG67 said:
That's because MTP (Media Transfer Protocol) is default now, so it gets connected as a media device. If you want Mass Storage, go into Settings-Storage on your ROM and press the menu-button, you can select USB-storage from there.
Click to expand...
Click to collapse
18/ where is my dualtouch?? (MiniCM10-4.1.0+ &nAa05+ ; all devices)
this is a copy of kernel OP, that you should have read before
nobodyAtall said:
Dualtouch (for synaptics):
By default dual touch is disabled for improved touch accuracy and avoidance of the 'ghost touch' side-effect.
If you want to enable the fake DT by andrej456, you have to insert the following line in the /system/etc/hw_config.sh file:
Code:
echo "1" > /sys/module/synaptics_i2c_rmi4/parameters/cfg_dt
If you want to enable the fake DT by dx, you have to insert the following line in the /system/etc/hw_config.sh file:
Code:
insmod /system/lib/modules/synaptics_i2c_rmi4_dt.ko
Dualtouch (for cypress):
Cypress supports dualtouch, so this is enabled by default
Click to expand...
Click to collapse
19/ why do i get a kernel version error (installation abort, status 7) while installing MiniCM10? (MiniCM10-4.1.0 up to 20130518-NIGHTLY &nAa06 ; all devices)
matmutant said:
change in rom zip to *.61 for kernel version if you want the installation to complete (in META-INF/com/google/android/updater-script)
Click to expand...
Click to collapse
3rd part
3rd part
usefull links and performance tricks
useful links :
[DEV] miniCM10 debug only thread (shakira, robyn and mimmi)
what CPU governors, and how do they work?
$find other useful link in miniCM7/9 miniFAQs $
Perfomance :
recomended settings :
perf related :
CPU: keep default, but enable UnderVolting (and set on boot if you don't OverClock) (settings>performance>CPU)
RAM : to optimize RAM usage, use KSM, zram (18%, default) and allow purging of assets (settings>performance>memory managment)
I/O : keep NOOP, this is the default and the best for flash memory
other :
in settings>developer options
enable USB debugging,
debug notification,
set all animations to 0.5 (electron beam CRT animation will happen no more)
enable "kill with back button"
________________
for whose who feel the system slow and laggy, just try the SWAP (SDcard class6+ recommended)
SWAP, there is two "kind" of swap : using a partition on the SDcard, or using a swap file
both are good, but some SDcard/phones react better with the one or the other​
let us start with the partition way : it is more complicated than the file method, but as some advantages
pros: once it is set up, no need to care about it anymore, the SDcard can be mounted to PC easily without latency
cons: a little complicated to set up, and once it's done, it is as complicated to revert as to set up; to change swap size, you need to repeat the process (formating and partitioning SDcard)
needs a clean install of miniCM10:
flash JB kernel
in CWM, go to mount&storage :
then, format /system, /data and /cache (so that kernel can use the new partitions size) any data on phone memory will be lost
set up your swap:
==> go to /advanced/Partition SD Card
if you don't want to use a2sd, then choose the minimal size for ext, and the size you want for SWAP
it will FORMAT your SDcard ! any data on SDcard will be LOST
and install the rom
swap partition should work
what doesn't work is the swap info menu
to revert : format SDcard in phone settings : it will FORMAT your SDcard ! any data on SDcard will be LOST​
____________________
now, the swap file way : it is really simpler than the swap partition, works great but has some drawbacks
pros: easy to set up, easy to revert, and the size can be choosen at wish at anytime (in settings>performance>memory>Swap settings)
cons: high latency when mounting SDcard to pc, it can take forever (really quicker to use CWM mount and storage capability to use the SD on the PC, than using android way)
you must perform a clean install of miniCM10 (by formating /system, /data and /cache) any data on phone memory will be lost
install the rom zip, the gapps, and boot up your phone
set it up
once your rom is ready to use,
go to settings>performance>memory>Swap settings
choose "enabled"
choose the size
allow system to get SU permissions
wait for the pop up "swap enabled"
enjoy, it is simple and can be disabled on wish​
for both :
to see if your swap works, open terminal, and type the following :
Code:
free
to see the swapiness :
drfr said:
To check in terminal:
Code:
cat /proc/sys/vm/swappiness
Default value is 30 if you have zram and swap enabled, or 60 if only swap without zram.
To change it TILL NEXT REBOOT:
Code:
echo X > /proc/sys/vm/swappiness
where X is your desired value
To change it PERMANENTLY:
add the above line to the end of your hw_config.sh (you can find it in /sýstem/etc)
Note: it is always way easier to type those things on PC keyboard, so you´d better do it in adb shell.
Click to expand...
Click to collapse
__________________
some usefull lines of commands for any user wanting to know what's going on :
in terminal, just type the lines,
in ADB, add "adb" before the commands
if you want not to siplay the output in terminal, specify the path :
Code:
command > /where_you_want_your_output_to_be_stored/name_you_want_for_the_log
to know how much swap there is (total and free are what you want to know), use the following command since the way using menu is broken :
Code:
free
to know if KSM is really turned on :
Code:
cat /sys/kernel/mm/ksm/run
to know what modules are running :
Code:
lsmod
install an app from terminal :
Code:
pm install /sdcard/app1.apk
from adb :
Code:
adb pm install /home/user/app1.apk
your kernel crashed?
Code:
cat /proc/last_kmsg
ex : from adb, and stored in /home/user/last_kmsg1
Code:
adb cat /proc/last_kmsg > /home/user/last_kmsg1
an app crashed, you want to know why?
Code:
logcat
ex : from adb and stored in /home/user/myfirstlogever
Code:
adb logcat > /home/user/myfirstlogever
don't have an USB cable ?or adb "other the air" :
connect to your home wifi network (both device and pc)
in settings/dev options/ enable adb on TCP/IP
Code:
adb connect xxx.xxx.xxx.xxx:5555
(the IP is the one displayed in the option you choose previously
and then, since it is connected, catch the log :
Code:
adb logcat > /home/user/myfirstlogever
Benchmarks, screenshots and thklist
to start with, some screenshots
MiniCM10 theme:
MiniCM10 Crystal2:
benchmarks :
MiniCM10-4.0.2-nightly, using .32 kernel :
all has been done at 729MHz, on robyn
on .32-02:
antutu : fps2D:​
I/O performance on miniCM10-4.0.2-20130120/nAaJB03 (2.6.29.6) :
conclude what you want
NOOP:- The NOOP scheduler inserts all incoming I/O requests into a simple, unordered FIFO queue and implements request merging.
The scheduler assumes I/O performance optimization will be handled at some other layer of the I/O hierarchy; e.g., at the block device; by an intelligent HBA such as a Serial Attached SCSI (SAS) RAID controller or by an externally attached controller such as a storage subsystem accessed through a switched Storage Area Network.​
ANTICIPATORY:- Anticipatory scheduling is an algorithm for scheduling hard disk input/output.
It seeks to increase the efficiency of disk utilization by "anticipating" synchronous read operations.​
CFQ:-CFQ, also known as "Completely Fair Queuing", is an I/O scheduler for the
Linux kernel which was written in 2003 by Jens Axboe.
CFQ works by placing synchronous requests submitted by processes into a number of per-process queues and then allocating timeslices for each of the queues to access the disk. The length of the time slice and the number of requests a queue is allowed to submit depends on the IO priority of the given process. Asynchronous requests for all processes are batched together in fewer queues, one per priority.​
BFQ:- BFQ is a proportional share disk scheduling algorithm based on the slice-by-slice service scheme of CFQ. But BFQ assigns budgets, measured in number of sectors, to tasks instead of time slices. The disk is not granted to the active task for a given time slice, but until it has exahusted its assigned budget. This change from the time to the service domain allows BFQ to distribute the disk bandwidth among tasks as desired, without any distortion due to ZBR, workload fluctuations or other factors. BFQ uses an ad hoc internal scheduler, called B-WF2Q , to schedule tasks according to their budgets. Thanks to this accurate scheduler, BFQ can afford to assign high budgets to disk-bound non-seeky tasks (to boost the throughput), and yet guarantee low latencies to interactive and soft real-time applications.​
I/O performances on MiniCM10-4.1.0 /w 2.6.32.60 nAa-JB-05 :
here is a chart showing scheduler specific results,
the benchmarks were based on Antutu, regarding IO and SDcard R/W
my settings are :
122~729MHz
smartassH3
undervolted
KSM
zram 18%
swap file 128MB​
all i can say for now, is that SIO is the more balanced scheduler, and CFQ/VR are the worst
here are the results
what does the chart shows us?
SIO is the more balanced scheduler, it has a good IO, and a good read/write
Anticipatory has the best IO, but a bad SDwrite
Deadline has the best SDwrite, but is quite average for IO and SDread
NOOP, CFQ and VR are a bit behind
for people using swap, i would say that they should use SIO or deadline, for others, Anticipatory or BFQ might be better
i ran the benchmark 4 times for each scheduler.​
source
Benchmarks history since stock rom here
MORE BENCHMARKS HERE
thanks to Heronger and some others helping to build this FAQ
are the reserved threads in x8 development for JB?
hetunandu said:
are the reserved threads in x8 development for JB?
Click to expand...
Click to collapse
where are the reserved threads you are talking about?
matmutant said:
where are the reserved threads you are talking about?
Click to expand...
Click to collapse
in x8 android development section
http://forum.xda-developers.com/forumdisplay.php?f=1704
hetunandu said:
in x8 android development section
http://forum.xda-developers.com/forumdisplay.php?f=1704
Click to expand...
Click to collapse
maybe
matmutant said:
maybe
Click to expand...
Click to collapse
arghhhh!! cant wait!!
BTW do u need testers? im in. I have an X8. PM me
Great job matmutant!:good:
I have questions/suggestion request about minicm 10 for xperia x8, i have a very little space to store applications, any suggestions? With GB I can use a lot of apps moving its in SD but with MiniCM 10 also moving apps I can install all the apps that I use before.
Use an ext partition for example it would be useful?
Another thing is the automatic conversion trom SMS to MMS when it exceeds a page in length. Only using another app for messages it wont be this way but i thing it would be great if we can use the stock app that I think is great!
A q aswell(actually I'm not sure of something)
nAa said it will repartition our space and said to uninstall we need to flash using seus or flashtool so that means to go back to stock partition we need to flash good ol eclair or any other kernel(eg. nAa gb) will get back our partition?
Sent from my heart™ using Xperia X8
X8invisible13 said:
A q aswell(actually I'm not sure of something)
nAa said it will repartition our space and said to uninstall we need to flash using seus or flashtool so that means to go back to stock partition we need to flash good ol eclair or any other kernel(eg. nAa gb) will get back our partition?
Sent from my heart™ using Xperia X8
Click to expand...
Click to collapse
I think he means that if we want move to another kernel we have to use seus or flashtool the way we always flash new kernel, for example flashing again naa-13 over jb kernel using flashtool without going back to eclair first.
I tried to make an ext partition in my sd card with CWM, now I have more memory to store my apps and system is so fast! This rom is great!
I only have sometimes random reboots and sometimes the screen crashes but now this is my daily rom!
Does swap partition works in MiniCM10 ?
I still don't quite understand about the meaning of clearing data, cache, etc...
Currently, I'm still at MiniCM 2.2, with a swap partition, EXT 4 partition, and FAT partition...
What is the correct sequence to run JB for the first time ?
Do I have to :
1. Reformat my MMC first + deleting the partition, go to recovery, format data, cache, etc, then make new partition (Swap, EXT4, and FAT)
OR
2. Format data, cache, etc, then reformat my MMC (as Swap partition gets changed to EXT3 automatically when doing factory reset), then make new partition.
Can somebody help ? Thank you in advance
StardustGeass said:
Does swap partition works in MiniCM10 ?
I still don't quite understand about the meaning of clearing data, cache, etc...
Currently, I'm still at MiniCM 2.2, with a swap partition, EXT 4 partition, and FAT partition...
What is the correct sequence to run JB for the first time ?
Do I have to :
1. Reformat my MMC first + deleting the partition, go to recovery, format data, cache, etc, then make new partition (Swap, EXT4, and FAT)
OR
2. Format data, cache, etc, then reformat my MMC (as Swap partition gets changed to EXT3 automatically when doing factory reset), then make new partition.
Can somebody help ? Thank you in advance
Click to expand...
Click to collapse
flash JB kernel
in CWM, go to mount&storage :
then, format /system, /data and /cache (so that kernel can use the new partitions size)
then set up your swap
and install the rom
swap partition should work
what doesn't work is the swap info menu
_______________________
benchmark of the day :
matmutant said:
flash JB kernel
in CWM, go to mount&storage :
then, format /system, /data and /cache (so that kernel can use the new partitions size)
then set up your swap
and install the rom
swap partition should work
what doesn't work is the swap info menu
_______________________
benchmark of the day :
Click to expand...
Click to collapse
Please show your settings.MATMUTANT
Sent from my U20i using xda premium
benchmark :
[/QUOTE]
SERIOUSLY. I haven't had a high score on my mimmi with my MiniCM7 with most of apps I need and apps for UI improvements(themes/widgets/etc). I also use v6 SuperCharger of zepplinerox. I only had a 1853 score. but this score is higher. does this have potential to overthrow the speed and performance of MiniCM7?
minicm10 doesn't have as much features as minicm7 or 9 but is much smoother and more powerful right now .
my settings are simple:
ksm on, disable hardware override on, swap file 128 , uv on, else: default
note that this screen shot was taken on a private nightly of the next release :

[Kernel][3.0.31] D- Kernel (09/09/2013)

I'M IN NO WAY RESPONSIBLE OF ANY DAMAGE CAUSED BY USING THIS CUSTOM KERNEL.
PLEASE NOTE THAT SOME FEATURES CAN DAMAGE YOUR PHONE AND YOUR EAR.
PLEASE READ ALL BEFORE FLASHING CUSTOM KERNEL.
PLEASE GIVE ME FEEDBACK!!
I NEED SUGEST NOT REQUEST!!
DONT ASK ETA!! (if you can give me coffe on sunday i'll tell you ETA )
Dont worry about donate to me. I dont have paypal
Just press thanks button​
What is needed
Samsung GT-I8160 (Jellybean)
Some Android experience
Know how to use Terminal
More patience
Features
fs: ZRAM & Swap Support
fs: CIFS module
fs: Fsync control [Cocafe]
fs/aio: Asynchronous io performance improved
mm: SLUB memory allocator
arm: ThumbEE
arm/vfp: Build with neon
lib: Optimzed CRC32 algorithm [ezekeel]
lib: GNU C version memcpy & string
mali: Utilization control
mali: MALI TWEAK[Cocafe]
mali: PM sampling rate tweakable [Cocafe]
debug: Remove Samsung debug code [Adi_Pat]
debug: Disable KGDB [Adi_Pat]
debug: Remove frame pointer [Adi_Pat]
debug: Android logger as module (free 4mb RAM)
bcmdhd: PM_FAST by default
kernel:Lzop compression
ramdisk: Lzop compression
ramdisk: Init.d scripts
ramdisk: ClockworkMod Recovery 6.0.2.8 [diego-ch]
cpufreq: OndemandQ [Cocafe]
Installation
FlashableZip:
1. Download Kernel
2. Goto Recovery
3. Flash it
DD method:
You need to root your phone first.
What is ROOT? HOW TO?
Please ASK Google!!!
1. Download kernel
2. Extract kernel.bin.md5 from *.tar.md5
3. Copy kernel.bin.md5 to somewhere you like (e.g. /sdcard)
4. Open Terminal app,use these commands
Now lets go to superuser mode
Code:
su
Now lets flash(dd) kernel to kernel partition
Code:
dd if=/sdcard/kernel.bin.md5 of=/dev/block/mmcblk0p15
5. Reboot to take effects
Code:
reboot
* If you type a wrong dd command,it might hard birck your phone
So please think twice before hit enter
* It is recommended that check the md5 of kernel.bin.md5
If it doesnt match 'md5.txt' in zips,dont flash to phone.
Please re-download kernel
How to check md5 on phone?
Open Terminal app (Please install busybox first )
'cd' to the folder(e.g. /sdcard) where has the file
Code:
cd /sdcard
Now get the md5
Code:
busybox md5sum -t kernel.bin.md5 >> out.txt
Now check the md5 manually
Download :
09/09/2013
CM-DK3J9Mt.zip - 8.18 MB (CyanogenMod 10)
18/08/2013
CM-DK3G8M.zip - 7.66 MB (CyanogenMod)
DK3G8M.zip - 8.33 MB (Stock ROM)
NOTE :
sorry I could not test stock rom because I was in cm
wipe cache before flash
Changelog :
09/09/2013
disable ARM: spinlock: use ticket algorithm for ARMv6+ locking implementation
arm/crypto: add aes and sha1 implementaions
use LZ4 Compression (kernel,ramdisk,zram)
add smartassH3 Gov
add exfat modules
power: stop printing noise
ntfs build in kernel now
disable BLN
set swappiness 20
bcmdhd: Reenable IPv6, disable multicast in suspend
toolchain: Linaro GCC 4.7
enable ksm (cyanogen only)
up to linux 3.0.41 kernel
disable ext3 support
18/08/2013
bluetooth fix. thanks samsung
disable arch power
add sec_param_debug
ARM: spinlock: use ticket algorithm for ARMv6+ locking implementation
Proportional Rate Reduction for TCP.
Credits :
@Adi_Pat
@cocafe
@diego-ch
@dh.harald
@lupohirp
source :
https://github.com/hafidzduddin/codina
NOTE :
CM version must flash through recovery. because modules locate in "/system/lib/modules"
to fix bt bug in cm. try to replace original "system/lib/bluez-plugin/audio.so" from cm10 zip.
@hafidzduddin
Just Waiting and be patient to 100% complete upload....
Re: [Kernel][3.0.31 D- Kernel v1 #RC15
Where reference from which to download the kernel?
Sent from my GT-I8160 using xda premium
Great Work:good: what about custom boot animation?
Messi10 said:
Great Work:good: what about custom boot animation?
Click to expand...
Click to collapse
try it idk it work or not
Thank you!
Thank you for all your work hafidzduddin!!
So I found a bug:
Brightness slider is not working properly, displays completely different brightness than the one set to (when I slide it to 70% it displays as in 30% etc.)
When I do the
Q: Why brightness cant setting after booting?!
A: Turn Off manual (press button power) after booting!
Click to expand...
Click to collapse
it doesn't set to the right value and this is kind of annoying for me.
How can I flash the original kernel please? (I couldn't find a specific answer)
Copy both from stock rom kernel.bin.md5 and kernel2.bin.md5 in sdcard and then do "dd if=/sdcard/kernel.bin.md5 of=/dev/block/mmcblk0p15" once or do also "dd if=/sdcard/kernel2.bin.md5 of=/dev/block/mmcblk0p15" for the second one?
takthetank said:
Thank you for all your work hafidzduddin!!
So I found a bug:
Brightness slider is not working properly, displays completely different brightness than the one set to (when I slide it to 70% it displays as in 30% etc.)
When I do the
it doesn't set to the right value and this is kind of annoying for me.
How can I flash the original kernel please?
Click to expand...
Click to collapse
i had that problem with the test kernel, with this kernel i dont have that problem
takthetank said:
Thank you for all your work hafidzduddin!!
So I found a bug:
Brightness slider is not working properly, displays completely different brightness than the one set to (when I slide it to 70% it displays as in 30% etc.)
When I do the
it doesn't set to the right value and this is kind of annoying for me.
How can I flash the original kernel please? (I couldn't find a specific answer)
Copy both from stock rom kernel.bin.md5 and kernel2.bin.md5 in sdcard and then do "dd if=/sdcard/kernel.bin.md5 of=/dev/block/mmcblk0p15" once or do also "dd if=/sdcard/kernel2.bin.md5 of=/dev/block/mmcblk0p15" for the second one?
Click to expand...
Click to collapse
you use 3rd application?
i dont have this issue. just for first boot.
idk its rom or kernel issue
i use kernel2.bin.md5 because on my sdcard kernel.bin.md5 is my custom kernel :angel::angel:
hafidzduddin said:
you use 3rd application?
i dont have this issue. just for first boot.
idk its rom or kernel issue
i use kernel2.bin.md5 because on my sdcard kernel.bin.md5 is my custom kernel :angel::angel:
Click to expand...
Click to collapse
No, I tried both from the slider in dropdown menu and in settings->display->brightness. It's the same problem in both!
So by flashing ONLY kernel2.bin.md5 is enough?
Re: [Kernel][3.0.31] D- Kernel v1 #RC
I agree. The slider's 0 percent is about 60 percent. So 0 percent is about 60 percent.
Edit:
After something happened, brightness suddenly changed itself and bug is fixed.
Sent from my GT-I8160 using xda app-developers app
malamharian said:
I agree. The slider's 0 percent is about 60 percent. So 0 percent is about 60 percent.
Edit:
After something happened, brightness suddenly changed itself and bug is fixed.
Sent from my GT-I8160 using xda app-developers app
Click to expand...
Click to collapse
Read all my post :3
Re: [Kernel][3.0.31] D- Kernel v1 #RC
Hello! Immediately apologize for mistakes, since English know is bad! I would like to thank you, for you made the core, very happy! And I want to ask - what some have success in overclocking kernel?
Sent from my GT-I8160 using xda premium
This kernel is awesome
Great job !
I hope we will overclock to 1 GHz soon
Re: [Kernel][3.0.31] D- Kernel v1 #RC
killov1982 said:
Hello! Immediately apologize for mistakes, since English know is bad! I would like to thank you, for you made the core, very happy! And I want to ask - what some have success in overclocking kernel?
Sent from my GT-I8160 using xda premium
Click to expand...
Click to collapse
Rooobertinhooo said:
This kernel is awesome
Great job !
I hope we will overclock to 1 GHz soon
Click to expand...
Click to collapse
No one.
St erricson not give any document!!
Do you know why s advance have 1ghz?
I think Because i9070 support maxopp.
Why i9070 cant change freq on max opp?
Because freq locked.
must edit something on prcmu.
And I dont understand. Lol!!
Sent from my GT-I8160 using xda premium
hafidzduddin said:
Read all my post :3
Click to expand...
Click to collapse
is this the same one a.k.a test kernel? or this one is 100% complete?
i mean still contain hang / looping on booting or not?
thanks man.

[MOD] BlackenedMod v3.0 (Pixel / Pixel XL)

Introduction:
This modification / custom kernel configuration for Pixel and Pixel XL is optimized and made with the focus on bringing several, carefully tuned behind-the-scenes enhancements & adjustments that improves overall critically needed performance, system responsivness and battery life to the highest possible level. The seed to this project can by the way be found here, for anyone that is interested of its origins.
Note: This script is not recommended to be modified or customized by the user.
The latest release can be found here.
Disclaimer:
This is presented as "what if". If this modification screws up or breaks anything for you, I am not the one to be held responsible. It's a free will to try out this kind of changes/modifications/addons/tweaks, just don't blame the inventors for eventual bad results and/or screw-ups.
Features:
Reduced battery consumption
Device specific enhancements for best possible balance between battery life & performance
Enabled, and fully configured, Boeffla generic kernel wakelock blocker
[
Disabled a lot of useless stuff at kernel level (Improves battery life as well as performance)
CPUSet improvements & optimizations
Schedtune tweaks (Improves responsivness)
Power efficiency enhancements
Wide IO block tuning (Reduces the possibility of hiccups, lags and overhead)
Possibly other miscellaneous things I've forgotten to write down here, both big and small.
Requirements/what you need for getting this script fully working:
An unlocked bootloader
Your own specific choice of kernel
Latest Magisk
Busybox for Android NDK Magisk Module by @osm0sis
Patience
Installation/How-To use & abuse:
1) Download the attached ZIP
2) Extract the script
3) Move the script to the following location;
/data/adb/service.d and give the script the following permissions (0755)
4) Reboot your phone, let Android boot to the launcher and let Magisk boot service do its crucial magic (takes a few seconds before the scripts is fully up and running around behind the scenes)
5) Enjoy!
Note: If you still are unsure how to do for making my kernel configuration / modification work & be up and running behind the scenes, then please read @Phalanx7621 phenomenal guide here or check out @Phalanx7621 in-depth video here. The installation method is the same for both the first generation as well as the second generation of Pixels!
Credits:
@nathanchance for his contributions with his Flash Kernel
@franciscofranco for all the information on which kernel wakelocks that is safe to block
@Phalanx7621 for his phenomenal how-to guide
@Lord Boeffla for his awesome generic kernel wakelock blocker
@pkgnex for inspiring me walking into this partially unknown territory from the beginning
@flar2 for his excellent EXKM application and ElementalX Kernel
@osm0sis for his Magisk Busybox module
Everyone that I've forgotten to mention here
Telegram:
If you want to try out betas / previews of my script before they are officially released, or just hangout and chat a little, then join the official Telegram group here
To-Do list:
Optimize and properly tune things even further for best possible balance between battery life, system responsivness and performance
Contributors:
@xFirefly93
Created: 2018-10-08
Last updated: 2019-01-04
Been following your thread over in the Pixel 2 XL forum, nice to have you here
Edit: sorry for stealing the first post btw hehe
EDIT: My changelog dedicated post have exceeded 30000 characters, so I have decided that the changelog will only be included in the respective update posts from now on!
So you all know how the situation is.
shagbag913 said:
Been following your thread over in the Pixel 2 XL forum, nice to have you here
Click to expand...
Click to collapse
I'll do whatever I can on the first generation Pixels for giving you guys & girls the same awesome experience.
And thanks btw.
:highfive:
Update!
v1.1 (Minor release)
- Made a few more (hopefully) battery conserving adjustments to the Sched governor.
Enjoy!
There is no .core folder inside /sbin, do we have to create it ? Edit: reboot solved. Couldn't see it.
Got it installed and I'm thinking it's working. Does the script turn off Core Control ? Just noticed it's off in Ex Kernel Manager , is this by design ?
Core control screenshot
Phalanx7621 said:
There is no .core folder inside /sbin, do we have to create it ? Edit: reboot solved. Couldn't see it.
Got it installed and I'm thinking it's working. Does the script turn off Core Control ? Just noticed it's off in Ex Kernel Manager , is this by design ?
Click to expand...
Click to collapse
Hm, I have not touched the specific tunable that is controlling Core Control.. Maybe it is disabled because of my Sched CPU governor tweak.
Phalanx7621 said:
Core control screenshot
Click to expand...
Click to collapse
xFirefly93 said:
Hm, I have not touched the specific tunable that is controlling Core Control.. Maybe it is disabled because of my Sched CPU governor tweak.
Click to expand...
Click to collapse
I can confirm that the same happens to me.
Thanks for the work!
Phalanx7621 said:
Core control screenshot
Click to expand...
Click to collapse
Old Man Dave said:
I can confirm that the same happens to me.
Thanks for the work!
Click to expand...
Click to collapse
I'll take a look into it later today.
EDIT: Oh snap, I forgot that I have disabled the Core Control tunable in my script. My bad, sorry.
Do you guys want to have it enabled or disabled btw?
xFirefly93 said:
I'll take a look into it later today.
EDIT: Oh snap, I forgot that I have disabled the Core Control tunable in my script. My bad, sorry.
Do you guys want to have it enabled or disabled btw?
Click to expand...
Click to collapse
I mean I'm only concerned with battery life. If you get better battery life with it off, I'm down with that for sure.
Phalanx7621 said:
I mean I'm only concerned with battery life. If you get better battery life with it off, I'm down with that for sure.
Click to expand...
Click to collapse
I will compare how my Marlin / Pixel XL performs with it disabled respectively enabled and see which "solution" that is giving best battery life with less performance tradeoffs, and then I will include the best overall compromise in v1.2 of my kernel configuration / script.
For anyone else interested in this, this is how I went about it:
1) Downloaded Flash Kernel from his thread over here https://forum.xda-developers.com/pixel-xl/development/marlin-flash-kernel-1-00-t3788300
2) Downloaded the latest version of this mod
3) Downloaded the Magisk module required, which you can find by searching Magisk for "busybox" and choosing the "Busybox for android NDK" version
4) Flash that Magisk module, reboot into recovery, flash the Flash kernel (no need to reflash magisk, it's automatic), reboot back into system.
5) Check to make sure Magisk is functioning properly, for me I had to reboot due to an error in the application but that may have been on my end.
6) So now you have Flash kernel and the Magisk module required to be able to properly run this script. Extract the script from the .zip file you downloaded to a folder.
7) Ok so these next steps if you aren't familiar with this stuff could be tricky, but it's actually simple it just sounds tricky. I use Mixplorer for this, I highly suggest using it, it's free and it's on XDA Labs here. https://labs.xda-developers.com/store/app/com.mixplorer But any file explorer w/ root access will do. Inside the folder you extracted the script into there are two versions, choose the Public Release version and copy that file. Navigate to root ( / ) and go to /data/media/0 and paste the file there. The reason for this is you have to change the permissions to allow it to be an executable script and this folder allows that. (there are other ways to do this, FYI but this works just fine for me) You want the permissions to be 755, so it would look like this: (see attachment) To change permissions in Mixplorer, just long press the file and hit the little i (for information) in the upper right. Then click on the permissions you want to change.
8) Now all you have to do is copy that file you just changed the permissions to and paste it into: /sbin/.core/img/.core/service.d | | Now you won't be able to SEE .core unless you have hidden files on, in Magisk it's in the upper right hand corner 3 dot menu. Click Show Hidden. After you paste the file there, reboot and congratulations, you have achieved greatness.
Phalanx7621 said:
.. FYI..
Click to expand...
Click to collapse
Thanks a lot for the in-depth guide! I added your guide to the OP both in this thread and over at my Pixel 2 (XL) thread!
:highfive:
xFirefly93 said:
Thanks a lot for the in-depth guide! I added your guide to the OP both in this thread and over at my Pixel 2 (XL) thread!
:highfive:
Click to expand...
Click to collapse
Oh ok cool, just wanted anybody else to be able to use this awesome mod too, it works wonderfully!
I miss this path on my pixel: /sbin/.core/img/.core/service.d
i'm on last LOS 16.0
moyses said:
I miss this path on my pixel: /sbin/.core/img/.core/service.d
i'm on last LOS 16.0
Click to expand...
Click to collapse
It's there.... I'm on the same rom. You need to start at root and not device storage, as well as show hidden folders
moyses said:
I miss this path on my pixel: /sbin/.core/img/.core/service.d
i'm on last LOS 16.0
Click to expand...
Click to collapse
Use X-plore file manager adn give Root permissions and in settings Show hidden files or folders something.
Update!
v1.2 (Minor release)
- Optimized Sched governor for best balance between performance & battery life
- Reverted pm_freeze_timeout to stock settings
- Raised dirty_ratio to 30
- Some minor script based clean-ups here and there
Enjoy!
xFirefly93 said:
Update!
v1.2 (Minor release)
- Optimized Sched governor for best balance between performance & battery life
- Reverted pm_freeze_timeout to stock settings
- Raised dirty_ratio to 30
- Some minor script based clean-ups here and there
Enjoy!
Click to expand...
Click to collapse
Hi, which release from Public and Maintenance we have to use. Thank you for your hard work.

Categories

Resources