003SH/005SH/DM009SH root kit 2012/08/28

1. Introduction
	Summary of the 2CH root thread: http://www34.atwiki.jp/003005root
	Contains info on how to use this rootkit, and other information for each device - it is recommended that you read through this before starting.

2. This rootkit is intended for the following Android devices
	- 003SH, build S4030 or higher
	- 005SH, build S4030 or higher
	- DM009SH, build S4030 or higher
  * If you havent upgraded to Android 2.3, please do so first.

3. Required OS environment for this root kit
	Windows 7/Vista/XP 32bit/64bit

4. Root kit features:
	- Gain temporary root access
	On startup, the following is done to get temporary root access
		- Superuser.apk is installed
		- busybox, bash etc. files are installed
	- nandunlock
	- Remove MIYABI LSM
	- Remount /system as RW and back to RO
	- Create a custom image
	- Write the custom image to the boot/recovery partition
		* The following takes place when the image is written
		- nandunlock
	- Restart from boot/recovery partition
	- Create backup
		* The following types of backup can be created
		- boot/recovery/system
		- APP folder inside userdata/ldb/battlog/calllog/cache/SDCARD
		- All partitions
	- shell startup (using adbputty)
	- View logcat

5. Custom image
	It is possible to create your own custom images:
	- Can be written
	- Custom Build kernel (with recovery kit function)
	Custom image containing the custom build kernel included with this Rootkit .
	In order to create a custom image file, the original boot and recovery partitions are required.
	- Standard kernel (with simple recovery feature)
	Custom image that uses the kernel from the original boot partition backup.
	In order to create a custom image file, the original boot and recovery partitions are required.

6. Recovery kit features (custom built kernel only):
- Enter recovery mode by pressing the HOME key for about 7-12 seconds after the Softbank logo is displayed. If you don't press the HOME key, normal startup occurs.
- The Droid icon will be displayed when you enter recovery mode.
- In recovery mode, pressing the HOME or POWER key will display/hide the menu.
- To navigate in the recovery mode menu, do the following:
    - Use Vol.UP/Vol.DOWN to move up and down between menu items.
    - Use the CAMERA key or the ENTER key to select an item and run it.
- The following functions are available from the recovery mode menu:
    - reboot from boot partition
    - reboot from recovery partition
    - enable adb USB connection
    - wipe data/factory reset
    - wipe cache partition
    - backup partition to image
      Backs up the NAND memory (User storage/System ROM) and apps stored on SD card (/sdcard/.android_secure), to the SD card
      Using Image-format backup (mtd/yaffs2) uses TAR archiving
      One-Touch backup option
      Backups will be saved to /sdcard/clockworkmod/backup
    - restore image to partition
      Restore backups saved on SD card
      Backups saved with One-touch backup can be restored in one step
    - start maker's original recovery utility
      
* In case of problems with the phone which render it inoperable, the recovery mode allows you to enable ADB USB connection.
* The first time you enable USB from recovery mode, the USB driver prompt may appear on your PC. You should reinstall the same driver as you already have installed.
* Don't forget that the ADB USB driver is not the same as the phone USB driver
* Once you have enabled USB connection, if connection is lost/disconnected you will need to disable/enable it again to re-enable the connection
* In after launching a shell like "ADB Shell", use the "su" command to get root
  The following commands can be performed:
    -mount_data
      Mount /data
    -mount_system
      Read Only mount of /system
    -remount_system
      Mount /system as rw (Please perform mount_system first)
    -mount_sdcard
      Mount /sdcard
    -flash_image
      Burn an image to the NAND memory
    -dump_image
      Take a backup of the NAND memory
    -erase_image
      Clear the NAND memory
    -busybox
      Use "busybox --help" to see which commands you can use

7. About the features of the simple recovery (only on the Standard images)
	A port of Goroh_Kun's "Kernel image with System Recovery enabled SH-12C" for the 003/DM009SH/005SH
	- Between 7-12 seconds after the Softbank logo appears, press HOME key to go into the recovery mode (dont press anything for normal boot)
	- Going into the simple recovery mode does not show any menus, or appear to do anything; but if the Softbank logo stays there constantly, you are in the recovery mode
	- In the simple recovery mode, pressing the power button ends the recovery mode and reboots the phone
	- A few minutes after entering the recovery mode, the ADB USB connection is enabled
	- If you disconnect the ADB USB while in recovery mode, you cannot reconnect, you must reboot and re-enter the recovery mode

- after launching a shell like "ADB Shell", use the "su" command to get root
  The following commands can be performed:
    -mount_data
      Mount /data
    -mount_system
      Read Only mount of /system
    -remount_system
      Mount /system as rw (Please perform mount_system first)
    -flash_image
      Burn an image to the NAND memory
    -busybox
      Use "busybox --help" to see which commands you can use

8. Features in all kernels
- /sbin/su has been prepared (Superuser.apk is required)
- When a service is started,if /data/root/autoexec.sh exists, it will be launched as a service
- When a service is started,if /data/root/autoexec2.sh exists, it will be executed "exec" (until it ends, control will not go to init.qcom.rc)
- /data/vendor will be symbolically linked to /vendor

9. Features in Standard Kernel
This is an OEM Kernel:
- You need to perform nandunlock before you can write to NAND.
- In order to write to /system, you need to unlock MIYABI, then remount it as RW.

10. Features in Custom Kernel
Built off the 003SH/DM009SH S4080/005SH S4090 source code that was made public on SH Developers Square
- MIYABI LSM etc has been disabled (/system remount, chroot, ptrace is now possible)
- nandlock is disabled (all "mtd" can be written to)
- Enable SWAP
  - SWAP files cannot be created on yaffs2
  - SHARP's SDCARD driver executes in "userland" so if the SWAP file is created on the SD Card, the phone will become unstable
- ZRAM
- Applied mtd driver feature enhancement patch
- CPU Speed scope can be set from 24.576 to 2016MHz
  - Default at boot is from 245.760 to 1024MHz
- Possible to set voltage for CPU VDD
- Force governer ondemand
- Governer:
Add interactive/lagfree/smartass/Scary/minmax/SavagedZen/interactiveX/smartassV2/smoothass/brazilianwax/lazy/lulzactive/intellidemand
- Disable PerfLock
- Enable vsync off
  (Forwarding the default autoexec.sh enables vsync off)
- Enable deadline for I/O scheduler
- Add AS/BFQ/V(R)/SIO to I/O scheduler
- Change the default I/O Scheduler to SIO
- Change Tree RCU  Tiny RCU
- Enable TUN/TAP driver

11. About startup.conf
Changing the text in /data/vendor/etc/startup.conf allows you to change the settings at startup
If /data/vendor/etc/startup.conf does not exist, the following settings will be used:
    nandunlock_enable="YES"
    resetmiyabi_enable="YES"
    vsync_enable="NO"
    zram_enable="YES"
    zram_disksize="100"
    compat_au="YES"
    syncblock_enable="YES"
    syncblock_interval="3600"
- Disabling nandunlock and MIYABI LSM
  Only makes a difference on the standard kernel
    -nandunlock_enable (default "NO")
      Changing it to "YES" performs nandunlock at startup
    -resetmiyabi_enable (default "NO")
      Changing it to "YES" disables MIYABI LSM at startup
- vsync on/off
  Only makes a difference on the custom build kernel
    -vsync_enable (default "YES")
      Changing it to "NO" sets vsync off at startup
- ZRAM SWAP settings
  Only on the custom build kernels
    -zram_enable (default "YES")
      "YES" enables ZRAM SWAP at startup
    -zram_disksize (default "100")
      determines the zram SWAP size (in MB)
- Governer (CPU frequency governor) Settings
  Only on the custom build kernels
    -cpufreq_change (default "NO")
      Changing it to "YES" sets tje govermer frequency at startup
    -cpufreq_scaling_governor (default "ondemand")
      Sets the governer that is enabled
      Possible values are[intellidemand/lulzactive/lazy/brazilianwax/smoothass/smartassV2/SavagedZen/interactiveX/lagfree/minmax/Scary/smartass/interactive/conservative/ondemand/userspace/powersave/performance]
    -cpufreq_scaling_max_freq (default "1024000")
      CPU clock max frequency (khz)
      Valid settings[24576/61440/122880/184320/192000/245760/368640/460800/576000/652800/768000/806400/921600/1024000/1113000/1209600/1305600/1401600/1516800/1612800/1708800/1804800/1900800/2016000]
    -cpufreq_max_freq (default "1024000")
      Same as cpufreq_scaling_max_freq
    -cpufreq_scaling_min_freq (default "245760")
      CPU clock min frequency (khz)
      Valid settings[24576/61440/122880/184320/192000/245760/368640/460800/576000/652800/768000/806400/921600/1024000/1113000/1209600/1305600/1401600/1516800/1612800/1708800/1804800/1900800/2016000]
    -cpufreq_min_freq
      Same as cpufreq_scaling_max_freq
    -cpufreq_scaling_setspeed
      Used where "userspace" is specified as the governer (CPU clock frequency in kHz)
      Valid settings[24576/61440/122880/184320/192000/245760/368640/460800/576000/652800/768000/806400/921600/1024000/1113000/1209600/1305600/1401600/1516800/1612800/1708800/1804800/1900800/2016000]
    -cpufreq_boost_cpufreq
      Can be used when "ondemand" is specified as the governer
- Preset Governer settings
  Basically only applies to the custom kernel
  "interactive" settings
    -cpufreq_interactive_go_maxspeed_load (default value "85")
      Go to max speed when CPU load at or above this value.
    -cpufreq_interactive_min_sample_time (default value "80000")
      The minimum amount of time to spend at a frequency before we can ramp down.
  "interactiveX" settings
    -cpufreq_interactiveX_min_sample_time (default value "50000")
      The minimum ammount of time to spend at a frequency before we can ramp down,
      default is 50ms.
    -cpufreq_interactiveX_suspend_speed (default value "368640")
    -cpufreq_interactiveX_resume_speed il:"1024000"j
    -cpufreq_interactiveX_freq_threshold il:"1024000"j
  "lulzactive"ŗL̐ݒ
    -cpufreq_lulzactive_inc_cpu_load il:"60"j
      CPU freq will be increased if measured load > inc_cpu_load;
    -cpufreq_lulzactive_up_sample_time il:"24000"j
      The minimum amount of time to spend at a frequency before we can step up.
    -cpufreq_lulzactive_down_sample_time il:"49000"j
      The minimum amount of time to spend at a frequency before we can step down.
    -cpufreq_lulzactive_pump_up_step il:"1"j
      Increasing frequency table index
      zero disables and causes to always jump straight to max frequency.
    -cpufreq_lulzactive_pump_down_step il:"1"j
      Decreasing frequency table index
      zero disables and will calculate frequency according to load heuristic.
    -cpufreq_lulzactive_screen_off_min_step (default value: Max value, depends on cpufreq_scaling_max_freq)
      Use minimum frequency while suspended.
  "smartass"ŗL̐ݒ
    -cpufreq_smartass_up_rate_us il:"12000"j
      The minimum amount of time to spend at a frequency before we can ramp up.
    -cpufreq_smartass_down_rate_us il:"24000"j
      The minimum amount of time to spend at a frequency before we can ramp down.
    -cpufreq_smartass_up_min_freq il:"1024000"j
      When ramping up frequency with no idle cycles jump to at least this frequency.
      Zero disables. Set a very high value to jump to policy max freqeuncy.
    -cpufreq_smartass_sleep_max_freq il:"368640"j
      When sleep_max_freq>0 the frequency when suspended will be capped
      by this frequency. Also will wake up at max frequency of policy
      to minimize wakeup issues.
      Set sleep_max_freq=0 to disable this behavior.
    -cpufreq_smartass_sleep_wakeup_freq il:"1024000"j
      The frequency to set when waking up from sleep.
      When sleep_max_freq=0 this will have no effect.
    -cpufreq_smartass_awake_min_freq il:"0"j
      When awake_min_freq>0 the frequency when not suspended will not
      go below this frequency.
      Set awake_min_freq=0 to disable this behavior.
    -cpufreq_smartass_sample_rate_jiffies il:"2"j
      Sampling rate, I highly recommend to leave it at 2.
    -cpufreq_smartass_ramp_up_step il:"50000"j
      Freqeuncy delta when ramping down.
      zero disables and will calculate ramp down according to load heuristic.
    -cpufreq_smartass_ramp_down_step il:"0"j
      Freqeuncy delta when ramping down.
      zero disables and will calculate ramp down according to load heuristic.
    -cpufreq_smartass_max_cpu_load il:"70"j
      CPU freq will be increased if measured load > max_cpu_load;
    -cpufreq_smartass_min_cpu_load il:"30"j
      CPU freq will be decreased if measured load < min_cpu_load;
  "smartassV2"ŗL̐ݒ
    -cpufreq_smartass_awake_ideal_freq il:"768000"j
      The "ideal" frequency to use when awake. The governor will ramp up faster
      towards the ideal frequency and slower after it has passed it. Similarly,
      lowering the frequency towards the ideal frequency is faster than below it.
    -cpufreq_smartass_sleep_ideal_freq il:"245760"j
      The "ideal" frequency to use when suspended.
      When set to 0, the governor will not track the suspended state (meaning
      that practically when sleep_ideal_freq==0 the awake_ideal_freq is used
      also when suspended).
    -cpufreq_smartass_ramp_up_step il:"50000"j
      Freqeuncy delta when ramping up above the ideal freqeuncy.
      Zero disables and causes to always jump straight to max frequency.
      When below the ideal freqeuncy we always ramp up to the ideal freq.
    -cpufreq_smartass_ramp_down_step il:"0"j
      Freqeuncy delta when ramping down below the ideal freqeuncy.
      Zero disables and will calculate ramp down according to load heuristic.
      When above the ideal freqeuncy we always ramp down to the ideal freq.
    -cpufreq_smartass_max_cpu_load il:"70"j
      CPU freq will be increased if measured load > max_cpu_load;
    -cpufreq_smartass_min_cpu_load il:"30"j
      CPU freq will be decreased if measured load < min_cpu_load;
    -cpufreq_smartass_up_rate_us il:"12000"j
      The minimum amount of time to spend at a frequency before we can ramp up.
      Notice we ignore this when we are below the ideal frequency.
    -cpufreq_smartass_down_rate_us il:"24000"j
      The minimum amount of time to spend at a frequency before we can ramp down.
      Notice we ignore this when we are above the ideal frequency.
    -cpufreq_smartass_sleep_wakeup_freq il:"1024000"j
      The frequency to set when waking up from sleep.
      When sleep_ideal_freq=0 this will have no effect.
    -cpufreq_smartass_sample_rate_jiffies il:"2"j
      Sampling rate, I highly recommend to leave it at 2.
  "brazilianwax"ŗL̐ݒ
    -cpufreq_brazilianwax_up_rate_us il:"12000"j
      The minimum amount of time to spend at a frequency before we can ramp up.
    -cpufreq_brazilianwax_down_rate_us il:"24000"j
      The minimum amount of time to spend at a frequency before we can ramp down.
    -cpufreq_brazilianwax_up_min_freq il:"1024000"j
      When ramping up frequency with no idle cycles jump to at least this frequency.
      Zero disables. Set a very high value to jump to policy max freqeuncy.
    -cpufreq_brazilianwax_sleep_max_freq il:"368640"j
      When sleep_max_freq>0 the frequency when suspended will be capped
      by this frequency. Also will wake up at max frequency of policy
      to minimize wakeup issues.
      Set sleep_max_freq=0 to disable this behavior.
    -cpufreq_brazilianwax_sleep_wakeup_freq il:"1024000"j
      The frequency to set when waking up from sleep.
      When sleep_max_freq=0 this will have no effect.
    -cpufreq_brazilianwax_awake_min_freq il:"0"j
      When awake_min_freq>0 the frequency when not suspended will not
      go below this frequency.
      Set awake_min_freq=0 to disable this behavior.
    -cpufreq_brazilianwax_sample_rate_jiffies il:"2"j
      Sampling rate, I highly recommend to leave it at 2.
    -cpufreq_brazilianwax_ramp_up_step il:"50000"j
      Minimum Freqeuncy delta when ramping up.
      zero disables and causes to always jump straight to max frequency.
    -cpufreq_brazilianwax_ramp_down_step il:"0"j
      Miminum Freqeuncy delta when ramping down.
      zero disables and will calculate ramp down according to load heuristic.
    -cpufreq_brazilianwax_max_cpu_load il:"65"j
      CPU freq will be increased if measured load > max_cpu_load;
    -cpufreq_brazilianwax_min_cpu_load il:"35"j
      CPU freq will be decreased if measured load < min_cpu_load;
  "smoothass"ŗL̐ݒ
    -cpufreq_smoothass_down_rate_us il:"24000"j
      The minimum amount of time to spend at a frequency before we can ramp down,
      default is 45ms.
    -cpufreq_smoothass_up_min_freq il:"1024000"j
      When ramping up frequency with no idle cycles jump to at least this frequency.
      Zero disables. Set a very high value to jump to policy max freqeuncy.
    -cpufreq_smoothass_sleep_max_freq il:"368640"j
      When sleep_max_freq>0 the frequency when suspended will be capped
      by this frequency. Also will wake up at max frequency of policy
      to minimize wakeup issues.
      Set sleep_max_freq=0 to disable this behavior.
    -cpufreq_smoothass_sample_rate_jiffies il:"2"j
      Sampling rate, I highly recommend to leave it at 2.
    -cpufreq_smoothass_ramp_up_step il:"50000"j
      Freqeuncy delta when ramping up.
      zero disables causes to always jump straight to max frequency.
    -cpufreq_smoothass_max_ramp_down il:"100000"j
      Max frequency delta when ramping down. zero disables.
    -cpufreq_smoothass_max_cpu_load il:"70"j
      CPU freq will be increased if measured load > max_cpu_load;
    -cpufreq_smoothass_min_cpu_load il:"30"j
      CPU freq will be decreased if measured load < min_cpu_load;
  "SavagedZen"ŗL̐ݒ
    -cpufreq_savagedzen_up_rate_us il:"12000"j
      The minimum amount of time to spend at a frequency before we can ramp up.
    -cpufreq_savagedzen_down_rate_us il:"24000"j
      The minimum amount of time to spend at a frequency before we can ramp down.
    -cpufreq_savagedzen_up_min_freq il:"1024000"j
      When ramping up frequency with no idle cycles jump to at least this frequency.
      Zero disables. Set a very high value to jump to policy max freqeuncy.
    -cpufreq_savagedzen_sleep_max_freq il:"368640"j
      When sleep_max_freq>0 the frequency when suspended will be capped
      by this frequency. Also will wake up at max frequency of policy
      to minimize wakeup issues.
      Set sleep_max_freq=0 to disable this behavior.
    -cpufreq_savagedzen_sleep_wakeup_freq il:"1024000"j
      The frequency to set when waking up from sleep.
      When sleep_max_freq=0 this will have no effect.
    -cpufreq_savagedzen_awake_min_freq il:"0"j
      When awake_min_freq>0 the frequency when not suspended will not
      go below this frequency.
      Set awake_min_freq=0 to disable this behavior.
    -cpufreq_savagedzen_sample_rate_jiffies il:"2"j
      Sampling rate, I highly recommend to leave it at 2.
    -cpufreq_savagedzen_ramp_up_step il:"50000"j
      Freqeuncy delta when ramping up.
      zero disables and causes to always jump straight to max frequency.
    -cpufreq_savagedzen_ramp_down_step il:"0"j
      Freqeuncy delta when ramping down.
      zero disables and will calculate ramp down according to load heuristic.
    -cpufreq_savagedzen_max_cpu_load il:"70"j
      CPU freq will be increased if measured load > max_cpu_load;
    -cpufreq_savagedzen_min_cpu_load il:"30"j
      CPU freq will be decreased if measured load < min_cpu_load;
  "minmax"ŗL̐ݒ
    -cpufreq_minmax_sampling_rate il:"500000"j
    -cpufreq_minmax_sampling_down_factor il:"10"j
    -cpufreq_minmax_up_threshold il:"92"j
    -cpufreq_minmax_down_threshold il:"27"j
    -cpufreq_minmax_ignore_nice_load il:"0"j
  "lagfree"ŗL̐ݒ
    -cpufreq_lagfree_sampling_rate il:"500000"j
    -cpufreq_lagfree_sampling_down_factor il:"4"j
    -cpufreq_lagfree_up_threshold il:"50"j
    -cpufreq_lagfree_down_threshold il:"15"j
    -cpufreq_lagfree_ignore_nice_load il:"1"j
  "conservative"ŗL̐ݒ
    -cpufreq_conservative_sampling_rate il:"200000"j
    -cpufreq_conservative_sampling_down_factor il:"1"j
    -cpufreq_conservative_up_threshold il:"80"j
    -cpufreq_conservative_down_threshold il:"20"j
    -cpufreq_conservative_ignore_nice_load il:"0"j
    -cpufreq_conservative_freq_step il:"5"j
  "Scary"ŗL̐ݒ
    -cpufreq_scary_sampling_rate il:"200000"j
    -cpufreq_scary_sampling_down_factor il:"1"j
    -cpufreq_scary_up_threshold il:"80"j
    -cpufreq_scary_down_threshold il:"45"j
    -cpufreq_scary_ignore_nice_load il:"0"j
    -cpufreq_scary_freq_step il:"5"j
  "ondemand"ŗL̐ݒ
    -cpufreq_ondemand_sampling_rate il:"50000"j
    -cpufreq_ondemand_io_is_busy il:"1"j
    -cpufreq_ondemand_up_threshold il:"95"j
    -cpufreq_ondemand_down_differential il:"3"j
    -cpufreq_ondemand_sampling_down_factor il:"1"j
    -cpufreq_ondemand_ignore_nice_load il:"0"j
    -cpufreq_ondemand_powersave_bias il:"0"j
    -cpufreq_ondemand_suspend_freq il:"368640"j
    -cpufreq_ondemand_boost_timeout il:"500000"j
  "intellidemand"ŗL̐ݒ
    -cpufreq_intellidemand_sampling_rate il:"50000"j
    -cpufreq_intellidemand_io_is_busy il:"1"j
    -cpufreq_intellidemand_up_threshold il:"95"j
    -cpufreq_intellidemand_down_differential il:"3"j
    -cpufreq_intellidemand_sampling_down_factor il:"25"j
    -cpufreq_intellidemand_ignore_nice_load il:"0"j
    -cpufreq_intellidemand_powersave_bias il:"0"j
  "lazy"ŗL̐ݒ
    -cpufreq_lazy_sampling_rate il:"10000"j
    -cpufreq_lazy_up_threshold il:"90"j
    -cpufreq_lazy_ignore_nice_load il:"0"j
    -cpufreq_lazy_powersave_bias il:"0"j
    -cpufreq_lazy_io_is_busy il:"0"j
    -cpufreq_lazy_min_timeinstate il:"50000"j
    -cpufreq_lazy_screenoff_maxfreq il:"0"j

- I/O Scheduler settings
  Only on the custom build kernel
    -iosched_targets (default "mtdblock1 mtdblock5 mtdblock6 mtdblock8 mtdblock9 mtdblock10 mtdblock11 mtdblock12 stheno")
      Array of I/O schedulers that you want to change the settings for
      Even if they are set here, block devices that are not set in "iosched_xxx", nothing will happen (cannot change them with "sio")
    -iosched_xxx (Example: "iosched_mtdblock11" "iosched_stheno") (default "", i.e. cannot change anything using "sio")
      Sets the I/O scheduler that will be applied to those blocks
      I/O Schedulers that can be set are [noop/anticipatory/deadline/cfq/bfq/vr/sio]

- SDCARD parameter settings
  For both custom build kernel and standard kernel
    -compat_au (default "YES")
      Changing this to no means /sbin/au is not created

- ISTweak compatibility settings
  For both custom build kernel and standard kernel
    -queue_stheno_read_ahead_kb (Default value: "2048")
      Determines the read-ahead size (in KB)

- Added scheduled sync settings
  Available in both the custom and standard kernels
    -syncblock_enable (default "YES")
      Setting this to "YES" causes the sync command to be executed regularly
    -syncblock_interval (default "3600")
      interval for the sync command (in seconds)

12. Warning points
- All responsibility is on your self. Maker warranty may be voided by running these scripts
- Basically, there is no support for this, but in the 2ch root thread, someone may be able to help you
  This document was written with info from the following thread
  http://anago.2ch.net/test/read.cgi/android/1337845757/
  If someone wants to simplify and make this easier, please help
  It is not a helper thread, so simple questions will probably be ignored.
  English questions will DEFINITELY be ignored (Tokyo_Dom)
- If buring an image, please take extra care
- Restore feature is only enabled after writing the system image as part of the root kit
  If you don't boot into the custom build kernel, the writing to system directories will fail
- If MIYABI is not disabled, even in recovery mode, no writing will be possible

Reference websites
EJX^rhJ[ĺASH Developers Square https://sh-dev.sharp.co.jp/android ŌJĂ\[XR[hx[XɊepb`𓖂Ă̂ł
  mtdhCopatchƂāA@fi01_is01쐬̂̂KpĂ܂
  mtdhCopatchƂāAMemory Technology Device (MTD) Subsystem for Linux http://www.linux-mtd.infradead.org epatchKpĂ܂
  ZRAMLinuxJ[l2.6.39.4̂ڐAĂ܂
  CPU freqECPU UVEKoi[Ȃpatch@ISTweak쐬̃J[lAsiyahkernelAsemc-kernel-msm7x30ȂQlɂĂ܂
Edump_imageAflash_imageAerase_image@goroh_kunE@fi01_is01쐬̃\[XR[hAMemory Technology Device (MTD) Subsystem for Linux http://www.linux-mtd.infradead.org ̃\[XR[hQlɁAAndroid Open Source Project http://source.android.com/source/index.html zz̃\[XR[hx[Xɍ쐬̂ł
Eshmaincamgetroot-7x30@goroh_kun쐬IS03pshmaincamgetrootQlɋ@ėpłƂč쐬̂ł
  ̑Ogłshbootgetroot쐬ɈĂgoroh_kunƁAC悭mȂ܂ܐGĂ܂program̌؂ɕtĂ2ch SH-01D rootX̊FlɊӂ܂
  nand_protect_search@cielavenir쐬̃\[XR[hgpĂĂ܂
EJo[Lbg@\́ANVIS01precovery_kitQlɁAAndroid Open Source Project http://source.android.com/source/index.html zz̃\[XR[hx[Xɍ쐬̂ł
EȈՃJo[@\́Agoroh_kuńush-12csystemJo[ΉJ[lC[WvsSڐAEς̂ł
EWindowspbusybox.exéAbusybox-w32 https://github.com/pclouds/busybox-w32 gpĂ܂
Eadb.exeyъ֘At@ĆAAndroid SDK http://developer.android.com/sdk/installing/index.html ̔zzɊ܂܂̂gpĂ܂
Eputty.exéAadbputty https://github.com/sztupy/adbputty gpĂ܂
Esfk.exéASwiss File Knife http://www.download3k.com/Install-Swiss-File-Knife.html gpĂ܂
Eckw.exéAckw-mod https://github.com/deflis/ckw-mod gpĂ܂
Eansicon.exeyъ֘At@ĆA http://adoxa.110mb.com/ansicon ɂČJĂ̂gpĂ܂
ESuperuser.apḱAGoogle Play https://play.google.com/store/apps/details?id=com.noshufou.android.su ŔzzĂA@ChainsDD쐬ꂽ̂gpĂ܂
EsuoCi@ChainsDD쐬ꂽAandroid_system_extras https://github.com/ChainsDD/android_system_extras ɐΎ̌JĂi΍_̓L http://www.gcd.org/blog/2010/11/671 jpatch𓖂Ă̂ł
Ebusybox́Abionic}[W https://github.com/CyanogenMod/android_external_busybox gpĂ܂
Ebash́ACompdigitec Labs http://www.compdigitec.com/labs/2011/09/04/compiling-bash-for-android-2-x ŔzzĂ̂gpĂ܂
EperĺAandroid-scripting http://code.google.com/p/android-scripting ŔzzĂ perl_r9gpĂ܂
EubinizéAMemory Technology Device (MTD) Subsystem for Linux http://www.linux-mtd.infradead.org ŌJĂ\[XR[hɃrĥł
EmkbootfsmkbootimǵAAndroid Open Source Project http://source.android.com/source/index.html ŔzzĂ\[XR[hɃrĥł
Esplit_bootimg.pĺAAndroid Wiki http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack%2C_Edit%2C_and_Re-Pack_Boot_Images Ŕzz惊NĂAWilliam Enck쐬̂̂Ɏ኱ύX̂ł
Eunubinize.pĺA2chyROMĂzau IS01 root2@`킽Bց` http://anago.2ch.net/test/read.cgi/smartphone/1290609363/828 ŁA734zzꂽ̂Ǝv̂gpĂ܂
Eroot擾ɊւāA2ch SH-12C rootXAߋOɂĈ̑ȐlBɎcĒ̏QlɂĂ܂
EbreaksuidhsdiagEnandunlockshspampEnandinfocalc쐬Ē@goroh_kunE@cielavenirɊӂ܂
ESHBreakAISTweakASHBreakV2쐬Ē@ISTweakɊӂ܂
E낾񋟂ĂAwikiĂꂽ肪Ƃ܂
E2chœ񍐁Es̕񍐁Ev]Ȇׂ͂Ă̕XɊӂAł낤̂F肵܂
EŌɁA̕sƂ̒ɑϕ̑f炵@ĂꂽV[v񂠂肪Ƃ




---------------------------------------------------------------------------------------------------------------


Change log
2012/08/28
EyJX^rhJ[lEstartup.confzRAMZSWAPɑւZRAMgp悤ɂ
  startup.conframzswap_enabletoEramzswap_flags̐ݒ͖܂Bzram_enableEzram_disksizegpĂ
Eyroot kitz񂩂Ă007SH͕ʓrΉƂ܂

2012/07/21
Eystartup.confzSDCARDp[^ݒǉ

2012/07/13
Eyroot kitznandunlockEMIYABI̎sOɏsvȃJ[lǂmF悤ɂ
Eystartup.confzKoi[ݒ́Acpufreq_min_freqcpufreq_scaling_min_freqɁAcpufreq_max_freqcpufreq_scaling_max_freqɂꂼꖼ̕ύX
  ݊ێ̂߁AȑÔ̖ł̐ݒłLƂĂ܂
Eystartup.confzKoi[ݒɁAcpufreq_scaling_setspeedEcpufreq_boost_cpufreqǉ
Eystartup.confzKoi[ŗLݒǉ
  readme̐͊e\[XR[hɐLڂĂ̂̂܂܍ڂĂ܂BN|E⑫Ă傤...

2012/07/07
Eyroot kitz007SH T|[g
Eyroot kitzJX^C[Wt@C쐬@\ǉAJX^C[Wt@C̓p~
  ɂA003SHE005SH̏Õo[W̋@ĂёΏۂɂȂ܂
  ܂A007SH(J/KT)̍ŐVo[W@ΏۂɂȂ܂
Eyroot kitzt@CpX͂A_CAOŃt@CIɕύX
Eyroot kitzMENUshell̋Nlogcat̕\ǉ
Eyroot kitzobNAbvΏۂL3ނIł悤ɂ
    -boot/recovery/system̃obNAbv쐬
    -userdata/ldb/battlog/calllog/cache/SDCARDAPP̃obNAbv쐬
    -SĂ̗̈̃obNAbv쐬
Eyroot kitzobNAbṽfBNgƃt@Č`ύXB܂AobNAbvC[WPCɂ]悤ɂ
  obNAbvfBNǵu/sdcard/backupimagevAu/sdcard/clockworkmod/backup/N--...bvɕύX܂
  boot/recoverymtdobNAbvC[Wt@ĆÂuxxx-backup-N-----b.imgvuxxx.mtd.imgvɕύX܂
  systemyaffs2obNAbvC[Wt@ĆÂuxxx-oob-backup-N-----b.imgvuxxx.yaffs2.imgvɕύX܂
  systemtarobNAbvA[JCut@ĆAuxxx-backup-N-----b.tar.gzv̖̂tar.gz`A[JCuuxxx.tarv̖̂tar`A[JCuɕύX܂
  obNAbvC[WPCroot kitfBNg̉́ufiles\backup\N--...bvɂ]܂
EyJo[Lbgzroot kit̕ύXɍ킹ăobNAbṽfBNgƃt@Č`ύX
EyJo[LbgzobNAbvEXgAtarA[JCuIo悤ɂB܂ASobNAbvESXgA@\ǉ
  mtd/yaffs2C[W̃XgÁAȑÕo[Wroot kit/Jo[LbgŃobNAbvt@CXgA\ł
  tarA[JCũXgÁA{o[Wȍ~root kit/Jo[LbgŃobNAbvt@Ĉ݃XgA\ł
  SXgÁA{o[Wȍ~root kit/Jo[LbgŃobNAbvfBNĝ݃XgA\ł
EyJo[LbgzXgAsO̊mF[U[C^[tF[Xꂽ
EyȈՃJo[zadb USBڑł܂ł̎Ԃ啝ZkiДj
Eyroot kitEJo[LbgEȈՃJo[zbusybox̃o[Wv1.20.1 bionicɍXV
Eyroot kitzbash̃o[W4.2ɍXV
Eyreadmez@\ύXɔ`[gA̍XVʓ|̂ō폜܂Bwikio炢...?

2012/06/23
Eystartup.confzvsync on/offݒ肪fȂsC

2012/06/22
Eyroot kitzԈႦrzscontroloCix86prhĂ_C
Eyroot kitzskf.exegpMENǓڂgĂ݂

2012/06/14
EyJX^rhJ[lzSH Developers Squareɂ003SH S4080`E005SH S4090`EDM009SH S4080`̃\[XR[hJꂽ߁Ax[XɕύX
Eyroot kitzfBNg/sdcard/backupimages݂ȂꍇɃobNAbvoȂȂĂsC
Eystartup.confzsyncݒǉ
  /sdcardf[^j̔QȂȂ...Ƃ̂

2012/05/26
Eyroot kitzDM009SHɑΉȂ
EyJX^rhJ[lzSH Developers Squareɂ003SH S4040`EDM009SH S4040`E005SH S4050`̃\[XR[hJꂽ߁Ax[XɕύX
  Wi-FiG[΍i2012/03/27ɃJX^rhJ[l֓Kp̂ƓjƃRgtypoĈ݂̂ŎȂɂςĂ܂
  003SH S4040`S4070DM009SH S4040`S4070E005SH S4050`S4080܂ł͓̃\[XR[hƎv܂
EyJX^rhJ[lzmtd֌W̃hCoւ̃pb`Kp
    -MEMREADOOBMEMWRITEOOBւMTD_MODE_RAWfij
    -MEMWRITE ioctlǉij
    -̑pb`̈ꕔKp
    -MTD_MODE_RAWōŏIubNǍłȂΉ
    -MEMREAD ioctlǉiƎj
EyJX^rhJ[lzmtd12ǉ
EyJX^rhJ[lz2012/04/25shspamp_ak7833.cւ̃pb`copy_from_userEcopy_to_user̎g{IɊԈĂ_C
Eyroot kitEJX^rhJ[lzflash_imageEdump_imageEerase_imageŐVrhɒu
  ̂̋@\g܂Bڍׂ͂ꂼ̃R}hUsageĂ
Eyroot kitzsystem̈̃XgA@\p~Arecovery[h̃`FbNO
  Jo[Lbg@\gpĂ
Eyroot kitzrzscontroloCiYĂ_C
Eyroot kitzautoexec.shł邾㏑Ȃ悤ɂ
Eyroot kitzadbCXg[ς݂̏ꍇ͂gAIkill-serverȂ悤ɂ
Eyroot kitzGNU Core Utilities for Windows̎gp~߂āAbusybox-w32g悤ɕύX

2012/05/01ishmaincamgetroot-7x30Ṕj
Eyshmaincamgetroot-7x30zIS03ESH-03CmiyabiɑΉ

2012/04/27
Eystartup.confzKoi[ݒI/OXPW[ݒ肪삵ȂsC

2012/04/26
Eyroot kitzobNAbṽt@CȂĂsC
Eyroot kitzꎞroot擾@breaksuidhsdiaggp̂shmaincamgetroot-7x30gp̂ɕύX
  ɂA003SH S4080E005SH S4090ɃAbvf[g[ɑΉ܂
Eyroot kitznandunlock̕@nandunlockshspampgp̂shmaincamgetroot-7x30gp̂ɕύX
Eyroot kitzshmaincamgetroot-7x30gpMIYABI@\ǉ
Eyroot kitzrw remount/systemro remountɖ߂@\ǉ
Eyroot kitz4/17̌\tgEFAXVɂheadset_diagshspamp̐Ǝ㐫ǂꂽƁAshmaincamgetroot-7x30̓oɂ莖ȂςĂ܂̂ŁA啝ȎdlύXs܂
Eystartup.confz/data/vendor/etc/startup.confɂݒsVK̗piustartup.confɂāv̍ڂQƂĂj
  ISTweak݊ݒVKǉ
EyWJ[lEMIYABIpb`J[lz003SH S4070E005SH S4080ȑÕC[Wp~
EyWJ[lz003SH S4080E005SH S4090C[W̒ǉ
  nandinfocalcEnandunlockshspampEunlock.shȈՃJo[C[W폜
  shmaincamgetroot-7x30̃t@CTCY傫ߊȈՃJo[C[WɎ߂̂͒fO܂
Eyroot kitzMIYABIpb`J[lp~
  startup.conf̐ݒɂNMIYABI悤ɎdlύXꂽ߁A̖I܂
Eyshmaincamgetroot-7x30zꕔ̏Segmentation faultoĂC

2012/04/25iJX^rhJ[lC[WP̃[Xj
EyJX^rhJ[lz003SH S4080E005SH S4090̃VXeɏĂƍċNp錻ۂɑΉ
  shspamp_ioctlʂۂŌĂ΂ĂvȂ悤Ƀpb`𓖂Ă܂

2012/04/19iꎞroot toolP̃[Xj
Eshmaincamgetroot-7x30J

2012/04/08
EyJX^rhJ[lzvsync_enableI\ɕύX

2012/04/06
EyJX^rhJ[lzrecovery[hNɏԂadb USBڑL悤ɕύX
Eyroot kitzdump_image̍XVroot_kit{̂ɂf
Eyroot kitzJX^rhJ[lzImageɔAnandunlock̋NJ[lo@ύX
Eyroot kitz/vendor/binȉ̃t@Cɍ폜Ă܂sC
Eyroot kitzobNAbṽt@CɓtłȂt{t悤ɕύX

2012/04/03iJX^rhJ[lC[WP̃x[^Ń[Xj
EyJX^rhJ[lzJ[lC[W`ImagezImageɕύXAC[WTCYk
EyJX^rhJ[lzramdiskC[WgzipkAC[WTCYk
EyJX^rhJ[lzȈՃJo[@\t烊Jo[Lbg@\tɕύX
EyJX^rhJ[lzrecovery[hSDCARDmount@\ǉ
EyJX^rhJ[lzdump_imageXVC[WɎ[
    -p[eBVoobt_v邩ǂʂdliIWijɖ߂
    -dump_image_oobplacedump_imageɃl[
    -_Ci~bNNŃrh

2012/03/27ieXgŃ[Xj
EyJX^rhJ[lzWi-FiG[΍

2012/03/23
EyJX^rhJ[lzdlǉ
    -CPU Speed͈̔͂24.576`2016MHzɐݒ\
    -CPU VDDd̐ݒ\
    -Koi[ondemand̋@\
    -Koi[interactive/lagfree/smartass/Scary/minmax/SavagedZen/interactiveX/smartassV2/smoothass/brazilianwax/lazy/lulzactive/intellidemand̒ǉ
    -PerfLock̖
    -vsync̋
    -I/OXPW[deadline̗L
    -I/OXPW[AS/BFQ/V(R)/SIO̒ǉ
    -ftHgI/OXPW[SIO
    -Tree RCU  Tiny RCU֕ύX
    -TUN/TAPhCoL
    -system̈ւ̃XgAoob patchJ[lȊOł̓G[ƂȂ钍ӕ\ǉ

2012/02/19
EyMIYABIpb`J[lzԂnandunlockςƂ

2012/02/16a
Eyroot kitz005SHboot/recoverÿփJX^C[WĂۂ̃j[ԍ̕\ԈĂC

2012/02/16
EyWJ[lEMIYABIpb`J[lz005SH S4080C[W̒ǉ
EyMIYABIpb`J[lzMIYABIpb`̕@^ʖڂɃR[hxł悤ɕύX
  /sys/devices/systemȉɃANZXAv삷͂ł
Eyroot kitzdump_image_oobplace̍
    -system/userdata/cacheȊÕp[eBVłoobtdump悤ɕύX
Eyroot kitEWJ[lEMIYABIpb`J[lznandinfocalc̍
    -nandlockĂȂJ[lɑ΂ČAhXoȂ悤ɕύX
Eyroot kitEWJ[lEMIYABIpb`J[lznandunlockshspamp
    -Lnandinfocalc̕ύXɂ킹ăp[[^wȂ̂ƂɉȂ悤ɕύX
EySJ[lzJo[[h/system/etc폜
  i2012/02/07̃o[WŕsvɂȂĂYĂj

2012/02/08
EyWJ[lEMIYABIpb`J[lz003SH S4070C[W̒ǉ
EyJX^rhJ[lzi003SĤ݁joobpb`𓖂ĖYĂ_C

2012/02/07
Eyroot kitzroot kitƁAȈՃJo[@\tJ[lAJX^rhJ[l𓝍CXg[[menu
Eyroot kitESJ[lzflash_image̍XV
    -out of memoryɂȂȂ悤ɉ
    - "-o"IvV oobtC[W݂̏\
    - "-s ADDR"IvVŃAhXw\
    - "-v"IvVw肵Ȃꍇ"successfully wrote block at..."\Ȃ
EySJ[lzubiFȂsC
  ɔC[WTCYk̕Kv̂ŃJo[[hłbusyboxR}hyʉ
Eyroot kitzʏ탂[hbusyboxR}hbionic-linkɕύX
EySJ[lzJo[[hsuR}hʏ탂[h݊̂̂ɕύX
EySJ[lzshspamp̃W[ԍŒɂĂC

2012/01/22i003SHE005SHJX^rhJ[lj
ERAMZSWAP̃hCocompcache0.62̂̂ɂmoduleBɔLZO_COMPRESS/LZO_DECOMPRESSmodule
ECONFIG_SECURITYׂĖ
Einit.rc/ReadOnlyremountssC
Ebusybox/bash̒u/data/vendor/binɕύX
  /data/local/root̃t@C͕svɂȂ̂ō폜ĂČ\ł

2011/01/17i005SHJX^rhJ[lj
E005SHJX^rhJ[l
    -MIYABI LSM̖i/systemremountAchrootAptracej
    -nandlock̖iSĂmtdւ̏j
    -SWAP̗L
    -RAMZSWAP̗LiJ[l\[Xj
    -dump_image_oob/flash_image_oobppatch̓Kp

2011/01/16iȈՃJo[@\tJ[lj
E003SH S4050 WJ[liȈՃJo[@\tj
E003SH S4050 MIYABIpb`J[liȈՃJo[@\tj
E005SH S4060 WJ[liȈՃJo[@\tj
E005SH S4060 MIYABIpb`J[liȈՃJo[@\tj

2011/01/16iȈՃJo[@\tJ[lj
E005SH S4050 WJ[liȈՃJo[@\tj
E005SH S4050 MIYABIpb`J[liȈՃJo[@\tj

2011/12/23iroot kitj
E003SH S4040 WJ[l
E003SH S4040 MIYABIpb`J[l
E005SH S4050 WJ[l
E005SH S4050 MIYABIpb`J[l

2011/12/05iroot kitj
E003SH S4040 WJ[l

2011/12/04iroot kitj
E005SH S4050 WJ[l

2011/11/26iroot kitj
E005SH S4040 WJ[l
