+ Reply
Results 1 to 3 of 3

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Help, change fstab file contents, stuck in weird mode

is a discussion within the

File Mods

forums, a part of the

iPhone Modding

section;
Iphone 3G, Unlocked, Jailbroken, Sn0wbreeze, iOS 4.2.1 Found instructions here: http://modmyi.com/forums/file-mods/7...g-3gs-4-a.html Edited the fstab file from /dev/disk0s1 / hfs rw 0 1 /dev/disk0s2 /private/var hfs rw 0 2 to /dev/disk0s1
...
  1. #1
    What's Jailbreak?
    Join Date
    Jun 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Help, change fstab file contents, stuck in weird mode
    Iphone 3G, Unlocked, Jailbroken, Sn0wbreeze, iOS 4.2.1
    Found instructions here: How to Overclock iPhone 3G, 3GS, and 4!
    Edited the fstab file from

    /dev/disk0s1 / hfs rw 0 1
    /dev/disk0s2 /private/var hfs rw 0 2

    to

    /dev/disk0s1 / hfs rw 0 1
    /dev/disk0s2 /private/var hfs rw 0 2
    su
    alpine (Unless you changed it to something else.)
    sysctl -w hw.cpufrequency_max=750000000
    sysctl -w hw.cpufrequency=750000000
    sysctl -w hw.cpufrequency_min=300000000
    /dev/disk0s1 / hfs rw 0 1
    /dev/disk0s2 /private/var hfs rw 0 2

    Restarted, now I have this screen:

    IMG_0199.JPG

    I created a backup fstab on my desktop. But I need to access/edit files without iOS being really.... ON
    anyway I can access files without the phone being all the way on?

  2. #2
    What's Jailbreak?
    Join Date
    Aug 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default fstab issues
    @cybertron131

    Hello! I may have immediately found your mistake. You said that you changed the default fstab to the modified:

    /dev/disk0s1 / hfs rw 0 1
    /dev/disk0s2 /private/var hfs rw 0 2
    su
    alpine (Unless you changed it to something else.)
    sysctl -w hw.cpufrequency_max=750000000
    sysctl -w hw.cpufrequency=750000000
    sysctl -w hw.cpufrequency_min=300000000
    /dev/disk0s1 / hfs rw 0 1
    /dev/disk0s2 /private/var hfs rw 0 2


    However, the overclocking instructions you linked us to said to cange the fstab file to:

    su
    alpine (Unless you changed it to something else.)
    sysctl -w hw.cpufrequency_max=???000000
    sysctl -w hw.cpufrequency=???000000
    sysctl -w hw.cpufrequency_min=???000000
    /dev/disk0s1 / hfs rw 0 1
    /dev/disk0s2 /private/var hfs rw 0 2


    Your mistake my have been not removing the

    /dev/disk0s1 / hfs rw 0 1
    /dev/disk0s2 /private/var hfs rw 0 2

    from the file before editing it in the first place.

    Wrong:

    /dev/disk0s1 / hfs rw 0 1
    /dev/disk0s2 /private/var hfs rw 0 2

    su
    alpine (Unless you changed it to something else.)
    sysctl -w hw.cpufrequency_max=750000000
    sysctl -w hw.cpufrequency=750000000
    sysctl -w hw.cpufrequency_min=300000000
    /dev/disk0s1 / hfs rw 0 1
    /dev/disk0s2 /private/var hfs rw 0 2


    Right

    su
    alpine (Unless you changed it to something else.)
    sysctl -w hw.cpufrequency_max=???000000
    sysctl -w hw.cpufrequency=???000000
    sysctl -w hw.cpufrequency_min=???000000
    /dev/disk0s1 / hfs rw 0 1
    /dev/disk0s2 /private/var hfs rw 0 2


    Here is a picture of what the modified file should look like:

    image.jpg

    Hope this helped!

  3. #3
    Developer Matchstic's Avatar
    Join Date
    Mar 2013
    Location
    ~/iOS/Projects
    Posts
    423
    Thanks
    467
    Thanked 1,385 Times in 356 Posts

    First off, overclocking this way simply won't work. This is because fstab (short for FileSystem TABle) is only used on Unix systems like iOS to load the file systems stored on the internal drive, so sticking in shell commands as per those instructions will have no effect, and may cause iOS to not be able to mount any file systems, which is what has happened.

    Lecture over though to transfer your backup back, you can use msft.guy's SSH RAMdisk; just follow the instruction video on his blog post for it, and you'll be golden.

  4. The Following User Says Thank You to Matchstic For This Useful Post:

    The.Drifter (08-20-2013)

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts