[Completed] oprofile: functional after initial Android setup? - XDA Assist

Please direct my question, as the 'similar threads' feature for 'XDA Assist' shows there are no 'hits' for 'oprofile'.
One of my Android phones (the second in my signature), with limited /data partition storage size, shows a large subdirectory, 'oprofile' in /data/bin/oprofile. Running out of space in this partition seems to be a common problem, so I'd like to keep it as lean as possible.
Some research shows oprofile to be a tool for 'tuning' an Android setup -- but exactly when it's useful is not clear, from what I've been able to find.
My question is, is oprofile purely useful during development stages, while Android is being configured for a specific phone's harddware? In this case, perhaps someone just forgot to delete it, after it served its purpose -- and then, there's no harm in removing this subdirectory and regaining the space it consumes.
Or, does oprofile serve an continuing purpose, being used by the OS to continue the 'tuning' -- as the user adds new apps? In this case, that directory is functional and should be left alone. Or, is there data in these files, created during the initial 'tuning' that must be retained, for the benefits to continue?
Into which forum would this type of question be most productively posted?

I have answered this question and posted a link to the Q&A Forum on your other thread. We generally prefer not to have multiple threads by the same user, if you have more questions, please mention in the other thread.

Related

[Q] Options to develop an app for smartphones?

Hello
I have a couple of ideas for applications that would be useful to smartphone users, and am only getting started gathering information.
Of the two ideas I have, one could be developed as a web application (so that a single application can be used on a PC and a smartphone) and the other probably needs to be written specifically for each platform (because it needs to handle calls).
I checked the sticky posts in the General forum, along with the wiki, and the home page, but didn't find an article for newbies that would provide a short, 10,000-feet view of what the options are, etc.
So to make an informed decision, I'd like to know what, at this point and in the near future, the main options are to write applications, with advantages and disadvantages for each.
Thank you.
Please use the Q&A Forum for questions Thanks
Moving to Q&A

[Q] 10-Post Requirement

OK, I know I'm about to start a flame war, but...
This 10-post requirement, while well-intentioned, seems rather silly.
Just rooted my Droid 3 today after seeing a talk at DerbyCon; I'm not entirely retarded when it comes to Android dev, either, as I've been scripting up a way to automate running malicious binaries on virtual devices at work lately (I work for a security vendor). My first thought was to go and remove all the bloat on my device, and after finding:
http://forum.xda-developers.com/showthread.php?t=1238472
...I was very excited. Problem is, the script is quite broken on my Android 2.3.4 Droid 3 - even the remount command is going to fail, as the mount point it uses doesn't exist (it seems to have been tweaked a bit, as obviously /system is mounted). After poking around the phone a bit, just removing .apk files in /system/app (or renaming them, or whatever) isn't sufficient to kill the bloat, either - I found, for example, that the ZumoCast app was in 5 or 6 different spots around the filesystem that had to be cleaned.
I went to post in that thread with a question about the safety implications of whacking all of these files, plus an offer to update the script appropriately, and I've been blocked. Given that there are threats that threads will be killed if they're just attempts to reach the 10-post threshold, and that I can't post in relevant threads...I'm really somewhat frustrated, as this will involve a large time sink to get to the point where I can offer to help.
I can see where you guys are going trying to keep pests and n00bs to a minimum in useful threads (my day job involves dealing with people on an active open-source project's mailing lists, and I get sick of the same idiotic questions myself)...but is there no better way to let someone prove that they're not an idiot?
Sir, what seems rather silly to you, is not....there are reasons for the limit, here are some good reading for you, so you can see the reasoning.
Question for you, why don't you post in your device Gen Section your issues, since there are Q&A sections for your Device so that you issue can be addressed.
http://forum.xda-developers.com/showthread.php?t=1699450
http://forum.xda-developers.com/announcement.php?a=81

An Issue with a ROM, a Kernel or an Application, etc.? A Few Things to Consider.

Background: Following some threads at XDA I’ve pretty early realised that quite a few bug reports, requests, and questions in regard to ROMs, kernels or applications are raised without sufficient information to allow (Recognised) Developers (RD), Recognised Contributors (RC), or other members to easily provide solid answers and recommendations or a possible fix. Everybody should remember even a highly professional member cannot read your mind.
Initially, I opened a thread with the same topic in regard to the device I use: The Samsung SGS3 LTE (GT-i9305). It’s accessible . If you already know that thread, I hope you don’t mind that I mostly copied and pasted.
Purpose: To provide some recommendations how to best phrase a request for support to possible ROM/kernel/applications issues in order to receive the most suitable answer and solution.
General recommendations:
Please read the XDA Forum Rules provided by @MikeChannon; a MUST READ for everybody who intends to post on XDA. Other MUST READ's I certainly recommend to everybody who wants to "breathe" what I believe the spirit of XDA is, are the following posts:
Forum Etiquette by @TheByteSmasher,
http://forum.xda-developers.com/show...postcount=2441 by @zelendel, and last but not least
http://forum.xda-developers.com/show...9&postcount=44 by @kyphur
Remember: Before you flash anything take a NANDROID backup or ensure you've an up-to-date one!
If you don’t know yet what’s hidden behind some of the expressions mentioned in the title of the following linked thread, just check it out: What is? Boot loader, custom ROMs, CWM, modem, kernel, flashing, rooting, ADB, baseband?? by @esimon311. Thanks to esimon311 for this great overview.
Guidance for useful modifications regarding some parts of your kernel can be obtained here: [GUIDE] Most up to date guide on CPU governors, I/O schedulers and more! by @Saber. Thanks to Saber for this great guide.
Before you post your issue or request, reboot at least once and try to replicate your problem. If it doesn't persist any longer the reboot might already have been the solution.
Read, read, and read again, read the OP (first post of each thread) and scan the respective thread. Use the search function of XDA. Remember: Make use of your friend – your favourite web-search engine. It does mean you have to read and study but I've no doubt you don't mind to do that for your device. Maybe, you'll find your required answer without having to post something.
A lot of OPs already contain hints how to solve commonly known issues.
Before you post in a ROM development thread, be sure not to run a custom kernel or Xposed. In case you use the latter, disable all Xposed modules and check if your issue still persists. Anyhow, if you’re using custom kernel or Xposed and you're convinced the issue is ROM related, you might post but mention the kernel and/or Xposed.
Last but not least: Don't ask what e.g. the best ROM, kernel or app is! All of them available at xda are great; however, each one of them has its different specification, capabilities, and pro's and con's depend on personal desire and expectations. The best one for you is the one, which meets your desire and expectation.
Before you post in a thread:
If you want to sell your car you probably achieve the better bargain the better (or more suitable) the portal is, in which you're offering it. I'm convinced you won't offer a car with the star at the bonnet on a webside covering military motorbikes.
Same applies to XDA. The more precise your post is going to fit into a thread or forum the faster and most likely better reply you're going to receive.
For this reason, I suggest you to exactly identify, in which of the 1000 fora or probably millions of threads to post. Prior to posting take you're time and study the following excellent guides and recommendations - all by @sd_shadow - to find the best and most reasonable place for your post.
[Guide] How and Where to Ask a Question on XDA
"Have Question about Posting?" in this post
[Index] of Help Threads (and Template)
When you post in a thread:
If available, post questions in Q&A threads (some threads have a dedicated Q&A section besides its development one) instead of the development thread. But if you have a solid bug report (never reported before, and your post is complying to all the required criteria provided below including all necessary info), you can post in a development thread.
Don't make a RD, RC or anybody else to read your mind. Don't have them to make assumptions – as soon as an assumption fails the whole solution is going to become void.
Please post your issue or request by using the English language as mentioned in the XDA rules to allow everybody to understand the post and hopefully to contribute, or at least to learn out of it. Don't be afraid if English isn't your native tongue – that's certainly the case for most of the xda users. A language barrier isn't an issue at XDA – as long as we all at least try to use the English language. Even if your English skills aren't too developed just use simple wording or a reasonable translator tool; nobody is going to blame you; however, try to be as precise and unambiguous as possible.
Always run a logging tool to be able to augment your post by a log file. Add the log as an attachment to your post or upload it into the cloud and provide the link in your post. Do not include the log into the text phrase of your post in order not to spam the thread. It doesn't matter, which logging tool you use but familiarise yourself with its use and where it saves the log. I'm personally e.g. using "Catlog" that saves logs to the internal storage. Alternatively use adb commands. Here is a [Tutorial] How To Logcat by @paxChristos. Thanks to paxChristos for this great tutorial.
If you're running (Ed)Xposed uninstall it, and take the log again (while Xposed is running, the log even states that it's useless because of Xposed).
Take screenshot(s) and attach them/it to your post. Don’t insert it/them into the “text box”. Before you take a screenshot, change your system language to English to allow everybody to understand the content of the screen.
Always provide exact and precise information about your issue. Write a description and, if possible, steps to allow for reproduction.
Unless the issue is only related to an application always provide exact and precise information about your device, the ROM, the kernel, your recovery, and specify the versions of the latter three. If you have issues with a theme, information regarding your ROM is certainly required. Occasionally information about your modem (or even bootloader) might also be helpful e.g. if you've problems with the RIL, mobile network or making phone calls. If you're on F2FS please mention.
If your issue or problem occurred immediately after you flashed a ROM* or kernel* or installed an application (incl. themes), please describe your installation procedure (clean, dirty, or describe when you wiped and/or formatted what).
*Please provide information, from which ROM or kernel you came.
Credits and many thanks to @woodman and @alias_ z3d in helping me to set up this OP.
First!!!
Perfect! After the i930x world, now the general version of your nice thread. I'm sure it will be a great addition to the XDA community. I hope a lot of members will read and remember your advices.

An Issue with a ROM, a Kernel or an Application, etc.? A Few Things to Consider.

Background: Following some threads at XDA I’ve pretty early realised that quite a few bug reports, requests, and questions in regard to ROMs, kernels or applications are raised without sufficient information to allow (Recognised) Developers (RD), Recognised Contributors (RC), or other members to easily provide solid answers and recommendations or a possible fix. Everybody should remember even a highly professional member cannot read your mind.
Initially, I opened a thread with the same topic in regard to the device I use: The Samsung SGS3 LTE (GT-i9305). It’s accessible . If you already know that thread, I hope you don’t mind that I mostly copied and pasted.
Purpose: To provide some recommendations how to best phrase a request for support to possible ROM/kernel/applications issues in order to receive the most suitable answer and solution.
General recommendations:
Please read the XDA Forum Rules provided by @MikeChannon; a MUST READ for everybody who intends to post on XDA. Other MUST READ's I certainly recommend to everybody who wants to "breathe" what I believe the spirit of XDA is, are the following posts:
Forum Etiquette by @TheByteSmasher,
http://forum.xda-developers.com/show...postcount=2441 by @zelendel, and last but not least
http://forum.xda-developers.com/show...9&postcount=44 by @kyphur
Remember: Before you flash anything take a NANDROID backup or ensure you've an up-to-date one!
If you don’t know yet what’s hidden behind some of the expressions mentioned in the title of the following linked thread, just check it out: What is? Boot loader, custom ROMs, CWM, modem, kernel, flashing, rooting, ADB, baseband?? by @esimon311. Thanks to esimon311 for this great overview.
Guidance for useful modifications regarding some parts of your kernel can be obtained here: [GUIDE] Most up to date guide on CPU governors, I/O schedulers and more! by @Saber. Thanks to Saber for this great guide.
Before you post your issue or request, reboot at least once and try to replicate your problem. If it doesn't persist any longer the reboot might already have been the solution.
Read, read, and read again, read the OP (first post of each thread) and scan the respective thread. Use the search function of XDA. Remember: Make use of your friend – your favourite web-search engine. It does mean you have to read and study but I've no doubt you don't mind to do that for your device. Maybe, you'll find your required answer without having to post something.
A lot of OPs already contain hints how to solve commonly known issues.
Before you post in a ROM development thread, be sure not to run a custom kernel or Xposed. In case you use the latter, disable all Xposed modules and check if your issue still persists. Anyhow, if you’re using custom kernel or Xposed and you're convinced the issue is ROM related, you might post but mention the kernel and/or Xposed.
Last but not least: Don't ask what e.g. the best ROM, kernel or app is! All of them available at xda are great; however, each one of them has its different specification, capabilities, and pro's and con's depend on personal desire and expectations. The best one for you is the one, which meets your desire and expectation.
Before you post in a thread:
If you want to sell your car you probably achieve the better bargain the better (or more suitable) the portal is, in which you're offering it. I'm convinced you won't offer a car with the star at the bonnet on a webside covering military motorbikes.
Same applies to XDA. The more precise your post is going to fit into a thread or forum the faster and most likely better reply you're going to receive.
For this reason, I suggest you to exactly identify, in which of the 1000 fora or probably millions of threads to post. Prior to posting take you're time and study the following excellent guides and recommendations - all by @sd_shadow - to find the best and most reasonable place for your post.
[Guide] How and Where to Ask a Question on XDA
"Have Question about Posting?" in this post
[Index] of Help Threads (and Template)
When you post in a thread:
If available, post questions in Q&A threads (some threads have a dedicated Q&A section besides its development one) instead of the development thread. But if you have a solid bug report (never reported before, and your post is complying to all the required criteria provided below including all necessary info), you can post in a development thread.
Don't make a RD, RC or anybody else to read your mind. Don't have them to make assumptions – as soon as an assumption fails the whole solution is going to become void.
Please post your issue or request by using the English language as mentioned in the XDA rules to allow everybody to understand the post and hopefully to contribute, or at least to learn out of it. Don't be afraid if English isn't your native tongue – that's certainly the case for most of the xda users. A language barrier isn't an issue at XDA – as long as we all at least try to use the English language. Even if your English skills aren't too developed just use simple wording or a reasonable translator tool; nobody is going to blame you; however, try to be as precise and unambiguous as possible.
Always run a logging tool to be able to augment your post by a log file. Add the log as an attachment to your post or upload it into the cloud and provide the link in your post. Do not include the log into the text phrase of your post in order not to spam the thread. It doesn't matter, which logging tool you use but familiarise yourself with its use and where it saves the log. I'm personally e.g. using "Catlog" that saves logs to the internal storage. Alternatively use adb commands. Here is a [Tutorial] How To Logcat by @paxChristos. Thanks to paxChristos for this great tutorial.
If you're running (Ed)Xposed uninstall it, and take the log again (while Xposed is running, the log even states that it's useless because of Xposed).
Take screenshot(s) and attach them/it to your post. Don’t insert it/them into the “text box”. Before you take a screenshot, change your system language to English to allow everybody to understand the content of the screen.
Always provide exact and precise information about your issue. Write a description and, if possible, steps to allow for reproduction.
Unless the issue is only related to an application always provide exact and precise information about your device, the ROM, the kernel, your recovery, and specify the versions of the latter three. If you have issues with a theme, information regarding your ROM is certainly required. Occasionally information about your modem (or even bootloader) might also be helpful e.g. if you've problems with the RIL, mobile network or making phone calls. If you're on F2FS please mention.
If your issue or problem occurred immediately after you flashed a ROM* or kernel* or installed an application (incl. themes), please describe your installation procedure (clean, dirty, or describe when you wiped and/or formatted what).
*Please provide information, from which ROM or kernel you came.
Credits and many thanks to @woodman and @alias_ z3d in helping me to set up this OP.
First!!!
Perfect noc.jfcbs! After the i930x world, now the general version of your nice thread. I'm sure it will be a great addition to the XDA community. I hope a lot of members will read and remember your advices.

An Issue with a ROM, a Kernel or an Application, etc.? A Few Things to Consider.

Background: Following some threads at XDA I’ve pretty early realised that quite a few bug reports, requests, and questions in regard to ROMs, kernels or applications are raised without sufficient information to allow (Recognised) Developers (RD), Recognised Contributors (RC), or other members to easily provide solid answers and recommendations or a possible fix. Everybody should remember even a highly professional member cannot read your mind.
Initially, I opened a thread with the same topic in regard to the device I use: The Samsung SGS3 LTE (GT-i9305). It’s accessible . If you already know that thread, I hope you don’t mind that I mostly copied and pasted.
Purpose: To provide some recommendations how to best phrase a request for support to possible ROM/kernel/applications issues in order to receive the most suitable answer and solution.
General recommendations:
Please read the XDA Forum Rules provided by @MikeChannon; a MUST READ for everybody who intends to post on XDA. Other MUST READ's I certainly recommend to everybody who wants to "breathe" what I believe the spirit of XDA is, are the following posts:
Forum Etiquette by @TheByteSmasher,
http://forum.xda-developers.com/show...postcount=2441 by @zelendel, and last but not least
http://forum.xda-developers.com/show...9&postcount=44 by @kyphur
Remember: Before you flash anything take a NANDROID backup or ensure you've an up-to-date one!
If you don’t know yet what’s hidden behind some of the expressions mentioned in the title of the following linked thread, just check it out: What is? Boot loader, custom ROMs, CWM, modem, kernel, flashing, rooting, ADB, baseband?? by @esimon311. Thanks to esimon311 for this great overview.
Guidance for useful modifications regarding some parts of your kernel can be obtained here: [GUIDE] Most up to date guide on CPU governors, I/O schedulers and more! by @Saber. Thanks to Saber for this great guide.
Before you post your issue or request, reboot at least once and try to replicate your problem. If it doesn't persist any longer the reboot might already have been the solution.
Read, read, and read again, read the OP (first post of each thread) and scan the respective thread. Use the search function of XDA. Remember: Make use of your friend – your favourite web-search engine. It does mean you have to read and study but I've no doubt you don't mind to do that for your device. Maybe, you'll find your required answer without having to post something.
A lot of OPs already contain hints how to solve commonly known issues.
Before you post in a ROM development thread, be sure not to run a custom kernel or Xposed. In case you use the latter, disable all Xposed modules and check if your issue still persists. Anyhow, if you’re using custom kernel or Xposed and you're convinced the issue is ROM related, you might post but mention the kernel and/or Xposed.
Last but not least: Don't ask what e.g. the best ROM, kernel or app is! All of them available at xda are great; however, each one of them has its different specification, capabilities, and pro's and con's depend on personal desire and expectations. The best one for you is the one, which meets your desire and expectation.
Before you post in a thread:
If you want to sell your car you probably achieve the better bargain the better (or more suitable) the portal is, in which you're offering it. I'm convinced you won't offer a car with the star at the bonnet on a webside covering military motorbikes.
Same applies to XDA. The more precise your post is going to fit into a thread or forum the faster and most likely better reply you're going to receive.
For this reason, I suggest you to exactly identify, in which of the 1000 fora or probably millions of threads to post. Prior to posting take you're time and study the following excellent guides and recommendations - all by @sd_shadow - to find the best and most reasonable place for your post.
[Guide] How and Where to Ask a Question on XDA
"Have Question about Posting?" in this post
[Index] of Help Threads (and Template)
When you post in a thread:
If available, post questions in Q&A threads (some threads have a dedicated Q&A section besides its development one) instead of the development thread. But if you have a solid bug report (never reported before, and your post is complying to all the required criteria provided below including all necessary info), you can post in a development thread.
Don't make a RD, RC or anybody else to read your mind. Don't have them to make assumptions – as soon as an assumption fails the whole solution is going to become void.
Please post your issue or request by using the English language as mentioned in the XDA rules to allow everybody to understand the post and hopefully to contribute, or at least to learn out of it. Don't be afraid if English isn't your native tongue – that's certainly the case for most of the xda users. A language barrier isn't an issue at XDA – as long as we all at least try to use the English language. Even if your English skills aren't too developed just use simple wording or a reasonable translator tool; nobody is going to blame you; however, try to be as precise and unambiguous as possible.
Always run a logging tool to be able to augment your post by a log file. Add the log as an attachment to your post or upload it into the cloud and provide the link in your post. Do not include the log into the text phrase of your post in order not to spam the thread. It doesn't matter, which logging tool you use but familiarise yourself with its use and where it saves the log. I'm personally e.g. using "Catlog" that saves logs to the internal storage. Alternatively use adb commands. Here is a [Tutorial] How To Logcat by @paxChristos. Thanks to paxChristos for this great tutorial.
If you're running (Ed)Xposed uninstall it, and take the log again (while Xposed is running, the log even states that it's useless because of Xposed).
Take screenshot(s) and attach them/it to your post. Don’t insert it/them into the “text box”. Before you take a screenshot, change your system language to English to allow everybody to understand the content of the screen.
Always provide exact and precise information about your issue. Write a description and, if possible, steps to allow for reproduction.
Unless the issue is only related to an application always provide exact and precise information about your device, the ROM, the kernel, your recovery, and specify the versions of the latter three. If you have issues with a theme, information regarding your ROM is certainly required. Occasionally information about your modem (or even bootloader) might also be helpful e.g. if you've problems with the RIL, mobile network or making phone calls. If you're on F2FS please mention.
If your issue or problem occurred immediately after you flashed a ROM* or kernel* or installed an application (incl. themes), please describe your installation procedure (clean, dirty, or describe when you wiped and/or formatted what).
*Please provide information, from which ROM or kernel you came.
Credits and many thanks to @woodman and @alias_ z3d in helping me to set up this OP.
First!!!
Perfect noc.jfcbs! After the i930x world, now the general version of your nice thread. I'm sure it will be a great addition to the XDA community. I hope a lot of members will read and remember your advices.

Categories

Resources