iPhone OpenNotifier iOS7 and iOS8: Unofficial Version

Discussion in 'Jailbreaks and iOS Hacks' started by tateu, Feb 2, 2014.

  1. tateu, Feb 2, 2014
    Last edited: Nov 19, 2014

    tateu macrumors 6502

    Joined:
    Jan 27, 2012
    #1
    I have a recompiled version of OpenNotifier for the iPhone 5s, iOS7. OpenNotifier uses libstatusbar on the backend to modify the statusbar. libstatusbar has been compiled for iOS7 and arm64 but is not fully functional so:

    OpenNotifier shows statusbar icons while in Messages, Notes, Phone, Maps, Settings but not in Mail or Safari.
    OpenNotifier shows statusbar icons while in Cydia, iFile, Flex, Firewall iP but not in iCleanerPro.
    OpenNotifier does not show any statusbar icons while app store apps are open.

    I heard from the libstatusbar developer that it needed to be updated to use Rocketbootstrap. I tried to make the required changes to libstatusbar but failed so we will have to wait for an official update to fix the issues listed above. I have no idea if that will ever come.


    Edit - 2014/02/18:
    Package has been put on my repo and renamed to make it clear that this is an unofficial modification, not supported by the original developer. No other changes were made between this and the previous version: http://www.tateu.net/repo/. The source code changes are still attached below.

    Edit - 2014/02/19:
    New version 2.0~beta2-4, changed a few things in the Settings Panel Apps list, see here for info: http://www.tateu.net/repo/html/opennotifier.htm

    Edit - 2014/02/19:
    New version 2.0~beta2-5, revert bundle identifier change back to com.n00neimp0rtant.opennotifier. See important info about your icon settings in the change log for 2.0~beta2-5 at this link: http://www.tateu.net/repo/html/opennotifier.htm

    Edit - 2014/03/03
    Latest version: version 2.0~beta2-11
    repo: http://www.tateu.net/repo/
    change log: http://www.tateu.net/repo/html/opennotifier.htm
     
  2. darricksailo macrumors 601

    darricksailo

    Joined:
    Dec 18, 2012
    #2
    i think it has something to do with libstatusbar and/or iOS 7 updated apps

    it's not just openotifier, it's for all tweaks that display information in the status bar
     
  3. tateu thread starter macrumors 6502

    Joined:
    Jan 27, 2012
    #3
    I thought it might have something to do with libstatusbar. Unfortunately, even though libstatusbar is open source on github, and a new version has been released for iOS7 (arm64), the developer has not posted the new changes to github for anyone to look at.
     
  4. eyoungren macrumors P6

    eyoungren

    Joined:
    Aug 31, 2011
    Location:
    Phoenix • 85037
    #4
    I have it. iOS 6.1. Works in every app, including Cydia.

    libstatusbar was updated about a month ago (at least for iOS 6) but it was working for quite a long time before that. The libstatusbar update though allowed WeatherIcon 6 to finally show weather in the status bar (iOS 6).
     
  5. tateu thread starter macrumors 6502

    Joined:
    Jan 27, 2012
    #5
    Ok, thanks. That seems to confrm that my issues with it on my 5s are either due to the changes I made to compile it for iOS7 or something to do with the new libstatusbar update for iOS7.
     
  6. TriJetHero macrumors 601

    TriJetHero

    Joined:
    Oct 13, 2010
    Location:
    World
    #6
    libstatusbar has been updated for 7.0

    The offical github has not been updated, where did you get the recompiled version of opennotifier?
     
  7. tateu thread starter macrumors 6502

    Joined:
    Jan 27, 2012
    #7
    Yes, I have the libstatusbar iOS7 arm64 update and wish the github source was updated.

    OpenNotifier is on Github, also: https://github.com/n00neimp0rtant/OpenNotifier. I made the changes for iOS7 myself and compiled it for arm64.
     
  8. slumpey326 macrumors 6502

    Joined:
    Jun 18, 2010
    Location:
    Florida
    #8
    Hopefully someone can update opennotifier soon, I love this tweak.
     
  9. Asator macrumors 6502a

    Asator

    Joined:
    Apr 8, 2011
    Location:
    Australia
    #9
    I love it too. I would give up f.lux and biteSMS just to have it back.
     
  10. QuarterSwede macrumors G3

    QuarterSwede

    Joined:
    Oct 1, 2005
    Location:
    Colorado Springs, CO
    #10
    Wow. I used to use it too and like it but f.lux actually changed my life (made me go to sleep earlier and get more rest, improved productivity, clearer thinking, etc.). That and I find NC to be adequate to notify me (and it gives me more info). I don't miss OpenNotifier anymore on iOS 7. I just don't.
     
  11. rick snagwell macrumors 68040

    rick snagwell

    Joined:
    Feb 12, 2011
    Location:
    oceanside, ca
    #11
    i miss it, i have bitesms just so i can have the sms icon in the status bar!
     
  12. christoph23 macrumors newbie

    Joined:
    Feb 3, 2014
    #12
    Is it possible, that you share your code with us? Maybe on Github. This will save me a lot of time until it works for iOS 7 on the 4s.
     
  13. tateu thread starter macrumors 6502

    Joined:
    Jan 27, 2012
    #13
    Sure. I'll create some diffs later today and I can probably just attach them here. The changes were pretty minor. I had to hook SBApplication - setBadge instead of SBApplicationIcon - setBadge and I had to do some funky casting to get some methods to work, such as casting an ONIconCell which is a type of PSTableCell which, in turn, is already a UITableViewCell.

    (UITableViewCell *)self).detailTextLabel.text = details;

    I just started playing with objective c for the first time last week so I don't really know why the above was necessary, but it worked.
     
  14. slumpey326 macrumors 6502

    Joined:
    Jun 18, 2010
    Location:
    Florida
    #14
    cant wait, thanks buddy
     
  15. iaymnu macrumors 6502

    Joined:
    Mar 23, 2007
    #15
    Did you have any prior knowledge before looking at objective c? It's amazing you just started not long ago and can recompile and update to work for personal use.

    This is something I want to do myself. Especially for this tweak, the waiting for update is just a bit too long.


     
  16. tateu thread starter macrumors 6502

    Joined:
    Jan 27, 2012
    #16
    Don't get too excited, I am only posting source code, not compiled binaries. I don't want to release packages of someone else's software, especially since it does not work fully on iOS7 on my iPhone 5s.

    Objective C knowledge, no, none, but I've dabbled in programming for 15 to 20 years. Some c, c++, perl, php, web, etc. I probably don't have the knowledge or skill to write a lot of stuff from scratch, without a ton of time and effort, but I am pretty good at hacking away at someone else's code to make it work more the way I want it to.
     
  17. tateu thread starter macrumors 6502

    Joined:
    Jan 27, 2012
    #17
    Ok, here are the source code modifications, there is no binary. There is a readme in the zip file with info about the changes and problems.
     
  18. Shapelessbb macrumors member

    Joined:
    Jan 25, 2014
    #18
    Any idea how I can put this together to load to my 5s?
     
  19. tateu thread starter macrumors 6502

    Joined:
    Jan 27, 2012
    #19
    1) Download the original OpenNotifier source code, apply my patches
    2) On a Mac: install Xcode 5 and command line tools, install theos
    3) Get iPhone headers working and updated correctly in theos for iOS 7.
    4) Open terminal, run 'make package install'
    5) In Cydia, install libstatusbar
    6) respring
     
  20. christoph23 macrumors newbie

    Joined:
    Feb 3, 2014
    #20
    First of all, thank you. On Homescreen and in the most Apps it's working fine, but it isn't working on my Lockscreen only in the Notification Center?

    Someone with the same problems or a fix? My device is a iPhone 4s
     
  21. tateu thread starter macrumors 6502

    Joined:
    Jan 27, 2012
    #21
    It's most likely caused by libstatusbar. On my 5s, libstatusbar does not work in any app store apps. It does work on my lock screen, though.

    I checked with the libstatusbar developer and he said it needs to be updated but he did not provide any more details, such as when or if he would update it.
     
  22. slumpey326 macrumors 6502

    Joined:
    Jun 18, 2010
    Location:
    Florida
    #22
    Is it possible for someone to please put this update together into a file that others can download for those individuals who don't know how to code.
     
  23. christoph23 macrumors newbie

    Joined:
    Feb 3, 2014
    #23
    This is my .deb archive. It works fine on my 4s. If you try it, please give me feedback.

    Install the Cydia Tweak "SameStatuts". It is a workaround for the problem, with the lockscreen.

    Greetings from Germany :)
     

    Attached Files:

  24. slumpey326 macrumors 6502

    Joined:
    Jun 18, 2010
    Location:
    Florida
    #24
    This is awesome thank you so much, works great so far
     
  25. tateu thread starter macrumors 6502

    Joined:
    Jan 27, 2012
    #25
    I did not install your binary but I did look at it in a hex editor. It looks like it only contains one slice, which means you probably did not compile it for arm64 devices. If that is the case, you might want to make note of that so that 64 bit users don't bother with it.
     

Share This Page