Question Custom ROM development - Samsung Galaxy S22 Plus

Samsung release the kernel sources for the S22 series:
https://www.xda-developers.com/samsung-galaxy-s22-kernel-sources/
Can we expect decent custom ROM support?

Would be unexpected to me but yes, would be great.

So do I get this right: at this point there is no custom rom available for the S22+?

Right. TWRP doesnt exist yet to s22 models, and only few people build "limited" magisk roms. You cant modify/delete anything in /system. Just mask it with magisk

marquelito said:
Right. TWRP doesnt exist yet to s22 models, and only few people build "limited" magisk roms. You cant modify/delete anything in /system. Just mask it with magisk
Click to expand...
Click to collapse
Many thanks! I will absolutely root it with magisk, like I do for so many yrs now (not magisk, but root) Custom-roming later then, it slipped my mind that the ROMs always take a little while to develop after the release...

Related

Le Pro 3 Elite (X722) Lineage OS

Hi All!
Is there a way to get lineage 14.x on le pro 3 Elite (X722)? I've been searching online, but all information seems to be related to X720 model, and there is basically nothing (or very little) regarding the X722... I was hoping to be able to root my device, Install lineage OS, and then un-root (due to using some corporate apps which don't allow devices to be rooted).
Please let me know in case you have some info. I will greatly appreciate your help!
Thanks!
Mick
Hey
As far as i know Leeco didn't released their open source code for x722 and that's why there is no custom roms. I'm a little bit confused because they shared their open source code for many models and i don't know why they didn't do that for x722 :C
tried booting this rom
Otojestemja said:
Hey
As far as i know Leeco didn't released their open source code for x722 and that's why there is no custom roms. I'm a little bit confused because they shared their open source code for many models and i don't know why they didn't do that for x722 :C
Click to expand...
Click to collapse
I want to know did u tried this rom because the specs are similar except for nfc and slow processor on chinese version sd820 instead of sd821
Ab20000 said:
I want to know did u tried this rom because the specs are similar except for nfc and slow processor on chinese version sd820 instead of sd821
Click to expand...
Click to collapse
I didn't tried any rom and at the moment i don't have this phone. I think different processor than in leeco x720/x727 make it useless to use the 720/727 rom for this device and can only lead to brick phone.
So why does TWRP for x720/x727 work flawlessly on x722?
Also lineage OS developer for lepro3 asked if anyone can give him log files from lineage boot on x722 then he can probably make it work. It seems the issue is not CPU (i guess it is same linux kernel and drivers anyway), but somehow changed boot sequence of the x722 then x720/x727, but i don't really understand this stuff.
evlo said:
So why does TWRP for x720/x727 work flawlessly on x722?
Also lineage OS developer for lepro3 asked if anyone can give him log files from lineage boot on x722 then he can probably make it work. It seems the issue is not CPU (i guess it is same linux kernel and drivers anyway), but somehow changed boot sequence of the x722 then x720/x727, but i don't really understand this stuff.
Click to expand...
Click to collapse
thats why I dislike this company. They have placed very small batteries in their phones and removed headphone jacks and no sdcard slot. Plus they are not releasing sources of these China specific models.
evlo said:
So why does TWRP for x720/x727 work flawlessly on x722?
Also lineage OS developer for lepro3 asked if anyone can give him log files from lineage boot on x722 then he can probably make it work. It seems the issue is not CPU (i guess it is same linux kernel and drivers anyway), but somehow changed boot sequence of the x722 then x720/x727, but i don't really understand this stuff.
Click to expand...
Click to collapse
huh, if he can guide me I will provide him with the logs that he needs. It would make this phone sooooooo much better if we could put lineage os on it.
Ab20000 said:
thats why I dislike this company. They have placed very small batteries in their phones and removed headphone jacks and no sdcard slot. Plus they are not releasing sources of these China specific models.
Click to expand...
Click to collapse
I don't agree regarding the battery, but an sd slot I definitely miss... the phone itself is good, but it really sucks that we can't put lineage on it. I wish I did proper research before buying it, as I would probably go for a different one.
mick_novi said:
I don't agree regarding the battery, but an sd slot I definitely miss... the phone itself is good, but it really sucks that we can't put lineage on it. I wish I did proper research before buying it, as I would probably go for a different one.
Click to expand...
Click to collapse
yea you are right . I saw x626 with 4/64gb on gearbeast for less than 140. But I cancelled the order because there is no ROM support. This model was not released outside of China so it has no google play store originally and no MTK model was made for market outside CN like the 1s thus flashing Indian/Russian or other international ROM is not a possibility.
did anyone update a lineage ROM on the Le Pro x722?
Ab20000 said:
yea you are right . I saw x626 with 4/64gb on gearbeast for less than 140. But I cancelled the order because there is no ROM support. This model was not released outside of China so it has no google play store originally and no MTK model was made for market outside CN like the 1s thus flashing Indian/Russian or other international ROM is not a possibility.
Click to expand...
Click to collapse
could anyone try and test the lineage at this page download.lineageos.org/zl1 and try it with the x722 and check if it all works good? or do you have any similar hint?
diegosum said:
could anyone try and test the lineage at this page download.lineageos.org/zl1 and try it with the x722 and check if it all works good? or do you have any similar hint?
Click to expand...
Click to collapse
The problem is that the bootloader is locked and there is currently no root for the device... and as it seems like there will never be. one...
It would make this phone so much better if we had the chance to put lineage on it, as LeEco is going under (if not already), and there will be no future updates to the software, even though there are so many bugs... such as you can't change default browser, expand notifications, and so on....
mick_novi said:
The problem is that the bootloader is locked and there is currently no root for the device... and as it seems like there will never be. one...
It would make this phone so much better if we had the chance to put lineage on it, as LeEco is going under (if not already), and there will be no future updates to the software, even though there are so many bugs... such as you can't change default browser, expand notifications, and so on....
Click to expand...
Click to collapse
yes, and the camera not auto-focusing when changing from a far to a closer focus or the contrary and you have to be tapping on the screen every time
so in the end maybe the lineage 14 for the x720 and x727 might work fine but the point is that the x722 has a locked door about bootloader and can't open and enter to work on it?
diegosum said:
yes, and the camera not auto-focusing when changing from a far to a closer focus or the contrary and you have to be tapping on the screen every time
so in the end maybe the lineage 14 for the x720 and x727 might work fine but the point is that the x722 has a locked door about bootloader and can't open and enter to work on it?
Click to expand...
Click to collapse
Yes, exactly. This lineage for x720 might work, but currently there is no way to install it.... I really hope that sometime in the future, installing lineage will be possible, that someone figures it out (fingers crossed it happens sometime soon)
diegosum said:
could anyone try and test the lineage at this page download.lineageos.org/zl1 and try it with the x722 and check if it all works good? or do you have any similar hint?
Click to expand...
Click to collapse
If you have American single sim model then you have to unlock bootloader first then try. I heard most roms are compatible but I am not sure about NFC status.
Hi guys, can you provide any working TWRP and guide how to root my X722?
Thanks
mick_novi said:
huh, if he can guide me I will provide him with the logs that he needs. It would make this phone sooooooo much better if we could put lineage os on it.
Click to expand...
Click to collapse
https://forum.xda-developers.com/showpost.php?p=73318157&postcount=760
https://forum.xda-developers.com/showpost.php?p=73323157&postcount=762
I will also be able to help once my phone arrives. Wondering what firmware i'll get it with (from BangGood).
When I scanned xda I saw official lineage for x72x so i assumed it was supported - the title is a bit misleading. Probably wouldn't have ordered it if I read the whole thread.
That said, I'm in it for the long haul now, and might actually be a good opportunity for me to actually give something back to the xda community (besides $).
Too many wrong infos in this topic.
- Bootloader is locked ONLY in 026s stock rom and it CAN be unlocked by flashing 001d dev release.
- You DON'T flash x720 roms to x722 since you will easily get a nice brick.
- You DON'T flash stock 026s through TWRP (especially from geekbuying vendor 020s rom with twrp)
- x722 has root in tora33 custom rom - this is a fresh stuff so check that thoroughly
dakok said:
Too many wrong infos in this topic.
- Bootloader is locked ONLY in 026s stock rom and it CAN be unlocked by flashing 001d dev release.
- You DON'T flash x720 roms to x722 since you will easily get a nice brick.
- You DON'T flash stock 026s through TWRP (especially from geekbuying vendor 020s rom with twrp)
- x722 has root in tora33 custom rom - this is a fresh stuff so check that thoroughly
Click to expand...
Click to collapse
I used the tora33 no root custom in x722, but the fingerprint sensor stoped, so i put the Dev ROM again
dakok said:
- x722 has root in tora33 custom rom - this is a fresh stuff so check that thoroughly
Click to expand...
Click to collapse
Do you have a link for this ROM?

What's with the treble hype?

Is there a reason why every custom ROM seems to go treble? There's no real proven benefit when having unofficial treble. As one of the LineageOS devs said on their subreddit:
You don't get treble. You have it or you don't. All those "ported treble" are plain fake and they don't have the same capabilities of the "real" treble (the one that you have on your device out of the box or from your manufacturer as a stock ROM update).
This because treble requires appropriate changes to the proprietary files (those stored on the vendor partition) that a device without "stock/real" treble won't have
Click to expand...
Click to collapse
There's only one partition instead of both. The one for seamless updates is missing (I think).
As for treble ROMs, they are pretty much a gimmick unless devs actually make use of them. But I have seen reddit comments about people trying out generic system images via treble TWRP: https://www.reddit.com/r/Xiaomi/comments/8ac2gc/project_treble_is_amazing_and_because_of_this_my/
You can try it for yourself: https://forum.xda-developers.com/pr...-development/experimental-phh-treble-t3709659
https://www.xda-developers.com/flash-generic-system-image-project-treble-device/
What this could mean is, in 2 years if dev support drops for the Note 4, you may still be able to get the most recent version of AOSP or some other ROM as a generic system image. No need to wait around for devs to create ROMs or compile one yourself.

[9.0|PIE][SEMI-GSI]Pixel Experience 9.0 [NOTE9/S9/S9+][10.12]

This is more or less a copy-paste from the same thread over the s9 section but whatevs. I thought you guys would like this too.
Pixel Experience ROM for the NOTE 9​
What is this?
Pixel Experience is an AOSP based ROM, with Google apps included and all Pixel goodies (launcher, wallpapers, icons, fonts, bootanimation)
Our mission is to offer the maximum possible stability and security, along with essential features for the proper functioning of the device
Based on Android 9.0
Click to expand...
Click to collapse
Semi-GSI? what's that?
a semi-gsi (at least by my own definition) is a gsi built from source, with heavy patches intended for a specific device that wouldn't make the gsi necessarily as universal as a gsi should be. so in terms: don't flash this on other devices.
How does this differ from any other gsis out there/what are the features?
Well this includes a number of fixes including:
Dual speakers are working.
Ui lag is no more (at least 99.99%).
Aod is working/enabled.
Auto brightness is kinda working.
MTP is working
Other performance fixes and improvments.
What's working/not working?
First up:
Obviously Samsung's own features such as Samsung Pay, KNOX, Theme Center, Game Launcher, etc. won't be ported to LineageOS Pixel Experience. We may have our own implementation to similar functions, though.
Iris sensor does not work because AOSP upstream does not support that yet.
IMS services (VoLTE, VoWiFi, etc). Samsung has their own proprietary implementation. It is not really possible to easily port that to LineageOS PixelExperience.
Click to expand...
Click to collapse
2ndly the semi-gsi has a few quirks of it's own. Nothing major or worth noting but you should check the "anything else i should know?" part in the FAQ. hence why HWC is broken
Instructions:
Make sure TWRP has been installed and functional.
Download the latest build image and kernel linked below
Reboot to recovery
Wipe system, data and cache from the wipe menu
Select flash image in twrp, lower right side on the install menu
Flash the rom image as system (and gapps). DONT flash gapps. they are already included in the rom.
Flash the kernel image corresponding to your model as boot
Reboot and enjoy :victory:
Downloads:
Galaxy S9/S9+ Exynos semi-gsi image link: (G965/N960/F/FD/S/N): here
Kernel image link(important to use this. read more in FAQ):
S9 Exynos: here
S9+ Exynos: here
Note 9 Exynos: here
A pretty good (unofficial) mirror for (some of the) above files and more is this
Providing feedback:
You are more than welcome to provide any kind of feedback here.
(limited only to feature requests; it's called "pixel experience" for a reason and it should stay that way)
You can also msg me anytime on telegram @ Rainbow_Alex_Dash
Telegram group?
I usually like to hang around here . It isn't mine but hey.
For note 9 more specifically i hang around here too
Changelog:
12.10.2018:
Initial release Boi
Troubleshooting/FAQ:
Q:Can i use any other kernels with this gsi?
A:Nah, not really. I built this kernel specifically to work with this gsi and it includes a few major fixes (for example mtp won't work,major ui lag, no dual speakers etc if you switch to another kernel. But again. If you want to use other kernels, they should* boot. Endurance kernel even has my dual speaker patch and i confirm as working. But again expect bugs.
Q: Is there anything else i should know?
A: Ehhhhhhh, not really. I mean there are some stuff i'm really not proud of,for example to "fix" the ui lag i had to set the minimum gpu frequency to 455; this shouldn't create any issues(perhaps some battery drainage when screen is on) but afaik it doesn't impact sleep or anything else.
Q:Would this be preferred over a device specific rom?
A: Overall nah. The reason i didn't set on building device specific los16.....well actually i did and failed. But this is a pretty good placeholder until someone more skilled than me takes over and creates pie device trees.
Q: Safetynet doesn't pass?
A: Yeah, i guess that's a thing. Go into magisk and download some module called props hide or something. Don't forget to run it from terminal. It should work from there
Q: The rom isn't booting/camera doesn't work
A: Flash/make sure you have the BRI4 vendor, the linked kernel and try again.
Q: The rom is in a bootloop/google apps keep crashing
A: You did read the instructions and NOT flash any gapps riighhttt?? smh, wipe /system,/data and /cache and start over
Q: I have another bug; How can i tell it to you while slightly increasing my changes of it ever getting fixed.
A: You can tell me what's going on either here or on telegram WITH A LOGCAT attached(required);if rom isn't booting at all attach /proc/last_kmsg.
Q: I don't know what/how to logcat. Is it really necessary?
A: Logcat or gtfo
Q: How can i support you?
A: Awwww thanks; On most of my posts on the left side there's a "donate to me" paypal button; You can use that,donations are more than welcome, or if you don't have any $ to spare you can also post here about how awesome i am (this surprisingly helps very much)
Credits:
The lineageos team; device maintainers who did a wonderful job at creating device trees
The pixel experience team for creating the rom we so do enjoy
Many good people from the telegram group (linked above) that helped me create this project and spamming for etas
Big thanx to iqbal sareem best creationner ever; great help
XDA:DevDB Information
Pixel Experience 9.0 Semi-Gsi for the S9/S9+, ROM for the Samsung Galaxy Note 9
Contributors
Rainbow_Dash, phhusson,malinathani, eamo5, jesec
Source Code: https://github.com/rainbowdashh/
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
Based On: AOSP
Version Information
Status: Stable
Stable Release Date: 2018-10-12
Created 2018-10-12
Last Updated 2018-10-13
Thanks for sharing.
Wonder if this Kernal image will work with other GSI roms to get them running as smooth as this rom.
Is it possible to add S Pen support in the future? I mean, that's one big reason why people buy the Note 9 rather than the S9+
wenjie1234 said:
Is it possible to add S Pen support in the future? I mean, that's one big reason why people buy the Note 9 rather than the S9+
Click to expand...
Click to collapse
Spen does work as a pointer and to tap and even draw..
The spen button does nothing though. And obviously, the spen settings and apps are all Samsung made so they won't be working here. Highly doubt Spen would work ever on aosp like stock due to Samsung apps incompatibility
wenjie1234 said:
Is it possible to add S Pen support in the future? I mean, that's one big reason why people buy the Note 9 rather than the S9+
Click to expand...
Click to collapse
Spen went work without Sammy's framework but there are plenty of apps on play store that offered similar effects to Sammy's own. I used them on my note tablet when I ran any other rom then sammy roms.
Yes! I've been waiting for this. Thank you so much. Flashing right now. Will report back!
---------- Post added at 08:18 AM ---------- Previous post was at 07:39 AM ----------
Flashed it but no dual speaker or data. Do I flash the kernel to the system partition too? Doesn't say in FAQ?
s3xxt0y said:
Yes! I've been waiting for this. Thank you so much. Flashing right now. Will report back!
---------- Post added at 08:18 AM ---------- Previous post was at 07:39 AM ----------
Flashed it but no dual speaker or data. Do I flash the kernel to the system partition too? Doesn't say in FAQ?
Click to expand...
Click to collapse
I don't know what you mean by data but i do know the kernel is supposed to be flashed as boot
Problem with fingerprint here.
Only first touch for new finger is registered.
After that it's not working anymore.
Data as in mobile / cellular data as discussed in telegram.
For anyone who has no cellular manually add your APN info in network settings.
Fingerprint does work and adds, go to settings and add fingerprints the registration bit is a bit finnicky but it adds them and they work.
A theoretical question/crazy idea:
Will installing Magisk's xmlpak module enable us to download and use the Samsung camera and spen features in this mod? So we could get the super slow mo, etc, back? Thanks
I followed the instructions by flashing the proper kernel image without gapps, but still bootloops in the Google Screen.
sam razzy said:
I followed the instructions by flashing the proper kernel image without gapps, but still bootloops in the Google Screen.
Click to expand...
Click to collapse
Quoting tylerrw from the Note 9 Telegram group...
tylerrw:
Wipe data, cache (not system) > reboot recovery > install semi gsi image > install kernel > install no verity > install magisk
Reinstall (ARH6) vendor image too
After installing semi GSI
Click to expand...
Click to collapse
AlfaM03 said:
A theoretical question/crazy idea:
Will installing Magisk's xmlpak module enable us to download and use the Samsung camera and spen features in this mod? So we could get the super slow mo, etc, back? Thanks
Click to expand...
Click to collapse
No, there's no way to get these features to work in Aosp based roms.
Fingerprint is not working, too all other works fine thank you soooo much!
Dan_FFM said:
Fingerprint is not working, too all other works fine thank you soooo much!
Click to expand...
Click to collapse
Same Here
Do we have the gestures like the pixel 3?
wenjie1234 said:
Do we have the gestures like the pixel 3?
Click to expand...
Click to collapse
No, nur you can activate IT via ADB shell command
If I want to flash another rom after flashing this rom and kernel, can this kernel work well with other roms or should I flash another kernel instead?
My number 1 question is: does dual sim work?
wenjie1234 said:
Do we have the gestures like the pixel 3?
Click to expand...
Click to collapse
Yes - Go into gestures in settings and enable the swipe up gesture. It's under Settings>System>Gestures

Clarification on treble & ROMS

Hi!
i am new to the treble-enabled stuff, this is the first phone i own that is treble capable and i have a few questions. I think they can apply to other NOBS, so here i go hoping some nice guy will help me understand:
Background: i have the redmi 5plus (global) which i have unlocked (after painful 720h) and i have flashed Pixel Experience 8.1 rom, but i like to experiment and it seems most of interesting roms are on treble.
1. By default, "vince" is not treble enabled. (treble check app says so)
2. "vince" seems to be an "A only" device, not A/B device,
Main Question: Now, what should i do to try (safely) some GSI roms (like here XDA LOS 16 GSI)?
Sub-Question 1: I must most likely flash some other things first, i guess... like a vendor or a treble image? Where do i find it?
Sub-Question 2: I have installed TRWP recovery, is it treble enabled or should i ALSO find a treble enabled recovery?
If i got it all wrong, please i would be happy to stand corrected!
Hi.
Well, yeah, you need to install another vendor, as far as I know, OrangeFox is the treble enabled recovery.
Someone already explained this in this post.
Have fun. :fingers-crossed:
Xyzko said:
Hi.
Well, yeah, you need to install another vendor, as far as I know, OrangeFox is the treble enabled recovery.
Someone already explained this in this post.
Have fun. :fingers-crossed:
Click to expand...
Click to collapse
Thank you! Sometimes hard to find the right threads...
Installed orangefox, cool recovery!
One last question... how does kernel works with treble? Do i need treble enabled kernels if i want to change the kernel? Are they provided with the treble-enabled rom already or i get to keep the existing kernel? Is the kernel on a dedicated partition separated from the GSI and the Vendor? (i am starting to understand this, maybe)?
gardiol said:
Thank you! Sometimes hard to find the right threads...
Installed orangefox, cool recovery!
One last question... how does kernel works with treble? Do i need treble enabled kernels if i want to change the kernel? Are they provided with the treble-enabled rom already or i get to keep the existing kernel? Is the kernel on a dedicated partition separated from the GSI and the Vendor? (i am starting to understand this, maybe)?
Click to expand...
Click to collapse
Months ago it started to appear some projects about android 9.0 before of Google revealed it as android Pie, then at this time devices with treble support also can support GSIs from these projects according two specific conditions: the processor (first qualcomm, then exynos, kirin and mtk were supported) and kind of partition system A-A/B.
At this first times was needed to flash a vendor treble supported rom to add treble support and flash over it a GSI 9.0. without the need to flash other kernel.
In this forum there are a lot of GSIs that eventually could work in our device but it could be many bugs https://forum.xda-developers.com/project-treble/trebleenabled-device-development.
Now is not needed to complicate the job flashing a vendor, then a GSI and maybe a custom treblized kernel so started to appear first developments of roms running 9.0 and these roms will work as exactly did it any rom 7.1 or 8.1, in the future they could be include treble support.
This is the short story.

Can I install a GSI rom through TWRP on the LG G8X ThinQ without damaging it in any way?

What's up guys? I have a question, currently my device has Lineage 19.1 ROM installed (Unofficial), I'm not having any problems or anything like that, quite the contrary, it's super stable, but I'd like to test some GSI ROMs on my device, since there aren't many build options for it specifically (LGE G850UM). So I wanted to know if I can leave Lineage 19.1 and install a GSI through TWRP without having to go back to Stock ROM... how to do this smoothly? Also wanted an indication of a GSI on Android 12 or 13 that runs stably on it. Thanks for reading this far!
ThePhanton said:
What's up guys? I have a question, currently my device has Lineage 19.1 ROM installed (Unofficial), I'm not having any problems or anything like that, quite the contrary, it's super stable, but I'd like to test some GSI ROMs on my device, since there aren't many build options for it specifically (LGE G850UM). So I wanted to know if I can leave Lineage 19.1 and install a GSI through TWRP without having to go back to Stock ROM... how to do this smoothly? Also wanted an indication of a GSI on Android 12 or 13 that runs stably on it. Thanks for reading this far!
Click to expand...
Click to collapse
Hey! If you have enough knowledge about GSIs (image type required for your device, disable Verity etc. ), then you can proceed to flash any GSI(present version or above). As I don't have the device model that you're having, i can't say much about it. CLICK HERE for more information, maybe you'll find something about your device.
Note: it's best to have stock firmware downloaded in case something goes wrong
Click to expand...
Click to collapse

Categories

Resources