How To Guide Chrome: open desktop website version when device is unfolded - Xiaomi Mix Fold 2

Force Chrome (and other Chromium-based browsers) to open PC version of websites:
In Chrome versions pre 97 (versions 96 are earlier), you can set this up this way:
1) Go to chrome://flags
2) Find the flag "Request desktop site for tablets on Android".
3) Set this flag to "Enabled for 600dp+ screens"
4) Click the Reload button, chrome will become minimized. Force close it.
After these manipulations, the browser will load a full page when the screen is unfolded, and a mobile page when minimized.
Unfortunately, in version 97 there is a flag, but it does not work, and in later versions it is absent at all.
Would be really glad if anyone knows how to make it work on the most recent versions.

Just a suggestion, can't we install an older version like 96, and do this and then update it?
Realistically, you will only need to do this once...

OrionBG said:
Just a suggestion, can't we install an older version like 96, and do this and then update it?
Realistically, you will only need to do this once...
Click to expand...
Click to collapse
Unfortunately, it doesn't work this way, because the flag itself is missing in the later versions. The trick stops working after the update.

SLP27 said:
Unfortunately, it doesn't work this way, because the flag itself is missing in the later versions. The trick stops working after the update.
Click to expand...
Click to collapse
Oh, I see... Google...

Related

[Browser] Getting Flash to work on non-hero builds?????

Title says it all... I'm trying to get Flash working on regular 1.5 builds (like JF builds). It's not working at the moment so I hope you guys can help me.
Files that are related to get flash working:
SYSTEM -- LIB
libfl.so (registered as com/htc/flash/FlashLiteLib)
libflashlite.so
libflashsnddec.so
libwebcore.so ???
libdrmdec.so ???
libdrmdec_jni.so ???
SYSTEM -- APP
Browser.apk (which is using com.htc.framework, com.htc.android.pimlib)
and needs the following provider: browser.htc.util.HTCBrowserProvider
Browser.apk uses assets/plugins/flashplugin.so for flash, so we might build this into the older browser...
HTMLViewer.apk ??? (probably not)
SYSTEM -- FRAMEWORK
com.htc.resources.apk (not sure)
com.htc.android.easopen.jar (not sure)
com.htc.android.pimlib.jar (needed for browser)
com.htc.framework.jar (needed for browser)
com.scalado.util.ScaladoUtil.jar (probably not)
SYSTEM - ETC - PERMISSIONS
platform.xml
com.htc.framework.xml
You can get those files from http://forum.xda-developers.com/showthread.php?t=521059 the Haykuro ROM (browser.apk and HTMLviewer are in the apps_s zip file, other files in the rom itselve).
After copying all these files... it simply won't work. (Browser is not visible and after reboot it won't boot (no it's not broken, you are able to get into recovery)).
(libfl.so, libflashlite.so or libflashsnddec.so are hanging during boot... when removing these files, your system will boot again).
HTC added some multitouch features into the core framework, so you need their version of the framework jars too. I dexdumped their version of the browser and it looks like the code to actually turn on the flash plugin is pretty minimal (just a couple of settings), it can probably be reverse engineered.
On the bright side, this is probably pre-release code from Adobe. Which means something official is right around the corner.
cyanogen said:
HTC added some multitouch features into the core framework, so you need their version of the framework jars too. I dexdumped their version of the browser and it looks like the code to actually turn on the flash plugin is pretty minimal (just a couple of settings), it can probably be reverse engineered.
On the bright side, this is probably pre-release code from Adobe. Which means something official is right around the corner.
Click to expand...
Click to collapse
Hmm true... but I don't know if Adobe will release it for the G1, just like Opera which is also only releasing for HTC WinMo phones...
I thought it might be easy to get flash to work, since the browser is "plugin based", but if you put the flashplugin.so in /asset/plugins/ the browser doesn't load the plugin... And plugins also aren't loaded by the AndroidManifest.xml... So I really don't know how to get the plugin itselve to work in the Android1.5 browser.
What I am trying to do is only get the libfl.so, libflashlite and libflashdec in /system/lib/, and create a modified Browser.apk... so you don't need the htc framework at all... but I guess it isn't going to work like this.
02c5b6: 6e20 d302 3200 |0091: invoke-virtual {v2, v3}, Landroid/webkit/WebSettings;.setFlashPlayerEnabledZ)V // [email protected]
Is really all the browser does.
Sadly this method is only in the HTC modified framework. And there is quite a lot of flash-related code in there too.
Multi-touch ? I see that Browser doesn't have zoom feature. Does Hero support multi-touch ?
Hi Fun,
Yes in Hero,
Double tap to zoom.
funbacon said:
Multi-touch ? I see that Browser doesn't have zoom feature. Does Hero support multi-touch ?
Click to expand...
Click to collapse
in the current branch of (cupcake) code, the browser has a setting to set the plugin path via the database. if you get that working, you should be able to drop plugins into a folder and have them work.
blackeyedbrian said:
in the current branch of (cupcake) code, the browser has a setting to set the plugin path via the database. if you get that working, you should be able to drop plugins into a folder and have them work.
Click to expand...
Click to collapse
It looks like they hard-coded a bunch of other stuff into android.webkit.WebView and WebViewCore do to the flash: URL handling, so it's not just a simple drop-in plugin.
I have a 1g card and can't afford a cars suitable for a2sd. So I won't be running Hero until after I find a damn job, so hopefully someone figures this out. I really want flash.
Makes me wonder if Adobe will release Flash for Android... since it's hardcoded in the HTC framework and Android I think it will be HTC (new ROM's) only.
So the only easy thing to do is strip the Hero build to a regular Android build but leave the browser alone? (Since I've no experience to reverse engineer this) But the ROM is far from clean then... (you will have the full HTC framework which you won't use).
I highly suggest that everyone not put framework.jar from the HTC Hero...I did and it caused a boot loop...
Get flash to work on hero first.. its subpar atm.
Does hero rom even support flash? i see the app but any site i have gone to with flash i just see a flash plugin error
pentace said:
Does hero rom even support flash? i see the app but any site i have gone to with flash i just see a flash plugin error
Click to expand...
Click to collapse
flash8 is supported, flash9 is not.
thelamacmdr said:
I highly suggest that everyone not put framework.jar from the HTC Hero...I did and it caused a boot loop...
Click to expand...
Click to collapse
Here's a thought. What rom did you attempt this on? Perhaps you will see better results if you try to bring the necessary hero framework/libs over to an HTC baised build such as 6.0H or Rogers.
That might be why.. I was using a Google Ion Rom which if I know what you're saying...has a different framework.jar file in it than HTC Roms..
Hmm, so is the flash currently on the phone even practical? I mean, I can't even get the full YouTube site to work and watch videos on it, it just opens up the Flash window and stays black.
I had tried this on google ion rom, but failed. I think we can get the FlashPlayer to work first. It need a HTC FilePicker. But I am not sure what FilePicker need for native lib(.so).
I tried to do this by adb logcat.
SolemnWishing said:
Hmm, so is the flash currently on the phone even practical? I mean, I can't even get the full YouTube site to work and watch videos on it, it just opens up the Flash window and stays black.
Click to expand...
Click to collapse
it is practical, not for youtube, for youtube external app is better, or it need big screen, I use opera 9.5 and flash lite 3.1 on my ipaq 214, it have big 4" vga screen so it look nice when playing youtube on youtube web site, it is more practical for sites which are using flash, for example flash galeries, flash menus, etc. I'm not sure that adobe will release flash for g1, unfortunatly android allowe only java apps and flash need deeper integration (on lib level) so it cant be in .apk it must be released as update for os, if google will decide to include in future updates like donut (android 2.0) then we will get it...
Flash ads work fine, especially the ones here at xda. Caught me by suprise when i was browsing from my phone lol.
I went to worldstarhiphop.com and clicked on one of the videos there. The player popped up with the lil flash smoke effect. I was able to click play but the vid never started. I thought maybe it was because i was on edge.

Google Maps crashing my Touch Pro

Help. I tried to upgrade to latest Google Maps on my TP. First I tried removing the older version with the "remove programs" function. It seemed to remove ok. Then I tried to download the newest version. It downloaded but had problems loading. When I finally loaded it, it freezes my TP each time I try to use it. I have to soft reset. I can't even remove this version or copy a new version over it.
Any ideas?
are you sure you can't re-install it?
Try downloading the cab again and then re-installing it. What error are you getting that won't allow u to re-install?
I've tried a few times. I tried downloading to my laptop, then to the TP and also direct download onto TP. Everytime, (either way) it causes TP to freeze. For direct download method I've used both Opera and IE. When I have finally gotten Google Maps (GM) to load, it freezes my TP when I try to launch it.
I have also tried deleting all instances of GM in registry and using file explorer, but the end result is the same.
I was running version 3.0.x of GM and it was slow but worked ok.
The only other recent change is that Windows Live Search changed over to Bing.
Is it possible Bing is blocking Google?
Joe_PDA said:
I've tried a few times. I tried downloading to my laptop, then to the TP and also direct download onto TP. Everytime, (either way) it causes TP to freeze. For direct download method I've used both Opera and IE. When I have finally gotten Google Maps (GM) to load, it freezes my TP when I try to launch it.
I have also tried deleting all instances of GM in registry and using file explorer, but the end result is the same.
I was running version 3.0.x of GM and it was slow but worked ok.
The only other recent change is that Windows Live Search changed over to Bing.
Is it possible Bing is blocking Google?
Click to expand...
Click to collapse
Bing would have no affect on GM.
I would suggest making sure you have a good internet and GPS signal as it may be trying to access your comm ports on startup.
Also, how are your system resources? Do you have enough to run it?
Not sure if you're on a stock or cooked ROM, etc. but too many flashes w/o flashing back to stock can cause strange anomalies as well.
Bruce,
I'm not sure about the exact signal, but this seems to be failing at points before program starts up. The old version worked ok. Would deleting the program and its settings file cause any issues?
As for Roms, I am using original ROM version: 1.94.710.2 WWE
and radio version: 1.02.25.19
Does the newest version of GMaps have any issue with these?
As for resources, I have about 240mb free - storage
and 120mb free - Program
when I am trying to use or load GM.
Maybe this version is conflicting with something on my TP?
Where can I get a slightly earlier release of GM than this newest version?
I thought I had an earlier version but I only have the OEM package.
If you google it you can find earlier versions.
You might want to try flashing a newer version of your stock ROM if its available to rule out any software conflicts.
I have absolutely no issues with GM.
Well At least Google Maps is only Crashing your Touch Pro instead of your Car.
Jimmy,
Give it a chance. I'm sure with some tweaks, GM can have me driving off bridges in no time.
Now I have another problem that may be related.
When I use Bing, if I try to update Categories, I get an error message that says
can't update categories please check network connection. I have access.
Everything else about Bing seems to work.
Any ideas here?
Joe_PDA said:
Now I have another problem that may be related.
When I use Bing, if I try to update Categories, I get an error message that says
can't update categories please check network connection. I have access.
Everything else about Bing seems to work.
Any ideas here?
Click to expand...
Click to collapse
Have you cleared your proxy and verified your connection settings?
I can't update categories or collections. Bing keeps asking me to check my network connections. I did and they seem ok. I haven't changed them and can connect to internet.
What am I missing?
Problem solved!!
On a MS forum, I received the solution that fixed my Bing problem. All I had to do was delete the cache files for Bing (Bing and Live Search). Once I did that, Bing was back in the lineup.
Thanks to those that helped me with this frustrating problem.

Chrome Beta

Works great on CM9! Browser sync works across devices, tested it.. however, it FCs when I go to Settings.
Unfortunately, ICS only. Also had to change country to USA and use a proxy to get it from the Market. Otherwise, no problems!
https://market.android.com/details?id=com.android.chrome
who needs chrome when its running only on ICS and there's Opera?
Shame on google.
DroidTalk said:
who needs chrome when its running only on ICS and there's Opera?
Shame on google.
Click to expand...
Click to collapse
Shame on Google for what? For choosing to release an app only to a selected version of Android? It's not like you lost anything, you still have the stock browser, and as you said, Opera.
Anyone who links to an APK makes my day!
(It's not available in Sweden, so I'll have to sideload it)
Update: Nevermind, Google+ search was faster.
Grab it while it's hot: http://db.tt/mXhhmr4R
Anyone found out how to fix FC when tap on Settings?
speed good ؟
Change your LCD density to 120 and settings will work. Do what you need and change back to desired density.
works chrome in my tablet? i have gingerbeard vers.
CrazyJones said:
works chrome in my tablet? i have gingerbeard vers.
Click to expand...
Click to collapse
To my knowledge, Chrome Beta is ICS-only. If you can somehow spoof your Android version (no idea if that's even possible), then you might be able to run it, otherwise, you'll need an ICS-based ROM (such as icedBOCA, CM9, etc)
Error after updating Chrome Beta app
After updating Chrome Beta it now crashes on startup with message that it is not supported for my version of Android and that Version 4.0 ICS is the minimum supported version.
I am running ICS and first version worked fine. I saw in another thread that the ro.build.id in build.prop could be changed to IML74K for the Samsung i9000. It worked for my i9000.
Not sure if this, or similar, would work for P1000?
*update* build.prop update did work.

Has anyone tried the Chrome Beta apk with MeDroid?

I installed a Chrome Beta apk I got from some of the other forums here at XDA, but I seem to be getting FCs every time I launch the app, was wondering if anyone got it working or if anyone has found a fix for this issue.
It requires hw acceleration. Won't work for us yet until we get that achieved.
Sent from my Nexus One using xda premium
That makes sense, I did manage to download an apk that does not FC every time, but I can't really says it's usable.
Here's hoping the CM9 team or some other dev manages to make it work someday.
ryuz4ki said:
That makes sense, I did manage to download an apk that does not FC every time, but I can't really says it's usable.
Here's hoping the CM9 team or some other dev manages to make it work someday.
Click to expand...
Click to collapse
I got it directly from the market and it loads but all pages are blank.
Sent from my Nexus One using xda premium
I can't download it from the market since I don't live in the US, but I get the same results as you, it loads but all pages are blank, and I can see the synced results on the omnibox but no page returns.
I have it installed. No FC's, but it doesn't work. As stated, it needs hardware acceleration. It went through the entire setup, sign in, and import of all normal information. But when you try to load anything, you stare at a blank screen.
have u try texasice' ROM, igoogle chrome beta work great with ICS AOSP
For anyone wanting latest Chrome beta without modifying build.prop, go here:
http://forum.xda-developers.com/showthread.php?t=1515900
I flash the "MeDroidMOD 1.4.0 HWA" ROM that can run chrome browser,but it can't switch tab.So my chrome browser has many tabs and can't close it.
Have any one know to solve it?
s2170801 said:
I flash the "MeDroidMOD 1.4.0 HWA" ROM that can run chrome browser,but it can't switch tab.So my chrome browser has many tabs and can't close it.
Have any one know to solve it?
Click to expand...
Click to collapse
Update to 1.4.2 fixes Chrome beta so you may want to give it a go.
I tryied once downloaded from dropbox and it works fine but a little slow
I tryied once downloaded from dropbox and it works fine but a little slow

Chromium for Snapdragon devices

http://caf.notphenom.com/
For those who haven't tried it yet I find it works quite well.
v46, sync, night mode, ad-blocker built in
I am using it now. I love it. This will probably replace chrome and ghostery as my main browser. Thanks.
@mokash34 Please post the DL link cause I can't find it.
sent from Hell
Nikola Jovanovic said:
@mokash34 Please post the DL link cause I can't find it.
sent from Hell
Click to expand...
Click to collapse
It's there, near the bottom of the "comments" is a working link, and it says it's the M42 build. One major drawback I'm noticing is nothing "Syncs", no bookmarks, nothing. And yes, I'm signed into my Google account, it should be syncing everything?
Nikola Jovanovic said:
@mokash34 Please post the DL link cause I can't find it.
sent from Hell
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=org.codeaurora.swe.browser.dev
mokash34 said:
https://play.google.com/store/apps/details?id=org.codeaurora.swe.browser.dev
Click to expand...
Click to collapse
This build is based on the newest build files (46) so it should be the most stable build tho it lacks ad-blocker (work in progress).
The build I'm using is based on build 42 files. The upside is it does include the built-in ad blocker and it does that very well, removing the ad and ad-frame. The night mode is integrated nicely in these CAF builds as well (I think it'd be even better if they inverted the app/navbar as well as the page but really it does a good job.
Link to a build identical to the one I'm using..
https://play.google.com/store/apps/details?id=com.ineedyourservice.RBrowser&hl=en
Also link to chromium icon to replace the fugly one that comes with this build
http://icons.iconarchive.com/icons/cornmanthe3rd/plex/512/Internet-chromium-icon.png
psu2fan said:
This build is based on the newest build files (46) so it should be the most stable build tho it lacks ad-blocker (work in progress).
The build I'm using is based on build 42 files. The upside is it does include the built-in ad blocker and it does that very well, removing the ad and ad-frame. The night mode is integrated nicely in these CAF builds as well (I think it'd be even better if they inverted the app/navbar as well as the page but really it does a good job.
Link to a build identical to the one I'm using..
https://play.google.com/store/apps/details?id=com.ineedyourservice.RBrowser&hl=en
Also link to chromium icon to replace the fugly one that comes with this build
http://icons.iconarchive.com/icons/cornmanthe3rd/plex/512/Internet-chromium-icon.png
Click to expand...
Click to collapse
None of the build 42 based browsers will "sync" at my end. The only one that syncs is the "CAF Chromium" posted by mokash34 above (build 46?). If they won't sync all your data they're not of much use, to me. Sync is far more important than ad blocking.
Muskoka said:
None of the build 42 based browsers will "sync" at my end. The only one that syncs is the "CAF Chromium" posted by mokash34 above (build 46?). If they won't sync all your data they're not of much use, to me. Sync is far more important than ad blocking.
Click to expand...
Click to collapse
Yes I noticed that as well, tho ad-blocking is of more use to me. I'll be upgrading to version 46 as soon as they get the ad-blocking in place
psu2fan said:
Yes I noticed that as well, tho ad-blocking is of more use to me. I'll be upgrading to version 46 as soon as they get the ad-blocking in place
Click to expand...
Click to collapse
Ok, thanks, thought it might have been a problem at my end. The funny thing is, the build 42 based browsers let me "sign in" and show that I'm signed in, but will not sync. The build 46 browser has the "sign in" link, which I do, but it continues to show the "sign in" link after signing in, but it syncs everything just fine, strange.
so today the CAF chromium builds looks this way (all are build upon code aurora source):
SWE Browser
(rbrowser on google play) from @magic_man THREAD HERE
V42-2015-10-25
supports immersive mode (fullscreen) and ad-block, no google sync
CAF Chromium
from @jswarts http://caf.notphenom.com/, THREAD HERE
V46-2015-11-15
ad-block, google sync
CAF Chromium
from @VadimTk THREAD HERE
V46-2015-11-19
ad-block, google sync
the last two have same name and icon, so its a pain to keep in mind which one am I using
I need google sync, but i like the immersive mode...so i will keep an eye on those three.
just posted new build
https://www.androidfilehost.com/?fid=24269982087012282
@VadimTk if you make a thread and will provide us with new builds and changelog it will be awesome. the only thingsni am looking fir is snapdragon optimised browser, with google sync and immersive fullscreen mode.
?
http://caf.notphenom.com/
v46, sync, easy download
psu2fan said:
http://caf.notphenom.com/
v46, sync, easy download
Click to expand...
Click to collapse
Browser randomly freezes both on my idol 3 and nexus 6
I'd have to swipe it off recents then open the browser again
Anyone else having this issue on the newest build v46
Tried it on CM 12.1 6045Y OC Kernel, sometimes it's unstable and most of the time it doesn't perform as well as my other browsers.
ElliSkyline said:
Browser randomly freezes both on my idol 3 and nexus 6
I'd have to swipe it off recents then open the browser again
Anyone else having this issue on the newest build v46
Click to expand...
Click to collapse
What build are you using? I have 46.0.2490.265 (Updated Dec 1, 2015)
psu2fan said:
What build are you using? I have 46.0.2490.265 (Updated Dec 1, 2015)
Click to expand...
Click to collapse
I'm on 46.0.2490.188
That's the one I downloaded from the link on your post 99 link
Is there a newer build than that post?
When I download the apk this is what I gets
swe-browser-20151219.apk
it's strange that you have an older build number, they must have found too much instability in the one I downloaded and replaced it with the one you have. My SD card isn't being recognized but I'll see if I can recover the apk

Categories

Resources