Accessing application data... is it possible? - HTC One X

I need the main.db file from the Skype app installed on my HTC One X. The phone is not rooted, and I read that installing a bootloader wipes the phone. Is it at all possible to get ahold of the file in any way? Is it possible to use a recovery tool to view the deleted files after unlocking the bootloader? Would it be possible to buy another HTC phone, bootload that, do a system transfer from the locked phone to the new and be able to access the files then? What about doing a system back-up to the pc? (since HTC writes that it will include free apps in the back-up?).
Thanks for the help!

Spisepinden said:
I need the main.db file from the Skype app installed on my HTC One X. The phone is not rooted, and I read that installing a bootloader wipes the phone. Is it at all possible to get ahold of the file in any way? Is it possible to use a recovery tool to view the deleted files after unlocking the bootloader? Would it be possible to buy another HTC phone, bootload that, do a system transfer from the locked phone to the new and be able to access the files then? What about doing a system back-up to the pc? (since HTC writes that it will include free apps in the back-up?).
Thanks for the help!
Click to expand...
Click to collapse
nope there never was a root exploit for locked bootloader.
However there is this app. Helium:
https://play.google.com/store/apps/details?id=com.koushikdutta.backup
It says it can backup apps with data without the need for root. However this app relies on the fact that the app developer must have the backup flag set to allow. Developers who sell for example a banking app always denies this flag. This is to make it unable to a hacker to just transfer the app and data to another phone and hijack your banking account. Its a free choice to set this flag so its very much a guess if a particular app will be able to backup or not.
Try Helium, backup skype and restore it on some other phone you have and see if the data survives. Or boot a virtual machine with android if you don't have any other android phone.
I've never used the Helium app. I've always stuck with "mybackup pro" since it was first released or titanium. But these apps requires root.
Its been so many years I don't remember how stock rom looks like. But I know there is a backup function that backup apps and etc.
Read this manual: (go to page 104)
http://dl4.htc.com/web_materials/Manual/HTC_One_X/HTC_OneX_plus_User_Guide_MR.pdf
I'm not sure if this backup the app data..? I would not rely on this solution.

Thank you I'll try Helium and cross my fingers, then the HTC back-up if that fails. The back-up says it also transfers program data of free apps, so maybe I'll be lucky. I've seen a thread somewhere on restoring files post-bootloader installation - that'll be my last option if all else fails.

Spisepinden said:
Thank you I'll try Helium and cross my fingers, then the HTC back-up if that fails. The back-up says it also transfers program data of free apps, so maybe I'll be lucky. I've seen a thread somewhere on restoring files post-bootloader installation - that'll be my last option if all else fails.
Click to expand...
Click to collapse
Yes I forgot to mention that part. You could use the built in backup tool in stock rom. Once its finished. Unlock the bootloader and then try and restore your data once the phone is back up again and running.
Of course make sure that the backup you made earlier is secure before unlocking the bootloader.
Perhaps it will work I dunno. But at least its worth a try.

Related

[Q] Cant restore data using MyBackup !! Help!

Hi all,
Last year I backed up all data on my HTC DHD using a 'trial version' of MyBackup.
I then installed XDA ROMS and successfully restored the data using MyBackup.
Recently installed some of the latest XDA ROMS.
I tried to restore my backups using MyBackup Pro - But the application tells me "License has expired".
I was under the impression that by 'unlocking' (?) the phone using AAHK (Advanced Ace Hack Kit) and installing XDA ROMS that one could basically use most 3rd party software apps without the requirement to purchase software licenses?
Am I way off? Do I need to purchase a license for MyBackup?
Is there any other way to restore the data?
Any assistance would be greatly appreciated! ( Currently cannot phone anyone without phone numbers restored! :-( )
THANK YOU
MX
Unlocking the phone has nothing to do with not paying for commercial apps, and this certainly isn't the place for that sort of discussion.
There's a free version of MyBackup available for root users with all the features of the full version except for online backups (in the Market named "MyBackup Root" ) - that's what I use and it works just fine. Otherwise, support the devs and pay the pennies for the app.
//sent from my Desire HD using Tapatalk; all errors entirely intentional.
You can try nand backups in recovery mode (or rom manager which is basically the same thing)
hopscotchjunkie said:
Unlocking the phone has nothing to do with not paying for commercial apps, and this certainly isn't the place for that sort of discussion.
There's a free version of MyBackup available for root users with all the features of the full version except for online backups (in the Market named "MyBackup Root" ) - that's what I use and it works just fine. Otherwise, support the devs and pay the pennies for the app.
//sent from my Desire HD using Tapatalk; all errors entirely intentional.
Click to expand...
Click to collapse
Thank you very much I will try MyBackup Root !
Could please possibly provide some clarrity for me then so I'm in the clear:
1. Unlocking the phone and installing ROMS originally built for other phones is OK/leagal (because of open source?) ?
2. These ROMS should/will then never come with pre-installed 'commercial' apps (as some of the jail broken Iphone's do?), only free apps?
3. Could you possibly provide a link to information on 'wiping' a phone first before installing new ROMS. I am not able to use any new ROMS with out always receiving 'Force Close' messages or the phone constantly rebooting. I saw in the Q & A that one should always wipe first, i'm just not sure what the best procedure is to do this, i.e how to backup first, and how to wipe.
Thanks again, much appreciated!
MX
MotocRxss said:
Thank you very much I will try MyBackup Root !
Could please possibly provide some clarrity for me then so I'm in the clear:
1. Unlocking the phone and installing ROMS originally built for other phones is OK/leagal (because of open source?) ?
2. These ROMS should/will then never come with pre-installed 'commercial' apps (as some of the jail broken Iphone's do?), only free apps?
3. Could you possibly provide a link to information on 'wiping' a phone first before installing new ROMS. I am not able to use any new ROMS with out always receiving 'Force Close' messages or the phone constantly rebooting. I saw in the Q & A that one should always wipe first, i'm just not sure what the best procedure is to do this, i.e how to backup first, and how to wipe.
Thanks again, much appreciated!
MX
Click to expand...
Click to collapse
1. Correct, although as every manufacturer/operator will tell you it will invalidate your warranty. Hence the many threads on how to go back to the stock ROM when making a claim.
2. Again, correct. With the possible exception of commercial apps which were already included as stock (e.g the DHD came with QuickOffice included in the stock ROM, so ROMs built on this base will likely include that).
3. You can manually do it in recovery (wipe data, wipe system, wipe cache, etc) but I prefer the 'Super Wipe' script you can find in the first post of the "Android Revolution HD" thread in the development section. Just flash it in recovery and it will wipe & format all your partitions. That's all I ever use and I've never had any issues.
So first backup your apps, texts and whatever with MyBackup Root. Reboot into recovery and make a full backup (so you can restore back to your current state if something goes wrong). Flash the super wipe script; the phone will reboot to recovery when DONE. Flash the new ROM. Install MyBackup Root and restore the bits you need (but don't restore system data between ROMs, and be wary that restoring data for some apps between ROMs can sometimes cause force close issues). And that's it. Repeat as and when you see a new ROM that you fancy.
//sent from my Desire HD using Tapatalk; all errors entirely intentional.
Thank you very much! I have successfully restored contacts using mybackup root!
And thanks for the explanation and detailed steps to wipe and install! Just installed ICS 9.9.3 without any FC messages or auto reboot problems!!
Sorry, just one more thing, not sure if I need to contact MyBackup directly. I have successfully restored all contacts. I'm now tying to restore all photos. To do this one has to select 'Apps & Media' option. All goes fine (reading contents, extracting zip file) until it then provides the option to tick 'all apps' or 'all photos' or both. When ticking photos only, the following message appears: "Unable to restore 'apps' as the original backup was done when MyBackup did NOT have root access." The app then closes.
Any ideas?
MX
You can try the free version of MyBackup (not Root) to restore your apps.
P.S. I prefer Titanium Backup for backing up my apps+data
MotocRxss said:
Sorry, just one more thing, not sure if I need to contact MyBackup directly. I have successfully restored all contacts. I'm now tying to restore all photos. To do this one has to select 'Apps & Media' option. All goes fine (reading contents, extracting zip file) until it then provides the option to tick 'all apps' or 'all photos' or both. When ticking photos only, the following message appears: "Unable to restore 'apps' as the original backup was done when MyBackup did NOT have root access." The app then closes.
Any ideas?
Click to expand...
Click to collapse
Can't help you with that, sorry. I've seen that error once before when restoring apps from a backup taken prior to rooting (I think because the original backup was taken without sufficient access rights to backup what it needed), but that shouldn't happen for photos; your photos are stored on the SD card anyway so the backup would just be copying them from one directory on the card to another which shouldn't require root access. Might be worth giving the MyBackup devs a shout.
ernmin said:
You can try the free version of MyBackup (not Root) to restore your apps.
P.S. I prefer Titanium Backup for backing up my apps+data
Click to expand...
Click to collapse
Thanks but it tells me "Trial version has expired".
hopscotchjunkie said:
Can't help you with that, sorry. I've seen that error once before when restoring apps from a backup taken prior to rooting (I think because the original backup was taken without sufficient access rights to backup what it needed), but that shouldn't happen for photos; your photos are stored on the SD card anyway so the backup would just be copying them from one directory on the card to another which shouldn't require root access. Might be worth giving the MyBackup devs a shout.
Click to expand...
Click to collapse
Thanks, I have emailed MyBackup devs.

Titanium Backup hang

Hi,
have a question and hope you can help me.
Became my M9 today from o2 Germany, unlock bootloader over HTC, install TWRP for M9 and root with SuperSU.zip ... Device is root, Titanium Backup work, key is installed, but when I start the batch to restore all user apps with data, it hangs at 0% :crying:
What?! How do you unlock your Hboot via HTCDev? M9 still isnt supportet to unlock by HTC..
k1moe said:
What?! How do you unlock your Hboot via HTCDev? M9 still isnt supportet to unlock by HTC..
Click to expand...
Click to collapse
With "All other supported models"
Does it hang on the same app every time?
Rydah805 said:
Does it hang on the same app every time?
Click to expand...
Click to collapse
No on every app
something like this I knew from my good old I9300. Might be a supersu thing. Although I read somewhere, twrp for the M9 seems not to write to system partition.
As I got my M9 yesterday, I'm still staying away from debranding and unlocking stuff atm.
//EDIT:
hgoldner said:
Got 2.8.5.0 running on my test device...... :good:
Rooted. There are limitations. \system is not writeable, as was initially on the M8 until insecure kernels were released here. Titanium Backup can't write to removable sdcard yet. I still have a hornet's nest of diagnostic software running and I have to give it a wide berth because logging is required on test devices.
Wonder if anyone there will notice what I've done after the overnight logs......
Click to expand...
Click to collapse
DroidShift79 said:
something like this I knew from my good old I9300. Might be a supersu thing. Although I read somewhere, twrp for the M9 seems not to write to system partition.
As I got my M9 yesterday, I'm still staying away from debranding and unlocking stuff atm.
//EDIT:
Click to expand...
Click to collapse
TWRP can mount the system partition; I got myself into plenty of trouble yesterday as a result and had to do a factory reset. The good news, however, was that doing so wiped internal memory and its infernal encryption. (I had encrypted the internal sdcard at the request of HTC during the testing process). Apparently, you can encrypt and unencrypt the removable media willy nilly (although you'll get a layered effect where files stored during encryption can't be read unless the card is encrypted or re-encrypted), but you cannot unencrypt the internal sdcard without a factory reset. I have politely suggested that they make that fact abundantly clear in the user i/o for encryption, 'cause it isn't now.
I'm on stock recovery for now, but I'll probably return to TWRP shortly so I can do nandroids.
The \system partition, however is still unwriteable from within the ROM. I few folks I know are working on a workaround, but I haven't seen anything definitive yet.
Keep in mind, also, that this is a test device and there are certain "gotcha's" such as another copy of supersu somewhere in the system to run all the diagnostic software --- the result is that a \data only nandroid would require 23gigs at this point. Not gonna do it, wouldn't be prudent.
Hanging here too and also won't freeze apps.
I know SuperSU is there and working correctly because I have successfully modified files on the system partition
- permissions\platform.xml
- that damn boot up sound
Stay gone after reboot too, stock boot.img as well.
Same issue here ... Unlocked Bootloader, root access and TTB hangs at 0% no matter how long you wait.
But I helped myself with a little work around:
Go to TTB Settings; on the very bottom theres a setting if problems during restore occure. Change it to the classic install method. You have to validate every single app install, but hey ... As long there's no other way, fine with me
webdepp said:
Same issue here ... Unlocked Bootloader, root access and TTB hangs at 0% no matter how long you wait.
But I helped myself with a little work around:
Go to TTB Settings; on the very bottom theres a setting if problems during restore occure. Change it to the classic install method. You have to validate every single app install, but hey ... As long there's no other way, fine with me
Click to expand...
Click to collapse
Does it do data tho?
Yeah, does data as well
Sent from my HTC One M9 using XDA Free mobile app
Still digging here, but I feel it is related to ro.secure=1
With this set it says its done but its not.
with ro.secure=0 adb doesn't work for me and titanium backup hangs
Electronic Punk said:
Does it do data tho?
Click to expand...
Click to collapse
Yep, data restoring is working too
SoLdieR9312 said:
Yep, data restoring is working too
Click to expand...
Click to collapse
Yeah but still can't freeze apps and uninstalling system apps tidily.
Same problem. Just got my HTC One, unlocked bootloader, flashed TWRP and SuperSu. TB hangs...
Will try the manual mode...
Hello,
I am wondering if anyone is able to restore Viber properly. I am having some strange results when I restore it. I am able to restore it using the old method mentioned here, and the app is restored with data. The problem comes when I open the app once. As soon as I open it it shows all my messages for a second then kind of resets itself, and asks for a verification code again. I have no other option then entering the code (the program acts like a fresh install). After that all my messages are gone (though the call log and contacts are still there). Feel like I have to relearn all over again. Any help is appreciated.
I have tried multiple things:
1. Restore using old method mentioned here
2. Installed from Play store, then restored only data
3. Tried making a update.zip and restoring from recovery
4. Tried to just restore about 5 times in a row ( don't think this really didn't anything, once should be enough to put the data there)
Thanks,
Rsotbiemrptson
Chiming in. Same issue. Unlocked, rooted, TiBu & key installed, hangs on any restore. I tried auto/indirect and that didn't help. "classic mode" worked, although in some cases I still had to do a data restore after doing an app+data restore for some apps.
same thing. unlocked, rooted ti pro installed hangs on any restore. will restore data if i install the app then restore data (some apps I have older apps + data & cant do this tho).
auto / indirect but no dice.
I can't get TB to backup to my SD card. It keeps saying it can't write to it. Anyone know what the issue is?
I believe I fixed the hang issue and will contact the Dev to build it in. I'll provide a zip soon and instructions.
Sent From My HTC One (M8)

Htc 10 root

Hello, i would like to root my HTC 10 and also maybe get some custom ROM. I watched many guides on the internet but every method is different a bit. So i would like to ask here because im bit lost in these guids.
1. Can i root without loosing all my data? If not, what should i use as my backup app or method?
2. Can i somehow backup my apps, so they will install automatically after the root? I mean without 50x clicking on "yes i accept" or something like that.
3. Which roms would u recommend to me and why?
4. What is the best way to root it right now? (all these guids are from year 2016 so it can be outdated i guess)
5. Thanks alot.
FTWDiesel said:
Hello, i would like to root my HTC 10 and also maybe get some custom ROM. I watched many guides on the internet but every method is different a bit. So i would like to ask here because im bit lost in these guids.
1. Can i root without loosing all my data? If not, what should i use as my backup app or method?
2. Can i somehow backup my apps, so they will install automatically after the root? I mean without 50x clicking on "yes i accept" or something like that.
3. Which roms would u recommend to me and why?
4. What is the best way to root it right now? (all these guids are from year 2016 so it can be outdated i guess)
5. Thanks alot.
Click to expand...
Click to collapse
1 & 2. If you want to root your phone for free you'll need to unlock your bootloader first, which will wipe your phone anyway. Your apps should automatically be restored from your google account afterwards, if you have automatic backups enabled. You should still backup all of your pictures/music/files manually to your sd card or computer. Also I like to backup my texts and call log using Call Log Backup and Restore. Same for whatsapp, or any other folder you want to restore afterwards.
3. I use stock. Leedroid and Viper are probably the most popular ones. Close enough to stock with many customization options.
4. Best way to root is through Magisk. Doesn't modify your system and you can hide root for apps that don't allow it. If you go straight to a custom rom after unlocking your bootloader, you won't need to root separately.
5. You're welcome.
Tarima said:
1 & 2. If you want to root your phone for free you'll need to unlock your bootloader first, which will wipe your phone anyway. Your apps should automatically be restored from your google account afterwards, if you have automatic backups enabled. You should still backup all of your pictures/music/files manually to your sd card or computer. Also I like to backup my texts and call log using Call Log Backup and Restore. Same for whatsapp, or any other folder you want to restore afterwards.
3. I use stock. Leedroid and Viper are probably the most popular ones. Close enough to stock with many customization options.
4. Best way to root is through Magisk. Doesn't modify your system and you can hide root for apps that don't allow it. If you go straight to a custom rom after unlocking your bootloader, you won't need to root separately.
5. You're welcome.
Click to expand...
Click to collapse
Thanks alot for your answer. How did u mean that apps will install automaticaly? I dont know how to enable automatic backups. How can i do that?
FTWDiesel said:
Thanks alot for your answer. How did u mean that apps will install automaticaly? I dont know how to enable automatic backups. How can i do that?
Click to expand...
Click to collapse
Settings, Backup and Reset.
Not sure if enabling it will immediately back everything up.
After your phone is wiped, it asks you for your Google account and then which apps you want to restore. Not sure if app data is backed up/restored as well.
Tarima said:
Settings, Backup and Reset.
Not sure if enabling it will immediately back everything up.
After your phone is wiped, it asks you for your Google account and then which apps you want to restore. Not sure if app data is backed up/restored as well.
Click to expand...
Click to collapse
Okay, thanks alot again.

Urgent help for backup

Dears, I have nothing but 24 hours to backup my beloved OP3 before the carrier comes to bring it in RMA (burn in problems on display).
Some files have been directly taken from the device (e.g., videos and photos), some others have been backupped by means of OP Switch... but the latter won't save application files and that's it, I need urgently to entirely backup & restore (as they were) some application such as Google Authenticator .
I heard Titanium Backup could do the magic but unfortunately I'm not rooted, and doing this might result in a lose warranty (which is not the case to risk, due to the fact the phone might be repaired in warranty).
Any tip? Tried with adb pull to get the Google Authenticator DB as read in several web pages, but got no luck ( I think it's a permission issue ).
Thanks, your help is highly appreciated.
OnePlus supports device customization so unlocked bootloader and root shouldn't be an issue, so I'd go with Titanium.
That said, there's a Helium app (and desktop program) that's supposed to be able to backup app data without root. Sounds like you'll have to install apps fresh, but then you can restore their data. Never tried it myself though. Here's a link with a quick guide: https://www.androidpit.com/how-to-backup-and-restore-app-data-with-or-without-root
Sent from my OnePlus 3 using Tapatalk
THanks,
unfortunately, unlocking the bootloader results in a complete wipe of the device, so that's not an option.... Tried the Helium app, didn't understood that well how it works but when it comes to a backup of 84 apps' data, in the restore phase i can see only 16. That said, probably it's a matter of proper authorization performing the backup (that is to say, root is not necessary, but without root you can backup only 1/10 of your apps data).

Question complete backup of system/apps/data on non-rooted OP9P (from a newbie at OP9P)

Hello to the community,
I am quite new here at OP9P (had several Samsung and one Huawei smartphone before) and I have a question:
How can I backup my complete system (incl. all apps and data) on my OP9P (not rooted) with Orginal software (OOS LE2123_11_C.48) and restore it if necessary? So far I have not found a solution while searchin the net (only with rooted phone)....
It would be nice if someone from the community could give me a tip (maybe a tutorial)
Many thanks already...
Greetings from hot Bavaria/Germany
Assuming you are talking about a system image, you don't need root, but you need a custom recovery for this, which in turn requires an unlocked bootloader.
If you haven't unlocked the bootloader yet, be aware that when you unlock it the 1st time, everything on your device will be wiped. For Samsung devices, this process will trip the Knox counter permanently, and void warranty.
With root, you'll be able to backup individual apps and their data.
In short, without root, there is no way to backup app data from within the system. And without a custom recovery, you cannot take a system image.
Android Backup is pretty limited without root. iOS backups are better in this aspect because you can backup all app data.
Thx for your fast reply... This is what i thought of too... Big thx anyway bro
actually, the only known workaround to backup all app data without root is with D2D transfer apps like
Clone Phone (still that won't help you on bricked device)
How do you access the D2D (Device-to-Device) Data Transfer functionality?
So, as of Android 12, rightfully so: https://developer.android.com/about/versions/12/backup-restore For apps running on and targeting Android 12 and higher: Specifying android:allowBackup="false" does disable backups to Google Drive, but doesn’t...
forum.xda-developers.com
Root phone and Download Swift Backup
Thank me later too
Thx...
fmmatt23 said:
Root phone and Download Swift Backup
Thank me later too
Click to expand...
Click to collapse
Root phone?
Before rooting, you have to unlock bootloader. Doing that will wipe everything. What will he backup then?
fmmatt23 said:
Root phone and Download Swift Backup
Thank me later too
Click to expand...
Click to collapse
I use FTP Server Pro along with Filezilla Client on my computer too for non-app data. i.e. Everything else. If you're rooted then you can poke about in system folders too.
Once you copy everything into a folder, it makes it easy to backup/restore the whole storage.

Categories

Resources