Question Help porting LineageOS (or any rom) for ROG Phone 5 - ASUS ROG Phone 5 / 5s

Hi,
I wanted to port LineageOS for my ROG Phone 5 but I don't know how to code C++.
We already have vendor and kernel from official website but we don't have a device tree (we have but for TWRP not Android).
So I was wondering if someone would help me porting a rom for this phone.
Thanks by advance

@Alex2008Ex
I've changed the prefix of your thread from "Development" to "Question" as the thread didn't qualify for the first one. Please review the sticked guidance prior to your next posting and don't change the prefix back. Thanks for your cooperation.
Regards
Oswald Boelcke
Senior Moderator

As an alternative/interim solution, if your goal with Lineage is to get get Google off from your device, the stock ROG 5 rom can be signature spoofed to run MicroG and optimized/debloated for an ultra lean setup for max performance & battery life. The stock rom also has a number of device specific features that you'd probably want to keep..

Andrologic said:
the stock ROG 5 rom can be signature spoofed to run MicroG and optimized/debloated for an ultra lean setup for max performance & battery life.
Click to expand...
Click to collapse
I don't really understand that (I'm french)
And I want to do that just for fun because I just want to modify it for fun.

Related

difference between Stock ROM & Custom ROM??

Hello all,
I want to know if somebody can explain me what the differences are in the following two Android systems...
- stock ROM what you have for example on Xiaomi Mi A1 or the Google Pixel phones. Delivered with only "google applications"
- and custom ROM as LineageOS installed on many devices. what in my opinion only does not have Gapps installed.
People are telling me that the "custom ROMs" are more updated? But Google is delivering in my opinion faster security patches and other patches out. And mutch faster new Android updates than an custom ROM developer?
Since the developer needs to re-build the software again. And need to test if everything works fine.
djbosanac said:
Hello all, I want to know if somebody can explain me what the differences are in the following two Android systems...
Click to expand...
Click to collapse
This is a great question!
The following threads may be helpful for what you are looking for.
https://forum.xda-developers.com/showthread.php?t=3042714
https://forum.xda-developers.com/showthread.php?t=1766495
https://forum.xda-developers.com/showthread.php?t=1577502
If you need any additional clarification, your best bet is to post your question within one of the following Q&A threads.
https://forum.xda-developers.com/showthread.php?t=2257421
https://forum.xda-developers.com/showthread.php?t=2259645
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.

[CLOSED] Ignore

Old Guide removed
Does it works on any firmware with any boot.img ?
any problems in daily use?
Dear community,
I'm planning to get an Xperia 5 and get root/TWRP on it running. So my question is:
- are there any limitations regarding the trim area if I unlock the bootloader as proposed ?
- is the guide above functional for actual phones ?
Greets,
RV.
Hi, does anybody know if this guide will work on a Windows 7 machine?
I do not have access to a powerful Windows 10 computer
Can we do this with current system (latest) version of xperia 5? Please i need answer
I cannot find vbmeta.img in the link,just some Mars folders, can I just Google search "vbmeta.img" then download it?
Sorry for the lack of updates. Totally missed this Thread here... Enjoy the latest One <3
THREAD LOCKED
First post removed by the OP.
Regards,
shadowstep
Forum Moderator

Pixel 3 Face Unlock (Android 10)

Hi Community,
i have a little question and i hope somebody can help me with a simple answer.
For 3 month i had a Oneplus 6t, with root and the Custom Rom PixelExperience MOD Edit:- Links Removed A great rom i think.
I mentiont that in that rom there is the option for face unlock and that the rom based on a Pixel 4 Image. Correct me if am i wrong.
So the question is obviously, why is the face unlock feauturenot ported for the Pixel 3 Models (Android 10)?
I found a Magisk Modul for Android 9, but after that version it dosn´t work.
So what is the different on the OP6t?
I thought i could simple modify the build.prob but of course that dosn´t work. :silly:
Thank u all and stay healthy. :highfive:
Bonusquestion: Can i delete a Thread if i am the OP?
A thread or post cannot be deleted by the OP/Post owner but can be done with assistance from Moderators.
Thanks
SacredDeviL666.
Thanks for your help. :good: :fingers-crossed:

[ROM][UNOFFICIAL] LineageOS 17.1 for OP 7t (hotdogb) [NOT WORKING ATM]

LineageOS is a free, community built, aftermarket firmware distribution of android, which is designed to increase performance and reliability over stock android for your device.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit LineageOS Wiki.
Disclaimer: This is the first time I post a ROM, and I'm not able to even test it myself at the moment. It may not even boot, kill your cat or make you lose your stimulus check. I'm putting it out here because there is no lineage OS for 7t (but there is for 7t pro). This is based on the device tree of the 7t pro, I know the pro ROM boots fine on regular 7t, but due to motorized camera setup on the pro, the camera is completely broken on regular. This is the (only) thing I was trying to solve.
ROM: <link removed as not working (yet)>
lineage recovery: https://drive.google.com/uc?export=download&id=1O63wABMA-el8iiYOPkHhhc_zFvUiuJfV
device sources: https://github.com/joske/android_device_oneplus_hotdogb
kernel sources: https://github.com/LineageOS/android_kernel_oneplus_sm8150
Credits:
LineageOS team
StatiXOS (for reference to their hotdogb device tree)
Update:
What works:
ROM boots
wifi works
Lineage Camera works!
audio/video playback
fingerprint
What doesn't work:
GSM/4G does not work, device crashes hard when you try to use the dialer
GCam crashes
So clearly this is pre-alpha and you should not flash it ;-). Will try to fix.
reserved
Has anyone tried this yet?
KashMiester said:
Has anyone tried this yet?
Click to expand...
Click to collapse
Tonight as work blocks downloads
Wow gotta try this out tonight
don't flash, it's not working. I've updated the OP. I'm rebuilding with muppets vendor blobs. Will report back (probably tomorrow as build takes hours and it's already late).
josdehaes said:
don't flash, it's not working. I've updated the OP. I'm rebuilding with muppets vendor blobs. Will report back (probably tomorrow as build takes hours and it's already late).
Click to expand...
Click to collapse
Thanks for the update
It booted but then powers off during setup (right past WIFI password). Seemed fast though
good
Sorry guys, I'm struggling with this. I guess I created this thread (way) too early.
Or it doesn't boot, or it boots, but no GSM and crashes quickly. I continue to learn, hopefully in another 100 attempts I'll have something usable . Are there any people here wanting to help out by testing (most probably broken ) builds? It's difficult for me to keep flashing my only phone (I need it to be working).
I'm now trying with 18.1. Lineage OS does not have a kernel or blobs tree for android 11 for sm8150, but yaap does. Maybe it's a stupid idea, but trying anyway
josdehaes said:
Sorry guys, I'm struggling with this. I guess I created this thread (way) too early.
Or it doesn't boot, or it boots, but no GSM and crashes quickly. I continue to learn, hopefully in another 100 attempts I'll have something usable . Are there any people here wanting to help out by testing (most probably broken ) builds? It's difficult for me to keep flashing my only phone (I need it to be working).
I'm now trying with 18.1. Lineage OS does not have a kernel or blobs tree for android 11 for sm8150, but yaap does. Maybe it's a stupid idea, but trying anyway
Click to expand...
Click to collapse
THREAD CLOSED as placeholders (i.e. threads without a download possibility) are not accepted!
Please advise the moderators team (best via the report function) to re-open your thread when ready to provide a download link.
Please refer to this section of the "Device Forum Rules (Read before posting)":
ROMs, Kernels, Recoveries, & Other Development Section
This section is fexclusively reserved for ROMS, Kernels, Recoveries etc. if they are own development
Try to keep the device forum CLEAN! No offtopic posting and no questions posted in this section/sub-forum.
Use the report button in the lower left corner of an offending post or PM/conversation to let us mods know we need to take action. Don't take matters into your own hands!!!
Sources need to be posted for all kernels!!! Also for all ROMS where license demands it. Refer to post no. 2 above.
You need to use TAGS like [ROM] or [KERNEL] and so on as used in all dev forums throughout XDA (see post no. 4 below).
Any disputes between developers should be handled by PM; try to solve the issue amicably via PM. No public posting in a any thread regarding these matters.
Rom issues should be discussed within their respective threads.
Thread titles should ALWAYS coincide with ROMS ALREADY AVAILABLE FOR DOWNLOAD!!! No advance notification of incoming ROM through thread title. A changelog for the yet unreleased Rom can be included in the OP or in another post CLEARLY MARKED as EXPECTED CHANGELOG.
All threads posted in this section/sub-forum and that are NOT about own ROMS, Kernels, Recoveries etc., or R&D in general will be closed or deleted. Posters that will choose to disregard the previous guidelines will be infracted.
Click to expand...
Click to collapse
I wish you success in getting your ROM running without issues soon. Happy developing.
Stay safe and stay healthy!
Regards
Oswald Boelcke
Forum Moderator

Building Android 11 from source, need help with some questions.

I have been into installing custom ROMs and rooting Android for many years now, used many mid range Android devices, never tried to build one from source (did not have good enough hardware or broadband), now I have got both and want to try building ROM from source and got many questions, any help would be appreciated.
Important questions:​(Need these answers before I start downloading Repos)
Is it possible to create any Android version Rom for any device? like I used to have Moto G2, if I can get it's source code, can I build Android 11 Rom for it? or am I missing something here?
I own Realme 5 Pro now, if I build Android 11 and flash it, is there any chance it could hard brick my device?
If I'd built Android 11 for R5 Pro, how would I know it's for my device? can I flash that firmware on another device? or vice versa? I know that flashing other device firmware can hard brick your device.
What are the chances of getting bugs after flashing? like ril not working, or maybe settings wont open, camera wont work etc. and how can I fix them for my specific device?
How can I ensure that the specific build only works for R5 Pro and not other device? like do I have to sign it with specific code or anything like that? any idea?
Not so important questions:​(You can answer it if u know)
How much download is necessary to build from source? If u have built, is there any specific download size or different for specific devices?
Also if I want to build TWRP recovery for R5 Pro from scratch how would I go about doing that? and what about giving it a different theme style?
How long will it take for my specs pc to build? any estimated idea? (specs: 16gb ddr4 3600mhz ram, Ryzen R5 3700x, Nvidia 2060 Super, and lots of space)
Can I build this Rom to be flashed via recovery or is it has to be fastboot specific?
Can I build Android Kitkat or something old for newer devices?
So these are the initial questions that comes to my mind, I am posting this thread on some diff forums too, if u have any experience regarding this please do share, any help is appreciated, Thank you.
Click to expand...
Click to collapse
Oswald Boelcke said:
@Kazinadim87
Hello and good morning,
above you indicated your intention to post this thread on other fora, too. If you mean other fora outside of XDA that's very fine. If you intend to post duplicates of this thread somewhere else on XDA, please prior to posting review the XDA Forum Rules with special emphasis on rule no. 5. Thanks for your cooperation.
Regards
Oswald Boelcke
Senior Moderator
Click to expand...
Click to collapse
Oh no I did not post duplicate of this post anywhere on XDA, I was talking about other forums like Reddit, I posted it there too.

Categories

Resources