yashsingh1/xdaforums huggingface dataset:
[Xperia Z Q&A, Help & Troubleshooting] Tom Fagerland:
So I want a combined menu bar at the bottom with the buttons. I don't want a new rom, I don't want a new kernel, and yes, I have a locked bootloader.

I am however willing to flash zips and replace system apps.
[Xperia Z Q&A, Help & Troubleshooting] Ticklefish:
Well, it's certainly possible to have the icons, etc in the statusbar in the navbar. In theory, at least.

But you'll need to do some smali editing, I would have thought, to get the rest of the mod. You need to remove the statusbar entirely and have the pulldown screen appear when you swipe up from the navbar.

I know nothing about smali sadly, but it's certainly theoretically possible.

..Have you tried Tickle My Android yet?
[Xperia Z Q&A, Help & Troubleshooting] x102x96x:
search for a launcher

u can do this;

use another launcher

hide notification bar

and add icon of activities that u need in a page of dock

Or search for small app that gives u some setting

:good:
[Galaxy S III Q&A, Help & Troubleshooting] j0sefuz:
Hi all.

I have no idea what is wrong, but this happens when I delete a contact.

View attachment 1953723
[Galaxy S III Q&A, Help & Troubleshooting] j0sefuz:
Process.android.acore has stopped.
[Galaxy S III Q&A, Help & Troubleshooting] Glebun:
what ROM? have you wiped data before flashing?
[Galaxy S III Q&A, Help & Troubleshooting] j0sefuz:
Md2

Yep I did wipe and everything.

Sent from my GT-I9300
[Galaxy S III Q&A, Help & Troubleshooting] tweetatoo:
1- try clearing Contacts app data.

2- disable contacts sync from all accounts and keep Google sync.

And see what happens then.
[Galaxy S III Q&A, Help & Troubleshooting] j0sefuz:
Still the same. I have no choice but to leave it for now. /sigh.

Sent from my GT-I9300
[Android Q&A, Help & Troubleshooting] KING MAJD:
Hi people

I have flashed cm10 to my xperia acros recently and i want to downgrade to stock ICS SO,PLEZZZZZ HELP:confused::confused:
[Android Q&A, Help & Troubleshooting] KING MAJD:
please can any one answer me how i can downgrade from cm10 JB 4.1 to ICS on xperia acro s
[Android Q&A, Help & Troubleshooting] dastin1015:
Flash stock ROM
[Android Q&A, Help & Troubleshooting] KING MAJD:
thank u for answering me but i have another question

how i can flsh the stock kernel becaus with cm10 i have coustome kernel?
[MDA, XDA, 1010 General] raptorz2003x:
hello this is the second time its happernd. but this time i cant fix it :-( it was fine. i went out came home and noiw the screen appears broken. it gets loads of multicolour lines across it flasing all over and i cant see anyhting else but these lines. any ideas?
[Nexus 4 Q&A, Help & Troubleshooting] aanonymoushuman:
I am running PA 3.5. Today I woke up with my battery being at 20% maybe 45 minutes later I got a notification of the battery being 14% and about two minutes after that the phone just completely died, it would not turn on. Luckily I immediately plugged my phone and got the blinking red light. I was afraid more than ever, and was turning on my PC to find the solution for this problem. In the mean time my phone went to its normal state and was charging. I turned it on and the battery was charging at 2%.

Should I be worried about this issue or has anyone had it happen to them?

Here is a screen shot of what battery stats looked like after reebot
[Nexus 4 Q&A, Help & Troubleshooting] VoiD_Dweller:
Try searching the Q&A, lots of others have experienced this type of thing..
[Defy Q&A, Help & Troubleshooting] hadyhosny:
I am currently running CM7.2 latest nightly (1st March 2013). Good ROM, but the Wifi reception is noticeably bad. Is this something that is well known?

P.S.

Before CM7.2 I was playing with CM9 (on GB and Defy+ ROM) and I flashed "kernel-gb-234-451-134-signed" from Epsylon, when I reverted back to CM7.2 I had boot issues until I flashed "kernel-froyo-222-179-4-signed" also from Epsylon.

May be my problem has to do with the Kernel?

Hady
[Galaxy S III Q&A, Help & Troubleshooting] Velogr1992:
Hello, i would like to ask something that annoys me.When i exit an app i have a blank aap drawer without any apps and after 5 seconds i get to see the actual apps on the menu.Is this because the app drawer does not lock itself in the memory and it has to reload? it is kinda annoying
[Galaxy S III Q&A, Help & Troubleshooting] boomboomer:
Memory management, your app caused shortage of memory so the OS killed the launcher. Some launchers have options to try staying resident, or you can mess with the memory strategy, which can mess things up if you get it wrong.
[Asus Transformer TF700] berndblb:
I love what your script did to the stock browser in CromiX. Will this be a part of a future update in sbdag's rom?

Great work! Thank you!
[Asus Transformer TF700] elfaure:
Thanks for the nice reply.

[MENTION=518363]sbdags[/MENTION]? Feel free but make sure to look inside the script for licensing requirements.
[Asus Transformer TF700] sbdags:
Thanks mate. I have modified yours further to add opera mobile as well.

BTW what does the 2>&- do on the end of the rm command?

eg

rm -rf /data/data/com.android.browser/cache/* 2>&-

BTW here are the lines for opera:

if [ -d /data/data/com.opera.browser ];
then
umount /data/data/com.opera.browser/cache;
rm -rf /data/data/com.opera.browser/cache/*;
mount -t tmpfs -o size=50m opera_cache /data/data/com.opera.browser/cache;
fi;
[Asus Transformer TF700] elfaure:
Good deal. Thanks for the opera. Might as well add the mini too. We could add all the browsers we want - their format is identical except for mutant randomly generated Firefox. I'll update it when I get a chance. I'm pretty burnt on this right now. I sure picked a whopper for my first script and now I'm running with the devs! Anyone can be a programmer if they just know how to Google.

http://www.cyberciti.biz/faq/how-to-redirect-output-and-errors-to-devnull/

***********************************************************

Regarding adding "2>&-" at the end of a command:

0 is stdin

1 is stdout

2 is stderr

The integer file descriptors associated with the streams stdin, stdout, and stderr are 0, 1, and 2, respectively.

What that does is tell the command to not open (log) stderr when it runs. Its a trick to get a command to run even with errors if passible and silence its error output to the terminal. I tried "2>/dev/null" and "&>/dev/null" both of which failed with "Text file busy". Not sure why? Its the only way I could figure out how to prevent the "errors" "rm failed for -rf..." when there are no files to remove from echoing to the terminal.
[Asus Transformer TF700] sbdags:
Ah OK, I won't need the extra stderr stufff or an init.d script. I've added your copyright stuff (although I'm not convinced it is actually copy righted but I understand what it means). Thanks for putting this together! :good:
[Asus Transformer TF700] elfaure:
My OOM settings

OOM: Out of Memory

I had a previous discussion with [MENTION=4878287]_that[/MENTION] about this and he disagreed with me when I said that for better performance you would increase never decrease the memory value for each catagory from the stock settings, but I'm going to step up and say that after testing this with different settings the performance proves itself and I disagree (for the first time) with him on this. I will also say that this observation matches the pattern in System Tuner in OOM looking at the presets ranging from "very light" to "very aggressive" and agrees with some other posts about optimizing the browser for the TF7. My settings below for the last two categories (Content Providers, Empty Applications) are very close to ST's "very aggressive" presets.

I'm running the following MB (not KB) sizes for OOM:

32,40,48,82,195,246

*************************************************

Ref: ST "very aggressive" preset for OOM

16,32,64,128,192,256

[Edit-Correction/Clarification*] Note the fifth setting for Content Providers is the category where the *background* browser process *service* resides *when the app is not in the forground* and is affected so increasing this to around 192 has proven better performance (in my opinion on this device).

Ref: http://www.transformerforums.com/fo...6579-tweaking-tf700-performance-browsing.html
[Asus Transformer TF700] _that:
No. While browing, the browser is in category "Foreground Applications". But you can't ever see this in System Tuner, because when you try, ST itself is the foreground application. Increasing the OOM value for content providers means that the browser (or any other processes in that category) is *more* likely to be killed when another app in foreground needs memory.

You can see it yourself via adb shell. Start the browser, and in parallel an adb shell from you computer:

root@android:/ # ps | grep browser
u0_a8 4820 135 538416 66980 ffffffff 4017eee4 S com.android.browser
root@android:/ # cat /proc/4820/oom_adj
0

Now switch back to the launcher and see again:

root@android:/ # cat /proc/4820/oom_adj
7

Do you have a reproducible test for the perceived performance increase?
[Asus Transformer TF700] elfaure:
Just the speed at which my hair blows backwards when I browse. :laugh:

Maybe forcing oom_adj to 0 (or less like the smallest it can get -17) for the browser process might be a good idea so it becomes immortal. That's one of the last processes I want killed, even if it is in the background.

https://bugzilla.mozilla.org/show_bug.cgi?id=768832

http://xdaforums.com/showthread.php?t=622666

But seriously you are absolutely correct that when browsing the app is in the foreground and that setting is low like it should be. Its the last two catagories that early clearing of the trash makes for more RAM for the other 4 groups so foreground apps can have the most room to run. Its unclear to me how forcing an early kill of the browser background *service* WRT content providers is a benefit but it seems to work. Maybe it just forces that service to the forground but still keeps it active.

From the link below:

"From what I have experienced, the more open apps in the "Empty App" category, the slower and more sluggish the phone. Having these apps open is basically a waste of memory, because they are in standby and not being used. A high OOM value should therefore be set for "Empty App"."

"Processes that fall into the "Content Provider" category are also a waste of space; they only actually get used when running the application that service belongs to. This means that often the service will be running in the background when it doesn't actually need to be. A high OOM value should therefore be set for "Content Provider"."

Although it seems counter-intuitive, take a look at this and let me know if you agree. Try it out for yourself and see if you can tell a difference. I can but don't have a deterministic way to prove it.

http://xdaforums.com/showthread.php?t=1639207&page=3

Another thing I've noticed WRT the OOM settings merely as a pattern observation when looking at the settings group for each of the 6 categories as sliders like in ST there appears to be a proportional (exponential) relationship between them. If you did a screen shot for each and made them semi-transparent and overlayed them all you would see a set of sloped curves all with increasing slope moving from light to aggressive. For example if you start with the "very light" settings group and record those 6 numbers then do the same for each group up thru "very aggressive", for each set of 6 there is a proportional relationship between them and the next or previous group. I would guess this suggests the heuristics of the kernel OOM management is best serviced with a group of proportioned parameters. So if you changed the default settings for *any* group up or down the other groups would need to follow to keep the curve shape proportional (size relationship between parameters in any given group).
[Asus Transformer TF700] elfaure:
Forcing oom_adj

[MENTION=518363]sbdags[/MENTION]

Do you have a provision in CROMI(X) to allow the user to force-set the oom_adj value for a particular app or app list? I think this would be a great feature especially for browser. I would like to set it to -17 so its immortal/invincible.

I am particularly interested in understanding what setting a high value for content providers say 192 does when a browser *service* is running in the *background* and questioning whether that service is now more likely to be killed by OOM or not? What happens to the parent process for this service if it is killed? What happens in this condition when browser is also the last app or a fairly recent app?

Here's a post and method to do so:

http://lwn.net/Articles/317814/
[Asus Transformer TF700] sbdags:
Yes this can/could be done. What is the pid of the browser? How do I find out?
[Asus Transformer TF700] elfaure:
Look a few posts back at [MENTION=4878287]_that[/MENTION]'s reply to me regarding OOM. He shows the code there to do this. Also before we go hog wild here, I was simply interested if it could be done and you confirm it can. Let's speak with _that and others about whether or not this makes sense. For a single browser of choice I say yes it does. For 4 or 5 or a slew of browsers I say no because it could eat all your memory and you'd have no way to kill the processes for oom_adj=-17.

[Edit] We have a slight problem. PID's are different for different devices?? [MENTION=4878287]_that[/MENTION] shows PID for browser is 4820 and on my device its 6186? He must have a TF200 or TF300?

On another note, give the dev of the app "Bluetooth Keyboard EasyConnect" two thumbs up from me if you know him/her. Finally some software that connects my keyboard automatically at boot and reconnects it after a timeout just by pounding a few keys actually works for the first time. I've been looking for this app for 6 mos. and tried no less than 8 others. When I saw it was XDA created I thought I'd check it out. The dev created some HID profiles and did some other magic with this app, its awesome!! I can now leave my keyboard for hours and hours and just bang some keys and it reconnects. That's the way it should be. Excellent job.

****************************************

ps | grep browser
ps | grep chrome
ps | grep firefox
ps | grep opera
ps | grep fevdev

The first output parameter is the PID.

Output:

u0_a87@android:/ $ ps | grep browser

u0_a9 6186 119 540368 68936 ffffffff 00000000 S com.android.browser

u0_a372 6272 119 528528 65052 ffffffff 00000000 S com.opera.browser

u0_a87@android:/ $ ps | grep firefox

u0_a190 6330 119 593488 76724 ffffffff 00000000 S org.mozilla.firefox

u0_a190 6403 119 466016 27376 ffffffff 00000000 S org.mozilla.firefox.UpdateService

u0_a190 6415 6330 585740 50932 ffffffff 00000000 S org.mozilla.firefox

u0_a87@android:/ $ ps | grep chrome

1|u0_a87@android:/ $ ps | grep chrome

u0_a15 6600 119 563460 65784 ffffffff 00000000 S com.android.chrome

u0_i3 6628 119 542892 57404 ffffffff 00000000 S com.android.chrome:sandboxed_process0

u0_a87@android:/ $
[Asus Transformer TF700] dgjl:
You sure this works with dolphin? Seems to have speeded up Stock (but I have issues there), but to have made no difference to dolphin. Is there anything I need to do? Running CM10.1 (RC2).
[Asus Transformer TF700] dgjl:
Now that's what I call a fulsome answer. Good luck with sorting it out. Problems with stock are: 1) when I type the screen goes up and up (as I type it's just gone over the top) on every key press - letters, numbers, punctuation, return, etc. 2) sometimes (using full screen mode) old tabs and blue progress lines get stuck at the top of the screen).
[Asus Transformer TF700] _that:
1. wrong, because com.android.browser is the stock browser.

2. you need to find out the correct app name. :)
[Asus Transformer TF700] elfaure:
So for my reference, all browsers have a unique executable and no browsers other than the stock browser use com.android.browser I take it? I was told something wrong then. I also thought that in order for it to be an executable is must start with "com." but I now see that is not the case. Man there is a lot of stuff to not know here.

**********************************************************************************************************

Found the name of dolphin source apk is mobi.mgeek.TunnyBrowser so that's the process I am looking for so I launch it and go to a website then I "ps" from the terminal and I found it running with PID 12085.

Also found the name of boat source apk is com.boatbrower.free running at PID 13254.

Also found the name of boat mini source apk is com.boatgo.browser at PID 13177.

Question: Is the PID always the same when running a particular app on a particular device? So for example if I ran dolphin tomorrow or a week from now, or on another TF7 would it always have this same PID or is that determined by load order?

*****************************************************************************************************

Updated script to REV3, now for 8 browsers: 4 original + Opera Mobile, Dolphin, Boat, & Boat Mini.

*****************************************************************************************************
[Asus Transformer TF700] elfaure:
I was misinformed about Dolphin and Boat. You got me so I fixed it. New version is ready.

****************************************************

I added 4 new browsers to the script (Opera Mobile, Dolphin, Boat, and Boat Mini)

For your glitches, try the "about:debug" trick here

http://xdaforums.com/showthread.php?t=1923285

Let me know if this resolved anything

For your Dolphin, download the new startup script on PG.1 (autostart3.sh.txt)
[Asus Transformer TF700] _that:
Good. How did you find it? I used the Play Store web page and read the name in the address bar, but there are lots of other ways.

The PID is only valid while the process is running.
[Asus Transformer TF700] _that:
I think that could work, even if it has nothing to do directly with fsync. fsync is just the system call that instructs the kernel to actually write data to disk that apps have already written to "disk" using earlier "write" system calls.

Hm... what we are trying to do here (with B2R) from a birds-eye view is enforcing a different caching/writeback strategy for certain paths (/data/data/some.browser/cache). Mounting a tmpfs over "cache" has the effect of "only cache in RAM, never write back".

What we ideally want is "write back only when idle and in big chunks, so that slow small writes don't cause browser lag" and possibly "preload cache into RAM so that reading is faster when we need it". I think that could be implemented in becomingx's ABCD.
[Asus Transformer TF700] elfaure:
The way the original B2R apk worked with loading the actual browser app (and cache) into RAM then writing off app data to disk periodically to persist coupled with a discussion I had about doing something similar to this for game app data (not cache) I had with [MENTION=5117542]Tylorw1[/MENTION] (who seems to have lost interest in the idea) started the gears turning on this concept.

I don't see any purpose to write the cache data back to disk unless it were intended to be pre-loaded back to RAM and that could be accomplished by simply removing the rm line in my script couldn't it? If a disk cache containing data is mounted to tmpfs, doesn't the data in that cache automatically get loaded to RAM thru mount?

I've already discussed making his work for multiple browsers and he wasn't interested at the time. I wouldn't be interested in just doing this for the stock browser and give up using all other browsers in exchange - each browser has a feature it does best and a purpose for choosing to use it for a particular task (fast browse, compressed-data browse, stream, flash-enabled, download, post, research, save pages to pdf, save pages for off-line reading). Maybe he might reconsider integrating my main block? or simply allow a pipe in from my script to define the cache mounts as a setup option? then let his daemon do the real work. If this were implemented and the scripts could be merged it would be the best of both worlds for the end user, with persistent data and on boot completed pre-loaded browser RAM caches. Given the size of the internal flash on todays tablets is at least 8GB, even for 20 browsers at 50MB ea. that's only 1GB disk cache (about the size of 2 good games or 1 average movie) but it would be a problem on most older phones with 1-4GB internal flash and no external sdcard or no app2SD implementation. In that case they could just use a reduced browser list.
[Asus Transformer TF700] _that:
The actual browser app is always loaded (paged) into RAM for execution. Even the original version of Browser2RAM only cared about the browser's *data* directory. The later, simplified version just ran a script similar to yours to mount a tmpfs over the cache.

No. It is inaccessible while the tmpfs is mounted over (as far as I know). You can check this yourself with a simple experiment. :)

I don't know what you are talking about - nobody is using 20 browsers.
[Asus Transformer TF700] elfaure:
My latest released B2R script currently supports [18] browsers. I added two more recently to my "next rev" (Firefox Beta, Dolphin Beta) so that makes 20. I have them all installed for testing so that's 20 browsers. Never say never. Ridiculous, yes, practical no, but it is possible some other user(s) could do the same making 20 browsers the worst case discussion point for cumulative disk cache size hence 1GB.
[Asus Transformer TF700] lg-ks20:
Thanks for your final release script which is GREAT.

Note: I noticed that no cache mount created for UC Browser HD due to wrong spelling in the script.
[Asus Transformer TF700] elfaure:
Hey, thanks! Appreciate it. It certainly has matured over the version history. Its been an awesome learning project for me.

Misspelling...dooogh (Homer). I will have to fix that. There are also a few other cleanups and changes that I need to make, so there will be another release soon. My MicroSD went South last weekend and I need to fix that first.

[Edit] com.uc.brow*s*er Found it, thanks. Doooogh. Hey, it was one of the last ones I added and I'll admit I didn't even install it to test it. I did install 20 browsers though and decided it was getting out of hand after that point. I refuse to run UC so guess I just refused to care on that one. Or maybe the typo was subconsciously on purpose. Seriously. I remember deciding at a point that I would never add UC, then someone else requested it so I (reluctantly) did. If a browser wasn't going to work it would have to be UC. Sorry about that and thanks for reporting the error. Guess I have no choice now but to fix it. This is going to hurt. I really detest that browser. It just didn't work for me at all, but I don't think it was HD I test drove either.
[Asus Transformer TF700] shaggydiamond:
The script ran succesfully in script manager, however when i open up a terminal and use command : mount | grep tmpfs, the browsers are not listed there.

Im on android 4.2.1
[Asus Transformer TF700] elfaure:
Interesting, but notta problem. We have two additional ways to load the script. You are now the third person who couldn't get script manager to work. That's why there are alternatives already in place.

The recommend method if you have busybox is linked just above the attachments in the first post. Follow the link to "How to enable init.d support on stock ROM", then follow that guide to do it, rename the script accordingly, put it in /etc/init.d and reboot. If you don't have busybox, just rename this script install-recovery.sh and put it in /etc and reboot. Always, make sure your scripts are readable (given) and executable at least for the root user (chmod 05xx [5xx] or 07xx). Then go to a terminal and re-type the verification check commands:

mount | grep tmpfs

or I use this one since its a better pattern filter for the same number of typed characters

mount | grep cache