Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,780,956 Members 48,900 Now Online
XDA Developers Android and Mobile Development Forum

guide: how to have unlocked fastboot without flashing

Tip us?
 
scottgl9
Old
(Last edited by scottgl9; 31st March 2012 at 02:19 AM.)
#1  
Member - OP
Thanks Meter 69
Posts: 36
Join Date: Mar 2012
Default guide: how to have unlocked fastboot without flashing

I recently discovered this, and I thought it would be of some benefit to those who are wanting to unlock, modify partitions, etc without the need to flash derpunlock.sbf or modify your photon in any way. What you need to do this:
1) fastboot for Windows or Linux
2) unlocked RDL3 (ramloader) which I am providing

The process is very simple, reboot your Motorola Photon, and hold the volume down button and power button. You will see "fastboot" on the screen, now press volume up. Connect your phone to your computer, and issue the following command which I discovered:

scottgl@scottgl-A105:~$ fastboot flash rdl.bin RDL3_unlocked.smg
sending 'rdl.bin' (3072 KB)...
OKAY [ 0.193s]
writing 'rdl.bin'...
OKAY [ 0.000s]
finished. total time: 0.193s

This will load the unlocked ramloader (unlocked will be displayed at the top even if your phone is locked) which is normally only loaded into ram when flashing an SBF! Amazing, I know. Now you can do all kinds of stuff and you've made no modifications, just issue a "fastboot reboot" and nothing has been modified. Now you are able to erase boot, recovery, oem unlock, etc. Here is an example after you have executed the above. This is just me restoring my default boot and recovery partitions which you can't do from your locked bootloader:

scottgl@scottgl-A105:~$ fastboot erase recovery
erasing 'recovery'...
OKAY [ 0.739s]
finished. total time: 0.739s
scottgl@scottgl-A105:~/Desktop/SMG$ fastboot flash recovery CG58_0x00000120.smg sending 'recovery' (8192 KB)...
OKAY [ 8.760s]
writing 'recovery'...
OKAY [ 1.013s]
finished. total time: 9.773s
scottgl@scottgl-A105:~/Desktop/SMG$ fastboot erase boot
erasing 'boot'...
OKAY [ 0.761s]
finished. total time: 0.761s
scottgl@scottgl-A105:~/Desktop/SMG$ fastboot flash boot CG59_0x00000130.smg
sending 'boot' (8192 KB)...
OKAY [ 8.800s]
writing 'boot'...
OKAY [ 0.697s]
finished. total time: 9.497s
Attached Files
File Type: zip RDL3_unlocked.smg.zip - [Click for QR Code] (476.8 KB, 3691 views)
The Following 18 Users Say Thank You to scottgl9 For This Useful Post: [ Click to Expand ]
 
RockoDev
Old
#2  
RockoDev's Avatar
Recognized Contributor
Thanks Meter 2,208
Posts: 1,216
Join Date: Apr 2010
Location: Denver, CO

 
DONATE TO ME
good progress on it
 
scottgl9
Old
#3  
Member - OP
Thanks Meter 69
Posts: 36
Join Date: Mar 2012
You can actually unlock the radio with the stock locked bootloader still in place (derpunlock.sbf flashing no longer needed):

scottgl@scottgl-A105:~/Desktop/SMG_derpunlock$ fastboot flash rdl.bin RDL3_unlocked.smg
sending 'rdl.bin' (3072 KB)...
OKAY [ 0.193s]
writing 'rdl.bin'...
OKAY [ 0.000s]
finished. total time: 0.193s
scottgl@scottgl-A105:~/Desktop/SMG_derpunlock$ fastboot oem unlock
...
(bootloader) Unlocking your device can permanently VOID your warranty.
(bootloader) This process cannot be reversed. If you wish to proceed,
(bootloader) reissue the unlock OEM command containing the unique ID
(bootloader) of your device: XXXXXXXXXXXXXXXX
OKAY [ 0.006s]
finished. total time: 0.006s
scottgl@scottgl-A105:~/Desktop/SMG_derpunlock$ fastboot oem unlock XXXXXXXXXXXXXXXX
...
(bootloader) Device is already unlocked
OKAY [ 0.003s]
finished. total time: 0.003s
scottgl@scottgl-A105:~/Desktop/SMG_derpunlock$
The Following 3 Users Say Thank You to scottgl9 For This Useful Post: [ Click to Expand ]
 
rrusek
Old
#4  
Senior Member
Thanks Meter 25
Posts: 141
Join Date: Mar 2006
Question 4G ?

Has anyone tried this method and retained 4G?

Quote:
Originally Posted by scottgl9 View Post
You can actually unlock the radio with the stock locked bootloader still in place (derpunlock.sbf flashing no longer needed):

scottgl@scottgl-A105:~/Desktop/SMG_derpunlock$ fastboot flash rdl.bin RDL3_unlocked.smg
sending 'rdl.bin' (3072 KB)...
OKAY [ 0.193s]
writing 'rdl.bin'...
OKAY [ 0.000s]
finished. total time: 0.193s
scottgl@scottgl-A105:~/Desktop/SMG_derpunlock$ fastboot oem unlock
...
(bootloader) Unlocking your device can permanently VOID your warranty.
(bootloader) This process cannot be reversed. If you wish to proceed,
(bootloader) reissue the unlock OEM command containing the unique ID
(bootloader) of your device: XXXXXXXXXXXXXXXX
OKAY [ 0.006s]
finished. total time: 0.006s
scottgl@scottgl-A105:~/Desktop/SMG_derpunlock$ fastboot oem unlock XXXXXXXXXXXXXXXX
...
(bootloader) Device is already unlocked
OKAY [ 0.003s]
finished. total time: 0.003s
scottgl@scottgl-A105:~/Desktop/SMG_derpunlock$
 
bigslanki
Old
#5  
bigslanki's Avatar
Senior Member
Thanks Meter 77
Posts: 404
Join Date: Jul 2009
what would be the process coming from locked stock _6, would i just flash clock work mod, flash rom.zip then OP's inputs?
 
scottgl9
Old
(Last edited by scottgl9; 31st March 2012 at 03:53 PM.)
#6  
Member - OP
Thanks Meter 69
Posts: 36
Join Date: Mar 2012
Quote:
Originally Posted by bigslanki View Post
what would be the process coming from locked stock _6, would i just flash clock work mod, flash rom.zip then OP's inputs?
The process of loading the unlocked ramloader is the same regardless of your firmware, even if the bootloader is 'locked'. The ramloader is just that, its written to ram, and so when the phone is reset the code is cleared out of memory. This means to unlock your radio, you don't have to flash anything to your ram, flashing rdl.bin basically just loads the ramloader to executable memory, then jumps to it. I'm still working on figuring out how to use this to chain load a custom recovery.
The Following 4 Users Say Thank You to scottgl9 For This Useful Post: [ Click to Expand ]
 
R2DeeTard
Old
#7  
R2DeeTard's Avatar
Senior Member
Thanks Meter 89
Posts: 454
Join Date: Aug 2011
Location: Fort Mitchell, KY
Love this! Keep up the good work!
 
dito33
Old
#8  
Senior Member
Thanks Meter 28
Posts: 806
Join Date: Jul 2010
So can I flash CWM after this kind of unlock the bootloader and then custom rom.

Sent from my SPH-D710 using XDA
 
jortiz12885
Old
#9  
Member
Thanks Meter 0
Posts: 33
Join Date: Nov 2008
Will this be useful for the ones that flash the electrify rom on the photon?

Sent from my MB855 using XDA
 
olegfusion
Old
#10  
Senior Member
Thanks Meter 258
Posts: 680
Join Date: Sep 2011

 
DONATE TO ME
may you attach stock recovery here? thanks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes