Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,768,772 Members 51,948 Now Online
XDA Developers Android and Mobile Development Forum

[PROJECT] Flash Boot.img, ELF or SIN throught CWM recovery

Tip us?
 
dekefake
Old
(Last edited by dekefake; 15th March 2014 at 03:45 PM.)
#1  
Senior Member - OP
Thanks Meter 134
Posts: 127
Join Date: Oct 2013
Location: Orléans, Center Of Nowhere
Default [PROJECT] Flash Boot.img, ELF or SIN throught CWM recovery

Hi guys !

I'm currently searching a way to flash a kernel for unlocked bootloaders throught ClockWordMod Recovery.

First question :

Is it possible to mount the boot partition with a command inside the "updater-script" of a flashable zip file ?

Second question :

If we can mount this partition, is it possible to format it to write the content of a SIN or a ELF file, or a boot.img ?

My X10 USB port is dead ( the USB connector is snatched from the USB PCB board )

I'm currently on Achotjan's SDE v3 kernel for Jelly Bean roms. This kernel has a CWM

When i'm speeking about flashing kernels on CWM, i'm expecting to something like this :



ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
show_progress(1, 15);
ui_print(" *Mounting the kernel partition");
run_program("/sbin/mount", "/boot");
ui_print("Writing the kernel");
write_raw_img("boot.img", "/boot");
ui_print("You wrote a new page inside the X10 history enjoy the flashed kernel ");


I know this script is not executable, and it's just an example

Hope somebody will help me for it

Cheers
 
pedyvirus
Old
#2  
pedyvirus's Avatar
Senior Member
Thanks Meter 361
Posts: 1,145
Join Date: Nov 2012
Location: shiraz
this is not possible in sony Ericsson 2010 and 2011 phones

my device: htc one m8 gunmetal
last device: xperia play (going to sell it after repair)
noob in xda is recognized developer in other forums
big metallica fan is here
 
dekefake
Old
#3  
Senior Member - OP
Thanks Meter 134
Posts: 127
Join Date: Oct 2013
Location: Orléans, Center Of Nowhere
Quote:
Originally Posted by pedyvirus View Post
this is not possible in sony Ericsson 2010 and 2011 phones
Oh **** :/
 
Phenom11
Old
#4  
Junior Member
Thanks Meter 8
Posts: 28
Join Date: Apr 2013
Quote:
Originally Posted by dekefake View Post
Oh **** :/
it would be much easier if you disassemble the phone and solder a new connector
The Following User Says Thank You to Phenom11 For This Useful Post: [ Click to Expand ]
 
dekefake
Old
#5  
Senior Member - OP
Thanks Meter 134
Posts: 127
Join Date: Oct 2013
Location: Orléans, Center Of Nowhere
Quote:
Originally Posted by Phenom11 View Post
it would be much easier if you disassemble the phone and solder a new connector
Maybe i'll try to dissassemble it and sold (to solder) a connector

I really want to try KitKat on it ^^
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes