Hello,
I have a Samsung S2 (GT-I9100), the current android version on it was 4.0.2. Recently i tried to upgrade it to android 4.1.2 (I guess it is the latest supported version for this phone isnt it?).
I tried using Samsung Kies and Odin, but always end up with the phone getting locked (I get that SIM Network Unlock PIN message).
I even tried with the "Samsung S unlock" app, but it failed to unlock it.
However, when i downgraded to 4.0.3, the "Samsung S unlock" app unlocked successfully.
I have tried several things, i called my operator to ask for the PIN (but he had no idea what an "unlock PIN" is and asked me to change my phone instead ... -.-), i even tried to extract the "hash" from my data file, and i tried to crack the hash with hashcat, but it failed. I even tried to dial *#197328640#, and proceed as some tutorials has indicated, but i couldnt go beyond the "PHONE CONTROL" menu.
So i have some questions, im planing on installing cyanogenmod (android 5.1.1), would that removed the lock? (i cant try it now, i dont have the phone on me), like is the lock only for samsungs ROMs? or it is like HARD-CODED in the phone?
Another thing is, i was taking a look at where the lock functionality is located (in the source code), and i think i was able to find it in the "hidden.img" file, in an application called SecPhone.apk (odex), so my question here is, if i somehow was able to bypass this function (like always return true or something) then repack the hidden.img and install the new version, would that work? Or i shouldnt waste my time on that?
(And can anyone provide me with the source code of the Android 4.1.2? its a bit hard and annoying to navigate though the code on the browser, i tried to download it using the google repo tool, was running that under VM (as it only works on linux), and it i didnt have enough space, so it failed, and im a bit to lazzy to re-install the VM ...)
One last thing, while examining the code, i noticed that the unlock function takes 2 parameters, the PUK and the PIN, and only if the PUK is null then that function will use the PIN, so would introducing the PUK as the unlock PIN would work?
Thank you for your time ...
I have a Samsung S2 (GT-I9100), the current android version on it was 4.0.2. Recently i tried to upgrade it to android 4.1.2 (I guess it is the latest supported version for this phone isnt it?).
I tried using Samsung Kies and Odin, but always end up with the phone getting locked (I get that SIM Network Unlock PIN message).
I even tried with the "Samsung S unlock" app, but it failed to unlock it.
However, when i downgraded to 4.0.3, the "Samsung S unlock" app unlocked successfully.
I have tried several things, i called my operator to ask for the PIN (but he had no idea what an "unlock PIN" is and asked me to change my phone instead ... -.-), i even tried to extract the "hash" from my data file, and i tried to crack the hash with hashcat, but it failed. I even tried to dial *#197328640#, and proceed as some tutorials has indicated, but i couldnt go beyond the "PHONE CONTROL" menu.
So i have some questions, im planing on installing cyanogenmod (android 5.1.1), would that removed the lock? (i cant try it now, i dont have the phone on me), like is the lock only for samsungs ROMs? or it is like HARD-CODED in the phone?
Another thing is, i was taking a look at where the lock functionality is located (in the source code), and i think i was able to find it in the "hidden.img" file, in an application called SecPhone.apk (odex), so my question here is, if i somehow was able to bypass this function (like always return true or something) then repack the hidden.img and install the new version, would that work? Or i shouldnt waste my time on that?
(And can anyone provide me with the source code of the Android 4.1.2? its a bit hard and annoying to navigate though the code on the browser, i tried to download it using the google repo tool, was running that under VM (as it only works on linux), and it i didnt have enough space, so it failed, and im a bit to lazzy to re-install the VM ...)
One last thing, while examining the code, i noticed that the unlock function takes 2 parameters, the PUK and the PIN, and only if the PUK is null then that function will use the PIN, so would introducing the PUK as the unlock PIN would work?
Thank you for your time ...
No comments:
Post a Comment