yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] kevios12:
*** Disclaimer: I'm not responsible if you destroy your device. Use at your own risk!!! ****

Android Open Source illusion Project

About us:

AOSIP is a quality custom ROM based purely on AOSP. Twisted with the latest features and blended with stability. We strive for perfection and it shows.

Team Illusion:

Josh Fox (xlxfoxxlx)

Akhil Narang

Harsh Shandilya

Anirudh Gupta

Bug reporting:

DO NOT Report bugs if you're running a custom kernel or you installed Xposed

Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)

If it is a random reboot, grab dmesg . (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)

If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log

Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.

Source code:

AOSiP Gerrit Review

AOSiP Github

Kernel Source

Latest Downloads

SourceForge

Credit/Thanks:

Mike Williams (founder and creator of AOSiP)

Google for Android and AOSP

LineageOS

ABC ROM

AquariOS

BootleggersROM

Dirty Unicorns

PixelExperience

OmniROM

CarbonROM

nathanchance

@Haridhayal and @SamarV-121

---------

Other projects whose work helped us to create this

And last but not the least, all our testers, who have helped us to squash many bugs so that we can try to release builds that as are flawless as possible[/HIDE]

INSTALLATION PROCEDURE:

Have an unlocked bootloader, and TWRP installed/booted

(Not gonna be explained here, there'll be threads in this forum somewhere)

Wipe data, system and cache (don't report anything bugs if you dirty flashed over another ROM)

Flash the ROM, GApps, Magisk, or any other mods (again, don't report bugs if you can't reproduce them with just ROM and GApps)

Reboot into the system, and enjoy the illusion!

KNOWN ISSUES:

< voLTE/voWifi>

FREQUENTLY ASKED QUESTIONS:

Why i have Blackscreen? A: Did you flash ALT+F4 ROM/VENDOR?

Which Firmware is supported? A: Oneui 2.0 / ALT+F4 to avoid issues.

If you like all of my shared projects and want to make a small donation, click the link below.

ℹ️ checkout the main Channel: http://t.me/sga40

ℹ️ checkout the discussion Group: http://t.me/kevios12discussion

XDA DevDB Information

AOSiP 16.1 for a40, ROM for the Samsung Galaxy A40

Contributors

Kevios12

ROM OS Version: Android 11

ROM Security Patch Level 21/07

ROM Kernel: Linux 4.x

ROM Firmware Required: latest Stock ROM (Android10 or ALT+F4 v1.0 )/ TWRP

Based On: AOSP

Version Information

Status: Stable

Build: Unoffical

Created 09.05.2021

Last Updated - 2021-07-13​
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] kevios12:
Changelog 2021-06-10

* Merge June Security Patch

* Fix Adaptive Brightness

* UI Improvments

* AOSIP Bugfixes

* Device Overlay fixes
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] kevios12:
📝 Changelog 2021-07-13

• A40: upstream/lineage-18.1 devicetree

• A40: Fix Device Model

• A40: Enable 5Ghz WiFi Band

• A40: Fix BT-Calls

• Merge July Security Patch

• AOSiP System Improvments // Fixes
[Samsung Galaxy A20 Questions & Answers] Antarmanu71:
I have had my Samsung Galaxy A20s phone for several months. One of the first apps that I usually install is "WiFi File Transfer Pro", which is an older app, but it still works well for transferring files over WiFi. When the app is started, I can just type something like:

http://192.168.0.191:1234

into my laptop's Firefox or Chrome browsers, and I get the complete list of folders on my phone. Then I can download or upload files from and to my phone, by using laptop only. No cable connection is necessary, everything goes over my WiFi router.

Well, this worked normally until today, when I wanted to transfer some files and started the app on the phone, went to my laptop's firefox and when I tried to open the above mentioned address, I got this message in Firefox:

Unable to connect

Firefox can’t establish a connection to the server at 192.168.0.191:1234.

I get a similar message in Chrome on laptop as well:

This site can’t be reached

http://192.168.0.191:1234/ is unreachable.

ERR_ADDRESS_UNREACHABLE

I don't remember that I made any major updates to my phone in the past month (which is when I used the Wifi file transfer app for the last time, and when it worked). I may have installed some new apps in the past few weeks, but, as far as I know, those apps are unlikely to mess with wifi (I could be wrong here, though).

Strangely enough, if I open Firefox or Chrome browsers on my Samsung A20s phone, and go to the above mentioned address, I DO GET the list of folders from Wifi File Transfer Pro app, as if everything is working fine!

However ,on my laptop, it looks as if the phone's web server (I believe that is how it's called) is not reaching it at all.

I had a similar issue before because one app on the phone used to block the web server from being seen on other devices. It was "Open VPN Connect", which I use to access my VPN provider. However, now even when that app is not working, the web server from my phone doesn't reach my laptop over WiFi.

I tried many other similar apps that enable one to transfer files by using the web or ftp server, and none of them now works with my laptop. However, they all DO work on the phone's browsers.

Could someone please help me diagnose and fix this problem? This phone definitely worked well with these file transfer apps, and they worked normally with my laptop.

By the way, on my laptop I have Manjaro XFCE with the latest updates.
[Samsung Galaxy A20 Questions & Answers] Antarmanu71:
I've just found the solution!

It seems I ticked an option in my router settings a few days ago which messes with this file transfer function (and then kinda forgot about it). The setting is called "All the wireless client device is completely isolated". This should be switched off, and I have probably ticked it inadvertently.
[Xiaomi Mi 11 Ultra] hotto1996:
Hello guys, can you please so me a favor and look for dust under the glass of the main camera module?

I was unlucky with the mi 11 u again

First the mi10 and the mi 10 pro afterwards the Poco x3 and now the mi 11 ultra. I'm so freaking unlucky and I hope tradingshenzen will fix this as soon as possible.

Best regards

P.s. everything you can see in the pictures can't be cleaned off - i tried my best and after using a flashlight I was 100% sure it's under the glass.
[Xiaomi Mi 11 Ultra] jericho246:
Damn that's unfortunate, man. I read about some other phone having this issue, I think it was the OnePlus 5 or 6 a few years ago. People had to send back the phone.

My Mi 11 Ultra is arriving tomorrow so I can't check right now, but once it arrives, I will.

I hope you get it sorted. Good luck.

UPDATE: so I did check the cameras for dust and it looks like there's none on my unit. Lucky me.
[Xiaomi Mi 11 Ultra] avetny:
Looks like defective unit. Exchange it
[Xiaomi Mi 11 Ultra] hotto1996:
Yes I was reading about it too. All models I've listed had the same dust spots. The Poco was the worst tho, it was actually so bad it was affecting the quality of the pictures.

I will try my best. I'm from germany and the devices is from tradingshenzen...i don't know how they will react 😅 I have read horrible story's about them when it's coming to exchange devices or reparing them ..
[Xiaomi Mi 11 Ultra] tupac19861013:
I don't have any issues with my Mi 11 Ultra like this, seems definitely like a defective unit. So better to exchange on this.
[Xiaomi Mi 11 Ultra] avetny:
If u paid by PayPal u have 30 days for exchange or return
[Xiaomi Mi 11 Ultra] hotto1996:
From which date? From the date I bought it or from the point I got it? I bought it on the 03.04 already but I got it almost 4 weeks later and where did you get your information from? I can't find any on the website
[Xiaomi Mi 11 Ultra] Deleted member 5408779:
That's bull****. I have ordered there a few times and also hadn't issues with refund or repairing. (auch from Germany)
[Xiaomi Mi 11 Ultra] hotto1996:
Good to know! Thanks :)
[Xiaomi Mi 11 Ultra] hotto1996:
Okay, I already opened a support ticket in TS. I will keep you guys up to date^^
[Xiaomi Mi 11 Ultra] panda24z:
Son of a biscuit stick. I was wondering what the odds were that someone had literal dust in their camera module. I went ahead and checked my Xiaomi Mi 11 Ultra... I have dust in mine too. Or rather one big spec of dust. I cleaned the outside surface with no avail. I just got my unit last Friday too. I've reached out to WondaMobile, to see what can be done. Have you guys ever encountered any issues with Wonda? This is my first purchase from them and I have no idea what's in store for me.
[Xiaomi Mi 11 Ultra] panda24z:
Update! I sent WondaMobile an email and they responded extremely fast. They asked me to send it back, so they could check the device. If it is factory faulty, not man made damages. They have agreed to refund me. They also stated that device is out of stock atm, so a replacement was not guaranteed. However, I could submit it for a warranty claim and see if they can get me a replacement that way instead, if it's deemed a man made damage.
[Xiaomi Mi 11 Ultra] hotto1996:
Hey! Thx for your reply. Again: I'm responding quite late I'm not getting any notifications. Well I need to give it back too and they will look for dust. Thing is it's not really big -, I'm afraid they telling me it's fine but I don't think having any kind of dust anywhere is "Fine" for a 1100€ flagship. Thx for you post tho, it could help me out to get some pressure on them if needed. I will play my joker PayPal card too if it's nesescary.
[Xiaomi Mi 11 Ultra] Jhonxs:
No dust is "normal" for ANY phone. I checked mine and it's absolutely perfect.

Most likely a faulty batch

Good luck and keep us posted on the developement !

Cheers !
[Xiaomi Mi 11 Ultra] speedtripler:
You guys are making me afraid to check mine lol
[Xiaomi Mi 11 Ultra] panda24z:
I'm debating on sending the unit back. Shipment is at least $65 USD and then god knows how long the wait will be. There is no guarantee that they will replace the unit. I could get a refund, but it'll take a couple of weeks to get it (with shipment and processing). I personally feel like Wondamobile will refund me, but it's just a hassle.

The spec of dust is on my telephoto, which I don't use anyways. It doesn't really affect me much. It's easier for me to just open up the device, clean the lense and reseal it. The dust is not inside the camera, but right on the glass layer above it. Doing so would affect the IP68 rating, since it probably won't have the same water resistance. I don't really put my phone in such environments. So other than a small inconvenience, it's not too bad.

However, I do agree that buying a phone with dust is not acceptable. Especially for the hefty price tag. A consumer should not be required to fix a manufacturing issue. But after evaluating my options, it's easier and cheaper for me to just fix the issue myself. Granted that I enjoy tinkering with tech and I have some general experience taking electronics apart.

But yeah, I would say ship it back. If the issue is indeed a manufacturing issue and there is no resolution/ they refuse to address the issue, totally reach out to your bank or PayPal to get that addressed. I hate doing charge backs, but sometimes they are needed. Especially when if it's a issue you had no control over it.
[Xiaomi Mi 11 Ultra] hotto1996:
I couldn't say it any better although I would strongly advice you to ship it back. Remember you got a ceramic back - it's way harder to open without breaking it. I'm working at a German mobile Refurbisher and im dealing with these kinds of things every day but I wouldn't do that on a new device which costs around 1000+€. Isn't there any way for them to exchange it with another unit maybe from another costumer who gave back the mobile? They can't repair it anyway. This device is most likely to be sold in a few years to Refurbishers like I am one. I wrote with a guy from tradingshenzen and he told me that he will either give my money back after recieving the device or swap it against a new one if possible from another costumer who gave it back and which isn't opend up. I hate dealing with give backs too it's super annoying to me...i waited 6 weeks for my device just to wait a few weeks more now too although I'm really glad that I got the possibility to send it back to a German service point.
[Xiaomi Mi 11 Ultra] panda24z:
Thanks for your feedback. I'm confident that I can get it opened and sealed up. There is always a risk though and It's never the same afterwards, compared to a new factory sealed device. I still have some time to reevaluate the situation. I'll think it over today and decide tomorrow morning.

What I'm not looking forward to is the wait and the loss of an additional $65 for shipment. I knew that ordering a phone internationally was a risk, and that's just one of the downsides.

Wondamobile support told me that they did not have any global units in stock, and that they didn't know when they would come back in stock either. So a replacement was not something they could do. They stated that they could conduct a warranty claim and see if Xiaomi can get that replaced, if I wanted to go that route. The other option would be to refund the device of course. Honestly, if I do ship it back I'll just get it refunded and wait for the device to be more wildly available.

All I know is if I get my $1300 back, I'll be extremely hesitant to purchase any phone internationally again. I'll see if maybe there is a more local seller. Only time will tell.

Thanks again. I'll keep you posted on what I decided tomorrow morning, but now I am aiming more towards the refund. Might even buy the white version in the future with the refund.
[Xiaomi Mi 11 Ultra] speedtripler:
The only good news is, they get cheaper with time... But this is really crappy build quality from Xiaomi and further proves they are not really ready to compete on the world flagship stage with Samsung and Apple etc

Some people paid ~$1500 for devices with manufacturing dust in the camera lenses which is just unacceptable imo

i had a look at mine and can't see anything but I haven't used a magnifying glass and a torch yet because I have no return option anyway since I got mine from the first batch released in China
[Xiaomi Mi 11 Ultra] panda24z:
Agreed, they should be putting in more measures to ensure quality is met before they ship the devices out.

This has been my first Xiaomi phone, and now I'm hesitant to try getting a new Xiaomi phone in the future. It could have just been bad luck on my side, but I'm certain more customers are bound to have the same dust issue, hence why this post is even a thing.

I really wanted to give Xiaomi the benefit of the doubt with the Xiaomi Mi 11 Ultra, but you are correct. They're just not on the same level as Samsung and Apple yet. I want to be optimistic, but for now I'll make sure to wait several months before commiting to a new Xiaomi phone. Just so I can know all the possible quirks and issues. Only then can I really decide if it's worth it.
[Touch Diamond, MDA Compact IV General] lbclbc:
please help me to get my email contacts out of my phone contacts. if want to phone somebody of my contacts, i dont want to see in the list my email contacts.

do you have an idea?
[Touch Diamond, MDA Compact IV General] Addicteddddd:
sort them by details in outlook and remove them if you don't need them, other than that i don't know how to limit them when sending a text/phone
[OnePlus Nord Questions & Answers] krakard:
Hello, friends. So I am here following this exact tutorial :

How to Restore OnePlus Nord Back to Stock OxygenOS Software - A Complete Guide

In this guide, we will show you how to restore the stock OxygenOS software on the OnePlus Nord by flashing the factory image/Fastboot ROM. Things like custom ROMs, TWRP, and Magisk root are pretty…

www.thecustomdroid.com

I currently am stuck there

I just simply do not understand what could be wrong here.

In fastoot mode I get "device - State unlocked"

As you already saw, it seems the device is completely unlocked. What could be wrong ?

Also, some steps before, I get that :

I suspect switching to the automated in Windows won't change much.

It is strange because I am able to perform these steps without problems, ones the ones after seem to not work :

I might be doing something wrong ? Be located in the wrong folder or something ? For instance, when I type these commands it does not work if I write the "./" before fastboot, it tells me

My phone is a Oneplus Nord and I am using the advised Oxygen OS ROM provided in the tutorial I linked at the beginning of my message.

I hope you'll be able to get me out of this as I unfortunately can't figure out how to solve this problem on my own.

Best regards
[OnePlus Nord Questions & Answers] User699:
Yes, that makes sense.

Fastboot should be located at /usr/bin/fastboot. Since you're not in that directory, ./fastboot won't work. (This ./ means: "Look at the current working directory for the command fastboot." If it cannot find fastboot there or it isn't a shell command, it will throw an error.)

However, since you didn't install fastboot globaly, you have to address its exact path inside your platform-tools folder. If fastboot is not in Partition-image folder, ./ won't work.

Can't help you with your main issue though.

Edit: You seem to have fastboot installed globally though:

So my first explaination is valid.
[OnePlus Nord Questions & Answers] krakard:
Thank you for clarifying that. I understand the issue there. Which is a non-issue indeed since I already installed it globally. But well, it at least teaches me how Linux work.

Of course however, the main issue remains that's for sure.
[OnePlus Nord Questions & Answers] User699:
You're welcome.

BTW:

There is no "fastboot" to boot into. Instead, type

fastboot reboot bootloader

I didn't mention that yesterday for some reason.
[OnePlus Nord Questions & Answers] krakard:
Guys, here is where I am at now. Still struggling but I feel I am very near ! Some help maybe ?

https://xdaforums.com/t/opnord-oos-...your-device-to-oxygenos.4148415/post-85022511

best regards
[OnePlus Nord Questions & Answers] krakard:
SOLVED
[OnePlus Nord Questions & Answers] :
How did you fixed this? I'm currently stuck at the same point as you with a oneplus 8
[OnePlus Nord Questions & Answers] mbootsman1:
Same here, how did you managed to solve the "Flashing is not allowed for Critical Partitions: error with the fastboot ROM batch file?
[OnePlus Nord Questions & Answers] Thadah:
I found the solution, you have to do fastboot reboot fastboot which reboots you to fastbootd instead of fastboot. There you can flash critical partitions without issue.
[OnePlus Nord Questions & Answers] solid.snake:
Hi,

As the command recommanded everywhere :

fastboot flashing unlock_critical

had never worked for me in the bootloader environment,

I have to reboot i my rom embedded recovery in order to flash the file (apply update menu) through the :

fastbootD

To sum up :

#From Android (while having all prerequisite done ie bootloader unlocked...)

adb reboot bootloader

#From the bootloader I choose to boot to recovery and I get to the rom custom recovery

#In the custom recovery, I choose the menu "apply update" that will lead me to the fastbootD mode

#I type the appropriate command to flash the persist partition

fastboot flash persist "c:\your_path_to_your_persist_file\persist.img"

#Then I simply reboot the phone

fastboot reboot

PS : Initially flash the OxygenOS (OOS) 11, then apply the CRdroid Android v8 custom rom (based on Android 12)
[OnePlus Nord Questions & Answers] rev066:
I did it similar like solid-snake:

In my case I also had no access to fastbootD

The solution came randomly when I flashed back the first part from my lineageOS package:dtbo.img, vbmeta.img and the recovery.img --> after that my phone naturally booted in a fastbootD mode from the lineageOS package.

I modified the flash-all.bat from the stock ROM fastboot flash package:

I removed the line with the reboot command, because I'm already in the fastbootD mode.

Then I ran the modified flash-all.bat and everything went well.
[OnePlus Nord Questions & Answers] tito-the-mutt:
If anyone else struggles (like I did) to get the phone in EDL mode, or the "Flashing is not allowed for Critical Partitions" error ,even if the "fastboot flashing unlock_critical" cmd was executed, here are some hints that might help.

I tried forever on a Linux computer without any luck, so I ended up installing Windows 10 on actual hardware to finally unbrick my One Plus Nord (Avicii). Here are the most important steps, YMMV, execute at own risk:

bcdedit.exe /set nointegritychecks off run this cmd as admin in terminal, toggle to "on"

then install edl drivers as admin, This is where I struggled the most, I finally found an .exe file(QDLoader HS-USB Driver_64bit_Setup.exe) that I just installed and then phone showed up as it should in device manager. ("Qualcomm HS-USB QDLoader 9008," not "QUSB_BULK")

install adb and fastboot. (platform-tools)

download MSM-Download-Tool and stock OS, and install MSM-tool as admin.

open MSM-tool, when phone is off, hold power button pluss both volume buttons at the same time for 40 seconds to detect the phone.

uncheck the "sha hash check" box

flash

if you get the "Sahara Communication Failed", just try again, it worked for me.

wipe

erase Windows 10 and replace with any Linux distro, tell your PC it will never happen again.

enjoy.

Here are link to the EDL-drivers that worked for me. Or just do a web-search for "QDLoader HS-USB Driver_64bit_Setup.exe"

The flashing process will take over 300 seconds, be patient.
[OnePlus Nord Questions & Answers] StefanWhite:
It's settled, thank you.
[OnePlus Nord Questions & Answers] BravoTown:
Still works as of July 2023. Thank you!
[OnePlus Nord Questions & Answers] danielsinnema:
What is FastbootD?

When I do fastboot reboot fastboot, I get "

C:\Users\Gebruiker\Documents\Phone\Platform Tools VBMETA fix\platform-tools>fastboot reboot fastboot

Rebooting into fastboot OKAY [ 0.002s]

< waiting for any device >

"

I am on Oneplus 7 Pro by the way.
[Samsung Galaxy S21 Ultra] Jizo:
Hello,

is it possible to switch the HK Version of the Samsung Keyboard to the EU (german) Version, that i can use Keyscafe?

I got the SM-G9980.
[Samsung Galaxy S21 Ultra] varcor:
Yes, go to Settings, General Management, Samsung Keyboard Settings, Language and types, Manage input languages then search for Deutsch.
[Samsung Galaxy S21 Ultra] Jizo:
The problem is, i got an SM-G9980 snapdragon Hongkong-Version.

I switched the language to Deutsch, but i can't use Keyscafe, because the layout stays in china/HK.

Keyscafe doesn't work with china/HK-layout.
[Samsung Galaxy S21 Ultra] inpression:
Ended up switching for Gboard since the SM-G9980 factory keyboard was a piece of **** that occupied half the screen.
[Samsung Galaxy S21 Ultra] Jizo:
Same. Then i have to wait for an possible keyscafe update for hk-version.
[Samsung Galaxy S21 Ultra] Sharpshooterrr:
Why not resize?
[Samsung Galaxy S21 Ultra] davie9x:
I also have an HK version, but Keys Cafe doesn't work for me when I customize the effects or change some layout.
[Samsung Galaxy S21 Ultra] inpression:
You can't resize below a certain point, and that's still way too much I like for a keyboard.
[Samsung Galaxy S21 Ultra] Overallllll:
View attachment 5308479

My Taiwan model was not usable at first, but I changed the area code to HK, and then it became usable. Maybe you want to check CSC
[Samsung Galaxy S21 Ultra] Overallllll:
After my test, keyscafe of model 9980 chc and bri are not available, but tgy (hongkong) is available
[Samsung Galaxy S21 Ultra] Limeybastard:
For those that weren't aware I remember a very big thread about this on the Note 20 U forums. Last I remember the stock Samsung keyboard couldn't be changed to the one that is on the non CH or HK models.