yashsingh1/xdaforums huggingface dataset:
[HTC One X] dezborders:
Hi all

This thread is based on what I learned in an HTC One S thread (http://xdaforums.com/showthread.php?t=1674202)

OK so I have found the location where the CID and IMEI are stored in /dev/block/mmcblk0 at offset 00a00000

00a0000 HTC-BOARD-INFO!@z...H3G__00135304xxxxxxxxxx

However, when I try to dump the file to SCDARD with

dd if=/dev/block/mmcblk0 of=/sdcard/mmcblk0

the command never finishes (I broke out after about 5 minutes with a 4GB file sitting on the SDCARD, which I assume is incomplete.

I also dd most of the part "pxx" files but none of them contained the CID & IMEI. ;(

root@android:/dev/block # ls -l

ls -l

brw------- root root 254, 0 2012-06-05 16:14 dm-0

brw------- root root 254, 1 2012-06-05 16:14 dm-1

brw------- root root 254, 2 2012-06-05 16:14 dm-2

brw------- root root 254, 3 2012-06-05 16:14 dm-3

brw------- root root 7, 0 2012-06-05 15:34 loop0

brw------- root root 7, 1 2012-06-05 15:34 loop1

brw------- root root 7, 2 2012-06-05 15:34 loop2

brw------- root root 7, 3 2012-06-05 15:34 loop3

brw------- root root 7, 4 2012-06-05 15:34 loop4

brw------- root root 7, 5 2012-06-05 15:34 loop5

brw------- root root 7, 6 2012-06-05 15:34 loop6

brw------- root root 7, 7 2012-06-05 15:34 loop7

brw------- root root 179, 0 2012-06-05 15:34 mmcblk0

brw------- root root 179, 1 2012-06-05 15:34 mmcblk0p1

brw------- root root 179, 10 2012-06-05 15:34 mmcblk0p10

brw------- root root 179, 11 2012-06-05 15:34 mmcblk0p11

brw------- root root 179, 12 2012-06-05 15:34 mmcblk0p12

brw------- root root 179, 13 2012-06-05 15:34 mmcblk0p13

brw------- root root 179, 14 2012-06-05 15:34 mmcblk0p14

brw------- root root 179, 15 2012-06-05 15:34 mmcblk0p15

brw------- root root 179, 16 2012-06-05 15:34 mmcblk0p16

brw------- root root 179, 17 2012-06-05 15:34 mmcblk0p17

brw------- root root 179, 18 2012-06-05 15:34 mmcblk0p18

brw------- root root 179, 19 2012-06-05 15:34 mmcblk0p19

brw------- root root 179, 2 2012-06-05 15:34 mmcblk0p2

brw------- root root 179, 20 2012-06-05 15:34 mmcblk0p20

brw------- root root 179, 3 2012-06-05 15:34 mmcblk0p3

brw------- root root 179, 4 2012-06-05 15:34 mmcblk0p4

brw------- root root 179, 5 2012-06-05 15:34 mmcblk0p5

brw------- root root 179, 6 2012-06-05 15:34 mmcblk0p6

brw------- root root 179, 7 2012-06-05 15:34 mmcblk0p7

brw------- root root 179, 8 2012-06-05 15:34 mmcblk0p8

brw------- root root 179, 9 2012-06-05 15:34 mmcblk0p9

drwxr-xr-x root root 2012-06-05 15:34 platform

drwxr-xr-x root root 2012-06-05 15:34 vold

Is it possible with dd (or another adb shell / linux commmand) to modify only the 8 bytes of mmcblk0 which contain the CID? If so we could debrand with HTC__001 or even superCID with 11111111

Any ideas?
[HTC One X] pewpewbangbang:
why dont you post this in the S-OFF discussion?
[HTC One X] BenPope:
man dd

Looks like skip and seek are what you're looking for.
[HTC One X] dezborders:
Sadly conv=notrunc option is disabled in dd on android so I can't update only the area containing cid. It's not feasible to dump all 32gb of mccblk0, edit cid then write back all 32gb.
[HTC One X] BenPope:
Does the android version support the "skip" and "seek" options?
[HTC One X] k0rner:
mmcblk0 is the whole 32G flash chip of the phone, while mmcblk0p1 .. mmcblk0p20 are the individual partitions.

I think, it is worth to find specific partition between these 20, which contains CID, and work with it.
[HTC One X] dezborders:
None of the 20 partitions contain the cid, obviously the area of mmcblk0 containing this data is only accessible to hboot.

Also, it has been suggested writing to the 20 partitions only makes temporary changes which revert to original values at next reboot.

I think this thread should be locked and let the devs in the main S-off thread continue the discussion .)
[HTC One X] windigo007:
I think mmcblk0p19 contains CID.

Karel
[HTC One X] dezborders:
If I remember correctly p19 is just logs, so its just a text file that happens to contain a copy of your cid code. Sorry

@MOD... If any forum mods are reading, please lock this thread for me, thanks !
[HTC One X] Salbawardi2:
mmcblk0p14 contains the cid
[HTC One X] hamdir:
no lets keep this discussion outside the S-off section

changing CID is a different and as important as s-off

its really odd that this can be done for the One S and not the X
[HTC One X] lemon_cn:
Hello, I've found 0x00A00000 at /dev/block/mmcblk0 is where the cid and IMEI were stored for some time, but I didn't found a way to change it.

But now that I've got a way to modify it. Use the dd command from Busybox, it can let you use the "conv=notrunc" parameter to write the changed cid into /dev/block/mmcblk0. btw, 0x00A00000 is the offset of DIAG partition, so here is the start of diag partition.

You may use dd command to export the mmcblk0 from 0x00A00000 to a file called "towrite", and modify it using a hex editor, then do the flash just as the following command in the shell:

busybox dd if=/sdcard/towrite of=/dev/block/mmcblk0 bs=1024 count=1 seek=10240 conv=notrunc

Then you willl get it modified(you can check it by "dd if=/dev/block/mmcblk0 of=/sdcard/dump.txt bs=1024 count=1 skip=10240", and then check "dump.txt" in your sdcard, you will see it has been modified.)

BUT IT WON'T CHANGE THE CID ACTUALLY. If you reboot into bootloader, and execute "fastboot oem readcid" then, the cid remains the original one.

So...I think the CID must be stored in the motherboard, and can't be modified by software methods.
[HTC One X] MrT69:
What's about the idea to rip the mmcblk0p4 from an S-OFF device and put it on a S-ON device? As far as I know the hboot is stored within this partition.

It might be that the IMEI will also be the same but I guess with the current eng-hboot there is an option to change it.

Who can offer a backup from an TEGRA S-OFF device?
[HTC One X] Bigleg75:
Don't waste your time, as of now you cannot change your cid, if s_off comes in the future this may change but it might never happen.
[HTC One X] shiningarmor:
i believe its possible for the x if its possible for the s.

but at the same time, i dun think its possible.

remember, the s is a qualcomm and the x is a tegra
[HTC One X] Babydollll:
The one x and the one s do not share the same SoC. What works on the one s doesn't necessarily work on the one x.

Sent from somewhere....if I could only remember where....
[Motorola Droid X2] 754boy:
I have a problem restoring nandroid backups. It freezes while restoring data at the same place every time. When I try to wipe data or cache, I get an error thay says cant mount dev/block/mmblk1p2

That might not be exact. Anyway I googled some info and people with the same error traced it back to a bad partition on internal memory.

My question is would formatting internal fix it? I know my data would be gone but would system stuff be wiped too?
[Motorola Droid X2] mr sprinkle man:
The same thing happened to me. It would freeze on the same thing every time. My guess is that your recovery file is corrupted. you might have to make a new one (if you can) if not then you can always sbf back to 2.3.4
[Samsung Infuse 4G] goobieracing:
On Entropy's cm9 build 5/27/12 using ultra cm9s kernel
[Samsung Infuse 4G] darknessrise1234:
Tried to go 200 and got a freeze. Seems my lowest is 150 but that's still very good.
[Samsung Infuse 4G] goobieracing:
I must be lucky lol
[Samsung Infuse 4G] Dapk1nmasta:
1400mhz = 1150mV

1200mhz = 1075mV

800mhz = 975mV

400mhz = 925mV

200mhz = 850mV

100mhz = 850mV

Using CM9 build with Entropy's ICS kernel.

Lowest I could go without it immediately crashing. Something's too low as it crashes after about a minute of use, though.

Edit: I added 25mV to each one and it seems to be running fine.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] ryn888:
Guys i admit im so stupid. My problem is i accidentally install i9100 fw to my n7000 galaxy note. Suddenly the screen goes blank... no samsung or any image. a total blank scrren black screen with sounds.

Please guys help me. Im using DXLP9 N7000. i accidentally install DXLP9 i9100 for S2. Help Guys!
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] muhamet:
Bricked
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] andreww88:
Ehh.....Can you hold down Power+volume down+home button and get into download mode? Or can you get into recovery?

You need to get into download mode and use PC Odin to flash back. That is unless you just bricked your phone.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] ryn888:
Yeah i think its bricked. Please guys! Help
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] andreww88:
Can you get into download mode??
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] ryn888:
Yes i can but its total blank sir
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] ryn888:
Help guys
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] M3TALLICA:
Remove battery. Put it back.

Boot into download mode. Wait 10 Sec.

Press volume up.

Prepare PC Odin.

Connect your phone.

If everything is OK, you'll see COM Port box turned yellow.

Flash it.

Problem is you'll have to do everything on black screen.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] ryn888:
Guys its okay i already solved it. I just install 2.tar using odin. Thanks guys
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Andreson01:
Hey there, here is link for wt19a .ftf

https://www.dropbox.com/s/b6cmbt2lzs9vvz7/WT19a_4.1.B.0.431_america.ftf
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Svartehjerte:
Well... please help me:

-I've changed the number i had in build.prop and cust.prop; i've used CUSTOMIZED US WORLD A 1254-1956 from here, but PCC and SUS didn't gave me the update.

WHAT I'VE DONE WRONG? :(
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Alexmessy:
Why don't you flash it with flashtool? Much easier :P
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Wing00w0:
well to me it worked first i repair with the PCC and made a tft of the Telcel firmware(and gess what it was a generic 4.0.2.A.0.62 version)

after trying to change the CDA number and nothing hapenned i flashed a wt19i .58 version then in the PCC each time i repair the phone shut down and F**k

then i flashed with the "telcel" version and ta-daa a generic 4.0.2.A.0.62 version 1254-1956

then this morning i put the cel in PCC and it said "you have an update" so i update to ics that's all, just let me search a server to upload the 2 tft(.62 version an ICS for WT19a US, well i'am in mexico)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Svartehjerte:
I've used flashtool and installed WT19i firmware. All is good by now except Play Store is giving me connection errors.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] davidcmc:
http://xdaforums.com/showthread.php?t=1694776

:)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Svartehjerte:
Yes friend i used your file to get the 'a' version. I hace already thanked you in your thread :)
[HTC One X] Risingson:
Running LeeDroid with volume steps set to 'Finest' (not sure if this is relevant) and the notification and ringtone volumes are still quite loud even when set to minimum.

I like to set the volumes to just loud enough to alert me while dozing but not loud enough to wake me when sleeping. Can't do it :(

I know I can select different tones and create audio profiles but I want this phone to work how I want it to, just like my good old Desire did/does.

Is there a mod/hack to alter the min/max volumes?
[HTC One X] Risingson:
Upgraded to LeeDrOiD 6.4.0 and having the same issue.

Anyone with any ideas? We can control the level of auto screen brightness, can the same be done to control the volume steps?

I can't seem to turn the volume low enough at night to not be disturbing!
[Galaxy S II Q&A, Help & Troubleshooting] chicoelnino:
Lads, how do I get rid of my custom Rom(as I'm selling the phone) on my S2 and get it to be as it was out of the box?

I had litneing ROM on it for months and only flashed one rom ever one it.

I'm unsure as to what stock rom to down and what guide to follow. Would someone be kind enough to point me in the right direction to unrooting the phone back to square one. I'm from Ireland, so I don't know if that makes a difference when flashing stock roms etc.

Thanks.
[Galaxy S II Q&A, Help & Troubleshooting] Mr.Greg:
Wrong thread mate. Post your questions in Q&A forum.
[Galaxy S II Q&A, Help & Troubleshooting] buzzboy:
Official firmware and guide can be found here:

http://xdaforums.com/showthread.php?t=1075278

Regards.
[Galaxy S II Q&A, Help & Troubleshooting] nursespecialist:
You can search for samfirmware.com what's the latest firmware if your using gingerbread or ICS. remember to do full wipe before using odin to flash back to stock ROM.

HIT THANKS IF IT HELPS YOU IN ANYWAY!!!
[Kindle Fire Q&A, Help & Troubleshooting] Daniel120201:
There is no wifi on gederom or any CM9 rom.I turn on and off wifi and still it doesn't work. I have an Intellinet router.

Thanks for any replies.
[Kindle Fire Q&A, Help & Troubleshooting] tedr108:
You should probably try changing your router's channel. I've heard that channel 13 is bad news ... and I think that was for a cm9 rom. Anyway, it's definitely worth a shot.
[Kindle Fire Q&A, Help & Troubleshooting] kf-ics-dan:
Are you wiping cache/dalvik before flashing new roms? If you're going from one developers rom to another developer, you should do a factory reset, then wipe, then install rom. If all you're doing to flashing roms from the same developer, then a cache/dalvik wipe is all you need to do. Hope that helps!
[Kindle Fire Q&A, Help & Troubleshooting] dudeitsvinced:
Wipe that kindle clean. Are you using fios? I've heard of a few people having issues with them.
[Kindle Fire Q&A, Help & Troubleshooting] ExploreMN:
I notice I can't see one particular Linksys wireless router at one of my job sites, but since we have two wireless routers it doesn't really affect me. No idea why...but maybe there is something someone else knows that can help understand the issue?
[Kindle Fire Q&A, Help & Troubleshooting] Daniel120201:
I still have no wifi and I wiped my kindle fire clean too. I changed the wifi channel from 11 to 4 but still it doesn't work.The connection shows up and when I enter the password the signal strength goes down.It says Authenticating and then it says saved and doesn't connect.

Any Help please.
[Kindle Fire Q&A, Help & Troubleshooting] veeman:
Try changing from dhcp to static.
[Kindle Fire Q&A, Help & Troubleshooting] ExploreMN:
Can you go someplace where there is another router? Like I said, I notice there is one particular flavor of Linksys router that my Fire can't see on this ROM, yet at home I have a different model Linksys and there is no problem. Check it out on another router to see if it's just some weird compatibility issue.
[Kindle Fire Q&A, Help & Troubleshooting] Tera Tike:
Check the router and see if QOS is enabled. If so try turning it off.
[Kindle Fire Q&A, Help & Troubleshooting] Daniel120201:
I don't have any other routers in my house. With static I still get the same result.

Any way thanks for all the replies.
[Kindle Fire Q&A, Help & Troubleshooting] thea mohamed-toorn:
IF FOR SOME REASON WIFI DOESN'T WORK ON THE FIRST BOOTUP DO THE FOLLOWING:

This is what hashcode say's

Enter Terminal Emulator

Type: su

Type: fix-mac.sh

Exit Terminal Emulator

Reboot
[Kindle Fire Q&A, Help & Troubleshooting] ExploreMN:
Is there a reason you can't go to a coffee shop, library, or any number of other hotspots with your Fire? I mean if you have a medical issue that keeps you bedridden, I understand, but if not, there are usually routers everywhere you can try connecting to.
[Kindle Fire Q&A, Help & Troubleshooting] Hashcode:
Please try connecting to your wifi and then pastebin the output from the following and PM me the links:

Adb shell "dmesg" > dmesg.txt

Adb logcat > logcat.txt

Thanks
[Kindle Fire Q&A, Help & Troubleshooting] Daniel120201:
The fix-mac.sh fix still doesn't work and I found something with build.prop and settings.db and with some locale things while I was with channel 11 and still it didn't work.

Thanks for the replies.
[Kindle Fire Q&A, Help & Troubleshooting] Hashcode:
Daniel120201: I looked at your pastebin logs and here are some notes:

The key lines in your logs are:

logcat: 7551.D/wpa_supplicant( 1040): EAPOL: Supplicant port status: Unauthorized

dmesg: 3949.<7>[ 538.654174] wlan0: disassociated from 00:0e:e8:d5:c5:d1 (Reason: 15)

When I looked up "Reason 15" as a disassociation error, I find:

Reason code 15: 4-Way Handshake timeout.

When I looked up how 4-Way Handshake works:

http://en.wikipedia.org/wiki/IEEE_802.11i-2004

On that page it references CCMP protocol for WPA2 and IPSEC:

http://en.wikipedia.org/wiki/CCMP

And on that page it mentions this:

CCMP is an enhanced data cryptographic encapsulation mechanism designed for data confidentiality and based upon the Counter Mode with CBC-MAC (CCM) of the AES standard

I double-checked the kernel config and low and behold:

#

# Authenticated Encryption with Associated Data

#

# CONFIG_CRYPTO_CCM is not set

I think this can be solved via a kernel config change. Later today, I will create a new kernel only .zip file with this change and I'd like for you to test it.

This also may solve IPSEC issues as well.
[Kindle Fire Q&A, Help & Troubleshooting] Hashcode:
Here is a link to the new kernel w/ CCMP support added [Kernel #12 06/08]:

http://bit.ly/KPbDVm

md5sum: e7476ff785b2dfbdb062e1cc036c14ac
[Kindle Fire Q&A, Help & Troubleshooting] Daniel120201:
Thanks for the kernel Hashcode.It's Works.
[Kindle Fire Q&A, Help & Troubleshooting] Hashcode:
You're quite welcome. I think there were a few others who were in the same boat.
[Kindle Fire Q&A, Help & Troubleshooting] Frederick1337:
Updated kernel Still same problem for me

I am still experiencing this error after kernel update. Too bad this is a very good rom otherwise.:crying:
[Galaxy Ace S5830 Themes and Apps] iggytod:
Can anyone recommand me camera app that supports video recording?
[Galaxy Ace S5830 Themes and Apps] system.img:
Lgcamera is the best for video recording!
[Galaxy Ace S5830 Themes and Apps] myshowbiz:
agreed...:)

since using v4,which the videorecording didn't have the flash, iam using lgcamera pro and it works awesome...
[Galaxy Tab Q&A, Help & Troubleshooting] nabildarwajkar:
Model Number : GT–P6200

Android Version : 3.2

Baseband Version : P6200XXKL7

Kernel Version : 2.6.36-P6200JPKL2-CL606727 root@DELL144 #3

Build Number: HTJ85B P6200JPKL2

i have rooted my phone,

it was working perfectly fine,

but when i done factory reset then the problem started,

it is automatically restarting again and again

not able to switch off n switch on

then i downloaded rom (P6200XXKL7_P6200XEUKL1_XEU) from samdroid site

and tried to flash rom but tar file is not showing from odin pda,

please help me :(

can i unroot this device? and please give me suitable rom for this device

thank you
[Galaxy Tab Q&A, Help & Troubleshooting] priyana:
wrong forum.

This is for P1000

Yours is here:

http://xdaforums.com/forumdisplay.php?f=1426
[Galaxy Tab Q&A, Help & Troubleshooting] yappoe:
:) as priyana mentioned wrong forum.

But you can follow the instructions on this post, they have firmware for your device as well:

http://xdaforums.com/showpost.php?p=27043121&postcount=9
[Galaxy Tab Q&A, Help & Troubleshooting] nabildarwajkar:
sorry and thanks

dosent matter where i am posting thread

matter is only my tab is not working

trying as u suggested

will come back soon after flashing
[Galaxy Tab Q&A, Help & Troubleshooting] nabildarwajkar:
still problrm remains

i have done flashing but still restarting dont kno what to do now please guys help dnt wana loose my tab
[Galaxy Tab Q&A, Help & Troubleshooting] priyana:
Well it doesn't matter if the problem is generic.

If it is specific, won't you think more users of your tab will be reading that forum?
[Galaxy Note GT-N7000 General] stiffi2011:
Okay, so I was on official ICS, several actually. I kept hoping one would prove not to have the Super Brick bug. It seems nobody knows, still.

After working myself into a panic worried I would do something normal and suddenly have a brick on my hands, I flashed back to Gingerbread 2.3.6, Europe Open version (XXLA4). I decided to stick with Touchwiz launcher

After messing around with ICS and several different launchers I guess I had forgotten how smooth the stock is.

Apps are now opening and closing fast, the scrolling in the launcher is super smooth and overall, the phone is working very well. It's like a new machine!

It could help that now that I'm on a safe kernel, I've wiped data and basically started new, but I'm very impressed.

I still wish ICS would come out from Samsung with an announced fixed version. I miss the resizing of widgets and the ICS Voice to text engine. It really is much better.

I would rather feel safe in operating the phone, however, and give up those small ICS features I'm missing.

Has anybody else done the same? What do you think?
[Galaxy Note GT-N7000 General] andreww88:
Just use Franco kernel or Speedmod kernel for your stock ICS rom and you'll have a "safe" kernel.

Or flash CM9 rom.

Since you are on GB, you can flash a CM9 rom and be perfectly fine easily.
[Galaxy Note GT-N7000 General] snabben:
I have to agree alittle with you , always when i reflash to a stock rooted gb, i always feel WOW its so smooth, but thats until i start installing all my apps i use.

I must say that batterylife is better for me on ICS, dunno why.
[Galaxy Note GT-N7000 General] lukabike:
BTW, is there any significant speed difference between stock ICS (LPY for instance) and CM9? I'm on LPY and Franco r5 and even when overclocking to 1.6 GHz I haven't noticed any speed change.
[Galaxy Note GT-N7000 General] knottr:
I've not tried CM9.

Currently its in nightlies but even still from past experiences with stock rom vs cm7 etc i got noticable stability and speed increases. different phones and roms though but generally the idea still applies.
[Galaxy Note GT-N7000 General] mingonn:
Can't understand all the drama about the ICS update. I just installed mine OTA as instructed, installed Apex Launcher and I couldn't be happier. Everything seems a little smoother too.

Stock email widget works a treat (7x7 grid and above) and with the Smooth Calender widget I am in home screen heaven. Leaves TW on both Gingerbread and ICS.

Just gone from a great phone to a fantastic phone for my needs :)
[Galaxy Note GT-N7000 General] jimmod:
I on the other hand still stick with GB right know.

I'm planning to flash CM9 this weekend.

Because I'm getting bored with GB, everyone seems already tried ICS.

I was waiting official save kernel from Samsung, but I just cannot wait anymore to try the ICS.

I will try CM9 mod first I guess, although Franco and CF kernel already release their 'safe' kernel but I still a bit worried since we're not yet sure if there's other reason of the hardbrick
[Galaxy Note GT-N7000 General] RochiWizz:
Also back on GB stock with root

I have to agree with this that stock GB is alot more stable than ICS and smoother aswell.

I have tried nearly all the stock ICS releases and all the custom roms based on stock ICS that are in the development forum. Also tried with different kernel combinations and both full wipe / no wipe. Initially most of it seems great then you start using a few apps and it all goes downhill from there.

So GB ftw :D (well atleast till I get that flashing craving again)
[Galaxy Note GT-N7000 General] itsmix:
Hi,

Using stock ICS update, had a bricked device after my inability to read, read, read, read & read more, lucky enough to find a solution (not able to disclose, not a technical solution - retail) I use Apex pro launcher & all runs like a dream.

Run chainfires got brickbug? & not happy x19. Rooting may have to wait, confidence bit dented (rooted & flashed my last HTC units & my SG2)

Will read, read & read for a while longer yet.
[Galaxy Note GT-N7000 General] Final5k:
I also don't understand the complaints for official ICS, I have updated mine and everything is running smooth...there seems to be a problem for people who did not factory reset before upgrading?