FORUMS
Remove All Ads from XDA

[Unlocked Only][RECOVERY][2011-11-14] Custom CWM-based Recovery 5.0.2.7-photon3

715 posts
Thanks Meter: 4,361
 
By romracer, Senior Member on 15th August 2011, 12:26 AM
Post Reply Email Thread
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
The Following 35 Users Say Thank You to romracer For This Useful Post: [ View ] Gift romracer Ad-Free
 
 
15th August 2011, 12:26 AM |#2  
romracer's Avatar
OP Senior Member
Flag Kansas City
Thanks Meter: 4,361
 
Donate to Me
More
** 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.
The Following 15 Users Say Thank You to romracer For This Useful Post: [ View ] Gift romracer Ad-Free
15th August 2011, 12:45 AM |#3  
Senior Member
Thanks Meter: 417
 
More
Awsome!!!

Sent from my MB855 using XDA App
The Following User Says Thank You to Custodian For This Useful Post: [ View ] Gift Custodian Ad-Free
15th August 2011, 12:56 AM |#4  
Senior Member
Akron
Thanks Meter: 378
 
More
Sounds good. Will try.

Sent from my unlocked rooted Moho!
15th August 2011, 01:36 AM |#5  
Senior Member
Flag Raleigh, NC
Thanks Meter: 9
 
More
This is what Calk posted earlier......right? I know it's yours, but not to be confused......just different colors...correct?
15th August 2011, 01:46 AM |#6  
Senior Member
Akron
Thanks Meter: 378
 
More
I like that there is a choice of colors. Well done!
15th August 2011, 02:47 AM |#7  
Junior Member
Thanks Meter: 2
 
More
Awesome job. One question, how might one boot direct into the recovery from a full Power Off?
15th August 2011, 02:54 AM |#8  
Senior Member
Akron
Thanks Meter: 378
 
More
Quote:
Originally Posted by the3rd

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!
15th August 2011, 02:56 AM |#9  
moonzbabysh's Avatar
Senior Member
Flag Mesa, AZ
Thanks Meter: 361
 
More
Fricken Awesomeness

Sent from my Photon Blaster.
15th August 2011, 03:44 AM |#10  
Senior Member
Thanks Meter: 14
 
More
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!
15th August 2011, 04:04 AM |#11  
Lokifish Marz's Avatar
Inactive Recognized Developer
Flag Olympus Mons, Mars
Thanks Meter: 3,753
 
Donate to Me
More
Two questions:
1. Has anybody verified the "ROM Manager support" method on the Photon yet?
2. Other than color choice, what is the difference between this recovery and the one Calkulin posted earlier?
Post Reply Subscribe to Thread

Tags
clockwork, cwm, gingerbread, photon, recovery

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes