[Q] Kindle Fire HD 7 Rooting Permission Denied - 7" Kindle Fire HD Q&A, Help & Troubleshooting

I have a Kindle Fire HD 7 and I need help rooting it.
when I typed in the adb command adb shell it worked but when I try to type rm /data/local/tmp I get permission denied. Why is this? I just wanna root my tablet.

Related

[Q] Qemu local.prop root method bricked my KFHD

I used Qemu local.prop method to set /system/fonts folder as 766 and bricked my KFHD with the following steps:
adb shell
rm -r /data/local/tmp
ln -s /data/ /data/local/tmp
exit
adb reboot
adb shell
echo ‘ro.kernel.qemu=1′ > /data/local.prop
exit
adb reboot
adb shell mount -o remount,rw /system
adb push myfont.ttf /system/fonts
adb shell
cd /system/fonts
mv DroidSans.ttf DroidSans.ttf.bak
ln -s myfont.ttf DroidSans.ttf
chmod -R 06766 /system/fonts
rm /data/local.prop
exit
adb reboot
Click to expand...
Click to collapse
Now my KFHD does gets stucked in
"Your Kindle doesn't seem to be able to boot"
Is that because I changed the permission? Or is it because I did not reboot first after changing permission, and than delete local.prop? Which step was wrong? I am worried that doing that again would cause the same problem. I assume that the only way to recover from this would be to get into fastboot mode with factory cable. But I still want to keep fonts folder as writable.
When you edit files like this, with a device like a KFHD, odds are they deal with the framework-res.apk And if you mess with files that deal with framework-res.apk, your bound to get boot loop. But anyways, can you get adb? If not, fast boot might be your best friend. Cables are available that can boot to it, and if you see the system img. Files in the android development section, you can use fasboot to flash those. It's not the easiest solution, but it is something.
Sent from my Fire HD with root!

[Q] Rooting problems regarding permission

Hi, I'm a newbie to android rooting and have spent the whole day trying to root my Kindle Fire HD v7.2.3.
I've used the bin4ry RunMe.bat and RootQemu.bat. I have no problems with the Qemu part but as for the RunMe.bat part I get permission problems (see picture below)
http://www.freeimagehosting.net/ikz64
The device gets rooted but the super user is no where to be seen. Therefore I can access root files but I can't write as it is read only.
I've already tried this: http://forum.xda-developers.com/showthread.php?t=2086210 (fixing a bug)
I've also tried the basics of rebooting after rooting, run as admin, locate through cmd but nothing has worked for me so far.
Anyone know what the problem is?
I was having a similar permission denied error when rooting 7.2.3. Try this and see if it helps. These commands are pulled from the Qemu script.
Code:
adb shell mv /data/local/tmp /data/local/tmp.bak
adb shell ln -s /data /data/local/tmp
adb reboot
Wait for the device to reboot then run these.
Code:
adb shell rm /data/local.prop
adb shell "echo ro.kernel.qemu=1 > /data/local.prop"
reboot
Now wait for the device to reboot then check if the Qemu root hack worked correctly by connecting to your device with adb shell. You should see a root prompt.
Code:
$ adb shell
[email protected]:/ #
If you see a root prompt then re-run the RunMe.bat script and it should complete without error. The reason for your permission denied error is the script is not running as root.

[Q] 7" Kindle Fire HD Backup

How Can I Backup The Stock Rom Of The Kindle Fire HD?
I think kimdle fire first aid will do it for you, but if not you can always use this snippet of commands to back it up:
Code:
Code:
adb shell su -c "dd if=/dev/block/mmcblk0boot0 of=/sdcard/boot0block.img"
adb shell su -c "dd if=/dev/block/platform/omap/omap_hsmmc.1/by-name/boot of=/sdcard/stock-boot.img"
adb shell su -c "dd if=/dev/block/platform/omap/omap_hsmmc.1/by-name/recovery of=/sdcard/stock-recovery.img"
adb shell su -c "dd if=/dev/block/platform/omap/omap_hsmmc.1/by-name/system of=/sdcard/stock-system.img"
mkdir C:\KFHD7Backup
adb pull /sdcard/stock-boot.img /KFHD7Backup
adb pull /sdcard/stock-recovery.img /KFHD7Backup
adb pull /sdcard/stock-system.img /KFHD7Backup
Thanks to seokhun for these, I modified them a bit to my liking because what he originally put was making my PC tell me I had incorrect syntax or something, so I used the Linux form which assumes c:\=/
And u probably have no idea what that means so just ignore it.
Sent from my Amazon Kindle Fire HD running CM10.1 Tablet UI using xda-developers app
You can also access your Backup Recover Kindle fire HD from TWRP recovery to PC Computer by mounting it as a USB Storage to the PC, and on the PC go to SDCARD\TWRP\BACKUPS\(YOUR BACKUP FILE WITH THE FILE EXTENSION BEING '.WIN' AT THE END)
download 'Winrar' and install it and rename the (WIN TO TAR) on your backup file so that Winrar can extact it to view rom folder and files
if your going to repack it you need to download '7z ' and achieve it for it to be used as a valid rom on your android device.
HAVE GOOD DAY​
bramz said:
You can also access your Backup Recover Kindle fire HD from TWRP recovery to PC Computer by mounting it as a USB Storage to the PC, and on the PC go to SDCARD\TWRP\BACKUPS\(YOUR BACKUP FILE WITH THE FILE EXTENSION BEING '.WIN' AT THE END)
download 'Winrar' and install it and rename the (WIN TO TAR) on your backup file so that Winrar can extact it to view rom folder and files
if your going to repack it you need to download '7z ' and achieve it for it to be used as a valid rom on your android device.
HAVE GOOD DAY​
Click to expand...
Click to collapse
It's better to use the fastboot flashable images method that @stunts513 posted above.

[Q] sh ôdd not found

Hi all,
I'm following a guide on Gizmodo "The Simple Guide to Root the Kindle Fire HD and Flash a Custom ROM"
When trying to install TWRP, after running the initial command in cmd prompt;
Code:
adb shell su -c “dd if=/dev/block/platform/omap/omap_hsmmc.1/by-name/boot of=/sdcard/stock-boot.img”
I get the below error message:
Code:
sh: ôdd: not found
Anyone come across this before? Would really appreciate the help.
Typical, turns out the quotes were causing the issues!

Kindle Fire HD 7" 3rd gen (Soho) Full Restore Without Custom Recovery?

Can fastboot be used to fully restore stock everything? Bootloader, Recovery, FireOS.
I tried to use Kingroot on my Kindle Fire HD 7" 3rd gen (Soho) and it softbricked it. I can't get past the white n orange "Kindle fire" logo screen.
I've tried the directions for putting twrp on and such but I still can't get past the logo. I followed the directions for restore on the TWRP Page but once I get to the last part right after the sideloading of the update.bin file I cant get past the logo screen.
adb sideload update.bin
adb reboot
THIS IS WHERE I CANT GET PAST. It stalls at the logo screen.
adb wait-for-device
adb shell su -c 'mount -o remount,rw /system && rm /system/etc/install-recovery.sh && mount -o remount,ro /system'
adb push recovery.img /sdcard/recovery.img
adb shell su -c "dd if=/sdcard/recovery.img of=/dev/block/platform/omaphsmmc.1/by-name/recovery"
adb push exploit.img /sdcard/exploit.img
adb shell su -c "dd if=/sdcard/exploit.img of=/dev/block/platform/omaphsmmc.1/by-name/exploit"
adb shell rm /sdcard/recovery.img /sdcard/exploit.img
@spudowiar I know this device is really old and its likely youve forgotten how to do some things but I really need help with this. The directions on the TWRP page arent working, or well, they work but its not working. I have tried to sideload the latest amazon update file as update.bin, update.bin.zip, and update.zip. None of them work or it seems. After the sideload of the update and SuperSU I reboot the device and then it goes to the faint white kindle logo then the kindle fire logo in white and orange with the glimmer scrolling across the screen. Thats where it stops. I have left it on this screen for 2 hours or so and no change. I am at a loss of what to do to restore this device to working condition now.
cc: @sd_shadow

Categories

Resources