yashsingh1/xdaforums huggingface dataset:
[Nexus S General] blacknet101:
Fixing the Reboots on V2 [Updated]

This is wat i did [For Fresh Install]

1) boot into revovery

2) wipe data/factory reset

3) wipe cache partition

4) wipe dalvik-cache [just in case]

5) flash ICS V2 rom.

6) flash google wallet [optional]

7) flash the Roaming Indicator [Fix NEEDED]

8) flash Franco ICS kernel [Optional]

9) reboot and done!

Updating from V1

1) wipe cache

2) flash ICS V2 rom

3) flash ERI patch [Roaming Indicator]

4) reboot!

thnxs to formula84 for these steps that have also worked for to others.

Flashing the ERI Patch seems to work just fine[fixes the reboot problems].

Flashing the Wifi FIx [not recommended] will break the Wifi Bars.

The kernel is also optional, some like the stock kernel and thats fine, but i did these steps and they worked and its just PERSONAL PREFERENCE. :D

i did connect to my wifi and my speeds are fast. im browsing the web on my phone and it runs smooth. I was on the phone w my gf for 1 1/2 hours and it didnt reboot on me.

Works perfectly!

Update: my recovery didnt get messed up with flashing V2. Im able to boot into recovery just fine.
[Nexus S General] bnitty:
tried 3.1.0.1 with no luck.
[Nexus S General] jaestreetss:
Wow ....I don't know did you try reflashing the recovery thru a computer(adb). Or maybe thru terminal emulator?
[Nexus S General] fergie716:
flash through adb.. Put the recovery in your /sdk/tools folder. Then rename to just recovery.img and make sure you have fastboot in that same folder

open up cmd (with phone connected to computer, usb debugging on)

CD your sdk/tools folder. For example, I type

cd \android-sdk-windows\tools

Then while in cmd type

adb remount
adb reboot bootloader
fastboot flash recovery recovery.img

Can't go wrong with fastboot flash
[Nexus S General] PyroDroids:
Thanks! I followed that step by step and V2 is working perfectly on my NS4G
[Nexus S General] blacknet101:
ur welcome, glad i can help :D
[Nexus S General] fergie716:
about to flash this one more time lol.. Market didn't work for me earlier
[Nexus S General] ghostzyden:
I'm unable to boot into cwm recovery, I tried reflashing from rom manager. Any ideas? Trying not to push via command prompt.
[Nexus S General] blacknet101:
haha aight cool, market worked for me, hmmm thats weird..hopefully it works once you reflash it.
[Nexus S General] fergie716:
That might be your only option

Try using Flash Image by JoeyKrim

IDK if the ROM supports it

If not I have a write up one page back on how to flash recovery using cmd.. only 3 commands lol

EDIT: If Flash Image app says it was successful/unsuccessful reboot and do it again. I always had to flash the recovery.img twice in order for it to work
[Nexus S General] FL0OD:
That update, best yet. Thanks for the link

Sent from my neXus s 4G
[Nexus S General] fergie716:
Nice, I love TWRP so maybe I'll take a look at it again

---------- Post added at 01:58 AM ---------- Previous post was at 01:57 AM ----------

Dude, I don't know what it was but for some reason when I flashed those items in that order everything is fine lol.. able to d/l from market and all. Thank you! I went to hit your button but Im outta ammo
[Nexus S General] PyroDroids:
After getting V2 working flawlessly on my NS4G, I decided to test something, Here's what I did.

Wiped Data

Wiped Cache

Wiped Dalvik

Installed V2 rom

Attempted to Connect to Wifi, Getting Constant Reboots

Flashed ics-crespo4g-aosp-4.0.1-sprint-eri-patch-unsigned.zip

Attempted to Connect to Wifi, Wifi Connected, Working Flawlessly

Those are the EXACT steps I took, I don't know why as I am by no means a developer, but for me at least, it looks like the ERI Patch fixes the rebooting
[Nexus S General] ghostzyden:
Alright cool thanks;)
[Nexus S General] blacknet101:
hahaha its cool, im just here to help. Ive been doing this for a while now and i just never got into the forums to help but its nice. lol
[Nexus S General] jaestreetss:
nice to have people like that around
[Nexus S General] 2VULGAR:
Alright, I followed these steps, and BINGO! ICS v2 works effing awesome. Thank you very much for the proper steps.

Now, if we could get the reboot option in the shutdown menu... :D
[Nexus S General] blacknet101:
no problem haha good it worked for you! just here trying to help just like everyone else.

haha yeah im waiting for the 4-way shutdown menu thing hahaha
[Nexus S General] NYYFan325:
Damn you guys.... just as I gave up hope on v2 your making me download it (I cancelled midway through before after reading reboot isssues) and try it myself. All I wanted to do was read XDA for 5 mins before bed and now I am about to flash.... damn this addiction!
[Nexus S General] decalex:
Until then, I've been using this: Quick boot (on market)

http://bit.ly/tTSBHw

lofl.. life story.. ;)
[Nexus S General] fergie716:
LOL! Well i had issues earlier in the day. However, for some reason this guide here led to a successful flash.. Only thing I added: After all the flashing, fix permissions while in recovery, shut phone off, and take battery out for 5 minutes, then reboot..

Best of luck! lol.. Strange how some folks reported loosing their recovery but as long as you have ADB set up you'll be good

---------- Post added at 02:53 AM ---------- Previous post was at 02:52 AM ----------

Hey, do you know if the 4 way reboot is edited in android.policy.jar inside /framework? Thats where it is for MIUI
[Nexus S General] blacknet101:
glad ive been able to help some of you and your advice is good, i did that after i flashed and i still havent had problems with V2!
[Nexus S General] fergie716:
you definately helped this guy, thanks!

Here is a small mod

**Change carrier text**

Download this eri.zip

Extract it and grab the eri.xml. Edit it with your word processor of choice

Change the text inside the parenthesis where it says EriText

Take your modified eri.xml and place it in /data

Change permissions to "ALL" (see screenshot below)

Then reboot your phone!

Here's what mine looks like
[Nexus S General] blacknet101:
haha i did this too, i always use this MOD, but then again with ICS u can use the section where you put the OWNER INFO and use that to have a custom message on your lockscreen. But i use both XD
[Nexus S General] fergie716:
Ahhh nice! I havent been able to properly compile apps from ICS yet.. I was told I have to mod it from source, then compile.. But I wanna test these mods out lol. just gotta figure out how to compile
[Nexus S General] decalex:
am I high, or did they Googs switch around the "Ok" and "Cancel" buttons?

wtf yo.
[Nexus S General] info[]box1:
Yup they switch around the accept or decline prompt, so decline is first etc.
[Nexus S General] decalex:
Ya, pretty sure it's in the GlobalActions smali files. Then the framework-res.apk needs mods to pngs and the strings.xml. I decompiled the android.policy.jar but then realized 1. I don't know what I'm doing and 2. I'm allergic to smali :)
[Nexus S General] fergie716:
lol.. yea Im not quite there yet when it comes to smali coding.. I do know a little bit from trial and error..

I know MIUI is totally different too lol.. but it's located in

android.policy.jar\smali\com\android\internal\policy\impl\AwesomeLockScreenImp\

Then a **** load of various smali files.. I'll have to look more at something like BuglesPete's GPA ROM.. I know he added a reboot option to stock 2.3.7
[Nexus S General] blacknet101:
hahahaha yeah i was trippin out the first time too haha cuz i kept putting cancel cuz i was used to having them the other way haha

---------- Post added at 01:28 AM ---------- Previous post was at 01:26 AM ----------

yeah Pete's stock 2.3.7 rom does have the Reboot Options because i came from that ROM, u think its possible to import that to this rom?
[Nexus S General] zinv:
Just gotta say drool
[Nexus S General] info[]box1:
Pete's ROM doesn't have 4 way reboot options, just simply reboot or power off.
[Nexus S General] anon20:
^this
[Nexus S General] kgbcapthowdy:
this worked great for me. thanks
[Nexus S General] obsanity:
Here is a zip file I've been using to get the roaming say sprint on NS4G:

http://xdaforums.com/showpost.php?p=19520032&postcount=445
[Nexus S General] kgbcapthowdy:
how do i update my profile, i just progammed the phone but i have no data.
[Nexus S General] david279:
Flash this to get rid if the roaming indicator. I didn't make it. Somebody posted it in the original thread.

http://db.tt/lBI43QDy
[Nexus S General] JohnCorleone:
Man, I stayed awake all night messing with it. Only things I noticed were no 4g (known) and the face scan unlock doesn't work. Minor stuff. This feels really nice. Just about to flash the roaming indicator message, wifi is good with the flash fix and text works, phone works, new live wallpapers there's a lot to check out here. Its really nice. We'll see today if its a daily but its feeling that way so far...
[Nexus S General] alnova1:
Anyone else tried Google Wallet and are getting the Insufficient Privileges thing? I was using it a lot on my other rom and loved it.
[Nexus S General] david279:
Its missing all the wallet libs needed to work. There's only gingerbread libs right now.
[Nexus S General] alnova1:
Thanks for the info. I love this rom so far other than that! Root explorer is a bit funky..its real tiny but I don't expect everything to be perfect. Great Job!
[Nexus S General] sheek360:
Works great just needs 4g wimax
[Nexus S General] kessomatt:
MMS is not working. At least for me.
[Nexus S General] info[]box1:
Try a third party app.. ie Pansi, handcent, go sms.
[Nexus S General] dino1342:
How did u get the wifi to work did u flash the rom boot up then the fix or all at one time I can't get my wifi to work
[Nexus S General] d2offrover:
I changed the governor in NStools to Performance and it seems like the phone is a little snappier.
[Nexus S General] adamw1101:
Root explorer screen size is fubar
[Nexus S General] jaestreetss:
the way I did it was to manually add the network

brought to you by my iced out ns4G
[Nexus S General] dino1342:
Doin that got the wifi to work and where is nstools at
[Nexus S General] xyience:
The wifi patch works, just go to settings and click on the word wifi and add your network.
[Nexus S General] xyience:
Hmmm.the face unlock works great for me
[Nexus S General] dino1342:
Thanks that worked I was just turning it on and looking for the wifi in your area icon to add it thanks
[Nexus S General] xyience:
Hold down the power and the down volumes key

.
[Nexus S General] Killasmoke:
I've been on it since yesterday everything is great ran a few quadrant scores 1,700 was highest & 1,558 was lowest score

Its better than the sdk port even the beam wallpaper looks 10x better its more vibrant color purple than sdk version & face unlock works here & there
[Nexus S General] xyience:
Beezy used an emulator to make his ROM. This is the unofficial source code build.
[Nexus S General] xyience:
Glad I could help :)
[Nexus S General] bender_123:
Titanium Backup

Anybody having luck with Ti? When in app recovery, it just hangs at the batch recovery file. Is there any workaround or i am I forever alone in my Ti issue?

Sorry if its buried in the previous 39 pages. i didnt see any one else bring it up.
[Nexus S General] Psycoboy15:
I'm having the same issue.
[Nexus S General] liltwiggy:
Ok, I was having the wifi, phone and messaging problem earlier. I was on v2 using NS4G.

I read through this thread and flashed the roaming patch and the wifi patch and it no longer reboots.
[Nexus S General] pitmaster:
Make sure you have allowed unknown sources first......

In Ti-prefrences-app processing mode-change to interactive. You'll have to okay each one, but at least it works!

Long days and pleasant nights............
[Nexus S General] blacknet101:
no problem :D

Sent from Nexus S 4G [ICS]
[Nexus S General] blacknet101:
yea we've notices that the patches still need to be applied, hopefully w the next update, they can apply them into the ROM so we don't have reboot problems or anything else. but for now everything should be well by applying the patches.

Sent from Nexus S 4G [ICS]
[Nexus S General] Psycoboy15:
Thank you :) Didn't even know about that option.
[Nexus S General] formula84:
ONLY ROAMING FIX needed on V2 to fix REBOOTS

For the NS4G v2 I have found the issue with the reboots is in the framework-res.apk, that is why if you flash the roaming fix for v1 it is solved. I have edited your original post to show you what i did that worked great. Tested without a data wipe from v1 and with a data wipe and worked both times. WiFi patch is not needed and without it the signal indicator works properly. Also I strike out Franco kernel install as v2 Kernel works fine for now and includes 2 patches that are not available for other custom kernels yet.

1) boot into recovery

2) Not Needed | <strike> wipe data/factory reset</strike>

3) wipe cache partition

4) wipe dalvik-cache

5) flash ICS V2 rom.

6) Not Needed | <strike>flash the WIFI Fix</strike>

7) flash the Roaming Indicator (THIS IS THE ONLY FIX NEEDED)

8) Not Needed | <strike>flash Franco ICS kernel </strike>

9) reboot and done!
[Nexus S General] bender_123:
You mean i have to do work? Damn... (/sarcasm)

Thanks a ton, bro.
[Nexus S General] pitmaster:
:)

Long days and pleasant nights............
[Nexus S General] zeeraf:
so i was on v1 with no issues and decided to try v2 again , flashed using the instructions in the op but now i have lost root access ....
[Nexus S General] MaxCarnage:
It's interesting; I tried flashing v2 several times and kept getting the reboots after activating wifi. After following this procedure exactly, it worked for me. The ONLY difference between this and what I was doing before is step 7; I never flashed the Roaming Indicator before.

I wonder what it is about that fix that made the difference?
[Nexus S General] blizzake:
So yeah just flashed v2 over v1.... working great.

I wiped cache and dalvik cache then I flashed v2, eri patch, and then Franco kernel my phone is running great and I have wifi signal bars.
[Nexus S General] kgbcapthowdy:
thats weird, i do not have wifi bars lol. same kernel and patches as yours
[Nexus S General] david279:
I did the same except the kernel and I also have success.
[Nexus S General] Psycoboy15:
I did similiar as other people mentioned. I Wiped data/cach/dalvik. Flashed V2 and the eri patch and that was it. Wifi signal works now. It detects open networks and notifies me. Works great.
[Nexus S General] blizzake:
Oops misclicked and thanked you lol oh well. What weather widget are you using? I'm guessing the eri patch is the one making the ns4g stable not flashing the wifi patch with wifi patch installed you will have no wifi signal bars.
[Nexus S General] blizzake:
Did you by chance also install the wifi patch??
[Nexus S General] david279:
Now that's fixed. Let figure out mms.
[Nexus S General] david279:
That's beautiful widget with the darma skin. Yea just flash v2 and the eri patch and your good to go.
[Nexus S General] derekwilkinson:
you can use go sms to download mms :)
[Nexus S General] info[]box1:
I use Pansi sms/mms app in market.
[Nexus S General] lilmexx:
I don't know if it has been mentioned or not.. But when you go over the limit in text messaging, and it auto does a second text, the receiver just gets a jumbled mess.. The fix i found in the past was to have it lable the texts as 1of2 in options. But there does not seem to be any option for this.. I hate to use another messaging app but guess can give it a try.. Gosms the best option?? I have used handcent in the past...
[Nexus S General] kgbcapthowdy:
yes i did, is that the problem?

edit: just reflashed without wifi fix and all is good. i just restored my data only so i didnt loose ****. thanks
[Nexus S General] bearsblack:
Sweeeeet. Thanks a lot!
[Nexus S General] MaxCarnage:
This is what should be linked in the main post. Excellent; thanks.
[Nexus S General] david279:
And native mms sending works right?
[Nexus S General] MrDrumngun:
Is this any better than the port tylerwatt put out a few weeks back?
[Nexus S General] crzycrkr:
I mentioned it in the main thread a while back. Very annoying to have to use Handcent. I used it on GB to avoid the text going to the wrong person bug
[Nexus S General] crzycrkr:
anyone else have issues with massive keyboard lag sometimes?
[Nexus S General] MaxCarnage:
One of the benefits of being on Sprint, as far as I'm concerned anyway, is Google Voice integration and being able to use the Voice app for texting. Helps avoid these problems and you get the added bonus of being able to send/receive texts from your browser too.

Have you tried it?
[Nexus S General] david279:
So up next is the camcorder....
[Nexus S General] crzycrkr:
I use GV for voicemail only. Everything else was way too clumsy when I tried it originally. Also, if I recall correctly, GV integration with Sprint was sloppy not too long ago. No one seemed to know what was going on with it, how to turn it off, or how to fine tune. I would try it again if it was a simple flip of a switch to get it to send from my Sprint number, but until then, i won't use it
[Nexus S General] david279:
I use Google voice integration and it was support easy. I just enabled it from the Google voice website. I wouldn't even talk with sprint about it because its ran on Google's side. I also used my own Google voice number, I didn't port my sprint number to Google voice. That may have helped the smooth transition.
[Nexus S General] bobsbobbers:
Nothing like fixing a headache with brain surgery eh :D? Thanks for paring this down to the necessities!
[Nexus S General] blacknet101:
well the roaming indicator is only if u want it to say sprint but if ur using the eri.XML file to put whatever message u want then u don't have to flash the roaming indicator. I did for preference but yeah. just by flashing the ROM n wifi fix you should be fine.

you DONT HAVE to flash the kernel or roaming indicator :D

Nexus S 4G Ice Cream Sandwhich V2

*.what we do in life, echoes in eternity.*
[Nexus S General] Royvin:
Anyone else having problems getting USB storage to work in V2? I wiped everything 3 times before I flashed this as well. Do I have to enable anything first? Any tips would be helpful. Thanks!
[Nexus S General] crzycrkr:
See, that's the problem for me, I want my texts to be from my Sprint number
[Nexus S General] blacknet101:
well in reality k created those steps cuz its my personal preference. I like Franco Kernel over stock cuz I can OC n things like that.

In reality all u need is flash the rom n flash wifi fix n that's all but like I said, its just personal preference. :)

Nexus S 4G Ice Cream Sandwhich V2

*.what we do in life, echoes in eternity.*
[Nexus S General] david279:
If you don't flash the Eri fix v2 will reboot a lot. You could just flash the wifi patch but that will break the wifi signal bars. Best thing is to just flash v2 and then the eri patch.
[Nexus S General] blacknet101:
did u flash a custom kernel or is it stock? because if its stock, it should work for u if I'm not mistaken.

I'm using Francos kernel n I'm able to us USB but I did mine a different way.

Nexus S 4G Ice Cream Sandwhich V2

*.what we do in life, echoes in eternity.*
[Nexus S General] david279:
Well it works but its on sprint to port your number to Google voice correctly. That may be a hang up.
[Nexus S General] crzycrkr:
Many can't get it working with just the wifi fix. The roaming indicator seems to be the key to getting V2 to work. No one seems to say it hasn't worked yet. Worked flawlessly for me when no other way would
[Nexus S General] crzycrkr:
Wifi patch only makes V2 stable for very few. Eri patch seems to be the key
[Nexus S General] blacknet101:
yeah well all I know is that my steps worked haha n I just hope next update the dev can put these patches in the rom so we don't have to worry about reboots later. but we'll see how it goes. I'm just here to help that's all. nothing more.

Nexus S 4G Ice Cream Sandwhich V2

*.what we do in life, echoes in eternity.*
[Nexus S General] kgbcapthowdy:
what app are you using to overclock?
[Nexus S General] blacknet101:
umm either NSTools or SETCPU. Right now i stayed with NSTool and its been working perfectly.
[Nexus S General] MaxCarnage:
I had tried without the eri patch several times via several methods yesterday to no avail; the wifi patch did nothing but remove the strength indicator bars from the icon which is a big detriment to v2.

The Eri patch was definitely the key. I'm rocking v2 and loving this rom now.
[Nexus S General] blacknet101:
well i updated the post i made with the instructions that formula84 made here i hope you dont mind but i did give u credit on the post.

The new set of instructions: Fixing the Reboots on V2 [Updated]

Thank formula84 for clearing the reboot problem up. I'm just trying to help but its cool to make things even easier haha. Lets just hope these problems can be patched up on the new release.
[Nexus S General] alnova1:
I just have 1 question. What is the biggest advantage of V2 over V1? I have been following both forums till my eyes are bloodshot and really don't see one right now...maybe I'm wrong so please inform me if I am. I'm on V1 and its been super solid!
[Nexus S General] Psycoboy15:
I wouldn't even flash the WiFi patch. It doesn't seem to do anything other then break the signal bars. I did a fresh install with just the eri patch and it works great!
[Nexus S General] MaxCarnage:
Same here. I would not recommend flashing the wifi patch after flashing v2, which was supposed to have an integrated fix for wifi already. The eri patch really does seem to be the key to getting v2 working on the NS4G.
[Nexus S General] blacknet101:
for me V2 is smoother n a bit faster than V1 especially if you OC. But just some fixes were done on V2.

---------- Post added at 10:18 AM ---------- Previous post was at 10:17 AM ----------

i fixed the post, i forgot to take it off. sorry.
[Nexus S General] crzycrkr:
I understand, me too. I'm just trying to get it so the people like you and me that seem to read and answer a lot are on the same page for all the people that don't read or search
[Nexus S General] blacknet101:
haha yeah true. but thnxs for actually clearing up the problem. i updated the instructions and added what you did. i gave you credit for it too. and im verly starting to post on here, ive been reading on XDA since my first android but never helped.
[Nexus S General] Royvin:
Yeah I'm using Franco's Kernel. I'll try clearing cache again and reflashing the kernel to see if that helps. Thanks!
[Nexus S General] blacknet101:
it wont work, re-flash the rom and use the stock kernel and check if it works like that. I don't think the custom kernel have the fix for the USB yet.

I have read that the Lucid Kernel does fix the USB mass Storage support.

You might want to give that a try.!
[Nexus S General] crzycrkr:
Don't give me credit, I'm just relaying what I've read from others. I most definitely did not figure it out
[Nexus S General] blacknet101:
oops i ment i gave formula84 credit for the steps he cleared up from my post haha my bad. But yeah thnxs for the help.
[Nexus S General] vinnypel2ella:
think we could get a list with the links for the custom kernels, the ones in the OP only lead to the dev thread, i cannot find the ICS links from there.

Updated to V2 from V1 by wiping cache and dalvik cache, flashing V2, then the ERI patch, flashed without a kernel just to check usb mass storage, didnt work for me, so i flashed franco's kernel for now, seems to have better color than stock. Someone said NFC works in V2? doesnt for me, wallet keeps fcing. other than that running just as well as V1 was, talk works, all google apps work, wow gps locks to my exact location within seconds. wifi connects and stays connected. i dunno why everyone else was having such problems lol, works like a DREAM for me. I love the new keyboard to, i cannot even go back to swype cause its so beautiful ha.

Can anyone shed some light on how to use nstools to OC/UV, i tried but it sent me into a continious reboot everytime nstools got SU permission, dont wanna risk it so if anyone could be of help :) thanks. Heres a screenshot showing v2, wifi connected and you can see the bars and the activity indicator.