[APP-HACK][SENSE] No text reflow on pinch-to-zoom in browser

Search This thread

snq-

Retired Recognized Developer
Aug 13, 2010
581
853
hate the text reflow on pinch-to-zoom in the htc stock browser?
found the hidden setting (about:debug, menu - more - settings - enable gep zoom), but it doesn't persist across reboots / full browser restarts?
this hack is for you

changes:
  • setting persists, you don't have to always go into debug mode to re-enable it
  • browser defaults to no reflow
  • double-tap-to-zoom is unaffected by this

requirements:
  • htc sense based desire (froyo) rom
  • deodexed framework libs/system apps

how to install:
  • please make sure your device/setup meets the requirements above
  • check your framework build number (settings >> about phone >> software information >> build number)
  • download the archive (zip) that matches your build number
  • copy it to your sdcard and flash it in recovery mode (as always, it is advisable to do a nandroid backup prior flashing)


enjoy


--
...for now, only for 2.10.405.2:
fx-2.10.405.2_browser-ptznoreflow.zip
 
Last edited:

snq-

Retired Recognized Developer
Aug 13, 2010
581
853

thanks to chris2busy for
  • calling my attention to this issue
  • googling out the half-working workaround
  • making my job as easy as it possibly could be by providing useful feedback

thanks to pingpongboss for the video


--
smali diff:
 

Attachments

  • fx-2.10.405.2_browser-ptznoreflow.patch.7z
    1.1 KB · Views: 179
Last edited:

ktchana

Member
Aug 17, 2008
21
1
Nice work!
Have been looking for this for a long time since I hate the text reflow in the browser that cause the position of the web page shift unexpectedly after zoom in.

Would like to know if it is possible to make a generic patch for all rom version?
Thanks!
 

snq-

Retired Recognized Developer
Aug 13, 2010
581
853
Would like to know if it is possible to make a generic patch for all rom version?

i haven't looked if there are differences in the code of the browser across froyo builds yet, but even if there were, modifiying the patch in the second post shoudn't be a problem

i'm off to germany today, should be back on thursday - i'll look into it then
 

pingpongboss

Senior Member
Apr 7, 2010
517
302
34
San Jose
Whao! I was wondering why my Youtube video count went up suddenly.

Thanks for the embed snq :) I'm sure a lot of people will appreciate your mod (I don't have an Evo anymore so I can't try for myself unfortunately)
 

chris2busy

Senior Member
Apr 24, 2010
1,121
56
I`ll got FC on internet bowser ,even browser not started et all

I see in your signature that your are using OD , which is an AOSP rom , not with HTC SENSE...why would you try a htc sense hack on a rom that has no htc sense ,beats me..Its normal to get trouble.

If you manage to get a browser session up type in the adress bar
"about:debug" without the quotes and enter it.
then try going to settings and find in the new options menu Enable GEP zoom..
Tell us if unticking this makes any difference..

I strongly advise you read before you flash anything..
 

hensk

Senior Member
Aug 11, 2006
1,485
158
59
Skopje
Iwasant see that hack is for sence ROM,only
but Nandrid & all is back..hire all is experimental,or I`m wrong
 

jxr94

Senior Member
Jun 15, 2010
1,499
233
Does this work with the Evo, specifically Fresh 3.3 which is a sense froyo rom?
 

snq-

Retired Recognized Developer
Aug 13, 2010
581
853
Dragooon123 said:
I don't get it, when I used OpenDesire which is without Sense i still got pinch-to-zoom text reflow
i assume it's because od is cyanogenmod based, and cm has this feature

hensk said:
I`ll got FC on internet bowser ,even browser not started et all (OpenDesire v4.0.30)
as chris2busy pointed out this is for sense only

chtamina said:
before flashing may I ask you about the differences between patch from the fist post and the second one?
the second one is for devs only who are interested in porting this

harmine said:
How can I use this patch please ?
flash the zip in recovery mode

i correctly flashed this file TWO times and it doesn't remember the setting between reboot, any idea?
i guess you're using an odexed rom

jxr94 said:
Does this work with the Evo, specifically Fresh 3.3
i wouldn't mix desire system apps and evo framework libs
it should be easy to port though
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    hate the text reflow on pinch-to-zoom in the htc stock browser?
    found the hidden setting (about:debug, menu - more - settings - enable gep zoom), but it doesn't persist across reboots / full browser restarts?
    this hack is for you

    changes:
    • setting persists, you don't have to always go into debug mode to re-enable it
    • browser defaults to no reflow
    • double-tap-to-zoom is unaffected by this

    requirements:
    • htc sense based desire (froyo) rom
    • deodexed framework libs/system apps

    how to install:
    • please make sure your device/setup meets the requirements above
    • check your framework build number (settings >> about phone >> software information >> build number)
    • download the archive (zip) that matches your build number
    • copy it to your sdcard and flash it in recovery mode (as always, it is advisable to do a nandroid backup prior flashing)


    enjoy


    --
    ...for now, only for 2.10.405.2:
    fx-2.10.405.2_browser-ptznoreflow.zip
    2

    thanks to chris2busy for
    • calling my attention to this issue
    • googling out the half-working workaround
    • making my job as easy as it possibly could be by providing useful feedback

    thanks to pingpongboss for the video


    --
    smali diff:
    1
    hi snq,

    I do love this patch!

    could you give us a new one for Desire HD ROMs ?
    or give us a brief instruction to modify it ?

    thank you