The backups I make with Tipatch won't restore properly. It gets to restoring System Image, then reboots into recovery and I have to manually install the ROM again.
The backups I make with Tipatch won't restore properly. It gets to restoring System Image, then reboots into recovery and I have to manually install the ROM again.
For everyone with the "Patch #1 failed: could not find '/media' in image" error, I'll keep investigating. So far, it seems to be restricted to the Samsung Galaxy S7 and Note 5. Translations are also coming soon, so please e-mail or PM me on Telegram/XDA if you want to translate. Spots have been claimed for Portuguese and Chinese as of now. • Fix rotation issues
• Fix crashes
• Improve About screen
• Update libraries
• Fix misleading caption on TWRP Wipe screen
I reinstalled everything from scratch and it started working. Maybe my backup just had a corrupted System Image. You can leave System Image out of the backup and it won't cause any problems?Which device? Can you provide a link to download your TWRP? How big is the backup? Is it in external (SD) or internal storage?
I don't think this issue is associated with Tipatch because you aren't really supposed to be restoring System Image. Try it with System instead, I've had problems with System Image as well on the Mi A1.
TWRP backups don't have to include every partitions, that's why you can choose which ones to back up and which ones to restore.I reinstalled everything from scratch and it started working. Maybe my backup just had a corrupted System Image. You can leave System Image out of the backup and it won't cause any problems?
The next version will have translations and more fixes. This release was necessary because the previous one was taken down from the Play Store due to the crash reporting module. • Switch to Sentry for crash reporting (reduces size & battery impact)
• Add splash screen
• Improve performance
• Improve app theme
No, you only need to repatch if there's been significant changes (which I will mention in the changelog). You will need to repatching when updating TWRP.Silly question that I sure has been covered but do I need to search twrp with each tipatch revision?
Yes, you can. Tipatch also has a button to restore the unpatching backup or undo the patch.Can I do this:
1. Patch the Twrp and flash it.
2. Make a Data backup (incl Internal St)
3. Flash the original recovery(unpatched) from the install image option.
4. wipe data only (not internal storage) for installation of other custom roms
????
This is a known issue that occurs on some devices. Not sure why, I'm looking into fixing it.Hello @kdrag0n .When I try to patch I get the message "Patch #1 failed: could not find '/media' in image. This is probably not a TWRP image."
Yet I'm using official TWRP 3.2.3-0 on my clark.
Use at your own risk. Note that wiping Data WILL also wipe internal storage, contrary to normal behavior.
Introduction
TWRP Data backups do not include Internal Storage, which is the emulated SD card that stores your photos, videos, downloads, and more. This means that in the event you transfer phones or completely wipe data, all of that is gone! Eventual data loss is inevitable here.
Tipatch patches TWRP to backup contents of internal storage (emulated SD card) as part of Data, thus preventing data loss. Internal storage typically includes items such as photos, videos, downloads, game data, and other assorted files.
The app supports patching an image and saving the result anywhere, as well as patching the currently installed recovery in-place on rooted devices. It has been confirmed to work on Exynos, Snapdragon, Kirin, and MediaTek devices.
Note: internal storage is the same thing as emulated SD card. They are both referring to the /data/media path.
Compatibility
As far as I know, this works on every device. It has been confirmed to work on Exynos (Galaxy S8, Galaxy A8), Snapdragon (Mi A1, Galaxy S9+ unlocked), Kirin (Mate 10 Lite), and MediaTek devices. Let me know if there's any device it does not fully work on.
Downloads
Download the app on Google Play or XDA Labs.
Alternatively, downloads can be found here on GitHub.
The first release listed is the latest version, currently 1.6.
If you don't want to use the app, programs for Windows, macOS, and Linux are also available at the link above.
Instructions
If your device is rooted, you can patch your current recovery (both slots on A/B) with one tap.
If your device is not rooted, download your device's recovery image and patch that. Then flash or boot the patched image as usual.
How do I know if it worked?
- "Data (incl. storage)" on Backup screen
- "Backups of Data include…" while backing up
- Bigger Data size on Backup screen
A side effect is that wiping "Data" will also wipe internal storage. This cannot be fixed.
If you use a theme or a language other than English, the text will not change. Revert to the default theme and/or change to English to confirm.
Restoring backups with internal storage does not require a patched recovery.
Tipatch does not affect your external SD (if present) in any way.
Problems?
Reflash your recovery image. If you used in-place patching, simply tap "Restore backup" in the option menu.
Special thanks to @tytydraco (Draco) for suggestions and extensive testing.
Donate to support future development
Join the Telegram group
Translation positions are open! E-mail or PM me on Telegram/XDA to register for a language. Currently taken are Portuguese and Chinese.
Enjoy!
XDA:DevDB Information
Tipatch, App for the Apps & Games
Contributors
kdrag0n
Source Code: https://github.com/kdrag0n/tipatch
Version Information
Status: Stable
Current Stable Version: 1.6
Stable Release Date: 2018-09-18
Created 2018-08-19
Last Updated 2018-09-24
I don't see how that's simpler. It requires several manual renaming steps and another rename when you restore it. With Tipatch it's a 1-tap patch with no further manual actions. They both work though.hi~
thanks for your effort to help other users.
however I found someone got a simpler way.
it is to
1. rename /data/media into /data/intmem
2. refresh size in backup
3. make nandroid
4. rename back /data/intmem into /data/media
it worked perfectly for me, for many times.
https://forum.xda-developers.com/general/general/twrp-backup-including-internal-storage-t3660479
for my myself, i will stick to the "change name method".I don't see how that's simpler. It requires several manual renaming steps and another rename when you restore it. With Tipatch it's a 1-tap patch with no further manual actions. They both work though.
Please don't quote the whole OP.
As for #2, I'm not sure how TWRP would be signed. The patcher is open source, you can view the code on GitHub: https://github.com/kdrag0n/tipatchfor my myself, i will stick to the "change name method".
1. the "change name method" dont need to stick to any twrp version,
when new version of twp is out, i can simply upgrade the official twrp.
2. i think the patch is unsigned? then need to trust the author
3. as you say, a wipe will wipe also the internal storage.
just personal choice,
thanks for reply anyway