Chrome 64-bit not running on 4a5G, because of 8GB RAM requirement - Google Pixel 4a 5G Guides, News, & Discussion

I was getting excited reading this https://www.androidpolice.com/2021/03/15/these-android-devices-are-eligible-for-64-bit-chrome/
For those of you who picked up the latest Android devices (Android Q+ and 8GB+ of RAM), we’ve rebuilt Chrome as a 64-bit binary, giving you a more stable Chrome that is up to 8.5% faster to load pages and 28% smoother when it comes to scrolling and input latency.
Unfortunately, when I downloaded Chrome version "89.0.4389.90 arm64-v8a + armeabi-v7a Android 10+ nodpi" from APKMirror I was still getting 32bit (chrome://version). Turns out the 6GB of RAM on the Pixel 4a 5G are not enough for chrome's memory hunger?!?
I am guessing somebody could do a build or modification to lower the RAM requirement?
Any other ideas?

istrebitjel said:
My chrome://version
Click to expand...
Click to collapse

Just use Bromite instead, it's better for your privacy

I had that problem as well and found a best solution: manually download and install the same 64-bit build version of Chrome, Trichrome Library and Webview from apkmirror.com, and upgrade manually. Bromite is ok, but I prefer stable Google Chrome from Google Play to enjoy Google Sync and all goodies. I'll explain:
Starting point: I have a Xiaomi Mi 8, which has 6 GB RAM and was always frustrated that I can't install 64-bit Chrome and Webview from Play Store, because by Google's decision only 8GB up can. This is a bit ridiculous for me, because I'm losing the best performance of the main app that I use in my phone, the web browser. I don't use many apps at once and 64-bit Chrome only takes some hundred megabytes of ram more than 32-bit. And sure Chrome 64-bit is faster than 32-bit, so after lots of studing and trying I found a solution. I don't like that Google forces me to have 8Gb Ram to run 64-bit Chrome! I manage my own phone, apps and RAM. ;-)
Example for latest version at the time of writing:
I start by searching for 'Chrome Fast' in apkmirror.com. Then it links in the download page to required Trichrome Library. And finally I search for 'Webview same_trichrome_version number' and once in its download page I check it links to the same previous trichrome Library, because they interdepend. So I download in this order: Chrome Fast, Trichrome Library and Webview. Then I install in this order:
Trichrome Library 102.0.5005.99 (arm64-v8a + arm-v7a) (500509934) Notice the same build number. Mixing build numbers won't work. 34 ending builds always contain 64-bit libraries. I have examined them to make sure.
Google Chrome: Fast & Secure 102.0.5005.99 (arm64-v8a + arm-v7a) (Android 10+) (500509934 Build, always last '34' ending) (apkbundle). You need an app to install apkbundles, like APKMirror Installer. I use APP Manager (root). You can add your language if it is avaiable. Normally it installs in english.
Android System WebView 102.0.5005.99 (arm64-v8a + arm-v7a) (Android 10+) (500509934) Notice the same build number (apkbundle)
Install the three packages in order: (Trichrome, Chrome and Webview). Google Chrome 64-bit will only start when the same Trichrome Library version is installed.
Webview is optional, but is highly recommended since it is always loaded in memory and used by any application that displays a web page (i.e: Outlook). Webview also depend on the same Trichrome Library version, so you'll want all three apps in synced versions so Android is optimized for 64-bit rendering and using shared processes and memory. If you don't install Webview 64-bit you will be wasting memory for 32-bit webview processes and 64-bit process for Chrome 64-bit/Trichrome Library.
If you install all 3 components, you are actually replacing 32-bit for 64-bit rendering for the whole system, taking only a few hundred megabytes more of RAM (out of 6GB in my phone).
You'll need to install manually all three apps to upgrade, I stringly advise you to untick Chrome auto update from Google Play so it doesn't get replaced by 32-bit version again.
Important: Also, from time to time, clean your system of older Trichrome Library installations. You can't uninstall them! I haven't been able to uninstall Trichrome Library with 'adb uninstall' or any package command/app. Only solution is using a root File Browser, like 'Material Files' and manually delete folders of older versions. Each version has two places:
/data/app/com.google.android.trichromelibrary_version_number****** (~124Mb)
/data/data/com.google.android.trichromelibrary_version_number***** (a few kb)
Enjoy Chrome 64-bit! Check chrome://version page.

Related

[Library] AppListManager

Windows APIs for retrieving list of apps work very slowly, and also they don't show installed legacy apps (WP8 xap packages). This library solves these issues.
This library includes a built-in caching mechanism; so after the first scan, It'll take only a few seconds to refresh data. Also, this library extracts information about legacy apps by calling a legacy API and then extracting information manually from each app's files.
I'm already using this in the new version of App Data Manage Tool (You can compare the app start speed between version 2.1.0 and 1.5.4)
License: You can use this library in your apps and modify it to fit your needs, as long as you mention the name `AppListManager` and the name of the publisher `Mahdi Ghiasi` with a link to the repository in Github.
GitHub repository link: https://github.com/mghiasi75/AppListManager
Thanks for writing this! I've been considering writing something that would scrape the registry for installed apps, because (as you say) the public APIs are bad. I may just use your library instead. Thank you for open sourcing it!
Library updated with a better way to load legacy apps info, thanks to @gus33000.

[7.X] [Official] LineageOS for MicroG (ether)

I did not make this rom. I'm simply letting people know this exists. It's LineageOS with built-in microG. From their FAQ:
Why all of this? Isn't OpenGApps free software?
Yes and no, the name "OpenGApps" is misleading. While OpenGApps uses free software to retrieve and bundle the GApps, the apps themselves are not free software, they are in fact the same Google Apps you find on a new phone.
Why should I use microG instead of the standard Google Play Services?
First of all, freedom. I can't explain here why free software is so important (this is a FAQ, not a 200 pages manual), but if you're interested you can start by reading this.
Second, the Play Services are very expensive in terms of resources, they drain lots of battery and they use lots of space, while microG requires much less resources. To give you an idea, the smallest possible package of OpenGApps ("Pico Package") on ARM 7.1 is ~125 MB, while the full microG suite (GmsCore, GsfProxy, FakeStore, MozillaNlpBackend and NominatimNlpBackend) is ~4 MB.
Isn't Android free software? Can't I just install LineageOS without both GApps and microG?
Android is based on the AOSP project, which is free software. However many common features are handled by the proprietary GApps, generally by the Google Play Services. You can use LineageOS without GApps/microG, but you will probably miss something. In particular, you won't have the:
network localization services, which means that you can only use the GPS for the positioning
Google Cloud Messaging, so you won't receive any push notification for any app that relies on it
the Maps API, which means that any app that uses Google Maps through the Maps API will probably crash
With microG these services (and many others) are reimplemented.
Is LineageOS for microG completely free software?
Unfortunately no, like LineageOS it still has some non-free components. See the Replicant project for more informations.
Which is the current status of microG? Which APIs are already implemented?
See here.
Why do we need a custom build of LineageOS to have microG? Can't I install microG on the official LineageOS?
MicroG requires a patch called "signature spoofing", which allows the microG's apps to spoof themselves as Google Apps. LineageOS' developers refused (multiple times) to include the patch, forcing us to fork their project.
Wait, on their FAQ page I see that they don't want to include the patch for security reasons. Is this ROM unsafe?
No. LineageOS' developers decided not to include this patch for various reasons.
The signature spoofing could be an unsafe feature only if the user blindly gives any permission to any app, as this permission can't be obtained automatically by the apps.
Moreover, to further strengthen the security of our ROM, we modified the signature spoofing permission so that only system privileged apps can obtain it, and no security threat is posed to our users.
Do you use test keys?
Heck, no! We sign all our builds with our own private keys.
Do you offer OTA updates?
Yes, once a week.
Do you offer delta updates?
Not currently, but it can be done if there's real demand.
Can I install apps from the Play Store on this ROM?
F-Droid is included in our ROM, so you can freely download all the FOSS apps on their repositories.
However, if you need apps which are available only on the Play Store, you're free to host your personal instance of PlayMaker (see this demo) or GPlayWeb and connect it to your F-Droid client, Playmaker will let you download apps from the Play Store and install them via F-Droid. Another solution is to use a local app, like Yalp Store.
Do I have to enable "Unknown sources" to install apps in F-Droid?
Our ROM includes "F-Droid Privileged Extension", which allows F-Droid to install and update apps without the need of user interaction or the unsafe "Unknown sources" option.
Can you add support for my device? It is officially supported by LineageOS
We already build LineageOS for microG for every device supported by LineageOS. Find your device in our Downloads page!
Can you add support for my device? It is not supported by LineageOS though...
No, I'm sorry.
I don't trust your build, I want to build it myself!
No problem! Our builds are done with this Docker image, feel free to build it yourself.
I am running a custom build of LineageOS, but yours is way cooler! How can I migrate to it without losing my data?
Replace the LineageOS official keys in our migration ZIP with your keys (or follow the suggestions in the LineageOS migration guide).
Click to expand...
Click to collapse
More information: https://lineage.microg.org
Download Links: https://download.lineage.microg.org/ether/
XDA:DevDB Information
LineageOS for MicroG, ROM for the Nextbit Robin
Contributors
EAT_CHICKEN
Source Code: https://github.com/lineageos4microg
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
Based On: LineageOS
Version Information
Status: Testing
Created 2018-03-30
Last Updated 2018-03-29

Focus my nexus to just play a game 24/7

Hello, I'm using my "old" Nexus 5X only to play a game afk (farming in Black Desert Mobile). I basically did everything I know:
- Last unofficial Lineage OS 15.1
- pico OpenGapps (tried patching services.jar + microG but login failed)
- ElementalX kernel to disable fsync and use noop IO scheduler (im only running one app)
- disabled some unused app like mail and print services (but I'd like to find an extensive list o safe to disable app on Lineage OS)
- force encrypt and dm-verity disabled
- disabled zram
- hosts file directly written in /system with adb push while in recovery
- common build.prop tweaks by adb shell while in recovery
- disabled heap randomization
- no root since I can modify /system directly from recovery (no need of magisk + overlay fs since it needs a bit of ram)
My next step would be to recompile ElementalX kernel to also do stuffs like disable stack protectors etc... etc...
I'm not new to "messing with linux devices" but I'm kinda new to android internals and android tweaks.
Keep In mind that I use this device only to play a game so some tweaks that "break" the "common phone" usage but improve the gaming performance of this one app may be perfectly fine.
Do you guys have any suggestion to give? Have I missed something?

LineageOS + VirtualBox?

So i managed to get a virtual android machine running via virtualbox, i used android project x86 for that.
However it contains the typical google-mass-surveillance-spyware, a no go.
How would i get a generic system image (gsi lineage) running in virtualbox?
What more do i need other than the GSI and VirtualBox?
Privacydroid said:
So i managed to get a virtual android machine running via virtualbox, i used android project x86 for that.
However it contains the typical google-mass-surveillance-spyware, a no go.
How would i get a generic system image (gsi lineage) running in virtualbox?
What more do i need other than the GSI and VirtualBox?
Click to expand...
Click to collapse
A kernel. GSIs are system only images, so they don't include kernels.
Privacydroid said:
So i managed to get a virtual android machine running via virtualbox, i used android project x86 for that.
However it contains the typical google-mass-surveillance-spyware, a no go.
How would i get a generic system image (gsi lineage) running in virtualbox?
What more do i need other than the GSI and VirtualBox?
Click to expand...
Click to collapse
As far as i know, LineageOS doesn't provide Android x86 image. You can use BlissOS instead, they actively develop Android for PC
khusika said:
As far as i know, LineageOS doesn't provide Android x86 image. You can use BlissOS instead, they actively develop Android for PC
Click to expand...
Click to collapse
Thanks! Never heared of bliss. This forum is really great, learning about so many new things here.
May i ask some noobish questions.. bliss has multiple download variations.
GApps (thats google apps...)
FOSS
AOSP
I'f been reading aosp quiet a few times, but foss is enitrely new to me.
Is there a documentation on what they stand for and what the differences are?
If possible i preffer a virtual android device without any trace of google/facebook.
I went for AOSP (not sure what foss is still).
In virtualbox would i choose other linux 64bit or other 64bit ?
Privacydroid said:
Thanks! Never heared of bliss. This forum is really great, learning about so many new things here.
May i ask some noobish questions.. bliss has multiple download variations.
GApps (thats google apps...)
FOSS
AOSP
I'f been reading aosp quiet a few times, but foss is enitrely new to me.
Is there a documentation on what they stand for and what the differences are?
If possible i preffer a virtual android device without any trace of google/facebook.
Click to expand...
Click to collapse
FOSS is Free and Open Source software. FOSS build doesn't include Google Play Service in it. Most of users using it for privacy concerns. They only replace Google things with F-Droid. Based on their website they are using Aurora Droid for open-source apps from F-Droid repos, and Aurora Store for accessing the Google Play library of apps
khusika said:
FOSS is Free and Open Source software. FOSS build doesn't include Google Play Service in it. Most of users using it for privacy concerns. They only replace Google things with F-Droid. Based on their website they are using Aurora Droid for open-source apps from F-Droid repos, and Aurora Store for accessing the Google Play library of apps
Click to expand...
Click to collapse
Interesting, privacy is also my nr 1 priority.
AOSP must stand for android open source project, blissos aosp seems to not use any gapps.
What really are the differences from aosp and foss if neither uses google?

UPDATED & MODDED ADRENO 640 DRIVERS for SURFACE Duo (MAGISK MODULE)

*shouldn't start this way but this first paragraph is for the SAVY Rooted SURFACE DUO USERS whom understand drivers and this whole comcept of the ability to upgrade Adreno drivers, LOOKNG TO SKIP THE FLUFF AND CUT THE CHASE *expedited summary*
You can see your current Display/graphics driver via an app like AIDA64 via the play store (for reference my up to date Android 12 Duo had v502 drivers).... The installation is like any standard magisk module. Simply flash a suitable SM8150(aka snapdragon 855/Andreno 640) driver via magisks/Fox's MMM obtained from this link:
adreno driver for sm8xxx/sm7xxx/sm6xxx
adreno driver magisk module for sm8150 or sm8xxx/sm7xxx/sm6xxx family running on R or newertested on sm8150 and sm8250WARNING : [email protected] has known crash issues when used with magiskWARNING: BLOBS HAS...
www.pling.com
be sure to read the details of the different varients... I recocommend starting with the stock 530. Use at your own risk,.. I recommend the 530 edition, as they have reported no known issues, after install you can verify the current driver version via an app like AIDA64...
Ps.. I used fox's MMM to install the magisk module for the stock 530 first, and after verifyimg all was well, I was able to revert to v502 simply by uninstalling via Foxs MMM & rebooting... so that gave me confidence to install the version I am using currently which ist The December 2022 530 release posted, that also emulates being an ADRENO 730...it's actually as smooth as butter, past first 24hrs & benchmark tests etc (no battery studies by me tho so you'll have to explore that yourself as all I can say is that my temps were much more stable in AnTuTu enroute to higher scores.. also I have not tried the later drivers, opting to stay bug free with the v530 for now, since performance is already top tier imo, playing all games I have at max even prior, but the UI/UX is noticably more responsive and smooth which makes me eager for my pen to arrive as I'm certain these improvements will also translate there as well as the UX for me now has literally zero input/update delay)
**************************
FULL Post below
**************************
Here goes a full post....I am not good at this but yeah..lemme drop something useful relevant and compatible to our devices I'm thanks *this is not any of my work nor is it specifically designed for Surface Duo users yet it works perfectly considering it's targeted for our same underlyimg hardware
------UPDATED/MODIFIED ADRENO 640 GRAPHICS DRIVERS TO BOOST OVERALL PERFORMANCE
...We all know Microsoft is historically behind when it comes to providing users with the latest hardware drivers and the situation is no different here....
Vroom, hello I've been super busy absolutely renovating my Surface Duo and I'm just felt this particular discovery of a mod would be a great one to highlight. Essentially, you more than likely are running outdated drivers for our Andreno 640, to identify exactly what version your drivers are, you can use the 'AIDA64' application to identify which drivers you are running (I'll guess v 502 if your surface is up to date on Android 12 like minea).. nevertheless we all know how important drivers can be to increased performance and implementation of various codimg advancements to enhance existing hardware. Your display drivers are oh so critical to your entire experience while using your device for absolutely any visible task, and especially are the backbone of gaming performance... So because this is such a useful all around mod for all of us looking to stay on the bleeding edge of things, I feel it would be unjust to not share such a useful thing that most Duo users may not otherwise sought out.
This is not my own tweak nor creation, so use this at your own risk. In which case, I will recommend that if your set-up is like mines, in that your Surface is running driver version 502 and is up to date with either Android 12, you should feel pretty safe to install this mod via FOXES MMM... However if you typically flash magisks mods in other fashions, well proceed with caution (only because I just don't know, however it is my belief that if you flash version 530 which has been determined stable and don't touch anything that isn't designed exclusively for OUR SURFACE DUO MODEL SM8150, that you should be safe..
Sorry i am not in the business of posts like these so let me just tell you my process of which I feel safe, however I am not suggesting there is any one correct way as I'm theory ,it's simply a matter of flashing the correct files to magisk..
But because I have to explain something without just assuming you're a modded that's already ready for the links
***********UPDATED AND MODIFIED GRAPHICS DRIVERS FOR SM8150 (SNAP855,A640)*****
Requirements (for SURFACE DUO, SNAPDRAGON 855 (aka **SM8150**), ADRENO 640)
Android 11/12
Rooted
Magisk installed
Fox's MMM (at least that's what I use to flash magisk files)
Optional (Aida64) this app is one of such that will display your driver version in the display tab
*****Step 1
So essentially after verifying with the Aida64 app that you have a Duo with an 855, and ADRENO 640...
************Step to 2
You simply need to head over to this site download the desired drivers
Click files and select an SM8150 driver*
adreno driver for sm8xxx/sm7xxx/sm6xxx
adreno driver magisk module for sm8150 or sm8xxx/sm7xxx/sm6xxx family running on R or newertested on sm8150 and sm8250WARNING : [email protected] has known crash issues when used with magiskWARNING: BLOBS HAS...
www.pling.com
Personal advice/info
*(I person highly recommended 530 as they have been reported essentially flawless and I can testify that even the very latest 530 mod posted that reports itself as being a fake Andreno 730 (this allowing more freedom in certain games that limit options based on hardware) nevertheless I am but a user who hasn't tried everything however I did beginning installing the stock v530 and confirming that after uninstalling with Foxs MMM that!y original 502; drivers safely returned prior to reaching for the recent December 530 fake a730 running ever so beautifully on my device currently *
*********Step 3
After downloading the desired SM8150 driver, use Fox's MMM and select install module from storage then reboot and confirm the updated driver version via AIDA64, that it!
**********DOME!
For more detail here are the original Sources I followed
Honestly this is the key source, where I obtained all the important stuff...which is a telegram channel
Adreno | Konabess support
You can view and join @adreno_konabess right away.
t.me
And I got them telegram link from this thread (of which has information I found ultimately irrelevant in the end but hey..)
Update Adreno GPU drivers Vulkan to latest v615 any Device: Drastically improve performance gaming.
4utech85.blogspot.com
Ummm here are some screenshots of my Duo getting a boost in score (feels bigger than that tho) and now reporting my Duo has a 730 in it lol ps no the drivers doesn't make the display small like mines I change the dpi myself via developer options to make use of the screen lol
@cqqx2
Hello. I have noticed that you created some duplicates of this thread. I'm sure there was a glitch in the matrix
So is this thread your go-to thread now?
Be so kind to let me know.
Cheers,
mrjuniork (Forum Mod)
mrjuniork said:
@cqqx2
Hello. I have noticed that you created some duplicates of this thread. I'm sure there was a glitch in the matrix
So is this thread your go-to thread now?
Be so kind to let me know.
Cheers,
mrjuniork (Forum Mod)
Click to expand...
Click to collapse
Yes this is the correct one
cqqx2 said:
Yes this is the correct one
Click to expand...
Click to collapse
Perfect. Thx for getting back to me.
Cheers

Categories

Resources