Few Questions - XPERIA X10 Q&A, Help & Troubleshooting

Hello,
I would like to ask a couple of questions regarding x10 which has been tickling my mind for sometime.
1> Can anyone share their setcpu profiles for good battery and performance?
2> What exactly is Dalvik Cache? Why do we use it? and why does it have to be wiped for every rom installation. I'm personally interested to find an answer for this question.
Thanks for the help!

Neo said:
Hello,
I would like to ask a couple of questions regarding x10 which has been tickling my mind for sometime.
1> Can anyone share their setcpu profiles for good battery and performance?
2> What exactly is Dalvik Cache? Why do we use it? and why does it have to be wiped for every rom installation. I'm personally interested to find an answer for this question.
Thanks for the help!
Click to expand...
Click to collapse
1. What has helped me a lot with battery life was the Screen Off profile in SetCPU. Set it to 245-384, governor: powersave. If you have delay when turning on the screen, set the governor to on demand. See my signature for more details!
2. Dalvik cache is an application cache area for the program dalvik.
Dalvik is a java based virtual machine that is the base for running your apps (the ones that have .apk extension).
In order to make access times faster (in cases where there's no JIT (just-in-time) compiler installed by default),
the dalvik-cache is the result of dalvik doing a optimization of the running programs.
Sounds confusing, I know. Think of it as similar to the prefetch files in Windows.
It's not always necessary to wipe the Dalvik Cache when installing a new ROM,
because most ROM zips include an update-script that wipes the DATA partition, therefore including the dalvik-cache,
but it doesn't hurt to do it either, it's a precaution measure.
Hope I helped!

Thank you so much mate.Totally get it now although the word “cache“ made sense earlier I've seen users wiping it frequently and i thought of getting to know about it
Ps.a thank you will be sent when i get to my pc
Sent from my X10i using XDA App

Neo said:
Thank you so much mate.Totally get it now although the word “cache“ made sense earlier I've seen users wiping it frequently and i thought of getting to know about it
Ps.a thank you will be sent when i get to my pc
Sent from my X10i using XDA App
Click to expand...
Click to collapse
You're welcome!
Also, may I add, wiping the dalvik cache often is not wise, in general.
It kind of defeats its purpose!

Related

Wiping before flashing custom ROMs

Hello,
I rooted my eris about a month ago and have flashed about every rom thats been on grdlock's site. But one thing I've never been quite clear on is the whole wipe process. Can someone explain the difference between the factory wipe and the dalvik wipe? For instance why should i do one or the other or both before flashing a new custom rom?
HTC Droid Eris ROOT
Aloysious 2.0 v.7
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
Can anybody help??
The factory wipe cleans the phones OS out, the dalvik wipe clears the cache. You don't need to know exactly what they do to know they definitely make ROMs run much cleaner when you do it, because I really dont know the specifics. I don't know how commands are programmed into DOS but I still know that the commands work...if that metaphor makes any sense.
PS - you should definitely do both before flashing a new ROM or restoring a nandroid backup
thanks taco. that helps a ton.
lol
chaneer said:
thanks taco. that helps a ton.
Click to expand...
Click to collapse
Sorry to let you down my friend.
factory wipe is like formating your harddrive on your computer before installing a new OS.
dalvik is a way to run multiple virtual machines where parts of the applications your running on android also run during normal operation to minimize memory and cpu usage, the cache obviously plays a part in memory usage, clearing this is like rebooting the ram on your computer to run faster.
in summary: format both and google your questions before asking them.
thanks guys. and trust me i did search all over for this but couldnt find a definitive answer. i just wanted to know for myself exactly what each "wipe-type" does, but i'll just stick with using both before i flash a new rom unless the dev instructs otherwise.
factory wipe is like formating your harddrive on your computer before installing a new OS.
dalvik is a way to run multiple virtual machines where parts of the applications your running on android also run during normal operation to minimize memory and cpu usage, the cache obviously plays a part in memory usage, clearing this is like rebooting the ram on your computer to run faster.
in summary: format both and google your questions before asking them.
Click to expand...
Click to collapse
Factory wipe is not wiping the os
...factory is like restoring the os, to how it came when you first got your computer, deleting all your programs, personal files, and stuff, that you added over the life of your computer.
You got cache down though.
Hope that makes it a little more clear.
Sent from my Eris using the XDA mobile application powered by Tapatalk
[ROM](7-19-11) SNS Gingerbread v1.4.1, OTA 4.24 Sense, Now W/ Remap Rosies.
Hey guys,
So I'm planning to flash the ROM at this URL: http://forum.xda-developers.com/showthread.php?t=1131217 but it requires that I "wipe" first. My rank says it all--I'm new to this stuff.
So, to the question; What should I wipe, and any tips on flashing this ROM?
Thanks,
Lacedaemon
Well, Its for a different phone, so I would say no.
First of all, Linux has a few different folders. /data is used to install all your apps and stuff, but /system is for the 0S and stuff. The /system section is restricted unless you gain root access. Anyways, /system isn't removed via factory reset, just /data. Installing a new rom, /system has files usually overwritten.... Hope that helps a little. The other folders are for cleaning up what's ever left over.

[BASIC TIP] Keeping Your Phone Running Smoothly *Mods can you please move to General*

I don't believe Ive seen this mentioned anywhere yet, so I figured Id remind those who know, and inform the newbies who don't know.
Ive heard people who have applied various lag fixes complain that their phone slows down over time when opening apps. This "fix" i am about to mention is really easy and can help anyone not just those who have problems with an applied lag fix.
If you open Rom Manager and use Fix Permissions, wait for it to finish, then select Reboot to Recovery, and wipe Cache, and then go to Advanced Settings, and wipe dalvik cache, then reboot normally, your phone will hang at the Galaxy S bootscreen for a few minutes, it might take a while because it is rebuilding the dalvik cache, you should notice things running smoothly again and apps opening quicker.
Hope this helps anyone out there!
Does wiping those 2 cache's screw up installed apps? Where you have to download them all again?
Bronk93 said:
Does wiping those 2 cache's screw up installed apps? Where you have to download them all again?
Click to expand...
Click to collapse
No, wiping the caches shouldn't affect your installed apps.
And all the same, if you still worry about it, just run a nandroid backup before you wipe the caches, then if you run into any issues, just restore, or advanced-restore only your data partition.
cheers,
=)
~ Jocelyn
So not a big deal cause I have replaced my update.zip with the clock work reboot update.zip and can reach clockwork still by "reinstalling packages" but I tried this fix and now can't reboot into recovery straight to clockwork through rom manager cause it says something to the effect of
E: can't reboot cause file /cache/update.zip missing
(bad)
Click to expand...
Click to collapse
Not exact but obviously there was a vital cached update.zip that was used in order to reboot directly into clockwork through rom manager.... Any idea on a fix? Think it would be unwise to just reflash clockwork through rom manager again to recache the file? Would anything else be effected like possibly overwriting my past nand recoveries? Thanks guys/gals for any help on this one.
Pooped from my Samsung Vibrant using XDA app...
Dont mind the skidmarks...
Bump for the safety of reflashing clockwork to replace cache file?
Pooped from my Samsung Vibrant using XDA app...
Dont mind the skidmarks...
p()()pypants said:
Bump for the safety of reflashing clockwork to replace cache file?
Pooped from my Samsung Vibrant using XDA app...
Dont mind the skidmarks...
Click to expand...
Click to collapse
yes, your missing the update.zip that unzipps itself to run clockwork. So yes flash the update.zip again through rom manager.
I just creates the update.zip file so it will not do any harm.
Awesome I assumed just as much but wanted confirmation first, thank you much
Pooped from my Samsung Vibrant using XDA app...
Dont mind the skidmarks...
I've done this, and it worked just fine.
Thanks OP!
it worked perfectly, thanks
speedysilwady said:
I don't believe Ive seen this mentioned anywhere yet, so I figured Id remind those who know, and inform the newbies who don't know.
Ive heard people who have applied various lag fixes complain that their phone slows down over time when opening apps. This "fix" i am about to mention is really easy and can help anyone not just those who have problems with an applied lag fix.
If you open Rom Manager and use Fix Permissions, wait for it to finish, then select Reboot to Recovery, and wipe Cache, and then go to Advanced Settings, and wipe dalvik cache, then reboot normally, your phone will hang at the Galaxy S bootscreen for a few minutes, it might take a while because it is rebuilding the dalvik cache, you should notice things running smoothly again and apps opening quicker.
Hope this helps anyone out there!
Click to expand...
Click to collapse
Thank you! Am trying this now and will post any impressions after.
EDIT: Immediately after re-booting, it definitely seems smoother and snappier - thanks again for this. I was wondering if I should do something like this, but didn't know what, because I'd flashed Eugene's Vibrant6 and a lag fix and then restored to my pre-flash nandroid. I thought the phone's performance was suffering after all that, and I definitely found this tip helpful, so really appreciated!

[Q] Dalvik wipe??

ok, so ive flashed a whole bunch of roms on my phone, im currently running SC2.8 w voodoo.i believe the eb16 ea15 kernal. but i just recently learned how retarded i am.. ive never once done a Dalvik cache wipe.. what is it?? and what kind of problems could i have since ive never done once.. phone is laggy and ive experienced ram loss.. like getting down to 30mb available. could that be why or could it be a kernal problem??
And does anyone play gun bros??? its badass
Dalvik is the process virtual machine (VM) in Google's Android operating system. Dalvik is thus an integral part of Android, which is typically used on mobile devices such as mobile phones, tablet computers and netbooks. Before execution, Android applications are converted into the compact Dalvik Executable (.dex) format, which is designed to be suitable for systems that are constrained in terms of memory and processor speed.
Click to expand...
Click to collapse
Basically its a pre-fetch optimizatoin area to run your programs.
A gummed up cache is bad. Leads to a slower phone and errors.
To wipe it (you should). CWM->Advanced->Wipe Dalvik
bobloblaw1 said:
Basically its a pre-fetch optimizatoin area to run your programs.
A gummed up cache is bad. Leads to a slower phone and errors.
To wipe it (you should). CWM->Advanced->Wipe Dalvik
Click to expand...
Click to collapse
ok that makes sense?? lol.. on my main cwm screen.. theres 2 options for wiping.. i wasnt aware that you had to go to advanced to do the wipe.. but thank you very much... will clearing it wipe my phone???
ace5198 said:
ok that makes sense?? lol.. on my main cwm screen.. theres 2 options for wiping.. i wasnt aware that you had to go to advanced to do the wipe.. but thank you very much... will clearing it wipe my phone???
Click to expand...
Click to collapse
Cleaning Dalvik cache WILL NOT wipe your phone!!
onemotodroid said:
Cleaning Dalvik cache WILL NOT wipe your phone!!
Click to expand...
Click to collapse
alright... thank you both very much.. i love this community.. im on it now.. hope it helps
Also, note the first boot after dalvic is wipped, will take longer. Give it time. Nothing is wrong with your phone.
gotsflat4love said:
Also, note the first boot after dalvic is wipped, will take longer. Give it time. Nothing is wrong with your phone.
Click to expand...
Click to collapse
i did, i took about 3 mins.. phone seems to be running better already
Good to hear that your phone is working better =)

[Q] UPDATE

It may be a stupid question .. Do i have to check the 3 boxes
backup existing rom
wipe data and cache
wipe dalvik cache
every time i do a update ??
Thks
No you do not have to. I only check wipe dalvik which is also optional,but has resulted in better performance for most users here. If you check wipe data and cache then all of your apps will be deleted and you will have to reinstall.
I am also basing this on guessing that you are running CM7, please let me know if that isn't correct.
superDel said:
It may be a stupid question .. Do i have to check the 3 boxes
backup existing rom
wipe data and cache
wipe dalvik cache
every time i do a update ??
Thks
Click to expand...
Click to collapse
You don't "have to" do a backup but it is good to in case something is messed up. I think if you wipe data it wipes your existing apps so I don't do that. But yeah I would definitely wipe dalvik.
superDel said:
It may be a stupid question .. Do i have to check the 3 boxes
backup existing rom
wipe data and cache
wipe dalvik cache
every time i do a update ??
Thks
Click to expand...
Click to collapse
depends on what rom your are flashing. So with that, let me ask the question. What rom are you flashing? If you're using CM7, those roms can technically be flashed without wiping anything although you may want to wipe the dalvik cache just to play it safe. In doing so you won't need to re-install any apps or enter your account data over again. Some other roms automatically wipe for you. But like others have suggested, you should get into the practice of trying to wipe whenever you can, and use titanium to only restore your apps. Hope that helps.
This is completely irrelevant but I noticed that your signature says do not click thanks. I don't know if you have that there so people will click it, but I clicked it just to be an ass lol. Meant for above poster ^
Edit: Okay I get it now lol. I didn't really look at it, but I see it now so ignore that lol.
i know what im gonna post is not relevant to the actual topic, but since it says "update" as a title, ill post my little rant anyway..
for some odd reason my google search layout has been updated and i really dont like it..
it's on big fonts, compressed on the right side of the screen and there's a huge empty space on the left.. sooo ugly! ughh and really confusing to look at..
why is android's UI/design so mediocre? is google ever going to improve this area? even google gadgets is weak compared to yahoo widgets..
end of my rant thank you.. pfft

General cleaning and wiping informations

hello actually i am intending with xda developers forum and using custom rom for almost 8 years. but the problem is i never know what does that wipe methods do. until now i just fallowed the instructions but i think i need to know .
i have 2 main questions.
1-) what are this wipe processes do (exacly what are they wiping)
a-)Wipe Data/Factory Reset
b-)Wipe Cache Partition
c-)Wipe Dalvik Cache
please give me proper explenation for each .what are they wiping ? and why we using them for ?
2-) A proper cleaning on my android device. as much as i use my device there is junk files, cropses and all other unnecessary files rolling up in times. so this is very disturbing. and i want to have a blank page only with my rom and my karnel + bootloader etc files i don't want anything more.
so question is this. what should i do to clean my device as this clean like having nothing except basic things ?
if any of you explaint this 2 questions for a dumb user i hope it will be very helpfull also other newbie android users. or the people like me ignorant for 8 years shame of myself
anyway thank you for your help and interests.
Quayron said:
hello actually i am intending with xda developers forum and using custom rom for almost 8 years. but the problem is i never know what does that wipe methods do. until now i just fallowed the instructions but i think i need to know .
i have 2 main questions.
1-) what are this wipe processes do (exacly what are they wiping)
a-)Wipe Data/Factory Reset
b-)Wipe Cache Partition
c-)Wipe Dalvik Cache
please give me proper explenation for each .what are they wiping ? and why we using them for ?
2-) A proper cleaning on my android device. as much as i use my device there is junk files, cropses and all other unnecessary files rolling up in times. so this is very disturbing. and i want to have a blank page only with my rom and my karnel + bootloader etc files i don't want anything more.
so question is this. what should i do to clean my device as this clean like having nothing except basic things ?
if any of you explaint this 2 questions for a dumb user i hope it will be very helpfull also other newbie android users. or the people like me ignorant for 8 years shame of myself
anyway thank you for your help and interests.
Click to expand...
Click to collapse
A. Wiping data/factory reset completly erases whats in /data,
Your apps, dalvik cache, app data and many others are wiped, but those i listed are the most relevant
With certain devices internal storage can be wiped such as Xperias because /data/media is where the internal storage is mounted however this is typically avoided with the recoveries we have
2. Wiping cache, the cache is typically used to store information or app data that isnt permanent however that can cause crashes or other kinds of issues after a mod instalation
3. Dalvik/art cache is used to store decompiled readable versions of the android apps installed meaning it can launch the app much quicker however if you dont wipe this, it can cause much more issues after installing a app mod lets say
Envious_Data said:
A. Wiping data/factory reset completly erases whats in /data,
Your apps, dalvik cache, app data and many others are wiped, but those i listed are the most relevant
With certain devices internal storage can be wiped such as Xperias because /data/media is where the internal storage is mounted however this is typically avoided with the recoveries we have
2. Wiping cache, the cache is typically used to store information or app data that isnt permanent however that can cause crashes or other kinds of issues after a mod instalation
3. Dalvik/art cache is used to store decompiled readable versions of the android apps installed meaning it can launch the app much quicker however if you dont wipe this, it can cause much more issues after installing a app mod lets say
Click to expand...
Click to collapse
so is there a way to clean my leftover media/data/etc.. in internal storage withouth touching rom files ?
Quayron said:
so is there a way to clean my leftover media/data/etc.. in internal storage withouth touching rom files ?
Click to expand...
Click to collapse
Your ROM is in /system so wiping data doesn't affect the system its self
You can wipe data but that wipes dalvik cache
Its probably better to wipe caches with a data wipe
Quayron said:
so is there a way to clean my leftover media/data/etc.. in internal storage withouth touching rom files ?
Click to expand...
Click to collapse
thank you so much.

Categories

Resources