yashsingh1/xdaforums huggingface dataset:
[Fire General] :
1. Download the appropriate firmware .bin you would like to update/refresh your device with from Amazon. Never get a downgraded version. It will cause a hardbrick. Download Android SDK tools and install.

2. Open the SDK Manager as admin, it is n the directory you installed the sdk. (C:/Program Files(x86)/Android/android-sdk by default) Install the package near the top called platform tools.

3. When platform-tools is installed, move to that folder. Copy and paste the downloaded firmware .bin into platform-tools folder.

4. Open CMD/command prompt. Type "cd (copy and paste the directory of the platform-tools folder her)

5. Boot your tablet into recovery mode and go to the apply update from adb option. On your computer enter "adb sideload (full firmware filename here.bin)"
[Fire General] :
Don't run it as root (assuming you are) and inform me of the result please
[Fire General] MoonHowler_OG:
Everything fails and at very end says reboot: need to be root
[Fire General] dropnbassonu:
This may be completely unrelated, but any idea why an app I downloaded (YouTube Kids) doesn't open anymore? It worked yesterday, now when I try to open it the screen just goes back to the home page.
[Fire General] speedyrazor:
Hi, sorry, I'm not sure i understand, you say "Download the appropriate firmware .bin you would like to update/refresh your device with from Amazon", I meant can I completely replace the Amazon Fire os with the latest Android os?

Kind regards.
[Fire General] :
I don't know honestly. I don't that's related to the script, it doesn't debloat anything related to that
[Fire General] :
No. It has to be FireOS provided by Amazon
[Fire General] :
I think I know what's wrong. Ill have it fixed soon.
[Fire General] MoonHowler_OG:
Thank you very much. You will be making my 10 year old sister in law very happy. Thanks for your time on this.
[Fire General] jwildman16:
I got everything to process successfully except that when trying to sign into my Google account when opening the Play Store, I get, "Couldn't sign in. There was a problem communicating with Google servers. Try again later."

Edit: I figured it out. Google Play Services was not installed. I installed the 230 version from www.apkmirror.com by putting it in the downloads folder and accessing it through the Docs app (make sure "Install from unkown sources" is turned on in Settings). I was able to successfully log in and access the Play Store after doing that.

Edit 2: Seems to freeze when I tap Accept to install an app (trying Google Now Launcher). I'll let it sit for a bit and report back.

OK, so I got an error in notifications that I didn't see (it wasn't frozen). The error is: Error retrieving information from server. [RPC:S-7:AEC-0 NZGH-P4LZ-IMUHW]. Any ideas for fixing it?

Final edit: Restarted the tablet and all is good! :)
[Fire General] okers12:
Does this remove all the Kindle apps?

I would like to keep the reader app (unless someone has a good alternative to reading ebooks)
[Fire General] Pond-life:
There is a note on page 7 that it now leaves the kindle app in place
[Fire General] migueralliart:
Followed the steps on the first post and when rebooted it gets stuck on the fire logo.

The script went thru completely with no issues until the end where it says disvonnect your device. Then unplugged abd it has been stuck there for 10 mins.
[Fire General] :
Not good. Did you look at the trouble shooting section? Last person thay had that problem ran it as Admin. Please leave me any and all detials possible so I can fix this immediately. I tested it on my own fire before releasing so try it again and tell me the result.
[Fire General] :
You would have saved yourself soo much trouble if you just tapped the notification "Google is requesting an update to google play services" and accepting it XD Glad you got everything fixed. :)
[Fire General] jwildman16:
Would that have appeared before Google Play Services was installed? Once I had realized I was missing the notification from the Play Store, I kept an eye out for any other notifications, but it could have been there before I manually installed Play Services and I just missed it.

Anyway, the script was great and made my dad really happy. He got the tablet for my mom for Christmas. Thanks!
[Fire General] dropnbassonu:
Quick question - For any further update, including the one that now has the Kindle app, do we just run the script again? Will it wipe the device if we do that? Sorry if these are stupid questions...
[Fire General] :
Adb sideload stock firm to refresh /system then run the updated sciipt
[Fire General] :
Try the linux version now :3
[Fire General] diggdog:
Will this work on all firmware versions or do we need to update to 5.1 first?

I have one on 5.0.1 and not sure of the best option.
[Fire General] migueralliart:
Ok i had to sideload a 5.1.1. Bin image and restore then i ran the script. The problem was that. I originally ran it as an admin.

Tablet is running sooo much faster now. Thanks for this!!
[Fire General] okkookko:
thanks! plus questions

Hi! Thanks for putting this together - I have a couple questions for you from a complete novice.

1) The script says to have the fastboot driver installed on the device before continuing. How do I do this? By running fastboot.exe included in the package?

2) Do I need to download any of the package files to the tablet before doing this? Or can they stay on my desktop?

Thanks again
[Fire General] MoonHowler_OG:
Affirmative will try it and let you know how it goes
[Fire General] Camgse:
System Size?

Is it normal to take over 3.5 GB of system memory with this script. Otherwise it's great. Thanks so much!
[Fire General] MoonHowler_OG:
Still doesn't work gives same output everything is no such file or directory then ends with reboot: need to be root. But at least this time it doesn't restart my laptop but nothing happens on the tablet.

Tried again and it says its debloating but nothing happens everything us no such file. Last output is deleting special offers but nothing happens.
[Fire General] DREDOGMOR:
Thanks

Works great on my fire 5th gen THANKS...can it work on Kindle fire 7" HD 3rd gen 2013
[Fire General] MikeTheDog:
mine is stuck at fastboot mode, but in device manager it is showing as htc dream not fire?
[Fire General] :
No, not at all.. The script doesn't install even 500MB...
[Fire General] :
That confused me at first too. But it is normal. Since you are stuck in fastboot you are missing the fastboot drivers.
[Fire General] :
It works on every version. :)
[Fire General] :
1) The drivers are /usually/ installed automatically by windows, if it is not is when you have to install the drivers manually

2) Nope, script does it all for you :)
[Fire General] Camgse:
Any thoughts on what I should try? It is currently showing 3.2 gb refreshing and not letting me look at specifics.
[Fire General] MoonHowler_OG:
Any info on what's going wrong with the Linux version?
[Fire General] diggdog:
Thanks - Will the google play services work with this script on 5.0.1? I read in previous threads that there were some problems
[Fire General] KennBr:
Edit:

Just downloaded the script and confirmed the adb binary doesn't have sufficient permissions. That might be because the files being extracted from the archive aren't having the permissions preserved.

Edit: Apparently the fastboot binary has the same problems. Quick fix...

chmod -R 777 ./

Within the directory that the script is in.

Edit: Line 67 of the script crashes because of unquoted/unescaped paranthesis. Please put any text containing paranthesis within quotation marks as so...

echo "Deleting Special Offers (Amazon Advert Spam)"
[Fire General] MoonHowler_OG:
Thanks for the advice been trying it since you replied but still getting same. I know im a little rusty with linux but I know Im following directions correct

But now it just puts out cannot execute binary file: Exec format error

Tried from a fresh start now itjust says permission denied
[Fire General] KennBr:
Hmm okay that sounds like an architecture problem, I. E. the binary is compiled to run on a different kernel than you have.

Can you paste the result of

uname -ra && file ./adb

What distro is it? I would just install adb tools from your distro repository, then replace the calls to the local binaries with calls to the system ones, so just replace the prefixing ". /" from adb and fastboot. If you don't want do it by hand you can use sed...

sed -i "s/\.\/fastboot/fastboot/g" 1_FIRE_ROOT.sh && sed -i "s/\.\/adb/adb/g" 1_FIRE_ROOT.sh
[Fire General] MoonHowler_OG:
Here is what it gave me from terminal:

3.13.0-46-generic #76-Ubuntu

i686 i686 i686 GNU/Linux
[Fire General] KennBr:
Okay yeah sounds like you're running a 32 bit kernel and the binaries are 64 bit.

Here is a guide on how to install the adb tools using apt. Then you can use the sed command I posted to call the system adb and fastboot rather than the binaries included.

http://bernaerts.dyndns.org/linux/74-ubuntu/328-ubuntu-trusty-android-adb-fastboot-qtadb (This should work on most Ubuntu versions)
[Fire General] MoonHowler_OG:
Thank you for all your help. I went and tried the sed command first and it got it installed. currently setting up the gmail account on the tablet. Again thank you my sister in law is going to be so happy when she gets home from her sleep over tomorrow.
[Fire General] KennBr:
You're welcome, glad it worked!
[Fire General] MoonHowler_OG:
Can't thank you enough it is so much better now and she is going to love it.
[Fire General] JaboJG:
Some apologies for you guys about the error on line 67 of the Linux script. I helped tidy up other bits of that script but missed that line. Updated script is available here: (if it hasn't already been included in OP's package) http://pastebin.com/C1PXnqxa
[Fire General] Camgse:
System Usage

So can other users tell me what a typical system usage is? Just trying to decide if I need to restore stock and start over to get more storage space back or if it is normal.
[Fire General] edmj:
getting error

Hi there,

Thanks for making this, really helpful idea.

I am getting a huge number of errors (well, the same error, a huge number of times) when I run the file and nothing happens:

adb.exe - Application Error

The instruction at 0x75792e38 referenced memory at 0x004b022b. The memory could not be written.

I've looked in the preceding posts but can't find anything about this. Any ideas would be gratefully appreciated.
[Fire General] TOCS88:
403 Forbidden error on the download link. :(

Thanks for putting this together for us.

Can anyone drop the latest version into their dropbox and share a link? I used the previous version and it only worked halfway. (Google Store installed but not rooted and ads are still present. It appeared to get stuck at fastboot) I am hoping to run the new version today.

Thanks!

EDIT: Now working.
[Fire General] KennBr:
Did you intend to have this new script call adb and fastboot from the system or to use the included binaries, because it is missing the prefixing ./

I could modify the script a little bit to ask the user if they want to use their system adb/fastboot or the included.
[Fire General] dubplate69:
Thanks for this worked perfectly. Only issue I have now is clicking on play store I cannot connect to servers. I tried deleting the cache but no joy. Anyone else get this?

---------- Post added at 10:25 PM ---------- Previous post was at 09:55 PM ----------

I think previous attempts at installing google services may have messed things up - I uninstalled and reinstalled google play services and it seems ok - cheers

http://xdaforums.com/amazon-fire/ge...cript-noob-t3276923/post64510712#post64510712
[Fire General] KennBr:
I took the liberty of modifying the Linux script slightly. It will now ask the user if they want to use the system installed adb ( if they have it ) or the files included in the zip archive. It also tests if the files in the zip archive have execution permissions ( since they did not when I extracted them, but haven't heard mention of it anywhere else, I'm going to assume there's some discrepancies there) and will chmod them to give them appropriate execution permissions.

http://pastebin.com/1KMP768b
[Fire General] :
Added! Thank you. Sorry I didn't have my sh*t together. Does anyone know if the Mac OS X version works?
[Fire General] KennBr:
No problem, I'm glad to help with the Linux support, I'm usually left copying and pasting out of .bat files so it's nice to see someone put the effort in to make the Linux users comfortable. I'm pretty adept at bash scripting so if there's any help needed in the future I'll try and chip in, but it seems pretty cut and dry. I know a lot more about using Linux than doing any of this stuff to Android, so if I see Linux support I will give what help I can.

Also, since Linux runs on so many older PCs, it's pretty likely there will be more users with 32 bit kernels unable to execute the included 64 bit binaries. I would advocate putting a link to this guide on how to install adb on Ubuntu ( since honestly most users will probably be on Ubuntu, and if not, will likely be able to figure it out for their respective distribution on their own )

http://bernaerts.dyndns.org/linux/74-ubuntu/328-ubuntu-trusty-android-adb-fastboot-qtadb
[Fire General] pride0929:
Tried the mac os X version tonight and this is what I got

auls-MacBook-Pro:macautorootfire Paul$ ./1_fire_root.sh

Plug in your device with a USB data cable.

Please enable ADB debuging in the developer options Tap Serial Number in Device Options 20 times if it is hidden

and unlock your device to the homescreen. This script will root your device.

make sure all adb and fastboot drivers are installed if you have problems.

ACCEPT THE PROMPT ON YOUR DEVICE TO ALLOW USB DEBUGGING!

MAKE SURE ALWAYS ALLOW IS CHECKED IF THE PROMPT SHOWS!

adb server is out of date. killing...

adb I 438 13140 usb_osx.cpp:259] Found vid=1949 pid=0222 serial=G000H404536309F1

adb I 438 13140 usb_osx.cpp:259]

* daemon started successfully *

Installing Google Play

4688 KB/s (29005099 bytes in 6.041s)

pkg: /data/local/tmp/com.google.android.gms.apk

Success

4730 KB/s (5716290 bytes in 1.179s)

pkg: /data/local/tmp/GoogleLoginService.apk

Success

5215 KB/s (2360070 bytes in 0.441s)

pkg: /data/local/tmp/GoogleServicesFramework.apk

Success

4420 KB/s (13859135 bytes in 3.061s)

pkg: /data/local/tmp/com.android.vending-5.9.12-80391200-minAPI9.apk

Success

Running exploit

< waiting for any device >

ERROR: Unable to create a plug-in (e00002be)

...

(bootloader) APPEND KERNEL CMDLINE

OKAY [ 0.005s]

finished. total time: 0.005s

resuming boot...

ERROR: usb_read failed with status e00002ed

FAILED (status read failed (No such file or directory))

finished. total time: 305.235s

Do not disconnect the device.

Please wait...

If it hangs here, please accept the USB debugging prompt on your device.

remount of system failed: Permission denied

remount failed

remount of system failed: Permission denied

remount failed

remount of system failed: Permission denied

remount failed

override rwxrwx--x root:root for '/data/dalvik-cache'?
[Fire General] eikome:
Fire won't reboot

I have a problem. During the first reboot, my Fire grabbed a driver from a different android tablet I'd previously connected to my computer (Fuhu Nabi 2), and my computer was identifying the Fire as the Nabi. I manually installed the driver included here, but the Fire isn't rebooting, and the script is stuck. It still looks like my computer thinks the Fire is the Nabi even with the new drivers. Can someone help? Sorry for any mistakes, I'm new to this.

Edit: I got it to restart using the instructions here: http://xdaforums.com/showthread.php?t=1951254
[Fire General] :
Remove all other usb cables. This is a fastboot bug.
[Fire General] pride0929:
Okay, there were no other cables plugged in besides my power cord
[Fire General] :
Gah. Alright. That's the only solution I see on the google bug report. DX Guess I gotta do more research. I'll inform you if I find anything.
[Fire General] pride0929:
If it helps the tablet also gives me some error based around usb file transfer
[Fire General] :
Thread moved to http://xdaforums.com/amazon-fire/general/root-playstore-busybox-optimize-flash-t3281804
[Fire General] LenAsh:
Thread closed as per above post
[Huawei Ascend Mate 2] tdamocles:
Tried wiping my phone clean and formated data in wipe section in twrp. Now no build prop is found and I can't flash Pac Rom? Help?

I can get into twrp and fastboot but nothing in twrp helps
[Huawei Ascend Mate 2] kimtyson:
If you really are stuck then you probably need to restore the factory image and go from there. You can find a thread to restore your phone. I'm too tired\lazy to find it.
[Huawei Ascend Mate 2] tdamocles:
Got it back to stock..will try PAC rom later.
[Android Q&A, Help & Troubleshooting] Davidambrosio:
I've had the Kyocera hydro air for sometime now and tried kingroot and many similar apps but nothing seems to work to root my phone so if anyone has any information on how to root my phone I'll be very thankful and will appreciate any help I can't get.
[Android Q&A, Help & Troubleshooting] RealWelder:
I've tried everything... Seems to be locked up tighter than a gnat's behind.
[Android Q&A, Help & Troubleshooting] Nilobave:
Use kingroot apk, but you need to remove your SD card(that's the reason why many say Kingroot doesn't work)The bad news is that, it won't be permanent rooted. So do what you wanna do with your phone as long as it's rooted and if you wanna keep it rooted, don't turn it off or restart it. I rooted mine that way and installed titanium backup and got rid of some bloatware
[Android Q&A, Help & Troubleshooting] FlyingBox566:
So just use the app without the SD card in the phone? Do I remove it right before I open the app and root, and do I have to restart after? I got temp root once with the kingoroot PC app but titanium backup didn't actually remove bloat, it just said it did. Thanks!
[Android Q&A, Help & Troubleshooting] iwantthis:
mine the same I've ha root on this thing like a hundred times won't stick
[Android Q&A, Help & Troubleshooting] KyoceraHelp:
---------------------------------------------------------------------

This temp root does not give you write permission

Its a broken root

:( sorry
[Android Q&A, Help & Troubleshooting] Nilobave:
I had an issue with this phone, i did temp root it and install supersu instead of kingroot using supersume. First of all, everything was going well, but after a few days the kingroot app started to increase its size up to the point it almost reached 1Gb in size. So I decided to uninstall it, and I got rid of that phone, I gave it to my son, he doesn't need a rooted phone anyway! ;)

P.D. I did not reset my phone in the days it was temp rooted because it would lose root access after a reset. But anyway, I've got me a LG G Stylo H634 and I did root it using kingroot. This is everything left of my bloatware
[Android Q&A, Help & Troubleshooting] mydarkthawts:
I had this same issue with my Kyocera hydro air C6745

I was able to temp/broken root my phone with the sd card still installed with kingroot and it said it rooted, tried to do supersu and it failed saying something was locked.(been a few days).

Rebooting obviously gets rid of the fake root. Titanium Backup did not really remove bloat at all, the space was never actually freed up either.

Seems to be a lost cause. I decided to unlock the phone through ATT's online method and had it pin unlocked within 5 minutes.

Just collecting dust as a backup phone for whenever it is called to duty.

On to the LG G Stylo. I have the LG G Stylo H631(T-Mobile variant, the best of all of them), man this phone is still beautiful to this very day.

It's my main phone, I bought it on eBay for around 20 bucks+Free S&H about a week ago and it was clean IMEI just google account locked(I removed it easily) and in amazing condition.

She is better than my Samsung note 4's and 5's I've owned.

Muuuuch more stable as well. I have not had a single hiccup with it.
[Xiaomi Mi 4C] luxi4r:
Can I install MI4 ROMs on the MI4c?
[Xiaomi Mi 4C] Karly Johnston:
Nope... the Mi4c has the SD808 chipset which is not compatible with the 801 found in the Mi4.
[K3 Note Q&A, Help & Troubleshooting] zaidou98:
after installed super su I reboot my devices but it block. with adb on my computer i have ? anauthorized and i have not a custom recovery, i am on lenovo k3 note. i want to install a cmw recovery but adb don't work and on my recovery i just have install uppdate.zip from sdcard 2. i think the sdcard2 insn't the my external memory card. and i have the official rom on my computer. how can i get authorized .?

need help please
[K3 Note Q&A, Help & Troubleshooting] freelancer81:
I am a bit lost at what you are saying.

If you mean you screwed up your phone, download the official stock ROM and flash using SPF tool.

Once your phone is working again, try to root it using any of the preferred method. If you don't like typing codes using ADB, go for the Lenovo K3 Note Manager by Pr1nc3V.
[Verizon LG G3] Ephemera:
So I recently bricked my G3 and it was a living hell to unbrick it from the lack of info but I gathered what I could and did it. My G3 is working great now so here's how I did it: (for the record I had no download mode, no recovery, and no system for flashing JasminROM after flashing a 35B bootstack...so don't do that.)

Required Materials:

Bricked G3

Screwdriver

Wire

USB Cable of good quality

PC

Solder (Optional)

Soldering Iron (Optional)

Things required on PC:

Secureboot disabled and test mode enable

Qualcomm USB Drivers (attached)

TOT File

Zip file containing willcracker's tools (attached)

Pics:

Have drivers installed and tot file ready. Also make sure battery is removed and top cover is removed to expose motherboard.

Steps:

1. Plug in USB cable to PC

2. Connect one end of the wire to ground (or solder it to the ground point as it is much easier to simply hold one wire end)

3. Connect other wire end to the second point from the bottom (see pic)

4. Plug in the USB cable to phone (should hear windows tone for connection within seconds)

5. Release second wire end

6. Check device manager for device, should be Qualcomm 9008 (jot down port #)

7. Open the zip

8. Extract contents to desktop

9. Run Board Diag as admin

10. Select downloaded tot file under Image Extraction (BIN section)

11. Choose an output folder (any folder) we'll call this Folder O

12. Click Extract

13. Choose B2 from first drop menu

14. Choose the correct com port from second drop menu

15. Choose Folder O for Target Dir

16. Check AP CHECK and EMMC Test

17. Hit Start

18. Restore Device should now have drop menu, select aboot and hit start

19. Do the same for: BackupGPT, boot, dbi, laf, PrimaryGPT, recovery, rpm, tz and finally sbl1 (MAKE SURE THIS IS THE LAST ONE FLASHED)

20. Phone should get disconnected

21. Put battery in

22. Power On

23. Flash the complete KDZ using LGFlashTool for a completely clean install. Make sure software versions match.

Credits to [MENTION=6562044]willcracker[/MENTION] for files and guide, I just rewrote it and made it much more clear (test point was in the posts under thread and weren't well explained). If you have questions, feel free to ask.
[Verizon LG G3] Ephemera:
Reserved.
[Verizon LG G3] CaptainElwood:
I used This thread and it also worked for the vs985.
[Verizon LG G3] droidian1441:
I'm about to do this for two different G3s. Will post back results. Both of them are hard bricked.
[Verizon LG G3] droidian1441:
One G3 is unbricked and I am about to do the other. Thread is perfect. Thanks a lot OP!
[Verizon LG G3] Thasian483:
THANK YOU, thought I my VS985 for good for spare parts only, but today it has been brought back to life, so Thank you
[Verizon LG G3] varunvk:
lg g3 vs985

hi bro... my g3 was hard bricked and i followed this guide and now my phone dosent even show lg logo... it will be just a blank screen with back light..... please help me... please
[Verizon LG G3] varunvk:
Hey i did this thing for all img... Including system userdata and cache... Now its still the same... When i switch it on it shows lg logo and goes to "Demigod Crash Handler"...... Help please........