Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,728,239 Members 48,971 Now Online
XDA Developers Android and Mobile Development Forum

[MOD][C5303]Reboot Option in Power Menu for 266&201&205

Tip us?
 
James2003
Old
(Last edited by James2003; 17th June 2014 at 08:19 PM.) Reason: Updated for 12.1.A.1.205
#1  
James2003's Avatar
Member - OP
Thanks Meter 33
Posts: 33
Join Date: Sep 2010
Location: Sofia
Default [MOD][C5303]Reboot Option in Power Menu for 266&201&205





After almost a week trying, I finally did this mod!
Changes are made ​​only in android.policy.jar.

DEODEXED version is not tested yet, cause my ROM is Stock ODEXED. If someone wants to test it, please share if it works.


Features:
  • Reboot in SAVE MODE by LongPress "Power off" button
  • Submenu with two options - "Reboot" & "Shutdown" by Press "Power off" button
  • Updated for 12.1.A.1.205 Stock Firmware

Requirements:
  • Stock ODEXED or DEODEXED Firmware 12.1.A.0.266
  • Root
  • CWM Recovery

Installation:

Before anything else, MAKE a BACKUP!!!

CWM Recovery flash zip
  1. Download Shutdown.Reboot_ODEXED_0.266.zip or Shutdown.Reboot_DEODEXED_0.266.zip from Attachments into your SD Card
  2. Go into Recovery and install zip
  3. Reboot

Also added the MOD from post # 4, but only the first option works for me, because I'm with LOCKED Bootloader.

Credits

@NuriJ for his files!
The Following 9 Users Say Thank You to James2003 For This Useful Post: [ Click to Expand ]
 
Leo
Old
#2  
Leo's Avatar
Senior Member
Thanks Meter 170
Posts: 527
Join Date: Dec 2012
wow awesome
but could u plz share ur method of re-odex?
i did many searches and tries but no luck
thx in advance
Sony Xperia TX [LT29i] ,
Jelly Bean 4.3,
9.2.A.1.205, Stock, deodex,
1266-3320_R2J,
Relocked BootLoader.
 
neXus PRIME
Old
#3  
neXus PRIME's Avatar
Recognized Contributor
Thanks Meter 2893
Posts: 2,909
Join Date: Nov 2011
Location: Lahore, Pakistan
@ OP... an xposed module would be really cool as well if u can do that.
 
James2003
Old
(Last edited by James2003; 7th March 2014 at 08:35 PM.)
#4  
James2003's Avatar
Member - OP
Thanks Meter 33
Posts: 33
Join Date: Sep 2010
Location: Sofia
Quote:
Originally Posted by neXus PRIME View Post
@ OP... an xposed module would be really cool as well if u can do that.
My first attempt was this:




but only reboot option works for me. I am with Locked Bootloader.
I have not tried the other options. If someone wants, i can upload and this mod.

@Leo!
For re-odex i us tool called dexopt-wrapper placed in /system/bin and script that i made after long research, but all procedures are performed manually for each modified file. See your PM!
Sony Xperia SP (C5303) / Black / Rooted with Towelroot /Philz, CWM touch, TWRP / Locked bootloader / Stock GLOBAL-LTE-12.1.A.1.205 ODEXED
The Following 3 Users Say Thank You to James2003 For This Useful Post: [ Click to Expand ]
 
viavic
Old
#5  
Junior Member
Thanks Meter 0
Posts: 15
Join Date: Feb 2011
Nice bro :thumbup: :thumbup:
 
mrhnet
Old
#6  
mrhnet's Avatar
Senior Member
Thanks Meter 153
Posts: 294
Join Date: Jan 2012
Works with PureXSP rom (deodexed). Nice work! [emoji106]

Sent from my C5303 using Tapatalk
 
dipesh1502
Old
#7  
dipesh1502's Avatar
Senior Member
Thanks Meter 3216
Posts: 2,217
Join Date: Sep 2013
Location: MUMbai

 
DONATE TO ME
Can you add
Reboot in recovery option??

Edit-
Oh sorry
Missed the screenshot

Great work.


If You Like My Work Please Consider A Small Donation


For Donating Click Here
 
please do the following:
Sign in to your PayPal account page
Go to 'Send Payment'
Enter my email id "dipesh.febrius@gmail.com"
option "Personal payment" doesn't work for India, please set "Online purchases". and check Goods or Service (preferably service)
Make the payment of the desired amount of donation you want to send.
Thank you for your kind donations!
 
zenug
Old
#8  
Junior Member
Thanks Meter 0
Posts: 14
Join Date: Jul 2013
Default Nice

Working 100% keep the good work tnks
 
maliks911
Old
#9  
Junior Member
Thanks Meter 1
Posts: 23
Join Date: Jul 2012
this mod caused boot loop in my ROM(ultimate black)
 
James2003
Old
#10  
James2003's Avatar
Member - OP
Thanks Meter 33
Posts: 33
Join Date: Sep 2010
Location: Sofia
Quote:
Originally Posted by maliks911 View Post
this mod caused boot loop in my ROM(ultimate black)
Please, see Requirements! This mod is for stock rom.
Sony Xperia SP (C5303) / Black / Rooted with Towelroot /Philz, CWM touch, TWRP / Locked bootloader / Stock GLOBAL-LTE-12.1.A.1.205 ODEXED

The Following User Says Thank You to James2003 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes