One-Click Maps enable/disable script *needs root* - Streak 5 Android Development

For those that are experiencing battery drain because Maps app keeps opening in the background no matter how many times you force close it, I made a very simple script to completely freeze it (and defrost it if it's already frozen) with one click(technically two lol).
Attached Files:
freeze-maps -- it auto detects if Maps is already enabled or disabled, and does the opposite.
maps-disable -- it simply runs the disable Maps command, won't hurt even if the maps is already disabled
maps-enable -- it enables Maps, won't do any harm if Maps is already enabled
Instruction:
1. Download and Install Script Manager in the market (there's a free version)
2. Download the attached freeze-maps.sh.txt and put it in your SD card, say under Documents
3. Open Script Manager, locate the file (freeze-maps.sh.txt) you just downloaded, open it by long press and open as... Script/Executable
Check "run as root", check "Configure as favorite", Click Save and click Exit
4. You can now quit the Script Manager app
5. On your preferred launcher, create a new widget, choose script manager, and then the freeze-maps.sh.txt script (it should be there, since you bookmarked it at step 3).
6. Now you can enable/disable Maps with just using the widget on your Launcher!
************************************************
For those getting an error with freeze-maps.sh.txt, it means your "pm" command doesn't support filter and it won't function as intended. You can either use maps-disable/maps-enable as two separate widgets
or you can do the following(at your own risk):
I attached a copy of my own "pm" executable file that was found in my device, you just gotta replace yours with it.
How-to:
1. Download the attached file - pm.zip
2. Use root explorer and go to /system/bin
3. mount it as writable by pressing the little button says "Mount R/W", it will change to "Mount R/O"
4. rename your pm to pm.bak (for backup) and replace it with the file pm found in pm.zip
5. Long click on the pm file you just extracted here and choose permissions:
Owner = Read/Write/Execute
Group = Read/Execute
Others = Read/Execute
Click Ok
5. Mount your system back to read only by pressing "Mount R/O" and you should be set
******************************************
PS: please let me know if there's any error since this is the very first Android script I wrote, Thanks for Looking ;-)
*Disclaimer: As usual, I am not responsible for any damage to your device, it's do it at your own risk. I will try my best to help though.
PPS: The geeky stuff - you can of course edit the script or run the command "pm" in a terminal and use it to enable/disable any annoying process, but you need to know what you are doing!!!! I personally froze the market updater and twitter app and some other bloatwares that came with the streak.

Shows
# Error: unknown option: -d
+
(loads a stuff)
+
Maps is now disabled
Maps disappears off my Apps list - I re-run the script, same message, and still no maps. How do I get Maps back ?

I am running this fine on streadriod 2.3 by fards, let me check and get back to you
But the new additional attached files at the first post should solve your problem for now.
it wont detect if you have maps enabled or disabled, but it will do what it's file name implied respectively.
Just use Script Manager to Run it, you can also make two Widgets for enabling/disabling.

haynesteve said:
Shows
# Error: unknown option: -d
+
(loads a stuff)
+
Maps is now disabled
Maps disappears off my Apps list - I re-run the script, same message, and still no maps. How do I get Maps back ?
Click to expand...
Click to collapse
if you have a terminal installed, try to run this > ( === enter means hit enter)
su === enter
pm list packages -d === enter
and let me know the result.

Thank you
enable script has 1st line as
pm enable com.google.android.apps.maps\
which doesn't work - however after removing the slash, works perfectly. Thank you

haynesteve said:
Thank you
enable script has 1st line as
pm enable com.google.android.apps.maps\
which doesn't work - however after removing the slash, works perfectly. Thank you
Click to expand...
Click to collapse
yup made a typo in the script, corrected in the OP, thanks =)

asianftw said:
if you have a terminal installed, try to run this > ( === enter means hit enter)
su === enter
pm list packages -d === enter
and let me know the result.
Click to expand...
Click to collapse
Again shows Error: unknown option: -d
(list usage perameters)
Using Streakin v1.1

haynesteve said:
Again shows Error: unknown option: -d
(list usage perameters)
Using Streakin v1.1
Click to expand...
Click to collapse
Oh that's probably why.. Because Streakin is mostly based on stock rom and I guess -d is some kind of option that only available in the custom roms like on DJ steve's or fard's
If it's not too much trouble, it would be great if you can message me the output of the command so I will see if i can write a working script for the stock rom accordingly
just type(in terminal):
su
pm
and in your terminal software, there's an option "email to". just copy and paste the contents in to a private message via xda.
Thanks so much

Sent you a PM (not easy as Emulator kept FC - lol)

haynesteve said:
Sent you a PM (not easy as Emulator kept FC - lol)
Click to expand...
Click to collapse
Thanks for your help !! I see your version of the pm command is missing the filter option, hence rendering the detection error.
I updated my OP

Thanks for this script, it works brilliantly.
I am trying to modify this script to check of com.facebook.katana is running and do the same for Facebook, but I am not sure how to check if that service is running.

hshah said:
Thanks for this script, it works brilliantly.
I am trying to modify this script to check of com.facebook.katana is running and do the same for Facebook, but I am not sure how to check if that service is running.
Click to expand...
Click to collapse
i did it for some of those apps that have the tendency to stay in the background even you force close it.
you can check if it's running by going to Setting -> application -> running service
you can also check what apps are occupying your resource with an app called "Betterbatterystat"

asianftw said:
i did it for some of those apps that have the tendency to stay in the background even you force close it.
you can check if it's running by going to Setting -> application -> running service
you can also check what apps are occupying your resource with an app called "Betterbatterystat"
Click to expand...
Click to collapse
Sorry, I meant via a script to replace "pm list packages -d".

hshah said:
Sorry, I meant via a script to replace "pm list packages -d".
Click to expand...
Click to collapse
you can look into using pid or look here for some similar info
i can get back to you when I have more time in hand.
But what i can ensure you is: if you have facebook installed, it IS running in the background, period. 100% of the time. It's not using much of my battery though, so I just leave it as that.

Done it

It really works!
Thanks Sir.
Fully Working on Karbonn_A9+.

@asianftw & @hshah,
These are great! Thank you. Will try them soon.
Can you add more apps for this.
And can you make it into auto-mode? Meaning any apps will be freeze when not in use, but will be turned ON when user click those app OR triggered by incoming update (like FB) or at least, set to a fix frequencies to check for update (say every 30 minutes / hourly / "x" hours). If it is possible, this will be a must have app.
Dell Streak | InnerSD 8GB | ExternalSD 32GB | LXdroid 0.2

Related

android crontab

Hello everyone,
I'm searching for a task scheduler, something like cron in linux. The background is I want my phone to execute a "Wake on Lan" Program every morning and my computer will execute some tasks before I'm awake. I already found something like a task scheduler script in this forum but this didn't help.
Perhaps I'm simply to stupid to work with it, I'm not really familiar with the architecture of android but I know how to do this in linux.
So does anyone have an idea how to realize this on android?
look the application called "locale"
this is a event trigger applications with a lot of "plug-ins"
WOL plugin exist and time based (even location based) rule also possible
I use "timeriffic" to disable the ringer at night. It has lots of options, so check it out.
One more voice for timeriffic
ASE, not yet but soon supposedly
Android Scripting environment is supposed to be adding cron type scheduling for scripts relatively soon. As long as you're down with scripting that could work.
Seonetic said:
I'm searching for a task scheduler, something like cron in linux. The background is I want my phone to execute a "Wake on Lan" Program every morning and my computer will execute some tasks before I'm awake.
Click to expand...
Click to collapse
Realise this is an old thread but wondering if you made any progress with this, seonetic? Want to schedule a script to run every X seconds and so far all I've seen are apps that wrap a scheduler round the phone's functions - e.g. wifi on/off, silence on/off
Failing this, I may have to grab and build cron...
Doesn't busybox implement cron?
Gene Poole said:
Doesn't busybox implement cron?
Click to expand...
Click to collapse
yes, it appears to:
http://www.busybox.net/downloads/BusyBox.html
Good shout, thanks! Will have a play around and report back.
I've been thinking I'd like cron, too. However, I was worried about battery impact. Isn't the typical cron implementation dependent on a running CPU?
Gene Poole said:
Doesn't busybox implement cron?
Click to expand...
Click to collapse
I checked on my N1 and it doesn't have either of the cron applets. I'll grab the source and have a look at including it.
You should be able to just create symlinks of them to busybox. Here's what's on mine:
Code:
# which crond
/system/xbin/crond
# ls -l /system/xbin/crond
lrwxrwxrwx root root 2010-08-11 09:07 crond -> busybox
# which crontab
/system/xbin/crontab
# ls -l /system/xbin/crontab
lrwxrwxrwx root root 2010-08-11 09:07 crontab -> busybox
# crond --help
BusyBox v1.15.2 (2009-10-08 09:47:18 BST) multi-call binary
Usage: crond -fbS -l N -d N -L LOGFILE -c DIR
-f Foreground
-b Background (default)
-S Log to syslog (default)
-l Set log level. 0 is the most verbose, default 8
-d Set log level, log to stderr
-L Log to file
-c Working dir
#
Gene Poole said:
You should be able to just create symlinks of them to busybox.
Click to expand...
Click to collapse
if I do "busybox --help" it doesn't include either of them. "which crontab" shows nothing either.
Tried installing Stericson's from market but it "hangs" after completing the download.
So got the sourcecode down for latest version and tried compiling with CROSS_COMPILE to same toolchain as with CM6 ROM - fail. So downloading another toolchain now.
Will edit this post if it successfully compiles.
I'm pretty sure mine is the one that comes with the rom kitchen.
Use Tasker (google search). Can be programmed to do almost any automated task/event you can dream about.
I'm also looking for something like this..
I have a shell script that i want to exec hourly..
I've tried tasker but they can't launch script yet..
EDIT: I found an perfect app for me
http://forum.xda-developers.com/showthread.php?t=558822&highlight=phoneprioritizer
Regards.
I got crontab working using this:
http://android.modaco.com/content-page/299984/linux-tools-coming-to-mcr/page/40/
+1 on Tasker
Moe5508 said:
Use Tasker (google search). Can be programmed to do almost any automated task/event you can dream about.
Click to expand...
Click to collapse
Thanks for this tip - just want to say Tasker is amazing: you can do almost anything with it.
I've been struggling to find a cron-like tool for a simple airplane mode on/off task for my Eris -- one that actually works. None (timeriffic, auto airplane mode and bunch of others) seem to work when the phone is asleep. Tasker looks like it does work when asleep.
My test case, in the event others are curious, is to set the timer to turn airplane mode on and then call my phone. What I notice with most "cron" style apps is that the phone will ring and THEN the airplane mode will come on (cutting off the call). This indicates that the timer doesn't fire until the phone wakes up. So you *think* your phone is in airplane mode at the time you set it, but it really only goes on when you turn on the phone to check it! Anyway, Tasker passed this test for me, so thanks for the tip.
I miss tasker!
Moe5508 said:
Use Tasker (google search). Can be programmed to do almost any automated task/event you can dream about.
Click to expand...
Click to collapse
It was GREAT under froyo
sadly tasker refuses to install into CyanogenMod 7 (cm4dx)
for the command addicts:
http://howto.ccroms.net/howto/cron
CVPCS Android Wiki
Description:
Vixie-cron for android.
Status:
WIP
Last Update:
2010-04-28
Click to expand...
Click to collapse
This will be the home of both Sniffle's basic android compiling guide as well as CVPCS's general tips for customizing the basic build to make it a more complete, flashable rom.
Click to expand...
Click to collapse
there is
/data/[forget]/firstboot.sh
that is likely wiped by cm7, and then there is autostart root... but those aren't crontabby enough
I want to delete a certain few files from several places in /data and check only while application XYZ is running every one or two minutes
...
for the programmatically inclined this seems promising:
http://hub.buzzbox.com/android-sdk/
The BuzzBox SDK enables you to easily add a scheduler to your App. With few lines of code you can add a background task and app-side notifications. Besides, BuzzBox SDK also include free realtime analytics, so you can monitor in real time how many user are installing and using your App. Notifications and Analytics are tighly integrated, but you can use only want you need.
Click to expand...
Click to collapse
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
Seonetic said:
Hello everyone,
I'm searching for a task scheduler, something like cron in linux. The background is I want my phone to execute a "Wake on Lan" Program every morning and my computer will execute some tasks before I'm awake. I already found something like a task scheduler script in this forum but this didn't help.
Perhaps I'm simply to stupid to work with it, I'm not really familiar with the architecture of android but I know how to do this in linux.
So does anyone have an idea how to realize this on android?
Click to expand...
Click to collapse
I have a working crontab for android. I will post tutorial soon.

[XDA_UC][UC][SASHIMI][S4X] S4X_Auto & S4X_Backup [DEC.02.2010] XDA_UC Mods & Answers

[XDA_UC][UC][SASHIMI][S4X] S4X_Auto & S4X_Backup [DEC.02.2010] XDA_UC Mods & Answers
* * * << PLEASE CHECK THE UPDATES/NOTES TOWARDS THE BOTTOM OF THIS POST >> * * * ​
Click to expand...
Click to collapse
If you need to know about Energy's version of XDA_UC, or are not familiar with it, but use his ROMs please CLICK HERE NOW!!!​
Click to expand...
Click to collapse
I have done some extensive modding of the MortScript from SASHIMI (by bengilah @ www.winmo-experts.com) and XDA_UC (by Noonski here @XDA) and have come up with a couple additions meant mainly for Energy's custom XDA_UC as it lacks some of the features that Noonski's version does, well now you can have ALL THAT & MORE!
What does S4X_AutoLauncher.mscr do?
01. it loads the S4X_Auto Script (S4X_Auto_*version*.mscr) with an updated version of MortScript.exe (4.3b15) and waits for it to finish (this way you don't have to install new version of mortscript for the mod to work!).
S4X_Auto script does the following, in the following order:
01. shuts down sense, kills manila.exe and any processes found in the "autoKillApps" section of the autoSettings.ini.
02. deletes AppData folder from device, if instructed by autoSettings.ini to do so.
03. installs CERT files found in XDA_UC_\_Mod_\filesCERT (+ subfolders)
04. provisions any XML files that have "email" or "wifi" in the name of the file.
05. silently sets windows them from the autoSettings.ini, place the filename.tsk(only - spaces are OK, but NO path) of the theme in the INI like this:
Code:
[AutoSettings]
theme=filename.tsk
if it is a theme that is not present on the rom you can place the file in the folder XDA_UC\_Mod_\filesTSK, and it will get copied to windows before being set as the default theme. if no theme is set in the autoSettings.ini, then any TSK files present in XDA_UC\_Mod_\filesTSK will be copied to windows, then a dynamic menu with all available themes will be shown, and you can choose one, if none is chosen (10sec timeout), then the default cooked theme will be left as the default.
06. installs CABs, located in root of XDA_UC\_Mod_\filesCAB, silently to device
07. installs CABs, located in root of XDA_UC\_Mod_\filesCAB or any subfolder thereof (EXCEPT FOR \netCF, \Dialer, \SDAuto or \SKIP), silently to device.
08. if a SASHIMI ".auto" file is present, it will install the cab semi-silently (no user interaction required), to device or storage card (see XDA_UC\_Mod_\_bin\INI\sample-file.auto for example)
09. install a custom dialer if there are CABs present in XDA_UC\_Mod_\filesCAB\Dialer (+ subfolders), shuts down the proper processes first and if that isn't possible it will skip installation so that there are no errors.
10. installs netCF CABs silently to device if present in XDA_UC\_Mod_\filesCAB\netCF (+ subfolders) (uses THIS method. )
11. looks for CABs in folder: XDA_UC\_Mod_\filesCAB\SDAuto(+ subfolders), installs them silently to your SD. The cabs don't HAVE to be UC compatible, but you will have to do some manual things if they aren't UC compatible... NOTE: not all CABs work with this method, if they don't work, please place them in folder: XDA_UC\_Mod_\filesCAB\Manual, for full user interaction when necessary. This is no longer a separate script, I have integrated it. credit to bengilah @ winmo-experts.com
12. SKIPS all CABs located in XDA_UC\_Mod_\filesCAB\SKIP (+ subfolders)
13. installs *.XDA, *.XDAI, *.XDAS & *.XDAZ files found in XDA_UC\_Mod_\filesXDA (subfolders as well)
14. imports all reg files found in XDA_UC\_Mod_\filesREG (+ subfolders)
15. provisions XML files found in XDA_UC\_Mod_\filesXML (+ subfolders)
16. executes EXE files found in XDA_UC\_Mod_\filesEXE (+ subfolders), if a parameter(s) is found in exeparams.ini, then it is run with those parameters
17. looks for *.wgt/*.widget files in folder: XDA_UC\_Mod_\filesWGT, and installs them with wmwidgetInstaller.exe (if present in ROM) automatically (not silent, but usually no user input is required).
18. looks for folders under folder: XDA_UC\_Mod_\filesSense\****, and copies the content of each folder to \Windows, this is useful for keeping your fixes/mods seperated so that when a new rom comes out that includes the fix/mod you can just delete that folder and it won't be copied to device anymore during XDA_UC setup =)
19. copies all files/folders from folder: XDA_UC\_Mod_\filesRoot, to the root of the device IE: XDA_UC\_Mod_\filesRoot\My Documents gets copied to \My Documents...etc...
20. if present, executes deleteOps.ini and deletes files and/or folders, see the XDA_UC\_Mod_\_bin\INI folder for sample .ini's
21. if present *.pib file in XDA_UC\_Mod_\filesPIM, starts PIMBackup and waits until user is finished importing settings, then...
22. looks for PIM.VOL in folder: XDA_UC\_Mod_\filesPIM, renames current, copies backup, then places a self actuating and deleting script in \Windows\Startup that will delete the old renamed PIM.VOL file at the next boot.
23. runs any MSCR (MortScripts) found in XDA_UC\_Mod_\filesMSCR (+ subfolders), if parameters exist in scriptparams.ini, then it runs the script with the given parameters.
24. imports CHT settings file, if present in folder: XDA_UC\_Mod_\filesCHT
25. finally, I have added logging (no matter whether script is ran manually or automatically by XDA_UC) and on-screen notifications (only during initial XDA_UC setup), the log file can be found in folder: XDA_UC\_Mod_\_bin\LOG\S4X_Auto_ver#_LOG.txt
XX. For ALL CAB & Widget file installs, looks for an entry in customlinks.ini, if present moves the link to the specified directory in the start menu after installation is complete
Click to expand...
Click to collapse
What does S4X_SDAutoLauncher.mscr do?
01. It loads the sdauto script with an updated version of MortScript.exe (4.3b15) and waits for it to finish (this way you don't have to install new version of mortscript for it to work!).
S4X_SDAuto_1.0.mscr script does the following, in the following order:
01. files are installed alphanumerically: 0, 1, a, A
02. supports SASHIMI ".auto" files, to automate installation of non UC compliant CABs (ie: pop up messages/windows during installation)
03. it writes a log to XDA_UC\_Mod_\_bin\LOG\S4X_SDAuto_1.0_LOG.txt
Click to expand...
Click to collapse
What does S4X_Backup do?
I DID NOT WRITE (MOST OF) THIS CODE, I ONLY MODDED IT TO MAKE IT WORK THE WAY I WANTED/NEEDED IT TO!!!!​
01. * Full minus file > customRegXport, PIMBackup & CHTBackup
02. * FullBackupXport > Filebackup.ini, Regexport.ini, PIMBackup & CHTBackup
03. * CustomRegXport > run regexport.ini ONLY
04. * PIMBackup > Backs up PIM data with PIMBackup, if a file already exists in XDA_UC\_Mod_\filesPIM folder, it copies the file(s) to folder: XDA_UC\_Mod_\_Manual\filesPIM
05. * CHTBackup > Backs up Co0kie Home Tab data and saves it as "chtsettings.cht" in folder: XDA_UC\_Mod_\filesCHT
06. * filebackup > runs filebackup.ini ONLY
07. * Full Export > full registry exported saved in folder: XDA_UC\_Mod_\_Manual\filesREG
08. * View Regexport.ini > Shows you the contents of regexport.ini
09. * View Filebackup.ini > Shows you the contents of filebackup.ini
10. * _ E X I T _ * > self explanatory ;-)
11. when doing a REG export I added a check of fileSkipOverOrArchive in autoSettings.ini (found in XDA_UC\_Mod_\_bin\INI), 0 = ARCHIVE, 1 = OVERWRITE, 2 = SKIP), if set to ARCHIVE a subfolder is created in XDA_UC\_Mod_\_Manual\filesREG and the files present in XDA_UC\_Mod_\filesREG are moved there before export starts. this way you have a backup of previous reg settings.
Please see post #3 for examples of filebackup.ini and regexport.ini
Click to expand...
Click to collapse
XDA_UC RELATED LINKS:
'Energy' ROM/XDA_UC - User to user tips and tricks!
[UC]XDA_UC Autoconfiguration User2User Thread[23-06-2009]
[UC]XDA_UC V2.RC1, Automated & Silent User & Cook, Configuration Service[14/05/10]
[APP][2010/07/07] XDA_UC_NET - new PORTABLE version of User Customization. (v0.6)
MORTSCRIPT RELATED LINKS:
MortScript Examples Accumulation
[MortScript] Source Compendium
SASHIMI RELATED LINKS:
[UC] User Customization Backup for Touch Pro using Sashimi
[07/08/2008] Sashimi Tips & Tricks
[REF] How-To: automate backup (inc. Manila conf) before a ROM upgrade using SASHIMI
SASHIMI and new 6.5.x roms
Click to expand...
Click to collapse
In an attempt to keep THIS post clean, I am not going to post the code from these two scripts. I will attach my XDA_UC_Mod [latest], which contains both of these scripts which you can extract from the zip and look at all you want.
I am going to post the contents of my filebackup.ini and regexport.ini's for reference, for you non-SASHIMI converts or SASHIMI users who never took the time to learn that wonderful part of SASHIMI. See posts #2 (autoSettings.ini) and #3 (filebackup.ini, regexport.ini, example ini's) for that info...
Future Plans:
1. a way to automate PIMBackup restore w/an .ini
2. completely modularize the mod and allow an .ini to set/determine what actions are performed, hopefully to make process slightly quicker as only script code needed will be loaded/executed
03. regKeyDelete.ini - to automatically delete some keys from registry [ie: bootloader and init entries...etc...] will be written much like the regexport.ini from sashimi
Instructions
If you only want functionality to install cabs to SDCard silently, then just download the S4X_SDAuto_Mod and extract the zip to the ROOT of XDA_UC folder, otherwise if you want the full mod download the S4X_Auto_plus_Backup_Mod and extract it to the ROOT of XDA_UC folder, there is no need for both as the S4X_SDAuto_Mod is included in the full mod.
1. choose file and unzip to ROOT of XDA_UC folder
2. if running EITHER mod manually, run the .mscr file in root of XDA_UC or .exe in the _bin folder, do NOT run the .mscr file in the XDA_UC\_Mod_\_bin folder unless you have a 4.3b11+ version of MortScript already installed on your system
3. to use S4X_Backup run S4X_Backup.exe in the XDA_UC\_Mod_\_bin folder of XDA_UC or from the start menu > tools > S4X_Backup (only present if you've used xda_uc setup with my mod)
--------------------------------------------
S4X_Auto & Backup Mod [Latest] - mediafire mirror
S4X_SDAuto Mod[Latest] - mediafire mirror
--------------------------------------------​
EDIT 12/27/2010 ATTENTION: As I am currently unable to keep up with the updates at the moment, XDA user powinmo, is providing some code updates at THIS POST, please download the full package, then download his code update if you are a first time user. Otherwise you can just download his update, to fix the current issues. Changelog for his update is HERE.
Click to expand...
Click to collapse
autoSettings.ini
Here are some basic explanations of what the settings in autoSettings.ini do. =)
Code:
[AutoSettings]
[b][color="red"]If for some odd reason device shuts off, reboots...etc during setup/customization, if this is ON (1), it will retry the last task, if OFF (0) it will continue after the last attempted task.[/color][/b]
aggresiveResume=1
[b][color="red"]If set to ON (1), will automatically remove appData folder from device[/color][/b]
appDataDelete=1
[b][color="red"]this relates to the S4X_Backup mod, if set to 0 it will "ARCHIVE" (copy to _Mod_\_Manual\filesREG\ARCHIVE_[date]) any existing REG files before exporting the new ones to _Mod_\filesREG[/color][/b]
fileSkipOverOrArchive=0
[b][color="red"]if ON (1) will display the fullpath in status updates[/color][/b]
FullPathStatus=0
[b][color="red"]If set to 0, will use mortscript built-in process kill function first (default is 0), if set to 1, will use SKTools.exe #KILLPROC command line function first to try to kill the process. I highly recommend keeping it on 0, but if you have trouble with apps not getting killed (IE: for dialer cab install, PIMBackup restore...etc) then try changing this.[/color][/b]
killApp=0
[b][color="red"]If ON (1), will automatically reboot device after AutoSetup/Customization is complete[/color][/b]
RebootAfterAuto=0
[b][color="red"]if ON (1), the autoProgressFile will be deleted after setup/customization is complete, maybe good for debugging, so you can look at file if there are issues[/color][/b]
resetAutoFlag=0
[b][color="red"]when copying files, or deleting them, if ON (1) will remove all file attributes and set only "ARCHIVE" attrib[/color][/b]
ResetReadOnly=1
[b][color="red"]will set a reg entry, if the script is run via the "AUTORUN" feature, ie: using the 2577 folder found under _Mod_\_bin[/color][/b]
SetAutoRunFlag=1
[b][color="red"]If ON (1), will keep open a status message window, that will update with each completed/skipped/failed task... everything is always logged to _Mod_\_bin\LOG\*LOG.txt, so not necessary for debugging, only if you want visual confirmation while you watch it work...[/color][/b]
statusOn=1
[b][color="red"]this pertains to the TSKfiles portion of the script, you can use the filename of any theme located in \Windows or _Mod_\filesTSK, it will automatically be set during setup/customization[/color][/b]
theme=EnergyROM 2010.tsk
[b][color="red"]If ON (1) will use FdcSoft TskMgr.exe (located in _Mod_\_bin) to import REG files, default (0) will use SKTools.exe (also located in _bin folder)[/color][/b]
UseTaskMgrRegImport=0
[b][color="red"]below is a list of apps/processes that the script will attempt to kill during the "disable htc sense GUI" portion of the script. you can add any app/process you like, but be careful and only use the process name and extension, do not include the path[/color][/b]
[autoKillApps]
app01=manila.exe
app02=AudioManager_eng.exe
app03=AlbumSearcher.exe
app04=changescreen.exe
app05=gyrator2.exe
app06=quickmenu.exe
app07=repllog.exe
app08=sipgt_app.exe
app09=tmail.exe
filebackup.ini
- anything set to "Auto" will backup to _Mod_\filesRoot
- anything set to "Manual" will backup to _Mod_\_Manual\filesRoot
- so that it doesn't actually get copied to your device during the
- copy2root part of my script, you must do it manually.
Code:
[Appz_Config]
FileBackupDirMode=Auto
ArkSwitch=\Program Files\Arkswitch\Theme\config.xml
changeScreen=\Windows\changeScreen.config
ET9_1=\Windows\ET9*.Cdb
ET9_2=\Windows\ET9*.Rdb
Lumos=\Program Files\Lumos\settings.txt
[Gen_Filez_Backup]
FileBackupDirMode=Auto
ShakeSave=\ShakeAndSave\*.*
[Opera_9]
FileBackupDirMode=Auto
Bookmarks1=\Windows\Opera9\opera6.adr
Bookmarks2=\Windows\Opera9\Profile\opera6.adr
Cookies1=\Windows\Opera9\cookies4.dat
Cookies2=\Windows\Opera9\Profile\cookies4.dat
Secure=\Windows\Opera9\secure\wand.dat
Settings=\Windows\Opera9\opera.ini
Skin=\Windows\Opera9\Skin\*.*
[Opera_10]
FileBackupDirMode=Manual
cookies=\Program Files\Opera Mobile 10\profile\cookies4.dat
pass=\Program Files\Opera Mobile 10\profile\secure\wand.dat
prof1=\Program Files\Opera Mobile 10\profile\datastorage\*.*,*
prof2=\Program Files\Opera Mobile 10\profile\op*.dat
prof3=\Program Files\Opera Mobile 10\profile\*.ini
[Sounds]
FileBackupDirMode=Manual
MP31=\Windows\*.mp3
WAV1=\Windows\*.wav
WMA3=\Windows\*.wma
MP32=\Windows\Rings\*.mp3
WAV2=\Windows\Rings\*.wav
WMA3=\Windows\Rings\*.wma
[AppData_StartMenu_StartUp]
FileBackupDirMode=Manual
htcAudMgr=\Application Data\HTC\AudioManager_Eng\*.*,*
htcDownMgr=\Application Data\HTC\DownloadManager\*.*,*
htcStocks=\Application Data\HTC\ygo\*.*,*
htcTwitter=\Application Data\HTC\Twitter\*.*,*
StartMenu=\Windows\Start Menu\Programs\*.*,*
StartUp=\Windows\StartUp\*.*
Themes=\Windows\*.tsk
regexport.ini
- anything set to "Auto" gets saved to _Mod_\filesREG
- anything set to "Manual" gets saved to _Mod_\_Manual\filesREG
NOW SUPPORTS (as of version 1.1) 6Fg8's customRegExport Mod, see below for explanation and HEED THE WARNING!!!
6Fg8 said:
The mod allows additional parameters in REGEXPORT.INI:
Code:
[COLOR=Blue]key1=<yourkeypath1>
key2=<yourkeypath2>,<value1>,<value2>,<value3>, ... ,<valueN>
key3=<yourkeypath3>,*[/COLOR]
key1 is the traditional way of exporting registry keys as its already implemented. It exports this key including all values/subkeys.
key2 specifies a key, plus the value names you want to export (value1-valueN). Value names are CASE SENSITIVE (!), if they dont match you end up with an empty key.
key3 specifies a key, plus ALL values, but WITHOUT subkeys.
WARNING: DO NOT mix filtered (like in key2, key3 examples) and unfiltered keys (key1) in the same section, as this will lead to missing values. If you need to do this, split them into separate sections.
examples from my own usage:
Code:
[COLOR=Purple][B][Opera vibration][/B][/COLOR]
[COLOR=Blue]RegExportDirMode=Auto
key1=HKEY_LOCAL_MACHINE\Software\Opera\Defaults,VibrationEnabled
[/COLOR]
[COLOR=Purple][B][power+backlight settings][/B][/COLOR]
[COLOR=Blue]RegExportDirMode=Auto
key1=HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Timeouts,BattSuspendTimeout,BattSuspendTimeoutSave,ACSuspendTimeout,ACSuspendTimeoutSave
key2=HKEY_CURRENT_USER\ControlPanel\BackLight,BatteryTimeout,BatteryTimeoutUnchecked,ACTimeoutUnchecked
[/COLOR]
Click to expand...
Click to collapse
Code:
[1000_MySettings]
RegExportDirMode=Auto
Attachments=HKLM\System\Inbox\Settings\AttachPath
AudioGateway=HKLM\Software\Microsoft\Bluetooth\AudioGateway
Backlight=HKCU\ControlPanel\Backlight
BLTimeouts=HKLM\System\CurrentControlSet\Control\Power\Timeouts
Clock=HKLM\Software\Microsoft\Clock
JPG1=HKCR\.jpg
Notifications=HKCU\ControlPanel\Notifications
Phone=HKCU\ControlPanel\Notifications\Phone
PhVol=HKCU\ControlPanel\PhoneVolume
PictureLoc=HKLM\System\Pictures\Camera\OEM\PictureLocation
SavLocAud=HKCR\SystemFileAssociations\audio\shell\save\Save Location
SavLocIE=HKCU\Software\Microsoft\Internet Explorer\Main\Default storage location
SavLocImg=HKCR\SystemFileAssociations\image\shell\save\Save Location
SavLocVid=HKCR\SystemFileAssociations\video\shell\save\Save Location
SoundCategories=HKCU\ControlPanel\SoundCategories
Sounds=HKCU\ControlPanel\Sounds
TCPWindowsSize=HKLM\Comm\tcpip\Parms
Volume=HKCU\ControlPanel\Volume
Wallpaper=HKCU\ControlPanel\Desktop
WMV1=HKCR\.wmv
[1001_TarkimSettings]
RegExportDirMode=Auto
KeyConfig=HKLM\Software\KeyboardConfig
[1002_HTCSoftwareHKCU]
RegExportDirMode=Auto
Camera=HKCU\Software\HTC\Camera
DownloadMgr=HKCU\Software\HTC\DownloadManager
Manila=HKCU\Software\HTC\Manila
People=HKCU\Software\HTC\People
TaskManager=HKCU\Software\HTC\TaskManager
[1003_HTCSoftwareHKLM]
RegExportDirMode=Auto
AudioBooster=HKLM\Software\HTC\AudioBooster
AudioManager=HKLM\Software\HTC\AudioManager_Eng
Camera=HKLM\Software\HTC\Camera
Config=HKLM\Software\HTC\Manila\Configuration
Facebook=HKLM\Software\HTC\FacebookSDK
InternetPush=HKLM\\Software\HTC\Manila\InternetPush
PhoneExtended=HKLM\Software\HTC\PHONE\PhoneExtendSetting
SlidingSound=HKLM\Software\HTC\SlidingSound
StartUpAnimation=HKLM\Software\HTC\HTCAnimation
Twitter=HKCU\Software\HTC\TwitterApp
YouTube=HKLM\Software\HTC\YouTube
[1004_Co0kie]
RegExportDirMode=Auto
Co0kie=HKLM\Software\HTC\Manila\Co0kie
Home=HKLM\Software\HTC\Manila\Home
Tasks=HKLM\Software\HTC\Manila\Tasks
[1005_HTCAccountMgr]
RegExportDirMode=Manual
AccountManager=HKLM\Software\HTC\HTCAccountManager
[1006_StartMenuIcons]
RegExportDirMode=Auto
StartMenuIcons=HKLM\Security\Shell\StartInfo\Start
[1007_MySoftwareHKCU]
RegExportDirMode=Auto
7zip=HKCU\Software\7-zip
ArkSwitch=HKCU\Software\ARKconcepts
DualBoot=HKCU\Software\Gen.Y
Changescreen=HKCU\Software\idevelopstuff\changescreen
FacebookApp=HKCU\Software\Microsoft\Facebook
Modaco=HKCU\Software\Modaco
Mort=HKCU\Software\Mort
Mosko=HKCU\Software\mosko.mobi
neuLight=HKCU\Software\Wei Enterprise
Palringo=HKCU\Software\Parlingo
PIMBackup=HKCU\Software\FdcSoft
QuickMenu=HKCU\Software\AlenSoft
RSS=HKCU\Software\Ilium Software
SIPChange=HKCU\Software\The Paradigm Group
SK=HKCU\Software\sk
TotalCommander=HKCU\Software\Ghisler
xTep=HKCU\Software\xTep
[1008_MySoftwareHKLM]
RegExportDirMode=Auto
Adobe=HKLM\Software\Adobe
AdvancedConfig=HKLM\Software\AdvancedConfig
eT9=HKLM\Software\Tegic\eT9
IE=HKLM\Software\Microsoft\Internet Explorer
Opera=HKLM\Software\Opera
PocketMusic=HKLM\Software\PocketMind
SRS=HKLM\Software\SRS
TouchInCallScreen=HKLM\Software\Marzens
[1009_Services]
RegExportDirMode=Auto
Stowaway=HKLM\Services\Stowaway
HTCVol=HKLM\Services\HTCVOLUME
MyPhone=HKLM\Services\MyPhoneService
MediaLibrary=HKLM\Services\MLUService
WinLive=HKLM\Services\Windows Live
PushInternet=HKLM\Services\PushInternetEngine
BTSyncServ=HKLM\Services\BthAsPlugin
deleteops.ini
- below is an example of the deleteops.ini
- used to delete individual files or entire folders
- wildcard (*) can be used
Code:
[DeleteFile]
file1=\Windows\StartUp\HTC*Up.lnk
file2=\Windows\StartUp\sdim.lnk
file3=\Windows\StartUp\Setup*.lnk
file4=\Windows\StartUp\LockDevice.lnk
[DeleteFolder]
folder1=\Windows\Start Menu\Programs\Games
folder2=\Windows\Start Menu\Programs\GPS
folder3=\Windows\Start Menu\Programs\*net
folder4=\Windows\Start Menu\Programs\Multimedia
folder5=\Windows\Start Menu\Programs\Office Mobile
folder6=\Windows\Start Menu\Programs\Tools
anyfilename.auto
- below is an example of an ".auto" file
- used to automate cab installs that require user input
Code:
[AutoFile]
InstallLocation= (0 = device, 1 = storage card)
WindowTitle="Keyboard and Mouse Setup" (name of window to perform actions on)
[ScriptCommands]
1=SendLeft
2=sleep(100)
3=SendCR
4=sleep(1500)
5=SendOK
customlinks.ini
- if you want a link for a specific cab to be installed
- to a different directory than the default
- put exact cab file name without extension as first param
- wildcard (*) can be used
- after cab is installed, the link will be moved to where you want it
Code:
[LNK Files]
Myapp-version*=Programs\MyApps
regedit.Rpr_ARM=Programs\Registry Tools
kevtris=NONE
*=Programs\Other Tools
exeparams.ini
- same as above, filename (no ext) as it exists in _Mod_\filesEXE as first parameter
- parameters go after the equals sign
Code:
[EXE Parameters]
cusTSK=\Windows\Windows Mobile Green.tsk
scriptparams.ini
- same as above, scriptname (no ext) as it exists in _Mod_\filesMSCR as first parameter
- parameters go after the equals sign, inside the quotes
Code:
[Script Parameters]
MyScript="varone=one vartwo=two varthree=three"
Your zip file
Your zip file doesn't work. It gives errors when you try to unzip it.
BTW I search the whole xda for a post saying this and I didn't find one...lol
Other links
Sorry... updating zip file now...
Cingularman said:
Your zip file doesn't work. It gives errors when you try to unzip it.
BTW I search the whole xda for a post saying this and I didn't find one...lol
Click to expand...
Click to collapse
see top post for correct updated file =)
Great reference Ben..as always very well done!
krook6023 said:
Great reference Ben..as always very well done!
Click to expand...
Click to collapse
thanks, just trying to be a contributing member, even if "my" stuff isn't exactly 100% original... MortScript is getting easier by the minute for me, coming from self taught php background a lot of it is similar or the same even... I'm sure there's some languages that php resembles... but I'm not really a programmer of any sort, just an accomplished "tinkerer" heh...
I posted this in the Energy thread - it was suggested I ask here... any help would be great. Thanks.
Hi -
Can you give me a step by step on the order in which you do stuff after flashing (when to reinsert the sim card, when to run PIM Backup, etc.)? I basically stole your entire XDA_UC (thank you btw!) just adding a couple files and reg settings for some applications and a few things don't seem to work for me (i.e., my favorite people never come back in the right order or even the right people, my hotmail gets screwed up, etc.). I just can never seem to get any of the backups to work exactly right and I've tried SASHIMI, NRG's Export/Importer, and XDA_UC. I just think I'm doing something at the wrong time and things are stepping on each other or something. Anyway, thanks for the help!
PS I'm installing the latest 23xxx CHT rom via SD card ...
shannyb1972 said:
Hi -
Can you give me a step by step on the order in which you do stuff after flashing (when to reinsert the sim card, when to run PIM Backup, etc.)? ...snip...
PS I'm installing the latest 23xxx CHT rom via SD card ...
Click to expand...
Click to collapse
sorry for the slow reply, had to pick up my Dad from his elbow surgury and ran into car trouble on the way home (he just spent almost 6k on fixing that stupid thing in about a 2mo period... lol)
anywas... if THIS POST doesn't answer all your questions feel free to ask anything more specific =)
benjamminzIS said:
had to pick up my Dad from his elbow surgury and ran into car trouble on the way home (he just spent almost 6k on fixing that stupid thing in about a 2mo period... lol)
Click to expand...
Click to collapse
The car or the elbow?
Anyway, hope he has a swift recovery (and thanks for the great posts)...
rmanaka said:
The car or the elbow?
Anyway, hope he has a swift recovery (and thanks for the great posts)...
Click to expand...
Click to collapse
ROFLOL... yeah guess I should have been a little clearer on that =P the car... what a waste... american cars = teh suck!
benjamminzIS said:
ROFLOL... yeah guess I should have been a little clearer on that =P the car... what a waste... american cars = teh suck!
Click to expand...
Click to collapse
Maybe we ought to start sponsoring you (like we did NRG for a new Fuze) so you can get a European car?
Tazkika said:
Maybe we ought to start sponsoring you (like we did NRG for a new Fuze) so you can get a European car?
Click to expand...
Click to collapse
lol... no, not my car = crap. my dad's car... lol... my car, Lexus IS300 = wrecked (not the one in sig) into the back of my best friends truck, back in July, was looking (rubbernecking) at flipped car on other side of road, road was wet, person in front of my friend slammed on their brakes to turn left (while I was looking at flipped car) I slid into back of my friends Nissan Titan (I now call them wreckalexuses) LOL I will get another one soon enough, I just got screwed by my insurance company AND GAP coverage and ended up having to pay out because they decided to total it... only thing holding me back at the moment is a 9-5er (or 11-7, hell I'd take anything right now... lol) so no worries...
Look at me! I'm cluttering my own thread!!! heheeee
here is a quick question:
I want to copy a folder and his content from storage card to My Documents\My Pictures.
so from : Storage Card\XDA_UC\Files\ ( ProGloss_60%) this is the folder to be copied )
to : \\\My Documents\My Pictures
how can I do that ?
benjamminzIS said:
sorry for the slow reply, had to pick up my Dad from his elbow surgury and ran into car trouble on the way home (he just spent almost 6k on fixing that stupid thing in about a 2mo period... lol)
anywas... if THIS POST doesn't answer all your questions feel free to ask anything more specific =)
Click to expand...
Click to collapse
Sorry about the car trouble... no worries, I don't consider less than 24 hours a slow response to a message board anyway. You regular posters on this free community board are more responsive than my help desk at work!
Anyway, your post explains very clearly what you do up to flashing the rom. My question is more about the order to do things AFTER you flash. For example, I flashed the latest yesterday and it says "update complete". What is the order I should do things at that point? When to replace the sim, when to hard reset, when to run PIM backup, do I need to manually disable anything that's running, etc.?
Thanks for your help!
ceesheim said:
here is a quick question:
I want to copy a folder and his content from storage card to My Documents\My Pictures.
so from : Storage Card\XDA_UC\Files\ ( ProGloss_60%) this is the folder to be copied )
to : \\\My Documents\My Pictures
how can I do that ?
Click to expand...
Click to collapse
if that's all you want copied then just place it in XDA_UC\Root\My Documents\My Pictures
then use this part of my copy2root script, put it in a txt file and rename the txt to .mscr and place in the XDA_UC folder :
Code:
XCopy( "\Storage Card\XDA_UC\Root\*.*", "", TRUE, TRUE )
if you're already using my mod then just place place them in the folder as I first stated and they will be copied during the setup...
shannyb1972 said:
For example, I flashed the latest yesterday and it says "update complete". What is the order I should do things at that point? When to replace the sim, when to hard reset, when to run PIM backup, do I need to manually disable anything that's running, etc.?
Thanks for your help!
Click to expand...
Click to collapse
O.K... gotcha...
after update:
1. at "update complete" put mSD in
2. put battery back in
3. reboot
4. wait for xda_uc message to pop-up, hit "YES" to start
5. after setup is complete (wait for the second message saying customization is complete, I click NO here)
6. this is where I run TouchProTweak to setup a couple things I haven't figure out how to do via reg settings.
7. remove back cover and slide SIM in over battery (if you don't want to do it this way then slide2shutdown, remove battery and insert SIM)
8. restart
9. wait for connection setup, do setup
10. here is where I enter into manila my facebook, twitter and youtube passwords and link facebook accounts from the all people > updates tab
11. start enjoying your freshly setup rom!
I don't hard reset, because of task29... so far (2wks) I haven't noticed any issues due to not hard resetting after first screen calibration.
as for people tab not being in right order... I don't know if anyone has figured out a fix for that... I don't really use it other than to have those particular people in it, so it doesn't really bother me if it comes back in correct order or not...
thanks will try it .
thanks it worked .
Boy, I hope this isn't a dumb question... I've searched without any luck, but I can't imagine no one has tried this yet: Is there a way to export ActiveSync settings for XDA_UC? I couldn't find anything like that in the Settings Exporter.

[HOW-TO][APP][ROOT] Install Lollipop AOSP Browser (and sync Google Account Bookmarks)

Hey people,
I realized the Google Chrome browser demands lots of battery, so I wanted to change to another browser. There is nothing better than the AOSP one. But while installing it there seems to be a lil´ problem:
There is an app called com.android.browser.provider which comes preinstalled with stock ROM, probably to make Google Chrome work. So this app, has a ContentProvider declared with a specific authority name. The AOSP Browser app has another ContentProvider which its authority name IS THE SAME as the "com.android.browser.provider"´s one. This makes the Android package manager complain at AOSP Browser app install time.
So in order to be able to get AOSP Browser installed and running some steps must be previously executed. There are two ways:
A.-THE MANUAL WAY
1.- Settings -> Apps -> com.android.browser.provider -> Clear data
2.- File Manager -> Delete /system/app/com.android.browser.provider" folder
3.- File Manager -> Delete /data/data/com.android.browser.provider" folder
4.- Reboot
5.- Install attached Browser.apk
Click to expand...
Click to collapse
B.-THE COMMANDO WAY
1.-Terminal Emulator -> Execute the following commands:
su
rm /system/app/com.android.browser.provider (Removes apk folder from /system/app/ location)
pm clear com.yourapp.packagename (Removes application data)​2.- Reboot
3.- Install attached Browser.apk
Click to expand...
Click to collapse
Then, AOSP Browser should be running :highfive::highfive::highfive:
Please comment if there are any problems :good:
If anyone gets an up-to-date APK post here and I will update the OP.
EXTRA: SYNC BOOKMARKS WITH YOUR GOOGLE ACCOUNT:
The following steps show how to make AOSP BROWSER have the bookmarks saved in your Google account:
1.- Install attached BookmarksSyncAdapter.apk
2.- Settings -> Accounts -> Google -> /** Wanted Google Account */ -> Switch on Sync Browser
3.- A notification (exclamation sign) should be shown. Click it. (In order to authorize the app to sync bookmarks with your account)
4.- Settings -> Apps -> Browser -> Force Close
5.- Done
Click to expand...
Click to collapse
For up-to-date-is-a-must obsessed people:
-Browser.apk targetSdkVersion is 22. So its the last one (Official Stable Android 6.0 has not been released yet)
-BookmarksSyncAdapter.apk targets 16 SDK version. It seems to be discontinued as is not preinstalled in latest AOSP Roms ​
Can't install Booksmarkssync app. What is another way?
rich2007 said:
Can't install Booksmarkssync app. What is another way?
Click to expand...
Click to collapse
Really dont know. First, I should check the logcat to find the cause so, could you post thee logcat?
Also, you can try installing it as a system app:
1.-Create /system/app/BookmarksSyncAdapter/ folder
2.-Copy BookmarksSyncAdapter.apk into the previously created folder
3.-Set permissions -rw-r--r-- to the apk
4.-Reboot
5.-Goto Settings -> Accounts -> Google -> Your Google account and check if "Browser" item is listed
Click to expand...
Click to collapse
there was already a fully working solution in the forum.. just search "material design aosp browser". just need to delete BrowserProviderProxy if present in system/app first
isn't it dangerous to delete the existing file which may be more up to date with security?
is it not possible to simply rename internally the Browser.apk so it does not conflict?

Could someone implement drivers for me in Androidx86 ( i pay )

Hi everyone,
i have a iota one tablet ( its this one : https://www.amazon.co.uk/iOTA-version-10-1-Laptop-Black/dp/B0751JJMWL/ref=dp_ob_title_ce )
i add also the DSDT data of the Tablet.
Latest Android X86 boots up well, perfomance is really good, wifi is working but no Sound / Screen Rotation ( only Horizontal, and i cant rotate it with a app from playstore ) and no Touchscreen.
Like i said in the Title, i pay for youre work.
florian-m19 said:
Hi everyone,
i have a iota one tablet ( its this one : https://www.amazon.co.uk/iOTA-version-10-1-Laptop-Black/dp/B0751JJMWL/ref=dp_ob_title_ce )
i add also the DSDT data of the Tablet.
Latest Android X86 boots up well, perfomance is really good, wifi is working but no Sound / Screen Rotation ( only Horizontal, and i cant rotate it with a app from playstore ) and no Touchscreen.
Like i said in the Title, i pay for youre work.
Click to expand...
Click to collapse
Money? Nah you cant pay me cause I'm in India and dont use PayPal. Duh!!
So giving out my answer for free.....(thanks for offering though)
Here is the fix. (All commands are in the quotes and Linux is case sensative, so please copy exactly.
Press Alt + F1 to go into Terminal mode. (Alt + F7 will switch back to the GUI)
Type in (Without the Quotes) "stop zygote" and press enter (This will stop the Android GUI)
Type in*(Without the Quotes) "mkdir /data/system/tslib" and press enter (This should make a directory/folder called tslib inside /data/system
Type in (Without the Quotes) "cd /data/system" and press enter (This will change the current directory to /data/system
Type in (Without the Quotes) "ls" and press enter (This will list all files and folders in the current Directory)
Check to see if your new directory, tslib is listed.
Type in (Without the Quotes) "ts_calibrate" and press enter
This should load up the calibration tool and you should have a X in the top left to press, when you do, you are moved to the top right, then bottom right, then bottom left and finally the centre of the screen.
Type in (Without the Quotes) "cd tslib" and press enter (This should move you into your new tslib directory you made earlier)
Type in (Without the Quotes) "ls" and press enter (You should see a file in there called pointercal, which was created by the calibration tool)
Finally, type in (Without the Quotes) "start zygote" and press enter (This will load up the GUI again along with your new calibration settings)
You should now have a fully working touchscreen!
I hope this helps!
at the step with type in ts_calibrate it shows : Not found
florian-m19 said:
at the step with type in ts_calibrate it shows : Not found
Click to expand...
Click to collapse
Next time please tap on quote option to notify me that you have replied ....m
Anyways
Can you send me a screenshot of the order and maybe the logs
x.ak**** said:
Next time please tap on quote option to notify me that you have replied ....m
Anyways
Can you send me a screenshot of the order and maybe the logs
Click to expand...
Click to collapse
Okay i will do it für now on im in about 2 hours at home and send you a screenshot.
See you
x.ak**** said:
Next time please tap on quote option to notify me that you have replied ....m
Anyways
Can you send me a screenshot of the order and maybe the logs
Click to expand...
Click to collapse
Is it a problem that This is a android live version?
florian-m19 said:
Is it a problem that This is a android live version?
Click to expand...
Click to collapse
give me an hour so i can test it on my Virtual Machine to determine the problem.
x.ak**** said:
give me an hour so i can test it on my Virtual Machine to determine the problem.
Click to expand...
Click to collapse
https://raspis.eu/pub/downloads/and....1.2_Baytrail-k4.12-T100TA_Jul18-2017-ISO.rar
i use this ISO ( because its the only that can rotate the Screen [ Rotation is inverted ] )
florian-m19 said:
https://raspis.eu/pub/downloads/and....1.2_Baytrail-k4.12-T100TA_Jul18-2017-ISO.rar
i use this ISO ( because its the only that can rotate the Screen [ Rotation is inverted ] )
Click to expand...
Click to collapse
if you want sound you may just simply try to go to device manager and find your driver and either reinstall or restart it
---------- Post added at 07:37 PM ---------- Previous post was at 07:09 PM ----------
florian-m19 said:
Is it a problem that This is a android live version?
Click to expand...
Click to collapse
ts_calibrate is the command, and it should be built into the OS by default, so it should be found
but still try this
type: chmod 777 /data/system/tslib
type: chmod 777 /data/system/tslib/pointercal
**********
in step 3*
**********
because sometimes there are more than one folder

[ROOT, NON-ROOT] [Android 10, 11 and 12] Debloat Script - v1.1

AT YOUR OWN RISK!!!​
Requeriments (commom):
- Windows/Linux computer
- USB debugging enabled (Developer settings)
Linux users:
COMMON
Code:
adb push debloat_list.sh /data/local/tmp
adb push aapt_arm_pie /data/local/tmp
adb shell chmod 777 /data/local/tmp/debloat_list.sh
adb shell chmod 755 /data/local/tmp/aapt_arm_pie
NON-ROOT
Code:
adb shell /data/local/tmp/debloat_list.sh
ROOT
Code:
adb shell
su -l
/data/local/tmp/debloat_list.sh
(su -l opens a login shell as root on the android phone)
ROOT - REMOVE APPS - How to:
1. Download always the latest version available (attached below)
2. Disable any Magisk Module installed and reboot (IMPORTANT STEP, DO NOT SKIP IT)
3. Unpack and run debloat-remove.bat (run it at least twice!)
4. Enable Magisk Modules again
5. Done!
ROOT Notes:
- Before run the debloat script, you have a change to take a look on its "unwanted apps list " at \files\debloat_list.sh
- Root debloat script does not remove the bloatwares folders, instead, it moves them to a backup folder, located at /system/_debloat_backup
- /system/_debloat_backup stores all "removed" apps folders, and before you manually delete this folder (and if you want to), you have a chance to revert back the changes made by the script
- Updated bloatwares: They'll need to be uninstalled/disabled manually
NON-ROOT - UNINSTALL APPS ONLY - How to:
1. Download always the latest version available (attached below)
2. Unpack and run debloat-uninstall.bat (run it at least twice!)
3. Done!
NON-ROOT Notes:
- Before run the debloat script, you have a change to take a look on its "unwanted apps list " at \files\debloat_list.sh
- debloat_list.sh: Commented out lines (starting with #) will be ignored (their respective apps will not be uninstalled)
- Debloat script does not remove apps containers (apk files/folders)
- Updated bloatwares: They'll need to be uninstalled manually (Settings > Apps > "APP" > Uninstall/Deactivate)
Retrieving installed apps info (PACKAGE | APK LOCATION | LABEL):
1. Download v1.0_List_Installed_Apps_Info_By_Serajr.zip (attached below)
2. Unpack and run list_installed_apps_info.bat and wait a minute or two (ignore errors, if any)
3. installed-apps-info.txt file will be created
4. Done!
Special thanks:
- @hmy65 (Debloat list, used as base)
Enjoy it!
Changelog
v1.0 - 27/Sep/2020
- Initial release
v1.0.1 - 22/Oct/2020
- Added instructions for Linux users ( thanks @HemanthJabalpuri )
v1.1 - 02/Jan/2022
- Android 12 compatibility
Pics
SM-G985F, root version
serajr said:
v1.0.1 - 22/Oct/2020
- Added instructions for Linux users ( thanks @HemanthJabalpuri )
Click to expand...
Click to collapse
Not tested, but seems like will work great. But in requirements section, you should add Linux along with Windows.
Thanks.
Work like a magic. Thank you so much. Look so clean and minimal.
keaheng said:
Work like a magic. Thank you so much. Look so clean and minimal.
Click to expand...
Click to collapse
Thank you for the feedback :good:
Thanks and congrats for such a great work!
Is there any advantage to use the root script over a pm uninstall -k --user 0 command please? What's the difference
aacury said:
Thanks and congrats for such a great work!
Click to expand...
Click to collapse
Thank you mate
jojos38 said:
Is there any advantage to use the root script over a pm uninstall -k --user 0 command please? What's the difference
Click to expand...
Click to collapse
Root script version moves all the damn bloatwares to a single (and structured) folder. It allows you to revert back changes or free up internal memory space by deleting that folder, however, you'll need to run the script after every system update.
Non-root (pm uninstall -k --user 0) uninstalls the apps, keeping all the data, and the changes may survive the system update.
serajr said:
Thank you mate
Root script version moves all the damn bloatwares to a single (and structured) folder. It allows you to revert back changes or free up internal memory space by deleting that folder, however, you'll need to run the script after every system update.
Non-root (pm uninstall -k --user 0) uninstalls the apps, keeping all the data, and the changes may survive the system update.
Click to expand...
Click to collapse
Thank you!
Hi, a question, if i run v1.0_List_Installed_Apps_Info_By_Serajr.zip and create a list txt, when i run a debloat, what changes or which apps debloat and which apps not?, how i change which apps not debloat?
sorry for my bad english!
Taz2016 said:
Hi, a question, if i run v1.0_List_Installed_Apps_Info_By_Serajr.zip and create a list txt, when i run a debloat, what changes or which apps debloat and which apps not?, how i change which apps not debloat?
sorry for my bad english!
Click to expand...
Click to collapse
Both debloat methods (root/non-root) use a sh file (debloat_list.sh), so have a look into it (as well as reading the Notes in the first post).
I just want to make sure the script can be used on Samsung S20 FE phone? Thanks
Gr8man001 said:
I just want to make sure the script can be used on Samsung S20 FE phone? Thanks
Click to expand...
Click to collapse
Sure it can!
Omg dude, I remember you from Xperia Mini days.
Your project was the xperia launcher mod right?
Nice work here.
agentsandy007 said:
Omg dude, I remember you from Xperia Mini days.
Your project was the xperia launcher mod right?
Nice work here.
Click to expand...
Click to collapse
Yeah mate :highfive:
I'm currently working on an xposed module to tweak samsung stock launcher ( as stated here ). I intend to release something on this asap. Stay tuned.
Thank you!
application preceded by the # sign will not be deleted?
and where is the ## sign?
---------- Post added at 03:38 PM ---------- Previous post was at 03:38 PM ----------
Hello
can i keep certain apps? or do i either remove all or reinstall all?
shaker74 said:
...
and where is the ## sign?
Click to expand...
Click to collapse
debloat_list.sh (read up post #12 just above)
Gasser.Atef said:
can i keep certain apps? or do i either remove all or reinstall all?
Click to expand...
Click to collapse
Sure you can (by editing debloat_list.sh).
serajr said:
debloat_list.sh (read up post #12 just above)
Sure you can (by editing debloat_list.sh).
Click to expand...
Click to collapse
To be honest OP is not noob friendly tho.
Like I didn't know how to open debloat_list.sh and used notepad and it worked. Not too many would know that?
Anyways I just blindy went through your script and only things I had to reinstall are gmail, drive and sammy pay.

Categories

Resources