[Port] Nokia Here Maps

Search This thread

AndroidOrDie

Member
Mar 20, 2013
27
4
Tested on android 4.2.1 and it's not working. :crying:

My build prop:
Screenshot_2014_02_28_16_52_17.png


Error:
Screenshot_2014_02_28_16_52_56.png


Another:
Screenshot_2014_02_28_16_53_02.png
 
  • Like
Reactions: Tramadol Yadollah
Can anyone confirm this working with build.prop change? Don't you need a Nokia account for it, if so, we'll need to get the sync client working too.

(I'm working on it, went through tons of smali code to find the device check, but pretty hard if you have no idea were to look)

Without build.prop change I get this:
nREvl46.png




FLASHABLE .zip (still not working without build.prop change)

http://www.androidfilehost.com/?fid=23329332407575305




edit: gotcha, time to start trying to patch this

RMg3Lrl.png


For reference: http://xdaforums.com/showthread.php?t=1627224
 
Last edited:

opssemnik

Account currently disabled
Jun 10, 2013
1,560
1,046
GB
meettomy.site
Can anyone confirm this working with build.prop change? Don't you need a Nokia account for it, if so, we'll need to get the sync client working too.

(I'm working on it, went through tons of smali code to find the device check, but pretty hard if you have no idea were to look)

Without build.prop change I get this:
nREvl46.png




FLASHABLE .zip (still not working without build.prop change)

http://www.androidfilehost.com/?fid=23329332407575305




edit: gotcha, time to start trying to patch this

RMg3Lrl.png


For reference: http://xdaforums.com/showthread.php?t=1627224

com.here also checks model
http://prntscr.com/2www2q
to patch just change to const-string v1, "Nokia_X"
patched com.here.android, so it dosent check for device/model/manufacter/and product(codename)
http://d-h.st/Qns
now we just wait @sdk16420 for the app
 
Last edited:
com.here also checks model
http://prntscr.com/2www2q
to patch just change to const-string v1, "Nokia_X"
patched com.here.android, so it dosent check for device/model/manufacter/and product(codename)
http://d-h.st/Qns
now we just wait @sdk16420 for the app
How did you patch it, since I just hard coded my own device's name for testing purposes. I'm kind of a noob in this stuff...

If you know how to patch it, as you can see it's in HereSuite.apk\smali\com\nokia\a\w.smali, and then go then just search for 'model', and just add your patched jar and the apk to the zip.

My phone takes 3 minutes to reboot so it might take a while if I try this a couple of times.
 

GalaxyUser

Senior Member
Jun 2, 2010
718
3,718
Aix-en-Provence
Last edited:
You should patch it to your own device (if you don't want to change build.prop), did you do that?

See here the first piece of code for reference: http://xdaforums.com/showthread.php?t=1627224

My apk doesn't get installed in recovery.

So summarizing for someone more skilled:
Edit the "MODEL" entry in the following files
  • HereSuite.apk\smali\com\nokia\a\w.smali
  • com.here.android.jar\??\maps\E.smali
 

opssemnik

Account currently disabled
Jun 10, 2013
1,560
1,046
GB
meettomy.site
How did you patch it, since I just hard coded my own device's name for testing purposes. I'm kind of a noob in this stuff...

If you know how to patch it, as you can see it's in HereSuite.apk\smali\com\nokia\a\w.smali, and then go then just search for 'model', and just add your patched jar and the apk to the zip.

My phone takes 3 minutes to reboot so it might take a while if I try this a couple of times.
ok, but its not only there :p
http://prntscr.com/2wx82t
does anyone knows the codename of Nokia X?
Build.HARDWARE returns the info of board
(on my friend g5 is gt-i5550board, on my n4 is mako)
Nvm found
finished apk chaning updater-script to set the correct permissions(since windows broke when i modified the zip) and will test
edit
gona flash and test
looks like i messed update script(failed to flash)
gonna install manually
 
Last edited:

GalaxyUser

Senior Member
Jun 2, 2010
718
3,718
Aix-en-Provence
You should patch it to your own device (if you don't want to change build.prop), did you do that?

See here the first piece of code for reference: http://xdaforums.com/showthread.php?t=1627224

My apk doesn't get installed in recovery.

So summarizing for someone more skilled:
Edit the "MODEL" entry in the following files
  • HereSuite.apk\smali\com\nokia\a\w.smali
  • com.here.android.jar\??\maps\E.smali

No, sorry but your are wrong. You should not patch it to your own device.
You have to patch smali to believe in the application that you are on a Nokia X.
Are there are a lot of more files (around 7-8). I edited all these files but it's not working. You have the list here:

\HereSuite\smali\search.bat
\HereSuite\smali\com\nokia\a\w.smali
\HereSuite\smali\com\nokia\account\sdk\i\c.smali
\HereSuite\smali\com\nokia\app\drive\menu\NpsActivity.smali
\HereSuite\smali\com\nokia\app\drive\utils\d.smali
\HereSuite\smali\com\nokia\app\maps\activities\StorageSettingsActivity.smali
\HereSuite\smali\com\nokia\maps\BaseGLView.smali
\HereSuite\smali\com\nokia\maps\MapsEngine.smali
\HereSuite\smali\com\nokia\maps\PanoramaPrivacy.smali
\HereSuite\smali\com\nokia\maps\ResourceManager.smali


ok, but its not only there :p
http://prntscr.com/2wx82t
does anyone knows the codename of Nokia X?
Build.HARDWARE returns the info of board
(on my friend g5 is gt-i5550board, on my n4 is mako)
Nvm found
finished apk chaning updater-script to set the correct permissions(since windows broke when i modified the zip) and will test

Yes ro.product.board=7x27 not sure
 
Last edited:
  • Like
Reactions: tinyXperia

opssemnik

Account currently disabled
Jun 10, 2013
1,560
1,046
GB
meettomy.site
no luck (yet)
an update appeared on store about here maps. will decompile that apk and try again :p
hmm. while modifying the lastest i found something interesting. will do some edits and see what happens
Edit: yeah the Build.HARDWARE is not 7x7. i will look into android source to see what Build.HARDWARE returns
Build.HARDWARE -> ro.hardware -> set at boot by ramdisk.
we need to get that prop :/. i will try if some here
EDIT: Got the apk working. however i think the service is broken because it closes with one of these 2 toasts
http://i.imgur.com/EJnRWfV.png
2:
http://i.imgur.com/rxgkgbj.png
apk:
http://d-h.st/0vH
 
Last edited:

Top Liked Posts