Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Suvi Tool - A generic android suit for windows - V0.1.13.9.20 (21st Sept)

OP bsuhas

18th September 2013, 03:03 PM   |  #1  
bsuhas's Avatar
OP Recognized Developer
Thanks Meter: 2,953
 
1,025 posts
Join Date:Joined: Dec 2011
Donate to Me
More


--------- Suvi Tool ----------

What is this about?
Suvi Tool is a windows based software tool for any android device. It is written in Java and is Open source.
It uses ADB commands in background and lets you do so many things like install app, copy file, Mount filesystem, Manage aplications, backup applications APK and data. Everything from your Windows PC.

What are main features?
  1. Device Information
    • Get basic device information like Model, Kernel version, linux version, serial number, etc
    • Get information about different partitions, and space left in each partition (including SD card)
  2. Manage Applications
    • List all installed applications
    • Backup APK
    • Backup application data
    • Restore APK and data later (like titanium backup)
    • Nice UI, Filter apps with name, categories, sizes
    • Sort on various options
    • Batch backup/restore as well as single app backup/restore
    • Freeze/Unfreeze apps (batch or single)
    • Uninstall apps
    • Kill apps
    • Clear application data
  3. Copy Files
    • Copy file from computer to device
    • Change permissions to the copied file
    • Copy file from device to computer
    • copy whole directory from device
    • Drag and Drop of files supported
  4. Install APK from computer
    • Install apk file stored on computer
    • Install APK as system app or on SD card as well
    • Drag and Drop of apk file supported
  5. Create CWM of your apps and data
    • Yes you can select applications and create CWM package
    • Application data can be included in the CWM zip
    • Push the CWM.zip to sdcard automatically.
  6. Manage build.properties file
    • View build.properties file on device
    • Change it and save back to device
    • Inbuilt options to add in build.properties
    • like Kernel and JVM tweaks, network tewaks, performance tweaks
    • Select the checkbox of the tweak you want, it will be added to build.properties file
    • change DPI
  7. Reboot Device
    • Reboot into Recovery or normal reboot
  8. Mount /system writable
  9. View LOG
    • Clear logs on UI
    • Auto scroll, or truncate long lines
    • Change max length of the lines of logs
Everything from your PC!!!

OK I got it. How do I use it?
Download the Suvi Tool
Extract it in a folder
Run SuviTool.exe

What are prerequisites?
Your PC should have required drivers installed
Java (1.5+) 32 bit
Enable USB Debugging on phone
Root
Busybox installed
(No you don't need ADB, its built in the tool)

Cool! Who are target users?
Any one
A developer
A tester
A regular user

This sounds very generic, why its posted in A110 section?
TBH, I have not tested this on other devices
Depending on the feedback, I will take it to generic level for all the devices and Linux platform as well.


Where to download?
**Before download, you can express your thankfulness by clicking 'Thanks' button on any (or all) of my posts here.**
Download - See 'Downloads' tab or Suvi Tool V0.1.13.9.20 Alpha - LATEST
Changeog
  • File trensfer fix - now copy files to /system locations with root
  • Cancellable tasks...now cancel button works
  • UI modifications (Minor)
  • Some more bugs


Download - Suvi Tool V0.1.13.9.18 Alpha


Where are the sources?
PM me and I will provide source code.

** This is not related to Suvi ROM **

XDA:DevDB Information
Suvi Tool - A generic android suit for windows - V0.1.13.9.20 (21st Sept), a Tool/Utility for the Micromax A110

Contributors
bsuhas, bsuhas

Version Information
Status: Alpha

Created 2013-09-24
Last Updated 2013-09-24
Last edited by bsuhas; 28th September 2013 at 07:53 AM.
The Following 69 Users Say Thank You to bsuhas For This Useful Post: [ View ]
18th September 2013, 03:03 PM   |  #2  
bsuhas's Avatar
OP Recognized Developer
Thanks Meter: 2,953
 
1,025 posts
Join Date:Joined: Dec 2011
Donate to Me
More
Screenshots


Device Information


Application Manager


Sort

Filter


File Transfer


Build.prop editor


Log Viewer



Known issues, Bugs


There would be many bugs, this is alpha version. But the basic functions are tested and useful.
To name few -
SMS and contacts data backup may not work fully.
Data restore across android version (like ICS to JB) may not work
Etc...
Last edited by bsuhas; 21st September 2013 at 11:09 AM.
The Following 21 Users Say Thank You to bsuhas For This Useful Post: [ View ]
18th September 2013, 03:04 PM   |  #3  
bsuhas's Avatar
OP Recognized Developer
Thanks Meter: 2,953
 
1,025 posts
Join Date:Joined: Dec 2011
Donate to Me
More
The Mechanism of ADB Commands

Internally, the tool uses all ADB commands. These commands are not hard-coded in the source files but externalized to a XML file.
Open SuviTool\resources\ADBCommands-config.xml to see the details.

A normal ADB command is defined as
Code:
<command type="adb">
	<id>COPY_TO_DISK</id>
	<args>
		<arg name="device-path"/>
		<arg name="disk-path"/>
	</args>
	<expected-result type="not-starts-with">remote object</expected-result>
	<exec-lines>
		<line>pull</line>
		<line>"${device-path}"</line>
		<line>"${disk-path}"</line>
	</exec-lines>
</command>
This command will take 2 arguments and will run as adb.exe pull "src.path" "dest.path"

A ADB shell command is defined as
Code:
<command type="shell">
	<id>GET_PROPS</id>
	<expected-result type="not-empty"/>
	<exec-lines>
		<line>getprop</line>
	</exec-lines>
</command>
This command will not take any arguments and will run as adb.exe shell getprop

A command sometimes requires su permissions. Like this -
Code:
<command type="shell" force-su="true">
	<id>ENABLE_PKG</id>
	<args>
		<arg name="pkg"/>
	</args>
	<expected-result type="ends-with">new state: enabled</expected-result>
	<exec-lines>
		<line>pm enable ${pkg}</line>
	</exec-lines>
</command>
This command will take 1 argument of the package and un-freeze the application.

Further more, the shell commands will be sequenced - means they can be executed in sequence.
Code:
<command type="shell-sequence" force-su="true">
	<id>CHMOD_RWRR</id>
	<expected-result type="not-empty"/>
	<args>
		<arg name="file"/>
	</args>	
	<seq-command id="CHMOD">
		<command-arg>644</command-arg>
		<command-arg>${file}</command-arg>
	</seq-command>
</command>
This command will change the permission of a file to 644 (rwrr) by internally executing CHMOD command (which is defined as shell command in the same XML file)

Cool!!!!
Last edited by bsuhas; 21st September 2013 at 11:09 AM.
The Following 11 Users Say Thank You to bsuhas For This Useful Post: [ View ]
18th September 2013, 03:04 PM   |  #4  
bsuhas's Avatar
OP Recognized Developer
Thanks Meter: 2,953
 
1,025 posts
Join Date:Joined: Dec 2011
Donate to Me
More
Looks like you have done so much of work, how can I help/support you?

Sure, you can express your thankfulness by clicking 'Thanks' button on any (or all) of my posts here.

Also, you can donate to me if you feel so -
You can buy me a coffee
OR
Use Donate button here on left side.
OR
Click here - http://forum.xda-developers.com/dona....php?u=4396693
Last edited by bsuhas; 21st September 2013 at 11:05 AM.
The Following 10 Users Say Thank You to bsuhas For This Useful Post: [ View ]
18th September 2013, 03:06 PM   |  #5  
bsuhas's Avatar
OP Recognized Developer
Thanks Meter: 2,953
 
1,025 posts
Join Date:Joined: Dec 2011
Donate to Me
More
Customizations


Add build.prop tweaks
You can add you own build.prop tweak which will reflect on the UI build.properties editor tab. You can use it in your development.
Open SuviTool\resources\Build.prop_tweaks.xml file and follow the procedure
Code:
<tweak category="__This will be the tab name on the editor__" 
	description="__This will be property header (name)__" 
	show-props="true/false __This will show/hide the actual property text form UI__">
	    <property id="your.build.prop1" 
			type="string (if text values), toggle (if ON/OFF type)" 
			defaule-value="__default value__"
			on-value="__true/1/on or whatever for toggle__" off-value="__false/0/off or whatever for toggle__"/>
		<property Repeat the property tags/>
</tweak>
For example, to add the Bravia engine tweak under the 'Addon Packs' category
Code:
<tweak category="Addon pacs" description="Bravia engine" show-props="disabled">
	    <property id="ro.service.swiqi2.supported" type="toggle" defaule-value="true"/>
	    <property id="persist.service.swiqi2.enable" type="toggle" defaule-value="1"/>
</tweak>
It will be shown as



Example2:

Last edited by bsuhas; 18th September 2013 at 07:34 PM.
The Following 8 Users Say Thank You to bsuhas For This Useful Post: [ View ]
18th September 2013, 03:18 PM   |  #6  
kkkhattak's Avatar
Senior Member
Flag Peshawar
Thanks Meter: 169
 
893 posts
Join Date:Joined: Dec 2011
More
This tool is very helpful keep it up
The Following User Says Thank You to kkkhattak For This Useful Post: [ View ]
18th September 2013, 03:36 PM   |  #7  
ibshar's Avatar
Senior Member
Thanks Meter: 1,210
 
1,060 posts
Join Date:Joined: Sep 2011
Donate to Me
More
Cool... Thanks..
The Following User Says Thank You to ibshar For This Useful Post: [ View ]
18th September 2013, 04:01 PM   |  #8  
bsuhas's Avatar
OP Recognized Developer
Thanks Meter: 2,953
 
1,025 posts
Join Date:Joined: Dec 2011
Donate to Me
More
Just finished creating OP, yet got 6 downloads....Expecting a review soon.
The Following User Says Thank You to bsuhas For This Useful Post: [ View ]
18th September 2013, 04:03 PM   |  #9  
mmxandy's Avatar
Senior Member
Flag Hyderabad
Thanks Meter: 945
 
430 posts
Join Date:Joined: Feb 2013
More
will try.. and review soon.. thank you sir..
18th September 2013, 04:12 PM   |  #10  
SuperDroid-BOND's Avatar
Recognized Contributor
Flag Your Heart, SweetHeart
Thanks Meter: 3,443
 
1,336 posts
Join Date:Joined: Dec 2012
Donate to Me
More
Thumbs up Ohhhh Finally You posted the Tool
@bsuhas

Sir,
Finally you posted the tool. Every time while viewing your signature I was wondering that where have you posted the tool that I am not able to get. So this was the project you were working on Sir. Or there is some more surprises for us.
Just Downloading it and will review it in few minutes, though for full review we need at least two days time.
BTW It seems to be great like SUVI-Heart. Let me find out more from it.
Thanks for this awesome work. Not in a good position or I will surely prefer for donating you.

The Following 2 Users Say Thank You to SuperDroid-BOND For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
suvi, suvi tool
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes