Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Script][C] Boot With Rotate [Update 29 Dec 2012]

OP pureexe

23rd December 2012, 04:20 AM   |  #1  
pureexe's Avatar
OP Senior Member
Flag ratchaburi
Thanks Meter: 410
 
468 posts
Join Date:Joined: Dec 2011
More
Hello!!
This is a boot with rotate script!

What is this?
>>This is a more security for your device.

How does it work?
>> This Script will remember your device rotate when you boot if you doesn’t rotate your device correctly your device will get boot loop


>> Download <<
https://docs.google.com/open?id=0B5H...XZxS1cyaWUwQ0U


How to setup
1.Boot to recovery (I using PX-recovery 0.3.2)
2.Install update (boot_with_rotate.zip)
3.Reboot your device
4.Open Terminal Emulator
5.Enter this command “su –c boot_cali”

6.Press allow
7.Rotate your device and press enter
8.Complete for setup

How to use
1.Wait for your button leds is blink (it will blink every second)

2.Rotate your device correctly
3.Press one hardware button (home/power/vol+/vol-) 2 second if your button leds is off boot will continue but if button leds continue blink your should rotate your device correcyly (i press vol-)

4.Enjoy

>>>Change log <<<

29 Dec 2012
-Add config app
-change some source in boot_cali.c for support config app

23 Dec 2012
-first release



>>> Note <<<
This script is opensource so you can edit my script
This is source code.
>>boot_cali.c
https://docs.google.com/open?id=0B5H...jRrbHFQZlQwZlU
>> boot_chk.c
https://docs.google.com/open?id=0B5H...jgzRUtNZWhielk
>>sys_gio.h
https://docs.google.com/open?id=0B5H...UtxVk42VGVfc2s


My source code compile using TCC (Tiny C Compiler)
(I'm not real developer but i'm student who interested in programing).
(Sorry I don’t know how to use github )
(Sorry for my bad english)
(Sorry I don't know it is script but it is android develop or theme and app ?)
Last edited by pureexe; 29th December 2012 at 03:13 AM.
The Following 2 Users Say Thank You to pureexe For This Useful Post: [ View ]
23rd December 2012, 08:51 AM   |  #2  
ShutteN's Avatar
Senior Member
Flag Sweden
Thanks Meter: 16
 
211 posts
Join Date:Joined: Jun 2012
Lol
23rd December 2012, 11:58 AM   |  #3  
FlemishDroid's Avatar
Senior Member
Flag Aalst
Thanks Meter: 307
 
901 posts
Join Date:Joined: Feb 2012
More
Cool. It's not an app/theme so it's in the good thread.

Verstuurd van mijn GT-5660
Last edited by FlemishDroid; 23rd December 2012 at 12:01 PM.
23rd December 2012, 02:30 PM   |  #4  
SpaceCaker's Avatar
Recognized Themer / Contributor
Flag netherlands
Thanks Meter: 10,820
 
13,391 posts
Join Date:Joined: Mar 2011
More
We can make compatible with ace ?
Since they are simmiliar i think it will be easy


Sent from my GT-S5830 using xda premium
24th December 2012, 01:26 AM   |  #5  
pureexe's Avatar
OP Senior Member
Flag ratchaburi
Thanks Meter: 410
 
468 posts
Join Date:Joined: Dec 2011
More
Quote:
Originally Posted by SpaceCaker

We can make compatible with ace ?
Since they are simmiliar i think it will be easy


Sent from my GT-S5830 using xda premium



GT-s5830 model like gt-5660 model you can try to flash this script. It not will get brick
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes