yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] gohamstergo:
While that may be simpler, it's really quite easy to paste the code into a text file, rename to .sh, copy it where the directions say, and change it's permissions. I consider myself pretty dumb and useless and even I could figure it out XD
[Android Apps and Games] tymestopm:
It's not the fact of 'pretty dumb' ... It's for people who flash a lot of roms to make it substantially easier.
[Android Apps and Games] SignetSphere:
kinda confused on something... should i name the file 99waze or 99waze.sh?
[Android Apps and Games] Valiante:
From my understanding, everytime the app updates you have to do this again. That's why a module would make sense

EDIT; My mistake OP says it should survive, I misread
[Android Apps and Games] Snake-Plissken:
hmm i did this and now i am having issues updating or installing apps from google play store. I dont know if its directly related but just before i did this mod by adding a script for magisk and rebooting, I updated all my apps. now i cant. It just says download pending :(

It might be just a coincidence, but its weird...
[Android Apps and Games] s2g-unit:
Would love if somebody could package this in some way to make an easy install for us. Would donate via paypal.
[Android Apps and Games] gohamstergo:
anyone made any further progress?
[Android Apps and Games] skanadian:
Waze blocked owning the skins directory by root/removing permissions in the latest version. (4.29 broken, 4.28 works).

Hi waze devs! Can I have a t-shirt?

I don't think I'll be posting anything else here.

[12:45:xx.xxx (0xd15xxxx) 15xxx 15xxx Error] Java Layer: Skins dir /data/user/0/com.waze/waze/skins/default permissions were changed; Notifying and exiting [Logger_JNI.c:55 (Java_com_waze_Logger_WazeLogNTV)]

For future visitors, I'm adblocking advil.waze.com and using this code on 4.28 (check apkmirror) and it works fairly well.

#!/system/bin/sh
sleep 30

chown root:root /data/data/com.waze/waze/skins/default
chmod 555 /data/data/com.waze/waze/skins/default
find /data/data/com.waze/waze/skins/default -name "*x28*" | xargs rm -rf
[Android Apps and Games] gohamstergo:
lame.
[Android Apps and Games] jaime4272:
Hi, is there any way to hide searching for network on waze. i get this annoying message some times and i just want to hide it from the navigation screen if possible.
[Android Apps and Games] markd89:
I'm running Magisk v19.1 and this path does not exist /magisk/.core/post-fs-data.d

The closest thing I see is /sbin/.magisk

What am I missing?

Thanks!

Mark
[Android Apps and Games] skanadian:
Magisk doesn't support post-fs-data.d scripts anymore unless they're in a module. You can run the commands manually from adb once and they should stick. Certain roms will "fix" the permissions again on reboot, but anything current should be fine. Make sure you're running 4.28 version of waze and adblocking advil.waze.com before trying.
[Android Apps and Games] markd89:
Current Magisk documentation:

https://topjohnwu.github.io/Magisk/guides.html#boot-scripts

post-fs-data mode

Placed in /data/adb/post-fs-data.d

This stage is BLOCKING. Boot process is paused before execution is done, or 10 seconds has passed.

Scripts run before any modules are mounted. This allows a module developer to dynamically adjust their modules before it gets mounted.

This stage happens before Zygote is started, which pretty much means everything in Android

Run scripts in this mode only if necessary!

late_start service mode

Placed in /data/adb/service.d

This stage is NON-BLOCKING. Your script runs in parallel along with the booting process.

This is the recommended stage to run most scripts!
[Android Apps and Games] holofractal:
This seems to still be working. I edited the preferences file and haven't had any popups or ads yet.
[Android Apps and Games] leitefresco:
Hi

I also edit the file but I still have same ads.

Can you please post your edit file here.

Thanks
[Android Apps and Games] DiamondJohn:
I tried installing the Waze version from the OP, and it was really really OLD!

However, looking at the preferences on the current version of Waze, it appears there may be some backdoor avenue to minimize the ads.

Now, the ads appear only when you are not moving. Looking at my preferences file, I noted the following settings:

What I am thinking, if we could understand how these are used, *maybe* by setting them to silly values, we could block the ads appearing as often. For example, I would assume the setting

Popups.Min speed MMSec: 1500

is the speed in millimeters per sec that you have to drop below before it would assume you are stationary, and therefore safe to display an ad/pop up.

I have set some huge numbers for the above settings, to see how it affects the app. If this works, we could run the latest version with reduced ads. The trick will be understanding which way the setting is used. But one try higher and one try lower may be all we need to do to understand that.:highfive:

some settings I am trying now is

If more people could test different values and let us all know if/how they work, that would be great :good:

Being impatient, I have changed more than one value, so its a little out of control :silly:

---edit---

oooo,,l just saw the setting

Search Autocomplete.Ads cache radius: 5000

thats gotta be a target...
[Android Apps and Games] leitefresco:
[MENTION=5417899]DiamondJohn[/MENTION]:

Hi thanks for your quick response

This is what I did:

1. Installed com.waze_4.61.0.3-1022010_minAPI16(arm64-v8a,armeabi-v7a)(nodpi).apk from apkmirror.com;

2. On a rooted android 10 copy "preferences" from "/data/data/com.waze/" to "/sdcard/Download" and from there to a PC for editing;

3. Edit file is attached;

4. Rename "preferences" from "/data/data/com.waze/" to "BAK_preferences" and copy new file from step 3 to "/data/data/com.waze/";

5. Install AdAway and add "advil-gae.gcp.wazestg.com", "advil.waze.com", "il-advil.waze.com", "row-advil.waze.com" to its blacklist and "ENABLE AD-BLOKING";

6. I have no more ads, but I still have the its placeholders.

Thanks
[Android Apps and Games] DiamondJohn:
Just to be clear, I wasn't responding to you specifically.

As for your method. I would NOT transfer the file between locations that do not have full file permissions. The method I used:

1. Force-Stop the app. You have to be careful Waze does not try to overwrite your changes, when it exits.

2. Edit the file in place. Thereby not changing ownership nor permissions

As for your results, I see them as a step in the right direction. To me it confirms the preference file can be used against it, to affect the way ads are displayed. We just need to find which lines (out of 1000+) need to be set, to which values. The empty placeholders may be because you are blocking the url through your host file.

I also found a few more hosts that it may be sourcing its ads from.The following is now my untested blacklist for Waze.

[COLOR="gray"]advil.waze.com[/COLOR]
[COLOR="Gray"]advil-gae.gcp.wazestg.com[/COLOR]
[COLOR="green"]advil-dev-gae.gcp.wazestg.com[/COLOR]
[COLOR="dimgray"]il-advil.waze.com[/COLOR]
[COLOR="gray"]row-advil.waze.com[/COLOR]
[COLOR="Green"]ads-resources.waze.com[/COLOR]
[COLOR="green"]ads-resources-legacy.waze.com[/COLOR]

Due to the current virus situation and the time (its late here in aus) I have not gone out and tested my changes.

I also stumbled across

Advil.Max pending server requests: 5

Maybe setting this to 0 might reduce ads as well:confused:

There is just so so much in the file to mess with.
[Android Apps and Games] leitefresco:
[MENTION=5417899]DiamondJohn[/MENTION]:

Just to be clear, I am responding to you specifically.:cool:

So did I, but if I disable AdAway I get no ads on search, still appear on stationary places.

Thanks and stay safe

---------//--------

I don't know if this script still works...
[Android Apps and Games] DiamondJohn:
I had a look at the script, and basically is is conceptually doing what we are talking (ie messing with the preference file) about, but specifically is modifying the following lines.

ExternalPOI.My Coupons Enabled: [COLOR="Red"]no[/COLOR]
ExternalPOI.Feature Enabled: [COLOR="red"]no[/COLOR]
ExternalPOI.Max POIs Display: [COLOR="red"]0[/COLOR]
ExternalPOI.Popup Enabled: [COLOR="red"]no[/COLOR]
ExternalPOI.Max POIs Display Small Screen: [COLOR="red"]0[/COLOR]

It also messes with the permissions. I am guessing so Waze can't reset the values back to the original and thus re-enabling the advertising

Another thing that did catch my eye, was that in using "sed", it is using the vertical bar (ie "|") instead of a forward slash (ie "/") as a separator within "sed". Which is not what I have seen previously :confused: eg: https://www.grymoire.com/Unix/Sed.html#uh-1 The vertical bar is more commonly used as an "or" operator and not a parameter separator.

I just looked at what else is related to "ExternalPOI" 's and found the line:

ExternalPOI.URL: https://world.waze.com:443/WAS/[COLOR="red"]ads[/COLOR]

Thats gotta be a target also..

if the "ExternalPOI's are really the ads, then searching the file pulled up these

ExternalPOI.Popup Number of Seconds Multiple Popups: 12
ExternalPOI.My Coupons Enabled: yes
ExternalPOI.Max PopupUps Per Scroll: 1
[COLOR="red"]ExternalPOI.Popup Enabled: yes[/COLOR]
ExternalPOI.NearBy Display Time: 60
ExternalPOI.Max POIs Display: 3
ExternalPOI.URL: https://world.waze.com:443/WAS/ads
ExternalPOI.Feature Enabled: yes
ExternalPOI.My Coupons URL V2: https://row-advil.waze.com/en/inbox.html
ExternalPOI.Max PopupUps Per Session: 6
ExternalPOI.NearBy Sleep time: 36000
ExternalPOI.Max Replay Sec: 3600
ExternalPOI.Popup Number of Seconds: 20
ExternalPOI.My Coupons URL: https://world.waze.com:443/WAS/coupons
ExternalPOI.URL V3: https://row-advil.waze.com/en/popup.html
ExternalPOI.URL V2: https://row-advil.waze.com/en/popup.html
ExternalPOI.Max POIs Display Small Screen: 3
ExternalPOI.NearBy Max Speed mmsec: 1400
ExternalPOI.Nearby Coupons and Games URL:
[Android Apps and Games] DiamondJohn:
Although a VERY short drive, I tested Waze, and with two stops, but <1.5 km (ie <1 mile), it did not show any ads:victory:

I have a longer drive ahead on Thursday (>40 km each way), so lets see how it goes then.:fingers-crossed:

NB: I manually edited the files, have rebooted a few times, started and stopped Waze a few times also, and have no boot script. I did not have a look to see which values have been reverted, but will before I head out on Thursday.
[Android Apps and Games] DiamondJohn:
So, I did the drive, however, although it was for 40min, it only had about 4 or 5 stops, and its during the stops that the ads appear. Historically, its the first stop that always bothers me the mostly, and it didn't happen on that stop.:)

So, it looks like it may of worked.
[Android Apps and Games] leitefresco:
Hi

Still in tests here also...:victory: but looking good... I will post step by step what I did.

On your end did you had any ads in any of your stops?

Thanks
[Android Apps and Games] DiamondJohn:
No ads at any stops. That's what I meant by "So, it looks like it may of worked."

The "may" was simply put there because there was so few stops. With the whole virus/isolation thing going on right now, my driving is limited.
[Android Apps and Games] leitefresco:
Hi

My driving is limited too

2:41 am here time to go...

Stay safe
[Android Apps and Games] chuppito:
Hello, the best is to change libwaze.so and preferences to change ExternalPOI by se you want like for example ExternalPO_

If you want to go see my modified app feel free

I'm also looking for a developer to help me.

chuppito.fr

I need help and you can do it on telegram with an instant translator. In any case, my application no longer contains advertising at all
[Android Apps and Games] DiamondJohn:
I havent done 1000's of Kms, but I still have not seen an ad by only modifying the config (ie text file)
[Android Apps and Games] chuppito:
The preferences file is not rewritten? I'm going to reread the whole topic?

After rereading the topic, I put my modifications. Note that vlus will not be able to copy paste because I also change the libwaze.so but you will recognize the lines.

It's been a while since I use this way of doing things, and like you more advertising (especially on android auto or it took up a lot of space

Extern__POI.Feature Enabled: no
Extern__POI.Popup Enabled: no
Extern__POI.My Coupons Enabled: no
Extern__POI.Popup Number of Seconds Multiple Popups: 5
Extern__POI.Max PopupUps Per Scroll: 1
Extern__POI.Max POIs Display: 5
Extern__POI.Max PopupUps Per Session: 6
Extern__POI.NearBy Sleep time: 36000
Extern__POI.NearBy Display Time: 60
Extern__POI.Popup Number of Seconds: 12
Extern__POI.Max Replay Sec: 0
Extern__POI.My Coupons URL: http://astatic.php?v=4
Extern__POI.My Coupons URL V2: http://astatic.php?v=4
Extern__POI.URL: http://astatic.php?v=4
Extern__POI.URL V2: http://astatic.php?v=4
Extern__POI.URL V3: http://astatic.php?v=4
Popu__.Min Distance: 1
Popu__.Fully stopped speed MMSec: -1
Popu__.Min speed MMSec: 999999
Popu__.Min reset scroll speed MMSec: 7000
Popu__.Delay seconds after user interaction: 1
[Android Apps and Games] DiamondJohn:
Similar to the original script, I change the owner and the permissions after making all my changes. The original goes too far and takes away write permissions on more than I think is needed.

Here is my Patch file generated from WinMerge, showing all the changes I make: https://hastebin.com/ecuvasoyev.shell

And here is a cut down version (All logging removed) of my boot script: https://hastebin.com/alavuworem.bash

=============

I just noticed Waze have a spelling mistake::D

:
[Android Apps and Games] chuppito:
Yes there have been several for several years ???
[Android Apps and Games] skanadian:
sed can use any separator. / is most common but almost anything will work. # is common too. I can't remember why I initially settled on | I think it was because some implementations didn't handle / correctly. | does not mean OR in this context.

Unless Waze had a code regression you cannot modify preferences. It will regenerate with permissions, and without permissions will create preferences~ and run with that. If you remove advil and reboot you should see POIs of you zoom in to a larger city. Or maybe not, maybe there is a regression...?

Modifying libwaze.so is the correct approach that I am quite interested in but have not investigated since there are a few hosts you can blacklist that will make Waze run relatively ad free. I won't publish them here because Waze always fixes what gets posted on xda and they still haven't sent me a t-shirt.
[Android Apps and Games] DiamondJohn:
Its a personal preference. Obviously it must of worked, its just not what I personally have seen or used. I can understand that, but *for me*, the # is for a comment and the | is an OR. But thats just me.;) I never said it was wrong, just that I haven't seen it before.

Ummm.. I have... and it remains while using Waze. Just to be sure, I have the change as a boot script, just in case an update from the playstore or such reverts the change.:mad:

The "correct approach" to *me* is what works for *me*, and does so simply, as modifying a text file with sed is simpler than swapping out a binary. So while this keeps working, I think its the "correct" approach for me. The other bonus, I can understand it and know exactly what I have modified.
[Android Apps and Games] skanadian:
Ya preference, and i also prefer /, but this is off topic.

I have a few hundred KM to put on tonight so I tested real quick. First of all chmod 400 and chown root:root does not give waze access to read the file. preferences is regenerated and permissions are applied for the "waze" user as soon as the app is started. Any changes you've made to preferences are lost. I started the app and there were no ads. Why...? Because adaway by default has caught on to waze's shenanigans and added their hosts already. I did NOT have them specified in adaway.

Pastebin proof; https://pastebin.com/7q9t8yX9

I copy out preferences, apply your script, diff to be sure.

At line 157 I start waze and diff again. Your modified preferences and permissions are gone.

At line 233 I check my hosts file to find adaway is hard at work.

Adaway's configuration is pretty good but you will still see "grey screens" (no ads) at some stoplights.

Disable adaway completely and you will see POI icons on the map immediately.
[Android Apps and Games] DiamondJohn:
I have to admit, by chance (ie pandemic :eek:), since making the changes, I have not done as many KM's as usual, but there is always the first traffic lights that I normally see the ads on, and that did not happen when I have gone for a drive.

When I was reading your post I thought, "400? thats not going to work!", but I checked, and that was me:o 444 might be a better option.

Doesn't happen for me. HOWEVER, In just testing it, I did notice a file "preferences~~temp" I am going to take a stab that waze tries to create a new file, saves the new file temporarily to "preferences~~temp" but then FAILS when it tries to overwrite "preferences" with the new "corrected" file, because of the permissions. I haven't checked a logcat to see if there is any more info, because it appears to work for me. But I will change permissions to 444

In the image below, I started waze, went to split screen, started file explorer, navigated to and opened preferences in the text editor. The lines shown are the ONLY references to "Advil"

Ie the file is clearly not overwritten when Waze starts, for me.:good:

As I have said, your experience, is not mine. It appears to be working for me. ie the preference file change and the hosts blacklist in combination. But more Km's may prove this not to be the case, but the file remains as I have modified it. How it could overwrite the file without root (using the permissions I set) does not make sense.:confused:
[Android Apps and Games] skanadian:
Being 400 just further proves my point the preferences file is not being used like you think it is. Even if your changes persist, the hosts block is doing all the work. Disable your hosts block (and adaway completely) and you will see POI ads. That will really drive home (ha get it) the preferences edit is not working.

I have no idea what gives android the right to remove files owned by root but it does this in every ROM I've tested since oreo.
[Google Pixel Questions & Answers] stonew5082:
Sprint Visual Voicemail Zip Test :

Any brave soul want to try flashing this? It was intended for htc 10th but the author suggested it MIGHT work for us.

It gives the libs etc for vvm.

https://www.dropbox.com/s/rf0156l1isb5r8b/SprintVVM.zip?dl=0
[Google Pixel Questions & Answers] stonew5082:
Link uploaded! Who wants to try? I haven't yet
[Google Pixel Questions & Answers] nein7three:
Why not just use Google voice?
[Google Pixel Questions & Answers] stonew5082:
It doesn't work with Sprint for me. My voicemail message is blank. I tried everything. Worked great with tmobile.
[Google Pixel Questions & Answers] nein7three:
That's an error that has persisted for years. Go into Google voice, choose to have it handle voicemail. Go to the normal phone dialer, go to settings, go to voicemail, choose voice. Then, go back to the dialer and dial *73 followed directly by your Google voice number (I.e. If my Google voice number is 9734546666, I dial *739734546666), it'll ring half a ring and then hangs up, confirming your voicemail is now forwarding to Google voice.

Trust me. I've been a sprint user for 18 years and have used Google voice for my voicemails for ably 4 years. I've changed phones a number of times and this always works, just did it a week ago with my new pixel
[Google Pixel Questions & Answers] stonew5082:
Where do you choose to have it handle voicemail? I don't see the setting in gv website. So in the dialer there's no option but carrier either
[Google Pixel Questions & Answers] nein7three:
In the app. For what we're talking about every setting is in the phone app.

In settings, you need to link your phones number into the app. Then under calls, **** forward calls, then check off your number on the page that comes up. After this, Google Voice should show up under voicemail settings in the calls section of settings under the dialer.
[Google Pixel Questions & Answers] stonew5082:
Weird, still no option in dialer settings. Ugh!
[Google Pixel Questions & Answers] nein7three:
For some reason, I don't either now, which is weird. But it's working after I set it up in GV and dial the code *73 with my voicemail qnumber
[SuperSU] thewama33:
THE NEW Version of SU prevent apps from installing from google also if i download it from the internet it gives me App not installed

This happens in the Following Devices

Samsung Galaxy j2 (SM J200H)

Samsung Galaxy j2 (SM J200Y)

Samsung Galaxy j2 (SM J200G)

Samsung Galaxy j2 (SM J200F)

Samsung Galaxy j2 (SM J200)

HTC Desire 960

Archos

:)
[SuperSU] Ibuprophen:
That, normally, points to a gateway issue and sometimes setting the device into Airplane mode and back will do the trick but, here's some links that may be of further assistance.

https://xdaforums.com/showthread.php?t=2733038

https://answers.yahoo.com/question/index?qid=20120801083227AAAP1ji

https://www.xtremerain.com/how-to-fix-error-504-on-android/

Also just performing a search in Google will provide allot more assistance. For example:

Google Search for "google play" "error 504"

-----OR-----

Google Search for Installing Android app error 504

I Wish You the Best of Luck!

Sent on my Communicator [SCH-I535] from the Bridge of the U.S.S. Enterprise...

***PLZ THANK ME WITH A THUMBS UP***
[SuperSU] jr jimmy:
Im using j2 and no problem with su..???sy
[SuperSU] bizsle:
i have the same problem on my LGSM550 i was able to install 2 apps then after that it doesnt want to install anything it will download but wont install....

..........i have figured out that i can stall any app through Lucky patcher only if i rebuild the APK and install as system app....
[Xiaomi Redmi Note 3 Questions & Answers] EmeraldTimer:
Hello XDA!

Recently a friend of mine bought a Redmi note 3 (Hexa core, kenzo?) and i was trying to flash the Global version with locked bootloader but i started to have some problems. First of all, i have all drivers installed but when i tried to connect it to MiFlash, it wasnt recognized (like it wasnt even plugged) even if fastboot devices was showing me the phone was connected ( http://image.prntscr.com/image/219faa372d8c4c18a15fd3c8c9c7a99d.png ) even after a refresh.

So i tried to unlock my bootloader and install TWRP and i succeded but now i have a bootloop, i think its normal since i still have chinese ROM and unlocked bootloader (or is the twrp thats giving the loop?) and i was looking for a recovery flashable version of it, is it possibile to find it or to fix my problem?
[Fire HD 8 and HD 10 Q&A, Help & Troubleshooting] czrmtz24:
Will a factory reset restore the firmware that was originally on the device or will it just wipe your data? I am currently on 5.3.2.1 and I believe it was on a rootable firmware before (I honestly don't remember which one).
[Upgrading, Modifying and Unlocking] freebyte2008:
I recently bought a cingular 8125 on ebay the previous owner asked for an unlock code and was eventually given one based on the imei called a Subsidy unlock code is this the same as a sim unlock or a cid unlock . Hope i have the terms correct. Thanks for your help
[Galaxy Tab 4 General] secretwolf98:
Guys, Samsung has confirmed that lollipop is now out for this device. Keep an eye out for it to come out for you! ;)

Best Buy is installing it right now for me. :)

I will provide link´s later sometime soon with a base ROM of it. If you guys can´t wait
[Galaxy Tab 4 General] jimmy999x:
http://www.youmobile.org/blogs/entr...4-8-0-Lollipop-5-0-2-Updates-to-Start-in-July

2 years, it's difficult but I hope it's true
[Galaxy Tab 4 General] keikari:
Could you give a link where you found this info, I want to see it too.
[Galaxy Tab 4 General] secretwolf98:
I did a live chat with Samsung online, and I asked about the lollipop update for the SM-T230NU, and they had confirmed that it is out. But you may not have it at the moment.