Stuck in twrp after trying to root Samsung A7(2018)


Question

I tried to root my samsung A7 yesterday, I flashed twrp with odin and when I try to install magisk it says "Zip file is corrupt",


I don't have any OS now and I'm left with only twrp.


I flashed twrp again different times with odin but same.
I can't boot in fastboot and when I tried with adb sideload my device is not discoverable.
I followed all the steps from this video Youtube Video when I tried to root my device.


Is there anyway to bring my samsung back or it's bricked?


Device Model: A750FN



Answer

Thanks to @alecxs I was able to fix it. The reason why I was stuck in twrp is because I wiped system through twrp(I was frustrated when I couldn't boot in magisk after many times of trying so I decided to let the System go, the first time trying to root an phone so I didn't know what I was doing).


DON'T WIPE THE SYSTEM!


I still don't know why "Zip file is corrupt" ocurred, maybe because I tried to install magisk through sd card and the sd card was corrupted, or maybe because the twrp I flashed was unofficial, I don't know, but here is how you can recover your phone back:


1.Install the stock rom/firmware for your model at samfw.com,


before you install the stock rom for your phone model you should know your phone CSC(Country Specific Code), if you don't know it just boot in download mode and you will see Carrier ID associated with phone CSC Code


2.Boot in download mode and flash the downloaded rom. If that goes well and now you have your phone back but you still want to root then go to Magisk Installation Guide and follow the instructions.


If you experienced the same error like mine while trying to flash magisk on twrp with sd card then next time instead of sd card try to copy magisk in cache partition and then in twrp flash from there.


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