[Q] How to re-enable journaling on EXT4? - Epic 4G Q&A, Help & Troubleshooting

I currently have journaling disabled, but I'm experiencing some data corruption that might be related, so I'd like to turn it back on, using tune2fs I guess.
Has anyone done this successfully without reflashing?
Thanks!

Its not a good idea but if uoi want an answer just do a backup in cwm and then restore from that backup and it enables journaling.
Sent From My Evo Killer!!!

I am currently in the process of looking for the commands to enable. I will post when I find them.

eater99999 said:
I currently have journaling disabled, but I'm experiencing some data corruption that might be related, so I'd like to turn it back on, using tune2fs I guess.
Has anyone done this successfully without reflashing?
Thanks!
Click to expand...
Click to collapse
So tired of having to reflash after dropping my phone or whatever. Gives me force closes on evvvverything each time I do it. Totally sucks the benefits of disabling journaling definitely do not outweigh the negatives.
cd's or tapes?

What gives you better performance? Journaling or not?

Journaling = more data writes = less performance

Exactly- its better for your phone to have journaling disabled.
fastmikey1969 said:
Journaling = more data writes = less performance
Click to expand...
Click to collapse
Sent From My Evo Killer!

musclehead84 said:
Exactly- its better for your phone to have journaling disabled.
Click to expand...
Click to collapse
Until you have an unexpected shut down and data corruption.

Even if you turn it back on using tunefs it will require a format.. just like when you turn it off it requires a format.. but formatting alone turns it back on, so just back up and format then restore and its back on...
Sent from my SPH-D700 using XDA App

What does journaling really do?
My girlfriend has this disabled on her epic and she says her internet sucks. Does journaling have anything to do with this?
Sent from my SGH-T959 using XDA App

musclehead84 said:
Exactly- its better for your phone to have journaling disabled.
Sent From My Evo Killer!
Click to expand...
Click to collapse
I drop my phone a lot... battery is constantly falling out. Sucks when I have to reflash every time I drop it cause my phone force closes.. you know?
cd's or tapes?

RoZm X said:
What does journaling really do?
My girlfriend has this disabled on her epic and she says her internet sucks. Does journaling have anything to do with this?
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Short answer no, nothing to do with internet connection.. just disk writes..
Sent from my SPH-D700 using XDA App

I would prefer to have journaling enabled. I don't think the speed difference is worth the extra exposure to data corruption. Especially when I have a tendancy to drop my phone and have the battery pop out, or forget to dismount the drive when uplugging from the computer .
Is there an easy way to check to see if journaling is enabled (or disabled) on your phone? I am willing to try formatting the card, but I would like to be able to verify the results.

if your worried about data corruption just do what I do.
Set titnaum backup to automatically back everything up at 3am(choose the time best for you). If you ever suffer from corruption just restore data from the night before
Sent from my SPH-D700 using Tapatalk

SamTime said:
Is there an easy way to check to see if journaling is enabled (or disabled) on your phone? I am willing to try formatting the card, but I would like to be able to verify the results.
Click to expand...
Click to collapse
Open a terminal and run the following commands:
su -c ash
mount | grep ext4
(note the names of the devices /dev/block/stl**)
tune2fs -l /dev/block/stl** | grep features
(If a journal is present it will say "has_journal")
I'm with you that a journal should always be used. For better performance data writeback mode can be enabled using tune2fs but with a greater risk of data loss.
Sent from my SPH-D700 using XDA App

chris41g said:
Even if you turn it back on using tunefs it will require a format.. just like when you turn it off it requires a format.. but formatting alone turns it back on, so just back up and format then restore and its back on...
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Which data to format? In CWM there is:
boot
system
data
cache
sdcard
sd-ext
I am thinking it should be just format, boot, system, data, and cache, correct?

stilesja said:
Which data to format?
Click to expand...
Click to collapse
Run the following in a terminal:
mount | grep ext4
Format the partitions listed. The mount points should be system, data and cache.
Sent from my SPH-D700 using XDA App

Anyone try this yet? Not that I don't believe that it works.
curvatura99 said:
Run the following in a terminal:
mount | grep ext4
Format the partitions listed. The mount points should be system, data and cache.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse

fastmikey1969 said:
Anyone try this yet? Not that I don't believe that it works.
Click to expand...
Click to collapse
Worked for me.
No journaling is a bad idea on a PC, I don't see how a phone would be different... the microseconds that you gain by turning it off isn't worth it.
Sent from my SPH-D700 using Tapatalk

Exactly. Apparently mysteryemotionz has the perfect epic that never random reboots. This is the only thing keeping me from using some of the better ext4 only roms like Bonsai. Even when I shut my phone down properly, upon reboot everything is corrupted. I don't want to have another app running that I dont need to just because somebody thought it was a good idea for us to let our phones rape themselves just to save CPU cycles.
Sent from my SPH-D700 using Tapatalk

Related

How to fix damaged sd card?

CM 7 with SZ, sometimes the screen does not turn on so I have to battery pull. When I start it up again, CM 7 says I have a damaged sd card that needs to be formatted. I have a lot of data on it (its a 32 gb card).So I ignore it. But sometimes I can see it if I try to mount it. Sometimes the camera does not recognize it, but Root Explorer will. Sometimes it says blank sd card. Always different.
Any way to fix it without deleting all data?
Sent from my PC36100 using Tapatalk
issafram said:
CM 7 with SZ, sometimes the screen does not turn on so I have to battery pull. When I start it up again, CM 7 says I have a damaged sd card that needs to be formatted. I have a lot of data on it (its a 32 gb card).So I ignore it. But sometimes I can see it if I try to mount it. Sometimes the camera does not recognize it, but Root Explorer will. Sometimes it says blank sd card. Always different.
Any way to fix it without deleting all data?
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
I could be mistaken, but I could've sworn that is a bug in CM7 that affects a few people. I believe the card is actually fine, and its a bug in the rom.
Sent from my PC36100 using XDA App
Try reflashing the Rom and kernel, and/or save your data to your computer and format the card then put your data back on your sd card
Tower, this is SkyRaider requesting a fly-by...
k2buckley said:
I could be mistaken, but I could've sworn that is a bug in CM7 that affects a few people. I believe the card is actually fine, and its a bug in the rom.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
More information please
Sent from my PC36100 using Tapatalk

[Q] Screen turns on randomly

Hello everyone... I come to you with a rather annoying problem. I am running Calkulin's latest GB rom: http://forum.xda-developers.com/showthread.php?t=1332837 and it happens at the lock screen. My phone's screen will be off and then every so often it'll randomly turn on. It doesn't do it constantly, but enough to be obnoxious. Does anyone else have this issue? I use WidgetLocker Lockscreen (paid for), but it does it with the standard lockscreen as well.
Thanks in advance!
Try uninstalling widget locker and see if the problem is still present? It could also be a setting in widget locker!
davidstjohn1 said:
Try uninstalling widget locker and see if the problem is still present? It could also be a setting in widget locker!
Click to expand...
Click to collapse
I uninstalled WidgetLocker and rebooted my phone and it hasn't done it just yet, so we'll see how it goes. Thanks. Too bad though, I like that program D:
Edit: It's doing it again without WidgetLocker :\
Try wiping cache & davlik. If that doesn't work, then try fix permissions in recovery too.
Edit: Could be an app waking the phone too. Have you tried turning off sync or freezing apps yet?
Sent from my SPH-D710 using XDA
tdunham said:
Try wiping cache & davlik. If that doesn't work, then try fix permissions in recovery too.
Edit: Could be an app waking the phone too. Have you tried turning off sync or freezing apps yet?
Sent from my SPH-D710 using XDA
Click to expand...
Click to collapse
Not yet, I'll give that a shot if the wiping cache, davlik, and fixing permissions doesn't work. Here's hoping! I have titanium backup pro so I can freeze apps... I know a few things sync like google calendar.
EDIT: Still does it ;-;
Which apps should I freeze?
It might be overkill, but you could just back up texts, calls, and apps, then reflash your rom or try another. Just do a fresh install, don't restore data with your apps. It might be the quickest means to an end. Also, if it does it on multiple roms, it's possibly an issue with the power button. Give her a squirt of canned air before you go running off to the sprint store. Good luck!
Sent from my SPH-D710 using Tapatalk 2
Atticuspoint6 said:
It might be overkill, but you could just back up texts, calls, and apps, then reflash your rom or try another. Just do a fresh install, don't restore data with your apps. It might be the quickest means to an end. Also, if it does it on multiple roms, it's possibly an issue with the power button. Give her a squirt of canned air before you go running off to the sprint store. Good luck!
Sent from my SPH-D710 using Tapatalk 2
Click to expand...
Click to collapse
Going to give this a shot, I don't have anything to lose. :x I don't have the zip file at work, but I'll download it and see how it goes. :3 Thanks. I'm trying my restore point from before I ever installed a custom ROM to see how that works first, though.
Go SMS had this under settings if you use that app
Sent from my SPH-D710 using xda premium
Atticuspoint6 said:
It might be overkill, but you could just back up texts, calls, and apps, then reflash your rom or try another. Just do a fresh install, don't restore data with your apps. It might be the quickest means to an end. Also, if it does it on multiple roms, it's possibly an issue with the power button. Give her a squirt of canned air before you go running off to the sprint store. Good luck!
Sent from my SPH-D710 using Tapatalk 2
Click to expand...
Click to collapse
I had to reflash and reinstall without data restoring on all my apps. I restored a few key apps data and now it's not doing it again. Too bad I had to go to such extreme measures thoguh.
fryingpan0613 said:
Go SMS had this under settings if you use that app
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
I use Go SMS Pro, but I don't know what you're talking about, sorry...
My wifes phone started doing that after I installed ad away... My guess is every time it blocked an air push ad it momentarily woke up. We also thought it might be a locker app or a recent update but removing ad away did the trick. Shame cause it works at killing ads.
Sent from my SPH-D710 using xda premium
I believe there is a wake on notifications option too. See if you can find that and make sure it is turned off
Sent from my SPH-D710 using Tapatalk 2
CyberpodS2 said:
My wifes phone started doing that after I installed ad away... My guess is every time it blocked an air push ad it momentarily woke up. We also thought it might be a locker app or a recent update but removing ad away did the trick. Shame cause it works at killing ads.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Ha, that was it I bet. I removed the app before letting it set up this time. Haha, thanks.
Mac of York said:
Ha, that was it I bet. I removed the app before letting it set up this time. Haha, thanks.
Click to expand...
Click to collapse
Most of the rom developers will implement ad blocking in their rom build. I know for a fact that Calkulins' use it. So you don't need to install anything else.
Sometimes they list that info on their OP.
tdunham said:
Most of the rom developers will implement ad blocking in their rom build. I know for a fact that Calkulins' use it. So you don't need to install anything else.
Sometimes they list that info on their OP.
Click to expand...
Click to collapse
Right right, I haven't had any issues since reflashing and everything... I had everything important backed up and I restored bit by bit and it's still doing well. I like the nice, clean feeling now Thanks for all of the help everyone.
And I read his OP but I guess I forgot ;-;
Mac of York said:
I had to reflash and reinstall without data restoring on all my apps. I restored a few key apps data and now it's not doing it again. Too bad I had to go to such extreme measures thoguh.
I use Go SMS Pro, but I don't know what you're talking about, sorry...
Click to expand...
Click to collapse
It has a setting where it will turn the screen on everytime you get a text like the iphone does. It doesnt sound like that is your issue though considering the way you say it happens randomly and you didnt mention anything about it happening when you get texts.
rbtrucking said:
It has a setting where it will turn the screen on everytime you get a text like the iphone does. It doesnt sound like that is your issue though considering the way you say it happens randomly and you didnt mention anything about it happening when you get texts.
Click to expand...
Click to collapse
Yeah, I disabled that option in my new flash, thanks though for the input.
rbtrucking said:
It has a setting where it will turn the screen on everytime you get a text like the iphone does. It doesnt sound like that is your issue though considering the way you say it happens randomly and you didnt mention anything about it happening when you get texts.
Click to expand...
Click to collapse
This is what I was referencing, and you said you didn't know what I was talking about lol
fryingpan0613 said:
This is what I was referencing, and you said you didn't know what I was talking about lol
Click to expand...
Click to collapse
:x Sometimes I'm totally scatterbrained, sorry D:

[Q] JB Media Server Drain

Hi everyone,
I just updated to JB and noticed that Media server (66% usage) has been keeping my phone awake for the entire time (4 hours). Is there any fix to this? It's running hot and draining 10% per hour (and it's been idle).
Disable it? uninstall [root]?
Fidyyuan said:
Hi everyone,
I just updated to JB and noticed that Media server (66% usage) has been keeping my phone awake for the entire time (4 hours). Is there any fix to this? It's running hot and draining 10% per hour (and it's been idle).
Click to expand...
Click to collapse
It's always recommended you so a factory reset after any update. That should fix it.
The thing is though, I wiped everything, installed the update using ODIN, wiped that and then flashed the Black Jellybean rom. :/
Look at whsts under media server in batt stats.
Go in app manager and clear data for each one. Reboot and give it at least 5 min to rebuild library.
Prob need to clear data for these
com.sec.android.providers.downloads
Download (both)
Media Storage
Sent from my SGH-T999 using xda app-developers app
strangely enough there isn't anything under media server.it's been keeping my phone on now for 7 hours. I'll give your suggestion a try.
Sent from my SGH-T999 using Tapatalk 2
try flashing a different rom , paranoid android doesn't have that issue
Fidyyuan said:
strangely enough there isn't anything under media server.it's been keeping my phone on now for 7 hours. I'll give your suggestion a try.
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
What version of what kernel does this issue occur on? In October, the CM10 builds had issues with media server drain that coincided with kernel commits. 3.0.46 or 47 i think had those issues.
I assume its the official JB update, not a custom rom.
Sent from my SGH-T999 using xda app-developers app
DocHoliday77 said:
I assume its the official JB update, not a custom rom.
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
this issue is a JB issue. it does the same thing on my xoom. unfortunately, i have no idea how to fix it
mrmako777 said:
this issue is a JB issue. it does the same thing on my xoom. unfortunately, i have no idea how to fix it
Click to expand...
Click to collapse
Just clear data on Media Storage app
Sent from my SGH-T999 using Tapatalk 2
digidep said:
Just clear data on Media Storage app
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
Requires more than that. Media Storage usually isnt the primary culprit. See my post towards top.
Sent from my SGH-T999 using xda app-developers app
I've been having this issue for a while now on Frosty. I tried what Doc mentioned earlier, but it doesn't seem to work after restarting my phone. The only way I can stop it from draining is to go into battery and stopping the process.
Sent from my SGH-T999 using xda premium
If that didnt help, the next step is to factory reset and reflash.
If that doesn't work then itll be something on your sdcard causing it to hang/wig out.
It may be a corrupt media file, or just something on there it thinks is media and when it attempts to load its info into library it screws up. Im just guessing at this part, but if you do a complete clean install, all thats left is your sd data.
Youd need to backup, and reformat the sdcard most likely.
Sent from my SGH-T999 using xda app-developers app
DocHoliday77 said:
If that didnt help, the next step is to factory reset and reflash.
If that doesn't work then itll be something on your sdcard causing it to hang/wig out.
It may be a corrupt media file, or just something on there it thinks is media and when it attempts to load its info into library it screws up. Im just guessing at this part, but if you do a complete clean install, all thats left is your sd data.
Youd need to backup, and reformat the sdcard most likely.
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
This wont help in my experience. I intentionally reflashed everything last night and left my sd card out, and it still does it
I've done tons and tons of experimenting with this issue over the past 24-48 hours and I was able to come up with a solution that worked for me. I examined the external.db file which is located in /data/data/com.android.providers.media/ and noticed that it scans all files on internal SD and Micro SD right after each reboot. I had a 1.6gb titanium backup folder on the Micro SD which was taking the scanner a lot of time to get through so I copied that to the PC and deleted it from my phone.
I also got rid of a whole bunch of other unneeded files like roms that were just sitting around taking up space. So now instead of my phone running max CPU utilization for 10-15 minutes after reboot, it only does it for about 1-2 minutes and settles down.
Thats normal behavior for it. Naturally the more data you have the longer it takes to scan. 10-25mins is longer tgsn I believe it hss to be, but the issue a lot if people are having is this process will continuously run forever! Causing 10-15% power drops in less than an hour!
All I know for certain is the couple of suggestions I posted in here have worked for others ive helped in the past, the first one I mentioned seems to work most often and has worked a few times for me. Obviously they dont always work for everyone. I just wish we could figure out the exact cause!
Sent from my SGH-T999 using xda app-developers app
This is a problem that ruined my experience with the JB leaks since I've never had this problem on CM10. I hope it's as easy as releasing a patch.
Sent from my SGH-T999 using xda app-developers app
Jigga0o7 said:
This is a problem that ruined my experience with the JB leaks since I've never had this problem on CM10. I hope it's as easy as releasing a patch.
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
I FOUND A FIX! Apparently, I had 300 mp3s that needed fixing so I ran a program "Mp3 Scan + Repair", fixed all my mp3s and put it back on my sd card. Also, I removed all m4as and converted them into mp3s. This was a suggestion for how to handle mediaserver issues from ICS so I was surprised it worked for JB
Fidyyuan said:
I FOUND A FIX! Apparently, I had 300 mp3s that needed fixing so I ran a program "Mp3 Scan + Repair", fixed all my mp3s and put it back on my sd card. Also, I removed all m4as and converted them into mp3s. This was a suggestion for how to handle mediaserver issues from ICS so I was surprised it worked for JB
Click to expand...
Click to collapse
Awesome dude. I also read somewhere that the CFQ I/O scheduler has more of an issue w/ media scanner than others. I'm not sure how true that is, but lately I've been running 2ghz as max speed w/ SIO for I/O Scheduler & interactive governor along w/ the other things I've done and I get less than 1 minute of CPU trashing after each reboot. I will have to try that program though to see if it can get me down to zero.

(Q) Lookin to get a task killer any suggestions?

Sent from my SGH-T999 using xda premium
MikeJennni said:
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
yes, i have one, don't waste your time with them. let your RAM disk do clean up for you. your phone is fast enough that you should need a task killer. task killers are soooo two years ago
but in all seriousness, you don't need one bud. just use your device it will be fine without one :good:
Well when I used to have on it would say it killed 35 apps or so everytime I pressed it. I should just do nothing?
My ultimate goal was to cut down on battery usage by not letting them run???
Sent from my SGH-T999 using xda premium
MikeJennni said:
Well when I used to have on it would say it killed 35 apps or so everytime I pressed it. I should just do nothing?
My ultimate goal was to cut down on battery usage by not letting them run???
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
you'll be alright without it man, trust me. i haven't used a task killer since i had my samsung moment and never needed one. battery life is great on this thing, and performance with be there.
Leave it alone. Search on Google you'll find detailed reasons why task killers are useless, even harmful if not used with caution. Android is smart enough to do it on its own.
Sent from my SGH-T999 using xda premium
Like everyone else says. Task killer is no no ^-^
But what I actually love and use, is startup manager. It allows you to choose which programs run at boot. You just have to be rooted. It cut my boot time in half and saves a lot of resources by not having random things running that you don't need. And I don't notice a difference in the time it takes to open those disabled programs either.
Sent from my SGH-T999 using Tapatalk 2
Yeah.... Don't get one. And tell all your friends that probably told you to get one to Uninstall theirs.
Sent from my SGH-T999 using xda app-developers app
Kinda hijacked and off topic but what about CACHE cleaners? or something to remove web/apps cache, recommendations?
1slow4G said:
Kinda hijacked and off topic but what about CACHE cleaners? or something to remove web/apps cache, recommendations?
Click to expand...
Click to collapse
Those are good. its like "rebooting" but without rebooting. Pick whichever gets good reviews.
1slow4G said:
Kinda hijacked and off topic but what about CACHE cleaners? or something to remove web/apps cache, recommendations?
Click to expand...
Click to collapse
Cache cleaner NG is the best one. Just don't use the "old cleaning method" because it will hang on you. I also like this app because you can set time intervals on the clean up process. I always have mine run late at night when I'm sleeping. Just wake up with a notification to clear with details on how much it cleaned up
And IMO disabling apps is a waste of time. I prefer just going in and deleting them manually and wiping dalvik cache because it frees up storage space in your system and data directory. Just a cleaner way to do it I think. But either way works.
cobraboy85 said:
Cache cleaner NG is the best one. Just don't use the "old cleaning method" because it will hang on you. I also like this app because you can set time intervals on the clean up process. I always have mine run late at night when I'm sleeping. Just wake up with a notification to clear with details on how much it cleaned up
And IMO disabling apps is a waste of time. I prefer just going in and deleting them manually and wiping dalvik cache because it frees up storage space in your system and data directory. Just a cleaner way to do it I think. But either way works.
Click to expand...
Click to collapse
Thanks for the app cobraboy85! And if you are talking about disabling apps via the startup manager, it actually does help. I do delete apps i dont use. But for things i do use but dont want running (ie Spare phone, youtube, google voice, tapatalk) i remove from being started at boot and then they dont run until i run them and i always completely exit them when done.

Phone reboots

Phone is rooted with stock rom with just stock apps. I have been noticing that once I am in any app phone will freeze and it will reboot.
I checked the battery its not hot so dont know whats causing the reboots , its driving me nuts ..
Sent from my SPH-L710 using xda app-developers app
smartguy10 said:
Phone is rooted with stock rom with just stock apps. I have been noticing that once I am in any app phone will freeze and it will reboot.
I checked the battery its not hot so dont know whats causing the reboots , its driving me nuts ..
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
Sounds like some corrupt data somewhere. If it were me, I'd do a clean wipe and reflash.
wipe data, partition cache and dalvik cache. flash the stock rom.
Ok will do . Lets hope its not a defective phone
Sent from my SPH-L710 using xda app-developers app
smartguy10 said:
Ok will do . Lets hope its not a defective phone
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
I had a similar issue with one of my phones.. It ended up being a defective phone, and this was after it was rooted.. My wife's phone also rooted never had a issue.. If you feel it is defective after trying the above, flash back to full stock, and return it. Tell Sprint you are invoking your Samsung Warranty.. Sprint will always try to get you to use your insurance, which is bullpoop..
Phone is outside the return period so either it gets replaced by samsung or Sprint
Sent from my SPH-L710 using xda app-developers app
If you have a SD Card - you might want to remove it to see if that helps as well. borked sd cards can cause the phone to act rather weird. I hope its just a simple fix.
jdelano said:
If you have a SD Card - you might want to remove it to see if that helps as well. borked sd cards can cause the phone to act rather weird. I hope its just a simple fix.
Click to expand...
Click to collapse
Thats true. I've seen that happen several times
Try just reformatting your sdcard if you have one: back it up to your computer, format your sd, then restore all your files
Sent from my PG06100

Categories

Resources