get back to just rooted oem htc - AT&T HTC One (M9)

i have and htc m9 rooted and have cygmod without google playstore and s-on
and wiped everything by mistake so i dont have twrp anymore and would like to get back to stock rom just unlocked

Flash TWRP again and do a advanced reset and reset the factory image. It should go back to the stock rom.

TerraHedge said:
Flash TWRP again and do a advanced reset and reset the factory image. It should go back to the stock rom.
Click to expand...
Click to collapse
this what i got
FAILED (remote: 9: SD_SECURITY_FAIL zip from usb command in download mode)

lost2000 said:
this what i got
FAILED (remote: 9: SD_SECURITY_FAIL zip from usb command in download mode)
Click to expand...
Click to collapse
Are you flashing via ADB?

TerraHedge said:
Are you flashing via ADB?
Click to expand...
Click to collapse
Fastboot Linux mint 17

lost2000 said:
Fastboot Linux mint 17
Click to expand...
Click to collapse
Are you able to flash without ADB? Like TWRP Manager?

TerraHedge said:
Are you able to flash without ADB? Like TWRP Manager?
Click to expand...
Click to collapse
I tried flashing twrp but then I got the failed USB command

lost2000 said:
I tried flashing twrp but then I got the failed USB command
Click to expand...
Click to collapse
No like, flashed it by writing to system, not flashing.

TerraHedge said:
No like, flashed it by writing to system, not flashing.
Click to expand...
Click to collapse
Ok how do I do that

lost2000 said:
Ok how do I do that
Click to expand...
Click to collapse
I don't have twrp manger on the HTC anymore it wiped away to

Download TWRP Manager via Internet and disable unknown sources.

TerraHedge said:
Download TWRP Manager via Internet and disable unknown sources.
Click to expand...
Click to collapse
ok i have twrp manger and it will go into recovery

lost2000 said:
ok i have twrp manger and it will go into recovery
Click to expand...
Click to collapse
Go to wipe and press advanced wipe and check everything. Swipe to wipe and I should go back to stock rom

TerraHedge said:
Go to wipe and press advanced wipe and check everything. Swipe to wipe and I should go back to stock rom
Click to expand...
Click to collapse
Alright did that and now I keep getting a red triangle with exclamation point in it

Related

[Q] Bootloop?

I installed the internation cyanogenmod 10.1 on my at&t htc one. It stays in the boot logo with the wheel for cyanogenmod. I forgot to make a back up and i think im screwed... Is there anything i can do to put a rom on my phone so i can get out of this boot loop?
Did you do your wipes in recovery if so try fastboot flashing the boot.img
Sent from my HTC One using Tapatalk 2
link
jerrycoffman45 said:
Did you do your wipes in recovery if so try fastboot flashing the boot.img
Sent from my HTC One using Tapatalk 2
Click to expand...
Click to collapse
Could you link me to a boot.img?
It's in the Rom zip
Sent from my HTC One using Tapatalk 2
jerrycoffman45 said:
It's in the Rom zip
Sent from my HTC One using Tapatalk 2
Click to expand...
Click to collapse
okay i did but i an still not booting all the way im still getting the cyanogenmod boot screen
GhostSoldier_US said:
okay i did but i an still not booting all the way im still getting the cyanogenmod boot screen
Click to expand...
Click to collapse
Only thing I can suggest is download another Rom and sideload it then flash it
Sent from my HTC One using Tapatalk 2
Reboot to recovery do a factory reset wipe cache flash cm10.1 and gapps again
gunnyman said:
Reboot to recovery do a factory reset wipe cache flash cm10.1 and gapps again
Click to expand...
Click to collapse
I've tried that. Its not letting me mount the system to my computer so i cant side load. Could i flash a rom through fastboot?
GhostSoldier_US said:
I've tried that. Its not letting me mount the system to my computer so i cant side load. Could i flash a rom through fastboot?
Click to expand...
Click to collapse
so cm10.1 zip isn't on your device anymore?
how does this keep happening?
what did you do> flash then wipe?
you can adb push the rom to /sdcard
or you can adb push one of the known working nandroid backups found in bugsy's thread on the international side.
gunnyman said:
so cm10.1 zip isn't on your device anymore?
how does this keep happening?
what did you do> flash then wipe?
you can adb push the rom to /sdcard
or you can adb push one of the known working nandroid backups found in bugsy's thread on the international side.
Click to expand...
Click to collapse
I do still have the zip on my phone but ive tried reinstalling it and i still just get the boot screen. How could i adb push a rom to the phone?
GhostSoldier_US said:
I do still have the zip on my phone but ive tried reinstalling it and i still just get the boot screen. How could i adb push a rom to the phone?
Click to expand...
Click to collapse
the command is adb push name of file /sdcard
gunnyman said:
the command is adb push name of file /sdcard
Click to expand...
Click to collapse
Its not going through. I have the phone in fastboot and i tried the adb command adb puch CleanRom1.5/sdcard and then iut says device not found. I'm sorry if im a noob
Adb doesn't work in bootloader but it does work in recovery
gunnyman said:
Adb doesn't work in bootloader but it does work in recovery
Click to expand...
Click to collapse
TWRP rcovery? Its still not putting the rom on the phone
Try clockwork recovery. I haven't had a problem pushing stuff or sideload with it.
gunnyman said:
Try clockwork recovery. I haven't had a problem pushing stuff or sideload with it.
Click to expand...
Click to collapse
today is not my day i tried regular clockwork and clockwork touch to flash them in fastboot but after i do and i go to recovery all i get is a black screen
Fastboot erase cache
gunnyman said:
Fastboot erase cache
Click to expand...
Click to collapse
still getting a black screen I don't know what to do am i screwed untill i get my mirco usb to female usb so i coan put a rom on a flash drive and then install the rom through that?
Yeah that will work. Meanwhile try fastboot erase userdata and push cwm recovery again then power down completely then reboot to bootloader and choose recovery from the menu
gunnyman said:
Yeah that will work. Meanwhile try fastboot erase userdata and push cwm recovery again then power down completely then reboot to bootloader and choose recovery from the menu
Click to expand...
Click to collapse
I'm gonna go out and get one in the morning and get one so i dont have to wait till the one i ordered online to get here. That didnt work either but the problem will be fixed tomorrow so no worries

Stuck at flashing cyanogenmod

had Xosp on my Moto E. I decided to revert back to cyanogenmod, downloaded the lastest rom and am not able to flash it.. It's stuck at "Patching system image unconditionally". Waited for an hour still no progress, I tried fastbooting and trying it again, I tried the older roms too, they are not working either...
Can someone help??
P.S: I had wiped my system and Dalvik cache..
Vish1776 said:
had Xosp on my Moto E. I decided to revert back to cyanogenmod, downloaded the lastest rom and am not able to flash it.. It's stuck at "Patching system image unconditionally". Waited for an hour still no progress, I tried fastbooting and trying it again, I tried the older roms too, they are not working either...
Can someone help??
P.S: I had wiped my system and Dalvik cache..
Click to expand...
Click to collapse
i think so you need do a clean flash of cyanogenmod with all wipes without external estorage, and flash cyanogenmod with the latest build of twrp, i recomend you that use twrp 3.0.2 build of squid.
Or if this fail, flash the stock factory images of your model and flash twrp then flash cyanogenmod again
sorry for my english
hetor99 said:
i think so you need do a clean flash of cyanogenmod with all wipes without external estorage, and flash cyanogenmod with the latest build of twrp, i recomend you that use twrp 3.0.2 build of squid.
Or if this fail, flash the stock factory images of your model and flash twrp then flash cyanogenmod again
sorry for my english
Click to expand...
Click to collapse
How to change twrp, my USB debugging option is off?? Is there any other way??
Vish1776 said:
How to change twrp, my USB debugging option is off?? Is there any other way??
Click to expand...
Click to collapse
Reboot to bootloader and flash twrp
Rajendran Rasa said:
Reboot to bootloader and flash twrp
Click to expand...
Click to collapse
I am a noob at this stuff.. Can you explain it in detail plzzzzz
Turn off mobile
Then press power button and volume down button for 15 sec
Bootloader appears and press volume down to enter recovery
Twrp recovery boots
That's it and flash rom
Vish1776 said:
I am a noob at this stuff.. Can you explain it in detail plzzzzz
Click to expand...
Click to collapse
i recomend that you need to flash the latest version of twrp, you can found it on the twrp website, only search on the devices, the moto e and download the ".img" and flash it on your pc using fastboot, then boot into recovery and make all tha flashes (system, data, cache, dalvik cache, internal storage) and flash the rom and the gapps
hetor99 said:
i recomend that you need to flash the latest version of twrp, you can found it on the twrp website, only search on the devices, the moto e and download the ".img" and flash it on your pc using fastboot, then boot into recovery and make all tha flashes (system, data, cache, dalvik cache, internal storage) and flash the rom and the gapps
Click to expand...
Click to collapse
How do I set up adb?? My USB debugging is turned off.. Any other way to install latest twrp??
Rajendran Rasa said:
Turn off mobile
Then press power button and volume down button for 15 sec
Bootloader appears and press volume down to enter recovery
Twrp recovery boots
That's it and flash rom
Click to expand...
Click to collapse
It does not work.. It gets stuck as before..
Vish1776 said:
It does not work.. It gets stuck as before..
Click to expand...
Click to collapse
Is you able to turn off mobile? If yes
Connect it on PC and tell what happens
Rajendran Rasa said:
Is you able to turn off mobile? If yes
Connect it on PC and tell what happens
Click to expand...
Click to collapse
I connected to pc and set up adb and went to fastboot,it shows no device connected..
Vish1776 said:
I connected to pc and set up adb and went to fastboot,it shows no device connected..
Click to expand...
Click to collapse
Is your mobile charging while connected with PC?
Rajendran Rasa said:
Is your mobile charging while connected with PC?
Click to expand...
Click to collapse
Yes..
Vish1776 said:
Yes..
Click to expand...
Click to collapse
Then your Mobile is not hard bricked :good:
Disconnect mobile from pc
Press and hold power button + volume down button for 15 sec
Then bootloader menu opens
Flash recovery with fastboot
Then Flash any ROM
Rajendran Rasa said:
Then your Mobile is not hard bricked :good:
Disconnect mobile from pc
Press and hold power button + volume down button for 15 sec
Then bootloader menu opens
Flash recovery with fastboot
Then Flash any ROM
Click to expand...
Click to collapse
I am not able to flash in Fastboot because my USB debugging is off..
Vish1776 said:
I am not able to flash in Fastboot because my USB debugging is off..
Click to expand...
Click to collapse
Reinstall Motorola device manager in PC
Then connect your mobile with pc and flash twrp recovery
Rajendran Rasa said:
Reinstall Motorola device manager in PC
Then connect your mobile with pc and flash twrp recovery
Click to expand...
Click to collapse
Thanks bro it's working...

Need your help, stuck with no ROM

Hey, my situation no is:
BootLoader unlocked
TWRP installed
No ROM
And now my phone is empty, no old ROM, no new one. It makes situation much harder cuz i dont have SD card or OTG cable.
Any idea how i could get custom or stock ROM installed?
LycanRS said:
Hey, my situation no is:
BootLoader unlocked
TWRP installed
No ROM
And now my phone is empty, no old ROM, no new one. It makes situation much harder cuz i dont have SD card or OTG cable.
Any idea how i could get custom or stock ROM installed?
Click to expand...
Click to collapse
Reboot into eRecovery and try to update your phone using option "Download latest version etc...." . It requires good wifi connection.
-Alf- said:
Reboot into eRecovery and try to update your phone using option "Download latest version etc...." . It requires good wifi connection.
Click to expand...
Click to collapse
Tried it, fails.
Have you tried install custom ROM , e.g. caos, losq-224 , alpha-ROM from fastboot? It should work. Make sure to have the stock recovery flash , before booting up the ROM, you will need to perform a factory reset in stock recovery.
-Alf- said:
Have you tried install custom ROM , e.g. caos, losq-224 , alpha-ROM from fastboot? It should work. Make sure to have the stock recovery flash , before booting up the ROM, you will need to perform a factory reset in stock recovery.
Click to expand...
Click to collapse
I tried caos, losq, lineage 16 through fastboot. Always fails. Error 7, error 9..
How do i get stock recovery back?
Btw thanks for your time Alf
LycanRS said:
Always fails. Error 7, error 9..
Click to expand...
Click to collapse
Error 7 in fastboot ? , never seen...in TWRP only, due to incompatible script in META-INF.
LycanRS said:
How do i get stock recovery back?
Click to expand...
Click to collapse
Without SD card or OTG ? I'm out of ideas bro.
Try fastboot flash stock recovery and stock erecovery
Then boot into erecovery and download?
Erecovery restore can fail with twrp installed as recovery
Videophile said:
Try fastboot flash stock recovery and stock erecovery
Then boot into erecovery and download?
Erecovery restore can fail with twrp installed as recovery
Click to expand...
Click to collapse
I could try that, but where do i get the files?
Videophile said:
Then boot into erecovery and download?
Click to expand...
Click to collapse
LycanRS said:
Tried it, fails.
Click to expand...
Click to collapse
@LycanRS , what's your region? C...?
IMO you can try to flash stock system.img from fastboot.
In fastboot mode run commands:
fastboot oem get-build-number
fastboot oem get-product-model
fastboot getvar vendorcountry
and post the results.
Stock recovery EMUI 9.1 download
Just bought a MicroSD card. What do i do?
LycanRS said:
What do i do?
Click to expand...
Click to collapse
https://forum.xda-developers.com/t/need-your-help-stuck-with-no-rom.4233327/post-84677259
Videophile said:
Try fastboot flash stock recovery
Click to expand...
Click to collapse
Got stock erecovery, downloading stock image over wifi now
LycanRS said:
VNS-L21
Click to expand...
Click to collapse
Wrong section bro...
Okay, got back to stock rom
EMUI 9.1.0.132(C432E5R1P7)
-Alf- said:
Wrong section bro...
Click to expand...
Click to collapse
What GSI would you recommend?

Stock recovery for ANE-LX1

I am stuck with twrp as my recovery and have no stock recovery to flash back. Does anyone have a stock recovery?
EMUI 8.0.0 C432
joenuts2124 said:
I am stuck with twrp as my recovery and have no stock recovery to flash back. Does anyone have a stock recovery?
EMUI 8.0.0 C432
Click to expand...
Click to collapse
Download Here .
-Alf- said:
Download Here .
Click to expand...
Click to collapse
Thank you
-Alf- said:
Download Here .
Click to expand...
Click to collapse
Do you have any idea how to boot into the bootloader without it going back to the recovery?
joenuts2124 said:
Do you have any idea how to boot into the bootloader without it going back to the recovery?
Click to expand...
Click to collapse
Turn off the phone, press and hold Volume Down and connect the phone to the PC.
-Alf- said:
Turn off the phone, press and hold Volume Down and connect the phone to the PC.
Click to expand...
Click to collapse
I turn off the phone, it comes back on automatically, and boots back into TWRP, with me having no time to boot into fastboot mode
joenuts2124 said:
I turn off the phone, it comes back on automatically, and boots back into TWRP, with me having no time to boot into fastboot mode
Click to expand...
Click to collapse
Have you tried shut down in TWRP menu?
Which TWRP have you installed?
-Alf- said:
Have you tried shut down in TWRP menu?
Which TWRP have you installed?
Click to expand...
Click to collapse
Yes I have tried shutting down in TWRP, I will try again.
Downloaded from twrp.me, 3.5.0 or higher I think
It shutdown, but trying to boot into fastboot doesn't work either. Just boots back into recovery
joenuts2124 said:
twrp.me, 3.5.0 or higher
Click to expand...
Click to collapse
Very bad idea . If yot are running Oreo, download and install this one
-Alf- said:
Very bad idea . If yot are running Oreo, download and install this one
Click to expand...
Click to collapse
I will try
joenuts2124 said:
It shutdown, but trying to boot into fastboot doesn't work either. Just boots back into recovery
Click to expand...
Click to collapse
Maybe you are doing something wrong bro...
-Alf- said:
Maybe you are doing something wrong bro...
Click to expand...
Click to collapse
How do I install it if i cant boot into fastboot
joenuts2124 said:
How do I install it if i cant boot into fastboot
Click to expand...
Click to collapse
Do you mean TWRP? Simply download, transfer to SD card, boot into your TWRP, select Install, select storage, then select Install image , find TWRP-oreo-smart.img and mark Recovery or eRecovery (it's your choice). Btw, have you installed linked stock Recovery_ramdisk?
-Alf- said:
Do you mean TWRP? Simply download, transfer to SD card, boot into your TWRP, select Install, select storage, then select Install image , find TWRP-oreo-smart.img and mark Recovery or eRecovery (it's your choice). Btw, have you installed linked stock Recovery_ramdisk?
Click to expand...
Click to collapse
I have the stock recovery on my pc
joenuts2124 said:
I have the stock recovery on my pc
Click to expand...
Click to collapse
-Alf- said:
Click to expand...
Click to collapse
Ok, I fixed it, thank you very much

problem with flashing rom

Hi guys,
i unlocked the bootloader of my p20lite with PotatoNV and i installed TWRP recovery.
Then i wiped alla data including internal storage. I tried to flashing some ROM (with zip file and with img file), but they don't work(it seems they aren't installed), at every reboot system smartphone shows me TWRP recovery.
I don't know what to do. Do you have any tips please?
Thank you
After attached image i show only TWRP
freddie993 said:
Hi guys,
i unlocked the bootloader of my p20lite with PotatoNV and i installed TWRP recovery.
Then i wiped alla data including internal storage. I tried to flashing some ROM (with zip file and with img file), but they don't work(it seems they aren't installed), at every reboot system smartphone shows me TWRP recovery.
I don't know what to do. Do you have any tips please?
Thank you
After attached image i show only TWRP
Click to expand...
Click to collapse
Look here
https://forum.xda-developers.com/t/i-bricked-my-p20-lite.4449545/#post-86936013
Hi tried to follow those instructions . When i hold both volume button i receive attached screen. i tried to install ROM with sideload method but nothing to do.
freddie993 said:
Hi tried to follow those instructions . When i hold both volume button i receive attached screen. i tried to install ROM with sideload method but nothing to do.
Click to expand...
Click to collapse
Hi,
in fastboot mode run commands :
fastboot oem get-build-number
fastboot oem get-product-model
fastboot getvar vendorcountry
fastboot oem oeminforead-CUSTOM_VERSION
fastboot oem oeminforead-SYSTEM_VERSION
and post the results.
Some might fail, so don't worry about it.
i can't access in fastboot mode neither from TWRP
i did it @-Alf-
freddie993 said:
i did it @-Alf-
Click to expand...
Click to collapse
does this mean problem solved?
-Alf- said:
does this mean problem solved?
Click to expand...
Click to collapse
unfortunately no , i tried to install system via fastboot but at the reboot i show TWRP....
freddie993 said:
unfortunately no , i tried to install system via fastboot but at the reboot i show TWRP....
Click to expand...
Click to collapse
In fastboot mode flash stock recovery_ramdisk, download Here
Use command fastboot flash recovery_ramdisk RECOVERY_RAMDISK-9.1.img, then run command
fastboot erase userdata, and reboot.
-Alf- said:
In fastboot mode flash stock recovery_ramdisk, download Here
Use command fastboot flash recovery_ramdisk RECOVERY_RAMDISK-9.1.img, then run command
fastboot erase userdata, and reboot.
Click to expand...
Click to collapse
with this command i resolved, the ROM has been installed Thank you , but now i must install again twrp?
freddie993 said:
now i must install again twrp?
Click to expand...
Click to collapse
if you need it ...
My little advice - install TWRP instead of eRecovery, it makes things easier... And please use RECOMMENDED TWRP , not this sh... 3.5.2 and above.
-Alf- said:
if you need it ...
My little advice - install TWRP instead of eRecovery, it makes things easier... And please use RECOMMENDED TWRP , not this sh... 3.5.2 and above.
Click to expand...
Click to collapse
i'd installed
twrp-3.6.1_9-0-anne is this wrong for you??
freddie993 said:
i'd installed
twrp-3.6.1_9-0-anne is this wrong for you??
Click to expand...
Click to collapse
this TWRP has caused you problems, but I will not force my opinion on you.
Happy flashing!
-Alf- said:
this TWRP has caused you problems, but I will not force my opinion on you.
Happy flashing!
Click to expand...
Click to collapse
don't worry. thank you very much for your tips
freddie993 said:
don't worry. thank you very much for your tips
Click to expand...
Click to collapse
hey hi id like to know which version of twrp you ended up installing? if any.
had the same issue as you and solved it the same way but id like to keep twrp as my main recovery
James1807 said:
hey hi id like to know which version of twrp you ended up installing? if any.
had the same issue as you and solved it the same way but id like to keep twrp as my main recovery
Click to expand...
Click to collapse
hi, sorry for waiting, i have 3.5.1 version
freddie993 said:
hi, sorry for waiting, i have 3.5.1 version
Click to expand...
Click to collapse
ok and uh any special procedure to keep twrp as your main? or you just flashed it to the recovery like that and thats it?
James1807 said:
ok and uh any special procedure to keep twrp as your main? or you just flashed it to the recovery like that and thats it?
Click to expand...
Click to collapse
just flashed to the main recovery, but they both remained and for enter in the twrp i must push vol up+down togheter.

Categories

Resources