yashsingh1/xdaforums huggingface dataset:
[Fire TV General] dk1keith:
I'm being a bone head.....I didn't download the script and unzip it to the sdcard just unzipped the all in one file. I just unzipped the script file and put root.sh on the sdcard
[Fire TV General] dk1keith:
I just copied the root.sh from the script file to the sdcard the chmod command worked and I am on 5.0.4

---------- Post added at 06:01 PM ---------- Previous post was at 05:59 PM ----------

Yes. Sorry if I wasn't clear. I only downloaded the all-in-one zip file. I didn't download the file with the script in it so the script wasn't on the sdcard. I got it sorted and I am on 5.0.4. Thanks for the help
[Fire TV General] aboshi:
The all in one has the script as well.
[Fire TV General] guliver365:
Everything works perfectly except at the end I got "Reboot not found" I just rebooted manually and after booting the screens displays "optimizing system storage and aplications... this will take 10 min"

Now I am back in business but what is the difference with 5.04 version ?
[Fire TV General] dk1keith:
Not sure if my anti virus blocked it but I downloaded the all in one zip twice and I didn't get the script file when I extracted the files to sdcard. I then downloaded the script.zip unzipped it and copied the root.sh to sdcard. In any case I am on 5.0.4 and I really appreciate your help and all your work on this root method.
[Fire TV General] aboshi:
No you are correct, I am repacking the all in one zip now, it was missing root.sh

I will update the OP with the new link.

*Update*

Ok repacked with root.sh and updated new link on OP
[Fire TV General] ians325:
Just Checking? do I copy the directory AFTV2-5.3.0.1-5.0.4-root, or do just copy the files in aftv2-5.3.0.1-5.0.4-root to the root of microsd?
[Fire TV General] Patrick_445:
[MENTION=5630334]ians325[/MENTION], place all the files themselves in the root of the MicroSD and place the MicroSD in the FireTV 2.
[Fire TV General] ians325:
Going test this on apple mac using el captain

Update it works :good:

apart from **Syncing System Please Wait**

Sync Complete!

Prepare For System Reboot In 60 Seconds

./root.sh[86]: reboot: not found

just unplugged its fine
[Fire TV General] dk1keith:
I rooted from 5.0.3.1 to 5.0.4 and rebooted Fire TV 2. Installed a few apps and just rebooted for a second time. When the Fire TV was booting it went to the Optimizing system storage and applications screen again. Anyone know why it did this on a second boot? I know why it did it after I upgraded from 5.03.1 to 5.0.4 but why is it optimizing again on a normal reboot. Is it because I still have the micro sdcard with the root files in the Fire TV?

thanks
[Fire TV General] aboshi:
could be anything such as changes made to the system by some of the apps you installed. Or even a bad sector on the nand. Reboot again and let me know if it happens.
[Fire TV General] dk1keith:
Nope....rebooted as normal. Must have been an app I installed. Busybox was one of the apps I installed. That isn't installed when you update from 5.0.3.1 to 5.0.4 is it?
[Fire TV General] aboshi:
No I don't have it install anything after the fact. I was thinking of making it install busybox after, but maybe in a later release.
[Fire TV General] pilotbob3:
Just a word of thanks aboshi,

Worked perfectly first time. Just had to run it from my VMware version from binns.

Literally took me 4 minutes after I downloaded the files and placed on SD card. Running 5.04 rooted perfectly. Really happy to see that Kodi icon is now in the apps section.

Best,

Bob
[Fire TV General] Lol.:
I opted for the manual script method over a wired network (I was too lazy to get the USB lead out.)

1) Copied files to the sdcard directly from a mac (I should have just transferred them via adb though - wasted effort dammit.)

2) Connected ADB via the network

3) Ran the commands

4) It hung at the reboot stage but apart from that fine. I had to pull the power lead, it started up again, and now I'm on 5.0.4 rooted.

Thanks!
[Fire TV General] raaky:
I am on 5.0.3.1 and rooted. Do I need to enable OTA updates before applying 5.0.4 update? I disabled Ota after rooting 5.0.3.1.
[Fire TV General] aboshi:
You do not need to enable OTA, but as a safety measure after the update I would check if OTA is still disabled.
[Fire TV General] teame06:
Thanks you and zeropoch for the work.

I did it on two fire tv 2nd gen and it work perfectly fine except it didn't restart it at the end. I had to manually unplug it.
[Fire TV General] aboshi:
I figured it wouldn't reboot because of system linking, and busybox reboot does not work for some reason. I guess in future releases I will just remove the reboot command at the end and just echo to the user to unplug.
[Fire TV General] Lol.:
Zero mentioned a full faction restore retains root but not the OTA disabled state, so it'd be interesting to confirm whether or not this method does the same. I disabled it straight away just incase, I should've checked the state first!
[Fire TV General] Patrick_445:
I'm on 5.0.3.1 rooted with OTA disabled and will likely run [MENTION=2516604]aboshi[/MENTION]'s script within the next day or so. Give me instructions for how to check the current state of OTA and I will try to remember to check it after the script ends.
[Fire TV General] aboshi:
posted it in the OP for you
[Fire TV General] Spillunke:
Hi,

can i use windows or should i run linux? In my case it would be the vm by ultimate_spy_binns.

EDIT: ah i have to install python, drivers etc. I will use the vm :D

EDIT2: worked perfect. thanks a lot!
[Fire TV General] Patrick_445:
[MENTION=2516604]aboshi[/MENTION]: The OP gives instructions for how to disable OTA. The question that was raised was: is this even necessary? (ie does your process reset OTA). I was asking for how to check the state of OTA (not disable it) so that I could answer this question.
[Fire TV General] aboshi:
Just leave out the disable
[Fire TV General] Patrick_445:
I was able to successfully run the script. As per my previous post, I wanted to find out whether OTA was back ON (I had disabled it after rooting firmware 5.0.3.1). What [MENTION=2516604]aboshi[/MENTION] suggested -- just leaving out "disable" -- does not work. Within adb shell, "pm com.amazon.device.software.ota" returns "Error: unknown command 'com.amazon.device.software.ota'. Once I found out that the "pm list packages" can be used with the -e switch to show only enabled packages and the -d switch to show only disabled packages, I did the following:

root@sloane:/ # pm list packages com.amazon.device.software.ota
package:com.amazon.device.software.ota
package:com.amazon.device.software.ota.override

root@sloane:/ # pm list packages [B]-d[/B] com.amazon.device.software.ota
[B]package:com.amazon.device.software.ota[/B]

root@sloane:/ # pm list packages -e com.amazon.device.software.ota
package:com.amazon.device.software.ota.override

From this output it seems that the OTA setting survives the transition from rooted 5.0.3.1 to rooted 5.0.4. This makes sense because we know that OTA is reset during a factory reset, which suggests that this setting is outside of /system (factory reset does not reset the firmware, only user apps and data).

Some general feedback about the process:

1) At the end, Reboot did not work for me either. The command could not be found so I exited from su, then exited from adb shell, and unplugged my FireTV.

2) The part that asks for user confirmation is not as intutitive as it could be. It's only after trying to confirm by entering "y" for yes, then typing "yes" and then "Yes" that I successfully entered "1". A clearer instruction might say enter "1" for yes and "2" for no. Or even better, enter "y" for Yes or "n" for No. This would be consistent with other experiences users have had in a similar context.

3) The "Optimizing storage" boot up message appears on first boot after root, but also on 2nd boot even though I didn't install or update any app in between.

[MENTION=2516604]aboshi[/MENTION] Thanks for putting all this in a script for the rest of us.
[Fire TV General] ians325:
Suggestion

Change root script text to "Prepare For System Reboot In 60 Seconds (if reboot fails then unplug and restart)" thanks for your hard work
[Fire TV General] andrew942:
updated successfully!

aboshi, This worked great!

The flash was perfect, but the reboot was not successful. Once I exited out to the prompt, and entered "adb reboot recovery" it rebooted. I didn't need to manually power cycle the fire. Maybe just a minor edit to your process?
[Fire TV General] playingmax:
I have to turn on USB debugging?

---------- Post added at 06:23 PM ---------- Previous post was at 06:21 PM ----------

Because adb can't find fire tv w/ male to make cable. Yes fire tv is rooted w/ same pc.
[Fire TV General] aboshi:
Yes if using USB "highly suggested" but people have been successful using wired/WiFi
[Fire TV General] playingmax:
worked perfect!

C:\adb>adb shell
shell@sloane:/ $ su
root@sloane:/ # cd /storage/sdcard1
root@sloane:/storage/sdcard1 # chmod 775 root.sh
root@sloane:/storage/sdcard1 # sh ./root.sh
Micro SD Card Mounted With Read/Write Permissions

Verifying root.sh busybox boot.img lk.img preloader.img recovery.img system.root
.img

Checking: verify.md5
File Hashes: 7 verify.md5
root.sh: OK
busybox: OK
boot.img: OK
lk.img: OK
preloader.img: OK
recovery.img: OK
system.root.img: OK
1m16.78s real 0m25.91s user 0m3.84s system
All files verified.
Do You Want To Proceed? There Is No Going Back!
1) Yes
2) No
#? 1
Flushing Dalvik-Cache
Dalvik-Cache Has Been Flushed
**SYSTEM WILL REBOOT WHEN FINISHED**

Copying preloader.img
8192+0 records in
8192+0 records out
4194304 bytes transferred in 0.443 secs (9467954 bytes/sec)
Finished

Copying lk.img
2048+0 records in
2048+0 records out
1048576 bytes transferred in 0.364 secs (2880703 bytes/sec)
Finished

Copying recovery.img
25+0 records in
25+0 records out
26214400 bytes transferred in 6.072 secs (4317259 bytes/sec)
Finished

Copying boot.img
25+0 records in
25+0 records out
26214400 bytes transferred in 2.602 secs (10074711 bytes/sec)
Finished

**PLEASE WAIT THIS WILL TAKE A FEW MINUTES**
Copying system.root.img
1209+1 records in
1209+1 records out
1268531200 bytes transferred in 122.409 secs (10363055 bytes/sec)
Finished

**Syncing System Please Wait**
Sync Complete!
Prepare For System Reboot In 60 Seconds
./root.sh[86]: reboot: not found
127|root@sloane:/storage/sdcard1 #
[Fire TV General] fldash:
Did you ever create a script for using internal storage? I don't have a micro SD handy...
[Fire TV General] aboshi:
I have made the local install script. Check the OP, download the appropriate script and follow the instructions.

Please report back and let me know how it works out for you ;)
[Fire TV General] krawhitham:
Can this be done using a sideloaded Terminal Emulator app instead of adb?
[Fire TV General] aboshi:
No and why would you want to?

You can download adb for any OS in 2 seconds.

If you were to run this from terminal emu expect a brick in under 10 seconds!
[Fire TV General] Patrick_445:
I can think of reasons. Maybe [MENTION=5875781]krawhitham[/MENTION] does not have a USB A-A and figured that running everything directly from the box would be safer than over the network by taking network errors out of the equation. Or s/he has grown comfortable with Terminal Emulator but is not comfortable with ADB.

Anyway, you already gave the answer: it won't work.
[Fire TV General] gen3benz:
Can you use ES file explorer to move all the files to the root of the FTV, instead of using an SD card? Then run the script through adb?

I guess thats basically the same as pushing the files through adb.
[Fire TV General] aboshi:
Yes use local script
[Fire TV General] Ludacrisvp:
used this to fix my inability to remount /system to install the new custom recovery by rbox :)
[Fire TV General] elliwigy:
I simply put the recovery files (I was already rooted) onto the AFTV2 /sdcard/ root directory and ran the commands in the OP via ADB.. I do not have a microSD or a USB Drive.. I actually even made my own Male A to Male A cable since I didn't want to wait for one in the mail haha..

Everything is smooth.. the guide on aftvnews.com is pretty much from stock to rooted img with recovery etc. so it is the entire process.. If you are already rooted then you should just be able to adb install the recovery from the internal sd card on the aftv very easily...

As stated however, I highly recommend you also flash the pre rooted img from [MENTION=3991724]rbox[/MENTION] after you get twrp running (can also be installed by pushing to the aftv internal memory) since I as well was having issues mounting system to flash anything in twrp until I flashed [MENTION=3991724]rbox[/MENTION] pre rooted img.

Essentially, the only thing I needed for the entire process was the AFTV2 itself, and a Male A to Male A cable... Of course once you get to TWRP installed, you need to have a compatible mouse/keyboard or else recovery is useless as you will not be able to navigate.. I purchased the K400 Plus at best buy (saw it on aftvnews.com) for only 24.99$... I'd say it's a good investment as it should work with pretty much any device, containts the keyboard and mouse pad in one etc., Surely it will have more uses than just for recovery on aftv2...
[One (M9) Original Android Development] Ryche666:
M9 Himaul- ROM

AICP Lollipop base Rom

Added to kernel INTELLIPLUG, ELEMENTALX and BLU_ACTIVE

I can't confirm if IR BLASTER is fixed but that is my new project.

Starting on o3 OPTIMIZATIONS

Undervolting

Intelliplug

Blu_Active

ElementalX

Core Control

VDD Control

Thermal Throttle

Force Fast Charge

Vibrator Strength

FSYNC

ZRAM

LED Control

Plus whatever you guys want to make this the ULTIMATE ROM

Kernel Sources

https://github.com/AICP

https://github.com/AICP

DOWNLOADS

https://drive.google.com/folderview?id=0B7yy8OGuS6bCMHVuV2xuUXl5bFU&usp=sharing

DISCLAIMER

Your warranty is now void.

I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.

Please do some research if you have any concerns about features included in this ROM before flashing it!

YOU are choosing to make these modifications, and CANNOT BLAME US for causing harm to your device.

XDA:DevDB Information

[ROM-Lollip-Kernel-AICP 10.0 M9 Himaul HomeBrews by Minimal Effort

Contributors

Ryche666

ROM OS Version: 5.1.1 Lollipop

Version Information

Status: Testing
[One (M9) Original Android Development] Ryche666:
reserved
[One (M9) Original Android Development] gregpilot:
Comments?

Anyone try this rom? I have AICP in my old M7, been using it for two years now.
[One (M9) Original Android Development] gregsarg:
Excellent !!

Thank you OP....For another great addition...

AICP is good stuff...g
[One (M9) Original Android Development] AdvaitT17:
AICP means Android Ice Cold Project ??
[One (M9) Original Android Development] piterdemon:
#1 terrible first post...

#2 One AICP already exist...

Wysłane z mojego HTC One M9 przy użyciu Tapatalka
[One (M9) Original Android Development] BR7fan:
Nice work so far guys. The mm build is running great
[One (M9) Original Android Development] pickandrew:
Hello, this ROM is also compatible with the "himauhl"?
[One (M9) Original Android Development] Ryche666:
It should've. I quit the AICP. I am working on Bliss linaro 5.3 kernel and linaro 4.9 rom. It is built with o3 and strict. **** is running smooth. I will release as soon as i get all of my governors and hot plugs ported over. I went awol there. Damn wife grounded me from my computer.....
[Xperia SP Q&A, Help & Troubleshooting] oussama12000:
hello, i have upgraded my xperia sp from 4.1 to 4.3 and i am having many problem:

- camera are not looking like 8mp((no t working well))

-wifi stopped with no reasoon

-GPS gives innacurate signal

i hope you can help me with thiis

i have download thiis ((the last release for the xperia sp from cyanogen)) i cant post a links

hoping that there is no problem in this release rom but i dont understand how to install it,

can i install it wiuthout unlocking the bootloader?

if i have to unlock bootloader is there a big risk to lose the phone for ever

and you have to know thatr there is not a ercovery mode in xperiasp its not possible to get it i think

plese expalin everything for me i am starter hereee

and sorry for my engliish :(

thnx :) :):):)
[8525, TyTN, MDA Vario II, JasJam General] I-ko-nix:
Dear Users,

i hava a T-Mobile Original Vario2/Hermes. I would like to install the Schaps Rom in German. My mobile phone is not sim locked. Is there any problems by installing the schaps? - on the main screen of the schaps there is a question about the SPL??? - I don't know what SPL my mobile phone is...

and now a other question. if the installing of mobile 6 schaps is successfully... is there any way to install the original t-mobile german mobile 5?

i have no package of the original update.... where can i get this? - in order to have in special case my warrenty?

thanks,

robert
[8525, TyTN, MDA Vario II, JasJam General] TaurusBullba R.I.P.:
Hi Robert,

Start here in the wiki. You'll find all the information you'll need to know to upgrade to WM6. There's a wealth of information there. So take your time and read through it.

Also, you can download the official WM5 from your carrier's website.

If you are unsure about something specific and it isn't answered in the wiki or forums, let us know and someone will be glad to help.

Good luck! :)
[8525, TyTN, MDA Vario II, JasJam General] I-ko-nix:
Hello,

thanks - i have found the wiki....

the problem, the original wm5 isn't on the carrier's website. There are no packages and no updates by t-mobile germany...

when i have the package, i would begin to update to wm6, but without the wm5 package there is no way back, i think....

Robert
[8525, TyTN, MDA Vario II, JasJam General] TaurusBullba R.I.P.:
I don't speak German, so you'll have to help me out on this one. But WM5 may be available here.
[X Style (Pure) Q&A, Help & Troubleshooting] 20degrees:
This is basically what I'm wanting to do. I don't care about custom roms or anything. I don't even care if I have trwp. All I want is root and xposed on MM moto x pure 1575. Is it possible?

I don't want to unlock the BL as I want to keep the warranty.
[X Style (Pure) Q&A, Help & Troubleshooting] Naddict:
Maybe...see this yet? for an older device http://wccftech.com/root-moto-x-without-unlocking-bootloader/
[X Style (Pure) Q&A, Help & Troubleshooting] Aftab_khatri:
no not possible now
[X Style (Pure) Q&A, Help & Troubleshooting] Naddict:
There was this earlier post too, looks like NO is the correct answer!

http://xdaforums.com/moto-x-style/help/root-unlocking-boot-loader-installing-t3215681
[X Style (Pure) Q&A, Help & Troubleshooting] patt2k:
Nope
[X Style (Pure) General] Teksu:
Didn't see this posted yet, so I thought I would share

http://www.androidpolice.com/2015/1...d-6-0-kernel-source-for-the-moto-x-pure-2015/

Github Link:

https://github.com/MotorolaMobilityLLC/kernel-msm/releases/tag/MMI-MPH24.49-18
[X Style (Pure) General] patt2k:
yes we know since yesterday.
[XDA Assist] Snehil_DPS_6l:
I dont know ifthis is correct and i dont know if this is against the rules of xda. If it is against the rules plz inform me

i am requesting for a os named "snehil os"

first plz make a os based on linux and should be new , different drom other then after u create it inform me
[XDA Assist] Vatsal:
Hello,

This forum is for newbies finding their way around XDA Developers in regard to android development.

-Vatsal
[Galaxy Tab Q&A, Help & Troubleshooting] tyrotrainer:
Hi, I downloaded the zip folder: sm-t550_p550_p555_cf-autoroot. When I open it there is no .tar file, only cache.img.ext4 and recovery.img. I've rooted several times before and have normally had no issues following the xda links to the .tar files.

Sorry if I'm being a dumbo, help appreciated.
[Galaxy Tab Q&A, Help & Troubleshooting] robot_jedi:
Root TAB A

Don't unzip or open. Copy for ur SD or internal. After, flash the zip (sm-t550_p550_p555_cf-autoroot) with TWRP. And Voilà! I hope I helped you :good:
[One (M9) Q&A, Help & Troubleshooting] arpith.fbi:
Hi.

As the MM 6.0 update is out i would like to try it but as i am not that much active since many months on m9 forum

Hence i need some assistance in updating.

I am using ATT S-on, bootloader unlocked, currently using a custom rom. What I plan to do is

1. S-off first.

2. change the cid to dev edition

3. Flash RUU.exe(through PC)

or

after s-off i flash just the firmware only ..then restore a backup ROM through twrp backup?

my doubt is do i need to be on stock recovery to flash an RUU ?

am i missing any step here?

Thank you
[One (M9) Q&A, Help & Troubleshooting] scoot007301:
Once you S-Off

Change Cid to Developer Edition

Download the latest Developer Edition RUU. Exe or the RUU. zip which ever method is easier for you.

Then run/install the RUU to convert your AT&T M9 to Developer Edition.

You can leave the custom rom and TWRP Recovery installed as the RUU will over write it.

Once it's done then go to check for ota update should be 6.0 if you installed the latest RUU

---------- Post added at 05:36 PM ---------- Previous post was at 05:31 PM ----------

http://xdaforums.com/showthread.php?t=3086948

Here is the thread with everything you need to convert to Developer Edition
[One (M9) Q&A, Help & Troubleshooting] clsA:
I layed out the steps in my conversion thread in my signature
[Android Q&A, Help & Troubleshooting] fschris:
Hi, Not sure if anyone can provide some help to this 'noob'.

I broke my galaxy s4 screen and the phone is still working as I hear it getting messages etc. The phone is also locked and I cant obviously use the pattern to unlock it. I just want to get a couple files off of it. I have never rooted this phone or hacked it.

When I attach to the PC I cant see the files because the phone is locked (duh on me)

I tried to load the phone in bootloader mode by holding power button and Down volume....

Also tried the ADB tools but I can never get the phone with the android to appear in the device manager. I also tried adb driver tool from another website but it will not find my device.

Any other ideas?

Galaxy S4

windows 10

Chris
[Galaxy Grand Prime Q&A, Help & Troubleshooting] xSpartacusx:
im kinda new to this whole rooting process.. um.. i rooted my straight talk galaxy grand prime.. but now i dont know what to do...? i heard like to get a recovery stock thing or watever to use if it get bricked or something right? i have supersu, and the xposed installer and Rom toolbox pro.. idk if i should install xposed because it says its not compatible with SDK 21 or my processor arcchitecture and it says CANNOT LINK EXECUTABLE : could not load library "libdvm.so" needed by "/data/data/de.robv.android.xposed.installer/cache/app_process"; caused by library libdvm.so" not found

anyone that could help me out with figuring out what to do now i would appreciate highly!!
[Galaxy Grand Prime Q&A, Help & Troubleshooting] CopenhagenDip:
I would find and download the Clockwork Recovery app CWM choose your phone and install it then search around the web for Roms, as for the xposed don't EVER install anything that's not compatible with your device that's what leads to bricks
[Galaxy Grand Prime Q&A, Help & Troubleshooting] xSpartacusx:
is CWM an apk?

update: i got rom manager and my device isnt listed?
[Galaxy Grand Prime Q&A, Help & Troubleshooting] CopenhagenDip:
yes, can be downloaded online or from google play it is a rom toolbox app flash roms/recoveries but Always make a backup of your Stock recovery.img just in case anything does go wrong
[Galaxy Grand Prime Q&A, Help & Troubleshooting] xSpartacusx:
ok i got rom manager which is developed by CWM devs.

it tells me to set up cwm or whatever and to pick my device.. but the galaxy grand prime isnt listed.. and idk what stock recovery image means or what flashing means or what to do if anything does go wrong