I can't get root after applying the T989UVKL1 update using Odin. Here's what I did.
I had root with stock everything before, no customer rom or kernel.
1. I downloaded the T989UVKL1 update
2. Opened up Odin
3. Put phone in download mode
4. Flashed the update
5. Rebooted into system and verified update completed successfully.
6. shut down phone
7. repeated steps 2 and 3
8. Flashed recovery successfully
9. Rebooted into system
10. Turned off phone.
11. Booted into recovery.
12. Attempted to flash su-3.0.5-efgh-signed.zip but the flash failed with installation aborted error
13. Fixed permissions
14. Tried step 12 again, again failed with installation aborted error
15. Rebooted into system and deleted and copied su file back onto sd card.
16. Rebooted into recovery again and repeated step 12 but again, installation aborted.
Any ideas? Can't seem to root now. I know some have said the phone still roots after the installation aborted error, but I have confirmed that my phone is not rooted, the installation of SU is indeed failing.
take the superuser file you downloaded and put on your sd card and rename it with a file explorer ...dont matter which one the one that comes with the phone is fine , rename it to "update" and thats it ,do not add .zip you dont need to . the go back into recovery and flash , if get error then flash again ,do not reboot recovery jut keep reflashing the file until it is successful, i had to reflash 3 times. this should work
I got this working by fixing permissions a second time and trying again. Thanks for the help.
Related
** I AM NOT LIABLE IF YOU BRICK YOUR PHONE OR ANY DAMAGE CAUSED BY YOUR STUPIDITY**
This guide will follow the steps needed to remove permanent root and bring your device back to 100% stock
Here are the following files we will need to download please grab the files needed below and place them on the root of your sdcard
1-a) Stock PRE-OTA Rom rooted:
Stock PRE-OTA Rom
or
1-b) Download the attached HexEditor on the thread
2.) Stock Factory Bootloader / Recovery / ROM / Kernel:
Stock Factory Bootloader / Recovery / ROM / Kernel
(rename this to PC10IMG.ZIP)
3.) T-Mobile OTA Update - Build # 1.22.531.8:
T-Mobile OTA Update
(rename this to update.zip)
Procedure:
Step 1.) Flash Stock Rooted PRE-OTA Rom via ClockWorkMod
Open up RomManger via the Android Launcher and select "Install ROM from SD Card" and select the "stock_root.zip" on the root of the sdcard and select the option to "Wipe Data and Cache" and hit ok. Once rom is flashed it will reboot automatically and bring you back to the os.
**IMPORTANT**
If the flash has failed you must reboot back into the OS and use HexEditor which i have attached to the thread. DO NOT PROCEED UNTIL YOU HAVE DONE THIS!!
Open up an ADB Shell and run the following command:
dd if=/dev/block/mmcblk0p17 of=/sdcard/misc.img
this will then export the misc.img file we need to edit to the root of the sdcard.
Mount your sdcard and save the misc.img file to your PC and Open the file with HexEditor.
You should now see the version number on the right hand side of the application and it should read "1.22.531.8" YOU MUST CHANGE THIS TO "1.19.531.1" you can now save the file as miscnew.img and place it on the root of your sdcard and then unmount the sdcard from windows.
Now go back to your ADB Shell and run the following command
dd if=/sdcard/miscnew.img of=/dev/block/mmcblk0p17
you can now make sure you have copied the PC10IMG.zip file to the root of your SDCARD and power off your phone and proceed to step 2.
*All Credit goes to Apache14 for this method which is in this thread:
http://forum.xda-developers.com/showthread.php?t=831398
Step 2.) Restore factory BOOTLOADER, RECOVERY, KERNEL, ROM (THIS RE-ENABLES S-ON)
Place the factory firmware you downloaded in step 2 above on the root of your sdcard and rename it to PC10IMG.zip one you have done this power off the device and power back on by holding volume down and power. Once in the bootloader it will then scan your sdcard and find the file needed, be patient this can take quite a few minutes. After it finishes scanning you will then have to hit the Volume up key on the side of the phone to restore the software. This will take approximately 5-10 minutes. The phone will reboot in the middle of the update to restore S-ON once rebooted it will then scan sdcard again and resume flashing. Once completed you will have to hit Power to reboot and boot back into the factory restored android os.
Step 3.) -OPTIONAL- Apply OTA Update from T-Mobile
Boot back into android and mount your sdcard once again. You will now delete the PC10IMG.zip file we copied previously. Once you have deleted the file copy the file we downloaded in step 3 above to the root of the sdcard and rename it to “update.zip”. You can now power down your device and power back on holding volume down and power. Once in the bootloader wait 5-10 for it to finish scanning your sdcard and hit volume down and power to select RECOVERY. Once in recovery mode you must now hold volume up and power on your G2. You will now hit volume down and power to select "apply sdcard:update.zip" It will then scan your sdcard verify the update.zip file we placed on the root of the sdcard and proceed to install. You will then have to hit power once more to reboot when indicated on the device. This will now take approximately another 5 minutes and the phone will reboot 2 times automatically do not touch until you are booted automatically back into android.
You are now 100% Back to stock with S-ON, Factory ROM, and Factory Recovery.
Thank you for posting this.
PLS STICKY! and wiki
ten big letters
Finally, an undo method for permaroot.
Just one question: will this wipe my apps and content? I suspect it will; I just want to confirm it.
Yes. It will wipe. Make a back up of your data and restore it after. This can be done via titanium backup
[G2/HTC Vision]
I ran Visionary and everything seem to be working ok until I rebooted my G2. Now When I ran Visionary it says that the phone is already rooted, but when I use terminal emulator or adb to root is says suermission denied. When I try to Flash Stock Rooted PRE-OTA Rom via ClockWorkMod I get this error "An error occurred while attempting to run privileged commands". Also when I try to Restore factory BOOTLOADER, RECOVERY, KERNEL, ROM I do exactly as you said and I'm getting a no image found. I would appreciate any help you could provide.
If all you need is root go to rom manager and click on download rom and under extras download superuser e/f then install the zip this flash the superuser.apk you are missing
Sent from my PC36100 using XDA App
Did as instructed but still getting "error occurred while attempting to run privilege commands".
Superuser.apk is already installed
Sent from my T-Mobile G2 using XDA App
What rom are you currently on stock ota?
Sent from my T-Mobile G2 using XDA App
1.22.531.8 CL277427 release-keys Just recently installed the new OTA that T-mobile sent out a few days ago. Thanks for all your help.
Very useful, thank you.
When I try to restore the bootloader I get a Main Version is Older!
Update Fail!
Press Power to reboot
Crackaf3tt said:
When I try to restore the bootloader I get a Main Version is Older!
Update Fail!
Press Power to reboot
Click to expand...
Click to collapse
I'm getting the same thing... any idea what is going on?
Did you two flash the original rom linked in step 1?
Either way follow the steps here for the fix..
forum.xda-developers.com/showthread.php?t=831398
Yep... flashed the original linked ROM.
I'm following the other directions right now...
Ok that should deffintleyw ork it is failing due the fact it is still reading the stock OTA build number opposed to the original stock build. let me know if you need help.
Yep... worked great.
That forum topic might want to be step A prior to doing anything... the error caused me to have a panic attack...
Code:
Writing BOOT:...
E:Can't find BOOT:
E:Failure at line 344:
write_raw_image PACKAGE:boot.img BOOT:
Installation aborted.
??? What gives?
where are you getting that error? I recommened give you the link i just posted 2 posts above and then flashing PC10IMG.zip and you should be all set.
this was after i tried installing the stock_root.zip
eveything is wiped, so could i just flash the PC10IMG.zip and be done?
im just getting a replacement phone from t-mobile cause of the hinge
Stuck in a bootloop. Here's my story.
Updated to 4.4.2 earlier today.
Tried to root my Nexus 7 later after the update. Here's what I did:
rebooted into bootloader with adb (adb reboot-bootloader)
unlocked the bootloader with fastboot (fastboot oem unlock)
flashed clockworkmod using fastboot (this is the file i downloaded and flashed: -http://download2.clockworkmod.com/recoveries/recovery-clockwork-6.0.4.3-flo.img)
rebooted into recovery
selected "install zip>choose zip from sdcard" (trying to install supersu.zip file that I had loaded onto the internal memory)
Here's where I ran into trouble. After selecting "choose zip" nothing happens, and a message shows up on botton of the screen that says "E: Can't mount /sdcard"
So I can't install anything from clockworkmod.
I rebooted into bootloader, tried to re-flash using fastboot - "device not found"
I tried to reboot the device into android - bootloop animation
I tried wiping data, cache, factory reset, dalvik chache, etc from recovery - still getting bootloop animation
Any ideas?
Ok, I wiped/deleted sdcard data from clockworkmod and I managed to get it to boot.
That's deadly but I still don't have root, which was the point of this in the first place. Anyone know where I went wrong?
Strange. I did pretty much the exact same procedure and it worked for me.
Sent from my Nexus 10 using xda app-developers app
So, I flashed TWRP.
Tried installing SuperSu from there. This worked slightly better than Clockworkmod Recovery, it at least could read the internal storage, and allowed me to select the supersu.zip file. But I get the following error when I try to install it:
E: Unable to open zip file
Error flashing zip 'sdcard/Download/UPDATE-SuperSU-v1.80.zip
Not sure what's happening here.... May have to do with the 4.4.2 update? Maybe I'll try flashing the 4.4.2 factory image and then retrying the above steps.
I also did pretty much the same. I had a new Nexus 7 2013. The very first thing I did was to update to 4.4.2 through OTA before I went to rooting procedures:
Unlock bootloader (data was wiped because of it)
Flash TWRP
Flash superuser.zip file through TWRP
Everything worked fine.
Hi everybody,
I'm a newbie.
I tried to root my phone but just can not flash superu.
I flash TWRP ( 2.5.0.0) via ODIN sucessfully with a green Pass . Reboot phone to recovery and Hit System and TWRP asked me to swipe if i want to root my phone. I did and my phone reboot after some action performed by TWRP.
I checked with root check basic and it said Root access is not properly installed on this device. I tried to run TWRP manager apk. It said to run the apk phone need rooted. So I know the phone has not been rooted.
I did the following to see if I can correct the problem.
1)Reboot to TWRP recovery and flash CWM_Root_Superuser_3.1.3_Busybox zip file. No success.
2) flash another zip: su-3.0.5-efgh-signed. No sucess.
3) flash another zip: Update superU-1.51 : No success.
4) Flash ClockworkMod Touch Recovery 6.0.2.8 then try to run Install zip on SD card but CWTR return with an error "can not mount sd card "
Please help so I can root my phone. Thanks.
__________________________
Solution:
I found a SU file that work at this thread : http://forum.xda-developers.com/gal...ginner-trying-to-root-flash-rom-t989-t2832408
Hello!
I made an OTA update while rooted so I soft bricked my phone lol
I dont have access to a computer for some weeks so I'd like to know how I could flash a stock ROM using an Android tablet (Samsung Galaxy Tab Pro 10.1")
I installed ADB and Fastboot by following this thread http://forum.xda-developers.com/showthread.php?t=2586472&page=1 but I apparently need 1.0.32 version of ADB and I can't find any guide to install it on an Android Device, plus when I use a Fastboot command the terminal emulator sticks on 'Waiting for device'
My Device does appear when I use 'adb devices' but it doesn't when I use 'fastboot devices'
I really need help guys
Thank you very much for reading this
Ok, you can follow this, but i'm not sure if it works:
1. Download the OTA package from Asus.
2. Rename it to mofd_sdupdate.zip.
3. Push that file to the root of your phone internal storage (/sdcard/mofd_sdupdate.zip) not anywhere else.
4. Reboot to recovery, it will flash the update automatically
5. Reboot your phone normally.
6. If it bootloops, try hold the power button to turn it off, then turn it on again.
7. If it still bootloop, wipe /cache in recovery, then reboot
8. If it still bootloop, wipe /data in recovery, then reboot
9. If still bootloop, do step 6
10. If it still loops, I have no idea . Try using a computer.
ELSE, enjoy the new update.
If in 5 min it doesn't show "Android is upgrading" it means that it fell into a bootloop
HungNgocPhat said:
Ok, you can follow this, but i'm not sure if it works:
1. Download the OTA package from Asus.
2. Rename it to mofd_sdupdate.zip.
3. Push that file to the root of your phone internal storage (/sdcard/mofd_sdupdate.zip) not anywhere else.
4. Reboot to recovery, it will flash the update automatically
5. Reboot your phone normally.
6. If it bootloops, try hold the power button to turn it off, then turn it on again.
7. If it still bootloop, wipe /cache in recovery, then reboot
8. If it still bootloop, wipe /data in recovery, then reboot
9. If still bootloop, do step 6
10. If it still loops, I have no idea . Try using a computer.
ELSE, enjoy the new update.
If in 5 min it doesn't show "Android is upgrading" it means that it fell into a bootloop
Click to expand...
Click to collapse
Thank you very much
HungNgocPhat said:
Ok, you can follow this, but i'm not sure if it works:
1. Download the OTA package from Asus.
2. Rename it to mofd_sdupdate.zip.
3. Push that file to the root of your phone internal storage (/sdcard/mofd_sdupdate.zip) not anywhere else.
4. Reboot to recovery, it will flash the update automatically
5. Reboot your phone normally.
6. If it bootloops, try hold the power button to turn it off, then turn it on again.
7. If it still bootloop, wipe /cache in recovery, then reboot
8. If it still bootloop, wipe /data in recovery, then reboot
9. If still bootloop, do step 6
10. If it still loops, I have no idea . Try using a computer.
ELSE, enjoy the new update.
If in 5 min it doesn't show "Android is upgrading" it means that it fell into a bootloop
Click to expand...
Click to collapse
How can I push the file? :/
I fixed the problem!
This is how I did it:
I downloaded last WW OTA Update from Asus site for my phone
I renamed it mofd_sdupdate
I've put it on a SD CARD
I inserted SD CARD in the phone and the update started alone, after it my phone was saved
Today I've installed the stock firmware version of Android Oreo 8.0 (the December Update) with Odin.
After that I've installed the TWRP also with Odin, the 3.2.3 version.
Then I wanted to root the devide so I start with the installation of Magisk (because I need to hide the root form some apps like Netflix), but it keeps failing with the ERROR 1. I've searched in this forum but none of the solutions worked. One solution requires the boot.img of the rom, but I can only get a boot.img.lz4 from the AP md5 file which i have no idea how to use.
Then I tried to install SuperSU (v2.82 SR5 version). I followed a guide but once I finished the flash of RMM State Bypass and SuperSU I rebooted only to be locked out of my phone. A message informed me that the integrity of the phone could not be checked (or something like that) and so I had to re-flash the stock firmware and the recovery with Odin.
Am I missing something? Am I doing something wrong? And where can I find the boot.img from the stock firmare?
I hope somebody can help me because I spent a lot of hours looking for a solution without having a working result...
lolovato said:
Today I've installed the stock firmware version of Android Oreo 8.0 (the December Update) with Odin.
After that I've installed the TWRP also with Odin, the 3.2.3 version.
Then I wanted to root the devide so I start with the installation of Magisk (because I need to hide the root form some apps like Netflix), but it keeps failing with the ERROR 1. I've searched in this forum but none of the solutions worked. One solution requires the boot.img of the rom, but I can only get a boot.img.lz4 from the AP md5 file which i have no idea how to use.
Then I tried to install SuperSU (v2.82 SR5 version). I followed a guide but once I finished the flash of RMM State Bypass and SuperSU I rebooted only to be locked out of my phone. A message informed me that the integrity of the phone could not be checked (or something like that) and so I had to re-flash the stock firmware and the recovery with Odin.
Am I missing something? Am I doing something wrong? And where can I find the boot.img from the stock firmare?
I hope somebody can help me because I spent a lot of hours looking for a solution without having a working result...
Click to expand...
Click to collapse
Try again and redownload magisk.
Also, did you wipe data?
iloveoreos said:
Try again and redownload magisk.
Also, did you wipe data?
Click to expand...
Click to collapse
I tried re-downloading Magisk (the latest and the version before) but nothing changed.
Yes I wiped the data.
I've added that I'm working on a A5 2017 SM-A520F.
lolovato said:
I tried re-downloading Magisk (the latest and the version before) but nothing changed.
Yes I wiped the data.
I've added that I'm working on a A5 2017 SM-A520F.
Click to expand...
Click to collapse
Hmm, did you reinstall stock firmware on it and try again? Error 1 happens when the zip is corrupted. What version of TWRP are you using, 3.2.3-0?
Um, did you flash no-verity 6.0.zip? https://forum.xda-developers.com/sa...velopment/recovery-galaxy-a5-a7-2017-t3815931
iloveoreos said:
Hmm, did you reinstall stock firmware on it and try again? Error 1 happens when the zip is corrupted. What version of TWRP are you using, 3.2.3-0?
Um, did you flash no-verity 6.0.zip? https://forum.xda-developers.com/sa...velopment/recovery-galaxy-a5-a7-2017-t3815931
Click to expand...
Click to collapse
I'm using 3.2.3-1.
I've tried to reflash with Odin the whole stock firmware, then I flashed the TWRP recovery 3.2.3-1 (I redownloaded every file), I entered the recovery and I flashed the no-verity 6.0.zip, only to be once againt cut out from my phone with the same message as yesterday saying that the integrity of the phone could not be checked and that I need to restore the phone.
I really don't understand what is going wrong...
I think I've made it? I don't know what I did differently this time, I'll post the solution here if someone needs it:
0a. MAKE A BACKUP OF YOUR DATA!
0b. Put in your SD-Card the version of Magisk you want to install and the no-verity-opt-encrypt-x.x zip file.
1. Flash the stock firmware with Odin, when the PASS! message appears and the phone starts to reboot unplug the device and quickly re-enter in download mode.
2. Flash the TWRP recovery with Odin, when the PASS! message appears and the phone starts to reboot unplug che devide and quickly enter in recovery mode.
3. In recovery click Wipe and select Format Data. Then go back, click Install and select from the SD-Card the no-verity-opt-encrypt-x.x zip file.
4. Reboot your phone to system, configure the devide (account, ecc.).
5. Turn-off the phone and go in recovery, click Install and select from the SD-Card the Magisk zip.
6. Reboot your phone to system, install Magisk Manager and you're done!
TWRP and no-verity-opt-encrypt zip file: click.
Magisk zip and Magisk Manager: click.
lolovato said:
I think I've made it? I don't know what I did differently this time, I'll post the solution here if someone needs it:
0a. MAKE A BACKUP OF YOUR DATA!
0b. Put in your SD-Card the version of Magisk you want to install and the no-verity-opt-encrypt-x.x zip file.
1. Flash the stock firmware with Odin, when the PASS! message appears and the phone starts to reboot unplug the device and quickly re-enter in download mode.
2. Flash the TWRP recovery with Odin, when the PASS! message appears and the phone starts to reboot unplug che devide and quickly enter in recovery mode.
3. In recovery click Wipe and select Format Data. Then go back, click Install and select from the SD-Card the no-verity-opt-encrypt-x.x zip file.
4. Reboot your phone to system, configure the devide (account, ecc.).
5. Turn-off the phone and go in recovery, click Install and select from the SD-Card the Magisk zip.
6. Reboot your phone to system, install Magisk Manager and you're done!
TWRP and no-verity-opt-encrypt zip file: click.
Magisk zip and Magisk Manager: click.
Click to expand...
Click to collapse
That is how you are supposed to do it.