yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] yoreek:
Isn't it weird to have a special updater app just for one application? I mean imagine we had updater apps for all of installed apps on the phone. Wouldn't it be better to post updates directly on F-Droid?
[Android Apps and Games] Primokorn:
As already explained this browser can't be available on Fdroid.
[Android Apps and Games] Sefyron:
Hey, i have an op3t too what substratum theme are u using ?
[Android Apps and Games] Primokorn:
Pitch Black
[Android Apps and Games] 10goto10:
Glad to hear that an auto-updater app has been built for this browser! It even migrates the bookmarks and offline pages too.

Although it seems for me that bamless' M58 built is noticably less smooth than mattnin's last M57 build. Scrolling on pages are a lot choppier, amongst other things. (Enabling multiple raster threads and zero-copy rasterizer only gets you so far.) Something to do with CAF upstream code, or just some unoptimized build configs?

Anyway, awesome work all around! I hope [MENTION=7149109]mattnin[/MENTION], [MENTION=8016619]bamless[/MENTION] and others collaborate to make an even better browser! :good:
[Android Apps and Games] andy356:
Thanks for all your efforts, [MENTION=7149109]mattnin[/MENTION]! I'm really grateful I got to use an open source CAF browser. Will you be working on the builds coming through the auto updater app bamless made?
[Android Apps and Games] bamless:
Nope, I build them on my own

Inviato dal mio Moto G4 utilizzando Tapatalk
[Android Apps and Games] FaserF:
Any way to log in into Google with this browser? I want to sync my chrome stuff, then it would be perfect.
[Android Apps and Games] Primokorn:
Google doesn't allow this feature on 3rd party browsers...
[Android Apps and Games] fitittome:
[RANT]Yet another way to abuse their dominant market position. What happened about open standards?[/RANT] Sorry.
[Android Apps and Games] Primokorn:
One of the reasons why a Chromium based browser will never be my primary browser...

But hey, who cares about open standards? :( Chromium will disappear sooner or later.

(sigh)
[Android Apps and Games] mattnin:
I've decided to begin releasing my builds again since the F-Droid version has been lagging. Also, the F-Droid version source was never released... Github didn't create the binary. I never used it because of that and I always continued to build my own. I cannot guarantee a weekly or even bi-weekly release cycle. Whenever I choose to build it, I will release it and post and update here and also upload to XDA Labs.
[Android Apps and Games] bassam909:
really cool
[Android Apps and Games] Jakky567:
It's still much appreciated.
[Android Apps and Games] chopoLet:
Thank you very much sir. Downloading now :laugh:
[Android Apps and Games] chopoLet:
Is this a bug? I guess all m60 builds have this problem. I can't see what I'm typing on fb chat :confused:

And also if possible can you make the icon circular with the same image? :)
[Android Apps and Games] rockingondrums:
Glad to hear that, now it's caught up to tugabrowser
[Android Apps and Games] cha0zine:
I tried your newest build but found it choppy and laggy compared Chromium SWE ver. 58.0.3029. My phone is OnePlus 3t with oos 4.1.7.

Any idea what could cause the choppiness?
[Android Apps and Games] mattnin:
It's stock chopo. That's the icon from CAF

It's a beta. Older versions like m58 and m59 are likely stable and may perform better.
[Android Apps and Games] Snotbob:
android.permission.REQUEST_INSTALL_PACKAGES

Why was this permission added? I don't see it in any of the stock v60+ Chrome builds.
[Android Apps and Games] OSheden:
How could your builds can be 'compatible' with bamless' ones? I mean that your build is installed over bamless' build. How could you have the same signature?
[Android Apps and Games] mattnin:
Are you sure other chrome builds do not have this permission? This is stock CAF. See the patch. Those are the only changes I made to this browser. Maybe someone else can chime in.

We pull from the same repo and are building the same browser.
[Android Apps and Games] OSheden:
I know but don't you sign your apk file?
[Android Apps and Games] mattnin:
No I do not. I build it exactly how I posted in the 1st post and don't follow any extra steps.
[Android Apps and Games] mattnin:
Request install packages is in stock Chrome.
[Android Apps and Games] 10goto10:
Yes. I believe this has something to do with Android Oreo's new, customizable per-app 'allow installing app from unknown sources' feature.
[Android Apps and Games] Snotbob:
Since I have Chrome disabled on my phone, I downloaded the two most recent builds of Chrome and the two most recent builds of Chrome Beta from APKMirror and inspected their included permissions via MiXplorer.

I thought I searched through them pretty thoroughly, but it's certainly possible I managed to miss the permission on the list. I'll check them again if you think this is the case, or should I maybe enable/update/inspect stock Chrome instead of the downloaded apks? I know that the Play Store doesn't include any mention of this particular permission, even if it's been added to a newer version.

And sorry if I came off sounding accusatory. Any time a new permission(s) is added to one of my apps I try to find out the reasons why. And since Chrome/Chromium browsers run background devices pretty aggressively after they've been opened or summoned, I didn't want this happening every time I sideload or open up an apk.
[Android Apps and Games] mattnin:
It's in stock Chrome. It's ok to report concerns here! I investigated it right after you brought it up and it helps everyone become more knowledgeable!
[Android Apps and Games] hovnonium:
I can see ads when I search for something on google. I have Webrefiner and that two other security features active + adaway. Am i the only one?
[Android Apps and Games] mattnin:
It's not just you. I can add host files that blocks Google ads but it lags out the browser.
[Android Apps and Games] hovnonium:
Nah its ok then. thanks
[Android Apps and Games] jordirpz:
Hola

I cant start session with my account.

My phone says that this account is current running.

Can someone helpme?

Thanks

Enviado desde mi ONEPLUS A5000 mediante Tapatalk
[Android Apps and Games] Megabliss:
Hi, this browser is great, thanks so much!

I just noticed that the notification that is supposed to "close all incognito tabs" does nothing. I seem to remember it used to work in some previous version.

Cheers.
[Android Apps and Games] mattnin:
Not sure this belongs in this thread.

This works fine on my phone.
[Android Apps and Games] wudini:
Can someone confirm that Google Amp sites doesn't work?
[Android Apps and Games] hovnonium:
I can confirm this.
[Android Apps and Games] wudini:
I found a way to allow AMP sites.

https://www.reddit.com/r/Android/comments/5jbhqa/guide_to_fixing_amp_links_on_caf_browsers/
[Android Apps and Games] GeneticEnginer:
On m59 it works fine
[Android Apps and Games] mattnin:
That works! Added this to the second post. Thank you for sharing!
[Android Apps and Games] mattnin:
No new builds today. Seems like Code Aurora is stuck at 60.0.3112.2938655

https://source.codeaurora.org/quic/chrome4sdp/chromium/src/log/?h=m60
[Android Apps and Games] Snoop05:
Will you build a WebView apk based on CAF sources?

https://xdaforums.com/xperia-z1/themes-apps/webview-snapdragon-apk-based-code-aurora-t3522114
[Android Apps and Games] mattnin:
https://www.androidfilehost.com/?fid=889964283620753487

I have no way to test it. What is a standalone webview apk used for?
[Android Apps and Games] Snoop05:
WebView is usually bundled as system app (AOSP WebView) and also proprietary Google version can be downloaded from Play Store. It's the core browser engine other apps will use, so having it CAF based and optimized will probably benefit all apps using it. Thanks for build i'm going to try it now.
[Android Apps and Games] mattnin:
Hmm, I'm interested in the results. The version I built was for standard arm, not 64 bit.
[Android Apps and Games] Snoop05:
Alright.

1. "standard arm" was ok, as i got N5

2. Apk will install correctly

3. As of Android 7.0 (Nougat) applications will use Chrome or Chromium application on device itself thus making System WebView useless https://android.stackexchange.com/q...f-android-system-webview#comment232061_122248

4. Need to test on Lollipop and/or Marshmallow
[Android Apps and Games] yoreek:
I could test it on Mm, but please build a 64 bit version.
[Android Apps and Games] mattnin:
Getting errors with this.

ninja: error: '../../v8/host/clang_x86_v8_arm/natives_blob.bin', needed by 'natives_blob.bin', missing and no known rule to make it

No new merges for the browser. Not sure what's going on at Code Aurora.
[Android Apps and Games] fitittome:
There's more activity here:-https://source.codeaurora.org/quic/chrome4sdp/chromium/src/
[Android Apps and Games] mattnin:
It's missing SWE customizations.
[Android Apps and Games] onliner:
Is it possible that CAF abandoned the project? :confused:
[Android Apps and Games] Dr Zeuss:
The implemented AD-Block technology will be extremely important.
[Android Apps and Games] mumapizza:
I have microstutters when scrolling around, i am on snapdragon 821
[Android Apps and Games] cha0zine:
Me too. That's why I had to switch to another browser.
[Android Apps and Games] Huffy1:
What browser did u switch too?
[Android Apps and Games] cha0zine:
I sent you a pm because this is getting off topic.
[Android Apps and Games] joko6:
Where is the latest build ? Is that a link in the first pos ?
[Android Apps and Games] mattnin:
Yes, the link in the first post
[Android Apps and Games] Primokorn:
Thanks for providing a pure build! I just miss Startpage as my default search engine.

I always expected the modified source code from the guys that released modded versions...
[Android Apps and Games] naughtysanta:
Would it be possible for this browser to have auto update, or the new builds have to be compiled?
[Android Apps and Games] mattnin:
I could add startpage as a choice as well as the popular duckduckgo. It wouldn't be very difficult and to keep with the spirit of the thread, I'll post how I did it. Look for added search engines in the next release.

Auto update may work if I release this on the XDA app, not sure as I don't use it. I'll look into this as well. Yes, new builds have to be compiled on my home machine. Usually, every weekend I sync with Code Aurora for the latest committed changes and also with Google for the latest tools and then I compile. For example, I did not post a new build last weekend because the version number did not increment however Google did update their tools which hasn't been done in awhile!
[Android Apps and Games] Manulinkraft:
Someone on reddit told me that the Paranoid Android ROM shiops a "stock" version of the CAF Chromium browser. They only rebrand it.

I have not checked it, but you may be interested. Here's the download link.

https://github.com/AOSPA/android_vendor_pa/blob/nougat-caf/prebuilt/app/PA_Browser.apk
[Android Apps and Games] Reptilez_DK:
Sorry if I missed it. Are you building with the chrome sync api ? :)
[Android Apps and Games] mattnin:
I have tried building with it and never able to get it to work.
[Android Apps and Games] Reptilez_DK:
I might give it a try, once I get my environment ready. What kind of hardware are you building on, and what are your build-times, if you don't mind me asking. :)
[Android Apps and Games] *KiD CuDi*:
Do CAF browsers have chrome custom tabs? Or are they exclusive to chrome? Besides CCT, this browser is great!
[Android Apps and Games] Reptilez_DK:
Did you follow this ?

https://www.chromium.org/developers/how-tos/api-keys
[Android Apps and Games] 10goto10:
Chrome custom tabs works with this browser (and other recent CAF browsers too). It doesn't work as a WebView replacement like official Chrome on Android 7+ though.
[Android Apps and Games] khnoizer:
Extremely fast browser, It would be great if you also add block images function to save data.
[Android Apps and Games] mattnin:
Yes, I'll give it another shot this weekend. My machine is a gigabyte Skylake i5 with 16 GB RAM with evo SSD holding the repos. It can take as little as 3 minutes or close to 4 hours for some builds. It depends on what I am trying to add or change that really affects build times.

I'll look into this feature as well. If it is something stock chromium/CAF, I should be able to add it.
[Android Apps and Games] kalans:
Thank you the great browser! Is there a way for you to add Google sign in?
[Android Apps and Games] ndarkside93:
If you read the post above you, you would see that he is going to attempt to include it on the build this week
[Android Apps and Games] ArslanTheGreat:
I'm also looking through the code looking for feature and see how to customize it for my personal use, I was wondering if you would share where you found this.

Also you might want to try

"ffmpeg_branding="Chrome" proprietary_codecs=true" to enable proprietary that are not enabled in Chromium due to license restrictions

"enable_nacl = false" disable Native Client which most developers don't normally need to test Native Client capabilities and can speed up the build by disabling it.

Other people add google sync to there build by creating a swe_command_line file with

--enable-suppressed-chromium-features

in *browser_root*/swe/channels/*channel_name*/res/raw

but google sync is not going to work anymore

read more at https://xdaforums.com/android/apps-games/app-tugabrowser-t3472457/page61
[Android Apps and Games] mattnin:
Sure, run this to get a list,

gn args --list ~/src/out/Default/ > ~/args.txt

I can sure use someone helping out with that list above and seeing what we can and can't add. I've tried enabling several cool features like enable printing and print preview but had dependency issues. I haven't given up on enabling those features, it just takes time. Unfortunately, some of those argument changes really increase build times and makes testing difficult :(

How did you come across arguments like enable_nacl and not optimize_for_size? Did you get ffmpeg_branding and enable_nacl to work in your build? I am sure I attempted enable_nacl a couple weeks ago and got the browser to build but encountered a crash at runtime but maybe I was just a cup short of coffee that morning... I went through several attempts to add features using the generated list above and either got a crash or had build errors. Enabling some features would cause a lack of dependencies that it appears are closed source and only a Googler has access to unfortunately.

I'll try enable_nacl again this morning, but I am pretty sure that I tried this exact optimization and had problems. My goals this morning are to finish getting multiple search engines added. I spent many hours on this problem yesterday and could only add one search engine but not the other and I don't know why. At least I have a build with startpage or a build with duckduckgo, but I am aiming for a build with both. I am armed with some good fresh ground coffee so chances are good! I did get media downloads feature working yesterday and I will be releasing that today after I get this search engine issue hashed out, so that will be a handy new feature for everyone!

Yes, I read that. No sense in putting any more time into getting that feature to work.
[Android Apps and Games] iCstyle:
Hi! Thank you for this great build, works perfectly :)

Just one thing bothers me: Some icons on the top left are really blurry, like the Google icon on new tab page, or even worse the history icon. Any way to fix this?

Also is it possible somehow to have the new tab page lile in Chrome?
[Android Apps and Games] mattnin:
Yea, some of those icons look really crappy, I agree... I'll add that to my issues list and will get to it eventually. As far as new tab page, I don't think I will try to make that more like chrome. I always felt that increased browser start up time. I much prefer the spartan look and feel of SWE Browser new tab page more.
[Android Apps and Games] Je5hu4ver:
So its an adblock browser. Does it block js entirely or just ads?
[Android Apps and Games] yoreek:
Only ads.
[Android Apps and Games] mattnin:
This browser doesn't seem to microstutter on the S5. What phone are you using it on? I don't think CAF gave up on it especially seeing all the merges in standard chromium in the CAF repository. They may have fewer devs working on it now though.
[Android Apps and Games] 10goto10:
I personally think your last build of M57 was the smoothest of all SWE browsers. I can't seem to find it in your AFH folder and I lost my copy, do you still have it? Thanks.

(IMO, _all_ SWE browsers since M58 seem microstutter when scrolling compared to stock Chrome, Yandex, etc. It still loads faster, etc, but there's a small but annoying regression. Seems to be related to CAF upstream, i.e. not your fault. Tested on S5 (SD801) and Mi5 (SD820))
[Android Apps and Games] mattnin:
I don't have it. Are you talking about swebld57ver0003.patch? Let me know and I'll build it again.
[Android Apps and Games] mattnin:
I've already started loading the m57 base :good:

If anyone else has any other requests, let me know. Maybe I'll do an m57 version with super adblocking, a paranoid version
[Android Apps and Games] 10goto10:
Thanks a bunch! No need for 'super adblocking', that might reduce performance. Using the Unified Hosts List (on GitHub) is good enough. Maybe you can mix that with adguard/fanboy's annoyance list (gets rid of cookie notices, social media buttons, etc.)
[Android Apps and Games] mattnin:
It will reduce performance. I'm still going to do two builds. Might as well since nothing new from CAF!
[Android Apps and Games] chopoLet:
Which build are you using now sir mattnin? I actually have problem with the latest build. I can't see texts when typing a message on facebook when nightmode turned on.
[Android Apps and Games] mattnin:
I'm using the latest.
[Android Apps and Games] fitittome:
Could that ?h=m60 parameter have something to do with it? If you remove it the list is bang up to date.
[Android Apps and Games] mattnin:
Master tree doesn't have SWE customizations.
[Android Apps and Games] ainurrofiq:
I'll be waiting for this paranoid version , ?
[Android Apps and Games] mattnin:
Ok, after much hair pulling, m57 is up. Link is in the 1st post. Anyone building this browser and wanting to go back to m57 may need to completely rebase. I kept getting gclient sync errors trying to go from m60 to m57. Ended up having to wipe my whole repo and start over. Paranoid version coming soon :good:
[Android Apps and Games] 10goto10:
Did some benchmarks, comparing SWE M57, M60, and Yandex Beta (from left to right). Seems like M60 is finally faster than M57. Scrolling seems to be improved too (not as good as Yandex though, but that's closed source, so, yeah.)

Ad-Blocking rules and filters seems to need updating though. Ads don't show, but ad place holders still shows up in, say, The Verge.

Thanks again [MENTION=7149109]mattnin[/MENTION] for providing these builds!
[Android Apps and Games] yoreek:
Thanks! That's a curious review. But it's incomplete: how do these stand against chrome? :)
[Android Apps and Games] 10goto10:
I'll do stable chrome later-ish. Will update this post when I'm done. (EDIT: result in next post, xda doesn't let me attach stuff in edits? I hate double-posting, but seems like I'm forced to...)

By the way, these benchmarks are run on a Galaxy S5 (SD801), running LineageOS 14.1, Sept-14 build, with an USB keyboard plugged in to reduce the impact on the Speedometer benchmarks (it opens and closes the software keyboard a bunch.)
[Android Apps and Games] 10goto10:
UPDATE: benchmarked Chrome Stable (v61.) It seems to be faster across the board. But it doesn't have ad-blocking or Secure Connect, so... I'm not switching to it. Did the Qualcomm optimizations finally make it into upstream Chrome?
[Android Apps and Games] night0crawler:
Why this browser isn't allowing me to login with my google account. It says 'this account already exists on this device'
[Android Apps and Games] 10goto10:
Google sync is not supported on unofficial Chrom(e|ium) builds.
[Android Apps and Games] mattnin:
Thank you infinite loop, you've been our official benchmark tech. I'm reinstalling the m60 base and that is what I'll base the paranoid version on.
[Android Apps and Games] ainurrofiq:
Eagerly waiting for the paranoid :D
[Android Apps and Games] tmbgreaves:
Thanks for this very useful guide, greatly appreciated and made my life a lot easier setting up a CAF SWE build environment.

I'm not using any of the supported Ubuntu versions so to (possibly!) make my life easier I set up a 14.04 container to use for builds, and have a few small fixes to the build method starting from bare-bones (ubuntu:14.04 dockerhub image), which I'll share in hopes they'll save others doing the same debug process.

Packages required on top of the base system prior to setting up the CAF build environment were git-core, wget, and python:

apt-get -y install git-core wget python

The gclient sync needed 'yes' piped to it to automate agreement to the google play store APK terms, and also needed --disable-syntax-validation to get through configuring a subpackage (sorry, I forgot to note which):

yes | gclient sync --disable-syntax-validation -v -r refs/remotes/origin/m58

envsetup.sh was unhappy with /bin/sh as dash, needed a dpkg-reconfigure dash and reset the default sh to bash:

echo "dash dash/sh boolean false" | debconf-set-selections
DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash

Thanks again mattnin for this very useful guide.
[Android Apps and Games] cdysthe:
What's the differences between the Swe and Tuga browsers? I'm not asking for a detailed feature comparison but rather if there's any major design considerations that are different.
[Android Apps and Games] :
Tuga uses a custom logo and has some added adblock rules I think
[Android Apps and Games] mattnin:
Nice trick to automate sync. --disable-syntax-validation is only needed on older bases, not necessary on m60.
[Android Apps and Games] mattnin:
Paranoid is up in the top post. Let me know what you think.
[Android Apps and Games] ainurrofiq:
Okay downloading it

It's good. But can you let me know what ad blocker that you used in this paranoid version,

Edit : sorry I had looked at web refiner conf inside the APK, it's good
[Android Apps and Games] chopoLet:
Hi sir [MENTION=7149109]mattnin[/MENTION], what's the difference between your original build and the paranoid version? Sorry for this noob question. I was not so familiar to paranoid browser. :confused:
[Android Apps and Games] mattnin:
There are more adblocking host files. I'll post the patch and then web refiner configuration in a little bit.
[Android Apps and Games] chopoLet:
Got it. Thanks :svetius: