Hello everyone. I have just built Lineage OS 16.0 and I want to test it on my device (Nokia 8). However I cannot flash it with TWRP "Error ErrorCode::kInstallDeviceOpenError (7) in DeltaPerformer's Write method when processing the received payload -- Terminating processing".I am not sure if this is caused by a broken TWRP install or a bad ROM build. Here is a basic error template:
Latest Device Tree: https://github.com/GPUCode/android_device_nokia_nb1
Latest Vendor Tree: https://github.com/GPUCode/proprietery_vendor_nokia
Kernel Source: https://github.com/resident-nokia/umbrella
ROM: Lineage OS, branch 16.0
TWRP recovery.log: https://hastebin.com/akohutiwed.sql (Error is mostly around line 954)
Thanks in advance
I've seen this happen at times due to an outdated twrp version, try and see if there is an update available, or if you can build an updated version of twrp. Goodluck
Related
Hello, I am developing lineage 13 for the wiko wax, the build goes fine, but when I boot the rom, it reboots in recovery. Looking at last_kmsg, my phone only supports sepolicy up to version26 and lineageos 13 is version 30. So the question is how do I get about supporting sepolicy version 30?
Sources:
https://github.com/Packmaan7144/device_nvidia_s8515/tree/lineage14
https://github.com/Packmaan7144/kernel_nvidia_s8515
Project Treble for Xperia XZs
With this project, you can run (almost) any Generic System Image(GSI) on your Xperia XZs. This means you can test LineageOS, Havoc, Pixel Experience...
No repartitioning necessary! This method is re-using the oem partition.
What is Project Treble?
Understanding Project Treble and Android updates
Talkin’ Treble: How Android engineers are winning the war on fragmentation
What are GSIs?
Android Source: Generic System Image (GSI)
Downloads:
ROM: Download the latest aosp_f8331_*-TREBLE-NIGHTLY.zip from sx.ix5.org/files/builds/keyaki/aosp/
TWRP: Download twrp-kagura-oem-to-vendor.img Wait until a treble-compatible recovery is made
How to install:
Back up your stuff
Wipe data and caches
Install the zip via TWRP (or unzip and install just the /boot and /vendor images via fastboot)
Install any GSI via "fastboot flash system your-gsi-image.img"
To use Magisk: Flash twrp-kagura-oem-to-vendor.img as recovery. Reboot into recovery and install Magisk like you usually would. If you want to go back to another ROM, you need to re-flash your old TWRP recovery as well.
Bugs: See post #2
DO NOT POST HERE FOR FLASHING HELP OR YOU WILL BE REPORTED. Read everything before posting.
If you have questions, ask them in this thread: AOSP 9.0 Pie builds for F8331/F8332
List of GSIs: phhusson's treble Generic System Image
Important: You need an A-Only, ARM64 GSI!
GSIs based on phhusson's work offer the best compatibility.
Magisk: For Magisk to work, you need to tweak your TWRP installation, since it doesn't know that we have shuffled /vendor to the oem partition. You need to change /oem to /vendor in TWRP's fstab file.
See above for a tweaked TWRP.
If you want to go back to any other AOSP-based ROM that is not a GSI, simply re-flash the regular oem image and install like you usually would.
For developers:
This method is repurposing the oem partition to hold /vendor and odm(blobs). There's 400mb of space on that partition and we are only using ~260mb for blobs, while vendor is only about 20-30mb.
Re-partitioning can be quite dangerous if you do not know what you are doing. This method should be safe for everyone.
Sources are up now.
local_manifests
kernel (with patches)
sony's repo_update
ix5_repo_update: run ix5_repo_update.sh and then treble_repo_update.sh
You need to tweak the following:
Kernel dtsi to disable "odm" and load /vendor from "bootdevice/by-name/oem"
PlatformConfig on tone
device-sony-common:
adreno-symlinks branch
symlink from /vendor/odm/lib to /vendor/lib instead of from /odm/lib: Extra symlinks for build.prop and radio (aosp already symlinks /odm to /vendor/odm, but it omits build.prop and our radio folder)
Misc fixes
PRODUCT_FULL_TREBLE_OVERRIDE needs to be "true"
device-sony-tone: treble fixes:
Mount oem as /vendor in fstab
"TARGET_COPY_OUT_VENDOR := vendor" needs to be set
Set VNDK versions, and override properties that get set because the build system is made to believe our XZ shipped with Oreo
device/sony/odm with odm files
Unpack the oem blobs under device/sony/odm/odm and follow the README in device/sony/odm/README.
We need to put the odm files("blobs") somewhere. They get symlinked from /vendor/odm to /odm; both locations need to be accessible.
sepolicy: Use the broad-updates branch (it's kinda hack-ish now because /odm/pm-service is using /dev/binder, which messes with sepolicy). Sepolicy is on permissive for these builds because of that issue.
Tested:
AOSP Extended (calling works, bluetooth may crash)
Havoc (no calling, bluetooth may crash)
Camera should work everywhere
Bugs are the same as the regular AOSP builds, plus some more if the GSI is not built well or doesn't have tweaks for Sony devices.
Happy holidays, I hope you have fun with this!
XDA:DevDB Information
Project Treble for Xperia XZ F8331/2, ROM for the Sony Xperia XZ
Contributors
local__hero
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: .184 or later stock firmware
Based On: AOSP
Version Information
Status: Nightly
Created 2018-12-30
Last Updated 2018-12-30
XDA:DevDB Information
Project Treble for Xperia XZs [Pie 9.0], ROM for the Sony Xperia XZs
Contributors
local__hero
Source Code: https://git.ix5.org/felix/local-manifests-ix5
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: Stock Oreo firmware, best .184
Based On: AOSP
Version Information
Status: Nightly
Created 2019-01-28
Last Updated 2019-06-10
Reserved
Reserved
Gb321 single card installation error
Man, can you explain the installation better? I don't understand how it installs on the vendor, boot and twrp (I'm Brazilian, I'm sorry for my bad English)
There's three vendors and none of them is image how can I flash them
Thread closed at op's request.
Thank you for your contributions :highfive:
strongst
Forum Moderator
Redmi 2/WT88047 OmniROM PIE 9.0
DOWNLOAD BUILD-28/12/2019 (ARM)
DOWNLOAD BUILD-05/01/2020 (ARM64)
RELEASES:
====================
18/08/19
====================
* Initial release
* Omni upstream as of 18/08
====================
25/08/19
====================
* Selinux enforcing
* Added Dirac support from MIUI
* ZRAM 4.18 backport from a6k kernel
* Fixed the janky flashlight toggle
====================
10/09/19
====================
* Initial ARM64 release
(Thanks to @Cecell3000 for his ARM64 works
and @karthik km for fixing RIL)
====================
28/12/19 - ARM | 05/01/2020 - ARM64
====================
* Fixed VoLTE
* Updated GPS HAL to A6020
* Omni upstream as of 28/12
(looks like the pie branch is no longer updated and is deprecated, maybe its time to discontinue omni pie)
REQUIREMENTS TO SUCCESSFULLY FLASH OMNIROM:
1. TWRP obviously (Use Cecell's ARM64 TWRP)
2. Latest device firmware (WT86047 | WT88047)
3. Repart /system to at least 1.5GB
(Go HERE to resize system partition)
INSTALLATION INSTRUCTIONS:
1. Reboot device to TWRP
2. Wipe everything except internal and external storage
3. Flash the ROM zip file
4. Flash the 3Expand-filesystem zip file (Available HERE)
5. (Optional) Flash a gapps package
6. Reboot device to system
CURRENT ISSUES:
* You tell me!?
SOURCES:
Device tree (ARM | ARM64)
Common tree (ARM | ARM64)
Kernel sauce (ARM | ARM64)
Vendor (ARM | ARM64)
BUG REPORTS:
REPORT BUGS ONLY IF
- AFTER A CLEAN INSTALL
- USING STOCK KERNEL
- NO MODS OF ANY SORT
OMNI GERRIT REVIEW:
https://gerrit.omnirom.org/
DISCLAIMER:
No one is responsible for any damage done to your device but YOU. You've been warned.
XDA:DevDB Information
OmniROM, ROM for the Xiaomi Redmi 2
Contributors
Rahif M
Source Code: http://github.com/omnirom
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.10.x
Version Information
Status: Testing
Created 2019-08-18
Last Updated 2020-01-17
Thank you!
Nice...
Thanks, I'm gonna try this :good:
Very good.
Onfire again.
Any review please.
Which rom is comptible arm or arm 64 ???
Flash BUILD-10/09/2019 (ARM64) using twrp 3.2.3.0 - 64 bit, get error 255 "error installing zip file"
system partition: resized to 1.5GB
device: redmi 2 1 GB ram
Wow arm64... I wanna try it
I guess need move rom zip file to internal storage, then flash.
thonipublic said:
Flash BUILD-10/09/2019 (ARM64) using twrp 3.2.3.0 - 64 bit, get error 255 "error installing zip file"
system partition: resized to 1.5GB
device: redmi 2 1 GB ram
Click to expand...
Click to collapse
That's weird, can u provide recovery logs pls?
also did you follow the flash procedure correctly?
flash rom.zip+expandfs.zip and then gapps?
Rahif M said:
That's weird, can u provide recovery logs pls?
also did you follow the flash procedure correctly?
flash rom.zip+expandfs.zip and then gapps?
Click to expand...
Click to collapse
Yes, i had follow the flash procedure.
I will try it again tomorrow to get recovery log.
Currently on other rom.
Rahif M said:
That's weird, can u provide recovery logs pls?
also did you follow the flash procedure correctly?
flash rom.zip+expandfs.zip and then gapps?
Click to expand...
Click to collapse
Successfully flash the rom after resize /system partition to 1.75 gb.
Thanks, for this smooth rom :good:
I am not able to flash and boot into the ARM64 TWRP recovery. It'd just hang at the logo. Meanwhile, the normal TWRP (3.3.1.0) works fine. Am I missing something?
I have a 2014817 1GB variant. Could it be misdetecting as a 2GB instead?
Edit: Figured it out
thank you so much for the arm64 bro, i am going to install and test it.
Managed to get it working by flashing latest MM firmware and then the 64bit TWRP. However, it gets stuck at Google Verifying Account page during setup. I can't get past it even using my own accounts to log in. Anyone else has this issue or knows how to get past this?
Edit: Never mind figured out to boot up first time and then flash Open GApps
conspibro said:
Managed to get it working by flashing latest MM firmware and then the 64bit TWRP. However, it gets stuck at Google Verifying Account page during setup. I can't get past it even using my own accounts to log in. Anyone else has this issue or knows how to get past this?
Edit: Never mind figured out to boot up first time and then flash Open GApps
Click to expand...
Click to collapse
MM firmware? WTF!? ?
nadimhd said:
MM firmware? WTF!? ?
Click to expand...
Click to collapse
My phone was still on its stock Kit Kat firmware. The ARM64 TWRP only works with the latest firmware (MM) it seems.
Firmware for the modem, wifi etc, not the OS.
For you information, the instruction isn't that clear. It pretty much take me one day to make it work
here's how I do it
1. Reboot device to TWRP
2. Flash 1Resize-System-Redmi2 zip (can be found at 3rd requirement link)
3. Resize to 1.75 gb
4. Wipe everything except internal and external storage
5. Flash the ROM zip file
6. Flash the 3Expand-filesystem zip file
7. Flash MindTheGapps gapps package (Don't use opengapps it causes bootloop)
8. Reboot device to system
Hope it helps you!
Using @afaneh92 twrp device tree as a base.
I now have a very usable but still unofficial version of the latest orange fox recovery - R11.1
As the days go on, I'm getting closer to it becoming official just a few annoyances to resolve.
Just like that version of twrp. Encryption/DeCryption is currently not working.
The ofox android app is working to send detailed scripts, and the usual ofox additions, such as a magisk manager, fully customisable.
Please install via TWRP following closely the instructions on the thread and then flash the ofox zip from there.
I am updating the versions daily but please do post any issues found.
Ofox device tree : https://gitlab.com/ForForkSake/a02s
Telegram: https://t.me/galaxy_a02s
Update uploaded - 28082021
Corrected Dimensions and status bar
reverted back to previous recovery and twrp fstab - resolving _image mount errors.
flashlight update - in stock android 11 running the following command as su, turns on the rear flashlight
Code:
echo 255 > /sys/class/leds/led:switch_1/brightness
updated variable as such but still not turning on in recovery. TBC
Update uploaded - 27082021
merged @afaneh92 latest device tree updates
fixed nano,
Various cosmetic adjustments
Added Application Manager (work on Android 10 only)
CFKod said:
Update uploaded - 28082021
Corrected Dimensions and status bar
reverted back to previous recovery and twrp fstab - resolving _image mount errors.
flashlight update - in stock android 11 running the following command as su, turns on the rear flashlight
Code:
echo 255 > /sys/class/leds/led:switch_1/brightness
updated variable as such but still not turning on in recovery. TBC
Update uploaded - 27082021
merged @afaneh92 latest device tree updates
fixed nano,
Various cosmetic adjustments
Added Application Manager (work on Android 10 only)
Click to expand...
Click to collapse
Nice! When there will be a new update?
Doesn't work. Recovery bootloops. Please fix it.
Sorry I no longer have this Device... Stick with TWRP
Thread closed at author's request as this project has been discontinued and is no longer supported.
riceDroid for OnePlus 8T|9R [kebab][lemonades]
View attachment 5815623
What is riceDroid?
* Ricedroid is a FREE OPENSOURCE Android Operating System based on LineageOS and crDroid, that aims to provide necessary "ricing" aka customizations for ANDROID while being fast and stable. This operating system is highly inspired by Oxygen OS (10-11) and nothingOS, we strive to make things different but not too far from AOSP.
What is RiseUI?
* RiseUI is the name for our firmware skin/user interface.
Terminology
* The term \'rice\' is used to describe a person's unix desktop where \'ricing\' is an act where someone customizes their desktop such as the changing icons, panels or system interface.
source: https://jie-fang.github.io/blog/basics-of-ricing
Based on Android 13 | Tiramisu QPR1
What's working?
Most basic stuffs
Bugs and Issues
Please tell me with a logcat attached
Variants available
CORE build only - comes with basic gapps, no setupwizard
Device specific changes
Based on OOS 12 Firmware, Flashing OOS 12 firmware is a must before installing, boots on OOS13 firmware but touchscreen doesn't work
Shipped with OOS Camera - most features exposed working.
Shipped with Chaeyo.0 kernel - based from OOS 12 kernel source - CFS scheduler focused kernel.
Credits
LineageOS kebab team - for most of device/kernel tree changes
chandu078 - base device/vendor tree
cjh1249131356 - oneplus camera source
Notes
I will only maintain Official GMS core variant based on OOS 12 due to limited free time. Other variants will be officially maintained by sir manidreddy a.k.a Lord Itachi
If you have any type of concerns, please address it here, I'll try to accommodate as soon as I see the message.
Changelog
Source Changelog
Download link
riceDroid-13.0-202301210506-kebab-v10.1-CORE-OFFICIAL.zip
Installation Guide
Fastboot - recommended method
Download SDK platform tools here and follow this tutorial
Reboot to fastboot
Enter fastboot mode
Perform flashing commands listed on attached file: fastboot-commands
Enter recovery mode
Wipe data/cache/dalvik-cache
Sideload preferred zip files (magisk, gapps etc.)
Reboot to system
Sideload - recommended for those who were able to flash oos 12 on A/B slots
Fastboot flash recovery.img from firmware payload.bin
Reboot device into recovery mode
Enter ADB sideload mode
adb sideload ROM.zip
Wipe data/cache/dalvik-cache
Sideload preferred zip files (magisk, gapps etc.)
6. Reboot to system
Android OS version: 13.0.0_r24
Security patch level: January 2023
Build author/Device Maintainer: dlwlrma123
Device tree source code: https://github.com/ricedroidOSS-devices/device_oneplus_kebab
Device vendor source code: https://github.com/ricedroidOSS-devices/vendor_oneplus_kebab
Kernel source code: https://github.com/ricedroidOSS-devices/android_kernel_oneplus_sm8250
Firmware source code: https://github.com/ricedroidOSS
Firmware created by: The ricedroidOSS Team
Reserved for changelog purposes.
Bro! I love this rom. Working amazing without any problem. But remember, IU a.k.a Lee Ji-eun is mine (my). Rest is everything fine.
Currently I am on Elixir OS android 13 based so can I directly flash ricedroid over it ? Or do I have to roll back to oxygen os 12?
Can anyone help please ?
therajatshahare said:
Bro! I love this rom. Working amazing without any problem. But remember, IU a.k.a Lee Ji-eun is mine (my). Rest is everything fine.
Click to expand...
Click to collapse
Can you share the download link please?