yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] manofculture:
hi I'm new to c++ coding and I'm asking how to create and include a header file in a c++ program on Android, I've looked online on how to create the header file but whenever I include it with the complete path the compiler gives me a fatal error file not found message,whether I'm using termux emulator or CXXDROID IDE, I don't know why this is the case.

please help me because I'm stuck with this problem for days and I need to solve it in order for me to write meaningful programs as I'm using Programming Principles and Practice Using C++ Second Edition by Bjarne Stroustrup which uses a lot of user defined functions for the projects.

thanks in advance.

I've included the complete path of the header files and created the proper headers,
[Google Pixel 6 Pro] KATAMAPAH:
Hi Everyone,

I'm planning to buy a used Pixel 6 Pro. Are there any specific problems related to hardware that I should be looking at? I've heard a lot about how bad Google QA.

Thanks everyone in advance.
[Google Pixel 6 Pro] KOLIOSIS:
Conventional wisdom is that the fingerprint reader isn't the best. I cannot attest to that as I don't use it, never have.

The other thing that comes to mind is the overall maximum brightness of the display. It's perfectly fine indoors, but, if you plan on using it a majority of the time outdoors, you might want to consider looking at the Pixel 7 Pro instead,if you're mainly interested in Pixel devices in general.

Google Pixel 7 Pro vs. Pixel 6 Pro: Should you upgrade?

Is the Google Pixel 7 Pro that much better than the Pixel 6 Pro?

www.androidpolice.com
[Google Pixel 6 Pro] KATAMAPAH:
I've checked Pixel 6 Pro when it came out and didn't find any problems with the screen brightness tbh IMO. One of the reasons I didn't buy Pixel 6 Pro and decided to wait was that the quality of Google's devices and their RMA process. I've heard a lot how bad was/still is. This is the reason I don't want to jump on Pixel 7 to be a beta tester for them. So yeah, would be great to get some specific points (aside from standard things like wifi, bt, cameras, microphone and speakers) specifically realted to Pixel 6 Pro.
[Google Pixel 6 Pro] StanWiz:
I have the pixel 6p - my first and probably last pixel device. The location of the volume keys below the power button drives me nuts. The fingerprint sensor is not as bad as many state on my device (i have a glass screen protector). Battery life could be better but is acceptable.

Overall the phone is ok .

I sorely miss the lack of twrp - never again a phone without it.
[Google Pixel 6 Pro] Strephon Alkhalikoi:
I know this isn't exactly about hardware though it is hardware-related. Make sure your used device isn't tied to Verizon if you plan on rooting it at some point.
[Google Pixel 6 Pro] KOLIOSIS:
I couldn't agree more regarding the layout of the power and volume buttons. Perhaps I'm so ingrained w/Samsung's layout, the exact opposite, but, nevertheless, I find the layout awkward.
[Other SmartWatches] lucasjooob:
As soon as the watch arrived it was normal, I managed to link with Mi Fitness and an update appeared to perform on the watch. After the update, the watch got some distorted images and I set the factory settings aside and deleted the Mi Fitness data in hopes that it will return to normal. Unfortunately the images are still different from when I turned on the watch for the first time and from the internet videos. I can still connect via bluetooth with the watch, but I cannot validate the ID via Mi Fitness.

Note: I have already done the procedure to press the upper button for 3 s and reset the clock thousands of times.

Dear colleagues, help me please
[Other SmartWatches] GPSSlovakia:
Anybody managed to install custom ROM on Watch S1 ?

Mi Watch, Сolor, S1, S2, S3, MB8, RW3, RW4

Чат по часам/We discuss here	Xiaomi Color, Watch, Revolve	S1, S1 Active, S1 Pro, S2, S3	Mi Band 7 Pro, MB8, MB8 Pro	Redmi Watch 2/3/4,	Redmi Band Pro	на русском и английском,	English and Russian allowed here

t.me
[Other SmartWatches] ILoveDataA:
I fixed mine by uninstalling the software on my phone. You uninstall, reinstall, go through the setup to connect to the phone. The software and face will then load.
[General Questions and Answers] wbs_perso:
I wanted to ask, if I was to replace my battery which has let's say about 75% actual total capacity of its original 100%, I heard it's ideal to store batteries within the 50% charge range (feel free to correct me if that's not the case), what should I do about the old battery?

Should I charge it at its displayed 50% capacity (even though it's not actual 50%?) or should I work out at which actual capacity I should charge its displayed current charge for it to be the actual 50%?

Or is none of this relevant as the battery degradation means that such calculation doesn't apply at all and I should just stick to the displayed 50% or any other preferrable amount?
[General Questions and Answers] blackhawk:
When an Li is at 80% of its original capacity it is considered degraded and should disposed of.

Degraded Li's are more likely to fail.

Otherwise store at 50-70% in a cool dry place.

Their parasitic lose is about 2-3%@month.
[General Questions and Answers] wbs_perso:
I see, first of all thank you for the detailed explanation, I would like to ask details about two-to-three things though if you don't mind:

What do you mean exactly by "more likely to fail"? Do you mean that as in, becoming a hazard?

By "storing it at 50-70%", you mean regarding the displayed charge then? No calculation required to take into account the actual loss?

And lastly does that mean that after around a year+ the battery will be empty from parasitic loss? Could that be a hazard as well? If so, is there a recommended way to store them besides in a cool and dry place, like one of those fire-proof casing?
[Xiaomi 11 Lite 5G NE] plugZzZ:
I'm running the official arrow os on the lisa..

Why is there no topic here for arrow os?

It's the best rom there is...
[Xiaomi 11 Lite 5G NE] kunglao1:
I've noticed this too, I think there were a couple other ROMs which simply aren't on XDA and are instead either on Telegram or in their respective official sites.

How is ArrowOS on Lisa anyways, are there any differences (both good and bad) compared to other ROMs for this phone (if you've ever tried any)?
[Xiaomi 11 Lite 5G NE] plugZzZ:
I have tried pixel os and awakeos.

Arrow feels much more better!

It's still on Android 12 but I do not care as it is smoother then 13.

I use line recovery from awakeos.

I'd say go for it you will love it.
[Xiaomi 11 Lite 5G NE] cabanak:
I cant find installation guide for ArrowOS, is it somewhere ?
[Xiaomi 11 Lite 5G NE] hicham.haouari:
is fingerprint scanner working for you ?
[Xiaomi 11 Lite 5G NE] Raj Pandiyan:
Yes bro it's der
[Xiaomi 11 Lite 5G NE] Raj Pandiyan:
Same as any other ROM.... Just use any available recovery. I used pixel os recovery.... It's working..
[Xiaomi 11 Lite 5G NE] plugZzZ:
Works very well
[Xiaomi 11 Lite 5G NE] plugZzZ:
Just flash with pixelos recovery, i got arrow recovery after flashing with pixel rec
[Xiaomi 11 Lite 5G NE] Suvadeepnag:
How's SOT
[Fire TV Original Android Development] bnevets27:
reserved
[Fire TV Original Android Development] Finnzz:
Thank you for all the work you put into this!

But where is your custom ROM file?
[Fire TV Original Android Development] bnevets27:
I've been trying to attach it. It gets to 100%, looks like it's there but then when I hit save it disappears.

EDIT: Got it added now.
[Fire TV Original Android Development] VelvetB:
WOW, finally a Sheldon ROM! THANK YOU!! I can't wait to try it. I'll let you know how it goes.
[Fire TV Original Android Development] bnevets27:
Yeah it's a bit late in the product's lifecycle, unfortunately. I just happen to get a few for cheap and that allowed me to play around with them easier. Sheldon doesn't get as much love as mantis but they are just as good as long as you don't need 4K.

All the knowledge I learned playing with this though is transferable to mantis to make an updated ROM for the new remotes. I plan to post my procedure/notes on the process. They just need to be cleaned up. I hope to also make a newer ROM for mantis but it will be a while till I have time for that. With the info I provided maybe someone else can do it. After I figured out certain things it was relatively easy. It was just really time consuming to figure out certain aspects. Unfortunately, the updates are also killing the ability to gain root so the target audience is sadly getting smaller.
[Fire TV Original Android Development] VelvetB:
I have it working and like it much. I tried the USB hub/stick method but I ended up going with TWRP & adb. For me TWRP, seems sensitive to different sticks and hubs. I tried 4 different hubs and sticks and found a consistently working combo with an old Belkin 2.0 bus powered hub and 4GB Sony stick. I don't know if there's a size limit but I couldn't get anything larger than 4GB working. Using TWRP/adb I do need to go back to the PC to transfer the backups and free up space, but that literally takes only seconds. I used the voiceview exploit to sign in and link the remote. I continued to get the "Amazon needs to update" message but that went away after a few restarts. I put it on another fire stick and the 2nd time took less than a 1/2 hour to end up with a complete, rooted stick with apps I like installed. I added Kodi and Puffin. First time trying Puffin and it's okay but when I discovered that it was a one-week trial I uninstalled it and went with the now unsupported Firefox. I need to find something else, what do you use? Thanks again for this efficient and well thought out ROM! Is there any benefit or need to update the Amazon app?
[Fire TV Original Android Development] Bertonumber1:
Sheldon already has a rom produced by Rortiz2.

I mean great work to the OP taking the time to produce a twrp backup but lets not forget to credit the guys who done the hard work to make this possible (ie the root , twrp ) If it werent for this , this wouldnt be possible . Just saying

Regards
[Fire TV Original Android Development] VelvetB:
Couldn't agree more! Kudos to all these highly intelligent and skilled developers who donate their time for the benefit of others. You are correct, I misspoke saying "finally a custom ROM". I've used the Lineage ROM and think it's awesome. I meant a custom ROM with apps setup, ready to rock. While searching for 1, there are so many for mantis yet this is the 1st I've found for Sheldon. Before finding this, I'd been adding apps to Lineage and just realized I was going to need Magisk. It takes me some time to setup Magisk, install modules, etc. This one works well.
[Fire TV Original Android Development] bnevets27:
I also found the fire tv stick to be picky about OTG adapters and hubs. I was hoping to provide a way that doesn't require them at all but it looks like TRWP lacks the commands to restore some of the partitions needed for this to work.

I don't use a web browser on the fire stick. Silk from what I understand is the official browser from amazon which I think works well but again, I've never used a web browser on this.

As for updating, my rule is if everything is working then don't update. If you find something that isn't working then an update may fix it but it also may break other things. So if there isn't a specific reason to do so, I wouldn't update just for the sake of updating.

Thanks for reporting back. Now I know at least it does work fine for another person. As I said, I tried to test this a lot but definitely needed feedback from others to confirm it's working correctly,

I was really excited that there was a LineageOS rom for sheldon, installed it first thing when I got the sheldon. Unfortunately, with Netflix not working it's hard to actually use that rom on a daily use device. I hate that it's a "requirement" for everyone I know but can't change that. There are a couple other things that the fireOS has that isn't in LineageOS or any android tv rom. For example, scaling the image. I know the first response to that is to use the tv's scaling, but some tv's don't have that option. It may be older tv issue but that's what I find the sheldon sticks to be good for. I think only the fireOS has the audio latency adjustment also, but not 100% on that one.

Don't get me wrong, I would prefer to do away with all that is amazon on these sticks but unfortunately there is some reasons to keep it around.

As for credit where credit is due, please let me know if I've missed anyone that I should have thanked. All of this was made possible by other peoples work, I'm very aware of that. I tried to make sure I linked to all the threads I used information/tools etc. from, and including thanks to developers who's work I used.
[Fire TV Original Android Development] Bertonumber1:
Hey,

Thanks for the response, ofc I totally agree that these devices should be free of amazon crap. I'm currently trying to mod a patched Tank 2nd gen. 800mb free of 8gb and all I have on the device is smart tube and cinema HD. Its an absolute joke the bloatware on these devices and they won't even let you change a launcher.

Excellent work BTW. And didnt mean to sound as though I was pissin in your cornflakes. Just always good to mention the guys that unlocked and enabled development on these devices.

Keep up the good work.

Regarss
[Fire TV Original Android Development] PesiCC:
It is possible to restore system and vendor without OTG.

Make sure the only files in the backup folder are the system and vendor files.

Then run the command without the arguments that specify what you are restoring.

The command would look like this:

twrp restore /sdcard/TWRP/BACKUPS/7.2.4.9

It will proceed to restore only system and vendor after.

Awesome job with the rom by the way, keep it up!

Cheers.

EDIT: Arguments to specify system and vendor image exist but are not functional for some reason.

For more info see:

TWRP Commandline guide
[Fire TV Original Android Development] bnevets27:
I don't know how I missed such an obvious option on how to restore the image in two parts. This would have saved me a ton of aggregation.

Updated the OP, an OTG adapter is not a requirement anymore!

As you noticed I was trying to use arguments for system_image and vendor_image. But there aren't any working commands for that (found definitive proof here). Thanks for the suggestion of just using the general twrp restore
[Fire TV Original Android Development] VelvetB:
Slight update to my above post, I have been able to get a large USB drive working with an older spider hub. ROM is working great, as suggested I haven't updated the OS. Amazing to me how little love your wonderful ROM has received. I think it would benefit any members using the word NETFLIX or NEWBIE while posting in the Lineage forum, to be pointed here by an administrator. You've got a big fan here, thanks again.
[Fire TV Original Android Development] VelvetB:
I think you should add Netflix to your description.
[Fire TV Original Android Development] tweakradje:
Watching this thread. I will try it on one of my sheldonp's keeping the other one on Lineage.
[Fire TV Original Android Development] tweakradje:
Remote not connecting on boot on sheldonp. Have to press HOME every time for 12 seconds. Just like the LINEAGE rom.
[Fire TV Original Android Development] VelvetB:
Still working great, thanks again
[Fire TV Original Android Development] Evan_Ferrao:
Thank you for this rom. It works perfectly on my sheldon. I tried searching for hosts file in twrp, but I couldn't find any. Could you please tell me how you blocked the OTA? I have a fire stick gen 2 that I wanted to disable ota aswell.
[Fire TV Original Android Development] bnevets27:
OTA is disabled by default in this ROM. But to disable it, it's easy to do in a couple ways. 1) Wolf launcher includes this function in the settings. 2) Disabling the OTA package via the Debloat toolbox.

To answer your question, the host file is located here: /system/etc/hosts. I pulled that file via abd, modified it and pushed it back.

This is what was added to the host file:

127.0.0.1 d1s31zyz7dcc2d.cloudfront.net
127.0.0.1 amzdigital-a.akamaihd.net
127.0.0.1 amzdigitaldownloads.edgesuite.net
127.0.0.1 softwareupdates.amazon.com
127.0.0.1 updates.amazon.com
[Fire TV Original Android Development] Skel40:
If you want to add the OTA files into the priv-app that Sween created I have them here in a zip. Replace all the files that you see there and replace them in the /system/priv-app directory. https://xdaforums.com/attachments/old-ui-ota-patch-firetv-priv-app-zip.5962631/
[Fire TV Original Android Development] Skel40:
This will make sure the OTA never goes online. I still need testers to test the patches.
[Fire TV Original Android Development] bnevets27:
I'm not sure what you are getting at unfortunately. The reason I had to use the host file to block the OTA update is I wanted to retain the OOBE, which required keeping the apps that are normally disabled to block the OTA updates to be enabled during the initial setup. Since I can't expect the user to block the Fire TV from the internet before running the OOBE setup, I blocked the known domains via the host file.
[Fire TV Original Android Development] Skel40:
To explain it better, i have these patches via system apk file which help prevent the "Checking for updates" tab and skips to the registration regardless of firmware version. It puts the OTA in an offline mode as if its blocked by URL from what you just said. Another alternative blocking updates permanently without disable commands.
[Fire TV Original Android Development] bnevets27:
Oh, that sounds interesting. I wonder if the patches would still allow the OOBE to complete. I don't have the time at the moment to do any testing. Seems like it would have been a good addition to this ROM and saved me some headache.
[Fire TV Original Android Development] Skel40:
It fully allows OOBE to complete with nothing edited with the system app, as if it's you've installed the latest firmware and tricks OOBE that it's been "updated" if that makes sense. That's fine, I'm also curious if it's possible to Integrate it into the rom with a zip and I do have the program I used but it's for Android 7.1 (Nougat) which extracts and repacks the (mantis roms). I do need to find an Android 9 extraction tool to put the system files into the combined rom for you without having to stress out about auto updates.
[Fire TV Original Android Development] bnevets27:
That sounds great. Maybe I can make an edited at some point in the future to include these patched apks. Would clean up the OOBE a bit more.
[Fire TV Original Android Development] Skel40:
Great! I also did some research on here and found this example of decompiling the OOBE package though the explanation confuses me which is on this forum. Maybe this might help but again another obstacle would soon happen. Post #17 on the upper right hand side is where it states it. Outdated but well worth looking into. https://xdaforums.com/t/fire-tv-stick-4k-mantis-debloated-rom-6-2-7-1-2495-6-2-9-5_4448.4084947/
[Fire TV Original Android Development] fromthestars:
what I did was installed the OOBE zip when I was restoring the backup. Was that not what we all did? lol
[Fire TV Original Android Development] bnevets27:
Depending your intented end goal. If you don't want to have any Amazon services/don't want to setup the fire tv with an Amazon account and don't mind some breakages (manage apps doesn't work), then flashing the OOBE skip zip is correct.

We were discussing ways to prevent OTA. During the OOBE, the packages that are normally disabled to prevent OTA have to be enabled or the OOBE won't complete.

In this rom, I blocked the fire tv from accessing the OTA servers via the host file. If I didn't and left the OOBE enabled, then the fire tv will update. Unless of course the user blocks the OTA servers via their router.

Skel40 is talking about patching the package to fool the OS into thinking it's fully updated, thus doesn't need to be disable (so the OOBE will run fine) nor do the Amazon OTA servers need to be blocked. It also will skip the step where the OOBE tries to update and fails, where the user has to use the voice view trick to get past that screen.
[Fire TV Original Android Development] bibimbap:
Hello and many thanks for this ROM. It has managed to make the stick tolerable and that's an incredible feat.

I want to ask if there's an up to date script with all the services and apks that we can remove, without breaking functionality. I do mean absolutely everything that can go, like do away with as much as possible. The low RAM is a problem for me as my VPN app quits sometimes when I'm streaming. I do not at all care about any Amazon related services, so they can go. As far as I'm concerned I only need to have, like, 4 apps on my stick, or alternatively I want to make sure my VPN app does not get killed. Is there any way to at least lock this app in the background and prevent it from being killed?

Thanks again!
[Fire TV Original Android Development] bnevets27:
Easiest is to just use the debloat tool. Just select everything if you want to disable as much as possible. There's a small possibility it may break something but if it does it wouldn't likely be anything critical. Won't cause any major issues, and you can just re-enable everything if you need to. You can uninstall all of the included apps, but I would be cautious uninstalling any of the apps I added in "system" folder. Magisk, debloat tools, launch manager, wolf launcher to be specific.

I never tried to remove every possible thing as I didn't want to break functionality. The issue if you go really extreme, using the stick becomes a little more advanced. For example, you can disable amazon features completely but then "manage apps" doesn't work. Technically it's not needed but then you'll need to use adb to manage apps.

Also keep in mind, not all applications are running in RAM, thus if the app doesn't run in the background, disabling the app that doesn't run in the background wouldn't help with the low RAM issue.

I wonder if it's actually an out of memory issues causing the app to close or there's some other reason.

Also, in this rom, you can kill all background apps by holding the home button. Doesn't mean they won't start up again but it will at least clear up some RAM.
[Fire TV Original Android Development] bibimbap:
Are you maybe aware of any way to access network options so we can set a VPN that way? I hate how this is not directly available, since that menu also includes a Killswitch.
[Fire TV Original Android Development] bnevets27:
I'm not sure what you are referring to. The only VPN I've ever used is wireguard.
[Fire TV Original Android Development] Dipanjan Dhar:
Been using this for over a year

Just 1 issue which I'm facing is installing app from Amazon Appstore

There's 1 app whose correct version is only available in the Amazon Appstore and installing it from other stores or sideloading isn't working

But on this rom, Amazon Appstore seems to be dead as its not installing or updating any app> Is there any way to temporarily enable the Amazon Appstore?
[Fire TV Original Android Development] bnevets27:
I suspect the Amazon Appstore is now out of date. Since Amazon update servers are blocked to prevent updating of the firmware.

You can get the newer/latest Amazon Appstore from here: https://gist.github.com/JulyIghor/d3d3dd460527a1d2b5b67954160d4abf and side load it. That's should work.

This ROM could use a few updates but unfortunately I just don't have the time to do it these days. Thankfully the bulk of the work is done so doing some app updates via side loading isn't too bad.
[Fire TV Original Android Development] Dipanjan Dhar:
Installed the latest Amazon Appstore app, still the same issue. It says Queued, then reconnecting and then shows an Error