save cab.files (not delete after installation) - HTC Startrek

is there a setting to make sure, installed cab are not deleted?

you can edit registry
HKEY_CLASSES_ROOT > capfile > Shell > Open > Command
แล้วเซ็ตค่change Value data of Default
wceload.exe "%1" เป็น -->> wceload.exe "%1" /nodelete

thank you... works perfect!

Related

[TOOL 07/11] Easy Fre3vo w/ Perma-Temp, Bloatware Disabler & Overclock (Win/Mac/Lin)

[TOOL 07/11] Easy Fre3vo w/ Perma-Temp, Bloatware Disabler & Overclock (Win/Mac/Lin)
I want to start by thanking TeamWin for all of their hard work and the effort they have put in to Fre3vo. I also want to thank Daddyroot for his "Easy Copy/Paste." Euegene373 for his Perma-Temp root method, and Coolbho3000 for his Cverclock work! I also want to thank Mikeyxda for helping tidy things up a bit!
What is Easy Fre3vo?
Easy Fre3vo is a simple batch file that will give you temp-root, as well as give you a functioning Superuser ability. I have tested Titanium Backup. It worked flawlessly. I hope this helps and makes things easier for everyone!
Windows - How to:
1. Download and Install HTC Sync (Download Here)
2. Uninstall HTC Sync
3. Enable USB Debugging [Menu > Settings > Applications > Development] (Thanks Kitinas)
4. Download the attached ZIP
5. Extract the Folder
6. Open the Windows Directory
6. (a) Run Easy_Fre3vo_Start.bat
6. (b) If you lose root, Run_Easy_Fre3vo_Redo.bat
Mac - How to:
1. Enable USB Debugging [Menu > Settings > Applications > Development] (Thanks Kitinas)
2. Download the attached ZIP
3. Extract the Folder to your Desktop (This is required)
4. Open Terminal (Finder > Search "Terminal" > Open Terminal)
5. Type: cd "desktop/Easy Fre3vo/Macintosh"
6. Type: chmod +x "./Easy_Fre3vo_Start.command"
7. Type: chmod +x "./Easy_Fre3vo_Redo.command"
8. Open the Macintosh Directory
9. (a) Run Easy_Fre3vo_Start.command
9. (b) If you lose root, Run Easy_Fre3vo_Redo.command
Linux - How to: (Thanks to Bigmase521)
1. Enable USB Debugging [Menu > Settings > Applications > Development] (Thanks Kitinas)
2. Download the attached ZIP
3. Extract the Folder
4. Open Terminal and cd to Linux in the Extracted Folder.
5. Run this command in the terminal: chmod +x "Easy_Fre3vo_Start.sh"
6. Run this command in the terminal: chmod +x "Easy_Fre3vo_Redo.sh"
7. (a) Run this command in the terminal: "./Easy_Fre3vo_Start.sh"
7. (b) If you lose root, Run this command in the terminal "./Easy_Fre3vo_Redo.sh"
----------------------------
Bloatware Disabler:
This will remove the following Bloatware from your device:
mSpot Radio
DocMaster
TeleNav
MobiTV
Sprint
SpiderMan
Qik
Gameloft Widget
Report Agent
Nascar
HTC Log
eReader
AppSharing
Blockbuster
Windows - How to:
1. After aquiring root, if you used my method skip to step 5.
2. Enable USB Debugging [Menu > Settings > Applications > Development] (Thanks Kitinas)
3. Download the attached ZIP
4. Extract the Folder
5. Open the Windows Directory
6. Run Remove_Bloat.bat
Mac - How to:
1. After aquiring root, if you used my method skip to step 5.
2. Enable USB Debugging [Menu > Settings > Applications > Development] (Thanks Kitinas)
3. Download the attached ZIP
4. Extract the Folder to your Desktop (This is required)
5. Open Terminal (Finder > Search "Terminal" > Open Terminal)
6. Type: cd "desktop/Easy Fre3vo/Macintosh"
7. Type: chmod +x ./Remove_Bloat.command
8. Open the Macintosh Directory
9. Run Remove_Bloat.command
Linux - How to: (Thanks to Bigmase521)
1. After aquiring root, if you used my method skip to step 5.
2. Enable USB Debugging [Menu > Settings > Applications > Development] (Thanks Kitinas)
3. Download the attached ZIP
4. Extract the Folder
5. Open Terminal and cd to Linux in the Extracted Folder.
6. Run this command in the terminal: chmod +x Remove_Bloat.sh
6. Run this command in the terminal: ./Remove_Bloat.sh
----------------------------
Overclock
This will give you the ability, in SetCPU, to overclock your device to 1728000mhz.
Windows - How to:
1. After aquiring root, if you used my method skip to step 5.
2. Enable USB Debugging [Menu > Settings > Applications > Development] (Thanks Kitinas)
3. Download the attached ZIP
4. Extract the Folder
5. Open the Windows Directory
6. Decide weather you have applied the OTA then, Run_Overclock_OTA.bat or Overclock_Pre_OTA.apk
Mac - How to:
1. After aquiring root, if you used my method skip to step 5.
2. Enable USB Debugging [Menu > Settings > Applications > Development] (Thanks Kitinas)
3. Download the attached ZIP
4. Extract the Folder to your Desktop (This is required)
5. Open Terminal (Finder > Search "Terminal" > Open Terminal)
6. Type: cd "desktop/Easy Fre3vo/Macintosh"
7. Type: chmod +x "./Overclock_OTA.command"
8. Type: chmod +x "./Overclock_Pre_OTA.command"
9. Open the Macintosh Directory
10. Decide weather you have applied the OTA then, Run Overclock_OTA.command or Overclock_Pre_OTA.command
Linux - How to: (Thanks to Kushdeck)
1. After aquiring root, if you used my method skip to step 5.
2. Enable USB Debugging [Menu > Settings > Applications > Development] (Thanks Kitinas)
3. Download the attached ZIP
4. Extract the Folder
5. Open Terminal and cd to Linux in the Extracted Folder.
6. Run this command in the terminal: chmod +x "Overclock_Pre_OTA.sh"
7. Run this command in the terminal: chmod +x "Overclock_OTA.sh"
8. Decide weather you have applied the OTA then, Run this command in the terminal: "./Overclock_OTA.sh" or "./Overclock_Pre_OTA.sh"
----------------------------
[Note: If you notice any errors while a script is running, after, please check the device to see if it is rooted before posting that it simply did not work. Strange, but sometimes errors occur and everything turns out just fine!]
----------------------------
Change Log:
[07/11]
Repaired Macintosh Scripts
Changed Bloatware to Disable, it's permanent!
Repaired Linux Scripts
[07/10]
Updated Macintosh Scripts
[07/10]
Updated Bloatware Removal
[07/10]
Updated Macintosh Scripts
[07/10]
Updated Linux Scripts
Updated Overclock Scripts: 2 Scripts
[07/09]
Easy Overclock
[07/09]
Perma-Temp Root (Thanks Eugene)
Cleaned Folders
Bloatware Remover
[07/07]
Cleaned Script
New Start, and Redo Script
Support for Macintosh and Linux
[07/07]
Initial Release
----------------------------
If you have any issues, let me know!
If you appreciate my work, you can buy a coke[I'm not of age to have a beer...] or simply hit the Thanks button, I appreciate both.
I'll need to try this out when I get home. Great work!
Thanks! I originally made this for my Sensation, but I figured those with Evo 3D's could use it as well.
From the phone or cpu?
Thanks for the script. I'm assuming this is just a script that should be run the first time... But what about every time you reboot? Does the same script need to ran? Or can you make a quick script with what's needed after this initial script is ran for every reboot?
@dp13 Run it from the PC
@tigereyeslalo I just run it every time I reboot, doesn't hurt.
Wisefire 1000 thanks. It doesn't get easier then that.
Sent from my PG86100 using XDA Premium App
Wisefire said:
@dp13 Run it from the PC
@tigereyeslalo I just run it every time I reboot, doesn't hurt.
Click to expand...
Click to collapse
Would you need to have SDK installed on ur PC or any PC u wish to run this.?
Sent from my PG86100 using XDA Premium App
Did not work for me. Are there special drivers I need? Is there any step you could have left out at all?? Maybe a small detail that you didnt include?
@CJPRICO Nope, I included the ADB files and everything.
@taygutta You're the first person it hasn't worked for, what version of windows are you running, and can you copy all of the text from the command prompt and post it here?
Worked prefect
Must not have the HTC sync drivers
Sent from my GT-P7510 using XDA Premium App
Do you have USB debugging checked? Worked in seconds for me.
Sent from my PG86100 using XDA Premium App
oh man....i just saw this....wish i brought my usb cable out to work...dont get off till 10 tonight....arrgghh.....
works great thanks for this...
FWIW I had to wait a min after the daemon was initialized then it went just fine.
Works great thanks.
will this work if you updated your OTA?
southphillysean said:
will this work if you updated your OTA?
Click to expand...
Click to collapse
It should. Yes.
Si I need to download the zip on the PC, extract it to.the phone then...?
Sent from my PG86100 using XDA Premium App
Wow thank you. I'm able to run chainfire now. Now to try some Tegra 2 games =)
EDIT: Spoke too soon. Chainfire will open but cant install CF3D to rom since its not fully rooted.

is there a way to modify s78enable_touchscreen_1 scripts

I was wondering if there was a way to modify the s78 enable touchscreen script so it will work on my phone...or if there is a way to add the directories it needs to work to the SYS directory...
the script is:
echo 7035 > /sys/class/touch/switch/set_touchscreen;
echo 8002 > /sys/class/touch/switch/set_touchscreen;
echo 11000 > /sys/class/touch/switch/set_touchscreen;
echo 13060 > /sys/class/touch/switch/set_touchscreen;
echo 14005 > /sys/class/touch/switch/set_touchscreen;
and is supposed to alter the touch screen sensitivity...I noticed it is included in a ROM i was using by the dev...but when i try to run it it errors out because it cannot create the directories as needed...
I have a rooted epic 4g touch
please let me know if any more information or details are needed
thanks in advance

Batch APK Installer

I found this Windows application on this thread http://forum.xda-developers.com/showthread.php?p=23291051 I think its a valuable software to install all our apk in one time to save time after each ROM flash.
Windows? Owwww. I have linux mint. imo I don't like windows
sent from my x8 running sde ROM
Click THANKS if I helped
wilbso said:
Windows? Owwww. I have linux mint. imo I don't like windows
Click to expand...
Click to collapse
Let me help you with a very basic script then...
Code:
#!/bin/sh
for apk in `ls $1 | grep .apk`
do
adb install $apk
done
Copy/Paste into gedit, save in, for example, ~/bin, as apkbatch, make the script executable.
For example, run it as...
apkbatch ~/Android/APKs
Of course this is just a skeleton ... you could refine the script with:
- a check to see if adb even exists in the search path
- a check if adb is already running or not - and if not starting it up
- checking back with the user about to either WiFi connect or USB connect
Hint: Modify and extend the skeleton script from above to learn a bit about shell scripting and surprise us with a fully-fledged APK batch installer script for Linux.
APK batch installer
Based on B.Jay's answer, I believe the best thing for linux is to do this.
install android-tools-adb, nautilus-actions
Save the following code to $HOME/bin/apk_batch_install and make it executable.
Code:
#!/bin/sh
which adb || { notify-send 'Please install android-tools-adb before using this script.' ; exit 1; }
echo "APK install log:" > /tmp/apk_batch_install_log
echo "" >> /tmp/apk_batch_install_log
count=1
(
adb start-server
echo "#Waiting for device ..."
adb wait-for-device
for file in "[email protected]"
do
echo "#Installing $count/$#: $(basename "$file")"
adb install "$file" 1>> /tmp/apk_batch_install_log
echo "" >> /tmp/apk_batch_install_log
count=$(( count+1 ))
echo "$(echo "scale=0; $count*100/$#" | bc)"
done
) | zenity --progress \
--title="APK installation" \
--text="Starting adb server ..." --percentage=0 --auto-close --no-cancel
notify-send "APK installation completed"
zenity --info --text="$(cat /tmp/apk_batch_install_log)"
rm /tmp/apk_batch_install_log
and use "Nautilus Actions" to put it to context menu.
After that just select the files you want to install -> right click -> APK install !!
To configure "Nautilus Actions"
1) Add new Action
2) Name it "APK install"
Command Tab
3) Command Path: /home/.../bin/apk_batch_install
4) Command Parameters: %F
Mimetype Tab
5) Add a mimetype filter with mimetype: application/vnd.android.package-archive
6) Remove the filter with * in mimetype
Save
Well done for reviving a year old thread
Sent from my X8 using xda app-developers app
Can anyone write an .sh script so i can use it on android device to install apk from storage
Thanks in advance
Kellwa said:
Can anyone write an .sh script so i can use it on android device to install apk from storage
Thanks in advance
Click to expand...
Click to collapse
Why would you need one? Simply use the relevant xposed module to suppress install notifications and click through them once.

make a .sh file

how can i make a .sh file with more than 1 command in it?
for example:
echo "90" > /sys/devices/system/cpu/cpufreq/lulzactive/inc_cpu_load
echo "1" > /sys/devices/system/cpu/cpufreq/lulzactive/pump_up_step
echo "2" > /sys/devices/system/cpu/cpufreq/lulzactive/pump_down_step
echo "50000" > /sys/devices/system/cpu/cpufreq/lulzactive/up_sample_time
echo "40000" > /sys/devices/system/cpu/cpufreq/lulzactive/down_sample_time
echo "5" > /sys/devices/system/cpu/cpufreq/lulzactive/screen_off_min_step
can i make a single .sh file and don't have to split it in 6 different file???
(this file should be executed with scriptmanager)
hope i have made myself clear.
Of course you can, simply copy all the lines you need into a file, and add before them #!/system/bin/sh, and that's it. Save and run your file.
thanks it worked...very strange, i made the exact same thing before posting this question, but each time it doesn't worked...
hahaha... yeah, it happens :silly:

[Q] edit init.rc to run shell scripts on boot (help urgent!l

I've added the following lines into init.rc
"service sysinit /system/bin/logwrapper /system/xbin/busybox run-parts /system/etc/init.d"
My script is created inside the init.d directory.
#!/system/bin/sh
echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb
Actually, the above action is worked. But when I have added one more script below the echo "2048... script, the problem was come.
( echo "1337" > /system/etc/init.d/gg.txt) p.s. gg.txt is not existed at the beginning
So, finally read_ahead_kb file has changed, but the gg.txt hasn't been created.
Can any one provide the reason and the solution to me?? Emergent! Thanks a lot!!
Or is it necessary for me to add ";" symbol at the end of each script?
If I want to use an infinity loop's script on boot (while : do xxxx done )
is it possible to do so? And how? Thanks
Any body can help?
No one??
hades94720 said:
No one??
Click to expand...
Click to collapse
use double >>
echo 11111 >> abc.txt
echo 2222 >> abc.txt

Categories

Resources