Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

How to write recovery command to misc.img at Android?

107

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
107

How to write recovery command to misc.img at Android?

Posted at 12/22/2014 14:35:23      View:7208 | Replies:3        Print     [Copy Link] 1#
I upload custom RK3288 Android image and linux image to the Firefly for dual OS. But, there is some problem "switch system" in custom Android firmware. The custom Android image is not Firefly official image. When I connect to PC with "adb shell", "reboot recovery" command works well for switching Android to Linux. So I'd like to know how to write "recovery command" to misc.img that is /dev/block/mtd/by-name/misc at Android without PC.
Reply

Use props Report

107

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
107
Posted at 12/23/2014 12:13:03      2#

In addition, I'd like to know how to setup "switch system" at Android power menu with "(echo -n boot-recovery | busybox dd bs=16k seek=1 conv=sync; busybox dd if=/dev/zero bs=16k count=1)??> /dev/block/mtd/by-name/misc". I don't know how to put script at Android's switch system menu. Please let let me know how to put recovery command script that you told me. I'm using custom Android. So, where can I modify system file to switching system?









Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list