In Progress Searching in browser sends me to Google homepage

Discussion in 'Bugs' started by Androyed, Jun 8, 2012.

  1. Androyed

    AndroyedMembers

    Jun 18, 2011
    21
    0
    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.
     
  2. Pa3cello

    Pa3celloMembers

    Feb 14, 2012
    8
    1
    13
    Male
    Same here... in 2.6.1 release too (full wipe, restored miui backup)
     
  3. iBotPeaches

    iBotPeachesScript Gatekeeper

    Oct 31, 2011
    3,811
    1,115
    335
    Kansas
    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.
     
  4. vengador

    vengadorMembers

    Apr 6, 2012
    5
    0
    11
    Male
    Unfortunately this problem is still permanent in 2.6.15. Any news how to fix it?
    BR, Vengador
     
  5. Il Pres

    Il PresMembers

    May 11, 2012
    14
    1
    13
    Male
    +1 on sg2... Please fix
     
  6. boxcarracer81

    Mar 20, 2012
    551
    63
    75
    Male
    the Netherlands
    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) :)
     

    Attached Files:

  7. Il Pres

    Il PresMembers

    May 11, 2012
    14
    1
    13
    Male
    That fixed it... thanks... Please MIUI include this in the future release!
     
  8. vengador

    vengadorMembers

    Apr 6, 2012
    5
    0
    11
    Male
    Thanks, worked like a charme!
     
  9. slifin

    slifinMembers

    Jun 28, 2011
    5
    0
    11
    -- double post, please delete this post--
     
  10. slifin

    slifinMembers

    Jun 28, 2011
    5
    0
    11
    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
     
  11. iBotPeaches

    iBotPeachesScript Gatekeeper

    Oct 31, 2011
    3,811
    1,115
    335
    Kansas
    iAmGhost made that fix. I could of sworn I merged that fix in. I will double check for this week.
     
  12. MasterTB

    MasterTBMembers

    Mar 20, 2012
    328
    49
    60
    Male
    Lawyer, PC enthusiast, Adroid Fan
    ParanĂ¡, Argentina
    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.
     
  13. 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!
     
  14. boxcarracer81

    Mar 20, 2012
    551
    63
    75
    Male
    the Netherlands
    @ James: have you flashed it in recovery after wiping cache and dalvik?
     
  15. Yep, no joy. Awful lot of faffing around for such a basic feature.
     
  16. tegezan

    tegezanMembers

    Jun 27, 2011
    42
    1
    18
    same issue htc sensation 29 June build.. :(
     
  17. tegezan

    tegezanMembers

    Jun 27, 2011
    42
    1
    18
    same issue htc sensation 29 June build.. :(
     
  18. bitti09

    bitti09Members

    Jun 23, 2012
    43
    5
    18
    Male
    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
     
    daica and James Walsh like this.
  19. iBotPeaches

    iBotPeachesScript Gatekeeper

    Oct 31, 2011
    3,811
    1,115
    335
    Kansas
    It may be just one escaped & like &amp;

    I don't know though. Let me know of the tests.
     
  20. bitti09

    bitti09Members

    Jun 23, 2012
    43
    5
    18
    Male
    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
     
  21. How is it possible to fix it directly on the phone?

    Motorola RAZR with Tapatalk
     
  22. Thanks for looking into this! Will a fix be a flash-able extra, or can we expect it in a future weekly build?
     
  23. bitti09

    bitti09Members

    Jun 23, 2012
    43
    5
    18
    Male
    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.
     
  24. Either way, It's great to know progress has been made! thanks for your hard work.
     

Share Our Site