Greetings!
Where is the network personalization code (NCK/NSCK) is stored on the phone?
In TA partition or in so-called NVram?
Thanks!
---
Sony Xperia A2 SO-04F (Japan version of Z1 Compact)
@the_laser, you should know this.
And the second question: the place in which NCK (or its hash) is stored is manufacturer dependent?
---
Sony Xperia A2 SO-04F (Japan version of Z1 Compact)
1.
in sony smartphones simlock data stored in unit 0x7da of trim area partition 2.
2.
any manufacturer can store simlock data in any place he wants to : special partition, some file in non volatile partition,etc.
the_laser said:
1.in sony smartphones simlock data stored in unit 0x7da of trim area partition 2.
Click to expand...
Click to collapse
1. Which exactly data? Sim-lock state (locked/unlocked) and NCK or its hash?
2. In the case of hash, does is salted with some value?
3. Do you saw the sources of tewilove's UICCUnlock utility? How is possible to remove sim lock without valid NCK?
4. NCK validation and depesonalization (sim-unlock) is always done in radio firmware (modem) or not?
All questions is about modern Sony and Sharp devices. If answers is not for public, please, PM to me.
Thanks again!
1.
everything
2.
yes.
i'd posted format of unit 7da somewhere on my support forum ( probably, here too )
tell you in advance that bruteforce is not an option.
3.
UICC is not operator/network locks, which are commonly called "simlock"
4.
starting from secboot3 it is done in trustzone
@the_laser, thanks a lot!
Ok, I'll try to find something specific about UICC lock and 7da unit contents.
Earlier in another topic you had said that this part of TA area is a dynamic part. Could we change information in this part? For example, put a predefined hash for a known NCK or simply remove sim-lock state?
If bruteforce is impossible, how does all these sites with unlocking codes by IMEI work?
1.
dynamic part protected by HUK ( hardware unique key ), which is never appears outside of trustzone.
thus, it is not possible to calculate HUK without access to own code execution in trustzone, but once you have this, why you need to calculate HUK ?
2.
all sites with unlocking code for sony is "resellers" of one big unlock code source, who, in turn, have access to sony database of operator network lock/unlock codes .
Thanks again, @the_laser!
1. So, how is possible to write a simlock.ta in flashmode? Does it signed by the TrustZone on the fly at the flash process?
2. Your words about someone with access to the Sony database sounds unbelievable. Is this a Chinese manufacturer of the Sony phones? Why Sony don't stop it?
3. Ok, NCK by IMEI sellers have a database. But, how is "hardware" unlock solutions work? As I saw in their logs, it looks like they flash TA with sim-unlocked state. But this is impossible without some keys, I think.
---
Sony Xperia A2 SO-04F (Japan version of Z1 Compact)
1.
simlock.ta is not signed
2.
believe in my words or not, it will not change this fact.
why sony don't stop it ?
maybe noone yet properly reported it to sony ?
maybe because there is big money involved and proper people in sony taking their share ?
who knows ...
3.
sorry, i don't know what logs you talking about.
Ok, thanks!
Later I will continue. On your forum probably, because my native language is Russian.
---
Sony Xperia A2 SO-04F (Japan version of Z1 Compact)
Related
i found this but dont know to much about it and was wondring if this could be used to restore the DRM when you unlock bootloader ????
did anyoone try this?
shadstheman90 said:
i found this but dont know to much about it and was wondring if this could be used to restore the DRM when you unlock bootloader ????
Click to expand...
Click to collapse
Installed the application, but how to use? Any guides or instructions?
any guide on how to use it?
Where did you find this, did anyone check it for viruses? Any notes on how to use it?
Give us some more info to work with. Stay by telling where you found it exactly (link appreciated)
Sent from my LT15i using xda premium
i found it on the devlopers page on sony ericson http://developer.sonyericsson.com/wportal/devworld/technology/developerresources?cc=gb&lc=en but i cant seem to find it now
prathaban said:
Installed the application, but how to use? Any guides or instructions?
Click to expand...
Click to collapse
Sony Ericsson DRM Packager
Copyright (C) Sony Ericsson Mobile Communications AB 2006
-------------------------------------------------------------------------------
This program is used to package and protect mobile content which may be done in
two different ways using the two separate versions of this program. These are:
* The graphical application (DRMPackagerGUI)
* The command-line utility (DRMPackager)
For more information on usage of these programs please refer to the
"Developers' Guidelines" available from Sony Ericsson Developer World.
thats all the info i have sorry but i cant find it any more on the site
edit found it here is the page http://developer.sonyericsson.com/w.../download/dw-76997-drmpackager135?cc=gb&lc=en may not be of any use but i thought someone may know how to use ??
shadstheman90 said:
Sony Ericsson DRM Packager
Copyright (C) Sony Ericsson Mobile Communications AB 2006
-------------------------------------------------------------------------------
This program is used to package and protect mobile content which may be done in
two different ways using the two separate versions of this program. These are:
* The graphical application (DRMPackagerGUI)
* The command-line utility (DRMPackager)
For more information on usage of these programs please refer to the
"Developers' Guidelines" available from Sony Ericsson Developer World.
thats all the info i have sorry but i cant find it any more on the site
edit found it here is the page http://developer.sonyericsson.com/w.../download/dw-76997-drmpackager135?cc=gb&lc=en may not be of any use but i thought someone may know how to use ??
Click to expand...
Click to collapse
You can NOT replace the DRM security keys as they are blocks on the device that were deleted when unlocking the bootloader. Me and DooMLoRD had an argument a while back about it as I was thinking of somehow finding the DRM key code on the device and finding the blocks that it was in and putting it back into the device. But it's impossible as from what I understand from my mate at SE UK he said that it is built into the source code. So without the source code you will NOT be able to replace, swap, edit, change or get back the DRM key. Once it's gone its gone. All I suggest is you give up now and that tool is just to add the security checker into your application like the TrackID. That had this tool used on it or one similar. That's all it does. It's not the DRM key itself also my mate hasn't confirmed (replied to my question) on that every device has its own unique DRM so that manufacturers and companies can identify the device for fraud purposes and more. But I don't know if that's true. I thought it was just each OEM had its own DRM key not every device. But anyways. The DRM keys are gone. And anyway, why do you need them now anyways? TrackID don't use DRM checking anymore and I haven't seen many apps that rely on it in fact I haven't seen none at all except for TrackID. Sorry you got your hopes up.
Regards
Blackwatch
Sent from my LT18i using xda premium
hey everyone, today I found a way to bypass the lock screen and remove the password/ pin from the settings.
well, this i got to know accidently when i was trying to run a code on the phone.
hile i was searching on a sonymobile website, there came a code *#*#73556673#*#* to run the retail demo, after running the demo, my locked phone removed the pin and shown swipe unlock screen.
then i again locked it with password and then run the code from the locked screen through emergency calling number. after that i pressed the home button 2 times and my locked screen changed from password to swipe screen unlock.
NOTE that after pressing this code retail demo starts, and to stop that demo you have to run the code again....... if you want more help, then ask......
http://youtu.be/gRelLSb0vgw
so this is easy way to unlock the Xperia zl, it must also work on Xperia z, if you have Z, then please share your views.
I think it is the best way to unlock the phone because it removes the password from settings. old trick was that to access the service menu through emergency number.........
my aim towards posting this trick was to show and tell SONY that they should look upon the security issues and improve the security for the upcoming updated of 4.2..........
please hit thanks if anybody was helped from this post
mangatparamveer said:
so this is easy way to unlock the Xperia zl, it must also work on Xperia z, if you have Z, then please share your views.
Click to expand...
Click to collapse
See here
Bird40 said:
See here
Click to expand...
Click to collapse
but that does not actually remove the password from settings. if you restart your phone, than the device will again ask for password, but if you try the method mentioned by me, then the password is actually removed......... just press *#*#73556673#*#* and press home button.......
I work in a "Buy-Back" shop and a customer left his locked mobile with us, and then didn't buy it back.
This worked perfectly, and we can now re-sell his non-collected goods.
Just remember, after removing the phone lock, as OP says, input the code AGAIN, otherwise every time the phone goes into sleep mode, the demo runs.
Thanks OP, very helpful.
Ok .. this is not working on my Xperia Z (android 4.2.2). I forgot the screenlock pin and locked myself out of my phone. Is there a code that works with this version of android ..or any other way to get rid of this code?
gabriel.bucur said:
Ok .. this is not working on my Xperia Z (android 4.2.2). I forgot the screenlock pin and locked myself out of my phone. Is there a code that works with this version of android ..or any other way to get rid of this code?
Click to expand...
Click to collapse
I have the same question.
gabriel.bucur said:
Ok .. this is not working on my Xperia Z (android 4.2.2). I forgot the screenlock pin and locked myself out of my phone. Is there a code that works with this version of android ..or any other way to get rid of this code?
Click to expand...
Click to collapse
I quickly looked up and found this:
"Use SUS to delete everything on your phone
http://www.sonymobile.com/gb/tools/update-service/
http://www-support-downloads.sonymobile.com/Software Downloads/Update_Service_Setup-2.11.12.5.exe - for future reference
Alternatives on How to backup Xperias
http://talk.sonymobile.com/thread/36355"
From: http://talk.sonymobile.com/t5/Xperia-Z-ZL-ZR/forgotten-my-pin-code/td-p/303610
Looks like you'll need to format your cell phone.
MichelBFR said:
I quickly looked up and found this:
"Use SUS to delete everything on your phone
http://www.sonymobile.com/gb/tools/update-service/
http://www-support-downloads.sonymobile.com/Software Downloads/Update_Service_Setup-2.11.12.5.exe - for future reference
Alternatives on How to backup Xperias
http://talk.sonymobile.com/thread/36355"
From: http://talk.sonymobile.com/t5/Xperia-Z-ZL-ZR/forgotten-my-pin-code/td-p/303610
Looks like you'll need to format your cell phone.
Click to expand...
Click to collapse
Sorry for my late answer
however ... i solved my problem unlocking my bootloader
i've done it risking because i didn't knew if my bootloader can be unlocked or not but it worked and there was no loss of any data.
I don't know if this works on Xperia ZL but on my Xperia Z (C6602) it worked and also i'm not sure if this works on other Xperia Z phones.
Thank you anyway .
hi .. i forgot ma password for sony xperia z and i tried ur trick ... mine is just different when m typing the code which gave but nothing happening to ma phone its number remaing nothing else .. can u plz help me wid this..??
it works only in 4.1.2
This will work
Nargis143 said:
hi .. i forgot ma password for sony xperia z and i tried ur trick ... mine is just different when m typing the code which gave but nothing happening to ma phone its number remaing nothing else .. can u plz help me wid this..??
Click to expand...
Click to collapse
watch this video http://youtu.be/IaCjMvambro
It will help you to unlock your phone.
It works in Xperia ZL....Thanks for this post...
---------- Post added at 06:25 PM ---------- Previous post was at 06:21 PM ----------
It work in Xperia ZL...thanks for this post..
Welcome
Sent from my D2302 using XDA Free mobile app
This code is not for xperia Z new security. Anyone has other code for bypass pattern lock.
BR.
That doesn't make sense cuz I tried putting that pass code in and question is where do you put it in and where do you hit enter for it you do the demo I do not understand
Hi I have cracked my sreen Sony Z3 I can only type numbers 4 and above and cant get into my phone . Any suggestions please
i forgot my experia n passward for security how can you help me
Dear all,
desperately I am looking for a solution for a kind of very stupid and annoying problem:
I bought my Sony z1 compact in China. Model version: M51, Also called "colorful" in China
This Phone has a for China modified Android version installed. Nothing related to google works.
Well, sure the search engine in the browser. But I need the calendar, play store, etc.
Now I am thinking, has anybody experience with this device? ( only find posts to D5503)
Would it be possible to just update it with an international version? (Android 4.4 firmware 14.3.A.0.681)
Do i need to root, unlock Bootloader, or should a "normal update" work was well?
Or any other suggestions how to proceed?
I come the Apple world, where a jailbreak is one download and one click, I rooted a Xiaomi 2s with some small difficulties, but this looks way more complicated with this phone.... So any help would be appreciated..
Thanks,
mic
solved!
Well, developers,
forums are something strange. I really thought that anybody had a suggestion, a thought, an idea or whatever... 70 views and not a single answer.
Interesting.
Sure i could figure out that a root would help of course, but for a newbie like me, all of the descriptions have gaps and require much more knowledge about it, so that there is still a huge risk to screw it up and to maybe not destroy the phone, but to make it not usable until another solution is found.
Since I needed the phone, for receiving calls and SMS, i needed to go the less risky way and in the end - risk was still there ( is the M51w restricted to china and will not handle the firmware of the D5503) I followed the guide on the
"xperiafirmware" page called "Sony XPERIA Z1 Compact D5503 - Android 4.4 - firmware 14.3.A.0.681" ( sorry, cannot post links yet)
I just flashed the Android 4.4 - firmware 14.3.A.0.68 made for the d5503 (according to the guide "1. how to install the newest Android 4.4 for Sony XPERIA Z1 Compact D5503") it worked with out any problems.
One thing that might be misunderstanding is the Flashtool.
After downloading the flash tool its not called "Xperia flash tool", it looks the same as the "androxyde flash tool", and there is a second one which is the " Sony flash tool that is called "Emma" but the flash tool.
So,... just use the one this author linked in his guide, and don't get confused by the names..
Now I have my problems firstly solved. But have to say that, with that some others come...
- Google account sync seems to be not really under my control
- two google accounts even more hard to handle
- and further settings very limited, so that I sometimes even have the feeling i was free with iOS. And the Xiaomi of course let me taste the complete taste of freedom.
- SD card management
- Walkman
- album folders
...
Well , I will figure that out as well.
Hope this post will help somebody!
Just my 2 cents... Downgrade back to android 4.3 I'm pretty sure some of those problems will be solved. And another is Chinese version of Z1C doesn't have LTE support and since you flashed an international version of the ROM LTE might show up in the settings but there's a huge chance it will not work or possibly cause errors. Phones made for chinese market doesn't have google installed because google is blocked in their country. Just a FYI Never noticed your post so I didn't get to assist you before this but seems like you made the correct choice on solving your problem.
mic001 said:
so that I sometimes even have the feeling i was free with iOS.
Click to expand...
Click to collapse
Once you get fully up and running, you'll LOL like the rest of us reading that. In this kind of situation you are kind of on your own because until you've tried you'll never know and most of the People reading wont advise you to do something that could potentially hard brick your Phone. You've done what I would have done which is grab an ftf and tried it, not much more you can do.
Same problem
Hi Mic,
I want to follow your example with my Chinese Z1 Compact. Are you still around, in case I have some questions? Have you tried to fix the other problems you mentioned? Any new comments? I am going to try to understand the procedure but I would feel better if I could pick your brain in case I get stuck.
cheers
Zibo
Hello friends ... I need a help from you in order to understand where I can be changing the ID of my phone. I have an Xperia ZQ (I'm Brazilian) and the last ROM's, he became identified as Xperia ZL. This does not alter the functioning of the cell, being more a cosmetic issue than a relative necessity, but even so, I wonder if I can again change this ID to Xperia ZQ and if possible, teach me how. I've looked at the build.prop file and could not find this identification. Hugs!
topsbr said:
Hello friends ... I need a help from you in order to understand where I can be changing the ID of my phone. I have an Xperia ZQ (I'm Brazilian) and the last ROM's, he became identified as Xperia ZL. This does not alter the functioning of the cell, being more a cosmetic issue than a relative necessity, but even so, I wonder if I can again change this ID to Xperia ZQ and if possible, teach me how. I've looked at the build.prop file and could not find this identification. Hugs!
Click to expand...
Click to collapse
I find a reference in the build.prop file about Xperia ZL, switched to ZQ and restarted the phone ... anyway, Windows keeps detecting it as Xperia ZL ... are somewhere I need to change?
Thanks..
Help me!!
somebody knows the procedure to take root permission on xz2c?
thanks
As far as I'm aware, it's not yet possible without losing DRM. You lose DRM, no more access to Sony apps including camera.
It's currently a case of hurry up and wait until someone figures it out
usually how long does it take?
Good evening, I proceeded to unlock the bootloader now I'm without a camera (whatsapp web I can not use it ....)
can the xz2 root procedure be applied to the xz2 compact ???
Thanks and good things to everyone
@mark788 no idea. I'm not a dev so don't understand all the intricacies in it. Seems like there aren't many, if any, devs using this phone so we may never be able to properly root or flash this phone. Sony have released the AOSP code but that still needs dev input.
@deep66it pretty sure you're stuck now. Once the DRM keys are broken, there isn't a way to restore them at present. Hopefully someone else can chime in and correct me.
Hi,
deep66it said:
Good evening, I proceeded to unlock the bootloader now I'm without a camera (whatsapp web I can not use it ....)
can the xz2 root procedure be applied to the xz2 compact ???
Click to expand...
Click to collapse
Unfortunately you had to reed the forum before unlocking the bootloader. The camera broken question was approached... Loss of drm keys and TA partition is a known problem about Sony phones.
Now you have to wait that someone find a drm fix to use your camera again.
Otherwise you can try to install AOSP build if you are motivated : https://developer.sony.com/develop/open-devices/guides/aosp-build-instructions/
I will be more optimistic than whiteduck89 about this phone. Xz2 Compact is recognized as a good phone and it will take place like the Z3 Compact in the smartphone world (Z5 Compact get drm fix, TA partition restoration, LineageOs,... and it was not so brilliant).
Sure we have to wait 6 month or one year until this all will be done.
Raphos said:
Hi,
Unfortunately you had to reed the forum before unlocking the bootloader. The camera broken question was approached... Loss of drm keys and TA partition is a known problem about Sony phones.
Now you have to wait that someone find a drm fix to use your camera again.
Otherwise you can try to install AOSP build if you are motivated :
URL="https://developer.sony.com/develop/open-devices/guides/aosp-build-instructions/"]https://developer.sony.com/develop/open-devices/guides/aosp-build-instructions/[/URL
I will be more optimistic than whiteduck89 about this phone. Xz2 Compact is recognized as a good phone and it will take place like the Z3 Compact in the smartphone world (Z5 Compact get drm fix, TA partition restoration, LineageOs,... and it was not so brilliant).
Sure we have to wait 6 month or one year until this all will be done.
Click to expand...
Click to collapse
Hello, excuse me for my English, please let me know:
with AOSP (or better) with GitHub, today, I solve the problem of the camera and the root of this my unlocked xz2 compact ???
Raphos said:
Hi,
Unfortunately you had to reed the forum before unlocking the bootloader. The camera broken question was approached... Loss of drm keys and TA partition is a known problem about Sony phones.
Now you have to wait that someone find a drm fix to use your camera again.
Otherwise you can try to install AOSP build if you are motivated : https://developer.sony.com/develop/open-devices/guides/aosp-build-instructions/
I will be more optimistic than whiteduck89 about this phone. Xz2 Compact is recognized as a good phone and it will take place like the Z3 Compact in the smartphone world (Z5 Compact get drm fix, TA partition restoration, LineageOs,... and it was not so brilliant).
Sure we have to wait 6 month or one year until this all will be done.
Click to expand...
Click to collapse
Why so much time for a custom ROM? And also, any safe way to root? To me it's important for backup and many other things.
mark788 said:
somebody knows the procedure to take root permission on xz2c?
thanks
Click to expand...
Click to collapse
deep66it said:
Good evening, I proceeded to unlock the bootloader now I'm without a camera (whatsapp web I can not use it ....)
can the xz2 root procedure be applied to the xz2 compact ???
Thanks and good things to everyone
Click to expand...
Click to collapse
Regarding root only, as long as you unlock the bootloader of your device (agreeing to the terms of sony): do this, and you're done!
And with this procedure I have no problems? all the programs like the camera etc. work good?
mark788 said:
And with this procedure I have no problems? all the programs like the camera etc. work good?
Click to expand...
Click to collapse
Ofc not, you'll get root only! Root itself won't fix unlocking bootloader related issues, but maybe drmfix!!
Can i ask you When a simple procedure or toolkit will be disclosed to safely run the root? Thank you
you can ask but no-one can reply your question of course.. don't have the crystal ball with me atm