[TWEAK] Disable POWER SAVER in JB Sense4+ - HTC Desire X

Description:
Below Command will disable the POWER SAVER Notification in JB Sense 4+ ROMS PERMANENTLY.
YOU MUST HAVE ROOT.
Use adb:
1. Run "adb shell"
It will become something like this -> "[email protected]:/ #" (if there is no "#" symbol, then type "su")
2. Type this "pm disable com.htc.htcpowermanager/.powersaver.PowerSaverNotificationReceiver"
3. Press Enter and REBOOT.
ENJOY !!!
Use terminal emulator:
1. type "su" and press enter
2. Type this "pm disable com.htc.htcpowermanager/.powersaver.PowerSaverNotificationReceiver"
3. Press Enter and REBOOT.
ENJOY !!!
TO RE-ENABLE:
1. Type this "pm enable com.htc.htcpowermanager/.powersaver.PowerSaverNotificationReceiver"
NOTE:
THIS WILL NOT DISABLE THE "BATTERY OPTION" IN SETTINGS
SCREENSHOT IN ATTACHMENT
SOURCE:
http://forum.xda-developers.com/showthread.php?t=2048749
All thanks to "flex360", his original thread is above.

neXus PRIME said:
Description:
Below Command will disable the POWER SAVER Notification in JB Sense 4+ ROMS PERMANENTLY.
YOU MUST HAVE ROOT.
Use adb:
1. Run "adb shell"
It will become something like this -> "[email protected]:/ #" (if there is no "#" symbol, then type "su")
2. Type this "pm disable com.htc.htcpowermanager/.powersaver.PowerSaverNotificationReceiver"
3. Press Enter and REBOOT.
ENJOY !!!
Use terminal emulator:
1. type "su" and press enter
2. Type this "pm disable com.htc.htcpowermanager/.powersaver.PowerSaverNotificationReceiver"
3. Press Enter and REBOOT.
ENJOY !!!
SCREENSHOT IN ATTACHMENT
SOURCE:
http://forum.xda-developers.com/showthread.php?t=2048749
All thanks to "flex360", his original thread is above.
Click to expand...
Click to collapse
I made the same guide in General section.
xpirt

xpirt said:
I made the same guide in General section.
xpirt
Click to expand...
Click to collapse
Sorry, i could'nt find it. and i needed it very much thats why i posted here to help others. If you ask, i can ask to remove it. But i think you should move that thread to this dev forum coz USEFUL things get lost in General Forum

neXus PRIME said:
Sorry, i could'nt find it. and i needed it very much thats why i posted here to help others. If you ask, i can ask to remove it. But i think you should move that thread to this dev forum coz USEFUL things get lost in General Forum
Click to expand...
Click to collapse
No I just said. This thread have to stay here also because is more complete then mine
xpirt

Finally I can unfroze that app...
Thanks for tweak!

Or we can freeze app using titanium backup/root uninstaller
Sent from my HTC Desire X using xda premium

And you can't get into Power in Settings.

Klapo said:
And you can't get into Power in Settings.
Click to expand...
Click to collapse
You can.... Thats the beauty.
Using Titanium Freezing, you CANT.
The above method just disables the NOTIFICATION.

Thanks a lot. Will definitely try this in the future i guess.
I havent update to jb yet but does the power saver notifications always appear in jb? And so that is why this mod are born?
Sent from my HTC Desire X using xda app-developers app

neXus PRIME said:
You can.... Thats the beauty.
Using Titanium Freezing, you CANT.
The above method just disables the NOTIFICATION.
Click to expand...
Click to collapse
Ops, that message was written to buggingme, not to op, just forgot about quote
w1040 said:
Thanks a lot. Will definitely try this in the future i guess.
I havent update to jb yet but does the power saver notifications always appear in jb? And so that is why this mod are born?
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
Yes...it's quite irritating

And what if I want to remove it from notification panel??

ankahuja said:
And what if I want to remove it from notification panel??
Click to expand...
Click to collapse
That is what this tweak does, It does not disable the Power Saver feature completely but rather disables the Notification from the Notification Panel.

At first it didn't but after I force closed it it didn't reappear
that's gud thanks yasir

Thanks alot.

I've tried this guide but due to some stupidity in myself (I think) I did not succeed. So I used Jmz Power Saver Disable from GooglePlay instead and it does the same thing, but without writing anything in the terminal. This app is to be used with all Sense devices on JB.
I hope this will be helpful to some of you.

Related

[Q] Stupid but how to you access ADB Shell or Terminal on the phone?

I have an rooted Vibrant w/ Build ECLAIR.UVJI5 Baseband T959UVJI6
I want to flash back to JI4 and need to disable the voodoo
Please Help.
Zenophobe
Bionix 1.5 w/JACs OC/UV/VOODOO Kernel
adb is threw computer and you have to have the phone USB plugged in and in debug mode.
And to use terminal you download a terminal program off the market there are free ones
If you're asking to check if its disabled just use terminal.
with adb you have to download android SDK on PC ...ect too much of a process.
when with terminal all you do is type "mount" to check if disabled
Zeno78 said:
I have an rooted Vibrant w/ Build ECLAIR.UVJI5 Baseband T959UVJI6
I want to flash back to JI4 and need to disable the voodoo
Please Help.
Zenophobe
Bionix 1.5 w/JACs OC/UV/VOODOO Kernel
Click to expand...
Click to collapse
You don't need ADB or Terminal to disable Voodoo. Use your desired file manager or mount it via USB. Go into /sdcard/Voodoo and make a file named "disable-lagfix" (no extensions) and then restart.
- ADB: In order to use it, you must have the proper environment set up to use ADB. My tip is to download: http://de.codeplex.com/ and it'll setup the SDK environment for you the easiest.
http://forum.xda-developers.com/showthread.php?t=532719 this is the guide you want to use to get ADB working
Terminal: Search for "Terminal Emulator" on the market and there you go.
zephiK said:
You don't need ADB or Terminal to disable Voodoo. Use your desired file manager or mount it via USB. Go into /sdcard/Voodoo and make a file named "disable-lagfix" (no extensions) and then restart.
- ADB: In order to use it, you must have the proper environment set up to use ADB. My tip is to download: http://de.codeplex.com/ and it'll setup the SDK environment for you the easiest.
http://forum.xda-developers.com/showthread.php?t=532719 this is the guide you want to use to get ADB working
Terminal: Search for "Terminal Emulator" on the market and there you go.
Click to expand...
Click to collapse
i changed my whole post because i think he wants to check if he disabled voodoo correctly and yes you need terminal for this
demo23019 said:
i changed my whole post because i think he wants to check if he disabled voodoo correctly and yes you need terminal for this
Click to expand...
Click to collapse
I want to flash back to JI4 and need to disable the voodoo
Click to expand...
Click to collapse
Need and see are two different things.
zephiK said:
Need and see are two different things.
Click to expand...
Click to collapse
really im not going to go into a pissing contest with you
everything you said is on Bionix 1.5 thread, that's why I removed
demo23019 said:
really im not going to go into a pissing contest with you
everything you said is on Bionix 1.5 thread, that's why I removed
Click to expand...
Click to collapse
k... ill just stop responding since you have such a ego that you don't want to be wrong.
the OP obviously doesn't know how to use the Search feature so INSTEAD of being the "typical xda user" (like yourself) i decided to be nice to the OP and give the information he needs in his thread rather than telling him to use the search feature
now, stop trying to get attention. it's not cute. just trying to help another member
zephiK said:
k... ill just stop responding since you have such a ego that you don't want to be wrong.
Click to expand...
Click to collapse
zephiK said:
the OP obviously doesn't know how to use the Search feature so INSTEAD of being the "typical xda user" (like yourself) i decided to be nice to the OP and give the information he needs in his thread rather than telling him to use the search feature
Click to expand...
Click to collapse
yea and its members like you that are the reason these guys dont use search function
zephiK said:
now, stop trying to get attention.
Click to expand...
Click to collapse
take a look in the mirror
Its ok i figured it out MOD YOU CAN LOCK THIS PLEASE
demo23019 said:
yea and its members like you that are the reason these guys dont use search function they wait for suckers like yourself
take a look in the mirror
Click to expand...
Click to collapse
okay, go ahead and flame me for being a nice person. so i guess you must be those "guys" who dont use the edit button and decides to double post to up their post count?
and agreed with OP, lock this thread before this guy starts flaming me for whatever reason. im sorry if anything is bothering you to make you such a cranky person in the morning but dont take it upon other people, thanks.
I think its more than not using search
He posted in general and should be asking in Q&A or even better the developers thread with other bionx 1.5 users
And his answer is right on the first page of that thread... which shows his lazyness
and OP didn't even bother thanking you guys for the help
I did say nevermind that i found the answers. It was prior to the answer being posted. I am sorry for not thanking anyone. So thanks for all that helped.
MOD'S PLEASE LOCK THIS THREAD!!!!!!

Swap question

Looking for a little advice on swap. Just making sure I did it correct and didn't miss anything. Typed "su" enter. "speedtweak.sh" enter. Chose from the list and pressed enter. If this post is annoying or unnecessary than feel free to let me know.I'm just looking for a little light.
Sent from my SCH-I800 using XDA App
Type:
"su"
"free"
without the quotes. It will show if swap is being used or not.
Beastclaw said:
Type:
"su"
"free"
without the quotes. It will show if swap is being used or not.
Click to expand...
Click to collapse
"free" does not require root privileges, so just typing "free" by itself will work fine.
mar5hal said:
Looking for a little advice on swap. Just making sure I did it correct and didn't miss anything. Typed "su" enter. "speedtweak.sh" enter. Chose from the list and pressed enter. If this post is annoying or unnecessary than feel free to let me know.I'm just looking for a little light.
Sent from my SCH-I800 using XDA App
Click to expand...
Click to collapse
What you did was change the speed settings of your kernel. As stated above, check if swap is enabled by typing "free" if it shows 000000s, then you can enable it (if you've flashed the enable zips), by typing:
sh data/imoseyon/swap.sh create
After that, if you reboot and type "free", you should have some values for swap instead of 00000s.
You can remove it with:
sh data/imoseyon/swap.sh create
oh and if you flash a new kernel you have to re-enable it
joshnichols189 said:
What you did was change the speed settings of your kernel. As stated above, check if swap is enabled by typing "free" if it shows 000000s, then you can enable it (if you've flashed the enable zips), by typing:
sh data/imoseyon/swap.sh create
After that, if you reboot and type "free", you should have some values for swap instead of 00000s.
You can remove it with:
sh data/imoseyon/swap.sh create
oh and if you flash a new kernel you have to re-enable it
Click to expand...
Click to collapse
Thanks a bunch, this is exactly what I was looking for.
Sent from my ADR6400L using XDA Premium App

[Q] [Request] Charging/Accessory Overide

pokey9000 found in the kernel, drivers/accessory/30pin_con.c:
if (acc_adc != false) {
if ((2600 < acc_adc) && (2800 > acc_adc)) {
env_ptr = "ACCESSORY=OTG";
acc->current_accessory = ACCESSORY_OTG;
Which he used to figure out what was needed to put the unit into Host mode and through his help and testing I figured out that you needed a 3:1 split on the power to get the unit to think it was charging from an OEM charger.
Is it possible to change the above code and whatever the other code is that senses power on the data lines so that we can force the tablet into whatever mode we want?
I don't have the proper setup to code myself so I hope there might be a Dev out there up for the challenge.
This works, it not only allows usb charging from a computer/laptop, but it enables it to be charged from any (In my case my Kindle's wall plug.) wall plug.
Hope that helps!
FillTheVoid said:
I am having trouble with command
adb shell
echo 1 > /sys/class/power_supply/battery/force_usb_charging
Works fine from my Laptop, but when in a terminal on the tab I get
adb shell
error: device not found
I did give the terminal su permission. Anything special I have to do when running this script from the tab itself. I would like to be able to do this "on the go" since it is not persistent after reboot. Thanks.
Click to expand...
Click to collapse
Mullicious said:
You can make it persistent, slap it in a bog standard text editor, then by using script manager, create it as a script to run as root and at boot. Confirmed it to work myself, very handy.
Sent from my GT-P7510 using xda premium
Click to expand...
Click to collapse
Edit:
I see this doesn't answer your question, I'm sorry; misread.
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums and Read THIS
Moving to Q&A
Could someone put this into a package or give detailed instructions for a noob like me to get this running? I really hate that the Tab doesnt just recognize car usb power like my galaxy phone does...Thanks!
Mullicious said:
This works, it not only allows usb charging from a computer/laptop, but it enables it to be charged from any (In my case my Kindle's wall plug.) wall plug.
Hope that helps!
Edit:
I see this doesn't answer your question, I'm sorry; misread.
Click to expand...
Click to collapse
D you mean this command works:
adb shell
echo 1 > /sys/class/power_supply/battery/force_usb_charging
Did you get it to work from terminal eventually?
Can you share the script you created please?
Szadzik said:
D you mean this command works:
adb shell
echo 1 > /sys/class/power_supply/battery/force_usb_charging
Did you get it to work from terminal eventually?
Can you share the script you created please?
Click to expand...
Click to collapse
This shell command works if you are running pershoot's kernel, it is not persistent after reboot though. This doesnt bother me cause if I really need to charge it in the car I just open a terminal emulator and type in in. Takes 30 sec.
FillTheVoid said:
This shell command works if you are running pershoot's kernel, it is not persistent after reboot though. This doesnt bother me cause if I really need to charge it in the car I just open a terminal emulator and type in in. Takes 30 sec.
Click to expand...
Click to collapse
SO it does not work on stock kernel?
Szadzik said:
SO it does not work on stock kernel?
Click to expand...
Click to collapse
That is correct. Pershoot built it into his kernel.
FillTheVoid said:
That is correct. Pershoot built it into his kernel.
Click to expand...
Click to collapse
Any idea if Pershoot's kernel is available for P7500?
Szadzik said:
Any idea if Pershoot's kernel is available for P7500?
Click to expand...
Click to collapse
It is available. That's the 3G model right?
FillTheVoid said:
It is available. That's the 3G model right?
Click to expand...
Click to collapse
Yes, it is 3G. I have to look for the right thread. LEt me know if you have any pointers.
Szadzik said:
Yes, it is 3G. I have to look for the right thread. LEt me know if you have any pointers.
Click to expand...
Click to collapse
See forum.xda-developers.com/showthread.php?t=1138167

[HOW-TO]Make Live Wallpapers Smoother!

So I was searching around the Internet to find a way to make live wallpapers smoother. And I found a tutorial on another forum, tried it, and it worked like a charm, so I decided to post the tutorial on XDA Developers. Credits for this go to boimkun, a member of the Symbianize forum.
If you don't make to waste time on making the script, I have uploaded mine for you. Download the script
Requirements:
-Root access
-An application for making scripts (in this tutorial we are using GScript)
-Live wallpapers
Tutorial:
1. Open GScript
2. Click Menu, and then click "Add script"
3. Tick "Needs SU" if it's not ticked
4. Set the script name, and type in the text box below:
Code:
renice -15 `pgrep android.process.acore'
Note: "android.process.acore" stands for your launcher process name. You can use android.process.acore for ADW Launcher and Launcher Pro
5. Save the script and execute it
You must run the script on every boot.
Optional (I haven't tried this, but works very smooth without this as well):
boimkun said:
Maybe you want to try to renice the live wallpaper too (this may slow it down, I would not suggest to do it). To do this
- launch the terminal
- write 'ps' then press enter
- will appear a list of processes. here you should find one that has a name similar to the LWP you're using (for example, I'm using Pixel Zombies Infection and the process name is haydenTheAndroid.liveWallpaper.pixelZombies)
now you can renice it either from terminal or from GScript.
To renice from terminal:
- check the number *** which the process has in the PID row. You have to remember this number
- write 'su' then press enter. now you have root privileges
- write 'renice N ***' where N is the nice number you want (20=minimum priority ; -20=maximum priority, which you obviously don't want). You can set it to 20 to give the LWP the minimum priority
To renice from GScript go in the script you already created and add a similar line, by substituting "-15" with "20" and the process name with your LWP's process name.
You should now see an increased smoothness when scrolling homescreens and app drawer
Click to expand...
Click to collapse
That was all for this tutorial. Please post a comment, whether this script works for you or not.
It won't work alongside the loop smoothness tweak right?
Sent from my GT540
gonna try it out soon!!
yeah will this work along with the loopy and supercharger??
andreas__ said:
It won't work alongside the loop smoothness tweak right?
Sent from my GT540
Click to expand...
Click to collapse
I don't know about that, because I don't use that tweak. But you can try.
androidboss7 said:
gonna try it out soon!!
yeah will this work along with the loopy and supercharger??
Click to expand...
Click to collapse
It should, but I'm not sure. Try it, and you'll see.
despotovski01 said:
It should, but I'm not sure. Try it, and you'll see.
Click to expand...
Click to collapse
ok i will just for the fun of it!!
cause i dont really use live wallpapers!
i wanna try this utility it's easy to use??
Nirvanico said:
i wanna try this utility it's easy to use??
Click to expand...
Click to collapse
Yes, it's as easy as pie.
despotovski01 said:
Yes, it's as easy as pie.
Click to expand...
Click to collapse
hmmmm pie
just so u know. i put the command line in etc/init.d and give proper permission and the live wallpaper works really well.
though i only use multipicture live wallpaper but it loads automatically now after reboot and it scroll smoother.

[MOD](Non-Root)Remove "What's New" from NavRing, Small Apps From Recents

You can use ADB on unrooted devices to remove the "What's New" option from the NavRing and to remove the Small Apps Widget launcher from Recent Apps.
I will assume you know how to install and use ADB.
To remove the "What's New" option from the NavRing:
Code:
adb shell
pm block com.sonymobile.advancedwidget.entrance
exit
adb reboot
Make sure to reboot before proceeding if you're removing both items.
To remove the Small Apps Widget Launcher from the Recents screen:
Code:
adb shell
pm block com.sony.smallapp.launcher
pm block com.sony.smallapp.app.widget
exit
adb reboot
To revert changes substitute "unblock" for "block" in the command.
Good to note that these work just have to be run seperatley, i tried to block all 3 at the same time and it did not work you have to remove the whats new then reboot then remove the small apps then reboot again
Thanks for this OP i hate that whats new thing
aford89 said:
Good to note that these work just have to be run seperatley, i tried to block all 3 at the same time and it did not work you have to remove the whats new then reboot then remove the small apps then reboot again
Thanks for this OP i hate that whats new thing
Click to expand...
Click to collapse
Thanks, added to OP.
Thank you!
The what's new was really bugging me :-/
do you know if the block command does the same as "deactivate" would do from the Settings->Apps menu? (if it were enabled)
punshkin said:
Thank you!
The what's new was really bugging me :-/
do you know if the block command does the same as "deactivate" would do from the Settings->Apps menu? (if it were enabled)
Click to expand...
Click to collapse
I assume so, the "pm" is for the package manager commands.
I can not thank you enough! I still don't know what Sony was thinking with "What's New".
Favorite'd, I just know I'll be needing this soon enough xD
Working like a charm. Glad to have my recents cleaned up. Any other bloatware we can disable this way? Love to get rid of the walkman, sony app updates, movie, movie creator, etc
Im just trying to do this but when I type adb shell reboot it says device not found. It does say im in [email protected] though. Anyone know whats wrong?
Mr Sliff said:
Im just trying to do this but when I type adb shell reboot it says device not found. It does say im in [email protected] though. Anyone know whats wrong?
Click to expand...
Click to collapse
do adb devices, should be able to see your device listed. if it reads not autorized: unlock your lockscreen and confirm the dialog to give computer access.
cyphomatic said:
do adb devices, should be able to see your device listed. if it reads not autorized: unlock your lockscreen and confirm the dialog to give computer access.
Click to expand...
Click to collapse
Thats the weird thing, my device is listed when I do that.
ADB, SDK, JDK, JRE, USB debug, USB drivers: all set up correctly?
Thanks! worked perfectly for me, at least it did when I installed the Android SDK on my Windows partition instead of my Mac ... Really didn't want to work on the Mac side, nor is there a native way to transfer wirelessly from my Mac but everything works well on the Windows end.
Thanks again OP :good:
Can this method be used to disable the other system apps?
Mr Sliff said:
Im just trying to do this but when I type adb shell reboot it says device not found. It does say im in [email protected] though. Anyone know whats wrong?
Click to expand...
Click to collapse
Got the same thing before I found out you need to exit remote shell before you run reboot command (I'm new to using adb for anything other than push/pull)
So after:
pm block com.sonymobile.advancedwidget.entrance
exit
adb reboot
phroenix said:
Got the same thing before I found out you need to exit remote shell before you run reboot command (I'm new to using adb for anything other than push/pull)
So after:
pm block com.sonymobile.advancedwidget.entrance
exit
adb reboot
Click to expand...
Click to collapse
Yea, you need to exit shell before running any adb command, I'll add that to the OP.
Alright for some reason it doesent remove whats new for me. Ive rebooted a few times and it doesnt work. Removing the small apps did work though.
Mr Sliff said:
Alright for some reason it doesent remove whats new for me. Ive rebooted a few times and it doesnt work. Removing the small apps did work though.
Click to expand...
Click to collapse
im getting the same thing. says the blocked state is true, then i reboot, still there
ikon8 said:
You can use ADB on unrooted devices to remove the "What's New" option from the NavRing and to remove the Small Apps Widget launcher from Recent Apps.
I will assume you know how to install and use ADB.
To remove the "What's New" option from the NavRing:
Code:
adb shell
pm block com.sonymobile.advancedwidget.entrance
exit
adb reboot
Make sure to reboot before proceeding if you're removing both items.
To remove the Small Apps Widget Launcher from the Recents screen:
Code:
adb shell
pm block com.sony.smallapp.launcher
pm block com.sony.smallapp.app.widget
exit
adb reboot
To revert changes substitute "unblock" for "block" in the command.
Click to expand...
Click to collapse
This whole thread is actually a repetition of what has already been discussed and suggested over here:
http://forum.xda-developers.com/z3-compact/help/deactivated-apps-getting-activated-t2889082
Can you use adb to get rid of the nav bar too?
oh Thankgod ! whats new and the quick launch widget are gone !!!!
Thankyou Thankyou Thankyou
ps; is there a list of commands to get rid of certain other apps, widgets, bloat etc ?

Categories

Resources