Tag: CrApple
Free your RAM
by Vaelek on Aug.28, 2009, under Applications, Jailbreaking
If you run SBSettings, as it would seem most jailbroken users do, you’ve no doubt seen the Free Memory feature when viewing processes. This is one of those things that I would definitely not respond well to if it went away. The lack of a swap file in iPhoneOS, means memory is much more of a concern than pretty much everywhere else. If your app uses too much memory, it is swiftly terminated by the OS, no questions asked. Poorly written apps will also cause memory leaks and leave you with less free memory than you started with after running and exiting them. Apple’s solution to this? Reboot.
Wut? No thanks. Boot up time for the iPhone 3GS is anything but lightening fast, and the 3G is takes even longer. Unless it’s absolutely necessary, I don’t typically restart my phone. This is where the ‘Free Memory’ option is crucial.
The free memory option is not limited to jailbroken users. There are a few AppStore apps that have this ability as well, or at least there were. Apple it seems is having a fit over this function and is forcing developers that currently offer it to remove it or have their apps ejected from the AppStore. Why would they do that?!?!?!?
Here’s my best guess… The method used to free the memory works by allocating everything available. The OS will then see memory levels are critical and start terminating background processes. Here, this means Phone, Mail, and iPod. Of course they automatically restart, and in the end you typically have much more memory available. So what is Apple’s problem? When the apps are terminated, a crash log is produced. These are sent to Apple when you sync. Apple is likely getting flooded with these crash logs and so has decided to pull the plug on the ability to use this method.
What is my response to this? Free your RAM every chance you get. Apple has been all but negligent in their AppStore processes and their refusal to approve certain apps or the adamant rejection of apps that use undocumented or restricted API’s, not to mention the rejections that have no real merit whatsoever. Free your RAM every chance you get. Apple is not a company that exercises the skill of listening to it’s users or even acknowledging when problems exist. They come up with blatant lies to discourage and attempt to make illegal the process of jailbreaking YOUR device that YOU own1. They spew their bullshit claiming they don’t know if Google Voice uses VoiP technologies, or that it hasn’t been rejected, they just haven’t approved it yet. Come on guys, there is no doubt they have plenty of tools at their disposal that will tell them exactly what your app does, what API’s it uses, etc. Free your RAM every chance you get. They charge $99 a year for the privilege of being able to develop iPhone/iTouch apps, so that you can submit them to the AppStore so they can take another 30% of your profits. What about refunds? A little known fact is that if someone purchases one of your apps, and is later granted a refund for whatever reason, the entire purchase price comes out of YOUR pocket while Apple sits back and keeps it’s 30% commission. Apple is obviously annoyed by what results when users free their memory the efficient way, so let’s stick it to them until it hurts.
Free your RAM every chance you get and use one of the few things that has actually gotten Apple’s attention to protest their [mis]management of just about everything related to the AppStore.
1. Apple’s claim to the copyright office in response to the EFF’s request to officially declare jailbreaking a legal activity. It’s a hefty read, I’ll note some of the key pieces of manure here.
5. In testimony, the Electronic Frontier Foundation stated that the iPhone warranty would not apply to an unauthorized modification on an iPhone. Would other services or functionality be affected by “jailbreaking” an iPhone, e.g., would AT&T phone, data, or GPS functionality be affected? Would AT&T be required to provide service to an iPhone modified by the user?
Apple’s Response:
Yes, ..services and functionality of the iPhone can be affected by jailbreaking of the
phone, as well as services .. on AT&T’s phone and data network. The OS controls a critical portion .. known as the “baseband processor” (“BBP”) that is used to connect .. to a .. network and to utilize services .. Once an iPhone is jailbroken, it is much easier to hack the BBP software .. Such modifications can interfere with ..phone, data, and GPS functionality .. Modifications to the BBP software may introduce .. errors into that software or cause it not to function correctly .., which in turn can render the iPhone incapable of connecting to the network at all in order to make phone calls or send/receive data. Such modifications may also interfere with GPS functionality. There is a special GPS chip in the iPhone that .. computes location of the phone .. However, an enhanced functionality called “assisted GPS” enables the location .. to be pinpointed
with greater accuracy than ordinary GPS by utilizing data about the location of the cell tower to which the user is .. connected. If modifications to the BBP software were to render the user unable to connect to the local AT&T cell phone tower, the assisted GPS functionality would, in turn, not function.
It gets better..
…each iPhone contains a unique Exclusive Chip Identification (ECID) number that identifies the phone to the cell tower. With access to the BBP via jailbreaking, hackers may be able to change the ECID, which in turn can enable phone calls to be made anonymously (this would be desirable to drug dealers, for example) or charges for the calls to be avoided.
To me, this sounds like “We didn’t make the devices and network secure enough and people figured it out, rather than fix anything, outlaw jailbreaking!” Seriously guys… We’re on the 4th generation now with the 3GS and they haven’t managed to store this uber-sensitive data in ROM? Implement a secure handshake process between the towers and devices that is based on more than one piece of information? Add a carrier password of some form that the user chooses which is authenticated with the tower? All of the ill-doings Apple is claiming are possible with jailbreaking come down to design faults in the end. Poorly implemented protocols that can be easily hacked. History has proven time and time again that the black box design approach does not work. Security through obscurity is not a solution but an effort to cover up a poor implementation. I also like how they state specifically state “this would be desirable to drug dealers”. Ok, it would also be desirable to illegal telemarketers, robo-callers, collection agencies, scammers, politicians, basically anyone who might want to make an anonymous call.
I could go on and rant about Apple’s incompetence and need to play puppet master for another 15 paragraphs. Perhaps another day as if I continue this is likely going to meander a bit past the “all-ages” rating I aim to keep here.
FREE YOUR RAM EVERY CHANCE YOU GET. Make Apple bend over and take it without any lube while convincing them it’s really better that way, just like they do to their users.
Got something to add? Go.