S8 Hacked
- By jackslimgr
- Smartphones
- 14 Replies
Unfortunately my samsung has been hacked. A long with my google account. And its been rooted even though i never did that. Please help
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.

ContextWrapper cw= new ContextWrapper( getApplicationContext() );
File directory = cw.getDir( "imgDir",Context.MODE_APPEND );
File destination= new File( directory,"capture_01.bmp" );
ByteArrayOutputStream bytes = new ByteArrayOutputStream();
image.compress( Bitmap.CompressFormat.JPEG, 100, bytes );
long filesizeinBytes = image.getByteCount();
long fileSizeInKB = filesizeinBytes / 1024;
FileOutputStream fo;
try {
fo = new FileOutputStream( destination );
fo.write( bytes.toByteArray() );
fo.close();
} catch (IOException e) {
e.printStackTrace();
//TODO REMOVE TOASTMESSAGE
Toast.makeText( this,e.getMessage(),Toast.LENGTH_SHORT ).show();
}
Toast.makeText( this,"Image saved sucessfully" ,Toast.LENGTH_SHORT ).show();
}
ContextWrapper cw= new ContextWrapper( getApplicationContext() );
File directory = cw.getDir( "imgDir", Context.MODE_APPEND );
File destination= new File( directory,"capture_01.bmp" );
try {
MediaStore.Images.Media.insertImage( context.getContentResolver(),destination.getAbsolutePath(),destination.getName(),null );
context.sendBroadcast( new Intent(
Intent.ACTION_MEDIA_SCANNER_SCAN_FILE,Uri.fromFile( destination )
) );
} catch (FileNotFoundException e) {
e.printStackTrace();
}
ByteArrayOutputStream bytes = new ByteArrayOutputStream();
image.compress( Bitmap.CompressFormat.JPEG, 100, bytes );
long filesizeinBytes = image.getByteCount();
long fileSizeInKB = filesizeinBytes / 1024;
FileOutputStream fo;
try {
fo = new FileOutputStream( destination );
fo.write( bytes.toByteArray() );
fo.close();
} catch (IOException e) {
e.printStackTrace();
Toast.makeText( this,e.getMessage(),Toast.LENGTH_SHORT ).show();
}
Toast.makeText( this,"Image saved sucessfully" ,Toast.LENGTH_SHORT ).show();
}