yashsingh1/xdaforums huggingface dataset:
[Android Stick & Console AMLogic based Computers] Pro-me3us:
Entering mask mode aka device firmware upgrade mode (DFU) can be tricky on some Amlogic devices. Not all boxes come with a supported method to boot into DFU, and you end up having to open up the device to short the eMMC.

There's another Amlogic supported method of entering DFU, by sending a boot to USB message to the SOC through the HDMI port. It was first described using an ARM based Arduino board, later adapted for ATmega boards, and a compact all-in-one HDMI dongle. I prefer the HDMI dongle version (~$4-5), but it requires some skill to make and it won't work on any Amlogic devices that don't provide power to the HDMI port at device power-on.

Looking for the cheapest option, I recently bought an MH-ET LIVE Tiny88 for $2 /w free shipping on eBay, loaded it with the ATmega script and it worked like a charm. I'm including all the files needed to flash the Tiny88 to simplify the process for anyone else (Github mirror). Startup Linux (make a bootable USB with Ubuntu if you need), plug the Tiny88 into your computer with a microUSB cord, the red LED will flash indicating it's ready to be programmed.

To flash the Tiny88 to boot to USB (attach your computer) run:

sudo ./micronucleus --dump-progress filename i2c-flash_USB.hex

Or to have the Tiny88 boot the Amlogic box from the SDcard, flash it with:

sudo ./micronucleus --dump-progress filename i2c-flash_SDcard.hex

The Tiny88 needs to be wired to an HDMI connector:

Tiny88 pin A5 SCL (clock) to HDMI pin 15

Tiny88 pin A4 SDA (data) to HDMI pin 16

Tiny88 pin GND (ground) to HDMI pin 17

If you don't want to do any soldering, you can use an HDMI breakout board with screw-in contacts, and wrap the 3 wires around the Tiny88

View attachment 5782647	View attachment 5782637

I used an old DVI-HDMI adapter I had

View attachment 5782579
View attachment 5782583

To use the device after it's flashed. Plug the device into the HDMI port of the Amlogic device, power the Tiny88 via it's USB port, wait 10sec for the red light to stop flashing, power on the Amlogic device, done.

Visit GitHub for resources and more details
[Android Stick & Console AMLogic based Computers] BigEmpty:
Yes very good tips for cheap money! Wish I read this a couple of months ago. I way overpaid. I connected this to this. Paid over $10 and it took me a month to program it because I'm also very lazy. Something I learned is that a larger 24C eeprom can't be substituted for the 24C02 because the address change only works properly on the 02. Also if programming on windows it is easier to program before the jumper wire for the address change is put in. I couldn't get it to program on linux at all it was much easier for me on windows. I didn't know some devices don't supply power. Maybe that is why I couldn't get it to work on other devices. Is it known if this method works on any other certified devices besides the cube? Most every other device uses a password? Hopefully this cheap Tiny88 will make it super easy for others.
[Android Stick & Console AMLogic based Computers] Pro-me3us:
Your dongle is probably more convenient to use, it reminds me of an easier to make version of this one. I saw that passthrough HDMI adapter on eBay and was wondering about it's capabilities and bandwidth. Can you leave that in and play 60fps HDR @ 4K, in YouTube for example? Any issues with DoVi at 4K with it left in? How long is your HDMI cable?

If the device has a SOC password it will still boot to USB, lsusb will show you ID 1b8e:c003 Amlogic, Inc, but SOC commands and flashing will be disabled until you enter the password. The TVBox manufacturer can also disable boot to USB by burning an eFuse (Amazon did this on the 2nd gen Cube with a firmware update) to permanently disable this recovery feature. If that happens, the TVbox will ignore the HDMI message and boot normally.

There are also at least a few devices that don't provide power to the HDMI port immediately (confirmed on the FireTV pendant and 3rd gen Cube). It's easy to tell with this HDMI dongle because it has an LED that indicates it's getting power. I don't know how common this is for Amlogic boxes, but it's something to keep in mind if your device isn't getting you into DFU. You can check pin18 with a multimeter on your HDMI breakout board to verify there is power on boot.

Yeah, I think at this point most certified boxes either ship with a SOC password or USB boot disabled, or a firmware update has been pushed out to do that.
[Android Stick & Console AMLogic based Computers] BigEmpty:
I didn't try that yet. So far I've just left it in while booting in order to get root. I will try leaving it in and report back.

The usb software that runs the scripts doesn't have an option to try any password even if I had it. Is this correct?
[Android Stick & Console AMLogic based Computers] Pro-me3us:
Yeah, you can use Amlogic's update program, which my script runs.

./update password password.bin

password.bin just contains a password which I think is always 16characters (16byes)?

To quickly check if there is a SOC password, you can use pyamlboot (run this 2x):

python socid.py

Outputs something like:

Firmware Version :
ROM: 2.4 Stage: 0.0
Need Password: 1 Password OK: 0

Need Password: 1 indicates the SOC is password protected. After entering the correct password with update, the output of socid.py will be:

Need Password: 1 Password OK: 1
[Android Stick & Console AMLogic based Computers] BigEmpty:
Amlogic's update program can talk to a device connected in USB Gadget or DFU mode? I see pyamlboot supports this but the update program does too? Is there a list of the supported functions of USB Gadget mode that involve no exploit? I read the supplied Amlogic PDF for the update program but it doesn't cover USB Gadget mode functions rather only the U-Boot functions of the update program.
[Android Stick & Console AMLogic based Computers] Pro-me3us:
Yeah, the update program can do a few things before hardware initialization (DFU mode), as well as after the bootloader is loaded. Documentation is skimpy, besides the PDF you can get a list of operations by just running ./update

Options are limited before hardware initialization. There is entering the SOC password, reading the SOC registers (./update rreg), getting the chip ID (./update chipid and ./update chipinfo). I'm sure there is a lot more that update can do in DFU that I'm not aware of, by sending commands to the bootrom.

Update can load Bl2 (./update write bl2.bin 0xfffa0000 and ./update run 0xfffa0000) separately from the rest of the bootloader Bl30-Bl33 (./update bl2_boot u-boot.bin), which is in part what the Cube script uses it for.
[Android Stick & Console AMLogic based Computers] BigEmpty:
Can an image of the entire original bootloader for some device be made into the Bl2 and Bl30-Bl33 parts just by splitting up the whole bootloader image appropriately? Assuming no changes are desired. Just to test how the update program works using these functions.
[Android Stick & Console AMLogic based Computers] Pro-me3us:
Sure, I think Bl2 is the first 65k of any G12a/b and SM1 bootloader. To write the first 65k (0x10000) of the bootloader to SRAM:

./update write u-boot.bin 0xfffa0000 0x10000

To run it in SRAM:

./update run 0xfffa0000

And to write and run the rest of the bootloader, which will then continue to load the kernel (boot.img) on the eMMC:

./update bl2_boot u-boot.bin

Note: this assumes the SOC run address is 0xfffa0000, which I again think is the same for all G12a/b and SM1 SOCs (can check the SOC data sheet to confirm).

BTW did you have a chance to test your HDMI passthrough breakout board? To see if you can play 60fps @ 4k HDR and DoVi? I want to get one if it does work.
[Android Stick & Console AMLogic based Computers] mazjed:
Hi pleas Can you make it work on Attiny85

View attachment 5805031
[Android Stick & Console AMLogic based Computers] Pro-me3us:
I've only tried the ATtiny88, but I would guess the original I2C program from Tchebb would work on the ATtiny85 as well. You would need to take his source and compile it for the ATtiny85 instead. I wrote out the steps for the ATtiny88 here that you can use as a guide.

The MH-ET LIVE Tiny88 was the cheapest AVR I found that can be programmed by a computer over USB. I'm not sure if you are working with a developer board that uses an ATTiny85 or the IC itself. If you are only working with the IC then you are going to need another board like an Arduino to program it, in which case it might be easier to just use Arduino board itself to send the boot@usb command to your Amlogic HDMI port.
[Android Stick & Console AMLogic based Computers] mazjed:
Hi thank you for your effort and sharing .

Actually i have some Digispark attiny85 its very cheap

And my plan is to combined it with this adapter

To make a mini hacking tool

It would be more advanced in future than the Amlogic HDMI Boot Dongle

thanks again for you and Tchebb to make it happen.

View attachment 5806047
[Android Stick & Console AMLogic based Computers] Pro-me3us:
Ok, I tried to quickly recompile the program for the ATtiny85, but I got errors. It looks like the ATtiny85 doesn't have TWI, and uses a TWI mode implemented through USI. Basically this means that Tchebb's program would have to be modified to work with the ATtiny85. I'm not sure how much work would be involved in doing that. You could ask Tchebb his thoughts over on his github page.

Does the ATtiny85 have an advantage in your case over the ATtiny88? The are both around the same price. What would you be able to do with the ATtinys that you can't do with Superna9999's HDMI dongle?
[Android Stick & Console AMLogic based Computers] spiteralex:
Do you have any video of the process? tiny88 programming and I have not been successful in the process

View attachment 6089690
[Android Stick & Console AMLogic based Computers] Pro-me3us:
I don't have a video. Which part are you stuck on? What Amlogic device do you have?

1) programming the tiny88

2) wiring the tiny88 to an HDMI connector

3) booting into DFU/Mask mode once everything is connected

Connect the programed tiny88 to the Amlogic box, and also connect the Amlogic box to a powered-on computer with USB. Then power on the tiny88 and wait 10sec for the LED to stop blinking red. Then power on the Amlogic box and it will instantly be in DFU/Mask mode.
[Android Stick & Console AMLogic based Computers] spiteralex:
como ponemos el script en el tiny88 !? .

Amlogic S905X2
[Android Stick & Console AMLogic based Computers] Pro-me3us:
You have to use the micronucleus binary in the main post to program the tiny88. Micronucleus is only available for linux. Boot Ubuntu from a USB stick, or in a virtual machine. Then run the command from a terminal window:

sudo ./micronucleus --dump-progress filename i2c-flash_USB.hex

Note: The tiny88 is in programming mode and ready to be written to when the red light is blinkinig
[Android Stick & Console AMLogic based Computers] wineds:
Will this work for Cube gen 3?
[Android Stick & Console AMLogic based Computers] Pro-me3us:
No, DFU was disabled on the 3rd gen Cube since day 1.
[Huawei Watch] Saekhor:
Hi guys i having a problem with my watch

After updating it got stuck on the Huawei logo, if i connect the watch to the charger it turns on and is stuck on the Huawei logo as soon it turns on if i take the charge it turns off

Is there anything i can do here? like flashing the software again or something

Any help is welcome
[Samsung Galaxy S22] jjvaneck:
Hey all. Im working in the USA but is south african.I bought a (unlocked US version) s22+ model SM-S906U1 for my wife. I tried loading international firmware model SM-S906B (like the models in south africa) through a patched odin version but failed and get error “Re-partition failed” (dont know if I need the “Re-partition” boxed ticked in odin or not). I just want to know if this phone will be able to be used in south africa normally as is or do i need to change the firmware?
[General Questions and Answers] fleshdeep:
I was just wondering if xda was going to be getting their hands dirty with the Samsung Behold and try and get it to be open source and allow 3rd party apps.
[General Questions and Answers] djcaston:
xda is pretty much the same thing as htc, so everyone here works on htc devices. You may see some posts here and there, but 95% of the stuff you find on this board is going to be about htc devices.
[Redmi Note 9 Questions & Answers] matteo555:
What can be done, with the MTKCLIENT 2.0 (bkerler/mtkclient - under linux 22.04) with GUI, in terms of the steps to get rid of 'Mi Account verification' ???

Is this steps enough ?

Flashtool : Unlock bootloader

Erase : frp - vbmeta - protection1 - protection2

Then Flashing the custon fasboot mode .rom ?

Thanks !!!!

nothing yet !!! .. tried those steps but the verification is still appearing.

What partition should be deleted with MTLCLIENT to get rid from MI ACCOUNT VERIFICATION ?

Thanks, very appreciated help required !

I deleted the Persist Partition and MI Account verification disappeared.

Completed the setting of the Phone, connected to WIFI and MI Account RE-appeared again.

Some helps !
[POCO M4 Pro 5G, Redmi Note 11S (Opal), 11T (India)] aritro97:
Do you have any good gcam and config for this device?
[Samsung Galaxy S22 Ultra] Osushi:
What resolution do you use?

HD+

FHD+

WQHD+
[Samsung Galaxy S22 Ultra] Marcelocohenarg:
WQHD+ here.
[Samsung Galaxy S22 Ultra] elmor0:
WQHD+

480 dp minimum width (in Developer options)
[Samsung Galaxy S22 Ultra] Osushi:
What does this 480 dp setting change? And where does it change?
[Samsung Galaxy S22 Ultra] AkOViP100:
FHD+ It's good for the battery
[Samsung Galaxy S22 Ultra] JustNabus:
It's like changing your Scale on windows
[Samsung Galaxy S22 Ultra] elmor0:
Activate your Developer options menu in settings, then search for "minimum width" in settings.

It'll allow you to fit more (or less) information on your screen at once - will be a global effect.

Default dp = 384 I think. Try adjustments up or down in increments of 48.
[Samsung Galaxy S22 Ultra] kbrn:
WQHD+ Cause if I paid for it why would I not use the best resolution? lol
[Samsung Galaxy S22 Ultra] hand-filer:
Premium phone, premium display, maximum resolution 24/7.
[Samsung Galaxy S22 Ultra] winoles:
wqhd, why less? I got this phone precisely for its premium features, (and the s pen, of course) I also use 581 max dpi, which looks awesome due to the wqhd resolution
[Samsung Galaxy S22 Ultra] fairyshacker:
WQHD+ always

408DPI

Screen Mode: Vivid

Adaptive Brightness: OFF

Eye Comfort shield: OFF

Brightness Slider: Till end of Blue

But, i guess im killing this beautiful screen with my matte screen protector.

It feels good though.
[Samsung Galaxy S22 Ultra] winoles:
I put a matte protector on the back, (which is already matte) , the result is absolutely nice, the protective film is practically invisible! as for the screen, I hesitate to apply a matte one,, for the reason you mention
[Samsung Galaxy S22 Ultra] pardinha:
WQHD+

484dpi

Brightness auto
[Samsung Galaxy S22 Ultra] dj24:
Intrigued... Can you provide us with a link to the one you're using? Thanks!
[Samsung Galaxy S22 Ultra] winoles:
23.97 MXN$ 28%OFF | 3Pcs Matte Screen Protector For Samsung S22 Note 20 Ultra 5G S21 FE S20 S10 Plus Back Hydrogel Film For Galaxy A33 A73 A52 4G

https://a.aliexpress.com/_mMF3DoO

When applying, be very careful as to not using excessive force with the provided tool, the film is extremely thin, so, if too much force is used, the edges could deform, thus not sticking properly
[Samsung Galaxy S22 Ultra] Batfink33:
WQHD.
[Samsung Galaxy S22 Ultra] OverplayOfficial:
FHD+ with static 120Hz.

0 lag when pulling down the quick panel or taking a screenshot, or just animations. Phone is way smoother.

Also negligible impact on battery. Just noticed that FHD+ is lighter on the phone.
[Touch Pro, Fuze General] i00:
I cannot find where i can download a stock radio for my touch pro - i need to return the phone for warrenty and all the places i can find to download that say the image is extracted from the htc radio still say that hard spl is required???

Where can i download one that doesn't require hard spl?

Thanks in advance

Kris
[Samsung Galaxy Z Fold 4] FalconFulcrum:
Hi,

It seems my Z Fold 4 is draining battery charge faster then I perceive it should be. I lose 1% as soon as I take it off the charger, that to on standby. I have put the apps that are most in use by me under deep sleep, brightness less than 50% (around 30%), Always On Display off. However, the battery is draining out fast. I had to charge the phone twice today (just to add, I have set the max charge limit to 85%). Is there a way to optimise the battery to output better performance?

Best
[Samsung Galaxy Z Fold 4] blackhawk:
Likely a cloud* app like Google backup Transport doing it. Try temporarily disabling Google play Services as Backup Transport is a dependency of it. See what it does.

Try in safe mode to rule out 3rd party apps as a cause. All Samsung's shoud be optimized.

*no SD card makes you dependent on cloud storage which uses a lot of battery. The other option is OTG flashsticks for storage. A raw deal. Google wants to force you to need their cloud services. Same crap MS did years ago.

This is one reason I run 2 N10+'s; one has 1.5tb of storage. The only cloud app I use is Gmail for security reasons.
[Samsung Galaxy Z Fold 4] ggrant3876:
I find the standby on the ZF4 to be one of the best I've had. Overnight it can go 12 hours and only be down 4 percent. A quick question - did you transfer data from your old phone to the ZF4?
[Samsung Galaxy Z Fold 4] FalconFulcrum:
Hi, thanks for the reply.

I probably lose 5% to 6% on standby overnight. But when I start using the phone it starts to discharge quickly (from my perspective), and no I did not transfer anything from my old phone (Note 8).
[Samsung Galaxy Z Fold 4] ggrant3876:
I've not noticed a quick discharge even while using the phone and I'm a moderate to heavy user. You could download GSAM Battery Monitor Pro and with a couple adb commands enable "app sucker" that will tell you exactly what apps are the ones eating your battery. You can do the same with what is already on your phone but IMHO GSAM is much better.
[Samsung Galaxy Z Fold 4] FalconFulcrum:
The only apps with high usage are YouTube, which I use regularly on daily basis, and Samsung's UI.
[Samsung Galaxy Z Fold 4] force70:
No SD card really doesn't make us rely on cloud storage, having a 1tb version available should work for most people and thats what i bought with my s22 ultra and fold 4. I certainly wouldn't complain if they brought it back though, still have my note 20 ultra and its handy to have.
[Samsung Galaxy Z Fold 4] blackhawk:
A boot loop, system crash, forced factory reset will make you wish that data had been on a SD card. Worse to reload 400+gb of data takes hours instead of slamming the card in. I need 1tb for data, don't want apps crowding it out.

Everything I need for a full reload including installable apps are on my SD card. No PC or internet needed.

Dual drive machines are the only way to roll. The SD card is the data drive; all critical data goes here. Only apps, the download and the DCIM* folders go on internal memory. Then the data drive is regularly and redundantly backed up to hdds.

*backed to the data drive regularly
[Samsung Galaxy Z Fold 4] shorty9210:
Possibly 120ghz refresh?? As long as I'm not constantly use mine its pretty good on its battery, the Hotspot does some damage tho so if I can I started using USB tethering, but there could be something with the ui5 sense I'm constantly cleaning my ram!!
[Samsung Galaxy Z Fold 4] force70:
Totally agree with most of that but the sad reailty is there are very few flagships with sd slots now. I use a portable SSD for backups which i do weekly so i wouldn't lose much if my phone died. I have 530gb or so of data on it and with the ssd speeds only takes maybe an hour or so to transfer. Still id love to have a 512gb sd card AND 1tb of internal storage lol
[Samsung Galaxy Z Fold 4] blackhawk:
That's one reason why I'm running two N10+'s.

500gb internal plus a 1tb SD card on one, the other is 256gb internal. They get at least 11 hours SOT, up to 13 hours. One is running on Pie the other 10; no active scoped storage. They run like bats out of hell. Just well balanced work horses with an excellent form factor; more importantly they fulfill their mission. Something Samsung seems to have forgotten how to do.

In 10 years I've never been so displeased with Samsung's current flagship product line for 3 years running now. So I just keep running the N10+'s; bought the second one a year ago. Don't have much faith in Samsung anymore and the lack of a solid flagship to effectively replace to N10+ led to that decision. That decision was couple to Google Android 11 being a dog. 12 is worse and 13 looks like another fubar as well.

Maybe in another 3 years... sadly if I had to buy a new flagship phone today, it still be a N10+ Snapdragon. Same experience with the now discontinued Buds+; nothing in Samsung's current Buds lineup is a drop in equal replacement. Everything Samsung now has seems to be a battery hog. That's not progress.
[Samsung Galaxy Z Fold 4] TeDeV:
i don't know about you guys, but i am loving my Fold 4.

the camera is a little bit tricky to use and i feel like i am missing some tips and tricks.... but in the end... i am glad that i got this phone.
[Samsung Galaxy Z Fold 4] iganster:
Im having the same issue like yours. I lose 1% after I unplugged the cable charge and became 84%
[Samsung Galaxy Z Fold 4] cooldude20000:
Unplugged 5AM used for music for 1 hour lose 5% then left idle for 5 hours drains from 95% to 80% nothing seems to be draining it wifi etc off all apps closed sleeping apps etc.
[Samsung Galaxy Z Fold 4] ggrant3876:
Just updated to Android 13 UI 5.0 about a week ago and was leary of the update because of all the problems with BT and battery I've read about. My experience is completely different, not a single issue to report. I can unplug the phone when I go to bed and in the morning after returning from the gym approximately 10 hours it has only dropped 4 percent. Just about the same as Android 12 or maybe a little better.
[Samsung Galaxy Z Fold 4] bladehawk:
I had the blutooth issues with my Tesla. The January security update fixed my issues at least.
[Samsung Galaxy Z Fold 4] ggrant3876:
I got Android 13 and the January security update together. Using a Samsung unlocked on the T-Mobile network and didn’t get Android 13 until more than a month after it was released.
[Samsung Galaxy Z Fold 4] FalconFulcrum:
I resolved this issue by uninstalling Samsung bloatware. Don't know which one actually helped. Now the phone holds 100% charge for significant duration but only when idle. Anything major like a phone call would drain 1% to 2% - depending on the duration of the call - of battery. Overnight it loses about 4% to 5% with Wifi on.
[Samsung Galaxy Z Fold 4] iganster:
Can you mention which bloatware needs to uninstall in order to save battery?
[Samsung Galaxy Z Fold 4] ggrant3876:
I've debloated quite a few with no issues at all. Here's my lists.

https://xdaforums.com/t/samsung-fold-4-debloat.4485499/#post-87381467
[Thinkpad Tablet General] Black_Ange1:
Check the title
[Xiaomi 11T] fqngod:
Hi everyone,

I'm new here. I'm having problems with my mi11t, it has stucked pixel/vertical lines. How to fix this?
[Xiaomi 11T] LinkyWolfka:
Hi, if it's not a software problem (you see these lines absolutely everywhere even at the startup of the phone for example) it's most likely that your screen is damaged.