Guest User

How to disable EXT4Journaling of Sd Card

a guest
Jul 27th, 2013
453
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. DO NOT FORMAT PARTITIONS AFTER YOU HAVE DISABLED JOURNAL, OTHERWISE JOURNAL WILL BE RE-ENABLED.
  2. 1. Partition SDcard according to http://forum.xda-developers.com/showpost.php?p=42928522&postcount=2
  3. 2. Download tune2fs from here http://forum.xda-developers.com/attachment.php?attachmentid=449491&d=1290696279. Extract the tune2fs binary.
  4. 3. Use Yannous Recovery only. I have not tested other Recoveries.
  5. 4. Reboot to recovery and connect phone to PC.
  6. 5. Open Terminal and type: adb push tune2fs tmp
  7. 6. Then type: adb shell
  8.  
  9. *********For SD-Ext*******
  10. 1.Type The Following commands in Order
  11. * e2fsck -f /dev/block/mmcblk0p2
  12. * tune2fs -O ^has_journal /dev/block/mmcblk0p2
  13. * e2fsck -f /dev/block/mmcblk0p2
  14.  
  15. 2.To verify if journaling has been turned off for the /sd-ext partition, enter the following command and makesure you do not see “has_journal” in the output:
  16. * tune2fs -l /dev/block/mmcblk0p2 | grep features
  17.  
  18.  
  19.  
  20. *********For SD-Data*******
  21. 1.Type The Following commands in Order
  22. * e2fsck -f /dev/block/mmcblk0p3
  23. * tune2fs -O ^has_journal /dev/block/mmcblk0p3
  24. * e2fsck -f /dev/block/mmcblk0p3
  25.  
  26. 2.To verify if journaling has been turned off for the /sd-data partition, enter the following command and makesure you do not see “has_journal” in the output:
  27. * tune2fs -l /dev/block/mmcblk0p3 | grep features
  28.  
  29. *********For SD-Cache*******
  30. 1.Type The Following commands in Order
  31. * e2fsck -f /dev/block/mmcblk0p4
  32. * tune2fs -O ^has_journal /dev/block/mmcblk0p4
  33. * e2fsck -f /dev/block/mmcblk0p4
  34.  
  35. 2.To verify if journaling has been turned off for the /sd-cache partition, enter the following command and makesure you do not see “has_journal” in the output:
  36. * tune2fs -l /dev/block/mmcblk0p4 | grep features
  37.  
  38.  
  39. 7. Thats all, JOURNAL is now disabled. REMEMBER DO NOT FORMAT THESE PARTITIONS AFTER YOU HAVE DISABLED JOURNALING.
Advertisement
Add Comment
Please, Sign In to add comment