yashsingh1/xdaforums huggingface dataset:
[Nexus S General] whatsanti:
Alright.

I downloaded adb and fastboot from some site (it's universal for android phones, right?). I don't have root. :/ Tried to do it with shabbypenguins technique but I guess it didn't take. I think I'll have to read up some more before I attempt it again.

So I need to be in the folder where adb and fastboot are in before issuing the command on the command prompt correct?
[Nexus S General] Maximilian Mary:
Correct.

Adb & fastboot are not phone-specific, but they are OS-specific. The windows versions will not work on a mac or vice-versa.
[Nexus S General] whatsanti:
Would you be able to provide me with a download link? I downloaded one that required me to change environmental variables (?) No idea what that is.

Also, by 'being in the folder that adb and fastboot are in' you mean to get there via command prompt before trying any commands like 'adb reboot bootloader', right?
[Nexus S General] Maximilian Mary:
Right.

Changing the environment variables would be to add the fastboot location to the system paths, so you don't need to do this.

I might be able to look for a link later. Check the stickies for now. Are you on windows or mac? If a guide doesn't specify, the files it contains are probably for windows.
[Nexus S General] whatsanti:
ahh, I understand. So the environmental variables thing isn't required. :] good to know, I didn't want to go about messing with more stuff I don't understand.

Okay. So once I get adb and fastboot downloaded I just need to direct command prompt to the folder and then I should be able to 'adb reboot bootloader'.

I'll search about for a good download link on the stickies. I'm on windows 7.
[Nexus S General] whatsanti:
Well, I just got off the phone with both a Sprint and Samsung rep. I got kind of fearful that my unlocked bootloader voided my warranty.

However, I called Samsung and they stated that their warranty covers everything besides water and physical damage. Sprint said the same thing, unlocking the bootloader does not void my warranty as long as everything is kept stock (i.e. no root/roms/custom kernels).

I know I definitely want to take the plunge and root a phone so I can learn the technical aspects of the whole thing (plus it looks like loads of fun), but I think I should just pick up an old dummy android phone to test my abilities before I try it out on my main cellphone.
[Nexus S General] mcosmi:
I flashed back to stock and now WIFI says 'Error' when trying to enable it. Also, the Kernel still says 'Koush' in it, and I wanna return this device. How to i get this thing Bone stock??
[Nexus S General] Joey_UFC:
anyone know why everytime i type in Fastboot oem unlock i keep getting that adb was not found try re installing

i have tried a few trouble shooting steps and still nothing. i downloaded and updated EVERYTHING for android sdk and nothing else to install
[Nexus S General] Joey_UFC:
C:\android-sdk-windows\platform-tools;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Common Files\Teleca Shared;C:\android-sdk-windows\platform-tools;C:\android-sdk-windows\tools.

this what i have written in Control panel>system>Advanced>enviroment> path. is this right
[Nexus S General] whitetiger2429:
ok so if i want to unroot the nexus. i need to download the GRJ 22 software images right, what about the OTA files. Where do i put the software image at, do i put it on the sd card or what. Just a lil confused, never really unrooted a device before but i get crap service on the phone
[Nexus S General] SA-07:
Here guys, even tho this is for the nexus s i would assume the procedures r still the same on the 4g.

http://theunlockr.com/2010/12/17/how-to-root-the-samsung-nexus-s/

the video rly helps.
[Nexus S General] Windst:
will this reset the phone to where I have to call sprint and go through a full reactivation process?
[Nexus S General] nmoreman:
I was looking for a different question, reading some of this on the Nexus.

I'm not trying hijack this thread, but wanted to make some suggestions to newbies with questions.

Check out Android Central and look at Nexus 4G in Forums. This is specific to Sprint's phone, so you do not cross the line and download something that causes more problems. There are some great stickies there for the basic unlock - root actions you want to take.

As a long time member of both, but not a techie, I learn a lot in xda, but they can go over my head quickly. Android Central can provide better "learning", meaning easier to understand directions for many issues.

The people here at xda are wonderul, but sometimes their expert ideas and answers can confuse, I am not at that level. So keep reading here, look there for some easy answers which will help you read and learn.

P.S. I learned the hard way, this phone is OS in general until you start unlocking - it is specific. I bricked mine by downloading T-mobile gsm apps and had to figure out how to get it operational again, so read and enjoy:)
[Nexus S General] mntbkr:
No I have rooted, un-rooted, then rooted again without having to re-activate. It will however wipe your data(sd-card) so do a backup of anything you like to keep.
[Nexus S General] whitetiger2429:
ok got a question about unrooting this phone. I know ou download the GR22images but do i need the the ota file. Do i put the images on my sd card or what can someone please help with this i gotta get the phone back to stock
[Nexus S General] ROB281:
okay trying to return to stock, and through the terminal I can successfully run adb reboot bootloader

that puts into the fastboot/bootloader screen from there on every time I try to run the next command in the sequence I get 'fastboot' is not recognized as an internal or external command, operable program or batch file.

wtf?
[Nexus S General] mntbkr:
http://theunlockr.com/2011/01/20/how-to-unroot-the-nexus-s/

Try this, these guys do a good job of breaking things down. Hope it helps.
[Nexus S General] arrogant437:
move or copy fastboot from your tools folder into your platform-tools folder.....:D
[Nexus S General] Maximilian Mary:
Put them in your computer in the same folder as fastboot.

Then boot into fastboot mode and flash them.

fastboot flash recovery recovery.img

fastboot flash system system.img

etc.

Fyi, flashing data will wipe all your user apps and data.
[Nexus S General] michaelpeerman:
Hey pete why when i open the mms.apk in your stock deodexed rom its reporting my user agent as a htc evo not a nexus? Lazy programming on your side or what? Im talking about the mms_config file in the apk
[Nexus S General] nmoreman:
michaelpeerman	Hey pete why when i open the mms.apk in your stock deodexed rom its reporting my user agent as a htc evo not a nexus? Lazy programming on your side or what? Im talking about the mms_config file in the apk

I read this, don't know if it's a request or a full slam, but ti Pete, who wires all of the programs necessary to hack these phones, for free, then publishes, supports, and answers questions, for free, how could you be so insulting

If this is all that is incorrect and everything else works flawlessly, wtf. You need to say thanks and learn to filter your comments
[Nexus S General] michaelpeerman:
Sorry if i sounded insulting. I didnt mean to come across that way. I was just asking because in his OP he says he made it from scratch but now finding this it makes me wonder what else he copyed and pasted from the evo.
[Nexus S General] BuglessPete:
Stock Rooted GRJ90 (Android 2.3.5) added to OP. I will deodex when I finish my Trig exam on Thursday.
[Nexus S General] The111:
Thank you so much Pete! I should have no problems going from unrooted 2.3.4 to stock rooted 2.3.5 using your ROM, right?

And one more noob question:

I don't know much about odex vs deodex... but if I have no interest in themes, etc... I only want 100% stock with root, then odex is the right way for me to go, right? From the little research I've done it seems that deodexed stuff allows more mods, but at the cost of some performance?

Thanks again!
[Nexus S General] BuglessPete:
Correct and correct!
[Nexus S General] huareu:
Quick question: if I flash 2.3.5 ODEX now, can I just flash the DEODEX when it comes out right over it? Or do I have to wipe everything again?
[Nexus S General] BuglessPete:
you can flash right over it. but i recommend wiping cache and dalvik cache just for the heck of it.
[Nexus S General] BuglessPete:
Added new radio (D720SPRKE5) that came with the GRJ90 update to the OP. It's a flashable zip by the way.
[Nexus S General] 4redstars:
Thanks Pete!
[Nexus S General] kgorczyn:
OK, I'm a complete newb, so let me run this by you guys first. I just want to update the radio...

I'm running a NS4G CM7rc with anarchy kernel.

I downloaded the new radio file: ns4g-radio-KE5.zip

I booted into "clockworkmod recovery v3.1.0.1" then went to:

1.) install zip from SD Card

2.) choose zip

3.) select the file and flash....

Is this right before I hit that power button? I hear the radio is the thing that can brick this phone.
[Nexus S General] BuglessPete:
Thats correct, do not wipe data and you will be fine. I tested it before I posted it
[Nexus S General] kgorczyn:
Thank You!

How can I verify the update went through. In other words, where can I check the radio version? :)
[Nexus S General] BuglessPete:
Menu > Settings > About phone > Baseband
[Nexus S General] kgorczyn:
Thanks Once Again!

Go the new radio installed and verified. Speed tests show nothing different, WiFi still sucks, no more bars on either WiFi or Tower Signal.

Sprint Fail :(
[Nexus S General] BuglessPete:
LOL Im running a wifi driver that is about 5 versions newer :)
[Nexus S General] BuglessPete:
Added old radio to OP just incase you guys want to revert back :)
[Nexus S General] :
hmmm just tried to flash the grj90 over and got an error (7)

tried it in cwm and in rom manager, neither worked.

was previously on stock rooted.

EDIT:

updated clockwork and it seems to be working

why didn't you put the new radio in the grj90 zip? i'm showing 2.3.5 but showing the old d8 radio.
[Nexus S General] BuglessPete:
The radio is in a seperate zip in the OP, I never package Radios with ROMs because that would not let the user choose which radio they would like.
[Nexus S General] Altos:
And a big thanks... downloading it now. Flashed new radio, and completely lost USB connectivity (WTF???)

Hopefully this will restore USB connection.
[Nexus S General] arrogant437:
what driver is that?..............caring is sharing....lol
[Nexus S General] BuglessPete:
GRJ90 Deodexed Stock Rooted ROM added to the OP.
[Nexus S General] arrogant437:
Is your special wifi driver in this ROM?.....yes im still on the subject...hee hee:)

I'm all about wanting the best too Pete:) ....I appreciate the work (and how quickly you do it) you do for us NS4G users.

Just getting a little impatient with Google (or should i say Samsung) and looking for alternatives.
[Nexus S General] arrogant437:
I just found the binaries for Broadcom and Samsung driver software for Wimax,Wifi etc.......any way this code can be tweeked for better functionality.
[Nexus S General] The111:
Woa, so I updated to GRJ90 last night but apparently I am still on the old radio too.

But my 3G/4G/wifi speeds have all improved by like 30%... isn't the radio the part that would have been responsible for that? Weird. Regardless, I guess I'll flash the radio now too just to be complete. I'm not complaining, but I don't fully understand your choice to leave it separate... I thought the GRJ90 would be a totally "up-to-date stock experience." Leaving the old radio as a separate "flashback" option would seem more logical... though I'm not sure why anybody would want to go back?
[Nexus S General] BuglessPete:
Its on my github, with a little work you can get what you need there lol
[Nexus S General] BuglessPete:
All the builds and radios have been added to ROM Manager.

And as someone pointed out about the mms_config.xml being wrong in source, thank you, it is now fixed https://github.com/peteralfonso/platform_device_samsung_crespo4g/commit/21be33650de496511ca7cd170d6a72144b2e8d50
[Nexus S General] The111:
Ok, please forgive my noobery, but if I used your stock GRJ90 odexed ROM, does this mean my mms_config is wrong and I need to fix it? (if so, how?)

Furthermore... I glanced at that xml file on the github, and I noticed params in there that limit chars and otherwise control formatting/sending of multi-part "long" messages. Does this mean I could change those values and get rid of the problem where I am not allowed to type past 160 char? I would loooove that, as this is one of my only complaints with this phone. Would also be really nice if I had a xx/160 char counter like I had on my Moment... but the biggest thing is just being allowed to go past 160. Thanks.
[Nexus S General] BuglessPete:
Nothing needs to be fixed, everything in my OP is already done for you. GitHub is my source where I build a ROM from scratch. Everything in my OP is updates that are already built.

Also, yes you probably could edit that mms_config.xml to your liking, but note those values are taken from a stock decompiled mms app so its what Sprint wants and it may be the optimal settings already for their network.
[Nexus S General] dmarden:
Oh man... wifi from the future? I will have to go poking around, though my phone nubbery will probably be a wall to my efforts. ;)

Edit: Also, thanks for all of your time and effort. Much appreciated.
[Nexus S General] The111:
Ok I gotcha, thanks for explaining, but I was thinking if I got the ROM yesterday then maybe you had built it with the incorrect mms_config and just fixed it today. :confused:

I guess I am a little unclear on exactly what is meant by "already built." I know the GRJ90 stock is supposed to be totally stock and straight from google, but obviously you have to "touch" it more than once... you have to add root (somehow), and you add your little personal touch (signature) at the beginning of the flashing screen. So I guess I'm still confused as to whether or not the ROM uploaded yesterday had the right or wrong mms cfg in it. I would love to learn more about how all this stuff is done.

Yeah, I just want it to let me type more than 160 chars in stock sms app, and automatically split/send it as multiple messages. That shouldn't affect their network at all, I'd think, since I'm still sending 160char messages, just automatically doing 2-3 at a time instead of having to split them manually. Is that xml file something I can easily replace myself on a stock rooted odexed ROM? I searched with root explorer and couldn't find that file, so I'm guessing it's buried in an apk somewhere, and editing apk's is a bit beyond my current experience level... :confused:

Thanks again!
[Nexus S General] BuglessPete:
Everything is good, no need to redownload any builds.

As far as the editing of the file you can either build it from source or use "apktool" to decompile it, edit the file, then recompile it.
[Nexus S General] The111:
Cool, I may try that. After that I just install the apk as I would any other and it will overwrite my current mms.apk? Thanks much for the advice!
[Nexus S General] yangers:
Can I backup all my apps with Titanium Backup and install this Wiping DATA, Cache and Dalvik and restore everything back?
[Nexus S General] BuglessPete:
Yes but if you are already on a stock rooted GRJ22 there is no need to do all that.
[Nexus S General] 4redstars:
I have no idea what I'm doing, but I looked through the github and it's like reading a different language.

What file would I need for the newer Wifi and would I be able to push it to a particular location in a rom that I'm running?
[Nexus S General] KarlMarsh:
Hi Pete, Thanks again for all of your hard work.

I am running your stock rooted GRJ22 and want to flash the latest greatest. I checked ROM Manager but can't find them there. For some reason ROM manager only shows me CyanogenMod, Extras, Peter Alfonso, Oxygen, Google Apps, and MIUI.us

Regardless I can just download them manually. Just to be clear my plan is to download your GRJ90 Stock Rooted ROM and D720SPRKE5 Radio (is that the correct radio?)

Then I will put them on my internal SD card. Reboot to Clockwork Mod. Wipe Cache, Wipe Dalvik. Flash the ROM, the Flash the Radio, then Reboot.

Does that sound correct?

TIA
[Nexus S General] BuglessPete:
Click on "Peter Alfonso" in ROM Manager, thats me :)
[Nexus S General] boktai1000:
Any plans on updating to GRJ90 Software Images? Thanks for the great work Peter! Following your work closely!
[Nexus S General] beejcox:
Is anyone else having FCs with the camera application in the new update?
[Nexus S General] arrogant437:
Hay Pete , I'm on your github.....trying to figure out exactly what platform to look in....I know Broadcom handles the wifi,gps and bluetooth sooooooooooo.......maybe theres a platform on here for that?

...........getting warmer.....
[Nexus S General] arrogant437:
Im trying to pm you but i dont see the link....sent a friend request. wanted to show you what I found on your github. pretty sure this is it.
[Nexus S General] jarvijd:
i get this same error. did you figure out how to fix the problem?
[Nexus S General] arrogant437:
you guys didnt flash back to stock correctly
[Nexus S General] arrogant437:
hat pete, when i flash your stock deodexed and open an app, i cant return to the home screen with the home button......this was in grj22 and grj90
[Nexus S General] :
tethering is broken?
[Nexus S General] beetlo:
Wired Tether for Root Users

Wireless Tether for Root Users

So yes... the builtin tethering is "broken", but there are other options out there.
[Nexus S General] arrogant437:
Agreed........i've tested and this alternative DOES work. dont know about 4G tethering.
[Nexus S General] jarvijd:
I did a full wipe and flashed back to grj22 stock rooted deodexed, booted to make sure wifi works on grj22 (it did) and then flashed grj90 stock rooted deodexed. Still no wifi. I checked logcat and the error message says: "E/WifiService( 113): Failed to load Wi-Fi driver.".

Any ideas on how to debug/correct are appreciated.
[Nexus S General] bkrasso:
Are you using a custom Kernal?
[Nexus S General] arrogant437:
did you also flash the D720SPRKE8 file....thats the radio....Pete doesn't include the radio by default.Leaves the user the option of what radio to flash.
[Nexus S General] arrogant437:
wired tether also works.......ridiculously fast:D:D:D
[Nexus S General] arrogant437:
Thanks for the wired tether link:cool:
[Nexus S General] jarvijd:
Yes, i flashed the new radio as well. i just found a way to make it work though. i did another wipe and then flashed grj90 odexed rather than grj90 de-odexed. with that version wifi is now working. not sure what was modified in the odexed version but there may be something obscure in there that affects a few of the phones??
[Nexus S General] arrogant437:
Hay when you have an app open, can you go back to the home screen with the home button? I couldn't on his ROM's(and no I'm not bashing Pete's work in no way what so ever, He's a savior.....)
[Nexus S General] BuglessPete:
Thanks guys
[Nexus S General] jarvijd:
Yes, the home key works for me on grj90. although in grj22 i had this home key issue every once in a while. it would get "stuck" and i usually had to wait a little while or go back into an app before the home key would start working again. i've not had a working grj90 long enough to know if that is still an issue with this version.
[Nexus S General] the.snks:
Having an issue with GRJ90 (deodexed) that I cannot install some paid apps (Moola, and Tweetcaster). The paid version of these apps do not show up in a manual search at all. I had to go under the free version and select "related apps" just to see them. The app page will load up but there is no "buy" button.

Is this because of the new market? I did wipe data and cache prior to installation btw.
[Nexus S General] dmarden:
Not sure what the cause is, but I also had this issue with some apps today under the new market even though I'm still on 2.3.4 (but with the new radio). No matter what the new market seemed to have no interest in updating/installing certain apps.

I reverted back to the previous market version that most people still have and it worked fine... *shrug*
[Nexus S General] the.snks:
How do I revert? Just yank the market.apk from an older ROM?
[Nexus S General] dmarden:
I had a copy backed up in Titanium and just restored that.

If the new market was installed as part of the ROM, yes... get the old one from another ROM and replace it.

If you simply installed a copy you downloaded, then you can probably just go into your app management and uninstall the update.
[Nexus S General] dreamsforgotten:
Pete just wondering how you got the odex rom together I prefer to build off source to have a true deodex base but I can't compile again until the new proprietary bits are released to match the updates. In the meantime im interested in deodexing your base files to get my base

Scratch that I see deodex as well
[Nexus S General] BuglessPete:
When a new release comes out there is no need to wait for the proprietaries to be published, you just pull them directly from the device:

https://github.com/peteralfonso/platform_vendor_samsung/commit/66308d06f12ff5c85c35de48d58d3df8df114c34
[Nexus S General] blueluck77:
+1...I completely agree...blows PDANet outta the water. :cool:
[Nexus S General] dreamsforgotten:
Im talking about the one's from Jean baptise on Google code with sprint updates etc
[Nexus S General] sigaiser:
I have a question guys...

looking to root my ns4g, but want to run (for now) a stock rom and a new kernel, probably the Matr1x. I am currently updates with the GRJ90 update (2.3.5). Would probably just flash your rooted stock rom. But should I use the Odex, or DeOdexed version? What is the difference??

Thanks for your input. I appreciate it!
[Nexus S General] dmarden:
You only need the deodexed version if you plant to mess with themeing type stuff.
[Nexus S General] BuglessPete:
Yes, we are talking about the same files. You do not need to wait for them to be published here: http://code.google.com/android/nexus/drivers.html you can simply pull them from the device or ROM such as I did for my vendor setup (which you may use). To verify this you can diff the GRJ22 proprietaries from the stock ROM to those posted by JBQ, they are identical. This process can be repeated for every device, such as the Droid, etc.
[Nexus S General] dreamsforgotten:
I been busy at work lately but I just finished for the day and sat down with the new rom loaded. I pulled the GRJ90 systemui.apk and decompiled/recompiled no issue. Then I began working on the public.xml so I had my ids right to bring in the smali. I noticed that the public lined up perfect with the previous id numbers which can't be right because I flashed Sabby's deodex he put together on launch day. The patch to systemui.apk added in 1-2 values in strings, ids etc. Your systemui.apk doesn't show these changes. I passed your systemui.apk classes.dex through diff merge with the classes from shabbys and got every file in status bar different. These differences are part of the display of the signal strength and wimax strength. Am I completely tripping here, it seems to be the systemui from GRJ22 instead of GRJ90. I'm not knocking anything you've done the reason I'm here is because shabby's deodex was done by flashing the update pulling the system, then deodexing, which is basically the only option right this moment but I can't decompile and recomplie his systemui.apk so I can't get my changes properly made. I'll double check my work but I'm positive I'm seeing this right, I flashed your rom this morning, and the only systemui.apk that I modded recently was the one from his deodex rom.

http://pastebin.com/JnERfwz2