Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
romracer
Old
(Last edited by romracer; 15th November 2011 at 12:05 AM.)
#1  
romracer's Avatar
Recognized Developer - OP
Thanks Meter 1005
Posts: 456
Join Date: Apr 2010
Location: Kansas City

 
DONATE TO ME
Default [Unlocked Only][RECOVERY][2011-11-14] Custom CWM-based Recovery 5.0.2.7-photon3

This is a modified CWM-based recovery for the Motorola Photon 4G. It is based on my own custom code forked from the CyanogenMod team's recovery. The major changes I have made include full support for dual SD cards, support for webtop partitions (SD card and internal) and changes to Nandroid backup/restore for this phone's additional partitions.

Some highlights include:
  • Dual SD card support
  • ADB support
  • USB Mass Storage support
  • Nandroid additions/changes
  • ext3 formatting
  • Probably others

This recovery is only for UNLOCKED devices. It is intended to be flashed directly to the recovery partition.

UNLOCKED users can flash this recovery using:
Code:
moto-fastboot devices

moto-fastboot erase recovery

moto-fastboot flash recovery recovery-photon3.img
Example:
Code:
$ moto-fastboot devices
TA20700KXH      fastboot

$ moto-fastboot erase recovery
            erasing 'recovery'... OKAY [  0.741s]

$ moto-fastboot flash recovery recovery.img
  sending 'recovery' (4780 KB)... OKAY [  0.490s]
            writing 'recovery'... OKAY [  0.544s]
Quote:
This is posted in a DEVELOPER forum and is being released to help further the development of Android for the Motorola Photon 4G. I have NOT personally tested this on my phone and YOU assume full responsibility for any damage incurred to YOUR phone!
Quote:
I do NOT have a Motorola Photon 4G. I have based this recovery off the Photon kernel and Atrix resources as suggested by Calkulin. I do not SUSPECT there will be problems but again, I have NOT personally tested this on my phone and YOU assume full responsibility for any damage incurred to YOUR phone!

SPRINT USERS
Orange 5.0.2.7-photon3 / ZIP version.
MD5 0dc70209659fecbf7a2a01fe64b431af / a7fa2daf946557006931d33f3954e350
Cyan 5.0.2.7-photon3 / ZIP version.
MD5 440baa230638bd12dfd38b67977d3ac3 / 4da9f845f5d8ae0c37d0e1deaecd931c
Light green 5.0.2.7-photon3 / ZIP version.
MD5 b0791b6a4e0ea1a593d450518f309315 / f4afa4ca6f9616713ba436149df48c46
Dark green 5.0.2.7-photon3 / ZIP version.
MD5 5ef4862918169c1b4f9b0cbd60c70267 / 12acbe4adac62dc79e9a2b9ed1d0ea3b
Blue 5.0.2.7-photon3 / ZIP version.
MD5 cb1a4b2b48d18f535f5a3ce312e3ee81 / 53eee173392a8a821e45e8ddb1bbefd6
Red 5.0.2.7-photon3 / ZIP version.
MD5 f95a0adfb47ae2b995412b89d95f40fe / ca222e4891f756b5b4ad59fe06b6f0bf

Original ROM Manager/CWM installable zip thanks to SolidHelix. You must still be UNLOCKED and have already applied at least one version of this recovery via fastboot to use them.

Source is here.

A few notes:
  • The "osh" partition is webtop. It is the largest by far and will take some time to backup. Nandroid is not frozen!
  • The "sd-ext" partition is an ext2/3 partition on your external SD card. Veterans will know this as apps2sd and data2sd from other phones. I am not aware of any use of this partition on this phone yet.

Thanks to:
  • Koush and the CM team for CWM
  • Calkulin for pointing out the kernel
  • Everyone who has made unlocking the Photon possible
Samsung Galaxy S III



(old) Samsung Galaxy S2 Skyrocket
(old) Motorola Atrix 4G
(old) HTC Desire
(old) Google Nexus One
The Following 35 Users Say Thank You to romracer For This Useful Post: [ Click to Expand ]
 
romracer
Old
(Last edited by romracer; 15th November 2011 at 12:03 AM.)
#2  
romracer's Avatar
Recognized Developer - OP
Thanks Meter 1005
Posts: 456
Join Date: Apr 2010
Location: Kansas City

 
DONATE TO ME
** Changelog **

2011-11-14 (5.0.2.7-photon3):
  • Minor bugfix update mostly
  • ext4 experimental support
  • Added the ability to convert an ext3 partition to ext4 under advanced. Shouldn't break anything, but it is experimental

2011-09-23 (5.0.2.3-photon2):
  • Updated to CWR5 base source.
  • The blue version is now the new CWR5 color. Old blue is gone. New photos welcome! :)

2011-09-17 (4.0.1.5-photon1.3):
  • Added a verify option to the backup and restore menu.
  • Renamed internal SD card mount point to /emmc and external is now /sdcard (this is largely cosmetic).
  • Merged in miscellaneous fixes from the official CWM. Version 5 will be merged in once its ready.

2011-08-17 (4.0.1.5-photon1.2):
  • Changed fstab to ext3 since no kernel support yet

2011-08-17 (4.0.1.4-photon1.1):
  • Added 0MB option to ext3 partition size under External SD card partitioning which removes any ext3 partitions from the card (choose 0MB ext3/0MB swap to have only a FAT32 partition).
  • Added a red build to the mix.
  • Updated the update-binary in the CWM zips to be tailored for this phone.
  • Minor fixes to sdparted (log file related mostly).

2011-08-14 (4.0.1.4-photon1):
  • Initial release

Screenshots
Thanks to DarkSim2o9 for the following screenshots (these show an Atrix, but the color is identical):
Known Issues
  • I doubt ext4 support works due to no kernel support. Disabled currently. Added in -photon3.
  • Soft keys to use as navigation may not work due to the kernel.

Miscellaneous
If you'd like ROM Manager to see this recovery as "official" you can try XCellPhoneSalesRep's suggestion posted here.
Alternately, you can try dcarpenter85's suggestion here.
For issues with recovery not sticking, see here:
Quote:
Thanks to mrinehart93 for pointing this out.

The system runs /system/etc/install-recovery.sh on boot with the stock rom. On boot it checks the recovery partition for some update and with CWM installed decides to reflash the stock recovery over it. Rename or delete the file and the CWM should stick.
Old versions
You can browse and download old versions here.
Samsung Galaxy S III



(old) Samsung Galaxy S2 Skyrocket
(old) Motorola Atrix 4G
(old) HTC Desire
(old) Google Nexus One
The Following 15 Users Say Thank You to romracer For This Useful Post: [ Click to Expand ]
 
Custodian
Old
#3  
Senior Member
Thanks Meter 338
Posts: 1,953
Join Date: Feb 2011
Awsome!!!

Sent from my MB855 using XDA App
The Following User Says Thank You to Custodian For This Useful Post: [ Click to Expand ]
 
bricky23
Old
#4  
Senior Member
Thanks Meter 214
Posts: 1,429
Join Date: Apr 2010
Location: Akron
Sounds good. Will try.

Sent from my unlocked rooted Moho!
Sent from?
 
jglee311
Old
#5  
Senior Member
Thanks Meter 9
Posts: 105
Join Date: Sep 2010
Location: Raleigh, NC
This is what Calk posted earlier......right? I know it's yours, but not to be confused......just different colors...correct?
 
bricky23
Old
#6  
Senior Member
Thanks Meter 214
Posts: 1,429
Join Date: Apr 2010
Location: Akron
I like that there is a choice of colors. Well done!
Sent from?
 
the3rd
Old
#7  
Junior Member
Thanks Meter 2
Posts: 14
Join Date: Nov 2007
Awesome job. One question, how might one boot direct into the recovery from a full Power Off?
 
bricky23
Old
(Last edited by bricky23; 15th August 2011 at 03:52 AM.)
#8  
Senior Member
Thanks Meter 214
Posts: 1,429
Join Date: Apr 2010
Location: Akron
Quote:
Originally Posted by the3rd View Post
Awesome job. One question, how might one boot direct into the recovery from a full Power Off?
Hold down volume down and power till boot. Volume down till you see android recovery, then volume up.
Also, as aaron130 said you can use quick reboot from the market.
Sent from my unlocked rooted Mopho!
Sent from?
 
moonzbabysh
Old
#9  
moonzbabysh's Avatar
Senior Member
Thanks Meter 334
Posts: 754
Join Date: Jul 2008
Location: Mesa, AZ
Fricken Awesomeness

Sent from my Photon Blaster.
MoPho CM9 + ReloadedICS - MotoACTV Rooted/Rom'd - SGTab 10.1" (I/O LE) CM9
Don't forget to click if a Member's been helpful.

 
e240
Old
(Last edited by e240; 15th August 2011 at 03:49 AM.)
#10  
Senior Member
Thanks Meter 14
Posts: 272
Join Date: Feb 2011
ahhh this is what im getting..it seems fastboot isnt working for some reason even tho i just rooted..some help please


C:\AndroidSDK\tools\moto-fastboot>moto-fastboot devices

C:\AndroidSDK\tools\moto-fastboot>moto-fastboot erase recovery
< waiting for device >"

edit: nevermind got it working ..thanks!

 
Post Reply+
Tags
clockwork, cwm, gingerbread, photon, recovery
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...