yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II N7105 Android Development] thereian2:
I'm sure you will figure it out. We have faith in you:cool::cool::cool:. Just look how far we've come from day one. It was once said that we would never port an international rom without bricking our devices. You have proved them wrong!!!

---------- Post added at 03:17 PM ---------- Previous post was at 03:09 PM ----------

I think you might be on to something here. This might be the temporary short-cut I've been looking for!!! This little tool should make things simple and easy!!!:good::good::good: Just back-up efs folder from stock rom to external sd using this tool, and reinstall from back-up after restoring DN4. Seems simple enough.
[Galaxy Note II N7105 Android Development] premiatul:
I have "EFS Backup" by Wanam, from the Play Store. It looks like it's better than any other solution.
[Galaxy Note II N7105 Android Development] thereian2:
Since we know how to solve the gps issues, I say use any EFS back-up tool you prefer and we can consider the gps issue solved.

Great work guys!!! That's what I call putting our heads together for a common cause!!!
[Galaxy Note II N7105 Android Development] (InsertNameHere):
I cannot for the life of me get gps working, no lock whatsoever, ntp gps does sod all
[Galaxy Note II N7105 Android Development] thereian2:
If I may, allow me to make a suggestion: Flash a stock rom for your device and make sure gps is working on stock. From that point, do a back-up of your EFS folder,( there are many suggestions on apps and procedures, in the last couple of pages, that will help you). Reinstall DN4v2 and add-on from OP, and then use the app you used to save your EFS back-up and restore back-up file to the DN4v2 rom. It sounds like a lot to do, but its really simple. Let us know if this works for you.
[Galaxy Note II N7105 Android Development] pvaldeben:
Thanks for this fix, i have not had any sod or battery pull since I did the restore of Angi settings you suggested.

very happy. For me gps does lock once im on the road it takes about a block or 2 before it locks.

Cheers to all who help so much.
[Galaxy Note II N7105 Android Development] (InsertNameHere):
Isn't this a fix?
[Galaxy Note II N7105 Android Development] thereian2:
Yes, but its a weak fix. You would want to have more satellites in view for a better chance at locking on more. And your accuracy level is right at about 400 feet. This is not acceptable. I can get 24 satellites in view, and an accuracy level of 10 feet in less than 10 seconds.
[Galaxy Note II N7105 Android Development] kmarantz:
I've tried every GPS app. The one I have found to work the best is FASTER GPS. I've had quicker more consistent locks with it on AT&T. Let me know how it works for you.
[Galaxy Note II N7105 Android Development] thereian2:
My gps works great within less than 10 seconds. I'm trying to get this guy to try the gps fixes we've been working on in the last couple of pages. Without these fixes, most gps apps will be sub-par at best. Everyone that has read the past couple of pages is getting gps fix in a few seconds. We have moved on from silly Playstore apps to get gps fix. READ, READ,READ the last couple of pages.
[Galaxy Note II N7105 Android Development] kmarantz:
I highly recommend using Faster GPS with Top NTP. I'm no longer having issues locking.
[Galaxy Note II N7105 Android Development] thereian2:
Have you at least READ the last couple of pages??? There is no need for those Playstore apps with the fix we've found!!! No one is having gps locking issues if they can read and follow simple instructions.
[Galaxy Note II N7105 Android Development] kmarantz:
I should have added, for those people that don't want to go through all those steps. It seems tedious to have a flash a stock rom, make a back up, etc etc if you can get it to work with just an app. If I was having issues, I'd give a shot perhaps.
[Galaxy Note II N7105 Android Development] thereian2:
This may work but it doesn't solve the problem of having a corrupt NV file. Doing it the old way is like placing a bandage over a bullet wound. If you don't fix your NV file, you are only asking for problems later!!! The new way fixes the NV issues.
[Galaxy Note II N7105 Android Development] kmarantz:
what sort of problems?
[Galaxy Note II N7105 Android Development] thereian2:
With the new way, we have much, much faster gps fix, and a higher accuracy and gps stability. It works as if you just took your phone out of the box!!! The old way was just a means to get you by if you needed to use gps.
[Galaxy Note II N7105 Android Development] kmarantz:
mine's locking pretty darn quick now. i'm happy enough for how much i use gps. what are the problems you mentioned i could have?
[Galaxy Note II N7105 Android Development] thereian2:
No one knows how long the old fix will work or if it will keep working. It may not be as accurate next week or next month. OP has spotted the issue and is working on a more viable solution, but until then, I like the comfort of knowing my gps works the way it did when it was new. If you are happy the way it is, then by all means, keep using it the way it is. We are just trying to rid ourselves of the many gps questions and temporary Playstore fixes. If you have a more stable option available to you, why wouldn't you use it??? Especially when it cost nothing but a little time and effort.
[Galaxy Note II N7105 Android Development] kmarantz:
Because I only need to work ok. It doesn't have to be perfect :)
[Galaxy Note II N7105 Android Development] dicksteele:
And hopefully people will read the thread and see there are two options.

1. The Playstore app options (TOPNTP and GPS locker) For the occasional GPS users.

2.The NV rebuild option (For users that want to use their phone for GPS rather than carting around their GARMIN/Tom Tom)

---------- Post added at 06:43 PM ---------- Previous post was at 06:36 PM ----------

Or for people with clumsy fat fingers like me subsitute for 1-:

adb shell (from your PC's command window)

Then type in su. Grant permission on phone for root if prompted.

The copy the am broadcast comand from here to command prompt window. You will get the menu

Great find [MENTION=6099971]Billstrike_vk01[/MENTION] !!! Works perfectly !
[Galaxy Note II N7105 Android Development] crutzulee:
Maybe I'm oversimplifying things here, but would it not be possible for someone to simply upload the stock files in a flashable form for those not wanting to go through the hassle of ODINing a stock rom?

I tried the quick and dirty playstore methods and all of a sudden my GPS has been working better. I know this because I've been using it randomly for the last couple of days...Thing is... I'm home in Toronto, the city I grew up and live in...I know every square inch of this city and have no need for GPS here as 9.5 times out of 10 I know a more efficient route from point A to B then Google Maps could ever come up with.

I am only a casual GPS user (maybe twice a year when I travel to the US - mostly Miami which I am gradually becoming more and more acquainted with)... I've had enough issues with restored NAND backups giving wonky results that I'm reticent to fix what isn't broken..
[Galaxy Note II N7105 Android Development] thereian2:
There is no such thing as a NV file for all phones. The items contained in the NV file are very device specific. Your NV file is for your phone alone. It will not work in another phone simply because it has device info pertaining to just your phone. This is the very reason we are having you return to to a stock rom in order to fix the NV items of your phone. This is also why it is very, very important to make a back-up of your NV file, or your entire EFS folder. It is something like a birth certificate for your phone, and it contains all important info in order for your phone to work properly. Without the NV file, your phone will become a paper weight or a very expensive mp3 player.
[Galaxy Note II N7105 Android Development] dicksteele:
The ODIN process or the NV Rebuild process that has been explained, creates phone specific files. An important one, their phones IMEI.

It would be unfortunate if someone tried to flash someone's files.

Oooooooo I was too slow.
[Galaxy Note II N7105 Android Development] dicksteele:
Total time spend - under 30 minutes

1. Flashing stock ROM

2. Rooting phone and rebooting

3. Running the am broadcast -a android.provider.Telephony.SECRET_CODE -d android_secret_code://197328640 from adb shell

4. Running the NV backup

5. Flash recovery in ODIN

6. Restore DN4 backup, boot

7. Restore the backed up NV after running the am broadcast -a android.provider.Telephony.SECRET_CODE -d android_secret_code://197328640 from adb shell

8. Reboot

9, Test GPS - Locked under 20 seconds

10. Test GPS again and the results were

Yeah, it's worth the time.

And 15 minutes later. Damnit ! It took 2 seconds !
[Galaxy Note II N7105 Android Development] ykkfive:
a bit complicated. read my post a few pages before for a simplified version

no need to root, reflash recovery, call service menu etc

if u have a working system backup, it takes only a few mins
[Galaxy Note II N7105 Android Development] ykkfive:
it's strange. I have posted 3 screenshots, 2 of them were captured before I flashed system.img via odin but got lots of sat views and locked quickly

. but cant remember what I didi except some changes in the jar file
[Galaxy Note II N7105 Android Development] dicksteele:
I agree it's not the easy way. But it's complete and effective.

Just throwing it out as a proven option. That's all.
[Galaxy Note II N7105 Android Development] kmarantz:
fwiw, I've been locking in seconds and maintaining locks now with just the apps.
[Galaxy Note II N7105 Android Development] dicksteele:
Absolutely. But most of us haven't been that lucky.
[Galaxy Note II N7105 Android Development] kmarantz:
i didn't have that luck either until i added Faster GPS to my repertoire. i think that could be the difference.
[Galaxy Note II N7105 Android Development] (InsertNameHere):
Good instructions, but you forgot to instruct to make a backup of current DN4 install before they begin, I will try this, thanks.

A total reinstall of os takes too long, as there are many programs that require a lot of attention to get working again.
[Galaxy Note II N7105 Android Development] Uzi3L:
I get error code. Unknown code.

Ok got into service mode with *#0011# but will not change to main menu when inputing the Q and 0000
[Galaxy Note II N7105 Android Development] thexile:
I did my first NV rebuild in DN4, GPS lock was working perfectly. Not sure what had happened next (I think phone battery went flat and rebooted upon charging), GPS no longer locking again. Subsequent NV rebuild no longer fix GPS lock as well.

I didn't flash stock ROM or recovery prior. Perhaps I should try dicksteele instructions.
[Galaxy Note II N7105 Android Development] Uzi3L:
And trying to run through terminal only gets me this.
[Galaxy Note II N7105 Android Development] android_htc:
I get a message saying "Not support in custom binary!" when I press NV rebuild ?

I tried triangle away to reset binary, still no good.

Any suggestions please?
[Galaxy Note II N7105 Android Development] (InsertNameHere):
Custom backup in Philz, then flashed latest rom using odin, after that no boot, stuck at N7105 screen, nothing doing, flash Philz, invalid checksum on my backup, so royally screwed all the way back to having do the whole thing all over again for nothing....

Not reflection on you or your advice, we take it into our own hands when we play with this stuff, but seriously, I need a working phone dude.
[Galaxy Note II N7105 Android Development] thereian2:
Sounds like a bad download of the stock rom. Download it again and give it another try. Then make sure you are using the same version of Philz recovery to flash back DN4. I've had this problem with Philz before. I made a back-up of DN4 with an older version of Philz, but the new version would not reflash the back-up. And make sure the version of stock rom you are flashing matches your current bootloader or newer. Once you upgrade to a newer bootloader, you can't go back to an older version. It will boot loop!!!

---------- Post added at 09:37 AM ---------- Previous post was at 09:31 AM ----------

If you made a back-up of your NV, as I suggested, just go back to the service menu and restore it. That's the whole point of making a back-up. For situations like this.

---------- Post added at 09:41 AM ---------- Previous post was at 09:37 AM ----------

The *#0011# route will not work!!! Just do it the way I suggested a couple of pages back. Or you can do things the way OP suggested here http://xdaforums.com/showpost.php?p=58682117&postcount=1796 or here http://xdaforums.com/showpost.php?p=58682719&postcount=1800
[Galaxy Note II N7105 Android Development] dicksteele:
They weren't meant to be detailed instructions but an outline of the steps and overall time it took.

I can make detailed instructions of what I did.

But the steps outlined there's already a metric ass ton of info out there.

I did not do anything that is not something most people on XDA do to their phone anyways.

Except for the NV build. But I posted an app that an XDA member built, that does it for you.

The SamsugBackupTool. It backs up the NV "stuff" the efs partition to your internal or external card.

External is the smart way. You do a wipe of your internal card with TWRP. Guess what, you slicked the piss out of your backup.

As with everything and every phone, sh@t works differently.

Of course try the app route first. There's TOPNTP, Faster GPS, GPS locker.

If it works good enough for you. Woo hoo ! You've got an awesome ROM your phone.

If not there's another solution, that will it work for you. It's your choice to try.

Again this whole thread was about an add-on by ykkfive for the DN4 N7100 ROM. The add-on got the DN4 to work on the N7105. That's it.

This whole thread has spiraled out of control over the GPS.

Help has been offered, working solutions have been offered.

If they don't work for you, check back later maybe something will come up that does.

Insert..... sorry I went on a rant after answering you. It was global. Not aimed at you.
[Galaxy Note II N7105 Android Development] lucaoldb:
not support in custom binary for me too

I am happy that nv rebuilding works for many of you. I had already tested that way last month to be true http://xdaforums.com/galaxy-note-2/...v1-0-31-12-t2988848/post57887208#post57887208 but I thought it could not work for a custom rom.

Now I reverted twice to a 4.1.2 stock rom and I have been unable to rebuild NV data, both either when running the stock rom and when running Dn4.

Hidden menu is on and permissions are fine, but I always get the above mentioned prompt.

Since I am a curious guy and my daughter got a cold (so we stay at home) I spent some time looking at the file in efs and some of them refer to a date much more recent than the rom itself. It sounds like a proof that odin did not overwrite them...
[Galaxy Note II N7105 Android Development] thereian2:
Just use the samsung tool mentioned above. Create a efs back-up to your external sd card and reinstall efs back-up once you're back on DN4. It's the easiest route to go.
[Galaxy Note II N7105 Android Development] dicksteele:
I am curious like you....

Then why did the date change on my imei the same time I flashed the stock ROM?

root@t0lte:/efs # cd imei

cd imei

root@t0lte:/efs/imei # ls -la

ls -la

-rw-rw-r-- radio system 3 2015-02-06 19:11 mps_code.dat

I also have files in the /efs ranging from 2013-2014-2015, after the ROM build date in 2012.

But since I don't have a listing of the dates before the ODIN flash, I can't provide proof that they got overwritten. Unless you have a listing of the files with the dates on it, before your flash. That would an interesting compare.

I am curious though. I thought I remembered you're on a 4.4.2 bootloader with a N7105. At least for my phone, the i317, the only ODIN ROM available without the bootloader file, sboot.bin, is the 4.1.1 I've been flashing.

That's the only ODIN firmware I can flash being on the "locked" bootloader 4.4.2. Any one of the newer firmware packages contains the sboot.bin and fails during flash,

If I'm correct about which firmware and phone you have, are you all lucky enough to be able to flash back and forth to older bootloaders?

---------- Post added at 11:50 AM ---------- Previous post was at 11:48 AM ----------

I got the error doing the build also through the dialpad.. The way I got to the menu was with the

am broadcast -a android.provider.Telephony.SECRET_CODE -d android_secret_code://197328640

from adb shell. Backup and restore worked perfectly using that.
[Galaxy Note II N7105 Android Development] Joshua Mr PC Repair:
so

This is the same as Note 4 with TW?
[Galaxy Note II N7105 Android Development] lucaoldb:
Well, I tried to use that tool, but it doesn't do anything more than what I get by using twrp if I am not wrong. I was obviously already running Dn4 with the nv backup coming from the stock rom, but GPS doesn't seem to lock any faster.

What is very odd is that I can't rebuild NV even when running the stock rom...
[Galaxy Note II N7105 Android Development] Billstrike_vk01:
Try a twrp or philz full wipe (system, data, cache, dalvik) before the installation via Odin. Ir worked for me...
[Galaxy Note II N7105 Android Development] lucaoldb:
Well, the files with today's date are OK, but I am still on 4.1.2 bootloader and the rom I flashed is back to 2013, nevertheless I found some files in /factory app which refer to January 9th 2015, like for example batt_cable_count.... See it yourself, maybe it is just my rom:)
[Galaxy Note II N7105 Android Development] dicksteele:
Crap. Totally missed your post last month.

Edit 2: NV rebuilding? Maybe we can odin a stock rom, save Efs, flash Dn4 plus the patch and restore EFS partition? The trick with *#0011# does not allow to rebuild NV

That was an awesome idea, wish I would have seen that earlier. Would have saved me hours of logcats trying to figure out what was erroring out.

I can't explain why the date timestamps don't reflect the ROM date on the rest of the files in /efs. It may be a combination of files in there, and files it saves somewhere else.
[Galaxy Note II N7105 Android Development] ykkfive:
i think u r almost there, u know to read the /efs/imei at least

- the mps_code.dat contains the csc code only, so as time goes by, the file date will be different as you installed stock/custom roms with a different default csc code

- the timestamp of the files there are not accurate, by default the date time is 1970 if i remember correctly

- a change in csc with those change csc util MAY help to rebuild the efs/nv_data, i am not very sure since i don care about the csc much

hope this helps

if there's nothing changed, the efs wont be changed. i checked 2 efs tar files previously saved against the current one with md5sum and they are identical
[Galaxy Note II N7105 Android Development] dicksteele:
Wish I wouldn't have taken the 4.4.2 update.

My batt_cable_count is 2-6-2015 20 minutes before I flash stock. Whatever that file is counting, the number in that file for me 1005.
[Galaxy Note II N7105 Android Development] lucaoldb:
Mine is 422 which I don't think is very relevant, it was just to make an example lol

Anyway I don't get why most of you can rebuild NV while I can't and I will dig into my pc and look for old backups.
[Galaxy Note II N7105 Android Development] thereian2:
delete
[Galaxy Note II N7105 Android Development] Uzi3L:
Tryed them methods this is what terminl shows me after I try.
[Galaxy Note II N7105 Android Development] Joshua Mr PC Repair:
Easy Install ??

So To Install this do i just install ( DN4_BY_ELECTRON_TEAM.zip + DN4_v2 for lte.zip )
[Galaxy Note II N7105 Android Development] Shawnki91:
Tried the NV rebuild method for the i317M and surprising results. GPS is much, much, much more accurate! Excellent find!
[Galaxy Note II N7105 Android Development] Sheikx800:
Donated. Thanks for your hard work.
[Galaxy Note II N7105 Android Development] kozmo21:
There were only 3 lines of instructions, and you didn't do 1 of them. You have to have root access. You didn't type "su". Try again and follow instructions carefully.
[Galaxy Note II N7105 Android Development] Uzi3L:
Lol oh ok, it's 3 separate inputs into terminal. Sorry my bad.
[Galaxy Note II N7105 Android Development] Joshua Mr PC Repair:
is text & mobile data working for you ? i installed it and the updates and i cant send text messages but i can receive them.....
[Galaxy Note II N7105 Android Development] Uzi3L:
For those who have problems accessing service mode here is another way:<br />

<br />

1-Downoad Terminal emulator (playstore)<br />

2-type: "su" to get root access<br />

3-Then enter the following command: <br />

<br />

am broadcast -a android.provider.Telephony.SECRET_CODE -d android_secret_code://197328640<br/>

Well I followed those instructions. Entered the command as one single line. After I did superuser.

Picture to follow as I n don't know where to go from here. I'm tying todo the stock nv back up
[Galaxy Note II N7105 Android Development] Uzi3L:
Huh?

I'm currently back to stock 4.3 rom for my n7105t wanting to do an nv back up so I can re instal DN4 and get gps to work properly.
[Galaxy Note II N7105 Android Development] thereian2:
Does your gps work properly on stock 4.3??? If so, why not use the samsung tool mentioned earlier to make a back-up of your efs folder. Then go back to DN4 and restore the efs back-up using the same tool. Making a back-up of your efs folder would be the same as making a NV back-up, seeing that your NV file is in the efs folder. http://xdaforums.com/showpost.php?p=58682101&postcount=1795 This route is less time consuming!!!
[Galaxy Note II N7105 Android Development] Joshua Mr PC Repair:
A I Missing Something ( I317M - Coming for CM12 )

install > DN4_BY_ELECTRON_TEAM.zip + DN4_v2 for lte.zip & + DN4v2-Note2LTE-v1.1-OPEN , Everything working yet cant send text , they get stuck at sending but can get text messages ,

Please Help
[Galaxy Note II N7105 Android Development] thereian2:
You are installing too much!!! Just install DN4v2 for lte and the DN4v2-Note2LTE-v1.1-OPEN. That's all. Just do a full wipe and install those TWO files!!! And for God's Sake, update your APN settings to get your text messaging working correctly. A little reading goes a long way.
[Galaxy Note II N7105 Android Development] Joshua Mr PC Repair:
thanks , i will try it & report back asap

FYI Love the over all look and feel of this rom very sleek :)
[Galaxy Note II N7105 Android Development] Uzi3L:
Yes it works floorlessly. Ok will try the efs restore root.
[Galaxy Note II N7105 Android Development] thereian2:
Go ahead and give it a shot. You are almost across the finish line.
[Galaxy Note II N7105 Android Development] ykkfive:
317?
[Galaxy Note II N7105 Android Development] ykkfive:
oh, thanks a lot
[Galaxy Note II N7105 Android Development] thereian2:
Yes he has an att i317.
[Galaxy Note II N7105 Android Development] ykkfive:
check apn, call cs

only need dn4v2 for 7105 and the 1.1 addon
[Galaxy Note II N7105 Android Development] ykkfive:
all those couldn't backup nv data are 317 users?
[Galaxy Note II N7105 Android Development] dicksteele:
Yes. But I'm on that restored to stock. Backed up NV with the am broadcast command. Restored DN4 TWRP backup, then restored NV backup and GPS works.

---------- Post added at 10:22 PM ---------- Previous post was at 10:21 PM ----------

I think other way around. i317 users can backup and have backed up nv data
[Galaxy Note II N7105 Android Development] thereian2:
No, there are a few other variants with this issue. I believe it has something to do with what rom they are coming from. Most of those coming from a stock based rom have no problems. But those coming from CM roms are having the most issues. I think those CM based roms are corrupting their NV partition somehow. Hence the need to return to stock in order to fix their NV partition. I came to this conclusion after answering a few PM's.