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

[idea] load custom ramdisk from SD card

OP KeiranFTW

9th January 2014, 03:31 PM   |  #1  
KeiranFTW's Avatar
OP Recognized Developer
Flag Sunderland
Thanks Meter: 2,728
 
2,639 posts
Join Date:Joined: Nov 2011
Donate to Me
More
Okay, so the way we are having a recovery on the locked boot loader at the moment is loading recovery.tar on /system/bin/ and the only problem with this is it could be accidently overwritten when a ROM is installed.
I think I have a better method, but it requires you have an SD card.
Instead of extracting the contents of the RAMdisk from an archive, have them loaded from a partition on the SD card? and then when a custom ROM is developed have its ramdisk in the update package and have it written to the external SD card, then when the system is loaded then mount that partition at / .. This is just an idea though.

Sent from my C5303 using Tapatalk
The Following User Says Thank You to KeiranFTW For This Useful Post: [ View ]
18th February 2014, 04:20 AM   |  #2  
Member
Flag Taipei
Thanks Meter: 41
 
52 posts
Join Date:Joined: Dec 2012
maybe munjeni can help you
here is his work for Xperia Boot Menu v1.0
http://forum.xda-developers.com/xper...-v1-0-t2418241

Quote:
Originally Posted by KeiranFTW

Okay, so the way we are having a recovery on the locked boot loader at the moment is loading recovery.tar on /system/bin/ and the only problem with this is it could be accidently overwritten when a ROM is installed.
I think I have a better method, but it requires you have an SD card.
Instead of extracting the contents of the RAMdisk from an archive, have them loaded from a partition on the SD card? and then when a custom ROM is developed have its ramdisk in the update package and have it written to the external SD card, then when the system is loaded then mount that partition at / .. This is just an idea though.

Sent from my C5303 using Tapatalk

The Following User Says Thank You to sharonliu 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