In Progress Searching in browser sends me to Google homepage


Androyed

Members
Jun 18, 2011
21
11
I'm using 2.6.8 on my Nexus S.

I've set the search engine to Google, but when I try to search in the browser it just sends me to the Google homepage.
 
When I do this, it defaults to the baidu search engine. Which we can fix to re-set the default back to Google. They must of changed some formatting around in one of the raw files. Will work on getting this fixed.
 
Unfortunately this problem is still permanent in 2.6.15. Any news how to fix it?
BR, Vengador
 
This worked for me on 2.6.8, perhaps it works on 2.6.16 as well. I didn't create this fix, it came from this forum (can't remember who posted it, but the credits go to OP) :)
 

Attachments

  • miuiandroid-multi-2.6.8-browserfix_Signed.zip
    1.5 MB · Views: 493
flashing that .zip in recovery hasn't fixed the problem for me in: 2.6.22 I did a upgrade from a version a couple of weeks ago and just wiped diverk cache instead of data too don't know if that makes a difference

I notice on stock ICS there's a browser that looks like the chrome UI has flash support but also has live tab sync is there a version of that I can use? chrome beta doesn't have flash and the inbuilt browser doesn't have the chrome features/speed/tab sync etc
 
iAmGhost made that fix. I could of sworn I merged that fix in. I will double check for this week.
 
MIUI screwed the browser bad. Not only we have this problem but they also removed the ability to download or save a page for offline reading, which was very useful.
Someone should give them a call and tell them about this... I like the ICS browser a lot more than this one. I'm going to start using Opera on my phone too if this keeps up.
 
I've just installed the latest htc one x rom and this is still an issue. Flashing the above fix did nothing for me either. This is my only massive gripe with miui really. Keep up the good work!
 
i think the error is in the /values/arrays.xml file:
Code:
<string-array name="google">
        <item>Google</item>
        <item>google.com</item>
        <item>http://www.google.com/favicon.ico</item>
        <item>http://www.google.com/search?hl={language}&amp;ie={inputEncoding}&amp;source=android-browser&amp;q={searchTerms}</item>
        <item>UTF-8</item>
        <item>http://www.google.com/complete/search?hl={language}&amp;client=android&amp;q={searchTerms}</item>
    </string-array>
when i manually copy http://www.google.com/search?hl={la...mp;source=android-browser&amp;q={searchTerms} into a browser i also get a empty Google search
I think instead of &amp; should be a & only
Code:
http://www.google.com/search?hl={language}&ie={inputEncoding}&source=android-browser&q={searchTerms}
This url gives me a search for {searchTerms}

Edit: i will test it on my german translation when i'm back from work
 
It may be just one escaped & like &amp;

I don't know though. Let me know of the tests.
 
I think after some trys, the apktool changes on decompiling the Brwoser.apk every &amp; to a &amp;amp; and longer.

When I've cutted it down to &amp; before recompile, i get the right search result site instead of the old blank google site.

The fixed arrays.xml is now in the german lang repo
 
I think after some trys, the apktool changes on decompiling the Brwoser.apk every &amp; to a &amp;amp; and longer.

When I've cutted it down to &amp; before recompile, i get the right search result site instead of the old blank google site.

The fixed arrays.xml is now in the german lang repo
How is it possible to fix it directly on the phone?

Motorola RAZR with Tapatalk
 
Thanks for looking into this! Will a fix be a flash-able extra, or can we expect it in a future weekly build?
 
I don't know if ibotpeaches has used my fix in the today build.
If not it will only be in the next MULTI Build on Sunday in the German language.