5,815,061 Members 37,272 Now Online
XDA Developers Android and Mobile Development Forum

Android Terminal Emulator Command

Tip us?
 
SonyFan23
Old
#1  
SonyFan23's Avatar
Senior Member - OP
Thanks Meter 94
Posts: 174
Join Date: Feb 2014
Location: Nikolaevsk
Default Android Terminal Emulator Command

Tell me what you need to enter the command to flash the kernel via Android terminal emulator?
My Phone: Sony Xperia Go(27i)
ROM: Xperia STE CM 11 Stable v2
Recovery:TWRP v2.8.0.0

My Tablet PC: ASUS Nexus 7 2013 Wi-Fi
ROM: Carbon 18.09.14
Recovery:TWRP v2.8.0.1
 
ChikeD
Old
#2  
Senior Member
Thanks Meter 465
Posts: 1,608
Join Date: Jun 2013
Quote:
Originally Posted by SonyFan23 View Post
Tell me what you need to enter the command to flash the kernel via Android terminal emulator?
What reason you have to flash it this way and nor with fastboot or CWM?
The Following User Says Thank You to ChikeD For This Useful Post: [ Click to Expand ]
 
SonyFan23
Old
#3  
SonyFan23's Avatar
Senior Member - OP
Thanks Meter 94
Posts: 174
Join Date: Feb 2014
Location: Nikolaevsk
Quote:
Originally Posted by ChikeD View Post
What reason you have to flash it this way and nor with fastboot or CWM?
Am often away from the computer, and through cmw kernel sew, it is also necessary to find
One person on my friend said that the form can be sewn through Termunal Android, that's interested in the question
My Phone: Sony Xperia Go(27i)
ROM: Xperia STE CM 11 Stable v2
Recovery:TWRP v2.8.0.0

My Tablet PC: ASUS Nexus 7 2013 Wi-Fi
ROM: Carbon 18.09.14
Recovery:TWRP v2.8.0.1
 
ChikeD
Old
#4  
Senior Member
Thanks Meter 465
Posts: 1,608
Join Date: Jun 2013
Quote:
Originally Posted by SonyFan23 View Post
Am often away from the computer, and through cmw kernel sew, it is also necessary to find
One person on my friend said that the form can be sewn through Termunal Android, that's interested in the question
In principle the dd command should work
However I haven't tried it before and don't know if it is safe to do, so if you do it it's at your own risk.
Code:
dd if=<kernel file> of=<kernel partition>
The Following User Says Thank You to ChikeD For This Useful Post: [ Click to Expand ]
 
SonyFan23
Old
(Last edited by SonyFan23; 27th April 2014 at 11:15 AM.)
#5  
SonyFan23's Avatar
Senior Member - OP
Thanks Meter 94
Posts: 174
Join Date: Feb 2014
Location: Nikolaevsk
Quote:
Originally Posted by ChikeD View Post
In principle the dd command should work
However I haven't tried it before and don't know if it is safe to do, so if you do it it's at your own risk.
Code:
dd if=<kernel file> of=<kernel partition>
So here we introduce: "dd if = <filename> of = <Where is it>"
Will look like?
Code:
dd if=/mnt/sdcard/boot.img of=/dev/block/mmcblkNNN
True or false?
My Phone: Sony Xperia Go(27i)
ROM: Xperia STE CM 11 Stable v2
Recovery:TWRP v2.8.0.0

My Tablet PC: ASUS Nexus 7 2013 Wi-Fi
ROM: Carbon 18.09.14
Recovery:TWRP v2.8.0.1
 
ChikeD
Old
#6  
Senior Member
Thanks Meter 465
Posts: 1,608
Join Date: Jun 2013
Quote:
Originally Posted by SonyFan23 View Post
So here we introduce: "dd if = <filename> of = <Where is it>"
Will look like?
Code:
dd if=/mnt/sdcard/boot.img of=/dev/block/mmcblkNNN
True or false?
Almost correct, of=/dev/block/mmcblkNNNpNNN.
If you don't know which it is you can find which partition is the kernel written to with package_extract_file or write_raw in any CWM flashable kernel for your phone.
You better make sure fastboot is working for you before you try it or you may not be able to recover if it is not safe to do and the phone reboot before it finish.
The Following User Says Thank You to ChikeD For This Useful Post: [ Click to Expand ]
 
SonyFan23
Old
#7  
SonyFan23's Avatar
Senior Member - OP
Thanks Meter 94
Posts: 174
Join Date: Feb 2014
Location: Nikolaevsk
Quote:
Originally Posted by ChikeD View Post
Almost correct, of=/dev/block/mmcblkNNNpNNN.
If you don't know which it is you can find which partition is the kernel written to with package_extract_file or write_raw in any CWM flashable kernel for your phone.
You better make sure fastboot is working for you before you try it or you may not be able to recover if it is not safe to do and the phone reboot before it finish.
Thank you, I have asked the developer firmware he said that the code would be:
Code:
dd if=/mnt/sdcard1/boot.img of=/dev/block/mmcblk0p9
My Phone: Sony Xperia Go(27i)
ROM: Xperia STE CM 11 Stable v2
Recovery:TWRP v2.8.0.0

My Tablet PC: ASUS Nexus 7 2013 Wi-Fi
ROM: Carbon 18.09.14
Recovery:TWRP v2.8.0.1

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes