GPS applications, rather than GPS navigation software
Jun 21st, 2014, 8:52 pm
In this rar is xml files from data/data/ from phone.
Jun 21st, 2014, 8:52 pm
Jun 21st, 2014, 9:04 pm
@lolypop000

If you are not afraid of rooting you can use geohotz's recent one-click towelroot: http://towelroot.com/
it should work on almost every device.

Otherwise, it is going to be difficult as exporting an already-patched apk with luckypatcher will change the signature and cause it to fail hash check. (patching on device itself only modifies odex file). If you want I can send you a modified version with license and hash check bypassed (on my device it did not show maps, but you are welcome to try).

EDIT: As for the OutdoorSettings xml file in /data/data, it does seem to toggle the preferences and is accessed by SettingsManager but dex2jar+jd-gui could not create a .java file for that smali (and I am not too good with reading smali) so I have no idea how much of an effect it has. My guess it that it would have much of an impact though as the app also has an internal setting that tells it which features are enabled and which are disabled.

EDIT 2: Actually, changing the values in the xml to true might just work -- assuming that you don't allow it to connect to the internet. Anyone want to test it out?
Jun 21st, 2014, 9:04 pm
Jul 2nd, 2014, 8:00 am
krackers wrote:Freedom does not work for the IAP. I've decompiled the apk and am trying to bypass the disabling of the extra features. It is a bit tricky though. If anyone wants to help that would be great. Relevant data is in apps/viago/hybrid/shop/...

The app does check hash though so also modify /startup/startupresult to

public boolean succeded()
{
return 0 == this.mReturnCode;
}



q1: What do you use to decompile and rebuild the app, i tried with apktool but am unable to rebuild. ?

q2: Are you willing to tell me how you decompile and rebuild the apk ?
Jul 2nd, 2014, 8:00 am
Jul 3rd, 2014, 12:22 am
@alah

I am indeed using apktool to decompile and recompile it. Are you using the latest version (2.0.0 beta9)? What errors are you getting?

However, unless you are comfortable with modifying native .so files I believe it will be a fruitless endeavor as while you can get into the app it refuses to load maps or connect to garmin server (so you can't download maps). Before that I would try changing the booleans in OutdoorSettings xml file in /data/data/com.viago.... to all true and see if that does anything.
Jul 3rd, 2014, 12:22 am
Jul 3rd, 2014, 12:39 pm
krackers wrote:@alah
I am indeed using apktool to decompile and recompile it. Are you using the latest version (2.0.0 beta9)? What errors are you getting?

I use latest apktool 2.0.0.beta9 and aapt v0.2
I get the following warning/error
Decompiling "apktool d" gives multipe warnings like
W: Cant find 9patch chunk in file: "drawable-hdpi/rr_sp_0028_05.9.png". Renaming it to *.png.

Rebuilding (without any changes) "apktool c" gives manny erros like
Garmin.viago_v1.0.2.1697/res/values/public.xml:268: error: Public symbol drawable/rr_icns_traffic_eu_5 declared here is not defined.



krackers wrote:@alah
However, unless you are comfortable with modifying native .so files I believe it will be a fruitless endeavor as while you can get into the app it refuses to load maps or connect to garmin server (so you can't download maps). Before that I would try changing the booleans in OutdoorSettings xml file in /data/data/com.viago.... to all true and see if that does anything.


I have done some (verry little) modifying of libary files ".so" on linux, but as you can see above i got stick in the eary stages of the apk decompile/rebuild.
Jul 3rd, 2014, 12:39 pm
Jul 3rd, 2014, 6:44 pm
@alah

Yes, I remember now -- I too got those errors. Go into /res/drawable and replace white_background.png with Image
Jul 3rd, 2014, 6:44 pm