Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
View Poll Results: Is this MOD helpful?
Yes 407 93.56%
No 28 6.44%
Voters: 435. You may not vote on this poll

Post Reply

[MOD] [Update:5/5/2011] BootMenu - Recovery, 2nd Init , v0.5.1

OP ksubedi

8th April 2011, 04:30 AM   |  #1  
ksubedi's Avatar
OP Recognized Developer
Flag Boulder, CO, US
Thanks Meter: 1,108
 
271 posts
Join Date:Joined: Nov 2010
Donate to Me
More
NOTICE: Sorry Guys, As i lost my defy, i will not be able to work for defy anymore So i will not be able to maintain this thread as well. Racca is maintaining another thread with updates for this bootmenu here which can now be called the official thread.

Hello XDA,

[Notice: You might have checked my signature and already figured out that i lost my Motorola Defy So i will be no longer able to develop anything for defy. I will not be able to edit the boot menu and optimize it, but i will still post all the updates i get from Korean Developers. I am sorry to say that i will not be able to work on porting MiUi to Defy anymore. I hope some other developer will handle the work and port MiUi to Defy. Just reply to this thread if you have anything. Thank You]

This is a pre-boot menu that loads just before the android system starts, which allows you to enter recovery, start adb daemon, run 2nd init script, run 2nd boot and few more. I recently changed the format of this post so that i can easily add updates, and i hope you guys don't mind it, and if you want to check the old post, here is the link. I have also added an unofficial changelog. This MOD was developed by Korean Developers at http://cafe.naver.com/androiders, so big thanks goes to them.

Status: Beta
Latest Version: v0.5.1

Last Update: 4/16/2011

Usage:
  • Load second init.rc file which enables you to do a lot of things that were not possible before.
  • Load custom recovery before booting os, which makes it possible to restore your nandroid backup or flash a new rom even if your system is not booting.
  • Run ADB Daemon to debug system boot using logcat or similar tools, very useful for developers.
  • Change the default boot to 2nd init, so you can load the 2nd init on default boot.
  • And much more....
Download:
  • Version 0.5.1 (Latest)
  • Version 0.5.0
  • Version 0.4.5
  • Version 0.3.1
  • Version 0.2.0
XDA-Developer Forum Members, Download Latest Attached File, Non-Members, Click Here.

Upgrading:

  • Simply follow the installation instructions, it will overwrite the old version and install the new one.

Installation:
  • Download the latest zip file.
  • Create a folder “bootmenu” on your sd card and extract all the files inside the zip file there.
  • Turn on usb debugging on your phone. And use the following commands in adb:
    Quote:

    C:/> adb shell
    $ su
    # cp -R /sdcard/bootmenu /data/bootmenu
    # cd /data/bootmenu
    # chmod 755 *
    # ./install.sh
    # rm -R /data/bootmenu

  • The bootmenu will be installed.
  • Turn off USB Debugging.
  • Restart your device once.
  • Check the Using "Pre Boot Menu" section for instructions on how to use.
Using Pre Boot Menu:
  • Turn your phone off.
  • Press the Power Button.
  • After 1-10 seconds, the blue led on your phone will light up for just 1.5 seconds (Still while the Motorola logo is being displayed).
  • Exactly when the led lights up, press the volume down button.
  • You will see the BootMenu, use the Volume Button to navigate up and down, and the power button to select an item.
Changelog:

Version 0.5.1
  • Bug Fixes
  • Minor Internal Script Changes
Version 0.5.0
  • Bug Fixes
  • Few Changes In UI (Background)
  • Updated All Scripts, Better Compatibility With Most ROMS
  • Changed Directory Structure
Version 0.4.5
  • Bug Fixes
  • Changed Name Of OpenRecovery To Custom Recovery
  • ADB Daemon Works Now
  • Few Minor Changes...
Version 0.3.1
  • Replaced Tenfar's Recovery With OpenRecovery
  • Added 2nd Init Script
  • Bug Fixes
  • Minor UI Enhancements
Version 0.2.0
  • Initial Release
  • Added BootMenu
  • Added Tenfar's Recovery
What Works:
  • BootMeu
  • ADB Daemon
  • 2nd Init
  • Custom Recovery
  • Default Recovery
  • Setting 2nd Init As Default
  • Reboot
  • Normal Boot
What Doesn't Work:
  • 2nd Boot (Can Be Done Via 2nd Init Though)
Credits:
  • Korean Developer "ohnholic" and Other Korean Developers for creating this
  • Korean Forum User "intohim" for providing me this file and helping me translate Korean things to English.
  • Korean Forum User "고봉현" for mailing me about the updates as soon as they are released, and also for providing some files.
  • XDA Developer "tenfar" for his ClockWorkMod Port To Defy.
  • Developer "Koushik Dutta" for ClockWorkMod.
  • XDA User "pedrodh" for creating an easy installer.
  • And everyone i forgot to mention....
Related Projects:
P.S. I do not take any responsibilities for the damages caused by this tool. If you brick your device, the most i can do is *help* you recover your system. So use it on your own. Works on my phone.
Last edited by ksubedi; 6th May 2011 at 03:32 AM.
The Following 43 Users Say Thank You to ksubedi For This Useful Post: [ View ]
8th April 2011, 04:37 AM   |  #2  
Senior Member
Flag Recife
Thanks Meter: 157
 
375 posts
Join Date:Joined: Sep 2009
Donate to Me
More
This will be impressive when 2nd-init works.

Thanks for everyone working in things like that!!

P.S. It's working here!
Last edited by psicodelico; 8th April 2011 at 05:58 AM.
8th April 2011, 04:41 AM   |  #3  
Member
Flag CA Los Angeles
Thanks Meter: 6
 
82 posts
Join Date:Joined: Jul 2009
More
does this mean custom kernels? once it gets figured out?
8th April 2011, 04:46 AM   |  #4  
ksubedi's Avatar
OP Recognized Developer
Flag Boulder, CO, US
Thanks Meter: 1,108
 
271 posts
Join Date:Joined: Nov 2010
Donate to Me
More
Quote:
Originally Posted by mussio

does this mean custom kernels? once it gets figured out?

Well, not right now, but once the korean developers figure out a way to bypass the recovery signature verification, which is of course, not easy, we will be able to do that too. And according to what i kknow, the korean devs are working really hard on that. But this definitely means that we are one step closer.
8th April 2011, 05:27 AM   |  #5  
Member
Flag CA Los Angeles
Thanks Meter: 6
 
82 posts
Join Date:Joined: Jul 2009
More
So for now this makes flashing Roms easier? safer? sorry if i seem confused i'm not getting my Defy till Monday just want to clarify if i should flash Roms this way or follow directions dor each rom, all this sbf files and being able to downgrade is kinda confusing I never had a android phone with a locked bootloader so all this is new to me.

hope that makes sense.
8th April 2011, 05:36 AM   |  #6  
ksubedi's Avatar
OP Recognized Developer
Flag Boulder, CO, US
Thanks Meter: 1,108
 
271 posts
Join Date:Joined: Nov 2010
Donate to Me
More
Quote:
Originally Posted by mussio

So for now this makes flashing Roms easier? safer? sorry if i seem confused i'm not getting my Defy till Monday just want to clarify if i should flash Roms this way or follow directions dor each rom, all this sbf files and being able to downgrade is kinda confusing I never had a android phone with a locked bootloader so all this is new to me.

hope that makes sense.

Well, this doesnt really make flashing roms easier (its same recovery), but it definitely makes it safer as you can always restore your nandroid or flash another rom even if your phone stops booting. And i can totally understand you, the way motorola works is a bit different than HTC and other phones, sbfs and stuff like that, but dont worry, if you read the guides here -> http://forum.xda-developers.com/showthread.php?t=919334 , you will understand everything. Enjoy
The Following User Says Thank You to ksubedi For This Useful Post: [ View ]
8th April 2011, 07:28 AM   |  #7  
m11kkaa's Avatar
Recognized Contributor
Thanks Meter: 1,473
 
984 posts
Join Date:Joined: Jan 2011
Donate to Me
More
That are very great news!!
Does I have to install this after every new firmware-flash or only after a bootloader up/downgrade?
Last edited by m11kkaa; 8th April 2011 at 07:33 AM.
8th April 2011, 07:49 AM   |  #8  
marhensa's Avatar
Senior Member
Flag Yogyakarta, Indonesia
Thanks Meter: 1,150
 
1,950 posts
Join Date:Joined: Dec 2010
More
wow... great news..
now we don't have to boot up the phone, and install custom recovery.
saving time
8th April 2011, 08:14 AM   |  #9  
antony.ps's Avatar
Senior Member
Flag Florianópolis
Thanks Meter: 250
 
380 posts
Join Date:Joined: Feb 2011
More
Can't wait to see custom kernels
8th April 2011, 08:46 AM   |  #10  
Senior Member
Thanks Meter: 18
 
120 posts
Join Date:Joined: Dec 2010
"intohim" what a great nick... hahahahahaha!
sorry, great news & big props to the korean devs!

Post Reply Subscribe to Thread

Tags
2nd init, boot menu, defy, recovery
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes