Hi,
Does installing TWRP wipe the personal data after it get installed on the device for the first time ?
Many Thanks to all of you
It shouldn't delete personal data. TWRP is recovery partition, it doesn't deal with the userdata partition. However, some tools used for flashing the TWRP might have an option to completely re-format your phone, so make sure that setting is unchecked. If anything, make a backup of your phone prior to doing this.
mohhaxs said:
It shouldn't delete personal data. TWRP is recovery partition, it doesn't deal with the userdata partition. However, some tools used for flashing the TWRP might have an option to completely re-format your phone, so make sure that setting is unchecked. If anything, make a backup of your phone prior to doing this.
Click to expand...
Click to collapse
Many thanks for you help. actually I can not backup any thing, that is all my actual problem. I can not access to the android OS, but can access the recovery and download mode. Someone suggested to backup all the data from twrp before trying wipping all the phone ... what do you think about that ? Is it a good workarround so I can recover a functionning phone with all my data ?
Many thanks
Edit: I plan to use heimdall to flash the twrp recovery mode on the phone.
Droiid848 said:
Many thanks for you help. actually I can not backup any thing, that is all my actual problem. I can not access to the android OS, but can access the recovery and download mode. Someone suggested to backup all the data from twrp before trying wipping all the phone ... what do you think about that ? Is it a good workarround so I can recover a functionning phone with all my data ?
Many thanks
Edit: I plan to use heimdall to flash the twrp recovery mode on the phone.
Click to expand...
Click to collapse
It depends on the phone. If it is Samsung, just flash the same firmware on top of the device using odin and make sure the re-partition is not checked. Or if you can access recovery mode, try hooking it up to the computer and use adb shell to locate your files and pull them off the device.
Related
I've unlocked the bootloader on a HTC Desire 510. This triggered a wipe. Afterwards, I wiped the system using the recovery. I had some photos on the internal SD card that I need to recover ASAP. Currently, the phone doesn't have any ROM, and I can only access it through fastboot and adb (adb in Phillz recovery). I've tried pulling the images from /sdcard/DCIM, but it doesn't pull anything, saying that no files are there.
I'm thinking of running photorec on the phone, but since it's the internal SD card, I can't mount it to the PC from the recovery. I thought of putting a ROM .zip on an sdcard and flash it, but I'm afraid that a flash would make recovery impossible. Is there a way I can dump the internal sdcard image just through fastboot and adb? Any ideas would also be most welcome.
Dafta said:
I've unlocked the bootloader on a HTC Desire 510. This triggered a wipe. Afterwards, I wiped the system using the recovery. I had some photos on the internal SD card that I need to recover ASAP. Currently, the phone doesn't have any ROM, and I can only access it through fastboot and adb (adb in Phillz recovery). I've tried pulling the images from /sdcard/DCIM, but it doesn't pull anything, saying that no files are there.
I'm thinking of running photorec on the phone, but since it's the internal SD card, I can't mount it to the PC from the recovery. I thought of putting a ROM .zip on an sdcard and flash it, but I'm afraid that a flash would make recovery impossible. Is there a way I can dump the internal sdcard image just through fastboot and adb? Any ideas would also be most welcome.
Click to expand...
Click to collapse
flashing a new ROM.zip will only delete everything for sure.
I'm sory to say it, but by my knowledge there's only one way to recover them, and that's by recovering a backup on recovery mode.
I hope you did make a backup before unlocking your bootloader. If you didn't, I think there's not very much you can do :s
anyway, please remember to ALWAYS make a recovery backup before doing anything in recovery.
louis-JYG4t said:
flashing a new ROM.zip will only delete everything for sure.
I'm sory to say it, but by my knowledge there's only one way to recover them, and that's by recovering a backup on recovery mode.
I hope you did make a backup before unlocking your bootloader. If you didn't, I think there's not very much you can do :s
anyway, please remember to ALWAYS make a recovery backup before doing anything in recovery.
Click to expand...
Click to collapse
What kind of backup??
For a nadroid backup you need a custom recovery, and to flash a custom recovery you need a unlocked bootloader...
Newyork! said:
What kind of backup??
For a nadroid backup you need a custom recovery, and to flash a custom recovery you need a unlocked bootloader...
Click to expand...
Click to collapse
but he said he whiped the system using a recovery?
louis-JYG4t said:
but he said he whiped the system using a recovery?
Click to expand...
Click to collapse
Yes, AFTER I unlocked the bootloader. There were all in all two wipes, although the second one was only /data and /cache.
I did a backup using adb, but to my knowledge, that's only a backup of the apps and their data.
When you unlock a bootloader phone, you lose everything, including photos, musics, etc.
Do you have a backup of your files?
Sorry bad english
If I were you, I would restore the backup with adb and see if you have your photo's back.
Otherwise I have no idea for how you can restore them sory...
louis-JYG4t said:
If I were you, I would restore the backup with adb and see if you have your photo's back.
Otherwise I have no idea for how you can restore them sory...
Click to expand...
Click to collapse
Why does nobody read my OP? I said the phone doesn't currently have a ROM on it. I can't restore that backup.
I'm going to flash busybox, a 300kb zip file that probably won't overwrite too much data, and use dd to get what I need.
If you have an adb backup of your files in the pc, you can extract it and get your photos back
What is the expert method to deep clean, wipe every thing my OPO and than flash a ROM?
Hoping to hear from you experts.
Thanks.
Mike2040 said:
What is the expert method to deep clean, wipe every thing my OPO and than flash a ROM?
Hoping to hear from you experts.
Thanks.
Click to expand...
Click to collapse
You can flash the stock images via fastboot, that will erase everthing and get you back to stock. You can then install a custom recovery and flash roms again.
gsmyth said:
You can flash the stock images via fastboot, that will erase everthing and get you back to stock. You can then install a custom recovery and flash roms again.
Click to expand...
Click to collapse
No need to prior Wipe data, Factory reset, Wipe all storage etc?
Thanks.
Mike2040 said:
No need to prior Wipe data, Factory reset, Wipe all storage etc?
Thanks.
Click to expand...
Click to collapse
There is a command to wipe user data, see the below guide.
http://forum.xda-developers.com/showthread.php?t=2839471
Reason!
Thanks for your expert replies.
The reason for asking was and is for you to know in depth what happened.
My OPOs BL is unlocked and rooted.......at times try other ROMs like Hydrogen, RR, etc.
I was surprised to see and empty Baidu folder size 80 bytes shown by ES File manger, after I flashed back COS 12.
The way I flash is firstly reboot to TWRP, Format > type yes, than Factory reset, than Advanced Wipe ALL except OTG, power off the OPO.
Power on in fastboot mode, connect to pc and flash COS ROM using those commands.
All is good, except the empty Baidu Folder, fail to understand how did it persist.
Other thing is when I later flash TWRP over stock, and than when I perform a factory reset before flashing another ROM, see red SD card errors? ........have to keep rebooting to TWRP.
The way I flash is TWRP > Format type yes > Factory reset > Wipe all except OTG > Mount OTG-USB containing the zip, install zip swipe flash > once done > Reboot. (before reboot don't clear dalvik and cache).
If I take screen capture of TWRP they wont be saved in Gallery.
TWRP 2.7.8.0 when flashed on start up showed this.........
"TWRP has detected an unmodified partition. TWRP can leave your partition unmodified to make it easier for you to take official updates. TWRP will be unable to prevent the stock ROM from replacing from replacing TWRP and will not offer to root your device. installing zips or performing adb operations may still modify the system partition.
Never show this screen during boot again."
To sum up my queries are:
1. How can I perform a deep clean of OPO, and than flash COS 12 using fastboot, so I don't see any Baidu etc empty folders.
2. Than flash TWRP and and if needed can take it's screen captures.
3. Later if required can flash new custom ROM with out issues.
Bottom line to clean my OPOs Storage that includes SD card.
Btw my OPO isn't giving any issues or bugs and working great, no EFS issues etc.........
After reading all care to edit/correct what am I doing incorrect?
Thanks again.
Add
Is this the command to format user data?
Code:
fastboot format cache
Mike2040 said:
Thanks for your expert replies.
The reason for asking was and is for you to know in depth what happened.
My OPOs BL is unlocked and rooted........
Click to expand...
Click to collapse
I have seen people querying the Baidu folder before (i have it myself), it seems to be a folder left by ES file explorer, have you ever installed that? It doesnt seem to be anything malicious, although a lot people were spooked, thinking it was spyware of some sort.
https://forums.oneplus.net/threads/baidu-in-es-file-explorer-manager.303595/page-2
---------- Post added at 03:08 PM ---------- Previous post was at 02:58 PM ----------
Mike2040 said:
Is this the command to format user data?
Code:
fastboot format cache
Click to expand...
Click to collapse
Below is the command for flashing the userdata file via fastboot. If you have downloaded the fastboot image files, I think it basically pushes a blank file to overwrite/format the user data space/parition.
Code:
fastboot flash userdata userdata_64G.img
So I believe I've bricked my SGH-T769, at least, whenever I attempt to turn it on, I am greeted with the standard Samsung splash-screen and can never proceed past it. I can still boot into recovery mode and i wanted to know if I could use the "restore from sdcard01" option to fix this. I have a removable SDCard and the ability to add files to it via- cardreader. Can I even get system restore files?
P.S. I cleared EVERYTHING... not JUST the harddrive, dalvik, and caches, i mean... i cleared EVERYTHING which was obviously a mistake because that's when the problems came. I believe I may have actually cleared the system files themselves...
:silly:
Oddly enough, CWM Recovery is still alive and well, but I cannot access DOWNLOAD MODE
(I KNOW HOW TO ACCESS DOWNLOAD MODE BUT IT IS JUST BROKEN WITH THIS PHONE)
Hello,
Yes, if you made a nandroid backup in recovery then restoring that nandroid should fix you.
To better assist you, your thread will be moved to your device forum linked below.
http://forum.xda-developers.com/blaze-4g/general
The experts there may be able to help you with any other questions you have. Good luck.
digfive3 said:
So I believe I've bricked my SGH-T769, at least, whenever I attempt to turn it on, I am greeted with the standard Samsung splash-screen and can never proceed past it. I can still boot into recovery mode and i wanted to know if I could use the "restore from sdcard01" option to fix this. I have a removable SDCard and the ability to add files to it via- cardreader. Can I even get system restore files?
P.S. I cleared EVERYTHING... not JUST the harddrive, dalvik, and caches, i mean... i cleared EVERYTHING which was obviously a mistake because that's when the problems came. I believe I may have actually cleared the system files themselves...
:silly:
Oddly enough, CWM Recovery is still alive and well, but I cannot access DOWNLOAD MODE
(I KNOW HOW TO ACCESS DOWNLOAD MODE BUT IT IS JUST BROKEN WITH THIS PHONE)
Click to expand...
Click to collapse
No, you are not bricked. If you are able to access recovery, think of it as a second chance . Since you have recovery available, have you tried transferring a ROM to it? If that is what you were aiming for, I recommend transferring TWRP onto it, flashing it, reboot to recovery, and proceed to flashing a ROM.
xWolf13 said:
No, you are not bricked. If you are able to access recovery, think of it as a second chance . Since you have recovery available, have you tried transferring a ROM to it? If that is what you were aiming for, I recommend transferring TWRP onto it, flashing it, reboot to recovery, and proceed to flashing a ROM.
Click to expand...
Click to collapse
Can I just use an SD card to do that or will I need to find a way to get into download mode?
digfive3 said:
Can I just use an SD card to do that or will I need to find a way to get into download mode?
Click to expand...
Click to collapse
That works also.
digfive3 said:
Can I just use an SD card to do that or will I need to find a way to get into download mode?
Click to expand...
Click to collapse
Yes, download your ROM and Gapps package, place the zips on your external sdcard, boot to recovery, flash the ROM zip then flash the Gapps zip, do the wipes(factory reset, wipe cache, wipe dalvik cache), reboot.
Sent from my SCH-I535 using Tapatalk
Droidriven said:
Yes, download your ROM and Gapps package, place the zips on your external sdcard, boot to recovery, flash the ROM zip then flash the Gapps zip, do the wipes(factory reset, wipe cache, wipe dalvik cache), reboot.
Sent from my SCH-I535 using Tapatalk
Click to expand...
Click to collapse
Could you link me to a rom for my device? I'm having a hard time finding an actual ZIP file, just a bunch of .IMG files.
digfive3 said:
Could you link me to a rom for my device? I'm having a hard time finding an actual ZIP file, just a bunch of .IMG files.
Click to expand...
Click to collapse
Do a Google search for "custom ROMs for SGH-T769" that should give some results if anything exists.
Sent from my SCH-I535 using Tapatalk
digfive3 said:
So I believe I've bricked my SGH-T769, at least, whenever I attempt to turn it on, I am greeted with the standard Samsung splash-screen and can never proceed past it. I can still boot into recovery mode and i wanted to know if I could use the "restore from sdcard01" option to fix this. I have a removable SDCard and the ability to add files to it via- cardreader. Can I even get system restore files?
P.S. I cleared EVERYTHING... not JUST the harddrive, dalvik, and caches, i mean... i cleared EVERYTHING which was obviously a mistake because that's when the problems came. I believe I may have actually cleared the system files themselves...
:silly:
Oddly enough, CWM Recovery is still alive and well, but I cannot access DOWNLOAD MODE
(I KNOW HOW TO ACCESS DOWNLOAD MODE BUT IT IS JUST BROKEN WITH THIS PHONE)
Click to expand...
Click to collapse
By the way, there is a device called a USB jig that is used to force a device into download mode, you can get one for $4-5 on eBay or you can make your own by cutting the end off of an old micro USB cord and using a 300k resistor(or any combination of resistors that equal but do not exceed 300k), there are videos on YouTube that show how to do that. That should boot you to download mode so you can restore the device to stock.
Sent from my SCH-I535 using Tapatalk
Recovery of J700T from "Device storage corrupt you must factory reset" error
Time to talk to the XDA brain trust before I make matters worse. I had rooted my J700T and all was well, also using link2sd. Unfortunately, I made a fatal error by attempting to use FolderMount (rather than creating the links myself), ending up in the Samsung "/data corrupt you must factory reset" error. Also unfortunately, when I earlier flashed TWRP (and then flashed SuperSU via TWRP) I did not choose to wipe the phone at that point to give /data & /system access, so I can't access them through TWRP's adb access. The "reset phone" option on the "you must factory reset" page fails of course, since it tries to boot into recovery which is TWRP not stock. I tried to do a typical TWRP wipe (I can still boot into TWRP of course, and into the download screen), but the result is that when the phone is started normally it continuously loops with the Galaxy J7 splash screen on and off at about seven second intervals (only stopped by pulling the battery).
So the question is, what's the best way to proceed? I saw another page here with the four ODIN files to flash back to stock, but the dropbox account is suspended due to overuse. Ideally, something I could do through TWRP would be even better, and this time I'd like to do the full reset and turn off the crypto so that in the future TWRP has full access to the internal phone data, not just the SD card.
Any guidance would be much appreciated. Thanks!
Can I Restore the Samsung 700t1 withowithout pc
Jersto said:
Can I Restore the Samsung 700t1 withowithout pc
Click to expand...
Click to collapse
If you mean completely back to stock (day one out of box), no.
sent from this device on this app....
So you had twrp as your recovery, you decided to mess with your system partition, you don't have free access to a PC yet it seems you neglected to do the one thing that would have got you out of this mess in a pinch?
That is spending literally 2 minutes to make a nandroid backup?
The main reason really for having a custom recovery. ?
Your only option now is to flash the stock firmware and FORMAT DATA.
Okay guys. Now we got that out of our systems, let's work on some solutions.
All good?
sent from this device using this app....
Thread cleaned up. Please stay on topic.
Regards
Vatsal,
Forum Moderator.
Something happened to my phone and I succeeded to flash it all new with Android 9.0 which I was on.
But when I try restore twrp backup (data and/or System) I always end up with bootloop.
Tried to reflash Magisk too but doesn't help.
Bootloops right back to TWRP after 2 minutes.
Anyone have any ideas on how I can get my data back from the twrp backup?
Tried to official twrp and bmu_sparks.
Thanks.
timebandi said:
Something happened to my phone and I succeeded to flash it all new with Android 9.0 which I was on.
But when I try restore twrp backup (data and/or System) I always end up with bootloop.
Tried to reflash Magisk too but doesn't help.
Bootloops right back to TWRP after 2 minutes.
Anyone have any ideas on how I can get my data back from the twrp backup?
Tried to official twrp and bmu_sparks.
Thanks.
Click to expand...
Click to collapse
Same thing happened to me yesterday. If you still have access to TWRP, enter it and wipe everything and install newest oxygen pie zip. TWRP is broken for our devie and backups cannot be trusted I'm afraid. Wish I knew this before.
timebandi said:
Something happened to my phone and I succeeded to flash it all new with Android 9.0 which I was on.
But when I try restore twrp backup (data and/or System) I always end up with bootloop.
Tried to reflash Magisk too but doesn't help.
Bootloops right back to TWRP after 2 minutes.
Anyone have any ideas on how I can get my data back from the twrp backup?
Tried to official twrp and bmu_sparks.
Thanks.
Click to expand...
Click to collapse
After restore is complete do not reboot, try the following, it might work,
1-Do not do any wipe,
2-Flash exactly the same ROM which is backed up,
3-Flash twrp,
4-Reboot twrp.
5-Flash Magisk,
8-Reboot system,
In case you are trying to go back from pie to oreo you have to flash roll back rom.
All the best, hope this helps., cheers.
Have tried all that with no luck. But if I do a Factory reset any time after the data restore the phone works but then I dont have any data
This sucks big time.
Have installed all from scratch. Luckly fastboot was working all the time
Some data I could restore with Titanium Backup but not so much I needed/wanted.
Too bad we cant rely on TWRP and its backup/restore feature.
timebandi said:
Have tried all that with no luck. But if I do a Factory reset any time after the data restore the phone works but then I dont have any data
This sucks big time.
Have installed all from scratch. Luckly fastboot was working all the time
Some data I could restore with Titanium Backup but not so much I needed/wanted.
Too bad we cant rely on TWRP and its backup/restore feature.
Click to expand...
Click to collapse
Its good only in the case if you are decrypted, since the time I'm decrypted no such problems, if you want you can try it,
https://forum.xda-developers.com/oneplus-6/how-to/tutorial-decrypt-flash-rom-pie-oreo-roms-t3838643
timebandi said:
Something happened to my phone and I succeeded to flash it all new with Android 9.0 which I was on.
But when I try restore twrp backup (data and/or System) I always end up with bootloop.
Tried to reflash Magisk too but doesn't help.
Bootloops right back to TWRP after 2 minutes.
Anyone have any ideas on how I can get my data back from the twrp backup?
Tried to official twrp and bmu_sparks.
Thanks.
Click to expand...
Click to collapse
Using TWRP backups on this phone is fun but not impossible. This process works for me.
1. Store backups on something other than the phone (I use an OTG card reader and 128 GB SD card)
2. Use a Fastboot Rom of THE EXACT SAME ROM as the backup and let it do it's thing flashing the phone (it will also wipe the phone in the process, which is why you need to store the backup elsewhere)
3. Boot up the phone and go through the whole process of setting it up. Don't worry about installing all your apps.
4. Install TWRP and Magisk if you used it on the backup.
5. Now restore your TWRP backups - just restore system, data, and boot.
I have done this at least 100 times and it has always worked.
I presume the fastboot rom is not only gonna wipe the internal drive but will also lock the bootloader, thats a lot of hassle to do every time you want to restore, but thanks for your suggestions, cheers.
vtec303 said:
I presume the fastboot rom is not only gonna wipe the internal drive but will also lock the bootloader, thats a lot of hassle to do every time you want to restore, but thanks for your suggestions, cheers.
Click to expand...
Click to collapse
The fastboot rom wipes the internal drive but DOES NOT lock the bootloader. Besides, I haven't seen or heard of another way to use TWRP backups without decrypting the phone, and I have security concerns with decrypting the phone.
tabletalker7 said:
The fastboot rom wipes the internal drive but DOES NOT lock the bootloader. Besides, I haven't seen or heard of another way to use TWRP backups without decrypting the phone, and I have security concerns with decrypting the phone.
Click to expand...
Click to collapse
ohh ok, I thought it locks it but thanks for the info, yes thats why I decrypted my device, lets hope in this thread we could find a easy way out to restore sucessfully while encrypted, have you tried just backing up boot, system and data and than restoring it ? cheers
vtec303 said:
ohh ok, I thought it locks it but thanks for the info, yes thats why I decrypted my device, lets hope in this thread we could find a easy way out to restore sucessfully while encrypted, have you tried just backing up boot, system and data and than restoring it ? cheers
Click to expand...
Click to collapse
Yes I tried. Without the fastboot rom to reset everything that stupid encryption bites you in the butt.
Yep. I just restored an entire nandbackup, and now my phone boots to a quailcomm dump screen only, can't fastboot into recovery or anything. Guess my new plans tonight involve fixing this thing.
I also got a bootloop after restoring 8.1 android with twrp 3.3.1 by nemo nemo on my leagoo xrover.
factory reset and wiping everything exept microsd card didnt help...
thanks for some help
vtec303 said:
After restore is complete do not reboot, try the following, it might work,
1-Do not do any wipe,
2-Flash exactly the same ROM which is backed up,
3-Flash twrp,
4-Reboot twrp.
5-Flash Magisk,
8-Reboot system,
In case you are trying to go back from pie to oreo you have to flash roll back rom.
All the best, hope this helps., cheers.
Click to expand...
Click to collapse
Thanks a lot, man. it worked for me