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
Related
........ 10 chars.
Can you be more specific? That does not help us at all. Which ROM are you running and what is your error message?
Sent from my Eris using XDA App
Hello, my names Alex and I've been trying to install this battery tweak as well, but I can't. I follow the instructions. It says to run the terminal emulator and type "su" to grant superuser. Ok. That part works fine. BUt when it says to type "batt-cfg, then 1 and then press enter. It says batt-cfg1 not found.. Ans I can't get passed that part... What am I doing wrong?
Palexo said:
Hello, my names Alex and I've been trying to install this battery tweak as well, but I can't. I follow the instructions. It says to run the terminal emulator and type "su" to grant superuser. Ok. That part works fine. BUt when it says to type "batt-cfg, then 1 and then press enter. It says batt-cfg1 not found.. Ans I can't get passed that part... What am I doing wrong?
Click to expand...
Click to collapse
The instructions assumed a level of familiarity with the command line. You need to put a space between "batt-cfg" and "1".
Hey guys, I was wondering if anyone could tell me somewhere I could go to learn command prompts for the terminal emulator on our phone... I've googled it, but there's nothing there that im looking for... I wanna start to learn.. any help would be appreciated! Thanks in advance!
Sent from my SGH-T959 using XDA App
Learn some basic Linux commands.
Sent from my GT-I9000 using XDA App
Our phones are stripped versions of linux basically as stated previously
first type in "su" without "", so then you can edit your system files etc..
google some
some are
reboot
reboot download
reboot recovery
etc
xriderx66 said:
first type in "su" without "", so then you can edit your system files etc..
google some
some are
reboot
reboot download
reboot recovery
etc
Click to expand...
Click to collapse
Right, regardless of the two posts stating that Android is basically Linux being technically correct, you will find very few shell commands that actually work. Of the ones you do find, most of the switches and options will not work. The commands mentioned by xriderx66 are ADB commands, and you may have better luck concentrating on those. The phone does not have a full shell, it only has busybox, which is a stripped down version of a shell with most popular shell programs built in. The busybox on the phones are highly stripped down even for busybox. In fact this phone is the only shell I have ever used that does not even recognize the command switches for ls.
Here is an ADB tutorial.
Hello XDA peeps going to attempt to unlock, root and flash a Rom for the first time tonight...any tips, suggestions and knowledge thrown my way would be greatly appreciated. Already looked around threads for "how to" I think I got good idea but knowledge is power haha
Sent from my HTC6435LVW using xda app-developers app
kenohki88 said:
Hello XDA peeps going to attempt to unlock, root and flash a Rom for the first time tonight...any tips, suggestions and knowledge thrown my way would be greatly appreciated. Already looked around threads for "how to" I think I got good idea but knowledge is power haha
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
unlocking is easy now with the new method, as long as htc's website is working.
then just install a recovery via fastboot and flash a rom. Id recommend viperdna
Bigandrewgold said:
unlocking is easy now with the new method, as long as htc's website is working.
then just install a recovery via fastboot and flash a rom. Id recommend viperdna
Click to expand...
Click to collapse
Im having issues with the new method. I feel like I have followed every bit of instructions yet my computer can seem to either recognize my device or does not find "fastboot" as internal or external storage.
It seems so easy too...
KevC90 said:
Im having issues with the new method. I feel like I have followed every bit of instructions yet my computer can seem to either recognize my device or does not find "fastboot" as internal or external storage.
It seems so easy too...
Click to expand...
Click to collapse
That just means you didn't correctly install the android sdk, or whatever its called.
Sent from my HTC6435LVW using xda app-developers app
Bigandrewgold said:
That just means you didn't correctly install the android sdk, or whatever its called.
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
Been meaning to ask this now but when it comes to downloading the new method APK file and hasoons toolkit v2.1 for the dna do I have to install them both through my phone or do I download them on to my computer and transfer the files through there.
Sorry if I ask a lot. I have just been reading so much and every time I thought I figured it out it shows the same message.
KevC90 said:
Been meaning to ask this now but when it comes to downloading the new method APK file and hasoons toolkit v2.1 for the dna do I have to install them both through my phone or do I download them on to my computer and transfer the files through there.
Sorry if I ask a lot. I have just been reading so much and every time I thought I figured it out it shows the same message.
Click to expand...
Click to collapse
Apk file just install on your phone. And I never used a toolkit so idk.
Sent from my GT-P7510 using xda app-developers app
Bigandrewgold said:
Apk file just install on your phone. And I never used a toolkit so idk.
Sent from my GT-P7510 using xda app-developers app
Click to expand...
Click to collapse
Are you using a windows vista comp or apple? Originally I just installed the apk, ran it, rebooted my phone (manually, ive seen a video where the phone rebooted itself and he manually booted it into bootloader), ran cmd "fastboot oem readcid" and nothing... it almost makes me want to return the phone.
KevC90 said:
Are you using a windows vista comp or apple? Originally I just installed the apk, ran it, rebooted my phone (manually, ive seen a video where the phone rebooted itself and he manually booted it into bootloader), ran cmd "fastboot oem readcid" and nothing... it almost makes me want to return the phone.
Click to expand...
Click to collapse
Did you select fastboot in bootloader.
Sent from my HTC6435LVW using xda app-developers app
Bigandrewgold said:
Did you select fastboot in bootloader.
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
Yes I did.
Installed apk through my phone
Ran the apk
Manuel reboot into bootloader (should I have fastboot check on in app>settings>battery?)
Hit the power button on fastbook
Open up CMD script and type "fastboot oem readcid"
and....
nothing... =[
Should my usb settings be set to anything in particular?
KevC90 said:
Yes I did.
Installed apk through my phone
Ran the apk
Manuel reboot into bootloader (should I have fastboot check on in app>settings>battery?)
Hit the power button on fastbook
Open up CMD script and type "fastboot oem readcid"
and....
nothing... =[
Should my usb settings be set to anything in particular?
Click to expand...
Click to collapse
What does your cmd prompt say after you press enter.
Sent from my HTC6435LVW using xda app-developers app
Bigandrewgold said:
What does your cmd prompt say after you press enter.
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
'fastboot' is not recognized as an internal or external command, operable programs or batch file.
KevC90 said:
'fastboot' is not recognized as an internal or external command, operable programs or batch file.
Click to expand...
Click to collapse
That's because you're doing it out of a regular ol' command prompt.
There's two things you an do to alleviate that problem.
1) Follow this:
Right click on the My Computer icon and select the properties tab.
Select Advanced and click the Environment Variables button.
In the new dialog box double-click on Path (located under System Variables) and type in the full path location to the tools directory.
So essentially if your directory for ADB and fastboot are under C:\<SDK FOLDER NAME>\tools or C:\<SDK FOLDER NAME>\platform-tools, add those to the Path.
2) Go to the directory where ADB/Fastboot, hold SHIFT and then right click. It'll give you the option to open up a command prompt from that directory with should allow you to run those specific commands.
Also, getting back to the Paths. Make sure when you go to add a new path that you put a ; IMMEDIATELY after the very last one. Then absolutely no spaces right after that ;. So.... example coming up..
Let's say a path was C:\banana\peel, and you want to add your ADB folder. So it'll be typed like so, C:\banana\peel;C:\<SDK FOLDER>\tools and then you repeat the same exact thing for the next folder.
I really hope this helps!
Shamrock13 said:
That's because you're doing it out of a regular ol' command prompt.
There's two things you an do to alleviate that problem.
1) Follow this:
Right click on the My Computer icon and select the properties tab.
Select Advanced and click the Environment Variables button.
In the new dialog box double-click on Path (located under System Variables) and type in the full path location to the tools directory.
So essentially if your directory for ADB and fastboot are under C:\<SDK FOLDER NAME>\tools or C:\<SDK FOLDER NAME>\platform-tools, add those to the Path.
2) Go to the directory where ADB/Fastboot, hold SHIFT and then right click. It'll give you the option to open up a command prompt from that directory with should allow you to run those specific commands.
Also, getting back to the Paths. Make sure when you go to add a new path that you put a ; IMMEDIATELY after the very last one. Then absolutely no spaces right after that ;. So.... example coming up..
Let's say a path was C:\banana\peel, and you want to add your ADB folder. So it'll be typed like so, C:\banana\peel;C:\<SDK FOLDER>\tools and then you repeat the same exact thing for the next folder.
I really hope this helps!
Click to expand...
Click to collapse
Following the first method (thanks alot for the help too man, I appreciate it).
Ive found the PATH section you told me about, but I dont understand what you mean by "the full path location to the tools directory".
2) Where is the ADB/Fastboot directory?
New member here as well and was my first rooting and not as hard or challenging as you might think unless things go wrong.
Talk about noob on my part haha I didn't have any files (adb and sdk) well in my defense when I rooted my razr I had some program I downloaded that basically did everything for me so I guess haha thanks for these tips people keep them coming well attempt this again tonight or weekend
Sent from my HTC6435LVW using xda app-developers app
kenohki88 said:
Talk about noob on my part haha I didn't have any files (adb and sdk) well in my defense when I rooted my razr I had some program I downloaded that basically did everything for me so I guess haha thanks for these tips people keep them coming well attempt this again tonight or weekend
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
Its okay. I was confused on this too because i ran the fastboot and it said it didn't recognize it. So i realized that fastbook has to be a program that i have to install. Eventually i figured out it was from the android sdk, but all the guides assume you have android sdk installed. They might want to consider adding something like "make sure you have android sdk installed and your Path set" in their guides. I know that would have saved me some trouble haha. ^_^
Yea that would have saved me some sleep haha I still can't get it to work though when I do CID exploit command prompt says no recognized ADB devices I think it might be cause I can't install HTC drivers (I hope cause I'm getting frustrated) haha will try again in next couple days
Sent from my HTC6435LVW using xda app-developers app
Im trying to open a text file from within a terminal window emulator but not so it opens in the actual terminal but more like ive just clicked on it. so my question is? What command can i use to open /mnt/sdcard/textfile.txt from a terminal window emulator from ROM Toolbox Lite within the android gui so that it will open with any one of my text editing applications? Will i need to run 'su' before i can run what ever command ppl suggest id prefer not to. but im rooted so i can run su I hope that is enough information. Im using android version 4.0.4
Why u dnt use root explorer to view/edit files.
Sent from my GT-I9100 using xda premium
If you switch to su from the command line, you can then use Vi to open/edit text files. But be warned, it is very tedious/time consuming & fiddly to use. Do a Google search for the Vi commands if you're still keen (And as Stopro said, there are easier ways to do it as well).
Edit - Actually, you don't even need to switch into su to do it.
MistahBungle said:
If you switch to su from the command line, you can then use Vi to open/edit text files. But be warned, it is very tedious/time consuming & fiddly to use. Do a Google search for the Vi commands if you're still keen (And as Stopro said, there are easier ways to do it as well).
Edit - Actually, you don't even need to switch into su to do it.
Click to expand...
Click to collapse
Thank you for your input but i am looking for something simpler than that... I realized last night all i want to know is how to do this like in windows if you type in C:\text.txt from command prompt it will load the default text editor (what ever that may be) so how do i do it using bash terminal emulator from ROM Toolbox Lite?
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.