Android App Review: Manage Your Connections Automagically – XDA TV

Material Design is all the buzz in the Android world right now. … more

Official TWRP Recovery Lands on Micromax Canvas Magnus

With the recent release of Android One, Micromax and MediaTek released fully buildable … more

Update Overload: SuperSU Heavily Updated

There are apps and apps out there. Very few can reach the level of popularity required to stay at … more

Lollipop Leak Available for the Sprint Galaxy S5

Since the Android 5.0Lollipop’s official release not too long ago, we’ve seen … more

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] leverage recovery media creation? (to get android)

OP pinecones

30th May 2014, 06:07 AM   |  #1  
pinecones's Avatar
OP Junior Member
Thanks Meter: 0
 
5 posts
Join Date:Joined: Jan 2013
More
for getting modified versions of RT, linux, or android installed...

has anyone thought of trying to modify/leverage the recovery media creation tool? It creates bootable media that will install an OS based on a WIM file. I know for a fact that you can package linux in a wim file for deployment using windows WDS servers.

would it be possible to modify the recovery media/wim OR the recovery media creation software itself to create recovery media that will install WHATEVER YOU WANT onto the computer?

i would post this in a more appropriate section, but i don't have over 10 posts. =o/
30th May 2014, 10:48 AM   |  #2  
Senior Member
Thanks Meter: 325
 
1,620 posts
Join Date:Joined: Dec 2012
Nope, signature would still be incorrect
31st May 2014, 03:47 PM   |  #3  
pinecones's Avatar
OP Junior Member
Thanks Meter: 0
 
5 posts
Join Date:Joined: Jan 2013
More
Quote:
Originally Posted by SixSixSevenSeven

Nope, signature would still be incorrect

what is having the signature checked and by what system? is the recovery tool verifying the signature of the WIM file it's deploying? will the recovery media not boot because the media is modified?

will the recovery media creation tool not create bootable media if the WIM file it's using doesn't have a matching signature?
31st May 2014, 05:38 PM   |  #4  
Senior Member
Thanks Meter: 325
 
1,620 posts
Join Date:Joined: Dec 2012
Quote:
Originally Posted by pinecones

what is having the signature checked and by what system? is the recovery tool verifying the signature of the WIM file it's deploying? will the recovery media not boot because the media is modified?

will the recovery media creation tool not create bootable media if the WIM file it's using doesn't have a matching signature?

This is a secureboot device. The operating system is digitally signed and the bootloader will reject anything not matching. Secureboot cannot be disabled and only RT matches.
31st May 2014, 05:52 PM   |  #5  
Member
Flag Portland, OR
Thanks Meter: 29
 
35 posts
Join Date:Joined: Jan 2013
More
Quote:
Originally Posted by pinecones

what is having the signature checked and by what system? is the recovery tool verifying the signature of the WIM file it's deploying? will the recovery media not boot because the media is modified?

will the recovery media creation tool not create bootable media if the WIM file it's using doesn't have a matching signature?

In short:

Each component in the startup process validates the signatures of the next component. If the signature is not made by a known authority, the next component is discarded and the startup process terminates.

Whether or not the recovery media verifies the signatures in the WIM file is irrelevant - once extracted, the firmware won't load an improperly signed bootloader, and since the only signed bootloader we have is the Windows bootloader, it won't load an improperly signed kernel.

The only way the recovery image creator could help is if we had a way around Secure Boot, which we don't. (If we did, the recovery image creator wouldn't be necessary in the first place - you'd just drop the desired OS on the machine through whatever method was necessary, probably an installer of some form, and be done with it.)
31st May 2014, 06:54 PM   |  #6  
Senior Member
Thanks Meter: 325
 
1,620 posts
Join Date:Joined: Dec 2012
There is also the issue of actually building a linux kernel for the device, although that is a much smaller one.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes