Hack-A-N900/Wall Of Bricks: Unterschied zwischen den Versionen
aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Zur Navigation springenZur Suche springenAmir (Diskussion | Beiträge) K |
Amir (Diskussion | Beiträge) |
||
Zeile 33: | Zeile 33: | ||
# /dev/mmcblk0p4 is an extended partition | # /dev/mmcblk0p4 is an extended partition | ||
dd if=image.dd of=/dev/mmcblk0p4 | dd if=image.dd of=/dev/mmcblk0p4 | ||
+ | </pre> | ||
+ | |||
+ | Result: | ||
+ | corrupt partition table | ||
+ | |||
+ | == Tried to load and execute a custom build kernel during runtime (forced - without shutdown ;)) == | ||
+ | How: | ||
+ | <pre> | ||
+ | kexec -f /boot/zImage --command-line="init=/sbin/preinit ubi.mtd=rootfs root=ubi0:rootfs rootfstype=ubifs \ | ||
+ | rootflags=bulk_read,no_chk_data_crc rw console=ttyMTD,log console=tty0 snd-soc-rx51.hp_lim=42 snd-soc-tlv320aic3x.hp_dac_lim=6" | ||
</pre> | </pre> | ||
Version vom 18. April 2010, 14:20 Uhr
Boot loop? hang? Congratulations, you made it! Please share how.
Tried to enforce bash as system default shell
How:
rm /bin/sh ln -s /bin/bash /bin/sh
Result: boot loop.
Tried to overwrite /lib from a running system
How:
cp -a /somewhere/lib/* /lib/
Result:
Tried to write a disk image to an extended partition
How:
# /dev/mmcblk0p4 is an extended partition dd if=image.dd of=/dev/mmcblk0p4
Result: corrupt partition table
Tried to load and execute a custom build kernel during runtime (forced - without shutdown ;))
How:
kexec -f /boot/zImage --command-line="init=/sbin/preinit ubi.mtd=rootfs root=ubi0:rootfs rootfstype=ubifs \ rootflags=bulk_read,no_chk_data_crc rw console=ttyMTD,log console=tty0 snd-soc-rx51.hp_lim=42 snd-soc-tlv320aic3x.hp_dac_lim=6"
Result: corrupt partition table