Wednesday, October 26, 2016

Apk Share & Apk Backup

Apk Share & Apk Backup

or App  Share ,App Backup

Apk Share is possible by getting all the current launcher intentfilter\

this gives the Application info of all the application installed in the device.

appinfo->path points to the apk file.

Even all system apks can be read like normal flle

* NO root permission is requireded
* Most of the recent version apk name as base.apk
* So there is a need of renaming base.apk to the package name of that application.

Apk Share can be possible adding the application/zip MIME type to the send intent
Multiple apk alsoe can be sent by using the intent.

Apk Share & Apk Backup

Apk Share & Apk Backup

Tuesday, September 20, 2016

Resize virtual box parition without loosing the data


1) Execute below commands to get the resized SDK.

VBoxManage clonehd "source.vmdk" "cloned.vdi" --format vdi
VBoxManage modifyhd "cloned.vdi" --resize 20480
VBoxManage clonehd "cloned.vdi" "resized.vmdk" --format vmdk

In above :20480  is  20Gb =(20* 1024 Mb)

2) Still it will show the same size .Need to partition the newly
   extended space .
  Use Gparted tool to parition it.
 
3) Download gparted ISO file. from : http://gparted.org/download.php

4)  Change boot order in Virtual Box  to use CD first .

5)  Add downlaoded gpartede iso image in virtual box storage section.

6) From gparted tool :
   Now you can see the unallocated space at the end.
    like  |main |swap |unallocated| .
            a) delete swap (remember size of SWAP)
            b) extend/resize the main till end of unallocated.keep                  in mind leave space for swap at the end.
            c) create swap parition at the end for the same size.
    Press appy button & once processing finished .Exit & Shutdown.

7) Change the bootorder to harddisk first & restart the virtual machine again.
     
8) Now you can see the parition resized ($ df -h)