yashsingh1/xdaforums huggingface dataset:
[Fire TV Original Android Development] signde:
Circling back to this convo, re: powering on the Cube remotely.

When you say it is a problem with all NG devices - isn't the Ugoos AM6B Plus an NG device?

The Ugoos can be powered on remotely after shutoff, unless I am misinterpreting what I am seeing. Issue shutdown command in CE, box shuts off. Pressing the power button on the remote then brings up the Amlogic S922X boot logo then the full CoreElec splash screen boot sequence.
[Fire TV Original Android Development] Pro-me3us:
I had some things wrong on this before. The suspend feature in CE, is the equivalent of suspend-to-ram. Linux freezes all processes, turns off some hardware, and board control is handed back to bl30 (a component of the bootloader). bl30 has options to keep various hardware awake to listen for wakeup events. This includes GPIO, IR, Ethernet (WiFi too?), CEC and RTC.

Amlogic devices are never off when plugged in, just in a lower power state controlled by bl30 running in RAM or SRAM. A CE/FireOS shutdown only hands board control back to bl30. I don't know what triggers besides GPIO (Action button) are available in a bl30 shutdown state.

Amazon, Ugoos etc didn't compile bl30. It was provided by Amlogic. There are wakeup problems with the provided bl30 of all these older Amlogic devices. CE has a bl301 injection tool, that modifies the bootloader to fix some of them. But it won't work on an encrypted bootloader. And modifying the bootloader of a secure boot device will brick it.

Older AM6/AM6+ boxes don't have secure boot or encryption enabled, making it possible to use the CE bl301 tool. At some point Ugoos pushed out an update for the AM6+ than enabled bootloader encryption (possibly secure boot too?), killing the bl301 tool option. New AM6+ ship with the encrypted bootloader.

The raven U-Boot (bl33) source provide these scancodes:

//Enable ir remote wake up for bl30
#define CONFIG_IR_REMOTE_POWER_UP_KEY_VAL1 0xef10fe01 //amlogic tv ir --- power
#define CONFIG_IR_REMOTE_POWER_UP_KEY_VAL2 0XBB44FB04 //amlogic tv ir --- ch+
#define CONFIG_IR_REMOTE_POWER_UP_KEY_VAL3 0xF20DFE01 //amlogic tv ir --- ch-
#define CONFIG_IR_REMOTE_POWER_UP_KEY_VAL4 0XBA45BD02 //amlogic small ir--- power
#define CONFIG_IR_REMOTE_POWER_UP_KEY_VAL5 0xe51afb04
#define CONFIG_IR_REMOTE_POWER_UP_KEY_VAL6 0xFFFFFFFF
#define CONFIG_IR_REMOTE_POWER_UP_KEY_VAL7 0xFFFFFFFF
#define CONFIG_IR_REMOTE_POWER_UP_KEY_VAL8 0xFFFFFFFF
#define CONFIG_IR_REMOTE_POWER_UP_KEY_VAL9 0xFFFFFFFF

You can test to see if they wake/power-on raven. I don't have a programmable IR remote to try.

Waking from suspend-to-ram in CE is possible by pressing the Action button, but some of the hardware doesn't fully wakeup. The results wouldn't be any different with an IR wakeup trigger instead of GPIO button trigger. My best guess is that this is another bl30 bug.

Why do you want to power off the Cube? To save electricity? If that's the goal, there are other options.
[Fire TV Original Android Development] Pro-me3us:
If you're using Ethernet, comment out:

/storage/.config/autostart.sh

#connmanctl enable wifi

/storage/.config/shutdown.sh

#connmanctl disable wifi

That re-enables WiFi, on each boot. When WiFi and Ethernet are both available, CE uses WiFi.

After making that change, turn off WiFi (Settings > CoreELEC Settings > Network > Wireless Networks > uncheck Active). Turning WiFi off also prevents any MT7668 driver related boot lockups, so the bluetooth commands aren't really needed either.
[Fire TV Original Android Development] signde:
Thanks for the details.

With my AM6 Plus, I see the same Amlogic / CoreELEC splash screens when I power on from the remote as I would if the device was just plugged in. So when shutdown, the device goes to a low power state running bl30 which is listening for a few mostly power centric commands. It is technically not off but CE isn't running. What is curious to me here is I am getting all of this out of the box and it works fine. I have not installed the bl301 injection tool. My Ugoos was just purchased as new though the box was not shrink wrapped which made me suspect it was not in fact new.

My main driver for wanting to power the devices on and off is stability. With both the Cube and Ugoos, I find that playback is more stable if they are rebooted on some sort of cadence. Maybe it is the fact that I am using Plex Kodi Connect add on, maybe it is because I am on the nightlies, or it could just be a placebo effect.

The bigger issue though with the Cube is if I leave CE on for long periods of time (5+ days), eventually I will end up with a device that is unresponsive. Not sure if CE has crashed or what but there will be no video and the device will not respond to SSH or pings. I know how difficult it was to make these devices work as well as they do so I am not complaining but I feel like powering off/on frequently would probably alleviate that.

As for a programmable IR to try the codes you mentioned, I do have an FLIRC but I think those can only learn rather than be programmed.
[Fire TV Original Android Development] Wagmans:
I’m using NFS but I also his an Emby server on my Unraid setup- I suppose I could use that as well, but NFS seems fine, I’ve been able to stream very high bitrate rips with no hiccups. This is even limited to the USB 2.0 speed cap over Ethernet.

It possible to update to the CPM development build? That one apparently has VS10 support.
[Fire TV Original Android Development] signde:
You can run any build you want as long as you create the correct DTB.

Update steps are here: How to add raven dtb to CoreELEC update .tar file.
[Fire TV Original Android Development] Pro-me3us:
I feel like the Arctic Zephyr skin and it's included plugins adds some instability. Do you need to reboot, or can you just restart Kodi to regain stability (systemctl restart kodi)? If you want to regularly reboot the board, you could use Cron to schedule a daily reboot.

Edit crontab

CoreELEC:~ # crontab -e

Add the following line, exit and save:

0 4 * * * /usr/sbin/reboot

That would automatically reboot the Cube everyday at 4AM. Or every other day at 4:30AM:

30 4 */2 * * /usr/sbin/reboot

Check chrontab -l to verify the scheduled task was saved and ready. Cron is active by default, it can be enabled/disabled in Settings > CoreELEC Settings > Services > Enable Cron. Alternatively you could schedule a Kodi restart if that's all that's needed.

What happens when you suspend the AM6+ and then try to power it on via IR? Is the IR command ignored, does it reboot the board instead, or does it come out of suspension and Kodi is usable?

The Cube is likely using all the Amlogic reference IR settings, because as far as I can tell the IR receiver isn't used in FireOS. You could try using your AM6+ remote to power on the Cube from a shutdown or suspend state. Use the Cube or AM6+ to tell you what scancode the Ugoos remote power button is issuing. See if it matches any of the 6 IR wake scancodes above.

systemctl stop kodi

systemctl stop eventlircd

ir-keytable -u

**This requires using the meson-ir driver, instead of the amremote driver. If /storage/.config/remote.conf exists (amremote), temporarily rename remote.conf, and reboot. CE will switch back to the meson-ir drivers, and the above commands will work.

Power Consumption

I did look some further into power comsumption. This is what I measured with my meter with 0.1W resolution.

Idle power on WiFi: 1.8W-1.9W

Idle power on Ethernet: 1.4-1.6W

I noticed that MT7668 chip will only use less power if the MT7668 BT driver isn't blacklisted. It may need that code to know how to reduce power consumption. You don't have use BT, you can use a BT dongle, but the MT7668 BT driver needs to load for the MT7668 chip to consume less.

CE also has a suspend-to-idle option that isn't fully supported. This is very similar to the default suspend (suspend-to-ram), but at the last step it doesn't hand control back to bl30, it remains with Linux. The Cube can fully wake from this state with an IR button press.

suspend-to-idle: 0.7W

I couldn't find any information about how much power is used in suspend-to-ram on devices using the bl301 injection tool. I assume it's at least 0.2W. I only saw people reporting on the Odroid N2 (has it's own bl30 fix) and it was using 0.7-0.9W in this state. So suspend-to-idle may be close or equal to suspend-to-ram in terms of power savings.
[Motorola Razr 40 Ultra / Razr+ / Razr 2023] monc1975@yahoo.com:
Hello, just after a little help please. As the title above. If I purchase the Motorola 40 Ultra Chinese version will it work on the Vodafone network in the UK. If not, would I be able to install new firmware to enable it to work. Thanks in advance
[Motorola Razr 40 Ultra / Razr+ / Razr 2023] ekoandrew:
Chinese version hardware, the modem specs maybe different. Business friend came over from Beijing, his Unlocked Ultra 5G didn't work on either any US Major Carriers. 4G LTE works.

He winds buying a US Unlocked.

What's interesting, he tried his China Carrier on US Variant, again 5G didn't work.

Overall, different Modem.
[Motorola Razr 40 Ultra / Razr+ / Razr 2023] ijuanp03:
It should work. I bought mine from Motorola China and now I'm back to Malaysia. 5G works well with NO issue whatsoever.
[Motorola Razr 40 Ultra / Razr+ / Razr 2023] monc1975@yahoo.com:
Thanks for your responses. It does work over in UK, well mines running really well. Lovely phone as well

Actually I just realized it's the RAZR 2022 not the 40.
[Philips, Sony, TCL Android TV] Scheheryar:
Got this 65 inch X3 curved QLED back in 2018. I turned on my TV today and not been able to go past TCL logo. Tried hard resetting all day but didn't work and now I got this error. I think it's the firmware issue and I can't find X3 firmware anywhere on the internet. Any suggestion will be highly appreciated View attachment 5976769View attachment 5976769
[Philips, Sony, TCL Android TV] stasiof:
Bellow is thread for your TV model.

You need to flash PKG file, latest is V602.

https://xdaforums.com/t/downgrade-file-for-tcl-c6-current-version-v8-t658t01-lf1v534.4122589/page-16

Next time use search for your TV model,

X3 post here....

https://xdaforums.com/t/any-update-for-tcl-65x3cus-curved-qled-tv.4123365/
[Philips, Sony, TCL Android TV] Scheheryar:
I cannot thankyou enough. I flashed it and my TV is working fine.
[Philips, Sony, TCL Android TV] sherrypizza:
After flashing this firmware, my TCL X3 is responding really slowly. It is taking time to open apps, even selection and volume up and down are working really slow.
[Philips, Sony, TCL Android TV] Scheheryar:
I'm facing the same issue. The TV takes a long time to boot and then the response is rally slow and laggy. Is there anyway to flash an older firmware or the more compatible one?
[Philips, Sony, TCL Android TV] stasiof:
Search in posted thread for other PKG file....
[Philips, Sony, TCL Android TV] Scheheryar:
I found an older version but it's in OTA zip format. Is the procedure same, putting it in root folder and via USB or different?
[Philips, Sony, TCL Android TV] stasiof:
PKG files.....

https://shorturl.at/eyBKN
[Microsoft Surface Duo Questions & Answers] ch3mn3y:
Do my SD says that there is one new update, but as I'm rooted I cannot install it. Or I could, but than I won't have updated boot image and I may not be able to root new update.

But there is no recovery image for my SN...

Any idea what it may be (Android 13? Just a silly dream)? And how to get an image of something that seems to exist (update), but not at the same time (no image)?

As screenshot shows I have 831.13 and latest recovery image has the same version. I'm sure that boot image is firm same firmware, so it's not update cos of mismatch.
[Microsoft Surface Duo Questions & Answers] linlin2az:
====================================

方法一：把boot.img刷进A和B卡槽

1开机进入安卓输入：

adb reboot fastboot

进入fastboot模式

2查看当前卡槽是a还是b

fastboot getvar current-slot

3刷入boot到A或者B卡槽

fastboot flash boot boot.img

4切换到A或者B卡槽

切换到A卡槽的命令：fastboot set_active a

切换到B卡槽的命令：fastboot set_active b

5然后继续刷fastboot flash boot boot.img

6最后最好还是输入fastboot set_active b 切换到b卡槽。

7重启。

************完*******************************
[Microsoft Surface Duo Questions & Answers] ch3mn3y:
Meaning? I know how to get stock/patched boot image to my device. But I want to be able to root newer image, so I need boot.img from firmware, which is not available on Surface recovery site...
[Microsoft Surface Duo Questions & Answers] linlin2az:
Extract the boot partition or other partitions​

SurfaceDuo-Guides/Other/ExtractingPartitions.md at main · WOA-Project/SurfaceDuo-Guides

Guides for the Surface Duo. Contribute to WOA-Project/SurfaceDuo-Guides development by creating an account on GitHub.

github.com
[Galaxy Tab 2 Q&A, Help & Troubleshooting] tiger.railgun:
Greetings, I was trying to get LineageOS on a Samsung Tab 2 10.1 "GT-P5113" that a colleague gave me to try to get LineageOS on, but I've found out that they don't support it since 2018 or so. And then I found some instructions on how to root it for the "SlimKat" ROM. It was stated there that the ClockworkMod Recovery Version 5.5.0.4 is no longer available for download, so I found this. Which is apparently for an older model. I used that Odin3 v1.85 and tried to pu that "ClockworkMod_Recovery_v5.5.0.4.tar" on the device with Odin3 v1.85 but now the tab is in a crash cycle when the charge cable is plugged in. The battery icon appears for a moment with the first orange part on the battery image, and then the screen goes blank, and then repeats.

Also pressing the volume up + power button is not bringing it into the download mode now. Is there anything I can do to get it to turn on again?

Thank you.
[Galaxy Tab 2 Q&A, Help & Troubleshooting] drnightshadow:
Use TWRP by @Android-Andi

https://xdaforums.com/t/recovery-team-win-recovery-project-twrp.3464050/
[Galaxy Tab 2 Q&A, Help & Troubleshooting] tiger.railgun:
Greetings @drnightshadow I would like to use that, though the tablet is now in crash loop when I connect it to my computer or the wall charger. The image of a battery appears on the screen for a moment, and then the screen goes blank, and then the battery image appears again, and then it goes blank... over and over again, like a skipping record....

Nothing is happening when I press the volume up and power together nor volume down and power together. It's not showing the download nor recovery screen.

Thank you.
[Galaxy Tab 2 Q&A, Help & Troubleshooting] drnightshadow:
Do you use power brick more than 1A (amper).. if you do and it still doesn't charge, try next

- put cable into PC

- put tab into download mode (you'll need keep trying).

Unplug cable and let tab to turn off, hold keys to enter DOWNLOAD

MODE and plug cable in

- get STOCK ROM (original from Samsung)

- use odin to flash STOCK ROM

- tab will reboot

- don't unplug the tab from usb or you will need do it all over again (low

battery)

- let the tab boot for 1st time finish setup

- wait util charging on cca 5%,

- disconnect tab from PC and connect tab to power brick ASAP!

- than you'll see if it charge, if it's not use cable and a PC to charge it.

Good luck!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Pimnapa:
Hello hello!

I have a Lenovo P2 with the official ROM Android 7.

Unfortunately, less and less app are working correctly today and the bank notified me that soon its app will not support anymore this version of Android, so I was thinking to upgrade it with a custom ROM.

I know that there are specific threads, one for each custom ROM, and I will look into them for all the info about installation, root, configuration etc.

I would like just to understand which ROM is better in terms of:

- Safe (no spyware, malware etc) the phone is protected as it was with its original ROM

- Stable, (not too many crashes, reboot etc)

- Don't impact too much on the battery life

- Don't impact too much on the phone performances

- Allow me to use the Google services (google play, google pay) and NFC

On the other side I DONT'T need a ROM with the latest Android version, also an android 9, 10 would be ok for me if it would better suit with the characteristic above.

Which ROM should I install?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Atanassoww:
What Bank app you are using?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Pimnapa:
N26, and few weeks ago I received a mail from them:

"Update to Android 8 or higher to stay up to date​

From security to performance, technology always works better when it’s up to date. That’s why we’re writing to you to let you know about a change to our app releases. Starting in about 8 weeks, support for Android 6 and 7 will end. From then on, updates to the N26 app will only be supported on Android versions 8 or higher [...]"
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] TuRkiShArmY:
Crdroid+magisk delta+Shamiko i recommend
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] eried1:
LOS or CrDroid are probably the best when it comes to dodging bank apps. Sometimes CrDroid can be preferred because it is less known and not as targeted by security devs as LOS.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Pimnapa:
Thanks for the quick answers!

@TuRkiShArmY what is Shamiko?

@eried1 By LOS you mean LineageOS?

Is there a specific version you would suggest me?

As I said I don't need the very latest android version, for sure the highest the better, but I would prefer in case to have a lower version if it improves the stability/safety/compatibility/battery/performances/etc
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] eried1:
LOS18.1 by Leo. July security patch. The most stable of all available ROMs, I believe. Maybe August will be uploaded this week so could be worth waiting a couple of days.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] TuRkiShArmY:
Shamiko just hides root on magisk. Works on all roms
[Android Stick & Console Computers General] leleuchristophe:
I need to modify the value of line ro.sf.disablerotation=1 in the file DEFAULT.PROP in ROOT SYSTEM but it is IMPOSSIBLE to write and save modification due to permission with Android Box T95 MAX H616 rooted access

What is the best way to change and save the file ?

thanks

View attachment 5976779View attachment 5976781
[Android Stick & Console Computers General] ZG_DEV:
You can edit the permissions from a custom recovery "like twrp" but you will need to type permissions but in numbers, so it should be 0999 as you need , also you can edit it in twrp too !
[Android Stick & Console Computers General] leleuchristophe:
hi, can you describe how to type permissions in numbers ?? i can not install TWRP for this box ?

thanks
[Android Stick & Console Computers General] ZG_DEV:
Boot to twrp > advanced > file manager > search & click on the file u want > click chmod > change 0000 to 0999 so u get RWXRW

And u can edit the file easily

+ what u can't install ?

Errrrrr
[Android Stick & Console Computers General] ZG_DEV:
There is no fastboot, right ?
[Android Stick & Console Computers General] leleuchristophe:
Hi, thank for your rapid answer

with T95MAX , i can boot to RECOVERY MODE , but there is no TWRP for this box, do you know if TWRP exist for this box?

it seems there is no fastboot
[Android Stick & Console Computers General] ZG_DEV:
19.64 MB file on MEGA

mega.nz

Here is a twrp

Just extract the zip file
[Android Stick & Console Computers General] leleuchristophe:
Hi,

i have ALREADY this patch , it works fine with T95 MAX PLUS with S905X3 , but T95 MAX have a Allwinner H616 and TWRP 322 does not work; no set up of TWRP with BOOT in recovery mode

i think ROOT EXPLORER MODED VERSION could WRITE permission in file system , i will try
[Android Stick & Console AMLogic based Computers] themacor:
Hello, this is my first post here, and I tried searching in multiple places and downloading half a dozen of firmware before I decided to raise this topic.

I'm using USB_Burning_Tool (tried versions 2.1.7.0 and 2.1.7.3) and so far I've tried these firmwares :

View attachment 5976795

The only one that boots is the one I highlighted, but even though it runs unline the others, it hangs on an initial blue screen with the x96max logo and doesn't move. I tried leaving it there for 15-20mins and nothing happens.

I'm pretty sure I'm doing something wrong, so either I'm not flashing properly (I was following these directions) or I poorly identified my device.

Maybe someone can help, here is what it looks like:

View attachment 5976797

4gb ram / 64gb rom V4.1

Amlogic S905X3

RTL8822CS

Do you have any idea what should I try next?
[Android Stick & Console AMLogic based Computers] themacor:
Solution:

This device is not x96max plus 2, this is x96max plus 100. This is how you can determine which version of x96max you have: https://4pda.to/forum/index.php?showtopic=1013103&st=40#entry102780026

Once I downloaded plus 100 firmware it worked as expected.
[Android Stick & Console AMLogic based Computers] oldman20:
can u root it or not?
[Android Stick & Console AMLogic based Computers] themacor:
Yes, I can root it now that I have a working device. In the end, I ended up getting slimbox.
[Android Stick & Console AMLogic based Computers] Sedhadi:
Is there any ATV firmware for this box newer than 9?
[Android Stick & Console AMLogic based Computers] vujox:
When bricked, try this
[Android Software/Hacking General [Developers Only]] stevesalko:
Hi,

I have a translator that runs android, the device is currently booting to recovery asking to factory reset the device, the problem is that the device has the option to factory reset on the 2nd one and I can't go down, because the device does not have volume buttons, it has side buttons.

It also doesn't have OTG to connect a keyboard and no headphone jack either, when I opened the device I found rx and tx pins, so I connected an UART bridge and got into the bootloader, I cannot access the SBL command prompt because I don't know how.

Would anyone be able to tell me how to get to SBL?(holding enter doesn't work) or how to simulate volume down.

Here is the whole boot output.
[Android Head-Units] darkrider9595:
Hello guys I tried restoring to factory settings on car stereo, it resarted then i stucked on the volgkwagen logo, i tried everything to work but nothing working. Where is the problem? Can you advice me rot or something like that. it's KİNGWIN KW-1000.. (Btw do you know how to reset it with button you can help me.)
[Android Head-Units] Anton TNT:
Hi, you can enter backup or recovery by pressing all five fingers on the screen when unit starts/boots up
[Android Head-Units] darkrider9595:
I tried it, it didnt work.
[Pixel C Q&A, Help & Troubleshooting] CuriousOnlooker321:
Basically, I came across this tablet with a built educational suite from some charity organization whose main functionality is locked out as in I can't get into its settings however I managed to unlock some stuff in terms of its bootloader and turning off the OS Verification however... still encountering issues including the 'device not recognizing' on my computer. Is there anything else I can do?

https://onebillion.org (For context regarding the org in question)