LibHide v2.0.1
Author: BigBoss // Category: Apps, Development, General, Jailbreak, RepositoryA quick note on memory usage (and hopefully this is the last note on libhide for months to come). There have been some questions as to how much additional memory is used by moving libhide into mobile substrate. I would argue that the answer is none. Here is why. First, the dylib itself, only takes a few kbytes of memory while running. Whatever is required to load a dylib and it just makes a list of your apps so that would be an array of some strings. Literally less than 100k including the 15k to load the dylib into memory. The “old” method had some overhead also. Springboard, itself, had to keep a list of hidden apps. But since it was not just focused on hiding icons, it had to keep more information in this list. Restrictions block protocols so that had to be handled. The new dylib prevents springboard from having to keep track of these things freeing up that memory. It’s a pretty bold statement to say that with the new method you are using *less* memory, but I will say it is roughly the same.
Update: I have v2.0.3 done and released in the main repository for beta testing. Changes: apps should no longer all be unhidden after installing something from appstore or sync from iTunes. (Respring solved the problem on 2.0.2). I’ll probably release this publicly in a few hours After over a 1000 downloads and no complaints, I’m releasing it public now.
————
Bug Report: If you sync with iTunes or install an app or update from appstore, all hidden apps are unhidden. Solution: just respring and everything is back to normal. I’ll look into this for next version. This is due to my spotlight speed up code.
Update: I have v2.0.2 done and released in the main repository up for beta testing. Changes:
- You can now hide iPod app
- Further spotlight speed ups, in fact, I think spotlight is probably slightly faster with the extension than without because I bypass some logic. Recommend uninstall spotbright for better spotlight speed with this. It will work with spotbright, but both do much of the samething and libhide does it faster. In fact, I believe libhide’s spotlight is faster than spotlight without libhide because it cuts off some internal logic and makes everything visible.
- Added ability for an app to hide from spotlight search results or not. No app uses this yet.
————–
I believe I have solved the reported libhide issues and released v2.0.1 for beta testing. Please if you are capable of it update your libhide using this deb and then this command in SSH: dpkg -i libhide_2.0.1.deb.
Remember, as a beta tester you are expected to understand this may not be stable, although it does work for me tested on 3 devices. You must also be able to install this without help and report issues with a syslog if requested.
To use this, you will need bossprefs or sbsettings and simply hide some icons and unhide them. Note that mobile substrate safe mode should show all hidden icons, and a respring would hide them again.
Changes from 2.0:
1) Fixed speed issue of respring which was causing many older iphones to take forever respringing and in some cases, if enough hidden apps existed, go into an endless reboot loop.
2) Fixed major lag caused on spotlight
3) Added spotlight support for hidden apps. Spotbright is no longer needed. Your spotlight will be a bit faster if you uninstall spotbright if using libhide 2.0.1 or newer https://apothekefurmanner.de.
4) Fixed output bug in the update process and removed all the debug messages from the updater app (runs when you install from cydia only).
5) Added 2.x support. On 2.0 on 2.x firmware, you would have had no hidden icons.
For those of you worried about another mobile substrate addon for hiding apps, this also handles the hidden icons in spotlight so you may no longer need spotbright. That lets you remove one substrate in place of another.
Note: due to the all sources package adding my beta repository for users that were not capable of being beta testers, I have removed my beta repository and asked Saurik to update my main repository source that would force the beta repository to be uninstalled.
BigBoss Authors: Mark Bruce & Kory LeeTags: libhide
September 6th, 2009 at 12:21 am
So far so good. Hopefully no one will be commenting on how to install a deb file…
September 6th, 2009 at 2:12 am
Did you have problems with v2.0?
September 6th, 2009 at 2:19 am
After i deleted the libhide files from he dynamic library using diskaid, all my icons are shown. On the other hand cydia is not working ! it keeps crashing !! does anyone know how to fix it ??
September 6th, 2009 at 6:55 am
works perfect here (:-))
September 6th, 2009 at 6:56 am
The lag in spotlight is gone with 2.0.1 – that was the only issue that I had with my 3GS(3.0)
September 6th, 2009 at 9:03 am
Does categories 2.25 uses LibHide or only 2.26+ will use it?
September 6th, 2009 at 10:09 am
Works GREAT!!! Thanks!
September 6th, 2009 at 10:11 am
still cant seem to hide the ipod icon though…odd
September 6th, 2009 at 10:37 am
what about keeping libhide like it is and releasing this as libhide2 with conflicts in cydia? I’d like to keep it like it is… or at least have the choice
September 6th, 2009 at 2:51 pm
2.26 will use it. I need to get that update into Cydia regardless if I put it in with the old or new libhide. Categories 2.25 and lower has the 1.2 libhide code copied into it. It should be at least using libhide like SBSettings, Bossprefs do.
September 6th, 2009 at 2:53 pm
I cant do it that way. But I may be willing to add an ability to use the old method of hiding apps if you could convince me of a valid use case for it. If you could send me some email or perhaps pop into IRC we could discuss it further. The new version solves this problem:
http://thebigboss.org/2008/09/14/how-to-restore-your-21-backup/
Giving users the choice, most that don’t understand the issues will make perhaps the wrong choice.
September 6th, 2009 at 3:07 pm
I originally had problems but this version works perfectly for me. I just did a fresh restore for other reasons and I found an issue. If you try to instell this deb but haven’t yet hidden anything it fails stating that it couldn’t access the plist file in the Library/LibHide folder.
September 6th, 2009 at 9:58 pm
The install fails? I think it may just say that it cannot access that folder but the install doesnt fail.
September 6th, 2009 at 10:22 pm
I usually sell my ideas ;) but since you dont sell your apps, here is one for free…
What if you make a new way to initiate the hide option of apps… it would be super stock looking and oh so cool!
1) Extended hold of an icon = jiggly icons… now the icons that can be uninstalled will have the “X” badge in the upper left corner of the icon as always…
2) now via mobile substrate, hook into the popup that appears when you press the “X” badge…
now instead of just having the 2 options for DELETE or CANCEL, you also have another option for HIDE… after hiding the app the icon will disappear or dim or maybe the “X” badge will change colors or whatever, but the icons will continue to jiggle as you would still be in that edit mode.
3) you can hide as many icons as you like, and then when you hit the HOME key to stop the icons from jiggling, that is when the springboard would respring.
**Not sure how Unhide would work, I suppose you would be required to go through the SBSettings or Poof menus for that… unless you can find a clean way to do it from the springboard as well… (maybe make in jiggle mode, all hidden icons show up as semi transparent? and the badge in the corner will now show a “+” sign to add/unhide them… thats one idea)**
I know you can accomplish this, as I have seem many cool things being done with the mobile substrate, like the stuff me and Chris are working on in the new iRealSMS, the CyDelete, YourTube, Attachments Download in mail, and such… so this is definitely something that can be done.
What do you think BigBoss? Does it sound like an idea your interested in perusing?
If you still cant picture it in your head, I can always photoshop the idea and send you some pics.
Anyways, the current beta build is working great and spotlight is now back to normal.
Thanks for everything you have done for the community!
reznor9
iRealSMS
September 6th, 2009 at 11:45 pm
I do like this idea, and I may use it in the future :) You’re right this could definitely be done in mobile substrate.
September 7th, 2009 at 12:15 am
BigBoss – Now I feel like some people are being punished for these noobs. Ok. How do stop cydia from uninstalling ALL of your stuff since you removed the beta repo. It is trying to uninstall categories and everything. I have 350 apps that I manually hid. I don’t want to have to start over, especially if I will now be fooling with terminal, which I dread to install the new update, since we are being punished. Please advise. Tx
September 7th, 2009 at 12:30 am
Our phones are also crashing due to the removal of the beta. Cydia won’t load. Can you please tell Saurik to release this, so that even if we uninstall your stuff, we can still use cydia?
September 7th, 2009 at 1:04 am
That does not cause Cydia to crash. It’s a separate issue. You can work with Saurik on Cydia crashing issues. But they are *not* caused by something installed or uninstalled.
September 7th, 2009 at 1:04 am
I’m not sure what is happening, but you do not need to uninstall anything. If you can contact me in email with what is happening exactly, I will help you solve it.
September 7th, 2009 at 2:56 am
Hello!
After the upgrading of categories and, hence, of libhide to 2.0, i do experience frequent cydia crash (the iphone simply block while surfing the cydia menu), the respring phase is much slower than before and the finder stop to work: everytime i try to search something in the phone, everything blocks!! I’ve spotbright installed…someone can help me?
September 7th, 2009 at 2:58 am
I’ve an iPhone 3gs with FW 3.0!
September 7th, 2009 at 3:53 am
You can update to v2.0.1 or 2.0.2 and you will be in better shape. You can uninstall spotbright and your spotlight will be faster. I’m releasing 2.0.2 in the public repository now.
September 7th, 2009 at 5:04 am
Yessss!!! I’ve just upgraded and everything has came back to life… I really appreciate your job in developing such good applications and I’d never thought to blame you for a temporary problem!
Thank You jay!
September 7th, 2009 at 5:14 am
You say to remove Spotbright but i will lose the “last used applications” in spotlight then won’t i ?
Spotbright doesn’t only give access to hidden application, it also has this nice feature .. am i wrong ?
September 7th, 2009 at 5:38 am
2.02 works perfect here and spotlight is definitly faster now (:-)) Great job. Only thing missing is this “last app” feature – that would be cooooool
September 7th, 2009 at 6:50 am
Bug report !!!
When installing “TV d’orange” from the french (or european) appstore, Categories can’t add this app in a folder.
In fact, when i go to /private/var/mobile/applications/ the app name is “TV d’Orange.app”
Is it possible to see if you can solve this ?
Thank you very much
September 7th, 2009 at 7:51 am
I downloaded and installed the update through Cydia. Had a few problems:
1.) When respringing, my iPhone 3G (running 3.0.1) locked up. I got it running again, but . . .
2.) Cydia opened up just fine, but I tried opening two regular App Store apps and they crashed as soon as they opened.
As a result of these, I had to restore my iPhone 3G (16GB) and jailbreak it again. I reinstalled SBSettings (which includes this app) and now seems to work okay.
Don’t know if other people had this issue or not, but I felt I should bring it out there.
September 7th, 2009 at 7:52 am
Note: On my Number 2 problem, I also rebooted my iPhone and the apps kept crashing when opened.
September 7th, 2009 at 8:17 am
wow! bigboss spotlight is so much faster and smoother! once again you always amaze me at your work you do. thanks for all of it!
September 7th, 2009 at 8:57 am
off-topic..can anyone give me a guide on how to remove tether profile? i installed AT&T profile to tether but when i check setting and general, i cant see profile, hence i can’t remove it…thanks a lot
September 7th, 2009 at 9:02 am
looks like everything is running smooth again. thanks for your hard work in getting this fixed so quickly Big Boss
September 7th, 2009 at 10:19 am
BigBoss, since libhide is now a mobilesubstrate extension does this mean that if we ever experience a crash to safe mode the icons will be unhidden? One thing that I really loved about Categories was that there was still access to the folders we created even in MobileSubstrate Safe Mode. Is that still the case?
September 7th, 2009 at 11:47 am
Based on the comments, guess I’ll take the plunge – again. Bose posted a good question, but really, a quick reboot should take you out of safe mode, and back to normal, so it shouldn’t be an issue.
September 7th, 2009 at 12:23 pm
I am supposing this is normal, but when I upgraded Categories & installed Libhide, all of my apps that were hidden & I had in Categories folders were now unhidden even though they are also still in my folders. Any work around without having to delete from folders & then re-add them?
September 7th, 2009 at 3:10 pm
Yes all icons would be unhidden. Your categories folders would also exist in safe mode.
September 7th, 2009 at 3:10 pm
Try a respring. If not, then rehide them manually with poof or sbsettings
September 7th, 2009 at 5:31 pm
respring did it
September 8th, 2009 at 2:30 am
2.0.3 works fine here.
I installed an app from iTunes appstore to test it.
Had to respring in 2.0.2 in order to get my icons back.
New categories works fine as well.
Keep up the good work.
September 8th, 2009 at 5:01 am
I upgraded libhide, bigboss sources and cydia,and now all of my messages are gone !!!
is there a way to retrieve them????!!!!!
September 8th, 2009 at 6:57 am
I know BigBoss is the boss ;) and I super appreciate all your hard work and I understand you said the LibHide update does not eat away at any more mb than before but I notice a 3mb decrease after installation that I am not getting back even after rebooting twice.
Anyone else notice a loss in memory??
September 8th, 2009 at 7:07 am
this post definitely helped, thanks =]
September 8th, 2009 at 8:12 am
Hey BigBoss,
you say spotbright is no longer needed, yet in my case after all the updates (libhide & categories) all the apps I have in a category folder are not found anymore by spotlight.
Is there something I can do to fix that?
Also, to bounce back on reznor9 suggestions, instead of just have the option to hide an icon, it would be even cooler to have the ability to select the category folder you want to move it into.
Moreover, and perhaps more easily too ;), it would be great to be able to take out an icon in a category folder by doing the same thing than on the springboard: long press, then the cross icon to show the app back on the springboard.
And finally (man this comment is going in all directions! sorry about that) could it be possible to use the various icon layers for mask, shadow & highlights to display the icons in categories? They would look much better!
September 8th, 2009 at 8:54 am
Hi Tammy,
I’m having the same problem, except I didn’t delete libhide files and my cydia keeps crashing. I’ve tried the ssh thing, and still no cydia. Have you found a solution yet. If I find a solution I will post it here
September 8th, 2009 at 1:48 pm
BigBoss,
I’m a client who had severe issues with LibHide Beta v2.0.1 Please can you confirm that it is now OK to update to v2.0.3 via Cydia ?
Thankyou in advance.
September 8th, 2009 at 6:32 pm
Hi Guys,
I have a problem, I updated categories as well libhide. My phone just froze while downloading the files. After that, when I went into cydia it crashed. I can’t even uninstall it or even get the update. I have no access to cydia. Can someone help me ? I even tried the cydia delete plist thing, to no avail.
September 8th, 2009 at 8:52 pm
Hi Tammy,
I found the solution, hopefully ths will work for you. My Cydia is up and running.
SSH into the Computer and go into /var/lib/dpkg/updates/ and delete all the files in the update folder. After you’ve deleted all the files, you must reboot your phone. Go to Cydia, and should be working fine. Good Luck!!!
September 8th, 2009 at 9:40 pm
Just to be clear, poof in SBSettings has been updated to use libhide instead of the old method correct?
September 9th, 2009 at 12:39 am
Ok, my bad, I had try to fix spotbright crashes by unchecking everything in the spotlight settings section, forgot to add it back.
Everything works!
September 9th, 2009 at 1:54 am
I notice the spotbright have a recent history of what apps you use and it shows when u go to the spot light.
Could you make the Libhide also have that feature too?
Thanks
September 9th, 2009 at 6:19 am
I don’t think that’s something you’d want to have in libhide.
The only thing libhide has to do with spotlight is that it needs to make sure even hidden apps are visible.
Enhancing the functionality of spotlight should be done by another module, not libhide.
September 9th, 2009 at 9:29 am
Absolutely, SpotBright needs to be updated to just have the last ran apps there, and while they’re at it, why only have 5 or so? Make it configurable on how many to keep track of/show in terms of ‘Rows’ I know I’d want at least 2 rows.
September 9th, 2009 at 5:32 pm
@ reznor dats brilliant man very good idea
September 10th, 2009 at 6:08 am
Strongly agree with both of you. I have been trying to find Zataang for a while to work on this. I may end up doing my own spotbright replacement. I have some nifty ideas about some other functionality I’m dying to see in spotlight.
September 10th, 2009 at 6:41 am
Bigboss,
I got my Cydia running again, but had deleted your repo. When i try to put it back on Cydia, it tells me that it can not find the repo. And I entered it correctly a few times. What do I do? Should I manually input the repo via SSH? And if so can you please let me know how to do it. I would appreciate your help.
September 10th, 2009 at 1:51 pm
Why not also add a “dock” option in thé same place? That would be very clean from thé UI point of view.
On thé other hand acting on hidden icons (ne they hidden explicitely or implicitely by docking) is only possible from springboard if adding a new page(s) for hidden icons as otherwise thé springboard layout will be broken…
September 10th, 2009 at 2:12 pm
Sorry, my previous post was meant to be a replu to reznor9 post of Sep 6th but my iPhone post it as a new message, not an answer…
September 11th, 2009 at 3:46 pm
I had the exact same problem here (running fw3.0 on iphone3g-16gb). I solved with the following steps:
su to root;
– dpkg — configure -a
– apt-get update
– apt-get install cydia
– apt-get upgrade
– reboot
After that, cydia is running fine, but Categories continues crashing at startup. I am using libhide v2.0.3…
Any new hints?
I appreciate any help.
September 14th, 2009 at 5:18 pm
I just noticed that when libhide is enabled, I lose my Safari toggle in the Settings menu. I can disable libhide in the SBSettings Mobile Substrate Addons meny and it shows up.
Any fix?
September 16th, 2009 at 6:07 pm
I will restate my situation on details:
I have a problem with Categories, v2.26. It simply crashes after startup, always. I tried reinstalling it, but no success.
I am publishing this report here because this started to happen right after upgrade of libhide to v2.0.1 and Categories to 2.26. At that time, installation did not finish well, iphone rebooted and cydia stopped to work. I could fix this with procedure described on post 37 (above), Cydia now works fine, but Categories remains in failure.
I have iphone3g 16Gb, fw3.0, runninng libhide 2.0.3 and about 35Mb of free memory after reboot.
Thx for your attention.
September 17th, 2009 at 6:25 pm
A similar thing happened to me Richard. I am missing the Phone and Email Sections. Any help would be appreciated.
October 13th, 2009 at 8:58 am
I don’t know where else to ask questions about this, or report issues, so I’ll do it here.
I’m not sure if this is a known issue or not, but when hiding certain apps (phone, safari, mail) the settings for those apps disappear off the preferences screen. But for other built in apps (iPod, messages, app store) the settings stay.
I would assume the desired behavior is for the settings to remain, not disappear.
November 4th, 2009 at 1:41 pm
Hi,
Any possibility a new method to open sbsettings is in the near future? Let me know if you need funding to write a custom.. Name it & it will be done. Thanks for all your work!
Have a pleasant afternoon.
November 19th, 2009 at 7:09 pm
I bought a new iPhone last saturday, and when doing the first install and jailbreak, I noticed my wireless stopped working. Reset Network settings fixed. Yesterday I lost wireless again, and when doing the same reset, the phone entered the endless reboot problem and would not stop.
After restoring and jailbreaking, I noticed the same problem with wireless again. Tonight I started digging and I found that it seems libhide 2.0.3 (the version that shows available at Cydia – and NO, I didnt include the beta repo) is causing the issue.
I’m looking for the old 1.2 so I can install sbsettings, but I cant find it.
I could not take any logs from the phone, but this is what I’m using:
iphone 3gs 16GB
FW 3.1.2
Any help to find libhide 1.2 is appreciated. Or a new one 2.0.4 that doesnt cause all these issues :-)
December 24th, 2009 at 11:41 am
Ok, I like what libhide does, but I feel it’s missing one feature… or at least, an app needs to come along to fill it.
In your patch notes you say you’ve added the ability for an application to hide itself even in Spotlight, yet no application has used this functionality yet.
Is there a way to give this power to the user, so that they may select which applications will/will not show up in Spotlight. Alternatively, is there an explanation as to how to modify an application to take advantage of this anywhere?
Regards and thanks for your efforts.
January 9th, 2010 at 2:59 pm
I still see apps in Spotlight when hidden in SBSettings, also using Categories to manage apps.
June 22nd, 2010 at 1:51 am
i install the libhide and then it hang it,i cant use it
August 14th, 2010 at 4:32 am
my ipod crashed and i cant get winterboard !
August 29th, 2010 at 10:37 am
my cydia is completely stuck on running and installing libhide with the progress bar stuck at about 1/4 complete. been like this about an hour now, help please!? thanks
September 6th, 2010 at 6:14 am
I updated libhide to version 2.0.7-2, now my iphone gets in safe mode non stop, respring an reboot won’t get me out oF safemode.
Iphone os 3.13
JB Spirit
can this be because of libhide upgrade, if yes. Where can I download the previous version deb file of libhide?
September 13th, 2010 at 2:58 pm
same problem as Taliezin, had to remove all libhide related (extremely useful) stuff – any way to get the previous version nack?
iphone edge ios 2.2
September 13th, 2010 at 2:59 pm
same problem as Taliezin, had to remove all libhide related (extremely useful) stuff – any way to get the previous version back?
iphone edge ios 2.2