Soft bricked Moto G4 (XT1625) after SuperSU install


Question

So, yeah. I told a friend I would root his phone for him... and I went and soft-bricked it. Haven't told him yet, because I'm hoping I can fix it before long, but I'm running out of options (and time).



Side note:



I followed this guide when trying to root:
www.reddit.com/r/MotoG/comments/22mimr/the_guide_to_rooting_the_motog_with_a_howto/



and got until unlocking the bootloader when I realized that instead of being a guide for the Moto G4, it was a guide for the Moto G on android 4.x.x.



So I did flash the wrong logo.bin, but hopefully that was the only issue created there. I got the correct one elsewhere and all was working fine.



End side note



So I moved to how-to-geek's tutorial here:
http://www.howtogeek.com/115297/how-to-root-your-android-why-you-might-want-to/



I got twrp installed, booted in recovery and loaded SuperSU (version below)



SR1-SuperSU-v2.78-SR1-20160915123031



Now it's softbricked. Kind of just hangs on the boot screen.



I can get into the bootloader and twrp, but that's about all I can do at the moment. I've tried reseting the cache and dalvik cache, and have tried formatting the device with no luck.



My next step is that I'm installing vanilla firmware from:



http://rootjunkysdl.com/files/?dir=Moto%20G%204th%20Gen%20XT1625



and I plan to try to flash that when It's all done. I'm unsure if that's safe, but don't have many other options.



If you know anything I can try, please reply. Any help is greatly appreciated


Answer

Proper research would have prevented this, in the future if you need information on rooting a device, go to a REPUTABLE source like XDA or a similar forum and make sure the information is specific to your device AND the current Android version. Lollipop, Marshmallow, and now Nougat are changing the way rooting is being done.



All retail/unlocked Moto devices running Marshmallow have an extra step that is required when flashing to force a systemless root installation by the SuperSU install script.



After successfully flashing TWRP and booting it, go to Advanced - Terminal and enter:



echo SYSTEMLESS=true>>/data/.supersu 


And press Enter, then exit. The spelling and spacing must be exact or it won't work. Then go to the main menu of TWRP and flash SuperSU normally, you should see the script specifically state it is doing a systemless install and patch the boot image (and in your case, cleanup an old standard root installation).





Please use only the referenced version from my thread (yes, I am the original author of that source thread), they are tested and working to both root the device, and cleanup a failed root.



Be aware on the first boot after this procedure, the device will boot loop twice, do not be concerned, this is normal, then it will boot normally after that.



And since you did not do a nandroid backup before rooting (shakes head), you may need to flash back to stock via fastboot before this procedure will work. The image for your device is available here. Remember that you cannot flash this in TWRP, you MUST flash each partition manually with fastboot and this will return the device to out of the box condition.


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