Soli availability how will that be enforced? - Google Pixel 4 Questions & Answers

Looks like Soli is only available in certain countries. Short of disabling the hardware in countries which it's not available, I wonder how Google is going to stop it
If you're roaming to a country that does not support it, it possible Google will use GPS to determine your location and stop the capability. Then of that is the case then buying a phone say in the US and trying to use somewhere else might not work.

lchiu7 said:
If you're roaming to a country that does not support it, it possible Google will use GPS to determine your location and stop the capability
Click to expand...
Click to collapse
according to androidpolice.com, cellular triangulation is used to determine the phone's location and disable motion sense in unsupported regions
source: <ap.c>/2019/10/15/pixel-4s-motion-sense-will-disable-itself-in-unsupported-regions/ (sorry, I may not post links)

You mean this?
https://www.androidpolice.com/2019/...e-will-disable-itself-in-unsupported-regions/
I could live without gesture controls but what other functions might not work without Soli (facial unlock?)

lchiu7 said:
what other functions might not work without Soli (facial unlock?)
Click to expand...
Click to collapse
afaik facial unlock works without Soli, it will just be slower and may require you to tap the screen for login, rather than just reaching for the phone.
But Soli is also used to turn on battery saving features, e.g. turn off the screen when nobody is near the phone, which might be a problem, considering the small battery capacity of the smaller Pixel 4

Disassempled and looked into MotionSense APK from apkmirror. MotionSense determines country by phone number: it looks for android.telephony.extra.NETWORK_COUNTRY param to detect allowed country code. I think that can be bypassed by modifying apk but seems root needed to replace it because it looks like system app.
It's not hard to make it available in unsupported country, I'll try to unlock Soli when I get my phone and will upload here if it works

Eugnis said:
Disassempled and looked into MotionSense APK from apkmirror. MotionSense determines country by phone number: it looks for android.telephony.extra.NETWORK_COUNTRY param to detect allowed country code. I think that can be bypassed by modifying apk but seems root needed to replace it because it looks like system app.
It's not hard to make it available in unsupported country, I'll try to unlock Soli when I get my phone and will upload here if it works
Click to expand...
Click to collapse
That's encouraging. My Pixel 4XL is on back order so I have time to cancel it. Not sure about not hard to make it available if it needs root though. Then you need a working Magisk if you want NFC payments, some baning apps and for me, corporate apps like Outlook.

Eugnis said:
Disassempled and looked into MotionSense APK from apkmirror. MotionSense determines country by phone number: it looks for android.telephony.extra.NETWORK_COUNTRY param to detect allowed country code. I think that can be bypassed by modifying apk but seems root needed to replace it because it looks like system app.
It's not hard to make it available in unsupported country, I'll try to unlock Soli when I get my phone and will upload here if it works
Click to expand...
Click to collapse
Soli is disabled for now in Japan, but I was hoping that as long as I set it up without SIM it might not bother detecting the country. No go. So either trilateration or the phones sold here have this already disabled in software.

Eugnis said:
Disassempled and looked into MotionSense APK from apkmirror. MotionSense determines country by phone number: it looks for android.telephony.extra.NETWORK_COUNTRY param to detect allowed country code. I think that can be bypassed by modifying apk but seems root needed to replace it because it looks like system app.
It's not hard to make it available in unsupported country, I'll try to unlock Soli when I get my phone and will upload here if it works
Click to expand...
Click to collapse
I know how to make it works on every country, but can't build apk back (install, build is successful)
Maybe you have a secret knowledge?)
Fix is in two lines
In this article we can find function name https://www.xda-developers.com/google-pixel-4-motion-sense-list-countries-supported-apps/amp/
All what we need is change goto in default case

Xsikor said:
I know how to make it works on every country, but can't build apk back (install, build is successful)
Maybe you have a secret knowledge?)
Fix is in two lines
In this article we can find function name https://www.xda-developers.com/google-pixel-4-motion-sense-list-countries-supported-apps/amp/
All what we need is change goto in default case
Click to expand...
Click to collapse
Have you tried fixing yours ? Can you possibly make a tutorial for this ? I would really appreciate that as I will receive mine in two weeks and my country is not supported
---------- Post added at 01:01 AM ---------- Previous post was at 01:00 AM ----------
Eugnis said:
Disassempled and looked into MotionSense APK from apkmirror. MotionSense determines country by phone number: it looks for android.telephony.extra.NETWORK_COUNTRY param to detect allowed country code. I think that can be bypassed by modifying apk but seems root needed to replace it because it looks like system app.
It's not hard to make it available in unsupported country, I'll try to unlock Soli when I get my phone and will upload here if it works
Click to expand...
Click to collapse
Yes please do...we would all appreciate that

Xsikor said:
I know how to make it works on every country, but can't build apk back (install, build is successful)
Maybe you have a secret knowledge?)
Fix is in two lines
In this article we can find function name https://www.xda-developers.com/google-pixel-4-motion-sense-list-countries-supported-apps/amp/
All what we need is change goto in default case
Click to expand...
Click to collapse
Yep, and nothing secret here. Same for modified apps: After building APK, bump it's build number, sign it with your certificate and install with adb. Also you need root if this is system app (remove original motion sense apk and then install your modded). Look on xda for instructions to install modded google play store - they'll be same.

Eugnis said:
Yep, and nothing secret here. Same for modified apps: After building APK, bump it's build number, sign it with your certificate and install with adb. Also you need root if this is system app (remove original motion sense apk and then install your modded). Look on xda for instructions to install modded google play store - they'll be same.
Click to expand...
Click to collapse
It's possible to install motion sense over default system like a update without root. I try to decompile and then compile apk back by apktool, but after this can't sign apk because I don't know how.
Error when I try install by ADB is adb install dist/com.google.oslo.apk
adb: failed to install dist/com.google.oslo.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl1077585388.tmp/base.apk: Attempt to get length of null array]
This is my first time when I try to modify apk, so I don't have experience on this

Xsikor said:
It's possible to install motion sense over default system like a update without root. I try to decompile and then compile apk back by apktool, but after this can't sign apk because I don't know how.
Error when I try install by ADB is adb install dist/com.google.oslo.apk
adb: failed to install dist/com.google.oslo.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl1077585388.tmp/base.apk: Attempt to get length of null array]
This is my first time when I try to modify apk, so I don't have experience on this
Click to expand...
Click to collapse
Look here for instruction how to sign APK https://stackoverflow.com/a/40064149/3042448
Xsikor said:
It's possible to install motion sense over default system like a update without root
Click to expand...
Click to collapse
Maybe, can you try this?
AFAIK It should compare certificate of previous app with updated app (with same package name) and will show error if they're not same.

Eugnis said:
Maybe, can you try this?
AFAIK It should compare certificate of previous app with updated app (with same package name) and will show error if they're not same.
Click to expand...
Click to collapse
Nope =( can't install. So need root for first step
Code:
adb: failed to install com.google.oslo-aligned-debugSigned.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.google.oslo signatures do not match previously installed version; ignoring!]
adb uninstall do not help, it's delete only last update of motion sens

Really hoping there's a way to enable soli in all countries. Not having it making me feel left out ?

Looked one more time in MotionSense APK and looks like its developers left setting to disable country checks at all. TO do that, you just need to change android setting 'pixel.oslo.allowed_override' to '1' or 'true', modifying APK not needed.
I can't try this right now but if you want to check, then connect Pixel 4 with developer mode and execute command in adb shell:
Code:
adb shell "setprop persist.pixel.oslo.allowed_override true; setprop ctl.restart zygote"
or edit system/build.prop with some app
You still need root to do this.

Related

Programmatically enabling network-location

Does anyone know how to programmatically enable the network location finding? I've read that it's not possible to do normally because of user privacy protection (i.e. you can't even request a permission that lets you do it), but I'm wondering if it's possible to do it using a rooted phone. Does anyone know? I can write apps using the normal SDK, but I've never tried to do anything using the fact that my phone is rooted or the superuser permissions app.
This would be for an HTC Hero running a (very old) Android v1.5 MoDaCo ROM.
Or, if a widget already exists that lets you do this, please let me know
Steven__ said:
Does anyone know how to programmatically enable the network location finding? I've read that it's not possible to do normally because of user privacy protection (i.e. you can't even request a permission that lets you do it), but I'm wondering if it's possible to do it using a rooted phone. Does anyone know? I can write apps using the normal SDK, but I've never tried to do anything using the fact that my phone is rooted or the superuser permissions app.
This would be for an HTC Hero running a (very old) Android v1.5 MoDaCo ROM.
Or, if a widget already exists that lets you do this, please let me know
Click to expand...
Click to collapse
Note that Settings.apk is just an app and it can change these settings. My guess is it uses some private APIs to accomplish that. You could look into Android sources and check, what is this API, then use it in your own application. You will have to use system shared user in it and sign it with testkeys.
Brut.all said:
You will have to use system shared user in it and sign it with testkeys.
Click to expand...
Click to collapse
That's the part I don't know how to do. I've found the settings calls it makes from the source code:
Code:
Settings.Secure.putString(getContentResolver(),
Settings.Secure.LOCATION_PROVIDERS_ALLOWED,
"+" + LocationManager.NETWORK_PROVIDER);
but that dies with a permission failure "java.lang.SecurityException: Cannot write secure settings table". I've tried to grant myself that permission in the manifest using:
Code:
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
but that permission doesn't seem to be granted, as a this.checkCallingPermission always returns -1.
Is there a tutorial on how to use a "system shared user", or would it be easy for you to explain?
I'm not really sure, this is knowledge of rom cookers and I'm not one of them
But... look into AndroidManifest.xml from Settings.apk:
Code:
<manifest android:sharedUserId="android.uid.system" android:versionCode="7" android:versionName="2.1-update1" package="com.android.settings"
xmlns:android="http://schemas.android.com/apk/res/android">
This apk uses android.uid.system and so it has superpowers. You must set this UID for your apk, but to do that apk must be signed with same keys as other system files. I think you must use testsigner tool and fortunately there are many threads/articles about that
Yeah, it looks like I'd have to resign the whole ROM to make sure that my app had the same key as the system files. Hmm, I've swapped tracks to investigating how to get my app to work through the Superuser app, which I can half do now. However, this is getting more complicated to solve than I had hoped for - I think for a while I might just accept that clicking on button that directly brings up the settings menu will be enough. Thanks for trying!

ro.serialno and android_id issues

Seems there is an issue affecting most devices when ro.serialno is not set in build.prop.
ANDROID_ID is generated by running the ro.serialno through a command, if not set then ANDROID_ID is always the same. Some apps on the market, for me it is "Fast Web Installer" from appbrain that is giving me an issue because my ANDROID_ID is currently the magic number = 9774d56d682e549c
Seems some other developers use the Android_ID to identify handsets on the market when apps are installed. There is an app on the Market to view the android_id and if rooted be able to change it.
I'm about to update my build.prop with my device serial number and see if I get a true random ANDROID_ID
I'm currently using Cog 2.2 beta7
Could someone check the build.prop file on a stock ROM? By stock I mean truly stock because I believe the handsets from the factory have this set, but when we flash the JF6 it no longer has the ro.serialno.
Edit: http://code.google.com/p/android/issues/detail?id=10639
looks like adding ro.serialno does not help us since the ROMs we use are not true first boots, the system.db already has the value set so it doesn't generate a new one.
next I will try removing the ANDROID_ID from the system.db and see if that fixes it...
im bookmarking this, it would really be a big help
well i found an app that allows you to change it, but can't find a way to set it to what it should be from factory using serial number.
would be easy to get an app to use same method and just ask for your serialno if not set
turns out cynogen had the same issue since the ro.serialno was not set, they added code recently to generate based on serialno and first boot time so it would have seed data even if serialno was not set.
http://github.com/CyanogenMod/andro...mmit/81ed751a1dcf1e7c722db2cdded38bef4308a1c5
so something in samsungs source may be goofed cause they don't seem be pulling ro.serialno, i set android_id to "" in the database and rebooted, it stayed the same.
I then deleted the entry all together and rebooted and it went back to the magic number.
edit: well checked with getprop and ro.serialno is blank even though I set it in build.prop
I'm done tinkering for tonight, I changed my value manually for now to a randomly generated hex value and my "fast web installer" is working fine now.
Does seem to be an issue though, and not sure the code solution on cyanogen's site is best way either. They are looking at using ro.serial and time to generate random just in case the serial is blank.
If your someone who purchases a lot of apps, then it might be a good idea to make sure your android_id is random and then keep it so you can restore it later if needed. Some app developers use this to identify the end user.
If you go back to 2.1 you can retrieve your original Android ID and manually set it in Froyo
I did a fresh restore to JF6 and it was set to a unique one, then done a restore to a nandroid I had from an old 2.1 install and it was the same ID. So hopefully that one is unique to my device
well i installed the froyo leak on my gf's captivate after i had zero problems after like a week or 2....now she needs an app in the market and calls me complaining about how she cant find it. Whoops, forgot to tell her about that little tid bit!
Any work on at least a temporary fix? I was going to just tell her to sideload the app using sideload wonder machine, but i can't find an .apk for a free app on the market!!
well i installed the froyo leak on my gf's captivate after i had zero problems after like a week or 2....now she needs an app in the market and calls me complaining about how she cant find it.
Click to expand...
Click to collapse
This is normal for pre-release firmware.
1. Root her phone.
2. Edit her /system/build.prop file
3. Find the line that starts with this: ro.build.fingerprint=
4. Make it say this: ro.build.fingerprint=verizon_wwe/inc/inc/inc:2.2/FRF91/231334:user/release-keys
Save, exit, reboot.
The fingerprint line is carrier agnostic. Android Market just looks for known (to Google) fingerprints. If you have a known good one, you get to see all the protected apps that your unknown fingerprint prevented you from seeing.
Joe1981AL said:
well i found an app that allows you to change it, but can't find a way to set it to what it should be from factory using serial number.
would be easy to get an app to use same method and just ask for your serialno if not set
turns out cynogen had the same issue since the ro.serialno was not set, they added code recently to generate based on serialno and first boot time so it would have seed data even if serialno was not set.
Click to expand...
Click to collapse
hi im curious about the name of the app that let you change the android id can you post a link for it or the name of the app ty
Edit: found an app but havent tried it heres the link anyone who rooted the phone with busybox can try this http://adaptiveeng.blogspot.com/2010/10/android-id-changer.html
I am having this same problem. I wanted to use the fast web installer but it wouldn't work as well.
Has anyone figured how to change it so this will work?
jdsemler said:
This is normal for pre-release firmware.
1. Root her phone.
2. Edit her /system/build.prop file
3. Find the line that starts with this: ro.build.fingerprint=
4. Make it say this: ro.build.fingerprint=verizon_wwe/inc/inc/inc:2.2/FRF91/231334:user/release-keys
Save, exit, reboot.
The fingerprint line is carrier agnostic. Android Market just looks for known (to Google) fingerprints. If you have a known good one, you get to see all the protected apps that your unknown fingerprint prevented you from seeing.
Click to expand...
Click to collapse
thats great! thank you for the quick reply! just tried this on my phone and it worked great. I knew it was a common problem but never found a real answer on what to do. It's just too bad she lives 6 hours from me and i'm not sure i feel like writing her a step by step (as in button by button) guide for her to do this. She will live without the app for another week or so haha.
I was hoping that there would be an app on the market that would allow me to put her a random android id like the above guy stated. Anyways...thanks again.
I'm not running Cog2.2b7, but it seems to me you could use this method to generate yourself a unique Android ID using the emulator option under Make a new androidID with the Emulator. Then, using this command to pull the unique ID off the emulated Android device:
adb shell sqlite3 /data/data/com.google.android.googleapps/databases/accounts.db "select * from meta";
Once you have the Android ID, close out the emulator, and put this Android ID into your phone.
Like I said, I'm not running that version of Cognition, but give this a shot.
i am curious as to what the difference is between what i did (modifying the build.prop file as stated a few posts up) and getting my unique android ID and insterting it back into the phone while running froyo? I can see the apps on the market, was that not the issue at hand with the android ID?
The Android ID is a unique identifier for your phone.
The fingerprint is more of a signature to tell the Android Market that you have a known good firmware and what firmware version it is (2.2 in this case). When you have an approved signature, you get to see apps that were promoted to the market with the "Protected" flag enabled. If you do not have an approved signature, it is as if those apps aren't there.
Need clarafication
Hi Im interested in this ID changing process, but have a question about it. Now does this also fix other issues with 2.2 like not being able to log in to certain apps because the ID of your phone has been changed? I have a captivate but I have been reading thru the threads and noticed a lot of devices, well the ones who upgraded to 2.2, are having the same issue. If this does that i thank you very much cuz i have been looking for a fix for a few weeks now.
jdsemler said:
I'm not running Cog2.2b7, but it seems to me you could use this method to generate yourself a unique Android ID using the emulator option under Make a new androidID with the Emulator. Then, using this command to pull the unique ID off the emulated Android device:
adb shell sqlite3 /data/data/com.google.android.googleapps/databases/accounts.db "select * from meta";
Once you have the Android ID, close out the emulator, and put this Android ID into your phone.
Like I said, I'm not running that version of Cognition, but give this a shot.
Click to expand...
Click to collapse
hi how can i change my android ID MAnually seems the link i provided on top doesnt work on me xD
I have been successful with these steps in getting my phone's id corrected (Cog 2.2 Beta6)
adb
su
sqlite3 /dbdata/databases/com.android.providers.settings/settings.db "update secure set value = '[your HEX android id]' where name = 'android_id';"
sqlite3 /dbdata/databases/com.google.android.gsf/gservices.db "update main set value = '[your DEC android id]' where name = 'android_id';"
reboot
I got my old id by doing a text search with notepad++ on a backup made with rom manager.
jfl0wers said:
I have been successful with these steps in getting my phone's id corrected (Cog 2.2 Beta6)
adb
su
sqlite3 /dbdata/databases/com.android.providers.settings/settings.db "update secure set value = '[your HEX android id]' where name = 'android_id';"
sqlite3 /dbdata/databases/com.google.android.gsf/gservices.db "update main set value = '[your DEC android id]' where name = 'android_id';"
reboot
I got my old id by doing a text search with notepad++ on a backup made with rom manager.
Click to expand...
Click to collapse
I did play around with sqlite3 as well, I didn't search through my old backup though I just put JF6 back with Odin, one click root, and downloaded "Android ID" from the market, wrote down the ID, and then flashed to cog 2.2 beta7 and restored.. Of course then setting my ID with app..
I know I went the long way, but it worked

Possible to modify versionCode in compiled APK AndroidManifest.xml?

I made a mistake and formatted the hard drive of my old computer and sold it, without backing up my keystore for my app published in the Android Market.
My attempted solution:
Take the version from the market signed with the original key (key A), sign it again with my new key (key B) and upload it to the market. Then I will be able to upload another version signed only with key B.
I successfully signed the application with both keys, the problem is that I can't upload the same application again because the version code is still 10, I need to change it to 11. I've opened the AndroidManifest.xml and found that I can change the irrelevant versionName, but can't find the versionCode in there.
Anyone have any ideas? I would really prefer not to unpublish the application because I rely on the income I make from advertisements in it and I don't want to compromise my downloads/rating/position in the market.
Thanks in advanced to all who provide constructive feedback.
Nexeo said:
Take the version from the market signed with the original key (key A), sign it again with my new key (key B) and upload it to the market. Then I will be able to upload another version signed only with key B.
Click to expand...
Click to collapse
I think Market will require signing by key A in every new version of an app. Otherwise signing would make no sense, because anyone could hack it using above technique.
Second, even if you modify AndroidManifest.xml, then signature for key A will be invalid.
If you have lost your key then you're screwed. I don't think you can do anything, but release new versions of your app as new app - with different package name. Even Google can't help you.
I could try to modify version number in your AndroidManifest.xml file if you really want, but I don't see any sense in this.
Brut.all said:
I could try to modify version number in your AndroidManifest.xml file if you really want, but I don't see any sense in this.
Click to expand...
Click to collapse
The sense/hope was that I could take version 1.9 (currently in the market signed with the now lost key) and sign it again with the new key, then upload it with both signatures as version 1.9.1 so therefore I could upload version 2.0 signed only with the new key. If I had both keys this would be a successful way of switching between keys, but because I do not have both I was hoping to modify the compiled/signed app to change the versionCode (not versionName) from 10 to 11 (so the android market would accept it as a new version) and then sign it with the new key, and somehow make it so the signature with the old key was still valid.
The more I work on this and try the more I realize it's probably not possible. I've tried inserting new MD2 hashes for everything that has changed after I've tried modifying files and such but I always get that the application failed to install on my device...
Nexeo said:
The sense/hope was that I could take version 1.9 (currently in the market signed with the now lost key) and sign it again with the new key, then upload it with both signatures as version 1.9.1 so therefore I could upload version 2.0 signed only with the new key. If I had both keys this would be a successful way of switching between keys, but because I do not have both I was hoping to modify the compiled/signed app to change the versionCode (not versionName) from 10 to 11 (so the android market would accept it as a new version) and then sign it with the new key, and somehow make it so the signature with the old key was still valid.
The more I work on this and try the more I realize it's probably not possible. I've tried inserting new MD2 hashes for everything that has changed after I've tried modifying files and such but I always get that the application failed to install on my device...
Click to expand...
Click to collapse
I was just in a similar situation and emailed Google directly. Surprisingly, I received a personally written response. So I can tell you with 100% confidence that you are out of luck: to update a published application you HAVE to use the same digital signature as the original. Otherwise, you'll have to publish the update under a new package name. There is absolutely nothing Google can do. Of course, if you were Angry Birds I'm sure they'd make an exception, but small timers like us are out of luck.
Nexeo said:
The sense/hope was that I could take version 1.9 (...)
Click to expand...
Click to collapse
Yeah, you said that already and I gave you two reasons, why you can't do that:
invalid signatures for key A
requirement for key A in all future versions of your app
Chalup said:
Of course, if you were Angry Birds I'm sure they'd make an exception, but small timers like us are out of luck.
Click to expand...
Click to collapse
Google can't do anything even if they want - it's technically impossible. They could replace your app with new one with different package name, then copy all ratings, comments, etc. from old one, but they simply can't change key for existent package name.
Been there, done that...lost keystores of 3 published apps. Wrote Google too...no joy.
You are puckered As am I because I can not post an update to my apps without a new package name. Which of course, leaves all current users unable to get the update without repurchasing.
I wish there was a better way.... we all lose files from time to time. Why not make part of the publish process an upload of your keystore to the Google servers? Seems like a solution to me
In the meantime, I now have at least 5 copies of my keystores saved on various medium: e-mails to myself, file server, CD etc. Just have to deal with it I guess
Sending the hard drive off to a data recovery company who seems to be pretty confident. Hopefully they can find .keystore files.
I GOT MY KEYSTORE BACK!!!
I used the best f-ing software in the universe to restore the file (it truly is amazing): http://www.ntfs.com/boot-disk.htm
Nexeo said:
I GOT MY KEYSTORE BACK!!!
I used the best f-ing software in the universe to restore the file (it truly is amazing): http://www.ntfs.com/boot-disk.htm
Click to expand...
Click to collapse
Sweet find, I have all my stuff backed up on an IronKey flash drive. But it's a lot more than just my Keystores, it's also all of my work files and such. If you have some extra money I would recommend one. The only bad thing is the highest model's capacity is 32GB.
Rootstonian said:
Why not make part of the publish process an upload of your keystore to the Google servers? Seems like a solution to me
Click to expand...
Click to collapse
I think you don't understand what is this signing for. Its purpose is to make sure you're installing application from original author, not some hacked or infected version. And you want to open some backdoor for installing an application created by different author (no keys = different author). Your "solution" would make signing totally useless.
Chalup said:
Of course, if you were Angry Birds I'm sure they'd make an exception, but small timers like us are out of luck.
Click to expand...
Click to collapse
I don't think that's true. Recently, the wildly popular app "Vignette" suffered from pretty much the same issue and had to republish.

gps conf ... HELP !!!

Hello. I am too having problems with the GPS fix. I googled, i have read fora, i wrote on fora, i have read even the facebook desire hd page where people from all over the world have the same problem with the GPS.
I have tried EVERYTHING, now the last chance is to change the region from the gps conf file....which i can remember being northamerica, while i live in europe. Maybe changing that to EUROPE will help me fix the gps problem.
To save changes to that file, i would need root access. I don't have root access. I don't need root access, i just want to change that file and see if the gps gets the fix faster than before....other than that, i have never wanted root access.
So, knowing my target....which is the most simple way to change that .conf file? I know that the visionary tool doesn't work anymore with froyo desire hd....so i can't root the phone...other methods look really complicated to me. there should be a way to edit the GPS file without doing a mess with roms and downgrades and everything...
please help !!!
You need root access to edit the file, there's no other solution that I know of. If you decide to root, use FasterFix from market to change the region.
Unable to use Visionary due to your build number is more than 1.3xxxxxxx?
You do not have any other option other than to root your device in order you to alter system files. Even if you download FasterFix in the market, you will need to have Superuser permission before the app can directly change system files for you.
If your build number is higher than 1.3xxxxxx, then you have to do a downgrade.
GPS performance has been affecting me in the past, but now i have found a solution(not sure yet, but it works for me until now). Now I got a fix within 5-15 seconds. At most is 30 seconds for the first fix.
Anyway, you should consider rooting. You can have full access throughout your device. My phone previous, battery life can last for a day, now at least two days. I am running different ROM and Kernel thats why.
Cheers dude. =)
It is a part of \etc, definately will need a root access to grant you access to the file.
ok could you link me to a really SIMPLE tutorial to do that? of course i think i'll have to do a hard reset? lose all my saved games and screen configurations.... sigh i just did a hard reset for the same reason (gps)....
and what about new rom and so on? do i have to use another rom in order to root the phone? what does that change ? any rom to recommend?
You don't need root access to modify gps.conf.
Use FasterFix.
Use it two times (open Fasterfix, select europe, apply, then do these steps once again).
Fasterfix will return an error both times, but if you open gps.conf from a file manager like ASTRO) you'll see that file had been changed.
After a while, Android reverts automatically gps.conf to notrh america ntp.
Didn't pay much attention to this, so i don't really know if Android reverts file on reboot or even without reboot.
giegi_dc said:
You don't need root access to modify gps.conf.
Use FasterFix.
Use it two times (open Fasterfix, select europe, apply, then do these steps once again).
Fasterfix will return an error both times, but if you open gps.conf from a file manager like ASTRO) you'll see that file had been changed.
After a while, Android reverts automatically gps.conf to notrh america ntp.
Didn't pay much attention to this, so i don't really know if Android reverts file on reboot or even without reboot.
Click to expand...
Click to collapse
i actually used faster fix, but as soon as i do anything, it says 'required root access' and doesn't do anything !! is that the error you're talking about ?
EDIT: i tried again...start faster fix: can't get root. change to europe = root access required. the gps.conf (i checked) is still on north-america.pool server ((
giegi_dc said:
You don't need root access to modify gps.conf.
Use FasterFix.
Use it two times (open Fasterfix, select europe, apply, then do these steps once again).
Fasterfix will return an error both times, but if you open gps.conf from a file manager like ASTRO) you'll see that file had been changed.
After a while, Android reverts automatically gps.conf to notrh america ntp.
Didn't pay much attention to this, so i don't really know if Android reverts file on reboot or even without reboot.
Click to expand...
Click to collapse
What are you talking about? You can't change system files without root and the app description clearly states that you need root access and busybox. It's not there to fool people is it?
@rogermorse
btw, are you using a case?
I AM using a case but even without case no difference, i tried many times.
i'm trying to root the phone...already on the first step i'm blocked: android developer kit doesn't find java SDK 64 bit....i googled and other people have this problem, i can't fix it, it just keeps saying that java was not found....OMG i had never thought rooting a phone would have been that difficult....i think i'll surrender and never use the gps in my life.
the installer of android SDK stops because it doesn't find java SDK. if i unzip the SDK, at the exit it says the same thing. I was able to make windows recognize the phone in debug mode as ADB interface....but then the
adb shell /data/local/tmp/psneuteradb shell
says 'not found'. anyway the java has something wrong with the android SDK that, as i said, keeps telling me that cannot find the java. i already entered the path in user variables...
rogermorse said:
I AM using a case but even without case no difference, i tried many times.
i'm trying to root the phone...already on the first step i'm blocked: android developer kit doesn't find java SDK 64 bit....i googled and other people have this problem, i can't fix it, it just keeps saying that java was not found....OMG i had never thought rooting a phone would have been that difficult....i think i'll surrender and never use the gps in my life.
the installer of android SDK stops because it doesn't find java SDK. if i unzip the SDK, at the exit it says the same thing. I was able to make windows recognize the phone in debug mode as ADB interface....but then the
adb shell /data/local/tmp/psneuteradb shell
says 'not found'. anyway the java has something wrong with the android SDK that, as i said, keeps telling me that cannot find the java. i already entered the path in user variables...
Click to expand...
Click to collapse
while downloading the SDK, Don't download the exe, go with zip...I think that's what I did when I faced the issue last time.....

[XAP] AdBlocker For Windows Phone 8.x+

Hello everyone!
Today I release a beta build of my very first hand made app called AdBlockerWP!
***YOU NEED TO BE INTEROP-UNLOCKED AND HAVE ALL CAPABILITIES UNLOCKED AS WELL!
It is very simple, download the app from the attachments and install it using Windows Phone Power Tools or the use the deployer built into the SDK.
Then run it and then select "Update Hosts File" Then wait.
Boom it has blocked ads for you! Enjoy
There is also a feature to disable ad blocking.
Please please please let me know how this works for you and what model phone you have as I can only test on emulators and a Lumia 640, but this should work on any Lumia WP8.x Phone.
EDIT:
New Feature(s) Added:
Users can now specify their own URLS to download
Removed 2 default URLS, and changed 1 URL
Current Default Hosts URL List:
https://adaway.org/hosts.txt
https://github.com/StevenBlack/hosts (Using GitHub rawcontent servers to get the HUGE hosts file here which is updated frequently from many sources.
Change Log:
V4: Fixed userList.txt not being found when editing custom user hosts url list.
V5: Added option to edit Windows Hosts file, or just view. (Alpha feature, it is very slow on larger files)
V5.2: Fixed bug on first launch of crashing
V5.3: Default lists can be disabled by user, and better custom list parsing
Source Code: Download Here
Good job, buddy!
Probably, your app needs some UI "polishing" and nice tile but at least it's functional & working
Do you have plans to publish app sources on the github? It will be nice.
sensboston said:
Good job, buddy!
Probably, your app needs some UI "polishing" and nice tile but at least it's functional & working
Do you have plans to publish app sources on the github? It will be nice.
Click to expand...
Click to collapse
When it comes out of beta I will publish source to github and yeah the UI is, how do I say..... Lacking if you will, but it is functional which is the idea behind a beta product LOL.
So far I found some bugs of my own:
2 of the 4 hosts files fail to download from a 406 error.
&
because of the first bug, not all ads are blocked. So i noticed some, not all, ads in some web sites and apps. but some are blocked.
I am also going to add a feature where a user can add his or her own entries, as well as adding their own URL's for Hosts files so those will be added/downloaded as well.
What sources does this app use?
@sandix great work, this app even works well on W10M with interop/cap unlock.
is ok but still many ads not blocked from web pages... second and third host download fail...
dxdy said:
is ok but still many ads not blocked from web pages... second and third host download fail...
Click to expand...
Click to collapse
I could recommend to @sandix, to get a blocking uri sources from the popular Android or desktop ad-blocking software (AdAway and/or AdBlock). Maybe it's not very ethical but these blocking lists are up to date and 24/7 available.
This application is using the default sources from adaway for android, but 2 out of the 4 source get a 406 error, ill be releasing an updated version that fixes this issue so more ads will be blocked. The next version will also allow you to add your own sources as well
Ranomez said:
@sandix great work, this app even works well on W10M with interop/cap unlock.
Click to expand...
Click to collapse
I am glad it is working on the W10M TP I haven't tested it on that yet so that is good news!
sandix said:
The next version will also allow you to add your own sources as well
Click to expand...
Click to collapse
That's smart
sensboston said:
That's smart
Click to expand...
Click to collapse
Haha, thanks, it will be polished app soon enough I want it to update in the background, but I have no idea how to do that yet. LOL
sandix said:
Haha, thanks, it will be polished app soon enough I want it to update in the background, but I have no idea how to do that yet. LOL
Click to expand...
Click to collapse
Is that even a good idea?
I meant won't that risk breaking your hosts file if let's say your internet connection drops during the download?
Also a bit of a unrelated question: doesn't windows phone require a reboot after changing the hosts file just like PC windows does to actually apply the rules?
And you should add the hosts file from here too: http://winhelp2002.mvps.org/hosts.htm (note: not direct link to the hosts file, scroll down a bit) that's what I'm using on my pc and laptop in windows.
Ranomez said:
Is that even a good idea?
I meant won't that risk breaking your hosts file if let's say your internet connection drops during the download?
Also a bit of a unrelated question: doesn't windows phone require a reboot after changing the hosts file just like PC windows does to actually apply the rules?
And you should add the hosts file from here too: http://winhelp2002.mvps.org/hosts.htm (note: not direct link to the hosts file, scroll down a bit) that's what I'm using on my pc and laptop in windows.
Click to expand...
Click to collapse
That hosts al ready in the list, and if internet is dropped during download, that hosts file won't be included, worst case you have to reupdate the hosts file, but no damage would done regardless because I have a restore option in the app and afaik I have not needed a reboot, but a reboot, if you would want to, would not damage anything either
Added Update V3, includes some bug fixes and features, update now!
With v3 this happens when I open the edit user list screen on W10M.
EDIT: Same error happens when I try to save the list and when I try to update the hosts file, can't be used on W10M anymore.
work fine, you must manually add (your) userList.txt
Ranomez said:
With v3 this happens when I open the edit user list screen on W10M.
EDIT: Same error happens when I try to save the list and when I try to update the hosts file, can't be used on W10M anymore.
Click to expand...
Click to collapse
That is weird thanks for telling me, I didn't have that issue, but I will fix it in the next release.
If you updated from the previous version, remove the app and then reinstall it and that should fix the problem I hope for now.
dxdy said:
work fine, you must manually add (your) userList.txt
Click to expand...
Click to collapse
Are you on W10M because for me WPPT can't add anything to any app's isolated storage?
---------- Post added at 07:04 PM ---------- Previous post was at 07:03 PM ----------
sandix said:
That is weird thanks for telling me, I didn't have that issue, but I will fix it in the next release.
If you updated from the previous version, remove the app and then reinstall it and that should fix the problem I hope for now.
Click to expand...
Click to collapse
I did not update but clean install it.
no i have 8.1 GDR2 but get same error... after manually add folder DataFolder and userList.txt all working fine.. use File Manager on phone if WPPT not work for you...
dxdy said:
no i have 8.1 GDR2 but get same error... after manually add folder DataFolder and userList.txt all working fine.. use File Manager on phone if WPPT not work for you...
Click to expand...
Click to collapse
Ok, will try, thank you, and no need to use file manager cause I can just enable Full FS Access and do it that way.
EDIT: Worked, thanks.
Also @sandix is there any reason you removed the ability to read the current hosts file and are you going to add it back in the next version, it was quite a good feature to have to make sure your hosts have been applied?

Categories

Resources