trying to get this to work on a samsung galaxy precedent AOSP ROM. having an issue with step 2 in the shutdownthread.smali. more specificaly this part
Code:
:reboot
const-string v4, "now"
invoke-static {v4}, Landroid/os/Power;->reboot(Ljava/lang/String;)V
return-void
:rebootRecovery
const-string v4, "recovery"
invoke-static {v4}, Landroid/os/Power;->reboot(Ljava/lang/String;)V
return-void
:rebootDownload
const-string v4, "download"
invoke-static {v4}, Landroid/os/Power;->reboot(Ljava/lang/String;)V
return-void
should i change the parts where it says (exp. :rebootDownload) to the string id? and if i do i get this error when compiling (mismatched input '0x010404bd' expecting END_METHOD_DIRECTIVE)
if i try to change the corrisponding parts from the code inserted above it i get this error
(AutoSmali_In\com\android\internal\app\ShutdownThr ead.smali[2337,18] no viable alternative at input '0x010404bd'
AutoSmali_In\com\android\internal\app\ShutdownThre ad.smali[2341,18] no viable alternative at input '0x010404bb'
AutoSmali_In\com\android\internal\app\ShutdownThre ad.smali[2345,18] no viable alternative at input '0x010404bc'
AutoSmali_In\com\android\internal\app\ShutdownThre ad.smali[2352,4] mismatched input '0x010404bd' expecting END_METHOD_DIRECTIVE)
any clue on a fix?
Devices:
Current:
Phones:
SamSung Galaxy S2 SGH-S959g (Straight Talk)
Rooted: Yes
Recovery: ClockWorkMod
Rom: Slim Bean
Kernel: STI Kernel
Tablets:
Acer Iconia Tab A100 (refurbished)
Rooted: Yes
Recovery: ClockWorkMod
ROM: Flex Reaper
Kernel: God Machine
Layed To Rest:
|