@@ -0,0 +1,2209 @@
+package modbrin.libchanger;%0A%0Aimport java.io.DataOutputStream;%0Aimport java.io.IOException;%0A%0Aimport android.app.Activity;%0Aimport android.os.Bundle;%0Aimport android.view.View;%0Aimport android.view.View.OnClickListener;%0Aimport android.widget.Button;%0Aimport android.widget.TextView;%0A%0A%0A%0Apublic class MainActivity extends Activity %7B%0A    TextView text;%0A%09Button btnInst;%0A%09Button btnRest;%0A%09%0A%09%0A    String%5B%5D inst = %7B%22cp /system/lib/libmmcamera_imx179.so /sdcard/LC-Cache/backup/backup.so%22, %22mount -o remount,rw /system%22, %22install -m644 /sdcard/LC-Cache/mod.so /system/lib/libmmcamera_imx179.so%22, %22mount -o remount,ro /system%22,%22killall mm-qcamera-daemon mediaserver%22, %22killall pkmx.lcamera%22%7D;%0A%09String%5B%5D rest = %7B%22mount -o remount,rw /system%22, %22install -m644 /sdcard/LC-Cache/orig.so /system/lib/libmmcamera_imx179.so%22, %22mount -o remount,ro /system%22,%22killall mm-qcamera-daemon mediaserver%22, %22killall pkmx.lcamera%22%7D;%0A%09@Override%0A%09public void onCreate(Bundle savedInstanceState) %7B%0A%09%09super.onCreate(savedInstanceState);%0A%09%09setContentView(R.layout.main);%0A%09%09%0A%09%09text = (TextView) findViewById(R.id.text);%0A%09%09btnInst = (Button) findViewById(R.id.btnInst);%0A%09%09btnRest = (Button) findViewById(R.id.btnRest);%0A%09%09%0A%09%09%0A%09%09%0A%09%09//Process of restoring to original%0A%09%09OnClickListener oclBtnRest = new OnClickListener() %7B%0A%09%09%09@Override%0A%09%09%09public void onClick(View v)%7B%0A%09%09%09%09try %7B%0A%09%09%09%09%09SuRun(rest);%0A%09%09%09%09%7D catch (IOException e) %7B%0A%09%09%09%09%09e.printStackTrace();%0A%09%09%09%09%7D; %0A%09%09%09text.setText(%22Restored To Normal%22);%0A%09%09%09%7D%09%0A%09%09%7D;%0A%09%09btnRest.setOnClickListener(oclBtnRest);%0A%09%09%0A%09%09//Process of installing the modification%0A%09%09OnClickListener oclBtnInst = new OnClickListener() %7B%0A%09%09%09 @Override%0A%09%09%09public void onClick(View v)%7B%0A%09%09%09%09 try %7B%0A%09%09%09%09%09%09SuRun(inst);%0A%09%09%09%09%09%7D catch (IOException e) %7B%0A%09%09%09%09%09%09e.printStackTrace();%0A%09%09%09%09%09%7D; %0A%09%09%09text.setText(%22Installed Modified Lib%22);%0A%09%09%09%7D%09%0A%09%09%7D;%0A%09%09btnInst.setOnClickListener(oclBtnInst);%0A%09%7D%0A%09public void SuRun(String%5B%5D cmds) throws IOException%7B%0A        Process p = Runtime.getRuntime().exec(%22su%22);%0A        DataOutputStream os = new DataOutputStream(p.getOutputStream());            %0A        for (String tmpCmd : cmds) %7B%0A                os.writeBytes(tmpCmd+%22%5Cn%22);%0A        %7D           %0A        os.writeBytes(%22exit%5Cn%22);  %0A        os.flush();    %0A%7D%0A%7D%09%0A

Create MainActivity.java