DisableSuspend.apk

yong qin yongqin.liu at linaro.org
Mon Jan 16 11:45:33 UTC 2012


Hi, all

>> The command  below seems can also disable suspend.
>>     adb shell service call power 1 i32 26
this command only seems not works well.

I write a shell script (see the attachment), and run it as following will
disable the suspend:
1.  execute the script
2.  restart android
3.  execute the script again
     I don't know why should execute twice,
     but doing twice do disable the suspend:(

I had tried it on landing-panda#31, and alf_ helped to try on snowball.

Thanks, alf_!

I also wrote a HOWTO about disabling suspend,

https://wiki.linaro.org/Platform/Android/DisableSuspend

please for your reference.

Thanks,
Yongqin Liu

On 15 January 2012 10:45, Zach Pfeffer <zach.pfeffer at linaro.org> wrote:

> Adding the right linaro-android list and the .apk.
>
> On 14 January 2012 20:30, Zach Pfeffer <zach.pfeffer at linaro.org> wrote:
> > Cool. That's a keeper! Thanks!
> >
> > Attached my DisableSuspend.apk.
> >
> > On 14 January 2012 06:44, yong qin <yongqin.liu at linaro.org> wrote:
> >> Hi, All
> >>
> >> The command  below seems can also disable suspend.
> >>     adb shell service call power 1 i32 26
> >>
> >> I have tried on landing-panda and staging-panda, both works.
> >>
> >> Thanks,
> >> Yongqin Liu
> >>
> >> On 22 October 2011 11:10, Zach Pfeffer <zach.pfeffer at linaro.org> wrote:
> >>>
> >>> This will disable suspend (like if you're showing a demo off).
> >>>
> >>>
> >>> ---------- Forwarded message ----------
> >>> From: Zach Pfeffer <zach.pfeffer at linaro.org>
> >>> Date: 21 October 2011 20:33
> >>> Subject: Re: DisableSuspend.apk
> >>> To: "bernhard.rosenkranzer" <bernhard.rosenkranzer at linaro.org>
> >>>
> >>>
> >>> Sorry, this will work better.
> >>>
> >>> On 21 October 2011 19:58, Zach Pfeffer <zach.pfeffer at linaro.org>
> wrote:
> >>> > Try this
> >>> >
> >>> > --
> >>> > Zach Pfeffer
> >>> > Android Platform Team Lead, Linaro Platform Teams
> >>> > Linaro.org | Open source software for ARM SoCs
> >>> > Follow Linaro: http://www.facebook.com/pages/Linaro
> >>> > http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog
> >>> >
> >>>
> >>>
> >>>
> >>> --
> >>> Zach Pfeffer
> >>> Android Platform Team Lead, Linaro Platform Teams
> >>> Linaro.org | Open source software for ARM SoCs
> >>> Follow Linaro: http://www.facebook.com/pages/Linaro
> >>> http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog
> >>>
> >>>
> >>>
> >>> --
> >>> Zach Pfeffer
> >>> Android Platform Team Lead, Linaro Platform Teams
> >>> Linaro.org | Open source software for ARM SoCs
> >>> Follow Linaro: http://www.facebook.com/pages/Linaro
> >>> http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog
> >>
> >>
> >
> >
> >
> > --
> > Zach Pfeffer
> > Android Platform Team Lead, Linaro Platform Teams
> > Linaro.org | Open source software for ARM SoCs
> > Follow Linaro: http://www.facebook.com/pages/Linaro
> > http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog
>
>
>
> --
> Zach Pfeffer
> Android Platform Team Lead, Linaro Platform Teams
> Linaro.org | Open source software for ARM SoCs
> Follow Linaro: http://www.facebook.com/pages/Linaro
> http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linaro.org/pipermail/linaro-android/attachments/20120116/44e71aa1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disbalesuspend.sh
Type: application/x-sh
Size: 1825 bytes
Desc: not available
URL: <http://lists.linaro.org/pipermail/linaro-android/attachments/20120116/44e71aa1/attachment-0001.sh>


More information about the linaro-android mailing list