DISQUS

Community Page on DISQUS

what is this?

Jump to original thread »
Author

Fixing iPhone Mail Crashes (2.0 Firmware)

Started by beng · 4 months ago

Sometimes your iPhone mail client just doesn’t go.  You open mail, and it closes again.  You can’t even delete the account from the Setup application.  I’m not 100% positive, but I think this usually happens when you’ve restored your settings from a pre-2.0 phone (again, unsure whether it matters if the phone was pwned or [...] ... Continue reading »

56 comments

  • Awesome, thanks for helping me fix my mail :)
  • you can also use the boss prefs and select more tab and then click on fix user dir permissions.
  • Fixed my mail as well!
    For the record I did restore from my backup, so it looks as though that could be it.
  • dear god, awesome. Thank you so much.
  • Awesome stuff, thanks Ben (from another Ben).
  • Geniussssssss. Many thanks for providing those guidelines and explnantions, all perfectly working now!
  • Did the trick!
  • Thanks!!
  • THANK YOU SOOO MUCH!! I was noodling on this all night. I tried every way I could to do it through Mail.app settings and the iPhone Settings > Mail. None of them worked.

    The directory listing didn't change right away on mine, but everything still worked.
  • Thanks!
  • Works perfectly using mobile terminal on my phone. Thanks!
  • Didn't work for me using mobile terminal - and now the Apps from the app store don't work either. Borked.
  • Wow, it sounds like you've typed in a command incorrectly? All my app store
    apps are fine. Without knowing what you've done, the simplest way to revert
    the settings would be to re-restore your ipsw file. I'll have a quick play
    to see if I can break my Apps to see what you might have done.
  • Hmm strange. I can't seem to get my apps to break even if I trample (chown mobile:mobile) all over the /var/mobile/Applications directory.
  • Hi there, thanks for the instructions. im having trouble connecting to the iphone over WiFi (Connection Refused) and through the mobile terminal (Operation not permitted)

    Any help would be much appreciated!
    thanks again
  • ok my bad, i got mobile terminal working. for the other noobs like me:
    type "login root" then use "alpine" as password before using the chown command
    YAY mail!!!
  • I am a Noob with no competence in terminal, unfortunately they do not teach Unix at school :/ , so i was wondering if yu could provide a line by line direction of what i need to type into mobile terminal? i'm sure that some may say that youhave provided adiquet directions in this post but I do not understand it. It would be a grate help if you could do very basic directions for what i need to typ in and what should come up n mobile terminal.

    Thank you so much and i am glad i am not the only one with this issue.
  • thanks for the details,
    but i seem to have a problem. im using mobile terminal on 2.0 firmware and
    i get this error when i use chown -R
    chown :changing ownership of 'var/mobile/Library/Mail/Account.plist' : operation not permitted
    chown :changing ownership of 'var/mobile/Library/Mail' : operation not permitted

    do you know why i cant change the owner ?
  • Ah yeah I realise now that mobile terminal logs you in as "mobile". You
    need to type "su" then enter the root password "alpine" to elevate yourself
    to root before typing the commands.
  • works fine. thanks heaps
  • Wish I'd found this and the jailbreak before I lost my iPhone! About to go get a 3G one, I'm on the beta for iRedHanded, so hopefully next time I will be able to see the thief on the map and go bust em! :) I wish we didn't have to fiddle with our phones just to get them to do what they should do too!
  • guys, i have a slightly diferent problem witm mail.app ... whenever i wish to send new email it doesnt do anything, no network activity, nothing, just the bar at trhe bottow, saying "sending" but its not "growing" :/ do you have any idea how to resolve this one????
  • Hi Martin
    I had Mail running but stuck on "Checking for Mail" forever, Ben's fix resolved the issue.
  • Thank you Ben worked like a charm. Does beg the question should we be changing the root password (or indeed the mobile one) to something else, and if so.. how?
  • I would think the unix passwd command would work for changing the password, but I don't know what it would break. You can always uninstall OpenSSH and Mobile Terminal if you are paranoid about remote access.
  • finally.. THANKS..
  • Hey

    I was not able to access my iPhone from the Laptop (port 22: Connection refused). But with the Terminal on my iPhone it worked.
  • Ben Firstly, i never have the patience to comment, post on forums etc etc, kinda selfish I know. But I had to post here to thank you.
    So what did I mostly use my iPhone for? Mails... But a restore rendered that app useless. I thought the cause was the brilliant app Bossprefs, but just today i came across ur post. Did what you wrote and voila, MY MAIL APP IS WORKING. Thanks a LOT man!!!!

    P.S. Beng has posted a way to use "mobile terminal" to use your method. That was NECESSARY for me because I dont have wifi so thanks to Beng too.
  • thanks alot.. finaly got it to work when i found out u had to use the capital letters... :-)
  • You are a F***king Legend. Thankyou so, so much
  • You are the man.
    Thanks a mil for the easy fix.
    Rgs
  • Excellent stuff! I thought it was probably a permissions problem, but didn't know where.

    I believe it explains my current inability to save photos to my Camera Roll. I worked around that one by using SwapCameraRoll, but that isn't fully satisfying as I want to know where that stuff is in the filesystem!

    Thanks for your help with this one!
  • i like your style
  • worked fine ...thanks for your post !!!...
    Agustin from Mexico
  • THANK YOU, YOU ARE A STAR!!
  • Thank you very much! I've managed to do it in the mobile terminal.app using mobile Safari.app to read the commands.
    Yeah, awesome, thanks again. Btw, they don't really teach Unix in Czech Republic;)
  • Thanks, works great!
  • Dude you ROCK!!!!
    Thanks!!!
  • Worked like a charm. Thanks so much!
  • thanks for your help!
  • Hex ho!

    Thx for this fantastic post from germany. Im sitting at the airport after updating to 2.0, wanting to check my mails and was quite frustrated, since im Going to Mexico without a laptop.

    You saved my day!

    Cheers

    Ben
  • Cheers dude :-) fixed it! anyone who has problems with installing openssh (like me) the servers seem to be very slow and down a lot of times, so i couldnt download it for some time. had to try 20 times...
  • One more tip: Download Bossprefs and go on: "More" - then click on "Fix User Dir Permissions" - that should do the trick as well without using the terminal! My mail did work after the terminal fix but it didnt show any messages, so i did this and voila it works now...

    Have fun...
  • I used bossprefs too but without this post I never would have known to do so. Thanks and woo-boo as ordered!
  • Thanks! This helped a lot!
  • Thank you. I dared translating ot (with full credit) fpr those Czechs who do not read English-
  • Good one. Do you have a link that I can add to the article? Perhaps with "If you want a Czech version then click here" in Czech?
  • Ben,

    ANy fixes for outgoing mail issue on pwned 2.0 with an exchange account using activesync.

    I am unable to send mails using my home wifi. Can do so with EDGE or office wifi!!

    Any help or direction would be greatly appreciated

    Thanks,
  • That sounds a lot like a firewall issue. Definitely not a permissions
    issue. Surprising that it works over EDGE though. Sure you don't have any
    outbound firewalling going on with your home network?
  • That works a treat ..... Thanks very much for finding this out !!!
  • Dude, I love you. THANKS!
  • holy pizz fuck it worked!!!!!!! let me marrie you
  • I love you! I have tried basically everything: restore 2.0.2, jailbreak, un-jailbreak, 2.0.1, jailbreak, pray, curse... This has fixed it!
  • Ah! Thank you so much, fixed me right up no troubles!
  • AWESOME.

    Thanks so much man. Saved me big time. Other forum posts have said that you need to do a restore as a new iPhone... that would've sucked.
  • Thanks a lot, Just what I was looking for!!!

Add New Comment

Returning? Login