yashsingh1/xdaforums huggingface dataset:
[Fire TV General] bnevets27:
Original OP is now here.

These are steps I used to build the Sheldon ROM: [ROM] (Sheldon) Fire TV Stick - Tweaked + Google Play + Debloated (7.2.4.9)

I wanted to create a guide on how I created my TWRP backup ROM but never had the chance to finish it up. So I am posting my notes/guide I wrote for myself. While I've done my best to track what I did, and repeat, them to insure the instructions are correct, there does take some understanding on what is being done.

While I didn't perform these steps on or create a mantis ROM, I would be surprised if the guide didn't work for those devices as well as they are running the same OS version.

Speaking of mantis, the inspiration to build a trwp rom came from @burcbuluklu and his great mantis rom. Unfortunately, it doesn't work with the newer remotes that now come with the 4k fire tv's. I would be great if someone took the time some build something similar to what I have for sheldon, but for mantis. I just don't have the time and resources at the moment to do it myself.
[Fire TV General] Finnzz:
Can't you just enable ADB through IDME?
[Fire TV General] bnevets27:
I'm not familiar with IDME. I couldn't find a whole lot on it. Mind pointing me in the right direction?
[Fire TV General] Finnzz:
IDME is part of the Amazon feature layer added to all their bootloaders. It includes flags to enable ADB, enable ADB with root, and enable ADB without authorization.

You can check it out if you boot up FireOS and use the command 'ADB shell IDME print'. Fos_flags is the value you are interested in in this case.

The fos_flag value can be set from within FireOS using ADB, or from fastboot. These values are written to the end of the bootloader partition, or backup bootloader. It's magic is "beefdeed", and you could edit it directly.

For more information go to Amazon's FireTV open source page, download the source for Sheldon and search the bootloader source for IDME.h
[Fire TV General] bnevets27:
Since @burcbuluklu did such a nice job of creating this for mantis (4k), I've decided to copy that concept for sheldon.

I've created a couple different images, which I'll post in the next few days hopefully.

Sorry for the delay. I've actually managed to get further with this then I expected. The wait will be worth it. I've managed to bring back the OOBE (the welcome setup you have to run through when the stick is brand new). There's one last piece I would like to figure out before I post the image.

I'm looking for help on creating a script that will trigger after the OOBE is complete. There is a flag that gets set after successful completion of the OOBE so that value could be read on boot for example and then trigger the script. Would also want to ensure the script only runs once. It will just be a basic debloating script. This is the last piece of the puzzle. This is a bit out of my skill set. If you can give me a hand with this I'll be able to post a really nice complete image.

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

I've now managed to get around the following problem, though not as cleanly as I would like.

Unfortunately, I'm stuck at a critical part. I need to remove my amazon account before I can share it.

I've approached it in two ways but neither have been successful. First is to remove my account after everything has been setup and done, this would be a bit preferable as I've already done all the work to create this. Second is to not have to sign in with amazon to begin with. Basically disable the OOBE, build up the ROM and then re-enable OOBE so when it gets flashed it's easy to run through that part of the setup. If OOBE can't be re-enabled, then the setup to connect your remote will be the same as in the 4K thread, hopefully.

I had played with various ways to get around OOBE, getting ADB enabled out of the box etc, all with various levels of success on mantis but for whatever reason I can't get ADB enabled on sheldon. For clarification, the intent is to get ADB enabled via recovery so it's accessible before having to run through OOBE.

EDIT:

The only plausible way I've figured out is to use "deregister". Not sure how much "personal info" is left as it says it won't remove all personal info but I used a dummy account anyway. The other factor that is different from mantis/6.2.7.6, is to complete OOBE after the stick has been deregistered, the stock amazon launcher must still be enabled. When trying with another launcher set via launch manager, OOBE won't complete as it gets into a loop during the registration stage. Definitely unfortunate as I would have liked the user to end up on the customer launcher (wolf in this case) rather then having to enable it after getting through the OOBE. If anyone has a better way please let me know.
[Fire TV General] bnevets27:
reserved
[Fire TV General] bnevets27:
@Finnzz thanks for the suggestion but I wasn't able to figure out IDME. Looks pretty interesting though. End result is was easier to just run through the OOBE. Now that I have an image it doesn't matter too much anymore. And I think I've managed to remove all account traces. Though I still want to figure out how to get adb access and bypass the OOBE. I've seen @SweenWolf do it for mantis. Of course I can do it with an image restore but that's not really the same thing. It's not really need but interesting anyhow.

Getting close to a release, just need help making a script that triggers after the OOBE is complete. More info on that in the OP.
[Fire TV General] bnevets27:
I've moved the original OP to here. This was intended to be a discussion when I was learning how to build the twrp rom, and was labeled as [WIP] at that time. Now that I have completed building that twrp rom, I've updated the OP with the steps I used to create it. Hopefully others find this info useful. There was a lot of trial and error to figure out how to do certain aspects. It was an interesting project to learn about some of ins and outs of android and the fire os.

Hopefully, someone can use this info to build more trwp roms. One for mantis would be appreciated.
[Fire TV General] Skel40:
@bnevets27 I successfully made an NS6297/4655 without OOBE with a number of issues until I sort them out. Equipment Control Services isnt working, Applications tab isnt working, Developer Options doesnt show, adb is always enabled so adb is working perfectly, etc. Still testing before release and I can put the Playstore stuff inside the updater-script for it too.

I can also do firmware downgrades via updater-script porting and the flashing needs to be clean so wiping system/data/dalvik/cache is needed for a complete test run to get Google Play and without it for your development.

NS6297/4655 @bnevets27 let me know if I need to remove/add anything to make this rom working more than it should

https://xdaforums.com/t/fire-tv-stick-4k-mantis-6-2-9-7-4655-scripted-patch-rom.4298357/
[General Questions and Answers] blackhawk_LA:
Hello, I got the typical message that my network could be monitored and I've just realised that I had a few user certificates that I didn't install myself.

First one in the screenshot is my personal ID certificate, second one I guess it's been installed by Samsung (although it was not there when I setup the phone, and I was never asked to install it) and the other ones look Very strange to me.

I don't know if I should worry about my data.

Please someone explain me if there are risks because of suspicious certificates. I really don't know too much about security and what "powers" a certificate have.
[General Questions and Answers] blackhawk_LA:
Anyone? Thanks in advance
[General Questions and Answers] xXx yYy:
Disable the certificate in question and reboot phone.

See also here:

Trusted Credentials on Android: What Are They? - Tech With Tech

Trusted Credentials comprise a list of servers that have gone through a specific security approval process that's managed by Google. Android devices come preloaded with this list, and that is why they are deemed safe. If you clear the credentials, security features might block websites and apps...

techwithtech.com
[Fire HD 8 and HD 10 Q&A, Help & Troubleshooting] chrbar:
Hi,

I hacked a new Fire HD 10 (11th Gen) with Fire Toolbox V27.0.

I thought I did the full process, including disabling OTA updates.

But my Fire HD 10 kept updating Fire OS.

Just to be sure, will disabling OTA updates stop Fire OS updating?

Now my Fire HD 10 is running Fire OS 7.3.2.4.

Could you please tell me if a "factory reset" will restore the original version of Fire OS, to be able to restart a new hack with Fire Toolbox on a Fire OS version that supports OTA updates disabling ?

Thanks for your help :)

Chris
[Fire HD 8 and HD 10 Q&A, Help & Troubleshooting] anthonykash:
View attachment 5733103
[Fire HD 8 and HD 10 Q&A, Help & Troubleshooting] anthonykash:
Also, no resetting will not put you back on the old OS. You'll need to downgrade some way. I just bought one, but have been rooting for a long time now. Search the forums, I'm sure someone has downgraded these things before unless Amazon blocked it.
[Android Head-Units] Viola II:
I have just bought a Junsun V1 Pro Android Radio for my Renault Megane 3.

After installing the unit it does not start. But when I then pull the plug on the canbus out a little, a screen image comes on. Hope you can help me. Thanks :-)
[Android Head-Units] DarkTWH:
Did you manage to fix the issue? Otherwise the pic you posted would indicate that the unit thinks the car is shifted in Reverse.
[Android Head-Units] Viola II:
Thanks for your reply.

And no didn't really solve the problem. How do I solve the problem if it thinks I'm in reverse gear?

If I cut one of the wires on the canbus, it wants to run but can't be turned off again.
[Android Head-Units] DarkTWH:
Have you checked that your canbus settings are correct? Maybe try a different vehicle. Is your car equipt with parking sensors or a camera?. I had a similar issue with my unit (altough in a peugeot), where the headunit was set from factory to be ready for a backcam and sensors, which my car doesn't have.
[Android Head-Units] Viola II:
Thanks for your reply. It has been a bit difficult to change the canbus settings when I couldn't get the start screen on at all. After I have cut a wire on the canbus, I can get the start screen on and have to try different settings.

And I have written to Junsun with the problem. Thought it might be a wrong cunbus/Cable.

And they write back that it's the right thing and I should try not to be in reverse gear, but I'm not in reverse gear??
[Touch Pro, Fuze ROM Development] phillips321:
hi guys,

First win mob device and please with the possible functionality of the device yet pretty dissapointed with the responsiveness (especially the keyboard lag, wtf!!!)

Can someone possibly answer a few questions with regards to using a custom rom?

1. Currently on Vodafone UK, thus using the default Vodafone rom. How do i back this up incase for any reason i need to revert?

2. I have read the thread here with regards to Hard-SPL, can someone please explain to me what the hell this, is this just a boot loader that allows me to boot different roms? What does SPL stand for?

3. What do the guides mean by flashing radios? Does that just mean using a different hardware driver than the one thats currently being used?

4. As mentioned in 1. i'm on vodafone uk, how do i ensure that when i've flashed to the new ROM that things like 3g etc work. Once i boot the new rom how to i tell it that im vodafone uk and not tmobile, orange, o2, etc...? What i'm trying to say is that how do i ensure the connection settings are correct for my country and network?

5. When using a custom rom will i still be able to sync with my works active directory for emails, calendar etc... Can currently do this on my stock vodafone rom, i'm presume this isn't going to be removed from the custom rom?

Once again guys sorry for all the Q's but i'd like to understand fully what im doing before i do it.

Thanks in advance to anyone here that offers help with my questions :)
[Touch Pro, Fuze ROM Development] venelar:
1. Check the wiki, the voda rom should be there.

2. Yes. Hard-spl lets you flash any raphael rom.

3. Radios get the signal from the tower, if you have poor reception and battery life consider trying a different one. Many people use different radio's so most of the Roms do not contain one so that a person's radio isn't over written.

4. Most roms have "htc connection settings". It will recognize your sim and ask to run the correct settings for your network. It's a breeze. If for some reason your rom doesnt have it..search, there are tons of cabs for it here on xda.

5. Yes, activesync works perfectly.

Flash hard-spl and have fun.
[Touch Pro, Fuze ROM Development] DeepThought:
Don't try that philosophy on women! :p

(sorry, couldn't resist)
[Xiaomi Poco F1 Questions & Answers] noah001:
Hello,

I made an OTA Update in LOS and after the update I had an bootloop again so i wanted to install fresh.

I used NGK Kernel and wanted to format cache and data to F2FS but then i have bootloop again and when i only format data to f2fs it says encryption unsucessful and i need to wipe and it throws me back in recovery. IS F2FS not possible anymore with FBE Encryption ?
[Asus ZenWatch] SWAT Strachan:
First off, I have to extend my sincere gratitude to user helloworld1337 for sending me his old Zenwatch, as at the time we could not find any way to root it. Without his very generous donation it would not have been possible for me to create these image files. In the end the watch with the native OS was unrootable, but I discovered that doing a temporary boot using AsteroidOS gave me root access to the storage on the watch, which enabled me to create boot, recovery and system image files. These are images for Android 6.0.1 / WearOS 1.5.0.4047106.

Now I don't know if this will work, I've never looked in to long-term shareable online storage before, so hopefully these OneDrive links will be good enough...

Boot.img

Recovery.img

System.img
​

If, for any reason, these links do not work, message me and I will try to find a better sharing solution, to which I am open to suggestions.
[Asus ZenWatch] md.muid:
can you write a step by step instruction on how to flash this? my zenwatch has become in operable totally. i have created a post for this issue as well.

ASUS ZENWATCH NOT WORKING ON LATEST ANDROID WEAR

Hello i always had the ASUS zen watch but i haven't been using it for a year or two in this pandemic. When i turned it on its so slow that i cannot operate. touch delays are very long. so somehow i hard reset it and connected to my wear os app...

xdaforums.com
[Asus ZenWatch] Caboose27:
Seconded. I have a related post up, how do you flash an image on a zenwatch?
[Asus ZenWatch] SWAT Strachan:
@md.muid @Caboose27

Apologies for taking so long to reply to this, after getting my watch back up and running I pretty much forgot that this post even existed! (not sure why I didn't get any email notifications about it).

Now it's been quite a while since I dabbled with ADB but I will try to write out instructions as best as I can.

First off, you will need to download the Android SDK tools and USB driver from these links...

SDK Platform Tools release notes | Android Studio | Android Developers

Android SDK Platform-Tools is a component for the Android SDK.

developer.android.com

Get the Google USB Driver | Android Studio | Android Developers

The Google USB Driver is required to perform adb debugging on Windows with Google devices.

developer.android.com

Extract the zip files to a known location, then copy my firmware files to the same folder that has the ADB and Fastboot commands in it. For the USB driver just right-click over "android_winusb.inf" and then click "install".

Open a command prompt and CD it to the folder with the ADB command.

Connect your watch to your PC via the charging cradle, you should hear the usual Windows "Ba-dum!" noise to let you know that a new device has been detected.

Run "adb devices" to see if your watch is now recognised (you should see a long alphanumeric string).

Type "adb reboot bootloader".

Your watch should now reboot. You might have to confirm this on the watch itself. After the restart it should stop at the Asus logo with the text "CSC Fastboot Mode!" at the top.

Type "fastboot oem unlock", which should unlock the bootloader, a necessary step.

Now to apply the images...

Type "fastboot flash boot boot.img"

Type "fastboot flash system system.img"

Type "fastboot flash recovery recovery.img"

Once the commands have completed, type "fastboot reboot" to restart your watch.

If all went well, you should be back on the stock firmware.

I've just run through this process again on my own (spare) Zenwatch and it all completed without any problems. I hope that helps, and again, my apologies for taking so long to get back to you all.

Scott.

Note: If for any reason you cannot reboot your watch in to the bootloader using the fastboot command, you can use the tiny button on the back of your watch to turn it off (needs to be held in for a few seconds), and to turn it back on again. AS SOON as the Asus logo appears, swipe your finger across the screen from top-left to bottom-right, and if you did it in time, it should enter the bootloader.
[Asus ZenWatch] md.muid:
No Problem. I am just glad that you replied and finally i can have a fix. I am not atm so my watch is not with me. i will sure try the method and update you. Thanks again .
[Asus ZenWatch] md.muid:
hi tried the above method.

adb devices not found. please not that my watch does not turn on. it only vibrates when i connect it to my charger. after i connected to pc more than 100 window popped up saying you must format drive g (the watch). same window apperaed like a million times and was continously popping up even after i close it. after i clicked format it dint format. said its write protected. atleast i am sure that it got connected to my pc. can you help at this point?
[Asus ZenWatch] SWAT Strachan:
Woah, yeah I have no idea what's going on there! Neither of my watches show up as removable drives at all when connected. I wonder if Windows is trying to use the wrong driver to connect to the watch.

Regarding the watch just vibrating though rather than turning on when connected to the PC (I guess that this could be the cause of the weird windows appearing too), it might be worth plugging the USB cable in to a charger that has a higher output than a standard USB port. If you have a phone charger or battery pack that can put out 2A try that instead of your PC's ports (which will only go up to 1A at best). The battery might be so dead that it's refusing to take a charge and sometimes, SOMETIMES, a higher charge current can wake them back up again. However, if you do this do not leave the watch unattended as you're not supposed to recharge a lithium cell once it has dropped below a certain voltage, so if it does wake up, give it a little while to take some charge, then move it back to a standard USB port.

I have a vague memory that this happened to my original watch after I found it in the back of a drawer having not used it for a few years, but I did eventually manage to get it to wake up.
[LG V60 ThinQ Questions & Answers] MMM6661:
Does LG v60 thinq UW support other 5g bands like 2, 25, 41, 66, 71 SA/NSA/Sub6?
[Samsung Galaxy A50 Questions & Answers] Max0111:
Hello, today I tried to flash my phone to Lineage OS 18.1 and 19, everything worked until I found out that Lineage OS has no GApps at all. Then I tried to install GApps via TWRP, and each time I got the message "Error code 1" My device is a Samsung Galaxy A50 (SM-505FN) and the Lineage OS I tried was version 18.1 and 19, nothing more.

The version from the twrp was the latest version of it.

I hope somebody can help me.
[Samsung Galaxy A50 Questions & Answers] adgjmwtpmjg:
try https://nikgapps.com/
[Samsung Galaxy A50 Questions & Answers] Max0111:
it does not work
[Samsung Galaxy A50 Questions & Answers] adgjmwtpmjg:
install rom

https://xdaforums.com/t/rom-a12-1-a505fn-unofficial-lineageos-19-1.4490485/

install NikGapps

NikGapps - Browse /Releases/NikGapps-SL/08-Sep-2022 at SourceForge.net

A Custom Google Apps Package that Suits Everyone Needs!

sourceforge.net
[Android Q&A, Help & Troubleshooting] Bryan547:
Samsung Galaxy A03s from Boost Mobile SM-A037U. I have tried taking the sim card out and setting the date back 8 days and nothing works. I also want to know if there is any similar model phones that have custom roms that could be installed on the A03s.
[Android Q&A, Help & Troubleshooting] DarKlizx:
Look what worked for me is to delete all the data from the recovery and then when it is already configured, everything is to delete the data from the phone configuration
[Android Q&A, Help & Troubleshooting] Chrisdish77:
Could you please be a Lil more specific cause I'm interested as well if you can get oem unlocking to appear.
[Non-Touchscreen Windows Mobile Other] Tatusmi:
Hi Folks,

My s640 seems to have developed an issue with the battery. It will get to about 50% and stay there for most of the day then suddenly I get the low and critical warnings, then off. The warnings then off sequence happens within about 10 seconds of getting the first warning. On one occasion I got the low and critical warnings, but then the phone reported 268% battery remaining.

Is/has anyone else experienced this issue or anything similar? I'm wondering if it is the phone or the battery.

Thanks.
[Non-Touchscreen Windows Mobile Other] daroota:
I am having the same trouble.

I'll fully Charge my battery and then disconnect it and us it for about 10 minutes and suddenly it will drop my call, turn off my bluetooth and disable the radio (network), and if I don't plug it in, within 30 seconds it shuts off. If I remove the battery, hold the power button for 5 seconds and the put the battery back in and turn it on then I have my battery shows 90+% free.

I'm not sure if it's the battery or the phone.
[Non-Touchscreen Windows Mobile Other] typhoonk:
have you tried running the battery till it won't turn on the phone. Then charging it up again?

maybe a hard reset may help?
[Non-Touchscreen Windows Mobile Other] bokko:
Yes I too am having this issue since rom upgrade so is a friend, he just purchased new battery from Telus but they shipped wrong one. Will update if new battery resolves his issues. I went throught three phones with brand new battery they all did same thing Battery is not HTC 20 dolllar aftermarket one (just before warranty expired). Have gotten 400 credit for new phone but nothing like this one out there except Touch Pro Diamond and I hear even with new battery that phone battery life is too short to last through day. Get feeling Telus broke something in software with Rom update used to be when phone battery was expiring a red light would blink (opposite of blue tooth light) now it is only notifications from WM that phone battery is critically low and shuts of radio etc. yet you plug phone in and it's charged 10 minutes later makes no sense. Rechargable batteries voltage change with charge the interesting thing when I pull my battery the voltage is the same charged or just after error messages (I have a very expensive True RMS Voltmeter from work that has been calibrated in last year) but without load this isn't an accurate test. Does make me think something is not right and beleive it software related for more see my post in Howrds Forums under phone model.
[Non-Touchscreen Windows Mobile Other] relb:
I am having the same issue after the ROM update, not sure if it's the cause. Already replaced a battery on warranty for not holding charge. But now I have had the phone over a year so telus wants me to buy a battery for $80. I know based on this information i'll be wasting my money.

i want stuff to work for more than a year what the hell is money good for?
[Non-Touchscreen Windows Mobile Other] mcu99:
any fixes or updates wether the new battery helped??
[Non-Touchscreen Windows Mobile Other] bokko:
I replaced the battery on my phone and these odd issue I was having are gone guess we have to face the fact that you need to purchase a replacement once a year hopefully it will last a year my problems start just short of a year.