Boot Manager for Xperia 2011 devices based on ClockworkMod recovery source.
Credits and special thanks to Koush and everyone else involved in Cyanogenmod project!
[ info ]
The bootmanager will reside on the main kernel of the device and will provide u with access to multiple recoveries! This is a continuation of my work from Xperia X10 BootManager, that is why the version number begins from 2.0 .
ONLY FOR UNLOCKED BOOTLOADERS
[ credits / special thanks ]
Koush - for the brilliant work & coding on CWM recovery
Napstar - for doing most of the work on Touch capabilities for CWM recovery
zdzihu - for xRecovery v1.0.0 sources! (this is based on modified xRecovery v1.0.0 sources)
Keypress based entry - based on the keypress u can select which recovery u want to boot into (more info below)
Theme support! - I know that most of u like to theme every aspect of the device, so I thought why not have this for BootManager! (more info below)
on-screen TouchBased navigation buttons!
Execute Custom Script ability - this will allow devs/modders/users to execute custom scripts right from BootManager (more info below)
adb is active in BootManager and sdcard is automounted at /sdcard
Build time-stamp & Current kernel info displayed at startup! - this should be helpful for users to identify which kernel is currently on the device
soft reboot for all recoveries! - say u hit some option in a recovery by mistake (e.g.: start nandroid backup) or if any of the recoveries freezes/crashes then u can hit the POWER button anytime to do a soft reboot (the device WONT reboot, only the active recovery will be killed and restarted) to restart the particular recovery
[ WARNING ]
PLEASE TAKE BACKUP OF SDCARD BEFORE TESTING
[ LIMITATIONS ]
currently we CANNOT flash FTF OR kernel.sin OR boot.img using any recovery, only option is to use FLASHTOOL
[ how to use? ]
when u see the BLUE LED light up keep pressing BACK key & u will enter BootManager
Official CWM5 Recovery (Thanks to FreeXperia Team)
My modCWM-v4 CWM5 Recovery is the default recovery, i.e. "Reboot into Recovery" action from any app/ROM Manager will take u straight into this default recovery.
how to run a specific version of recovery at boot?
Here are affected keys you can press at boot :
(FOR ARC)
BACK : BootManager MENU : Full Touch CWM5 Recovery (by my Team UtterChaos) VOLUP : My modCWM-v4 CWM5 Recovery VOLDN : Official CWM5 Recovery (Thanks to FreeXperia Team)
(FOR PLAY)
BACK : BootManager SEARCH : Full Touch CWM5 Recovery (by my Team UtterChaos) PAD-L : My modCWM-v4 CWM5 Recovery PAD-R : Official CWM5 Recovery (Thanks to FreeXperia Team)
the PAD-L/PAD-R are the big buttons flanking the volume buttons
IF U PLAN TO USE THIS WORK IN UR OWN KERNEL THEN SEND ME A P.M. ON XDA!
[ donations ]
if u feel that this work has helped u OR u think that the work i put into making this is worthy of donations, then click on the following link for buying me some coffee/beer/etc
[v22 onwards] added Fugeswap to lowmemorykiller (thanks to LeeDroid-)
[v22 onwards] removed GPU overclock
[v22 onwards] bootup CPU frequency fix-up now at kernel level so no more need for having two separate versions of same kernels (1.6 GHz and 2.0 GHz), both are now merged into one
[v22 onwards] merged 4.0.2.A.0.58 & 4.0.2.A.0.62 FW kernel sources (not really any major changes)
[v21 ] testing GPU OC
[v21 onwards] reverted back to 2.6.32.9 stable sources
[v20-BootManger-v2 ] test kernel with 2.6.32.58 upstream patches
[v19-BootManger-v2 onwards] added BootManager v2.0 to kernel ramdisk
[v19-BootManger-v2 onwards]increased dedicated GPU memory to 4MB (initially 2 MB)
[v18-FIX1-modCWM-v5 onwards]fixed busybox issue - if the user has installed busybox in /system/xbin/ then that busybox will be given preference over busybox at /sbin/
[v15 onwards] added SLQB memory allocator (and set it as default)
[v15 onwards] added TinyRCU along with fixes (and set it as default)
[v15 onwards] bumped BFQ to v2-r1
[v15 onwards] added Stochastic Fair Blue Net scheduler
[v15 onwards] bumped jHASH to v3
[v15 onwards] increased VM max readahead to 512kb
[v15 onwards] some patches to fix kernel memory leaks
[v15 onwards] minor fix to display the kernel version info correctly in "About Phone"
[v15 onwards] added some mounting tweaks
[v15 onwards] added support for bootsounds (currently broken on stock rom but same code works perfectly on CM7 so i will work more on this later)
[v15 onwards] added some tweaks for sdcard performance, Virtual Memory teaks, task killer tweaks
[v15 onwards] added support for userinit scripts:
if sd-ext is mounted then it will execute /sd-ext/userinit.sh & shell scripts in /sd-ext/userinit.d/ folder
also scripts in /data/local/ will be executed... it will execute /data/local/userinit.sh & shell scripts in /data/local/userinit.d/ folder
[v14 onwards]minor changes in my modified CWM recovery (modCWM-v3)
[v14 onwards] major cleaning of kernel sources (cleaned defconfigs using FXP defconfigs as reference)
[v14 onwards] TESTING: reverted some changes in kernel sources to older FW kernel sources to test if the issue of increased battery drain is resolved
[v14 onwards] compiled using newest gcc-4.6.2-(2011.10) linaro toolchain with O4 optimizations
[v14 onwards] changed kernel version string to "-DooMKernel" (will require specific modules)
[v13-modCWM-v2 onwards]few changes in my modified CWM recovery
[v13-modCWM-v2 onwards] shifted to 4.0.2.A.0.42 ramdisk (should solve some issues faced by users)
[v13 onwards] shifted to 4.0.2.A.0.42 kernel sources
[v13 onwards] now using my own modified version of CWM recovery with "Fix Permissions" and "Partition SDcard" support and some cleanup in menu (for ease of use)
[v12 onwards] shifted to 4.0.2.A.0.9 kernel sources
[v12 onwards] removed undervolting, now using stock kernel voltages (will improve stability on all devices)
[v12 onwards] modified recovery to support /sd-ext backup/restore(remember /sd-ext has to be the 2nd partition on ur sdcard [mmcblk0p2] for this to work)
[v12 onwards] corrected issues "high lcd brightness when in recovery"
[v11 onwards]new DooMKernel Logo - thanks to pvyParts (and thanks to Flava0ne for fixing it for Xperia 2011 line)
[v11 onwards] cool button-backlight notification to tell u when to spam keys for entering recovery [only spam the button when u see the backlight active]
[v11 onwards] now supports Xperia ARC S too!
[v11 onwards] updated recovery to CWM v5.0.2.6 FreeXperia Team
[v11 onwards] added lower voltages (more undervolt) new voltage table
[v11 onwards] added new Max frequency: 2.0Ghz
[v11 onwards] added FULL USB-OTG support! [Keyboard + Mouse + USB-Storage] (no need to use any modules anymore ) [for exact usb-storage mounting commands refer to this thread: http://forum.xda-developers.com/show...php?t=1224676]
[v11 onwards] updated integrated SuperUser app to v3.0.5
[v10 onwards] compiled using toolchain gcc-4.4.3 (might improve kernel performance)
[v09 onwards] added new bootup CPU thresholding, device will no longer jump to max freq for initial few seconds (might help some device who have booting issues)
[v09 onwards] improved init.d support, now scripts in /system/etc/init.d will automatically be given correct permissions and be executed (this will not correct/fix the errors which might be inherently present in the script)
[v09 onwards] corrected VDD control to show only those frequencies which are enabled in CPU-freq table
[v08 onwards] added new logo!! Thanks to soheil_rf
[v07 onwards] added lots of intermediate frequencies (from 122Mhz to 1.9Ghz for almost every 100/120Mhz there is a select-able frequency)
[v06 onwards] updated recovery related scripts to resolve mounting issue
[v06 onwards] added cpu freq thresholds to throttle CPU speeds to stock values when inside recovery
[v06 onwards] corrected adb issues (in both OS & recovery)
[v06 onwards] added lots of intermediate frequencies
[v05-FIX onwards] updated recovery related scripts to resolve mounting issue
[v05-FIX onwards] added cpu freq thresholds to throttle CPU speeds to stock values when inside recovery
[v05 onwards] updated recovery to CWM v4.0.1.4 FreeXperia Team [it is recommended to use v05-FIX and above]
[v05 onwards] {ramdisk tweak} /sd-ext also symlinked to /mnt/sd-ext
[v05 onwards] enabled SWAP support
[v05 onwards] enabled CDROM filesystem support in kernel (now u can mount ISO files)
[v04 onwards] enabled a few I/O Schedulers
noop
Anticipatory
Deadline (default)
CFQ
[v04 onwards] enabled ARM THUMBEE extensions
[v03 onwards] added new LOGO... no more boring SE TEXT logo
[v02 onwards] under/overclocked from 128Mhz to 1.862Ghz [NOT UNDERVOLTED] (for sake of safe booting the device will always boot at min 245Mhz / max 1024Mhz)
[v02 onwards] init.d scripts/binaries execution support
[v02 onwards] enabled support (in kernel) for many file systems
EXT2
EXT3
EXT4
NTFS (Read & Write)
[v02 onwards] enabled NFS (client & server) support in kernel
[v02 onwards] enabled CIFS support in kernel
[v02 onwards] enabled access to kernel .config (can be pulled from /proc/config.gz)
[v02 onwards] enabled TUN/TAP driver support (integrated in kernel) [VPN support]
[v02 onwards] USB-OTG support (already enabled in SE FW)
[v01 onwards] autorooting (prerooted)
kernel is insecure (ro.secure=0)
su binary & superuser.apk will automatically be installed by kernel (thanks to Bin4ry for posting the file RootXperia.zip; i have used the superuser files from his zip)
busybox already installed in /sbin/
[v03 onwards] busybox will get copied to /system/xbin/ if its not present there
adb server is persistent
usb debugging enabled
rootfs and /system mounted as rw (thank you Blagus for the tip )
[v01 onwards] CWM recovery (Thanks to FreeXperia team)
enabled IPTABLES/NETFILTER support
[ NOTICE ]
since i have changed the kernel version string stock wifi modules will no longer work on my kernel...
if u try to enable them on new kernel (v14 onwards) u will get "ERROR" while starting WIFI...
i will be providing modules for my kernel which HAVE TO BE FLASHED VIA RECOVERY for wifi/bt (and other things) to work correctly
stock modules will also be provided which again will have to be flashed via recovery if u want to return to stock kernel OR if u revert to older v13 or lower kernels
remember i have already told this to u guys... if i see some users reporting that wifi is giving error because u did not follow my instructions ur post WILL BE IGNORED....
save the boot.img in the folder with fastboot binaries (fastboot.exe files)
save the modules update.zip to sdcard (on phone)
power down device
start device in fastboot mode
use the following command to flash the boot.img
Code:
fastboot flash boot boot.img
reboot phone and enter recovery
flash the wifi modules update.zip for my kernel
reboot phone and enjoy the kernel
[ how to get back to stock kernel OR older versions of my kernel (v13 and lower) ]
download the stock modules update.zip
extract the kernel.sin (or boot.img if u want to flash my older kernels) file from the stock FTF u used to flash this fimware
save the kernel.sin (or boot.img if u want to flash my older kernels) in the folder with fastboot binaries (fastboot.exe files)
save the modules update.zip to sdcard (on phone)
reboot phone and enter recovery
flash the stock modules update.zip
power down device
start device in fastboot mode
use the following command to flash the kernel.sin (or boot.img if u want to flash my older kernels)
Code:
fastboot flash boot kernel.sin
reboot phone and thats it u should now be on stock kernel (or my older kernel)
FOR OVERCLOCKING
start SetCPU/NoFrills CPU Control app on ur Arc (or any other app which supports overclocking) (u may get a popup asking for SuperUser permissions, click ok/yes/allow)
now slowly increase the MAX slider to the right (one notch at a time) to increase the maximum frequency limit
DO NOT JUMP TO THE LAST POSSIBLE FREQUENCY
SLOWLY increase the frequency one notch at a time and do stability/testing for few hours
if u feel that this work has helped u OR u think that the work i put into making this is worthy of donations, then click on the following link for buying me some coffee/beer/etc
hey guys here i am attaching a template update.zip which has been tested to work on the recovery provided here... u can add ur stuff to that file and edit the updater-script so that the u can flash ur files via this recovery...
basically it contains the correct combination of update-binary & mounting syntax...
this file is NOT required for normal/general users
[ARC/ARC S] DooMKernel (v18) (FW: .42/.58/.62)[ 1.6Ghz version ](alternate version [will show up as 1018] to be used if th 2.0ghz kernel doesnt boot) [ MD5HASH: 96726bb1b5fc72b62ad86921565e5157 ]
[ARC/ARC S] DooMKernel (v17) (FW: .42/.58/.62)[ 1.6Ghz version ](alternate version [will show up as 1017] to be used if th 2.0ghz kernel doesnt boot) [ MD5HASH: eff6736d07f1c7912bdb19c198642d4c ]
[ARC/ARC S] DooMKernel (v14) (FW: 4.0.2.A.0.42)[ 1.6Ghz version ](alternate version [will show up as 1014], to be used if the 2.0Ghz version doesnt boot) [ MD5HASH: 33cc5a718a8dc7623cc75932cfccf5ae ]
[ARC/ARC S] DooMKernel (v13) (FW: 4.0.2.A.0.42)[ 1.6Ghz version ](alternate version [will show up as 1013], to be used if the 2.0Ghz version doesnt boot) [ MD5HASH: 0cbc83cd9dddf5ad70878902265b0108 ]
Given the amount of coverage that Android receives around here, you could almost be … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?