[Completed] Decrypting Whatsapp DB (crypt8) - XDA Assist

Hello guys,
this is my first post on this forum (sorry for my poor English, I'll try to write my best), and I'd really like to ask you some advice about my situation.
I used to have an Android 2.3.3 device and Whatsapp installed on it, regularly updated (I still have it, but I'm not using it).
Almost a month ago I bought a new device, with Android 4.4.4 installed, and I immediately put WhatsApp on it.
Before removing SD from the old phone, i saved my backup file OLD.db.crypt8, in order to let the "new" whatsapp restore my messages. Unfortunately, a month passed before i could be able to think about restoring my old messages.
Thus, i have accumulated (?) a month of messages, and i "backup-ed" them in a MIDDLE.db.crypt8 file.
I already managed to decrypt the "middle" db.crypt8 file (extracting the key file from my android 4.4.4), but don't know how to decrypt the OLD.db.crypt8 file.
OLD, in fact, comes from Android 2.3.3, as said, and i got no key file
My final goal is, after decrypting all three databases (OLD, MIDDLE and "NEW" - provided that NEW is the database i'm "growing up" on my phone at the moment), merging the three databases in an only database (and this is possible with the XDA guide i already have read)
Can anyone help me?
Thank you very much :laugh:

Samberotto said:
Hello guys,
this is my first post on this forum (sorry for my poor English, I'll try to write my best), and I'd really like to ask you some advice about my situation.
I used to have an Android 2.3.3 device and Whatsapp installed on it, regularly updated (I still have it, but I'm not using it).
Almost a month ago I bought a new device, with Android 4.4.4 installed, and I immediately put WhatsApp on it.
Before removing SD from the old phone, i saved my backup file OLD.db.crypt8, in order to let the "new" whatsapp restore my messages. Unfortunately, a month passed before i could be able to think about restoring my old messages.
Thus, i have accumulated (?) a month of messages, and i "backup-ed" them in a MIDDLE.db.crypt8 file.
I already managed to decrypt the "middle" db.crypt8 file (extracting the key file from my android 4.4.4), but don't know how to decrypt the OLD.db.crypt8 file.
OLD, in fact, comes from Android 2.3.3, as said, and i got no key file
My final goal is, after decrypting all three databases (OLD, MIDDLE and "NEW" - provided that NEW is the database i'm "growing up" on my phone at the moment), merging the three databases in an only database (and this is possible with the XDA guide i already have read)
Can anyone help me?
Thank you very much :laugh:
Click to expand...
Click to collapse
Hi and thank you for using XDA Assist
That's a very unusual situation, but try to ask over here for better help, if no one answer you then try to ask here > Android Q&A, Help & Troubleshooting .
Good luck!

Thank you, I will try ask there.
Have a nice day

Related

[Completed] [Q] Smartphone android 4.2.1. Guophone I9600 fully bricked. I you help me, please?

Hello,
I am contacting you to see if someone can help me.
I have a Chinese phone. It is a Guophone i9600, MT6589 CPU quad core 1.2 GHz with 1 GB RAM.
This week it began to continuously display messages “memory full” and it told me to uninstall applications. I looked in settings options and it really showed internal memory was fully occupied ... when it wasn't true. There aren’t no applications installed nor data (including whatsapp app).
I restored the phone to factory defaults and it worked well. Now there was a lot of internal free space. After this, I installed lnk2sd app and I started uninstall applications that came with me smartphone ... but the phone has been bricked.
When I turn it on, it hangs in the original logo GUOPHONE. I don’t have any backup.
My laptop doesn’t recognize it. I have downloaded MT65xx drivers and when I try to connect the smartphone, it tells me not receive reply from the peer (I guess it will be smartphone). Therefore, I can’t use all that solutions that need to connect mi smartphone to my laptop (flash tool, CWM, TWRP, ROM manager ...). I think the only solution is to load a ROM file in ZIP format from the factory recovery menu.
I searched ROMS and I only found one in needrom.com (for Guophone I9602 (I guess you can be the same as mine, i9600)). I've downloaded it from a web page link and a mirror link, and one is a single file with img extension and the other one is a .rar. I have unzipped it and it has a few files with extension tar and img. I've tried everything, zip them, unzip them, renamed file extension... and nothing have worked.
I have also tried to generate a zip with the two img file (I think they're called recovery and boot) as someone said in some websites and it didn’t work. They said I have to include a META_INF folder, but I have no idea where to get it.
I have even located the manufacturer's website, I sent them an e-mail to ask them smartphone`s ROM zip file and they didn’t reply me.
One more thing, I bought two identical phones, one for a friend and one for us. Is there any way to get from me friend’s smartphone a file from ROM ZIP file to use it in our smatphone from recovery menu?
From my friend's phone I have downloaded (in "backup user data" option from original recovery menu) a file with backup extension. But when I try to restore it in me phone, it shows me a checksum error.
Thanks in advance. Excuse my poor English, please.
Best regards.
Hi,
I can't find anything relevant on XDA for your device, so asking here is your best option,
> Android Development and Hacking > Android Q&A, Help & Troubleshooting
Also, I would not attempt to flash anything not designed for your exact make and model number. Or that could be the end of your device.
Good luck!
Thank a lot, Dart.

Vienna calling with some problems ......

Dear all,
just registered and already huge difficulties and problems.
The story behind:
My memory-device (my brain) decided to cancel the "password-file" - so everything was lost. Not only the pattern for the phone, but all other numbers too (credit card, account numbers .......... was not very funny. Happend within 10 minutes. Nearly all important passwords are back now, but pattern still missing....)
As I could not remember the pattern, although I tried about thousand possibilities, I did a hard-reset.
As there are several programs out there in order to recover the phone-data and messages, I tried to get into the deep of Android - but failed.
Tried to root with several programs, but at about 75% they stopped and rooting failed.
I'm not very firm with root, boot and such things - so I would ask you to support me.
(I'm in urgent need of some of the data already .........)
(Needless to mention, that I did no back-up with the new phone........ I know, not very clever.)
Many thanks in advance for your efforts and assistance. :fingers-crossed:
If the phone was running stock Marshmallow, I don't think there is a method to root.
audit13 said:
If the phone was running stock Marshmallow, I don't think there is a method to root.
Click to expand...
Click to collapse
Lollipop - Android 5.0.2
Thanksfully I did not update, when phone was asking some weeks ago ....
Finally .......
Mobile phone is rooted.
After trying several methods, both .apk and .exe files, it worked then with kingroot.apk and the root.bat-file included in "Idol 3 Root". Checked with Root-Checker. So I'm a little bit proud of myself.
Happy am I ..... for the moment.
Next step will now be the recovery of the deleted data - like messages, documents and all the contacts.
Regards,
Uschi
(hopefully will sleep this night - last night I spent with searching, reading and re-checking) :cyclops:
If someone has a hint or two - would be great.
Device is not recognized as an additional drive - I knew that before, but thought, that there will be a possibility after rooting....
Thanks a lot in advance!
No hint at all?
I need the data (messages, contacts) urgently.
All photos, docs, etc. already found and back on the phone.
But still problems getting mentioned data ....
Keep my fingers crossed that someone can assist me.
Regards, Uschi
Other idea ....
As since Android 5, phone will not be recognized as "mass-storage", will it be possible to downgrade to latest version of Adroid 4.xxx, then trying to recover data via "Recuva".
If all data has been found and stored on PC, I then could updated to Lollopop again.
Or is this not possible?
Oberhexe said:
Other idea ....
As since Android 5, phone will not be recognized as "mass-storage", will it be possible to downgrade to latest version of Adroid 4.xxx, then trying to recover data via "Recuva".
If all data has been found and stored on PC, I then could updated to Lollopop again.
Or is this not possible?
Click to expand...
Click to collapse
at default your phone will be recognized as an MTP device (like a digital camera), so you won't see it as a pendrive ("mass storage")
if you did earlier a reset, it think you won't get back your messages.
how did you stored your contacts? sim card, local, google sync? if local only, you deleted them, when reseted your phone.
jani0417 said:
at default your phone will be recognized as an MTP device (like a digital camera), so you won't see it as a pendrive ("mass storage")
if you did earlier a reset, it think you won't get back your messages.
how did you stored your contacts? sim card, local, google sync? if local only, you deleted them, when reseted your phone.
Click to expand...
Click to collapse
All data already recovered had been stored on the device.
When I tried the several programms available, I removed the SIM-card as well as the SSD.
So I thought, that there must be a possibility to get the messages too.
I know, that since Android 5, the device will not be recognized as "pendrive". That's why I tought about downgrade to Android 4.xxx, in order to try to recover the missing data.
Afterwards, I then would upgrade again to actual version 5.0.2.
Regards, Uschi
you can´t recover contacts and messages after factory reset. Your contacts should be backed up automatically on your gmail account.

Regarding the state of data backups in Android

Hi Everyone,
I am new to XDA, and I am really proud to be in this community.
I have created this thread to discuss about the current situation with backup of data in Android, as I did not find any thread which covers my specific concerns. This is meant to be part discussion, part rant, part guide, etc.
Now to the actual scenario. I have a Moto G (2014), which used to run stock unrooted 6.0, and I used a combination of Helium (free version), manual file backup, and import/export options from various apps to back up my data. I recently flashed the official 14.1 Lineage OS ROM with GApps Pico and Lineage OS su package to root. All went well, and I could restore the backups as planned. SMS restore did not work, but I did not bother much about that.
Now, if I try to use Helium to backup my apps, it shows me an error. No detail is provided about the error. On digging further into the ADB backup feature (which is the underlying technique for Helium), I found that I can not even backup the data to the .ab files everyone talks about. I came by a blog which advised creating the backup using .adb extension, and it worked for one or two apps. In all probability, .ab has been replaced by .adb files - experts can suggest, I can not find anything online.
Now came the second twist. I wanted to backup a game which does not support cloud save. And it apparently saves the app data in /data/app, which ADB backup probably does not support - again, experts can enlighten me on this. I noticed that apps saving in /data/data were getting backed up, while the /data/app one was not.
Now the question may arise that since I am rooted, I can easily access these backups through file system or Titanium, without the need for ADB backup. But I am really worried about a scenario when I have to buy a new phone (the current one is already running for 3+ years). I am really wary of rooting a new phone and losing the warranty in the process. In such cases, root based backups can not be restored to the new phone. To validate this, I tried to restore a specific save file to my unrooted tablet, but could not get in even using ADB shell (this may seem foolish, but I thought since ADB backup can access /data/data, may be ADB shell too can access the protected partitions).
So, after this long exercise, my finding is that, unless we are rooted, better forget the backup. It makes me very uneasy to know that I can not carry over my progress in a game to another phone because the developer does not support cloud save (even cloud saves are not full proof, but I will rant about that some other day).
Is there something I am missing? Or is this the scenario all over? And if it is, why can't a ten year old platform provide such a basic feature? And finally, if there is some tool/technique which lets me backup/restore data on an unrooted device, please point me to that.
I believe XDA is the only place I can put these questions/rants forward. Thanks for reading.
Please ask your question only in one place :good: I answered you here https://forum.xda-developers.com/showthread.php?t=2717159&p=75474972

I've deleted some important files by mistake and I would really like to recover them.

Hello,
I hope that this is the right side of the forum to describe my problem. I desperately need help. It's a long story:
I had on my Samsung phone the app of "Chrome", which I always use to surf the internet. Using the google browser IN THAT APP, I have downloaded lots of things (I'm a scholar, so I like to read and I use to download everything that I found interesting). I have updated the app and I was frustrated, because I couldn't take anymore screenshots while surfing in "incognito mode". So, I decided to delete the update: i went into "settings", then "apps", and then I have brought back the app of "Chrome" as it was when i bought my phone. Sadly, I then noticed that I had lost every file in my download folder; I had lost every file downloaded with that app.
I had not synchronized my Google account, I can do no backup. I'm so angry and sad because I've always thought that the files downloaded would have stayed in my phone until I and only I would have decide to delete them.
I have done a lot of research on the internet and I have found out that there are some apps that can recover a very large part of lost files. But, in order to do this, I have to root my phone.
My phone is a Samsung Galaxy J2 SM-J250Y/DS, and the Android version is 7.1.1. I have seen that rooting a phone could be very dangerous; also, to me is very complicated. But there is a program called Kingoroot, which, once installed on my computer, could (it's a possibility, I know!) rooting my phone easily.
What should I do? Should I try the rooting method? It seems to me the only way...
I ask you any suggestions... Please help me. I am a depressed student that, in this life, can only enjoy reading and books...
(I am Italian, and I hope my English is understandable. If I did any mistake, please forgive me.)
Sorry can't help you get what you lost back... I feel your pain.
After losing thousands of bookmarks over the decades I started using Colornotes to save my important bookmarks.
You can save the hyperlink with a title, color, and whatever text you want to add. If you punch the hyperlink it opens in the default browser.
The app allows you to save it's data to your sd card which you can backup on your PC.
Use ApkExport to make a loadable copy of the app to future proof it.
ColorNote Notepad Notes - Apps on Google Play
ColorNote® - Easy to use notepad for notes, shopping list, to-do list, calendar
play.google.com
Thank you very much for your reply.
But... If I root my phone, and if the rooting is done without any damage, is there a possibility to get most of my files back? Or, even if I root my device, I will never be able to recover them?
It sounds like it deleted the data when you rolled the apk back (to factory load?).
If so it's going to be very sketchy at best to recover them.
I guess history's been deleted as well?
There are many coders here that have far greater knowledge than myself with Chrome.
My understanding of rooting is very basic as with Chrome which I rarely use.
If no one else replies in a day or two, bump it back to the top. Hope you find a work around solution.
AlexiusFrigerius said:
But... If I root my phone, and if the rooting is done without any damage, is there a possibility to get most of my files back? Or, even if I root my device, I will never be able to recover them?
Click to expand...
Click to collapse
Rooting Android by means of TWRP and/or Magisk ( keyword: SuperSU ) affects its /data partition where phone's data typically are housed. Therefore it cannot be excluded that data stored there is overwritten and can therefore no longer be restored.
jwoegerbauer said:
Rooting Android by means of TWRP and/or Magisk ( keyword: SuperSU ) affects its /data partition where phone's data typically are housed. Therefore it cannot be excluded that data stored there is overwritten and can therefore no longer be restored.
Click to expand...
Click to collapse
Is there the possibility if deleted that it's still on the system cache and is there a way to recover it if so on a none rooted phone?
Maybe using ABD?
Don't some on the "one touch" root solutions claim to preserve the data?
Android doesn't have a recycle bin thus nothing gets cached. Deleting a file means nothing else than marking the space it occupies - whereever this disk space is located - as usable so that it can be overwritten by the system.
Have never used a "One-Click-Root" utility ...
blackhawk said:
It sounds like it deleted the data when you rolled the apk back (to factory load?).
If so it's going to be very sketchy at best to recover them.
I guess history's been deleted as well?
There are many coders here that have far greater knowledge than myself with Chrome.
My understanding of rooting is very basic as with Chrome which I rarely use.
If no one else replies in a day or two, bump it back to the top. Hope you find a work around solution.
Click to expand...
Click to collapse
Yes, it's just like I told. And yes, even history has been deleted.
Thank you for your help! I will wait until someone may give me a solution, or a possibility for a solution.
jwoegerbauer said:
Rooting Android by means of TWRP and/or Magisk ( keyword: SuperSU ) affects its /data partition where phone's data typically are housed. Therefore it cannot be excluded that data stored there is overwritten and can therefore no longer be restored.
Click to expand...
Click to collapse
Ok, I understand...
jwoegerbauer said:
Android doesn't have a recycle bin thus nothing gets cached. Deleting a file means nothing else than marking the space it occupies - whereever this disk space is located - as usable so that it can be overwritten by the system.
Have never used a "One-Click-Root" utility ...
Click to expand...
Click to collapse
Thank you for your explanation.
jwoegerbauer said:
Android doesn't have a recycle bin thus nothing gets cached. Deleting a file means nothing else than marking the space it occupies - whereever this disk space is located - as usable so that it can be overwritten by the system.
Have never used a "One-Click-Root" utility ...
Click to expand...
Click to collapse
Yeah I was aware of the overwrite issue but on an unrooted device I don't think you can access the system cache. Even if you could the data could be so juxtaposed from lose of file structure as to be unusable.
One-Click-Root worked on older versions of Kitkat allegedly.
So... I understand. But I want to try. I want to root my phone. But I have to know how and I must prevent my phone from all the risks.
blackhawk: you said that the "One-Click-Root" method worked only for Kitkat Android. But I have read here that with Kingoroot i could have a chance:
How to Root Android Nougat (7.0/7.1) | KingoRoot Apk
Root any Android Nougat 7.0 7.1 device with KingoRoot.
www.kingoapp.com
(It's important: I AM NOT SPAMMING Kingoroot, I just want to understand If I can trust what it's written in their site. Also, in the link, at the end of the page, there is written that I can root my phone with my PC, which, to me, seems a safer way. It's the main idea I had when I decided to write in this forum, because I wanted to know the opinions of people that are very able to use these methods and these kind of programs.)
AlexiusFrigerius said:
So... I understand. But I want to try. I want to root my phone. But I have to know how and I must prevent my phone from all the risks.
blackhawk: you said that the "One-Click-Root" method worked only for Kitkat Android. But I have read here that with Kingoroot i could have a chance:
How to Root Android Nougat (7.0/7.1) | KingoRoot Apk
Root any Android Nougat 7.0 7.1 device with KingoRoot.
www.kingoapp.com
(It's important: I AM NOT SPAMMING Kingoroot, I just want to understand If I can trust what it's written in their site. Also, in the link, at the end of the page, there is written that I can root my phone with my PC, which, to me, seems a safer way. It's the main idea I had when I decided to write in this forum, because I wanted to know the opinions of people that are very able to use these methods and these kind of programs.)
Click to expand...
Click to collapse
You can try it; it will either work or nothing will happen. Even if it works it's likely those files are gone. Maybe better to chalk it up to another lesson from the University of Hard Knocks.
You could try contacting Google tech support to see if they have any ideas.
The last AT&T firmware update was specifically to block easy rooting by Kingroot; the rats learn quick.
blackhawk said:
You can try it; it will either work or nothing will happen. Even if it works it's likely those files are gone. Maybe better to chalk it up to another lesson from the University of Hard Knocks.
You could try contacting Google tech support to see if they have any ideas.
The last AT&T firmware update was specifically to block easy rooting by Kingroot; the rats learn quick.
Click to expand...
Click to collapse
Thank you very much for your help. I understand: I must give up. But the most important thing is to learn something about anything we do. Anything could help for future situations.
"It's a shame to stumble twice on the same stone" (Polybius, 31,11, 5).
Thank you again. Goodbye!
AlexiusFrigerius said:
Hello,
I hope that this is the right side of the forum to describe my problem. I desperately need help. It's a long story:
I had on my Samsung phone the app of "Chrome", which I always use to surf the internet. Using the google browser IN THAT APP, I have downloaded lots of things (I'm a scholar, so I like to read and I use to download everything that I found interesting). I have updated the app and I was frustrated, because I couldn't take anymore screenshots while surfing in "incognito mode". So, I decided to delete the update: i went into "settings", then "apps", and then I have brought back the app of "Chrome" as it was when i bought my phone. Sadly, I then noticed that I had lost every file in my download folder; I had lost every file downloaded with that app.
I had not synchronized my Google account, I can do no backup. I'm so angry and sad because I've always thought that the files downloaded would have stayed in my phone until I and only I would have decide to delete them.
I have done a lot of research on the internet and I have found out that there are some apps that can recover a very large part of lost files. But, in order to do this, I have to root my phone.
My phone is a Samsung Galaxy J2 SM-J250Y/DS, and the Android version is 7.1.1. I have seen that rooting a phone could be very dangerous; also, to me is very complicated. But there is a program called Kingoroot, which, once installed on my computer, could (it's a possibility, I know!) rooting my phone easily.
What should I do? Should I try the rooting method? It seems to me the only way...
I ask you any suggestions... Please help me. I am a depressed student that, in this life, can only enjoy reading and books...
(I am Italian, and I hope my English is understandable. If I did any mistake, please forgive me.)
Click to expand...
Click to collapse
Hi, I would suggest you can try free tool for Android Phone such as Stellar Data Recovery for Android which easily recover deleted files like, photos, audio files, videos files from your Android phone internal memory storage.
Source: https://www.stellarinfo.com/media-tools/android-data-recovery.php
{Mod edit: Quoted post has been deleted}
That drfone again. Scamware.
Do Not Use.
Drfone if used will encrypt "recovered" data and ask you to pay for it. After which the original data is gone leaving only the encrypted copy.
It is not free... not to be trusted!
Ran into this scam many years ago.

Backup problems and questions

Hi, first of all, thank you for reading me.
I think i messed up big time.
I had Havoc OS 4.1 installed since more than a year and it was kinda messy e.g. the sim card card wasnt recognized anymore so wasnt able to make calls because i played to much in the settings.
Having some stupid but incredibly addictive games on this smartphone i decided to keep it like this and since i'm a complete n00bs and being afraid of security risk of rooting my device i never rooted it.
Big mistake.
So, recently, one games needed an update (like they all do at least once a week) and since i'm anti-google/f***book (no comment please) i nvever saved my progress in the cloud and "that" game required absolutely an update.
I installed the update from an alternative apk source and , (applause if you want and laugh), it screwed up the game.
Now the nightmare begin.
Since the device isnt rooted i made a backup of /data partition. Gone crazy and before i might explode in an uncontrollable fury and madness i used LMSA to rescue the phone. And myself, lol.
Now i have stock android and i am googled to the bone. My butt hurts. My head too.
THE (first) simple question is : how can i restore this backup because i have the error 255?
Notes and observations; logically i would say because the device is back with stock rom and doesnt have the same os/rom installed and/or the partition and whatever is not the same wich may explain the error 255.
SECOND QUESTION: can i extract/uncompress this backup and take the precious data wich is my games progresses and restore it somehow?
I know i have to give as much information possible but i dont what else to give. If you need logs, or everything else just say it nicely and i will give it to you with immense pleasure.
Oh yeah, model : XT2113-2 5g Kiev RETCA 128gb a/b type and maybe was crypted before because twrp asked me the password to make backup or else.
Thank you in advance and i really hope somebody would help, if not i just loosed 1.5 years of stupid gaming because i messed up like an idiot. (A lesson well learned, the hard way...)
Thank you so much for not answering this simple question.
Kerplunk83 said:
Thank you so much for not answering this simple question.
Click to expand...
Click to collapse
The problem is it's a Motorola with a Qualcomm chip.
If you find a solution I would love to see it.
Finally a sign of life from someone here.
Thank you sd_shadow
sd_shadow said:
The problem is it's a Motorola with a Qualcomm chip.
If you find a solution I would love to see it.
Click to expand...
Click to collapse
These precious brief and concise 2 lines of a simple answer is immensely welcomed.
Wich point me to reply that to my knowledge i interpret it as a security chip with big chances that its in relation to the knox technology.
It also point me to ask WHY, if i cant back up because of that, why/how is it possible to install a custom rom or gsi (sorry i still dont make the difference because i dont understand it) on this very protected smartphone?
That must explain why i had problems trying to root it and fail each time.
Finally i think that i should use another device for android gaming since i dont want to depend on f***book and google.
Thanks again sd_shadow. Even if it was a very simple answer it enlightens me alot.
Note: sorry for my bad english.
Kerplunk83 said:
how can i restore this backup because i have the error 255?
Click to expand...
Click to collapse
This error code means that at some point your backup of /data could not be extracted further. But for more detailed infos you must provide a recovery.log which will be generated when doing a backup of e.g. /boot.
>>> Please DO NOT copy+paste it here!! <<<​Rename it (recovery.log > recovery.log.txt) to be able to upload it within "Attach files".
Kerplunk83 said:
can i extract/uncompress this backup and take the precious data wich is my games progresses and restore it somehow?
Click to expand...
Click to collapse
Yes, use Titanium Backup (TB). Although it's very outdated it still features a restore of single apps out of a TWRP backup. Here's how you do it:
1. IMPORTANT: TB will only search for TWRP backup files on internal storage!! Use the default path created by TWRP, e.g.: /sdcard/TWRP/BACKUPS/ZY322V8K28/2023-04-08--06-53-20/
2. Install and open Titanium Backup.
3. In the upper right corner tap
MENU > scroll down to "Extract from Nandroid backup" > choose your backup folder
##############
Notes:
- Usually a TWRP backup of /data consists of several parts (data.ext4.win000, ~win001, ~win002 etc). TB requires all of them (or at least those ones with the /data/data/ path inside).
- If you are facing this error message:
Could not find any data in this TWRP backup
then your TWRP backup is compressed with gzip. To decompress it you must rename the file
data.ext4.win001 > data.ext4.win001.gz
and extract it with any archiver tool, e.g.:
- ZArchiver (Android)
- 7zip (Windows)
- Problems finding any TWRP backup data with Titanium Backup? Then please check your path!! (see above section)
Good luck!!
Thank you very much WoKoschekk i'll do it as soon i'll have the time for since i'm working today.
Thank you so much again, i'll keep you posted with logs and such.
I'm sorry i didnt gave news since, i'm not doing very well.
there's those 2 question i still have in my head;
1-With all the instructions you gave me is it worthy to continue because when i did the backup i wasnt rooted?
2- i'm sure i read many time to use Titanium Backup (wich is a paid app?) i have to be rooted or have root access.
Ultimately, how can i be rooted if there's a chip preventing me to do so?
I'll keep you posted when i'll be of better health, thank you.
Kerplunk83 said:
-With all the instructions you gave me is it worthy to continue because when i did the backup i wasnt rooted?
Click to expand...
Click to collapse
TWRP backup = *.tar archive
TB unpacks the needed app's data and nothing else. You must be rooted to have access on /data for restoring your apps. But for the backup process it doesn't matter if you were rooted. Root is part of your boot.img.
Kerplunk83 said:
2- i'm sure i read many time to use Titanium Backup (wich is a paid app?) i have to be rooted or have root access.
Click to expand...
Click to collapse
TB is for free. But a paid version unlocks additional features (not related to the TWRP restoring feature).
And yes... root is mandatory for TB. As I said before you must have r/w access on /data/*.
Kerplunk83 said:
if there's a chip preventing me to do so?
Click to expand...
Click to collapse
Which chip?? You already have root access via TWRP. Magisk is only needed in system and just a patched boot.img (custom kernel).
Get well soon!
WoKoschekk thank you for this insanely fast reply.
All those answers and infos have now a gigantic value for me, if only i knew that before.
To describe a bit more my situation i slept only few hours since 5 days, vomiting, heavy coughs and fever.
I'm sure i'm not supposed to but i will anyway, i engage myself and promise to reward you (in particular) and others for the help you're bringing me. It wont be much but very important to me.
I'll go try to get (again) some rest. Just before i go, why was there a mention about my device;
"
The problem is it's a Motorola with a Qualcomm chip.
If you find a solution I would love to see it.
"
I dont ask you (WoKoschekk) or other to explain in the most explicit and endless details of what is exactly this "chip" and all the history that goes with it cause i dont want to be a pain but just why it was mentionned. Only, why?, it has ben mentionned.
I cant wait to get better since i finally see possibilities to get back those files.
Have a nice week-end and thanks again.
@Kerplunk83 To reveal the mystery behind "the chip": Motorola released two variants (Snapdragon/Mediatek CPU) of this model. Since the CPU largely determines the system structure, building a functional TWRP for both of them is very challenging. It seems that TWRP for the SD's variant got some bugs while the MT's variant runs more smooth. Due to this fact the error 255 is caused by something that you weren't be able to fix.
Regarding your problem: To restore an app and its specific app data you need the proper permissions to write in /data/data and /data/app. For this permissions you either need TWRP or Magisk installed. TWRP seems to be unable to write in that specific directory. On the other hand you don't want to install Magisk. I'm sorry but with this setup your problem can't be fixed.
Just out of curiosity, could you provide me a recovery.log showing error 255 during the restore process?
Please DO NOT copy/paste the whole log and post it here!! Instead of this you should rename the file (recovery.log => recovery.txt) because a file called *.log isn't allowed for upload. But a *.txt file is.
Options to create a recovery.log:
1. adb pull /tmp/recovery.log
=> copies a recovery.log into your ADB/fastboot folder
2. Do a backup of sth. like "boot" because the backup process will create a recovery.log by default
3. TWRP mainscreen > advanced > create log (kernel log isn't needed here)
=> log is stored on the default storage (internal or external) that you have choosen for backups etc.

Categories

Resources