Failed to root phone correctly and accidentally wiped everything. Please help! - Moto G5 Plus Questions & Answers

I tried to root my phone using Moto G5 Plus toolkit. I failed to root it properly and I forgot to back up my system before attempting to root it. I failed to root it properly and Instead of having Motorola on my phone I have Team Win Recovery Project. I also keep getting a messages saying " Your device has been unlocked and can't be trusted ID:N/A will boot in 5 seconds." I don't know what to do. I believe I have wiped my whole phone. Is there a way to repair it? Can I fix it by reinstalling the factory stock firmware and drivers. I am try to solve this problem and fix the phone. My phone is a XT1687 Moto G5 Plus. I do not know where to get the stock or factory default software for the phone or how to reinstall it. Nor do I know how to remove the Team win Recovery project from my phone. Can someone help me. If you are able to can you tell me how to fix my phone.

You did it right you installed the twrp( team win recovery project) recovery. now download a rom on your memory card , wipe all data through recovery and install the rom through recovery.

ugupta100 said:
You did it right you installed the twrp( team win recovery project) recovery. now download a rom on your memory card , wipe all data through recovery and install the rom through recovery.
Click to expand...
Click to collapse
I downloaded a rom from android file host and placed the zip file on a micro sd card but I do not know how to install it. I have never used twrp before so I do not know what to do. I also would like to remove twrp if possible. Can you please assist me.

LeoG360 said:
I downloaded a rom from android file host and placed the zip file on a micro sd card but I do not know how to install it. I have never used twrp before so I do not know what to do. I also would like to remove twrp if possible. Can you please assist me.
Click to expand...
Click to collapse
Twrp is a custom recovery for custom roms. Removing it is not so easy process. Twrp recovery is better than stock recovery.
Now in twrp wipe your internal storage cache and data, don't wipe your external sd card. After wiping go to install in twrp select the rom you downloaded and then flash it.
---------- Post added at 11:54 PM ---------- Previous post was at 11:51 PM ----------
You can see the wipe and install options adjacent to each other.

ugupta100 said:
Twrp is a custom recovery for custom roms. Removing it is not so easy process. Twrp recovery is better than stock recovery.
Now in twrp wipe your internal storage cache and data, don't wipe your external sd card. After wiping go to install in twrp select the rom you downloaded and then flash it.
---------- Post added at 11:54 PM ---------- Previous post was at 11:51 PM ----------
You can see the wipe and install options adjacent to each other.
Click to expand...
Click to collapse
With your help I have managed to fix my phone and re-install the stock rom. However there is one problem which I hope you can help me with. Every time I turn off my phone and power it on again I get a message the says "Your phone is unlocked but can't be trusted. ID: bad key. Your device will boot in 5 seconds."
Can you help me fix this problem.

LeoG360 said:
With your help I have managed to fix my phone and re-install the stock rom. However there is one problem which I hope you can help me with. Every time I turn off my phone and power it on again I get a message the says "Your phone is unlocked but can't be trusted. ID: bad key. Your device will boot in 5 seconds."
Can you help me fix this problem.
Click to expand...
Click to collapse
Just flash a different bootlogo and you'll be good to go

psychopac said:
Just flash a different bootlogo and you'll be good to go
Click to expand...
Click to collapse
You have to flash a boot logo from adb. Search for g5 plus boot logo on xda

ugupta100 said:
You have to flash a boot logo from adb. Search for g5 plus boot logo on xda
Click to expand...
Click to collapse
I'm not sure if I am able to flash a boot logo. I can't turn on or off the OEM Unlocking option in the developers settings. Without OEM Unlocking I can't unlock the boot loader.
The OEM Unlocking option is completely grayed out. It appears to be locked. I can't tell if it is on or off. It might be locked in on mode.

LeoG360 said:
I'm not sure if I am able to flash a boot logo. I can't turn on or off the OEM Unlocking option in the developers settings. Without OEM Unlocking I can't unlock the boot loader.
The OEM Unlocking option is completely grayed out. It appears to be locked. I can't tell if it is on or off. It might be locked in on mode.
Click to expand...
Click to collapse
I think your bootloader is unlocked. Reboot to bootloader it will show if your bootloader is locked or not. If it is not then flash the bootlogo

Related

Screwed up flashing 4.2.2

Last night I flashed a 4.2.2 zip file from one of the threads. I was rooted with TWRP only. I wiped dalvik cache and the file installed fine, then rebooted. On my home screen where the power control widget was it now says "Select a VPN profile to always remain connected to. Network traffic will only be allowed when connected". I thought WTF, so I tried to go into settings and I keep getting a FC. If I cant get into settings to enable usb debugging then I cant flash a stock image and start over. When I try to get into stock recovery I get an android guy with a red triangle and when I try to get into bootloader mode manually the screen just briefly flashes and thats its, nothing else. I think I've tried everything here....
if you made a mistake just get the old 4.2.1 rom from the official google nexus rom site and reflash; then reapply the OTA.
you don't need debugging to re-flash official roms you just need to be in fast boot.
also android guy with red triangle IS the stock recovery you need to press power then vol up to get the options.
noobdeagle said:
if you made a mistake just get the old 4.2.1 rom from the official google nexus rom site and reflash; then reapply the OTA.
you don't need debugging to re-flash official roms you just need to be in fast boot.
also android guy with red triangle IS the stock recovery you need to press power then vol up to get the options.
Click to expand...
Click to collapse
Would you mind elaboratting on how I can flash official roms in fast boot?
Bronk93 said:
Would you mind elaboratting on how I can flash official roms in fast boot?
Click to expand...
Click to collapse
Well, I used this quide. But i was fully stock.. so dont know if its somehow different in your case.
DuudX said:
Well, I used this quide. But i was fully stock.. so dont know about the differences.
Click to expand...
Click to collapse
Yeah, that guide wont work for me because I can't enable USB debugging on my device.
Bronk93 said:
Last night I flashed a 4.2.2 zip file from one of the threads. I was rooted with TWRP only. I wiped dalvik cache and the file installed fine, then rebooted. On my home screen where the power control widget was it now says "Select a VPN profile to always remain connected to. Network traffic will only be allowed when connected". I thought WTF, so I tried to go into settings and I keep getting a FC. If I cant get into settings to enable usb debugging then I cant flash a stock image and start over. When I try to get into stock recovery I get an android guy with a red triangle and when I try to get into bootloader mode manually the screen just briefly flashes and thats its, nothing else. I think I've tried everything here....
Click to expand...
Click to collapse
You don't wipe anything when installing an update just flash the zip file in recovery and let it do its thing. Wiping the dalvik cache is probably what caused your problems.
Her's the thread for flashing a factory image. This will wipe your phone of all data and restore it to factory settings.
http://forum.xda-developers.com/showthread.php?t=2010312
kzoodroid said:
You don't wipe anything when installing an update just flash the zip file in recovery and let it do its thing. Wiping the dalvik cache is probably what caused your problems.
Her's the thread for flashing a factory image. This will wipe your phone of all data and restore it to factory settings.
http://forum.xda-developers.com/showthread.php?t=2010312
Click to expand...
Click to collapse
I can't follow that guide because I have no way of enabling USB debugging because everytime I go to settings I get a FC.
You don't need usb debugging. That is an unnecessary step in that guide. You just need to get into recovery from the boot loader, and pick the sideload from adb option and go from there. Granted, this is all with the stock recovery so who knows with the one you have.
Sent from my Nexus 4 using xda premium
---------- Post added at 08:39 AM ---------- Previous post was at 08:34 AM ----------
Yes you can. The guide flat out says enabling debugging is "not required"
Sent from my Nexus 4 using xda premium
Bronk93 said:
I can't follow that guide because I have no way of enabling USB debugging because everytime I go to settings I get a FC.
Click to expand...
Click to collapse
USB debugging isn't required for fastboot. The guide I linked to will flash a factory image putting your phone back into the state it was when you first received it, start with Step C or just go to Step D and see if fastboot recognizes your phone (boot into fastboot, power + volume down and then plug your phone into the pc, then open a command window and type fastboot devices).
Yes you can click the build number in settings 5 times
Sent from my Nexus 4 using xda app-developers app
OK, I was able to send the factoy image occam-jop40d-factory-ca7602f0.tar to the phone however after verifying update package it says installation aborted
Bronk93 said:
OK, I was able to send the factoy image occam-jop40d-factory-ca7602f0.tar to the phone however after verifying update package it says installation aborted
Click to expand...
Click to collapse
I think you're getting that because you already have the update installed even though it was a borked installation it won't install again as it does a version check first. Did you have any nandroid backups made of the old version? First option would be to try and get back into TWRP and restore a backup. If you replaced TWRP with the stock recovery when you updated which happens by default you should be able to flash a custom recovery image in fastboot. By teh way CWM asked if I wanted to keep the custom recovery and root before the rebooting the phone to finish installing the update.
kzoodroid said:
I think you're getting that because you already have the update installed even though it was a borked installation it won't install again as it does a version check first.
Click to expand...
Click to collapse
Im trying to install the factory 4.2.1 image not the 4.2.2 update, any ideas?
Bronk93 said:
Im trying to install the factory 4.2.1 image not the 4.2.2 update, any ideas?
Click to expand...
Click to collapse
I edited my post above to included trying to restore a backup. Do you have any nandroid backups you made in TWRP? Also teh factory image doesn't flash like a zip file.
---------- Post added at 10:28 AM ---------- Previous post was at 10:24 AM ----------
The factory image goes into your tools-platform folder, teh same folder fastboot is in, on the pc and is flashed from fastboot not from the phone. I think that's your problem
https://developers.google.com/android/nexus/images#occamjop40d
Bronk93 said:
Yeah, that guide wont work for me because I can't enable USB debugging on my device.
Click to expand...
Click to collapse
You don't need USB Debugging to be enabled IN ANDROID to use ADB or Fastboot in RECOVERY or Fastboot.
Sent from my Nexus 4 using Tapatalk 2
I was able to fix it, thanks for everyone to helped me out.

OS wiped accidentally from TWRP recovery

I accidentally wiped the OS from advanced wipe option. How do I get my phone to work again. I tried to operate adb sideload from recovery but it failed. I have downloaded the stock rom but I do not know how to install it.
Please help.
Thanks.
Kalaxy said:
I accidentally wiped the OS from advanced wipe option. How do I get my phone to work again. I tried to operate adb sideload from recovery but it failed. I have downloaded the stock rom but I do not know how to install it.
Please help.
Thanks.
Click to expand...
Click to collapse
Just flash it from custom recovery, so download it into ur phone go to recovery and simply flash it and all should be good.
Sent from my Nexus 6P using Tapatalk
Exiwolfman said:
Just flash it from custom recovery, so download it into ur phone go to recovery and simply flash it and all should be good.
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
How do I download it to my phone if I cannot boot into it. Is there any way I can copy a zip file (rom) onto the phone's internal memory.?
Your phone should boot into recovery, so as long as it goes on and boots all u do u is use ur pc to move file over and flash it...
Sent from my Nexus 6P using Tapatalk
Kalaxy said:
How do I download it to my phone if I cannot boot into it. Is there any way I can copy a zip file (rom) onto the phone's internal memory.?
Click to expand...
Click to collapse
Boot into bootloader (hold power and system on), flash the though recovery through adb, mount your .zip,, flash your .zip through recovery. Sorry if that doesn't make sense, I've been drinking with the roommates, lol.
Edit: if that doesn't work, send me an IM and I will help you in the morning
Sent from my Huawei Nexus 6P using XDA Labs
Which state is your phone in right now? Is it bootlooping or in recovery?
Sent from my HTC 10 using Tapatalk
The same thing happened to me also! The whole /data (incl. sdcard) partition went corrupt (showed up in TWRP as eemc instead of ext4) & the /vendor failed to mount.
First I had to repair the /data partition (unfortunately the data was lost, as it repaired to a blank partition). I ended up having to go home (was at work at the time) & hook the phone up to the PC & download the ROM & transfer it onto the sdcard. I'm not entirely sure why/how this happened, but I believe it was because a corrupt vendor IMG. Although that theory doesnt include why the /data partition corrupted, it only explains why the /vendor partition failed to mount.
Fastboot flash system system.img
?
removed
I have the same issue. The problem is, that my computer will not recognize the phone in bootloader mode or in recovery mode(MTP enabled). How can install usb drivers without being able to boot into phone OS???? I've tried Nexus Toolkit with no success. Please help?
Have a look here how to load in bootloader, flash, etc.
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
So I did the same thing. I'm sitting in TWRP right now but have nothing on the phone. Will I be able to reboot from TWRP into the bootloader and just use the flash-all command to get my phone to boot back up, then just go through the process of custom recovery again?
Basically I'm worried about leaving twrp without an OS. I didn't wipe bootloader did I? Also, I tried to download a ROM and just drag it to internal memory, but I can't seem to add anything to the internal memory.
dbroer91884 said:
So I did the same thing. I'm sitting in TWRP right now but have nothing on the phone. Will I be able to reboot from TWRP into the bootloader and just use the flash-all command to get my phone to boot back up, then just go through the process of custom recovery again?
Basically I'm worried about leaving twrp without an OS. I didn't wipe bootloader did I? Also, I tried to download a ROM and just drag it to internal memory, but I can't seem to add anything to the internal memory.
Click to expand...
Click to collapse
Hi... Just boot into recovery and reflash system.img from the factory image of your choice in bootloader with fastboot. Also flash the vendor image from the same factory image. Done...
Or reflash the whole package with flash all (manually is better imho). But you'll waisted time... Let your phone reboot into Android and you'll have your internal storage back.
5.1 said:
Hi... Just boot into recovery and reflash system.img from the factory image of your choice in bootloader with fastboot. Also flash the vendor image from the same factory image. Done...
Or reflash the whole package with flash all (manually is better imho). But you'll waisted time... Let your phone reboot into Android and you'll have your internal storage back.
Click to expand...
Click to collapse
Thats what I thought. JUst wanted to make sure I could get into bootloader still
dbroer91884 said:
So I did the same thing. I'm sitting in TWRP right now but have nothing on the phone. Will I be able to reboot from TWRP into the bootloader and just use the flash-all command to get my phone to boot back up, then just go through the process of custom recovery again?
Basically I'm worried about leaving twrp without an OS. I didn't wipe bootloader did I? Also, I tried to download a ROM and just drag it to internal memory, but I can't seem to add anything to the internal memory.
Click to expand...
Click to collapse
Yes TWRP has a reboot to bootloader option available. So you can access fastboot via bootloader to flash the necessary images. Just don't forget to re flash TWRP image again in case the stock recovery image was flashed beforehand.
The odd thing was that I did choose that option to boot to bootloader in twrp and it didn't work. I ended up having to reboot to bootloader manually. Not a big deal. All is working now, but thought that was interesting.
Kalaxy said:
I accidentally wiped the OS from advanced wipe option. How do I get my phone to work again. I tried to operate adb sideload from recovery but it failed. I have downloaded the stock rom but I do not know how to install it.
Click to expand...
Click to collapse
Exactly which partitions did you wipe? system? data? Internal Storage (userdata)? all of the above? Hopefully you did not wipe userdata (all your stuff). Were you on a stock ROM? You should be able to d/l the Google image from the same build you were on, extract system and data and fastboot flash those. Don't flash userdata. All your stuff should be there. Follow the tutorial on how to set up fastboot and selectively flash partitions.
---------- Post added at 06:49 AM ---------- Previous post was at 06:44 AM ----------
This thread got hijacked at least 3 times. Let's hope OP can find his way back.
pocholo36 said:
I have the same issue. The problem is, that my computer will not recognize the phone in bootloader mode or in recovery mode(MTP enabled). How can install usb drivers without being able to boot into phone OS???? I've tried Nexus Toolkit with no success. Please help?
Click to expand...
Click to collapse
Try this Hope you get solution to your problem of installing adb and fastboot tools in the correct manner.
I just by mistake deleted my internal storage.
I have TWRP, how do i put the ROM on there and flash it? Someone please help.
Thanks

Mi Note 2 bricked! Request for solution

Dear all,
I stupidly bricked my Mi Note 2 by doing OTA with TWRP installed (at least I think that is the reason) - although I have done this once with success, but at the second time, the phone won't boot anymore.
- In TWRP, it says that the internal storage is encrypted and prompts me for code
- In TWRP the storage cannot be mounted (none of the partitions can be mounted)
- Tried to flash stock ROM or stock recovery in fastboot mode, seems like the internal storage cannot be accessed either
- With Mi Assistant, still no lock
It seems that the internal storage is totally corrupted...
What can I do without going to service (luckily I'm in China right now...)? Perhaps ADB sideload stock ROM would work?
Thanks!
Delete data partition an try reboot
Can't. Got some error message - see attached.
Sense like that the internal storage can't be found at all...
Also tried to side load DEV rom via adb, but got the attached error.
No clue how to proceed...
1. Format your data partition, and then reboot TWRP. This will decrypt your phone.
2.After entering TWRP, wipe all partition and then reboot TWRP
3.Copy your ROM file into your phone, and then flash ROM
Kris Chen said:
1. Format your data partition, and then reboot TWRP. This will decrypt your phone.
2.After entering TWRP, wipe all partition and then reboot TWRP
3.Copy your ROM file into your phone, and then flash ROM
Click to expand...
Click to collapse
Hi, I have assumed this as well, however didn't figure out a way to format the data partition. In my previous screenshot I showed the error ("unable to mount" or "no such device") when trying to delete the data partition.
Do you have a more detailed instruction?
Thanks!
Here you are.
See that "Format Data" ?
CrisperNeO said:
Hi, I have assumed this as well, however didn't figure out a way to format the data partition. In my previous screenshot I showed the error ("unable to mount" or "no such device") when trying to delete the data partition.
Do you have a more detailed instruction?
Thanks!
Click to expand...
Click to collapse
Kris Chen said:
Here you are.
See that "Format Data" ?
Click to expand...
Click to collapse
That's exactly what I have done... However: "unable to mound" or "no such device", it did not work
Which one of TWRP version do you use now ?
---------- Post added at 09:51 PM ---------- Previous post was at 09:46 PM ----------
https://mega.nz/#!NBwyjKrK!XELWAAwehtKnXgXOge_y16kEP0Uqscv_5LVx-YqTzcc
I use this version !
Kris Chen said:
Which one of TWRP version do you use now ?
---------- Post added at 09:51 PM ---------- Previous post was at 09:46 PM ----------
https://mega.nz/#!NBwyjKrK!XELWAAwehtKnXgXOge_y16kEP0Uqscv_5LVx-YqTzcc
I use this version !
Click to expand...
Click to collapse
3.0.2-X by BY~XM
Do you want to switch mostly updated one and try again?
Sometime it may come from outdated version of TWRP.
CrisperNeO said:
3.0.2-X by BY~XM
Click to expand...
Click to collapse
Kris Chen said:
Do you want to switch mostly updated one and try again?
Sometime it may come from outdated version of TWRP.
Click to expand...
Click to collapse
Actually I cannot flash any recovery now: FAILED (remote: flash write failure)
Download fastboot rom and flash it with miflash tool.
Can you enter fastboot mode ? If yes, then you can do (1)as dtsun said that; (2)flash the new version of TWRP(fastboot flash recovery xxxx.img ===> "XXXX.img" means the whole file name of TWRP image file), rebooting to TWRP again and then flash your recovery ROM.
dtosun said:
Download fastboot rom and flash it with miflash tool.
Click to expand...
Click to collapse
tried and also no luck, internal storage seems like not accessible
Kris Chen said:
Can you enter fastboot mode ? If yes, then you can do (1)as dtsun said that; (2)flash the new version of TWRP(fastboot flash recovery xxxx.img ===> "XXXX.img" means the whole file name of TWRP image file), rebooting to TWRP again and then flash your recovery ROM.
Click to expand...
Click to collapse
I can enter fastboot, but like said before, cannot flash any recovery
Sorry for that. It's indeed that you have bricked your phone
Now you need to find local mobile store to repair it, or prepare for another phone - Mi 6 ~
dtosun said:
Download fastboot rom and flash it with miflash tool.
Click to expand...
Click to collapse
Do this.
What error are you getting when trying to flash MIUI fastboot rom?
I have had this problem before on my redmi note 3, although the cause was from flashing TWRP not OTA.
I tried everything I could think of to try fix it, in the end flashing fastboot rom and clean all and lock with mi flash tool was the only way.
You'll need to use mi unlock to unlock the phone again but that is easy if you have done it before.
Did you use official way to unlock bootloader?
Reply to all above:
I unlocked the phone in the official way;
Miflash didn't work, because the internal storage is not accessible.
So lessons learned: never do OTA update if you have a custom recovery installed.
But:
Latest report:
Sent back to Xiaomi (luckily I'm in China right now) and Xiaomi was awesome, the engineer replaced the main board and it costed me nothing...

Probably soft bricked my OP5, is this fixable?

Dear XDA,
I screwed up... I think my device is now soft bricked.... :crying:
It all started good on a sunny saturday. I thought this was a good day to try another custom rom. Namely Codename Phoenix.
My device was already rooted so i started with upgrading my TWRP to the latest Blu_Spark TWRP 3.2.1. After flashing the recovery i continued with the ROM. It all went downhill from there....
The install finished and i booted my device. Knowing this could take a while i got into the shower thinking it would finish when i got back. But when i got back it was still booting. Knowing the first boot can take a while so I let it be. After an hour or so it was still stuck on the google logo and the weather and my mood changed for the worse.
I figured something in the process went wrong and tried to boot into recovery. That worked so I thought 'Cool, let's fix it there'. But the recovery was encrypted so i couldn't get to my data. Normally you put in your pincode and it decrypts your phone. This was not the case.... I couldn't put in my pincode so decrypting was out of the question.
Luckily ADB was still working so I downloaded the original Oxygen OS rom and tried to side-load it... This got stuck on 47% for no reason at all. Phone had 100% battery and didn't time-out..
I was really confused, but I let the device do it's thing and maybe things would work out... I was wrong. Everything was worse. Because i tried installing the original firmware it removed the custom recovery....
So now i have a device with no OS and I can't get into recovery. Luckily there is a unbrick tool for OnePlus 5. Following those steps i got stuck on the part that it does not show in my device-manager.
Currently i'm really grumpy and have no idea how to fix this.
I humbly ask for advice. Is this solvable or do i have a wasted OnePlus 5?
Thanks in advance,
Lennard
can you reboot to bootloader?
if yes, you can flash original or custom recovery...
---------- Post added at 09:39 AM ---------- Previous post was at 09:38 AM ----------
[/COLOR]
len.asdf said:
Dear XDA,
I screwed up... I think my device is now soft bricked.... :crying:
It all started good on a sunny saturday. I thought this was a good day to try another custom rom. Namely Codename Phoenix.
My device was already rooted so i started with upgrading my TWRP to the latest Blu_Spark TWRP 3.2.1. After flashing the recovery i continued with the ROM. It all went downhill from there....
The install finished and i booted my device. Knowing this could take a while i got into the shower thinking it would finish when i got back. But when i got back it was still booting. Knowing the first boot can take a while so I let it be. After an hour or so it was still stuck on the google logo and the weather and my mood changed for the worse.
I figured something in the process went wrong and tried to boot into recovery. That worked so I thought 'Cool, let's fix it there'. But the recovery was encrypted so i couldn't get to my data. Normally you put in your pincode and it decrypts your phone. This was not the case.... I couldn't put in my pincode so decrypting was out of the question.
Luckily ADB was still working so I downloaded the original Oxygen OS rom and tried to side-load it... This got stuck on 47% for no reason at all. Phone had 100% battery and didn't time-out..
I was really confused, but I let the device do it's thing and maybe things would work out... I was wrong. Everything was worse. Because i tried installing the original firmware it removed the custom recovery....
So now i have a device with no OS and I can't get into recovery. Luckily there is a unbrick tool for OnePlus 5. Following those steps i got stuck on the part that it does not show in my device-manager.
Currently i'm really grumpy and have no idea how to fix this.
I humbly ask for advice. Is this solvable or do i have a wasted OnePlus 5?
Thanks in advance,
Lennard
Click to expand...
Click to collapse
Don't worry! Your device is safe. At most, you'll be required to wipe your data.
Try using the official twrp recovery here:
https://twrp.me/oneplus/oneplus5.html
If this doesn't work, let me know.
canteo said:
can you reboot to bootloader?
if yes, you can flash original or custom recovery...
Click to expand...
Click to collapse
I can go into fastboot and managed to install TWRP with the comment below!
Zohair.ul.hasan said:
---------- Post added at 09:39 AM ---------- Previous post was at 09:38 AM ----------
[/COLOR]
Don't worry! Your device is safe. At most, you'll be required to wipe your data.
Try using the official twrp recovery here:
https://twrp.me/oneplus/oneplus5.html
If this doesn't work, let me know.
Click to expand...
Click to collapse
Thanks for these words! That's a big relieve
With your link I managed to install TWRP through fastboot. So now i have a custom recovery. The current problem is that my data is encrypted and I cannot decrypt it. There is no option to fill in a password since there is no OS that requires a password. So it's sort of a neverending cycle . Although fastboot, recovery and sideload should work now.
The thing is, previously I tried installing the original firmware and that failed at 47%. So i'm not sure what to do now.
I tried installing 'codeworkx universal twrp 3.2.1-0 recovery' since he seems to have fixed the encrypt issue. But when I tried sideloading the file it says "Zip file is corrupt!". So no succes there yet.
To be precise, this is the threat for Codeworkx Universal TWRP : https://forum.xda-developers.com/on...overy-twrp-3-2-1-0-oreo-oxygenos-5-0-t3725723
And i downloaded and tried installing: twrp-3.2.1-0-universal-codeworkx-cheeseburger.img
I was thinking about downloading the latest Codename Phoenix ROM, but when I try to download the latest release the file is name "Codename-Phoenix-NOS-8.1-oneplus5t-20180303.zip". That implies it's only for the 5t and not for the 5. So that could be my original problem? That i downloaded the wrong ROM?
That aside.
Should I try to get the download link for CNP and download the latest release for the OP5 and install that.
Or
Should i try to install the original firmware. Reset everything and start over from the beginning (unlocking, rooting, etc..)
Thanks again for all the help
len.asdf said:
I can go into fastboot and managed to install TWRP with the comment below!
Thanks for these words! That's a big relieve
With your link I managed to install TWRP through fastboot. So now i have a custom recovery. The current problem is that my data is encrypted and I cannot decrypt it. There is no option to fill in a password since there is no OS that requires a password. So it's sort of a neverending cycle . Although fastboot, recovery and sideload should work now.
The thing is, previously I tried installing the original firmware and that failed at 47%. So i'm not sure what to do now.
I tried installing 'codeworkx universal twrp 3.2.1-0 recovery' since he seems to have fixed the encrypt issue. But when I tried sideloading the file it says "Zip file is corrupt!". So no succes there yet.
To be precise, this is the threat for Codeworkx Universal TWRP : https://forum.xda-developers.com/on...overy-twrp-3-2-1-0-oreo-oxygenos-5-0-t3725723
And i downloaded and tried installing: twrp-3.2.1-0-universal-codeworkx-cheeseburger.img
I was thinking about downloading the latest Codename Phoenix ROM, but when I try to download the latest release the file is name "Codename-Phoenix-NOS-8.1-oneplus5t-20180303.zip". That implies it's only for the 5t and not for the 5. So that could be my original problem? That i downloaded the wrong ROM?
That aside.
Should I try to get the download link for CNP and download the latest release for the OP5 and install that.
Or
Should i try to install the original firmware. Reset everything and start over from the beginning (unlocking, rooting, etc..)
Thanks again for all the help
Click to expand...
Click to collapse
Nice to hear that!
To be clear, does the TWRP decrypt you data? When you click install in TWRP, is it a bunch of randomly named files?
I think you should go ahead with installing CNP, you shouldn't have any problems with it now that you've got the correct version.
Good luck!
Zohair.ul.hasan said:
Nice to hear that!
To be clear, does the TWRP decrypt you data? When you click install in TWRP, is it a bunch of randomly named files?
I think you should go ahead with installing CNP, you shouldn't have any problems with it now that you've got the correct version.
Good luck!
Click to expand...
Click to collapse
Yeah it's a bunch of random file names. Like "2TAjnCI8CpHDL38Oh684DuTSgaO".
Alright, i'll let you know if I succeed. Thanks for the help
len.asdf said:
Yeah it's a bunch of random file names. Like "2TAjnCI8CpHDL38Oh684DuTSgaO".
Alright, i'll let you know if I succeed. Thanks for the help
Click to expand...
Click to collapse
Wait! Staying encrypted is a bunch of trouble. I recommend u to follow these steps:
Go to recovery
Select wipe
Select advanced wipe
Clear dalvik and cache
Go back
Select wipe
Click "Format Data"
Type in yes
Go back
Select wipe
Swipe to factory reset
Reboot recovery
Transfer the ROM from PC to phone
Install it
Zohair.ul.hasan said:
Wait! Staying encrypted is a bunch of trouble. I recommend u to follow these steps:
Go to recovery
Select wipe
Select advanced wipe
Clear dalvik and cache
Go back
Select wipe
Click "Format Data"
Type in yes
Go back
Select wipe
Swipe to factory reset
Reboot recovery
Transfer the ROM from PC to phone
Install it
Click to expand...
Click to collapse
Haha thanks! Just in time. Was still downloading the latest CNP .
Whew! Update me after flashing.
Zohair.ul.hasan said:
Whew! Update me after flashing.
Click to expand...
Click to collapse
Hmm, the installation should be a succes. But when i tried to reboot and start up the OS / System it just reboots into TWRP.... ? It's sort of boot looping into recovery.
I tried installing a couple of times with and without wiping dalvik/cache/system.
Could the install file not be complete?
On a side note, my data is not encrypted
len.asdf said:
Hmm, the installation should be a succes. But when i tried to reboot and start up the OS / System it just reboots into TWRP.... ? It's sort of boot looping into recovery.
I tried installing a couple of times with and without wiping dalvik/cache/system.
Could the install file not be complete?
On a side note, my data is not encrypted
Click to expand...
Click to collapse
Did you factory reset by going into wipe>swipe to factory reset?
If not then do that and flash it
Zohair.ul.hasan said:
Did you factory reset by going into wipe>swipe to factory reset?
If not then do that and flash it
Click to expand...
Click to collapse
YES! It work. Many thanks
len.asdf said:
YES! It work. Many thanks
Click to expand...
Click to collapse
Congrats! Please like my replies if you don't mind
Zohair.ul.hasan said:
Congrats! Please like my replies if you don't mind
Click to expand...
Click to collapse
But of course! Already did that. But i'm not sure if it shows or not. Tried clicking multiple times on the thanks button but it doesn't highlight. It should do that right?
len.asdf said:
But of course! Already did that. But i'm not sure if it shows or not. Tried clicking multiple times on the thanks button but it doesn't highlight. It should do that right?
Click to expand...
Click to collapse
Yes it should but that's okay
Zohair.ul.hasan said:
Yes it should but that's okay
Click to expand...
Click to collapse
installed the xda app and there I could give you a 'thanks'

SM-J510FN Dual Sim Stuck in TWRP recovery mode

Can anyone help, I rooted my phone last year and installed TWRP as part of the process, I did a backup at the time which I have on my SD card
the phone is stuck in the TWRP recovery mode, I can restore from my backup and it goes through fine but then goes back into recovery mode.
This all started when I tried to reset the phone back to factory defaults. I guess I wiped everything. Has anyone got any ideas how to get out of this.
I am not too familiar with TWRP, if anyone could point me in the right direction with a simple step by step guide it would be most appreciated.
RMEROY said:
Can anyone help, I rooted my phone last year and installed TWRP as part of the process, I did a backup at the time which I have on my SD card
the phone is stuck in the TWRP recovery mode, I can restore from my backup and it goes through fine but then goes back into recovery mode.
This all started when I tried to reset the phone back to factory defaults. I guess I wiped everything. Has anyone got any ideas how to get out of this.
I am not too familiar with TWRP, if anyone could point me in the right direction with a simple step by step guide it would be most appreciated.
Click to expand...
Click to collapse
Download a rom
Put it on your sd card
Put a sd card inside your phone
Then flash your rom
SM-J510FN
amirizad_7436 said:
Download a rom
Put it on your sd card
Put a sd card inside your phone
Then flash your rom
Click to expand...
Click to collapse
I did try that, I found a ROM j510fnxxs2aq14_j510fndbt2aq14_dbt.zip with size of 1,379,794Kb
when I tried to install it I get a failure could not find META-INF/com/google/android/update-binary in the zip file
Error installing zip file /external_sd/j510fnxxs2aq14_j510fndbt2aq14_dbt.zip
Which is why I asked for a bit more detailed advice on my problem. If you could point me in the direction of a suitable
ROM for my device which will work I would appreciate it.
RMEROY said:
I did try that, I found a ROM j510fnxxs2aq14_j510fndbt2aq14_dbt.zip with size of 1,379,794Kb
when I tried to install it I get a failure could not find META-INF/com/google/android/update-binary in the zip file
Error installing zip file /external_sd/j510fnxxs2aq14_j510fndbt2aq14_dbt.zip
Which is why I asked for a bit more detailed advice on my problem. If you could point me in the direction of a suitable
ROM for my device which will work I would appreciate it.
Click to expand...
Click to collapse
Was it stock rom??!!
You should install custom rom man first
amirizad_7436 said:
Was it stock rom??!!
You should install custom rom man first
Click to expand...
Click to collapse
I have tried several custom roms non of which work. What I don't understand is why when I restore from my one and only backup
it all goes through ok the size is 6036MB it reports restoring 7 partitions
then restoring boot then restoring data, at the end of it I get restore ok then it goes back to the TWRP recovery screen.
RMEROY said:
I have tried several custom roms non of which work. What I don't understand is why when I restore from my one and only backup
it all goes through ok the size is 6036MB it reports restoring 7 partitions
then restoring boot then restoring data, at the end of it I get restore ok then it goes back to the TWRP recovery screen.
Click to expand...
Click to collapse
Is your stock rom android 5 by any chance?
I don't know what my stock rom is, I can't access anything on my phone apart from the TWRP recovery screen
I do have another SM-J510FN which was bought at the same time which hasn't been rooted running Android 7.1.1
I don't know if that would help to determine what the stock rom is.
RMEROY said:
I don't know what my stock rom is, I can't access anything on my phone apart from the TWRP recovery screen
I do have another SM-J510FN which was bought at the same time which hasn't been rooted running Android 7.1.1
I don't know if that would help to determine what the stock rom is.
Click to expand...
Click to collapse
Sorry I misread the thread I thought it was 2015 model.
So what exactly did you do? Step by step.
Did you wipe anything in twrp?
RMEROY said:
I don't know what my stock rom is, I can't access anything on my phone apart from the TWRP recovery screen
I do have another SM-J510FN which was bought at the same time which hasn't been rooted running Android 7.1.1
I don't know if that would help to determine what the stock rom is.
Click to expand...
Click to collapse
I went into the TWRP recovery mode then to Wipe hoping to do a factory reset, that went through ok and came back into the TWRP recovery mode
I then tried Advanced wipe and ticked all the boxes except micro SD card. Nothing could get me out of the recovery mode so then I tried a restore from
an old backup and that seemed to go through ok, but it still came back to the recovery mode.
If it was me, I would remove the back cover and via TWRP menu turn off phone.
As soon as the screen goes black, remove battery.
Insert battery and power on and see what happens.
Have you tried that? Or how do you turn it off?
Tab_Triggerhappy said:
If it was me, I would remove the back cover and via TWRP menu turn off phone.
As soon as the screen goes black, remove battery.
Insert battery and power on and see what happens.
Have you tried that? Or how do you turn it off?
Click to expand...
Click to collapse
Many times
Okay... when screen goes black have you tried to quickly start pressing the key combination to enter download mode?
For my J500 it's Volume down + Home key + Power (keep pressing until download screen appears) should be same for J510.
If you can enter download you have the option to use Odin and flash either a stock ROM or a newer Recovery.
If you want, you could:
Advance wipe, everything except SD card and OTG Usb. (How much was backed up? Did you tick all boxes?)
Format Data
Restore backup from SD card again
Advance wipe, tick only 2 boxes, Dalvik + Cache
Restart
Report back
Oh, and just to clarify... when you manually go to Restart in TWRP, no matter what option you choose, the phone restarts into TWRP again?
Bare with me, I'm trying to understand and help.
Thats the problem, I can't get out of the TWRP recovery mode so am not able to use Odin, I presume when I did my original backup
I didn't tick all the boxes because it goes through a recovery with no problem I presume the boot sector is missing.
From the TWRP recovery mode I am able to go to install and select a previously downloaded file but then it fails.
I have searched for a suitable ROM to download but am struggling to find one for my phone
Ok, what TWRP version do you have?
Tab_Triggerhappy said:
Ok, what TWRP version do you have?
Click to expand...
Click to collapse
3.0.2-0
RMEROY said:
3.0.2-0
Click to expand...
Click to collapse
You can update your TWRP with a newer version from here:
https://twrp.me/samsung/j5xnlte.html
(Carefully check that I linked to your model!)
.img is what you want to put in your phone. BUT... I haven't done this myself, so it's your call.
In TWRP you choose to install img and locate the file on your SD card.
My thought is that your TWRP is too old for the ROMs you have tried... (anyone please correct me if I'm wrong).
RMEROY said:
Thats the problem, I can't get out of the TWRP recovery mode so am not able to use Odin, I presume when I did my original backup
I didn't tick all the boxes because it goes through a recovery with no problem I presume the boot sector is missing.
From the TWRP recovery mode I am able to go to install and select a previously downloaded file but then it fails.
I have searched for a suitable ROM to download but am struggling to find one for my phone
Click to expand...
Click to collapse
Man it's not a problem what custom rom you downloaded
Juat install it to system cames up then install stock rom via odin
Why you wasting your time??!!
I have the TWRP image file 3.4.0-0 which partition should I be flashing it to Boot or Recovery?
I would hate kill it after getting this far.
in reply to amirizad_7436 I don't understand, I can't install a stock rom via Odin as I can't get out of the TWRP recovery mode.
RMEROY said:
I have the TWRP image file 3.4.0-0 which partition should I be flashing it to Boot or Recovery?
I would hate kill it after getting this far.
in reply to amirizad_7436 I don't understand, I can't install a stock rom via Odin as I can't get out of the TWRP recovery mode.
Click to expand...
Click to collapse
You can. There is an option to reboot download mode from twrp (might be reboot bootloader)
That will put the device into download mode and you can flash with Odin.
Alternatively you could go to advanced wipe and wipe everything like you already did and then just flash a custom ROM. You wiped everything you said and then tried to reboot. That's why it went to twrp because you wiped system, there is no system to boot anymore.
garylawwd said:
You can. There is an option to reboot download mode from twrp (might be reboot bootloader)
That will put the device into download mode and you can flash with Odin.
Alternatively you could go to advanced wipe and wipe everything like you already did and then just flash a custom ROM. You wiped everything you said and then tried to reboot. That's why it went to twrp because you wiped system, there is no system to boot anymore.
Click to expand...
Click to collapse
Wow, that worked, I updated the version of TWRP and then installed a ROM that I downloaded "resurrectionremix-5.8.4-20190821"
and all seems to be working, both sims are recognised and operational all I need now is to get my head around the UI apart from that everything seems
good. Thank you everybody who helped me through this. I almost got to the point of binning an otherwise good phone.
Once again a big thankyou to everyone.

Categories

Resources