kswapd0 sucking up CPU - Vibrant Q&A, Help & Troubleshooting

Just as it looks like. I have a Samsung Vibrant with Nero 2.2. Watchdog reports kswapd0 routinely sucking 50% or more of my CPU with both the kernel Nero comes with and Voodoo. What would cause this and how can I fix it?
Sent from my SGH-T959 using XDA App

Would love to see a response to this as I am having the same issue. Its eating up battery life.

Hmmm it might be the kernel
Sent from my GT-I9000 using XDA App

I also had this - huge slowdowns, phone always hot, plenty of Watchdog alerts. Few different kernels, don't recall all that I tried. I can tell you that it doesn't happen anymore on Blackhole 1.1 w/ JK6 modem and "Eugene's B series #20 kernel." I haven't been keeping up lately, that's quoted straight from ROM Manager.

I am having the same problem. I read that it is to do with the Linux base which voodoo uses. I am using voodoo kernel but not really sure how to go about replacing it with something as good but without this battery raping problem.

boarder.2k9 said:
I am having the same problem. I read that it is to do with the Linux base which voodoo uses. I am using voodoo kernel but not really sure how to go about replacing it with something as good but without this battery raping problem.
Click to expand...
Click to collapse
having the same problem with Darky rom on the Captivate and speedmod kernel
is this process just present in all ext4 enabled kernels?

Kagoshema said:
having the same problem with Darky rom on the Captivate and speedmod kernel
is this process just present in all ext4 enabled kernels?
Click to expand...
Click to collapse
it may be present, but on my voodoo its doing nothing more than what it should.
theres nothing thats making any service act up, it might be the kernel.
change to voodoo, its da best.

I'm on a captivate using a voodoo kernel having the same problems, this definitely seems to be a galaxy s problem. I'm read that changing the kernel paging size with the touch command to 10 instead of default 100 can help prevent this, I saw that solution on a centos forum though so it may or may not apply to android. I might try it out later after I take a backup. this post might be talking about the same thing, though the poster claims to not be a kernel hacker /shrug
EDIT:
Tried "busybox sysctl -w vm.dirty_ratio=10" and didn't see a difference. Then I set it to 5 and rebooted and swapd0 hasn't gotten higher than like 5%. I still see it somewhat often but never too high. Maybe setting it to 10 would keep it from coming up so often but so far I'm happy :-D
Re-EDIT:
Took a few hours but eventually want back to constantly seeing kswapd0 again. I flashed a few rom and only my most needed apps and of course a theme and haven't seen it all day. Was worried it might be my theme (crysis revolution is worth the hassle it's amazing) but seems I got a rogue app somewhere. Gonna slowly install more apps every day and see if it comes up again.
Later....
Anyone else using QuickDesk? That's what was doing it for me. Installed it and kswap started acting up. Removed it and haven't gotten a single alert about it all day.

Hi guys,
I'm struggling with this problem too. I had it on Froyo 2.2, with Z4Mod or OCLF V2.2. Then I upgraded to 2.3.4 and flashed speedmod k15h.
The damned kswapd0 process still acts up, but I think I figured out the cause(don't have a fix yet, maybe someone who knows linux better can help us).
kswapd0 acts by transferring data from RAM to the SD Card when there's low memory. For example on my I9000, it starts doing that when things go under 10-8 mB of free RAM(Actual RAM, please install Galaxy Tuner and go to Memory Management to see the real figures divided by MemFree/Buffers/Cached).
For example, I had ~6500kb MemFree, then the CPU got to 100%; of course, kswapd0 worked it's "magic", and when it finished the MemFree got to ~26.000 kB.
Also, kswapd0 ceases to use the CPU if you Flush File Cache. So this is a memory handling problem.
I'll try to find a setting inside Galaxy Tuner to see if this solves the problem.
BTW, could Saiboogu, or anyone who had this problem give us the memory handling parameters they have now on their ROMs? We would need the File Cache control settings(SWP/VCP/DEC/DWC/DRA/DBR), and the Application Cache settings too(FA/VA/SS/HA/CP/EA). Maybe this will fix it, because I have no other explanation(and hope) right now.
Don't be afraid to chip in your oppinions, let's find a solution to this sucker(literally).

Are your Rooted? Probably so if you have OCLF installed. My bad. Ok download any terminal from the market and run these commands:
SU (hit enter and a SU permission will pop up-hit yes)
The $ will change to a #, then type
Busybox df -h (with a space between x and d and F and -)
I'd like to know that the read out says.
If it says what I think it will, then I might have a cause of the issue. Maybe not a solution but I am pretty sure I know what it is.

Who, me? I don't have OCLF, I'm running Gingerbread 2.3.4 XXJVQ + Speedmod Kernel.
Do you still want me to run the terminal command and let you know the response?

Yes you and sorry about that. I missed the "HAD" part of the sentence. The point really is are you rooted and can you please run the terminal commands and post them?

Woodrube said:
Yes you and sorry about that. I missed the "HAD" part of the sentence. The point really is are you rooted and can you please run the terminal commands and post them?
Click to expand...
Click to collapse
Code:
Busybox: not found
What the heck?! It's installed. 1.19.3.

Use your file explorer and go here /system/xbin and tell me if busybox is in there?

Yes, 233 files in the xbin folder.
Also, if I go into BusyBox, it says: Installed version 1.19.3.
And if I click install it says: BusyBox found (/system/xbin).
L.E. I reinstalled Busybox and it works, give me a sec to post it here.
L.L.E. - Here it is:

Ok then try it again
Open terminal and pull up your keyboard.
Type SU [enter]
then type busybox df -h [enter]
This will show how every piece of your phone is partitioned. kswapd0 is nothing more than a Swap file. Think of it as a holding zone for apps that you have running. Like this. You are in the XDA app and looking at things. Then you come across a file that has a link on it. You click on the link and it pulls up an address in your Browser. While the Browser is running, the XDA app is kicked to a SWAP partition so that it doesn't have to be restarted when you click out of the Browser, just "reinitiated" so to say.
Some ROMs/Kernels use SWAP, although most don't b/c Andorid does a pretty good job of task managment on its own. In the old days before you had 2.2, you could not move apps to your SD card without partitioning your SD card and using some ADB scripts to force install them on your SD-EXT partition. Your, say 8gb, SD card would look like this FAT 7gb, SD-ext600mb/ swap120mb. What would happen is that your apps would download from the market right into you SD-Ext partition and you would have nearly full internal memory b/c well nothing but /cache was taking space. Swap would help the app launching process and also task management.
So you say, why the heck is he telling me all this for? Because you have a rogue app that is going into your swap partition and not coming out. It is running in there all the time. Swap is for short bursts and when you back out of say the Browser from above, it would close and your XDA app would come out of Swap and back into "active".
Find the Rogue App and you'll fix your problem.
Edit:::Ok so while I was typing that you posted your screen shot. Same from above applies. You have a rogue app that isn't shutting down. Need to find it.
Sidenote::Your /system is almost totally full. You might be needing to get rid of some bloat here pretty soon or you will find that you won't be able to install some apps from the market. Plus I bet some of that bloat is running in the background eating up RAM and battery. You'll have to search for what is and isn't safe to remove.

So that means the Minecraft Demo and SVOX Language Pack are the rogue apps?(looking at my screenshot).
Will uninstall and Reinstall fix the problem? I don't really care about Minecraft, but I paid for Grace... Well, for her voice to be more precise.

Try using Titanium Backup Pro and "freeze" them before you uninstall. Bet those are the problems. Last time you played Minecraft, did you exit out of it? Bet it is still running in the back ground. Try the freeze and then see how yout CPU is working with one frozen or both.
Good luck and hit that thanks button. Kirk out!!

I uninstalled Minecraft(It doesn't show up in SU anymore). The thing is that I didn't even start it after the last reboot, so I have no clue how it got there.
I'll see if things shape up without uninstalling SVOX, then if not, I'll freeze it.
If this fixes it, you'll not only have thanks from me, but from all over the world!
Thanks! I'll let you know of the progress!

I uninstalled both apps, the SU report is "clean". Kswapd0 still shows up randomly eating CPU.
Can't we just turn off swap? Something like this: http://androidcommunity.com/forums/f4/how-do-i-disable-swap-34955/
Code:
su swapoff /dev/block/mmcblk0p3

Related

Market issue...

I am rooted and using the aloysius rom. I've been having trouble after the first time I downloaded something from the market...it just keeps hanging and not starting the download. Tried restarts and battery pulls, with no luck. Then I noticed a force close message for com.google.process.gapps. Searching around the net I found others with similar problems on other android phones, but had no luck there either. Their fix was to clear the cache for Gmail and Gmail storage, but this didn't work for me. Any ideas?
I had this issue, just wipe all your data and it should work.i know it's a hassle but it was the only way to get market to work again for me.
-------------------------------------
Sent via the XDA Tapatalk App
es0tericcha0s said:
I am rooted and using the aloysius rom. I've been having trouble after the first time I downloaded something from the market...it just keeps hanging and not starting the download. Tried restarts and battery pulls, with no luck. Then I noticed a force close message for com.google.process.gapps. Searching around the net I found others with similar problems on other android phones, but had no luck there either. Their fix was to clear the cache for Gmail and Gmail storage, but this didn't work for me. Any ideas?
Click to expand...
Click to collapse
Are you or have you recently started running a2sd? If so it sometimes breaks market. All you have to do (if you are running a2sd) is go to your adb command prompt and enter.
adb shell
cd system
cd bin
a2sd fixmarket
and just to be safe
a2sd clearcache or a2sd resetcache, then you should automagically reboot and the market issue should be resolved.
I tried the clearing the data thing and didn't make a difference, but yes, it probably had something to do with a2sd. I ended up switching to Legendary Kaos v17 since I just rooted the other day and am still having fun trying some different roms. This one seems to have all the stuff I need, so will probably stick with this one for a bit. Thanks for the advice though, it's still possible I might go back to it...
So, it happened with this one too. It must have something to do with some .apks I was deleting. I hate having all of these extra apps that I don't want, so was systematically deleting obvious stuff that wasn't useful like Twitter and the like. I'm not sure exactly which one causes this problem, but thinking maybe the browser... I got rid of it so I would only have one internet connection through Dolphin. Hmm...

I've rooted, ROM'd & OC'd...now what??

Hey all,
I've recently rooted and I'm loving it. Quick background, I've recently rooted using the erisuser1 tutorial at android forums (VERY VERY helpful thank you!). I demo'd a few different ROMs, and decided I really wanted to keep some SenseUI feel, so ended up with xtrSense 4.2. It's worked really well for me, but I may be trying more in the near future (recommendations are welcome!). After the load, I've also utilized SetCPU for OC'ing, which was the main impetus for rooting. Has that ever made a difference! However, the question remains, what next? First, there are a couple things I know I want to do...
1. Remove stock apps: xtrSense did a nice job of removing a lot of bloatware from the OS, but some still remain, i.e. Amazon MP3 and teeter. It seems the xtrSense ROM included scripts for use in GScript to remove these, but I have yet to get them to work when following the steps outlined in the xtrSense post here at XDA. Has anyone had success using this method? If not, shouldn't the mere fact that I have root give me access to removing these programs via another method? What other apps/processes are used to remove stock apps once root is achieved? Any help would be awesome.
2. A2SD, C2SD & C2C: Does anyone use these processes? If so, how has it been achieved? Again, it seems the xtrSense 4.2 ROM included scripts for use in GScript to added this functionality, but I have never seen an increase in internal memory after using the scripts. I have undertaken the prereq that is partitioning my SD card, and have yet to see any success. Have others been successful using this or another process to achieve A2SD, C2SD or C2C? If so, how? Also, are there any cons to doing any of these? Any help in this regard would be MUCH appreciated.
3. What have YOU done post-root? I'm very very happy with what root, ROM and OC has done for the speed and battery life of my phone. However, I'm certain there are a million more tweaks that can be done to improve the speed and user experience of this cool little device, and I would be love to hear what others have done to further enjoy using the Droid Eris. What are your recommendations? Feel free to let me know!
Ok, any help in these areas would be really appreciated. Thanks for reading through this long post, and know that I am also happy to share any knowledge in regards to the steps I have already taken to get to this point.
Thank you!
Make the rom your own! mess with the theme, install bootanimations, make your own boot.
Change the splash screen (skateboard screen) don't be afraid to mess with the system just make sure you do nandroid backups. Try to figure how to add the features by yourself, struggle with it a little, that's always fun. Follow a few tutorials, like when I was starting there wasn't much documentation on how to enable a2sd by changing the boot.img so I had fun figuring that out.
Hope this gives you a few ideas ;p
Edit: if you going to be messing with phone I would suggest adding a linux partition to your computer if you are a windows person. Makes your life easier no need to worry about drivers etc
Sent from my Eris using XDA App
Agree, wholeheartedly! I've been rooted since July, and have learned a lot using this forum. It's great to be able to change the boot logo screen, boot animations, etc. You can also improve battery life, increase speed, etc. After root, it's like having a new phone, and you have a greater sense of control over your device each time you learn something new. Have fun!
ckfalls said:
1. Remove stock apps: xtrSense did a nice job of removing a lot of bloatware from the OS, but some still remain, i.e. Amazon MP3 and teeter. It seems the xtrSense ROM included scripts for use in GScript to remove these, but I have yet to get them to work when following the steps outlined in the xtrSense post here at XDA. Has anyone had success using this method? If not, shouldn't the mere fact that I have root give me access to removing these programs via another method? What other apps/processes are used to remove stock apps once root is achieved? Any help would be awesome.
Click to expand...
Click to collapse
I don't know what to tell you, as removing stock applications with zach.xtr's Gscript process has always worked flawlessly for me. You may want to upgrade to the new xtrSENSE4.6 Beta that is out (you can find it by browser the more recent posts at the end of the xtrSENSE thread--Zach posted a link).
All I can say is that, when using Gscripts, make sure that you have "Needs SU?" checked. Aside from that, you just need to load Zach's scripts into Gscripts. After you load the scripts, have you pressed them? Just because you've loaded them into Gscripts doesn't mean they've run. You actually need to press on them to run them.
ckfalls said:
2. A2SD, C2SD & C2C: Does anyone use these processes? If so, how has it been achieved? Again, it seems the xtrSense 4.2 ROM included scripts for use in GScript to added this functionality, but I have never seen an increase in internal memory after using the scripts. I have undertaken the prereq that is partitioning my SD card, and have yet to see any success. Have others been successful using this or another process to achieve A2SD, C2SD or C2C? If so, how? Also, are there any cons to doing any of these? Any help in this regard would be MUCH appreciated.
Click to expand...
Click to collapse
I've used all of them at various points in time--I used to use A2SD and C2SD, but ever since C2C was developed I've had no need. In xtrSENSE4.2, I'm pretty sure C2C is enabled by default. So, you don't need to worry about it UNLESS you're running low on disk space. If you're running low, how many apps do you have installed (you should be able to store ~100 with C2C)?
ckfalls said:
3. What have YOU done post-root? I'm very very happy with what root, ROM and OC has done for the speed and battery life of my phone. However, I'm certain there are a million more tweaks that can be done to improve the speed and user experience of this cool little device, and I would be love to hear what others have done to further enjoy using the Droid Eris. What are your recommendations? Feel free to let me know!
Click to expand...
Click to collapse
My recommendation would be NOT to use SetCPU. I've found that running both of Zach's Gscripts for Max and Min CPU Speed has worked better--you won't need to wait for SetCPU to load up, be granted Superuser Permission, and then adjust your clock settings on boot. Plus, you'll have one less process running at all times, increasing performance.
Additionally, you may want to take a look at the xtrSENSE4.6 Beta that I mentioned previously. New, in that version, is the first ever inclusion of Collins_ph's Battery Tweak. Previously, it could only be used with Froyo ROMs. Enabling and configuring the utility will increase battery life because it gradually turns down the speed on your processor proportionally as your battery drains.
In terms of making the ROM "your own," I'd take a look in the Theme's thread. I can't provide you a list of everything that will work on xtrSENSE, but I can confirm that both the Minimal Matte Grey and Touch of Legend MetaMorph Themes do work for xtrSENSE. Also, you may want to check out LauncherPro (Plus), if you haven't already (www.launcherpro.com)... I absolutely love LauncherPro Plus, but I'm not "actively" using it. I'm really waiting on Fede to develop acceptable Photo and Music widgets to replace HTC's Sense Widgets (if anyone has suggestions on existing replacements, please let me know...). Having said that, I run a secondary "experimental" ROM on weekend--I run xtrROM with LauncherPro Plus. If you do decide to use LauncherPro, then I'd really recommend taking a look at xtrROM verses xtrSENSE.
Also, if you're a Sense fan, you might want to check out the newest version of KaosLegendary, V18. This is a port of a Tiawanese leaked version of HTC's forecoming Wildfire Sense UI. This is an Alpha Build at the moment and there are a few nagging issues, but it's neat just to use for half a day on the weekend to see how Froyo Sense will eventually pan out.
Finally, take a look at some of the Froyo ROMs that are built around CyanogenMod 6.0 (e.g. CELB Froyo; KaosFroyo; Tazz Froyo; and I think ShadowROM). Maybe you'll find that you like CyanogenMod better than Sense and stick with that?
Good luck!
P.S. In the future, you're probably better off posting something like this in the Q&A section.
I highly reccommend downloading Titanium and running a batch back up of all your apps and data. When you flash a new rom you can download Titanium again and restore your apps and settings (saves a lot of time if you become a flashaholic). Also grab Root Explorer. It's an app that allows you to access your sd card and your rom system. Wana change your boot animation? Save the file to your sd, open Root Explorer, copy it from the sd to data/local and reboot. Same goes for stock apps. Locate them and delete. Another valuable app is a terminal emulator. Open it up, type SU to obtain superuser permission, then a2sd check. This will tell you if a2sd is functioning correctly. Type a2sd help for a list of commands to use if it's not working.
Always Nand back up and you can flash any rom you want, play with it, screw it up, who cares....nand restore and you're back to point A. I highly reccommend trying a few Froyo roms. You'll need to partition your sd back to all fat32 or it wont recognize it. Froyo is faster than 2.1 and has a stock (somewhat different) a2sd. KaosLegendary is the only current Froyo rom with sense but it's fun to play with. WARNING - many users have bricked their phones using Clockwork. Some people love it but I'm afraid of it.
If you haven't already, try ADW or Launcher Pro. Once you decide you hate one and love the other (this will happen), you wont even miss sense.
Also download Metamorph and Busybox. You'll need these to theme your rom of choice (unless you find a flashable theme).
Now, put your phone down, get back to work, and for God's sake tell your wife you love her. You haven't even talked to her in weeks!!
Sent from my nonsensikal froyo using XDA App
joshw0000 said:
I highly reccommend downloading Titanium and running a batch back up of all your apps and data. When you flash a new rom you can download Titanium again and restore your apps and settings (saves a lot of time if you become a flashaholic).
Click to expand...
Click to collapse
Great post! +1 on Titantium Backup and Root Explorer--I use both.
Just a note: With Titanium Backup, I recommend scheduling it to backup both Apps + System Data and syncing it with Dropbox. This way, if something should happen, like your SD Card becomes corrupt and you can't Nand Restore, you'll be able to reflash your current ROM and Restore all Apps + System Data, since you're having a scheduled backup taken and stored in your Dropbox folder as well.
Having said that, when flashing a NEW ROM or UPGRADING, remember to Restore "Apps + Data" but NOT to do the "Restore Apps + System Data." This will ensure that if the developer of your ROM has changed any system files, they won't be messed up. Sure, it'll take you 10-15 minutes to get your ROM the way you want (e.g. Home Screens, Systems Sounds, Notifications, etc.) but it's worth it to know that everything will work properly. Since your applications and their set up have nothing to do with the ROM, you can rest easily knowing that at least they'll come back configured as you left them for the most part.
KarateExplosion6 said:
Great post! +1 on Titantium Backup and Root Explorer--I use both.
Just a note: With Titanium Backup, I recommend scheduling it to backup both Apps + System Data and syncing it with Dropbox. This way, if something should happen, like your SD Card becomes corrupt and you can't Nand Restore, you'll be able to reflash your current ROM and Restore all Apps + System Data, since you're having a scheduled backup taken and stored in your Dropbox folder as well.
Having said that, when flashing a NEW ROM or UPGRADING, remember to Restore "Apps + Data" but NOT to do the "Restore Apps + System Data." This will ensure that if the developer of your ROM has changed any system files, they won't be messed up. Sure, it'll take you 10-15 minutes to get your ROM the way you want (e.g. Home Screens, Systems Sounds, Notifications, etc.) but it's worth it to know that everything will work properly. Since your applications and their set up have nothing to do with the ROM, you can rest easily knowing that at least they'll come back configured as you left them for the most part.
Click to expand...
Click to collapse
Perfectly explained, nice job sir. This should be in the rollup!! Too many people make the mistake of restoring sys data from a older rom to newer, have to watch that. Rollup
My article at http://jonsuh.com/2010/09/make-your-droid-eris-faster-smoother-and-increase-battery-life-how-to/ will give you a whole mess of ideas of what you can do post-root. Hope this article helps!
Remember, these are just my suggestions, they are not necessarily the law. Some may disagree with my suggestions, some may work well for you, other may not as well as one may think. They are just pointers to get you in the right direction
KarateExplosion6 said:
I don't know what to tell you, as removing stock applications with zach.xtr's Gscript process has always worked flawlessly for me. You may want to upgrade to the new xtrSENSE4.6 Beta that is out (you can find it by browser the more recent posts at the end of the xtrSENSE thread--Zach posted a link).
All I can say is that, when using Gscripts, make sure that you have "Needs SU?" checked. Aside from that, you just need to load Zach's scripts into Gscripts. After you load the scripts, have you pressed them? Just because you've loaded them into Gscripts doesn't mean they've run. You actually need to press on them to run them.
Click to expand...
Click to collapse
Ah, the tapping!! That did it. Also messed around (again) with titanium to get it to work, fig'd that out as well. Rookie mistakes...
KarateExplosion6 said:
I've used all of them at various points in time--I used to use A2SD and C2SD, but ever since C2C was developed I've had no need. In xtrSENSE4.2, I'm pretty sure C2C is enabled by default. So, you don't need to worry about it UNLESS you're running low on disk space. If you're running low, how many apps do you have installed (you should be able to store ~100 with C2C)?
Click to expand...
Click to collapse
Yes you're right C2C is default, I guess I'm just not certain if it's working. Apparently, there are two blocks on internal storage being used for apps in 4.2: /data/ and /cache/. I have 56mb free according to internal memory settings (/data/??) and 87.7 of 130mb used in /cache/ according to the report setting gscript Zach made. According to AppBrain I currently have 33 apps installed. 33 apps, ~100mb used already? Average of 3mb per app?? That just didn't seem right to me...maybe I'm just plain wrong. Opinions welcome!!
KarateExplosion6 said:
My recommendation would be NOT to use SetCPU. I've found that running both of Zach's Gscripts for Max and Min CPU Speed has worked better--you won't need to wait for SetCPU to load up, be granted Superuser Permission, and then adjust your clock settings on boot. Plus, you'll have one less process running at all times, increasing performance.
Click to expand...
Click to collapse
I may try that, although in full disclosure, my main reason for rooting and OC'ing was for running game console emulators. They run SO much better since OC'ing. I did try Zach's max out of the box (710 max?), but I find that my SetCPU main setting of 768,528 during normal usage makes operation even more smooth and especially works best when emulating. I want to OC even when battery is lowering until it gets to the condition threshold i set in SetCPU (amount or temp). But I still may try his scripts and lose SetCPU, thanks for the idea.
KarateExplosion6 said:
In terms of making the ROM "your own," I'd take a look in the Theme's thread. I can't provide you a list of everything that will work on xtrSENSE, but I can confirm that both the Minimal Matte Grey and Touch of Legend MetaMorph Themes do work for xtrSENSE. Also, you may want to check out LauncherPro (Plus), if you haven't already I absolutely love LauncherPro Plus, but I'm not "actively" using it. I'm really waiting on Fede to develop acceptable Photo and Music widgets to replace HTC's Sense Widgets (if anyone has suggestions on existing replacements, please let me know...). Having said that, I run a secondary "experimental" ROM on weekend--I run xtrROM with LauncherPro Plus. If you do decide to use LauncherPro, then I'd really recommend taking a look at xtrROM verses xtrSENSE.
Click to expand...
Click to collapse
So here's my questions with this: Don't apps like MetaMorph and Launcher run on top of everything that the ROM already has going on, thus adding another cumbersome running process to the already limited hardware? Wouldn't running this be akin to having two GUI's on the phone, or am I looking at this the wrong way? I'm assuming that's why you recommend switching to the more vanilla xtrROM, but maybe I'm off.
I also do badly want to try some additional ROM's once I have the time. The leaked Froyo with Sense ROM does sound intriguing and I may pursue that next.
Thanks for all the help, really appreciate the replies!
Will go the Q&A route next time too, thanks.
KarateExplosion6 said:
Great post! +1 on Titantium Backup and Root Explorer--I use both.
Just a note: With Titanium Backup, I recommend scheduling it to backup both Apps + System Data and syncing it with Dropbox. This way, if something should happen, like your SD Card becomes corrupt and you can't Nand Restore, you'll be able to reflash your current ROM and Restore all Apps + System Data, since you're having a scheduled backup taken and stored in your Dropbox folder as well.
Having said that, when flashing a NEW ROM or UPGRADING, remember to Restore "Apps + Data" but NOT to do the "Restore Apps + System Data." This will ensure that if the developer of your ROM has changed any system files, they won't be messed up. Sure, it'll take you 10-15 minutes to get your ROM the way you want (e.g. Home Screens, Systems Sounds, Notifications, etc.) but it's worth it to know that everything will work properly. Since your applications and their set up have nothing to do with the ROM, you can rest easily knowing that at least they'll come back configured as you left them for the most part.
Click to expand...
Click to collapse
Great thank you both! I will take both of these posts into account when using Titanium before I go further down the ROM rabbit hole.

Help me track down my Random Lockups :'(

I cannot find out whats going on with my phone. Ive tried 3 different roms, kernals, radios and settings and I cannot find whats going on with the phone. It locks up for the weirdest reasons at the weirdest time. I cant track down whats causing it, and it is completely random.
Heres a log cat Ive got from BAMF 3.0 RC1 stock kernal MR2
http://www.mediafire.com/?uxljp5prhzff8f7
and another
http://www.mediafire.com/?b9oc6x78ujk7axu
Please help... any ideas will help me out
BTW ive also tried all different kernal speeds and governers
Anytime i connect to usb for logcat it locks right away, and when I pull a logcat on the phone through a terminal emulator i get a the normal thread, but then one always pops up...
E/IPCThreadState (random numbers) failed to find cpu subsys
... any ideas?
http://pastebin.com/CLvMv5HC
^ During this logcat
First boot, fresh install of the new BAMF build 3.0 RC1. Phone is still running and responsive at this point. Ill try and get another when it locks
Didn't look as I can't on my phone but are you undervolting?
Sent from my ThunderBolt using XDA Premium App
joshnichols189 said:
Didn't look as I can't on my phone but are you undervolting?
Sent from my ThunderBolt using XDA Premium App
Click to expand...
Click to collapse
Im running the kernals supplied and without editing them it will still do it
Can you please re-up your logcat dumps and put them on something a bit more friendly like pastebin.com?
Also, what exactly are you doing when you dumped these logcats (both in the foreground and background), just to get an idea of what was going on your phone at the time.
Were these lockups happening on froyo as well?
yareally said:
Can you please re-up your logcat dumps and put them on something a bit more friendly like pastebin.com?
Also, what exactly are you doing when you dumped these logcats (both in the foreground and background), just to get an idea of what was going on your phone at the time.
Were these lockups happening on froyo as well?
Click to expand...
Click to collapse
Ill link them now in the OP
altimax98 said:
Ill link them now in the OP
Click to expand...
Click to collapse
as far as what i was doing..... nothing most of the time lol. most of the time it would lock on connecting to a PC, other times it wont wake up, then some of the times it will lock in the middle of scrolling through tapatalk or browser. its completely random and i can track it down
See if you can find out what process that is (2660) or whatever happens to be in the current error message. Process ID will probably change over time, but it's linked to some process on the phone.
You can find out about the current processes by typing:
Code:
ps
in the terminal emulator
EDIT: Just randrom things that might be causing problems, but cant say for sure:
The error you're getting I think happens when a process is in sync with another end and something more or less hangs up on it or goes out of sync so it can no longer find it. Pretty sure it's related to the davlik vm. If so, try going into recovery and clearing your normal cache and your dalvik vm cache under advanced. If that doesn't work...see below:
1) did you restore any data from previous roms/builds for this? Either previous GB ones or from froyo?
2) since it happens when connecting to the pc, it could be the htc hub crap that's causing the problem. If so, i would try disabling or removing the app, it's not that needed.
3) Are you using setcpu? It might be interfering with things.
Did you wipe data and cache prior to flashing? I've found a lot of my issues are corrected by wiping app data with Titanium b/u.
Well guys thanks for all the assistance. Ive tracked it down to being the speedtweak.sh script. Something just never quite worked right and whenever i would set the speed, governer or attempt a tweek it would then start the errors.
On the new 3.0 Build with the toolkit i dont need to manually go into the script and it seems to work fine. it may have been user error, or something just didnt jive with the phone...
although i still get the same cpu subsys error, but no locks so far

[Q] How to correct long startup times?

Hi, I have an AT&T atrix running the CherryPi ROM with stock kernel and I have been overall very happy with it aside from two kinks.
1. Boot time is very long (over a minute and half) despite having bloatware frozen and startup apps cut to a minimum.
2. I can't receive MMS messages at all.Never mind.
I'm not all that concerned with MMS, but I've been considering installing Faux's kernel in hopes of a performance boost. I don't really want to overclock, though. I fixed this with some APN changing... Still ridiculous that I went months without MMS though.
Could my ROM be at the root of my problems?
If not, what kind of a performance gain would I be able to get with the optimized 1ghz kernel?
Would I have to wipe any data to install a different kernel? I answered this one myself.
Thanks.
Edit: I installed the kernel (wiped cache and dalvik cache) and further cleaned on bloatware, still taking over a minute to boot.
All this points me to a new/final question. Would CM7 yield a significant performance boost (say, boot times under 1 minute) without overclocking? It did absolutely. I installed CM7 and Faux's stopgap 1ghz kernel (which did say something about EXT4), my phone now boots in 20 seconds. That's over a minute of improvement from what I originally had. Topic can be closed/marked as solved.
Format your Rom to ext4 and it will increase speed
http://forum.xda-developers.com/showthread.php?t=1282691
Thanks for the information!
I'm downloading the fingerprint scanner enabled CM7 and doing a fresh install of everything. Would this script have any wonky side effects? I am a noob to android, but not to partitioning and filesystems. I've never seen a conversion go well that wasn't FAT16 to NTFS....
Edit: Installed CM7. It's so fast, it has so many features that I have been wanting. Wow is all I can say lol.
Id like to know what I can do about this on my stock gb only rooted atrix. I don't want to unlock my bootloader or use any custom roms. My startup time is about 4 1/2 to 5 minutes from time I press power button to time everything is loaded. I have not uninstalled any bloat but have frozen all social apps and authenticators and live wallpapers. Any ideas?
Sent from my MB860 using XDA App
In order to make it Ext 4 you have to have bootloader unloked and rooted.firat install the rom or if you already have its ok too.flash faux 123 kernels(any of them you want)
Go to cwm(it better to use RomRacers latest) and wipe cache and dalvik.
Do a nandroid backup for good measure.
Once this is done you install the ext4 script zip and that's it.
Reboot and check it out.if you get FCs then uninstall the apps that are force closing and go to cwm and fix permissions,then reinstall apps.
this makes your phone realky nice and fast,honestly I didn't have any apps force closing you have to follow the directions in the thread.
You will see your nandroid backup was ext3 and now you're ext4
If you decide later on to wipe dalvik or chache it might revert it back to ext3 if so just simply run the scrip zip again hope it helped
There is a root app called Autostarts that I think you will find useful.
WiredPirate said:
There is a root app called Autostarts that I think you will find useful.
Click to expand...
Click to collapse
Optimize Toolbox works great also. Just that in the latest version the language is not English anymore, (should get updated sometime to fix this). Lucky I remember what all the icons do and can use it blind! Finding an older version of this app in English will work.
The most current "lite" version is in English. It doesn't have the auto optimizer, but you can still manage autostart apps and log boot times.
(I'm thrilled, by the way, CM7 is booting in 19 seconds with all of my old apps restored. This is like having a brand new phone. We can mark this as solved on my part.)
WiredPirate said:
There is a root app called Autostarts that I think you will find useful.
Click to expand...
Click to collapse
Im cautious to pay for an app that im unsure of and never used. Wish I could try it first.
Sent from my MB860 using XDA App
pre4speed said:
Im cautious to pay for an app that im unsure of and never used. Wish I could try it first.
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
I can understand that for sure. It does do exactly what it says and works great on the Atrix. But like was pointed out above there are other apps that do the job and potentially w/o the price tag, I just haven't used them and so I can't speak on them. I would try to get the English version of the app that was mentioned and see if that works first (if it's a free app?..)
WiredPirate said:
I can understand that for sure. It does do exactly what it says and works great on the Atrix. But like was pointed out above there are other apps that do the job and potentially w/o the price tag, I just haven't used them and so I can't speak on them. I would try to get the English version of the app that was mentioned and see if that works first (if it's a free app?..)
Click to expand...
Click to collapse
I have Autostarts also, and it does in fact work as stated. I have just come to like Optimize Toolbox instead, and yes, it's free.
The biggest reason I never gave OT a try is cause there are 4 dif versions of it in the market and also because the cover art used to be not in English, and now that I know the app itself isn't in English either I'm even more turned off of it. However I know it is a popular app cause it was requested for the root apps list and I added it. I guess I'm just too ethnocentric to get past the whole developed in a dif language thing..

ICS Collective BASE4

Okay so I took the plunge and installed my first ROM (ICS Collective Base4) among other things with my SGH-I717M (Bell). Everything went very well and here are the issues that despite reading over 500 pages in threads related to these issues, I have not been able to solve them (workarounds, sure). I'm hoping that others can confirm these glitches and whether or not they have been able to remedy them:
-Upon boot, "Unfortunately, the process com.android.phone has stopped". Annoying, but doesn't seem to affect anything. No workaround or solution.
-Baseband "unknown". Tried ODIN flash install AND coming from completely stock phone via CWM flash, neither has remedied this problem. Doesn't seem to affect anything so don't really care.
-Stock calendar application missing - really don't like some of the other calendars, but I can't seem to find the APK file in any other ICS ROM's out there, so I gave up on this. So workaround, no solution.
-Time zone wrong. Workaround is to deselect automatic network management and select the correct timezone. Reverts back to incorrect upon rebooting so apparently only a workaround and no solution.
-Upon booting setCPU max/min speeds are incorrect and you have to open the application for it to correct the speeds. Perhaps it's just the widget that's broken, but for now it's a workaround and I can't seem to figure out a solution. Quandrant benchmarks seem to indicate that if I don't do this, the performance is affected as if the speeds are 1242max/384min and not 1512max/384min.
-Phone freezes on "Power Off", have to hold power button - camera flash goes off and then restarts. Workaround seems to be to use terminal emulator or other applications to reboot, etc. Don't know if there's a solution to this.
-Wallpaper incorrectly zooms - workaround: market applications. No solution that I can find yet.
-Unrelated to the ROM, but V6 Supercharger - I can only get it to report 50% supercharged, even after modifying my services.jar file and following all "step 8" instructions (that was an undertaking!!!). Don't know what's up there, but maybe some of you super-techs have figured it out.
-Only 624MB of RAM available instead of 700MB+ with GB. Haven't heard anything about why this is, so no solution or workaround.
-Doesn't seem to be an ICS keyboard available? I think this can just be installed from the market but I haven't tried it so not sure.
I'm sure there's other things like with Swype, tethering, etc.. etc... that are not working but this is just what I've noticed within the last 8 hours of flashing and trying to set-up and configure. Any comments or helpful suggestions for a n00b like me?
Thank you for any and all feedback. Thank you to all the developers working hard on this fresh release to bring us a solid ROM!
Calender: http://dl.dropbox.com/u/569065/Calendar.apk
Remember, this is a leaked firmware, these bugs are within that leak itself and a few of these issues have been addressed (unknown baseband, etc..) And will be fixed when we release the actual full ROM. this is just the base we shared in the mean time. A few are still present likesome settings not sticking through boot, and the power menu hanging.
Ithink is ur phone acting weird. Only the setcpu speeds not sticking and issue about wallpaper which can easily be fixed by using quicpics are the two issues my phone had. Just dnt use any cpu controller i noticed phone goes to sleep when no cpu controller while when there is cpu controller screen off speed sticks to 384 or 192
Sent from my SAMSUNG-SGH-I717 using xda premium
studacris said:
Remember, this is a leaked firmware, these bugs are within that leak itself and a few of these issues have been addressed (unknown baseband, etc..) And will be fixed when we release the actual full ROM. this is just the base we shared in the mean time. A few are still present likesome settings not sticking through boot, and the power menu hanging.
Click to expand...
Click to collapse
Absolutely. And considering what I've read about previously leaked versions of Android over the years, this one performs like a champ. Can't wait to see what comes out next, but I figured from what I've read this one works well enough to go the distance and install. Thanks again collective!
Felinos11 said:
Ithink is ur phone acting weird. Only the setcpu speeds not sticking and issue about wallpaper which can easily be fixed by using quicpics are the two issues my phone had. Just dnt use any cpu controller i noticed phone goes to sleep when no cpu controller while when there is cpu controller screen off speed sticks to 384 or 192
Sent from my SAMSUNG-SGH-I717 using xda premium
Click to expand...
Click to collapse
Yeah, just thought I would put my experience out there if it helps anyone or if someone could help me lol. It's very likely some of these are isolated problems, but most of them are problems with the leaked version. I uninstalled setCPU because I think you're right, something likes to nom nom the battery when the screen is off.
Oh and here's something odd which I don't know if anyone else has experienced with ICS or GB, but Terminal Emulator doesn't allow me to type anything unless I capitalize each individual letter. Which of course is useless because it can't accept commands in caps. When I press any key in lowercase it's like I haven't done anything. I had to switch to the pen mode where I scribe each letter and then it puts lowercase letters in for me. Anyone know what's up with this?
This is probably not the best Rom to run for your first flash. I would try one of the official releases in the development thread, unless you are an official tester for The Collective...
Can't wait till they release an official ROM ...
Sent from my SAMSUNG-SGH-I717 using Tapatalk
mk2 love i see im a vr lover Mr helios
Sent from my SAMSUNG-SGH-I717 using XDA
Helios909 said:
Oh and here's something odd which I don't know if anyone else has experienced with ICS or GB, but Terminal Emulator doesn't allow me to type anything unless I capitalize each individual letter. Which of course is useless because it can't accept commands in caps. When I press any key in lowercase it's like I haven't done anything. I had to switch to the pen mode where I scribe each letter and then it puts lowercase letters in for me. Anyone know what's up with this?
Click to expand...
Click to collapse
I had that issue in GB... In ICS it seems to be intermittent- sometimes it just works others it doesn't...
And regarding the baseband, not sure about the Collective rom, but DAGr8's ICS rom displays the modem correctly on my Bell Note.
I also had the timezone issue- strangely enough when I disabled network time and timezone, I also stopped get random slowdowns and ANRs.
Sent from my SAMSUNG-SGH-I717 using XDA
We've got the baseband unknown issue fixed in the full ROM. We just haven't released it. Still working on a couple things before we're comfortable sharing.
Hi, here are my thoughts;
1. Flash a CWM ICS modem(fixed it for me). If you cant find a modem use Dagr8's inital version of the ICS leak, it will successfully flash the modem(unlike the initial collective version(post 501 thread). The main point is to ensure you have the correct baseband(should not say unknown).
2. For now, dont supercharge the ICS leak until you have a stable running OS.
3. After fixing the baseband unknown issue(#1), reflash the collective post 501 ICS rom. It is stable, and the cleanup of the bloat was started already.
4. After installing #3, factory reset your phone.
At this point you should have a bloated, but error free ICS on your computer. Make a CWM backup, install titanium backup, and rip out the junk APK's(widgets, samsung/att garbage). Doing this will provide longer battery life and better performance.
No other wipe scripts are needed.
Factory reset BEFORE flash. The cwm script in the zip itself formats /system and /cache before it writes anything.
And the baseband unknown thing isn't a big deal. Its not that you don't have a modem at all, everything still works you get mobile data, its just the os doesn't properly report it.
if you like what you got, i say sit tight, we're working on the full ROM. You won't be disappointed
studacris said:
No other wipe scripts are needed.
Factory reset BEFORE flash. The cwm script in the zip itself formats /system and /cache before it writes anything.
And the baseband unknown thing isn't a big deal. Its not that you don't have a modem at all, everything still works you get mobile data, its just the os doesn't properly report it.
I say if you like what you got, i say sit tight, we're working on the full ROM. You won't be disappointed
Click to expand...
Click to collapse
Would be cool if you guys could make a minimalistic style rom without all the makeup and cosmetics and focused on performance
We think its cooler to do BOTH
Cause the guys at Samsung must have left their seeing eye dogs at home when it came time to theme
most of us don't usually do minimalistic... once a stable rom gets out you can expect a variety of themes. Sit tight.
studacris said:
We've got the baseband unknown issue fixed in the full ROM. We just haven't released it. Still working on a couple things before we're comfortable sharing.
Click to expand...
Click to collapse
THanks Cris, thats all im waiting for to make the jump to ICS-----is the collectives official - unofficial ics dev thread.
Studacris said:
"We think its cooler to do BOTH
Cause the guys at Samsung must have left their seeing eye dogs at home when it came time to theme"
LOVE IT!... and CAN'T WAIT! Thank you for all you do... and have a few beers on me. PayPal confirmation number: 6RE28092GB801952P
fishing.laguna.madre
NoteI717
Powered by The Unofficial
Thanked you in the ROM threads, but again, very appreciated. Thank you.
Sit tight. what we got cooking is gonna be tasty
Same experience here
well done guys excellent base.... Having the same experiences as helios909...
Really looking forward to the the fully packaged version. Not experiencing problems with cpu speed set on boot.
Face unlock not work properly yet. Device hangs on reboot as reported. Auto update time bug exists. Baseband version unknown. Phone crashes on initial boot. But recovers.
New voice type engine is amazing. As demonstrated here.

Categories

Resources