[KERNEL] -Custom Kernel de BAM! XXKPQ/Universal. BCK 14beta fix
Actualizado a 02/072012
Dado los avances habidos, sobretodo en cuanto al tema de las notificaciones, les dejo el thread de XDA del Kernel de XDA_BAM.Fuente original: http://forum.xda-dev…d.php?t=1355675Agradecimientos al autor del kernel (en XDA). Salute!(Traducción propia)Este Kernel está basado en la nueva fuente de la Gingerbread China, sacada por Samsung el 18/11/2011. Los últimos cambios a la fuente fueron hechos por Samsung el 15/11/2011. [Habla de la fuente original del kernel, él ha hecho muchos cambios posteriores]Características del Kernel:
- Sin SOD (Screen of Death)
- Arreglado el bug de sincronización. Notificaciones para nuevos e-mails y mensajes deberían llegar dentro del minuto, bajo todas las circunstancias.
- ro.secure=0 (root acces through adb shell)
- smartassV2 governor by erasmux (default)
- interactivex governor by Mike Chan, modified by imoseyon
- ondemandx governor by Russell King, Venkatesh Pallipadi and Jun Nakajima, modified by imoseyon
- BFQ IO scheduler by Paolo Valente and Fabio Checconi (default)
- SIO IO scheduler by Miguel Boton
- deadline IO scheduler
- EXT4 support (Only in CF-Root .tar)
- Support for init.d scripts (Only in CF-Root .tar)
- Increased SD-card read ahead of 768 kb
- sysfs interface for variable overclock or underclock (all operating points [OPPs] can be adjusted seperately)
- Fifth OPP (1.2GHz) available, device booting up at stock speed (1 GHz)
- Total frequency control. The device will never run at higher speeds than defined by you, not even on WiFi.
- sysfs interface for voltages (read only at the moment)
- Slight undervolt (3%) on all OPPs
- Available with universal CF-Root by amit.bagaria (Only in CF-Root .tar)
Metodo de instalación:Si quieres usar el BCK, flasherlo directamente con ODIN en PDA sobre una ROM LIMPIA. Después de una actualización de kernel, por favor aguardar a que el dispositivo se inicie y reiniciar una vez más. Usualmente no es necesario limpiar el caché o una restauración de fábrica.Para cambiar de Governor o de I/O scheduler, usar el NoFrills CPU Control del Market. Es gratis y confiable.[para cambiar Governors también se puede usar el Set CPU (no I/O), para una explicación de los Governors ver: Explicación de GovernorsAtención: El Overclocking puede dañar su equipo.Overclocking instructions:For overclocking, you will need a shell on your phone, or adb access. I use Android Terminal Emulator. Overclocking is currently limited to certain frequencies (see below) and all operationg points will be set with the stock voltage of the corresponding stock frequency. The frequencies you set have to be within the following ranges:Code:OPP1: 100 – 500 MHz, stock 300 MHzOPP2: 501 – 700 MHz, stock 600 MHzOPP3: 701 – 900 MHz, stock 800 MHzOPP4: 901 – 1100 MHz, stock 1000 MHzOPP5: 1101 – 1500 MHz, stock 1200 MHz, not used by defaultRemember that your phone uses all operating points depending on the current load. Anything more than 10% higher than the highest stock frequency is likely to be unstable, but you are free to try it. To change the clocks, open Terminal Emulator (or type ‘adb shell’) and hack inCode:suecho “1100” > /sys/power/overclock_opp4as an example. The others are opp5, opp3, opp2 and opp1. That’s it.Settings will be lost at reboot, unless you add them to your init.d scripts. I do not recommend this, as this may cause boot loops if the settings are to high! Be advised that NoFrills CPU Control, SetCPU, or whatever app you use that may adjust clock settings interfers with this. You may wanna update their settings after this. I do not recommend using them to set anything at boot if you overclock any OPP, because they might save the wrong frequencies and crash or do worse.Changelog:beta 1:
- Added cpufreq governors
- Changed smartassV2 settings to fit i9003
- Added EXT4 support
- Smaller zImage due to .config changes
beta 3 (not released):
- Experimented with overclocking (not working, yet)
- Finetuned smartassV2 settings
- Made smartassV2 governor default
- Reverted: Smaller zImage due to .config changes
- Switched to linaro 4.6.2 toolchain (also used for ICS)
- Activated new, aggressive compiler optimizations (-O3)
- Added deadline IO scheduler
- Added BFQ IO scheduler (10% higher performance than CFQ in Antutu Database IO Benchmark. This does not mean, that the maximum read or write speed increase! It just means that the throughput under heavy load is higher.)
- Made BFQ IO scheduler default
- Updated all modules
- Variable overclock. Loosely based on the modifications of the Nook Color sources by dalingrin and of course with help from amit.bagaria and DooMLoRD.
- Variable overclock for all operating points
- Switched to universal CF-Root by amit.bagaria (BCK now should run on every recent GB ROM)
- Added correct version information in settings menu, credits to DooMLoRD
- Fixed cpufreq stats to correctly reflect frequency changes
- Increased SD-card read ahead to 768 KBytes. This results in higher SD-card read speeds.
- Major simplifications in overclocking code. Works more robust, now.
- Added sysfs interface to show voltages. See /sys/power/overclock_vdd_oppX
- Changed all voltages to the mainline Linux kernel defaults. This results in a slight 3% undervolt for each OPP, which saves about 5% power and should have no impact on stability whatsoever. Below you will find an overview of the exact voltages.
OPP1: 1.0250 V 1.0000 V
OPP2: 1.2000 V 1.1625 V
OPP3: 1.3300 V 1.3000 V
OPP4: 1.3875 V 1.3500 V
OPP5: not def. 1.3800 V
- OPP5 (1.2 GHz) now enabled in _1200 version of kernel. Thanks to knzo for pointing me to the right patch.
- Fixed video recording bug when running at 1.2 GHz
- Fixed power management issues at 1.2 GHz
- Small changes to smartassV2 and interactiveX settings
- Added simple IO (‘SIO’) scheduler
- Only one kernel version now, which includes OPP5 (1.2 GHz) but boots up at 1 GHz. Be advised that your device may nevertheless be running at 1.2 GHz for five to ten seconds at boot because of software limitations.
- Changes in PM to always respect cpufreq policy limits. From now on, the device will never run at higher speeds than defined by you, not even on WiFi. Based on anomapzoom.org patch.
- Changes to OPP switching code. May lead to less ‘hickups’. Based on an omapzoom.org patch.
- Bugfix for framebuffer code. Based on an omapzoom.org patch.
- Reduced IVA / DSP frequency when on OPP5 to be on the safe side.
- Reverted: Changes to OPP switching code. May lead to less ‘hickups’. (Patch caused random freezes using WiFi.)
- Reverted: Bugfix for framebuffer code. (Patch showed no noticeable benefits.)
- Fix for sync bug applied. If you still have problems, please report.
- This version is identical to beta 10rc14. No need to flash again, if you already are on that version.
- Updated universal CF-Root by amit.bagaria to version 9 (released 1st of February 2012), but NO touch recovery
- Slight increase in OPP5 voltage (1.38 V -> 1.40 V), may prevent some reported reboots on 1.2GHz
OPP5: not def. 1.4000 V
- Changes in overclocking code to play nice with your frequency settings. If you overclock OPP5 but have restricted freqs to 300 – 1000 MHz, it won’t automatically activate OPP5 anymore. The same is true for the lowest OPP.
If you overclock OPP4 above 1000 MHz and have restricted freqs to 300 – 1000 MHz, it will update the upper boundary to the new frequency of OPP4 so it doesn’t get deactivated.
- Fixed bluetooth problem with car audio systems (Based on omapzoom patches ,  and ). Might resolve other bluetooth issues, too.
- Universal CF-Root: Fixed bootanimation. Thanks to loSconosciuto.
- Universal CF-Root: Fixed install procedure. It will check the actual kernel version, now. Thanks to loSconosciuto.
- Universal CF-Root: Fixed fix_permissions script to work on our device. Thanks to loSconosciuto.
- Switched to user_defconfig, to avoid unnecessary debug lines in dmesg.
- Updated sources to GT-I9003_SWA_GB_Opensource_Update1 from the 30th of March. This also enables TUN support by default. You do not need any modules for this – it works “out of the box” with any VPN client.
- Universal CF-Root: Backup is not failing anymore when started from CWM. Thanks to loSconosciuto.
- Universal CF-Root: Some small improvements to multiple scripts.
- Home button double press issue fixed. There should be no more unwanted double selections in CWM and you can now reliably long press the home button to bring up the list of previously used apps. Idea and timer function taken from a patch by Tegrak.
- Fixed priority class for CONTENT_PROVIDER not being set, which may have caused apps of this class to be ignored by the autokiller, resulting in less free RAM.
- Lowered OMAP processor transition latency to the value recommended by TI. Subjectively, this brought huge improvements in terms of reducing micro stutters.
- Lowered CFS scheduler latency and granularity to values very close to mainline kernel defaults. This could reduce lags in some critical situations, but it doesn’t do wonders.
- Switched to SIO as default IO scheduler.
- Universal CF-Root: Replaced CWMManager and TweakManager with zipaligned files. Thanks to loSconosciuto.
- Universal CF-Root: The TweakManager is not replaced on install if it didn’t change to preserve it’s settings. Thanks to loSconosciuto.
- Universal CF-Root: Corrected problems because of too little free space in /system when converting to ext4 by permanently moving InfoAlarm.apk from /system/app to/data/app. Thanks to loSconosciuto.
- Universal CF-Root: Fixed the non-working WiFi on XXLE4 and prevented future problems. Instead of patching the WiFi modules, they are now replaced. Thanks to loSconosciuto.
- Universal CF-Root: Fixed some small mistakes in the CF-root install procedure.
- Switched the compression of ramdisk and kernel from gzip to lzma. This makes the files much smaller and allows us to include more ‘stuff’.
- Changed smartassV2 settings to wake up at lower frequencies. Further, it is not locked at 300 MHz anymore when the screen is off. Tests showed that free scaling is more battery friendly.
- Removed InteractiveX and OndemandX governors and added the Interactive governor by Mike Chan (Source: CyanogenMod Crespo kernel). Since free scaling proved to be more battery friendly, the screen off profiles in InteractiveX and OndemandX made them superfluous.
- The device will not scale above 1 GHz for some seconds when booting anymore. It’s now safe to use BCK even if your device can’t handle 1.2 GHz. Based on a patch by dalingrin.
- Changes in PM to respect cpufreq policy limits when playing or recording video. The device should respect your wishes under all circumstances, now
- Fixed the SmartReflex voltage calibration of the OMAP SoC for OPP5. This could lower power consumption as soon as OPP5 (1.2 GHz) is activated for the first time.
- Slight increase in the OPP5 nominal voltage (1.40 V -> 1.42 V) to allow for some adjustment by SmartReflex (now that it’s working…), if necessary. The actual voltage when the device is running will not change for most users! Based on patches by dalingrin and Sanjeev Premi.
OPP5: not def. 1.4200 V
beta 14 fix:
- Universal CF-Root: Fixed the non-ending row of force closes after flashing the Universal flavour of BCK. The clean XXKPQ version did not show these problems and didn’t need a ‘fix’.
- sysfs interface to actually change voltages
- Patches for multiple smaller issues
Credits go to the mentioned developers of the cpufreq governors, ganeshbiyer, skin1980 and amit.bagaria for the CF-Root and skin1980 for his repack script. Many thanks to DooMLoRD, amit.bagaria and knzo for their help! BCK sources are available on GitHub.The attached files for each kernel version are:
- ODIN-flashable PDA_BCK_XXKPQ_***.tar with stock Samsung ramdisk
- ODIN-flashable PDA_BCK_CF-root_universal_***.tar with CF-root ramdisk (untested)
Attached Files PDA_BCK_XXKPQ_beta9fix.tar – PDA_BCK_CF-root_universal_beta9fix.tar – PDA_BCK_XXKPQ_beta10.tar – PDA_BCK_CF-root_universal_beta10.tar – [Click for QR Code] (7.41 MB, 164 views)
Posteado por uan_ar