[EXPERIMENTAL][CAF][MRA58K] Homemade Android 6.0 Marshmallow build - ONE Original Android Development

Hello everybody, I'm glad to share these days' work of bringing Marshmallow to the OnePlus One.
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now 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.
*/
This ROM is based on CAF release LA.BF.1.1.3-00110-8x74.0, with some little modification to some components to make it build. The kernel is based on CM12.1. You can check the kernel source on my GitHub. Links will be posted later.
Nearly all basic feature should be working: 4G data, 4G->3G fallback on calls, SMS, camera/camcorder, BT, WiFi, MTP, 4K recording, HW decoding etc.
kexec hardboot is supported.
Known issues:
1. Stock camera doesn't work well. Here is a list of comparison:
Feature - Working on Stock camera - OppoCamera port - CameraNextMod?
Switching front/back cam - No - Yes - Yes
Camcorder <=1080p - No - Yes - Yes
4K Recording - No - No - Yes
Click to expand...
Click to collapse
(maybe I should get a monospace font in Firefox)
2. Battery drains... a little faster? (Just a little)
3. The ROM comes with ancient Launcher2. Launcher3 is not included. I will post this as an attachment. Launcher3 has been added since 20151018
4. Picture in apps are sometimes automatically zoomed out (and distorted) and can not be zoomed in. Is this a common problem among AOSP-based Marshmallow ROMs? I tried AOSP and CAF sources, and they both have the same issue. Need to change DPI via build.prop
5. Security related: SELinux is disabledpermissive in 20151018. HW Crypto is not working. Software-based credentials storage.
6. No gestures (DT2W etc) Workaround available in Q&A
7. Kernel panics/reboots on switching adb on & off.
8. WiFi AP still runs on 2.4G even when 5G is selected.
If you find more issues, feel free to post here. However, I may not be able to solve them since schoolwork is so heavy... And this ROM may not be updated regularly.
Video Tutorials by @udimars30:
https://www.youtube.com/watch?v=XxjnTae2nCM - How to install ROM and Gapps
https://www.youtube.com/watch?v=kWZcxVs992c - How to get root
https://www.youtube.com/watch?v=vZ7qW4j3Kso - How to enable softkeys, Now on Tap
Thanks!
Q&A:
1. Kernel Compatibility
The kernel of this ROM is based on CM12.1, but not exactly the same. You can not use kernels built for CM12.1 with this ROM. Marshmallow requires new features like updated SELinux, uid_cputime, etc, but CM12.1 source does not contain these features. You can take a look at commits and it will be clear.
Click to expand...
Click to collapse
2. Recovery Compatibility
I am using TWRP 2.8.7.0 with MultiROM support (TWRP_multirom_bacon_20150803-00.img from MultiROM thread). If you can not get the ROM installed properly, please try updating your recovery.
Click to expand...
Click to collapse
3. Rooting
Since this is a experimental build, I have turned off SELinux completely. SELinux is permissive. Just flash SuperSU 2.50 zip in the recovery and it will be fine.
Click to expand...
Click to collapse
4. F2FS Support
The kernel has F2FS driver builtin and corresponding entries in fstab file (as CM does). Vold has F2FS files as well, so you can give it a try. But I can not guarantee that it will work flawlessly.
EDIT: Some people tested and reported it not working. Make a backup before you try.
Click to expand...
Click to collapse
5. GApps
I'm using DeltaGapps with SetupWizard removed (yes it is the one that keeps force closing. you can disable that via adb as well). I think the lack of permissions(appops_whitelist.xml I guess) caused this failure. After allowing every permission required by Google apps and adding the account manually, Sync and Store works as expected. Now on Tap seems broken. Maps is working, and gets a lock in secs..
There are some other GApps package links in the first few pages. Some people say Now on Tap works with them, you can have a try.
Click to expand...
Click to collapse
6. Disabling HW Keys and Enabling Softkeys - The Easy Way
Code:
echo qemu.hw.mainkeys=0 >> /system/build.prop
reboot # enables soft keys
echo 0 > /proc/touchpanel/keypad_enable # disables hw keys, need to do this on every boot
Click to expand...
Click to collapse
7. Where Is The App Switcher?
If you are comfortable with softkeys, goto 6.
If you are not, goto 3 and take a look at http://forum.xda-developers.com/showpost.php?p=63313126&postcount=115double tap the home key.
Click to expand...
Click to collapse
8. LCD Density
Code:
wm density 440 # if you want 440
wm density reset # self-explanatory
Above will lead to corrupted pics.
Change
Code:
ro.sf.lcd_density=480
to
Code:
ro.sf.lcd_density=VALUE_YOU_WANT
(Note: I did this before installing GApps, not sure if this is related to Google Now Launcher FCs)
Click to expand...
Click to collapse
9. DT2W Workaround
Code:
echo 1 > /proc/touchpanel/double_tap_enable # do this on every boot
Then add this line to /system/usr/keylayout/Generic.kl:
Code:
key 255 POWER
DT2W has been added into settings since 20151027.
Click to expand...
Click to collapse
10. Apps Not Working
Settings -> Apps -> YOUR_APP -> Permissions -> Turn on everything
Click to expand...
Click to collapse
11. Fixing random freezes
http://forum.xda-developers.com/showpost.php?p=63378883&postcount=682
Thanks @The Dork Knight Rises
Click to expand...
Click to collapse
Now screenshot spoiler (with Google Now Launcher):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Discussion Thread:
http://forum.xda-developers.com/oneplus-one/general/discussion-homemade-android-6-0-t3227234
Download:
20151027
https://drive.google.com/file/d/0BwkmhbR5VHpAdWRxQ0ZraVgyT00/view?usp=sharing
Marshmallow's native DT2W setting (thanks CM)
USB MIDI support (What for?)
Fixed some crashes by removing SeempLog (try TiBu and network settings)
Double tap on Home key now brings up Recent View
Added a reboot option in power key menu/global actions menu
Note: if you have drain when NFC is on (or NFC setting is grayed out), please attach a logcat of booting process. I can not reproduce this on my phone... Thanks!
20151018
https://drive.google.com/file/d/0BwkmhbR5VHpAekdWT2NlVWNlNnc/view?usp=sharing
Mirror by @c43211 http://c43211.com/aosp_bacon-ota-eng.hamster-20151018.zip
Mirror by @Killer.shubham http://d-h.st/9fOO
Fixed network mode selection (2G/3G/4G switch)
Fixed network location
DT2W workaround: see Q&A
20151015
https://drive.google.com/file/d/0BwkmhbR5VHpAUVVDYkVJOFJoYVE/view?usp=sharing
Mirror by @itskapil at http://downloadmirror.co/android/tx/aosp_bacon-ota-eng.hamster.zip
Mirror by @Killer.shubham at http://d-h.st/3oBU
Mirror by @c43211 at http://c43211.com/aosp_bacon-ota-eng.hamster.zip
Thanks!
MAKE A BACKUP FIRST!
(I'm using TWRP 2.8.7.0 and it works well with this package.)
Sources:
Kernel: https://github.com/updateing/android_kernel_oneplus_msm8974 (marshmallow branch)
Device tree: https://github.com/updateing/android_device_oneplus_bacon
Blobs: https://github.com/updateing/proprietary_vendor_oneplus
local_manifest: http://www.hastebin.com/netamapate.xml
Hope you can enjoy the new feel of Marshmallow!

Wow! Need this rom to improve.

Excited flashing now!
Sent from my A0001 using Tapatalk

Finally the sweet taste of marshmallow on the OnePlus One!

Great work ! ^_^

Battery drains faster?
Guess I'll wait a little bit longer, as it's the main reason I wanna switch to M.

Kernel dilemma
If the kernel on it is based on cm 12.1 .. Can we flash any other kernels that work with CM 12.1? It should work or atleast i hope so! But yeah I'll try and get back!
Cheers! Keep up the good work!

Do we need to flash gapps & supersu?
Sent from my A0001 using Tapatalk

will it work with F2FS ? separate build would be helpful, if its not tested i will test it
---------- Post added at 11:06 AM ---------- Previous post was at 11:05 AM ----------
horizon_KJ said:
If the kernel on it is based on cm 12.1 .. Can we flash any other kernels that work with CM 12.1? It should work or atleast i hope so! But yeah I'll try and get back!
Cheers! Keep up the good work!
Click to expand...
Click to collapse
i guess it would be tweaked for more compatibility to android 6.0

Great work man !!

Anyone flashed it successfully?

Nice achievement! Glad to see you made it boot.

Finally the bacon.
Was almost regretting for getting this phone

~KV said:
Anyone flashed it successfully?
Click to expand...
Click to collapse
I'm on F2FS didn't tested it

Killer.shubham said:
I'm on F2FS didn't tested it
Click to expand...
Click to collapse
If you flashed it, go to terminal to see if it's on f2fs or not?

Finally ...!!!!
Will test soon ?

This Rom's developer is little busy so we should get other developers work on it and probably get this thread featured?

Tested and WORKING ( I don't if f2fs works)

as a reminder to everyone.. .NO ETA's pls. lets respect the dev.. compiling is already a good thing, and making it boot is a great achievement..

ianstump said:
Tested and WORKING ( I don't if f2fs works)
Click to expand...
Click to collapse
will report in 10 mins
1. flashing it without any custom kernel (probably wont work)
2.flashing rom zip + ak CAF kernel. (hoping for it)
..
Results
1. TWRP says no OS installed ( System is 22mb)
2.Flashing failed

Related

[ROM]PsyMe - Flyme 5 based for Redmi Note 2

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
/*
* Your warranty is now 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.
*/
SCREENSHOTS
Changelog v1.0:
Based on FlyMe 5.1.5.13R (Multilang)
Signed and zipaligned
Added SuperSu v2.72
Added Dolby Atmos 6.5
Added ADBlock Switcher script
Added BatteryCalibrator script
Added Script per imparare a bestemmiare
Added Material Terminal
Added Kernel Adiutor
Added Xposed Installer
Rendering Tweaks
GPU Tweaks
Battery Tweaks
Ram Tweaks
Performance Tweaks
Touchscreen Tweaks
Interfaccia più fluida
Camera Tweaks
Flashlight intensity Tweaks
Voice call Tweak
Internet & Download Speed Tweaks
Video Tweaks
3G Signal Tweaks
Google DNS Tweak
Added support to IPV4 and IPV6
Wireless Tweaks
Click to expand...
Click to collapse
Changelog v2.0:
Updated base to 5.1.5.27R (multilang)
FIX bootloop problem
Automatic wipes for cache and dalvik-cache during the installation
Click to expand...
Click to collapse
ROM
PsyME v1.0 DOWNLOAD
PsyMe v2.0 DOWNLOAD
Click to expand...
Click to collapse
TOOLS
Skynet TX7 DOWNLOAD (Opzionale) (Consigliato)
Xposed v85 DOWNLOAD (Opzionale) (Consigliato)
Gapps 5.1 DOWNLOAD (arm64>5.1>pico)
Click to expand...
Click to collapse
INSTALLATION
DO NOT FORMAT /system
Factory Reset (cache, dalvik-cache and data) (do nothing if you are updating from PsyMe v1.0)
Flash ROM
Flash Gapps
Flash Project Skynet (opzionale) (consigliato)
Flash Xposed (opzionale) (consigliato)
DO NOT FLASH SUPERSU
DO NOT FLASH DOLBY ATMOS
Wipe cache and dalvik only if you have flashed Skynet and/or Xposed
Click to expand...
Click to collapse
CONFIGURATION
Configuration
#ADBlock Switcher
1. Open "Material Terminal" app
2. Type:
Code:
su
adblock
When the script ask to you, press "y" and chose your preferred adblock.
NOTE:"Light ADBlock" is enables by default.
#OTA Updates
You will receive notification when updates are availables.
If you not receive notifications, simply tap on OTA Update Center app and search it manually.
#Surprise Script (only for italian users)
1. Open Material Terminal app
2. Type:
Code:
corso
3. Follow script instructions
#BatteryCalibrator
1. Open Material Terminal app
2. Type:
Code:
su
BatteryCalibrator
Let the battery charge at 100% and voltage show "4428mv".
Press "A" and the script will automatically calibrate your battery, or press "C" for do it manually.
The battery is now calibrated!
#PROJECT SKYNET
1. Open Material Terminal app
2. Type:
Code:
su
menu
A menu will appear and you can do anything you want.
For maximum performance, set "skynet mode" on "game" and with Kernel Adiutor you can set governor on "ondemand" or "performance"
Click to expand...
Click to collapse
More info on Project Skynet:
PROJECT SKYNET
Click to expand...
Click to collapse
Thanks to:
@Chainfire for SuperSu
@Stericson for Busybox
@Rovo89 for Xposed
@Zeppelinrox for BatteryCalibrator script
@BSDgeek_Jake for MotherOfAllADBlocking
@Dolby for Dolby Atmos and @worstenbrood for porting
@k1ks for PROJECT SKYNET
... and many other that i can't remember at this moment
Click to expand...
Click to collapse
If you like my work hit thanks button or you can offer me a coffee clicking here
XDA:DevDB Information
PsyMe, ROM for the Redmi Note 2
Contributors
Psy_Man
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.10.x
Based On: FlyMe 5
Version Information
Status: Beta
Current Beta Version: 5.1.5.27R
Beta Release Date: 2016-05-20
Created 2016-05-22
Last Updated 2016-06-09
first of all, thank you for your work.my first impressions: browser crashing, there are still chinese things, it would be very good if you remove them.camera is good.i will be looking for your update,i am a very big fun of flyme.
Very nice rom for browser i use chrome so no problem for me i removed some.apps i dint want the only huge bug i found is data toogle on notifications doenst work properly when you enable data they cant turn of from status bar so you have to go to settings to close them or use power toogles like me overal i love your rom and if.you can add fm radio plzzzz i want it
nikolas60 said:
Very nice rom for browser i use chrome so no problem for me i removed some.apps i dint want the only huge bug i found is data toogle on notifications doenst work properly when you enable data they cant turn of from status bar so you have to go to settings to close them or use power toogles like me overal i love your rom and if.you can add fm radio plzzzz i want it
Click to expand...
Click to collapse
Next release will be much better!
I can not finished set up (have an error when try to choose which sim to use for sms)
edit: I though I was so sly and I took off one sim - but after that set up has an error just on the first screen (with languages to choose)
ulaon said:
I can not finished set up (have an error when try to choose which sim to use for sms)
edit: I though I was so sly and I took off one sim - but after that set up has an error just on the first screen (with languages to choose)
Click to expand...
Click to collapse
how did you bypass this error?
will wait for update
I did not, so my question to developer is wether thery is the way to fix it?
please advise urgently how to enable voicemail on this good rom as cannot find respective section for voicemail.
any news on these?
i've tried to flash this rom, but got error messages
failed to mount /dev/blocl/platform/mtk-mdsc.0/by-name/system....... etc
Click to expand...
Click to collapse
Good rom
But whatapp crashing when try to answer on notification center. Also is there any future update including deleting chinese bloatware? Thanks for your work.
Hello there, @Psy_Man and whomever it may concern,
Firstly thank you so much for the great effort by porting this ROM, I really liked it and recommend using it!
Secondly, I want to report about few bugs I've faced after using this ROM for 3 days (using the phone as a primary phone, daily driver),
1) The first bug I've faced in this ROM was a bug that was reported by "soulcalibur678" on the 21st of June, and it's about WhatsApp crashing, I have noticed that it crash after I get a notification of a message and leaving it by itself for almost 10-15 seconds, also WhatsApp crash whenever am in a chat and somebody else (third party) send me a message, also when I used 3 chats and more, it would crash and never work again unless I see the 3 chats (open the new messages) so fast before it crashes (screenshot attached).
2) Airplane Mode: Airplane Mode doesn't work, I can't even disable the SIM, even if I used the Airplane Mode it would still receive and make calls normally like I haven't enabled the Airplane Mode (screenshots attached).
3) Firmware Update: I have navigated to the update section in settings after using the phone for a whole day, I have checked for update and found that there is an update, and it is "Flyme 5.1.6.6R beta", downloaded it, tried to install but couldn't install due to "Error: 7", updated the TWRP recovery to the latest version 3.0.2.2, tried to unmount system and reboot recovery, tried flash it over 10 times but everytime I end up facing the same error (screenshot attached).
That's it for now, these are the bugs I've faced after using this ROM for 3 days, everything else works like a charm for me.
Hope this help you developing and improving this great ROM,
Sincerely yours.
i received ota update and download it, but how can i install this ota update? TWRP can't install it

[EXPERIMENTAL][AOSP][O] Homemade Oreo for OnePlus 5

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now 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 atyou.
*/
Hi everyone, here is my port of Oreo on OnePlus 5. Source is based on AOSP android-8.0.0_r3 (r9 since 20170916, r15 for 20171008), as it's for Pixel. Device repo, kernel and vendor etc are available at the end of the post.
And the same note as before: this ROM is highly experimental, and only meant for the brave ones. I may not update this work regularly.
Hardware features:
Things went more smoothly than before.Majority of hardware features are working, including mobile network, WiFi, Bluetooth (file transfer, network, audio etc), GPS, camera / camcorder, fingerprint, sensors, HW-based encryption etc.
There are some minor issues regarding HW:
1. Virtual keys and hardware keys are enabled altogether. You can disable hardware keys at /proc/touchpanel/key_disable and /sys/module/fpc1020_tee/parameters/ignor_home_for_ESD . If you do want the virtual keys to hide, read first several pages of replies and there are some solutions.
2. Slider is not working, but it produces key event. There are lots of tools that can be used to customize actions for key events, and examples can be found in the first several pages of replies as well.
3. No offscreen gestures.
4. No option for color profile switching (default, sRGB, DCI-P3). You can switch that manually at /sys/class/graphics/fb0/color_profile
Known bugs:
1. Permissive SELinux, and init allows services without a SELinux domain to start
2. Behavior of camera is not consistent - it works on my phone, but it may crash yours. If your phone reboots into EDL/9008 mode after flashing this ROM, use recovery or fastboot to flash back to other ROMs IMMEDIATELY!
3. Sometimes the system does not show charging status (no flash sign in battery icon, but LED lights up as usual), while the battery is being charged just fine.
4. No UI shown when alarm clock goes off. This is an AOSP bug (missing NotificationChannel parameters). Use Google Clock from Play Store instead.
5. VoLTE is broken. Maybe we need to wait for an official release for updated blobs.
And as you may have already known, AOSP does not include a fully functional browser nor a file manager. An `adb install` may be needed after flashing.
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download:
Make backups! Make backups! Make backups!
20171008: https://drive.google.com/open?id=0BwkmhbR5VHpARHYwUE1BSGkxbTQ
20170924: https://drive.google.com/open?id=0BwkmhbR5VHpAU2lUVEVQcDRuaDQ
20170916: https://drive.google.com/open?id=0BwkmhbR5VHpAbkpMWFU1R1VLNDA
20170910: https://drive.google.com/open?id=0BwkmhbR5VHpAcGsyZ3hYWkZZcFU
20170907: https://drive.google.com/open?id=0BwkmhbR5VHpAMEVQX3h0UG1pUHM
You will lose Magisk and GAPPS after upgrading since boot and system partitions are overwritte. Better flash GAPPS right after the firmware, otherwise apps depend on GAPPS will FC even if GAPPS are re-installed.
This is NOT a flashable zip. Use fastboot to flash:
Code:
fastboot erase boot
fastboot flash boot boot.img
fastboot flash system system.img
And wipe data before usage.
NOTE: This ROM requires encrypted data partition. If your data partition is not encrypted, format it. Moreover, OxygenOS 4.5.10 4.5.12 firmwares are required.
Changelog:
20171008
Since proper development on Oreo has started, this ROM has served its purpose as an experimental (or first-taste-only) ROM, and thus will not receive any updates anymore.
Updated blobs to OxygenOS 4.5.12 (baseband version was not changed, but better use the new firmware bundled with 4.5.12)
Updated to android-8.0.0_r15
Switched to new kernel source used by MoKee (may solve some WiFi issue, and possibly some others)
Some minor cosmetic changes
No new patches applied, the 0924 archive would be fine.
20170924
Fixed voice translation in Google Translate (maybe other apps as well)
Add a power HAL and double tap to wake is available in settings now (wondering if it actually works)
Use RenderScript driver from OnePlus 3 Oreo beta. Stock one is too old for Oreo, thus it was not loading at all.
Included navigation bar fix from this post
(Also tried new kernel used in MoKee and Lineage OS, but it still causes stalls when remounting so I switched back to the old kernel)
20170916
Bluetooth address should be correct
Fixed broken compress_offload feature (some music player (or ringtones) rely on this)
Make DASH chargers recognized as standard AC charger with fast charging support
Update to android-8.0.0_r9
20170910
Fixed Bluetooth audio. Now LDAC, AAC and SBC all work. If you want aptX / HD, find libaptX{,HD}_encoder.so elsewhere and push them to the phone.
Fixed AOSP keyboard crash when switching to symbol / numbers panel: https://android-review.googlesource.com/#/c/platform/packages/inputmethods/LatinIME/+/469478/
20170910
Initial build
Sources:
Kernel: https://github.com/updateing/android_kernel_oneplus_msm8998 (aosp-o-new branch)
Device: https://github.com/updateing/android_device_oneplus_cheeseburger (aosp-o branch)
Vendor: https://github.com/updateing/android_vendor_oneplus_cheeseburger (aosp-o branch)
In order to build kernel with AOSP, you need build/core/tasks/{kernel,dt}.mk from other ROMs build system. And external/{libnfnetlink,libnetfilter_conntrack} needs to be forwarded to AOSP master.
Source patches are attached to this post.
Credits:
MoKee/@XiNGRZ for this awesome kernel
Qualcomm for the great SoC
And Google for the OS
Thank you all!
Nice, will give it a go later, I presume there shouldn't be a problem with TWRP and going back to our present rom?
You also didn't post any gapps link, would these work ok?
http://www.cyanogenmods.org/forums/topic/gapps-lineageos-15-android-oreo-roms/
You're a brave man @djsubterrain
Does this work as a secondary ROM on multirom?
ZachChampion2020 said:
Does this work as a secondary ROM on multirom?
Click to expand...
Click to collapse
No..As it says its not a flashable zip
ZachChampion2020 said:
Does this work as a secondary ROM on multirom?
Click to expand...
Click to collapse
Judging by the way you need to flash this it's categorically NO
ZachChampion2020 said:
Does this work as a secondary ROM on multirom?
Click to expand...
Click to collapse
It's labelled "EXPERIMENTAL" so it's highly unlikely, you really think that would be a priority to get it working with multiboot when the rom isn't even fully working?
niceeeeee
Nice to see some OREO love for our device. Thanks Developer for your hard work.
djsubterrain said:
Nice, will give it a go later, I presume there shouldn't be a problem with TWRP and going back to our present rom?
You also didn't post any gapps link, would these work ok?
http://www.cyanogenmods.org/forums/topic/gapps-lineageos-15-android-oreo-roms/
Click to expand...
Click to collapse
TWRP should work fine. Personally I'm using TWRP 3.1.1, official build, and haven't noticed any issue.
There should not be any issue when going back to 7.x ROMs (though I have not tried myself), but as wiping data is always involved when changing ROMs, do make a backup of everything including internal storage!
I have not tried any unoffical build of Gapps, and the only official build available now is DeltaGapps. It doesn't work OOB however, I need to extract some libs from APKs to get it to work.
1st to release N for bacon, O for cheeseburger.
Good job bro.
Good!!
Guo Lai Yang Wang Dalao!
Good job bro~
Sent from China fanboy~
missing on u in bacon family.. like u provided Nougat rom for oneplus 1..
*crais for posting OT* @updateing ,by any chance,are you working on oreo for bacon as well? Your work for Nougat on bacon is highly appreciated.
Mr.Ak said:
*crais for posting OT* @updateing ,by any chance,are you working on oreo for bacon as well? Your work for Nougat on bacon is highly appreciated.
Click to expand...
Click to collapse
Bacon already has an Oreo port.
djsubterrain said:
Bacon already has an Oreo port.
Click to expand...
Click to collapse
Ikr,but hopefully he'll be able to get camera working on oreo for bacon.
First O rom. Wow ?
Snapdragon815 said:
1st to release N for bacon, O for cheeseburger.
Good job bro.
Click to expand...
Click to collapse
Mmmm.... I love some bacon on my cheeseburger... Typed on the 1+1 while my 1+5 is charging... Keep up the good work!
Thanks Dev. Oreo love

[ROM][9.0.0]Dirty Unicorns[Joan][Unofficial]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
#include "std_disclaimer.h"
/*
* Your warranty is now 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.
*/
Keep in mind, this ROM, and all Pie ROMs in general, are still under construction, it will take a while till all features you might know and love from Oreo are ported over to Pie.​
What's working :
RIL (Calls, SMS, Data)
Fingerprint
Wi-Fi
Bluetooth
Camera
Video Recording
Video Playback
Audio
Sensors
Flash
GPS
What's not working :
DAC(Works in USB AUdio Player Pro and Onkyo)
Selinux is permissive
Exfat (when enabled makes system slow down, and eventually crash)
Where are the features?
As every other Pie ROM its still in early development, features will appear with time.
Instructions :
Download the build
Reboot to recovery
Flash the latest build
Reboot
Downloads :
Downloads removed temporarily (see last post in here)
Sources:
Device Tree: h930 + joan-common
Kernel: msm8998
Vendor: lge
XDA:DevDB Information
Dirty Unicorns Pie for LG V30, ROM for the LG V30
Contributors
SGCMarkus, me2151
Source Code: https://github.com/DirtyUnicorns
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: Oreo
Version Information
Status: Alpha
Created 2018-09-30
Last Updated 2018-09-30
Reporting Bugs
DO NOT Report bugs if you're running a custom kernel or you installed Xposed
Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
If it is a random reboot, grab dmesg . (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.
Changelogs
Release 29.09.2018
- Initial release
Release 30.09.2018
- Updated Sources (fixes camera issues)
Release 06.10.2018
- Updated Sources
- Added QuadDAC Control Panel (Settings -> Sound -> Quad DAC at the very bottom) + Quick Settings Tile
- Widewine should be L1 now
- Brightness settings are now aligned with stock -> should fick AoD Blackscreen bug
- Support for the H930D (not to confuse with the H930DS, both are dual sim)
- Seperate download link for the H932 (thanks to @me2151 )
Frequently Asked Questions:
Q. Can this ROM be flashed through TWRP?
A. Yes, proceed with the latest TWRP image
Q. Sounds good. How can I contribute to project?
A. Test the build as much as you can and report bugs which can be reproduced with exact steps and are not random.
Q. How to disable "Apps running in background" dialog?
A. When you see the dialog, long press on it and select "Settings". From there, you'll have a toggle to disable it.
Q. Which Models are supported?
A. So far it works well on the H930(G/DS), US998, VS996 and LS998 (use H930 zip). Other models may have broken RIL or bootloop. People with a H932, please use that zip.
Nice one. Markus strikes back Thanks for another great rom Do you thing about porting Pixel Experience or Paranoid Android ?
Can someone please provide an alternate download. On AndroidFileHost it takes ~10 hours to download that file.
Dizzyrul3z said:
Nice one. Markus strikes back Thanks for another great rom Do you thing about porting Pixel Experience or Paranoid Android ?
Click to expand...
Click to collapse
PE is currently working.
Dizzyrul3z said:
Nice one. Markus strikes back Thanks for another great rom Do you thing about porting Pixel Experience or Paranoid Android ?
Click to expand...
Click to collapse
Check git, and see that Im not alone on this one ^^
Theres a damn lot what @me2151 did. Idk if we would even boot yet without him.
Also... I plan to keep it down on Pie ROMs, not doing the same anymore as with Oreo, thats too much hassle to maintain. Maybe 2 or 3 ROMs max from me, but we have other developers too (and its all open source, everyone can build their own ROM)
Congratulations and Many Thanks, @SGCMarkus and @me2151.
Dual Speaker Mod?
Thanks for the amazing work! I saw on the forums something about a dual speaker mod https://forum.xda-developers.com/lg-v30/development/rom-boombox-v30-t3765275
is that something that might show up in pie roms? thanks again!
Also what kernel is everyone using?
Diego1751 said:
Thanks for the amazing work! I saw on the forums something about a dual speaker mod https://forum.xda-developers.com/lg-v30/development/rom-boombox-v30-t3765275
is that something that might show up in pie roms? thanks again!
Also what kernel is everyone using?
Click to expand...
Click to collapse
There is a dual speaker mod in the appropriate section on the forums, I can't give you the link currently but I'm sure it's easy to find.
Flash gapps too or included??
chalmizzle said:
Flash gapps too or included??
Click to expand...
Click to collapse
Gapps NOT included - you have to flash them by yourself! Remember to select Android 9.0
FcBayernMinga said:
Gapps NOT included - you have to flash them by yourself! Remember to select Android 9.0
Click to expand...
Click to collapse
Thought as much ? thank you
Gonna push a new version today (after it compiled)
Updated sources, which also includes a fix for crashing of the GCam by @cstark27 (https://gerrit.dirtyunicorns.com/#/c/4501/ this is the fix btw)
Will edit this post as soon as its up (just so someone who plans to download might wait a bit ^^)
Release 30.09.2018
- Updated Sources (fixes camera issues)
will we ever see the miui on v30?
Many Thanks, @SGCMarkus and @me2151.
This ROM work on H930DS too?
stradfred said:
Many Thanks, @SGCMarkus and @me2151.
This ROM work on H930DS too?
Click to expand...
Click to collapse
Yes, just installed on H930DS and restoring apps from cloud.
Both sims are identified.
---------- Post added at 06:10 PM ---------- Previous post was at 06:07 PM ----------
Installed on H930DS without any glitches.
Great job @ SGCMarcus
---------- Post added at 06:15 PM ---------- Previous post was at 06:10 PM ----------
SGCMarkus said:
Gonna push a new version today (after it compiled)
Updated sources, which also includes a fix for crashing of the GCam by @cstark27 (https://gerrit.dirtyunicorns.com/#/c/4501/ this is the fix btw)
Will edit this post as soon as its up (just so someone who plans to download might wait a bit ^^)
Release 30.09.2018
- Updated Sources (fixes camera issues)
Click to expand...
Click to collapse
Hi,
Thanks for your work.
I do not see any camera app installed. Do I need to install camera separately ? If yes, would you be able to point out the app that has been tested to work on your rom?
Thanks again.
Very nice. Everything seems alright on US998 with TMobile. WiFi calling is enabled too ?. One thing I noticed is that if you enable show touches on developer options, the screen goes crazy every time you scroll or change windows. Thanks again for this rom!
Edit: Is there anyway to port the LG stock Oreo camera to this? It records nicely in 60fps. Can anyone extract it from oreo and upload it? Will it work? I just noticed that the rom has no camera lol
:good::good: Enjoying some tastt pie right now!! Thank you SGCMarkus!! PowerAmp and GStomper Studio had no problem using hi-res portion of dac!! Using cstark's gcam, with google motion!! I didn't see any root management, when Adaway asks for privileges, you better hit "Grant"!! :laugh::laugh::laugh:
KanBorges said:
Very nice. Everything seems alright on US998 with TMobile. WiFi calling is enabled too . One thing I noticed is that if you enable show touches on developer options, the screen goes crazy every time you scroll or change windows. Thanks again for this rom!
Edit: Is there anyway to port the LG stock Oreo camera to this? It records nicely in 60fps. Can anyone extract it from oreo and upload it? Will it work? I just noticed that the rom has no camera lol
Click to expand...
Click to collapse
Would also be interested in knowing whether LG cam works or not (doubtful).

[OFFICIAL][DISCONTINUED][A12] crDroid v8.8 - Xiaomi Mi A2 Lite (daisy)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
*** Disclaimer
I am not responsible for any damage you made to your device
You have been warned
crDroid is designed to increase performance and reliability over stock Android for your device also attempting to bringing many of the best features existent today
Features:
https://github.com/crdroidandroid/crdroid_features/blob/12.1/README.mkdn
Flashing Instructions:
Pre-installation:
TWRP (Download from here)
Gapps (Download from here)
Magisk 24.1 or newer for root - (Download from here)
First time installation:
Flash stock FW 11.0.4.0 (if you have not done so again)
Boot to TWRP via fastboot
Format data
Flash the ROM zip and the TWRP installer zip
Reboot to recovery
Flash Gapps (Optional)
Flash Magisk (Optional)
Format data
Reboot to system
Update installation:
Go to Settings -> System -> Updater and check for updates
Click "Download" and select "Install" once that is done
Install Magisk to other slot from the Magisk app (if you have it)
Press "Reboot" to continue
Sources:
ROM: https://github.com/crdroidandroid
Kernel: Kernel URL
Device tree: Device Tree
Vendor tree: Vendor
Download:
ROM: https://crdroid.net
Changelog: https://raw.githubusercontent.com/crdroidandroid/android_vendor_crDroidOTA/12.1/changelog_daisy.txt
Known issues:
- Flashlight is dead in some apps. This is because Xiaomi camera blobs have issues with Camera2API (HAL3) which is enabled by default, as per A12's requirements.
- Some videos (.webm files) will not play correctly. This is due to some underlying issue with the hardware VP9 decoder
Visit official website @ crDroid.net
crDroid Daisy Telegram
crDroid Community Telegram
crDroid Updates Channel
Donate to help our team pay server costs
Thanks! That's why. I really appreciate your work.
Download link doesn't work for now, should be fixed soon
Links are up and working, sorry for any inconveniences
Nice rom... Thanks, Dev for keep supporting this device..
New update is up fixing a bunch of issues reported in the previous build
Changelog:
* Resolved some sepolicy issues
* Fixed dual SIM RIL issues
* Fixed the goodix cleaning script
* Fixed the HAL switch once again
* Fixed hotspot bricking WiFi after it was turned off
* Notable kernel changes (from before):
- Upstreamed to 4.9.299
- Some scheduler changes to improve interactivity
I just installed this ROM this morning and its beautiful....
So smooth and I love the look and feel of it.
Great job Dev
I have a quick question:
Is it possible to completely remove vibration when we touch the keypad?
Irish_Dude said:
I just installed this ROM this morning and its beautiful....
So smooth and I love the look and feel of it.
Great job Dev
I have a quick question:
Is it possible to completely remove vibration when we touch the keypad?
Click to expand...
Click to collapse
I'll try this rom... giver further feedback about this.
I just installed this ROM this morning and its beautiful....
So smooth and I love the look and feel of it.
Great job Dev
I have a quick question:
Is it possible to completely remove vibration when we touch the keypad?
NiKabir said:
I'll try this rom... giver further feedback about this.
Click to expand...
Click to collapse
This ROM is 1st class
Ahhhh perfect.
I clean installed this rom yesterday and so far loved it. With linked gapps.
It has been very smooth and bugless.
Battery consumption looks very good, let's see it in a few more days.
The camera, however, is very simple and doesn't have normal options such as panorama.
I don't know if we can have another camera version flashable.
ardanai said:
Ahhhh perfect.
I clean installed this rom yesterday and so far loved it. With linked gapps.
It has been very smooth and bugless.
Battery consumption looks very good, let's see it in a few more days.
The camera, however, is very simple and doesn't have normal options such as panorama.
I don't know if we can have another camera version flashable.
Click to expand...
Click to collapse
Okay, I got it. hahaha
I have installed GCAM and everything looks great now.
Irish_Dude said:
I just installed this ROM this morning and its beautiful....
So smooth and I love the look and feel of it.
Great job Dev
I have a quick question:
Is it possible to completely remove vibration when we touch the keypad?
This ROM is 1st class
Click to expand...
Click to collapse
You can use battery saver I guess, but there is no way to explicitly remove only that vibration
Irish_Dude said:
I have a quick question:
Is it possible to completely remove vibration when we touch the keypad?
Click to expand...
Click to collapse
If by the keypad you mean the Gboard (Google keyboard): you can go to Gboard preferences and turn off "haptic feedback on keypress"
If you mean the navigation buttons: Accessibility > vibration & haptic strength > touch feedback > off
LinkBoi said:
New update is up fixing a bunch of issues reported in the previous build
Changelog:
* Resolved some sepolicy issues
* Fixed dual SIM RIL issues
* Fixed the goodix cleaning script
* Fixed the HAL switch once again
* Fixed hotspot bricking WiFi after it was turned off
* Notable kernel changes (from before):
- Upstreamed to 4.9.299
- Some scheduler changes to improve interactivity
Click to expand...
Click to collapse
Hi LinkBoi,
Is it possible (if you have time) to make a flashable zip of Gcam for twrp to replace the original Camera? without root
LinkBoi said:
First time installation:
Flash stock FW 11.0.4.0 (if you have not done so again)
Boot to TWRP via fastboot
Format data
Flash the ROM zip and the TWRP installer zip
Reboot to recovery
Flash Gapps (Optional)
Flash Magisk (Optional)
Format data
Reboot to system
Click to expand...
Click to collapse
Hi, just to confirm.. The first "format data" includes system as well or just the "data" check box ?
and if so, could please explain why not system ? Thank you.
savvyyy said:
Hi, just to confirm.. The first "format data" includes system as well or just the "data" check box ?
and if so, could please explain why not system ? Thank you.
Click to expand...
Click to collapse
I believe that is "format data" before you enter to the advanced wipe like wipe system and wipe data.
ardanai said:
Hi LinkBoi,
Is it possible (if you have time) to make a flashable zip of Gcam for twrp to replace the original Camera? without root
Click to expand...
Click to collapse
No, install it normally
Hello and thank you for your work. I have a bug to report about incoming calls. When I get a call, phone rings as it should be but sometimes screen does not wake up on its own and if I try to wake it up manually with power button, the call disappears entirely. Phone keeps ringing but other than that the call can not be seen on the screen. After the caller hangs up I get the "missed call" notification. This happens not so rarely so it kinda makes the rom unusable for me. Funny thing is that same problem happened with some other roms as well both android 11 and 12 builds. I tried to find a solution for this online but I could not find anything, am I the only one who is having this problem?
Mantarsote said:
Hello and thank you for your work. I have a bug to report about incoming calls. When I get a call, phone rings as it should be but sometimes screen does not wake up on its own and if I try to wake it up manually with power button, the call disappears entirely. Phone keeps ringing but other than that the call can not be seen on the screen. After the caller hangs up I get the "missed call" notification. This happens not so rarely so it kinda makes the rom unusable for me. Funny thing is that same problem happened with some other roms as well both android 11 and 12 builds. I tried to find a solution for this online but I could not find anything, am I the only one who is having this problem?
Click to expand...
Click to collapse
I face this issue yesterday..
NiKabir said:
I face this issue yesterday..
Click to expand...
Click to collapse
So it is not just me Still it is a bit weird that no one hardly ever mentioned this in andriod 11 builds.

[ROM][UNOFFICIAL][MONTHLY][EAS][R-HALs] Pixel Experience 13 [NORMAL/PLUS] for Xiaomi Mi5

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
PixelExperience for Xiaomi Mi 5 [Gemini]
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 13.0
Whats working?
Wifi
Wifi hotspot
RIL
Mobile data
GPS
Sensors
Camera
Flashlight
Camcorder
Bluetooth
NFC/GPAY
Lights
Sound / vibration
Fingerprint
WiFi Display
VoLTE
Double Tap To Wake
Buttons swap
Google Voice Match
SELinux enforcing
Safetynet
DON'T FLASH GAPPS, ALREADY INCLUDED
Download standard version from Android File Host
Download PLUS version from Android File Host
​
Flashing Instructions:
Pre-installation:
Pixel Experience Recovery (Download from here)
First time installation:
Fastboot or flash recovery image
Reboot to new recovery
Click on Factory Reset --> Format data/factory reset
Click on apply update and sideload the zip file or install it using an USB OTG
Enjoy
About Camera App: default camera app is GCAM version SGCAM_8.4.400.42.XXX_STABLE_V35 by Shamim. Everything works fine except 240 fps (1/8) slow motion videos
mandayugana shared his config xml file, which add the specific noise model for Gemini with Shamim GCAM, dowload it from my Github (sgcam-8.4-v35-pe13.xml) or from his post, apply to GCAM following this tutorial and say thanks to him for his great work
XDA:DevDB Information
Pixel Experience, ROM for the Xiaomi Mi 5
ROM OS Version: Android 13
ROM Kernel: Linux 4.4
ROM Firmware Required: MIUI V10.2.2.0.OAAMIXM as minimum target
Based On: AOSP
Source Kernel repo: Link
Gemini device tree repo: Link
Xiaomi msm8996-common repo: Link
Vendor repo: Link
Special thanks to
LineageOS
Pixel Experience
Shamim
xNombre
mandayugana
I'm currently using PixelExperience_gemini_12.1
Is it possible to directly update it via twrp? (I don't have a PC to install PErecovery)
ademuhamad said:
I'm currently using PixelExperience_gemini_12.1
Is it possible to directly update it via twrp? (I don't have a PC to install PErecovery)
Click to expand...
Click to collapse
I haven't tried but could work. Just be sure to format internal storage before rebooting into system
the rom is very laggy, and cpu usage between 50%-100% with nothing open :/
Echidna_Kawaii said:
the rom is very laggy, and cpu usage between 50%-100% with nothing open :/
Click to expand...
Click to collapse
Check what process is eating your cpu in the background, i have no problems at all with cpu usage on screen and with deep sleep
and also this giving Random reboot here :/
Echidna_Kawaii said:
and also this giving Random reboot here :/
Click to expand...
Click to collapse
No one reported random reboots, i never had once in a week of usage. Logs or never happened
-+BB+- said:
I haven't tried but could work. Just be sure to format internal storage before rebooting into system
Click to expand...
Click to collapse
ERROR:1 )l
暗夜很无语 said:
ERROR:1 )l
Click to expand...
Click to collapse
That's why I wrote could, I haven't tried and there are multiple versions of TWRP, if you experience problems flashing the ROM use my recovery
pretty much very stable rom... working everything very smothly...but one issue...after usung 1 or 2 shot with gcam its freeze the cam...and then can't open the gcam anymore...
Unfortunately I can't install it. It would be great if there was a zip file that can be installed with twrp. Thanks for your effort anyway.
after using 2-3 days.. i found some bug
1. after activated vibration mode no vibration icon showing in status bar
2. gcam not working (tried many version)
and after some times phone autometically try to reboot itself but stuck at mi logo.. have to forcefully tap on power button to reboot manually (happened every time i install different version of gcam) i had same issue in lineageOS 19
3. no ota updater option (maybe because its unofficial or i don't know)
4. don't have the option double tab on status bar area to lock screen
5. not showing am/pm in time
İST1907 said:
Unfortunately I can't install it. It would be great if there was a zip file that can be installed with twrp. Thanks for your effort anyway.
Click to expand...
Click to collapse
Could you please post the log of the error during the flash?
mrinfinity0007 said:
after using 2-3 days.. i found some bug
1. after activated vibration mode no vibration icon showing in status bar
2. gcam not working (tried many version)
and after some times phone autometically try to reboot itself but stuck at mi logo.. have to forcefully tap on power button to reboot manually (happened every time i install different version of gcam) i had same issue in lineageOS 19
3. no ota updater option (maybe because its unofficial or i don't know)
4. don't have the option double tab on status bar area to lock screen
5. not showing am/pm in time
Click to expand...
Click to collapse
1 and 5 are AOSP/PE bugs, hopefully will be fixed in QPR2 release
2 don't use Gcam for now, i've fixed hdr+ photos on recent Gcam version in my internal builds but it's still crashing causing a reboot after a minute, i had no time to inspect yet because i was focused on EAS and power HAL port
3 correct, no OTA update app on unofficial builds
4 i'm not 100% sure but if i remember well it's a feature of plus version
@-+BB+-
Thanks for sharing your Mi5 rom with us.
Since Android 12 the Mi5 phone is missing a working TWRP recovery, with support of the fbe encryption. This prevents many users from trying all the new roms, because there is no way to take full backups.
Can you tell me what is the reason?
I would be glad to help the development, but I don't know where to start. If I had someone who can guide me in the process I could do my part. Being part of a team would be ideal.
JackSlaterIV said:
@-+BB+-
Thanks for sharing your Mi5 rom with us.
Since Android 12 the Mi5 phone is missing a working TWRP recovery, with support of the fbe encryption. This prevents many users from trying all the new roms, because there is no way to take full backups.
Can you tell me what is the reason?
I would be glad to help the development, but I don't know where to start. If I had someone who can guide me in the process I could do my part. Being part of a team would be ideal.
Click to expand...
Click to collapse
Unfortunately Pixel Experience doesn't support natively TWRP compiling, and i don't have space on my NVME for another build enviroment. Also as far as i know they did not release yet an Android 13 recovery, they are working right now on it, but i don't know if works. Do you know if TWRP supports FBE on other devices? if TWRP supports FBE then best thing would be compile TWRP in an Android 12 build enviroment with a 4.4 kernel with FBE support. you can use my repos or los repos, it' the same. The only requested changes are a makefile with a basic conf for mi5 and convert the fstab in a compatible version for TWRP
@mrinfinity0007 not fixed yet but probably i've understood what's happening... Could you please try to put selinux in permissive mode and use the camera? You can do with adb:
Code:
adb root
adb shell setenforce 0
adb shell getenforce
The last command checks that selinux is correctly disabled, the output must be 0 or permissive
@-+BB+-
Thank you. Yes, from what I see TWRP supports FBE and A12 on other devices.
But I guess that porting it on our device is not that easy as one could think.
My problem is finding detailed guides to start understanding the process, or at least having a overall view.
Anyway I don't want to post too many OT messages on your thread.
-+BB+- said:
That's why I wrote could, I haven't tried and there are multiple versions of TWRP, if you experience problems flashing the ROM use my recovery
Click to expand...
Click to collapse
Let me try another TWRP version
-+BB+- said:
@mrinfinity0007 not fixed yet but probably i've understood what's happening... Could you please try to put selinux in permissive mode and use the camera? You can do with adb:
Code:
adb root
adb shell setenforce 0
adb shell getenforce
The last command checks that selinux is correctly disabled, the output must be 0 or permissive
Click to expand...
Click to collapse
i don't root my phone? does it work without it?
JackSlaterIV said:
@-+BB+-
Thank you. Yes, from what I see TWRP supports FBE and A12 on other devices.
But I guess that porting it on our device is not that easy as one could think.
My problem is finding detailed guides to start understanding the process, or at least having a overall view.
Anyway I don't want to post too many OT messages on your thread.
Click to expand...
Click to collapse
I will take a look this weekend and let you know because I don't remember where but I'm pretty sure that I read a tutorial for TWRP compiling some years ago
暗夜很无语 said:
Let me try another TWRP version
Click to expand...
Click to collapse
If your goal is to flash the ROM without format the internal memory won't work, you may be able to flash the zip but after the flash you'll be forced to format the internal memory without fbe support
mrinfinity0007 said:
i don't root my phone? does it work without it?
Click to expand...
Click to collapse
Yes it's a root shell, you have root permissions only with ADB, not in your phone. If you want to roll back to selinux enforcing and stop the rooted shell simply reboot the phone, that changes doesn't survive after the reboot
@JackSlaterIV found it, it's old and some things may be slightly different but this is a good tutorial.
Here's the link of the minimal manifest 12.1 is the correct branch but decryption is WIP at the moment, don' t think will work, unless you don't set a password/PIN/pattern, in that way should be fine
@mrinfinity0007 never mind, i've fixed It, Gcam was crashing because it was trying to use hexagon for HDR+, but SELinux was blocking it. Now it's wotking fine even in enforcing mode
PS: i've decided to upload the latest personal build i made, some thing may change because i'm still testing them, but more or less (on device side) this will be the next official release when PE devs will merge QPR2 changes and feb security patch.
Here's the direct link
And here's the changelog:
ROM:
- Synced code with latest PE changes
Kernel
- Ported EAS and set it as default scheduler
- Ported Stune Boost and use it as default
- Fixed almost all compiling warns
- Ported misc optimisations from infinity kernel
- Fixed a bug that could cause the boot to fail (Mi logo --> Black screen --> Mi logo again)
- Misc fixes from upstream
Recovery
- Fixed a bug that could cause the boot to fail (Mi logo --> Black screen --> Mi logo again)
Device Tree
- Ported EAS
- Move to EAS compatible power HAL
- QCOM audio HAL: add missing audio power hints support
- Fixed Google Camera crash when trying to use Hexagon
- Camera: move to Gcam Version MGC_8.1.101_A9_GV2b_ENG big thanks to BSG. Camera can be updated with all APKs released by BSG, just be sure to download the ENG version
- SELinux: fixed all denials
- Ported various improvements from my old 12.1 ROM
- Tuned ZRAM size for 3Gb devices
- Camera: improved camera HAL + misc fixes
- Configure SQLite to operate in MEMORY mode
- Set CFQ as default scheduler
- Added pixel animated wallpapers to build
For more detailed changes take a look at my repos
PS: i cannot test GPAY at the moment because i'm testing other things and i'm running in permissive mode, if someone decide to try the update and use GPAY please let me know if works, i made some changes to sepolicy and i want to be 100% sure that Google pay isn't broken before the official release.

Categories

Resources