[Tool] Peter's BootDorid (Autostart for Android) - Android Software/Hacking General [Developers Only]

==============Discription===========================================================
This is a tool to execute scripts on bootup on your Android Phone
This Tool runs on the PC. It uses adb.
To check the adb connect your Phone to your PC, open a terminal (cmd) and enter:
Code:
adb devices
The Output should look like this:
Code:
List of devices attached
0280414640c133d7 device
Now download (Attach Files) and unzip the tool and start the "startup.bat"
Press 1 to install the App to your Phone
Press 3 to check the installation of the App and to grant root rights
Now you can edit the script by pressing 2
==============Changelog===========================================================
V1 First Working
V1.1 Working on WIN XP (choice)
V1.2 "Implemented" configADB on a very low level
Fixed nonXP "double choice" Bug
==============App Changelog=======================================================
V1 First Working Build
v2 Removed unused testingfunctions
==============Plan===============================================================
V2 Javabased GUI => Support for Linux and Mac
V3 add CRON Support and Codesnippets
==============THANKS TO==========================================================
Serge Gorelsky for the U2WIN.exe
Johannes Jerg for the pressure to finish this.
Google for Android and
Samsung for the i9000

Related

[TUTORIAL/HOW TO] Basics of ADB

Feel free to contribute - Creating this at toast's request
Will do my best to update this with everybody's experience and knowledge to help out the new comers. Welcome to the world of Android!!
Definition of ADB - http://developer.android.com/guide/developing/tools/adb.html
1. Install Drivers
Win 7 drivers - http://depositfiles.com/en/files/yd61xorii - thanks shep211.
Win 7 64bit, Vista and XP - Confirmed works with HTC Sync - thanks to crackerstyle OR use HTC Sync.exe from the stock MicroSD card shipped with the phone. Myn also used these drivers - http://member.america.htc.com/download/Driver/HTC EVO (Sprint)/HTC_Sync_2.0.40.exe
Mac OS X drivers -
Linux drivers -
2. Install ADB (part of Android SDK)
Google's Main page - on the Android SDK which contains the adb binary inside the tools folder - http://developer.android.com/sdk/index.html
Windows Specific Android SDK installer (contains ADB binary inside tools folder) - http://developer.android.com/sdk/download.html?v=android-sdk_r06-windows.zip
Linux Specific Android SDK installer (contains ADB binary inside tools folder) - http://developer.android.com/sdk/download.html?v=android-sdk_r06-linux_86.tgz
Mac Specific Android SDK installer (contains ADB binary inside tools folder) - http://developer.android.com/sdk/download.html?v=android-sdk_r06-mac_86.zip
3. Enabling ADB support on EVO
If using completely stock EVO, adb will be disabled in recovery and can't be enabled.
If using the PC36IMG.zip (userdebug RUU) automatically turns on adb in recovery mode.
If in normal android mode, adb can be enabled by Settings->Applications->USB Debugging.
4. Running (Executing) ADB on Host computer
Windows - start->run->cmd . Navigate to the extracted the Android SDK folder and into the subfolder called tools.
cd c:\android-sdk\tools\
Now simply execute the commands in Step 5 and 6.
5. Learn basic ADB commands
adb push - sends a file to the phone over ADB thru USB - adb push c:\test.apk /sdcard/test.apk
adb pull - receives a file from the phone over ADB thru USB - adb pull /system/app/Test.apk c:\Test.apk
adb shell - starts a shell connection with the phone
adb reboot - restarts the phone
adb reboot recovery - restarts the phone into recovery
adb reboot bootloader - restarts the phone into the bootloader (white screen)
adb remount - remounts the file system
adb install <path to .apk file> - installs an application - adb install c:\swype.apk
adb uninstall <package name> - uninstalls an application - package name is usually in the format, com.android.browser
6. Learn basic Linux commands to run through ADB shell
cd - changes directories - works through stock android toolbox - cd /system/app
ls - lists all files in the directory - works through stock android toolbox - ls /system/app/
cat - copies files - works through stock android toolbox - cat /system/app/Test.apk > /sdcard/Test.apk
rm - removes files - works through stock android toolbox - rm /system/app/Test.apk
mv - moves files from one location to another - works through stock android toolbox - mv /system/app/Test.apk /sdcard/Test.apk
cp - copies files - functions similar to cat - uses busybox installed by the EVO-recovery.zip into recovery mode - cp /system/app/Test.apk /sdcard/Test.apk
mount - loads the file system (usually auto loaded except sometimes in recovery) - mount /dev/block/mtdblock4 /system
unmount - unloads the file system - umount /system
joeykrim said:
Feel free to contribute - Creating this at toast's request
Will do my best to update this with everybody's experience and knowledge to help out the new comers. Welcome to the world of Android!!
1. Install Drivers
Win 7 drivers - http://depositfiles.com/en/files/yd61xorii - thanks shep211
2. Install ADB (part of Android SDK)
Google's Main page on the Android SDK which contains the adb binary inside the tools folder - http://developer.android.com/sdk/index.html
Windows Specific Android SDK installer (contains ADB) - http://developer.android.com/sdk/download.html?v=android-sdk_r06-windows.zip
Linux Specific Android SDK installer (contains ADB) - http://developer.android.com/sdk/download.html?v=android-sdk_r06-linux_86.tgz
Mac Specific Android SDK installer (contains ADB) - http://developer.android.com/sdk/download.html?v=android-sdk_r06-mac_86.zip
3. Learn basic ADB commands
adb shell - starts a shell connection with the phone
adb reboot - restarts the phone
adb remount - remounts the file system
4. Learn basic Linux commands to run through ADB shell
cat - works through stock android toolbox - copies files - cat /system/app/Test.apk > /sdcard/Test.apk
rm - works through stock android toolbox - removes files - rm /system/app/Test.apk
mv - works through stock android toolbox - moves a file from one location to another - mv /system/app/Test.apk /sdcard/Test.apk
cp - uses busybox installed by the EVO-recovery.zip into recovery mode - functions similar to cat - cp /system/app/Test.apk /sdcard/Test.apk
Click to expand...
Click to collapse
Thanks a ton joeykrim!!!!!!!!!!!!!!! Really helpful!!!!!!!
Yeah, super handy. I know enough linux to make my way around moving files and what not... but this saved me a few googles for download links and figuring out what adb was.
Danke danke.
how do you install the drivers?..it's just folders
jayv1717 said:
how do you install the drivers?..it's just folders
Click to expand...
Click to collapse
download file is blocked for me and i dont have win7 or the evo yet, so you'll have to help and hopefully others will chime in.
i would assume once you plug the phone in, it will prompt/ask for drivers, simply navigate to the folders from the download file.
jayv1717 said:
how do you install the drivers?..it's just folders
Click to expand...
Click to collapse
Just found this, read about halfway through the first post, under Installing Drivers
http://forum.xda-developers.com/showthread.php?t=532719
joeykrim said:
Feel free to contribute - Creating this at toast's request
Will do my best to update this with everybody's experience and knowledge to help out the new comers. Welcome to the world of Android!!
1. Install Drivers
Win 7 drivers - http://depositfiles.com/en/files/yd61xorii - thanks shep211
Win XP drivers -
Win Vista drivers -
Mac OS X drivers -
Linux drivers -
Click to expand...
Click to collapse
Aren't the drivers available through Android SDK. I know I just downloaded an usb_driver with the SDK Setup.
eddy g said:
Just found this, read about halfway through the first post, under Installing Drivers
http://forum.xda-developers.com/showthread.php?t=532719
Click to expand...
Click to collapse
That helped alot..thanks
finebrian224 said:
Aren't the drivers available through Android SDK. I know I just downloaded an usb_driver with the SDK Setup.
Click to expand...
Click to collapse
some drivers are.
did they work? what OS are you using?
For the record, I don't know about mac but I know linux doesnt need drivers.
forgot about ADB push?
dmc971989 said:
forgot about ADB push?
Click to expand...
Click to collapse
Also might want to add adb pull and install and devices. Also remember if it says it cannot find your device make sure usb debugging is set in Settings->Applications and type in adb kill-server and adb remount.
chuckhriczko said:
Also might want to add adb pull and install and devices. Also remember if it says it cannot find your device make sure usb debugging is set in Settings->Applications and type in adb kill-server and adb remount.
Click to expand...
Click to collapse
i was assuming push/pull went together... but i forgot about adb remount, good call
finebrian224 said:
Aren't the drivers available through Android SDK. I know I just downloaded an usb_driver with the SDK Setup.
Click to expand...
Click to collapse
No just fastboot drivers.
chuckhriczko said:
Also might want to add adb pull and install and devices. Also remember if it says it cannot find your device make sure usb debugging is set in Settings->Applications and type in adb kill-server and adb remount.
Click to expand...
Click to collapse
added path to enabling ADB from normal android mode.
dmc971989 said:
i was assuming push/pull went together... but i forgot about adb remount, good call
Click to expand...
Click to collapse
added adb push/pull and adb remount was already added.
thanks guys!
I just installed ADB USB driver, and I had to use the tip found below because the driver downloaded by the SDK setup didn't support the HTC EVO natively.
**couldn't post url so google "FYI EVO/Incredible ADB How-To - Android Developers | Google Groups" and open the first link **
forceOnature said:
I just installed ADB USB driver, and I had to use the tip found below because the driver downloaded by the SDK setup didn't support the HTC EVO natively.
**couldn't post url so google "FYI EVO/Incredible ADB How-To - Android Developers | Google Groups" and open the first link **
Click to expand...
Click to collapse
what version of windows are you using?
is this the correct link? http://groups.google.com/group/andr...4a2ddfef884?show_docid=649444a2ddfef884&pli=1
joeykrim said:
Feel free to contribute - Creating this at toast's request
Will do my best to update this with everybody's experience and knowledge to help out the new comers. Welcome to the world of Android!!
1. Install Drivers
Win 7 drivers - http://depositfiles.com/en/files/yd61xorii - thanks shep211
Win XP drivers -
Win Vista drivers -
Click to expand...
Click to collapse
anyone using a REAL version of windows (Win7 64bit) will need these drivers... pulled from the SDK autodownloader... was a ***** to find... prob need to disable sign enforcement... mine is. when asked which of the 3 to select press the first Android ADB Interface.
yea your welcome...
That file doesn't work for me :-(
It just says that it can't install the drivers when I try to update/reinstall driver for the device "ADB" in device manager. I have tried the drivers from the SDK, the set in the post from the OP and the one a couple posts above me. What gives?

InstAPK - Automatic APK installer for Windows

Description
Hello everyone
If you usually download APKs from internet, you would normally have to transfer the files to the smartphone and then install them one by one. As it did not seem practical and since I usually try a lot of programs, I have created this script.
InstAPK is a script that automatically installs all APK files from a folder to your Android using ADB or "USB debugging".
· Install all APK files from the chosen folder to your Android
· Creates a Shortcut on the desktop to install directly the files from the chosen folder.
· If there is more than one device connected , it allows you to choose in which we want to install everything.
· It shows us the name of the program that is being installed, extracting it from inside of the APK, regardless of the file name.
Powershell
InstAPK is a Powershell script. Powershell is basically like a powered MSDOS.
Powershell comes pre-installed in Windows 7, 8 y 8.1. In XP, a manual installation is required:
· XP: Not installed ( http://support.microsoft.com/kb/968929/es-es )
· Windows 7 : Powershell 2
· Windows 8 : Powershell 3
· Windows 8.1 : Powershell 4
The script works in any version.
Requirements
Enable USB Debugging: Settings / General / Developer Settings / USB debugging. You must have all your Android drivers properly installed.
In order that this and others scripts work,,you need to change the execution restriction from “Remote Signed” default option to “Unrestricted”.
· Open the command line as Administrator (Rigth click, “Run As administrator”).
· Write “Powershell” and press Enter.
· Write “Set-ExecutionPolicy unrestricted” and press Enter.
· Now you can close the window.
Run from Windows
Unzip the zip file into a folder, press right click on InstAPK and select “Run With Powershell”.
Run from Powershell and parameters
· Open Powershell (Start/Programs/Accessories/Windows Powershell or execute ‘powershell’ in a command line)
· Go to the path where you have saved the script
· Type “./InstAPK.ps1” and press Enter
· The parameters that you can specify are:
o “–folder” : then specify the APK folder. If the folder does not exist, the script asks you if you want it to be created.
o “-english” : To force English language
Download
https://docs.google.com/uc?export=download&id=0B9tm1izJyJe-N2hQaTl2RGpGZEU
Good But Slow
This post works well but it is slow. Thanks

[WITHOUT ROOT] Move almost all apps to SD card

[WITHOUT ROOT] WANT TO FREE YOUR INTERNAL STORAGE?
Yes it is possible please check this Trick by Yad
Requirements
Required Android phone
Pc
USB cable
Device drivers
Adb driver
Downloads
Method 1
If you don't want to keep update always then Download this version> All new updated(18/02/2015)> Android Studio>Platform Tools only 1.71 mb
Download Here Link http://d-h.st/Pdtc
*Zip password:-Yad5233
Method 2 (Recommended)
If you want to keep up to date always Download and install Android studio on your PC about 800 smthng mb and install java about 100 mb(Recommended)
Download Here Link:good: https://developer.android.com/sdk/index.html
*Make sure your device (moto e) any devices driver and adb drivers are up-to-date and installed on your pc
To install your device driver on your pc then go to Google and search like this with your device name
eg:- if your device model name is Karbonn A5 then Search on google like this>download karbonn A5 device driver
Don't know which is your device model name? then go to settings>About phone
To Download and install adb driver click here http://adbdriver.com/downloads/
it is universal no problem for any device
*Note:-Samsung offical android driver(contains MTP and ADB Driver)
Then install device driver if you have Motorola Device then download official Motorola device manager
Download Here https://motorola-mobility-en-in.custhelp.com/app/answers/detail/a_id/89881/action/auth
When I'm on unrooted Android versions i do there a trick to free space (Gb's) which moves internally stored apps ( cannot be moved to sd card ) to sd card like facebook whatsapp etc.
*Note:- cannot move system apps to sd card it requires root
*Note:-Not working on some devices like Samsung galaxy series not all galaxies
*Working Perfectly on Moto E,Karbonn A5,Micromax Canvas 2 etc
Method 2 (Recommended)
go to your c drive
Input this address in your file explorer
Eg:- if your pc is named as yadpc (user name)
Type like this in your windows explorer address bar
C\Users\yadpc\Appdata\Local\Android\sdk\platform-tools
Note:- please use your user name
If you don't know your username
Then go to c>Users (in this folder you will find your username under Public folder)
Note:- Appdata will not visible it is hidden in your user name.
you should have to type it in your windows file explorer address bar otherwise it will not be visible
Install Android Studio(Recommended)
Then
Install required java which will be shown when you are installing android studio
Then open android studio update all components make sure you are up to date
To update open sdk manager
*Must install and update platformtools
Method 1
Extract and open the Downloaded Zip folder All new Android Studio platform-tools
Hold the shift button and right click
Then you will find a option open command window here
*Note Skip this Step if you already done it on method 1
Hold the shift button and right click
Then you will find a option open command window here
Next Step For both Methods
Next step connect your phone in usb debugging mode to your pc
For Android 2.3+ or lower
Navigate to Settings > Applications > Development > USB Debugging
Enable it - as simple as that!
How to enable USB debugging on Android KitKat and Jelly Bean (4.2 and later)
Navigate to Settings > About Phone > scroll to the bottom > tap Build number>10 times
Usb debugging is hidden in Android 4.2+ devices now you are developer
How to enable USB debugging on Android 4.1 and 4.0
Navigate to Settings > Developer options and enable them.
Ok if you done this step then the
Next step
Then type this command for Android 2.3.+
adb devices
adb shell pm setInstallLocation 2
adb shell pm get-install-location
Note:- please copy paste or
check the command I is capital L is capital
For Android Devices 4.0+
adb devices
adb shell pm set-install-location 2
adb shell pm get-install-location
go to Settings>Apps or Applications>you will find there a option move to sd card
CONGRATS NOW YOU CAN MOVE ALMOST ALL YOUR APPS TO SD CARD
This can be done without rooting Press thanks button and share the post if it works
*Note:-Once you have moved over everything that you need to, and if you don't liked this then you can reverting the tweak by connecting your phone and setting the default location back to 0 and this install system defaults
Note:- this not working in Lollipop
Any problems Ask Me
on Fb:- https://www.facebook.com/YadulKrishnaVO
or comment on this thread
Credits:- Google and Me Yadul
XDA:DevDB Information
[WITHOUT ROOT] YaD WT(M3ATSD) 1.0, Tool/Utility for all devices (see above for details)
Contributors
Yadul Krishna V.O
Version Information
Status: Stable
Current Stable Version: YaD WT(M3ATSD)1.0
Stable Release Date: 2015-02-18
Created 2015-02-18
Last Updated 2015-02-18
oh this does't work for Lollipop ,what a waste.
Moto E is running on Lollipop.

[GUIDE]List all installed apps that don't allow adb backup

Some apps can't be backed up using adb backup. It is mainly because on its AndroidManifest.xml the flag android:allowBackup is either not set or set to "false". This tutorial will get you a list of apps that are currently installed on your device but will not be backed up, either using the official adb backup, LG Backup, Sony Backup and Restore, etc. (because they all use adb backup internally). So you can be cautious on advance and you are aware that the backup methods used officially have its flaws.
1) REQUIREMENTS
I will make the list of apps using a computer, so you need several things set up on the computer and the android phone.
1.1) SMARTPHONE REQUIREMENTS
-> USB Debugging enabled: How to enable USB Debugging on Android [Youtube]
1.2) COMPUTER REQUIREMENTS
-> aapt.exe and adb.exe installed. I recommend to install the Android Studio Bundle. The binaries will be installed in a path similar to this:
Code:
C:\Users\YourUser\AppData\Local\Android\sdk\build-tools\24.0.3\aapt.exe
Code:
C:\Users\YourUser\AppData\Local\Android\sdk\platform-tools\adb.exe
-> Add the paths of aapt.exe and adb.exe to your current PATH in Windows: How to Edit Your System PATH for Easy Command Line Access in Windows
-> Cygwin is mandatory to run bash commands on Windows. The x86 version is recommended because it has more commands than the 64bit version. This is where you will actually type the commands.
-> adb drivers for your smartphone. Windows 10 usually will install them flawlessly.
2) GETTING THE LIST OF APPS THAT DON'T ALLOW ADB BACKUP
2.2) CHECKING FOR SOFTWARE AND SMARTPHONE
Go into cygwin to a working directory to store there your temporary files:
Code:
cd /cygdrive/c/Temp/
Check with Cygwin that you PATH is currently set and that adb.exe and aapt.exe are usable:
Code:
which adb
/cygdrive/c/Users/Admin/AppData/Local/Android/sdk/platform-tools/adb
which aapt
/cygdrive/c/Users/Admin/AppData/Local/Android/sdk/build-tools/24.0.3/aapt
Now connect your android smartphone to the computer with the screen unlocked, accept any data connection (use MTP method if asked or from notifications panel), authorize the computer and run on Cygwin:
Code:
adb devices
List of devices attached
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
LGH815b4b2c42e unauthorized
adb devices
List of devices attached
LGH815b4b2c42e device
2.3) GETTING THE LIST OF ALL APPS ON THE DEVICE
On this step, a list of all apps on the smartphone, will be saved to a file called all_packages.txt in the format of package name. That string that appears at the end of the url when you browse an app on the Play Store.
Code:
adb shell pm list packages | grep -v '^$' > all_packages.txt
UNDER CONSTRUCTION. WILL REPLY WHEN FINISHED. SUBSCRIBE IF YOU ARE INSTERESTED
It looks like somebody released an application for that and works great:
No ADB backup app lister

[TOOL][MAC][WINDOWS]Crazy Android Manager (Via ADB&FASTBOOT)

Crazy Android Manager
adb&fastboot tool for mac and windows.
Version 1.1 :victory:
How to install :
First install ADB from (ADB and Fastboot.zip)
1-Extract zip file
2-Run ADB Install Mac.sh from Terminal (/Applications/Utilities/Terminal.app) and then restart Terminal.
Now drag (Crazy-AndroidManager) and drop it into Application folder.
--------------------------------------
I have a lot of ideas will be added to the next Version.
If you expression any problems
just email me or you have any ideas
for me on how to improve the program
Then please contact me and I will do my best to improve it
------------------------------------------------------------------------------------
Download
Download Link For Mac : https://www.mediafire.com/?gg4co7zjoy7e2aq
Download Link For Windows : Not Ready Yet
---------------------------------------------------------------------------------------

Categories

Resources