So, I screwed up while flashing and deleted my photos - Sony Xperia XZ3 Questions & Answers

Got myself an XZ3 with unlocked bootloader so I used Newflasher to upgrade it to Android 10. Process went well, but unfortunately my backup of the pictures I've taken with it wasn't where I thought it was.
Anyway, I guess I can live without them. But I thought I should check if there's a way to run undelete on the built-in memory?

Related

[Q] Data Recovery (no root)

Hi All,
So I've come to these forums a bunch seeing new rooting methods and just generally interested in androids in general but I'm having an issue that I can't seem to find addressed anywhere or at least I'm having no success currently getting this to work. So one of my clients has a verizon moto maxx running 4.4.4 kitkat. He used the phone to take a bunch of photo's and video of a trip he went on and when he was trying to move the data onto his computer he accidentally deleted it. Now the phone is a corporate phone, given to him by our company, so rooting isn't really an option and even if it was his bootloader isn't unlocked so I'd have to unlock it which would reformat the phone anyway. So I was wondering if anyone here has any suggestions on how I could recover his data which is very important to him without rooting and\or a root work around that I can do without unlocking the bootloader.
Thanks all you're my best hope,
Ber
beriska said:
Hi All,
So I've come to these forums a bunch seeing new rooting methods and just generally interested in androids in general but I'm having an issue that I can't seem to find addressed anywhere or at least I'm having no success currently getting this to work. So one of my clients has a verizon moto maxx running 4.4.4 kitkat. He used the phone to take a bunch of photo's and video of a trip he went on and when he was trying to move the data onto his computer he accidentally deleted it. Now the phone is a corporate phone, given to him by our company, so rooting isn't really an option and even if it was his bootloader isn't unlocked so I'd have to unlock it which would reformat the phone anyway. So I was wondering if anyone here has any suggestions on how I could recover his data which is very important to him without rooting and\or a root work around that I can do without unlocking the bootloader.
Thanks all you're my best hope,
Ber
Click to expand...
Click to collapse
Technically, the only the international versions of this device are called the "Moto Maxx", the Verizon versions are called the "Droid Turbo". There are no root or bootloader unlock methods available for the Turbo.
He might be able to recover the data, depending on how he deleted it and what's he done since deleting it. If he hit a delete all button or something, then he might be good. That only really deletes the "hooks" to that data and makes the storage space the data exists on available to write on, because that's a lot faster than actually deleting all of the data. The only way the data really gets deleted is once that storage space is overwritten with new data.
There's no way of knowing if the data is still there to be recovered, and you need to use 3rd party software to do so. My friend has used this service before with success: http://www.wondershare.net/ad/dr-fo...geK_vorCLp-HKwHo11cOy-LBrNS29vKP50aAoOg8P8HAQ
I've never personally used it, nor do I know if it costs anything. It doesn't appear to, but I haven't installed it.
Try using Puran File Recovery. I've used it in the past when i've accidently deleted a file off my phone. I believe it's free to use.
@joshm.1219
I used Dr. Fone and it said the phone was not a serviceable model. It still said it could recover the data but required the phone to be rooted since it wasn't a normal model for it. Thanks for the suggestion though.
How do I use Puran File Recover on my phone?
bkrnc03 said:
Try using Puran File Recovery. I've used it in the past when i've accidently deleted a file off my phone. I believe it's free to use.
Click to expand...
Click to collapse
Hi there, I am a huge noob (as in I just started trying to retrieve my sms messages today) and am hoping Puran can help me... After trying to root my phone for a long time I found out that Android Maxx 4.4.4 can't be. So now I'm looking at recovery options that don't require the phone to be rooted. I downloaded Puran to my computer, but can't figure out how to run it on my phone. So I also tried to download it on my phone, but the file won't open.... How have you run it on your phone in the past? I am beyond desperate to recover these texts and any help you can provide will be HUGELY appreciated.

[Q] Accidentally wiped data while unlocking bootloader

Hi guys, I made kind of a boo boo while unlocking the bootloader for my M7. So here's what happened, I received an update notification OTA so I had to relock my bootloader and install a stock recovery. No problems so far, here's where I make my fatal mistake.. I used titanium backup to backup my data and stuff but completely forgot that unlocking the bootloader does a complete wipe, I thought it was only a minor wipe where it keeps the internal storage data. So I update OTA, unlock the bootloader, flash custom recovery and root it and BAM! all my stuff is gone, nothing in my internal storage! I'm so mad with myself cause I had saved messages, game saves, pics etc but it's all disappeared.. I did a nandroid backup beforehand but it's no use. If I had known it does a complete factory reset I would of simply copied everything to my computer, and it's my fault for not reading on that before..
My question. Is there a possible way to recover the lost data like software cause it took me a long time to progress with my games and have a couple of years of saved messages from my old phone to the M7 and it's all wiped, pictures I don't care about too much. I'd really appreciate if someone could help me out. Cheers
Stevo001457 said:
Hi guys, I made kind of a boo boo while unlocking the bootloader for my M7. So here's what happened, I received an update notification OTA so I had to relock my bootloader and install a stock recovery. No problems so far, here's where I make my fatal mistake.. I used titanium backup to backup my data and stuff but completely forgot that unlocking the bootloader does a complete wipe, I thought it was only a minor wipe where it keeps the internal storage data. So I update OTA, unlock the bootloader, flash custom recovery and root it and BAM! all my stuff is gone, nothing in my internal storage! I'm so mad with myself cause I had saved messages, game saves, pics etc but it's all disappeared.. I did a nandroid backup beforehand but it's no use. If I had known it does a complete factory reset I would of simply copied everything to my computer, and it's my fault for not reading on that before..
My question. Is there a possible way to recover the lost data like software cause it took me a long time to progress with my games and have a couple of years of saved messages from my old phone to the M7 and it's all wiped, pictures I don't care about too much. I'd really appreciate if someone could help me out. Cheers
Click to expand...
Click to collapse
Unfortunately I think it's all lost, Most Android games have a cloud backup system, Real Raceing 3 for example allows you to restore your game progress from the in game settings see attached screen shots. Most other games will restore your progress on login if you selected "Backup My Device With my Google account" when you setup your rom.
Messages, Pics, Music and so on are probably irrecoverable. It's possible a Recovery software may help but will most likely be expensive. So unless somebody has some jewel of info to post here I think it's safe to say it's lost.
For the record you don't need to relock your bootloader to install OTA updates. As long as you have a Complete stock rom with stock recovery OTA's will install fine while Unlocked with either s-on or s-off. Relocking is only required for manually updating firmware with a device that's s-on. :good:
Right thanks Danny, I'll take that into account next time. The forum said it was optional so I unlocked it to be safe but didn't realise it would be so detrimental to my files. On the bright side I did make a nandroid which included my old messages by good fortune. Pretty darn happy to retrieve those, got some of my data back and had a duplicate of my music on the laptop. Lost some of my important game states which I'm trying to salvage, but if I can't then meh.

Backing up N6 with Helium

Hi,
Dropped my N6 as per the drop thread. Received my replacement unit from Motorola. Trying to get Helium backups going. Since the phone is encrypted it keeps popping up asking for a password. I put one in and say start backup, nothing happens. I tried both PC Download and internal backup. Last tried I only picked 8 small apps and its not finishing. I thought maybe the pattern lock sequence have something to do with it, so I changed it to a pin code. Still no dice.
Has anyone successfully ran Helium on an encrypted (5.1) N6? I tried the Motorola migrate app, but that one I cant get in receive mode on new phone. I have my old N6 backuped with Google but when I try and restore from the new phone it only finds my tablet backup. This should all be so simple but yet very hard.
Not sure about helium. I guess you're unrooted / locked bootloader?
rootSU said:
Not sure about helium. I guess you're unrooted / locked bootloader?
Click to expand...
Click to collapse
Correct. Gave up for now, doing manual backups of tasker etc. Spent too much time getting Helium/Migrate/Google Backups to work.

Couple of questions before attempting root

Hey guys,
So before I go ahead an attempt to unlock my bootloader and root my phone, just wanted to clear a couple of things up first.
This is my first Huawei device, previous one was a Sony, so I'm a little unfamiliar with a few things.
1. Is unlocking the bootloader required for root? If not, could someone point me in the direction of a guide to root only?
On the Sony, as long as I had a compatible firmware, I could root without unlocking the bootloader.
2. Will I lose any DRM Keys, proprietary features (Force Touch, Themes etc) through unlocking the bootloader and/or rooting? If so, can these be restored afterwards, while retaining root?
Again, with the Sony, unlocking the bootloader would result in losing DRM Keys related to visual enhancements, and were required to be backed up (via TABackup) prior to unlocking the bootloader. These could then be restored after root, and function as normal.
3. If you do lose features, and they can't be restored while keeping root. If I flash a stock ROM back on, losing root in the process, will these features also be restored?
Thanks
djyoshii said:
Hey guys,
So before I go ahead an attempt to unlock my bootloader and root my phone, just wanted to clear a couple of things up first.
This is my first Huawei device, previous one was a Sony, so I'm a little unfamiliar with a few things.
1. Is unlocking the bootloader required for root? If not, could someone point me in the direction of a guide to root only?
On the Sony, as long as I had a compatible firmware, I could root without unlocking the bootloader.
2. Will I lose any DRM Keys, proprietary features (Force Touch, Themes etc) through unlocking the bootloader and/or rooting? If so, can these be restored afterwards, while retaining root?
Again, with the Sony, unlocking the bootloader would result in losing DRM Keys related to visual enhancements, and were required to be backed up (via TABackup) prior to unlocking the bootloader. These could then be restored after root, and function as normal.
3. If you do lose features, and they can't be restored while keeping root. If I flash a stock ROM back on, losing root in the process, will these features also be restored?
Thanks
Click to expand...
Click to collapse
1) I used the SRK Tool (http://forum.xda-developers.com/p9-plus/development/tool-srk-tool-huawei-bootloader-root-t3405999) and it showed step by step on rooting. Unlocking bootloader seems to be one of the steps before rooting. Maybe you can ask somboons about it.
2) For me, unlocking the bootloader basically resets my phone. And added a warning just before the phone bootup to android (from cold state or off state) that the bootloader has been unlocked and the phone is not trusted now. Just need to restore the apps and other data through the HiSuite backups after unlocking and rooting seems to be fine. Not sure about DRM keys, and others as didn't try those out before doing bootloader unlock. But I did lost my remote set up as it was not part of the HiSuite's data backup.
3) Do a backup with HiSuite should be able to help you. Just need to identify in the HiSuite that the apps and their data is being backed up.
prismfire said:
1) I used the SRK Tool (http://forum.xda-developers.com/p9-plus/development/tool-srk-tool-huawei-bootloader-root-t3405999) and it showed step by step on rooting. Unlocking bootloader seems to be one of the steps before rooting. Maybe you can ask somboons about it.
Click to expand...
Click to collapse
Thanks mate, I did have a look at that thread as well, and another (less detailed) post. Was just wanting to confirm if there was any other method without need for bootloader unlocking. Figure the less things to modify, the less chance of something going wrong, which has worked well for me so far.
prismfire said:
2) For me, unlocking the bootloader basically resets my phone. And added a warning just before the phone bootup to android (from cold state or off state) that the bootloader has been unlocked and the phone is not trusted now. Just need to restore the apps and other data through the HiSuite backups after unlocking and rooting seems to be fine. Not sure about DRM keys, and others as didn't try those out before doing bootloader unlock. But I did lost my remote set up as it was not part of the HiSuite's data backup.
Click to expand...
Click to collapse
Any way to remove that message while retaining root? Sounds similar to the 'yellow triangle' back when I had an S2, but that was able to be removed, is this the same?
Not too worried about backing up apps & data at the moment, I haven't fully set up my phone as I realised it would most likely be lost upon rooting. But thanks for the heads up!
prismfire said:
3) Do a backup with HiSuite should be able to help you. Just need to identify in the HiSuite that the apps and their data is being backed up.
Click to expand...
Click to collapse
Sorry I was more thinking along the lines of, if any P9+ exclusive features were to be lost during root, could they easily be restored simply by flashing a stock ROM again? Apps & app data seem to be easy enough to restore via HiSuite/Titanium etc
djyoshii said:
Thanks mate, I did have a look at that thread as well, and another (less detailed) post. Was just wanting to confirm if there was any other method without need for bootloader unlocking. Figure the less things to modify, the less chance of something going wrong, which has worked well for me so far.
Any way to remove that message while retaining root? Sounds similar to the 'yellow triangle' back when I had an S2, but that was able to be removed, is this the same?
Not too worried about backing up apps & data at the moment, I haven't fully set up my phone as I realised it would most likely be lost upon rooting. But thanks for the heads up!
Sorry I was more thinking along the lines of, if any P9+ exclusive features were to be lost during root, could they easily be restored simply by flashing a stock ROM again? Apps & app data seem to be easy enough to restore via HiSuite/Titanium etc
Click to expand...
Click to collapse
The orange colored message i read from somewhere that it's Android security implementation standard or something. There's red message also which renders the whole phone can not boot in unless being reset.
In terms of the exclusive apps, not that I know of. Checked with my friend who kept her device as it is, without all the unlock and rooting, and compare with my device which went through and upgrade, unlock and a rooting process - no missing apps noticed.
Thanks guys
prismfire said:
The orange colored message i read from somewhere that it's Android security implementation standard or something. There's red message also which renders the whole phone can not boot in unless being reset.
In terms of the exclusive apps, not that I know of. Checked with my friend who kept her device as it is, without all the unlock and rooting, and compare with my device which went through and upgrade, unlock and a rooting process - no missing apps noticed.
Click to expand...
Click to collapse
I read ur conversation and I have been wondering if it's safe so thank you. But I still have 1 question "if I change my oem can I still use my 2 sims"?
prismfire said:
The orange colored message i read from somewhere that it's Android security implementation standard or something. There's red message also which renders the whole phone can not boot in unless being reset.
In terms of the exclusive apps, not that I know of. Checked with my friend who kept her device as it is, without all the unlock and rooting, and compare with my device which went through and upgrade, unlock and a rooting process - no missing apps noticed.
Click to expand...
Click to collapse
So i've successfully rooted the phone, and yeah I get that 'your device has been unlocked and isn't safe' message on boot. It's not too much of a bother, besides being unsightly, but I don't really reboot my phone too often anyway.
I haven't noticed anything missing either, a few minor bugs have started to appear, but that might have to do with Xposed (I would guess).
Thanks for the advice & help!
Abdo2 said:
I read ur conversation and I have been wondering if it's safe so thank you. But I still have 1 question "if I change my oem can I still use my 2 sims"?
Click to expand...
Click to collapse
Dear Abdo2,
I'm not knowledgeable about the term oem here.
But if it is an issue of dual sim usage, I presume it's built into the ROM? What I know is all P9+ are hybrid dual sim, so it should be part of the ROM that you have.
I'm using VIE-L29C636B170. And it have the dual sim support in-built...although I've not used it yet.
See if anyone knowledgeable to your question passing by here can answer you. If not, maybe you can try the question & answer thread. Or post as another new thread if really no one got your question.
Regards.
---------- Post added at 02:39 PM ---------- Previous post was at 02:29 PM ----------
djyoshii said:
So i've successfully rooted the phone, and yeah I get that 'your device has been unlocked and isn't safe' message on boot. It's not too much of a bother, besides being unsightly, but I don't really reboot my phone too often anyway.
I haven't noticed anything missing either, a few minor bugs have started to appear, but that might have to do with Xposed (I would guess).
Thanks for the advice & help!
Click to expand...
Click to collapse
Dear djyoshii,
Good to know.
About the security message, one of it is mentioned here:
https://source.android.com/security/verifiedboot/verified-boot.html
For minor bugs, I'm not sure what you have. I've 3 games and 1 app that behaves not like when I used my previous phone (on Android 5.0). That's around 3-5% of all the apps that I used (meaning, majority works fine). Of those some of them related to Android 6.0 issue (actually the apps not updated for the Android version well). So, for me generally I would think it's marshmallow thing.
Regards.
Hi,
long time htc user (always totally unlocked) but looking to get a p9 plus for my wife (this is the important part).
can someone give me a simple answer...
if i only root the phone (for titanium backup mainly and maybe some cosmetic mods) will i be able to unroot it and return it under warranty?
phones here in Dubai are all unbranded so no problems there.
I have no need to unlock bootloader (yet )
gazzacbr said:
Hi,
long time htc user (always totally unlocked) but looking to get a p9 plus for my wife (this is the important part).
can someone give me a simple answer...
if i only root the phone (for titanium backup mainly and maybe some cosmetic mods) will i be able to unroot it and return it under warranty?
phones here in Dubai are all unbranded so no problems there.
I have no need to unlock bootloader (yet )
Click to expand...
Click to collapse
Dear gazzacbr,
From what I tried (been a while since I last did this), one will have to unlock the bootloader first before rooting. Apparently rooting is the last step of the whole process (if you are using the SRK tools). Now, to go back to the status of unrooted, I just use the superSU's total unroot option to unroot. And to go further back to bootloader, there is an option within SRK tool but my last attempt failed to relock the bootloader back. Didn't spend so much time to play around with the unlocking the bootloader after that. So, I just use as is - unlocked bootloader with no root.
One thing you need to note, for titanium backup, I end up just using their own desktop application called HiSuite. It does backup app and app data for you. Not system apps' data though. For theme customisation, MIUI do have a friendly Themer app that you can use to change the look. The corresponding theme files (*.hwt) are zipped, so you can always use 7zip to open and edit the assets inside to the one that you want.
Ok, thanks for the good info @prismfire. As long as it could be rooted sometime later then thats fine. Will pick up one this weekend.
Am going to be jealous though as I guess it's a step up from my 'old' M8
Sent from my HTC One_M8 dual sim using XDA-Developers mobile app

What's the easiest way if you only want root access, nothing else?

First of all, I have been using custom kernels and later rooting since Pocket PC 2002/Merlin, and I now have bought my first Sony (after just about every other brand of Android phone, no particular reason why I never had a Sony since the SE T68) because it's the only phone I can use with salt water spray on the screen and wet fingers. I do a lot of lobster, crayfish and crab fishing with traps and use an app called Fishing Poins to keep track of my pots and what I get where. Coming from Samsung (S5 was the latest I had) the rooting of a Sony seems rather cumbersome, but I have a few apps that need root access. LIke Air Audio to play music through an Airplay system. DLNA is useless to me, I want to stream the audio that I'm using on the phone directly to the whole house systen.
So can somebody please tell me what I do to get root access on Nougat (which my phone upgraded to before I saw that's what was happening, and no, I'm not big on reading long explanation screens, if it's a new phone and an official upgrade I am used to just doing it before I root on Samsung phones, since I have to unroot to install them later) and nothing else? For now I don't want to use any custom kernels or recovery, if I can avoid it. Just stock, rooted, like I could on my S5 (and Note 2, S4 Active and so on), please!
I did attempt the KingRoot app, but it didn't work. Also I have read a bit about that app that doesn't seem to good (Chinese spy fator app), so I did a full reset after the failed attempt. But if there's something similar that would be the perfect way of doing this. Of course I'm no stranger to ADB, so hooking it up to my pc is not a problem either.
1. Downgrade to any version of stock Marshmallow firmware with Xperifirm and Flashtool. Wipe everything and Exclude nothing (but *.ta - if any). Do not use FSC script! << FSC is now mandatory!
2. Backup your device's TA partition with Universal TA Backup tool.
3. Flash Nougat firmware (again with Xperifirm and Flashtool). Wipe everything and Exclude nothing (but *.ta - if any).
4. Unlock your device's bootloader
5. Follow this instructions to create/flash a custom kernel with root, and also DK.ftf (to fully reactivate sony's drm keys, which is wiped when bootloader is unlocked).
Anyway, try it at your own risk!
Thanks! So that's the method, which of course means deleting everything I've set up on the phone. Is there a chance there may be an easier, less destructive way during the next month or so? I can do without root access for that long.
oh, btw, by "custom kernel" do you mean that it will not be the original setup for the phone? I've been betatesting kernels on many devices, but nowadays I only want a phone that works without any hitches, and I want access to the official updates. That was easy on the Samsung phones, but maybe Sony is more different than I thought?
Oh, btw, maybe it is explained in the long post you directed me to, but I recently had an eye operation, and I would appreciate a shorter answer, before I get to the "how to", which takes me a while to read right now...
NEVER MIND THIS MESSAGE! Now I understand what Xperfirm is...
Also where would be a safe place to download ROMs from? Both the downgrade ROM and the Nougat ROM? I now really wish I hadn't let the thing upgrade before I took the TB backup (I'm still a bit unsure as to why I need that, I don't use any media with any form for DRM, but I guess better safe than sorry).
Mastiff said:
NEVER MIND THIS MESSAGE! Now I understand what Xperfirm is...
Also where would be a safe place to download ROMs from? Both the downgrade ROM and the Nougat ROM? I now really wish I hadn't let the thing upgrade before I took the TB backup (I'm still a bit unsure as to why I need that, I don't use any media with any form for DRM, but I guess better safe than sorry).
Click to expand...
Click to collapse
As far as I know there's no danger to download through Xperifirm, you need TA for guarantee reasons (if your phone need repair, not everywhere but for safety)
THanks, yeah. I have managed to read a bit and found out that Xperifirm downloads from the official Sony servers. Pain in the ass downloading, it breaks the download every couple of minutes. But that's probably Sony's servers, not the program. As for warranty, that's no problem in Norway since we have very strong consumer rights here. If an error can not be prooven to stem from rooting or other software stuff, it will be fixed. If I remember correctly Apple tried really hard to battle with the consumer rights officials about jailbreaking, but they had a very bloody defeat.
Seems like I have a problem. The Telenor Nougat ROM doesn't have a loader, according to Flashtool. Neither do the two other ROMs I have downloaded so far, but I'm trying again with a third, which doesn't have the "customised" moniker. So I hope that has a loader. But how do I upgrade again to Nougat, with the Norwegian version, when the Telenor ROM doesn't have a loader?
Mastiff said:
Seems like I have a problem. The Telenor Nougat ROM doesn't have a loader, according to Flashtool. Neither do the two other ROMs I have downloaded so far, but I'm trying again with a third, which doesn't have the "customised" moniker. So I hope that has a loader. But how do I upgrade again to Nougat, with the Norwegian version, when the Telenor ROM doesn't have a loader?
Click to expand...
Click to collapse
if your phone is locked(Bootloader),fix it using Xperia Companion..that way it upgrades automatically to Nougat.
if not,lock it using Flashtool first.
Well, the message was kind of badly worded, because I need to downgrade first of all. So I'm at the moment trying to get it to MM without messing up the TA partition. So anyway, this thread has been followed by others, I think this can be considered solved since there is only one way to get root on these phones.
What would be the best approach to rooting if you unlock your bootloader before learning about TA backup? I have since downgraded, done TA backup, upgraded, flashed TWRP, flashed SU/Magisk/phhSu, and saw two green checks in Magisk. Tried to continue to get the three checks by installing Sony framework v1 through Magisk and then Andros plus kernel, but got stuck on Sony screen on boot up. So I repeated steps and stopped after I got two checks, however after long use and simple phone restart, I lost root. Please HELP!

Categories

Resources