PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Titan

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-01-2013, 12:00 PM
jzhou's Avatar
Lurker
Offline
Pocket PC: iPhone 4S
Carrier: T-Mobile
 
Join Date: Apr 2013
Posts: 1
Reputation: 0
jzhou is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Question Re: help unlocking mogul spc/msl code

Quote:
Originally Posted by isosdcftp View Post
I've looked at the code for GetSPC and it looks like it takes 2 parameters, not just one. The function starts like this
Code:
STMFD   SP!, {R4-R8,LR} - store register values
SUB     SP, SP, #0xA0 - initialize stack
MOV     R4, R0 - store parameter 1 to R4
MOV     R7, R1 - store parameter 2 to r7
So, there is another parameter that is needed, I'm going too look at the rest of the files today if I have enough time. Maybe I can figure out what those parameters are.

Also, I'm new to the CDMA scene, I'm from IDEN originally. Is there a good faq or text available to learn of what all these codes/acronyms are used for?

EDIT: Parameter 1 looks to be a structure, where the first dword is a pointer to a string of '1234', and the second dword is NOT 0.
Code:
.text:0010251C                 LDR     R1, =a1234_0    ; char * - Load address of string '1234'
.text:00102520                 LDR     R0, [R4]        ; char * - Load first DWORD in parameter1's structure
.text:00102524                 BL      strcmp - Compare both Strings
.text:00102528                 CMP     R0, #0 - Check return Value
.text:0010252C                 BNE     ReturnFALSE - If the strings are not the same jump to return 0
.text:00102530                 LDR     R0, [R4,#4] - load second dword in parameter1's structure
.text:00102534                 CMP     R0, #0 - check if 0
.text:00102538                 BEQ     SetErrorTo_0x1D30C_AndReturn - jump to set last error and return
How did you get the code from the dll or exe? Can I know the tool/decompiler you used? Thanks!
Reply With Quote
  #2 (permalink)  
Old 07-18-2007, 03:38 PM
fronz's Avatar
PPCGeeks Regular
Offline
Pocket PC: Omnia
Carrier: cricKet
Threadstarter
 
Join Date: Dec 2006
Posts: 52
Reputation: 5
fronz is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
hpnasik, looks like you have more help in the programing area.
__________________
HTC VOGUE w/cricket EVDO
HTC Tilt ...jus for show-n-tell
HTC Titan w/cricKet EVDO
Reply With Quote
  #3 (permalink)  
Old 07-18-2007, 11:51 PM
isosdcftp's Avatar
N00b
Offline
Pocket PC: **
Carrier: **
 
Join Date: Jun 2007
Posts: 40
Reputation: 20
isosdcftp is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
I've figured the parameters out, it uses a 8 character string(ESN Maybe?) to calculate the code. However since I don't know what the code is used for, I dont know if it gives the correct one.
I've attached the tool I created.

These are the two Structures given as parameters:
.
Code:
struct Par1{
char * str1; // Always point to '1234'
char * str2; // 8 char string used as input
};
struct Par2{
	char * outstr; //out, Initialize to 0, Dont forget to free after calling GetSPC
	BYTE OutSize; //out, initialize to 0
	BYTE Unk; //Unkown, initialize to 0
};
Attached Files
File Type: zip getspc_101.zip (121.6 KB, 3614 views) Click for barcode!
Reply With Quote
This post has been thanked 4 times.
  #4 (permalink)  
Old 09-04-2009, 01:10 AM
tech-9's Avatar
N00b
Offline
Pocket PC: HTC SuPeR SoNiC A.k.A EVO
Carrier: cricKet
Location: Tucson, Arizona
 
Join Date: Apr 2009
Posts: 32
Reputation: 0
tech-9 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: help unlocking mogul spc/msl code

Quote:
Originally Posted by isosdcftp View Post
I've figured the parameters out, it uses a 8 character string(ESN Maybe?) to calculate the code. However since I don't know what the code is used for, I dont know if it gives the correct one.
I've attached the tool I created.

These are the two Structures given as parameters:
.
Code:
struct Par1{
char * str1; // Always point to '1234'
char * str2; // 8 char string used as input
};
struct Par2{
    char * outstr; //out, Initialize to 0, Dont forget to free after calling GetSPC
    BYTE OutSize; //out, initialize to 0
    BYTE Unk; //Unkown, initialize to 0
};






=D> I WAS HAVING A HARD TIME UNLOCKING HTC TOUCH. WITH THIS THING! ZIP!! THEN BAM!! MAKE SURE YOU ENTER ESN AS YOU SEE IT, VERY IMPORTANT!! =D> =D> GURANTEED AWESOME!! YOU THE MAN!!!
Reply With Quote
  #5 (permalink)  
Old 07-19-2007, 12:48 AM
MakuSoto's Avatar
N00b
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
 
Join Date: Mar 2007
Posts: 37
Reputation: 25
MakuSoto is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
that tools works! but make sure you are entering letters in capital letters when entering the ESN and you will get the correct MSL, unless it was already changed before hand.
Reply With Quote
  #6 (permalink)  
Old 07-19-2007, 04:45 AM
hetaldp's Avatar
VIP Member
Offline
Pocket PC: HTC Touch
Carrier: Reliance
Location: Nashik, India
 
Join Date: May 2007
Posts: 286
Reputation: 2236
hetaldp is a VIPhetaldp is a VIPhetaldp is a VIPhetaldp is a VIPhetaldp is a VIPhetaldp is a VIPhetaldp is a VIPhetaldp is a VIPhetaldp is a VIPhetaldp is a VIPhetaldp is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
I can not run that FIle

Please Help saying the Error of Certificate on Mogul and 6700 also

Any other Method ??? SOS Help !!!
Reply With Quote
  #7 (permalink)  
Old 07-19-2007, 06:37 AM
ImCoKeMaN's Avatar
Retired Staff
Offline
Pocket PC: Touch PRO 2! Touch Pro, Touch, Mogul, 6700
Carrier: Sprint
 
Join Date: Dec 2006
Posts: 918
Reputation: 3178
ImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Is your device still application locked? If so here is the reg info to unlock that: (note i didn't come up with this info it was copied from here)

Quote:
Originally Posted by scarymonkey
Unlocking the Phone (Disabling Certificate Security) (thanks flyboi)

What is the Application Lock?

By default, most Windows Mobile Smartphone devices are shipped with certificate security enabled. This places significant restrictions on the APIs which can be called by software which has not been signed and approved by authorities 'trusted' by the device manufacturer.

Why disable it?

As certification is a long and expensive proccess, it is not an option for open-source tools, or hobbyist software developers. Therefore in order to develop for smartphone devices, or apply unofficial tweaks, it is often neccessary to disable certificate security.

You can disable it by making the following registry changes:
(Requires a soft reset to take effect)
1.) HKEY_LOCAL_MACHINE\Security\Policies\Policies\0000 1001 = 2
-> Change the value data from 2 to 1

2.) HKEY_LOCAL_MACHINE\Security\Policies\Policies\0000 1005 = 16
-> Change the value data from 16 to 40

3.) HKEY_LOCAL_MACHINE\Security\Policies\Policies\0000 1017 = 128
-> Change the value data from 128 to 144

4.) HKEY_LOCAL_MACHINE\Security\Policies\Policies
-> Change/Add new DWORD with the name "0000101b" to 1
__________________
Note: 3 Color screen is stuck in bootloader NOT "bricked"; just flash a stock rom exe
Touch Custom rom unlocker
Undoing advances in Mogul's since 2007. Titan ReLocker, WM5 roms (don't use w/ gps radio): Telus, TNZ
Reply With Quote
  #8 (permalink)  
Old 09-13-2008, 03:38 PM
knobby's Avatar
Lurker
Offline
Pocket PC: TP2 Coming
Carrier: Verizon
Location: Idaho
 
Join Date: Aug 2008
Posts: 17
Reputation: 5
knobby is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: help unlocking mogul spc/msl code

Quote:
Originally Posted by ImCoKeMaN View Post
Is your device still application locked? If so here is the reg info to unlock that: (note i didn't come up with this info it was copied from here)

I've tried the abovesettings, and can't get mine working.

y entry for
3.) HKEY_LOCAL_MACHINE\Security\Policies\Policies\0000 1017 = 128
-> Change the value data from 128 to 144

default is = 160

This is a fairlly new wm6.1 ROM, any ideas? Appreciate the help. I'm sriving right now and need to be able to un some apps and can't
Reply With Quote
  #9 (permalink)  
Old 09-14-2008, 01:19 AM
knobby's Avatar
Lurker
Offline
Pocket PC: TP2 Coming
Carrier: Verizon
Location: Idaho
 
Join Date: Aug 2008
Posts: 17
Reputation: 5
knobby is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: help unlocking mogul spc/msl code

I got this worked out. It seems that the problem wasn't anything to do with the certificate. I installed the .NET 3.5 Cab and it fixed all the programs I couldn't run. Whoever built it must have had the .NET left out of the ROM.
Reply With Quote
  #10 (permalink)  
Old 07-19-2007, 06:39 AM
mrgeoff's Avatar
Regular 'Geeker
Offline
Pocket PC: HTC Vogue/Sprint Touch
Carrier: Sprint
Location: St. Auggie, FL
 
Join Date: Jul 2007
Posts: 322
Reputation: 147
mrgeoff is keeping up the good workmrgeoff is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to mrgeoff
Thank you isosdcftp!

I tried it this morning (I had to try twice... I blame fat fingers lol) and it worked like a charm

This makes things a lot easier changing the Slot Cycle Index.
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Titan

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 09:07 PM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com