[Q] Regarding what to flash and what not to. - Sony Xperia M2

The title says it all, I'm very hesitant to flash anything to my Xperia M2, even FTFs! I'm scared to death one day my sim card functionalities will cease to work (cannot call, no data, only emergency calls, etc). I am aware that the only way that can happen from an ftf is if I flash the simlock.ta by accident, but my question is this: Is there any way to lose sim-card functions, by flashing too many ROMs or FTFs (upgrading, downgrading)?

Naa man, feel safe to flash. I've flashed my M2 like around 20 times with out any issues. But, i screwed my sim functionality because when flashing a lollipop ftf i didn't excluded simlock.ta. Other than that, everything is perfect. So when ever flashing a rom, just see if it has a simlock.ta, and make sure you exclude it. In my case, i have ftf for JB, KK and L, and only the one for L has a simlock. So just make sure you don't flash the simlock.

Sidow said:
Naa man, feel safe to flash. I've flashed my M2 like around 20 times with out any issues. But, i screwed my sim functionality because when flashing a lollipop ftf i didn't excluded simlock.ta. Other than that, everything is perfect. So when ever flashing a rom, just see if it has a simlock.ta, and make sure you exclude it. In my case, i have ftf for JB, KK and L, and only the one for L has a simlock. So just make sure you don't flash the simlock.
Click to expand...
Click to collapse
Huh, I'll always check for a simlock.ta! Thanks for the clarification!

Sidow said:
Naa man, feel safe to flash. I've flashed my M2 like around 20 times with out any issues. But, i screwed my sim functionality because when flashing a lollipop ftf i didn't excluded simlock.ta. Other than that, everything is perfect. So when ever flashing a rom, just see if it has a simlock.ta, and make sure you exclude it. In my case, i have ftf for JB, KK and L, and only the one for L has a simlock. So just make sure you don't flash the simlock.
Click to expand...
Click to collapse
I don't have simlock on my Xperia M2 but I will ask anyway, is there any way you can back-up that simlock.ta file ?

It's only included on carrier ftf's I think as my m2 is a sim free network unlocked device and I've never removed it from customised ftf's
D2303 5.1lollipop customised NCB LB rooted Nuts t2u dual recovery bravia engine 2+x-reality debloated viper audio

G3RV0 said:
I don't have simlock on my Xperia M2 but I will ask anyway, is there any way you can back-up that simlock.ta file ?
Click to expand...
Click to collapse
Ima be honest, i don't know much about "ta", i don't know if simlock.ta is on the TA partition (it might sound dumb but i don't know). I read a post about a guy explaining Sony's recurity system, that as of today no one can hack it. Simlock.ta is part of that security system(which means that there is no way to backup, as far as i know). So in my case i locked my device, and since there is no way to hack the sec system, i'm screwed (according to what that guy said). But one thing i'm sure about, just whenever flashing an ftf, if it has simlock.ta, exclude it. And even more because your phone doesn't have a simlock.
For example, i had an Xperia S, and whenever flashing ftf including simlock, it would just skip it because it was locked to an specific network. My M2 wasn't, so when trying to flash simlock, and succeded and i locked my phone. So as long as you exclude simlock.ta, you'll be safe.
About what i said about TA partition, and Sony's security system, that's what i've read. I might not be completly right.

Sidow said:
Ima be honest, i don't know much about "ta", i don't know if simlock.ta is on the TA partition (it might sound dumb but i don't know). I read a post about a guy explaining Sony's recurity system, that as of today no one can hack it. Simlock.ta is part of that security system(which means that there is no way to backup, as far as i know). So in my case i locked my device, and since there is no way to hack the sec system, i'm screwed (according to what that guy said). But one thing i'm sure about, just whenever flashing an ftf, if it has simlock.ta, exclude it. And even more because your phone doesn't have a simlock.
For example, i had an Xperia S, and whenever flashing ftf including simlock, it would just skip it because it was locked to an specific network. My M2 wasn't, so when trying to flash simlock, and succeded and i locked my phone. So as long as you exclude simlock.ta, you'll be safe.
About what i said about TA partition, and Sony's security system, that's what i've read. I might not be completly right.
Click to expand...
Click to collapse
I see, so this simlock file is somehow encrypted or lock I guess if it cannot be accessed by people like us. Anyway what would happen if I won't exclude it from a flashing ? My smartphone doesn't have any simlock since I bought it brand new in a shop.
I have a huge favour to ask if you don't mind me asking, I want to unlock my bootloader in Xperia M2 and flash it to a custom rom, I have posted it around two days ago and it has 61 views but no one posted anything. I will appreciate your help if you do. Link to my thread.
Thanks

Ta (Trim Area) can be backup and restored if you have root, but can't be modified. There's a thread in sony Cross device that explains a lot of it.
Sent from my D2303 using Tapatalk

G3RV0 said:
I see, so this simlock file is somehow encrypted or lock I guess if it cannot be accessed by people like us. Anyway what would happen if I won't exclude it from a flashing ? My smartphone doesn't have any simlock since I bought it brand new in a shop.
I have a huge favour to ask if you don't mind me asking, I want to unlock my bootloader in Xperia M2 and flash it to a custom rom, I have posted it around two days ago and it has 61 views but no one posted anything. I will appreciate your help if you do. Link to my thread.
Thanks
Click to expand...
Click to collapse
Your phone does not have a simlock, which means, that if you flash a simlock.ta, it's going to lock it. Just like it happen to me, with no way to fix it. And sure, i'll try to answer on your post.

Sidow said:
Your phone does not have a simlock, which means, that if you flash a simlock.ta, it's going to lock it. Just like it happen to me, with no way to fix it. And sure, i'll try to answer on your post.
Click to expand...
Click to collapse
lol, so it locks and you can never use your Xperia M2 ? Pretty lethal if you ask me until you have backup of the original file. Tho I have flashed few times back to KitKat and I don't think so KitKat TFT file has that file. Ok , I really appreciate it ! :good:

G3RV0 said:
lol, so it locks and you can never use your Xperia M2 ? Pretty lethal if you ask me until you have backup of the original file. Tho I have flashed few times back to KitKat and I don't think so KitKat TFT file has that file. Ok , I really appreciate it ! :good:
Click to expand...
Click to collapse
You're wlecome, but you can't backup the simlock file. Watch:
1-If you phone is already locked to a network, you can't remove it, not replace it. (You can unlock the phone with a code but that's another story). So if you try to flash an ftf with simlock, nothing will happen.
2-If your device is not locked to an specific network (doesn't have a simlock) and you flash an ftf with simlock, there's when you have screwed your phone.

Related

In what order do I flash/relock to get OTA? Please Help

Hello!
I bought a phone, with unlocked bootloader and root. Z3 D6603
I dont know exactly how the previous owner unlocked BL etc.
But I flashed it to 23.1.A.1.28 lolli, fixed super SU and dualrecovery.
The thing is, I now want to return it to stock, so that i can get OTA updates by Sony Companion, and i have no idea how to do so.
Searched the forums, and found a lot of info, but I dont want to brick or ruin anything.
Do I need to flash stock firmware without root, remove dualrecovery or relock BL, or maybe all of it?
I posted this earlier, and im not sure if I explained it right, I said I wanted a step by step guide.
What I meant was a guideline in what ORDER to do stuff, not how to do them.
Is it enough to relock the bootloader, and then use Sony Companion to update, or do I need to flash something, maybe go back to original recovery first?
Help is sincerely appreciated !
PS: Sorry for posting again, but I dont know how to change the headline/bump the post, and need this done ASAP, or else I wont have a working phone in a few days. ( Change of sim card)
Regards ImmoralCore
Please? Anyone?
ImmoralCore said:
Please? Anyone?
Click to expand...
Click to collapse
Nothing. If it is unlocked and you dont have backup of original TA partition. There is no help. You can't get you DRM keys back and without them you cant relock to original state. And majority of Sony stock fw simply doesnt provide OTA for unlocked bootloaders, except for the new Sony Concept ROM.
You may try to download Androxyde Flashtool as it provides relock function, however it doesnt restore TA. If it brings OTA back not sure, because I always backup my TA so just try it.
Sent from my D6603 using Tapatalk

Any necessary precautions for flashing stock FTF file with Flashtool?

I own an M2 D2303. I've rooted it with Towelroot, so I'm stuck with Jellybean for now and am thinking of upgrading to Lollipop. I rooted mainly to delete bloatware and some stock Sony apps that I thought were useless. I haven't done any modification other than that (e.g. flashing custom ROMs).
I've found an FTF file for update 18.6.A.0.175. My main concern right now is if this will be safe to flash with Flashtool. I've seen some tutorials for flashing that warn me to backup IMEI information before flashing, but those are usually for if people want to flash custom ROMs rather than stock ROMs. So, are there any extra precautions I really have to take (besides backing up the data on my phone...also, would the stock Backup & Restore app suffice?), or will this generally be a safe process?
Flashing you need an unlocked bootloader too not just root,
Make sure you have 50+% battery and the USB connection on your phone and pc is good also do not use your phone or pc especially the USB ports during this period also it's good to get an exact backup of every thing
You do not need unlocked bootloader to use flashtool or be rooted for that matter. Flashtool will work on totally stock devices. totally the wrong information for sonys EMMA software you need unlocked bootloader which is totally different to flashtool
[email protected] said:
You do not need unlocked bootloader to use flashtool or be rooted for that matter. Flashtool will work on totally stock devices. totally the wrong information for sonys EMMA software you need unlocked bootloader which is totally different to flashtool
Click to expand...
Click to collapse
Thank you very much for the response
Just clarifying that I am indeed not talking about Sony's EMMA but Androxyde's Flashtool. So will this be safe for my phone then? Would it really be necessary to still back up IMEI or take any other precautions?
Sorry, I'm just really clueless right now and I'm worried I might do something wrong.

Going from Z to Z5 Compact - downgrade to 4.42?

Evening all,
Just placed an order for the Z5 Compact after my Z has started playing up after 3 years of use,
Basically I had mine rooted a long time ago, and I havnt really touched it since or done any rooting/customization in ages and im drawing a blank..
Basically want to root the Z5 and downgrade to the 4.42 firmware as I have on my Z, as I dislike the 5.51 software the menu options etc looks very tacky for stock Sony layout, and it looks like 6 marshmallow is the same.
Is this feasible or reccomended?
Is there a step by step guide I can follow as I am seriously ****e with computers and all this stuff, I also wanted to learn about and if there are guides on how I can customise the menu etc If I can keep 5.51 or even upgrade to 6.0 and root the device and install a custom theme and change the menu layout etc?
Is this possible at all, I know people have custom software but I havnt a clue on how to go about rooting it let alone customising it...
Any help much appreciated!
There is no 4.4.2 firmware available for z5 series...
Daniel_GB said:
There is no 4.4.2 firmware available for z5 series...
Click to expand...
Click to collapse
lol cool well that answers that, can the menu/ settings etc be customized and changed,
kam90 said:
lol cool well that answers that, can the menu/ settings etc be customized and changed,
Click to expand...
Click to collapse
I don't think you can customize settings menu in stock roms...
Daniel_GB said:
I don't think you can customize settings menu in stock roms...
Click to expand...
Click to collapse
Im planning on rooting from 5.51 found a decent guide with use of command prompt so should be easy I hope! Is there an app/program downloadable after root which will allow me to apply custom themes/ menu layouts.
I can only remember Super SU, and theres an aptoide one I had iirc
hey. no offense but i'd suggest you read and learn a bit more about rooting newer xperia devices before you do any mistake.
its for sure no easy thing if you arent much into this stuff. just to mention one thing: at this moment there is no way to root the z5
with locked bootloader. unlocking your bootloader means, that you most probably lose your warranty and the drm keys. those keys
can be simulated by a workaround, but infact they are gone forever without any chance to restore them.
in the end, rooting the z5 now is a process of unlocking bootloader (via flashtool or adb), flash kernel via adb, flash twrp recovery via adb
and finally install supersu via twrp flash.
these should be enough keywords to google for, and/or getting knowledge here in xda forums. once again, i just can advice
you read all those guides twice....
VorlonKosh said:
hey. no offense but i'd suggest you read and learn a bit more about rooting newer xperia devices before you do any mistake.
its for sure no easy thing if you arent much into this stuff. just to mention one thing: at this moment there is no way to root the z5
with locked bootloader. unlocking your bootloader means, that you most probably lose your warranty and the drm keys. those keys
can be simulated by a workaround, but infact they are gone forever without any chance to restore them.
in the end, rooting the z5 now is a process of unlocking bootloader (via flashtool or adb), flash kernel via adb, flash twrp recovery via adb
and finally install supersu via twrp flash.
these should be enough keywords to google for, and/or getting knowledge here in xda forums. once again, i just can advice
you read all those guides twice....
Click to expand...
Click to collapse
DRM keys arent really required though are they? are they not restorable/ way to back them up prior, ive googled Z5 compact root and ive got loads of links on search results though
Voiding warranty of new device and god knows what will be with restored fake DRM keys with further updates, and no, there is NO rooting Z5 series with having Bootloader locked for now, i doubt there will ever be a method but hope im wrong. You might want to reconsider Z5 series, replace your Z with Z3 that is easily rootable even with locked BL and is on Marshmallow list.
kam90 said:
DRM keys arent really required though are they? are they not restorable/ way to back them up prior, ive googled Z5 compact root and ive got loads of links on search results though
Click to expand...
Click to collapse
well, the drm keys are required for e.g. x-reality, camera postprocessing, ps controller support and much more. at the moment the drm restore patch works, but who knows, google or sony could counterpatch this aswell. you can only backup them with root. to get root you need to unlock your bootloader first. unlock bootloader = drm key lost forever. you cant lock your bootloader without original drm keys, and with unlocked bootloader you dont have ota updates and pc companion wont work anymore. means, you always have to update manually with
flashtool.
Really?! Cause with my Z I could link up with pc companion and do a factory reset which wiped out the root and everything on it when it froze up..
What about the main thread on this forum... is there any other reading or threads/guides in relation to this

Quick questions about flashing 32.2.A.0.305

I have not received the 32.2.A.0.305 update for my Z5 yet, so I went to XperiFirm to check which region my device's firmware is from. It turns out the firmware is CDA 1298-2996 (South Africa).
I live in Australia and wish to flash the Customized AU firmware with CDA 1298-7277. I want to do this so that my device will be updated and will be using the Australian firmware.
My bootloader is locked; is flashing possible without unlocking the bootloader?
Will flashing a different firmware potentially cause damage (my device is not network locked, and single sim E6653).
Will this affect my warranty / DRM keys?
Thank you in advance, I appreciate any help :angel:
You are safe to flash almost any E6653 Firmware onto your E6653
Obviously dont flash test firmwares or ones that May lock your sim
Sent from my E6653 using XDA-Developers mobile app
Envious_Data said:
You are safe to flash almost any E6653 Firmware onto your E6653
Obviously dont flash test firmwares or ones that May lock your sim
Sent from my E6653 using XDA-Developers mobile app
Click to expand...
Click to collapse
Thank you And the DRM keys should not be affected? I have read that unlocking the bootloader only affects the keys.
csfrank271 said:
Thank you And the DRM keys should not be affected? I have read that unlocking the bootloader only affects the keys.
Click to expand...
Click to collapse
Flashing a FTF shouldent touch DRM At all.
Envious_Data said:
Flashing a FTF shouldent touch DRM At all.
Click to expand...
Click to collapse
Thanks again, I appreciate the knowledge!
csfrank271 said:
I have not received the 32.2.A.0.305 update for my Z5 yet, so I went to XperiFirm to check which region my device's firmware is from. It turns out the firmware is CDA 1298-2996 (South Africa).
I live in Australia and wish to flash the Customized AU firmware with CDA 1298-7277. I want to do this so that my device will be updated and will be using the Australian firmware.
My bootloader is locked; is flashing possible without unlocking the bootloader?
Will flashing a different firmware potentially cause damage (my device is not network locked, and single sim E6653).
Will this affect my warranty / DRM keys?
Thank you in advance, I appreciate any help :angel:
Click to expand...
Click to collapse
you can flash and what ever with your device, DRM keys are safe!
when u ulock bootloader, the device WIPE user Data and sony partitions (TA (trimArea) partitions) and DRM keys and FIDO keys will be lost!
this $h!t is with sony only!!
i rooted my fone and having modified kernel having DRM stimulation installed. its working fine now.
- at any given day, to a thirsty user who wants to CONTROL his Xperia to the most. i would say, ignore drm keys and make a deal with devil to have root access
- however since Xperia Z5 (unlike latest xperia Xseries) came out on LP kernel. so u can FLASH LP kernel and root it with app like kingroot and extract your DRM keys to windows pc and back it up. now u can flash the LASTED Android back on you Xperiaz5 and unlock your boot loader to have root access.
check this
http://forum.xda-developers.com/z5-...ting-xperia-z5-z5p-variants-drm-keys-t3437902
YasuHamed said:
you can flash and what ever with your device, DRM keys are safe!
when u ulock bootloader, the device WIPE user Data and sony partitions (TA (trimArea) partitions) and DRM keys and FIDO keys will be lost!
this $h!t is with sony only!!
i rooted my fone and having modified kernel having DRM stimulation installed. its working fine now.
- at any given day, to a thirsty user who wants to CONTROL his Xperia to the most. i would say, ignore drm keys and make a deal with devil to have root access
- however since Xperia Z5 (unlike latest xperia Xseries) came out on LP kernel. so u can FLASH LP kernel and root it with app like kingroot and extract your DRM keys to windows pc and back it up. now u can flash the LASTED Android back on you Xperiaz5 and unlock your boot loader to have root access.
check this
http://forum.xda-developers.com/z5-...ting-xperia-z5-z5p-variants-drm-keys-t3437902
Click to expand...
Click to collapse
Thanks for the advice, I will look into it in the future when CyanogenMod improves and I need to unlock the bootloader to install it. My main incentive for this would be to greatly improve the camera, which we all know takes very washed-out photos.
I have just gone through the firmware flashing process. Thankfully there are many guides available and it all worked just fine, so I am using the current, correct firmware now
The worst part was just the waiting and suspense (feels like a lot could go wrong).
Thanks again Envious_Data and YasuHamed!
csfrank271 said:
Thanks for the advice, I will look into it in the future when CyanogenMod improves and I need to unlock the bootloader to install it. My main incentive for this would be to greatly improve the camera, which we all know takes very washed-out photos.
I have just gone through the firmware flashing process. Thankfully there are many guides available and it all worked just fine, so I am using the current, correct firmware now
The worst part was just the waiting and suspense (feels like a lot could go wrong).
Thanks again Envious_Data and YasuHamed!
Click to expand...
Click to collapse
i had flashed Cm13 on XperiaZ and inbuilt camera app of CM13 was worse than xperia! and if you think you z5 camera isn't working properly then God Help you when you won't have DRM keys in place! because the DRM keys actually enables feature of camera which wont be activated if DRM keys are lost
nothing will go wrong! be confident! sony devices are Hardcore stallions! once you nail them! they will be your pet!

Xperia XA hacked. Worried about ROM virus.

Hi. Hope some Sony Xperia guru can help me with this.
I recently went on vacation and left my Xperia XA F3111 at home. Some a***hole had access to it for over 2 weeks and installed some malware on it. When I found out I factory reset the phone, but I really want to restore the stock ROM too in case he has flashed the phone with a malware-infested ROM which will survive a reset.
My problem is, the phone settings say "Bootloader unlock allowed = No". The guide here on XDA Developers say that this setting means he could not root the phone. My first question is, would this setting have also prevented him from installing a custom ROM?
If that would not have stopped him, are there any step-by-step instructions as to how I can reinstall a clean stock Sony ROM with that bootloader config setting in place?
Thx. D.
Hi, factory reset of the phone was the best choice. You don't need to worry about the integrity of the system as long as your bootloader stay locked so you don't need to flash it again.
For the malwares it's probably coming from crappy apps, for sample: https://www.google.com/amp/s/bgr.com/2018/11/25/google-play-store-apps-removed-malware-found/amp/
@rrvuhpg
Many thanks for your answer. The phone says the bootloader cannot be unlocked, but does this mean he could not have unlocked it, flashed a virus infected ROM and then re-locked it?
I mean, does that config setting mean that nobody can ever unlock the bootloader and change the ROM?
dmeddings said:
@rrvuhpg
Many thanks for your answer. The phone says the bootloader cannot be unlocked, but does this mean he could not have unlocked it, flashed a virus infected ROM and then re-locked it?
I mean, does that config setting mean that nobody can ever unlock the bootloader and change the ROM?
Click to expand...
Click to collapse
Yes exactly, almost nobody can corrupt the system (for now). If one day you see a TA dumper for locked bootloader on Nougat or a root exploit it will mean that your phone can be corrupted.

Categories

Resources