yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] kevios12:
AwakenOS for Samsung Galaxy A40 [A40]

Code:

#include <std_disclaimer.h>

/*

* Your warranty is void.

*

* I am not responsible for bricked devices, dead SD cards,

* thermonuclear war, or you getting fired because the alarm app failed. Please

* do some research if you have any concerns about features included in this ROM

* before flashing it! YOU are choosing to make these modifications, and if

* you point the finger at me for messing up your device, I will laugh at you.

*/

ABOUT US

Born different, now awaken.

AwakenOS aim to bring a more consistent, fluent and smooth experience with all your must-have customizations, for you, for the community, and for everyone.

- Team AwakenOS -

Saikiran

Ninad Patil [REIGNZ]

Mukul [undead]

- Designers -

Hugwalk

Jagadish

Glitch

FEATURES

- RGB Accent picker

- Color Bucket

- QS tint

- Pre-Pie mobile style network icons

- 4g icon instead of LTE

- Volume rocker music control

- Volume rocker wake

- Reboot/Reboot to recovery qs tile

- Some More options which you are about to find after flashing

- Much More Stuffs Coming Soon!

DOWNLOAD

ROM: Download

VENDOR: Download

What is Working?

* Camera

* Flashlight

* RIL

* WiFi

* GPS

* Sensors

* Brightness

* NFC

* BT Calls

* Adaptive Brightness

* etc...

BUGS:

* voLTE

* voWiFi

* you tell me...

INSTRUCTION

First Time Install

- Boot into TWRP/OFOX

- Wipe everything except internal/vendor

- Flash ROM and reboot recovery

- Flash Magisk.zip [optional]

- Reboot

Kernel Source: Click here

Credits

- Google for AOSP

- LineageOS

- StatixOS

- PixelExperience

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

Telegram Device Group

XDA:DevDB Information

[ROM][Android 11][UNOFFICIAL] Awaken OS | [A40], ROM for the Samsung Galaxy A40

Contributors

@kevios12

ROM OS Version: Android 11

ROM Kernel: Linux 4.x

ROM Firmware Required:OneUI2.0/ALT+F4/my_cust.vendor

Based On: AOSP

Version Information

Status: Stable

Created 2021-05-22

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

* Update to Awaken 1.8 Jasper

* June Security Patch

* Fix Adaptive Brightness

* improve System Performance

* Device overlay fixes

* System improvments / Bugfixes

* Full Changelog: Telegram
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] kevios12:
Changelog 2021-07-11

• A40: upstream/lineage-18.1 devicetree

• A40: Fix Device Model

• A40: Fix BT-Calls

• A40: Enable 5Ghz WiFi Band

• July Security Patch

• update to 1.9 Clover

• add Android S Clock

• Full Changelog: HERE
[Xposed Framework Development] Thanos Atha:
I try to connect my phone with TV via microHDMI, but it seems it doesn't support it... so, Is there any "driver" MHL app, to make a support & connect every phone with TV via MicroHDMI (from Type C microUSB port & without device specific hardware support)???

Also, Can we fix microG (for Game Logins)?
[Windows Mobile Development and Hacking General] dyetheskin:
i'm trying to find a whole suite that's full black or blackish for all possible skinnable apps,especially the comm manager which is hard to find since some say it's black but it's really not. even better if someone can find/create such a suite that's a bloody red color or meshed in with black
[Windows Mobile Development and Hacking General] dyetheskin:
any takers?
[Windows Mobile Development and Hacking General] xd1936:
http://forum.ppcgeeks.com/showthread.php?t=31081

Extract it from that! And search
[Windows Mobile Development and Hacking General] pauldgroot:
If you will make all of my homework, I will make you a skin in the program of choice.

But before you post here, try looking for an exisiting skin.

Like here.
[Windows Mobile Development and Hacking General] kidnamedAlbert:
paul ill gladly do your homework for you if you make a minial flow theme for manilla 2d ;)
[Windows Mobile Development and Hacking General] pauldgroot:
[off topic] are you sure, i've just been ill for 2½-3 weeks so you will have a lot to do [/off topic]

But about a manilla 2d version, yes I was planning on making one. But as I mentioned I just don't have any time ATM. Currently making a manilla dialer skin.
[Windows Mobile Development and Hacking General] xboxhaxorz:
both of those posted links look great

the vista start menu icon and the booting screens were a great touch

the wad 2 theme is very very vista pcish
[Windows Mobile Development and Hacking General] mr.incredible:
One I created a while back on a website (I forget which)
[Windows Mobile Development and Hacking General] dyetheskin:
how about just a black commmgr? I've seen others but they were just grey,too large in size for a kaiser or were just made specifically for a certain device
[Zenfone 5 Q&A, Help & Troubleshooting] anltrzi:
Hİ guys. My phone was in the intel inside logo screen last night and i tried xfst downloader and i had droidboot screen. but after spend some time phone turned off now even not vibrating when i plug usb or charge or when i replace the battery. but when i connect it to pc it sounds on pc and shows in cloverview mode and i tried again to install the documents. it gives error. it shows also in intel platform flash tool lite. do you know what is the problem and what should i do is there anybody to help me ?
[Huawei Mate 40 Pro Guides, News, & Discussion] JRapsky:
Hi,

is there at the moment a way to register at petal mail? Maybe someone got an account and won't use it anymore?

kind regards
[Android Q&A, Help & Troubleshooting] Dhruv_s:
Hello am making an android app in java and trying to mute the incoming failing or any other message provided by telecom provider I have tried audio manager,callAudistate tried to route it to Bluetooth or headphones but since there is no hardware it doesn't work to route on them now I am planning to make some custom telecom libraries for this purpose but I don't know will it work is there any other way to achieve it ??? please please please a humble request to everyone anyone have any idea on it, please guide.. application is built in java, please help
[Moto G4 Plus Questions & Answers] Ryu945:
What is the Most stable Android 9 or higher ROM for Moto G4 Plus?

edit: Ended up going with OmniROM 9
[Moto G4 Plus Questions & Answers] JulianCox:
AOSP
[Moto G4 Plus Questions & Answers] chuy19312:
AOSiP, is the only one that doesn't have bugs but for some reason, for me, it disconnect from wifi every certain time
[Windows Mobile Development and Hacking General] b16daddy:
I have dotfred regedit.. and was wondering where do i go to export settings for this..

owner's info

start menu items

sound and notification settings

nueled settings

backlight setting

power setting

i want to export these setting so i can cook it into my rom
[OnePlus 6T  Questions & Answers] bokkoman:
So I flashed LineageOS 18.1 and tried it a bit. I wanted OPlauncher in LineageOS but placed it in wrong root folder and now it won't boot.

I decided to just flash back stock OS because I like it more anyway. But when I flashed it in the recovery, i rebooted and it didn't work. It still shows the LineageOS boot animation and reboots after a while and goes back to lineage fastboot.

Then I flashed TWRP to install the stock OS through internal storage, that didn't work either.

Tried flashing on both A and B slot. No success.

In the end I only have TWRP and a boot animation from LineageOS.

Can someone tell me what to do to go back to complete stock?

Thank you!
[OnePlus 6T  Questions & Answers] OhioYJ:
Boot to TWRP, backup your data if you haven't done so already. (It will get wiped when you go back to OOS, and will need to be wiped to boot)

Option 1 (To stay, the route I always try first as it doesn't relock the bootloader):

- Fastboot Rom

- Fastboot Rom Thread

- I also cover this in my Installing LOS Guide.

- You might also see this post from that thread. You can create your own fastboot ROMs, as that thread as not been updated in a while.

Option 2 (This requires Windows, and will relock the bootloader)

- MSM Tool Thread. This will make your phone exactly as it was out of the box. Make sure you have the correct drivers installed.
[OnePlus 6T  Questions & Answers] bokkoman:
Thank you!

I went with the MSM tool, and with some struggle in the beginning with connecting (sahara error), it finally succeeded.

Device is back to normal.
[OnePlus 6 Questions & Answers] accordeuro06:
Heyy guys can someone help me unbrick my op6, I've done it a couple of times before but this time is different, device is not showing in msmTool, qualcomm 9008 driver is installed. Device is stuck in fastboot mode no recovery or anything else is available
[OnePlus 6 Questions & Answers] Oswald Boelcke:
@accordeuro06 Thread close as duplicate of

https://xdaforums.com/t/unbricking-op6.4281229/

that you created a few minutes later.

And if you're unhappy with what you've posted, please do not create a new thread or post. Simply use the "Edit" button left in the lower row and edit your post accordingly.

Stay safe and stay healthy!

Regards

Oswald Boelcke

Senior Moderator
[OnePlus 6 Questions & Answers] accordeuro06:
Heyy guys can someone help me unbrick my op6, I've done it a couple of times before but this time is different, device is not showing in msmTool, qualcomm 9008 driver is installed. Device is stuck in fastboot mode no recovery or anything else is available

preview link
[OnePlus 6 Questions & Answers] mm_rajesh:
Try this tool.

https://xdaforums.com/t/tool-op6-to...ck-twrp-factory-image-stock-recovery.3791316/
[OnePlus 6 Questions & Answers] accordeuro06:
Tried it already no device found, my OP can only boot in fastboot mode

View attachment 5317423
[OnePlus 6 Questions & Answers] darksx:
Do you have bootloader unlocked,i always use mauronofrio roms without no problems
[OnePlus 6 Questions & Answers] accordeuro06:
yes it is unlocked, but when I try to list the device in command prompt under window/ubuntu - it says no devices
[OnePlus 6 Questions & Answers] darksx:
If you are using Windows 10 like me you can try minimal adb and fastboot installer,maybe your drivers are corrupted.P:S. we are in the wrong thread,you should ask in another section-question and answers.
[8525, TyTN, MDA Vario II, JasJam ROM Development] Alian_Alvi:
:confused:

Hi there could any one plz tell me what happened to schap's new rom which i think was going to release in august and its september ???/

actually i havent been here on xda becoz of some personal problems so anyone kind enough to tell me what happened to schap's rom and is that true he will not cook any more rom for hermes and moved to diamond ??/

sorry for my bad english

thanks
[8525, TyTN, MDA Vario II, JasJam ROM Development] mahdispecial:
http://www.touchxperience.com/en/touchxperience/release-history/1-touchxperience-release.html
[8525, TyTN, MDA Vario II, JasJam ROM Development] beastfellow:
Actually it was suppose to be online in June but now its September 2008.

Anyhow still waiting for his separate topic or thread to be created here.

That website is in beta testing still and is not showing any information.
[8525, TyTN, MDA Vario II, JasJam ROM Development] Alian_Alvi:
ok Then i have to wait i think anyways thanks for the reply :(
[Treble-Enabled Device Development A/AB ROMS] oF2pks:
[11.0_r40/v312] download : https://androidfilehost.com/?a=show&w=files&flid=286761

All-in-one:

"Regular" #phhusson Roar AOSP 11.0 build with microG patches, embedded #su /system (+abVndkLite), and multiple foss apps:

official microG: GmsCore(mapbox) GoogleServicesFramework DroidGuard

addons: NominatimGeocoderBackend DejaVuBackend IchnaeaNlpBackend LocalWifiNlpBackend openbmapRadiocellsOrg LocalGsmNlpBackend

hot-built: musicEleven calendarEtar Terminal testDevCamera Calculator

prebuilt: Fdroid F-DroidPrivilegedExtension browserQuarks axetAudioRecorder kDI Superuser BromiteWebview NeoLinker

system/bin* : aapt32 grep64(pcre2grep version 10.22 2016-07-29)

not included:

Latest compatible Google Maps 9.84.2 optional https://androidfilehost.com/?fid=11410963190603886579

Extra(s):

Nfc and Cafeine tiles, basic photoEditor*, experimental WakelockBlocker via Settings/{}DevOptions

<USE WITH CAUTION>

.

Nota:

android Webview v92 is signed & upgradable from Bromite, Terminal is activated via Settings/System/Advanced/DeveloperOptions and Playstore has to be ForceStop-ed once after registration/wizard, and relaunch. F-Droid V.102.3 auto-update needs FDroid/Settings/ExpertMode/Privileged disabled.

After first rom flash and MicroG prim-initialization, for immediate working location, toggle /Settings /Security&Location /Location off&on.

All included prebuilds are fdroid signed editions.

donations:

Consider prim-origin @phhusson @MaR-V-iN @csagan5 (Bromite)

others : @ale5000 @Setialpha #ThibG(DroidGuard)

+info for microG implementation https://xdaforums.com/android/development/microg-unofficial-installer-t3432360

If you need more, please let me know about it, but for more "Google": just switch to phhusson "gapps" flavour...

View attachment 5317211
[Treble-Enabled Device Development A/AB ROMS] oF2pks:
Bugs reporting

ufOfficial rom includes

static & passive

app kDI (KalturaDeviceInfo) to list all your device specs (treble, widevine...) in a json, and can help you with GSFid or others info(s). This app doesn't connect to internet, and the json (~Android/data/com.oF2pks.kalturadeviceinfo/files/) should not include any private data or ids; it's up to you to share or not.

(Specific Redmi Note 9 Pro overlay_joyeuse & props_ curtana/joyeuse are optimized)

(Huawei/msm8937 Moto/G7Play Razer/cheryl Sony/XZ3 Realme/X2Pro overlays are switched to aosp FusedLocation)

swappiness =28 & dirty_writeback_centisecs =1500: check #suSmartPack-KernelManager for other tweaks.

For Treble with root #su (+abVndkLite), you can do some tests modifying specifically,

/system/bin/rw-system.sh to change some features on post-fs:https://github.com/phhusson/device_phh_treble/blob/android-11.0/vndk.rc#L1

check also phh-on-boot.sh & phh-on-data.sh​

hot-built links :

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="los" fetch="https://github.com/LineageOS/" />
<remote name="of2" fetch="https://gitlab.com/oF2pks/" />
<remote name="qcom" fetch="https://source.codeaurora.org/" />
<remote name="aos" fetch="https://android.googlesource.com/" />

<project path="packages/apps/ExactCalculator" name="android_packages_apps_ExactCalculator" remote="los" revision="lineage-18.1" />
<project path="packages/apps/Eleven" name="snapmusic" remote="of2" revision="test2" />

<remove-project name="platform/packages/apps/Calendar" />
<project path="packages/apps/Etar" name="android_packages_apps_Etar" remote="los" revision="lineage-18.1" />

<remove-project name="platform/packages/apps/Terminal" />
<project path="packages/apps/Terminal" name="android_packages_apps_Terminal" remote="los" revision="lineage-18.1" />

</manifest>

- Bromite latest webView v92, upgradable via F-Droid repo https://fdroid.bromite.org/fdroid/repo

- Optimized browser Quarks ( adBlocker, offline reading mht , print/pdf , share/clipboard target ...) https://gitlab.com/oF2pks/jelly/commits/fdroid. Conversely to embedded WebViewShell, Quarks don't allow permissions for Camera & Microphone capture (WebRTC)

Attached State_Changes___.zip if for rom devs only
[Treble-Enabled Device Development A/AB ROMS] runninghamster:
V307system11-arm64-aONLY-ufOxTERM_mapbox.img

Build does not boot on ZTE Axon 7 (ARM64 A Only) device. Using the same vendor and kernel as phh v307, which boots normally.

I could not get a log as the device would keep boot-looping to the bootloader and did not make it to the boot animation. I've attached a .json file of the device running phh's roar v307 build using your kDI app if it's of any use. Let me know if further logs are needed.
[Treble-Enabled Device Development A/AB ROMS] Tab E:
Is gesture navigation enabled by default? Because on some GSI with 3 button navigation, the screen keeps glitching. I can't even unlock the screen due to that.
[Treble-Enabled Device Development A/AB ROMS] oF2pks:
Did you flash it on working Axon 7 ZTE's oem original rom, or on top of phh previously flashed gsi ?
[Treble-Enabled Device Development A/AB ROMS] runninghamster:
The stock OEM rom for the Axon 7 is outdated and doesn't support Project Treble. We have our own unofficial vendor and kernel for Treble. I did a clean flash (wiped all partitions, flashed treble zip, flashed system image, boot).

Phh's roar v307 boots with the same procedure, as well as the other v307 based GSI.
[Treble-Enabled Device Development A/AB ROMS] landsome:
Thanks a lot for this great package. I have been running v302 a32b64 for a while and it's quite functional.

One question: does V307system11-arm32_binder64-ab-ufOxTERM_vndklite include mapbox and will there also be a non-vendklite version?
[Treble-Enabled Device Development A/AB ROMS] pvdeejay:
Hello,

I can't figure it out.

I have flashed r307 vndklite on the top of previous r302.

I have ensured I have no magisk patched boot image.

I can get root access within adb shell and I seemingly can remount the root partition read write by saying

mount -o remount,rw /

I can then change just anything e.g. inside /system/app folder.

However as soon as I call

mount -o remount,ro /

or reboot the device, everything is back to the previous state as if I have done no modifications to the system partition.

I am afraid phh-securise.sh won't work too.

My goal is to eventually replace phh-su with magisk so I can use magisk hide.

What are my choices?
[Treble-Enabled Device Development A/AB ROMS] pvdeejay:
oF2pks Is there a chance you will update this to more recent phhusson GSI base please?​
[Treble-Enabled Device Development A/AB ROMS] oF2pks:
Indeed, will sync latest phhusson's github repo by next weekend; probably last android 11 before a possible aosp 12 September start (?)
[Treble-Enabled Device Development A/AB ROMS] oF2pks:
New build AOSP 11.0_r40 (v312) is up

: https://androidfilehost.com/?a=show&w=files&flid=286761

August cve

GmsCore v0.2.22.212658

Bromite v92.0.4515.134

Eleven (optimized): https://gitlab.com/oF2pks/snapmusic/-/commits/test2

GSi devices' specifics & commits: https://github.com/phhusson/device_phh_treble/commits/d0355b6dd57b4cba3d01a39866ad3552eba173e0

@pvdeejay this is including Make phh-securize.sh work with current Magisk recent commit. @landsome since safetyNet fails with microG, vndkLite brings more possibilities.

Don't forget to thanks @phhusson on his github's: https://github.com/sponsors/phhusson
[Treble-Enabled Device Development A/AB ROMS] NisseGurra:
R40 runs nicely on Zenfone 8, no bugs found
[Treble-Enabled Device Development A/AB ROMS] pvdeejay:
@oF2pks: If you will ever be updating this one or making a new one based off of Android 12, can you consider adding f-droid prebuilt edition of axet call recorder as a system app? I see you are already including axet audio recorder. Adding call recorder as a system app would allow the call recorder app to request CAPTURE_AUDIO_OUTPUT permission what is needed for the call recording to actually work these days. Since root hide is no longer a thing even with magisk, I haven't managed to get modifying system partition to work, this is the only bit I am currently missing.
[Treble-Enabled Device Development A/AB ROMS] pvdeejay:
Hello,

Have you got Android 12 update of this? Or in other words is there a rom I might be able to flash over this so I will not have to reinstall the whole system from scratch including aps and their data?
[Treble-Enabled Device Development A/AB ROMS] oF2pks:
Will upload 12.1 March arm64_AB-seamless soon with a new thread for April release: works out of the box over android 11, with axet callRecorder as system app.

Be aware that like all @phhusson 12.1 editions, flashing 12.1 gsi on dynamic partition will throw a Invalid sparse file format at header magic that can lead to bootloops: if flashing latest vndkLite android 11 was fine then 12.1 will update & boot fine.
[Treble-Enabled Device Development A/AB ROMS] phhusson:
That's not an error. Maybe a warning, but realistically just a debug information. And no, it doesn't lead to bootloops.
[Treble-Enabled Device Development A/AB ROMS] oF2pks:
I used to update Redmi note 9 pro [vendors/boot/bin ...]partitions, with latest MIUI ROM package file from Xiaomi, via fastboot flash_all_except_data_storage.sh which includes fastboot flash super super.img,

...followed straight (

no reboot

), by a fastbootd (dynamic) flash of gsi system.img : on vndk android 11, I got bootloops, but work fine with normal aosp gsi build.

So I thought sas-creator re-build was missing the headerMagic (?).

I was able to recover device bootloop and my (gsi)/data, by first reflashing (fastbootd) normal aosp gsi build: reboot fine with /data safe, then reflash (fastbootd) vndklite with no more bootloops (but still the headerMagic warning), and all my /data safe back (... plus updated Xiaomi proprietory partitions).

Now with android 12.1, even normal aosp build has this headerMagic warning (?).

btw, on android 12.1, aosp native command development/tools/privapp_permissions/privapp_permissions.py
throws multiple warnings on missing private permissions for apex modules like

################################################################################
#
# apex/com.android.permission XML:
#
################################################################################
<?xml version="1.0" encoding="utf-8"?>
<!-- for the partition: /apex/com.android.permission -->
<permissions>
<privapp-permissions package="com.android.permissioncontroller">
<permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
<permission name="android.permission.GET_APP_OPS_STATS"/>
<permission name="android.permission.MANAGE_USERS"/>
<permission name="android.permission.MODIFY_AUDIO_ROUTING"/>
<permission name="android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS"/>
<permission name="android.permission.PACKAGE_USAGE_STATS"/>
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
<permission name="android.permission.REQUEST_INCIDENT_REPORT_APPROVAL"/>
<permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
<permission name="android.permission.UPDATE_APP_OPS_STATS"/>
</privapp-permissions>

</permissions>

@phhusson , is this related to android 12.1 change for "ro.apex.updatable": "false", (true in android 11)?

Anyway, overall, your gsi 12.1 is fully functional for my microG mods (congrats).
[Treble-Enabled Device Development A/AB ROMS] oF2pks:
@phhusson , aosp android 12 now provides out/host/linux-x86/bin/img2simg tool to create ext2->sparse,

...so I re-iterated new Xiaomi proprietary ROM update followed straight by gsi fastbootD dynamic re-flash, and have both my vndkLite builds bootlooping: ext2 + sparse.

And,

as you indeed clarified this headerMagic warning

, I could recover with natural ext2 android12 despite Invalid sparse file format at header magic

So the bootloop comes from fresh proprietary + super.img, above previous gsi/data partition, finalized by vndkLite flavor only (?). Hope you find the faulty origin...

Finally I can flash vndk gsi back, above my working natural gsi, with my /data safe back.

@phhusson fyi, for vndkLite flavor, I end your lite-adapter.sh with resize2fs s.img [{resize2fs -P s.img}+60000] to manage few extra space for AdAway or others #root tools: https://github.com/phhusson/sas-creator/issues/12

(previous post cleaned, sorry again for headerMagic warning misunderstood)