Ok this is a very simple tutorial and I'd feel ashamed to call it 'software development' but I really don't know in which section I should post it. [EDIT: I thought I was posting in the development section...]
I recently heard about this article
http://androidandme.com/2011/12/news/android-may-never-be-as-smooth-as-ios-says-ex-googler/
and I thought I could dust off a 'trick' confused that I used with my old hTC Legend to speed up the launcher when using live wallpapers. The nexus S can handle live wallpapers quite well with the right launcher, but I found this useful to completely avoid lags when the phone is doing something other in background.
So, this is what you should do if you want to try
$ adb shell
$ su
# ps | grep KEYWORD
where KEYWORD is a thing like 'adw' or 'launcherpro' or whatever else may be contained in the process name of the launcher you're using. If you can't find it by this way just run 'ps' and look for it
now look for the number contained in the second column, it's the PID of the launcher and you need it to do this
# renice -15 PID
if you already know the process name of the launcher you can do it in one line with this
# renice -15 `pgrep com.adwfreak.launcher`
where com.adwfreak.launcher only works if you're using adw, obviously.
and remember that ' is not the same as `. I can do it with Alt Gr + '
Unfortunately, I don't know how to run this command at system startup except using Tasker+locale execute plugin, as the launcher must be already loaded.
The fact that Google dind't do it by default, makes me think that there could be a good reason
so I guess this MAY cause issues but if you want to try it can be undone with a reboot.
Thanks for that. I just tried it, hope it'll have noticeable results.
Maybe you could add that the renice command is used to change the priority of a process, where -20 is the highest and 20 the lowest priority?
Greetz
Is there anyway to do this via the phones terminal or zip script rather than adb?
frutelaken said:
Thanks for that. I just tried it, hope it'll have noticeable results.
Maybe you could add that the renice command is used to change the priority of a process, where -20 is the highest and 20 the lowest priority?
Greetz
Click to expand...
Click to collapse
You already wrote it thanks
anaglich said:
Is there anyway to do this via the phones terminal or zip script rather than adb?
Click to expand...
Click to collapse
Yes you can do it via terminal emulator.You probably need busybox which should be altrady installed on cyanogenmod.
I don't know what you mean with the zip script.
After some testing I can say it makes a noticeable difference.
Gesendet von meinem Nexus S mit Tapatalk
Thank you. I got it working. This is certainly something I would want to apply after every boot but doing so via terminal every time would get old very fast. Hopefully a dev here can cook something up.
Sent from my Nexus S 4G using xda premium
Maybe a silly question, but doesn't v6 supercharger script do this for you with hard to kill or bulletproof launcher? No idea just sounds similar
Sent from my Google Nexus S using XDA App
you should be able to put this command in the unit.d file
Sent from my Nexus S 4G using Tapatalk
[email protected] said:
Maybe a silly question, but doesn't v6 supercharger script do this for you with hard to kill or bulletproof launcher? No idea just sounds similar
Sent from my Google Nexus S using XDA App
Click to expand...
Click to collapse
Yes.
Follow the leader @corythug
cteneyck said:
you should be able to put this command in the unit.d file
Sent from my Nexus S 4G using Tapatalk
Click to expand...
Click to collapse
Not to take away from the OP's helpful info, this is definitely not known by all, but try the V6 Supercharger by Zeppelinrox. It applies these settings and various others at boot by sticking them to startup files, and uses a great user-friendly interface that is informative and basically does all the work for you.
Sent from my Google Nexus S using XDA App
V6 is great, but I would really like a script or nstool that did this without including all of the other stuff V6 does.
Also, how can we use these priorities to make the multitasking recent apps screen quicker?
if you use ics..this is useless
aLNG said:
if you use ics..this is useless
Click to expand...
Click to collapse
How come?
Sent from my Nexus S 4G using xda premium
what would this accomplish? no redraws?
guys u gotta do this to ur phone app, contacts app, messaging app and settings...they open INSTANTANEOUSLY.....in ics ok..they had a half a second lag in stock..but now INSTANTANEOUS...
Related
I've looked at alot of task killers nd system task management. But none of the apps I have tried really genuinely kill apps. The apps often 'recover' from being killed.
Im looking for a way to either permanently kill unwanted apps or kill the offenders at boot of device.
Hope someone has an idea.
Sent from my Nexus One using XDA App
Why do you need a task manager?
Check out this post, I read it, uninstalled my task manager and never looked back
http://forum.xda-developers.com/showthread.php?t=678205&highlight=task+manager
I know this isn't the answer you were looking for, just my .02
A permanent way to kill unwanted app is uninstalling it. All the rest is described in the link given to you above.
What about stuff you can't install use adb thing I guess. Cheers
Sent from my Nexus One using XDA App
Sorry I meant what about stuff you can't uninstall guess ill have to figure out how to use adb.or whatever it is.
Sent from my Nexus One using XDA App
ninjalandpirate said:
Sorry I meant what about stuff you can't uninstall guess ill have to figure out how to use adb.or whatever it is.
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
adb devices
adb remount
adb shell rm /system/app/com.amazon.mp3.apk
tried this today. couldn't get the commands recognised, not a big issue now as im on cyanogen. cheers
From the same dev that brought you Easy Root, you can now enjoy some minor overclocking on your DX or D2 with DX/D2 Overclocker.
**Mod Edit - Link removed (paid app)
Just bought this app and it beats the hell out of adding to the. Sh file and all the terminal commands. Definitely worth a dollar
Sent from my DROIDX using XDA App
check out jrummy16's overclock app, just out as well. at this point, it's better than the unstable apps one, IMO. it's called droid x/2 overclock in the market.
Does jrummy's app set it at boot, or is that just an option? I don't want to lock myself into a speed that isn't stable. I know the app from unstable at least for now will not set the speed at boot.
I just bought both of them. Need to support these guys!
Bought JRummy's app and have a question. After setting it the way I want it, I checked my setscaling.sh and there are no changes. SetCPU shows the right OC speed. This normal? I'm pretty new to OC
error
I bought jrummy's app also, I am getting an error tho saying failed to install overclocking components..... any idea what i might be missing? am i suppose to have additional files? thanks for any insight you can give
intrloper said:
I bought jrummy's app also, I am getting an error tho saying failed to install overclocking components..... any idea what i might be missing? am i suppose to have additional files? thanks for any insight you can give
Click to expand...
Click to collapse
Yep, I picked up Jimmy's app as well and also get the same error. I sent him and email and tweeted him. He did respond and it does look as though he is both aware and working on the issue...
Quick question though, are you running Rubix or Fission?
Wow just as I got done posting that Jared got his update out!!!!
And it is now working!
after changing setting using jrummy's app to see what the voltage it is running at?
Tayutama's JPM Froyo w/Xcaliburinhand's Re-oriented Kernel - 11/04/2010 -- possible security concern
Installed the above ROM.
ROM Post link:
Code:
http://forum.xda-developers.com/showthread.php?t=816271
Working good on my Captivate.
One concern: How do I take off the "minus" marks on the app icons that lets us delete apps right from the home screen (the screen we get when we click on the home button).
I see this as a security risk. I have app protector pro. But then, we can just delete the app protector pro in this mode without even asking for any password or anything, and all my apps are open for everyone to use.
Could anyone please help me take off this option to quick uninstall apps from home screen.
This thread is a joke, right?
wow just great now this post with almost the exact same title as the rom post will get me confused which is which from now on
MikeyMike01 said:
This thread is a joke, right?
Click to expand...
Click to collapse
Nope. I am serious. So far I realized that unless a person knew how to mod a Captivate, he didn't know how to access protected apps. But now, even a layman can just delete the 'app protector pro' and access all the apps that are supposed to locked by it.
s1l3nt said:
wow just great now this post with almost the exact same title as the rom post will get me confused which is which from now on
Click to expand...
Click to collapse
I think you haven't noticed that i added "possible security concern" beside it in the title itself.
What the French...........toast! ? I'm with Mikeymike. April fools? Nope too early.
Sent from my GT-I9000 using XDA App
You do know that once you rooted your phone, anyone with a little knowledge can do much more than simply delete apps... just don't lose your phone or give it to an iphone buddy who might wonder what the neat little thingys on your screen do
Bye. What launched are you using that you see this in.... and deleting an icon from your home screen does not uninstall it on any that I have used
newter55 said:
You do know that once you rooted your phone, anyone with a little knowledge can do much more than simply delete apps... just don't lose your phone or give it to an iphone buddy who might wonder what the neat little thingys on your screen do
Bye. What launched are you using that you see this in.... and deleting an icon from your home screen does not uninstall it on any that I have used
Click to expand...
Click to collapse
Not the icon. Like when u press the home icon, u can see all the apps present on ur device. For user installed apps, u can see a small "minus" in a circle on the right top of app icon, just like in iphone when u go to edit mode. click on that, and it will uninstall the app.
kamots said:
What the French...........toast! ? I'm with Mikeymike. April fools? Nope too early.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Pardon me if my concern is not really one. I am just expressing myself.
I use Application Protection from the market. Upon uninstalling any app it always asks for the pin. There is no removing the program without it.
Sent from my GT-I9000 (Captivate) using XDA App
CrunchyToast said:
I use Application Protection from the market. Upon uninstalling any app it always asks for the pin. There is no removing the program without it.
Sent from my GT-I9000 (Captivate) using XDA App
Click to expand...
Click to collapse
Right, this is as long as the app is there. I am telling about a situation where the protection app itself is removed. I could remove it without it asking me for the pin.
diablo009 said:
Right, this is as long as the app is there. I am telling about a situation where the protection app itself is removed. I could remove it without it asking me for the pin.
Click to expand...
Click to collapse
Alright then. Thank you for the heads up.
Sent from my GT-I9000 using XDA App
Another possible solution is to install another launcher that dosen't have uninstall in the application tray or doesn't work at this time (my LG Optimus below) and use root explorer to remove the two launcher and reboot.
bedwa said:
Another possible solution is to install another launcher that dosen't have uninstall in the application tray or doesn't work at this time (my LG Optimus below) and use root explorer to remove the two launcher and reboot.
Click to expand...
Click to collapse
Sounds logical. But I am on Cognition 2.4.1 ROM now
Why not just have a lockscreen?
You do realize that if someone gets ahold of your phone everything can be taken out by someone who is skilled enough... right?
Sent from my SAMSUNG-SGH-I897 using XDA App
fatttire said:
Why not just have a lockscreen?
You do realize that if someone gets ahold of your phone everything can be taken out by someone who is skilled enough... right?
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Yessir! I do realize this.
diablo009 said:
Sounds logical. But I am on Cognition 2.4.1 ROM now
Click to expand...
Click to collapse
Others have already pointed this out, but what you need to do is dl and install a different launcher from Market and then uninstall the TWLauncher. Problem solved.
Just because TWLauncher is the default in Cog 2.4.1 doesn't mean that you have to use it. Get another launcher. Or you could try never letting your phone out of your sight...
Not sure is this has been done but post your experiences with Ubuntu Phone here!
Instructions for flashing:
https://wiki.ubuntu.com/Touch/Install?action=show&redirect=TouchInstallProcess
Porting Guide (not done yet)
https://wiki.ubuntu.com/Touch/Porting
If anyone wants it, I can do a full install guide.
(Working) Apps Included:
Gallery
Phone (i.e Sms, dialer, phone book etc)
Camera
Browser
Media Player
Notepad
Anything other than those above (Weather, Calculator, Ski Safari etc) are only DEMOS!
To remove sample content:
To remove sample contacts:
Code:
Run manage-address-books.py delete
Edit /etc/[phone|tablet]-services and remove manage-address-books.py
To remove sample video and music lenses:
Code:
Run rm /usr/share/dbus-1/services/com.canonical.Unity.Lens.MockMusic.service
Run rm /usr/share/dbus-1/services/com.canonical.Unity.Lens.MockVideos.service
To remove pictures from gallery:
Code:
Run rm /home/phablet/Pictures/*
To remove sample messages in messaging menu:
Code:
Edit /etc/[phone|tablet]-services and remove chewie_messaging_populate_menu
Click to expand...
Click to collapse
So, once that's all done, post back with impressions, ideas, etc
EDIT: It seems that they are porting it to other devices:
https://wiki.ubuntu.com/Touch/Devices
This post shall be updates on the development:
Working:
GSM
WiFi
Camera
Phone + SMS
ADB
SSH
NOT Working:
CDMA
LTE
Data Settings (E.g APN's, 2g only)
Advanced WiFi settings (Hidden SSID's, manual IPs etc)
MMS
Mobile data
Speakerphone
PIN/PUK support
SIM File system support
Bluetooth
Hotspots
Emergency calls (i.e calling 000 without a vaild SIM)
Airplane Mode
Delivery Reports
Send Error Handling
Bugs:
Timezone has to be set via command line
Memory usage not optimized (apps may crash
IMPORTANT: "In rare circumstances, the Nexus4 may get into a state where it may not boot at all after the battery is drained ( even into recovery ). If this happens, the only way to restore it is to disassemble the back of the phone and unplug/plug the battery connector."
I'll add more as I find them.
Spartan00091 said:
Not sure is this has been done but post your experiences with Ubuntu Phone here!
Instructions for flashing:
https://wiki.ubuntu.com/Touch/Install?action=show&redirect=TouchInstallProcess
NOTE:
You have to be running Linux to install this.
So, once that's all done, post back with impressions, ideas, etc
Click to expand...
Click to collapse
You don't have to be running Linux and there's already an Ubuntu thread...
Sent from my Nexus 4 using xda app-developers app
XupModz said:
You don't have to be running Linux and there's already an Ubuntu thread...
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
The PPA has the tools and dependencies to support Precise, Quantal and Raring. Add the Ubuntu Touch PPA by adding the following custom source list entry to your /etc/apt/sources.list file.
sudo add-apt-repository ppahablet-team/tools
Then do the following:
sudo apt-get update
sudo apt-get install phablet-tools android-tools-adb android-tools-fastboot
Click to expand...
Click to collapse
I thought that you have to be running Linux for those to work. *Shrug*
My mistake.
And that other Ubuntu thread (if you mean this one) doesn't have a list of whats working etc, which makes it convenient for people in a rush.
I got shot of it because i had loads of messages from random ppl in my inbox and no way to get rid of them, other than that its very nice, smooth, and for a very early build....impressive
Sent from my Transformer Prime TF201 using xda premium
So just to get this clear, if I flash Ubuntu and wanna get back I have to flash a stock factory image , reroot and flash back my nandroid right? I can't go directly from Ubuntu to my nandroid right?
Sent from my Nexus 4 using xda premium
speedyjay said:
I got shot of it because i had loads of messages from random ppl in my inbox and no way to get rid of them, other than that its very nice, smooth, and for a very early build....impressive
Sent from my Transformer Prime TF201 using xda premium
Click to expand...
Click to collapse
That's awesome to hear!
Zaihanzainal said:
So just to get this clear, if I flash Ubuntu and wanna get back I have to flash a stock factory image , reroot and flash back my nandroid right? I can't go directly from Ubuntu to my nandroid right?
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
I'm assuming that you would have to flash your previous kernel back for it to boot. Don't quote me on that
Anyway got my ans ald thanks !
Sent from my Nexus 4 using xda premium
I managed to go from Ubuntu back to my nandroid
Sent from my Nexus 4 using xda app-developers app
neer2005 said:
I managed to go from Ubuntu back to my nandroid
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Thanks for the info!
Spartan00091 said:
IMPORTANT: "In rare circumstances, the Nexus4 may get into a state where it may not boot at all after the battery is drained ( even into recovery ). If this happens, the only way to restore it is to disassemble the back of the phone and unplug/plug the battery connector."
I'll add more as I find them.
Click to expand...
Click to collapse
Well, that doesn't sound too good
xdviper said:
Well, that doesn't sound too good
Click to expand...
Click to collapse
Its rare like really really rare just trying the preview I don't think you'll have that problem unless it was your daily driver which Idk why it would be...
Sent from my Nexus 4 using xda app-developers app
XupModz said:
Its rare like really really rare just trying the preview I don't think you'll have that problem unless it was your daily driver which Idk why it would be...
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Knowing my bad luck, it would happen the instant I would turn it on
xdviper said:
Well, that doesn't sound too good
Click to expand...
Click to collapse
I agree I think I'll wait for it to become a little more stable before I give it a go.
Sent from my Nexus 4
After flashing, it just felt like I was playing with a display unit rather than a 'developer preview' which was somewhat disappointing. Can't wait for an actual release, this has a lot of potential to be the start of something amazing IMO.
Sent from my Nexus 4
GANJDROID said:
After flashing, it just felt like I was playing with a display unit rather than a 'developer preview' which was somewhat disappointing. Can't wait for an actual release, this has a lot of potential to be the start of something amazing IMO.
Sent from my Nexus 4
Click to expand...
Click to collapse
I think this could be incredible, especially with the convergence thing.
But what worries me is that it requires a 32gb sd card, and the N4 only comes in 8 and 16gb versions
I have some questions.
Does monitor mode work on Ubuntu Touch?
How much space is available after installation?
How do I enter a URL in the browser?
Edit: I just found out: pull the url bar from the bottom of the screen. If you drag from the bottom of the screen to the upcoming grey icon ou can close apps etc.
When i tried the preview yesterday i really liked how fast it booted(6 seconds after Google logo) and the clean home screen. Gestures were nice but too sensitive.
Sent from my Nexus 4 using XDA Premium HD app
bakagirl said:
I have some questions.
Does monitor mode work on Ubuntu Touch?
How much space is available after installation?
Click to expand...
Click to collapse
1) I would assume it doesn't, but I haven't tried
2) I have no idea where to check XD
Keep the opinions coming!
Our phones are almost exactly alike, but I have no experience to do it myself. Could it be done? I've always liked LGs skin
Sent from my MB886 using xda app-developers app
ConMcCRay said:
Our phones are almost exactly alike, but I have no experience to do it myself. Could it be done? I've always liked LGs skin
Sent from my MB886 using xda app-developers app
Click to expand...
Click to collapse
Probably, yes. This guide here covers most of the bases.
More than likely, LG's native system apps will FC. You just have to plug your phone into the PC and watch the logcat. When you start the app and it FC's, it'll probably be missing a lib -- figure out which one, push it and set permissions -- "adb push name_of_lib /system/lib && adb shell chmod 0644 /system/lib/name_of_lib" either reboot or push another one if you see you need to.
If its not libs, it might be something under /etc -- you'll just have to use your own judgment on that stuff, search porting guides, research the device you're porting from (/etc crap varies from rom to rom, manufacturer to manufacturer). If it looks like you need it, you probably do. Besides, if you add unnecessary crap, once you get it booting and working you can start to remove things.
ConMcCRay said:
Our phones are almost exactly alike, but I have no experience to do it myself. Could it be done? I've always liked LGs skin
Sent from my MB886 using xda app-developers app
Click to expand...
Click to collapse
The LG escape has the same S4 as us. In fact, it even runs at 1.5 even though it's advertised at 1.2. Maybe that phone could help you out as well.
Sent from my KFHD