[Q] KF2 su Binary Is Missing - Kindle Fire 2 Q&A, Help and Troubleshooting

I've really messed my KF2 up somehow. The Kindle Fire Utility reports that it's ADB Rooted, but my su binary is missing.
When I open Superuser, it reports that it needs to update the Su binary, but it fails.
127|[email protected]:/ # su
su
/system/bin/sh: su: not found​
Once the KF2 is rooted, I'm stuck on the sluggish blinking slow screen. I've fixed this a couple of times using "adb shell rm /data/local.prop", but once I try to re-root it the sluggish blinking screen comes back. I think this is a side effect of the missing su.
I believe I can hack this back together using a valid su binary. At this point, I'll be happy to get it back to a known good state so I can install the latest cyanogenmod. I need to fix the root so I can install TWRP, right?
Any suggestions would be helpful!
Doug

If your shell says root then u should be able to put su on your sdcard then cup it over to xbins and set its permissions with chmod. BTW be careful of kfu on a kf2, it will hard brick it if you use it to install a boot loader.
Sent from my Amazon Kindle Fire HD running CM10.1 Tablet UI using xda-developers app

stunts513 said:
If your shell says root then u should be able to put su on your sdcard then cup it over to xbins and set its permissions with chmod. BTW be careful of kfu on a kf2, it will hard brick it if you use it to install a boot loader.
Sent from my Amazon Kindle Fire HD running CM10.1 Tablet UI using xda-developers app
Click to expand...
Click to collapse
I'm unsure where I should get the su binary from, I'm sure that once I have it, I can push it up using adb.
Doug

I think the file is included in binary's root.
Sent from my Amazon Kindle Fire HD running CM10.1 Tablet UI using xda-developers app

stunts513 said:
I think the file is included in binary's root.
Sent from my Amazon Kindle Fire HD running CM10.1 Tablet UI using xda-developers app
Click to expand...
Click to collapse
I appreciate your help, but I don't quite understand.
I've looked in the Superuser.apk file, and used find in the adb shell and do not see it anywhere.
Doug

DougWare said:
I appreciate your help, but I don't quite understand.
I've looked in the Superuser.apk file, and used find in the adb shell and do not see it anywhere.
Doug
Click to expand...
Click to collapse
I found it, now I'll try to fix my Kindle.
Thanks!
Doug

Related

How to Unroot Kindle Fire! [Win/Mac/Linux][Video]

Here's how to unroot Kindle fire using adb, works on Windows, Mac, and Linux:
Step 1. Download adb.zip and unzip, you should get a folder called adb.
Download adb.zip
Step 2. Open up a command prompt or terminal and type:
For Windows:
cd \adb
For Mac or Linux:
cd /adb
Step 3. Type the following to get into ADB shell:
For Windows:
adb shell
For Mac:
./adb-mac shell
For Linux:
./adb-linux shell
Step 4. Copy and paste the following to enable read/write on filesystem:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Step 5. Type the following to remove rooting files:
rm /system/app/Superuser.apk
rm /system/bin/su
rm /system/xbin/su
Step 6. Type the following to reboot and your Kindle Fire should be fully unrooted!
reboot
Excellent instructions for both root and unroot, thank you. I wasn't aware of typing "su" though before step 4. Thankfully you covered that in the video.
Yes, should edit to mention su
Awesome!
Sent from my Kindle Fire using Tapatalk
Yep, nice concise post, but need to add a couple of things:
1. su before the mount command.
2. /system/bin/su doesn't always exist as it depends on what root method you used.
For me, only the xbin version existed, so people shouldn't freak out if they get a "No such file or directory" message!
Ota rootkeeper
Once the Kindle Fire is rooted, OTA ROOTKEEPER app allows you to easily root/unroot (i.e. you want to see Amazon Premium videos. Only allowed if unrooted.)
Once you unroot/root with OTA Rootkeeper, you will need to restart for new settings to take.
To see youtube video, search OTA Rootkeeper Kindle.
Download via Google Android Market.
Works great
ByByIpad said:
Once the Kindle Fire is rooted, OTA ROOTKEEPER app allows you to easily root/unroot (i.e. you want to see Amazon Premium videos. Only allowed if unrooted.)
Once you unroot/root with OTA Rootkeeper, you will need to restart for new settings to take.
To see youtube video, search OTA Rootkeeper Kindle.
Download via Google Android Market.
Works great
Click to expand...
Click to collapse
Definitely and so easy.
ByByIpad said:
Once you unroot/root with OTA Rootkeeper, you will need to restart for new settings to take.
Click to expand...
Click to collapse
I'll save you the trouble of rebooting...
Just stop the Amazon video app. There is no need to reboot. I use Advance Task Manager Pro personally because I purchased it for use with my Archos tablets but it isn't necessary you can do it through Settings-> Applications also.
Sent from my HTC Flyer P512 using Tapatalk
ByByIpad said:
Once the Kindle Fire is rooted, OTA ROOTKEEPER app allows you to easily root/unroot (i.e. you want to see Amazon Premium videos. Only allowed if unrooted.)
Once you unroot/root with OTA Rootkeeper, you will need to restart for new settings to take.
To see youtube video, search OTA Rootkeeper Kindle.
Download via Google Android Market.
Works great
Click to expand...
Click to collapse
Thanks SO MUCH! Definitely add this to your Kindle if you're trying to keep hacking it but can't stand to be without all six seasons of LOST.
Mount Issue
When I run the command to mount i get the following error:
mount: Operation not permitted
I'm using Mac OS 10.7.2
Nevermind!! Just had to see the "su" command in the tutorial. Sorry.
I have to unroot so I can send my KF back to Amazon.
If I user the OTA RootKeepr, is their anyway for them to figure out it was rooted? Once I use that app, I just wipe my KF? Thats it?
Just update to 6.2.1 and it should wipe it.
Sent from my Kindle Fire using xda premium
borborpa said:
Just update to 6.2.1 and it should wipe it.
Sent from my Kindle Fire using xda premium
Click to expand...
Click to collapse
I apologize but do I update? My KF says 6.2_user right now.
---------- Post added at 07:53 AM ---------- Previous post was at 07:07 AM ----------
c:\>cd adb
c:\adb>adb shell
* daemon not running. starting it now *
* daemon started successfully *
$ mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mount: Operation not permitted
What am I doing wrong?
OTA Rootkeeper is freaking awesome! My mom was so bummed after I rooted her KF and found out she couldn't watch movies anymore. This saved my bacon.
Sent from my EPAD using xda premium
I unrooted but still cannot view prime videos. Any suggestions?
Hi... I have a kindle fire ver 6.3 I am trying to unroot it but when i get to adb shell, it said device not found... i have installed android sdk, and kindle driver but no help... please advise!
Thanks for the nice contribution! Covered both! No need to worry how to root or unroot.
Would like to read more tips on using the Kindle Fire as the tablet column I came across in aneesoft.
Cheer!
I followed the method and unrooted my kindle. I found one issue after rebooting , it gave error " android.process.acore" has stopped working. As per Zedomax suggestion, I did Factory reset and problem was solved
Thanks for helping!!

[Q] Trying to copy vending.apk - All kinds of problems

Ultimately I am trying to get the Android Market on my rooted Kindle Fire but I am having many issues (or at least it seems like many). I have been reading through countless forum posts on here and other sites to get where I am so far, but now I'm stuck.
Right now I am trying to copy vending.apk to /system/app but I am unable to mount the folder as read/write. I have tried doing this with a couple different apps and have had no luck.
I found out that I could mount read/write from KFU, but now when I load KFU it says ADB Status: Offline. I had some trouble with this issue yesterday when I rooted, but I don't know how I fixed it
Also, the Kindle Fire won't show up in Windows Explorer (running Windows 7, btw) even though my computer makes the normal sound of a USB device being plugged in. Only once for the past two days has the autoplay prompt come up after plugging in the Fire. I guess it could be a faulty cable, but I'm not sure.
Oh, another thing I read that could possibly be an issue that I have my default install drive set to D:\ and of course the .android folder is in C:\users...
KFU 0.9.5
Windows 7
Kindle Fire 6.3
There is probably more information you need in order to help me, but I can't think of anything else.
Last question: is there a way I can undo everything that I've done and start over completely?
Is superuser properly installed?
Sent from my Kindle Fire using Tapatalk 2
In KFU I selected "2 Install Permanent Root with Superuser". I am not sure how to find out if it was installed properly though.
Also, is there a simple way to check if the rooting actually worked? I know that installing TWRP worked. Would proper rooting be a prerequisite for installing TWRP?
1. Look for the super user app icon. No icon, no super user.
2 download terminal emulator. Run it and at the prompt type SU. It should return a # prompt. If you don't, you are not properly rooted.
Sent from my Galaxy Nexus using Tapatalk 2
Okay, so I don't see a SuperUser app and when I type SU I get "SU: permission denied". So I guess that's a fail on the rooting, huh?
I definitely have TWRP setup on the Fire, though, so I must have had the Fire plugged in correctly and used KFU correctly at some point.
Maybe we should start with getting the Fire connected to the PC first. When I plug it in my computer makes the sound it always does when I plug in a USB device, but it doesn't show up in Windows Explorer or cause the autoplay prompt. Ideas?
Before you try to reroot with KFU, try to side load the Super User app. That may be all your missing. Once you have SU loaded go back into terminal and type SU again and see what happens.
I am willing to bet that's all you need.
Sent from my Kindle Fire using Tapatalk 2
I sideloaded Superuser, which definitely installed correctly, but I am still getting "SU: permission denied" in the terminal window. I'm going to order a different USB cable in case that's the problem, but do you any other suggestions in the mean time?
I also had problems installing the Play store when I first rooted my KF. If you have TWRP working, why not download and install one of the rooted roms based on stock that has Play already installed , if you want to keep stock that is. I ended up doing that, but have moved on to an ICS rom because I got tired of stock.
fangorn0 said:
I sideloaded Superuser, which definitely installed correctly, but I am still getting "SU: permission denied" in the terminal window. I'm going to order a different USB cable in case that's the problem, but do you any other suggestions in the mean time?
Click to expand...
Click to collapse
Make sure you have su binary with correct permissions in /system/xbin
adb shell ls -l /system/xbin/su
It should look like this:
-rwsr-sr-x root root 22364 2012-03-29 06:49 su
Gửi từ Kindle Lửa của tôi qua Tapatalk 2

[Q] Kindle Fire with 6.3 Help with Rooting Please

Hi,
I am a total noob. I don't even know the proper expressions for this whole thing.
So this is my case:
I am outside the US and bought the Kindle Fire with a 6.3 firmware, couple of days ago.
Being curious about what it all can do, created a fake account with a test credit card as I read somewhere in the net.
Then downloaded the KFU 0.9.5 and rooted the device, everything went according to the plan, so I thought.
Then I discovered I had to use something called Market Opener to install other apps. But this Market Opener never worked.
So I found out that I had to change permissions. But this cannot happen as I get that message that adb services can not run in production builds etc. whatever that may mean.
So I downloaded Android SDK, followed the instructions installed it but I still cannot get into the root and change folder permissions. Sometimes it recognizes the device, sometimes not and when it does it tells me the same thing as above.
Then I would need some .apk to do the thing on the device but I cannot install those as I don't have the Market Opener or the Google Play and I cannot get those if I don't have superuser permissions to change things in Folders.
Basically I have been spending the last 3 days in searching the net for answers but to no avail.
So, can someone help me please? What I need to do is being able to install some apps including Market Opener / Google Play and being able to watch Amazon VOD. Is this possible?
Please bear in mind that I have no clue of the specific language, i.e. I don't know what flash is and how to do it nor I know how to do a backup and restore or how to reset everything in the original state.
SO if some of you have the patience to help, please advice me with some noob language so that I can understand.
Thanks in advance for the help that will come
Are you looking to put a custom rom on it or just root? If you're looking to keep Amazon services, you can put MoDaCo's rom on it, which is just like your kindle out of the box with a few extra bells and whistles. There are alot of guides floating around on how to get ADB working. There's an excellent beginners guide in the General section that I highly advise checking out.
Noob terms: if you want to keep the Amazon experience, I reccomend MoDaCo. Look for it in the development fourms.
brainchow said:
Are you looking to put a custom rom on it or just root? If you're looking to keep Amazon services, you can put MoDaCo's rom on it, which is just like your kindle out of the box with a few extra bells and whistles. There are alot of guides floating around on how to get ADB working. There's an excellent beginners guide in the General section that I highly advise checking out.
Noob terms: if you want to keep the Amazon experience, I reccomend MoDaCo. Look for it in the development fourms.
Click to expand...
Click to collapse
Thanks for ur answer.
I have read a lot of guides out there but I seem not to be able to get the ADB working as I always get the message I gave in the original post plus the fact that sometimes it recognizes the device and sometimes not.
I have read the beginners guide which was excellent but without the ADB working there is little I can do I suppose.
As I wrote, I want to play with the device to see what it is able to do and want to use the Amazon VOD if possible. I.e. I would like to be able to use Google Play to get apps on will and still keep the Amazon services. Would that be possible with the MoDaCo staff?
Ok. I downloaded the MoDaCo staff.
Must I reset the kindle to the factory settings before I install that? If yes, how?
And how do I flash it?
Make sure you are in fact rooted.
You seem like you know enough about adb to try the following commands.
adb shell
ls /system/xbin
Look for a file called "su" in the list
Then...
ls /system/app
Look for a file called "Superuser.apk"
A lack of either of these means you're not rooted and may be the source of your problems
If you are trying to change system file permissions through adb...
adb root
adb remount
adb shell chmod blah /blah/blah/yadayada
Just don't literally type "blah /blah/blah/yadayada"
Sent from my Amazon Kindle Fire using xda premium
a factory reset won't really help you because you're basically replacing the operating system. pretty sure all amazon services are working with modaco. to install it, look around for a guide on how to install something called firefirefire (FFF) and TWRP. pretty sure that can all be done with kfu in a couple clicks. then copy the modaco zip onto your kindle, go into the wipe menu and clear out system, cache, dalvik cache, and data (factory reset), then go into install and choose the modaco zip. reboot and you should be set.
soupmagnet said:
Make sure you are in fact rooted.
You seem like you know enough about adb to try the following commands.
adb shell
ls /system/xbin
Look for a file called "su" in the list
Then...
ls /system/app
Look for a file called "Superuser.apk"
A lack of either of these means you're not rooted and may be the source of your problems
If you are trying to change system file permissions through adb...
adb root
adb remount
adb shell chmod blah /blah/blah/yadayada
Just don't literally type "blah /blah/blah/yadayada"
Sent from my Amazon Kindle Fire using xda premium
Click to expand...
Click to collapse
Thank you for your answer.
I would gladly follow your advice but the adb does not find my device. I don't know whether this is normal and if I must reboot my PC.
The kfu also gives me an offline status...
brainchow said:
a factory reset won't really help you because you're basically replacing the operating system. pretty sure all amazon services are working with modaco. to install it, look around for a guide on how to install something called firefirefire (FFF) and TWRP. pretty sure that can all be done with kfu in a couple clicks. then copy the modaco zip onto your kindle, go into the wipe menu and clear out system, cache, dalvik cache, and data (factory reset), then go into install and choose the modaco zip. reboot and you should be set.
Click to expand...
Click to collapse
Thanks again for the fast answer. I am impressed!
Doesn't the FFF and the TWRP get installed automatically with the kfu?
its most likely your computer. a reboot might help. if not, how did you install the drivers? are you using a mac or pc? try installing the drivers that came bundled with KFU.
if you're using a PC, go into device manager and see if something about android ADB pops up. if not, it's your drivers.
---------- Post added at 07:53 PM ---------- Previous post was at 07:51 PM ----------
GreekCY said:
Thanks again for the fast answer. I am impressed!
Doesn't the FFF and the TWRP get installed automatically with the kfu?
Click to expand...
Click to collapse
haha, no problem .
if FFF was installed, you should see a picture of fire in a caution sign or an android logo over the kindle fire logo when you boot it up. if all you see is kindle fire, then you don't have fff. im pretty sure you need fff to get into twrp. if fff is installed, you should be able to hop into fastboot and install twrp if it's not installed yet.
brainchow said:
its most likely your computer. a reboot might help. if not, how did you install the drivers? are you using a mac or pc? try installing the drivers that came bundled with KFU.
if you're using a PC, go into device manager and see if something about android ADB pops up. if not, it's your drivers.
Click to expand...
Click to collapse
I am using a PC ( a netbook, don't laugh, I'm on vacation!!)
I installed the drivers using the install_bat from the kfu.
In device manager I see Android Phone and underneath Android Composite ADB Interface...
interesting. check my previous post and see if you have FFF installed. adb should be working fine if device manager can find it. if you can, run adb devices into cmd and see if it picks up your kindle. not sure if the stock rom has a development switch in the settings.. if there's an option to enable usb debugging, make sure that is on. if not, just try moving usb ports and running adb devices.
If adb has trouble recognizing your device, it means it's a driver issue. Either Windows, KFU or a combination of the two causes the drivers to fail for some reason.
Uninstall/delete your current drivers in device manager (may require reboot)
Turn your Kindle off
Reinstall drivers
Turn your Kindle on
Retry adb commands
Sent from my Amazon Kindle Fire using xda premium
brainchow said:
interesting. check my previous post and see if you have FFF installed. adb should be working fine if device manager can find it. if you can, run adb devices into cmd and see if it picks up your kindle. not sure if the stock rom has a development switch in the settings.. if there's an option to enable usb debugging, make sure that is on. if not, just try moving usb ports and running adb devices.
Click to expand...
Click to collapse
I have FFF as I see the fire in a caution sign (yellow triangle thing right?)
ADB still doesn't pick my kindle after a PC restart.
No usb debugging available in the stock rom.
I will uninstall and reinstall the drivers from device manager.
Thanks again for your prompt help. I am oblidged!
GreekCY said:
I have FFF as I see the fire in a caution sign (yellow triangle thing right?)
ADB still doesn't pick my kindle after a PC restart.
No usb debugging available in the stock rom.
I will uninstall and reinstall the drivers from device manager.
Thanks again for your prompt help. I am oblidged!
Click to expand...
Click to collapse
that's fantastic... if you have FFF, try pressing the power button a couple times as it turns on and see if you can get into recovery. you shouldn't need adb now. if you can get into recovery, just wipe and flash the new rom. if you don't, you can use fastboot to install it.
brainchow said:
that's fantastic... if you have FFF, try pressing the power button a couple times as it turns on and see if you can get into recovery. you shouldn't need adb now. if you can get into recovery, just wipe and flash the new rom. if you don't, you can use fastboot to install it.
Click to expand...
Click to collapse
Ok...I reinstalled the drivers
now ADB gets the kindle
I do adb shell
then ls / system /xbin
no such file or directrory
the same goes with the
ls / system / app
But if I give su I get
su
#
Now what?
And in which directory should I transfer the MoDaCo Rom?
GreekCY said:
Ok...I reinstalled the drivers
now ADB gets the kindle
I do adb shell
then ls / system /xbin
no such file or directrory
the same goes with the
ls / system / app
But if I give su I get
su
#
Now what?
Click to expand...
Click to collapse
SU (substitute user) in shell is different from the su binary
Make sure you are typing "L"s, not "i"s then /system/xbin
Sent from my Amazon Kindle Fire using xda premium
soupmagnet said:
SU (substitute user) in shell is different from the su binary
Make sure you are typing "L"s, not "i"s then /system/xbin
Sent from my Amazon Kindle Fire using xda premium
Click to expand...
Click to collapse
I really do type "L"...still ls/system/xbin: not found
modaco can go anywhere in the kindle.. just copy it somewhere. then press the power button a couple times when FFF comes up and see if you can get into twrp.
brainchow said:
modaco can go anywhere in the kindle.. just copy it somewhere. then press the power button a couple times when FFF comes up and see if you can get into twrp.
Click to expand...
Click to collapse
Guys? I just installed ModaCo and it seems it works fine. Google Play seems to work and all my data are still there (I mean the books I uploaded). If this is right then.... THANKS TO ALL OF YOU SO MUCH!!!!
Drinks are on me! Now I go to sleep! Will keep you informed!!!
Thanks again!!!!
GreekCY said:
I really do type "L"...still ls/system/xbin: not found
Click to expand...
Click to collapse
Space between ls and /system/xbin and no other spaces
It IS there, your Kindle wouldn't work otherwise
Sent from my Amazon Kindle Fire using xda premium
GreekCY said:
I really do type "L"...still ls/system/xbin: not found
Click to expand...
Click to collapse
if you want to use adb, should be ls /system/xbin. make sure you put the space after the ls. i would still recommend flashing modaco nevertheless... that shouldn't need adb. just maybe fastboot if your recovery isnt installed.
---------- Post added at 08:59 PM ---------- Previous post was at 08:57 PM ----------
GreekCY said:
Guys? I just installed ModaCo and it seems it works fine. Google Play seems to work and all my data are still there (I mean the books I uploaded). If this is right then.... THANKS TO ALL OF YOU SO MUCH!!!!
Drinks are on me! Now I go to sleep! Will keep you informed!!!
Thanks again!!!!
Click to expand...
Click to collapse
no problem... enjoy
i would still recommend wiping data and the two caches to ensure that it's bug free. but if everything works fine, so be it.
have fun

[Q] Couple of problems with kfu

Ok, so im using KFU to root my Kindle.
I get it rooted, I get twrp and firefirefire installed, but when it trys to "Attempt to remove root checker"
It says:
mv: can't rena,e '/system/bin/check_rooted': No such file or directory
Then it trys to install Superuser.apk and I get this error: "Error: Could not access the package Manager. Is the system running?"
But I have root? Any ideas?
Download a file manager that lets you see system files like root explorer and see if the root check file is removed
Sent from my Kindle Fire using xda premium
if you find something I posted helpful please thank me
You should also look in devices on windows and see what is showing up
Sent from my Kindle Fire using xda premium
if you find something I posted helpful please thank me
yeah i know how to use adb, ive used it before for my Sprint Evo.
when i do adb devices, it shows a bunch of numbers
but in dev manager, it just shows it as a portable device.
Did you try to remove the file with adb
Sent from my Kindle Fire using xda premium
if you find something I posted helpful please thank me
what would the command be?
and do i manually need to push the .apk?
Kfu says adb shell mv /system/bin/check_rooted /system/bin/check_rooted.bak
I would do
adb shell. If this doesn't work your drivers might be messed up
mv /system/bin/check_rooted /system/bin/check_rooted.bak
Sent from my Kindle Fire using xda premium
if you find something I posted helpful please thank me
Hmm, it kicked back a # sign. But I was able to install gapps? Weird.
# means the adb shell command worked now try the mv command
Sent from my Kindle Fire using xda premium
if you find something I posted helpful please thank me
yeah i got it to work, and installed a rom, now it doesnt even show up on my computer anymore. It makes the sound when something connects, but nothing pops up.. Damn it.
Edit: Fixed it. Thx for the help.
Glad I could help
Sent from my Kindle Fire using xda premium
if you find something I posted helpful please thank me

[Q] Root and SU without using KFU?

I have a Kindle fire running 6.3.2 I attempted to root with KFU and it got stuck halfway through the process and was able to get it back to normal using soupkit. Was going to try again but am having problems getting KFU to install SU and root,.
QUESTION... (and I have googled this to death and read posts and posts and posts but everything points to using KFU) - Is there a way to root and get SU without using KFU? Soupkit seems to work fine but from what I understand it can't install SU and root. Any help is appreciated
Depending on what your version of android is it won't install SU. Go online and download the apk for SuperSU or SU and install it using ES File Explorer.
androidnooob98 said:
Depending on what your version of android is it won't install SU. Go online and download the apk for SuperSU or SU and install it using ES File Explorer.
Click to expand...
Click to collapse
Thanks for the reply, I finally got it to working in windows. KFU would give status of online but boot status unknown.. when it finally gave status of 4000 and online KFU worked.

Categories

Resources