Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,785,416 Members 39,230 Now Online
XDA Developers Android and Mobile Development Forum

Disabling secure boot

Tip us?
 
vrushabh sutar
Old
(Last edited by vrushabh sutar; 9th March 2014 at 10:54 AM.)
#1  
Member - OP
Thanks Meter 30
Posts: 55
Join Date: Mar 2014
Prompt Disabling secure boot

firstly i request all moderators of xda in grand 2 forum,
as i am unable to post on developement section,
i am posting the thread here..
plz move it to developement section.

ok now back to topic,

try at your own risk!
i will not be responsible if anything happens to your phone

To all the users who have succesfully rooted grand 2,

there can be a way to install (flash) recovery on your phone!

i was exploring the system and i found a file in "/system" folder
called "recovery-from-boot.p"

i THINK this is the file that causes problem!


you may delete it or rename it...(renaming is safer)
once you delete it, you may flash custom recovery via ODIN
and even if the recovery gets currupted or if you cant boot into recovery, you can simply boot normally and restore the renamed or deleted file!!!

and then once again you may try to flash custom recovery from ODIN (as stock gets deleted as soon as you modify recovery-from-boot.p file)


press thanks if this post helped!
The Following User Says Thank You to vrushabh sutar For This Useful Post: [ Click to Expand ]
 
Rakesh251
Old
#2  
Senior Member
Thanks Meter 62
Posts: 397
Join Date: Dec 2012
Location: vapi
dindt find any file like u wrote.... plss provide specific path.. so we can try
 
vrushabh sutar
Old
#3  
Member - OP
Thanks Meter 30
Posts: 55
Join Date: Mar 2014
Quote:
Originally Posted by Rakesh251 View Post
dindt find any file like u wrote.... plss provide specific path.. so we can try
Its located here:
Attached Thumbnails
Click image for larger version

Name:	2014-03-09 22.53.29.jpg
Views:	355
Size:	75.3 KB
ID:	2621971  
 
manan001
Old
#4  
manan001's Avatar
Senior Member
Thanks Meter 310
Posts: 1,229
Join Date: Sep 2011
Location: Ahmedabad
bro no such file is available.. this wont help to solve .and still custom recovery not available for grand2
Ph.Model:
Samsung Galaxy Grand 2 SM-G7102
(Device Name by TWRP :-ms013g)

I want my galaxy Grand 2 SM-G7102 super smart.
worked for S2 9100
Worked on galaxy ace as tester for
(Great Guys) S'perience, Nims11 and PSN
.


you can use the below link as it hasall the scripts for Rom and Kernel wipe.
http://d-h.st/users/ApriliaM3/?fld_id=9253#files

If it helps you please click on thanks

http://manan001.blogspot.in/

BEST CUSTOM KERNEL..
DedS kernel 4.4
 
vrushabh sutar
Old
#5  
Member - OP
Thanks Meter 30
Posts: 55
Join Date: Mar 2014
how would u know that it won't help..
i only post threads as i know what i am doing.
the file which i uploaded up there is taken from MY PHONE ITSELF i.e galaxy GRAND 2..
and That FILE (recovery-from-boot.p) IS present on my phone and i m using Stock rom and not any other rom..
 
gendon
Old
#6  
Junior Member
Thanks Meter 1
Posts: 23
Join Date: Dec 2013
Location: Banten
Same with me... none of them named exactly like you mention above.

Sent from my SM-G7102 using XDA Premium 4 mobile app
 
vrushabh sutar
Old
(Last edited by vrushabh sutar; 17th April 2014 at 05:45 AM.)
#7  
Member - OP
Thanks Meter 30
Posts: 55
Join Date: Mar 2014
it only appears on a Stock UN-ROOTED firmware..
In order to inject custom CWM there isnt a necessity to root device.
so firstly we need to remove file that I mentioned in my previous post and inject recovery.
and via that recovery,
we can flash a custom kernel that automatically roots device!
 
00hacktheworld00
Old
#8  
Member
Thanks Meter 25
Posts: 50
Join Date: Mar 2013
Location: Bangalore
Quote:
Originally Posted by vrushabh sutar View Post
it only appears on a Stock UN-ROOTED firmware..
In order to inject custom CWM there isnt a necessity to root device.
so firstly we need to remove file that I mentioned in my previous post and inject recovery.
and via that recovery,
we can flash a custom kernel that automatically roots device!
Dude, if the FILE just appears in STOCK UNROOTED FIRMWARE , so how can we delete that.
Coz, to delete a /system file, we need ROOT access.

NOT POSSIBLE.
And in rooted version, the FILE is not available
 
vrushabh sutar
Old
#9  
Member - OP
Thanks Meter 30
Posts: 55
Join Date: Mar 2014
Quote:
Originally Posted by 00hacktheworld00 View Post
Dude, if the FILE just appears in STOCK UNROOTED FIRMWARE , so how can we delete that.
Coz, to delete a /system file, we need ROOT access.

NOT POSSIBLE.
And in rooted version, the FILE is not available
Thank you for replying.
I know that it can't be deleted,
but one may understand the importance of that ".p" file and understand its working, as it plays a vital role in booting up recovery...

the only thing I wanna let users understand is that,
stock recovery includes that file and
it got deleted when rooted because the rooting package (eg. CF root) didnt contain the .p file

when I studied that strange file,
it consisted of mapping and accurate memory address as well as accurate size of stock recovery image in bytes,
so that whn new recovery gets flashed, it verifies with the .p file!

and talking abt modifying the .p file,
we must create a custom linux binary with zerglings and packed into .tar file which gets flashed to phone via Odin!
The Following 2 Users Say Thank You to vrushabh sutar For This Useful Post: [ Click to Expand ]
 
manan001
Old
#10  
manan001's Avatar
Senior Member
Thanks Meter 310
Posts: 1,229
Join Date: Sep 2011
Location: Ahmedabad
for build creation you can use this tool..

http://www.xda-developers.com/androi...utmk=163283131
Ph.Model:
Samsung Galaxy Grand 2 SM-G7102
(Device Name by TWRP :-ms013g)

I want my galaxy Grand 2 SM-G7102 super smart.
worked for S2 9100
Worked on galaxy ace as tester for
(Great Guys) S'perience, Nims11 and PSN
.


you can use the below link as it hasall the scripts for Rom and Kernel wipe.
http://d-h.st/users/ApriliaM3/?fld_id=9253#files

If it helps you please click on thanks

http://manan001.blogspot.in/

BEST CUSTOM KERNEL..
DedS kernel 4.4

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

Advanced Search
Display Modes