yashsingh1/xdaforums huggingface dataset:
[Fire TV General] rainman74:
Maybe, how did you rooted it and which pre-rooted ROM of rbox did you install? If you have not installed a pre-rooted ROM, this could explain the problem.

Once in a while please post following command output and compare it to my:

$ su
# [B]ll /data/media/[/B]
drwxrwx--- media_rw media_rw 2018-07-14 00:01 0
drwxrwxr-x media_rw media_rw 2017-12-11 00:11 legacy
drwxrwx--- media_rw media_rw 2018-05-24 03:43 obb

And try to do these three steps and then reboot:
[Fire TV General] relic:
can I ask you how do you get these command outputs? thanks

---------- Post added at 10:45 AM ---------- Previous post was at 10:39 AM ----------

this is how I rooted the Firestick 1:

http://www.aftvnews.com/how-to-root-the-fire-tv-2-using-kingroot-no-usb-cable-required/

I have TWRP 3.0.0-7

And I used the latest ROM 5.2.6.2 you provided in this thread:

http://www.mediafire.com/file/sslnadi9lgd6fwq/montoya-5.2.6.2-rooted_r1.zip
[Fire TV General] relic:
I did clean cache/data/dalvik/internal storage and reinstalled the rooted ROM, but apparently Google Play still exists, how is that possible?
[Fire TV General] rainman74:
Have you ever applied a different guide and installed the Google Play Store app manually?

If so, you must also wipe the data partition.
[Fire TV General] relic:
No I haven't. I only follow your method.

How do i delete that partition?
[Fire TV General] rainman74:
In TWRP wipe data, system and cache and then install rbox pre-rooted firmware v5.2.6.2 without reboot... ;)
[Fire TV General] relic:
When you wipe system, doesn't TWRP be wiped as well?
[Fire TV General] rainman74:
No! If you install the pre-rooted ROM, system will be wiped anyway ;)
[Fire TV General] relic:
Thanks for the advice. Tomorrow I will attempt to wipe system. I thought by wiping system Rooting is gone as well and you have to root it again using Kingroot.
[Fire TV General] rainman74:
Yes, root will disappear temporarily, but will be back through the pre-rooted ROM ;)

It is important not to restart the device if the system has been deleted. This could lead to problems. So install the ROM on the same session after the wipe.
[Fire TV General] relic:
Makes sense. Thanks for answering all relevant questions. I'm determined to get it working. Fingers crossed!
[Fire TV General] rainman74:
Good luck!
[Fire TV General] danthecoolboy:
You're using OpenGapps for android 5.1 for ARM64 on 4k Boxes. But aren't they based on FIreOS 6 that is from android 7.1?
[Fire TV General] rainman74:
No, the Open GApps have nothing to do with FireOS 6 and Android 7.1
[Fire TV General] relic:
I am following your steps to the letter.

When I type this command:

C:\Users\admin>adb shell su -c mkdir /system/app/NoTouchAuthDelegate/

I get the following:

mkdir failed for /system/app/NoTouchAuthDelegate/, File exists

Is this a problem?

I have followed all your steps.
[Fire TV General] rainman74:
No Problem!
[Fire TV General] relic:
I give up. I followed all the steps and still getting Error Code:0 when downloading an app.

Does it work on FireStick 1 US version? Because this is what I have.
[Fire TV General] rainman74:
Yes! Try

shell su -c pm grant com.android.vending android.permission.WRITE_EXTERNAL_STORAGE
[Fire TV General] relic:
Operation not allowed: java.lang.SecurityException: Can't change android.permission.WRITE_EXTERNAL_STORAGE. It is required by the application
[Fire TV General] rainman74:
adb shell
su
cd /data/data/com.android.providers.downloads
chmod 771 cache
ll

please post output of ll here...
[Fire TV General] relic:
tmp-mksh: 11: not found
[Fire TV General] rainman74:
not 11 but ll ;)
[Fire TV General] relic:
drwxrwx--x amz_u0a17 amz_u0a17 1970-01-02 01:06 app_chunk_manifest

drwxrwx--x amz_u0a17 amz_u0a17 2018-07-17 20:37 cache

drwxrwx--x amz_u0a17 amz_u0a17 2018-07-17 19:51 databases

lrwxrwxrwx install install 1970-01-02 01:00 lib -> /data/app-lib/com.android.providers.downloads

drwxrwx--x amz_u0a17 amz_u0a17 2018-07-17 19:43 shared_prefs

---------- Post added at 07:31 PM ---------- Previous post was at 07:29 PM ----------

BTW I was able to sideload Youtube for Android TV. But playing videos in all resolutions is horrible. Video keep skipping frames.
[Fire TV General] rainman74:
Everything looks good here. I need another screenshot, just a moment...

Please go to Settings, start Apps (2x) and search the Play Store at System Apps and then go to Permissions and post a screenshot from there!
[Fire TV General] relic:
Where is Settings - Start Apps (2x)? The firestick settings? Please specify
[Fire TV General] rainman74:
The settings in which you can see the permissions for each app. This may look different to you because you use Amazon Launcher. But I can't tell you where to find it, since I haven't used this launcher for a long time.
[Fire TV General] relic:
I am unable to find this. In fact nowhere can I find Permissions on any apps in Firestick - Settings - Applications - Managed Installed Applications

---------- Post added at 07:50 PM ---------- Previous post was at 07:49 PM ----------

What are you using?

Perhaps it doesn't exist on Android 5.1?
[Fire TV General] rainman74:
this one ;)

Anyway, I have another tip for you that's very likely to work, since the permissions are completely deactivated with the following module!

Please install XInstaller-5.0.apk from my other guide and configure it as follows:

Launch the Xposed Installer
- Make sure that Xposed v89+ is installed, if not update first
- Then click on the three lines in the top left corner of the screen
- Click on Modules
- Click the check box to activate XInstaller (use Mouse Toogle for Fire TV)

Restart the Fire TV

Launch the Xposed Installer again
- Click on Modules again
- Click on XInstaller

In XInstaller click on XInstaller first
- Check Expert mode
- Press the back arrow

In the Installations page, in the "Enable" section, check the boxes for:
- Downgrading apps
- Installing unknown apps
- Then scroll down to the "Disable" section and check the boxes for:
- Checking signatures
- Checking signatures (F-Droid)
- Forward locking
- Verifying apps
- Checking SDK version
- Checking duplicated permissions
- Press the back arrow

In the Misc page, in the "Enable" section, check the box for:
- Debugging apps
- Then scroll down to the "Disable" section and check the boxes for:
- Checking permissions
- Verifying JAR
- Verifying signatures
- Checking Lucky Patcher
- Auto updating Google Play

Exit the program
[Fire TV General] relic:
Do I need to uninstall the older Xposed Installer?
[Fire TV General] rainman74:
No, you can use the existing as long as Xposed v89+ is installed ;)

HDXPosed you also installed, correct?
[Fire TV General] relic:
Atually I just found out I have v89 only not v89+ not sure where I am supposed to get it.
[Fire TV General] rainman74:
v89 is great, the + should only say, even a newer version would be ok ;)
[Fire TV General] relic:
Yes it is installed but there is nowhere to run it when I click on it through AppStarter
[Fire TV General] rainman74:
HDXPosed has no switches, so just install it.
[Fire TV General] relic:
Ok I installed the new Xposed. I might have done a mistake, after running it I rebooted.

Now when I run it again it says

What should I do?

Sorry I was getting too tired. Been working on this for hours.
[Fire TV General] rainman74:
make sure all is checked as follows:

And if that's not enough, which I don't think it is, install and activate the HandleExternalStorage module View attachment HandleExternalStorage-1.1.0.apk;)
[Fire TV General] relic:
It worked!!

Thank you for your patience :)

Now I can't remember why I Enabled Google Play to begin with

Youtube for Android TV is very choppy on Firestick, do you have that as well?
[Fire TV General] rainman74:
Without HandleExternalStorage, I guess?
[Fire TV General] rainman74:
The stick 1st gen is slow as hell ;)

Alternatively, try my modded alternative YouTube app:

https://xdaforums.com/fire-tv/development/app-youtube-tv-app-fire-tv-t3757074
[Fire TV General] relic:
Yes without. Should I enable it?

Firestick 1 is not that slow. I had an older ROM on it and everything I played on it was running fine with no choppy frames.

I am wondering if it's from the latest ROM or youtube only. Will do more tests this week.
[Fire TV General] rainman74:
No, this is not necessary, as XInstaller is sufficient.

Feel free to post your results here.
[Fire TV General] danthecoolboy:
Does not gapps differ from android os versions? Opengapps website seems to offer different downloads for various android os versions. Since, FireOS 5 is based on Lollipop and FireOS 6 is based on Nougat, would they not require different versions of OpenGapps? Your download links currently both point to lollipop for both of them.
[Fire TV General] rainman74:
Exactly, Lollipop is the corresponding Android version (5.1.x) of the two Fire TV sticks and the Fire TV boxes 1st and 2nd gen. Therefore I link to the GApps 5.1 (tvstock).

Since no root is possible on Fire TV 3 & Cube (Android 7), my guide cannot be executed either.
[Fire TV General] rainman74:
I tested open_gapps-arm64-5.1-tvstock-20180705 and this version works fine, too.
[Fire TV General] relic:
Unfortunately Google play and firestick 1 is way too slow and buggy. I'm not sure if 5.2.6 could be culprit. I reverted back to 5.2.4.1 as FTVS1 runs very smooth using it.
[Fire TV General] rainman74:
Guide has been extended with instructions on how to remove Google Account and sign in with another account or new or with the same one :)
[Fire TV General] rainman74:
I successfully installed open_gapps-arm64-5.1-tvstock-20180811 and can confirm that it is working.
[Fire TV General] chris-89:
Can i just flash the gapps package together with the gapps-config to update or do i have to redone any steps from the OP?
[Fire TV General] rainman74:
Just install...
[Fire TV General] chris-89:
I can confirm that open_gapps-arm64-5.1-tvstock-20180818 is working and also on fire tv firmware 5.2.6.3
[Fire TV General] ldeveraux:
At one point, I had Google Play installed on my Fire TV 1, but it stopped working. Is there a way to uninstall all Google related items and start over without wiping? I'll wipe if I need to, but would like to avoid it if possible. As I said, I have the FireTV 1 with Rbox's latest rooted ROM with Xposed installed (correctly!)
[Fire TV General] chris-89:
Do you have tried to clear the cache from google play store? Maybe this helps.

Or try to install the latest opengapps with the config text File.
[Fire TV General] rainman74:
Remove Google Account and sign in again :)
[Fire TV General] ldeveraux:
I've cleared caches, installed updated play store (android TV version), and logged in. It gives me error 406 when I try to install an app. How do you specifically remove the google account from the system to start over? I feel like this should be easy, but can't figure it out.
[Fire TV General] rainman74:
...look at first post here ;)
[Fire TV General] ldeveraux:
OK, thanks, found it! I reset my Google account and still get the error. I'm trying to install SuperSU Pro on here that's linked to my account. After searching the store, I try to install, it says "Can't download app. Error Code 406" I tried wired/wireless connections both. So despite what the first page says, it couldn't solve my issue. Looks like I need to reset and reinstall rbox's ROM?

edit: I reformatted every partition, reinstalled everything perfectly according to the first page. Everything worked well I thought. I can install random free apps from the play store (Kodi, etc) but anything purchased is a no go (SuperSU Pro). I still get the error 406. Anybody?
[Fire TV General] rainman74:
Then create a new Gmail account and use it.
[Fire TV General] ldeveraux:
Create a new account? The whole purpose to install was to download the purchased apps linked to my account. How would making another account satisfy that?
[Fire TV General] rainman74:
Add the new account to your family group ;)
[Fire TV General] ldeveraux:
SuperSU Pro does not appear to be shared on the family account
[Fire TV General] ldeveraux:
Apparently I purchased it too long ago, so can't share it. Regardless, I found a few apps that are eligible for me (Mouse Toggle [ROOT]) and I try to install under the new account, I get the same error 406.
[Fire TV General] rainman74:
Google-Support described it as follows:
[Fire TV General] ldeveraux:
The Youtube app is just a redirect to Silk/Firefox. I don't really think Google will support a FireTV in this state regardless. I think I may just have to accept that it's probably not going to work.
[Fire TV General] rainman74:
This refers to Google's YouTube app, not Amazon's ;)
[Fire TV General] ldeveraux:
*sigh* So I should sideload the Youtube app onto my FireTV for some reason? Under which account, my main or family?
[Fire TV General] rainman74:
I don't know, this is not my tip but Google's ;)

I'd use your main account, though.
[Fire TV General] ldeveraux:
I had an untouched Fire TV 2 that I tried this on and still no luck. I don't think this can be fixed, so I'm just going to give up. :confused:
[Fire TV General] rainman74:
Before you do that, can you try a completely new Google Account that is not in the 'family' for the last time?
[Fire TV General] ldeveraux:
What would be the point? I can't download apps purchased on my account. If I create another gmail account and not add it to my family, I'd have to buy another app.
[Fire TV General] rainman74:
Yes, can you buy a very cheap app with it? We would then see if the error message is due to your Google account (which I strongly suspect) or your configurations.
[Fire TV General] ldeveraux:
I'm not going to create ANOTHER Google account, set up credit card info, then pay for an app. I've wasted enough time on this, sorry. :(
[Fire TV General] rainman74:
Too bad, then we can no longer get to the bottom of the error. A new Google account with CC as payment method would have been quickly created and an app for $0.50 also bought quickly :(
[Fire TV General] ravi2586:
Does this work for Fire TV 4K with Ultra HD (3rd Gen). Anyone tried? How yo root the device?
[Fire TV General] chris-89:
Till now there is no root for the FIRE TV 3rd gen.

So no it doesn't work.
[Fire TV General] chris-89:
I can confirm that open_gapps-arm64-5.1-tvstock-20180929 is working and also on fire tv firmware 5.2.6.6 :good:
[Fire TV General] rainman74:
Yes, I can confirm this as well, the mod also runs with the latest pre-rooted firmware 5.2.6.6 without any problems!
[Fire TV General] Lochy19:
Hi Chris,

I followed every step of the first post, but the fire TV is stuck in the "optimizing system storage and applications..." screen, I left it for more than 15 minutes but nothing happens, could you please confirm me if you did something else? I ran the following commands before to install the package via TWRP:

pm disable com.amazon.device.software.ota.override

pm disable com.amazon.settings.systemupdates

pm disable com.amazon.device.software.ota

pm disable com.amazon.tv.nimh

pm disable com.amazon.application.compatibility.enforcer

pm disable com.amazon.application.compatibility.enforcer.sdk.library

pm disable com.amazon.tv.launcher

I'm using the last OpenGapps TV stock package.

Thanks in advance for your assistance.
[Fire TV General] chris-89:
I saw that you disable the amazon launcher, so you are planning to use another launcher? Because this thread is only about installing google services & play.

But Back to your question...i've followed exact this guide already on firmware 5.2.6.2. And then i've just updated firmware two times and installed several newer gapps package with the gapps-config.

The only package i've disabled is device.software.ota.

I saw that with firmware update 5.2.6.6 there are new packages for example "forcedotaupdater". I plan to disable this also.
[Fire TV General] Lochy19:
After some full wipes and errors, I finally have the google play store working, or semi-working, because it closes when I make a search and try to install an app. For example, I search ES file explorer, when I try to enter in the app page to install it, google play closes suddenly and take me back to my launcher, this happens with all the apps searched in the search bar.

In another hand, I used a previous version of the play store (10.5.10) and works fine, everything, including the searches.
[Fire TV General] t3ch42:
For those like me with the FireTV1 that needed to remove the files to install GAPPs, can we reinstall afterwards to restore the functionality? I see that I have about 98MB in /system available and the "apps" files appear to be about 150MB or so.
[Fire TV General] rainman74:
please look here 11. Optional: Make room on the system partition
[Fire TV General] oppman29:
this removes the amazon video and Alexa i see the apks are there but will they install as user apps?

I'm not sure if you have to install the APK and the LIB folder.

Want to install playstore but dont lose alexa functionality on the FTV1
[Fire TV General] rainman74:
I didn't test it, but I guess it doesn't work because you're signed in to your Google account through the Play Store and no longer to your Amazon account. Alexa won't work without this.
[Fire TV General] MGREX:
To any fire stick users (not 4k) I got a couple of questions

First, is netflix working despite the root? fullHD or "crippled"?

Second, were you able to remap the alexa mic button on the remote to google voice search instead?
[Fire TV General] chris-89:
Hey [MENTION=7632282]rainman74[/MENTION]

I accidentally delete data of Play Store and now i can't login.

What can i do now?

EDIT:

Okay the opengapps package 20181207 is the reason why it didn't work anymore.

I flash the package 20180929 and everything is fine again. :svetius:
[Fire TV General] john0678:
mod-build.prop.sh

Does anyone have the download link to the custom mod-build.prop.sh?
[Fire TV General] Eyedoctor2:
Now that the fire tv 2 on the latest firmware has been rooted, https://xdaforums.com/fire-tv/development/how-to-root-amazon-fire-tv-2-box-t3908387, it would be great if google play store could also be installed. Is there any way that you would consider reposting the instructions on how to do so? Only other source is https://xdaforums.com/fire-tv/general/root-install-gapps-fire-stick-2-t3911501 but that includes many additional features that not everybody would be interested in,
[Fire TV General] happyghoul:
This still works too!

Thanks to rainman74 and sconnyuk. I can confirm that it still works with the latest open gapps.

don't disable

com.amazon.client.metrics

com.amazon.client.metrics.api

com.amazon.metrics.api

change

com.amazon.tv.forcedotaupdater to com.amazon.tv.forcedotaupdater.v2

If you get stuck at the amazon logo because you disabled com.amazon.tv.launcher and you didn't take into account your free space and need to free up more space before you can flash gapps, try to run adb shell. In my experience, I could connect to shell but couldn't gain root permission but shell was enough for me to sideload a launcher I'm familiar with and execute it. Once I did that, the system moved things along and I was able to get root to make more space in system.

adb install (your launcher)

adb shell am start (your launcher)

adb shell su

before placing notouchgsf, make sure it's final destination folder exists so chmod can apply

mkdir /system/app/NoTouchAuthDelegate/
[Fire TV General] BagiMT:
Does anyone still have the original instructions? Have not been able to get the Play Store to even open with latest version of opengapps. Sounds like some modifications to the build.prop are necessary. This is on a FTV 2. I am just interested in Play Store, not Leanback etc. of the full mod in the other thread.
[Upgrading, Modifying and Unlocking] ramystone:
hii all

i have a samsung i750 which have wm2003 i wana upgrade it to wm05 or wm06 any thing but i keep searched in all the site and i don't have any one help me for that

if any one have a information how to upgrad it install it where the source to make that plz any one help me:confused:
[Xiaomi Redmi Note 4 Questions & Answers] sfacal:
Good morning, last friday I was watching a video on the mobile, (Xiaomi Redmi Note 4 4 ​​64Gb Global), and suddenly, I started to high beep and the mobile turned it off. Since that moment, it did not turn on again. If i connect it to the charger, the LED on the phone starts flashing in orange and so it takes a while for.

As I read by some forum, I tried to leave the phone charging for hours, but nothing, the LED stops blinking and the phone does not turn on.

So read more on forums I tried to put it in EDL mode and flash it with a flasboot ROM. I put the phone in EDL mode and the computer detects it perfectly, the XiaomiFlash also, but my surprise is that when I give it a Flash to load the ROM, I get an error and the following messages, sometimes "Unable to receive the greeting package "and other times" ping firehose objective ", why can not my device be flashed, I'll have to throw it away.

I uploaded here, some screenshots of my pc.

If someone can help me I would be so thankful.

Regards
[Xiaomi Redmi Note 4 Questions & Answers] rainsmile:
Have u try different usb cable? Or move to another usb port
[Xiaomi Redmi Note 4 Questions & Answers] sfacal:
Hello!! thanks for your contribution, I tried to do this in other pc, with other usb cable and in another usb port. I did it before, and now I have this error "ping target via firehose" - "error the writing exceeded the waiting time"
[Xiaomi Redmi Note 4 Questions & Answers] sfacal:
Hello, can someone help me? My phone is dead.

Thanks
[Xiaomi Redmi Note 4 Questions & Answers] mdkhan5830:
did u get any solution bro
[Asus ZenFone 3 Questions & Answers] Vologhat:
1.Install Adb and fastboot Drivers, turn on usb debug and connect your phone with PC in fastboot mode.

2. Download Zip File https://drive.google.com/file/d/1F9bMjSaQfKxzbUy4WjteTXOXdy1Vhvjz/view

3. Extract Zip, open SERVIСE_firmware_ZC553KL_NOT_OFFICIAL folder and run flashall.bat,next run flashall_without_userdata.bat

This instruction was translated by me from 4pda.ru
[Asus ZenFone 3 Questions & Answers] kyhuu007:
lost imel
[Samsung Galaxy S8 Guides, News, & Discussion] CoreyOS:
http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=g950f
[Samsung Galaxy S8 Guides, News, & Discussion] Ga1lan:
So, what is this? What is it good for?
[Samsung Galaxy S8 Guides, News, & Discussion] TheMadScientist:
having the source code for each firmware and such if released

I found mine even though I have locked bootloader still a good read and study
[Samsung Galaxy S8 Guides, News, & Discussion] Ga1lan:
What about for developing ROMs? Does it affect any developments for AOSP based ROMs?
[Samsung Galaxy S8 Guides, News, & Discussion] TheMadScientist:
if there is a exynos source it could
[Samsung Galaxy S8 Guides, News, & Discussion] TheMadScientist:
Which i do see up to bootloader 3
[Samsung Galaxy S8 Guides, News, & Discussion] Ga1lan:
Hmm, I actually don't understand that. But I think bl3 is for Oreo, right?

That means if there is Exynos source code, maybe we are going to see AOSP soon.

Not to mention that Resurrection Remix Rom website added "dreamlte" since February.

It's been a month and I am just changing my s8 software again and again, I don't like these TouchWiz based ROMs, when I bought this phone I thought there would be AOSP surely. But now we are all left with no news at all.