yashsingh1/xdaforums huggingface dataset:
[Shield Android TV Android Development] Grippen50:
hey seems pretty easy and being able to do it from a PC and having the backup there also its very handy.
[Shield Android TV Android Development] banderos101:
Yeah, but not sure if it backs up the OS part aswell or just the apks/data, basically like titanium, what im wondering, is whether it backs up and restores the OS part too

Im gonna try it, and see what i get

Offcourse if flashfire does this, that would be more convinient, ill have to download that at some point to see what are the options and test it if it does have a recovery like backup option

Edit

Just tried it

adb backup -all -system -f path/path/path/backup082612.ab

Seemed to be going ok, shield tv gave me a warning with the option to cancel/encrypt/proceed, i chose a password then proceded........started fine, but only lasted about 10 seconds before i got the message that it was done............so unless the shield is alot faster then i give it credit, i seriously doubt it created a system image

Maybe ive done a mistake on the adb command, dont know

Edit 2

Just checked es explorer on the shield, looks like backups/apps, folder/s was created.........i get the feeling adb backup is apps only, not system

---------- Post added at 06:38 PM ---------- Previous post was at 06:06 PM ----------

Yaaay, a succesful flash to 2.1 full.............nerve racking, it was at this stage i bricked my first.........was starting to think during the process what if i had a corrupted system.img download, or corrupted adb installation and was about to brick my second.......i OTA'd upto 2.1 this time, so the possibility is still there that maybe, might have a corrupted stock 2.1 download........so if i get a bootloop, restoring the stock 2.1 img files might be fun.........im implying it wont:p

Now im hesitant to start setting it up untill a working recovery comes along, or untill i find an acceptable alternative method

Edit

oh yeah, I just realised i need flashfire to flash xposed anyway, so i guess i can check now to see what flashfire is capable off........get my bearings so to speak
[Shield Android TV Android Development] kdb424:
http://xdaforums.com/galaxy-nexus/general/guide-phone-backup-unlock-root-t1420351

It'll only back up user apps/data, but still useful in some cases as long as you don't break /system or /boot
[Shield Android TV Android Development] TunaFlapjack:
Ok just got home an managed to solve the welcome screen issue by using a mouse, and after you get through the setup screens the controller works no problems. just out of intrest have i read that theres an update to fix the microphone/google voice search?
[Shield Android TV Android Development] banderos101:
thanks, but im already kinda covered on that side, im giving open source "oandbackup" from f-droid a go, needs a little polish(fix filter apps) but initial testing seems good, ive backed up/restored one or two apps already on at least two devices.........backs up apps/data, plus it can freeze system apps, plus, open source..........so looking to see how that goes

my research so far in finding "nandroid"

Odin

Does backups, looks like the nandroid kind, but doesnt work very well or at all on android version 4.4+

Flashfire

The spiritual sucessor to Odin, works on 4.4+........may have odins backup feature (although i cant find it on the playstore)

Flashify

Creates/restores backups while in running android, but needs a custom recovery to do so(so thats a no go)

adb backup

As far as i can tell, only backs up data, no nandroid backup option
[Shield Android TV Android Development] banderos101:
Long pressing the power button on the console does'nt bring up the power options anymore on 2.1 full, does nothing (long press/single)except turn the console on when its off

Ive got another method to get to the power options, so im okay in that regard, but

Could someone check theres, to see if thats standard on all 2.1 full android......when they have time

Would be a little odd if its just mine, makes me think that maybe something might not of flashed right, maybe cause problems down the line, after things have been setup, offcourse:crying:

Ive installed two apps(es and LMT), and disabled some apps and thats it really.......actually LMT was installed after i noticed this, as a way to solve the issue

Disabled apps

Browser

Calendar

Calender storage

contacts

contacts storage

email

gallery

google account manager

google app

google backup transport

google calendar sync

google play services

google play store

google services framework

trusted face

Thats pretty much all ive done for now untill i figure out the backup situation

2.1 full android
[Shield Android TV Android Development] tailslol:
Yes the power button is a small mistake in the rom code.

So it is a problem for every full 2.1 roms
[Shield Android TV Android Development] zulu99:
read my previous post to fix power button. you need one second to fix.

edit keylayout.

system/usr/keylayout/gpio-keys.kl change STB_POWER in POWER
[Shield Android TV Android Development] banderos101:
Thanks guys, and so sorry, did not realise it had been addressed already.

Just glad its an expected behaviour
[Shield Android TV Android Development] TunaFlapjack:
I have a couple of questions is 4k resolution supported in this build, in youtube or netflix i only get 1080p quality option?

Also is HD audio supported? Kodi log file is only reporting DTS and Dolby Digital in the m_dataFormats.

m_channels - this is the number of PCM channels, if HD audio such as DTS-HD is required then 8 channels must be shown here. For example:

m_channels: FL,FR,FC,LFE,SL,SR,BL,BR

m_dataFormats - this is the formats the audio device supports, for example:

m_dataFormats: AE_FMT_DTSHD,AE_FMT_TRUEHD,AE_FMT_EAC3,AE_FMT_DTS,AE_FMT_AC3,AE_FMT_S24NE4,AE_FMT_S24LE4,AE_FMT_S24BE4,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_LPCM

where

AE_FMT_DTSHD = DTS-HD

AE_FMT_TRUEHD = TrueHD

AE_FMT_EAC3 = Dolby Digital Plus

AE_FMT_DTS = DTS

AE_FMT_AC3 = Dolby Digital

Edit: May have jumped the gun just found this.

HD audio, DTS-HD MA, Dolby True HD can be passed through (bitstreamed), but currently only works with the native video player. Pass-through for HD audio is currently not working in Kodi and is a WIP
[Shield Android TV Android Development] banderos101:
Okay, so ive just checked out chainfires flashfire app, and it indeed looks like it has recovery like backup features, but, when i open the app, theres a little "warning" message on the first screen for nvidia devices (see pics)

Has anyone been brave enough to have tested flashfire's backup/restore options on our shields?If so, does it work?

Im contemplating testing it myself, but considering its a beta app, the nvidia warning, and so far i, not finding any shield owners confirming their sucesss............dont know...........so, in the off chance someone here might have already tested it......any success?
[Shield Android TV Android Development] banderos101:
Hi zulu, i noticed on one of your most recent videos, that xposed was was working, or more precisely, it gave a green message saying it was working

I just tried installing it, but like it says in the picture, its installed, but not active, the bit in red

My Procedure

1. Flashed xposed-sdk22-arm64-20150514.zip in flashfire........flashfire reboted fine afterwards

2. As soon as android boots up, i installed xposedInstaller_3.0_alpha4.apk

3.Opened xposed app, gives me the red message........ i chose the reboot button......didnt work.........hit the soft reboot button.......that one worked

4. Once androoid booted up, went to check again, same message

5. So i tried the shutdown option for good measure, checked after this boot, and messageis still their

Could you quickly confirm that im using the same files as you, the two bolded files above, if thats okay

And sorry, i feel like im being a nuissance with the so many questions

Edit1

Ive added the xposed log file in the pics (something there about no modules list)

The funny thing is, on 1.8 full, i thought the "red" message was nothing to worry about, and normal for our shields, because modules seem to actually work regardless of the "non active" message........not until i saw your 2.1 full android video did i realise that im suppose to receive the "green" message

Edit2

Gonna install some modules, check the log, and check if the modules are working like they did in 1.8 full

Edit 2

Just uploaded the xposed log after installing two modules......and like 1.8 full.......irregardless of the "not active message"......the modules seem to work........offcourse ive not done any extensive tests

Sorry for information overload

Edit 4

Just to clarify, im not expecting xposed support here..........just someone who has the "green message", to confirm im using the sames two files that are in bold above, as they did?
[Shield Android TV Android Development] m4fi3ux:
Hello,

I'm also having the same problems trying to get Xposed working on Full Android V2.1 :(
[Shield Android TV Android Development] banderos101:
Ive just tried greenify and it doesnt see its own module activated.......when i try to activate an xposed feature in greenify, it takes me to the xposed module section, to activate greenify's module, but its already activated and have done numerous reboots so far

Now this could be a lolipop issue, or the xposed "not activated" issue.......im gonna look it up.....and maybe see if theirs an updated greenify app version see if theirs a fix on that side of things, as i believe my greenify version is at least a couple months old

But the few modules im testing seem to be working, but at least 1 is a little "quirky"(xprivacy), as in, something doesnt work initially, but then somehow "fixes" itself after messing around with it, and works then onwards...........hopefully no more issue later

Edit 1

Seems like an updated greenify now recognises its own module as being activated.......:eek: but now the greenify's donation package is seen as corrupt...........man, cant wait till all the setup is done so i can start enjoying my shield already.........probably this time next week then
[Shield Android TV Android Development] zulu99:
what happen to google play app. My was updated automatocally and now i have the TV version but all content inside.

are my experiments or also your google play app was updated in this way ?

But uninstalling the updates and installing the last version from apk mirror it return the regular google play.

crazy :) But i hate also the TV google play app. tic tac toc with directional keys i lose a lot of time :)
[Shield Android TV Android Development] Grippen50:
Ah thats funny you have a custom googlePlay now :D

TV version will full apps ;)

From that I can assume both stores are not that different. Something else in the system is what filters the apps and communicates it to the store.

Nevertheless would be good to know if it was only a single indecent or it will be something to be deployed later in time if auto updates are on.
[Shield Android TV Android Development] zulu99:
I know from many months what google play store app look and how i can transorm it.

The problem is that Android TV have different SystemUI and different Settings that are signed with manufacturer platform key.

Many limitations are in both services, and in the next android 6, google add also others limitations in settings so you can't have all permissions that an app can request to the system in full Android.

An example of permissions removed in Android TV 6 is draw over other app, used from many useful apps.

This fact add many others limitations in Android TV 6.

This is just an example, many things are different. But i can produce an ibrid system if we have problems in future.

For now full Android is million times better than Android TV
[Shield Android TV Android Development] r2d2_boss:
Just a quick question ,to install this firm the shield has to be rooted previous

Thank you
[Shield Android TV Android Development] tailslol:
no need. just install on stock firmware 2.1 by adb/fastboot
[Shield Android TV Android Development] zulu99:
No others full Android users have the google play store app that auto update to Android TV version ?
[Shield Android TV Android Development] m4fi3ux:
Yes i got the update too

I tried to install an old apk but it always upgrades alone and I got the new TV version again and again :(

Is there a way to prevent the playstore to update ?
[Shield Android TV Android Development] zulu99:
i will see, but in few day, we will have also a new google play app with high version number and we can install this other.

The fact is that today the android tv version have a higher version number. 80403086

But the normal version have many more update so is just a question of some days. Now it have version number 80403000

For now you can still install all apps. But i will see.

I'm playing with the app Disable service https://play.google.com/store/apps/details?id=cn.wq.disableservice

To undestand what is the service that auto update. When we found we can disable this service.

is also possible that the auto update is forced from google play services and not from a service of google play app, so with disable service app we must found the right service that force the auto update.

But i repeat i think is just a question of few days. With a regular version with higher version number we can update.

For the moment we can still install all apps but the normal version is better.

I don't want change the build.prop to solve

Maybe, this explain also a new bad fact, mean that Google is updating the google play app also based on build.prop and this is not good for Android in general.

Google is increasingly becoming a spyware that is hard to bear. :)

I really don't understand what Google want from us. We buy regular app, we buy regular movie services, this firmware is full aosp compliant. Also selinux enabled. And the Shield TV is a Google certified device.

We only want be the real owner of our device and have root on a full Android version. Why Google want break balls in this way ?
[Shield Android TV Android Development] banderos101:
"For now full Android is million times better than Android TV"

Definately :good:
[Shield Android TV Android Development] zulu99:
Try disable this google play store app services to stop auto update.

uninstall the android tv version

reinstall the normal one

and open the app for the first time, mean first config.

disable WIFI so it can't update

with the app Disable service https://play.google.com/store/apps/details?id=cn.wq.disableservice disable the following serivices

DailyHygiene

ReschedulerUsingAlarmManager$CheckWifiAndAutoUpdate

ReschedulerUsingBroadcast$AutoUpdateRecheckForBroadcast

ReschedulerUsingJobScheduler$CheckPreconditionsAndAutoUpdateJobService

RestoreService

Restart

let me know

Just for fun, before the new version
[Shield Android TV Android Development] zulu99:
However, I keep up a good moral and haven't lost my sense of humor.

While I fought with Google Play App, i played with two new games :)

https://youtu.be/Q_eBSL1uQow

https://youtu.be/qUln9ZZa5wU

:) :)
[Shield Android TV Android Development] tailslol:
no problem on 1.8 here.
[Shield Android TV Android Development] zulu99:
To avoid the update of Google Play Store app to Android TV version, you can also edit the build.prop

and rename all occurrences of foster_e in full_foster_e

expecially in fingerprint

now i want see what happen with the build.prop modified.

But is a shame that a company like Google do all this intrusive things in your own system. without the consent of the owner.

This things can be solved only with many legal actions.

Users must have the ability to choose and not be forced by exploiting the advantage that you have to be Google or manufacturer

What happening is illegal in my opinion. Because go against antitrust laws and don't respect privacy of users.

EDIT:

With build.prop modified, all is working, but in future Google and the manufacturers can fight custom firmware with build.prop informations.

This is an extreme illegal example made by Google: https://koz.io/inside-safetynet/

This is valid for all Android devices, not just for Shield TV.
[Shield Android TV Android Development] tailslol:
with all those fix needed i am guessing it is time to release a 2.1.1 rom .
[Shield Android TV Android Development] zulu99:
For the moment this are not fix, but just normal modifications that every root user can do.

Is ridiculus edit a build.prop or a keylayout. Is the base of Android.

But don't worry, i will update after i see what happen on all apps with build.prop modified.
[Shield Android TV Android Development] gaith:
zulu99.

I think the idea of having Full Android 2.1 instead of Android TV is great. But I used the rom for 2 days and Im getting freeze sometimes when i open up the recent apps and also it became slow sometimes which is not stable at all. i wish to get the fixes so we can use this powerful console with Full Android. (I switched back to stock)

ps. I dont think the wireless 5GHZ works with this one.

thanks for the good work.
[Shield Android TV Android Development] zulu99:
You are serious ? :)

Everything works wonderful. Maybe you tested another firmware.

Or maybe you not erased user data with the command fastboot -w

Or because you are not on others last stock 2.1 things

I have everything working wonderful. And i use only wifi ac 5Ghz

look my last video gameplay to see the firmware in action, i made two videos yesterday.

P.S.

check your router, maybe what not work is your internet connection / router became crazy

It is strange that you have only one post on xda.... and to say that.
[Shield Android TV Android Development] thekid22681:
Zulu99,

Do we still use fastboot -w on the pro model? On the 1.8 rom I know you said not to use it because it had problems and to use twrp to wipe data. No twrp now with 2.1 rom. Don't need another bricked console. Last one bricked just flashing the stock 2.1 OS.
[Shield Android TV Android Development] gaith:
Hi Zulu99,

Again im saying this is a great rom please dont get me wrong, maybe i need to change my hdmi cable or something.

Another question, in the google play store some apps its saying "its not compatible with this device" whats the solution for this?

And why for some apps like (BeinSports) its saying it wont work with rooted device :s ?

Thanks again
[Shield Android TV Android Development] zulu99:
use FlashFire to wipe.
[Shield Android TV Android Development] zulu99:
Do not get me wrong, Sorry

But i suggest to learn better Android before write things like that.

Others users in generic threads can respond better to this basic questions.
[Shield Android TV Android Development] zulu99:
For all.

Don't get me wrong when sometimes i became nervous.

I had many attacks in the past and in the present from some users in the Android TV community on Google Plus

After some time i understand that are just jealous and bad people.

The administrators of this community are completely NOOB

When i read comments in xda, i try to understand if the comments are from regular users or from users that just want attack me.

I know very well when a firmware works well or not. And if something is not going well, i'm the first to inform users.

So to summarize, some times when i read very strange things, i have my suspects.

Apart from that I try to be very helpful with all even if the job is really hard and do not always i have time available
[Shield Android TV Android Development] sandog12:
Don't worry about the haters battle.... Combat ninja's for life!!!
[Shield Android TV Android Development] tailslol:
u

we understand don't worry .

i know the feeling here this is why i am trying to help.

but we have to concider something important.

not all poeple are power user and nothing in this world is perfect or fully finished.

but we do what we can with what we have :cool:
[Shield Android TV Android Development] zulu99:
many thanks for your help. I appreciate it very much.
[Shield Android TV Android Development] zulu99:
In case someone need the new build.prop to avoid google play app autoupdate with Android Tv version.

For now. We will see in future.

unrar , replace and don't forget to assign right permissions. 644
[Shield Android TV Android Development] Grippen50:
Ye Zulu99 dont worry it is always like this. Some are happy others are not. Nevertheless people should be thankful to what you are doing here and specially providing all of this for free.

Just a remark I think these workarounds should be placed in the first post otherwise people won't find them and continue asking them. Stuff like:

Workaround for the Power Button issue

Workaround for GooglePlay issue

Mods like the one tailslol just did

etc...

This way its also easier to track the issues to be solved in a future release.
[Shield Android TV Android Development] zulu99:
Yes, but actually the Google Play that autoupdate to android tv version is not a firmware problem but something that was made by Google with intention or without intention i don't know. We can also update to another google play store version when it will be avaiable in few days.

For now edit the build.prop is a momentary fix to avoid the auto-update and i want see also if the modified build.prop can create some secondary problems on some apps (example some apps refuse to work because check the build.prop). So for now is under test. But all is working for now with the modified build.prop

foster_e swapped with full_foster_e

Is a question of 5 minutes add this workaround in a new firmware now that i have the base firmware. But i like perfect things so i test well all before upload and reupload and upload again.

Is just a clarification.
[Shield Android TV Android Development] Grippen50:
Thanks Zulu99. I guess I will have a perfect system or an almost perfect by the time I get my hands on my shield. It was delivered a couple of days to my temporary US address but I will be there only in 3 weeks. Only in December I can work with it when I return back at home.
[Shield Android TV Android Development] duanim:
Zullu99 don't pay attention, for sure,peoples have to be at least know was going on, read first before ask.

So far this ROM is the Best, for the play store auto update I don't really care now because I did download everything,I will for you update if you have something else to added to the ROM.

Zullu99,remember about the application called Notification for Android TV, I did email the developer and he send me the apk server,the client free in play store, works great, but I can't update the app,because it turn into the client one.

Something else,I am trying the emulate touchscreen, using tincore keymapper and game keyboard,using the Nvidia gamepad wired connected to otg USB and I can't do nothing,the application get connected and disconnected,tincore said that I had to disabled the accessibility service in settings - accessibility,can't find it. Two things that I found,this is an android TV or box,not touchscreen and doesn't had an accelerometer, I known about the droimotte in wireless connected to the gamepad, but I just want to the gamepad.

It's like the only way to emulate touchscreen is in WiFi mode,I didn't try Bluetooth yet

What do think.