Jump to content


[OLED+TFT] 30/Nov 2.5.1.3: ClockworkMod Recovery

- - - - -

  • Please log in to reply
421 replies to this topic

#61
fradleyp

fradleyp

    Enthusiast

  • MoDaCo Ad Free
  • PipPipPip
  • 261 posts
  • Location:Manchester
  • Devices:ZTE Blade

View Postflibblesan, on Oct 6 2010, 20:18, said:

Instructions are written by Paul on the first page of this thread.

sorry mate just re read, didn't see it first time round

ZTE Blade OLED
Clockwork recovery
CM7
Converted Gen2

#62
fradleyp

fradleyp

    Enthusiast

  • MoDaCo Ad Free
  • PipPipPip
  • 261 posts
  • Location:Manchester
  • Devices:ZTE Blade
sweet backing up now, I love stuff like this. Can't wait for my 16GB to arrive.

so in future R's would I just select load update.zip?

ZTE Blade OLED
Clockwork recovery
CM7
Converted Gen2

#63
flibblesan

flibblesan

    The Grumpy Man of Modaco

  • Assistant Admin Team
  • PipPipPipPipPipPip
  • 5,458 posts
  • Gender:Male
  • Location:Nottingham
  • Devices:Huawei G510
  • Twitter:@flibblesan

View Postfradleyp, on Oct 6 2010, 20:32, said:

sweet backing up now, I love stuff like this. Can't wait for my 16GB to arrive.

so in future R's would I just select load update.zip?

Yep thats the plan  :)


#64
fradleyp

fradleyp

    Enthusiast

  • MoDaCo Ad Free
  • PipPipPip
  • 261 posts
  • Location:Manchester
  • Devices:ZTE Blade
That is very cool, if we could get froyo this phone would be the dogs dangly bits

ZTE Blade OLED
Clockwork recovery
CM7
Converted Gen2

#65
Fransis.co

Fransis.co

    Newbie

  • Members
  • Pip
  • 37 posts
  • Devices:San Fransisco

View Poststuartmc, on Oct 6 2010, 19:40, said:

After I try the Dell Streak recovery do I need to go through the fastboot (power on and volume up at the same teime etc) sequence again to reinstall/flash the clockwork recovery boot routine.

It would appear not.
I installed RomManager and made a backup after flashing the Clockwork Recovery. Just ignore the `must have Clockwork` message and make a backup.
Back into RomManager, select the Streak backup and exit.
Going back into RomManager I was able to Select/Manage my previous backup made earlier today.

Saves flashing the Clockwork twice.

Francis.co


#66
rjm2k

rjm2k

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,096 posts

View PostFransis.co, on Oct 6 2010, 21:17, said:

It would appear not.
I installed RomManager and made a backup after flashing the Clockwork Recovery. Just ignore the `must have Clockwork` message and make a backup.
Back into RomManager, select the Streak backup and exit.
Going back into RomManager I was able to Select/Manage my previous backup made earlier today.

Saves flashing the Clockwork twice.

Francis.co
Did you already have a clockwork directory on the sd from a previous phone?

If the file is still needed it should be possible to just create it rather than installing a wrong recovery first

Name
/sdcard/clockworkmod/.settings

Contents
{"is_clockworkmod":true,"current_recovery_version":"2.5.0.1","readonly_recovery":false,"recovery_timestamp":1286383549874,"detected_device":"streak","reboot_recovery":""}


#67
Fransis.co

Fransis.co

    Newbie

  • Members
  • Pip
  • 37 posts
  • Devices:San Fransisco

View Postrjm2k, on Oct 6 2010, 21:21, said:

Did you already have a clockwork directory on the sd from a previous phone?

If the file is still needed it should be possible to just create it rather than installing a wrong recovery first

Name
/sdcard/clockworkmod/.settings

Contents
{"is_clockworkmod":true,"current_recovery_version":"2.5.0.1","readonly_recovery":false,"recovery_timestamp":1286383549874,"detected_device":"streak","reboot_recovery":""}

No, I didn`t have a  previous clockwork directory.
Your right, must be a better way than to install a ghost recovery. I`m new to all this.  :)

Fr.


#68
rjm2k

rjm2k

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,096 posts

View PostFransis.co, on Oct 6 2010, 21:17, said:

It would appear not.
I installed RomManager and made a backup after flashing the Clockwork Recovery. Just ignore the `must have Clockwork` message and make a backup.
Back into RomManager, select the Streak backup and exit.
Going back into RomManager I was able to Select/Manage my previous backup made earlier today.

Saves flashing the Clockwork twice.

Francis.co

I missread, so you are sayins you flashed clockwork (for streak) through rom manager and then did a backup using that version?  I guess that's possible, I assume the list of recoveries rom manager gives you is somehow based on a match of some kind based on your hardware.  You probably wouldn't be able to boot directly into that recovery and use it though


#69
Fransis.co

Fransis.co

    Newbie

  • Members
  • Pip
  • 37 posts
  • Devices:San Fransisco
No, t`other way `round.
Flashed the Blade Clockwork Recovery -
Installed RomManager -
Made a Recovery backup -
Installed the Streak Recovery -
RomManager now gives access to the Recovery (Blade) backup made earlier.

I haven`t tried a recovery from the SDCard, do you think it would work ?

Fr.

Edited by Fransis.co, 06 October 2010 - 09:03 PM.


#70
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 35,530 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien

View Postrjm2k, on Oct 6 2010, 19:01, said:

more good news, we have a boot key sequence!

ftm mode now gives us recovery but the keys dont work, something paul can fix i hope, power on and vol -

enjoy
Good call, I reckon I can do something with this! :)

P

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#71
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 35,530 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
Hmm, the system is definitely going into some kind of special mode (no keypad, no USB) on powering on with volume down pressed... could be challenging to make it do anything useful.

P

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#72
rjm2k

rjm2k

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,096 posts

View PostPaul, on Oct 7 2010, 09:18, said:

Hmm, the system is definitely going into some kind of special mode (no keypad, no USB) on powering on with volume down pressed... could be challenging to make it do anything useful.

P

If you can detect this FTM mode, can you then do a reboot into proper recovery?

alternatively

Is the SD there, if so then it could be used for some kind of last chance disaster recovery if you can detect this mode, eg flash any MCRi image which is on the sd card, maybe even a boot image too?  Maybe from a seperate /sdcard/disaster  directory

The biggest issue that a boot key sequence into recovery helps with is when you can't boot normally and haven't got access to a pc like when you are on holiday, the options above might help with that and at least get you in a position where you can restore a backup.

Edited by rjm2k, 07 October 2010 - 08:35 AM.


#73
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 35,530 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
Yeah, and therein lies the problem, detecting FTM mode. :)

P

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#74
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 35,530 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
For now i'm trying to determine whether I can just always reboot into recovery, but even that is proving troublesome atm...

P

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#75
rjm2k

rjm2k

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,096 posts

View PostPaul, on Oct 7 2010, 09:54, said:

For now i'm trying to determine whether I can just always reboot into recovery, but even that is proving troublesome atm...

P

can you do it by testing how many usb devices are there, or if the usb controller device is there etc?

I guess if sd is there then whether or not you have booted into proper recovery you can write a file out and force boot into what you know is proper recovery, detect/remove the file and not force a reboot again?

ie

FTM Mode
if not file exists then
  create file
  reboot recovery
else 'should never be hit in ftm mode
remove file
carry on
endif

proper recovery Mode
if not file exists then 'hit 1st time into recovery
  create file
  reboot recovery
else 'hit 2nd time into recovery and 1st time into recovery after ftm
remove file
carry on
endif

Edited by rjm2k, 07 October 2010 - 09:24 AM.


#76
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 35,530 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
DONE IT!

New version coming later today.

*pats self on back*

:)

P

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#77
rjm2k

rjm2k

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,096 posts

View PostPaul, on Oct 7 2010, 10:29, said:

DONE IT!

New version coming later today.

*pats self on back*

:)

P

great, what was the solution?


#78
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 35,530 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
Writing a temporary custom recovery that dumped the contents of /sys to a file, running it 'volume' down, running it 'normally', comparing the 2 files to find the difference in the 'volume down' start, then modifying the recovery startup script to 'reboot recovery' if it detects it's in that mode.

Huzzah! :)

P

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#79
rjm2k

rjm2k

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,096 posts

View PostPaul, on Oct 7 2010, 10:34, said:

Writing a temporary custom recovery that dumped the contents of /sys to a file, running it 'volume' down, running it 'normally', comparing the 2 files to find the difference in the 'volume down' start, then modifying the recovery startup script to 'reboot recovery' if it detects it's in that mode.

Huzzah! :)

P

interesting, I wonder where the different /sys comes from, another ramdisk hidden away for FTM mode?  wonder if it's the mystery "oem"/"persist" partition?


#80
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 35,530 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
No, that comes from the kernel...

P

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users