How can i get my phone back to stock? - OnePlus 3T Questions & Answers

So yesterday i wanted to root my phone, but i screwed up with some things so i wanted to go back to the stock version. First i got rid of the twrp, i did this by flashing stock recovery. Everything went well, after that i locked the bootloader, this went also well. So the last thing i had to was sideload the OnePlus 3T OxygenOS 3.5.4, but here came the problem, i just could not install it, everytime i tried it just said can not read OnePlus3Oxygen_16_OTA_008_all_1606122244_e0cfc5ffc8bf411a.zip' *. I have tried renaming i have tried to put it zip.zip, the file is on the desktop so its in the same place and my phone is also regonized by the adb, i run the program as administrator still not working. I have tried re downloading it many times still not working. I have no fcking idea anymore, so guys plz help me .

TWRP is the answer
960Gaming said:
So yesterday i wanted to root my phone, but i screwed up with some things so i wanted to go back to the stock version. First i got rid of the twrp, i did this by flashing stock recovery. Everything went well, after that i locked the bootloader, this went also well. So the last thing i had to was sideload the OnePlus 3T OxygenOS 3.5.4, but here came the problem, i just could not install it, everytime i tried it just said can not read OnePlus3Oxygen_16_OTA_008_all_1606122244_e0cfc5ffc8bf411a.zip' *. I have tried renaming i have tried to put it zip.zip, the file is on the desktop so its in the same place and my phone is also regonized by the adb, i run the program as administrator still not working. I have tried re downloading it many times still not working. I have no fcking idea anymore, so guys plz help me .
Click to expand...
Click to collapse
I used the adb sideload mode on TWRP recovery and it worked for me. Also do not relock bootloader.
1)Flash TWRP
2)Advanced-> ADB Sideload
3)Open CMD on your PC-> Navigate to the directly of the OOS 3.5.4
4)Enter adb sideload <file name.zip> (Rename the file to something small to make it easy)
Hope it helps!

Painless way and will completely wipe device. http://forum.xda-developers.com/showthread.php?t=3515306
Sent from my BTV-W09 using Tapatalk

Related

[Q] HTC one completlywiped, cannot load ROM

Hi Everyone, Ive been going at this for days and been round and round on so many pages i'm just lost..
I have HTC one unlocked brought in AUS. Decided to play around with it and didn't do any sort of backup of the original system, unlocked the boot loader, installed CRW and tried a few roms for fun. So today I went and played around again trying to get the stock rom put back on so I can have OTA updates (stupid idea!!!) and now there is no OS installed on the phone...!
So far I have tried to push a zip to the phone with adb but apparently it can only be done when the OS is loaded. Used Hasson tool with no luck.
Essentially I can't load any ROM to the phone and it is just stuck between fastboot and the recovery mod (tried TWRP and CRW).
Ive looked at the RUU files on the website but theres no clear explanation on which one to choose. The htc website has no RUU update either.
Can someone please help with steps to get me back on track. If you need any info to help then please let me know ..
UNLOCKED
S-ON
P.S. i will let you know if I have previously tried what you suggest..
So can you get into recovery?
postfatal said:
So can you get into recovery?
Click to expand...
Click to collapse
Hi there, i can currently boot into TWRP (which is the most recent version I downloaded today)
1) Flash TWRP custom recovery
2) In recovery go to adb sideload
3) On PC type adb sideload yourrom.zip
jgt777 said:
Hi Everyone, Ive been going at this for days and been round and round on so many pages i'm just lost..
I have HTC one unlocked brought in AUS. Decided to play around with it and didn't do any sort of backup of the original system, unlocked the boot loader, installed CRW and tried a few roms for fun. So today I went and played around again trying to get the stock rom put back on so I can have OTA updates (stupid idea!!!) and now there is no OS installed on the phone...!
So far I have tried to push a zip to the phone with adb but apparently it can only be done when the OS is loaded. Used Hasson tool with no luck.
Essentially I can't load any ROM to the phone and it is just stuck between fastboot and the recovery mod (tried TWRP and CRW).
Ive looked at the RUU files on the website but theres no clear explanation on which one to choose. The htc website has no RUU update either.
Can someone please help with steps to get me back on track. If you need any info to help then please let me know ..
UNLOCKED
S-ON
P.S. i will let you know if I have previously tried what you suggest..
Click to expand...
Click to collapse
Try to adb sideload a rom. after flashing a custom recovery, download hasoon2000's toolkit from here: http://forum.xda-developers.com/show....php?t=2183942
place it on your desktop and then place your custom rom inside the folder. run the toolkit and use the function "adb sideload" to sideload the rom on your device. also choose "adb sideload" in your custom recovery while doing this.
it should work
If you get into recovery then as everyone is saying sideload a ROM onto your device. There are loads of guides of how to do that.
tash2013 said:
1) Flash TWRP custom recovery
2) In recovery go to adb sideload
3) On PC type adb sideload yourrom.zip
Click to expand...
Click to collapse
You know what, i need a kick in the head..
Have previously opened TWRP, went to sideload and wondering why it has done nothing - this time I see the "slide to sideload" option.
Its currently sending right now. If this upload works do I now just have to select the install option and choose the ZIP?
jgt777 said:
You know what, i need a kick in the head..
Have previously opened TWRP, went to sideload and wondering why it has done nothing - this time I see the "slide to sideload" option.
Its currently sending right now. If this upload works do I now just have to select the install option and choose the ZIP?
Click to expand...
Click to collapse
In recovery apply "slide to sideload" , recovery will be to wait command from PC.
On PC type "adb sideload rom.zip" , your rom.zip must be in the same folder with adb.exe.
Pushing the thanks button for everyone who replied, such a simple thing as sliding the abd sideload button to the right to detect it...
Thank you all so much
jgt777 said:
You know what, i need a kick in the head..
Have previously opened TWRP, went to sideload and wondering why it has done nothing - this time I see the "slide to sideload" option.
Its currently sending right now. If this upload works do I now just have to select the install option and choose the ZIP?
Click to expand...
Click to collapse
Yes.
Sent from my HTC One using xda app-developers app
I had done exactly the sme as the OP but unfortunately for me there has been no fix yet, still working on it. I have done everything i can think of except to flash a recovery backup or RUU but the one i need is not avaiable
twerg said:
I had done exactly the sme as the OP but unfortunately for me there has been no fix yet, still working on it. I have done everything i can think of except to flash a recovery backup or RUU but the one i need is not avaiable
Click to expand...
Click to collapse
could you explain your problem more detailed please?

Deleted everything minus TWRP

I wasn't paying close attention this morning at work, decided to flash a new rom and accidentally deleted my systems partition in the wipe.
I cannot for the life of me fine my usb-otg so that is out for now. TWRP is still installed, I can fastboot and thats bout it. I do have a copy of the TWRP backup on my laptop as well as few other roms. Any suggestions?
zero visual said:
I wasn't paying close attention this morning at work, decided to flash a new rom and accidentally deleted my systems partition in the wipe.
I cannot for the life of me fine my usb-otg so that is out for now. TWRP is still installed, I can fastboot and thats bout it. I do have a copy of the TWRP backup on my laptop as well as few other roms. Any suggestions?
Click to expand...
Click to collapse
Use ADB to sideload a rom then you can transfer your TWRP backup to the device and go from there.
here is the guide to sideload
http://forum.xda-developers.com/showthread.php?t=2318497
That is exactly what I needed. Now my only problem is, Im a moron and while trying to figure an answer out I flash my stop recovery and now things are just all messed up. I tried flashing twrp again but it keeps saying it failed.
scratch that just needed to open a new cmd.
On to the sideload. Im following the instructions and Im guessing when i "adb sideload rom.zip" it doesn't say sideload next to it, it says host
got it to working.

Is there any way to flash TWRP IMG file while your phone is in download mode???

Hello all. I was recently trying to flash 30.2 TWRP on my phone. I was using 2.8.7.1 TWRP. As soon as I flashed the newer one my phone wouldnt boot. I have tried numerous times to do a hard reset to get into TWRP manually but that is not working at all. Is there any way that anyone knows of to flash a new TWRP img file while in download mode or even flash a zip file for another ROM that might work?
Thanks in advance
Billy boy2316
this link tells you how to do it
if twrp image is not on your phone already you will have to push to the phone first and you must be rooted
http://forum.xda-developers.com/showpost.php?p=65156874&postcount=119&nocache=1
seetru said:
this link tells you how to do it
if twrp image is not on your phone already you will have to push to the phone first and you must be rooted
http://forum.xda-developers.com/showpost.php?p=65156874&postcount=119&nocache=1
Click to expand...
Click to collapse
Hello, Yes I have tried that. My phone wont recognize ADB or anything like that due to the fact that the newer TWRP didnt play well with my phone. I am only able to get into DL mode. However, I have tried LG UP, LG flash tool and I get nothing nothing. My recovery image is bad so I need to figure a way to flash it somehow in DL mode. Thanks for your help tho. I appreciate any and all advice

[FIXED] Can't Flash TWRP XT1096

I've been looking around for a few hours and I just can't figure this out. I unlocked my XT1096 fine and am trying to flash TWRP via fastboot. (I tried downloading the app on my phone and running it there and it says I don't have root access, but I guess flashing it from a cmd prompt should still work?)
Anyway, I've downloaded the TWRP img that seems to be correct (twrp-3.0.2-2-victara) and I'm renaming it to just "twrp.img" per the CM install instructions. I go into fastboot, confirm my device is there, and then use the "fastboot flash recovery twrp.img command and I just get the error "error: cannot load 'twrp.img'"
I've tried a couple of other twrp image files, thinking maybe that's not really the right one, but they haven't worked either, but from everywhere I've look, the one I have been trying should certainly be the correct file.
So I've got my bootloader unlocked and my phone memory is wiped and all that, from the unlocking. But I can't for the life of me get the recovery to flash. I don't know if there's another one that's not TWRP I could use? I don't think it's a step I can bypass, and I have to have it sorted to move on to getting Cyanogen and all that.
I've only ever rooted one other phone, and that was the Droid Incredible 2, but it had that whole 1-touch unlock/root program made for it, and I can barely remember how all that worked since it was like 5 years ago.
Anyway, does anyone have any ideas on how I can fix this, and get TWRP working and CM finally running?
edit: got this fixed - see last comment. Woohoo!
You could try the TWRP Manager app or Rashr to flash the IMG.
Put twrp.img in to folder have adb install
So I don't think I can use the TWRP app because when I try to use it, it says it needs root permission and that the phone isn't rooted. I've looked for rooting directions for the XT1096 running android 5.1 and can't find any really. I've seen directions for android 6.0, or the Pure edition of my phone, and I don't know if they would work. Would they work, with a difference version of android running?
As for having adb install, that's what I've been trying. I've got the twrp.img in the same folder as adb and fastboot, which is where it's supposed to be as far as I can tell from these directions:
https://wiki.cyanogenmod.org/w/Install_CM_for_victara
I just get the error message when I try the "fastboot flash recovery twrp.img" command.
Ha, I figured it out, and it was silly. When I renamed the "twrp.img" it appeared to me as just that. When I did a dir command for that folder, it showed as "twrp.img.img" even though I didn't see it that way in file explorer. So I deleted the ".img" that I COULD see, flashed again, it worked!
Now to get on with it!
Thanks guys for the input!
asmallmammal said:
Ha, I figured it out, and it was silly. When I renamed the "twrp.img" it appeared to me as just that. When I did a dir command for that folder, it showed as "twrp.img.img" even though I didn't see it that way in file explorer. So I deleted the ".img" that I COULD see, flashed again, it worked!
Now to get on with it!
Thanks guys for the input!
Click to expand...
Click to collapse
For future reference, if you type a partial filename and hit tab in Command Prompt or Terminal, it will auto fill the rest of the filename and escape any characters needed (like a space). :good:

Trouble rooting my g6

I'm coming to the g6 from an older Samsung. I figured that rooting this one would be just as simple, but was I ever wrong. I've gone through the guides available here, as well as guides on other sites, but no joy. I've probably restored my phone to the original system now 5 or 6 times. I'm hoping that someone can point me in the correct direction here.
The last couple of times I tried, here's what I did and what went wrong. I found a guide over at https://www.androidinfotech.com/root-moto-g6-and-g6-plus-pie/ that was fairly straight forward.
The first time I followed the instructions, booting to twrp failed but I figured that was because it never included flashing twrp to the phone. So I flashed it and used fastboot to boot the phone to the image. I then wiped the phone, flashed magisk and then did the same thing with no-verity-opt and rebooted.
On the reboot, the phone cycled through a couple of attempts and then was successful on the third try. But some things were broken. The battery indicator said I had 0% charge, and the phone refused to connect to wi fi. It also didn't recognize my network. And best of all, I've never achieved root. When I boot back into the bootloader, it comes up with the standard motorola file; not twrp.
Just FYI, I'm running pie.
Can anyone point me in the correct direction here? any help will be very much appreciated.
jmalmberg said:
I'm coming to the g6 from an older Samsung. I figured that rooting this one would be just as simple, but was I ever wrong. I've gone through the guides available here, as well as guides on other sites, but no joy. I've probably restored my phone to the original system now 5 or 6 times. I'm hoping that someone can point me in the correct direction here.
The last couple of times I tried, here's what I did and what went wrong. I found a guide over at https://www.androidinfotech.com/root-moto-g6-and-g6-plus-pie/ that was fairly straight forward.
The first time I followed the instructions, booting to twrp failed but I figured that was because it never included flashing twrp to the phone. So I flashed it and used fastboot to boot the phone to the image. I then wiped the phone, flashed magisk and then did the same thing with no-verity-opt and rebooted.
On the reboot, the phone cycled through a couple of attempts and then was successful on the third try. But some things were broken. The battery indicator said I had 0% charge, and the phone refused to connect to wi fi. It also didn't recognize my network. And best of all, I've never achieved root. When I boot back into the bootloader, it comes up with the standard motorola file; not twrp.
Just FYI, I'm running pie.
Can anyone point me in the correct direction here? any help will be very much appreciated.
Click to expand...
Click to collapse
Need a bit more info
What model G6 ? Software channel?
What build number of Pie are you trying to root?
You say "restored my phone to the original system now 5 or 6 times" what version and build number is that and how are you restoring it?
kc6wke said:
Need a bit more info
What model G6 ? Software channel?
What build number of Pie are you trying to root?
You say "restored my phone to the original system now 5 or 6 times" what version and build number is that and how are you restoring it?
Click to expand...
Click to collapse
Model is xt1925-6
Android version is ALI_RETAIL_9.0_PPS29.118-11-1_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip.
I'm restoring it using Minimal ADB and Fastboot, and flashing the files over.
A couple of other things I should probably say too.
1. The phone was originally running Oreo. About two weeks ago, Motorola pushed out PIE to me and I installed it. That caused a tone of problems... the biggest one was that you couldn't hear the phone anymore. Couldn't hear callers, ringing, notifications, etc... It might has well have been a doorstop. I tried to roll the phone back to Oreo doing a factory reset, but that didn't work either. Wiped out my IMEI and carrier. So I did a little research and found out that some other people had the same issue. They couldn't roll back so I figured I was stuck with Pie.
2. At that point, I unlocked the bootloader and downloaded the version above from a link in one of the forums and flashed it to the phone. For whatever reason, that cured the IMEI, carrier and sound issues. Since I've come this far and the phone doesn't have anything on it, I'd like to root what I have and get some of the capability that I had on the Samsung.
Thanks for your assistance on this.
jmalmberg said:
Model is xt1925-6
Android version is ALI_RETAIL_9.0_PPS29.118-11-1_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip.
I'm restoring it using Minimal ADB and Fastboot, and flashing the files over.
A couple of other things I should probably say too.
1. The phone was originally running Oreo. About two weeks ago, Motorola pushed out PIE to me and I installed it. That caused a tone of problems... the biggest one was that you couldn't hear the phone anymore. Couldn't hear callers, ringing, notifications, etc... It might has well have been a doorstop. I tried to roll the phone back to Oreo doing a factory reset, but that didn't work either. Wiped out my IMEI and carrier. So I did a little research and found out that some other people had the same issue. They couldn't roll back so I figured I was stuck with Pie.
2. At that point, I unlocked the bootloader and downloaded the version above from a link in one of the forums and flashed it to the phone. For whatever reason, that cured the IMEI, carrier and sound issues. Since I've come this far and the phone doesn't have anything on it, I'd like to root what I have and get some of the capability that I had on the Samsung.
Thanks for your assistance on this.
Click to expand...
Click to collapse
PPS29.118-11-1 has a lot of issues. downgrading doesn't seem possible. I thought we had it solved today but ran into the same issue with calls
Follow This thread for rooting
kc6wke said:
PPS29.118-11-1 has a lot of issues. downgrading doesn't seem possible. I thought we had it solved today but ran into the same issue with calls
Follow This thread for rooting
Click to expand...
Click to collapse
Oh, interesting, That's the thread I started with but couldn't get to work for me. That's when I went out and found the guide that I linked to in my original posting. Let me walk through the steps I used here to see if you can tell me where I went wrong.
1. Unlocked my bootloader.
2. Installed Minimal ADB & Fastboot.
3. Placed TWRP, in the Minimal ADB director on my PC and loaded Magisk, DM Verity, Magisk Manager apk to the SD card on my phone. (NOTE: the SD card isn't installed in the phone yet. I'll do that after doing the wipe. Just putting the software on it.)
4. Flashed TWRP to the phone and used Fastboot to load it.
5. Wiped the phone. Used advanced wipe and deleted the cache and data then rebooted to TWRP and did it again. At this point, I installed the SD card.
6. Rebooted the phone into TWRP and then selected install for DM Verity and again for Magisk.
7. Reboot and check for root using Rootcheck. I'm being told that I don't have root access.
What am I missing here?
Again, thank you for the assistance.
jmalmberg said:
Oh, interesting, That's the thread I started with but couldn't get to work for me. That's when I went out and found the guide that I linked to in my original posting. Let me walk through the steps I used here to see if you can tell me where I went wrong.
1. Unlocked my bootloader.
2. Installed Minimal ADB & Fastboot.
3. Placed TWRP, in the Minimal ADB director on my PC and loaded Magisk, DM Verity, Magisk Manager apk to the SD card on my phone. (NOTE: the SD card isn't installed in the phone yet. I'll do that after doing the wipe. Just putting the software on it.)
4. Flashed TWRP to the phone and used Fastboot to load it.
5. Wiped the phone. Used advanced wipe and deleted the cache and data then rebooted to TWRP and did it again. At this point, I installed the SD card.
6. Rebooted the phone into TWRP and then selected install for DM Verity and again for Magisk.
7. Reboot and check for root using Rootcheck. I'm being told that I don't have root access.
What am I missing here?
Again, thank you for the assistance.
Click to expand...
Click to collapse
You need to format data (type yes) In twrp
kc6wke said:
You need to format data (type yes) In twrp
Click to expand...
Click to collapse
That worked! Thank you very much!!! I really appreciate it!!!!
jmalmberg said:
3. Placed TWRP, in the Minimal ADB director on my PC and loaded Magisk, DM Verity, Magisk Manager apk to the SD card on my phone. (NOTE: the SD card isn't installed in the phone yet. I'll do that after doing the wipe. Just putting the software on it.)
.
Click to expand...
Click to collapse
What ver TWRP did you use?
Apparently there is an official version and a modified version to mount vendor-specific mount points?
Thanks,
Tigger31337 said:
What ver TWRP did you use?
Apparently there is an official version and a modified version to mount vendor-specific mount points?
Thanks,
Click to expand...
Click to collapse
I renamed the TWRP file I flashed "recovery.img" and I don't remember the original file name. When I boot to recovery mode it says 3.3.0-0. Hope that helps
jmalmberg said:
I renamed the TWRP file I flashed "recovery.img" and I don't remember the original file name. When I boot to recovery mode it says 3.3.0-0. Hope that helps
Click to expand...
Click to collapse
Yup, I solved it. Thanks. I ended up using 3.2.3.official.
Rooting; ending in bootloop help
Sorry if I am hijacking this thread; thought to discuss here as the title "Trouble rooting my g6" still applies.
I have:
XT1925-13 (Moto G6 ALI) running stock Android Pie with build ppss29.55-34.
I have issues when I tried to root. I followed these steps:
I downloaded the factory image “ALI_RETAIL_9.0_PPS29.55-34_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip” and flashed it first. The mobile restarted and went to the first screen to select a language.
I rebooted it into bootloader, ran the TWRP as a temp by command “fastboot boot twrp-3.3.0-0-Ali.img,” which asked for the password.
I pressed cancel, and then I wiped cache and data.
Via ADB I transferred “adb push Magisk-v20.0.zip /sdcard” and “adb push no-verity-opt-encrypt-6.1.zip /sdcard”.
Then from TWRP, I installed Magisk. Then when installing no-verity, it gave an error “updater process ended with an error: 1 error installing zip file ‘no-verity-opt-encrypt-6.1.zip’.
Rebooted the device with hope and ended in a boot loop.
I also tried to use Magisk-v19.4.zip in the above steps and also tried to skip no-verity-opt-encrypt-6.1.zip. All ended in boot loop.
Any idea why? Are there any guides for the combination XT1925-13 (Moto G6 ALI) running ppss29.55-34?
Many thanks for your time.
Here is a solution
Flash original boot in fastboot followed by TWRP and reboot in recovery.
Install Magisk 19.4 in TWRP (3.3.x Android 9 OK) and reboot
You can update to 20 in Magisk Manager later

Categories

Resources