A little Help with apk settings rebuild

Hello. Can anyone helps with some problem: I download sshdroid here "4pda.ru/forum/index.php?showtopic=355125&st=20#entry66294549" (cat put normal link, because I am a new user) and it works well. But I have to change default settings: I want to enable some checkboxes in option menu by default. I go into /data/data folder and find shared_preferences folder. So when I install apk the preferences are:

<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<boolean name="enable_password" value="true" />
<boolean name="enable_authorized_keys" value="false" />
<boolean name="showcase_main_activity" value="false" />
</map>


when I change setting, file is changed to:

<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<boolean name="wifi_wake_lock" value="true" />
<boolean name="showcase_main_activity" value="false" />
<boolean name="auto_start_boot" value="true" />
<boolean name="wake_lock" value="true" />
<boolean name="enable_application_icon" value="true" />
<boolean name="enable_zeroconf" value="true" />
<boolean name="enable_password" value="true" />
<boolean name="enable_root" value="true" />
<boolean name="enable_authorized_keys" value="false" />
<boolean name="auto_start_service" value="true" />
<boolean name="enable_verbose_log" value="false" />
<boolean name="auto_start_wifi" value="true" />
<boolean name="require_wifi" value="true" />
<boolean name="enable_login_banner" value="false" />
<int name="options_launch_number" value="1" />
</map>


I see two ways: replace config after installation, but it seems bad idea, or modify apk. This is necessary, couz I build custom rom, and user should not to set that options manually, only auto set. Can someone modify (for a little pay if need) , or help to do that ? I try, but my smali knowledge are pure.

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by suzanne56
4 hours ago
Last post by wnader
3 hours ago
Last post by marcel12
3 hours ago
Last post by jaylon46
3 hours ago
Last post by brooklyn90
3 hours ago
Last post by sboyle
2 hours ago
Last post by clakin
2 hours ago
Last post by ashlee.lemke
3 hours ago
Last post by johns.osvaldo
2 hours ago
To dutty
Started by mrosenbaum
Last post by adrain51
26 minutes ago