Results 1 to 20 of 20

[ROM-FIX] Fixed Policy Library (Firefox now works!)

This is a discussion on [ROM-FIX] Fixed Policy Library (Firefox now works!) within the Meizu MX Rooting & Modding forums, part of the Meizu MX category; Most of you guys probably know the problem... Meizu fucked up the Google Android Framework, creating a whole bunch of ...

  1. #1
    Member
    Join Date
    Sep 2012
    Location
    ლ(ಠ益ಠლ)
    Posts
    187
    Thanks
    4
    Thanked 44 Times in 12 Posts

    [ROM-FIX] Fixed Policy Library & Small Status Bar Mod

    Most of you guys probably know the problem... Meizu fucked up the Google Android Framework, creating a whole bunch of bugs... and crashes.

    So far it was impossible for Meizu M9 / MX users to use Firefox as their main browser because the Settings Button was broken... resulting in a crash when pressed.

    I was curious why this was so and started investigating...

    A long story short... Meizu modified the android.policy Library to support their MX light keys (to be more accurate, they added some code so that when a menu is available... the light keys show three dots "...").

    The problem is... they forgot to check for a possible null-Reference... which was the source of our problems.

    Long story short, I've deodexed the android.policy.odex file, disassembled it, fixed the problem (adding a null check in the code), reassembled it and odexed it again.

    And because I'm a nice guy, I've bundled it into a update.zip so that you HK users can just flash it on top of your 1.1.5 FlyMe (don't wipe data when doing so).

    After installing this update Firefox Mobile and a lot of other apps that used to crash will now start working properly.

    Greetings, Coldbird.

    PS. kedros, if you are so kind, can you please include my fix in your pre-rooted rom? Thank you very much in advance.

    EDIT: Updated with a Small-Status-Bar Modification for those who want it! Check attachment for installation files.

    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Robert Damian; 12-02-2012 at 05:52 PM.

  2. 13 members have thanked Robert Damian:

    + Show/Hide list of the thanked


  3. #2
    Administrator
    Join Date
    Mar 2007
    Location
    Budapest, Hungary
    Posts
    4,853
    Thanks
    262
    Thanked 1,140 Times in 438 Posts
    I'll make sure the engineers see this! Thanks a lot, good job!

  4. #3
    jmu
    jmu nincs online
    Passing By
    Join Date
    Oct 2010
    Posts
    2
    Thanks
    0
    Thanked 1 Time in 1 Post
    good job!

  5. #4
    Administrator
    Join Date
    Apr 2007
    Posts
    1,042
    Thanks
    11
    Thanked 112 Times in 94 Posts

  6. #5
    Member
    Join Date
    Sep 2012
    Location
    ლ(ಠ益ಠლ)
    Posts
    187
    Thanks
    4
    Thanked 44 Times in 12 Posts

    Re: [ROM-FIX] Fixed Policy Library (Firefox now works!)

    Why famous? As I can't read Chinese I don't really know what's going on there to be honest.

  7. #6
    Administrator
    Join Date
    Apr 2007
    Posts
    1,042
    Thanks
    11
    Thanked 112 Times in 94 Posts
    Sorry, was just trying to be a little humorous.

    A rather senior forum member (6400+ posts, registered 2003) saw your post on the Meizu English-language forum and re-posted it on the China BBS. A couple of other fans had a go at translating it, although one is machine-translated apparently. So far you've gotten some "support" and -even better- a couple of "cow vaginas" (niubi...means "cool").

  8. #7
    Member
    Join Date
    Sep 2012
    Location
    ლ(ಠ益ಠლ)
    Posts
    187
    Thanks
    4
    Thanked 44 Times in 12 Posts
    *sarcasm mode on*
    Cow vaginas? Awesome!
    That's exactly what I was after.
    *sarcasm mode off*

    As long as it makes people happy and the Meizu brand phones a bit more fun to use its okay.
    I plan to cook my own FlyMe 1.1.5 based ROM in the near future containing a whole bunch of FlyMe fixes...

    Meizu really did a horrible job at some parts.
    But honestly, I just want some stuff done and the chance that Meizu does it is slim...

    1. Bring back the Keyboard Switcher Button
    2. Enable Developer Options + App Control by default (no dialer bullshit)
    3. Pre-rooted obviously
    4. Busyboxed out of the box
    5. Working Calendar (I think this will be the biggest one out of these...)
    6. Always-slim top Drawer (I just don't like the big one, its eating space without serving any real purpose...)
    7. Configurable Default Browser
    8. Configurable Default Applications (what has been done in another topic already... but in a horrible way... (hexediting odex files? comeon... just recompile them!) )
    9. Root Permission ADB-D

  9. #8
    Passing By
    Join Date
    Nov 2012
    Location
    Germany, Lake of Constance
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Great work! I am just waiting for stock notification icons showing in the status bar. Maybe it will come with flyme 2. Hopefully we don't have to wait until next year.

  10. #9
    Member
    Join Date
    May 2012
    Location
    Corunha, Spain
    Posts
    259
    Thanks
    28
    Thanked 13 Times in 13 Posts
    Just updated to Flyme 1.1.6 (HK) and the problem persists. So, I applied your update again and now it doesn't boot, staying in the M logo...

  11. #10
    Member
    Join Date
    Sep 2012
    Location
    ლ(ಠ益ಠლ)
    Posts
    187
    Thanks
    4
    Thanked 44 Times in 12 Posts
    Quote Originally Posted by CelticWarrior View Post
    Just updated to Flyme 1.1.6 (HK) and the problem persists. So, I applied your update again and now it doesn't boot, staying in the M logo...
    Well it was made for 1.1.5...

    I will need to fully disassemble 1.1.6 first and fix it, then reassemble.

    Im surprised Meizu ignored the fix - again - even though I posted what the problem was over at the official Meizu forums... very disappointing.

  12. #11
    Member
    Join Date
    May 2012
    Location
    Corunha, Spain
    Posts
    259
    Thanks
    28
    Thanked 13 Times in 13 Posts
    Do you have any suggestion meanwhile? I tried to apply the update again this time selecting clear dat and it doesn't boot anyway. Reflashing 1.1.6 probably will do it but I have no way to copy the update file now.

  13. #12
    Member
    Join Date
    Sep 2012
    Location
    ლ(ಠ益ಠლ)
    Posts
    187
    Thanks
    4
    Thanked 44 Times in 12 Posts

    Re: [ROM-FIX] Fixed Policy Library (Firefox now works!)

    You can copy the update file in recovery mode (it auto enables usb).

  14. #13
    Member
    Join Date
    May 2012
    Location
    Corunha, Spain
    Posts
    259
    Thanks
    28
    Thanked 13 Times in 13 Posts
    Thanks. Solved .

    Looking forward for your new update compatible with Flyme 1.1.6.
    Thanks a lot for your great work. I hope this time Meizu engineers actually listen to you. Meanwhile it might be wise to warn users of potential (and real) risks of applying such update to any Flyme version other than 1.1.5.

  15. #14
    Member
    Join Date
    Dec 2011
    Posts
    105
    Thanks
    7
    Thanked 7 Times in 7 Posts
    Big thanks for your hard work on this and also I'm one more person waiting for 1.1.6 compatibility ! All my support, Robert. Hope mz gives you some attention this time!

    -sam

  16. #15
    Lurker
    Join Date
    Jan 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Tell me please, how to install that?

  17. #16
    Member
    Join Date
    Sep 2012
    Location
    ლ(ಠ益ಠლ)
    Posts
    187
    Thanks
    4
    Thanked 44 Times in 12 Posts

    Re: [ROM-FIX] Fixed Policy Library (Firefox now works!)

    The same way you install a firmware update.

  18. #17
    Passing By
    Join Date
    Dec 2012
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    can you update small status bar for 1.1.7 or does it include in your rom ?

  19. #18
    Member
    Join Date
    Sep 2012
    Location
    ლ(ಠ益ಠლ)
    Posts
    187
    Thanks
    4
    Thanked 44 Times in 12 Posts
    Its not included but I would love to update it for 1.1.7.
    The only problem I've got is time... I don't have it.

  20. #19
    Passing By
    Join Date
    Dec 2012
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Don't worry.

    I have compare the date modification of systemUI between 1.1.6 and 1.1.7 rom and both have the same date edit.
    According to the changes bringing between the two rom, there is only some kernel adjustment for battery.
    So I have decompile your coldrom put your fix re-compile it and all work like a charm.
    I have find a way for the status bar transparent just rename status_bar_opr (which is the backround for the lock screen status bar) in small status bar and thats work, and when in app the status bar is black not transparent, so cool.
    Now I have to see If I can remove the don't needed xml files.

    If you want that I upload your rom with the fix I can. I can provide deodex rom. I have contact kedros if we can continue rom traduction, I wait for a reply.

    Thanks a lot for your work.

  21. #20
    Passing By
    Join Date
    Sep 2012
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts
    mines not working... after update..

    using 1.1.5

    flashed update.zip first and later renamed policy_and_smallbar.zip to update.zip and flashed again...
    currently sees a smaller toolbar.. (thanks.) however when i installed firefox and press the menu button.. firefox still crashes.

    holding on to mx32

 

 

Similar Threads

  1. Meizu firmware policy
    By scotchmuffin in forum Meizu M9
    Replies: 2
    Last Post: 03-12-2011, 09:29 AM
  2. mobile firefox ?
    By 5nickers in forum M8 Applications
    Replies: 5
    Last Post: 01-31-2010, 05:33 PM
  3. About firefox 3.6 beta
    By lynxeyed in forum M8 Applications
    Replies: 1
    Last Post: 10-30-2009, 06:30 PM
  4. Meizu Repair/Replace Policy
    By cybermessiah in forum General Meizu M8
    Replies: 6
    Last Post: 09-06-2009, 09:51 AM
  5. Tabs in Firefox
    By crimson05 in forum General Chat
    Replies: 3
    Last Post: 06-20-2009, 07:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •