Gfree S-OFF - G2 and Desire Z Q&A, Help & Troubleshooting

I recently Perm-Rooted and S-offed my T-mobile G2 using the Rage method and I just wanted to know is the S-off Method used the same as the Gfree True S-Off I am reading about?

Baphometa said:
I recently Perm-Rooted and S-offed my T-mobile G2 using the Rage method and I just wanted to know is the S-off Method used the same as the Gfree True S-Off I am reading about?
Click to expand...
Click to collapse
Unless when you rooted you pushed the gfree file to your data/local with this command in adb :
$ adb push gfree /data/local
and the entered the following commands:
# cd /data/local
# chmod 777 gfree
# ./gfree -f
# sync
Then no you probably dont have radio s-off, super CID, sim unlock yet
Heres a link to the gfree guide on the HTC Vision Wiki.
http://forum.xda-developers.com/wiki/index.php?title=HTC_Vision#Rooting_the_G2
There is a diffrence between perm rooting with just Rage, and perm rooting with gfree+root. Follow the link above to the wiki for more detailed explainations.

First off Thanks for the reply I'm guessing since this guide i used http://forum.xda-developers.com/showthread.php?t=834228 didnt have those commands anywhere i could see that i dont have the radio s-off
Is it possible to just use those commands you posted to apply the radio s-off or will i have to go through a longer process?

Baphometa said:
First off Thanks for the reply I'm guessing since this guide i used http://forum.xda-developers.com/showthread.php?t=834228 didnt have those commands anywhere i could see that i dont have the radio s-off
Is it possible to just use those commands you posted to apply the radio s-off or will i have to go through a longer process?
Click to expand...
Click to collapse
Heres the link to gfree instructions, all you have to do is read and follow the instructions, shouldn't take you more than 10 or 15 minutes to gfree, remember some custom roms and kernels arn't working with gfree also some radio fireware versions, so make sure you have a compatible rom first, there is a list on the link I just gave you, after gfree is ran you can load any rom you want onto the phone and will still be gfree.
http://forum.xda-developers.com/showthread.php?t=855764

Thanks for all the help I really appreciate it espcially since im about as noob as it get with this stuff.
BTW got the gfree to work properly Thanks again!

Baphometa said:
Thanks for all the help I really appreciate it espcially since im about as noob as it get with this stuff.
BTW got the gfree to work properly Thanks again!
Click to expand...
Click to collapse
Glad I could help and believe me if you got ADB up and running and pushing commands to your phone thats half the battle so your not that much of a noob.

Related

[Q] Undo old permaroot & S-OFF from pre-gfree, or update to new S-OFF?

Hi guys,
I've been reading through the forums over the past two days but I have to admit it's hard to find what I am looking for now that the G2 forum and the DZ forum are merged, and the search isn't getting me anywhere for this one.
I have Bell Canada Desire Z permarooted and S-OFF'd, with CWMod. I did this before the newer gfree method and from what I can gather this can lead me to some kind of endless loop if I try to flash back to the a Bell RUU or other RUUs for that matter. It also worries me that I can't try new radios, etc.
I am getting very poor battery life compared to others so I want to have my phone replaced. I have an extended warranty from FutureShop so I probably don't even need to reset the phone to stock again (they swap on the spot) but I would like to anyway. It will also allow me to test the battery again with the stock ROM.
So, how do I go about flashing back to the Bell ROM and turning S-ON, and unrooting? Keeping in mind that I used the pre-gfree method. I believe it was Visionary R12 and gtab's guide.
Also as the title implies, I was wondering if it's possible to use the new (better) S-OFF even if I am already S-OFF'd the old way?
Any help is appreciated!
You can use gfree and achieve "real" S-OFF without having to unroot.
Just run it. Worst that'll happen is it fails if you happen to be on a kernel it doesn't like. If this happens, no harm is done, just a reboot.
Just run gfree from where you are, as the previous poster said.
That will put you in a much safer position, where you can get stuck in that boot loop that you can if you've only got the eng hboot.
Then you can flash whichever ROM you want. Then you can undo gfree if you want via its new options (see the Wiki).
Regarding your point about the merger, IMHO this issue isn't anything to do with the DZ specifically, and lots of users are posting about similar stuff with their G2s. It's all the same
Thanks guys,
I've done gfree (which is MUCH easier than the thread and wiki make it look - they need to simplify the text, it's overwhelming to look at given how simple the procedure is) and flashed the Bell RUU.
Now I am just about to root, and use gfree to undo the S-OFF I guess?
Will let you know how that turns out. Thanks again!
Ok,there is a new gfree method to get root and S-Off.
And gfree can now also be used to set radio S-ON.
But what about the backup "part7backup-1291675121.bin"
which gfree created at my sdcard?
No longer needed?
And with the new root and S-Off method,is it now possible to
to flash stock RUU 1.34.405.5 to get all original?
Because with old UBERROOT method this doesn`t work!
Ganii said:
Ok,there is a new gfree method to get root and S-Off.
And gfree can now also be used to set radio S-ON.
But what about the backup "part7backup-1291675121.bin"
which gfree created at my sdcard?
No longer needed?
And with the new root and S-Off method,is it now possible to
to flash stock RUU 1.34.405.5 to get all original?
Because with old UBERROOT method this doesn`t work!
Click to expand...
Click to collapse
I'd keep that backup file as it is a dump of your original partition 7 before gfree mods it. You can dd i back and put everything back to how it was, if you ever need to. Do you need to keep it on the phone? No.. store it somewhere on your PC.
With the old "fake" S-OFF you would get stuck if you flashed a stock rom because it would overwrite the engineering HBOOT which was the only thing making your phone think it had S-OFF. With gfree method, you have real S-OFF, so this should be fine.
See http://forum.xda-developers.com/showthread.php?t=838484 for details.
tl;dr You should be fine.
Hm,little bit confused!
The backup I need to get original original partition 7
but not to get S-On.
To get S-On I can use the new gfree method,it`s now
possible with this!
I did the old UBERROOT method with real S-Off!
P.S.I read here about this:
http://forum.xda-developers.com/wiki/index.php?title=HTC_Vision#Rooting_the_G2
Not 100% sure I understand the question...but:
You don't need that backup file. If you delete it nothing bad will happen. Paranoid people (like me) would copy it to a safe place, but there's no real need.
You can flash whatever roms you like, including stock ones, as long as you have real, radio (gfree) S-OFF.
Hi guys, thanks for the help! I got it all settled, it was easy.
As I mentioned above, I used gfree to do a true S-OFF, which was easy.
Then I ran Bell's RUU and it worked without any issues. I assume the RUU install also flashes the HTC recovery back to the phone, I didn't check but it must..
A little summary for anyone who needs help in the future..
If you rooted/S-OFF'd using a method older than the current rage/gfree method (the one in the wiki) then you need to redo the S-OFF using gfree.
Steps:
Use gfree -f to S-OFF again
Run the stock RUU file on your pc (you need HTC sync installed for this)
Temproot (first part of the wiki guide) the stock ROM
Use gfree -s on to S-ON your phone
Reboot, and everything should appear like stock (aside from still being sim-unlocked).
Were u sucessful in returning your phone to htc after u did the above?
I didn't have to return it to htc, just to future shop, and it was fine.
Sent from my GT-I9000 using XDA App

[Q] Help and question with s-off and permroot

Sorry if this in the wrong place, feel free to move or delete if so, but I had some questions.I really want to root and s-off so I can but CM on it but I'm so chicken to do it. Should I just wait for a one-click root and s-off? Or am I going to have no such luck??
Rooting the g2 is significantly easier than it was before now that we have the gfree method. I decided to stop being a chicken last night and rooted mine. It took around two hours for me to read all the instructions and set everything up. I suggest you read the guide on how to setup adb. If that seems too hard, you might want to wait but there's no telling if or when a one click root is gonna be available.
Doesn't VISIONary support basically a 1-click root? Download, install, and click "attempt perm root now" i thought.
VISIONary is VERY unreliable, rage method is quick and painless and only requires the knowledge of simple adb commands
omarsalmin said:
rage method is quick and painless and only requires the knowledge of simple adb commands
Click to expand...
Click to collapse
Actualy it doesn't. All you have to do is relax and copy/paste. There's a nice and simple guide on CM Wiki
Sent from my HTC Vision using XDA App
Thank you to everyone who replied. Maybe now ill get the guts to do it. Could you give me the link to that CM Wiki you were talking about though?
niiza said:
Thank you to everyone who replied. Maybe now ill get the guts to do it. Could you give me the link to that CM Wiki you were talking about though?
Click to expand...
Click to collapse
http://wiki.cyanogenmod.com/index.php?title=TMobile_G2:_Rooting
awesome, so i can copy and paste those commands into the terminal right? to try and avoid any mistakes
Yes, basically that stuff in Cyanogen's Wiki has been copied and pasted from the XDA Vision Wiki at http://forum.xda-developers.com/wik...cess_.28Permanent_Root_.2F_.22Permaroot.22.29
If you need a guide on how to get adb setup on your PC, see http://forum.xda-developers.com/showthread.php?t=865685
okay so i permrooted my g2, im pretty sure it worked because when i type 'su' into the terminal now i get # instead of $. and first time i got the superuser permissions prompt as well.
so i did that correct right?
does this also mean i have s-off???
niiza said:
okay so i permrooted my g2, im pretty sure it worked because when i type 'su' into the terminal now i get # instead of $. and first time i got the superuser permissions prompt as well.
so i did that correct right?
does this also mean i have s-off???
Click to expand...
Click to collapse
If you can get the root (#) prompt after a reboot then yes, you have permanent root.
This is not connected with S-OFF though. To check that (how did you do the root/S-OFF ?) you can reboot into the bootloader (hboot) - with the phone switched off, hold Volume Down and then hold Power till it switches on. Check the line at the top which will say "S-ON" or "S-OFF".
If you used gfree to get S-OFF, then you can use gfree_verify to check it did everything it was supposed to - see the Wiki for details on this.

@CID: HTC__044 - What does it mean?

I was following instructions on verifying if my HTC Desire Z has been rooted using this guide
I was expecting to see the result as the same subject as above but got this instead
===================
$ su
su
# cd /data/local
cd /data/local
# chmod 777 gfree_verify
chmod 777 gfree_verify
# stop ril-daemon
stop ril-daemon
# ./gfree_verify
./gfree_verify
gfree verify_cid returned:
@CID: HTC__044
OK
gfree verify_secu_flag returned:
@secu_flag: 0
OK
gfree verify_simlock returned:
@SIMLOCK= 00
OK
===================
What does HTC__044 mean?
it means that you do not have supercid
tazz9690 said:
it means that you do not have supercid
Click to expand...
Click to collapse
Despite that, did I do a successful root?
From the information you posted, you are S-Off (@secu_flag:0) and your sim is unlocked (@SIMLOCK=00), so you should have successfully rooted.
Just to verify, do you have superuser privileges? If you do, then you should be set.
If you want the supercid privileges, I cannot help you there. I did not have that problem when I used gfree, nor have I seen anyone else with this problem.
Quick question though. Since you have everything but supercid, did you run:
# ./gfree -f
# sync
Or did you run another line besides "-f".
That is the only thing that I can see as to why you do not have it, but then again, my knowledge is limited when it comes to gfree.
tazz9690 said:
From the information you posted, you are S-Off (@secu_flag:0) and your sim is unlocked (@SIMLOCK=00), so you should have successfully rooted.
Just to verify, do you have superuser privileges? If you do, then you should be set.
If you want the supercid privileges, I cannot help you there. I did not have that problem when I used gfree, nor have I seen anyone else with this problem.
Quick question though. Since you have everything but supercid, did you run:
# ./gfree -f
# sync
Or did you run another line besides "-f".
That is the only thing that I can see as to why you do not have it, but then again, my knowledge is limited when it comes to gfree.
Click to expand...
Click to collapse
I did run -f and sync. The Superuser app is on the applications menu. I just wanted to make sure I was properly rooted. I was also able to make a backup of the ROM (I already had S-Off before from a previous attempt). I tried following the procedure to set S-Off back to S-On using #./grfree -s on but I got permission denied. I am not sure if I was doing it right.
My HTC Desire Z was bought in Singapore last December and this is the current About Phone information I have:
=========
Android version 2.2
Baseband version 12.28b.60.140eU_26.03.02.26_M
Kernel version 2.6.32.21-gd2764ed [email protected] #1 Tue Oct 26 16:04:03 CST 2010
Build number 1.34.707.5 CL273326 release-keys
Software Number 1.34.707.5
Browser version
Webkit 3.1
==========
I am not even sure if this already has the 1.72 update everyone has been talking about. How do I find that out?
Your software number tells you what version you are running.
You have 1.34, not the 1.72 update.
If you had the 1.72 update, you would not have been able to use the wiki, you would have had to use the new method (psneuter) to obtain temp root and then downgrade to an older version to then be able to use gfree.
tazz9690 said:
Your software number tells you what version you are running.
You have 1.34, not the 1.72 update.
If you had the 1.72 update, you would not have been able to use the wiki, you would have had to use the new method (psneuter) to obtain temp root and then downgrade to an older version to then be able to use gfree.
Click to expand...
Click to collapse
Thanks! I was able to flash to Cyanogen 6.1.1 but the onscreen buttons are just making haptic feedback but no response. I'll see what I can find to get this one working and will try other ROMs as well. I am currently downloading MIUI. What other ROMS can I try?
iamthechickengod said:
Thanks! I was able to flash to Cyanogen 6.1.1 but the onscreen buttons are just making haptic feedback but no response. I'll see what I can find to get this one working and will try other ROMs as well. I am currently downloading MIUI. What other ROMS can I try?
Click to expand...
Click to collapse
Cynogen Mod and MIUI are like the only ones ;p
you could try GingerVillan 1.4 but that requires Clock works recovery 3.0
You can also try a rooted sense rom as well, if you so please.
Also, the CM7 nightlies are on the Cyanogenmod website if you so please to run that, but that requires clockworkmod recovery 3.x.x.x
Stuck with HTC__044
I did the gfree per rooting process with -s off only. I have even installed cm7 with no problem. Now i need totryied change my CID to 11111111 to update more things. I tried running gfree again with -cid 11111111 but no success. How do i change it? Im stuck.

[Q] Best Way to Root G2 Gingerbread 2.3.4

I've been trying to root this G2 I recently got and I'm kind of stuck. It's competely stock running 2.3.4 Android. I was wondering what is the best way to root it,get the Security off etc etc. I've tried many of the ways listed but none help me.
Do I really need to downgrade etc? I've used ADB to root the MyTouch Slide 3G and the Nexus S 4G, Could someone help point me in a better direction I think I might be reading something wrong or looking at the wrong threads.
DudeNo said:
I've been trying to root this G2 I recently got and I'm kind of stuck. It's competely stock running 2.3.4 Android. I was wondering what is the best way to root it,get the Security off etc etc. I've tried many of the ways listed but none help me.
Do I really need to downgrade etc? I've used ADB to root the MyTouch Slide 3G and the Nexus S 4G, Could someone help point me in a better direction I think I might be reading something wrong or looking at the wrong threads.
Click to expand...
Click to collapse
The safest way to root is by using the guide in the wiki: http://forum.xda-developers.com/wiki/HTC_Vision#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD
Sent from my HTC Vision using XDA App
+1 on wiki guide!
DudeNo said:
I've been trying to root this G2 I recently got and I'm kind of stuck. It's competely stock running 2.3.4 Android. I was wondering what is the best way to root it,get the Security off etc etc. I've tried many of the ways listed but none help me.
Do I really need to downgrade etc? I've used ADB to root the MyTouch Slide 3G and the Nexus S 4G, Could someone help point me in a better direction I think I might be reading something wrong or looking at the wrong threads.
Click to expand...
Click to collapse
Yup you do need to downgrade, as currently you can only temp-root OTA GB. It unroots when you reboot your phone, and that's why the downgrading starts at temp root. Downgrade to 2.1, where a perm root is available, then flash a PRE-rooted GB if stock GB is important to you
Thanks guys. I had another question, They say look for the INFOCID, Where do I find that at? Because they don't really show a picture of it or explain how exactly to get it? Or do I not neeed to do that since I'm using a T-Mobile G2?
I remember seeing it when rooting. One of the rooting steps would print out lots of text on your command prompt. Just scroll around and you'll find it.
Found it :
Code:
cd C:\android-sdk-windows\platform-tools
adb reboot bootloader
fastboot oem boot
Just scroll through the output and you'll find it
Sent from pure meXdroidRom!!
You shouldn't need to know the cid seeing as all G2's have the same cid. (TMOB_010 or something like that for anyone wondering)
-Nipqer
Nipqer said:
You shouldn't need to know the cid seeing as all G2's have the same cid. (TMOB_010 or something like that for anyone wondering)
-Nipqer
Click to expand...
Click to collapse
I was just asking as they are asking about a Goldcard method and I was trying to figure out if I needed to follow that or not. This whole down-grading method is slightly confusing for me. Would you guys be able to help me locate a video showing someone doing it?
A goldcard is needed. Process goes goldcard, temp root, downgrade, perm root then flashing a new ROM. Just follow the guides and you'll be fine don't worry
Sent from pure meXdroidRom!!
ArmedandDangerous said:
A goldcard is needed. Process goes goldcard, temp root, downgrade, perm root then flashing a new ROM. Just follow the guides and you'll be fine don't worry
Sent from pure meXdroidRom!!
Click to expand...
Click to collapse
Thanks for the help lolz. That might be why I can't do anything. I generally just browsed over anything Goldcard, Cause all my other Androids used just ADB to push the files or I just had to flash stuff ah
Haha alright. If you still need help I might make a video this weekend as a guide.
Sent from pure meXdroidRom!!
ArmedandDangerous said:
A goldcard is needed. Process goes goldcard, temp root, downgrade, perm root then flashing a new ROM. Just follow the guides and you'll be fine don't worry
Sent from pure meXdroidRom!!
Click to expand...
Click to collapse
um no, G2's do not need goldcards.
G2's are only available from T-Mobile and thus all have the same cid.
A Goldcard is only neccesary if you are trying to flash an official PC10IMG that doesn't match the cid.
-Nipqer
Did not know that, as I'm using a Desire Z~
Sent from pure meXdroidRom!!
C:\AndroidSDK\platform-tools>adb shell chmod 777 /data/local
C:\AndroidSDK\platform-tools>adb shell chmod 777 /data/local
C:\AndroidSDK\platform-tools>adb shell /data/local/tmp/psneu
Failed to set prot mask (Inappropriate ioctl for device)
C:\AndroidSDK\platform-tools>adb shell /data/local/tmp/psneu
Failed to set prot mask (Inappropriate ioctl for device)
I'm doing the ADB, Did I do something wrong here?
Use this guide http://forum.xda-developers.com/showthread.php?t=1178912
psneuter does not work on gingerbread, so we need to use fre3vo
-Nipqer
Nipqer said:
Use this guide http://forum.xda-developers.com/showthread.php?t=1178912
psneuter does not work on gingerbread, so we need to use fre3vo
-Nipqer
Click to expand...
Click to collapse
fre3vo by #teamwin
Please wait...
Attempting to modify ro.secure
An invalid argument was passed
An error has occured.
$
Is there a way to fix this? I'm typing in the commands they list. An also thanks for the help you've given me so far man.
DudeNo said:
fre3vo by #teamwin
Please wait...
Attempting to modify ro.secure
An invalid argument was passed
An error has occured.
$
Is there a way to fix this? I'm typing in the commands they list. An also thanks for the help you've given me so far man.
Click to expand...
Click to collapse
You can actually just copy paste the commands. To paste in command prompt just right click ans paste.
Sent from pure meXdroidRom!!
Thanks for that, I feel dumb now ah wish I would of known you could copy and paste. It's all working now. I'm guessing after I downgrade the 2.3.4 I can officially follow one of the other threads listed and root and start installing roms + Clockwork Recovery?
Best way is to follow the official guide in the wiki here
And stay well away from Visionary.
-Nipqer
All right thanks. I think this is going to be my last question hopefully. I need to just follow all the steps after the Downgrading they talk about correct? I'm not trying to risk bricking this phone cause then I'm phoneless til I can get some spare cash -.-

[Q] This guide ok to use for rooting?

http://forum.xda-developers.com/showthread.php?t=1055581
I have bought a desire z brand new amazon uk. I plan to root straight away. If it comes gingerbread stock i will downgrade. Most probably it will come froyo so i will be able to use that guide... right ???
Have any one of you ever used that guide successfully?
Does it still work?
Which guide is it a rewrite of ?
And most importantly: is this guide ok to follow to root my phone ?
Look at the wiki everything you need to know is there under HTC Vision
http://forum.xda-developers.com/wiki/HTC_Vision
bombadier said:
Look at the wiki everything you need to know is there under HTC Vision
http://forum.xda-developers.com/wiki/HTC_Vision
Click to expand...
Click to collapse
is that the guide you followed ?
Thats the guide that I used,although I didn't have to downgrade from gingerbread,but everything you need is there,I would call it "the official guide to rooting"
bombadier said:
Thats the guide that I used,although I didn't have to downgrade from gingerbread,but everything you need is there,I would call it "the official guide to rooting"
Click to expand...
Click to collapse
when it says $ adb push gfree /data/local/tmp/ does it move the irregular files or just the file that says gfree. By irregular i mean any files like gfree.c. BTW what command moves the gopt.c and gopt.h files as i see none obvious commands which would in the wiki ?
Follow the wiki exactly,it is a step by step guide,if you are using windows you can cut and paste the commands as well so no need to worry about mistyping.
bombadier said:
Follow the wiki exactly,it is a step by step guide,if you are using windows you can cut and paste the commands as well so no need to worry about mistyping.
Click to expand...
Click to collapse
Thanks, I plan to use that guide instead. Thanks for bringing me to the light
P.s. what is the difference between normal hboot and engineering hboot ???
Read this
http://www.virtuousrom.com/2011/06/t-mobile-g2-users-migrating-to-desirez.html
Its to do with the partitions and amount of RAM available,you can also use fastboot commands,depends on what ROMs you are wanting to run,anything resource heavy(sense 3 and above) then you will need to flash the engineering hboot to get them to run,everything you need is in the wiki/virtuous,best of luck
bombadier said:
Read this
http://www.virtuousrom.com/2011/06/t-mobile-g2-users-migrating-to-desirez.html
Its to do with the partitions and amount of RAM available,you can also use fastboot commands,depends on what ROMs you are wanting to run,anything resource heavy(sense 3 and above) then you will need to flash the engineering hboot to get them to run,everything you need is in the wiki/virtuous,best of luck
Click to expand...
Click to collapse
I read up, your referring to the DZHBOOT for G2 users for them to be able to use roms for the desire z. I got this off of the cyanogen mod forums:
The ENG hboot is what unlocks NAND protection. Without the NAND unlock, we wouldn't be able to flash ROMs or have custom recovery.
so basically engineering hboot is a hboot with s off
Yes,with the engineering Hboot you have S-Off and can flash anything Radios,Roms,Recoveries

Categories

Resources