Would it be possible for someone to create a script that kills all background apps except the essentials needed for the gear vr? i know one would assume that , thats what happen when the gear vr loads , but in reality it isnt. Maybe this would help with the overheating issue ? or atleast increase the amount of time you can use the vr for? because currently i only get about 30 - 45 minutes
Affichage des articles dont le libellé est Script. Afficher tous les articles
Affichage des articles dont le libellé est Script. Afficher tous les articles
[Q&A] [SCRIPT] DROID 4 Utility XT894 Jellybean -- Windows + Mac + Linux (All In One! topic
Q&A for [SCRIPT] DROID 4 Utility XT894 Jellybean -- Windows + Mac + Linux (All In One!)
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [SCRIPT] DROID 4 Utility XT894 Jellybean -- Windows + Mac + Linux (All In One!). If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy! :)
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [SCRIPT] DROID 4 Utility XT894 Jellybean -- Windows + Mac + Linux (All In One!). If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy! :)
[Q] Permission denied on complex shell script topic
I'm porting a script that runs well on android 4.0.4 to android 4.4.2
Simplified it does this:
I'm using a busybox binary in mi app's folder (/data/data/com.myapp.bla/)
The error I'm getting is:
However, if I run
it works.
The ./busybox that it's complaining about it's the second, the one that calls rm. The first get's executed. Whatever I put as the second command won't get executed.
I'm rooted and can execute simple commands as root, the problem is when a comand has a nested command inside.
same thing happens with rsync -e.
I've tested this on Samsung galaxy note 10.1 android 4.0.4 where it works fine, and Samsung galaxy note 10.1 2014 edittion android 4.4.2 where it fails.
I'm sensing this has something to do with SELinux set in enforced. I can't change it whatsoever. I've tryed everything on the net besides reflashing a new kernel and changing image.
Simplified it does this:
Code:
ls *.a | ./busybox xargs ./busybox rm -fThe error I'm getting is:
Code:
xargs: ./busybox: Permission deniedCode:
./busybox rm -f x.aThe ./busybox that it's complaining about it's the second, the one that calls rm. The first get's executed. Whatever I put as the second command won't get executed.
I'm rooted and can execute simple commands as root, the problem is when a comand has a nested command inside.
same thing happens with rsync -e.
I've tested this on Samsung galaxy note 10.1 android 4.0.4 where it works fine, and Samsung galaxy note 10.1 2014 edittion android 4.4.2 where it fails.
I'm sensing this has something to do with SELinux set in enforced. I can't change it whatsoever. I've tryed everything on the net besides reflashing a new kernel and changing image.
[Q] Permission denied on complex shell script topic
I'm porting a script that runs well on android 4.0.4 to android 4.4.2
Simplified it does this:
I'm using a busybox binary in mi app's folder (/data/data/com.myapp.bla/)
The error I'm getting is:
However, if I run
it works.
I'm rooted and can execute simple commands as root, the problem is when a comand has a nested command inside.
same thing happens with rsync -e.
I've tested this on Samsung galaxy note 10.1 android 4.0.4 where it works fine, and Samsung galaxy note 10.1 2014 edittion android 4.4.2 where it fails.
I'm sensing this has something to do with SELinux set in enforced. I can't change it what so ever. I've tryed everything on the net besides reflashing a new kernel and changing image.
Simplified it does this:
Code:
ls *.a | ./busybox xargs ./busybox rm -fThe error I'm getting is:
Code:
xargs: ./busybox: Permission deniedCode:
./busybox rm -f x.aI'm rooted and can execute simple commands as root, the problem is when a comand has a nested command inside.
same thing happens with rsync -e.
I've tested this on Samsung galaxy note 10.1 android 4.0.4 where it works fine, and Samsung galaxy note 10.1 2014 edittion android 4.4.2 where it fails.
I'm sensing this has something to do with SELinux set in enforced. I can't change it what so ever. I've tryed everything on the net besides reflashing a new kernel and changing image.
[Q&A] [SCRIPT] DROID RAZR HD Utility 1.21 - Windows/Mac/Linux topic
Q&A for [SCRIPT] DROID RAZR HD Utility 1.21 - Windows/Mac/Linux
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [SCRIPT] DROID RAZR HD Utility 1.21 - Windows/Mac/Linux. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy! :)
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [SCRIPT] DROID RAZR HD Utility 1.21 - Windows/Mac/Linux. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy! :)
[SCRIPT] NoMoto - Stock ROM Debloat Script (KitKat) topic
Motorola is pretty good about keeping their ROMs very close to AOSP but there is still a little bit of bloat that can be removed. User lost101 posted some zips that can be installed from a custom recovery like TWRP or CWM that can be used to remove the bloat on Moto G 2013 KitKat and Lollipop ROMs (you can find it here).
Unfortunately, you can't use his script as is for the Moto G 2014 KitKat ROMs. His script removes velvet.apk which causes the setup app to crash when you are first setting up your phone that prevents you from getting to the home screen. The reason is that these ROMs use the Google Now Launcher which depends on having velvet.apk in /system/priv-app. Aside from this, his original script does not remove the extra keyboards such as the Hindi and Korean ones.
So I've adapted his NoMoto v004 script for use by Moto G 2014 users (like me). Unfortunately, I don't have much time so I'm going to provide everything as is and I won't be able to provide much support. Fortunately, if you read the OP by lost101 (here it is again), you shouldn't have any problems.
What you'll need:
1. Stock KitKat ROM from Motorola (if you look at lost101's thread you will see that there are Lollipop scripts as well but I will not be providing one for you for the Moto G 2014).
2. Custom recovery to install the .zip (of course this means you will need an unlocked boot loader)
I'd recommend doing a Nandroid backup before proceeding. I would also recommend installing this zip right after a factory wipe and before you go through the setup but it should work even if you don't.
This is what lost101 has to say about what is being removed:
Moto G 2014 Debloat Script - NoMoto v001 [Download]
Here is what will be removed when you install this zip from your custom recovery (WARNING: OTA Updates no longer possible once these are removed):
Unfortunately, you can't use his script as is for the Moto G 2014 KitKat ROMs. His script removes velvet.apk which causes the setup app to crash when you are first setting up your phone that prevents you from getting to the home screen. The reason is that these ROMs use the Google Now Launcher which depends on having velvet.apk in /system/priv-app. Aside from this, his original script does not remove the extra keyboards such as the Hindi and Korean ones.
So I've adapted his NoMoto v004 script for use by Moto G 2014 users (like me). Unfortunately, I don't have much time so I'm going to provide everything as is and I won't be able to provide much support. Fortunately, if you read the OP by lost101 (here it is again), you shouldn't have any problems.
What you'll need:
1. Stock KitKat ROM from Motorola (if you look at lost101's thread you will see that there are Lollipop scripts as well but I will not be providing one for you for the Moto G 2014).
2. Custom recovery to install the .zip (of course this means you will need an unlocked boot loader)
I'd recommend doing a Nandroid backup before proceeding. I would also recommend installing this zip right after a factory wipe and before you go through the setup but it should work even if you don't.
This is what lost101 has to say about what is being removed:
Quote:
These scripts will remove the bloat from Stock Motorola ROMs and Google Play Edition. Scripts can be run in Custom Recovery (CWM / TWRP) prior to first boot to avoid unnecessary setup and app updates. I have not experienced any force closing or obvious problems as a result of these scripts. Infact, theoretically; you should gain battery-life and performance by having less services running on your handset. Nandroid Backup before flashing recommended. Motorola apps can be reinstalled via Google Play Store. |
Here is what will be removed when you install this zip from your custom recovery (WARNING: OTA Updates no longer possible once these are removed):
All Pre-installed Google apps (excluding Play Store)Here is the code from the script that does the removing (anything with a # in front of it is obviously not executed):
Audio Effects (Equalizer)
Chinese Keyboard (GooglePinyinIME)
CloudPrint
com.qualcomm.atfwd (Wifi Display)
DemoMode app
Face Unlock
FM Radio
HP Legacy Plugin
Live Wallpapers (Pre-installed) (You can still add your own)
Motorola promotional video and pictures
Motorola Alert
Motorola Migrate
Motorola Help
Motorola Rescue Add-on
MotoCare
Motorola Bootanimation
Photo Table
Picasa Uploader
Print Spooler
QualcommSettings app
Talkback
Google Hindi Input
Google Korean Input
iWnnIME keyboard
All Motorola apps and services
Code:
ui_print(">>> Moto G 2014 Debloat Script - NoMoto v001<<<");
ui_print(">>> Mounting /SYSTEM PARTITION... <<<");
run_program("/sbin/busybox", "mount", "/system");
ui_print(">>> Deleting Apps... <<<");
#****Motorola stock apps****
delete("/system/app/3c_main.apk");
delete("/system/app/3c_main.odex");
delete("/system/app/atfwd.apk");
delete("/system/app/atfwd.odex");
delete("/system/app/BasicDreams.apk");
delete("/system/app/BasicDreams.odex");
delete("/system/app/AonIntLT.apk");
delete("/system/app/AonIntLT.odex");
delete("/system/app/Bug2GoStub.apk");
delete("/system/app/com.motorola.android.nativedropboxagent.apk");
delete("/system/app/com.motorola.android.nativedropboxagent.odex");
delete("/system/app/com.motorola.android.settings.diag_mdlog.apk");
delete("/system/app/com.motorola.android.settings.diag_mdlog.odex");
delete("/system/app/FMRadioService.apk");
delete("/system/app/FMRadioService.odex");
delete("/system/app/FMRecordService.apk");
delete("/system/app/FMRecordService.odex");
delete("/system/app/Mesh.apk");
delete("/system/app/Mesh.odex");
delete("/system/app/MediaUploader.apk");
delete("/system/app/MotGeoFenceSvc.apk");
delete("/system/app/MotGeoFenceSvc.odex");
delete("/system/app/MotoSignatureApp.apk");
delete("/system/app/PartnerBookmarkersProvider.apk");
delete("/system/app/PartnerBookmarkersProvider.odex");
delete("/system/app/SmartActionFW.apk");
delete("/system/app/SmartActionFW.odex");
delete("/data/app/com.motorola.migrate-1.apk");
delete("/system/priv-app/3c_checkin.apk");
delete("/system/priv-app/3c_checkin.odex");
delete("/system/priv-app/3c_devicemanagement.apk");
delete("/system/priv-app/3c_devicemanagement.odex");
delete("/system/priv-app/3c_notification.apk");
delete("/system/priv-app/3c_notification.odex");
delete("/system/priv-app/3c_ota.apk");
delete("/system/priv-app/3c_ota.odex");
delete("/system/priv-app/3c_sso.apk");
delete("/system/priv-app/3c_sso.odex");
delete("/system/priv-app/AonLT.apk");
delete("/system/priv-app/AonLT.odex");
delete("/system/priv-app/AudioEffects.apk");
delete("/system/priv-app/AudioEffects.odex");
delete("/system/priv-app/BodyGuardApp.apk");
delete("/system/priv-app/BodyGuardApp.odex");
delete("/data/app/com.motorola.bodyguard-1.apk");
delete("/system/priv-app/cce.apk");
delete("/system/priv-app/cce.odex");
delete("/system/priv-app/ContextEngineClient.apk");
delete("/system/priv-app/ContextEngineClient.odex");
delete("/system/priv-app/DemoMode.apk");
delete("/system/priv-app/DemoMode.odex");
delete("/system/priv-app/EmaraPhoneExtns.apk");
delete("/system/priv-app/EmaraPhoneExtns.odex");
delete("/system/priv-app/FMPlayer.apk");
delete("/system/priv-app/FMPlayer.odex");
delete("/data/app/com.motorola.fmplayer-1.apk");
delete("/system/priv-app/fswriter.apk");
delete("/system/priv-app/fswriter.odex");
delete("/system/priv-app/GuideMe.apk");
delete("/system/priv-app/GuideMe.odex");
delete("/data/app/com.motorola.genie-1.apk");
delete("/system/priv-app/LMIRescueSecurity.apk");
delete("/system/priv-app/Moodles.apk");
delete("/system/priv-app/Moodles.odex");
delete("/system/priv-app/MotAuthService.apk");
delete("/system/priv-app/MotAuthService.odex");
delete("/system/priv-app/MotCamera.apk");
delete("/system/priv-app/MotCamera.odex");
delete("/data/app/com.motorola.camera-1.apk");
delete("/system/priv-app/MotGallery2.apk");
delete("/system/priv-app/MotGallery2.odex");
delete("/data/app/com.motorola.MotGallery2-1.apk");
delete("/system/priv-app/MotoAssist.apk");
delete("/system/priv-app/MotoAssist.odex");
delete("/data/app/com.motorola.contextual.smartrules2-1.apk");
delete("/system/priv-app/MotoCare.apk");
delete("/system/priv-app/MotoCare.odex");
delete("/system/priv-app/MotoCareInt.apk");
delete("/system/priv-app/MotoCareInt.odex");
delete("/system/priv-app/MotoOneTimeInitializer.apk");
delete("/system/priv-app/MotoOneTimeInitializer.odex");
delete("/data/data/com.motorola.setup");
#****Essential stock apps****
delete("/system/app/Exchange2.apk");
delete("/system/app/Exchange2.odex");
delete("/system/priv-app/Email.apk");
delete("/system/priv-app/Email.odex");
delete("/system/app/Email.apk");
delete("/system/app/Email.odex");
delete("/system/app/PrintSpooler.apk");
delete("/system/app/PrintSpooler.odex");
delete("/system/app/PhotoTable.apk");
delete("/system/app/PhotoTable.odex");
#****Google's Extra Keyboards****
delete("/system/app/GooglePinyinIme.apk");
delete("/system/lib/libjni_googlepinyinime_5.so");
delete("/system/lib/libjni_googlepinyinime_latinime_5.so");
delete("/system/lib/libpinyin_data_bundle.so");
delete("/system/app/HindiIME.apk");
delete("/system/app/iWnnIME.apk");
delete("/system/app/iWnnIME_Kbd_White.apk");
delete("/system/app/KoreanIME.apk");
#****Roms preloaded apps****
delete("/system/app/HoloSpiralWallpaper.apk");
delete("/system/app/HoloSpiralWallpaper.odex");
delete("/system/app/LiveWallpapers.apk");
delete("/system/app/LiveWallpapers.odex");
delete("/system/app/MagicSmokeWallpapers.apk");
delete("/system/app/MagicSmokeWallpapers.odex");
delete("/system/app/NoiseField.apk");
delete("/system/app/NoiseField.odex");
delete("/system/app/PhaseBeam.apk");
delete("/system/app/PhaseBeam.odex");
#****Google apps (downloadable through PlayStore)***
delete("/system/app/Books.apk");
delete("/system/app/Chrome.apk");
delete("/system/app/CloudPrint.apk");
delete("/system/app/Drive.apk");
delete("/system/app/Gmail.apk");
delete("/system/app/Gmail2.apk");
delete("/system/app/GMS_Maps.apk");
delete("/system/app/GoogleTTS.apk");
delete("/system/app/Hangouts.apk");
delete("/system/app/HPLegacyPlugin.apk");
delete("/data/app/com.google.android.talk-1.apk");
delete("/system/app/Magazines.apk");
delete("/system/app/Music2.apk");
delete("/system/app/PlayGames.apk");
delete("/data/app/com.google.android.play.games-1.apk");
delete("/system/app/PlusOne.apk");
delete("/system/app/Quickoffice.apk");
delete("/system/app/SoundRecorder.apk");
delete("/system/app/SoundRecorder.odex");
delete("/system/app/Street.apk");
delete("/system/app/Translate.apk");
delete("/system/app/Videos.apk");
delete("/system/app/YouTube.apk");
delete("/data/app/com.android.chrome-1.apk");
delete("/data/app/com.google.android.apps.books-1.apk");
delete("/data/app/com.google.android.apps.docs-1.apk");
delete("/data/app/com.google.android.apps.docs-2.apk");
delete("/data/app/com.google.android.apps.magazines-1.apk");
delete("/data/app/com.google.android.apps.maps-1.apk");
delete("/data/app/com.google.android.apps.plus-1.apk");
delete("/data/app/com.google.android.apps.translate-1.apk");
delete("/data/app/com.google.android.gm-1.apk");
delete("/data/app/com.google.android.music-1.apk");
delete("/data/app/com.google.android.tts-1.apk");
delete("/data/app/com.google.android.videos-1.apk");
delete("/data/app/com.google.android.youtube-1.apk");
#****Google's Accessibility****
delete("/system/app/talkback.apk");
delete("/data/app/com.google.android.marvin.talkback-1.apk");
#****Miscellaneous System Apps****
delete("/system/app/QualcommSettings.apk");
delete("/system/app/FaceLock.apk");
ui_print(">>> DELETING EXTRA MEDIA FILES... <<<");
delete_recursive("/system/etc/motorola/MotoDemo");
delete("/system/vendor/media/LMprec_508.emd");
delete("/system/vendor/media/PFFprec_600.emd");
#****Essential media files****
delete("/system/media/bootanimation.zip");
#delete_recursive("/system/media/audio/alarms/");
#delete_recursive("/system/media/audio/notifications/");
#delete_recursive("/system/media/audio/ringtones/");
#delete_recursive("/system/media/audio/ui/");
ui_print(">>> Extracting System Files... <<<");
package_extract_dir("system", "/system");
ui_print(">>> Unmounting /SYSTEM PARTITION... <<<");
unmount("/system");
ui_print(">>> FINISHED... <<<");[ZIP] Synapse + Script => Universal Kernel Manager for togari topic
Hi guys,
I decided to share my UKM script right here, and i'll try to make it universal so it fits every kernel.
The Z Ultra isn't supported officially, that why i started working on it and made it fit our phone.
This is only ment for C6833 | C680? , do not try on any other Phone.
What is UKM?
UKM requires:
Installation:
Features:
Additional Features added by myself:
Downloads:
Github Source:
Thanks:
@apb_axel
@neobuddy89
XDA:DevDB Information
UKM, Tool/Utility for the Sony Xperia Z Ultra
Contributors
Tommy-Geenexus
Version Information
Status: Testing
Created 2015-01-05
Last Updated 2015-01-05
I decided to share my UKM script right here, and i'll try to make it universal so it fits every kernel.
The Z Ultra isn't supported officially, that why i started working on it and made it fit our phone.
This is only ment for C6833 | C680? , do not try on any other Phone.
What is UKM?
UKM requires:
Quote:
* Root * Working BusyBox * Init.d support (rom | kernel) * Working Recovery * Synapse Application |
Features:
Additional Features added by myself:
Quote:
* Resorted UI to make it cleaner * Panel Information * Backlight Control * Many more when used with my kernel |
Quote:
https://www.androidfilehost.com/?fid=95887005526786956 md5sum: 6cd4767e6db0204f0c8c2fea434bda0f |
Thanks:
@apb_axel
@neobuddy89
XDA:DevDB Information
UKM, Tool/Utility for the Sony Xperia Z Ultra
Contributors
Tommy-Geenexus
Version Information
Status: Testing
Created 2015-01-05
Last Updated 2015-01-05
[Q] Notification from php script to android app topic
H
I want to send notification from php script to android app .. how can i do that?
i have used gcm service from Google but it has a problem it duplicate the notification
Is there another way or service to send notification.
I want to send notification from php script to android app .. how can i do that?
i have used gcm service from Google but it has a problem it duplicate the notification
Is there another way or service to send notification.
Inscription à :
Articles (Atom)