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

[Q] Clarification on recovery

OP rbanavara

24th March 2014, 07:47 PM   |  #1  
OP Member
Thanks Meter: 5
 
34 posts
Join Date:Joined: Mar 2014
More
I was going through the thread , [15.11.2012][ICS]PhilZ Touch 3.00 - CWM Based Recovery 6.0.1.5 (Temporary flash) by Phil3759. It talks about flashing a temporary on a stock recovery. I have few queries about this (This is about the concept rather the actual method itself, so though its for S2, posting here)

1. If I understand correctly, stock samsung recovery (3e) looks for signed zips (signed by samsung). So either this is writen for older recovery (2e) which may have allowed unsigned zips OR stock recovery refers to something else (thats not from samsung)

2. If my understanding is correct, there is a separate recovery partition which holds its own recovery kernel separate from the normal boot kernel. In this background, what does flashing insecure kernel means? does this procedure replace the main android kernel? does this insecure kernel also act as recovery kernel when booted in recovery?

3. is there anyway to backup recovery partition (as far as I can think of, this may not be possible. As I have not seen any way to root SGR without installing custom recovery first. and through heimdall, I dont think a dump can be taken of partitions)
25th March 2014, 07:42 PM   |  #2  
Adam77Root's Avatar
Recognized Developer
Flag My coordinates
Thanks Meter: 11,126
 
2,482 posts
Join Date:Joined: Jul 2012
Donate to Me
More
That thread is old and doesn't apply to the R in any way.

1) Almost no OEM stock recoveries allow flashing custom signed zips, only those signed by the specific OEM. Sometimes it does work though, if they don't set it up correctly. This is why we could root on JB on the O4X, it allows zips signed with test keys to be flashed.
2) Insecure kernel means you flash a rooted / ADB-enabled kernel on the main boot partition. Yes, it replaces the main kernel. No, it doesn't act, recovery has a totally different kernel. Flashing insecure kernel should only be done from custom recovery, doing so from Odin / Heimdall triggers yellow triangle.
3) It's possible from ADB even if you aren't rooted. You can dump with Heimdall too, Google gives a lot of results.
The Following 2 Users Say Thank You to Adam77Root For This Useful Post: [ View ]
27th March 2014, 11:41 AM   |  #3  
OP Member
Thanks Meter: 5
 
34 posts
Join Date:Joined: Mar 2014
More
Thank you Adam77Root
Thank you Adam77Root, that cleared my doubts regarding the recovery.

What I was referring to was like the dump of the partition with dd (or probably tar). On linux, normally if you are not root, you wont have disk access (or unless you are part of disk group). Isn't it the same with android kernel as well?

I have found some info about backup of partiton through heimdall / odin. I am going through that. Will update later on that
( androidforums dot com/exhibit-4g-all-things-root/733167-how-tool-rom-sgh-t759-create-odin-heimdall-backups.html
http://forum.xda-developers.com/show....php?t=1372455
)
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes