Backup data with broken screen and empty system


Question

Device details:




  • Samsung Galaxy S3 (i9300) with broken screen

  • No System (was running CM13.0 with GAPPS)

  • Currently flashed with TWRP 3.1 with Odin (was CWM)

  • /data | /dev/block/mmcblk0p12 | Size: 11622MB Used: 5540MB Free: 3440MB Backup Size: 5540MB



System details:




  • Windows 10

  • adb-1.0.39



I need to make a valid nandroid or adb backup for Titanium Backup Pro on my new device. What I've tried so far:




  • adb backup --twrp data (also with --compress option) to my laptop but it's currently unrestorable. #1011

  • adb backup without --twrp, results in 0KB file. Tried using adb-1.0.31 as described at question 83080 but didn't work (no password set)

  • backup with CM Recovery v6.0.4.6, but seems to fail on system (not sure). The backup folder only contains boot.img and recovery.img

  • adb uninstall package to create space/reduce backup size. /sbin/sh: pm: not found



Any other ways I can try without losing apps+data?


Answer

Restored system with what was running before by doing:




  • twrp wipe system (it was already empty, but for good measure)

  • twrp wipe cache

  • twrp install /sdcard/Download/cm-13.0-20160113-UNOFFICIAL-temasek-i9300-V2.9.zip

  • twrp install /sdcard/Download/open_gapps-arm-6.0-mini-20171004.zip

  • twrp install /sdcard/TWRP/SR4-SuperSU-v2.78-SYSTEMMODE.zip

  • twrp fixperms

  • twrp wipe cache

  • twrp wipe dalvik



Aftwards it got stuck in a bootloop. I had Android Studio open to watch the logcat and somehow managed to adb shell pm uninstall packages, just before the Fatal signal 11 (SIGSEGV) error, with the intention to fix the bootloop.



I uninstalled CM 13 themes first as they where appearing before the Fatal signal 11. It got to a point where it was unclear what was causing the bootloop and remembered I had activated a custom bootanimation with one of those themes. Deleted the /data/system/theme/bootanimation.zip, but did not help.
Tried adding debug.sf.nobootanimation=1 to the /system/build.prop, but did not help either.



Then I decided to uninstall packages I don't need backing up, as I was planning to try and create a backup again with CWM Recovery when enough space was available. To my surprise I was able to get out of the bootloop! Probably one or more apps were the cause of the bootloop after re-flashing the ROM.



I am now able to use Vysor to backup apps+data I need with Titanium Backup to transfer to my new device.



Alhamdulillah..



I hope this may be of use to someone else who may be experiencing a similar problem.



Options are:




Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes