FORUMS

CloudPlayer: DIY HiFi Music Streaming Solution

In our Helpful Guide to Music Streaming Services, we mentioned several different services … more

Optimize Battery Life with This Useful App

Battery life is an important aspect of your smartphone, especially if you use it for more … more

The OnePlus 2 & The Year of Smartphone Compromises

We are very close to entering the last third of 2015, and we have now seen many of … more

OnePlus 2 Teardown, Major Android Vulnerability – XDA TV

The OnePlus 2 has been officially released. That and much more news is … more

Disabling secure boot

55 posts
Thanks Meter: 34
 
Post Reply Subscribe to Thread Email Thread
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 10:54 AM.
The Following User Says Thank You to vrushabh sutar For This Useful Post: [ View ]
 
 
9th March 2014, 04:27 PM |#2  
Senior Member
Flag vapi
Thanks Meter: 65
 
More
dindt find any file like u wrote.... plss provide specific path.. so we can try
9th March 2014, 06:31 PM |#3  
OP Member
Thanks Meter: 34
 
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:	497
Size:	75.3 KB
ID:	2621971  
4th April 2014, 10:00 AM |#4  
manan001's Avatar
Senior Member
Flag Ahmedabad
Thanks Meter: 332
 
More
bro no such file is available.. this wont help to solve .and still custom recovery not available for grand2
8th April 2014, 01:39 PM |#5  
OP Member
Thanks Meter: 34
 
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, 10:27 AM |#6  
Member
Banten
Thanks Meter: 1
 
More
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, 02:15 PM |#7  
OP Member
Thanks Meter: 34
 
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 05:45 AM.
17th April 2014, 07:23 AM |#8  
Member
Flag Bangalore
Thanks Meter: 30
 
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, 08:44 AM |#9  
OP Member
Thanks Meter: 34
 
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, 07:11 AM |#10  
manan001's Avatar
Senior Member
Flag Ahmedabad
Thanks Meter: 332
 
More
for build creation you can use this tool..

http://www.xda-developers.com/androi...utmk=163283131
The Following 2 Users Say Thank You to manan001 For This Useful Post: [ View ]
18th May 2014, 10:55 AM |#11  
mobihack's Avatar
Senior Member
Flag Ottapalam, Pallakad
Thanks Meter: 43
 
More
So I found the reason behind this
It is a file used by Software Update Application to flash updates.
If you want proof go-to the data folder of the SOFTWARE UPDATER and there will be a 3mb file. Copy it to pc and open using winrar. You can see many files including boot.img.
So the author of this thread was about to update his/her phone when he found the file :thumbdown:

SO MYSTERY SOLVED
SCOOBY DOOBY DOOO

Sent from my SM-G7102
The Following User Says Thank You to mobihack For This Useful Post: [ View ]

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes