Can I install a custom kernel for A50 onto my M31? And if I can, what are the suggestions? - Samsung Galaxy M31 Questions & Answers

Technically, both share the same processor and RAM, so it'll work, right? Or I was wrong in that part?

SakuranomiyaSyafeeq said:
Technically, both share the same processor and RAM, so it'll work, right? Or I was wrong in that part?
Click to expand...
Click to collapse
IDK ... Maybe. But I would not recommend to flash a kernel made for another device, as it is a basic post of the firmware and should fit optimally to the device.
Check this kernel:
PrishKernel [R3][ONEUI3][GSI][M31][STABLE]
Hi folks, Here I made custom kernel for Universal 9611 PrishKernel The custom kernel has been named PrishKernel which is made to support my Custom ONEUI PORT Roms and vendors ( PrishOS / PrishVendor ) and other android R based ROMs for gaming...
forum.xda-developers.com

Related

What is treble and why is all the fuss about it?

Recently I saw that there appeared a new kind of roms which need a special recovery and, as I could find, have something to do with easier update of Android version. Also I have seen a project: https://forum.xda-developers.com/pr...-development/experimental-phh-treble-t3709659 which claims to have one rom file that can be flashed on a impressing number of roms. I saw the first comment by author which has a method to know if a device has support for treble and it is refered to run "treble check" app from play store on official rom. The thing is that I experimented and installed treble rom (lineage OS) from redmi 4x thread and did the check if the device is supported (the screenshot is attached below) and saw that on this rom it is supported, in contrary to MIUI. The question is about this controversion: is this device supported or not? Can I flash these ROMs from the thread? Are treble ROMs really like a universal flashable file for multiple devices?
If you flash GSI (Generic System Image) it will work on our device. Yes Treble roms are universally flashable if GSI is used, with some minimal modification for device specific. So porting roms will easier, and less time consuming.
Anyone can correct me, if i 'm wrong.
drthrax07 said:
If you flash GSI (Generic System Image) it will work on our device. Yes Treble roms are universally flashable if GSI is used, with some minimal modification for device specific. So porting roms will easier, and less time consuming.
Anyone can correct me, if i 'm wrong.
Click to expand...
Click to collapse
So if I flash the rim from this link specifically on redmi 4x, the device will have no harm at all?
ViorelRj said:
So if I flash the rim from this link specifically on redmi 4x, the device will have no harm at all?
Click to expand...
Click to collapse
Yes, but follow the instruction there. Our device is A-only device. Use the special recovery here for flashing. Or flash the lineageos 15.1 treble edition first just find in on our device forum.
drthrax07 said:
Yes, but follow the instruction there. Our device is A-only device. Use the special recovery here for flashing. Or flash the lineageos 15.1 treble edition first just find in on our device forum.
Click to expand...
Click to collapse
I have seen that seamless updates require A and B partition. I want to know what I am loosing with this device by having only the A partition (what really is seamless update and how does it work)? P.S. sorry for being annoying.
ViorelRj said:
I have seen that seamless updates require A and B partition. I want to know what I am loosing with this device by having only the A partition (what really is seamless update and how does it work)? P.S. sorry for being annoying.
Click to expand...
Click to collapse
As far as i know the seamlees update works this way:
In slot A you have installed any OS Example Android 8.1
In slot B there is a backup of the OS Om slot A
This mean you can install the ota of Android P (example) in one of the slots while you are on Facebook for example

[DISCUSSION] Has anyone been trying to develop a custom ROM for Redmi 6A?

Xiaomi has recently said that Redmi 6A will neither get Android 9.0 Pie update nor MIUI 11 update. So it's only a matter of time before they stop providing updates at all, including security or bugfix updates.
So, has anyone been trying to develop a custom ROM for this device? To inform everyone concerned, it's kernel sources have already been released. Also, I'm no developer, but due to the fact that this device supports Project Treble, it shouldn't be too hard to build a ROM for it. Or at least someone could try and build an arm64 version of the ROM, if possible (This device has a 32bit ROM running on a 64bit processor).
So I politely ask the developers present here on this forum to try and make a custom ROM for Xiaomi Redmi 6A. We'll all be thankful.
i don't know how many mediatek devices out there have custom roms, but i think it's not as easy as qualcomm devices to have custom roms.
i've tried many GSI images on my 6A and none booted, despite this device being compatible with Treble. Also i've read in some sites that it will indeed receive the miui 11 update, we just don't know when.
I really hope someone make an actual rom for our device, because this Treble and GSI thing is just an unneccessary ummount of hassle and the result seems to be rather buggy judging from all fixes and patches you have to flash after flashing a GSI.
Anyone can port Pie 9.0 rom from Oukitel C15 Pro Helio A22 chipset?
Danick8989 said:
I really hope someone make an actual rom for our device, because this Treble and GSI thing is just an unneccessary ummount of hassle and the result seems to be rather buggy judging from all fixes and patches you have to flash after flashing a GSI.
Click to expand...
Click to collapse
As far as I know, this device has a 64 bit processor, yet the ROM is 32 bit. Any idea why is it like this?
LeHalua said:
As far as I know, this device has a 64 bit processor, yet the ROM is 32 bit. Any idea why is it like this?
Click to expand...
Click to collapse
it's an ARMv7 processor, if you want to test GSI roms you need an ARM/A only GSI image. I've finally been able to install a custom GSI image that works properly, albeit with minor bugs. Still a proper custom ROM is unbeatable in my opinion.
Danick8989 said:
it's an ARMv7 processor, if you want to test GSI roms you need an ARM/A only GSI image.
Click to expand...
Click to collapse
Correct me if I'm wrong, but as far as I know, this device has Helio A22 chipset, with Cortex A53 processor, which is ARMv8 64bit.
https://www.mediatek.com/products/smartphones/mediatek-helio-a22
https://en.m.wikipedia.org/wiki/ARM_Cortex-A53
Only the ROM (including the kernel and everything) seems to be 32bit.
Flashing an arm64 GSI wont work, because other partitions like vendor will still be 32 bit, and thus make the GSI incompatible. We'll probably need a real custom ROM with all its components compiled as 64 bit.
LeHalua said:
Correct me if I'm wrong, but as far as I know, this device has Helio A22 chipset, with Cortex A53 processor, which is ARMv8 64bit.
https://www.mediatek.com/products/smartphones/mediatek-helio-a22
https://en.m.wikipedia.org/wiki/ARM_Cortex-A53
Only the ROM (including the kernel and everything) seems to be 32bit.
Flashing an arm64 GSI wont work, because other partitions like vendor will still be 32 bit, and thus make the GSI incompatible. We'll probably need a real custom ROM with all its components compiled as 64 bit.
Click to expand...
Click to collapse
If the cpu has 64bit support then i don't know why they didn't use it. But so far we only have ARM GSI as an option for custom rom.
translate: this is a tutorial made in Indonesia that makes the vendor redmi 6a / 6 certus = cactus / cereus to boot the arm64 rom, the rom uses the nusantaraos rom https://nusantararom.org/
edit: i put wrong link, now that real video

Samsung Galaxy J7 Prime (SM-G610M/DS) Android 8 or Newer 64-bit?

Hey there!
Do u guys have an Android 8 or Newer 64-bit for SM-G610M/DS? Can't find it anywhere. Is LOSQ compatible?
I am using J7 Prime SM-G610F. You can go for Treble ROM. Right now I flash Treble and flash Arrow ARM64 a only. Everything works smoothly like a charm.
Cheers,
Treble or prometheusOneUI
Puddin' said:
Treble or prometheusOneUI
Click to expand...
Click to collapse
I am using Treble Arrow 9 ARM64 a only ROM. OneUI based ROMs have some issue about contrast. 80-90% Gray turns white. That makes everything too bright.
siamese007 said:
I am using J7 Prime SM-G610F. You can go for Treble ROM. Right now I flash Treble and flash Arrow ARM64 a only. Everything works smoothly like a charm.
Cheers,
Click to expand...
Click to collapse
where can i find arrow rom? and what advantages does it have? thank you
kuzo said:
where can i find arrow rom? and what advantages does it have? thank you
Click to expand...
Click to collapse
I am writing an article to explain how to download and install Treble project on J7 Prime (especially SM-G610F).
For quick answer, you can check all the links for Treble and many useful stuff here.
Advantages of Treble ROM:
1. I can have many choices of ARM64 Treble ROM with quicker and contunuing updates. I could not find good ARM64 Dedicated ROM for J7 Prime for daily uses yet.
2. I experienced contrast issues with OneUI based ROMs. 80-90% Grayscale turns white. Most Dedicated ROMs for J7 Prime are OneUI based ROMs. Non-OneUI ROMs are discontinued.
3. With Kraken ARM64 Kernal for Treble, Everything is very slick. But when I flashed Kraken ARM for Dedicated ROM, everything is very slow.
4. If you want to try Android 10 (Quack) for now, you need to flash Treble. However Android Q is not stable yet.
5. For A/B Treble phones, Android updates are seamless and the suppliers give support for firmwares of Treble project. (J7 Prime is A only)
Disadvantage of Treble ROM:
1. Easy to get your phone bricked and bootlooped at logo. You can switch back to Dedicated ROM if you want.
2. LED light on top of the phone when screen off can't be activated while charging. I still cannot find patch to fix this yet.
3. Open Camera app in Treble ROMs does not have camera functions such as panorama, etc. I still can't flash any Treble OneUI ROM and get this to work, so I have not idea what happen in OneUI's camera app.
4. Flash GAPPS need to resize /system partition for J7 Prime phone.
5. Flash Magisk needs a bit more work to get some functions to work.
6. Treble project for J7 Prime and related phones has been discontinued by the original author. So there will be no update soon or never. This makes the future Treble ROMs may not be flashed and works well.
7. Treble ROMs are much bigger than Dedicated ROMs because Treble ROMs are supposed to install on any phones that support Treble project. But Dedicated ROMs are specific to one or series of the same model.
8. Treble ROMs don't come with firmwares for the phones. I need to find and flash the phone firmwares by myself. Sometimes wrong firmwares cause malfunctions in phones. I am nothing developer so I have no knowledge about this stuff. :laugh::laugh::laugh:
9. More chances of getting the phone bricked. In contrast to Dedicated ROMs that brilliant developer team supports.
For me, I prefer ARM64 performace so I plesantly take the risks. Right now my J7 Prime is apparently slick and zero random reboot.
Cheers, :highfive::highfive::highfive:

[Magisk Module] Enable RAW capture for GCam

This Module enables RAW Capture on the Galaxy A30, and changes the camera Hardware Level from Limited to Full.
RAW Capture is required for most GCams to work.
For information about GCam, go to this thread. It's for the A20, but contains useful information.
Click to expand...
Click to collapse
How does it work?
It works by replacing the library located at /vendor/lib/libexynoscamera3.so with an edited one. For reverse engineering enthusiasts, here is the patch applied to the library.
Prerequisites
- Magisk v20.4 or newer
- Android 11 vendor and kernel (Not compatible with versions of the Eureka Kernel older than 9.0)
Installation
Install as a normal Magisk Module, through Magisk Manager or TWRP.
Troubleshooting
Camera doesn't work, shows Black Screen
Make sure you are using a compatible Android 11 kernel and vendor.
If this issue is happening after updating your firmware, please let me know.
Telegram
GitHub
Download
Does this work with aosp based roms? Or is it just one UI?
Borkode said:
Does this work with aosp based roms? Or is it just one UI?
Click to expand...
Click to collapse
Yes, it works with AOSP.
What kernel you recommend to use in gsi ROM with this module?
SirKosichka said:
What kernel you recommend to use in gsi ROM with this module?
Click to expand...
Click to collapse
I don't know much about kernels for the A30. In my A20 with an Android 12 GSI i use stock kernel with some small modifications (dmverity disabled, MTP fixed for AOSP, etc.)
TBM 13 said:
I don't know much about kernels for the A30. In my A20 with an Android 12 GSI i use stock kernel with some small modifications (dmverity disabled, MTP fixed for AOSP, etc.)
Click to expand...
Click to collapse
bro, you can enable 60fps FHD record for our devices?
Wow, that seems like an promising approach ! Keep up the good work.
Any chance the patcher can be extended to Galaxy S10/20/21 ? or is that a completely different topic ?
flunkyball said:
Wow, that seems like an promising approach ! Keep up the good work.
Any chance the patcher can be extended to Galaxy S10/20/21 ? or is that a completely different topic ?
Click to expand...
Click to collapse
Probably, I would have to check their libexynoscamera3.so library.
flunkyball said:
Wow, that seems like an promising approach ! Keep up the good work.
Any chance the patcher can be extended to Galaxy S10/20/21 ? or is that a completely different topic ?
Click to expand...
Click to collapse
I just checked the library of the Galaxy S10 and yes, it should be possible. However, doesn't it already support RAW?
TBM 13 said:
However, doesn't it already support RAW?
Click to expand...
Click to collapse
On the stock rom it probably does.
For the S10/20 on LOS only standard and wide lens are accessable whereas the telephoto is not.
On the S10 for LOS 17.1 I therefore had a patched "libexynoscamera3.so" as well granting access to telephoto lens via gcam.
However for LOS 18.1/19.0 or even for my new phone the S20 I was not able to find any patched libs anymore since nobody took the effort of reverse engineering it as you did.
Would you be willing to make the necessary adaption for your patcher to successfully enable raw on all lenses for LOS 18.1/19 on the S10/20 ?
flunkyball said:
On the stock rom it probably does.
For the S10/20 on LOS only standard and wide lens are accessable whereas the telephoto is not.
On the S10 for LOS 17.1 I therefore had a patched "libexynoscamera3.so" as well granting access to telephoto lens via gcam.
However for LOS 18.1/19.0 or even for my new phone the S20 I was not able to find any patched libs anymore since nobody took the effort of reverse engineering it as you did.
Would you be willing to make the necessary adaption for your patcher to successfully enable raw on all lenses for LOS 18.1/19 on the S10/20 ?
Click to expand...
Click to collapse
Sure. Do you have Telegram?
Bro, you can make this mod for Android 10 vendor?
SirKosichka said:
Bro, you can make this mod for Android 10 vendor?
Click to expand...
Click to collapse
Technically, yes. However, in the A20 enabling RAW in the Android 10 library makes the camera freeze after some seconds in apps like GCam.
If you are willing to test, i can do it, maybe the A30 doesn't have the same issue.
Bro will this mod work for Galaxy A30 (Android 11) ??
Edit: I'm sorry....for a moment I thought this mod for A20.....Sorry again.
Hridoyz said:
this mod work for Galaxy A30 (Android 11) ??
Click to expand...
Click to collapse
Yes, only on gsi or Oneui3.1 ROMs.You need ROM with 11 vendor
Version 2.1 of the module released, the biggest change is that there is no longer a need to change the Black Level in GCam settings, so GCams (or other camera apps) that don't have this option should now take photos without pink tint.
Full changes can be found here.
not work in A305f
Ali1412 said:
not work in A305f
Click to expand...
Click to collapse
That's not really helpful. What is happening to make you say it doesn't work, black screen? What ROM are you using? What kernel? What vendor, the one that comes with the ROM, stock Android 11 vendor or a custom one? What camera apps did you try?
TBM 13 said:
That's not really helpful. What is happening to make you say it doesn't work, black screen? What ROM are you using? What kernel? What vendor, the one that comes with the ROM, stock Android 11 vendor or a custom one? What camera apps did you try?
Click to expand...
Click to collapse
use stock rom and stock vendor and stock kernel android11 (ONE UI 3.1) and have black screen
Ali1412 said:
use stock rom and stock vendor and stock kernel android11 (ONE UI 3.1) and have black screen
Click to expand...
Click to collapse
on Snake OS 5 gcam support included

How to install a custom external Wi-Fi driver?

I have an S20 FE 5G (SM-G781B/DS), and I have an Archer T4U Plus
Recently, i've been trying to install the drivers for this device on my phone and I failed miserably, I managed to install the driver on my pc in a debian distribution and it worked fine
this is the driver I want to install
GitHub - morrownr/88x2bu-20210702: Linux Driver for USB WiFi Adapters that are based on the RTL8812BU and RTL8822BU Chipsets - v5.13.1
Linux Driver for USB WiFi Adapters that are based on the RTL8812BU and RTL8822BU Chipsets - v5.13.1 - GitHub - morrownr/88x2bu-20210702: Linux Driver for USB WiFi Adapters that are based on the RTL...
github.com
I am by no means an expert at kernels or anything I have no idea what to do, but I'll do whatever it takes to get this working
therefore, any help, resources to get this working is appreciated
it lists adaptors that it works with, we have an SoC setup. AFAIK we have a Qualcomm designed modem chip called an X55 (I think).
nothing on that page leads me to think we have a compatible device. you would need to be building a kernel at a guess and even then there's probably more to it than that.
3mel said:
it lists adaptors that it works with, we have an SoC setup. AFAIK we have a Qualcomm designed modem chip called an X55 (I think).
nothing on that page leads me to think we have a compatible device. you would need to be building a kernel at a guess and even then there's probably more to it than that.
Click to expand...
Click to collapse
could you provide me resources on how to build a kernel?
Thanks
Also, I forgot to mention
I already have this fully installed if it's gonna help in any way
[KERNEL] Nethunter for Galaxy S20 FE 5G r8q (Snapdragon)
WirusMOD Nethunter Kernel for Samsung Galaxy S20 FE 5G (Snapdragon) - Stock Android 10 & 11 & 12 & 13 I am not responsible for bricked devices. If you going to flash it, you accepted it. Of course your warranty is void. Nethunter Features...
forum.xda-developers.com
EDllT said:
could you provide me resources on how to build a kernel?
Thanks
Click to expand...
Click to collapse
sorry no, I'm not a kernel builder. this is a question that's best taken to the more general areas of xda... i.e. how to get driver support for this device onto a phone. maybe it's something that could be done with a module ??
pretty sure you won't get too much help here.

Categories

Resources