[S-OFF] revone - DEVELOPER EARLY ACCESS PREVIEW EDITION

Search This thread

chakra

Senior Member
Apr 9, 2005
2,034
630
Do adb shell after you pushed it.

Sent from my One using Tapatalk 4 Beta

the file is on my device.


Where do I type adb shell? On my device = didnt work, on my MAc = -bash: adb: command not found?


The file is already on my device (just incase you ask for a third time)
 

Rydah

Inactive Recognized Contributor
Oct 4, 2008
5,514
2,084
Southern California
Anybody know how to backup your CID? Or would for example fastboot oem writecid SPCS_001 work?

Sent Via My HTC One, On The Now Network By Sprint!
 

lokicat

Senior Member
Sep 6, 2012
79
13
when I type adb shell it says -bash: adb: command not found?

If you are using Mac terminal, then either create a path file for the adb command or just type "./adb" in the same directory where the adb command is located. The "./" prefix tells bash where the adb command is.

If you are also wondering about the shell, it's "./adb shell" which will swap you to the phone's file directory.
 
  • Like
Reactions: mojolive

popokrew

Senior Member
Oct 9, 2010
214
39
Ft Lauderdale
when I type adb shell it says -bash: adb: command not found?

Instructions for doing this on the device:

Use any operating system you like, you only need adb.

1. Download revone and use Root explorer to move it to /data/local/tmp/
2. Open terminal app and:
* cd /data/local/tmp
* chmod 755 revone (NOTE: may be revone.bin, use "ls" in the directory to verify)
3. (optional) If your device is unlocked and rooted please switch to root using su. (accept any SU request)
4. Prepare to gain S-OFF by running the command: ./revone -P
4a. If revone reports success reboot the device and proceed to step 5)
4b. If revone reboots the device (we'll pretend this isn't an undiagnosed random crash) please wait 2 minutes then try again from step 2.
4c. If revone reports that you need to reboot and try again please reboot and try again from step 2.
5. Now that revone has successfully prepared your device for S-OFF please open terminal app (as per step 2) and change to
the /data/local/tmp directory. cd /data/local/tmp
6. Instruct revone to grant you S-OFF and unlock status by running the command: ./revone -s 0 -u
6a. Other optional command arguments:-
* -u - Unlock the device
* -l - Lock the device (as if it was never unlocked)
* -r - Relock the device (mark the device as relocked)
* -t - Reset the device's tamper flag.
7. Presuming revone reported success please reboot the device again, this time to the bootloader - use APM or terminal app "reboot bootloader"
8. You should now observe your device is S-OFF (and the lock status changed if you invoked that option).
9. (optional) Re-run revone to remove TAMPERED from your HBOOT screen: ./revone -t

CREDIT: OP -- I just changed it to be device friendly.

NOTE: if you have trouble following this or the OP, maybe its best you dont mess with your phone :D
 

superchilpil

Senior Member
Sep 26, 2009
4,278
1,432
Texas
OnePlus 8 Pro
Nubia Red Magic 6
Can you post a walkthrough guide in order to run this from the device?
It's pretty simple, but you need to be rooted for my method

download the revone file and remove the .bin from the name

I placed it in /system/bin so I can run it as a command without having to CD to directory

Run in terminal
Code:
cd /system/bin
Then
Code:
chmod 755 revone

Then run
Code:
revone -P

If successful reboot

Then run
Code:
revone -s 0
to set s-off


Sent from my HTC One using Tapatalk 4 Beta
 
Last edited:

vomer

Senior Member
Nov 21, 2008
4,615
8,945
Instructions for Mac Users
(can be used on windows as well - just skip part 1)

Following this will get you:

- S-OFF & Unlocked
- Super CID

Part 1

Install ADB on your mac:

https://code.google.com/p/adb-fastboot-install/

1. Extract the downloaded zip to your dektop
2. Open Terminal and type in: cd Desktop/Android/ (note: Android is the directory extracted from zip file)
3. Now type ./ADB-Install-Mac.sh

Done.


Part 2 (instructions by link - modified slightly)

1. Pushed revone to my device: adb push revone /data/local/tmp/

2. Opened adb shell by writting: adb shell (type in su for superuser access)

3. Wrote in the shell: cd /data/local/tmp

4. Then I wrote this: chmod 755 revone

5. wrote the following command: ./revone -P

6. Revone reported that I needed to reboot and try again. So I wrote : reboot

7. Opened (again) adb shell: adb shell

8. Wrote (to change directory in the phone): cd /data/local/tmp

8a. Wrote the following command: ./revone -P (it will now say success and ask to reboot phone - do it by typing: reboot)

8b. Once rebooted - repeat steps 7 & 8

9. To get S-OFF & unlock, I wrote the following command: ./revone -s 0 -u

10. revone reported success and wrote following to exit the shell: exit (or just close terminal and open a new one)

11. Then I wrote following command to reboot into bootloader: adb reboot bootloader

12. Bootloader showed that I got S-OFF

13. Rebooted phone

14. Started the adb shell, again: adb shell

15. Changed to the folder where revone is stored: cd /data/local/tmp

16. Requested revone to reset tampered flag (again): ./revone -t

17. Exited the adb shell by writting: exit (or just close terminal and open a new one)

18. Rebooted to the bootloader by writting: adb reboot bootloader

19. S-OFF and tampered reset... :good:

Part 3

To modify your CID - to get super CID:

1. Open terminal and type (copy paste command below or make sure there a eight 1's):

Code:
fastboot oem writecid 11111111

2. Reboot phone into bootloader mode and verify CID#. It should look similar to this:

RqUzYMD.jpg
 
Last edited:

letmeputdatipin

Senior Member
Nov 5, 2011
741
346
Got s-off baby on the sprint variant! Did it directly from the phone term. emulator, worked like a charm, u guys r the best THANK UUUU!!!!!!
 

chakra

Senior Member
Apr 9, 2005
2,034
630
If you are using Mac terminal, then either create a path file for the adb command or just type "./adb" in the same directory where the adb command is located. The "./" prefix tells bash where the adb command is.

If you are also wondering about the shell, it's "./adb shell" which will swap you to the phone's file directory.

What does create a path mean, like set up a walk way?

I know what it means, but how?


OK so I typed /adb shell and it sayys adb is a directory, so just type the command and no go?
 

daddioj

Senior Member
Jul 23, 2011
1,456
210
Poconos
Worked like a charm att htc one 32gb black on revolution 10.1

---------- Post added at 06:05 PM ---------- Previous post was at 06:04 PM ----------

How can I remove this build is for development only?

./revone -t use that to remove tampered. should get rid of the development only. but i m not 100%
 

daddioj

Senior Member
Jul 23, 2011
1,456
210
Poconos
yeah it's S-OFF, it worked the first time and i rebooted bootloader to see the change but it wasn't there, gave it the command again and it gave me error. :-/

i am not sure. kill adb and reboot phone in fastboot and try again

---------- Post added at 11:10 PM ---------- Previous post was at 11:09 PM ----------

dude i am a MORON, lol i missed one 1. lol it's one now :) now time to take off the damn TAMPERED

woohoooooo
 
  • Like
Reactions: dronepro

vomer

Senior Member
Nov 21, 2008
4,615
8,945
What does create a path mean, like set up a walk way?

I know what it means, but how?


OK so I typed /adb shell and it sayys adb is a directory, so just type the command and no go?

Read the guide I posted on the last page. Tells you everything now :good:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1065
    MOD EDIT: In order to prevent undue questions and excessive off-topic I'm making this edit to the op to inform the users revone does not support HBOOT 1.54.

    What is "EARLY ACCESS PREVIEW"?

    We want to give you S-OFF as soon as practically possible so an early access preview release is not a polished product but it does work (mostly). It will:-

    * require knowledge of common android tools like adb and/or fastboot
    * be a command line tool
    * be rough around the edges
    * probably crash sometimes
    * fail to work everytime or in all cases or on different carrier ROMs - LET US KNOW if you get repeated failure on carrier variants.
    * certainly not look pretty.
    * despite being "early access" be very unlikely to brick your device (but naturally, this is possible, it's still a hack).
    * give you a very good chance of getting S-OFF. Today. Right now.

    Status

    * revone has been known to grant S-OFF on the latest WWE & EU RUU, T-Mobile and AT&T versions, as well as Sprint HTC One.
    * revone might also work on the Droid DNA 2.04 and 2.06. Awaiting (your) feedback.

    Download

    * Get the Android SDK for ADB. You may need to update to the latest version of the SDK for jellybean devices.

    * Download revone: http://revolutionary.io/revone

    Instructions

    Use any operating system you like, you only need adb.

    1. Download revone (above) and push it to your device: adb push revone /data/local/tmp/
    2. Open an adb shell and:
    * cd /data/local/tmp
    * chmod 755 revone
    3. (optional) If your device is unlocked and rooted please switch to root using su.
    4. Prepare to gain S-OFF by running the command: ./revone -P
    4a. If revone reports success reboot the device and proceed to step 5)
    4b. If revone reboots the device (we'll pretend this isn't an undiagnosed random crash) please wait 2 minutes then try again from step 2.
    4c. If revone reports that you need to reboot and try again please reboot and try again from step 2.
    5. Now that revone has successfully prepared your device for S-OFF please open another adb shell (as per step 2) and change to
    the /data/local/tmp directory.
    6. Instruct revone to grant you S-OFF and unlock status by running the command: ./revone -s 0 -u
    6a. Other optional command arguments:-
    * -u - Unlock the device
    * -l - Lock the device (as if it was never unlocked)
    * -r - Relock the device (mark the device as relocked)
    * -t - Reset the device's tamper flag.
    7. Presuming revone reported success please reboot the device again, this time to the bootloader (adb reboot bootloader)
    8. You should now observe your device is S-OFF (and the lock status changed if you invoked that option).
    9. (optional) Re-run revone to remove TAMPERED from your HBOOT screen: ./revone -t

    Credits

    revone is brought to you by the Revolutionary dev team.

    We've been silent, we're back.

    Disclaimer

    Revolutionary dev team disclaims all responsibility for your use of revone (and any of our tools): If the world ends, it's not our fault. If your device spontaneously ignites, well, that's not our fault either. You make the choice to use our tool, we don't force it upon you.

    Support

    Please visit #revolutionary on the Freenode IRC network. We will try to support you in the best way possible, but remember, this is early access, and operators might be asleep or not available at the time you join. Just hang around and wait for someone to answer.
    214
    ALTERNATE revone binary (v0.2.1-wlj)

    Alternate revone binary for the HTC J One (m7_wlj) only, if the main one crashes, reboots or otherwise does not work.

    Download: revone-0.2.1-wlj

    UPDATED revone binary (v0.2.1)

    * Safety update: No longer allows -s 3 since this can lead to bricks with custom HBOOTs, use: fastboot oem writesecureflag 3 (which is safer - and checks such things)
    * Fix: delusions of grandeur - revone now no longer reports success when it fails.
    * Outside chance some previous failures will now be successful but most likely they will just correctly report failure.

    Please note that due to the safety update ALL previous versions have been replaced with v0.2.1 and are hence no longer supported.

    YOU WILL NOT RECEIVE SUPPORT FOR A VERSION LESS THAN v0.2.1

    Download (and any previous link): revone-0.2.1

    UPDATED revone binary (v0.2)

    * Remove the random reboot feature.
    * Vastly reduce the error -6 probability.

    Download: revone-0.2

    Use as per OP instructions renaming or name substituting as appropriate.

    Reverting to S-ON (updated)

    * ./revone -l
    * fastboot oem writesecureflag 3

    Instructions updated since stating "fastboot oem lock" was a fail - my bad! xD

    Stuck with error: -1?

    When initiating a reboot after "./revone -P" please press and hold the power button for 15 seconds.

    To start the entire process from scratch please power off the device and wait 30 seconds, turn it on and continue to ."/revone -P".

    Redistribution/Bundling revone

    Permission is not given to redistribute and/or bundle revone into "one click" utilities (or similar). Please only obtain revone directly from us, this allows us to ensure the most up to date version is available in case of any critical issues.

    Many thanks for your understanding.
    25
    Instructions for Mac Users
    (can be used on windows as well - just skip part 1)

    Following this will get you:

    - S-OFF & Unlocked
    - Super CID

    Part 1

    Install ADB on your mac:

    https://code.google.com/p/adb-fastboot-install/

    1. Extract the downloaded zip to your dektop
    2. Open Terminal and type in: cd Desktop/Android/ (note: Android is the directory extracted from zip file)
    3. Now type ./ADB-Install-Mac.sh

    Done.


    Part 2 (instructions by link - modified slightly)

    1. Pushed revone to my device: adb push revone /data/local/tmp/

    2. Opened adb shell by writting: adb shell (type in su for superuser access)

    3. Wrote in the shell: cd /data/local/tmp

    4. Then I wrote this: chmod 755 revone

    5. wrote the following command: ./revone -P

    6. Revone reported that I needed to reboot and try again. So I wrote : reboot

    7. Opened (again) adb shell: adb shell

    8. Wrote (to change directory in the phone): cd /data/local/tmp

    8a. Wrote the following command: ./revone -P (it will now say success and ask to reboot phone - do it by typing: reboot)

    8b. Once rebooted - repeat steps 7 & 8

    9. To get S-OFF & unlock, I wrote the following command: ./revone -s 0 -u

    10. revone reported success and wrote following to exit the shell: exit (or just close terminal and open a new one)

    11. Then I wrote following command to reboot into bootloader: adb reboot bootloader

    12. Bootloader showed that I got S-OFF

    13. Rebooted phone

    14. Started the adb shell, again: adb shell

    15. Changed to the folder where revone is stored: cd /data/local/tmp

    16. Requested revone to reset tampered flag (again): ./revone -t

    17. Exited the adb shell by writting: exit (or just close terminal and open a new one)

    18. Rebooted to the bootloader by writting: adb reboot bootloader

    19. S-OFF and tampered reset... :good:

    Part 3

    To modify your CID - to get super CID:

    1. Open terminal and type (copy paste command below or make sure there a eight 1's):

    Code:
    fastboot oem writecid 11111111

    2. Reboot phone into bootloader mode and verify CID#. It should look similar to this:

    RqUzYMD.jpg
    21
    OMFG!

    Seriously people. How can so many of you not read!! Let me make this more obvious for everyone that can't be bothered to read before posting that they can't S-Off for whatever reason.

    You should/can only use revone to S-Off if;-

    1. You are on or flash a STOCK Sense 5, Android 4.1 ROM

    2. Have an old un-patched 1.44 HBoot or If on T-Mob or AT&T and on Patched 1.44 HBoot You can Downgrade using one of the easy to find guides provided

    3. Use the up to date 0.2.1 revone (the older ones give false successes)

    4. Are Rooted (Not necessary but seems to improve chances of success)

    5. Are not using a 4.2 ROM

    6. Are not using a GE ROM

    7. Are not on HBoot 1.54

    8. Are not on HBoot 1.54

    9. ARE NOT ON HBOOT 1.54

    10. Are not an Idiot!

    Some of these may not apply but if you want to garuntee revone working then you should follow these rules! Also in addition to this. READ THE OP and POST 2! They are your revone bible and will tell you what to do.

    Notes on Error codes (from my experience, and what I've read!);-

    Error Code -1 = Potentially you need to try a different ROM or it could just be random and after a few tries and reboots it might work. A few people have reported that rebooting and useing -p rather than -P has worked but I'm not convinced as -p isn't built as a command but you're free to try whatever you wish.

    Error Code -2 = I've seen people report this but revone has actually worked so should you see this try and reboot and carry on, if not then try changing ROMs and try again.

    Error Code -6 = More then likely you're on either a patched or a 1.54 HBoot and you're not going to be able to S-Off. If you reboot to bootloader and you're on 1.44 then you might be able to downgrade using one of the guides on xda. Xboarder's guide on rootzwiki for TMob is a good one.

    Error Code 1 = I've had this myself and this basically means it's not ever going to work. I think it's a variant on the -6 Error. If you see this, you're out of luck IMO.
    21
    Ok guys, sorry for the long down time of this thread. I have updated the op of this thread with a note that should help prevent further undue questions and off-topic.

    Basically revone does not support HBOOT 1.54 at this time.