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

chakra

Senior Member
Apr 9, 2005
2,034
630
0
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)
 

lokicat

Senior Member
Sep 6, 2012
79
13
0
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
0
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,266
1,423
0
28
Texas
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,944
0
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:

 
Last edited:

chakra

Senior Member
Apr 9, 2005
2,034
630
0
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
0
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
0
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,944
0
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: