vetzki
Philosoph
- 1.750
funzt genauso im (custom) recovery
, man muss einfach die 2 bytes mit 1 oder 0 überschreiben (z.b. "lock": printf '\x00' | dd of=....../misc seek=16400 count=1 bs=1 conv=notrunc
printf '\x00' | dd of=....../misc.img seek=16404 count=1 bs=1 conv=notrunc )
fastboot oem device-info
...
(bootloader) Device tampered: false
(bootloader) Device unlocked: false
(bootloader) off-mode-charge: true
(bootloader) set-crash-dload: false
OKAY [ 0.004s]
finished. total time: 0.004s
mv@mv-Aspire-5755G:~/Datengrab/android/Backup/Backup_N4$ adb shell
~ # resize
~ # printf '\x01' | dd of=......./misc seek=16400 count=1 bs=1 conv=notrunc
1+0 records in
1+0 records out
1 bytes (1B) copied, 0.059545 seconds, 16B/s
~ # printf '\x01' | dd of=......./misc seek=16404 count=1 bs=1 conv=notrunc
1+0 records in
1+0 records out
1 bytes (1B) copied, 0.050695 seconds, 19B/s
~ # exit
mv@mv-Aspire-5755G:~/Datengrab/android/Backup/Backup_N4$ adb reboot bootloader
mv@mv-Aspire-5755G:~/Datengrab/android/Backup/Backup_N4$ fastboot oem device-info
...
(bootloader) Device tampered: true
(bootloader) Device unlocked: true
(bootloader) off-mode-charge: true
(bootloader) set-crash-dload: false
OKAY [ 0.004s]
finished. total time: 0.004s
...
(bootloader) Device tampered: false
(bootloader) Device unlocked: false
(bootloader) off-mode-charge: true
(bootloader) set-crash-dload: false
OKAY [ 0.004s]
finished. total time: 0.004s
mv@mv-Aspire-5755G:~/Datengrab/android/Backup/Backup_N4$ adb shell
~ # resize
~ # printf '\x01' | dd of=......./misc seek=16400 count=1 bs=1 conv=notrunc
1+0 records in
1+0 records out
1 bytes (1B) copied, 0.059545 seconds, 16B/s
~ # printf '\x01' | dd of=......./misc seek=16404 count=1 bs=1 conv=notrunc
1+0 records in
1+0 records out
1 bytes (1B) copied, 0.050695 seconds, 19B/s
~ # exit
mv@mv-Aspire-5755G:~/Datengrab/android/Backup/Backup_N4$ adb reboot bootloader
mv@mv-Aspire-5755G:~/Datengrab/android/Backup/Backup_N4$ fastboot oem device-info
...
(bootloader) Device tampered: true
(bootloader) Device unlocked: true
(bootloader) off-mode-charge: true
(bootloader) set-crash-dload: false
OKAY [ 0.004s]
finished. total time: 0.004s
printf '\x00' | dd of=....../misc.img seek=16404 count=1 bs=1 conv=notrunc )