Advertisement
metalx1000

Amazon Fire 7 Tablet 2019 Notes

Jun 14th, 2020
974
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.73 KB | None | 0 0
  1. #install needed programs
  2. sudo apt install python3 python3-serial android-tools-adb android-tools-fastboot
  3.  
  4. #root device
  5. adb push files/arm/mtk-su /data/local/tmp/
  6. adb shell
  7. cd /data/local/tmp
  8. chmod 755 mtk-su
  9. ./mtk-su
  10.  
  11. ##if errors##
  12. #https://forum.xda-developers.com/android/development/amazing-temp-root-mediatek-armv8-t3922213
  13. #It should only take a second or two. If the program gets stuck for more than a few seconds and your device is awake, press Ctrl+C to close it.
  14. #The -v option turns on verbose printing, which is necessary for me to debug any problems.
  15. #########
  16.  
  17. #https://forum.xda-developers.com/amazon-fire/orig-development/fire-7-2019-mustang-unbrick-downgrade-t3944365
  18. getenforce # Just to confirm it says Permissive
  19. echo 0 > /sys/block/mmcblk0boot0/force_ro
  20. dd if=/dev/zero of=/dev/block/mmcblk0boot0 bs=512 count=8
  21.  
  22. ###start installing custom recovery###
  23. cd files/amonet-mustang/
  24. sudo ./bootrom-step.sh
  25.  
  26. #you should already have the USB cable plugged in. Type "reboot" in the first terminal (the one you that's running "adb shell"). [If you're trying this for the second time because it didn't work for the first time, you won't have an "adb shell" terminal. In that case, just plugging the USB cable in should be enough.]
  27. #The script will now proceed to downgrade your device and flash some essential files. Just let it be, it will take about 4 minutes. You should see the following output
  28. #If the script freezes at some point, you will have to restart it. Terminate the script, then immediately run `sudo ./bootrom-step.sh` again. The exploit it set up so that after about 40 seconds of inactivity it would reboot your device and drop you back into the bootrom mode, which the script is waiting for. If you cannot restart the process, you might have to open up the tablet and replug the battery to completely power off the device.
  29. #You should see a success message: "Reboot to unlocked fastboot". Only proceed if you see the message.
  30. #Once the device boots to fastboot (check with "fastboot devices"; you should also see amazon logo on the screen.), you can run:
  31.  
  32.  
  33. sudo ./fastboot-step.sh
  34.  
  35.  
  36. #At this point the device should boot into recovery, however the screen will be off. Just press the power button twice and the screen should turn on.
  37. #Success! You now have a custom recovery installed that can be accessed by holding down power and volume down (the leftmost) buttons. At this point if you came here from a custom ROM thread you should probably follow the ROM installation instructions. However, at the time of writing there are no custom ROMs yet, and the next steps will detail installing a stock firmware and rooting it with Magisk.
  38.  
  39. ##We'll now upload required files to the recovery. On your PC, do:
  40. cd ../
  41. adb push update-kindle-NS6312_user_1827_0002517050244.bin /sdcard/fw.zip
  42. adb push Magisk-v19.3.zip /sdcard
  43. adb push finalize.zip /sdcard
  44.  
  45. # In the recovery, go to "Install", navigate to "/sdcard" and flash fw.zip
  46. # Go to "Wipe" and do the default wipe, then reboot
  47. # At the Fire setup screen, select your language. On the next screen, Wifi setup, select any password-protected network, then instead of entering the password press "cancel". Now, back at the wifi setup screen, press "Skip setup" and "Skip" in the dialog pop-up again
  48. # Wait for the update to finish (wait until the updating fire notification disappears)
  49. # Hold down the power button, press Restart and hold volume down to boot into recovery.
  50. # In the recovery, go to "Install", navigate to "/sdcard" and flash Magisk-v19.3.zip
  51. # Press back, select finalize.zip and flash it
  52. # Once finalize.zip is flashed, press "Reboot System"
  53.  
  54. ###trouble shooting###
  55. https://forum.xda-developers.com/amazon-fire/orig-development/fire-7-2019-mustang-unbrick-downgrade-t3944365
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement