Find Jobs
Hire Freelancers

Android ADB bash Script

$10-30 USD

Completed
Posted over 4 years ago

$10-30 USD

Paid on delivery
I am looking to create a simple script that allows me to uninstall and reinstall an application on many devices connected to a hub. This should be a quick easy task for anyone who understands the language. Some of the devices have the application installed as a system app and others are not. This requires a check and uninstall based on its location. Once uninstalled the new version which is a different signing needs to be installed. Below I included the code I started working on and got stuck. while read sn device; do adb -s "$sn" root adb -s "$sn" shell file="/system/app/ourcompany-gallery" if [ -f "$file" ] then rm -rf ourcompany-gallery else exit adb -s "$sn" uninstall [login to view URL] fi adb -s "$sn" install E:\[login to view URL] adb -s "$sn" shell reboot done < <(adb devices | sed '1d')
Project ID: 22598527

About the project

3 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
i can do this in 30 min ........................................................................................................................................................................................
$15 USD in 1 day
4.7 (53 reviews)
5.4
5.4

About the client

Flag of UNITED STATES
Mosinee, United States
5.0
28
Payment method verified
Member since Sep 9, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.