Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
t0ny0
Old
(Last edited by t0ny0; 1st August 2011 at 02:10 AM.)
#1  
t0ny0's Avatar
Senior Member - OP
Thanks Meter 338
Posts: 944
Join Date: Jul 2008
Location: Atlanta, GA
Default [GUIDE][JULY/30/2011] S-OFF under Linux/Ubuntu

Alright guys,

This is for everyone that is not using windows or mac.

First of all - congrats! You made the right decision by not using them. Ha-ha!

Also - Thanks to everyone that was involved in getting us the so much needed S-OFF - Developers and Testers.

Now, to get S-Off you need to go to http://revolutionary.io/

Just in case - read everything that is in there, and remember that this is a Beta release, so sh*t can go wrong.

Click on "Download For Linux" . This will download revolutionary-0.3pre7.tgz

Now open Home folder, navigate to Downloads, find the file that you just downloaded, right click, and choose "extract here".

Or if you are using the console - you need to do this:

Navigate to the Downloads folder and

Code:
tar -zxf revolutionary-0.3-pre7.tgz
Now open your terminal, and navigate to the Downloads folder. You can do that by typing

Code:
cd ~/Downloads
Once you are in there - do the following:

Code:
sudo ./revolutionary
or if you are root, just do

Code:
./revolutionary
In general, its not a very good idea to stay logged in constantly as root, so yeah.

Once you downloaded the file - it redirected you to the Generator, where you need to put in your information about the phone.

Once you run revolutionary - you can find all the information needed in there, just put in the information, click on "generate", highlight the code, right click, copy, and then go to the console, right click, paste, and hit enter.

Once you get root and everything else, it will ask you if you want to install CWM. It is important to have that, so please choose "Y".
And now you can sit back and enjoy how this is magic

[EDIT]

If you have any problems with revolutionary finding the device - please make sure that you did add the appropriate udev rules to the file /etc/rules.d/51-android.rules

To make sure that your computer sees the phone - just type

Code:
adb devices
If you see it as "??????????????" - then you do need to follow the next guide to add the udev rules.

For more information on how to do that - please follow THIS GUIDE

For more information on how to use ADB under Ubuntu - please check out THIS GUIDE


Current Devices:
Samsung Galaxy Nexus GSM

Old Devices:
HTC Sensation 4G - Sold
MyTouch 4G - Sold
HTC HD2 - Sold
T-Mobile G2 - Sold
Nexus One - Sold
Viewsonic G-Tablet - Sold
HTC G1 - Eaten by my dog..
Samsung Vibrant - Sold
Samsung Nexus S - Sold
LG G2x - Sold (Warning! Crappy "phone")

If you think that I, or anyone else helped you, dont hesitate to hit the "THANKS" button. Thats why its there for .
The Following 14 Users Say Thank You to t0ny0 For This Useful Post: [ Click to Expand ]
 
dragon4000
Old
#2  
dragon4000's Avatar
Senior Member
Thanks Meter 6
Posts: 218
Join Date: Nov 2007
Location: Inglewood
Thanks, this worked like a charm! Thank to the devs that brought this to us! I've been eagerly awaiting this, almost took my bro's MT4G just to get my flashing fix!! All I need is an AOSP Rom and I'm golden, lol
T-Mobile G1 White
In the museum: Best Phone Ever!!

T-Mobile MyTouch 3G Slide White
Gave to Brother: He's rocking it now.

T-Mobile MyTouch 4G Black
Gave to other brother: He's rocking it now.

T-Mobile HTC Sensation
Rom: Gave to mom. She's rocking it now.

T-Mobile Samsung Galaxy SII White
Rom: Idk.. too many to choose from..
Recovery: ClockWorkMod 5.0.27

Galaxy Tab 10.1 WiFi only P7510
Rom: Task650's Galaxy Task 5.0
Recovery: 5.0.2.3
 
Thareal1
Old
#3  
Member
Thanks Meter 0
Posts: 45
Join Date: Jul 2010
I'm getting "waiting for device..."

Is there a certain point when I need to plug in my Sensation? I'm able to mount the phone with no issues in linux, but for some reason revolutionary won't identify it.
 
SeanyC
Old
#4  
Member
Thanks Meter 4
Posts: 32
Join Date: Jan 2008
Wow, 2 minutes with no hiccups on a UK Vodafone branded Sensation. Just carrying out a quick nandroid. Thanks for the tut, much appreciated.
 
redbullcat
Old
#5  
redbullcat's Avatar
Senior Member
Thanks Meter 138
Posts: 1,416
Join Date: Dec 2010
Location: Hampshire, England

 
DONATE TO ME
Thanks, will be using this to S-OFF my Sensation when I get home later today!

Ubuntu ftw

Sent from my HTC Sensation using XDA Premium App
Phone: Google Nexus 4, 16b. Stock, deodexed, zipaligned, optimised.
Tablet: ASUS Transformer Prime TF201 running official CM10 nightlies.

Phone history: Nexus One, Desire HD, HTC Sensation
 
t0ny0
Old
#6  
t0ny0's Avatar
Senior Member - OP
Thanks Meter 338
Posts: 944
Join Date: Jul 2008
Location: Atlanta, GA
Quote:
Originally Posted by Thareal1 View Post
I'm getting "waiting for device..."

Is there a certain point when I need to plug in my Sensation? I'm able to mount the phone with no issues in linux, but for some reason revolutionary won't identify it.
Did you add the add appropriate udev rules to the file /etc/rules.d/51-android.rules ?

Or with other words, when you are using adb under ubuntu - when you do adb devices - do you see your device with "?????????????" or do you see it like its really installed with numbers ?

If you havent added the udev rules - you can find more information on how to do it HERE


Current Devices:
Samsung Galaxy Nexus GSM

Old Devices:
HTC Sensation 4G - Sold
MyTouch 4G - Sold
HTC HD2 - Sold
T-Mobile G2 - Sold
Nexus One - Sold
Viewsonic G-Tablet - Sold
HTC G1 - Eaten by my dog..
Samsung Vibrant - Sold
Samsung Nexus S - Sold
LG G2x - Sold (Warning! Crappy "phone")

If you think that I, or anyone else helped you, dont hesitate to hit the "THANKS" button. Thats why its there for .
 
marcjw
Old
#7  
Senior Member
Thanks Meter 79
Posts: 289
Join Date: Mar 2011
Location: suburban St. Paul, MN
Quote:
Originally Posted by t0ny0 View Post
Alright guys,
This is for everyone that is not using windows or mac.
Holy smokes, was this easy!! Between your guide and ikhzter's sticky, I had root in about 10 mins. 15 mins later I had a full TB backup. Outstanding!
 
t0ny0
Old
#8  
t0ny0's Avatar
Senior Member - OP
Thanks Meter 338
Posts: 944
Join Date: Jul 2008
Location: Atlanta, GA
Quote:
Originally Posted by marcjw View Post
Holy smokes, was this easy!! Between your guide and ikhzter's sticky, I had root in about 10 mins. 15 mins later I had a full TB backup. Outstanding!
Glad I could help. Plus the guys that made Revolutionary really did their best to make life easy for us


Current Devices:
Samsung Galaxy Nexus GSM

Old Devices:
HTC Sensation 4G - Sold
MyTouch 4G - Sold
HTC HD2 - Sold
T-Mobile G2 - Sold
Nexus One - Sold
Viewsonic G-Tablet - Sold
HTC G1 - Eaten by my dog..
Samsung Vibrant - Sold
Samsung Nexus S - Sold
LG G2x - Sold (Warning! Crappy "phone")

If you think that I, or anyone else helped you, dont hesitate to hit the "THANKS" button. Thats why its there for .
 
pezhman32
Old
(Last edited by pezhman32; 1st August 2011 at 02:02 AM.)
#9  
Junior Member
Thanks Meter 5
Posts: 14
Join Date: Feb 2010
Hi
I've tried to do that but :
Quote:
Acquiring root (method 3)...
Sending in Caroline...
Cleaning up...
Rebooting to fastboot...
When life gives you lemons, don't make lemonade. Make life take the lemons back!
Waiting for fastboot...
Rebooting to fastboot (again)...
Rebooting to fastboot (yet again)...
Rebooting to fastboot (Once moar...)
SUCCESS - Life gave us lemons, we didn't make lemonade!

Do you want to download (Internet connection required) and flash ClockworkMod Recovery? [Y/n] y

Downloading recovery for your phone (pyramid)...
^C
At this section i've lost my internet connection and nothing happend, then i did ctrl+c and after rebooting i've tried to do it again:
Quote:
Waiting for device...
Found your device: HTC Sensation Z710e (pyramid-1.17.1011, Android: 2.3.3, ROM version: 1.35.720.1)

Your device is not supported at this time.
now i dont have ClockworkMod.
I've installed rom manager to install ClockworkMod, the romManager says that it couldnt find sudo user at /system/(x)bin/su

when im rebooting into recovery mod, it says that device is S-OFF.

to access root i found this on http://revolutionary.io/
Quote:
Does Revolutionary give me root?
No. You will need to flash this zipfile from recovery.
when i tried to flash it, it says that signauture verification failed...
i've read from this page that i must install clockworkMod to disable signature verification but rom manager says "an error occured while attemting to run privileged commands!"
it seems that im in a loop...
 
t0ny0
Old
#10  
t0ny0's Avatar
Senior Member - OP
Thanks Meter 338
Posts: 944
Join Date: Jul 2008
Location: Atlanta, GA
Quote:
Originally Posted by pezhman32 View Post
Hi
I've tried to do that but :

At this section i've lost my internet connection and nothing happend, then i did ctrl+c and after rebooting i've tried to do it again:

now i dont have ClockworkMod.
I've installed rom manager to install ClockworkMod, the romManager says that it couldnt find sudo user at /system/(x)bin/su

when im rebooting into recovery mod, it says that device is S-OFF.
so where doese my root gone?! what should i do now?!
You can find more information here - http://forum.xda-developers.com/show....php?t=1192300

Or to be exact - you need this:


Quote:
Originally Posted by ikhzter View Post

STEP 2. To INSTALL Clockwork Recovery mod- v4.0.1.4 from Revolutionary. Issue With not charging when Device is completely switched off - DOES CHARGE WHEN HIBERNATING (SWITCHING OFF on stock rom) WITH FASTBOOT ENABLED
YOU MUST READ ABOUT THE CHARGING ISSUE in post 3 below before installing!!!!!
1. Download clockworkmod recovery by Revolutionary for the Sensation HERE:
2. Copy the PG58IMG file into the Root folder of your SD card (The main Folder of your Memory Card)
3. Turn off your phone FUlly and reboot into the Bootloader/HBOOT screen (see post above on how to get to hboot screen)
4. Press Volume up to Accept when it asks" Do you want to start the update"
5. Press Power Off to Reboot back to android after installation is successful (normal screen with homescreen)
6. Delete PG58IMG from your memory card and you can now root using step 3 below or install a custom ROM using CWM (Customs Roms are already rooted)
7. Turn the phone back on. click settings > Power > ensure fastboot is enabled (ticked). This will help you charge incase your battery dies. If you hibernate (or switch off on stock roms) with fastboot enabled your phone will still charge
IF YOUR BATTERY IS LOW, SWITCH OFF WITH FASTBOOT ENABLED TILL YOU CAN CHARGE IT (Press Hibernate (on stock Roms) or power off if you don't have hibernate)
IF YOUR PHONE BATTERY DIES WHILST YOU ARE USING IT. DO NOT POWER IT ON OR PULL THE BATTERY OUT.
Make sure you have had it on charge for at least a few minutes then turn it on as normal and continue charging

Currently with fastboot enabled when your phone dies it will hibernate. allowing you to still charge it. If you plug in your charger then switch on, it will boot back up in a few seconds as fastboot is active and it will resume from where you left off.
Turning off without fastboot means your phone will fully turn off not hibernate and your phone will not charge when turned off.

Step 3. To permanently root your Sensation - (This means you will NOT LOSE ROOT on rebooting) DOES NOT AFFECT WIFI
1. Download the file su-2.3.6.3-ef-signed.zip from here: DOWNLOAD
2. Copy su-2.3.6.3-ef-signed.zip to your SD card root folder (main folder of your memory card)
3. Start clockworkmod recovery (instructions below)
4. BACKUP YOUR ROM USING CWM BEFORE ATTEMPTING ROOT!
5. Navigate to "Backup & Restore" using the Volume Down button and press select (power button to select) then select "Backup"
6. Select "install zip from sdcard" after backing up
7. Then select "Choose zip from sdcard"
8. Then select "su-2.3.6.3-efgh-signed.zip"
9. Then select "Yes - install su-2.3.6.3-efgh-signed.zip" to confirm
10. Then go back
11. Then reboot.
12. You're rooted!



Current Devices:
Samsung Galaxy Nexus GSM

Old Devices:
HTC Sensation 4G - Sold
MyTouch 4G - Sold
HTC HD2 - Sold
T-Mobile G2 - Sold
Nexus One - Sold
Viewsonic G-Tablet - Sold
HTC G1 - Eaten by my dog..
Samsung Vibrant - Sold
Samsung Nexus S - Sold
LG G2x - Sold (Warning! Crappy "phone")

If you think that I, or anyone else helped you, dont hesitate to hit the "THANKS" button. Thats why its there for .

The Following User Says Thank You to t0ny0 For This Useful Post: [ Click to Expand ]
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Preventing App Piracy: Join the Discussion

The topic of piracy is always a touchy subject, but I feel that the grass roots style of Android … more

Jolla Sailfish OS Flagship Device Makes First Appearance

Given the amount of coverage that Android receives around here, you could almost be … more

XDA University: Porting ClockworkMod Recovery to New Devices

Having a good recovery makes the process of modifying, tweaking, maintaining, … more

One Stop Guide Shop for the Newbie and Dev

It’s been well established that XDA-Developers isthedestination for resources relating to … more