Thursday, 15 March 2012

removing accounts from a filevault2 login screen at bootup

This post is more for IT people dealing with mac's in a corporate environment..   essentially we have a high turnover of sales people at my office and i'm constantly recycling machines but preserving old user accounts for processing and maintaining account / client data.

as soon as you have over 4 or so accounts on a machine i find the encryption fileVault boot screen gets to be a bit crowded and there's really only usually 1 active account at any given time on the machine so whats the best way to hide or remove the accounts from fileVault boot without actually removing the accounts?

Its pretty easy.   Just set the accounts passwords to nothing..  The only caviet here is that you can only set a user account password to nothing via the terminal.   here's the easy steps.


Step 1: Log in to the account that will not be able to unlock FileVault.
Step 2: Open /Applications/Utilities/Terminal.app
Yes, I know. You hate Terminal. But you have to use it because you can't remove your password via the GUI.
But you can delete it in Terminal. Just type passwd at the prompt. You will be asked for your "Old Password" (that is, your current password), and then you will be asked for a new password, twice. Enter your current password, then just press the Enter/Return key when asked for a "New Password" and "Retype New Password."
thats all.   Next time you reboot those accounts with no password will vanish!

Monday, 13 February 2012

fixing mail problem: The IMAP command “APPEND” (to Sent Messages) failed with server error: Error in IMAP command received by server

I recently discovered an issue with a coworker where her Mail sent folder was automatically generating a single sent mail message over and over and over to the point where there was over a hundred messages of the same message being generated for no explainable reason.   Mail kept throwing the following error with each message generation:

The IMAP command “APPEND” (to Sent Messages) failed with server error: Error in IMAP command received by server..


here's the steps i had to follow to fix the issue.



Here are some more detailed ones:
1) Make sure that 'Mail' is fully quit (quit it)
1) Open 'Applications' in 'Finder'
2) Open 'Utilities'
3) Finally double click on 'Terminal'
For the following parts, do exactly as I say...
4) Type: 'cd Library/Mail' then press return (do not type the '
characters on this or following instructions)
5) Type: 'cd IMAP<youremailaddress>@[email address]' nthen
press return
6) Type: 'rm -rf .OfflineCache/' and press return
You can now quit terminal and restart Mail

Sunday, 8 January 2012

how to get link2SD to mount ext2 volumes in android eclair 2.1

this fix is known to work on motorola phones (milestone in my case)
1) Download the ext2.ko file (zip attached)
2) Extract it to your SD card
3) Use Root Explorer to navigate where you extracted it to and copy the file
4) Navigate to /system/lib/modules/ and paste the ext2.ko file there
5) Open an adb shell with super user (su) permissions and run the following command: 
Code:
insmod /system/lib/modules/ext2.ko
6) Reboot - Link2SD should now mount the ext2 partition and function correctly!

Thursday, 22 December 2011

How to Stop Launcher Redraws and Lag in Android

if you're like me,   you are soooo sick and tired of having your 3rd party launcher like Go Launcher or ADW or Launcher Pro having to redraw icons after you're using a memory intensive app for a few minutes..   essentially your system memory manager is killing the launcher in an effort to free up memory..   but why is it killing my launcher so OFTEN!   well its because launchers are installed and set to a memory priority level of 6,   which just happens to be the priority level of all android apps..  which means your launcher..  YOUR UI for crying out loud gets no special treatment over say an app like..   facebook..   here's a fix to give your launcher a VIP preferential treatment by setting it to a priority level of 1,  which means it will be one of the last things to ever get killed from memory when you are running low.


redraws are usually NOT launcher specific. if it happens to one launcher, it will happen to the others as well.

there is a fix tho. did this a while ago and haven't had a redraw since.
using root explorer navigate to system
mount r/o
longpress on build.prop
open in text editor
scroll all the way to the bottom
enter the following text:
ro.HOME_APP_ADJ=1

press the hard back key and save the document
mount system again
reboot.

Increase memory of Java VM in Titanium Studio to prevent Android kernel panic in OSX Lion

show package contents of Titanium Studio and find Titanium.ini in the MacOS resources folder


increase these settings


--launcher.XXMaxPermSize256m
-Xms256m
-Xmx1024m

Wednesday, 10 August 2011

Removing multiple contact list's in Blackberry OS6

I recently came across a scenario where i was consolidating gmail accounts and ended up with multiple contact lists from different gmail accounts on my blackberry making for a supreme mess in my address book..  many duplicates.  If you are in a similar scenario,  simply open up your address book and go to 'options' from there it will show you a list of associated gmail accounts that are syncing with the device,  at this screen simply type 'rset' on the keyboard to initiate a wipe of associated accounts and start over.

Thursday, 21 July 2011

batch modify creation dates for many files

whenever I download podcasts via bit torrent the creation date on the files is totally all over the place and never correlates to the file names.   Some podcast players only sort files by date thus disjointing all your episodes.
Use the following terminal command to batch modify all the episode files if you put them into a folder.
Add /* to the end of the command.  If you’re only targeting a specific file type include its extension (e.g. /*.jpg).  Your command should look something like this:

touch –mt 201004270930 /Volumes/Mac\ HD/Pictures/Album/*
(the 201004270930 represents April 27th 2010 at 9:30am)