How to copy a file from KindleFire? - Kindle Fire Q&A, Help & Troubleshooting

This file is not on the sdcard. It is in the /data folder.
I need to list the contents of the /data folder.
When I do a ls on the adb shell, it throws up a opendir failed permission denied error.
The device is rooted since I am able to see the SU application.
How do I go about copying the file from /data?
I do not know the name of the file. I attempted to copy the entire /data folder using an adb pull command, but that did not work.
I am using windows 7.

Try it while booted into recovery

soupmagnet said:
Try it while booted into recovery
Click to expand...
Click to collapse
This suggestion might not work for me as I was unable to get TRWP installed on it.

Are you rooted?

droid_noobie said:
This suggestion might not work for me as I was unable to get TRWP installed on it.
Click to expand...
Click to collapse
You don't need to be rooted to install TWRP. Any time you're messing with the file system, it's always a good idea to do it from recovery.

droid_noobie said:
This file is not on the sdcard. It is in the /data folder.
I need to list the contents of the /data folder.
When I do a ls on the adb shell, it throws up a opendir failed permission denied error.
The device is rooted since I am able to see the SU application.
How do I go about copying the file from /data?
I do not know the name of the file. I attempted to copy the entire /data folder using an adb pull command, but that did not work.
I am using windows 7.
Click to expand...
Click to collapse
Can't you copy files from /data without being rooted? Do you have a file explorer app on your kindle? If so, assuming you're able to boot, try navigating to /data and see if you can copy/find the file you're looking for.

tobiascuypers said:
Are you rooted?
Click to expand...
Click to collapse
Yes, I used the KindleFireUtility to gain permanent root. I tried to use the utility to load TRWP on my Kindle, but that didn't work. The process to install TRWP got stuck on <Waiting for device> prompt forever.
nschiwy said:
Can't you copy files from /data without being rooted? Do you have a file explorer app on your kindle? If so, assuming you're able to boot, try navigating to /data and see if you can copy/find the file you're looking for.
Click to expand...
Click to collapse
I am unable to see the contents of /data
I also installed ConnectBot successfully on my Kindle, but it won't list the contents of /data

droid_noobie said:
Yes, I used the KindleFireUtility to gain permanent root. I tried to use the utility to load TRWP on my Kindle, but that didn't work. The process to install TRWP got stuck on prompt forever.
Click to expand...
Click to collapse
That's because the link KFU uses to install TWRP dorsn't work. You have to get TWRP from their website and replace the TWRP in the KFU folder with it.

soupmagnet said:
That's because the link KFU uses to install TWRP dorsn't work. You have to get TWRP from their website and replace the TWRP in the KFU folder with it.
Click to expand...
Click to collapse
I downloaded the latest twrp from here. Replaced the twrp in the recovery folder with this file. Attemped to run the KFU to get TWRP installed on my Kindle. This is the result.
PHP:
***********************************************
* Activating Fastboot (4002) *
***********************************************
Activating BurritoRoot...
Starting: Intent { act=android.intent.action.MAIN cmp=net.andirc.kindleroot/.D
ectCall }
Elevating the Shell...
* daemon not running. starting it now *
* daemon started successfully *
adbd cannot run as root in production builds
mount: Operation not permitted
mount: Operation not permitted
failed to copy 'files\rbfb' to '/system//rbfb': Read-only file system
Unable to chmod /system/rbfb: No such file or directory
Unable to chmod /system/rbfb: No such file or directory
mount: Operation not permitted
mount: Operation not permitted
***********************************************
* Root Activated *
***********************************************
The kindle is successfully running in root mode.
<idme> Invalid permission
reboot: Operation not permitted
The kindle has been told to reboot in Fastboot Mode.
***********************************************
* WARNING *
***********************************************
Make sure to read each screen carefully!
Make sure to follow instructions given to you!
openrecovery-twrp-2.2.2.1-blaze.img has been found.
***********************************************
* NOTICE *
***********************************************
Please wait a few seconds before continuing.
You should be safe when you see the Kindle trying to mount in Windows.
Installing TWRP...
If we get stuck here for awhile, power the kindle on and off a few times.
< waiting for device >
So far I have shutdown and powered up my kindle about 4 - 5 times. The <waiting for device> never goes away.

You have to enable fastboot first...
http://forum.xda-developers.com/showthread.php?t=1414832

soupmagnet said:
You have to enable fastboot first...
http://forum.xda-developers.com/showthread.php?t=1414832
Click to expand...
Click to collapse
Done. Finally I have TWRP installed and I was able to copy files from the device.
Thanks for your suggestion.

Related

[Q] Kindle Fire Stuck in Boot Loop

I am stuck in the boot loop with standard rom installed.
What I think I did was I edited the png files in the update.zip file. (Used paint)
then i installed the edited rom on my fire with TWRP.
I cleared the cache(s)
Then I rebooted.
When the fire started up i showed the Kindle Fire Logo. (no TWRP or FIREFIREFIRE Triangle)
AND IT STUCK there.
I used the KFU to check it and it says:
ABD:Offline
Boot Status: 4002
Fastboot status: offline
I dont know how to fix this
Please help
Thanks.......
First you need to get the adb working. Based on your post, the KFU doest recognize your KF.
I recommend to configure your PC to use Android composite driver to communicate to KF., then use KFU to do next steps such as installing FFF or recovery tool or ROM.
Sent from my Amazon Kindle Fire using Tapatalk
Try this: http://forum.xda-developers.com/showthread.php?t=1428428
It helped me unbrick my KF when I was stuck in a bootloop this weekend. Hope it helps.
sent from my CommandCenter using xda premium
Thanks But Still Not working
ADB doesnt see my kindle still,
And the program you sent didnt do a thing.
Every option keeps telling me device not found, or just waiting for device.
Can I use push to re copy the photos i edited?
wayoung said:
ADB doesnt see my kindle still,
And the program you sent didnt do a thing.
Every option keeps telling me device not found, or just waiting for device.
Can I use push to re copy the photos i edited?
Click to expand...
Click to collapse
You need to install drivers as ADB Composite, or else you'll probably be stuck there forever. The device not found error is due to a lack of working drivers.
http://forum.xda-developers.com/showpost.php?p=22342376&postcount=6
and check the adb_usb.ini file in your .android folder in your personal folder
it has to be existent and has to include 0x1949 (i use to add 0x18d1 in a separate line also)
without this folder/file/entries adb will never work !
if they are missing just create this folder and copy the file from c:\kfu\drivers\kindle
Kindle Fire boot loop problem
I still have a boot loop issue with my kindle fire which I just received some days ago (right, I had only 1 day to use it until first the web browser started closing when calling a page, then after repoot, the boot process does not finish, still seeing the kindle fire logo). draining the battery did also not solve the issue.
I installed the android sdk, the usb drivers, configured them and the kindle fire is recognized as device.
Afterwards I installed the Kindle Fire Utility 0.9.3, and tried it, with no success. Here the results:
Activity: kindle fire started (boot logo visible) - plugged it into the pc - started kfu
-------------------------------------------------------------
KFU Screen:
***********************************************
* Kindle Fire Utility 0.9.3 *
***********************************************
1 Bootmode Menu
2 BurritoRoot (Temporary)
3 Install Permanent Root with Superuser
4 Obtain Stock update.zip
5 Install latest TWRP Recovery
6 Install FireFireFire
7 Extras
0 Recheck Device Status
ADB Status: Online
ADB Rooted: No
Boot Status: 0x4000
Please make a selection or hit ENTER to exit
------------------------------------------------------------------------
Now I selected option 1 and tried every boot mode, with similar messages:
Activity: select option 1 (bootmode)
-----------------------------------------------------------------------
KFU screen:
***********************************************
* Kindle Fire Utility 0.9.3 *
***********************************************
1 Normal (4000)
2 Fastboot (4002)
3 Recovery (5001)
0 Recheck ADB/Fastboot Mode
ADB Status: Online
ADB Rooted: No
Boot Status: 0x4000
Please make a selection or hit ENTER to return:
----------------------------------------------------------------------
Activity: typing 2 (fastboot)
----------------------------------------------------------------------
KFU screen
***********************************************
* Activating Fastboot (4002) *
***********************************************
Installing BurritoRoot, Courtesy of Jcase of TeamAndIRC
1054 KB/s (1164225 bytes in 1.078s)
[1] Segmentation fault pm install -r /d...
Activating BurritoRoot...
[1] Segmentation fault am start -W -a a...
Elevating the Shell...
* daemon not running. starting it now *
* daemon started successfully *
/data/local/tmp/BurritoRoot3.bin: not found
mount: Operation not permitted
mount: Operation not permitted
failed to copy 'files\rbfb' to '/system//rbfb': Read-only file system
Unable to chmod /system/rbfb: No such file or directory
Unable to chmod /system/rbfb: No such file or directory
mount: Operation not permitted
mount: Operation not permitted
***********************************************
* Root Activated *
***********************************************
The kindle is successfully running in root mode.
<idme> Invalid permission
reboot: Operation not permitted
The kindle has been told to reboot in Fastboot Mode.
-------------------------------------------------------------------------
Activity: restarting kfu (though it does not return to selection)
-----------------------------------------------------------------------
KFU screen:
***********************************************
* Kindle Fire Utility 0.9.3 *
***********************************************
1 Bootmode Menu
2 BurritoRoot (Temporary)
3 Install Permanent Root with Superuser
4 Obtain Stock update.zip
5 Install latest TWRP Recovery
6 Install FireFireFire
7 Extras
0 Recheck Device Status
ADB Status: Online
ADB Rooted: No
Boot Status: 0x4000
Please make a selection or hit ENTER to exit:
-------------------------------------------------------------------------
--> boot status is still 4000, i.e. no change to fastboot even though the message (which was somehow weird) told this.
Activity: select option 3 (install permanent root)
------------------------------------------------------------------
KFU screen:
***********************************************
* Installing Permanent Root *
***********************************************
Installing BurritoRoot, Courtesy of Jcase of TeamAndIRC
1455 KB/s (1164225 bytes in 0.781s)
[1] Segmentation fault pm install -r /d...
Activating BurritoRoot...
[1] Segmentation fault am start -W -a a...
Elevating the Shell...
* daemon not running. starting it now *
* daemon started successfully *
/data/local/tmp/BurritoRoot3.bin: not found
mount: Operation not permitted
mount: Operation not permitted
failed to copy 'files\rbfb' to '/system//rbfb': Read-only file system
Unable to chmod /system/rbfb: No such file or directory
Unable to chmod /system/rbfb: No such file or directory
mount: Operation not permitted
mount: Operation not permitted
***********************************************
* Root Activated *
***********************************************
The kindle is successfully running in root mode.
mount: Operation not permitted
mount: Operation not permitted
/data/local/tmp/BurritoRoot3.bin: not found
***********************************************
* Root Installed *
***********************************************
Permanent root has been installed.
With great power, comes great responsibility.
Please be careful with how you use root.
It is HIGHLY recommended you have TWRP installed before using root (check your
device's screen for installation instructions).
***********************************************
* Thanks to Jcase *
***********************************************
Please consider donating to jcase by purchasing any of his apps on the market.
...
Or search for "Donate to JCase/TeamAndIR" on the android market.
--------------------------------------------------------------------------
--> after the last action, during the script running, the kindle fire does automatically deactivate and activate the driver on the pc (while the kindle still displays the kindle fire logo).
Does anybody have an idea how I can get this thing up and running again?
if the kf is'nt booting up normally kfu may have problems
i assume you don't have fff & twrp installed - right ?
you can try to install it with option 5
if it says <waiting for device> power it off by holding the pwr button for ~20sec till it turns of - pwr on again - the command should resume and finish
or install manually
tell about the progress
Kindle Fire Stuck in Boot Loop
right, fff and twrp are not installed. I tried option 5, which prompts the following result:
----------------------------------------------------------------
Make sure to follow instructions given to you
recovery.img has been found.
***********************************************
* NOTICE *
***********************************************
Installing TWRP...
If we get stuck here for awhile, power the kindle on and off a few times.
You should also check device manager for "kindle" If so, rerun the driver
installer that came packaged with KFU.
***********************************************
* Activating Fastboot (4002) *
***********************************************
Installing BurritoRoot, Courtesy of Jcase of TeamAndIRC
1774 KB/s (1164225 bytes in 0.640s)
[1] Segmentation fault pm install -r /d...
Activating BurritoRoot...
[1] Segmentation fault am start -W -a a...
Elevating the Shell...
* daemon not running. starting it now *
* daemon started successfully *
/data/local/tmp/BurritoRoot3.bin: not found
mount: Operation not permitted
mount: Operation not permitted
failed to copy 'files\rbfb' to '/system//rbfb': Read-only file system
Unable to chmod /system/rbfb: No such file or directory
Unable to chmod /system/rbfb: No such file or directory
mount: Operation not permitted
mount: Operation not permitted
***********************************************
* Root Activated *
***********************************************
The kindle is successfully running in root mode.
<idme> Invalid permission
reboot: Operation not permitted
The kindle has been told to reboot in Fastboot Mode.
< waiting for device >
----------------------------------------------------------------------
After power-off by holding the power button for sth. about 20 sec. and power on
nothing happens, kfu is still waiting for the device.
how can I install manually?
it's a good practice to move kfu to c:\ and rename it to "kfu" so that it is c:\kfu
- copy recovery.img from c:\kfu\recovery to c:\kfu\tools (check it is ~10mb)
- open a (elevated) command prompt and cd to c:\kfu\tools
- issue "fastboot -i 0x1949 boot recovery.img"
- in case it says <waiting for device> do as in my last post
Kindle Fire Stuck in Boot Loop
I also tried this, but still after power-off and power-on the <waiting for device> does not disappear.
Any other ideas?
what it telling the device manager under android phone ?
normal & recovery boot: -> android composite adb interface
fastboot: -> android adb interface
just reviewed your post - correct me if i'm wrong
- your on stock os 6.2.2
- not rooted
- no fff & twrp
- stuck on "kindle fire" static or animated ?
Kindle Fire Stuck in Boot Loop
The device manager tells me :
Android Composite ADB Interface
I cannot tell the fastboot interface though I am not able to start with fastboot.
Concerning your questions for verification:
- Android OS version: I am not sure which version I have, I didn't check the day I received the device, and the second day it did not boot correct.
- not rooted
- no fff & twrp
- static boot logo, stuck with
could you please try to issue the following commands from command prompt in c:\kfu tools:
"adb devices"
and
"adb shell"
please paste the results
just to verify my guess ...
Kindle Fire Stuck in Boot Loop
sure, the results are:
---------------------------
C:\kfu\tools>adb devices
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached
7864002600000001 device
C:\kfu\tools>
--------------------------------
and
-------------------------------------
C:\kfu\tools>adb shell
$
--------------------------------------
hey cool - thought the shell is messed up - it's not - you can get to fastboot - great
would suggest to follow this thread starting at point 2:
http://forum.xda-developers.com/showpost.php?p=21803658&postcount=29
and your allready downloaded twrp is recovery.img not twrp-blaze-2.0.0RC0.img
simply adapt the corresponding command in the above thread
is you want stock rom i would suggest to use a prerooted stock rom (i prefer the unsecure version):
http://forum.xda-developers.com/showpost.php?p=22393194&postcount=20
Just wondering
Did my changing the stock logo images (png) inside the zip file have anything to do with why the Kindle Fire gets stuck at the logo?
Is there a way with ADB to push the correct images to replace the edited ones?
This seems logical to me as thats what I did and now it is hung on the logo.
Please I'm desperate because Amazon wont even help me cause im canadian
They said they would replace it no problem until I gave my address, and then it was Ohhhh Im msoooo sorry (my butt)
Thanks to all who have responded to the cries of a desperate man.
Update
I have found out that the kindle is mounted read only.
my device now shows
need to know how to change mount to r/w
can i do this with adb?
Kindle Fire Stuck in Boot Loop
hey b63, there is some progress, thank you!
now I have the screen on my kindle where i can select various things, like "advanced settings", "reboot", etc.
how do I install the rom you mention and do I need it to be able to boot without getting stuck again?
wayoung said:
I have found out that the kindle is mounted read only.
my device now shows
need to know how to change mount to r/w
can i do this with adb?
Click to expand...
Click to collapse
yes you can:
"adb remount"
there are also some other commands - try this one first
---------- Post added at 10:49 AM ---------- Previous post was at 10:42 AM ----------
manni4711 said:
hey b63, there is some progress, thank you!
now I have the screen on my kindle where i can select various things, like "advanced settings", "reboot", etc.
how do I install the rom you mention and do I need it to be able to boot without getting stuck again?
Click to expand...
Click to collapse
you should be in twrp now - is this correct ?
it's quite blue - landscape - 8 buttons
if yes resume with point 8 of the description
and yes - i think you have to flash a new rom because your old one seems to be messed up according to your description

PLEASE HELP! Kindle Fire stuck in infinite bootloop after adb reboot

Hi,
I recently got a new Kindle fire and tried to root it.
I followed the instructions given in this post.
http://forum.xda-developers.com/showthread.php?t=1568340
However, my kindle fire seems to be stuck in an infinite boot loop after first step itself.
Here are the step I followed (I am using Windows 7 32bit).
1. Installed android sdk.
2. Updated the Kindle driver to install "android abd composite interface"
3. Downloaded all the required files in the platform-tools folder
Required files:
fbmode.zip - http://forum.xda-developers.com/show....php?t=1414832
twrp2 - http://teamw.in/project/twrp2/79
su - http://dl.dropbox.com/u/8699733/kindlefire/su
firefirefirefire http://forum.xda-developers.com/show....php?t=1369405
fastboot + adb for your OS of choice.
4. Followed following commands:
unzip fbmode.zip
adb push fbmode /data/local/fbmode
adb shell chmod 755 /data/local/fbmode
adb shell /data/local/fbmode
adb reboot
5. After this, my kindle fire seems to have stuck in an infinite boot loop.
- It starts up only when a USB cable is connected.
- Power light is orange and not green
- It starts up Kindle Fire logo comes up, then shuts down again
- My computer is not detecting any device, probably because KF is in an infinite boot loop
- When I run adb devices -- no devices show up
- When I run fastboot command [fastboot -i 0x1949 flash bootloader .....] it says "waiting for devices"
- When I remove the USB cable from KF, It doesn't powers on (even after long pressing the power button).
- I tried many things posted on different forums on two laptops (Windows 7 32 bit as well as 64 bit) and using different USB cables but nothing worked.
- Only thing I haven't tried is Factory cable as I don't have it and don't have money to buy it.
PLEASE HELP!!
http://forum.xda-developers.com/showthread.php?t=1623244
Superuser not working
Thanks for the help with the charging issue Kinfauns!!!
I charged my kindle fire using stock charger and finally rooted it.
However, I am still not able to install android market on my KF.
After rooting Kindle (followed all the steps given in the thread), I installed Superuser.apk.
Then to install android market, I installed root explorer and downloaded Kindle Fire android market zip file. (followed instructions from one of the NAT3MIL's video on youtube).
First step is to install googleServicesFramework.apk file, which I did.
The next step is to move market.apk file to system/apps folder. However, when I tried doing that, I got a warning:
"Your phone doesn't appear to be rooted. This is requires in order to change or delete protected files such as this ......"
I don't understand why is it saying so as I have followed all the steps in the thread to root my KF?
How to check if the KF is really rooted?
Are there any settings to be changed in the superUser.apk?
Please help!!
Thanks a ton!!
Superuser not working
One more thing.
when I tried to update SU binary file,
I got following:
Downloading manifest .. OKAY!
parsing manifest.. Okay!
Latest Version = 3.0.3.2
Checking installed version .. legacy
Fixing database .. okay!
checking for busybox .. not found
Downloading custom busybox .. okay!
checking md5sum ... okay!
checking current install path .. fail!
Failed to find current installed su binary. Update cannot continue.
Does this mean I have to re-root the KF or just install the su binary file? how to do that?
Thanks!
Download the latest kindle fire utility and rerun it for permanent root.
Known Tricks
If you end up stuck at the yellow triangle, in KF Utility select Boot Normal, wait for it to say <waiting for device> and then press and hold the power button 20 seconds until the fire turns off, then when its off turn it back on. This sometimes happens, I have yet to find a clean solution If you end up stuck with a yellow triangle, do not EVER unplug it. Leave it plugged in. Check the windows drivers to make sure it isnt showing as "kindle" again. Fastboot is different and can cause this.
Please note: If your device can't be seen in fastboot mode, please make sure to install the drivers packaged with this, as it will show up afterwards. You can use the install_drivers.bat with the device plugged in for this.
Copied from the instructions of the kindle fire utility
Above are the tricks if you get stuck but after root install twrp then install fff
I would assume that your not rooted sounds that way to me.
By the way the yellow triangle will be replaced with the new bootloader a white kindle and a blue fire this will be considered the yellow triangle in the description. Good luck
Install permanent root
Install twrp
Install fff
All should be the newest at this point hopefully
Thanks ThePooch.
So, apparently I have to re-root my KF as for some reason it was not rooted correctly. Right?
I believe so the worst that could happen is it could fail if the file already exists but let's hope it goes fine
tanwar said:
Thanks ThePooch.
So, apparently I have to re-root my KF as for some reason it was not rooted correctly. Right?
Click to expand...
Click to collapse
You don't necessarily have to let KFU do its entire "rooting" process.
If you can get into recovery and you are comfortable with adb, you can follow the "Rooting the stock software" section in this guide...
http://forum.xda-developers.com/showthread.php?t=1638452
to push the 'su' binary into the /system partition and set ownership/permissions.
If you are not comfortable with that, you can use KFU, but it will be doing a lot of extraneous things that you probably don't need.
Under extras you will put on Google frame work and go launcher after you have confirmed bootloader recovery and root note that the market can only be seen using go launcher not the kindle one.
---------- Post added at 12:32 AM ---------- Previous post was at 12:13 AM ----------
The easiest way to test root is to download an app that will request root permissions like root explorer for instance if you open the app and you don't see a dialogue pop up requesting permission its very likely that it isn't rooted.
Read-Only file system
Thanks Kinfauns and ThePooch for tips.
@kinfauns, I tried following the steps given in "Rooting the stock software" section of the given link.
http://forum.xda-developers.com/showthread.php?t=1638452
However, when I tried to push su binary file to system folder
adb push C:\kfu\software\su /system/xbin/
I got following message:
failed to copy 'su' to 'system/xbin/su': Read-only file system.
How can I change the permissions of the folder to copy su file?
I tried using shell command:
adb shell chmod 755 /system
However, I got the same message again "Read-only file system"
Please help!!
nevermind I see your on windows 7 like me. adb shell mount system will mount system to read/ write
its all in kinfauns post you just need to be it recovery to execute the commands I believe I would paste it here but its just as easy to read them from there
adb shell chmod 6755 /system/xbin/su not 755 you can probably safely copy and paste the commands from his post right into cmd he has it written up very nicely
tanwar said:
Thanks Kinfauns and ThePooch for tips.
@kinfauns, I tried following the steps given in "Rooting the stock software" section of the given link.
http://forum.xda-developers.com/showthread.php?t=1638452
However, when I tried to push su binary file to system folder
adb push C:\kfu\software\su /system/xbin/
I got following message:
failed to copy 'su' to 'system/xbin/su': Read-only file system.
How can I change the permissions of the folder to copy su file?
I tried using shell command:
adb shell chmod 755 /system
However, I got the same message again "Read-only file system"
Please help!!
Click to expand...
Click to collapse
I think you may be trying to do this while booted into the system software. That won't work because you don't have root access there and you won't be able to mount (or remount) a partition without those privileges. The rest of it won't work without R/W access to the partition, as you've already seen.
To be clear, the device needs to be booted into recovery (TWRP or CWMR) where you do have root privileges. Make sure you start with step one to get the system partition mounted. If successful, "mount" will provide no output.

[Q] KFU 0.9.8+ not rooting new KF1 w/ 6.3.2

I have tried every version of KFU from 0.9.5 on up, and have reinstalled the KFU drivers multiple times. FFF & TWRP install fine, but when KFU gets to the part where it removes the root checker I get an error:
Attempt to remove root checker
mv: can't rename 'system/bin/check_rooted': No such file or directory
Please wait...
The Kindle then continues to boot up as normal. It then attempts to install SU:
Installing Superuser.apk
Error: Cound not access the Package Manager. Is the system running?
KFU then states that root has been installed, when in fact it has not. I know that I could simply use TWRP to flash CM 10.1 which would have root, but this Kindle is my wife's (I already have CM on mine). I need root to be able to use Titanium Backup and save all of her app data. Any help resolving this would be appreciated!
diskoman21 said:
I have tried every version of KFU from 0.9.5 on up, and have reinstalled the KFU drivers multiple times. FFF & TWRP install fine, but when KFU gets to the part where it removes the root checker I get an error:
Attempt to remove root checker
mv: can't rename 'system/bin/check_rooted': No such file or directory
Click to expand...
Click to collapse
This is normal. Nothing to really worry about.
Installing Superuser.apk
Error: Cound not access the Package Manager. Is the system running?
KFU then states that root has been installed, when in fact it has not. I know that I could simply use TWRP to flash CM 10.1 which would have root, but this Kindle is my wife's (I already have CM on mine). I need root to be able to use Titanium Backup and save all of her app data. Any help resolving this would be appreciated!
Click to expand...
Click to collapse
I've run into this problem before. This is from attempting to install the .apk before the device is booted far enough for the package manager to be available. This can be easily fixed by pausing the script for an amount of time to ensure the package manager is available before continuing with the rest of the script. You should probably contact the developer about it.
You might be able to just install Superuser.apk using the following command:
Code:
adb shell pm install -r /system/app/Superuser.apk
THANK YOU!!!
soupmagnet said:
This is normal. Nothing to really worry about.
I've run into this problem before. This is from attempting to install the .apk before the device is booted far enough for the package manager to be available. This can be easily fixed by pausing the script for an amount of time to ensure the package manager is available before continuing with the rest of the script. You should probably contact the developer about it.
You might be able to just install Superuser.apk using the following command:
Code:
adb shell pm install -r /system/app/Superuser.apk
Click to expand...
Click to collapse
Your response made all the sense in the world (duh moment for me, lol)! I took a look at the batch file for KFU, and located the line of code where it calls the sleep function to wait for the Kindle to boot up:
::Wait for Android to finish booting, and install Superuser.apk.
tools\adb wait-for-device
tools\sleep 20
echo. Installing Superuser.apk
tools\adb install -r files\Superuser.apk 2> nul
I changed the 2nd line of the section to call sleep for 60 seconds instead of just 20. Voila! That did the trick. I have sent a message to the developer as well, so that he can make this simple fix. Thanks again for taking the time to help get me on the right path! :highfive:
diskoman21 said:
Your response made all the sense in the world (duh moment for me, lol)! I took a look at the batch file for KFU, and located the line of code where it calls the sleep function to wait for the Kindle to boot up:
::Wait for Android to finish booting, and install Superuser.apk.
tools\adb wait-for-device
tools\sleep 20
echo. Installing Superuser.apk
tools\adb install -r files\Superuser.apk 2> nul
I changed the 2nd line of the section to call sleep for 60 seconds instead of just 20. Voila! That did the trick. I have sent a message to the developer as well, so that he can make this simple fix. Thanks again for taking the time to help get me on the right path! :highfive:
Click to expand...
Click to collapse
Yeah, 60 seconds may be a bit much LOL, but I'm glad it worked out for you :good:

[Q] Problem running "adb push stack /data/local/tmp/"

Currently my KF2 is running stock amazon OS (10.4.3), and I rooted the device following http://forum.xda-developers.com/showthread.php?t=2075959
I believe it has been rooted successfully, as I am able to use Titanium Backup and grant root access to ES File Explorer. I also downloaded some root checker app from google play store to double check if it has root privileges.
As I want to flash CM10.1 to my KF2, I have been following Hashcode's guide to install a 2nd bootloader http://forum.xda-developers.com/showthread.php?t=2100963. I am getting stuck with Step 3. I get the following error:
Code:
C:\kfu\tools>adb push stack /data/local/tmp/
failed to copy 'stack' to '/data/local/tmp//stack': Permission denied
elegant_universe said:
Currently my KF2 is running stock amazon OS (10.4.3), and I rooted the device following http://forum.xda-developers.com/showthread.php?t=2075959
I believe it has been rooted successfully, as I am able to use Titanium Backup and grant root access to ES File Explorer. I also downloaded some root checker app from google play store to double check if it has root privileges.
As I want to flash CM10.1 to my KF2, I have been following Hashcode's guide to install a 2nd bootloader http://forum.xda-developers.com/showthread.php?t=2100963. I am getting stuck with Step 3. I get the following error:
Code:
C:\kfu\tools>adb push stack /data/local/tmp/
failed to copy 'stack' to '/data/local/tmp//stack': Permission denied
Click to expand...
Click to collapse
Can you navigate to your '/data/local' directory and confirm that you do have a 'tmp' folder?
soupmagnet said:
enter...
Can you navigate to your '/data/local' directory and confirm that you do have a 'tmp' folder?
Click to expand...
Click to collapse
Using ES File Explorer, I can navigate to '/data/local' directory and I can see a 'tmp' folder.
Problem solved. Instead of using "adb push", I just place the file into '/data/local' manually. The rest of the steps went fine!
No data/local/tmp folder...
So i go into my ES file explorer and i go to my data folder and it shows that i have no local folder, i actually have no folders in this directory. how would i create a local/tmp folder so i can successfully S-OFF my phone?
There are folders in there, key thing is in order to see them you need root. Its weird like that, they might show up over and adb shell if you
Code:
adb shell
cd /data
ls
Or for a more formatted column listing use "ls -n", it will also display permissions of files and folders.
Sent from my Amazon Kindle Fire HD running CM10.1 Tablet UI using xda-developers app

need help system is read only

Hi,
im trying to install twrp and having a tough time trying to find a solution to my problem, ive rooted using zeroepochs guide, when i run the command to extract and install the recovery.zip i get a read only error as below
[email protected]:/ $ sh /sdcard/firetv2_recovery_v5.zip
Extracting unzip...
Remounting /system read-write...
mount: Invalid argument
Extracting...
checkdir: cannot create extraction directory: /system/recovery
Read-only file system
ln: /system/bin/ext4_resize: Read-only file system
Remounting /system read-only...
any help is appreciated.
You need to go into root admin.
Use the command "Su" to get into root shell
Hi, thanks I've tried that and get the same issues?
skirocket said:
Hi, thanks I've tried that and get the same issues?
Click to expand...
Click to collapse
After su command was sent through ADB, have you granted access on the pop up screen that appears at first use?
- Reset (unplug and plug back in) unit
- let it boot into main menue
- connect through ABD
- at adb shell prompt type su
- enter
- A pop up screen should appear on your TV asking you to grant access for su
- using your FireTV remote select yes and press OK.
- see if issue is solved
bula1ca said:
After su command was sent through ADB, have you granted access on the pop up screen that appears at first use?
- Reset (unplug and plug back in) unit
- let it boot into main menue
- connect through ABD
- at adb shell prompt type su
- enter
- A pop up screen should appear on your TV asking you to grant access for su
- using your FireTV remote select yes and press OK.
- see if issue is solved
Click to expand...
Click to collapse
hi thanks for the reply, i have done that and it says that i have been granted SU but i get this message
[email protected]:/ # sh /sdcard/firetv2_recovery_v5.zip
Extracting unzip...
Remounting /system read-write...
mount: Invalid argument
Extracting...
checkdir: cannot create extraction directory: /system/recovery
Read-only file system
ln: /system/bin/ext4_resize: Read-only file system
Remounting /system read-only...
Sorry to pick this up again. But i have the same Issue. How have you installed TWRP?
Thanks
I used King root, then installed a custom rom, had too many problems trying to install twrp previously.
skirocket said:
I used King root, then installed a custom rom, had too many problems trying to install twrp previously.
Click to expand...
Click to collapse
Thank you
so you used this guide http://www.aftvnews.com/how-to-root...covery-and-a-pre-rooted-rom-all-without-a-pc/ with your rooted Fire Tv2?
i used this guide http://www.aftvnews.com/how-to-root-the-fire-tv-2-using-kingroot-no-usb-cable-required/. but at the time if i remember i updated my box to stock update 5.0.5 from 5.0.4 then rooted again.
Hi, the trick is to use this Guide http://www.aftvnews.com/how-to-root-the-amazon-fire-tv-2/
Worked perfectly
I know this is an old thread but I'll post what worked for me just in case...
On ADBLink, select Root → Mount /system RW. This will make /system writable.
Not sure if this is necessary, but I switch back to RO (read only) once I was done with my changes.

Categories

Resources