Moto Hell - The Motorola Modding Community
October 04, 2024, 05:17:46 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: The forum is no longer active and registration is disabled; however you can still fetch everything as guest.
 
   Home   Help Facebook Search Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: [MILESTONE] Open Recovery v1.05 [05/07/2010]  (Read 6775 times)
ZduneX25
Horrors fan :)
Global Moderator
Lord of the mod
*****

Karma: 267
Offline Offline

Posts: 3063


I've missed something


View Profile WWW
« on: July 02, 2010, 10:32:12 am »

Open Recovery
Version: 1.05
Credit for mankind (from alldroid) for the CustomUpdate, on which this recovery is based,
credit for poseidon (also from alldroid) for ADBRecovery.



Features:
- rooting the phone from menu
- nandroid backup/restore from menu
- apply update *.zip files from menu (located in OpenRecovery/updates under the sdcard root folder, there is a sample one (just unpacks a file named "babble" to /system), no signatures are needed Smiley
- wipe data (factory reset)
- wipe cache
- adb in recovery
- run a script

Usage:
- reboot into recovery
- apply the update.zip
- you are now in open recovery

Installation:
- you need to have the recovery with exploit, download the SBF from here and flash it using RSD Lite 4.6: http://www.mediafire.com/?jzzjmmrvwkz
- unpack the file into the sdcard root folder

Changelog:
Version 1.05
Bugfixes
- fixed a bug in payload making it dependant on the system
- there is now nothing in the /system folder when unmounted
- toolbox linked statically
- busybox now installs symlinks, instead of copying itself
- fixed a bug in adb about the shell being in /sbin/sh instead of /system/bin/sh
- cleaned up, removed unecessary libraries and binaries
- switch.sh now initializes the Open Recovery completely, no other script is used for initialization
- permissions set correctly

Features
- added option to wipe
- menu's now have header (the menu file structure has been changed)
- added the possibility to run scripts, with .*sh extension located in scripts folder under OpenRecovery folder (shell is /sbin/sh or /sbin/bash)

Version 1.02
- fixed root installation



Download:
http://rapidshare.com/files/384651780/OpenRecovery_v1_05.rar.html

============================================================================================================================

The recovery contains an update.zip with payload, which doesn't do anything else than restarts to the open recovery. All the files for OpenRecovery are under the OpenRecovery folder under the root of the sdcard.

The menu for the Recovery is created dynamically, the files are under OpenRecovery/menu under the root of the sdcard. The creation of the menu file is slightly different as in the CustomUpdate by mankind:
First line is the menu name (normal string), then use the following structure:
"item name:type:argument"
- item name is what is seen in the menu
- type: type of the command (described later)
- argument: argument passed to the command (file, or anything else; if empty, put "*" there, otherwise the item will be discarded)

The payload installs busybox to /sbin runs the "switch.sh" under the bin folder in open recovery. The initial menu file is in OpenRecovery/menu/init.menu under sdcard root.

commands:
- reboot: reboots the phone
- init: calls a file specified in arguments, but doesn't create a menu item (this is used to create the submenus dynamically)
- shell: calls a file specified in arguments
- menu: opens another menu file (specified in argument)
- update: applies an update *.zip file, specified in argument (format SDCARD:$path_to_the_file_in_sdcard)
- clear_data: factory reset
- clear_cahce: wipe cache

Source:
http://rapidshare.com/files/384653135/OpenRecovery_v1_05_src.tar.bz2.html

(The module name is "open_recovery".)
Logged

Z.d.u.n.e.X's Stuff: Personal Site | My skins
Pages: [1]   Go Up
  Print  
 
Jump to:  

Design By Forum Hosting
Powered by SMF 1.1.21 | SMF © 2015, Simple Machines