yashsingh1/xdaforums huggingface dataset:
[Nexus One Q&A, Help & Troubleshooting] mac208x:
But if i do the wipe data/factory wouldnt it delete the clockwork and nanodroid backup and ill have to flash clockwork again?
[Nexus One Q&A, Help & Troubleshooting] gravufo:
No, as long as you don't wipe sdcard...

Anyways, if that's all that worries you, make a copy on the computer of the whole "nandroid" or "clockworkmod" folder on your computer just in case...
[Galaxy Tab Themes and Apps] xdaXP:
Hi guys, just got my tab last week and have been looking for an app which allows one to digitally sign on the tab, ideally on PDF. Any app out there right now?

Thanks
[Galaxy Tab Themes and Apps] peestandingup:
http://www.mylivesignature.com/mls_sigdraw.php
[Galaxy Tab Themes and Apps] daniel.weck:
I use APG (Android Privacy Guard) which integrates nicely with the device OS (for example when opening files from a file browser, email attachment, etc). It also works well with the K9 email client, so I can sign and encrypt email messages using PGP (Pretty Good Privacy).

http://www.thialfihar.org/projects/apg/#K9_Integration
[Galaxy Tab General] cbb77:
Am thinking about getting one of these and been reading as much as I can about it. However have a couple of questions that I have not found an answer to as of yet.

1. I know Android market requires service, however besides that can Wifi be used for just about everything else? Trying to determine which plan is best and if I can restrict to Wifi for all but using marketplace I think I can get by with 1GB or 2 GB plan.

2. I am leaning toward AT&T version since they have 16GB internal, thus providing open slot for additional memory expansion. Att only offers the 2GB as their best package (as far as I can see). For those with Att, are you finding this sufficient or exceeding it or coming close? I know usage is based on particular user, but curious if the 2GB max will hurt in the long run. Only reason considering Verizon since they have larger plans (and currently $100 cheaper).

Thx
[Galaxy Tab General] slopokdave:
The Android Market does not require you to be on carrier data. You can access the market via Wifi.

On #2, t-mobile has 16gb internal too, so make sure you take a look at it. Of you will mostly be on wifi, at home, the office etc, 2gb per month is *plenty*.
[G2 and Desire Z Android Development] thenefield:
Hey thanks for posting this!

So I guess this is like perm-perm-root.

Giving it a shot now.
[G2 and Desire Z Android Development] VValdo:
Yeah it's sim-unlock too. Which is nice. :D
[G2 and Desire Z Android Development] xl DIGITAL lx:
Nice thanks going to try it to.
[G2 and Desire Z Android Development] thatruth132:
shouldnt one image work for every phone
[G2 and Desire Z Android Development] rhcp011235:
Word up scotty2. You the man.

EDIT: And you too fattire for writing up what no one else wants to :)
[G2 and Desire Z Android Development] fattire:
No. If it did, then this would be a lot easier, huh?
[G2 and Desire Z Android Development] ~~Tito~~:
I cant wait until some juicy stuff comes out of this.
[G2 and Desire Z Android Development] andrewklau:
Now, what does this mean :o

"make everything better."
[G2 and Desire Z Android Development] swags:
:eek:

This is freaking awesome.
[G2 and Desire Z Android Development] fattire:
You know.... everything.
[G2 and Desire Z Android Development] nycjv321:
...

I just bricked my phone LMAO!!! :)

I did the perm root that was easy... this jeez... followed the [Guide] How to recover your semi-brick (OMFG Thank you guys over there!) BUT I'm back... I literally almost **** my pants. Well... Gonna try this again maybe after finals LOL :)
[G2 and Desire Z Android Development] nycjv321:
Question though (going to try it later tonight LOL =P) the guide says I need a "custom cyanogenmod based kernel and provides the boot image that contains it.. I am using the nightlies do they contain that same function or no? also when I did flash that boot image and ran "insmod /sdcard/wpthis-cyanogen.ko" it said error function not implemented? Anyone not run into this issue? or have any ideas?
[G2 and Desire Z Android Development] fattire:
Nope.

"Error function not implemented" means it worked.
[G2 and Desire Z Android Development] nycjv321:
well this time it didn't brick... I think I got it time to verify it :D
[G2 and Desire Z Android Development] nycjv321:
Ok I ran it all again and worked but when I was verifying it I got all the supposed feedback except at "echo -e 'AT$QCPWRDN\r' > /dev/smd0" I got AT$QCPWRDN and then +CME Error: 0.... (No OK as said in the guide? :( ) and then it rebooted? what didn't work?
[G2 and Desire Z Android Development] emperorchan:
Got it to work!

SuperCID, Radio S-OFF, Subsidy Unlock is a reality!

Thanks to scotty2.

Thanks also to guhl (guhl99).

Read my post for more details: http://xdaforums.com/showpost.php?p=9495073&postcount=363

Thread: http://xdaforums.com/showthread.php?p=9495073#post9495073
[G2 and Desire Z Android Development] nycjv321:
This may be a stupid question but doesn't 0 also equate to no error? (In my older post) (Its just not stated in the guide, I don't want to overlook something which is why I asked :) ) You guys are AWESOME!!!
[G2 and Desire Z Android Development] emperorchan:
After entering the following into ADB Shell command prompt:

# echo -e 'AT$QCPWRDN\r' > /dev/smd0

The reply I got was a bunch of numbers (which filled the screen and wrapped to a new line) from what I can recall and then the phone rebooted. I didn't save the command window so I don't have the full details.

When the phone re-booted, I get signal from the local Thailand carrier AIS using a pre-paid SIM card.

The first time I went through the process I made a mistake setting the following using the Hex Editor:

"...set the 4 bytes at 0x807fc to 49 53 F4 7D"

The second time around I figured out what the "c" in "0x807fc" meant in terms of location on the Hex Editor. That was it.
[G2 and Desire Z Android Development] theglock:
:O i cant believe how awesome scotty2 is...
[G2 and Desire Z Android Development] lightningtrip:
I am downloading CMs new ROM now, will try that and see...
[G2 and Desire Z Android Development] dadewy:
nandroid, flash CM, run gfree, restore nandroid and you're all set.

CM seems to work for everyone so it's a safe go-to. I had the same issue with the kernel in virtuous. Wouldn't work and the phone just reset.
[G2 and Desire Z Android Development] lightningtrip:
it worked with CMRC3! :)
[G2 and Desire Z Android Development] stridger:
Not sure what you mean:

# cat /proc/emmc
dev: size erasesize name
mmcblk0p17: 00040000 00000200 "misc"
mmcblk0p21: 0087f400 00000200 "recovery"
mmcblk0p22: 00400000 00000200 "boot"
mmcblk0p25: 22dffe00 00000200 "system"
mmcblk0p27: 12bffe00 00000200 "cache"
mmcblk0p26: 442ffe00 00000200 "userdata"
mmcblk0p28: 014bfe00 00000200 "devlog"
mmcblk0p29: 00040000 00000200 "pdata"
[G2 and Desire Z Android Development] luis86dr:
This might be off topic. Well actually I'm sure it is but just asking because I'm sure there is knowledgeable people here. Anyone try power + vol up when booting phone up while its off. I booted into what seems something that involves qualcomm. Got prompted for qualcomm drivers on my pc. Any ideas what 'mode' this is?

[G2/HTC Vision]
[G2 and Desire Z Android Development] muncknr:
Well I took the plunge and finally rooted my G2 using this method. It was super easy, just copy and paste the commands mostly and follow instructions. The hardest part was getting ADB to recognize my phone. That was finally solved by installing HTC sync for the Desire Z and then running ADB. Not sure what I'm going to do rom wise, but this worked great, no problems so far.
[G2 and Desire Z Android Development] steviewevie:
If you've got radio off then you can get into that mode. I think that's the OSBL you're talking to. The LED flashes amber but the screen stays blank. I'm sure there are more recovery possibilities there.
[G2 and Desire Z Android Development] steviewevie:
Uh, sorry, I'm dumb, I see what I misunderstood now :o
[G2 and Desire Z Android Development] xmoo:
So how to revert back to Radio S-ON?? I need to send mine back for warrenty
[G2 and Desire Z Android Development] lightningtrip:
I am not saying you don't need to, but I returned my with s-off and have not heard a word for over 3 weeks now...
[G2 and Desire Z Android Development] luis86dr:
Wouldn't think they would even check for s-off if your sending it to tmobile. Nor would they probably know what the hell it is. Htc on the otherhand would. My wifes phone is being sent back to asurion I just returned her phone to stock via pc10img and called it a day. I left s-off as is.

[G2/HTC Vision]
[G2 and Desire Z Android Development] xmoo:
I know. I one time sent the hero of my gf back for repair and they did s-off it themself, and forgot to do s-on back :P

But you never know. Just in case.

But I got it.

dd if=/sdcard/backup.img of=/dev/block/mmcblk0p7
[G2 and Desire Z Android Development] steviewevie:
This thread really should be sticky IMHO.

I think it must be very confusing for newbies to see all the various (slightly conflicting) methods of rooting and S-OFF'ing.
[G2 and Desire Z Android Development] dr3:
So being able to get into that mode is a way to verify s-off?
[G2 and Desire Z Android Development] steviewevie:
I think so, regarding radio S-OFF, yes. But you can also check out how to verify the whole thing at http://xdaforums.com/wiki/index.php?title=HTC_Vision#3._.28OPTIONAL.29_Verify_you_did_it_right
[G2 and Desire Z Android Development] gcantrell:
I was able to complete this fairly easy yesterday and i wanna thank the OP for posting it and some others who explained how to do it from the terminal on the phone.

The only issue i'm having, is when i try to verify it per the code on the wiki page. After i type in the first 3 lines:

# su

# stop ril-daemon

# cat /dev/smd0 &

I start getting a bunch of stuff back. Like HTCU or HTUC or something like that with some numbers like 17, 18, 16, 14, and so on, not in any particular order. Forgive me i don't remember it all exactly how it was typed, but it kept posting lines and lines of that and everytime i'd try to type in the next line i needed to, it would just keep posting those letters and numbers. After almost a minute, i gave up and pulled the battery and restarted the phone because when i'd just exit out of the terminal, it would say i had no service. Once it rebooted, everything was fine.

I'm still new to all of this, so bare with me haha.
[G2 and Desire Z Android Development] dadewy:
After you gave up it had no service because you killed the radio interface layer ("stop ril-daemon"). A simple reboot would have fixed this (maybe even restarting the ril-daemon? never tried.)

As far as the stuff you saw popping up, it's just the modem talking back. That's what that background command does, shows you the output from the modem ("cat /dev/smd0 &"). It doesn't much care what you're doing at the time. When it gets something from the modem device, it will print it, even in the middle of you typing a command as you have noticed. If this bothers you, you can set up a 2nd adb shell just for the output like this:

1st adb shell:

su
stop ril-daemon
cat /dev/smd0 &

Then in another window, open a 2nd adb shell and continue on:

su
echo -e 'ATE1\r' > /dev/smd0
echo -e 'ATV1\r' > /dev/smd0
echo -e 'AT@CID?\r' > /dev/smd0
echo -e 'AT@SIMLOCK?40\r' > /dev/smd0
echo -e 'AT@SIMLOCK?AA\r' > /dev/smd0

The 1st window will show a) whatever the modem is spamming and b) replies to your AT commands typed in the 2nd window.
[G2 and Desire Z Android Development] chibikit0:
Totally noob question, but when the first post says that this will not work with pershoot's 11/30 build, which build does it actually mean? I'm running 2.6.32.26, according to my phone.
[G2 and Desire Z Android Development] steviewevie:
Are you running the stock ROM ? i.e. what came on the phone from the factory ? Or have you put any new kernels onto it or flashed a new ROM ?
[G2 and Desire Z Android Development] gravis86:
He means 2.6.32.26, but there are different builds of 2.6.32.26. If you look at the .zip you flashed to get the kernel installed, the build date is part of the filename.
[G2 and Desire Z Android Development] J-Hop2o6:
thx for this info.. i keep getting the +HTCU...XX lines ever 5 seconds or so..
[G2 and Desire Z Android Development] J-Hop2o6:
ok.. after doing the check steps above, i get these 3 results back:

ATV1

@CID: T-MOB010

@SIMLOCK= 01

what did i do wrong since they're suppose to be 0 (zero)?
[G2 and Desire Z Android Development] steviewevie:
You haven't got SuperCID or SIM Unlock. What about S-OFF though ? That should be indicated by @secu_flag .

Try going through the gfree procedure again, it can't do any harm. Copy and paste the output from gfree up here, it sounds like it must be hitting an error or something. That can be hard to notice because you get quite a bit of output from gfree anyway.
[G2 and Desire Z Android Development] J-Hop2o6:
well i can say this.. i was tryin to type sync, but the Android terminal was writing back some file info or something, then backed up the partion 7, so i was barely able to finish typing sync.. it only caught sy or nc ,, then it rebooted automatically.. so i guessed it synced itself.. whats the problem?

oh yea, i am using pershoot's 2.6.32.26 – OC-UV-NEON_FP (1.516GHZ) – G2 - 12/3 .. but the instructions said 11/30 didn't work.. could that be the problem?
[G2 and Desire Z Android Development] imranbandial:
My phone is still under warrenty,and its rooted with visionary r14 and unlocked with gfree'it start giving me prob like freeze sometime don't recognize the sd card'i was woundring is there any way I get back to s-on.I did method here 'and I was able to unroot it successfully'but its still saying s-off'i think becs of gfree'please help me"is there any way to turn radio on"and get a replacement.any help will b apprecited.
[G2 and Desire Z Android Development] chibikit0:
Thanks for the clarification.
[G2 and Desire Z Android Development] guhl99:
Yes your kernel is the problem.

gfree uses a dynamic in memory patch to the kernel to remove it's write protection to partition 7. And if this fails the kernel will crash and the phone will reboot (thats what HTC coded into the emmc driver)

Please try this again with either a stock kernel (OTA or pre OTA or a cyanogen kernel)

I will add your kernel to the kernels known not to work.
[G2 and Desire Z Android Development] J-Hop2o6:
Ok thx.. I'll put back on a compatible kernel, then start the terminal cmds again.. baconbits will work right?
[G2 and Desire Z Android Development] guhl99:
Well there will be a new version of gfree (hopefully soon) that allows you to set S-OFF and also the CID back to T-MOB010.

But if you are in hurry you could restore partition 7.

When you did run gfree it created a backup of your original partition 7. You can do the gfree procedure as described at http://xdaforums.com/wiki/index.php?title=HTC_Vision#How_To_Get_R.2FW_Access_.28Permanent_Root_.2F_.22Permaroot.22.29 again but after the:

# cd /data/local
# chmod 777 gfree
# ./gfree

you do the following

# dd if=/sdcard/part7backup-<time>.bin of=/dev/block/mmcblk0p7
# sync

Where /sdcard/part7backup-<time>.bin is the file that gfree created when you ran it the first time!!!
[G2 and Desire Z Android Development] guhl99:
Probably.

One that works for sure is the one that you can find at http://www.thinkthinkdo.com/boot.img

This is the one that has the write protection to the radio config partition already removed in the sources. I created this one before gfree.

If baconbits dows not work, than flash this one, do gfree and then flash back your original kernel.
[G2 and Desire Z Android Development] J-Hop2o6:
Thx alot.. i used baconbits 0.3 and it worked! showing all zeros for all three unlocks.
[G2 and Desire Z Android Development] bwilborn:
I can verify that by typing "start ril-daemon" after you're all done, that it does restart the radio interface layer.

-- B
[G2 and Desire Z Android Development] bwilborn:
files in /data/local after applying patch

Are the gfree files still needed in /data/local after applying the patch? I'm assuming not, but would like confirmation before I remove them.

-- B
[G2 and Desire Z Android Development] renn9420:
Quick question, is it possible to flash the pc10.img straight if a person is trying to unroot and not get the error "version is older" now that radio is s=off or do a person have to still hex edit then flash pc10.img? Just asking, been rooted since G1 and not going back.

Phone: T-Mobile G2/Vision Rooted

Rom: Latest Cyanogen

Recovery: CWM waiting for Amon_RA
[G2 and Desire Z Android Development] luis86dr:
If you gfree'd yes you can. If not, no. You would need to do the whole 'hex' process. Gfree is true root. Period. This is how everyone should be rooted. Anything else of root and your really missing out what gfree offers. So to answer your question. Yes you can root back.

Just place pc10img on the root of your sd and boot into bootloader. Walaa. Saves you a big headache. Just make sure you remove it from the sd once done. Saves you a headache everytime you load the bootloader lol.

[G2/HTC Vision]
[G2 and Desire Z Android Development] renn9420:
Thanks and of course I'm gfree'd is there any other way? Only asking because was just wondering. I will never go unroot. Been doing this too long.

Phone: T-Mobile G2/Vision Rooted

Rom: Latest Cyanogen

Recovery: CWM waiting for Amon_RA
[G2 and Desire Z Android Development] steviewevie:
You mean S-ON, right ? i.e. going back to stock ?

I hope the CID isn't hard-coded for T-Mob, i.e. for all us with other carriers or who were SIM unlocked in the first place ?
[G2 and Desire Z Android Development] steviewevie:
Yeah the original way was to dd an engineering version of HBOOT to get a sort-of S-OFF. But this had various risks involved, the gfree method is much safer and gives you a lot of useful things.

However, the engineering HBOOT does give you a few extra options in fastboot, so you can apply it as well if you want. But it's best to do this *after* you've already got gfree, for safety reasons.
[G2 and Desire Z Android Development] guhl99:
Hi !

No the CID that you want to set is a command line parameter to the new partition7 patch program that will be part of a new gfree.

But I think I will release the patch program as a standalone program today to provide a simpler way to turn radio S-ON and set a new CID of your choice.
[G2 and Desire Z Android Development] guhl99:
You can remove them, they are not needed.

And you should copy the backup of you partition 7 that gfree created on /sdcard to a safe place
[G2 and Desire Z Android Development] enrayged:
Great guide, very easy to follow and of course thanks to everyone for this!!

I have an interesting issue. I rooted using this method, had not used the previous methods. I got s-off, I can get a root prompt, I was able to install rom manager with clockwork and create a complete backup of my stock rom. I have not installed a different rom or done much else.

Now the one issue I am having is I can't reboot my phone by typing reboot at the root prompt in terminal emulator or with any of the various reboot widgets on the market. When I try in terminal emulator I get:

not permitted!

and any of the reboot widgets say error obtaining root. Superuser has granted permission to the widget and still no go. Am I missing something? I do have busybox installed...
[G2 and Desire Z Android Development] bwilborn:
OK, thanks for clarifying. Like I said, I was pretty sure it was a one-time thing, but just wanted to be sure.

Yeah, done and done. I've got a special folder on my PC where all stuff like this is kept, just in case it is needed. All my ROMs, APKs, patches, custom ringtones, userdata...I'm a firm believer in keeping the same data in two or more places in the event that it's needed for disaster recovery (working for a datacenter, I've seen it happen too many times: "Backups, what backups?").

Thanks!

-- B
[G2 and Desire Z Android Development] skiptomylou11:
I got a question.

I did this last week, and it seemed that it was done successfuly. The problem is that I tried to boot into recovery by pressing Volume + and power and I got three vibrations and the LED light just flashed red. I had to battery pull to be able to get the phone going again.

So that means I can only access recovery through ROM Manager, which makes me uneasy because it means that if I get a boot-loop I could potentially be screwed...

Any way to fix this?

Any suggestions appreciated.
[G2 and Desire Z Android Development] steviewevie:
That's not how you boot into recovery. The good news is that you have proved you have radio S-OFF, because unless you have that then you don't get that flashing amber light state. You put the phone into a different recovery mode where I believe a PC can talk to the OSBL, but currently we don't have any documented procedures on how to use that mode.

You can get into recovery by holding Volume *Down* and Power, then you'll get into HBOOT. Then you can choose the "Recovery" option and it will boot you into Clockwork Recovery (assuming you've got that flashed).
[G2 and Desire Z Android Development] Veiger:
Downloaded gfree and used the mv command to move it under /data/local due to my computer not being useable right now. When I do chmod 777 gfree that works fine but when I do ./gfree this happens. Running CM stable 6.1.

export PATH=/data/local/bin:$PATH

$ export PATH=/data/local/bin:$PATH

$ su

# cd /data/local

# chmod 777 gfree

# ./gfree

./gfree: not found

# ./gfree

PK2=hl: not found

l: not found

U?: not found

gfreeUT: not found

I2 not found

Pp

k-pKZeENP: not found

eENP: not found

t: not found

./gfree: 9: Syntax error: word unexpected (expecting ")")

Forgot to extract it to downloads before moving it from there to /data/local and after I did this I get

#chmod 777 gfree

#./gfree

./gfree : Permission Denied

How do I fix this?
[G2 and Desire Z Android Development] renn9420:
@ Veiger

What Rom are you running?

So you downloaded the gfree .zip and unzipped it? Did you copy the right file to /data/local? There is two gfree files, don't move the gfree.txt then when you know you have the right file in /data/local you type:

su

cd /data/local

chmod 777 gfree

./gfree

sync (wait about two minutes)

reboot

Phone: T-Mobile G2/Vision Rooted/GFree'd

Rom: Latest Cyanogen

Recovery: CWM waiting for Amon_RA
[G2 and Desire Z Android Development] Veiger:
I am running CyanogenMod 6.1 stable. How do I tell it in the terminal emulator to move the program file instead of the .txt? I downloaded the gfree.zip, extracted to /mnt/sdcard/download and ran the command. mv /mnt/sdcard/download/gfree /data/local with success but even after that it gives me the permission denied like the chmod command is not giving me execute/write permissions to it under /data/local

ROM:CMstable:Gingerbread Theme
[G2 and Desire Z Android Development] jclem65:
rooting virgin......................

ok i have gathered up the cahoonies to do this but am a little fuzzie about one thing....... does my phone need to be rooted already????

or can i do this on my virgin g2 ?
[G2 and Desire Z Android Development] smirkis:
U need atleast temp root to run the commands.

Sounds like u only moved the gfree file? This is what I do, extract the zip into a folder called gfree

Then do the command to move the entire folder to /data/local

Then cd /data/local/gfree

Then, chmod 777 gfree

Then, ./gfree

Sync

And u should be good to go
[G2 and Desire Z Android Development] androidtoy09:
wipe your phone and start all over again. I ran into this problem with my bro's G2

Edit: by Wipe i mean "Reset Factory settings"