yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] Josh.5:
If you are in Kodi and the dialog seems to be frozen, it will be safe to pull the plug. If you are in the recovery screen and it is updating, then that's a different story.

If you are still in Kodi and nothing is happening, can you reboot the box and the go to programs > system settings > update and click on "check for update" there.
[Miscellaneous Android Development] DancesWithChickens:
I tried it like that twice, it always ends up with an endless dialog screen.
[Miscellaneous Android Development] Josh.5:
Can you confirm that you went through the full ember conversion process when you originally installed it? Sounds almost like your box is running out of space in the cache partition before it can cache the update...

Can you check your disk space in kodi's system info screen. If the mount of /dev/cache has no room, then this is a problem
[Miscellaneous Android Development] DancesWithChickens:
edit:

Reinstalled 2.0.2, then used the EmbER recovery for a backup i did a few days ago.

I just tried manually updating again:

Does not work.
[Miscellaneous Android Development] Josh.5:
It looks like your cache partition on your device does not have the room to cache the download. This is a problem, bot nothing so serious that I cannot get a fix sorted by tonight (my time)...

Please disable the ota auto update feature on your box till I can write a patch for this. I'll post back here later on with a workaround
[Miscellaneous Android Development] DancesWithChickens:
thx :)

i suppose it is not possible to install the downloaded image (in root/recovery) otherwise?
[Miscellaneous Android Development] Josh.5:
I've temporarily disable all g02ref and tlbbv2 OTA updates till I patch this. This will not affect any users who were successful in downloading the updated already. And once I have patched this issue, I'll recompile these 2 builds tonight and re-enable them on the ota server.

Please be patient with me at this time. It's morning here and I need coffee... :)

---------- Post added at 07:22 AM ---------- Previous post was at 07:19 AM ----------

Not really...the way the ota update is written currently requires a double up in order to check everything out and apply the recovery...This is overkill tbh. So I'll disable this feature in ember v3 real quick, recompile and then write something little to help you get your box updated as is for now...wont be too difficult.
[Miscellaneous Android Development] lexi81:
I also had to do the update from cache method through recovery on my MX2. But that just worked fine.

One question, why am I not allowed to choose the number of audio channels? I thought it should be possible to do 5.1 pcm through hdmi. Any method to overrule this?

Thanks for the update guys!
[Miscellaneous Android Development] Wotzit:
My MX2 also stuck at the reboot notice. Updated from cache.

Resolution was initially changed to 480p so changed it back manually.
[Miscellaneous Android Development] Josh.5:
The resolution change is just due to the jump from Kodi 14 to 15. No big deal there.

But I am surprised to hear that you had the same update issue with your mx2...can you tell me the total space available in your cache partition? You can see it under system info in Kodi...

---------- Post added at 10:18 PM ---------- Previous post was at 10:17 PM ----------

Also, G02ref ota is recompiled and back online...
[Miscellaneous Android Development] Wotzit:
I have had this same problem since installing EMBER. The only work around I could find was to run a script to set the clock myself. Perhaps if / when more people start reporting the issue a proper fix will arrive.

[MENTION=5804734]Josh.5[/MENTION]

/dev/cache 204.7M Used 104.3M Available 100.4M
[Miscellaneous Android Development] Josh.5:
Agreed. If bug reports are not submitted, we don't really have the option to fix the issue for the next release.
[Miscellaneous Android Development] Dru79:
Where is this script? Thanks
[Miscellaneous Android Development] DancesWithChickens:
I never had connection issues like that, might be a router thing.
[Miscellaneous Android Development] Wotzit:
It's not, just an issue with Ember or MX/AMlinux.

Earlier / different roms are fine with same modem(s). I suspect that perhaps the newer builds don't wait long enough for the network to be present (only guessing), cos when my script waits (at boot) for the year to NOT be 1970 - The date and time are set correctly.

UPDATE:

It seems that, at some point, I decided to wait for the year to be greater than 2014 ( as occasionally I did notice an incorrect date/time ).
[Miscellaneous Android Development] VannMann:
So far, I just need skip and fast forward/rewind, lol.
[Miscellaneous Android Development] coccolino_dbro:
Quick question: can this be turned into a fully fledged Ubuntu/Debian desktop OS? Planning to buy a device based on this SoC, I like the HWA support on the chip, but being able to use it as a basic computer is a must for me (more exactly for my girl :) ), or I'll go with another device, like an A20 one or a RK3066...
[Miscellaneous Android Development] mbtsm:
release 0.11v link download

i well try subtitle

thank you
[Miscellaneous Android Development] shivup:
Where is 0.11 version link ?
[Miscellaneous Android Development] Vathan:
There isn't one.

croniccorey said

"MX_LINUX_v0.10-G18REF_MX2REF-Update.zip 93.00 MB

(There is a issue in this build causing AE to crash, it is fixed in repo and a testbuild is coming soon)"
[Miscellaneous Android Development] mbtsm:
Release v0.11 (WIP)

- Add support for G02REF

- Update kernel to 3.0.96

- Fix UTF-8 encoded subtitles

- Update WIFI drivers

- Add Nano text editor

- Add XBMC Subtitles add-on by default

- Update XBMC add-ons

- Fix's to Network Manager

- Fix random AE crash

- More to come

:confused:
[Miscellaneous Android Development] Vathan:
Right...WIP means Work In Progress. He just hasn't released it yet. Keep an eye out for an updated post.
[Miscellaneous Android Development] croniccorey:
Test build coming soon, WIP = work in progress.

Reason I do this is so people can see progress to date.

Stay tuned
[Miscellaneous Android Development] lexi81:
Did you manage to look into the jaybob build differences? Just to be sure I flashed the 0.10 again still had freezes, back to jaybob "freeze fix" build and the freezes don't happen anymore. You see a still frame for a sec or 2 and then video resumes. Anyway, thanks for the work!
[Miscellaneous Android Development] nico1375:
dead link?

Hello, thanks a lot for your work.

I wanted to try 0.10 but link seems dead. Is it?
[Miscellaneous Android Development] VannMann:
Eagerly waiting to try your new build! Really wanted to like the .10 build, just had a few quirks. Very promising road your taking though, you have me in suspense! :good:
[Miscellaneous Android Development] croniccorey:
Hi, Test build scratched and happy to say v0.11 will be here in the coming hours ;)
[Miscellaneous Android Development] hsd:
Thanks for your work Cron. Is the G20REF the same device as the ATV 1200?
[Miscellaneous Android Development] croniccorey:
I am unsure, i will look into it and if so then it will be added next build
[Miscellaneous Android Development] hsd:
Reading the J1nx forums it appears the ATV1200 is the

G02REF. http://www.j1nx.nl/bbtopic/mygica-atv1200/
[Miscellaneous Android Development] shivup:
Awesome News :) Thank you so much for your hard work.. :)
[Miscellaneous Android Development] lexi81:
Great, will test asap! Did DVD playback improve?
[Miscellaneous Android Development] croniccorey:
Over v0.10 everything video/audio should gain improvement.
[Miscellaneous Android Development] mbtsm:
Thaaaaaaaaaaaaaaaaaaaank you subtitle work great now

super Developer croniccorey :good::good::good::good:

donate
[Miscellaneous Android Development] Dru79:
[MENTION=5388736]Wotzit[/MENTION], could you share your script?
[Miscellaneous Android Development] DancesWithChickens:
OTA still does not work.

Had to reboot to recovery and update from cache as well.

Gesendet von meinem GT-I9100 mit Tapatalk
[Miscellaneous Android Development] Wotzit:
Of course. (Don't laugh if you can do it better though), I'm not sure if all devices are equal - since I have to use different scripts / procedures for the M3 and MX boxes. I'll dig out what I've got and get back to you

UPDATE:

Oops - Updated the wrong post.

*cut* - *paste*

-------------------------------------------------------------------------------

#!/bin/sh

#

# Set XBMC Clock....

#

TIMEOUT=50

/etc/init.d/S49ntp stop

while [ $TIMEOUT -gt 0 ]; do

ntpdate 0.au.pool.ntp.org 1.au.pool.ntp.org 2.au.pool.ntp.org 3.au.pool.ntp.org

if [ $((`date +'%Y'`)) -gt 2014 ]; then

TIMEOUT=0

else

sleep 2

TIMEOUT=$((TIMEOUT - 1))

fi

done

/etc/init.d/S49ntp start

--------------------------------------------------------------------------------------

I save the above as SetClock (no extension) and drop it into the /root/Run/ folder and set permissions to 0755.

Reboot, and the time corrects itself from then onwards (there is a delay of maybe a second or two, longer if the device is busy updating). This results in my MX2 correcting the date/time, automatically - eventually (no need to wait just use the box).

No idea if it will work on any other device, as I do have to use a different method on the M3 running AMLinux (or similar).

Hope it helps some. Not being a programmer, can't really give any help to those it does not work for.
[Miscellaneous Android Development] RayWalton:
No it is not the router at all as it has been fine and still is with other G02Ref boxes running MX Linux. Problem started about 10 days ago now when still on EmbER 2.0.2. Strange thing after a few reboots it does flick to the correct date/time. Strange how and why this has happen as never had the problem before since I brought this excellent new DLink ADSL 2750E router about 3 years ago ????????? Only think I played with recently was the DNS addresses in the router but reverted back to Auto for that option as that was what it was set to before I put a couple of manual ones a special well known DNS service told me to do and it was crap !!!

Even with a new boot up, after being shut-down for a while, if the right date/time does come up okay it only does so after first showing the 1970 date for about 10-20 seconds before flipping over. It never used to do that before the other week as it always came straight up on first boot with the correct date/time and I have been using EmbER 2 for a long time now since that update arrived months ago.

Wotzit, I assume I write that text file in notepad and save it as a txt file as Setclock but with no extension. OKAY so I then put this newly written file on a USB stick and go to my MyGica ATV1200 box and in File Manager copy it into the /root/Run/ folder. So that is all fine but how do I change permissions, never seen such options in File Manager and and the only attributes I know are the many Linux ones like -r -w -a etc etc but wtf is permission 0755 ??? Is that a hex code equivalent of the normal text letter attributes ??
[Miscellaneous Android Development] Josh.5:
You don't need to set permissions for scripts written and placed in the root/Run folder. Ember sets the necessary permissions on boot and executes the script

This may not be 100% true. I may have been getting confused with something else.

Installing something from Programs > System Settings > Services will set all scripts in that folder to the right permissions when it is installed.

Nope...sticking with my original story. I did add that to the execution of /root/Run scripts. Ember will set the permissions for you, all you need to do is write the scripts and add them to that folder

---------- Post added at 07:14 AM ---------- Previous post was at 06:37 AM ----------

Sorry for the confusion. I should have been more descriptive.

I didn’t patch the 2.0.2 that you were already running. I only patched the latest v3.0.0 firmware so it fixes this issue in the future. Once your box is running v3.0.0, if and you attempt an OTA update then you will not have this issue. If you downgrade back to 2.0.2 or any other pre-v3.0.0 build, the issue will return.

For now, and only for users experiencing this problem, the method you are using for updating to v3 via the cache when booted to recovery is as good a method as any. But in future releases you will not have to do this.

To be clear...If you have the problem described earlier whereby your box carries out the download for the ota update and then gets stuck on the last part where it rebooting the box, then carry out as follows:

1) Pull the power from your box

2) Reboot the box

3) Got to Programs > System Settings > System and select the option "Reboot to Recovery"

4) In the recovery - select "apply update from cache"

5) Select the file "update.zip" (if there is a file called update.img, then ignore it! You want to select the file ending in .zip)​
[Miscellaneous Android Development] Dru79:
Tkanks Wotzit but your script doesn't work on my TLBB :(
[Miscellaneous Android Development] Wotzit:
I'm sure notepad adds an extra carriage return code after each linefeed (or vice-versa).

Use notepad++ or PSPad ;)

I use WinSCP to place the script (you can set permissions using properties).

I set permissions just as habit, since other roms don't have the /root/Run/ folder and scripts have to be executed from elsewhere
[Miscellaneous Android Development] Dru79:
For me this script doesn't work. I don't know why. Does anyone have a player with a working script?

EDIT:

Could someone say me how I make script with line ntpdate -u pool.ntp.org after 30 seconds from boot?
[Miscellaneous Android Development] RayWalton:
Many thanks for that info Josh and your fix for future OTAs.

Now a big thanks to Wotzit as his little SetClock file placed in the /root/run folder did the trick. Strangely the first soft reboot after this still had the 1970 date back again, but a subsequent power off hard reboot and the problem is fixed ... YES :) Then to make sure it was not a fluke I tried several reboots, both soft and hard, and no more 1970 date problem.

Oh and BTW Wotzit I can mention that Notepad was fine as I do not have Notepad+ and was too lazy to locate where to download it from. So I simply copied the text from your message above and pasted it into Notepad, saved it and then removed the default .txt suffix. Placed the SetClock file with no extension onto an SD card, placed into my box and using File Manager copied it across to the /root/run folder.

NOTE there is a /run folder too but if you copy it there it won't work (I checked this out too) and of course it also gets deleted on the next shutdown or boot. So if your SetClock file did not work for you check you have put it in the right run folder at /root/run and do a power down hard reboot too just to make sure it initially gets read.

Thanks Josh re EmbER 3 update and a fix for future OTA's, so do I need to manually do another update to patch this new fix across to my original EmbER 3 from last week. ??

BTW interestingly my friend with an ATV1220T box I supplied to him some months ago with EmbER v2.0.2 (and I got him to register straight away with you guys for the DE), automatically carried out the OTA upgrade to V3 perfectly and he did not have any problems at all. My box is the slightly earlier ATV1200 model which I thought was primarily the same, but obviously there must be some differences in the hardware. Same with installing EmbER V2.0.2 convert over the default Android on new ATV 1220T boxes as this worked on the ATV1200 but bricked all the ATV1220T boxes I tried it on (only two of them with the same bricking so I stopped there).

Not sure if there will be a full convert version of EmbER 3 for installing to new Android G02ref boxes but if so I do not want to brick another ATV1220T box as they are a pain to unbrick sometimes, so need some reassurance if possible from you Josh. That is why I am still using MX Linux KODI Helix 14,2 for new box conversions for now. I hope in the near future I can register with Josh5 and croniccorey to be able to install pre-licensed EmbER 3 (and later) firmware on new Android G02Ref boxes and without any untenable bricking hassles. Hopefully soon of course maybe also for the Quad core Geniatech boxes as well .
[Miscellaneous Android Development] DancesWithChickens:
I'm having some issues with surround sound.

In system/audio output, there are now 2 choices for default audio output.

This was never the case before.

I had to switch twice so far to get DTS to work.
[Miscellaneous Android Development] Dru79:
[MENTION=5755021]RayWalton[/MENTION], could you attach here your script? I don't know why but what I am do - my script doesn't work. I tried notepad, notepad++, soft reboot, power off etc.
[Miscellaneous Android Development] lexi81:
why am I not allowed to choose the number of audio channels? I thought it should be possible to do 5.1 pcm through hdmi. Any method to overrule this?
[Miscellaneous Android Development] MrBungle67:
I am having similar issues...

I go in the settings, uncheck/recheck DTS capable receiver and passthrough, and movie plays fine with DTS. Turn the box off, back on, and lose DTS again. Back in options, and DTS is back. I am thinking of doing a full reset on the box and re-install 3.0, right now I still have 2.02 upgraded to 3.0.
[Miscellaneous Android Development] wason92:
Do it in advancedsettings.xml

There's probably defaults in the system settings but if you enable dts in your user advancedsettings.xml it should override it
[Miscellaneous Android Development] MrBungle67:
I only have my SQL connection parameters in there right now, but I'll look on Kodi's website.

Something else that's weird is that I always had the settings set to not play gui sounds, and to not keep the audio device alive. At that point my receiver would simply say "no signal".. now it seems something is always on and audio is kept alive.
[Miscellaneous Android Development] Wotzit:
Glad it helped somebody else out :good:
[Miscellaneous Android Development] Dru79:
Do you know why my SetClock doesn't work. I did everything what you wrote. I made SetClock in Notepad++, placed in root/run, rebooted or powered off. And nothing happened. I don't know why.
[Miscellaneous Android Development] Wotzit:
As I said at the start, I don't think that EVERY script will work with EVERY device.

I have to use different scripts, placed in different locations, for my M3 box and my MX box.

I guess this is the case for TLBB, unless someone with the same problem with their TLBB can confirm otherwise.

It took me a long while to figure out the different scripts required (not being a programmer) for my two boxes.

I am, unfortunately, unable to advise what would be the issue with devices that I do not have.
[Miscellaneous Android Development] Dru79:
For me works line in putty - ntpdate -u pool.ntp.org. Is this a tip?
[Miscellaneous Android Development] RayWalton:
Dru I see no point as it is exactly a copy and paste of Wotzits text script file saved in Notepad but without any .text or other extension used.

I tried to upload it but it said it was an invalid file, probably because it has no extension. I suppose I could add a .txt extension to it that you can remove before use, that is if you really think it is really worth it
[Miscellaneous Android Development] Dru79:
Do I have to copy these lines ------------------- too? Is any user TLBB uses this script?
[Miscellaneous Android Development] RayWalton:
I just copied, and pasted into a new Notepad file, the whole of Wotzit's text for the needed script script file, saved it and removed the .txt extension.

Now having said that yesterday I started getting more boot ups with the dread 1970 date and time again needing a second reboot to fix it, so it seems this script file is not working 100% reliably after all. I checked and it is still where it should be as before so no reason for it to have stopped working reliably, very odd ???? Any ideas anyone ??
[Miscellaneous Android Development] MrBungle67:
Thanks, I had no idea we could had any setting from gui settings into advanced settings!

I added the whole audiooutput block into advancedsettings, and digital/dts formats are fine right away without a trip in the audio settings.

Devs, this issue wasn't present before EmbER 3.0. In my setup, I have the coax out directly connected to my receiver. Since 3.0 I would to always have to go in the audio settings to get the right audio signal to the receiver, or the receiver would just say "movie" (which is a 5.1 simulation made by the receiver) instead of "digital" or "dts". Some of the options were removed ("keep audio alive" for example, or number of channels as someone else said). This is what I added in advancedsettings.xml to make it work as expected:

<audiooutput>

<audiodevice>ALSA:iec958:CARD=AMLDUMMYCODEC,DEV=0</audiodevice>

<ac3passthrough default="true">true</ac3passthrough>

<ac3transcode default="true">false</ac3transcode>

<config default="true">2</config>

<dtspassthrough>true</dtspassthrough>

<eac3passthrough default="true">false</eac3passthrough>

<truehdpassthrough default="true">false</truehdpassthrough>

<dtshdpassthrough default="true">false</dtshdpassthrough>

<guisoundmode>0</guisoundmode>

<maintainoriginalvolume default="true">true</maintainoriginalvolume>

<passthrough>true</passthrough>

<passthroughdevice>ALSA:iec958:CARD=AMLDUMMYCODEC,DEV=0</passthroughdevice>

<processquality default="true">30</processquality>

<samplerate default="true">48000</samplerate>

<stereoupmix default="true">false</stereoupmix>

<streamsilence>0</streamsilence>

</audiooutput>

Hope this can be fixed in the new release...

Thanks!!
[Miscellaneous Android Development] braders2k:
Hi,

Anyway I can restore my own config onto Ember?

i have a backup I normally restore when using kodi?
[Miscellaneous Android Development] DancesWithChickens:
Could this be added to the next release plz?

http://xdaforums.com/showpost.php?p=62233809&postcount=176

Also:

Since 3.0.0, i've noticed a worse behaviour when buffering video, especially with the YouTube addon.

I have to start most videos twice, because the first time, it just buffers at the start or it plays a few seconds and then stops, buffering very slow.
[Miscellaneous Android Development] lexi81:
Would it be possible to run EMBY on this rom? There seems to be a package for Arch Linux: https://emby.media/downloads/linux-server/
[Miscellaneous Android Development] freejack2k:
Are there any more releases coming soon as kodi has moved on a lot since the last one
[Miscellaneous Android Development] Wotzit:
Ha-Ha doubt it, (look how long the last one was coming) probably gotta be a bit more patient
[Miscellaneous Android Development] DancesWithChickens:
Probably after a holiday break.
[Miscellaneous Android Development] Dru79:
Software 3.0 does not have a power saving option (version 2.0.2 have this option) - player after x minutes turns off.
[Miscellaneous Android Development] Slymobi:
Hi, Would this be the correct forum regarding possible future updates for the Arnu Mach 10 Linux box ? Are people familiar with this amlogic device here ?

Kindest regards

Regards as always
[Miscellaneous Android Development] trapdoor_howie:
I've got a CMX running v3.0 DE of Ember (previously v1 and v2) and recently its started freezing on playing videos from a local SMB server, its very random, sometimes running for hours sometimes for minutes, half the time when it freezes I can stop the video and start again at place it stopped, sometimes it will need a power cycle

Any hints or tips that I can do to improve its stability or explore logs that might give me a hint to the problem?
[Miscellaneous Android Development] Wotzit:
[MENTION=3484100]croniccorey[/MENTION]/Josh.5

Will it be possible to use a USB device for external Userdata in a later build? My MX2 Box doesn't seem to recognise any SD card bigger than 8GB. I was under the impression that the internal RAM of these boxes is 8GB so is there any real benefit to using the slower access SD card (vs int memory) for this purpose?