Regarding IMEI lock applet
Hi all,
I have a query to ask. If any body can help it would be great.
I have to develop an application such that to check the IMEI of the mobile and if it is not the same IMEI stored in
the SIM it should lock the SIM
Any body knows how to lock the SIM ?
Is any body have the applet code ? If you can share your applet code that would be great. Or if you can
please guide me how to lock the SIM preveting that would be very much helpful.
Thanks Damien for the informative reply. Can you please tell me what goes inside this method lockcard.
I would really want to know the method implementation before using it.
Can you help me with some pointers.
Similar Messages
-
Skype not working; I think my IMEI locked
hi plZ help me. my skype not work in my phone I think my imei locked
Post transferred to create new topic;
subject/title amended accordingly.Hi, Ahmed..., and welcome to the Community,
Simply stated, if your device's IMEI is locked, nothing will work - please contact your carrier to resolve this issue, first.
Regards,
Elaine
Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often! -
Is it possible to implement an IMEI lock using USAT / STK on a SIM card ?
Hi,
Does anyone know if it's possible to implement an IMEI lock using USAT/STK and Javacard? What I want to do is write an applet that checks if a SIM has been placed in a phone whose IMEI does not match one on record, and then stops the SIM from working in the new phone if the IMEIs don't match.
Checking the IMEI is straightforward but I'm looking for suggestions of how to stop the SIM from working in the new phone, or keeping the SIM off the network so that it cannot be used. Can this be done using USAT and Javacard or does this have to be done at the card OS level?
Thanks,
C.Hi,
I've been involved in a similar proyect too.
If you want to do lock the SIM editing those files contect, you should check out the READ_UPDATE Conditions ( problably, as those are very sensitive data the conditions defined are NEVER. If you are defining a complete card pesonalization, you can change it to ADM... and then you will be able to modify the values.
for further information you can contact me by email... -
With regard to lock object and authority check
hi all
i would like to know about lock object and authority check specifically in reports. there is a coding in sap library with regard to authority check, but there is no coding to restrict user (i mean there is no user names that the object is restricting for a particular user or any user has got permission to change or display object).
further, the code mentions that you need an authorization in your user master record for the object, could any of u explain where is user master record.
below is the code for authority check.
*& Module USER_COMMAND_0100 INPUT
MODULE USER_COMMAND_0100 INPUT.
CASE OK_CODE.
WHEN 'SHOW'.
AUTHORITY-CHECK OBJECT 'S_CARRID'
ID 'CARRID' FIELD '*'
ID 'ACTVT' FIELD '03'.
IF SY-SUBRC NE 0. MESSAGE E009. ENDIF.
MODE = CON_SHOW.
SELECT SINGLE * FROM SPFLI
WHERE CARRID = SPFLI-CARRID
AND CONNID = SPFLI-CONNID.
IF SY-SUBRC NE 0.
MESSAGE E005 WITH SPFLI-CARRID SPFLI-CONNID.
ENDIF.
CLEAR OK_CODE.
SET SCREEN 200.
WHEN 'CHNG'.
AUTHORITY-CHECK OBJECT 'S_CARRID'
ID 'CARRID' FIELD '*'
ID 'ACTVT' FIELD '02'.
IF SY-SUBRC NE 0. MESSAGE E010. ENDIF.
MODE = CON_CHANGE.
SELECT SINGLE * FROM SPFLI
WHERE CARRID = SPFLI-CARRID
AND CONNID = SPFLI-CONNID.
IF SY-SUBRC NE 0.
MESSAGE E005 WITH SPFLI-CARRID SPFLI-CONNID.
ENDIF.
OLD_SPFLI = SPFLI.
CLEAR OK_CODE.
SET SCREEN 200.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
i thank u all for the help in advance.hi
this might help
REPORT YUSRLOCK NO STANDARD PAGE HEADING.
TABLES: TRDIR, USR02.
DATA: MARK,CNTR TYPE I,
ACCNT LIKE USR02-ACCNT, ERDAT LIKE USR02-ERDAT,
ANAME LIKE USR02-ANAME, CLI(3) VALUE 'AAA', SZIN TYPE I,
SYDATUM LIKE SY-DATUM, FLAG(3).
TABLES: UINFO.
DATA: OPCODE TYPE X VALUE 2.
DATA: BEGIN OF USR_TABL OCCURS 10.
INCLUDE STRUCTURE UINFO.
DATA: END OF USR_TABL.
START-OF-SELECTION.
CALL 'ThUsrInfo' ID 'OPCODE' FIELD OPCODE
ID 'TAB' FIELD USR_TABL-SYS.
SELECT * FROM USR02 CLIENT SPECIFIED ORDER BY MANDT BNAME.
IF USR02-MANDT <> CLI.
SZIN = SZIN + 1. SZIN = SZIN MOD 2.
CLI = USR02-MANDT.
ENDIF.
IF USR02-UFLAG = 0.
MARK = ' '.
ELSE.
MARK = 'X'.
ENDIF.
CLEAR FLAG.
LOOP AT USR_TABL.
IF USR_TABL-BNAME = USR02-BNAME AND USR_TABL-MANDT = USR02-MANDT.
FLAG = '!!!'.
ENDIF.
ENDLOOP.
SYDATUM = SY-DATUM - 30.
IF SYDATUM < USR02-TRDAT.
IF SZIN = 0.
WRITE:/ ' ', MARK AS CHECKBOX,' ', USR02-BNAME COLOR 2,
' ',USR02-MANDT COLOR 2,
' ',USR02-USTYP COLOR 2,
' ',USR02-TRDAT COLOR 2, USR02-LTIME COLOR 2,
' ',FLAG COLOR 6.
ELSE.
WRITE:/ ' ', MARK AS CHECKBOX,' ', USR02-BNAME COLOR 3,
' ',USR02-MANDT COLOR 2,
' ',USR02-USTYP COLOR 2,
' ',USR02-TRDAT COLOR 2, USR02-LTIME COLOR 2,
' ',FLAG COLOR 6.
ENDIF.
ELSE.
IF SZIN = 0.
WRITE:/ ' ', MARK AS CHECKBOX,' ', USR02-BNAME COLOR 2,
' ',USR02-MANDT COLOR 2,
' ',USR02-USTYP COLOR 2,
' ',USR02-TRDAT COLOR 4, USR02-LTIME COLOR 4,
' ',FLAG COLOR 6.
ELSE.
WRITE:/ ' ', MARK AS CHECKBOX,' ', USR02-BNAME COLOR 3,
' ',USR02-MANDT COLOR 2,
' ',USR02-USTYP COLOR 2,
' ',USR02-TRDAT COLOR 4, USR02-LTIME COLOR 4,
' ',FLAG COLOR 6.
ENDIF.
ENDIF.
HIDE: USR02-BNAME, USR02-MANDT.
ENDSELECT.
CLEAR USR02.
TOP-OF-PAGE.
WRITE:/ 'LOCK USER CLIENT TYPE LAST lOGIN ' COLOR 6.
SKIP.
AT USER-COMMAND.
IF SY-UCOMM = 'SEL'.
DO.
CLEAR MARK.
READ LINE SY-INDEX FIELD VALUE MARK.
IF SY-SUBRC NE 0. EXIT. ENDIF.
IF USR02-BNAME IS INITIAL.CONTINUE.ENDIF.
SELECT SINGLE * FROM USR02 CLIENT SPECIFIED WHERE
MANDT = USR02-MANDT AND BNAME = USR02-BNAME.
IF MARK = 'X' AND USR02-UFLAG = 0.
USR02-UFLAG = 64.
UPDATE USR02 CLIENT SPECIFIED SET: UFLAG = 64 WHERE
MANDT = USR02-MANDT AND
BNAME = USR02-BNAME.
COMMIT WORK.
ENDIF.
IF MARK = ' ' AND USR02-UFLAG = 64.
USR02-UFLAG = 0.
UPDATE USR02 CLIENT SPECIFIED SET: UFLAG = 0 WHERE
MANDT = USR02-MANDT AND
BNAME = USR02-BNAME.
COMMIT WORK.
ENDIF.
ENDDO.
CLEAR USR02.
ENDIF.
regards
Arun -
Error in the SMTP log of the mail service regarding "master.lock"
I am getting the following error in the SMTP log of the mail service, Anybody might have any suggestions:
postfix/master[87670]: fatal: open lock file /var/lib/postfix/master.lock: cannot open file: Permission denied.
The permissions of the master.lock file are as follows:
-rw------- 1 _postfix mail 33 Jul 7 10:25 master.lock
The Mail service stops after a few minutes from starting it
I appreciate your feedbackI found the problem.. the executable job was referring to a none existing batch file..
I have refreshed the database from production some time ago and the jobs I have setup are referring to production scripts and paths (which we didnt have on dev)..
This is now resolved.
Thanks -
Please help me regarding Secure RMI Applet Application
Hi Friends..
Currently i use Java Card 2.2.1..
I'm learning about SecureRMIDemo application that shipped with JCDK 2.2.1..
Assume that i've loaded the SecureRMIApplet.cap successfully, and i've created the Secure RMI Client using SmartCardIO..
And then i tried to do any process provided by Purse interface, such as debit, credit, setAccountNumber, etc..
But i got this error message :
java.rmi.RemoteException: Signature mismatch
at com.sun.javacard.javax.smartcard.rmiclient.CardObjectFactory.throwError(Unknown Source)
at com.sun.javacard.javax.smartcard.rmiclient.CardObjectFactory.throwException(Unknown Source)
at com.sun.javacard.javax.smartcard.rmiclient.CardObjectFactory.getObject(Unknown Source)
at com.sun.javacard.ocfrmiclientimpl.JCRemoteRefImpl.parseAPDU(Unknown Source)
at com.sun.javacard.ocfrmiclientimpl.JCRemoteRefImpl.invoke(Unknown Source)
at com.sun.javacard.samples.SecureRMIDemo.SecurePurseImpl_Stub.setAccountNumber(Unknown Source)
at testRMIClient.SecureRMIClienrt.main(SecureRMIClienrt.java:27)Yes, i know that, that error message required to ensure that the application run in the Security context..
But for me, who just getting started to Java Card Security, it becomes a problem... :(
The message error tells that the Signature is mismatch..
And then how to set this Signature before do any process in the SecureRMI Client application?..
Since there's no way to set the Signature through Purse interface..
Please help me regarding this..
Thanks in advance..Thanks Shane for your reply..
does it mean i've to send APDU?.. Because in the MySecurityService class code there's method that checks the CLA and INS byte..
Or can i send an APDU Object while we're using the Java Card RMI Application mode?..
Actually, in my opinion, i would say that if we use RMI mode, we don't need APDU Command anymore..
Please correct me if i'm wrong..
Thanks in advance.. -
Issues regarding auto lock while watching a movie
I decided to watch some Netflix before I went to bed and I noticed that my screen would dim and then eventually lock the phone. This has never been an issue till tonight. I was wondering if anyone else is having the same problem and what I can do to fix it. Thank you
Hey jberona,
Thanks for the question. If I understand correctly, the iPhone screen locks when using a 3rd party app. I would recommend that you read these articles, they may be helpful in troubleshooting your issue.
Restart or reset your iPhone, iPad, or iPod touch - Apple Support
iPhone: About General Settings
Set the amount of time before iPhone locks
Choose General > Auto-Lock and choose a time.
Thanks for using Apple Support Communities.
Have a good one,
Mario -
My iphone 4 which i got from UK was unlocked set suddenly got locked after i updated to the newer version. It is asking to insert compatible sim which came with the hand set. Now i don't have it, my friend gifted me the iphone 4.I was using in nepal with local sim.whenever I connect to laptop it ask for update.As soon as i clicked on the update button it started backing up and updating. Finally everything was reuined. My iphone4 is not working please help me to get read of this problem. I think my iphone4 is locked .
If the iPhone was not purchased at an Apple retail store, it was not purchased as officially unlocked. If it were an unlocked iPhone, it would not be locked to a carrier when installing an iOS update.
-
Regarding region lock (Australia)
A couple of questions:
1. I'm traveling to Japan and was wondering if I could bring my iphone along, throw in a japanese sim to make calls and access the internet. I've got a 3GS on Virgin.
2. A friend of mine wants to get an iphone, would he be able to get one in japan that isn't region locked? And would it be any cheaper?
Thanks guysIs there a way to work out whether my iphone is unlocked? I only got it a month ago and I haven't done anything to unlock it.
If it isn't, how do I get it unlocked? Does it cost anything? -
Question regarding security of "applets"
As a novice "apple scripter", (since 2012) I was wondering if anyone knows how good the security is for an applet saved as "run only" I have read that one would need a decompiler, to penetrate security but the writer said he had never seen one!
The reason is that I have recently written a script that actually works! and it is a encryption tool to encrypt r.t.f.documents in "text edit" and of course another to decrypt. (with a password dialog box). figured this would be useful for storing all sensitive info on my computer and in e-mails etc, so security is important to it's function.If you want to encrypt, why not use openssl? It's already in OS X.
Here's an Applescript wrapper to openssl-aes I wrote a few years ago:
Encrypt:
on run
set f to choose file with prompt "Select file to encrypt:" default location alias (the path to desktop folder as text)
my proceed_(f)
end run
on open f
if (count of f) is not equal to 1 then
display dialog ("More than 1 file was selected") with icon stop buttons {"Cancel"} default button 1 with title "openssl aes-256"
else
my proceed_(f)
end if
end open
on proceed_(f)
tell application "System Events" to set finfo to the properties of (f as alias)
if kind of finfo is "Folder" then
display dialog (name of finfo & " is a Folder") with icon stop buttons {"Cancel"} default button 1 with title "openssl aes-256"
else if kind of finfo is "Alias" then
display dialog (name of finfo & " is a an Alias") with icon stop buttons {"Cancel"} default button 1 with title "openssl aes-256"
end if
set pass1 to text returned of (display dialog "Please enter your password" default answer "" with title "openssl aes-256" with hidden answer)
set pass2 to text returned of (display dialog "Please verify your password" default answer "" with title "openssl aes-256" with hidden answer)
if pass1 is not equal to pass2 then
display dialog "Passwords do not match!" with icon stop buttons {"Cancel"} default button 1 with title "openssl aes-256"
end if
set encryptedFile to (f as string) & ".aes"
tell application "Finder"
if exists encryptedFile then
set answer to the button returned of (display dialog (name of finfo & ".aes exists. Overwrite?") with icon caution buttons {"Yes", "No"} default button 2 with title "openssl aes-256")
if answer is "No" then
error number -128 --> Cancel the script
end if
end if
end tell
-- encrypt:
do shell script "/usr/bin/openssl aes-256-cbc -salt -in " & quoted form of POSIX path of f & " -out " & quoted form of POSIX path of f & ".aes" & " -k " & quoted form of pass1
activate me
set answer to the button returned of (display dialog ("Encryted File: " & name of finfo & ".aes" & return & return & "Secure Delete " & name of finfo & "?") buttons {"Yes", "No"} default button 2 with title "openssl aes-256")
if answer is "Yes" then
do shell script "/usr/bin/srm -z " & quoted form of POSIX path of f
activate me
display dialog name of finfo & " deleted" buttons {"Done"} default button 1 with title "openssl aes-256"
end if
end proceed_
Decrypt:
on run
set f to choose file of type "aes" with prompt "Select AES file to decrypt:" default location alias (the path to desktop folder as text)
my proceed_(f)
end run
on open f
if (count of f) is not equal to 1 then
display dialog ("More than 1 file was selected") with icon stop buttons {"Cancel"} default button 1 with title "openssl aes-256"
else
my proceed_(f)
end if
end open
on proceed_(f)
tell application "System Events" to set finfo to the properties of (f as alias)
if kind of finfo is "Folder" then
display dialog (name of finfo & " is a Folder") with icon stop buttons {"Cancel"} default button 1 with title "openssl aes-256"
else if kind of finfo is "Alias" then
display dialog (name of finfo & " is a an Alias") with icon stop buttons {"Cancel"} default button 1 with title "openssl aes-256"
else if type identifier of finfo is not "dyn.age80c3px" then
display dialog (name of finfo & " is not an AES Encrypted File") buttons {"Cancel"} with icon stop default button 1 with title "openssl aes-256"
end if
set pass1 to text returned of (display dialog "Please enter your password" default answer "" with title "openssl aes-256" with hidden answer)
set encryptedFile to f as string
set theReversedFileName to (reverse of (characters of encryptedFile)) as string
set theOffset to offset of "." in theReversedFileName
set decryptedFile to (reverse of (characters (theOffset + 1) thru -1 of theReversedFileName)) as string
set decryptedFileBaseName to do shell script "/usr/bin/basename " & quoted form of POSIX path of decryptedFile
tell application "Finder"
if exists decryptedFile then
set answer to the button returned of (display dialog (decryptedFileBaseName & " exists. Overwrite?") with icon caution buttons {"Yes", "No"} default button 2 with title "openssl aes-256")
if answer is "No" then
error number -128 --> Cancel the script
end if
end if
end tell
-- decrypt:
try
do shell script "/usr/bin/openssl aes-256-cbc -d -salt -in " & quoted form of POSIX path of encryptedFile & " -out " & quoted form of POSIX path of decryptedFile & " -k " & quoted form of pass1
on error m number n
try
do shell script "/bin/rm " & quoted form of POSIX path of decryptedFile
end try
activate me
display dialog "Bad decrypt." & return & "Possible incorrect password." & return & return & "Deleting output file " & decryptedFileBaseName & " (if it exists)." with icon stop buttons {"Done"} default button 1 with title "openssl aes-256"
error number -128 --> Cancel the script
end try
activate me
display dialog name of finfo & " decrypted" buttons {"Done"} default button 1 with title "openssl aes-256"
end proceed_ -
Help regarding sms locker app in iphone 3gs
Pls help urgently. I have downloaded sms locker rrom the apple store but i am totally confused how it works. I am not able to fetch messages from my iphone messagesand. How can i save messages and store desired sms in this app? Its very confusing please help. I thing its a wastage of money and the app is not user friendly. There is no option to hide or save message. What shall i do? The only option i got is to create folder and send sms. I can i save incoming sms which are there in the original sms folder of iphone. Pls email me the user guide of the app sms locker to my id,. Thanks
You can ask the developers... http://newmodernline.wordpress.com/2012/01/22/sms-locker/
Based on the feedback in the app store, it doesn't work. -
Question regarding file locking...
Hi all--
Here's the essential question...
If I have a shared file across the network that will be subjected to multiple accesses from multiple clients. Most just need to read it, but some will occassionally need to write to it. If my client application obtains a lock on the file using FileLock myLock = myFileInputStream.getChannel().tryLock(), will other clients still be able to read the file?
in other words, is the file lock obtained a "read-only" lock, preventing writing but allowing reading? or will other client's be unable to read the file when someone has a FileLock on it?
Right now we use an excel spreadsheet. It's an utterly terrible solution, but what's good about the spreadsheet is that everyone can read it, but if someone has accessed it to begin with, you only have read-only access to it. Which is good...
can I do the same thing using Java file-lock? Allowing the first client who accesses it to obtain a full-permisions lock but subsequent clients only are able to obtain read-only access?
Thanks for the help!The docs are rather specific that all of the functionality for FileLock is platform dependent.
So you should test it. -
Regarding IMEI or serial number
Dear Developer Forum,
Please any body tell me the procedure to get the IMEI or serial number through
My appilcation.
Or is their any API through which i can get the IMEI or serial number.
Please help me I am new to iphone so don't know so much.UIDevice class gives us the UDID, but not IMEI or Serial Number. Has anyone figured out how to fetch device' IMEI programmatically?
Thanks in advance. -
Hello,
my iphone was stolen, brand new without iclod or apple id. If the thief will start using it as if it's brand new, can be blocked by imei or to locate it?
I own a lot of apple products and i can proof that I own it.
This iphone was bought abroad but stollen in my country so the operator can't help me.
Thank youok tnx for the info
i very sure romania can kill switch cellphone just using IMEI
got to national regulatory authority for communication in your country, they can help you whether to locate the phone using the IMEI of block the phone IMEI for using any other sim card
but for me , i cant asure you that they could locate device , i think they can only kill switch or block from usage of the iphone -
Regarding Tcode lock while doing Conversion program
While doing the conversion for Tcode(T_76) , if somebody is using at that time it is showing that somebody locked Tcode at that time programe is executing and it is giving Sucess message. But i want to lock while doing the conversion and it should say error message like somebody locked and it dont allow sucess message for that i need BAPI or Function Module or any .
hi murali,
you can lock tcodes in transaction SM01. I have no idea how it is working inside (i. e. using FM or direct table update), but you can check easily
hope this helps
ec
Maybe you are looking for
-
Configuring both logical and physical standby databases.
Hi, I am trying to set up one primary and two standby databases which are physical and logical. together. What I am wondering is if i tis posiible to set both log_archive_dest_n parameters in init.ora of primary db to 'LGWR ASYNC'.. I tried to do tha
-
Need BAPI to clear a payment using invoice number.
Hi, I have a requirement. Payments are done through a another system and after the payment a inbound is send to SAP system with the invoice number. in SAP the paymenst should be updated to cleared using that inbound for that invoice number. Is there
-
Are there any shortcuts for creating Value Object Classes?
Hi, I'm using a Remote Object to connect to my server (pyAMF/Django). I'm getting stuck with the creation of Value Object Classes. It doesn't seem very DRY to have a class on my server representing the data model and then have to recreate that class
-
Help to download files from a website with authentication
Hi, I need to develop a process in java to be able to connect to a website using a username and password and download a zip file on to a local server. I am kinda new to socket programming and i am not sure how to go about achieving this. I would real
-
How may I change security questions and email?
How may I change my answers to security questions?