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

#include <std_disclaimer.h>

/*

* Your warranty is... still valid?

*

* 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 Recovery

* 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.

*/

SHRP is inspired by Material design 2 to bring the newest design to the native TWRP. SHRP provides much more along side of it's rich UI experience. New dashboard makes it very easy to interact with TWRP. SHRP got some cool features like Whole new theming section ,Flash Magisk (root or unroot), Camera2api enabler Directly from dashboard, Password protection etc. It's all started , lot more to come.

- Themes

- Status bar customization

- New rounded icons added on dashboard

- Notch mode with toggle to disable

- Dark mode or pure white, it's on you

- Navigation bar customization

- Settings + Advanced Settings

- Flash Magisk

- Clear fingerprints

- Recovery Locking , Pin or Pattern lock

- Hal3 / CameraAPI2 enabling/disabling

- Oreo+ Reboot menu style

- Redesigned lock screen interface

- Flashlight

- Magisk manager - Enable, disable or delete magisk modules right from SHRP

- Text Editor

- Custom Themes

- Theme, Lock, Addon survival

- Some OTA functionalities

- SHRP Injection (A/B)

- Magisk injection

- Auto decrypt

- and many more, flash right now to find out

1. Make sure you have a custom recovery installed

2. Download the latest SHRP recovery for your device

3. Boot into recovery

4. Flash shrp recovery zip

5. Reboot to recovery.

6. Done

You tell... :p

DOWNLOAD NOW

DOWNLOAD NOW ADDON

Github

Website

Special Thanks

Pritish

Kirill

Burak D.

ZJRDroid

LayeardDevMod

Olek & Oliwier

LeChenOS

TipzTeam

And all the developers whoever contributed to TWRP & SHRP

Please inform if we forgot to mention your name here , thanks !

Maintainer: @kevios12

Based On: TWRP

TWRP Version: 3.6.1

DEVICE SOURCE​
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] Deyaski:
nice recovery :)
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] kevios12:
SHRP Update 3.1

Changelog

Android 11 Devicetree bringup

switch from omni > aosp (twrp)

cleanup devicetree

Synced with latest SHRP 3.1 android-11 source

based on TWRP 3.6.1

fixed Flashlight

fixed ADB Sideload

Full Build (Themes working)

fix ERROR E3003 by set build-date older than 2021

Downloads

Links updated above
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] kevios12:
Code:

/*

*Disclaimer

*

* Your warranty is now void.

*

* We're 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 us for messing up your device, we will laugh at you.

*/

Introduction

Pitch Black Recovery is a fork of TWRP with many improvements to make your experience better. It's more flexible & easy to use.

Based on TWRP version: 3.6.x​

PitchBlack version: 3.1​

For device: Samsung Galaxy A40​

Maintainer/Authors build: @kevios12 ​

PitchBlack Source Code: https://github.com/PitchBlackRecoveryProject​

Device tree: Github​

PitchBlack Team: @rezaadi0105, @firewolfxda, @manjot.gni, @androiabledroid, Arbaz Khan​

Features

Installation Instructions

From previous version or other recovery

Download the PitchBlack zip to your device​

Reboot to your current custom recovery​

Flash the PitchBlack zip​

Reboot to Recovery​

Enjoy​

Changelog

-Initial Release

Downloads

Flashable zip

Download link - Sourceforge

XDA:DevDB Information

[OFFICIAL][RECOVERY][PitchBlackRecoveryProject] PBRP For Samsung Galaxy A40

Contributors

@kevios12

Version Information

Status: Stable

Current Stable Version: 3.1

Created 2021-11-20

Last Updated 2022-04-15
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] kevios12:
PBRP Update 3.1

Changelog

Android 11 Devicetree bringup

cleanup devicetree

Synced with latest PBRP android-11 source

fixed ADB Sideload

fixed Flashlight

remove TW_OFFSET

Downloads

Links updated above
[Touch Dual, MDA Touch Plus ROM Development] skodazek:
Hey guys, just joined your community and the pocket pc community all together.

I just ordered my HTC Nike (Touch Dual) from bell, and upgraded to unlimited data. I am told by others I work with, that romming is 100% necessary to get the most out of your phone.

I am just curious, is there a rom out there that is more heavily used than others? I see quite a few threads for different roms, and I honestly have no idea which one to go with.

To be safe I perfer to go with the flow, and do what everyone else is doing =p So if there is a rom that is considered most popular or has become the standard, can someone please point me in the right direction?

Thanks!
[Touch Dual, MDA Touch Plus ROM Development] skodazek:
anyone?

I need a stable rom that will unlock the ENTIRE functionality of the device, I have not yet received it, its coming in the mail so im not sure the exact device version.

Its from Bell Canada (I live in canada), and it has WM 6.1 Pro
[Touch Dual, MDA Touch Plus ROM Development] skodazek:
bump (please someone help me out with advice)

Im from canada so im not sure if it will be a neon or a niki. Bell is my service provider.

What I need most is all the features and applications locked out by bell to be unlocked and the ability to teather with bluetooth to my laptop for high speed.

I'll also be configuring it for ms exchange (Work related).

I have no idea how this rom stuff works or why there are so many or how to choose. All I want is someone point me at a good one for the above needs.

Thanks.
[Touch Dual, MDA Touch Plus ROM Development] skodazek:
ok i got the Touch Dual version, its a Neon400, perhaps that will help with giving advice.

Thanks in advance!
[Touch Dual, MDA Touch Plus ROM Development] pyroxp:
use new 6.1 rom

http://xdaforums.com/showthread.php?t=435512
[Touch Dual, MDA Touch Plus ROM Development] skodazek:
awsome, do i need to unlock the phone for this?

and if so, do i just follow the stickied hardspl thread?
[Vivo X70 Pro+] evenshop:
Hello, I have an issue with Whatsapp notifications. I have X70 Pro + with Chinese Rom. Thanks for your help
[Vivo X70 Pro+] houmer56:
Uninstall app com.vivo.pem through ADB shell.
[Vivo X70 Pro+] wertsacovivo:
same here, i have already unninstalled vivo.pem and just keep losing notifications U_U
[Vivo X70 Pro+] AbdulrazzaqAhmed:
I haven't tried whatsapp yet .. but Try to enable mobile data always active from developer options..
[Vivo X70 Pro+] houmer56:
com.vivo.abe and com.iqoo.powersaving interfere with notifications as well.

If you remove them with com.vivo.pem you will get all the notifications but the battery life sucks.

Still trying to find the right combination for battery/notifications... :(
[Vivo X70 Pro+] enb007:
Hello, after I removed com.iqoo.powersaving, I lost the function for Battery Saver. Just wondering (curiousity), is there a way to restore the com.iqoo.powersaving? Thank You
[Vivo X70 Pro+] josecleocir:
Yes there is, just execute this:

View attachment 5483323
[Vivo X70 Pro+] enb007:
Thank You very much my friend! Have a nice day!:)
[Google Pixel 6 Pro] DinarQ8:
Hi all.

Is there Anyone still not get latest OTA 037!

I know i can flash manually but i am wondering why until now I did not receive the OTA
[Google Pixel 6 Pro] Morgrain:
It's been said for a few times already that only the USA & Canada got the official rollout, rest of the world will have to wait until the December update.

On top of that, Google always does time-shift rollouts, meaning even if you are in the right region, it can still take up to 7 or 10 days until you get it.
[Google Pixel 6 Pro] MrBelter:
& Japan :)
[Google Pixel 6 Pro] DinarQ8:
My bad 🤦🏻‍♂️ thank you guys. I was not aware of this mention
[Google Pixel 6 Pro] therock3181:
I'm in Canada and didn't get the update. In fact no one did.

As per Google, USA & Japan only.
[Google Pixel 6 Pro] fastfreddy101:
Can confirm no update in Canada
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] kevios12:
Unofficial TWRP 3.6.x For Samsung Galaxy A40

Disclaimer

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 recovery 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.

Recovery Features:

toybox/busybox support

compatible with Android 12.0 and older

Downloads:

Always in the last post!

Instructions:

Odin (Windows)

Prerequisites: Samsung USB drivers, Odin v3.14.1

If you already have the bootloader unlocked you can skip to step 6.

Make sure OEM Unlock is ON in developer settings;

Turn off the phone;

Use vol down + power + usb cable plugged to a pc to start the phone in download mode;

Long press vol up then confirm you want to unlock bootloader (this is needed one time only);

* Please be aware all your data will be erased including internal storage and phone will reboot!!

Let the phone boot normally, pass the setup and connect to internet (wireless or mobile data) in order to unlock RMM;

Make sure OEM Unlock is ON in developer settings;

Turn off the phone;

Use vol down + power + usb cable plugged to a pc to start the phone in download mode, short press vol up to confirm you want to go to download mode;

* If by any chance you see RMM state=Prenormal or KG state=Prenormal, redo from step 5!

Download appropriate TWRP .tar file according to your device

Download vbmeta .tar

Open Odin v3.14.1 and place the downloaded TWRP .tar file in AP tab, downloaded vbmeta .tar file in CP tab and click Start - once you press start grab the phone and press vol up + power to force it boot straight in TWRP after flashing

!! Only if coming from full stock firmware

In TWRP home screen press wipe - format data - yes

Download and flash

multidisabler-samsung-3.*

zip to disable security and encryption.

TWRP

Download .img file for your device and install from your current TWRP with Install image - browse to image location and select - Recovery

Sources:

Device trees - a40

Recovery - twrp-minimal-manifest-aosp

Credits:

TeamWin, all contributors to the Recovery
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] Deyaski:
odin throw an error: "complete (write) operation failed"
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] kevios12:
i will update the .tar next days. It was my bad, or try remove the file into .tar as recovery.img only that should work then
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] kevios12:
Changelog:

• Add DTB/DTBO to fstab. (dtb/dtbo flashable as Image via Recovery)

• Set TW Offset back (shows clock now)

• Switch to Eureka Prebuilt Kernel
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] joaofl:
Do you expect to merge this changes into the mainline TWRP? Do you know why is that the mainline one does not even boot?
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] kevios12:
TWRP 3.6.1 Update

Changelog:

• TWRP 3.6.1

• import stock usb config (fixed adb sideload)

• devicetree cleanup
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] kevios12:
New Update TWRP 3.6.1​

Device Changelog

▪️ Initial TWRP_11 AOSP Build
▪️ adapt devicetree from android-9 to android-11
▪️ switch from twrp_omni to twrp_aosp
▪️ Adjust TW Offset=85
▪️ fix E3003 Error by set build_date to an older date
(E3003: Can't install this package <date> over newer build)
▪️ no BSOD anymore after flashing ROMs (Recovery got killed)
▪️ Recovery Size: ~46MB

Source Changelog

▪️ Internal Storage mount (fixed by TeamWin)

Downloads

▪️ IMG: TWRP_3.6.1_11 ~46MB

▪️ TAR: TWRP_3.6.1_11 ~46MB

Telegram

edit: TAR fixed​
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] kevios12:
New Update TWRP 3.6.2​

Device Changelog

• update to TWRP 3.6.2
▪️ Recovery Size: ~46MB

Source Changelog

• Allow File Transfer >4GB via MTP
• TeamWin changes see here: https://github.com/TeamWin/android_bootable_recovery/commits/android-11

Downloads

▪️ IMG: TWRP_3.6.1_11 ~46MB

▪️ TAR: TWRP_3.6.1_11 ~46MB

Telegram
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] tbart:
Works a treat, thanks. Installed unofficial lineage with this.

However, I'm trying to get Magisk to work. From what I read at Magisk's howtos, I need to patch the recovery img as this device does not have any boot ramdisk.

I tried patching this twrp image, but this leads to a blank screen (and a hung phone I can only reset with 7sec power+vol up + vol down) after the boot logo, no matter whether I boot without holding buttons or with holding power+vol up shortly like stated in the Magisk guide.

I can still get into twrp by holding the vol up longer.

Can anybody help how to get this twrp and Magisk working nicely together?
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] kevios12:
Hi, no. Just flash Magisk.apk via TWRP and reboot to system > magisk symbol popup, click on it > install > open > done. :)
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] tbart:
Thanks a lot. Works as expected!

So are the instructions at https://twrp.me/samsung/samsunggalaxya40.html wrong?

I think teamwin should be notified then. I can create an issue, just wanted to know from someone more knowledgeable than me whether I misunderstood something.

Probably add this to the instructions in the first post, this might help others as well.
[Samsung Galaxy A40 ROMs, Kernels, Recoveries, & Ot] kevios12:
For everyone where have no Telegram.

### New TWRP Update is Out ###

Download Link in Attachments!

Changelog:

• 3.6.1 > 3.7.0

• Android 11 Manifest!

• Based on R kernel // latest twrp sources

• adb & adb sideload working

• Added fastbootd

Made by @Gabriel260BR NOT BY ME - Shared Only!
[Samsung Galaxy A32 4G] Krutik8286:
Any Custom GSI for this device is available or not if available the send me the download link and any telegram channel for GSI for this channel then also send the link of that channel.
[Samsung Galaxy A32 4G] Airpewdiepie:
you can flash just any gsi?
[P3470 General] conio:
I recently did a "Clear Storage" on my pharos and after that whenever i press "End call" key the phone makes a loud beep sound. i tried resetting again and still the same noise even on factory mode.

It has started only after hard reset.

anybody have any idea. its driving me nuts :mad:

Edit

The same sound is there on Call start as well. whenever the the i try to call someone a loud beep is emitted and then the call starts connecting
[P3470 General] arthur.yu.cn:
Same problem, same ask...

I was actually in the same situation 1 yr before with an Atermis, but it was solved after I clear again the storage.
[P3470 General] conio:
I tried clearing the storage twice and still no solution. tried setting the registry setting for InitVol in HKCU\ControlPanel\SoundCategories\CallStart mention somewhere on XDA. didn't help. ;(
[Sony Xperia XZ2 Questions & Answers] StephRiff:
Hi guys,

I nedd your help.

I just bought a Sony Xperia XZ2 (H8216) for my mother, I want to install LineageOs18.

My first problem : it's on android 9, for install LineageOs18 he required has intall Sony oem rom, if i have correctly understand, but second problem :) , I can't update to officiel rom because this phone not detect update (servers are down ?).

Third problem : I try going through an AOSP version, the famous Bootloader unlock is required, problem in the service menu I have "Bootloader unlock allowed: NO".

Is there a solution ? or will this phone never be able to be updated whether it is AOSP or custom rom?

Thanks you for help and have read

Update 2021-11-28:

I installed a pc with Windows 10 all clean and deactivate windows defender, it detects the software qUnlock S1 Unlock Tool virus, it will also avoid having deleted files, for example the backups generated by qUnlock.

Install with:

https://developer.android.com/studio/releases/platform-tools

https://developer.android.com/studio/run/win-usb

this is what I did:

switch Bootloader unlock allowed no to yes: https://xdaforums.com/t/bootloader-unlock-allowed-no-to-yes-is-now-finally-possible.4044091/

I buy credit here: https://networkunlocking.com/shop/sony-xperia-cable-unlock-0-counter-supported/ in description product you have link to download qUnlock S1 Unlock Tool the latest version

Install the Sony drivers present in the qUnlock folder

Launch qUnlock enter your username obtained after the purchase of credit made a check credits, if error you must wait for your account to be set up, when your account is operational, click SIM Unlock and follow the qUnlock instructions (switch the phone to flash mod)

When the process is finished check if Bootloader unlock allowed is passed to yes and if in your qUnlock folder you have a backup folder with a folder of your IMEI with the backup files of your phone, it may be that your phone network no longer works, execute the Sony procedure to unlock the bootloader: https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader

Restart your phone you have the information that your bootloader is unlocked, if you still do not have a network go back to qUnlock and click on WriteBackup (switch the phone to flash mod). You will need to find your network and keep your bootloader unlocked.

I then install the newer version of the oem rom (for me, the 52.1.A.0.618) with FlashTool from Sony: https://developer.sony.com/develop/open-devices/get-started/flash-tool

Finally, install LineageOs 18.1 by following the instructions here:https://wiki.lineageos.org/devices/akari/install
[Sony Xperia XZ2 Questions & Answers] hibikase:
First, let identify which one your device is.

Try to turn on NFC, if it's doesn't want to turned on, then it's Probably Japan/Carrier specific version with Global Firmware.
[Sony Xperia XZ2 Questions & Answers] StephRiff:
I tried to activate the NFC it seems to work, I take screenshots.

But in fact in the NFC options there is "Osaifu-Keitai" which is the mobile wallet in Japan.

I am looking for the build installer, it is indeed a "Japanese" version (52.0.D.5.298) https://xpericheck.com/702SO

Thanks for help me
[Sony Xperia XZ2 Questions & Answers] hibikase:
So next step if you wanted to be unlocked yes anyway, read this thread.

https://xdaforums.com/t/bootloader-unlock-allowed-no-to-yes-is-now-finally-possible.4044091/
[Sony Xperia XZ2 Questions & Answers] StephRiff:
Thanks i will test this as soon as i can

I go back to you when i did
[Sony Xperia XZ2 Questions & Answers] StephRiff:
Hi,

I just did it, it works the bootloader unlock is go to yes but i no longer have a mobile network, the sim card is detecting and pin is required, but no network.

If you think switching to another rom will work, the next steps are:

- install an AOSP version (android 10 or 11? for installing lineageOs 18.1) by doing the sony procedure to unlock bootloader

- install TWRP

- install lineageOs

You confirm to me that this is the correct procedure?

And question I have to save the DRM keys

Thanks for your time and help
[Sony Xperia XZ2 Questions & Answers] hibikase:
Are you using AU device?

If yes, after unlocking bootloader, restore backup using that software.
[Sony Xperia XZ2 Questions & Answers] StephRiff:
I don't understand,

the Sony XZ2 I think it's a phone that comes from Japan, I don't have the history

My sim card for testing is European, and the phone will be used in Europe.
[Sony Xperia XZ2 Questions & Answers] hibikase:
When you unlocking with qunlocktools, it's backup ta partition (if I'm not wrong), find where it's saved.

Then, open qunlocktools and choose restore
[Sony Xperia XZ2 Questions & Answers] StephRiff:
Yes I have backup

So I do the sony procedure to unlock the bootloader, and after I restore the qUnlockTool backup?

I would keep the bootloader unlocked, and the network will work again?

Sorry for maybe silly questions

Thank you
[Sony Xperia XZ2 Questions & Answers] hibikase:
Yes. Try it
[Sony Xperia XZ2 Questions & Answers] StephRiff:
Hey it works!

Bootloader unlocked and network back, thank you fantastic!

Now I install an AOSP rom, android 10 or 11, knowing that for the installation of lineageOs it is advisable to go through a Sony rom under android 10?
[Sony Xperia XZ2 Questions & Answers] hibikase:
LineageOS 11 sjll thread need to be on stock rom first,

And SODP thread you need Oem binary from Sony website.
[Sony Xperia XZ2 Questions & Answers] StephRiff:
You confirm me I flash this binary with FlashTool?

Software binaries for AOSP Android 11.0 – Kernel 4.14 – Tama (latest) | Developer World

developer.sony.com
[Sony Xperia XZ2 Questions & Answers] StephRiff:
I have this on FlashTool
[Sony Xperia XZ2 Questions & Answers] hibikase:
read every thread instruction.. and ask there if you found some problem :3
[Sony Xperia XZ2 Questions & Answers] StephRiff:
Hi I have successfully installed LineageOs 18.1, thanks again

Just a problem to the fingerprint, I will put a message in the LineageOS 18.1 thread

I updated my first post, I wrote down what I did

Update :

Fingerprint works after deactivating development options
[Sony Xperia XZ2 Questions & Answers] luins88:
HI hibikase,

I have a unlock bootloader for XZ1 compact which I have successful compile and install LineageOS 19.1 but the NFC cannot work as it developed for global rom. I have so far unable to made the NFC work for Docomo phone which is using differrent chip ie cx2224. I understand that you have enable NFC for XZ2 model. Are you able to guide me as I am compiling the LineageOS rom myself. Thank you.
[OnePlus 9 Pro] illusiveairforce:
I know some kernals are and some roms are.

As yall know, the pro gets more attention over here, but just wanted to let yall know that we OP9 people matter tooooo! lol

OP9 LIVES MATTER!!!

bahaha...

But seriously anyone know which ones can be flashed. Also maybe which kernals. Im using Omega and Ive used Artyer. Maybe we can get a list. That would be awesome. Thank you. Holla!
[OnePlus 9 Pro] oscarmaldonado:
I don't know the answer bro but I loved the part of OP9 LIVES MATTER.
[OnePlus 9 Pro] illusiveairforce:
Haha I figured y'all would like that.
[OnePlus 9 Pro] Levi4cyber:
Since I updated to OB2 my battery sucks!!!

Any suggestions?
[OnePlus Nord Questions & Answers] cshegde:
I read somewhere that one plus has not provided access to Nord auxiliary (apart from the main camera), like wideangle , macro and telephoto for developers. Is this correct?, Is there a way to enable the same using build/prop or any other method.
[OnePlus Nord Questions & Answers] Yusef Kifah:
Stock OOS11 doesn't work. Works on custom ROMs tho.
[OnePlus Nord Questions & Answers] S4turno:
This is the current status for GCam on the original Nord:

OxygenOS 10

(Android 10)

or any custom ROM

(Android 10 or 11) with any package name.

✅ Front main

✅ Front wide

✅ Rear main

✅ Rear wide

✅ Rear macro

❌ Rear depth

OxygenOS 11

+ the "snapcam" package:

✅ Front main

❌ Front wide

✅ Rear main

✅ Rear wide

❌ Rear macro

❌ Rear depth

OxygenOS 11 + other packages:

✅ Front main

❌ Front wide

✅ Rear main

❌ Rear wide

❌ Rear macro

❌ Rear depth

----

tl;dr: Best support on custom ROMs or OxygenOS 10. Less cameras work on OxygenOS 11.

No idea about OxygenOS 12 (will this phone even receive the update?), but on the OnePlus 9/Pro with the ColorOS-based OxygenOS 12 only the main front and rear cameras works.
[OnePlus Nord Questions & Answers] rrumblefish:
I can confirm function range for Android 10 custom roms....

BUT: Front only 8mp, rear 12mp for custom roms....
[OnePlus Nord Questions & Answers] S4turno:
Yes, it's the binned resolution. On these sensors, each 4 pixels are used as 1, so 48MP becomes 12MP and 32MP becomes 8MP.

12MP is also the default resolution on the stock camera, btw.
[OnePlus Nord Questions & Answers] rrumblefish:
Ok. Didn't knew that. Why is there only binned resolution on custom roms?