yashsingh1/xdaforums huggingface dataset:
[Kindle Fire General] shug176:
Guys where do i start how do i temp root?i have my device rooted i installed go launcher as an apk and it bricked my kindle fire my pc is still linking with the fire i juat need to know where do i start do i open command prompt etc?I click adb and a window opens and closes very quickly im lost where to start kindle was to be an xmas gift :(
[Kindle Fire General] ubeezee:
Give it a try, if you cant get on the device at all then it wont hurt it anymore by attempting the fix.
[Kindle Fire General] ubeezee:
you tried the same as what...?

sounds like you are trying to do chmod 755 on the /system/app directory without mounting it first...
[Kindle Fire General] ubeezee:
How to begin the how-to using cmd:

*note* if you are needing to read this PLEASE do not attempt to tamper with your device again unless you think you can fix it on your own!!!

1. Download the files you need and stick them in your C:\ directory

2. stick fastboot in C:\KindleFireRoot\files directory

3. open cmd (command prompt)

4. navigate to the files directory on your C:\ drive

​

should look similar to this:

​

C:\users\userName>cd C:\KindleFireRoot\files

5. now you are in the kindleFireRoot\files directory

​

should look something like this:

​

C:\KindleFireRoot\files>

Now you can start following the directions in the how-to and type exactly what you see to the right of the $ symbol.

Do not stray from these directions and type in exactly what you see!

If the directions don't work and you don't see a solution in this thread already then you probably bricked your device beyond this way of recovery and need to seek other ways. If you are still having troubles please post a DESCRIPTIVE question/post with the problems you are facing/what you did to brick your device and we can try and help you. Thank you.
[Kindle Fire General] ubeezee:
please read the updated first post. I added in some info about how to start the how-to using cmd
[Kindle Fire General] shug176:
Thanks a lot im getting there slowly this is great help as a novice i stumbled along getting the kindle rooted and if it werent for help on here id have given up on repairing it.
[Kindle Fire General] ubeezee:
no problem, hope that helps
[Kindle Fire General] droidxmustang:
I bricked my phone trying to change my wallpapers i'm not sure if i'm doing this right or what not but it's saying i'm not permitted.

Does anyone have another way of fixing my kindle fire? I changed the framework.res.apk it rebooted and got stuck? Does anyone have a step by step to forcing a good framework.res.apk? or something any help would be great!!!
[Kindle Fire General] yareally:
No one can help you if you don't list the steps you did to screw up your device in the first place. We're not mind readers.

Changed is not a good enough word, you have to say what you did to "change" it. Be explicit.

If you want step-by-step directions, you have to give step-by-step directions.
[Kindle Fire General] droidxmustang:
I followed the guide to change the wallpapers using apk multi tool. I changed all 21 wallpapers with ones of my choice. I didn't change the name of the files or anything put it back onto the sdcard then in root explorer i mounted the framework-res.apk back into the system/framework folder. phone automatically rebooted and got stuck in loop
[Kindle Fire General] yareally:
What guide? Dude, I don't have a kindle. You have to be explicit. I only help people because I like to and I know enough of how it works underneath (not from a user perspective). I don't actually own this device (but that hasn't stopped me from helping lots in this thread that can give me the information I need). We can keep playing 20 questions or you can assume I know nothing of the kindle other than what you can see from the terminal console line (a.k.a. adb shell).

I'd like to help you, but it's getting tedious to keep asking. Please give the link to the guide you were using in the next post.
[Kindle Fire General] droidxmustang:
http://xdaforums.com/showthread.php?t=1355267
[Kindle Fire General] ubeezee:
What exactly is saying 'not permitted'? Did you try any of the steps? If you did when did you get this error??

There was another person in the forum just a few pages back who had the same problem you are having below is the steps that fixed his problem and might fix yours too..

So either didn't do the steps he listed correctly somehow or the permissions for the the apk are incorrect (they should be 644 and owner/group should be root).

if you have adb active, try

adb shell ls -l /system/framework/framework-res.apk

if you dont see it show permissions as rw-r--r--

then run:

adb shell mount -o remount rw /system

adb shell chown root /system/framework/framework-res.apk

adb shell chmod 644 /system/framework/framework-res.apk

adb shell mount -o remount ro /system

adb reboot

if that does not work, then you need to go back to the old file, get it from the amazon update (download the update from their site and unzip it with 7zip or winrar, ignore the fact it's called bin and just rename it if you don't know how to do it otherwise to .zip).

then run

adb push framework-res.apk /data/local/tmp

adb shell mount -o remount rw /system

adb shell mv /data/local/tmp/framework-res.apk /system/framework/framework-res.apk

adb shell chown root /system/framework/framework-res.apk

adb shell chmod 644 /system/framework/framework-res.apk

adb reboot
[Kindle Fire General] droidxmustang:
I did this command "adb shell ls -l /system/framework/framework-res.apk" and got ----rwxr-x system sdcard_rw 8529401 2011-12-08 00:00 framework-res.apk. Whenever i try to do like this step adb shell mount -o remount rw /system or this step adb shell mount -o remount rw /system i get mount: Operation not permitted message.
[Kindle Fire General] ubeezee:
you need to temp root first

follow steps 1 and 2 on the first post on temp rooting then try again
[Kindle Fire General] buhind:
hi

ok i bricked my fire trying to change the wallpapers but i have a copy of my original framework-res.apk i backed it up before messing with it using apk multi tool.

do i need to install fastboot and zergRush root ? or without them i can push my original framework-res.apk and overwrite the messy one?

i dont know if i have adb active how do i know that ?

all i have is sdk manager which i used to root my fire with superoneclick and the prompt command please tell me if those are enough and where to start :(
[Kindle Fire General] yareally:
you need to read the last 3-4 posts before you and do that...
[Kindle Fire General] elderkai:
I encounter an error on the first step. For some reason when I try to push zergRush to /data/local/tmp, it says that there is no such file or directory.

EDIT: I know for a fact that my bricking was from changing folder permissions on /system. Also, is there a command that needs initiated to let it know which device I'm wanting to push it to or since there's only one device recognized it should just work?
[Kindle Fire General] yareally:
more details...
[Kindle Fire General] elderkai:
I edited my first post. Hopefully with the details you need.

---------- Post added at 09:29 AM ---------- Previous post was at 09:07 AM ----------

If you need even more info, then I'll do my best.

My main goal was to install the Android Market on the device. I already installed the Google framework and the next step was to place the Vending app in /system/app. I tried for a good bit just repeating the same process over and over with /app not seeming to actually change to r+w even when mounting it as so. The .apk(or any file) wouldn't transfer.

I was reading the posts by people in the community on the thread walking through it and someone said they managed to get it to work by setting the permissions for the parent folder(/system/) to r+w. Without thinking or doubting it, I manually set the permissions for the /system/ folder, rather than mounting as, to r+w/r/r. Immediately everything FC'ed and then it rebooted and went into the boot cycle.
[Kindle Fire General] jonehni:
if that does not work, then you need to go back to the old file, get it from the amazon update (download the update from their site and unzip it with 7zip or winrar, ignore the fact it's called bin and just rename it if you don't know how to do it otherwise to .zip).

then run

adb push framework-res.apk /data/local/tmp

adb shell mount -o remount rw /system

adb shell mv /data/local/tmp/framework-res.apk /system/framework/framework-res.apk

adb shell chown root /system/framework/framework-res.apk

adb shell chmod 644 /system/framework/framework-res.apk

adb reboot

Where do I download the update file to?

Thank you for your help
[Kindle Fire General] fr4nk1yn:
haha, bricked again with a build.prop mod.

back up quick with these instructions and my build.prop backup!

thanks again. I have to stop this habit :-)
[Kindle Fire General] shug176:
Guys when trying this command adb shell chmod 755 /data/local/tmp/zergRush i get device not found anyone any ideas please?
[Kindle Fire General] ubeezee:
you can download it anywhere you want on your pc. Just make sure the file you are pushing is in the directory you are accessing in cmd. Before you did "cd C:\KindleFireRoot\files"

so just do the same but whatever directory you have the framework-res.apk at
[Kindle Fire General] ubeezee:
If you changed the permissions to your system directory thats almost as bad as deleting system32 on your pc. You probably wont be able to access adb shell (if you can then let us know). You may need to get the cable mentioned a few posts back that boots your device right into fastboot.
[Kindle Fire General] ubeezee:
can you post exactly what you have in the cmd? Also some people have fixed this by unplugging and replugging in the device, changing computers, restarting your computer etc. If you type adb devices the device should show up
[Kindle Fire General] shug176:
mount is not recognized as an internal or external command operable programme or batch file. Then i see a line saying this c:\KindleFireRoot\files\chmod 755 /system/app
[Kindle Fire General] duramas:
Okay so my problem is that I don't have shell access so I can't do anything.

BUT I actually do have shell access until I reach the "Your Kindle has detected a problem and must clear App storage..." screen. At that point shell no longer works, but when you press the power button and after it reboots you gain it back until it reaches that message screen. Any ideas on how to stop if from getting back to that recovery screen?
[Kindle Fire General] ubeezee:
i think you may be typing in things incorrectly? Not sure - can you post a picture of your command prompt, that would help a lot.
[Kindle Fire General] ubeezee:
sounds like everyone else who had their permissions screwed up.. post what your perm on /system/ are

adb shell

ls -l /system/

what did you do to brick your kindle?
[Kindle Fire General] elderkai:
Hm. I am completely broke and have no job. Is there no way to get adb to work with the system permissions change to r+w for the owner(what i did)? I colud see the device and **** like that, but I couldn't push zergRush. Now, I think that permissions for users/group were read-only. >.< I can't remember. Force Closed way too fast.
[Kindle Fire General] duramas:
I uhm had copied over stuff from /system/framework and /system/etc/permissions and messed up by merging the folders instead of copying directly to the directory. It messed up the permissions of those folders themselves. Then apps would immediately force close after trying to open them after I thought I had fixed the permissions. I rebooted and the recovery thing came up, figured I'd do it and I would just have to reroot or something, but it ended up putting me in the permanent boot loop.

If I hadn't done the recovery I possibly could have fixed it if I still had SU during that small window of time before the recovery comes up.
[Kindle Fire General] duramas:
Here you go, screenshot attached.

What I did is in the post above

And I guess the folders I had copied over are the ones on the sdcard.
[Kindle Fire General] ubeezee:
if you can access adb shell then we can look at your permissions

adb shell

ls -l /system/

otherwise if you cannot access adb then theres nothing you can really do
[Kindle Fire General] ToxicCosmos:
First of all, thank you for this post. :]

Before I try this, I have a question though. This will require rooting my KF, right? Doesn't that void any standing warranty? I'm just wondering if it would be better to return mine and get another instead of risking it - since it's still under warranty.

In case it matters, here's what I did:

Yesterday I tried downloading and installing Go Launcher because I wanted to add keyboard language change options. I found an article whose steps involved first downloading/installing Go Launcher. It was supposedly a way to do it without rooting the KF. There was nothing but positive feedback and no one else seemed to have a problem with the GL app, so I figured I'd try it.

Unfortunately, when it installed and I tried to use it, it froze. Sadly, I had checked the "use Go Launcher as default" option and so wasn't able to switch back. I ended up trying to turn it off and then back on again but was then stuck with the "Kindle Fire" splash/loading page. That's all it does now. I've tried to hard reset it - to no avail. Even my computer won't recognize it anymore.

Maybe it would be better to just return it while I can?
[Kindle Fire General] jojo54696:
thanks for this, bookmarking.
[Kindle Fire General] duramas:
So I made a factory cable with directions from here:

http://www.androidbrains.com/index.php/2011/12/03/kindle-fire-bricked/

I plug it into the Kindle Fire, then the computer and it boots up and stays on the Kindle Fire splash screen like in the youtube video from that article.

I use the same command "fastboot -i 0x1949 getvar product, says "product: kindle" like in the video.

If I do fastboot devices, nothing, if I try to flash and update.zip it says:

archive does not contain 'android-info.txt'

archive does not contain 'android-product.txt'

error: update package has no android-info.txt or android-product.txt

If I try any other command including "fastboot reboot" it just hangs with <waiting for device>.

So any ideas on what I do with this thing to get my Kindle Fire back up and running?
[Kindle Fire General] shug176:
thanks for taking a look i think im typing it wrong tried it few different ways though

[/URL] Uploaded with ImageShack.us[/IMG]
[Kindle Fire General] lthlongcd:
Please help me!

The Kindle Fire now is not recognized by the command adb devices thought the driver for it has been installed

C:\KindleFireRoot>cd files

C:\KindleFireRoot\files>adb devices

* daemon not running. starting it now *

* daemon started successfully *

List of devices attached

C:\KindleFireRoot\files>

Now the logo is not flahshing anymore, then together with the device is not attached, I cannot do any thing to unbrick it.

any help is highly appreciated!
[Kindle Fire General] ubeezee:
Looks like your user and group permissions are messed up for bin and framework

try doing

chown user:group file_name where user is the user you want and group is the group you want

chown root:root /system/bin
chown root:root /system/framework

or sometimes android doesn't like : so have to use .

then check your perm again and see if they match with the others
[Kindle Fire General] ubeezee:
I really dont know much about the warranty on the KF. But yes rooting would void warranty, although this fix uses temp root so it would be gone once the device is back up and running. Besides, the update removes root as well. I'm not even sure how strict they are about putting non market apps on your device, and if thats what caused your kindle to brick then they might not fix it. However, I would definitely give it a try though before you attempt to fix it yourself. The worst that would happen is they wouldn't and then you can fix it by using this guide. Good luck!
[Kindle Fire General] duramas:
No such user root:root and doing root alone just says read only file system error.
[Kindle Fire General] BradOKeefe:
I'm stuck. Any help would be appreciated.

I screwed up permissions on /system or /system/app and ended up with boot loop on my KF.

I modified a usb cable and applied 5v from pin 1 to pin 4. This allowed me to get my KF into Fastboot mode. I then used Fastboot to set bootmode to 0x4002 so that i could reboot into Fastboot without the need for modified cable.

So far so good.

I then used Fastboot to "flash recovery updaterecovery.img" and then changed bootmode to 0x5001, and then rebooted.

Upon reboot, I am in Clockwork.

I then used adb shell to try and install CM7:

c:\Users\bokeefe\Documents\Android\android-sdk-windows\tools>adb push update.zip

/sdcard/update.zip

4489 KB/s (93332924 bytes in 20.300s)

c:\Users\bokeefe\Documents\Android\android-sdk-windows\tools>adb push updatereco

very.img /sdcard/updaterecovery.img

4830 KB/s (4550656 bytes in 0.920s)

c:\Users\bokeefe\Documents\Android\android-sdk-windows\tools>adb push log /sdcar

d/log

1 KB/s (1870 bytes in 1.000s)

c:\Users\bokeefe\Documents\Android\android-sdk-windows\tools>adb push last_log /

sdcard/last_log

1 KB/s (1870 bytes in 1.000s)

c:\Users\bokeefe\Documents\Android\android-sdk-windows\tools>adb push log /cache

/recovery

1 KB/s (1870 bytes in 1.000s)

c:\Users\bokeefe\Documents\Android\android-sdk-windows\tools>adb push last_log /

cache/recovery

91 KB/s (1870 bytes in 0.020s)

c:\Users\bokeefe\Documents\Android\android-sdk-windows\tools>adb shell

~ # dd if=/sdcard/updaterecovery.img of=/dev/block/platform/mmci-omap-hs.1/by-na

me/recovery

dd if=/sdcard/updaterecovery.img of=/dev/block/platform/mmci-omap-hs.1/by-na

me/recovery

8888+0 records in

8888+0 records out

4550656 bytes (4.3MB) copied, 0.839294 seconds, 5.2MB/s

~ # idme bootmode 0x5001

idme bootmode 0x5001

/sbin/sh: idme: not found

~ #

At this point, I'm not sure how to change bootmode to 5001 so that I can initiate the update. If I simply reboot the device, Clockwork opens, but if I pressed the power button repeatedly I just receive the following:

-- Install from sdcard...

Finding update package...

E:Can't mount /sdcard/update.zip

Installation aborted.

I've spent the last couple of days reading post from the CM7 thread, this thread and every thread I can find dealing with the KF but haven't seen anyone with the same problem.

Being a NOOB, I'm guessing I need to do what I've done with adb but figure out how to set the bootmode to 5001 so that it will reboot and init the update.

Again, any advice would be greatly appreciated.

Thanks,

Brad
[Kindle Fire General] yareally:
have to mount the system first in read/write and then do chown root.root filename

before you ask, you can find how to do that somewhere in this thread.

---------- Post added at 05:47 PM ---------- Previous post was at 05:44 PM ----------

You can access adb while in recovery
[Kindle Fire General] BradOKeefe:
Yes, but don't I have to set the bootmode to 5001 in order to get into recovery? That is where I'm having a problem.
[Kindle Fire General] yareally:
well you can set the boot mode in fastboot as well as in recovery via adb. if you can access adb otherwise (whatever limbo mode you bricked yourself into) then you can set it there as well. You normally have to mount the /system directory in recovery to actually get the shell to work, so if you arent able to do that then, idk.

What you're asking goes kind of beyond the scope of this thread. We don't really deal with issues caused by installing experimental firmware (what you're doing), just issues people have with the stock software that caused a bricked device. You can ask regardless, but the only people giving direct solutions 95% of the time are myself and the OP and neither of us have done what you are currently doing.

I don't really understand what your problem really is with what you're doing though. Your solution appears to be right in front of your face (since you have that modified usb cable). If you're going to experiment with your device, you need to think everything through or you're really going to screw it up. The fire is currently not a modder friendly device, despite not having a locked bootloader.
[Kindle Fire General] shug176:
ok after inserting this - fastboot -i 0x1949 devices i get what is shown in the picture below [/URL] Uploaded with ImageShack.us[/IMG]

what do i do next? i added - adb push zergRush /data/local/tmp but i get error device not found what am i doing wrong guys ?im getting closer
[Kindle Fire General] yareally:
You're not using the version of fastboot in the OP. That's an old version and thus, your problem.
[Kindle Fire General] materoprodutions:
hey guys sorry, I'm very new to all this adb command but now I'm stuck in bootmode...

I tried to follow the guide with no success.

what I did was modifying the settings.db for another keyboard but for some reason now i'm stuck in boot-loop

the file I modified is here /data/data/com.android.providers.settings/databases/settings.db

and I have a backup in the same folder called settings.db.bak.

how can I restore the previous file ?

I can get adb running but I'm very confused....

thank you
[Kindle Fire General] shug176:
went and got the fastboot from the op and now after adding fastboot -i 0x1949 im stuck on waiting for device i manually rebooted the device but still nothing happening
[Kindle Fire General] jasonkutc:
adb: permission denied when pushing zergRush

When I try to push zergRush, I also get the error, permission denied.

When I look at the permission of my /system/app/, i have d--------- rather than drwxr-xr-x. Therefore, I know the permission is the problem why my kinlde became brick. how can I fix? chmod -R 755 /system/app/ gives me bad mode error. Can you help?
[Kindle Fire General] materoprodutions:
Solved thank you
[Kindle Fire General] yareally:
sometimes the best way to solve problems is just let the user work it out themselves

glad you were able to :)

Semi related note...those that cannot get adb or fastboot working are in that group. You need to just read the thread and find the answers given to the dozen or so others that had the same issues. Otherwise, we're just going to repeat ourselves.
[Kindle Fire General] crag11:
Are we supposed to have the boot looping kindle connected to the computer for all of these steps? That's what I'm doing and I'm having problems.
[Kindle Fire General] crag11:
One other issue... I think I got to step 3 successfully, but I don't understand this step. Do I type "N1@n~ ~" right after zerg is done? Its not really doing anything for me. Also for step 2 do we actually type "N1@n~" at the beginning to? Do we type the dollar signs at the beginning of any of these commands?
[Kindle Fire General] ubeezee:
Yes you need to have your KF connected the entire time!

No do not type N1@n~ that is just from cygwin - a cmd type thing I use.

Also no do not type the dollar sign - you should see the dollar sign but just type what is after it.
[Kindle Fire General] yareally:
Are you serious?

I give up :(

I don't like going off on rants to people, but you should not be doing anything to modify your kindle fire past what amazon gave you. If we help you and if you get it fixed, please tell me you're going to leave it that way and not try something else that will screw it up? Pleaseee?

Anyone else want to take over as patron saint of noobs?
[Kindle Fire General] ole175:
I went through this thread at least 3 times trying to find a fix for this. Just want to make sure im not missing anything. I am having the exact same issues as speed_racer is. I too changed my permission settings on my /system folder and now cant get into adb shell. Just keep getting permission denied. I read about the Motorola 'Factory Cable' but the only place I saw that sells it s out of stock. Is there a fix for this or should I just use this thing as an oversized hockey puck now?