Firefly Open Source Community

Title: switch from linux to android - command line [Print This Page]

Author: macdam    Time: 10/5/2015 21:54
Title: switch from linux to android - command line
Hi,

How can I switch the system loaded on boot, Linux to android, from the command line?

kind regards,
Mathieu
Author: sghazagh    Time: 10/6/2015 04:44
Last edited by sghazagh In 10/6/2015 04:47 Editor

Hi,
You can easily do it by:
1- Making a file like "/usr/local/bin/boot_to_android.sh" and copy these codes in it:
  1.         #!/bin/bash
  2.         sudo dd if=/dev/zero of=/dev/block/mtd/by-name/misc bs=16k count=3
  3.         sudo sync
  4.         sudo reboot
Copy the code

2- Make the file executable. On command prompt type:
  1. $ sudo chmod +x  /usr/local/bin/boot_to_android.sh
Copy the code

3- Execute the script and you will reboot to Android:
  1. $ boot_to_android.sh
Copy the code

Cheers,


Author: stancoo814    Time: 1/13/2026 13:39
I learned a great deal from the article. The Latest FCSS_SASE_AD-25 exam guide materials resources are highly valuable and free.
Author: jonward638    Time: 1/27/2026 23:51
Thank you for your article; it truly shocked me! Free Composite latest test INSTC_V8 price materials are the stepping stones to your career advancement and salary growth!
Author: josephp582    Time: yesterday 05:24
我々社のチームは顧客のすべてのために、改革政策に伴って最新版の信頼できるAdobeのAD0-E725をリリースされて喜んでいます。我々社はAD0-E725問題集のクオリティーをずっと信じられますから、試験に失敗するとの全額返金を承諾します。また、受験生の皆様は一発的に試験に合格できると信じます。もし運が良くないとき、失敗したら、お金を返してあなたの経済損失を減らします。




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1