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

Disabling secure boot

OP vrushabh sutar

9th March 2014, 11:29 AM   |  #1  
OP Member
Thanks Meter: 31
 
55 posts
Join Date:Joined: Mar 2014
More
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!
Last edited by vrushabh sutar; 9th March 2014 at 11:54 AM.
The Following User Says Thank You to vrushabh sutar For This Useful Post: [ View ]
9th March 2014, 05:27 PM   |  #2  
Senior Member
Flag vapi
Thanks Meter: 62
 
399 posts
Join Date:Joined: Dec 2012
More
dindt find any file like u wrote.... plss provide specific path.. so we can try
9th March 2014, 07:31 PM   |  #3  
OP Member
Thanks Meter: 31
 
55 posts
Join Date:Joined: Mar 2014
More
Quote:
Originally Posted by Rakesh251

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:	373
Size:	75.3 KB
ID:	2621971  
4th April 2014, 11:00 AM   |  #4  
manan001's Avatar
Senior Member
Flag Ahmedabad
Thanks Meter: 316
 
1,250 posts
Join Date:Joined: Sep 2011
More
bro no such file is available.. this wont help to solve .and still custom recovery not available for grand2
8th April 2014, 02:39 PM   |  #5  
OP Member
Thanks Meter: 31
 
55 posts
Join Date:Joined: Mar 2014
More
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..
16th April 2014, 11:27 AM   |  #6  
Junior Member
Banten
Thanks Meter: 1
 
29 posts
Join Date:Joined: Dec 2013
Same with me... none of them named exactly like you mention above.

Sent from my SM-G7102 using XDA Premium 4 mobile app
16th April 2014, 03:15 PM   |  #7  
OP Member
Thanks Meter: 31
 
55 posts
Join Date:Joined: Mar 2014
More
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!
Last edited by vrushabh sutar; 17th April 2014 at 06:45 AM.
17th April 2014, 08:23 AM   |  #8  
Member
Flag Bangalore
Thanks Meter: 27
 
50 posts
Join Date:Joined: Mar 2013
More
Quote:
Originally Posted by vrushabh sutar

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
17th April 2014, 09:44 AM   |  #9  
OP Member
Thanks Meter: 31
 
55 posts
Join Date:Joined: Mar 2014
More
Quote:
Originally Posted by 00hacktheworld00

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: [ View ]
15th May 2014, 08:11 AM   |  #10  
manan001's Avatar
Senior Member
Flag Ahmedabad
Thanks Meter: 316
 
1,250 posts
Join Date:Joined: Sep 2011
More
for build creation you can use this tool..

http://www.xda-developers.com/androi...utmk=163283131

The Following User Says Thank You to manan001 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes