Showing posts with label script. Show all posts
Showing posts with label script. Show all posts

Friday, 23 October 2015

FIX for Monkey Test, ProviderDown, Time Service and others Android Virus (Script)



To remove this virus you need to root and install busybox on your device. Restore default settings and disable WiFi/Data

1. Download this file and extract in a folder: https://mega.nz/#!bQNBkZjT!umfEfgJL1..._XEjHS-AAOwMik
2. Run "MonkeyTest Virus Killer.cmd" and follow the steps
3. Hit thanks if this script works for you :D


Code:


@echo off
color 2f
:menu
adb kill-server
taskkill /f /im adb.exe
cls
echo.
echo --------------------------------------------------------------------
echo[*] Before begin: 
echo    (1) Enable USB Debugging
echo    (2) Enable '"Unknown sources'"
echo    (3) Root your device
echo    (4) Install Busybox (open it an tap on install)
echo --------------------------------------------------------------------
adb -a wait-for-device>nul
echo Device detected, press any key to coninue...
echo.
echo.
pause>nul
echo Deleting apk from /system/app
echo.
adb shell "su -c 'mount -o rw,remount /system'"
adb shell "su -c 'chattr -iaA /system/app/com.android.wp.net.log.apk'"
adb shell "su -c 'rm /system/app/com.android.wp.net.log.apk'"
adb shell "su -c 'chattr -iaA /system/app/Models.apk'"
adb shell "su -c 'rm /system/app/Models.apk'"
adb shell "su -c 'chattr -iaA /system/app/com.google.fk.json.slo.apk'"
adb shell "su -c 'rm /system/app/com.google.fk.json.slo.apk'"
adb shell "su -c 'chattr -iaA /system/app/com.android.hardware.ext0.apk'"
adb shell "su -c 'rm /system/app/com.android.hardware.ext0.apk'"
adb shell "su -c 'chattr -iaA /system/app/providerdown.apk'"
adb shell "su -c 'rm /system/app/providerdown.apk'"
adb shell "su -c 'chattr -iaA /system/app/providerCertificate.apk'"
adb shell "su -c 'rm /system/app/providerCertificate.apk'"
adb shell "su -c 'chattr -iaA /system/app/cameraupdate.apk'"
adb shell "su -c 'rm /system/app/cameraupdate.apk'"
adb shell "su -c 'chattr -iaA /system/app/playstoreupdate.apk'"
adb shell "su -c 'rm /system/app/playstoreupdate.apk'"
echo.
echo Deleting files from /system/xbin
echo.
adb shell "su -c 'chattr -iaA /system/xbin/.b'"
adb shell "su -c 'rm /system/xbin/.b'"
adb shell "su -c 'chattr -iaA /system/xbin/.df'"
adb shell "su -c 'rm /system/xbin/.df'"
adb shell "su -c 'chattr -iaA /system/xbin/.ext.base'"
adb shell "su -c 'rm /system/xbin/.ext.base'"
adb shell "su -c 'chattr -iaA /system/xbin/.ld.js'"
adb shell "su -c 'rm /system/xbin/.ld.js'"
adb shell "su -c 'chattr -iaA /system/xbin/.ls'"
adb shell "su -c 'rm /system/xbin/.ls'"
adb shell "su -c 'chattr -iaA /system/xbin/.sys.apk'"
adb shell "su -c 'rm /system/xbin/.sys.apk'"
echo.
echo Finishied, press any key to exit.
pause>nul
exit





Thursday, 22 October 2015

how to edit updater script for lenovo devices



Experts help to fix status 6 and 7 properly ... of lenovo devices

Need replies urgently



Fixing heating issue in ICSROM with script method by jeremywh7. Please help!



jeremywh7 has explained how to fix the issue with the ICSROM governor so that it runs with min 216Mhz and causes less heating - http://forum.xda-developers.com/show...postcount=1051

Here's the entire post -

Quote:









Quote:
Originally Posted by jeremywh7
I just wanted to mention that I think I found the cause of ICSROM with the latest 3.1.10 kernel not running at 216MHz:
http://forum.xda-developers.com/show...postcount=1018

I have rebooted*, and its still working fine.
[*edit: forgot to update this post...a power off and cold boot does reset it. I've made an init.d script to fix it for now; will provide details later, as its now the wife's main phone.]
[...]

Better late than never, right? :-/ Here is the script I made as '/etc/init.d/01cpufreq' and set to chmod 755 (manually, using ES File Explorer, actually):
Code:
#!/system/bin/sh
#ramdisk cpu scaling min fix

chown root.root /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo "216000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
I installed Universal Init.d (by Androguide.fr) to apply it at boot. I had to run the Test part w/ the tool set to Off, to enable SuperUser privileges. [Update: if you click a file to edit, it will also prompt for su, so that would be easier than running the test; K's July kernels don't support init.d obviously; I'm using kernel-2014_07_04_19_18_atrics.] After setting the tool On, and rebooting...voila, file permission fixed and min frequency 216 MHz.

Since I converted my old CM9-based Atrix to ICSROM (the reason I'm working on all this again), I recalled another mod, rain drop detect issue, for future reference:
http://forum.xda-developers.com/show...&postcount=117
Make sure to leave the extra character at the end the config line [ref: post 119].

Hope this helps...




Needless to say, I don't understand the instructions and I really want to be able to do this fix, so if anyone can help me, please let me know. How can I run this script?