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

Search This thread

bsuhas

Inactive Recognized Developer
Dec 22, 2011
1,062
2,894
8MiXoux.jpg


--------- 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:

bsuhas

Inactive Recognized Developer
Dec 22, 2011
1,062
2,894
Screenshots

Device Information
7xM8arL.jpg


Application Manager
NmkHEH4.jpg


Sort
QNZYyl2.jpg

Filter
3BIHc9R.png


File Transfer
Qgx3xRE.png


Build.prop editor
m6ckOPy.png


Log Viewer
j1v4j8H.png



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:

bsuhas

Inactive Recognized Developer
Dec 22, 2011
1,062
2,894
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:

bsuhas

Inactive Recognized Developer
Dec 22, 2011
1,062
2,894
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://xdaforums.com/donatetome.php?u=4396693
 
Last edited:

bsuhas

Inactive Recognized Developer
Dec 22, 2011
1,062
2,894
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="[COLOR="Red"]Addon pacs[/COLOR]" description="[COLOR="red"]Bravia engine[/COLOR]" 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

zu7ay4v.jpg


Example2:

Gr7gXJh.png
 
Last edited:

bsuhas

Inactive Recognized Developer
Dec 22, 2011
1,062
2,894
Just finished creating OP, yet got 6 downloads....Expecting a review soon.
 
S

SuperDroid-BOND

Guest
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.
 

bsuhas

Inactive Recognized Developer
Dec 22, 2011
1,062
2,894
@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.

Yeah. I updated my signature to this thread. This tool is a revised boosted enhanced version of old tool AAM (aka Android application manager)
Its more than 6 months work in the Suvi Tool. If you see the amount of source code written, you will get surprised.
 
  • Like
Reactions: praderj

bsuhas

Inactive Recognized Developer
Dec 22, 2011
1,062
2,894
Brother if you make this tool universal to all devices for sure it will be a mega hit,wonderful job,hats off :thumbup::thumbup::thumbup:

Sent from my A110 using xda app-developers app

It is a universal. I just have not released on that level. I will do it soon. Let it be more robust here first.
 
S

SuperDroid-BOND

Guest
Initial Reviews

@bsuhas

Sir,

I must say its a hard work of yours -- SUVI Universal Android Tools
Truly you are genius of Java Sir. First Thing to say, seriously everyone will love using it. But Sir, you are kicking the apps like ROM Manager, Rom Toolbox and other root apps doing same and killing mobiles spaces.

The UI is wonderful. Was thinking, that if you could do something to Dsixda's Android Kitchen's UI also. Personally felt.
The works and intial ornaments for build.prop tweaks are good for a noob like me also. Through that I managed proximity sensor of the 4.2 ROM and its working. Then rebooted through the tool. Everything I found to be great and after all its a SUVI-Heart Tool. Got something I will never skip using till the time I will be in this Android.
Once again I will like to thank you for the awesome work. Just great to have it and feeling like a dev after using the build.prop tweaks from that.

Bug :-
I got this while starting the program every time but it works cool and no effect on tool for this error.

"The program can't start because MSVr100.dll is missing from your computer. Try reinstalling the program to fix this problem."
 

bsuhas

Inactive Recognized Developer
Dec 22, 2011
1,062
2,894
@bsuhas

Sir,

I must say its a hard work of yours -- SUVI Universal Android Tools
Truly you are genius of Java Sir. First Thing to say, seriously everyone will love using it. But Sir, you are kicking the apps like ROM Manager, Rom Toolbox and other root apps doing same and killing mobiles spaces.

The UI is wonderful. Was thinking, that if you could do something to Dsixda's Android Kitchen's UI also. Personally felt.
The works and intial ornaments for build.prop tweaks are good for a noob like me also. Through that I managed proximity sensor of the 4.2 ROM and its working. Then rebooted through the tool. Everything I found to be great and after all its a SUVI-Heart Tool. Got something I will never skip using till the time I will be in this Android.
Once again I will like to thank you for the awesome work. Just great to have it and feeling like a dev after using the build.prop tweaks from that.

Bug :-
I got this while starting the program every time but it works cool and no effect on tool for this error.

"The program can't start because MSVr100.dll is missing from your computer. Try reinstalling the program to fix this problem."


You will feel more like developer after reading this guide

http://xdaforums.com/showpost.php?p=45702603&postcount=5

All please see this guide to see the power of the tool.
 

ibshar

Senior Member
Sep 10, 2011
1,128
1,194
Bangalore
Xiaomi Mi A2

Top Liked Posts

  • There are no posts matching your filters.
  • 75
    8MiXoux.jpg


    --------- 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
    21
    Screenshots

    Device Information
    7xM8arL.jpg


    Application Manager
    NmkHEH4.jpg


    Sort
    QNZYyl2.jpg

    Filter
    3BIHc9R.png


    File Transfer
    Qgx3xRE.png


    Build.prop editor
    m6ckOPy.png


    Log Viewer
    j1v4j8H.png



    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...
    11
    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!!!!
    10
    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://xdaforums.com/donatetome.php?u=4396693
    8
    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="[COLOR="Red"]Addon pacs[/COLOR]" description="[COLOR="red"]Bravia engine[/COLOR]" 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

    zu7ay4v.jpg


    Example2:

    Gr7gXJh.png