Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,740,606 Members 47,192 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
pureexe
Old
(Last edited by pureexe; 29th December 2012 at 02:13 AM.)
#1  
pureexe's Avatar
Senior Member - OP
Thanks Meter 385
Posts: 453
Join Date: Dec 2011
Location: ratchaburi
Prompt [Script][C] Boot With Rotate [Update 29 Dec 2012]

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 ?)
The Following 2 Users Say Thank You to pureexe For This Useful Post: [ Click to Expand ]
 
ShutteN
Old
#2  
ShutteN's Avatar
Senior Member
Thanks Meter 16
Posts: 210
Join Date: Jun 2012
Location: Sweden
Lol
My Phones: Samsung GT S5660, LG Optimus 2X, iPhone 4 16GB, iPhone 4S 16GB and Samsung Galaxy S3 i9300
My Tablets: iPad 2 16GB, Denver TAC-7018
 
FlemishDroid
Old
(Last edited by FlemishDroid; 23rd December 2012 at 11:01 AM.)
#3  
FlemishDroid's Avatar
Senior Member
Thanks Meter 291
Posts: 862
Join Date: Feb 2012
Location: Aalst
Cool. It's not an app/theme so it's in the good thread.

Verstuurd van mijn GT-5660
 
SpaceCaker
Old
#4  
SpaceCaker's Avatar
Recognized Themer / Contributor
Thanks Meter 10505
Posts: 13,124
Join Date: Mar 2011
Location: netherlands
We can make compatible with ace ?
Since they are simmiliar i think it will be easy


Sent from my GT-S5830 using xda premium
 

My Github Click Here
Github BroadcomCM Click Here
Github CyanoSpaceMod Click Here
Github MSR-Roms Click Here
Check My SoundCloud for my music remakes,mixes etc Click Here
Linux HP-Pavilion-G7 3.11.0-23-generic #40-Ubuntu SMP Wed Jun 4 21:05:23 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
 
pureexe
Old
#5  
pureexe's Avatar
Senior Member - OP
Thanks Meter 385
Posts: 453
Join Date: Dec 2011
Location: ratchaburi
Quote:
Originally Posted by SpaceCaker View Post
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes