5,603,981 Members 43,704 Now Online
XDA Developers Android and Mobile Development Forum

Help with Moto G bootloader unlock keygen

Tip us?
 
jaspreet997
Old
#51  
jaspreet997's Avatar
Senior Member
Thanks Meter 69
Posts: 403
Join Date: Jul 2013
Quote:
Originally Posted by lightningdude View Post
Yeah, the Xperia play doesn't have much for the cdma version, and I was really hoping this phone wouldn't have the same problem. I know boost is cdma, but it'd be great if Verizon users weren't left out. I know Verizon sucks for development, but it's all I've got that's reliable.

Sent from my XT1028 using Tapatalk
My dual sim one is coming today.....development is looking scarce on it too

In India the operator thing is a little simpler...If you have gsm unlocked phone...you can use any gsm sim on it...same for cdma phones ...if you have a gsm locked phone...you unlock it and then still use any sim....We don't have to worry about frequncy bands and stuff
 
edukn
Old
#52  
Junior Member
Thanks Meter 2
Posts: 3
Join Date: Feb 2014
Default Javascript code

Hello guys, I've been scouring the page of motorola and found javascript that makes checking the bootloader, see that it uses the phoneSN, phoneHASH and phonePUID to check the database, after that he check if the bootloader is equal to phoneQualifies he releases the unlock code. Take a look:

RightNow.Widget.BootLoader=function(data,instanceI D)
{this.data=data;this.instanceID=instanceID;this._e o=new RightNow.Event.EventObject();$("#checkID").bind('c lick',{widget:this},this._checkProduct);$('#unlock Phone').submit(function(){var conf1=confirm('This will void your warranty. Are you sure?');if(conf1){return true;}else{return false;}});};RightNow.Widget.BootLoader.prototype={ _checkProduct:function(e)
{var phoneID=$('#phoneID').val();var phoneArray=phoneID.split('#');var phoneSN=phoneArray[0];var phoneHash=phoneArray[2];var phonePUID=phoneArray[3];var checkResults=bootLoaderCheck(phoneSN,phoneHash,pho nePUID);if(!phoneSN||!phonePUID)
{if(!phoneSN){alert('Serial Number not found in your identifier, please try again.');}else if(!phonePUID){alert('PUID Not found in your identifier, please try again.');}
$("#unlockPhone").attr("action","/app/error/");}}};function fastbootConvert(phoneSN){var chars=phoneSN.split("");if(chars[1]=='A'){convertedSN=chars[0]+chars[3]+chars[2]+chars[5]+chars[4]+chars[7]+chars[6]+chars[9]+chars[8]+chars[11]+chars[10]+chars[13]+chars[12]+chars[15]+chars[14];}else if(phoneSN.substring(0,2)=='99'||phoneSN.substring (0,2)=='98'||phoneSN.substring(0,2)=='97'){convert edSN=phoneSN.substring(0,phoneSN.length-2);typeSN='MEID';}else{convertedSN=phoneSN;}
return convertedSN;}
function bootLoaderCheck(phoneSN,phoneHash,phonePUID){$('#p rocessingContainer').removeClass('noShow');$.ajax( {type:"POST",url:"/cc/productRegistration/verifyPhone/"+phoneSN+"/"+phonePUID+'/'+phoneHash+'/',dataType:"json",success:function(data){var eo=new RightNow.Event.EventObject();$('#processingContain er').addClass('noShow');},error:function(xhr){try{ console.dir(xhr);}
catch(e){}
if(xhr.responseText=="Not qualified"){alert('Your device does not qualify for bootloader unlocking.');}else if(xhr.responseText=="Phone qualifies"){$("#unlockPhone").attr("action","/cc/productRegistration/unlockPhone/"+phoneSN+"/"+phonePUID+'/'+phoneHash+'/');$('#submit').removeClass('noShow');}else{alert( 'Your input text was not recognized as a valid dataset. Please try again.');}
$('#processingContainer').addClass('noShow');}});}
The Following 2 Users Say Thank You to edukn For This Useful Post: [ Click to Expand ]
 
vientodearena
Old
#53  
Junior Member
Thanks Meter 11
Posts: 16
Join Date: Oct 2010
Quote:
Originally Posted by edukn View Post
Hello guys, I've been scouring the page of motorola and found javascript that makes checking the bootloader, see that it uses the phoneSN, phoneHASH and phonePUID to check the database, after that he check if the bootloader is equal to phoneQualifies he releases the unlock code. Take a look:

RightNow.Widget.BootLoader=function(data,instanceI D)
{this.data=data;this.instanceID=instanceID;this._e o=new RightNow.Event.EventObject();$("#checkID").bind('c lick',{widget:this},this._checkProduct);$('#unlock Phone').submit(function(){var conf1=confirm('This will void your warranty. Are you sure?');if(conf1){return true;}else{return false;}});};RightNow.Widget.BootLoader.prototype={ _checkProduct:function(e)
{var phoneID=$('#phoneID').val();var phoneArray=phoneID.split('#');var phoneSN=phoneArray[0];var phoneHash=phoneArray[2];var phonePUID=phoneArray[3];var checkResults=bootLoaderCheck(phoneSN,phoneHash,pho nePUID);if(!phoneSN||!phonePUID)
{if(!phoneSN){alert('Serial Number not found in your identifier, please try again.');}else if(!phonePUID){alert('PUID Not found in your identifier, please try again.');}
$("#unlockPhone").attr("action","/app/error/");}}};function fastbootConvert(phoneSN){var chars=phoneSN.split("");if(chars[1]=='A'){convertedSN=chars[0]+chars[3]+chars[2]+chars[5]+chars[4]+chars[7]+chars[6]+chars[9]+chars[8]+chars[11]+chars[10]+chars[13]+chars[12]+chars[15]+chars[14];}else if(phoneSN.substring(0,2)=='99'||phoneSN.substring (0,2)=='98'||phoneSN.substring(0,2)=='97'){convert edSN=phoneSN.substring(0,phoneSN.length-2);typeSN='MEID';}else{convertedSN=phoneSN;}
return convertedSN;}
function bootLoaderCheck(phoneSN,phoneHash,phonePUID){$('#p rocessingContainer').removeClass('noShow');$.ajax( {type:"POST",url:"/cc/productRegistration/verifyPhone/"+phoneSN+"/"+phonePUID+'/'+phoneHash+'/',dataType:"json",success:function(data){var eo=new RightNow.Event.EventObject();$('#processingContain er').addClass('noShow');},error:function(xhr){try{ console.dir(xhr);}
catch(e){}
if(xhr.responseText=="Not qualified"){alert('Your device does not qualify for bootloader unlocking.');}else if(xhr.responseText=="Phone qualifies"){$("#unlockPhone").attr("action","/cc/productRegistration/unlockPhone/"+phoneSN+"/"+phonePUID+'/'+phoneHash+'/');$('#submit').removeClass('noShow');}else{alert( 'Your input text was not recognized as a valid dataset. Please try again.');}
$('#processingContainer').addClass('noShow');}});}
Thanks, whith this info i made one app in vb6 but the part of "generate the unlock code" not exist. Step by step.
Attached Thumbnails
Click image for larger version

Name:	MotoG BootLoaderKG.png
Views:	254
Size:	43.8 KB
ID:	2602786  
The Following User Says Thank You to vientodearena For This Useful Post: [ Click to Expand ]
 
theoneofgod
Old
#54  
theoneofgod's Avatar
Senior Member
Thanks Meter 138
Posts: 646
Join Date: Dec 2011
Quote:
Originally Posted by vientodearena View Post
Thanks, whith this info i made one app in vb6 but the part of "generate the unlock code" not exist. Step by step.
So you made a GUI?
Current Devices:
Moto G 16GB
Huawei Y300 (Black)
Alcatel OT-983 (Black) [Dead]
Nokia 2630
Xperia Play R800i (Black) [Dead]
Nexus 7 (16GB) [Returned]
 
baybutcher27
Old
#55  
baybutcher27's Avatar
Junior Member
Thanks Meter 3
Posts: 6
Join Date: Feb 2014
Location: Brazil...Sul do RS
Quote:
Originally Posted by vientodearena View Post
Thanks, whith this info i made one app in vb6 but the part of "generate the unlock code" not exist. Step by step.


this photo, looks like you almost got this...

I hope you get. because my always the some... Your device does not qualify for bootloader unlocking


you think you can make it to work?
 
edukn
Old
#56  
Junior Member
Thanks Meter 2
Posts: 3
Join Date: Feb 2014
Default Bootloader Keygen

Hello friend, I hope you can develop keygen,'m a programmer and I know the difficulties in deciphering algorithm, searched the Motorola site via inspect element, the most information I got was this extract javascript and a cookie file that stores the device or is not qualified, in my case he is not qualified, I'm 2 weeks and always trying to say that, from what I know of the database, they probably have a database with records of the devices and their unlock code already stored, when user inserts the code in the website, the system checks this database whether the device is registered or not, if the cookie is stored with the value "Phone Qualifies", check out this link:
I hope you can. Good Luck!

motorola-global-portal-pt.custhelp.com/cc/productRegistration/verifyPhone/phoneSN(IMEI)/phonePUID/phoneHASH(The code should be generated from here (phoneHASH))
 
vientodearena
Old
#57  
Junior Member
Thanks Meter 11
Posts: 16
Join Date: Oct 2010
For the moment the program only analyzes and prepare the datas obtained via "$ fastboot oem get_unlock_data".
A few years ago I studied the cipher cards, but almost nothing. I think we will have to collaborate all of us.
This is an entertainment that not everyone has time to devote, but if you like you spend one minute.

Imei used, hash and UID bootloader. Model and serial number in hex ​​line 2 does not use it.
All data is used except line 2 (Serialnumber and Model) in the page of motorola unlock device.
I have written some incorrect data and tells me "Your device does not qualify for bootloader unlocking",
but if I return to write well, tell me if I can unlock. So as you can see in the code of the page
Code:
type:"POST",url:"/cc/productRegistration/verifyPhone/"+phoneSN+"/"+phonePUID+'/'+phoneHash+'/'...
Uses these 3 values full. My program, for the moment only prepare and presents the data to send.


Note: in
Code:
https://motorola-global-portal-pt.custhelp.com/cc/productRegistration/verifyPhone/phoneSN(IMEI)/phonePUID/phoneHASH
i received "Not qualified", but in
Code:
https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-b
are ok for unlocking.
Attached Thumbnails
Click image for larger version

Name:	2.jpg
Views:	260
Size:	92.6 KB
ID:	2603571  
Attached Files
File Type: rar MGBootLoaderKG.rar - [Click for QR Code] (9.0 KB, 80 views)
The Following 4 Users Say Thank You to vientodearena For This Useful Post: [ Click to Expand ]
 
danilocps87
Old
#58  
danilocps87's Avatar
Senior Member
Thanks Meter 85
Posts: 141
Join Date: Jun 2012
Location: Campinas

 
DONATE TO ME
Any news?
 
denzel09
Old
#59  
denzel09's Avatar
Senior Member
Thanks Meter 580
Posts: 2,971
Join Date: Jun 2009
Location: Venezia
No .....
 
eg0097
Old
(Last edited by eg0097; 22nd March 2014 at 06:45 AM.)
#60  
Junior Member
Thanks Meter 2
Posts: 13
Join Date: Mar 2014
So what exactly does the generator do, as of now?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes