yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy J2 Guides, News, & Discussion] Peeran:
Hi Guys,

I am Going To Guide You How To Restore IMEI Of Your Samsung GALAXY J2 All Variants.

I AM NOT RESPONSIBLE FOR ANY DAMAGE OR BRICKING OCCURRED WITH YOUR DEVICE DURING THE PROCESS!!

FOLLOW MY GUIDE STEP BY STEP FOR PERFECT SOLUTION.

REQUIREMENTS :-

● Samsung GALAXY J2 Smartphone With Unknown/Blank/Null IMEI.

● Z3X Box With PRO Activated License.

● ES File Explorer App. (Available In Play Store)

● "serial_no" File. (Which Contains Your SN Number.)

STEP 1: ROOTING YOUR SAMSUNG GALAXY J2 :-

Follow My Previous Post Step By Step To Root Your Samsung Galaxy J2 Smartphone.

STEP 2: TAKING A COMPLETE BACKUP OF YOUR EFS :-

You Must Take A Complete Backup Of Your EFS Folder Via TWRP Recovery.

Click On "BACKUP" and Check The "EFS" And Uncheck Remaining Options And Swipe To Take The Backup.

If You Want To Restore, Just Click On "RESTORE" And Select "EFS" And Swipe To Restore.

STEP 3: COPY THE "serial_no" FILE :-

Goto Play Store And Download The Latest Version Of ES File Explorer.

Open It And Enable "ROOT EXPLORER" And GRANT SuperSU Permissions.

Mount System To READ/WRITE.

Goto Directory "DEVICE/EFS/FACTORY APP" And Copy The "serial_no" File To Your Internal/External Storage.

STEP 4: ENABLE USB DEBUGGING :-

Goto >>SETTINGS >>ABOUT DEVICE>> TAP BUILD NUMBER 3 TO 5 TIMES.

Get Back To SETTINGS And Goto >>DEVELOPER OPTIONS >>ENABLE USB DEBUGGING.

STEP 5: RESTORING IMEI :-

Connect The Z3X Box And Open "SamsungToolPRO.exe."

Select "SMJ200G/H/BT" And Goto "Repair" Section.

Connect Your Device To The PC While It Is Switched On Via USB Cable.

Click On "PORT" And Select It (It Can Be Shown Either "SMJ200G/H/BT" Or "Unknown Offline" But Dont Worry, Just Select Whatever Shown On PORT Section.)

Now, Click On "RESET EFS" To Begin The Process.

Don't Forget To "GRANT" SuperSU Permissions.And "ALLOW" The Debugging Permission Prompt.

The Phone Will Reboots Itself And Shows Your Original IMEI.

To Check, Just Dial *#06# In The Dialer.

ADDITIONAL/STEP 6: REPAIRING THE SN NUMBER :-

If You Lost SN Number (Known As Device Serial Number) During The Process, Just Paste The "serial_no" File From Your Internal /External Storage To The Directory "DEVICE/EFS/FACTORY APP/" Via ES File Explorer App And Reboot Your Device.

The SN Number Will Be Updated To It's Original State After Reboot.

Now Your IMEI And SN Number Are Back And Safe.

KEEP SMILING!!!
[Samsung Galaxy J2 Guides, News, & Discussion] Msanical:
Hi Is There A Way To Restore The IMEI Without Any Box Coz I Don't Have One
[Samsung Galaxy J2 Guides, News, & Discussion] fakhar_nadeem:
Thanks alot, But after repairing my IMEI can i unroot my phone?
[Samsung Galaxy J2 Guides, News, & Discussion] apjmili:
I am usin Z3X Samsung Tool Pro v32.6. How will I go about restoring IMEI?
[HTC Wings] jockyw2001:
I'm confident I found the solution to enable GPS on production model Wings !

Check this out!

Now someone should test it!

See this post for info about dumping NV items.

or read on for a short manual:

0. search and download QPST (this is a qualcomm product suite, i believe someone put a link in this thread)

1. install HardSPL (see sticky)

2. download drivers on your PC (installation will be triggered after step 5.)

3. uncheck "Allow USB connections" in Activesync

4. restart phone in tri-color bootloader mode and start MTTY 1.42 (attached)

5. press return until you see Cmd> prompt and type: rtask c (if you never installed the diagnostics drivers before the installation of three drivers will be triggered (modem, diag com port diag and nmea com port)

6. now exit MTTY and start "QPST RF NV Item Manager" and select Read from Phone from the File menu

7. search item 0148 [NV_RF_CONFIG_I] on a production model is 11 (hexadecimal 0xb) and on a pre-production model it is 17 (hexadecimal 0x11)

8. if you have a production model change the value to 17 and click the button "NV Write". To veryfy if the value is sticky Read from Phone again

These are the steps. Unfortunately on a production model the value 17 is not written and stays 11. This is due to some kind of security mechanism and I'm quite sure this can and will be h*cked soon.

On a pre-production Wings and also on production Kaisers the value can be modified.
[HTC Wings] sat_ana:
You are God!!!!!!!!!!!!!!!!!!!!!!!

Regards
[HTC Wings] Dumdidum:
Is it working?
[HTC Wings] el_lo:
Jocky, sorry, didn't see your new thread. I replied here : http://xdaforums.com/showpost.php?p=1847311&postcount=106

What do you think :confused:
[HTC Wings] Djim:
i'm kinda new with smartphones ^^;

would you mind to write a little summary in a post or in a pm with the procedure?

sorry to ask that , i just dont want to do anything wrong ^^;

thx
[HTC Wings] sat_ana:
Bad bad news :(

Regards
[HTC Wings] el_lo:
Not at all, this problem has been solved already. See the solution here: http://xdaforums.com/showpost.php?p=1847405&postcount=107 ;)

But there is a new problem here http://xdaforums.com/showthread.php?t=361322&page=12 @ post #112
[HTC Wings] A.Bagatov:
thanks a lot jocky!!!!! :cool:
[HTC Wings] Dumdidum:
How can I read the NV Item?
[HTC Wings] jenko22:
Taken from hxxp://xdaforums.com/showthread.php?p=1813156
[HTC Wings] Dumdidum:
Yes, but how now to read the Item 148 from that file?
[HTC Wings] jockyw2001:
Open the file in "QCNView" (part of QPST suite)
[HTC Wings] WasStoNed:
I'll try and see what I can do with mine this week-end, work's crap as no admin on PC.

Really wanna help to get this going
[HTC Wings] Dumdidum:
17 on my PreProd Radio Rom...
[HTC Wings] Dumdidum:
Btw: I could successfully change it to 11... (checked it)

Dont have a fix since 10 minutes... but up to 13 (!) satelittes in view still....
[HTC Wings] jockyw2001:
Thx for testing this Dumdidum, that is very helpful information.
[HTC Wings] jockyw2001:
Dumdidum's last test makes me very pessimistic.

It almost seems that before the item value is written to NVRAM the device checks if the hw is available :(

Anyhow, we will know soon, because I think I have a method to write NV which bypasses all checks :)
[HTC Wings] walram:
I can't wait! Hope this will help.

By the way. Did you play around with the QXDM software? I found a testing utility for the GPS. I only could test it at work and we have no gps signals inside the building. Maybe you can try?
[HTC Wings] Surfboomerang:
I don't know if this link is of any use in this, but every little bit helps (I hope)

Qualcomm MSM7200 Specs

On the last page is a picture of the architecture
[HTC Wings] Alcaline:
Not quite correct. I flashed Wings Firmware 1.31.405 Radio 1.58.17.02, to my wings

now I can change item 148 value as much as I like...

I have never flashed a kaiser radio to my unit..
[HTC Wings] walram:
all of the test above give the same result. you only see one satellite once in a while.

So we now know that we need value 17 to get a fix. In the logging you made i see that you have about 12 satellites regardless of the value. I never see this many satellites, so there must be another reason why gps is not working on the wings.
[HTC Wings] playerkiller:
Lack of antenna? :)
[HTC Wings] mpattonm:
Could someone open one of more recent GPS enabled HTC PPC/Sartphones (not necesarly pre-prod Wings) and take a detail picture of antena component? It should be sqare component about 20x10x2 mm in size (quite big compare to rest of stuff on PSB)
[HTC Wings] jockyw2001:
Yes, we now know there are 2 requirements for GPS on a HTC device:

* sw configuration -> NV item 148 must be set to 17

* hw configuration -> device needs chipset support and antenna (?)

Someone posted inside pictures of Wings here. I don't know who posted it and if it is of a prod or pre-prod model.

@Walram, you may try it also with the rom (WM 6.1?) here. Extract radio and OS and flash them both. Make sure item 148 is set to 17. Alcaline found that this radio also allows setvalue of NV items.
[HTC Wings] mpattonm:
As far as I remember, this is final (production) unit. Noone with pre-prod unit is willing to open it. Anyway, Kaiser PCB layout picture would be usefull same way.
[HTC Wings] jockyw2001:
Please find them here.
[HTC Wings] asimolo76:
for me ..... wing don't have internal gps antenna

because if any have an external gps antenna don't try to connect to production model by external connector and test the gps ?
[HTC Wings] goolpone:
no because at the wings gold connector is placed a side of antenna thaat the man who's opened the phone has removed.

talking about the attached picture..

But i can see that both devices have some stucture.. the red circle is the external antenna connector (GPS), the yellow one is the gold connector to pre-charged antenna builted in (GSM/GPS) i think, and the blue one is the processor assigned to GPS/GSM signal probably. but in the kaiser all circuits ar closed in opposit the wings has same circuits opened between the antenna connector and the "chip".. (arrowed).

what do you think? WE NEED ABSOLUTELY AN OPENED PRE-PROD WINGS PICTURE!!!

regards!!
[HTC Wings] asimolo76:
WE NEED ABSOLUTELY AN OPENED PRE-PROD WINGS PICTURE!!!
[HTC Wings] norwegianS730:
if you compare kaiser and wing pictures, you see the gold plated connectors matches opposite corresponding connectors. the big round connector are an gsm connector with an matching antenna. if you look at pictures at the ftp site(s730), you see the part corresponding to the big connector are named 900mhz.then its a antenna for the 900mhz band. the small round connector are for gps, and by the look of the pictures of the wings it has an small wire(antenna) attached by the side of the phone.

its probably sw deactivated. if its just a lack of an inactive antenna i would have had an response when trying an reradiating antenna.
[HTC Wings] jockyw2001:
If you did not set NV item 148 to 17 then everything else fails.
[HTC Wings] rafuz:
Ok, what I need to open it? :D

For who doesn't remember, I have a pre-prod model (the rom on the ftp is mine...) and I can't read the forum very often. I will open it and post pictures where needed but I need some instructions.

Thank you all for your support
[HTC Wings] Dagnelinos:
ma grazie a te! :D

Dovrebbe bastarti un cacciative torx...

grazie ancora ! ;)
[HTC Wings] Alcaline:
Opening the unit is easy.

Remove Battery Cover

Remove battery and simcard

Unscrew the middle screw at the buttom

Eject the small cover over around the USB. This can be alittle tricky, but it is supposed to be dragged straight out

Unscrew the two other screws at the buttom.. (below the battery)

Then the buttom cover should be loose. There are some kind of clips around the cover so take your time and be carefull when removing so they dont get broken
[HTC Wings] norwegianS730:
use a creditcard (or similar) gently between the cover and frame.

then it loosen without any damage.

we`re waiting for pictures, great work:)
[HTC Wings] walram:
flashing it right now...
[HTC Wings] playerkiller:
Finally One. Thanks rafux :)

Sei grande!
[HTC Wings] Alcaline:
This is a production model! dont gets your hopes up! :)

I just had to investigate the "ting" we saw on the earlier posted pictures of the production wings.. what I have cut out of the picture here. Can this be anyting but an antenna?

Could this be an antenna for Wlan?
[HTC Wings] walram:
flashed it but i cannot change the nv item 148. it is set to 11. This is strange isn't it? I did flash the whole image, not extract the radio and os. can that be the problem? Alcaline probably did the same?
[HTC Wings] goolpone:
I beleve nobody knows.. we are doing tests.. but if you extract different components from different roms i don't know why it doesn't work by itself.. if a component (ex. radio) work on 6.1 must work also on 6.0..

In my opinion we have to update the latest radio, extract the NV item and edit it before flash.. I don't know how but this can be an idea.. regards
[HTC Wings] jockyw2001:
Hm yes this is strange. Alcaline should describe what he did.

The HardSPL wasn't overwritten right?

Any other feedback about this ROM? Is it WM6.1?
[HTC Wings] Alcaline:
Hi,

First off the OS is not 6.1.

That latest thing I flashed to my device is:

RUU_Wings_HTC_WWE_1.31.405.1R2_radio_sign_25.62.30.03_1.58.17.02_Ship (located on forum)

With the OS (Windows.nb) from:

RUU_Wings_HTC_WWE_1.21.405.0_R_radio_sign_25.47.20.01_1.58.09.17_Test (located on FTP)

None of these are WM6.1

If this is why I can write NV item 148 i am not shure. IT could also be because I flashed the TEST rom before and this unlocked it some how?
[HTC Wings] goolpone:
But for instance Alcaline.. now your GPS works??
[HTC Wings] Alcaline:
no, there is no difference :(
[HTC Wings] asimolo76:
Photos ????

Rafuz ....... iuuuuuuu ..... photos ???? :D
[HTC Wings] johankj:
Test 1: (Wings. NV=11)

Sats come in to view quickly, rich information from sat status strings ($GPVSG). No SNR value available from sat string (?). No fix available from $GPGGA or $GPRMC (Main fix formats). No UTC time. Sats in view are: 2, 4, 6, 8, 10, 13, 25, 27.

Test 2: (Wings. NV=17)

Sats come in quickly. SNR somewhat low (SNR~24), but with a healthy no. of sats: 2, 4, 8, 10, 13, 16, 24, 25, 27. Fix is achieved, and UTC time is coming in.

Test 3: (Kaiser. NV=17)

Sat fix quickly. Not very strong signal, but good enough for fix (SNR ~24). Sats in view: 2, 4, 8, 10, 13, 24, 25, 26, 27.

Conclusions

Sat data between the different tests are consistent. Some of them would have moved off the horizon during the test, which accounts for descrepancies. Test 1 would never have achieved a fix, the right information just isn't there, lacks everything but sat numbers. Test 2 Did get UTC time, and did achieve a fix. Test 3 Nothing to say :) This just works.

So... NV=11 makes GPS not work.

(Sorry for the late reply, I've been crazy buzzy!!)
[HTC Wings] johankj:
Sorry. I did think there was something odd about the strings from test No. 2...

$GPGGA,201240.0,xxxx.227260,N,yyyyy.517615,E,1,07,25.5,172.5,M,,,,*3B

$GPRMC,201240.0,A,xxxx.227260,N,yyyyy.517615,E,,,030208,,,A*67

The syntax is somewhat inconsistent with the NMEA standardm but there could be a fix in there... (Could account for why I didn't see a fix solution)

long: N 227260

lat: E 517615

Comparing that against the Kaizer control string (Test 3):

$GPGGA,203832.0,xxxx.233001,N,yyyyy.517891,E,1,07,4.5,176.0,M,,,,*06

$GPRMC,203832.0,A,xxxx.233001,N,yyyyy.517891,E,,,030208,,,A*68

long: N 233001

lat: E 517891

(Nevermind the large jump in your position)
[HTC Wings] jockyw2001:
johankj: Thx for your analysis. The main point is proven: NV Item 148 must be set to 17.

And now we're all waiting for the pre-prod photos :D
[HTC Wings] walram:
any updates on this? Jockyw2001?
[HTC Wings] jockyw2001:
Walram, we can resolve this in an interactive session via MSN.
[HTC Wings] johankj:
I agree. The next step is pre-prod photos. Meanwhile we should still try change NV Item 148 to 17. I suspect this will not give us GPS, but it may be a necessary step to get it working. Only the photos will show us for sure if the is a HW difference...
[HTC Wings] Alcaline:
So sad to see this post no longer active..

Why wake up in the morning? :confused:
[HTC Wings] jockyw2001:
:D

Okay, why don't you try this: set NV item 148 to 17 and connect an external GPS antenna.
[HTC Wings] Alcaline:
:)

Shure I would if I had one.. But i dont...

But what does a GPS antenna include? Isnt it enough to make an extended wire to connect to the mini connector inside the phone that we think is for GPS?

Kind of like in the old days when making your own TV antenna? :)

Or am I being stupid and out of date now? :)
[HTC Wings] norwegianS730:
it would work if the wings are missing an inactive antenna, but i doubt thats the case. it would have had a greater signal strenght than we see on our phones. if its missing an antenna, its probably an active gps antenna, and thats another ball game. external powersource etc etc

this is a dead end until we get some pictures from a pre-prod phone, waiting.....
[HTC Wings] rooomish:
No, no, no! The first experience needs only to check the behavior of GPS module after attaching the piece of wire to connector. I suppose that the connector is not power active - try to measure it with multimeter (DC or AC power supply output on connector which powering the antenna) - as it is not obviously way. The GPS devices does not usually use the powering of antenna ( as my GPS HW - Garmin GPSMAp and also the HTC Kaiser).
[HTC Wings] raventoo:
I flashed my Wings(production ROM) with the Kaiser radio 1.64.08.21 (located on ftp).

NV item 148 is 11,cannot change to 17 (via QPST).

I tried kaiser-simunlocker,the same results as walram posted.

Seems nobody in this thread knows the steps needed for NV changing.
[HTC Wings] walram:
you did modify the file with a hex editor to be able to flash it to the wings?

The version i flashed was 1.27.15.32. The newer versions were not yet available at the time. Maybe you can try this one. After flashing the nv item was 17 and could be changed. I will try 1.64.08.21 and see what results i get.
[HTC Wings] walram:
flashed 1.64.08.21 and nv item is 11 and not changeable.

interesting...

Can anybody confirm that the kaiser still has a fix with this new radio (and nv item 148 set to 11)? This would conflict with our earlier conclusions.
[HTC Wings] walram:
flashed the latest kaiser radio's and here are the results:

Kaiser radio___nv item 148__changeable?

1.27.15.32________17________yes

1.58.26.20________11________ no

1.64.06.04________11________ no

1.64.08.21________11________ no

Can somebody (with a kaiser) answer my question in the previous post?
[HTC Wings] jockyw2001:
I will try that later today.

PS: walram, if you are interested in getting your Wings "security unlocked" then please drop me a PM
[HTC Wings] Ol@f:
I have new prod-S730, I'm quite interested in to get GPS working. I would like to help but with WM OS I'm noob. For testing I can offer PC with VNC controll and connected S_730 and hands on like reboot and GPS test etc. Or If some around CZ-Brno has idea how to solve problem I can come with laptop and device. Contact via PM. So far very good job guys.
[HTC Wings] NetrunnerAT:
i have a question ... what is the protokoll version of thoese radios roms???
[HTC Wings] raventoo:
I was prepared for opening wings a trying gps antenna.

After flashing radio 1.27.15.32 NV 148 is 17, but phone is unuseable - all sounds off. After flashing radio 1.64.08.21 sounds on and unchangeable NV 11. So - i can have unuseable phone with (maybe) functional GPS or phone without GPS(?).
[HTC Wings] Alcaline:
You dont need sounds to be able to test the GPS with a antenna attached.

That problem can be resolved without any problem im shure..
[HTC Wings] playerkiller:
Nevermind. Stupid post.
[HTC Wings] Fred23:
Have you guys not sorted the GPS yet? ;) The reason I decided to go for the S730 is that I knew that the geniuses at XDA developers were onto the case!
[HTC Wings] NetrunnerAT:
Guys ... i need very fast help!

I search for a NV=17 enabled Radio Rom!!!

Next ... what Radio Protokoll you see in the device info programm???

Kaiser, Nike, Polaris and Wing Radio Roms are the same!!! You can mix them on different Plattform!!! I use in the moment a Kaiser Radio on my Niki!!!

Its a 1.64.08.21 25.74.40.02W <- W is the Hardware ID from my Radio Chip.

If some on have GPS working ... can you look if you have a H or W or other Value??? Please PM me!!! Its very importent!!!
[HTC Wings] raventoo:
I opened my wings.

With NV=17, kaiser radio 1.27.15.32, wire as antenna in possible gps connector - no changes - no satelites. The same with NV=11, radio 1.64.08.21 25.74.40.02H.:D
[HTC Wings] A.Bagatov:
u opened ur wings? can u make pictures from the interior?

thanks
[HTC Wings] raventoo:
I didnt. Pictures linked in this thread are very good. This one (not very good) - connector cover opened.
[HTC Wings] Alcaline:
That is not the gps antenna..
[HTC Wings] Surfboomerang:
that is the connector for the external antenna right?
[HTC Wings] Alcaline:
For the external GSM antenna i belive

The cover needs to be removed, and a wire connected to the internal connector
[HTC Wings] raventoo:
What do you mean is internal connector? The blue one? I can repeat this test. But I dont believe in success.
[HTC Wings] Alcaline:
Please look at post #47 in this tread.
[HTC Wings] raventoo:
A little surprise. Pictures are not identical. There is no "internal connector" in my wings. I didnt remove all parts before. I uploaded some pictures on ftp site.
[HTC Wings] Alcaline:
Yes it i is located by the connector that goes to the speaker.

I see it on your last photo..

It would be right behind the volum and comm manager button..
[HTC Wings] raventoo:
if it is some connector i will try it, but not this time - maybe tomorrow.
[HTC Wings] raventoo:
Tests on "internal" GPS connector - nothing new a nothing positive.

There are 2 NMEA messages logs in zipfile (HTC GPStool). First - wire in "internal" connector, second - wire in "external" connector.

What next?
[HTC Wings] amaric:
Rafuz, when can we expect this to happen?
[HTC Wings] johankj:
raventoo:

I had a look at your GPS data, but there is nothing there :(

Walmram/Jockey:

Did you guys manage to set NV item 148? BTW, is it 0148 or 148? Coinsidentally, NMEA0148 is the name of the GPS protocol used by (almost) all GPSs.
[HTC Wings] jockyw2001:
With the proper radio item #0148 can be set to 17.

Wrt to the item#, sometimes the leading 0 is included and sometimes not.

I think it is a coincidence that the item# corresponds to the NMEA standard#
[HTC Wings] raventoo:
Johankj, thanks.

I have these questions to all: do you think could be part of GPS problem in software? Are pre-prod drivers and prod drivers identical? Could be prod drivers fake? And what about the registry keys? What is in pre-prod registry keys (e.g. HKLM\System\CurrentControlSet\GPS Intermediate Driver)? Could be these data obtained from pre-prod dump?

Maybe this is my deviation (I am a programmer), but I think these questions could be solved.
[HTC Wings] madds:
hi all....

everything that i try to activate gps makes me believe less that in fact theres a working gps solution disabled on my phone.

the fact that sometimes appears a satelite or two when using the htcgpstool when outdoors, and not appearing when indoors, makes me believe that it misses the antena.

if we look at some results, the gps satelites always appear, with both nv items 11 or 17. my guess is that itme 17 enabled means that the chip is able to acquire a fix, but has nothing to do with satelite recepcion....

Maybe a connection is missing between the antena and the gps reciever.

i'm more confident that it's

another fact is that all s730 that have gps enabled have the following code: WING200 and the production models have the WING220. They are different units...

PLEASE PROVE ME WRONG!!!!!!!!!!!
[HTC Wings] firedup:
If you are right does this mean there will be a software / ROM fix or that it just doesnt have the hardware , i.e antenna?
[HTC Wings] madds:
if i'm right there will be NO gps ever.

if i'm wrong there might be gps in a near future.

i hope my conclusions are wrong...
[HTC Wings] Terror Factor:
I hope so too, this phone would have everything i need if it has internal gps. Now I'm messing with a bluetooth receiver :/

With internal gps it's exactly what I'm searching for.