Can I adb install SU if im s-off - One (M7) Q&A, Help & Troubleshooting

My HTC One is S-OFF..... It is Locked.. STOCK RECOVERY
Can I use ADB to:
adb install supersu.zip (This is the SU zip extracted from the ALL in one toolkit in the development forum)
Will that work?
Or do I have to install a custom recovery and install SU from recovery?

Highly recommended to install SU through recovery. Since you have S-Off, you can just unlock the bootloader and lock it back later on with no issue anyway

Related

freeze in start - impossible to push a new ROM

Hello
I have update my HTC One (europe) into 4.2.2 recently.
I have unlocked the bootloader, installed a recovery (ClockWorkMod Touch 6), and root the device.
But after wanted to install a module founded on the net, I blocked the device (without any save obviously), and the device starts but freeze on the screen of HTC logo.
I always have access to the bootloader (and to fastboot) and to recovery CM6.
To reinstall ROM, I found several solutions on the web but none of theses worked :
- I tried to install a RUU ROM and relocked my bootloader before => impossible, error 140 because it considers that my bootloader does not have the good version. Indeed the RUU availables on the web are only 4.1 and apparently the downgrade is not authorized.
- I tried to inject a custom ROM via ADB sideload but there were a new issue : my device is not recognized! DEVICE NOT FOUND. The fastboot command works well, the HTC is detected, but not the ADB command, which is the only one enabling me to copy a custom ROM in the internal memory of the device (I reinstalled the drivers several times obviously).
I dont know what to do anymore, I feel that the device can be saved because I have access to the bootloader, fastboot and recovery.
But I do not see which other method to use to finally be able to replace the exsiting ROM by a new clean ROM
Thank you very much of your assistance.
You need to be in recovery and sideload mode when using the adb command. I'm not sure about CWM but on TWRP sideload mode is located under advanced options.
AT&T HTC One
BaadNewz's InsertCoin 3.0-7
Flar2's Bulletproof 3.4
If you re-locked your bootloader when trying to run the RUU, you will have to go to htcdev again and get a new token and unlock the bootloader again before you will be able to flash anything in recovery.
Thats maybe why you can't sideload in adb.
Also you have the phone device drivers installed on your PC right?
Could also try sideloading and other troubleshooting by using a toolkit:
http://forum.xda-developers.com/showthread.php?t=2242635
crushalot said:
If you re-locked your bootloader when trying to run the RUU, you will have to go to htcdev again and get a new token and unlock the bootloader again before you will be able to flash anything in recovery.
Thats maybe why you can't sideload in adb.
Also you have the phone device drivers installed on your PC right?
Could also try sideloading and other troubleshooting by using a toolkit:
http://forum.xda-developers.com/showthread.php?t=2242635
Click to expand...
Click to collapse
rename the ROM from its original name to "ROM.zip" without the quotes, and then try again ADB
if it didnt work inject TWRP, and copy the ROM to a USB Stick and using a USB OTG ($1) mount the USB Stick in TWRP and install the ROM
it worked %100 for me

Stuck in recovery. sideload doesnt work

I opened the bootloader via htcdev. then i flashed costume recovery and rooted my device. all worked fine.
After flash the latest ARHD from stock Orange rom the phone stuck in the second htc logo.
i flashed boot.img and then the phone stuck in the first htc logo.
i format data in TWRP! i thought it would help but now all my sd data deleted! include the rom and the nandroid backup!
i tried sideload but adb not read my phone! fastboot work though.
i am really stuck please help me. i cant find RUU for my device (3.63.75.3 - Orange spain) :crying:
i have the htc drivers work and htcsync uninstalled.
** edit **
it work! had to delete the drivers and install the universal naked instead and update the sdk then sideload worked!
amitshkuri said:
I opened the bootloader via htcdev. then i flashed costume recovery and rooted my device. all worked fine.
After flash the latest ARHD from stock Orange rom the phone stuck in the second htc logo.
i flashed boot.img and then the phone stuck in the first htc logo.
i format data in TWRP! i thought it would help but now all my sd data deleted! include the rom and the nandroid backup!
i tried sideload but adb not read my phone! fastboot work though.
i am really stuck please help me. i cant find RUU for my device (3.63.75.3 - Orange spain) :crying:
i have the htc drivers work and htcsync uninstalled.
Click to expand...
Click to collapse
lesson one, copy your stock backup to your PC - don't just leave it on your phone
adb only works when your in recovery or booted to OS
Kitkat roms require s-off flash an older version of ARHD like 31.6
sideload the ARHD31 from TWRP and your PC
Set the device into ADB sideload mode. In TWRP you do this by going to Advanced then ADB Sideload.
From the command line, type adb sideload rom.zip
make sure rom.zip is in the same directory as adb/fastboot
ADB Push from Recovery - If Sideload Fails For You
adb push rom.zip /data/media/0/

[Q] Most Recent Stock Recovery?

I had been running Stock with Goodies ROM. I returned to stock with the below noted RUU:
RUU_M7_WL_JB43_SENSE50_SPCS_MR_Sprint_WWE_3.04.651.2_Radio_1.00.20.0913_3_NV_SPCS_4.38_003_release_335355_signed_2
I don't seem to have a recovery anymore though (Had TWRP), I want stock recovery anyway. Anybody able to point me in the right direction to the correct stock recovery that I can flash via fastboot?
So did you execute the RUU? Usally when you run RUU, you get stock recovery? If you want to flash custom recovery ( TWRP or CWM or Philz Touch) use .img files from here http://teamw.in/project/twrp2/171 and follow installation instructions.
You can flash recovery from bootloader, adb terminal or just simply use Flashify https://play.google.com/store/apps/details?id=com.cgollner.flashify&hl=bg

Stuck in recovery, unable to do anything?

I've spent over 6hrs researching videos, guides and I've buggered it right up now.
Used Hasoon2000 All-in-one tool to unlock bootloader, which I eventually done. Installed TWRP through the AIO tool and Perm root. Got the Super SU app, checked root and all WAS fine.
Then decided to flash ViperOne rom, went to TWRP and selected zip file and chose what to install. Install went on for a while and then failed due to 'Error 7'.
I stupidly never made a backup through TWRP before trying to install ViperOne and now I'm stuck between TWRP recovery or the bootloader.
What do I do.... :crying::crying::crying::crying:
FinGerS o FuDgE said:
I've spent over 6hrs researching videos, guides and I've buggered it right up now.
Used Hasoon2000 All-in-one tool to unlock bootloader, which I eventually done. Installed TWRP through the AIO tool and Perm root. Got the Super SU app, checked root and all WAS fine.
Then decided to flash ViperOne rom, went to TWRP and selected zip file and chose what to install. Install went on for a while and then failed due to 'Error 7'.
I stupidly never made a backup through TWRP before trying to install ViperOne and now I'm stuck between TWRP recovery or the bootloader.
What do I do.... :crying::crying::crying::crying:
Click to expand...
Click to collapse
If you used those toolkits you most likely have really old versions of recovery and root
try this
from fastboot USB
Flash recovery TWRP 2.6.3.3
http://techerrata.com/browse/twrp2/m7
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
then sideload this Rom to your phone
http://www.androidrevolution.org/downloader/download.php?file=Android_Revolution_HD-One_71.1.zip
TWRP / Advanced / ADB Sideload - swipe to sideload
From PC adb / fastboot folder
you use
adb sideload name-of-rom.zip
make sure the rom is in the same folder as adb / fastboot
Click to expand...
Click to collapse
clsA said:
If you used those toolkits you most likely have really old versions of recovery and root
try this
Click to expand...
Click to collapse
Thanks SOOOO much. Updated TWRP and flashed Android Revolution and it's now back on hanks again
Lesson learned , backup from now on incase.
Thanks again :good::good:

[Q] I've bricked my M7

Hi,
I had Android revolution installed on my M7. I've started to play with TWRP recovery and I've bricked my phone. It's now turning on straight to TWRP recovery, even if i will choose to boot system. Can you help me fix it?
CID: ORANG001
karoltom said:
Hi,
I had Android revolution installed on my M7. I've started to play with TWRP recovery and I've bricked my phone. It's now turning on straight to TWRP recovery, even if i will choose to boot system. Can you help me fix it?
CID: ORANG001
Click to expand...
Click to collapse
What have you done exactly from TWRP? Wiped /system? Tried to flash a rom? Formatted /data?
download a rom and push it to you internal storage and then flash it using the "install" function in twrp recovery. You won't be able to flash lollipop rom on this phone because the firmware installed is to old.
i don't know how to do this. i can't find software for ORANG001. maybe i can install some custom ROM?
If the phone will be working fine i know how to do s-off, change cid and flash it with stock rom.
Is there any other way to gain s-off except rumrunner?
karoltom said:
i don't know how to do this. i can't find software for ORANG001. maybe i can install some custom ROM?
If the phone will be working fine i know how to do s-off, change cid and flash it with stock rom.
Is there any other way to gain s-off except rumrunner?
Click to expand...
Click to collapse
Your on hboot 1.57. There is only one way to s-off 1.57 and thats Sunshine app. Which cost £25. But before you can s-off you need a functional rom on the device.
You can use this http://www.androidrevolution.org/downloader/download.php?file=Android_Revolution_HD-One_84.0.zip
Download the rom and put it in your fastboot folder and rename it something simple like rom.zip.
If you have twrp 2.8.5.x you should be able to enable MTP in recovery then just copy the rom strait to you internal storage from you pc and install it.
Older versions of twrp don't support MTP in which case you will need to adb push the rom to your device. Instructions below
With the rom.zip in your fastboot folder. Open a adb/fastboot command window. Boot the device to recovery and connect usb. Check adb is working by typing
Code:
adb devices
if you get the expected out put push the rom with
Code:
adb push rom.zip /sdcard
The command window will appear unresponsive until the push is complete. When it's done install the rom with TWRP.
Sent from my SM-T230 using Tapatalk
thank you for your help. I've managed to copy rom file using 'push' option Hopefully it will be working fine now

Categories

Resources