yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] kessaras:
Do a full TWRP backup of boot,data,system,cache and try and test anything you like. I don't see why you think about it so much.

And try the snapdragon camera too. Its paranoid stock camera app modded and also 2nd time modded by me. It's my 1st choice of camera.
[G4 Android Development] marn3us:
In the modded Google Cam I'm currently using here with AOSCP the FullHD 60fps settings works flawlessly ;)
[G4 Android Development] Memories010:
If CypherOS' s framework is a mess, why don't you switch to other roms like AEX? I think it's a good ROM and it's AOSP based too. I don't like lineage because I can't use Substratum and RR has too much customizations making it slow. Basically Cypher and AEX are similar but AEX have a few more customizations. Maybe the flash toogle works....

Anyway, I appreciate your effort to make this ROM stable :good::good:

PD: I know we have a AEX thread but the developer doesn't update anymore....

Sry for the bad English xd
[G4 Android Development] eriuzz:
wow that work except for the raw the app crashes when i take a picture
[G4 Android Development] deltadiesel:
Let's not
[G4 Android Development] raptorddd:
thats what the back up is for. actually steadfasterx asked me to do it . only thing is command thing is like chinesse characters to me.

he said only bad thing that could happen was no signal but theres a reason he asked for back up. i once flashed h815 on my h811 actually i flashed astrakos G6 h815. but it would give me FC at begining of set up.

all i had to do was use a dll file and LGUP to latest MM. and voila... i also only have this phone wich i need too. but i asked stead and didnt want to bbother him.
[G4 Android Development] SeewolfPK:
complete agreement.

Last night I watched a music show on TV. 14 MB of mobile data is used as long as I did not go into flight mode. This is unbearable for me and I will leave AOSP now because I find this spying rude.
[G4 Android Development] marn3us:
Did anybody find how to disable this?

I would like to try 5.3 28/02 but I really really dislike ambient play
[G4 Android Development] ThePiGuy:
It's hard-coded into the ROM by Chris Crump (the main ROM developer), and he has stated on Google plus that at the moment he has no intention to add the ability to turn it off
[G4 Android Development] bluelagoon8951:
Surely anyone with a Linux system who wants to turn it off can just build aoscp and get rid of it? Distribute then?
[G4 Android Development] ThePiGuy:
When I get a bit of time I might try. All the commits are on Gerrit so you can see what he has done
[G4 Android Development] bluelagoon8951:
I'm thinking of trying to build 8.1 of some rom or another for the g4. I'll see what I can do. I do have a 7th gen i5, 8gb RAM and 2 hard drives so......
[G4 Android Development] jorgecft:
Going from 5.1 to 5.2 doesn't need installing gapps again right? Nor it does cleaning cache etc
[G4 Android Development] ojcu:
I'm a noob so what I'm saying might be nonsense but, if the ambient play can't be stopped, can we just block it with firewall or something? I remember that in Windows 10 you could change some addresses in a text file to stop it from spying on you. I know it's a completely different system but might be a clue how to sort it out.
[G4 Android Development] ThePiGuy:
No. Gapps should survive.

Cleaning your cache shouldn't be needed, but it is safer to do so

---------- Post added at 11:12 AM ---------- Previous post was at 11:09 AM ----------

It's an interesting idea, and not nonsense. You can get VPNs that act as firewalls or actual firewalls if you have root. However I don't know if you can block the systemui, or if there is anything else that needs internet access in the systemui
[G4 Android Development] Bleuzen:
As we see in source code, it sends the audio to:

"http://search.midomi.com:443/v2/?method=search&type=identify"

So to block midomi.com should be enough.
[G4 Android Development] ThePiGuy:
Give it a go and see what happens. That looks hopeful to me (that is the database, so I have no idea what will happen when it can't send data there)
[G4 Android Development] Devil0Pr:
As [MENTION=5461026]kessaras[/MENTION] said, ambient music notification cannot be turned off. If you long press on the notification, you get a popup from systemui even telling you the notification cannot be turned off. You can go into more settings and the option to turn off "recognized music notifications" is greyed out. Personally I'm disgusted by this, I don't want my phone listening to anything, this is the start of a bigger privacy breach, once this becomes acceptable what else will Google or anyone else be listening for? it's not the fault of our awesome developers but I'm really having to consider whether I want to stay on Oreo or go back to Nougat. I'm really hoping someone can hack this crap out for us.
[G4 Android Development] Bleuzen:
I will just block it in "/etc/hosts" for now and see what happens...
[G4 Android Development] ThePiGuy:
This isn't Google. It's Chris Crump's (the main developer of the AOSCP project) take on Google's version. This means he has taken inspiration from the Google version (but theirs is all local) and created his own version (which unfortunately sends data to a 3rd party database).

This is why other Oreo ROM's don't have this issue
[G4 Android Development] kessaras:
its not a privacy flaw to look for song names no matter what you say.

clever. and Bleuzen already saw what address to block.

it will work to not send data. it should react the same way it does when it doesn't have an internet connection and just post error in the log. thats all.

but it will keep working in the background, don't expect to get rid of the service, its the ui itself.
[G4 Android Development] Devil0Pr:
I'm not saying this itself is a privacy flaw, is what this might lead to that is my concern. The decision should stay with the user what data is shared, and the user should have the right to turn off such features.
[G4 Android Development] ojcu:
Agree but it only shows how easily we can be spied on. We don't actually know who listens and what is being listened to. That's worrying but I guess it comes with digital age. Sorry for that offtop
[G4 Android Development] kessaras:
by all means , its the same sh*t with google and anyone else out there. so this "decision" is not ours since Graham Bell invented the phone, lol.

ofc it is easy. thats why we flash roms we trust.
[G4 Android Development] SmokeTooMuch:
Can't find this domain when logging DNS queries with AdAway. Are we sure it's not using some hardcoded IPs?

Btw: When adding midomi.com to AdAways negative list I can still access it via Firefox, even after reactivating AdAway. Is the negative list feature even working?

Edit: Nevermind about the domain not appearing in the log. Apparently AdAway (tcpdump, actually) is only logging uncached queries.
[G4 Android Development] Bleuzen:
Fck'n Ambient Play blocked!

For me it is working. I blocked: "search.midomi.com"

in AdAway and regenerated the hosts file and restarted.

Now it doesn't send the audio anymore :)

Now I get this Error all the time:

03-03 13:01:10.805 1311 8751 D AmbientPlayRecognition: Preparing to send audio data: 84992 bytes
03-03 13:01:10.806 1311 8751 D AmbientPlayRecognition: Sending mic data, 84992 bytes...
03-03 13:01:10.963 1311 8751 E AmbientPlayRecognition: Error while sending audio data
03-03 13:01:10.963 1311 8751 E AmbientPlayRecognition: java.net.ConnectException: Failed to connect to search.midomi.com/127.0.0.1:443
03-03 13:01:10.963 1311 8751 E AmbientPlayRecognition: at com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:143)
03-03 13:01:10.963 1311 8751 E AmbientPlayRecognition: at com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:112)
03-03 13:01:10.963 1311 8751 E AmbientPlayRecognition: at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:184)
03-03 13:01:10.963 1311 8751 E AmbientPlayRecognition: at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:126)
03-03 13:01:10.963 1311 8751 E AmbientPlayRecognition: at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:95)
03-03 13:01:10.963 1311 8751 E AmbientPlayRecognition: at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:281)
03-03 13:01:10.963 1311 8751 E AmbientPlayRecognition: at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:224)
03-03 13:01:10.963 1311 8751 E AmbientPlayRecognition: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:461)
03-03 13:01:10.963 1311 8751 E AmbientPlayRecognition: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:127)
03-03 13:01:10.963 1311 8751 E AmbientPlayRecognition: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:258)
03-03 13:01:10.963 1311 8751 E AmbientPlayRecognition: at com.android.systemui.ambientmusic.aoscp.AmbientPlayRecognition$RecorderThread.sendAudioData(AmbientPlayRecognition.java:162)
03-03 13:01:10.963 1311 8751 E AmbientPlayRecognition: at com.android.systemui.ambientmusic.aoscp.AmbientPlayRecognition$RecorderThread.-wrap0(Unknown Source:0)
03-03 13:01:10.963 1311 8751 E AmbientPlayRecognition: at com.android.systemui.ambientmusic.aoscp.AmbientPlayRecognition$RecorderThread$1.run(AmbientPlayRecognition.java:137)
03-03 13:01:10.964 1311 8751 W AmbientPlayRecognition: Regular expression didn't match!
03-03 13:01:10.964 1311 8751 D AmbientPlayRecognition: Reporting result
03-03 13:01:10.964 1311 8751 D AmbientPlayRecognition: Interrupting recorder thread
03-03 13:01:10.964 1311 8751 D AmbientPlayRecognition: Stopping recorder
03-03 13:01:10.964 1311 8749 D AmbientPlayRecognition: Broke out of recording loop, mResultGiven=true

Looks good :D
[G4 Android Development] SeewolfPK:
[MENTION=8773692]Bleuzen[/MENTION]: that sounds good - i will also try it - if it works for me I can stay on O

hosts is read only - maybe kessaras can edit it and block midomi
[G4 Android Development] obvious:
I've denied permission 'record audio' to system ui using app ops from play store.

Let's see how that goes lol

Ok google detection works as does everything else so far
[G4 Android Development] kessaras:
where it is, it will get blocked for all the world, not only you. Cannot do that. Me i like it and use it idc about a few mb.
[G4 Android Development] SeewolfPK:
Okay, AdAway did it now for me and I am happy.

Think next update will chance hosts back to original, so I have to block again.

Bleuzen saved the use of kessaras exellent O for me.
[G4 Android Development] pizzaboy192:
I wonder how hard it would be to change the toggle in settings that is supposed to disable it to one that just adds that line to the hosts file?
[G4 Android Development] tambukey:
So for anyone using magisk, just use unified hosts adblock, create a file named blacklist in the /sdcard and put midomi.com and search.midomi.com in it. Worked like a fun, I added both as a just in case effect. Read the changlog in magisk for adblock and it describes how to use it. This allows it to survive flashing updates and things like that.
[G4 Android Development] Lurensu:
Lol, am I the only one who actually like this feature?
[G4 Android Development] pizzaboy192:
You might be one of the few. It comes across as intrusive, unnecessary, and kinda useless. There are apps out there to do the same thing, but without listening to everything every minute and keeping tabs on what you're up to.
[G4 Android Development] tqwzUX6fn39GZMEzSnDF:
I'm sad that such a great ROM was made unusable for me by this build-in spyware.

Hope, the AOSCP team will note soon that this is no-go for most users and change their mind.
[G4 Android Development] SeewolfPK:
Only have to create the file named blacklist?

No other activation in magisk? Changelog did not help me.

Can you give me the instruction?
[G4 Android Development] tambukey:
You need the module unified host adblock, then follow their instructions within the change log in magisk
[G4 Android Development] pizzaboy192:
The universal hosts adblock module also has an app that helps too
[G4 Android Development] ojcu:
Generally I think it's a cool feature, just the way it works is dodgy. The developer didn't mean any harm and I guess it was the only way he could bring that feature to our phones. I don't like the way it works but it's not a reason to gave up on O. Our privacy is violated just by signing up for Google and Facebook anyway. The only way to keep our lives private is to disconnect and move to some wilderness.
[G4 Android Development] ThePiGuy:
Yeah. There is nothing wrong with building in the feature - it just needs an off button
[G4 Android Development] SeewolfPK:
The off button is to use AdAway or the posted way with Magic.

I prefer AdAway. It is very easy. One Klick only when a new ROM installed.
[G4 Android Development] ThePiGuy:
I don't root though. I'm currently seeing if I can build it without the entire service though
[G4 Android Development] ojcu:
Something bit different than ambient play. That's my battery usage. Does it seem fine? I don't know how it supposed to be, I never cared before. One thing I noticed, it drains a lot of battery when I'm at home and not even using phone. The thing is there's poor service in this area and the phone radio takes a lot of juice. Maybe that's the reason?
[G4 Android Development] deltadiesel:
Does aoscp Oreo still have no sim detection/ requires ril restart?
[G4 Android Development] SeewolfPK:
Sometimes, but not every boot. When not detected I use the RIL Control.apk because it is faster then a new boot.
[G4 Android Development] ThePiGuy:
Sorry if this is a silly question, but couldn't we implement a hack that automatically restarts the RIL service on boot up to, say, 10 times if the SIM is not detected, and therefore if the sim is still not detected after 10 restarts then you assume there is no sim inserted.
[G4 Android Development] SeewolfPK:
I think this is completely unnecessary, because the mobile phone immediately tell me, the SIM is not recognized. Then I can start RIL Control and everything is fine.

And I did not boot every day/hour/minute :D
[G4 Android Development] ThePiGuy:
I was just thinking that it would be better to automate it (especially for those of us that do not have root, and therefore have to reboot the entire phone). And say it recognised the sim on first boot, then it doesn't need to restart the service.
[G4 Android Development] tqwzUX6fn39GZMEzSnDF:
Is it? From my understanding the microphone is listening all the time and your "solution" only prevents that data is transferred to the IP address which you think is receiver of the recorded information.

I don't want spying microphone, how do you achieve this?
[G4 Android Development] ThePiGuy:
At the moment, you can't. This is the problem we are all talking about. Unless you take the source code and remove all the ambient play stuff
[G4 Android Development] SmokeTooMuch:
The whole thing actually has some licensing problems, too.

It's a third party service with ToS and a privacy policy none of us were even asked to agree to.

You most likely need the confirmation of the service to be allowed to bundle it in your software, too. At least it has to appear somewhere in the credits or something.

Depending on your legislation this whole thing might even be against the law.

Seriously, I don't see a single good reason why this feature is mandatory and not opt-in or at least opt-out.
[G4 Android Development] Minto107:
I like this feature as well lol

Sent from Galaxy Tab A10 with 7300 battery ;)))
[G4 Android Development] kessaras:
Nope. It's not against the law of any country.

You may report it to Android police to check it out if you want. But this feature stays right where it is you like it or not.

Each developer makes his rom the way he likes it and if Chris likes it this way, it stays this way.

He is not selling a product to adapt it to your needs.
[G4 Android Development] steadfasterX:
We already thought about this a month ago and the concept for the "how" is also clear. Just time needed.

Whenever I will have the time I will implement this for aoscp so that kind of automaziation will come.
[G4 Android Development] Lurensu:
Well, this is an open source OS and it is actually a ROM developed by a person (or few people) for him/themselves and THEN shared with other people.

It's not something that has to ask you permissions or whose dev has to follow users' opinion or preferences (he still can if he wants, but it's not mandatory).

If people don't like this, they can fork the rom and develop a different version of it, it doesn't work like the commercial stuff.

This is actually the reason why we have so many Linux distros so different from each other, everyone has different preferences and develop a version which better suits them.
[G4 Android Development] bluelagoon8951:
Well, my G4 went kaput. Nice knowing you all, got a OnePlus 3 now.
[G4 Android Development] sberta:
Hi all, I'm following the thread but I am a bit confused...

I am now running the 5.2 official and kernel Auditor shows only 4 cores.

Is it normal? Do I missed something said?
[G4 Android Development] Lurensu:
I had the same issue...

The only solution was to disable VDD restriction in "thermal" and then reboot
[G4 Android Development] |_dan_|:
Hi [MENTION=5461026]kessaras[/MENTION], i have an issue with the program netmonster (tecnical program to See network feature , the band in 4g is bugged: the band is always 2100 mhz; on 3G the EARFCN is also bugged

Inviato dal mio SM-G955F utilizzando Tapatalk
[G4 Android Development] sberta:
Thanks!
[G4 Android Development] kinuris:
Not really. Spy is spy, is not a feature. You could like the package manager or the philosophy behind a linux distro. I don't like privacy intrusions. I don't understand why the developer is doing this, I don't agree with it. As someone of you say, you can block it, but I can't stay with somebody that forces me to give ANY data without the possibility of choice. I can't trust that tomorrow he shares any other data. I'm now in the way of find privacy(nogapps and vpn, xprivacy or alike, etc ), so I must stay out of Oreo with my G4. I'll change to LOS Titan today, and see how it works.

Anyway, thanks to [MENTION=5461026]kessaras[/MENTION] I could try between RR, Fredoom, or LOS. It's a pity the main developer has take this way. I hope all the people opinions and reactions could stop him to do this to this wonderful ROM. I will follow the releases and the thread as always, but I'm out of it by the moment.

Keep your good work, [MENTION=5461026]kessaras[/MENTION] and team.
[G4 Android Development] Lurensu:
Personally, I think you could disagree with everything about this rom (and I truly understand you regarding this now playing thing), but I still think that as a free open source "unofficial" rom, the dev can do whatever he wants, this is his creation and he's completely free not to care about other people's opinion. This is not something you get by accident like a malware, if you flash a rom you're supposed to be informed about it (and/or to trust the dev)..

I mean, I can really understand why people don't like the feature, but you really can't call this "illegal" (Just my thought!)
[G4 Android Development] fi5z.x9:
Don't go tripping buddy... I glad you understand that this is a sensitive feature. Most people only wish the feature is made optional. And who's to say you won't be the one complaining about something else in future builds.

Trust me every enthusiast appreciates that there's a developer for their phone. We'll just have to have a common understanding.

---------- Post added at 07:45 AM ---------- Previous post was at 07:31 AM ----------

Come to think of it, this particular can be turned off on the Pixel phones.

https://www.howtogeek.com/331129/how-to-enable-or-disable-now-playing-on-the-pixel-2/

Why does it have to be compulsory on this rom then?

*btw still rocking the Nougat rom [MENTION=5461026]kessaras[/MENTION]. Game play + Sot is awesome.. Always appreciate.
[G4 Android Development] steadfasterX:
The reason is very very easy.

The developer of aoscp implemented it like he likes it . every change on this requires some of his free time or free time of another person .

free time is very rare for developers and so every developer decides on his own if a change is worth it to take some of his very expensive time.

And last but not least it will not change anything if we discuss this here as the main developer for this ROM will not read it. just head over to aoscp Google groups for example and complain about this there maybe you have luck! Just keep the above in mind then.
[G4 Android Development] kessaras:
You giving in my nerves. You know that ?

Just like sfx above said, the lead dev decides.

And yes he will add a damn switch , I'm sure he will. He just haven't found the time to.

He created ambient weather the past days, and he keeps working in our rom.

And you can't ask anything. The rom is his and he will make it the way he likes it.

Too bad we don't have many devs in g4 to bring up g4 for all roms and you are all limited to mine , but give us some room to breath.

It's not a job we don't get paid. We only work on this on our free time. The rest of the day we are in are real work.

Ok I can't complain. I had a few donations but those are not for living so that I can quit my job and do only this.

Same goes for all of us.

And as said, he will add a damn switch. I just don't like talking about the future.

And yes my N is good. I keep it up to date.

EDIT:

I'm going to re-work the idle drain.

tested a few days after re-calibrating battery many times and our idle drain during night ( with 3 messenger apps and facebook ) is 6%.

i will try reduce it to 1%.
[G4 Android Development] kamol88:
will it work on 818P ?
[G4 Android Development] |_dan_|:
Dear [MENTION=5461026]kessaras[/MENTION], i have an issue with the program netmonster (tecnical program to See network feature , the band in 4g is bugged: the band is always 2100 mhz; on 3G the EARFCN is also bugged
[G4 Android Development] kessaras:
I saw , but it will be hard. We use Motorola rild. We do not have a working LG rild.

Is that free to install and see what's the problem ?
[G4 Android Development] |_dan_|:
Yes it's free: https://play.google.com/store/apps/details?id=cz.mroczis.netmonster&hl=it

If you want the latest apk, you must join to google+ group: https://plus.google.com/communities/115366914638063705499?pli=1

Thank you very much!!
[G4 Android Development] kessaras:
So I installed it and saw it. Yes it's showing 2100 band. Is that bad ?

I don't have access to modem level to change it. I can only edit rild and it's from Motorola for this phone since we were on MM.
[G4 Android Development] manuelcalmeida:
Hi, I've installed the latest N build (4.1.2 18feb) and so far seems to perform really well! I'm using the camera that comes installed and I can't complain about the quality of the photos, though I wish there was an option to save to the sd card but I can live with that. The snapdragon camera has that option but I got force close in panorama mode. Is there a camera app you really recommend me trying?

Also, I don't know if this is the right place to mention it but I'm having a problem with Tasker. Both in stock MM and in H-Rom V30 I was able to use profiles with location context (turn on/off wifi, sound, etc), but now every context seems to work except for the location ones, and I don't remember doing anything differently... I have location high accuracy, location permission and everything else ticked... Has this happened to anyone?
[G4 Android Development] cartman_73:
Hi, this morning I notice a strange behaviour, I put in charge my G4 and after a few minutes I notice a slow charging and I don't see any indication onto lockscreen, after I rebooted the label "phone in charging" appearse and the charging is more fast then the previous.

Would you like that I take a log?

Regards
[G4 Android Development] |_dan_|:
yes it's bad 2100, and the EARFCN is also bad on 3G network