Created
March 29, 2013 15:37
-
-
Save ma34s/5271590 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private final String SAVE_CMDLINE_DIR =Environment.getExternalStorageDirectory().getPath()+"/kbc/GNT2eXtremeTuner"; | |
private final String SAVE_CMDLINE_PATH =SAVE_CMDLINE_DIR+"/cmdline"; | |
private final String KBC_CMDLINE_DIR ="/data/kbc"; | |
private final String KBC_CMDLINE_PATH =KBC_CMDLINE_DIR+"/cmdline"; | |
private final String KERELCMDLINE_PATH ="/proc/cmdline"; | |
/* | |
/sdcard/kbc/GNT2eXtremeTuner/cmdline に正常時のcmdlineを保存 | |
設定で | |
/data/kbc/cmdline | |
にコピーします。 | |
kernel(init.rc)実装で | |
起動時のFelicaサービス起動前に | |
/data/kbc/cmdlineから/proc/cmdlineに上書きする事で詐称します | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment