[TOOL] ADBTools for Linux by mihahn v1 [WIP] - Android Software Development

This is a program I've just made for linux to use ADB in a simple way. It's still wip so maybe there are some functions not included or not working, if you find them please tell me
First of all the features:
Code:
1. Transfer data:
-> ADB Push files
-> ADB Pull /system
-> ADB Pull /system/app
-> ADB Pull /system/framework
2. Backup/Restore
-> Backup the SD Card
-> Backup everything (system, data, apks, shared-storage)
-> Backup system
-> Backup apks only
-> Restore Backup
3. ADB Reboot
-> Reboot in system
-> Reboot in the bootloader
-> Reboot in the recovery
4. ADB Install/Reinstall
-> Install an app
-> Install an app on sdcard
-> Reinstall an app, but keep the data
5. ADB Shell
That's it
What you need:
ADB set up properly and an android devices with usb debugging and unknown sources enabled!
I'm not responsible for any damage to any of your devices. You choose to use it and if something goes wrong it's not my fault (e.g. data is lost, pc won't work, device is bricked, etc)
Please help me to improve everything in this tool, so give me some suggestions for features you want and if you have any idea how to improve the whole script (code) please PM me

Some Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Changelog:
Code:
28.Jan.2013
First Release (v1)
Download: Version 1 here
How to use:
1. Download the script
2. place it in your home directory (~/) (/home/username/)
3. Open a Terminal
4. Type ./ADBTools.sh
Okay you've got it

I would like to improve the script, but I need some ideas/suggestions from you

Related

[Q] How to do?

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
how to Modify the menu key,the home key????I want to Modify the icon
That depends on what you want to do. If you want to make something up yourself, you need to install adb (google how to install adb on whatever OS you are on). Then, once you have adb going, type in the following commands in command prompt (after your phone is hooked up to your computer)
adb.exe
adb pull /system/framework/framework-res c:\users\[your computer's name]\desktop
that will copy your framework onto your desktop.
from there, open it with winrar, or (preferably) 7zip and go to the res/assets folder.
copy the 4 icons to your desktop, modify, and then drag them back into 7zip. it'll ask you if you want to overwrite (or something like that). Yes.
Then, in command prompt type in
adb push c:\users\[your computer name]\desktop\framework-res /system/framework
after it pushes, type in
adb reboot
before you do any of this, make a nandroid backup.
The other option is to find Trailblazer's themer, make your icons and put them in the appropriate folder in that themer, make a copy of your framework-res in your sd card, mount your sd card to your computer and copy it over, then run it through the themer. You still have to have adb installed, and I'd still make a nandroid, before you do anything.
http://forum.xda-developers.com/showthread.php?t=1250684
[12/12/11][Universal!][Windows] Trailblazer101's Custom Framework Maker v4.2
-Sent From Your Mother's Bedroom

[GUIDE] EFS backup and restore G925f - manually

EFS backup and restore G925f
Manually : by adb shell command
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
Requirements :
-G925f
-Root access : root with cf-root or flash twrp and install superSu
(When using su commands press Grant or Autorize Option from SuperSu)
-ADB command : Android SDK
How to do it :
for Backup efs :
- connect G925f Rooted to PC with USB cable
- run CMD in android SDK
- Then enter the following commands :
adb shell
su
dd if =/dev/block/sda3 of=/sdcard/efs_backup_g925f.img
Click to expand...
Click to collapse
For later use copy images from internal sdcard to a safe place such as pc.
for Restore efs :
- connect G925f Rooted to PC with USB cable
- run CMD in android SDK
- Then enter the following commands :
adb shell
su
dd if =/sdcard/efs_backup_g925f.img of=/dev/block/sda3
reboot
Click to expand...
Click to collapse
Good Lock
What efs is? Is it important? What does it change?
Iluvatar2000 said:
What efs is? Is it important? What does it change?
Click to expand...
Click to collapse
The Device security
Try Backup
Used to repair phone security
If that problem it will use your phone
For more information "Efs" search word
Hi sir, i got problem with my efs, my phone got stuck in samsung logo after i flash custom rom in my S6 Edge plus (SM-G928F) and has a error "Failed to mount /efs (invalid argument) btw, my s6 in not rooted
please help me
here's some pictures

Guide | ADB and Fastboot | Latest

ADB and Fastboot installation guide for Windows | system wide
100% working on all windows​
Download latest ADB and Fastboot drivers, extract and replace to your existing adb and fastboot folder.
If you are installing adb and fastboot for the 1st time, follow the next steps:
1. Create a folder in C:\ , give it a desired name, (for me the adb.exe it's in: "C:\platform-tools")
2. Go to Control Panel -> System ->Advanced System Settings -> Advanced Tab -> Environmental Variables
3. Add the adb path just like in the screenshots below.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Below, under "System variables" scroll down to the variable labeled "Path" and choose Edit and add the path of the adb.exe there too
Ok. Now you are ready to use adb and fastboot , everywhere you are. You don't have to 'cd' to the adb path anymore.
**If you ever get a bad alloc error or falling to an older adb version message in Windows 10 x64, just reboot your phone to recovery and try again.
How do i get the drvers? In fastboot it shows up as an unknown device
It is not the first time i have installed them on my computer (Windows 10),anyway , it is not as simple as you said .
aceten100 said:
How do i get the drvers? In fastboot it shows up as an unknown device
Click to expand...
Click to collapse
Having fastboot installed on the PC should be enough. You sure the phone is booted to bootloader-fastboot mode (which is mandatory)? What is the response to the command: fastboot devices

[TOOL][OP3] TOOL ALL IN ONE (Drivers|Unlock|TWRP|Factory Image|Stock Recovery)

This is the OnePlus 3/3T's TOOL ALL IN ONE Discussion Thread more info and download go to the Original Thread
TOOL ALL IN ONE
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ADVANCED OPTIONS
FUNCTIONS
Install Drivers
Install Drivers
Unlock Bootloader
Lock Bootloader (use carefully)
Flash TWRP Recovery
Flash Stock Recovery
Flash Stock Factory Image
Automatic ROOT
Install APKs
Uninstall APKs
Take a Screenshot
Take a Screen Reocrd
Flash Partitions
Erase All Data (This function can decrypt the phone)
Reboot Phone
Update the Tool to latest version
Update Adb and Fastboot to latest version
Set Adb and Fastboot priviliges in system wide
Install Zip directly from PC (Required TWRP on phone)(These functions work perfectly on my pc but i have perfect adb drivers on my pc and perfect TWRP on my phone)
Flash Fastboot ROM
Delete downloaded files
ADB File Manager
DEVICE LIST
If you want you can send a request to add a new device here:
New Device Request Form
Device List
DOWNLOAD
Original Thread
DONATE LINK
If you want to support the project please consider making a donation, thanks.
​
Thanks.. this will be very useful for Noobs

[TOOL][PIXEL] TOOL ALL IN ONE (Drivers|Unlock|TWRP|Factory Image|Stock Recovery)

This is the Pixel's TOOL ALL IN ONE Discussion Thread more info and download go to the Original Thread
TOOL ALL IN ONE
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ADVANCED OPTIONS
FUNCTIONS
Install Drivers
Install Drivers
Unlock Bootloader
Lock Bootloader (use carefully)
Flash TWRP Recovery
Flash Stock Recovery
Flash Stock Factory Image
Automatic ROOT
Install APKs
Uninstall APKs
Take a Screenshot
Take a Screen Reocrd
Flash Partitions
Erase All Data (This function can decrypt the phone)
Reboot Phone
Update the Tool to latest version
Update Adb and Fastboot to latest version
Set Adb and Fastboot priviliges in system wide
Install Zip directly from PC (Required TWRP on phone)(These functions work perfectly on my pc but i have perfect adb drivers on my pc and perfect TWRP on my phone)
Flash Fastboot ROM
Delete downloaded files
ADB File Manager
DEVICE LIST
If you want you can send a request to add a new device here:
New Device Request Form
Device List
DOWNLOAD
Original Thread
DONATE LINK
If you want to support the project please consider making a donation, thanks.
​
https://www.virustotal.com/#/file/d...737355fcd4c83a511fba2db5a72bd677afc/detection
P.S.
There are a total of 100k+ downloads i think if it were a virus I think there would not be so many downloads
Finally i got a solution for Nexus and Pixel Factory Image flash, now it works perfectly

Categories

Resources