[ROM][I9100][UNOFFICIAL][8.1.0] LineageOS 15.1 [WIP][BETA] - Galaxy S II Android Development

Code:
/*
** Your warranty is now void.
**
** We are 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 us for messing up your device, we will laugh at you.
**
**/
Hi all,
This is a WIP Oreo build for the Galaxy S2 (i9100). Almost everything is working
I'm currently using TWRP 3.0.2 on my dev-phone to install the ROM. Other versions of TWRP I haven't tried. I had a hard time to identify the stability issues and issues with RIL because of lack of debug info. Thanks to @ChronoMonochrome for giving key information to troubleshoot these issues! The stability issues are fixed by several workarounds. (Java NullPointerExceptions are causing native crashes even when they are within try-catch block).
Known issues:
Offline charger not working! Don't drain your phone.
Battery drain, but device do deep sleep
Video recording and playback (partially) not working
No HW video en-/decoding
YouTube just stops after about 10 minutes (no forced closed)
No recent apps behind home button Longpress left touch button.
Can't install su-addon of LineageOS
SuperSU is working but after dirty flash new build causes bootloops
LOS SU is included in these builds.
Lineage PowerHAL needs HIDL implementation for powersaving support
No V-Sync
Distortion when making screenshot and rotation animation
Camera rotation not working (Accelerometer issues)
It sometimes works after standby/wakeup sequence within 5 seconds with camera app still active.
Still batterydrain (Kernel?/wakelock?/GAPPS?)
Battery drain is caused by GAPPS. Installing it and registering an account eats 10% per hour. ROM is deep sleeping fine.
Battery drain is caused by Wifi-scanning. After installing GAPPS the Wifi scanning (and Bluetooth) options are enabled by default. Because of this Wifi is ALWAYS active nevertheless the global Wifi-settings! This behavior doesn't exist in LOS-14.1 (Wifi always active with Wifi scanning enabled)
After a day, some apps are crashing. (Like Cool Tool, WebView (standard browser))
This has something to do with ART. Please correct my findings. I don't know how ART works exactly.
When the app gets optimized by dex2oat and ART is executing it not using JIT, the app crashes when an Null pointer dereference occur.
This occurs after 4 -6 hours when the device is idle on the charger. This even occurs when the java-code is catching the exception.
I guess I miss some kernel commits but I don't know where to look... Help!
Temporary workaround is clearing Dalvik-cache via recovery.
For WebView related crashes, you can install Chrome and use this as your WebView-implementation under Developer Options.
We limit ART's compile filter to 'quicken'. ' speed' and 'speed-profile' doesn't work properly on our device.
Enable GO (Low RAM) configuration
I created separate builds for GO until I found out there is a generic solution for this.
You can easily switch between editions by flashing the zip via recovery. Just ignore the TWRP-error.
I didn't investigate its cause but it works. Credits goes to @AdrianDC for this MOD.
https://forum.xda-developers.com/an...mod-low-ram-property-patcher-android-t3737373
Source code:
https://www.github.com/lineageos
https://www.github.com/rinando
Build #17 2018-10-10
Overall state: Stable-ish
Android build: 8.1.0-r47
Changes:
- Updated Lineage-sources
- Enabled Wifi PowerSaveMode. No WiFi drain anymore!
Download here: lineage-15.1-20181010-UNOFFICIAL-i9100_SU_MicroG.zip
Build #16 2018-10-4
Overall state: Stable-ish
Android build: 8.1.0-r46
I marked the previous build as stable since I was using it for months as daily drive with no issues except the Wifi battery drain when Wi-Fi scanning is active. In this build the kernel has been updated with AutoSleep-feature so I expect a change in battery usage. (Wakelock Detector now reports our wakelocks.) I just finished porting the feature and updating all drivers so I can't tell we actually have improvements. Please test and report.
Changes:
- Updated Lineage-sources
- Deprecated early suspend. We have autosleep in our kernel!
Known issues & workaround:
- Battery drain caused by Wifi scanning which keeps Wifi always active.
Turn Wi-Fi Scanning off here: Settings -> Security & Privacy -> Location -> Scanning ->Wi-Fi scanning
Download here for full Build: lineage-15.1-20181003-UNOFFICIAL-i9100_SU_MicroG.zip
Build #15 2018-8-1
Overall state: Stable
Android build: 8.1.0-r36
Changes:
- Updated Lineage-sources
- Fixed accelerometer. Camera rotation is working!
Known issues & workaround:
- Battery drain caused by Wifi scanning which keeps Wifi always active.
Turn Wi-Fi Scanning off here: Settings -> Security & Privacy -> Location -> Scanning ->Wi-Fi scanning
Download here for full Build: lineage-15.1-20180731-UNOFFICIAL-i9100_SU_MicroG.zip
Build #14 2018-7-2
Overall state: Stable-ish
Android build: 8.1.0-r30
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Changes:
- Updated Lineage-sources
- Fixed ART native crash issue!
- Applied GO optimization (except for the low_ram-flag)
Download here for full Build: lineage-15.1-20180702-UNOFFICIAL-i9100_SU_MicroG.zip
Build #13 2018-6-17
Overall state: Stable-ish
Android build: 8.1.0-r30
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Changes:
- Updated Lineage-sources
- Update ART compile filters. Should fix app crash the next day
- Fixed screenshot/rotation UI distortion
- Decreased ZRAM to 50MB for better performance
- Back to 512mb dalvik profile
- Default camera-app pinned in memory
Download here for full Build: lineage-15.1-20180616-UNOFFICIAL-i9100_SU_MicroG.zip
Build #12 2018-5-27
Overall state: Stable-ish
Android build: 8.1.0-r26
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Changes:
- Updated Lineage-sources
- Fixed AGPS and RIL's CellLocation
- Fixed IMEI and IMEISV
- Fixed a bug in PowerHal. Interaction CPU Boost didn't work properly.
Download here for full Build: lineage-15.1-20180527-UNOFFICIAL-i9100_SU_MicroG.zip
Build #11 2018-5-5
Overall state: Stable-ish
Android build: 8.1.0-r20
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Changes:
- Same as Build #10 except:
- Updated Lineage-sources
- Added the MicroG-patch for Signature Spoofing
Download here for full Build: lineage-15.1-20180505-UNOFFICIAL-i9100_SU_MicroG.zip
Build #10 2018-5-1
Overall state: Stable-ish
Android build: 8.1.0-r20
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Changes:
* Significant Motion sensor added (Experimental for Doze)
* Enabled ZRAM again - I didn't noticed performance improvement over time.
And I noticed out of memory issues, hangs and softboots.
* Implemented Lineage PowerHAL HIDL implementation for powersaving support.
* Enabled touchbutton brightness-control.
Still working on:
* Accelerometer/rotation issues
* IMEI - IMEI RIL-requests are depricated. I'm trying to shim this.
* Graphical glitches - Probably because of issues with backing store not supported in libMali.so.
* Shimming exynos4 specific things.
* Still in doubt if GPS fix is actually improved....
Download here for full Build: lineage-15.1-20180501-UNOFFICIAL-i9100_SU.zip
Build #9 2018-4-3
Overall state: Carefully stable
Android build: 8.1.0-r15
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Changes:
* Fixed hw encoding/decoding (partially via libstagefright_shim. Still need patch in frameworks_av.)
* Camera recording fixed
* GPS fix improvement
* Latest lineage-sources
* Moved most exynos4 specific changes to our shims or own HIDL implementation
* Disabled ZRAM - Hopefully we have better performance after a few days of use
* Using 1GB memory profile instead of 512MB - Maybe this help memory usage more efficient
* RIL - Moved some code to our shims
Still working on:
* IMEI - IMEI RIL-requests are depricated. I'm trying to shim this.
* Graphical glitches - Probably because of issues with backing store not supported in libMali.so.
* Shimming exynos4 specific things.
* Rotation sometimes not working properly.
* Still in doubt if GPS fix is actually improved....
Download here for full Build: lineage-15.1-20180403-UNOFFICIAL-i9100_SU.zip
Download here for GO Build: lineage-15.1-20180402-UNOFFICIAL-i9100_GO_SU.zip
Build #8 2018-2-18
Overall state: Carefully stable
Android build: 8.1.0-r11
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Changes:
- Updated LOS sources
- Fixed offline charging
- Added SU
- Updated GPS-Shim (Now shimming i9100 specific structs)
Download here for full Build: lineage-15.1-20180217-UNOFFICIAL-i9100_SU.zip
Download here for GO Build: lineage-15.1-20180217-UNOFFICIAL-i9100_GO_SU.zip
Build #7 2018-1-29
Overall state: Carefully stable, lets test!
Android build: 8.1.0-r4 (GO)
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Changes:
- Updated LOS sources
- Advanced Display is back
- Live Display is back
- Fixed SamsungPowerHAL.
Battery drain should be fixed.
- Fixed crash when alarm goes off in clock-app
(and possibly other crashes)
Download here for full Build: lineage-15.1-20180129-UNOFFICIAL-i9100.zip
Download here for GO Build: lineage-15.1-20180129-UNOFFICIAL-i9100_GO.zip
Build #6 2018-1-23
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Overall state: Carefully stable, lets test!
Android build: 8.1.0-r4 (GO)
Changes:
* Fixed random softboots by workarounds, uptime so far 20 hours.
* Fixed installing large apps via GAPPS (Waze, Antutu 3D benchmark, etc)
* Fixed bluetooth crash/restart when turned off
Download here: lineage-15.1-20180123-UNOFFICIAL-i9100.zip
Build #5 2018-1-13
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Overall state: More stable
Android build: 8.1.0-r4
Changes:
* RIL works!
* Disabeled HW Codecs.
* GAPPS 8.1 is working!
* Random softboots when WIFI is enabled (as far as I know)
* Workarounds implemented for stability (Still investigating main cause)
Download here: lineage-15.1-20180113-UNOFFICIAL-i9100.zip
Build #4 2017-12-10
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Overall state: UNSTABLE
Android build: 8.1.0-r1
Changes:
* Same things works/not works as Build #3
* Using GO-configuration
* Most apps won't start or crashes randomly.
* Don't install GAPPS.
Download here: lineage-15.1-20171210_204047-UNOFFICIAL-i9100.zip
Build #3 2017-12-04
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Overall state: UNSTABLE
Android build: 8.0.0-r30
What works?
* Display color Fix (BOARD_EGL_WORKAROUND_BUG_10194508)
* Bluetooth
* Wifi
* Audio
* Camera (Take picture only)
* Vibrator
* GPS
* Sensors (all but accelerometer)
What doesn't work?
* Charger
* Camera (Video recording)
* Display graphics issues (distortion + hw acceleration)
* HW Video playback
* RIL (null pointer reference on setRadioState in libsec-ril.so)
* Accelerometer
* Stability issues (Time to time null pointer reference in /data/dalvik-cache/arm/[email protected]@[email protected] (offset 0x500000))
Download here: Lineage-15.0-20171203_214230-UNOFFICIAL-i9100.zip
Build #2 2017-11-13
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Overall state: UNSTABLE
Android build: 8.0.0-r30
What works?
* Display color Fix (BOARD_EGL_WORKAROUND_BUG_10194508)
* Bluetooth
* Wifi
What doesn't work?
* Audio
* Display graphics issues (distortion)
* Video playback
* Camera
* Vibrator
* RIL
* And still many more....
Download here: lineage-15.0-20171113-UNOFFICIAL-i9100.zip
Build #1 2017-09-17
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Overall state: UNSTABLE
What works? Nothing, not really tested because it just booted
What doesn't work? Everything, not really tested
Download here: lineage-15.0-20170917-UNOFFICIAL-i9100.zip

* Reserved *

Official Open GApps 8.1
Download Open GApps recommended by the Lineage OS team
Installation in TWRP-3.1.0-0 was successful.
Upd.
My first time too was not loaded.
I did all the Wipe and uploaded in 5 minutes.
The screenshots are done, but the screenshot's image is very bad, like on the old TV, where the channel constantly gets off and does not see anything, so @rINanDO posted such an image, not a screenshot.
Yes, almost nothing works, but the phone works quickly, without a cellular connection, you can check and solve the problems, but my s2 is the main phone.

It looks pretty cool even tho with bugs. Hope it comes out soon without bugs.... Thank you!

Blood pressure dropped a bit when I saw 'Android O' even in alpha phase!
I'll try right now!
---------- Post added at 02:08 AM ---------- Previous post was at 01:52 AM ----------
How can I help besides reporting the bugs?
EDIT: I tried to install the trial version of Oreo lineage with TWRP versions 3.02-1 and 3.1.0. Unsuccessfully. It is only in part 'Patching system image unconditionally'. 10 minutes later it stays the same and the CPU of the cell phone goes to 67 degrees. Exit the screen only if you remove the battery.
I also tried the recent kernel dorimanx and nothing happened.
I'll wait for the next test build =)

I tried to flash the build with latest twrp but doesn't boot

How is battery life?

* buying more popcorns *

Hehehe great! Work hard for a full supported port!

On my device It boot's up, but the colors are inverted in some way, the blue on the logo is a green, the entire system get's green for some reason

matterrorist said:
On my device It boot's up, but the colors are inverted in some way, the blue on the logo is a green, the entire system get's green for some reason
Click to expand...
Click to collapse
True, I didn't noticed that at first.

matterrorist said:
On my device It boot's up, but the colors are inverted in some way, the blue on the logo is a green, the entire system get's green for some reason
Click to expand...
Click to collapse
For me is yellow

Yeah, exactly like this, to me that was green hehe

Do you make any selinux patches update in tree @rINanDO

unknown said:
Do you make any selinux patches update in tree @rINanDO
Click to expand...
Click to collapse
No, not yet. Need to work on other stuff first.

I am also having the green colour issue. I think the home button issue can be fixed by editing keylayout files

AmAn SaJiTh A said:
I am also having the green colour issue. I think the home button issue can be fixed by editing keylayout files
Click to expand...
Click to collapse
The problem is the code is broken, and those keylayout files are thereby temporary excluded. Otherwise build will fail. It will be fixed, but we need to be patient.

Hi @rINanDO
I tested your 'very very WIP' ROM, and I can say that as others it booted successfully, 2hours after I flashed it. Sadly I got enough memory but your provided Gapps couldn't install cause there was a sudden memory leak,nevermind, as others, the colors are inverted, but, for a WIP ROM, It was good to see it booted on my i9100, what was the new thing on the main screen, is it a kind of app drawer?
Anyway thanks for all the hard work your puting in this project, I've been trying your unofficial Lineage ROM since the very first one and am still impressed, an Oreo build for i9100, and you are always on the go, thanks for that, be sure that I'll check your thread as soon as possible, I sendyou all the possible luck I could.
Cheers!
Edit: tested over Isorec TWRP 3.1.0.0 as it is the one I installed previously on my i9100, good night

Hi to everyone,
I installed this wip rom from twrp 3.0.2.1 without gapps and the boot is OK but the problem is that the wifi does not work and there is no configured baseband of it being a bit closed ... Also there are random restarts and when it happens it stays in bootloop .. . To start it then a factory reset is needed. I then tried loading gapps pico 170902...boot is ok but at startup there are continuous stop processes and everything turns instabile and unusable.
I'm looking forward to release and thank you for keeping S2 alive!!!
Regards.
Sent from my GT-I9505 using XDA-Developers Legacy app

To fix the display colors inverted, you need to apply patch . You might also want to bring a legacy audiopolicy back: https://github.com/UltimateROM/android_frameworks_av/commits/cm-15.0 .
In my case audio is working now on Galaxy Ace 2.
Btw, any ideas on how to bring up RIL to work? I've started to work on frameworks/opt/telephony, but I've a kind a feeling I'm working not in a right direction as I can't seem to find a similar works for this repository. Just wondering how some devices' RIL works without using a custom RIL class.

Related

TS Cyanogenmod 11 for Lenovo Vibe z

DESCRIPTION
TS-Cyanogenmod11 (Needrom)
CyanogenMod (pronounced sigh-AN-oh-jen-mod), is a customized, aftermarket firmware distribution for several Android devices. Based on the Android Open Source Project, CyanogenMod is designed to increase performance and reliability over Android-based ROMs released by vendors and carriers such as Google, T-Mobile, HTC, Lenovo, etc. CyanogenMod also offers a variety of features & enhancements that are not currently found in these versions of Android.
This is Team Superluminal cyanogenmod 11 port for your Lenovo K910
Not officially supported, but might work on K910L and K910e
CM11 ROM Highlights
- No manufacturer pre-installed crappy software, you choose what to install!
- Privacy Guard, you choose what permission apps can have!
- Lots of UI tweaks, you choose the UI features!
- CM Theme Engine (lots of themes available)
- Overall fast & smooth
- Good battery life, better than stock
- Uses less RAM than stock
- Performance modes (also power save mode)
- Good multilanguage support
- Pre-rooted
- DSP Manager (equalizer)
- And all other cyanogenmod goodies! Too much to list here
Reasons to install CM
8 power features of cyanogenmod 11/
K910 firmware update recovery flashable zips:
See download links @ top of the page.
From VIBEUI v1511: k910_firmware_update_v1511 (latest, recommended)
NOTE: FW UPDATE ZIP ONLY FOR K910, not for K910e or K910L
Changelog:
CyanogenMod Changelog here
cm-11-20150406-UNOFFICIAL-kiton ST6
- Sync with CM11 repo
- Stable release with known issues
- No more big updates, moving to CM12
NOTE: First boot takes longer time, because SC6500 modem FW update (blue led blinks)
Older Changelogs:
cm-11-20150325-UNOFFICIAL-kiton RC5
- Fixed mic routing in VOIP apps
- Lenovo v1512 proprietary blobs
- CM11 Fix FREAK attack
- CM11 Fix SystemUpdateService
cm-11-20150319-UNOFFICIAL-kiton RC4
- Show "Vibrate when ringing" option in dual sim mode
- Widevine DRM support
- Google play movies support
- Lenovo v1511 proprietary blobs
- ROM Extra Settings translations: fi ru
cm-11-20150308-UNOFFICIAL-kiton RC3
- Double tap to wake
- Media codecs fixes
- Move to CM OTA updater (Thanks to all donors!! Just got server for OTA)
- Minor fixes
- K910L added to updater script
cm-11-20150228-UNOFFICIAL-kiton RC2
- Fixed Qcomm network location service
- Added Qcomm IZAT location service
- Updated msim stack to caf latest
- Fixed SIM names in messaging app (dual sim)
- Fixed SIM names in dialer app (dual sim)
- Perform fstrim always on boot
- Minor bug fixes
cm-11-20150222-UNOFFICIAL-TS-kiton RC1
- Fully functional dual SIM !!!
- Ported new msim stack from caf sources to cm11
cm-11-20150219-UNOFFICIAL-TS-kiton
- Lots of configuration improvements. (e.g. GPS)
- Improved battery life (better idling)
- Device source files cleanup & reorganize (preparing for source release)
- Updated all proprietary blob's from latest lenovo ROM
- ADB over USB fixed in windows (thanks viking2k)
- EXPERIMENTAL Support for dual SIM (see Known Bugs section)
cm-11-20150214-UNOFFICIAL-TS-kiton
- Charger mode fixed
- OTA update support
- Multiregional GPS config
cm-11-20150212-UNOFFICIAL-TS-kiton
- Fixed USBOTG
- Possibly fix for "home button bug after update". At least we are not able to reproduce the bug in latest build anymore
Known issues/bugs:
- K910e: CDMA data reported not working (Will not be fixed, as we dont have possibility to test it)
- DUALSIM: CM11 MSIM In-call UI crash when call is active and open dialpad + press back.
Work around: Just open in-call ui again from status bar.
- DUALSIM: Bluetooth headset cannot control dialer. Some BT systems do not work at all (no audio)
- DUALSIM: SIM2 mobile data not working.
Special thanks to:
- morphic ("Headmaster"/co-developer)
- sparcot (@Needrom)(debug, logs, testing)
- SUCreeper (@Needrom)(cdma testing, logs)
- viking2k (@Needrom)(windows adb fix)
- Macrom (@Needrom)(FW update zip)
- CyanogenMod team & everyone who's been working on CM11
What's working:
DUAL SIM (Enable in ROM Extra Settings)
Double tap to wake (Enable in ROM Extra Settings)
Smart cover (Enable in ROM Extra Settings)
SIM1 RIL (mobile network & data)
SIM2 RIL (mobile network)
Wifi
Bluetooth
GPS
Network location
Audio (playback/input/routing/headphones/etc)
Camera (photos, camcorder & panorama)
Hardware acceleration and OpenGL rendering
Hardware video decoding & encoding (mostly)
USB, USBOTG
Wifi-tethering
Sensors
LEDs
FM radio
Performance modes
Multilingual
"Charging only" mode
All cyanogenmod goodies
Performance profiles explained:
Power save: Max CPU 1.2Ghz, slower CPU governor. If battery level <15% keylights are turned off and screen maximum brightness is limited. This is normally good enough for normal use.
Balanced: Max CPU 1.9Ghz, balanced CPU & GPU governors. If more performance needed, use this mode (e.g. heavy web sites).
Performance: Max CPU 2.1GHz, balanced CPU governor, performance GPU governor. This is good mode for heavy gaming.
Battery saving tips:
1) Use 'Power save' profile, when ever possible.
2) Set screen brightness as low as suitable for you.
3) Set screen off max CPU in 'ROM Extra Settings' to as low as suitable for you. e.g. I have set this to 883Mhz
4) When not in use (e.g. nights), turn off data (mobile, wifi) and battery consuption will be VERY low.
5) Use Privacy Guard to disable wakeup, keep awake and location permission from apps/services you don't need. This is really good battery saver! BUT if you disable from certain services that OS needs, some apps may malfuntion and consume even more battery.
How to install:
NOTE: If you dont have custom recovery installed yet, please see instructions for that elsewhere. (see TS-TWRP-Needrom)
1) boot into TWRP (or similar) recovery (TS TWRP recommended)
2) backup and restore -> backup
When coming from other ROM: (or want to clean install)
3.1) mounts and storage -> format /system
3.2) wipe cache, dalvik-cache, data and factory reset
When updating existing superluminal CM11 ROM:
3.1) wipe cache, dalvik-cache
4) install cm-11-xxxxxxx-UNOFFICIAL-TS-kiton.zip (select from storage or via adb sideload)
5) install gapps (if you need/like)
5.1) Gapps can be downloaded from various sources. For example from here or here
6) reboot
7) profit
NOTE: All changes in system partition are lost when you update ROM. (e.g. lenovo camera addon)
Since build cm-11-20150308-UNOFFICIAL-kiton you will also receive OTA updates through CM Updater.
FAQ:
Q: How to enable Smart cover, Dual SIM or Double tap to wake support?
A: Open 'ROM Extra Settings' from application drawer and enable smart cover service.
Q: Where are performance modes?
A: Pull down quick settings from status bar and click '+' to add performance icon
Q: I can't find developer options and performance settings, why?
A: Settings -> About phone -> Click 'Build number' several times
Q: I don't have reboot options in power menu, why?
A: Settings -> Developer options -> Advanced reboot
Q: Is it possible to use Lenovo stock camera app?
A: Yes, you can download camera addon zip from download section. File must be installed from recovery mode.
Q: Why power button does not wake device?
A: Yes it does! You're just covering proximity sensor. There's "prevent accidential wakeup" option enabled by default.
Reporting Bugs:
1) Grab a logcat right after/during 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.)
in case of modem bugs, also "logcat -b radio" is needed. If possible log must be captured all way from boot.
2) If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
3) 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 changes there are we can reproduce bug and possible fix it. Please also do not report known issues. The following is a useful format to follow:
What is your phone model (K910, K910L, K910e, etc..)
- ROM Version
Are you using:
- a task killer.
- ART Runtime.
- Dual SIM.
- other modifications; Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed.
We have spent ernomous amount of time for porting this ROM.
All work is done in our spare time. We give this for you as free of charge.
If you like our work, please consider donating some money for a new porting equipments.
Or just few bucks for team members to have a nice cold beer after long day of coding
ENJOY!
-ekkilm, Morphic, Team Superluminal
/*
* 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. Hard. A lot.
/*
Thanks to TeamSuperluminal for this CM11 ROM!! ?? I'm very happy with my Lenovo Vibe Z
Enviado desde mi Lenovo K910

[ROM][v500][AOSP] Android 6.0 Marshmallow - 20161018 - MOB31H

AOSP - Android 6.0.1 - MOB31H​
NO LONGER SUPPORTED​
This is a pure build of AOSP Android 6.0 Marshmallow, the goal is to have a pure AOSP rom, so it is not the objective of this project to include any functionality that is not native to Android AOSP.
And to make the experience more consistent and simplify some issues related to Android Marshmallow, this ROM has a basic versions of Google Apps (Gapps) pre-installed, additional apps can be installed via Play Store.
Download:
ROM: http://forum.xda-developers.com/devdb/project/dl/?id=20977
Instructions:
Install TWRP (download here)
Boot into recovery and flash the ROM.
For Root flash SuperSU (download here)
Note: Systemless supersu will not work with our device. The latest official release that will work is 2.52, but any system based version will work.
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.
*/
XDA:DevDB Information
AOSP Android 6.0 Marshmallow, ROM for the LG G Pad 8.3
Contributors
adrianom
Source Code: https://github.com/AdrianoMartins/
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.4.x
Based On: AOSP
Version Information
Status: Stable
Created 2015-10-29
Last Updated 2016-11-17
Changelog
2016-10-18:
Update to Android 6.0.1 Release 70 (MOB31H)
Fix audio output problem in specific apps
2016-09-17:
Update to Android 6.0.1 Release 66 (MOB31E)
Other minor changes in kernel and rom
2016-09-11:
Only a clean build
2016-08-04:
Update to Android 6.0.1 Release 61
2016-07-17:
Fix Skype error
Fix and optimization patchs
Build with new toolchain (optimization)
Fix audio and video bad quality (update adreno and audio blobs) - thanks to @Deltadroid
2016-07-08:
Update to Android 6.0.1 Release 52 (MOB30R)
2016-06-16:
Update Google Apps (fix 2016-06-12 error)
2016-06-12:
Revert 2016-05-05 file system and storage management changes
2016-06-10:
Update to Android 6.0.1_r46
2016-05-07:
Update Gapps and Fix Setup Wizard
2016-05-05:
Update to Android 6.0.1_r43
Internal updates and patches focused in file system and storage management
2016-03-25:
Update to Android 6.0.1_r17
Update kernel with some CAF patchs (should fix the forced unmount of sdcard)
2016-02-07:
Update to Android 6.0.1_r13
Build with a new toolchain (GCC 5.3 and cortex-a15 optimization)
Other minor changes to the kernel, framework and camera
2016-01-08:
Update to Android 6.0.1_r10
2015-12-22:
Fix Play Store apps displaying as incompatible
Fix exFAT mount Support (need test)
Add AOSP Camera and remove Google Camera due to problem in switch to video mode (can be install from Play Store)
2015-12-17:
Update to Android 6.0.1
Fix Camera HDR mode
Add exFAT mount Support (need test)
Other small updates and internal patches
2015-11-18:
Update Gapps and Fix Google Calendar Sync
Update Setup Wizard to Tablet Version
Remove some applications intended solely for phones.
2015-11-15:
Use OpenGapps as Gapps source
Wifi: re-add default country code (BR)
Tweak display gamma configuration
Other small or internal patches
2015-11-12:
Tweak Wifi Settings
Change Kernel Power Management (fix wifi drop on sleep mode and optimize power savings mode)
Other small or internal patches
2015-11-07:
Update/Rollback to Android 6.0.0_r5 (MRA58V): the r26 for now is only intent for Nexus 5x e 6p, and this was having some issue in other devices, including:
Microphone not be detected
High battery consumption
With the change to default release branch (and 6.0.0_r5) this problems was fix.
Update Adreno Driver (fix Antutu error)
Build with a 5.2 (ROM) and 4.9 (Kernel) Toolchain compile by me with A15/FPU optimization
Remove Exchange2 and AOSP Email (default to Gmail and Google Exchange version)
Update Gapps
Other small or internal patches (including sdcard)
2015-11-04:
Update to Android 6.0.0_r26 (MDB08M)
Optminizations
Build with UBER Toolchain 5.2 (ROM) and A15 optimized 4.9 (Kernel)
Enable Strict Aliasing, Krait Tunings, GCC Tunings, Graphite, A15/Neon-vfpv4 Optminizations
Kernel Update:
Enable dynamic wireless regulatory domain
Enable support for features that have been disabled in the first versions (BFQ, SIO, ZEN, INTELLIDEMAND and others)
Enable lcd color temperature calibration
2015-10-31:
Enable Offline Charger
Enable SD Card Adoptable Storage (and fix access problem)
Fix Native Tap To Wake Setting Option
Add Calendar Sync
Enable clear all recents button
Enable SystemUI Tuner
Cleanup duplicate ringtones/alarms
Update the default wallpaper
Show Optimizing app dialog on first boot
Other small or internal patches
2015-10-29:
First release
.
Download History
2016-09-17: http://forum.xda-developers.com/devd...t/dl/?id=20460
2016-09-11: http://forum.xda-developers.com/devdb/project/dl/?id=20358
2016-08-04: http://forum.xda-developers.com/devdb/project/dl/?id=19659
2016-07-17: http://forum.xda-developers.com/devdb/project/dl/?id=19369
2016-07-08: http://forum.xda-developers.com/devdb/project/dl/?id=19247
2016-06-16: http://forum.xda-developers.com/devdb/project/dl/?id=18909
2016-06-12: http://forum.xda-developers.com/devdb/project/dl/?id=18864
2016-06-10: http://forum.xda-developers.com/devdb/project/dl/?id=18842
2016-05-07: http://forum.xda-developers.com/devdb/project/dl/?id=18267
2016-05-05: http://forum.xda-developers.com/devdb/project/dl/?id=18239
2016-03-25: http://forum.xda-developers.com/devdb/project/dl/?id=17547
2016-02-07: http://forum.xda-developers.com/devdb/project/dl/?id=16689
2016-01-08: http://forum.xda-developers.com/devdb/project/dl/?id=16132
2015-12-22: http://forum.xda-developers.com/devdb/project/dl/?id=15825
2015-12-17: http://forum.xda-developers.com/devdb/project/dl/?id=15735
2015-11-18: http://forum.xda-developers.com/devdb/project/dl/?id=15277
2015-11-15: http://forum.xda-developers.com/devdb/project/dl/?id=15239
2015-11-12: https://www.androidfilehost.com/?fid=24269982086994042
2015-11-07: http://forum.xda-developers.com/devdb/project/dl/?id=15067&task=get
2015-11-04: https://www.androidfilehost.com/?fid=24269982086987956
2015-10-31: https://www.androidfilehost.com/?fid=24052804347851183
2015-10-29: https://www.androidfilehost.com/?fid=24052804347848935
.
To build from source:
Code:
repo init -u https://github.com/AdrianoMartins/aosp_manifest.git -b android-X (replace with desired version)
repo sync
. build/envsetup.sh
lunch aosp_v500-userdebug
make -j4 otapackage
Credits:
The kernel is base on @ckret, @Rick Roll and @fefifofum kernel source, with additional patches from all community.
The device repo is based on the @fefifofum source for CM with my changes to AOSP and Marshmallow.
.
...
great, Im gona try it, keep up the great work man, hats off !
Oh my days!!!!!!!!!!!gonna flash it and give feed back. Thank you
@adrianom
Thank you for MM sweetness for our G Pad. Downloading now. Will report back for any issues.
Does wifi have issues like on cm11/12 when download speed is not higher 50mbps
Okay i got a random RESTART during the first charge cycle of this rom.... Still a lot to test tho
takis said:
Okay i got a random RESTART during the first charge cycle of this rom.... Still a lot to test tho
Click to expand...
Click to collapse
In offline charge (powered off)? If so, it was not yet implemented and reboot to os is the standard.
It was while the device was on
So, what I just did:
- Full backup of apps with TB
- Download MM version and SuperSu 2.52
- Reboot into Recovery
- Wipe everything but data partition
- Install ROM
- Install SuperSu
- Reboot
- Restore all apps with TB
Wifi working, camera working, flawless victory so far !
regards, mistersixt
mistersixt said:
So, what I just did:
- Full backup of apps with TB
- Download MM version and SuperSu 2.52
- Reboot into Recovery
- Wipe everything but data partition
- Install ROM
- Install SuperSu
- Reboot
- Restore all apps with TB
Wifi working, camera working, flawless victory so far !
regards, mistersixt
Click to expand...
Click to collapse
Couldn't restore app with TB, had to it manually. Fortunately don't have a lot of apps.
One issue I have found is that apps are unable to detect my sd card but in MMs Settings sd card shows all fine and can even be able to browse.
I'm using sandisk class 10 64gb card. It was running all fine in previous 5.1.1 Aosp rom.
adrianom said:
In offline charge (powered off)? If so, it was not yet implemented and reboot to os is the standard.
Click to expand...
Click to collapse
i also exercised the device on reboots on your last lollipop rom.
20-80% everything is fine, then 80-95 ~7 reboots, I lately use twrp to charge.
so maybe not an MM specific issue.
i will flash MM tomorrow, if it happens again i will send a log
I have also tested most of the basic tablet functions if not all and they seem to work.... I have a feeling that only charge/reboot/storage problems will have to be fixed ....
Darkmasterhk said:
i also exercised the device on reboots on your last lollipop rom.
20-80% everything is fine, then 80-95 ~7 reboots, I lately use twrp to charge.
so maybe not an MM specific issue.
i will flash MM tomorrow, if it happens again i will send a log
Click to expand...
Click to collapse
This information is very important, this indicate that maybe is a heat alarm when the device reach this level.
One question, you are using the standard charger?
Test the Marshmallow version and if it occurs, report with a log, I'll check this.
adrianom said:
This information is very important, this indicate that maybe is a heat alarm when the device reach this level.
One question, you are using the standard charger?
Test the Marshmallow version and if it occurs, report with a log, I'll check this.
Click to expand...
Click to collapse
yes/no its the v3 edition shipped with my g4 but basically the same. (same power)
will try it with stock one tomorrow.
rshahzad17 said:
One issue I have found is that apps are unable to detect my sd card but in MMs Settings sd card shows all fine and can even be able to browse.
I'm using sandisk class 10 64gb card. It was running all fine in previous 5.1.1 Aosp rom.
Click to expand...
Click to collapse
Same here. Apps can't detect SD card.. But able to see and browse through settings. I have Sandisk 32GB Class 10 card.
Not a deal breaker to me.

[ROM] [Unofficial] [Stable] [6.0.1] CyanogenMod 13.0 for trltespr

Disclaimer
This ROM is constantly under development, and the file(s) provided are a snapshot at a particular point in time. There are no guarantees that they will work. On the other hand, it's quite possible that the file(s) here may make your phone explode, make your boy/girlfriend leave for another country, cause you immense financial loss or other horrible things. The CyanogenMod team and I are not responsible for any of it.
***THIS ROM ONLY WORKS WITH OK1 OR PREVIOUS BOOTLOADERS/MODEMS***
Reporting Bugs
This thread is for development discussion of this ROM only. If you have encountered a bug, please try to reproduce it with a CLEAN FLASH without any other apps/data (unless specifically needed to reproduce the bug).
Valid bug reports will contain the items below as a minimum:
Steps to reproduce error
Phone firmware (Baseband) - (i.e. NK2, OB7, OG5) - You can find this by going to Settings->About phone and looking for Baseband version
Version of CyanogenMod (i.e. 2015XXXX-UNOFFICIAL)
Filename / version of gapps used if the issue may be related to gapps
Logcat - CatLog is a good Android app to save logs with. You can attach to your XDA post if you desire or use a service like PasteBin.
Installation Instructions
MAKE SURE YOU ARE ON OG5 OR GREATER BASEBAND!!!!
Use TWRP!
Do a nandroid! What happens when the ROM doesn't work?? You'll be stuck, that's what!
Factory Reset if this is your first flash of CyanogenMod 13.0! (Wipe Cache/Dalvik/Data)
Install the latest nightly ROM ZIP file!
Install your favorite gapps (Slim Marshmallow Gapps is the only version I consider at this point in testing)
What Works / Doesn't
Working: Mobile Data
Working: WiFi
Working: Camera / Camcorder
Working: Calls / SMS / MMS
Working: GPS
Working: Bluetooth
Working: External SD, including formatting
Working: S-Pen
[*]Not Working: Bluetooth (Voice Calls) -- Needs more testing and more logs (fixed in 01/22/16 build)
[*]Not Working: APN Access (even if you make an Activity shortcut) (fixed in 02/04/16 build)
[*]Not Working: Exfat formatted external SD cards (fixed in 12/16/15 build)
Not Tested: Anything not mentioned above.
Found Bugs
Camera takes a long time to launch the first time each boot (before asking for location permissions, if first time)
Camcorder crashes if you use UHD 4k resolution -- 1080p works fine.
Browser crashes when downloading files -- use Chrome instead or edit Browser's permissions to allow "Storage".
Brightness gets wonky - when you let the phone dim, it may not go back to normal brightness. Press power to turn off screen and press again to fix the brightness and turn screen back on. Seems to be resolved by turning off Ambient Display / Daydream.
Automatic time zones may not work properly. You can force a timezone in Settings->Date and Time
Sometimes calls will show up as "Unknown" in the call log.
Cannot use WiFi Hotspot in 5GHz Mode
Camera freezes when you use the flash -- use alternate camera from Play Store
Download
AFH
Sources
Device Tree
Common Tree
Kernel
To compile, you will need a proper build environment. You will also need a stock OG5 or OK1 ROM to extract the proprietary files from. These builds also use the Adreno blobs from "shamu" (here). The shamu blobs Adreno blobs replace any blobs from the OG5/OK1 ROM.
THIS THREAD IS NOT FOR BUILD ENVIRONMENT OR COMPILING DISCUSSIONS
Please be aware that cm-13.0 is in a HUGE state of flux. You should NOT depend on this as your primary ROM. I cannot guarantee that everything (or anything) will work.
If you cannot post a helpful message or a detailed bug report, please do not post at all.
XDA:DevDB Information
CyanogenMod 13.0 for trltespr, ROM for the Sprint Samsung Galaxy Note 4
Contributors
nivron, drcrimzon, fattire
Source Code: https://github.com/fat-tire/android_kernel_samsung_trlte/tree/cm-13.0
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.10.x
ROM Firmware Required: OG5 or Greater Baseband
Based On: CyanogenMod
Version Information
Status: Stable
Created 2015-12-03
Last Updated 2016-02-25
Changelogs
Below are changelogs for the different versions of the ROM available for download on AFH. Please re-read the original post, as the Working/Not Working/Known Issues section relates to the MOST RECENT version of the ROM.
06/21/16 - Probable Final Build
Upstream CM features and bug fixes
05/24/16
Includes "Gello" Browser instead of AOSP Browser
Specific ISO options in Camera are now selectable
Updated CPU/Architecture Variants for Build
Upstream CM features and bug fixes
05/18/16
Upstream CM features and bug fixes
05/05/16
Upstream CM features and bug fixes
04/12/16
Upstream CM features and bug fixes
03/21/16 - EXPERIMENTAL BUILD
Upstream CM features and bug fixes
Misc common updates to get closer to my branch
03/08/16 - EXPERIMENTAL BUILD
Upstream bug fixes and features
Updated time_daemon (fix time/date resets?) Credit: @placiano and @Pafcholini
SELINUX Enforcing
Back to Fat Tire's common repo (which I contribute to)
Charging Rapidly will now show if >= 750mA
Vibrator Intensity configurable via Settings->Display
03/01/16 - EXPERIMENTAL BUILD
Fingerprint Scanner (a bit tricky to use, but it works) - Credit: Ljzyal
Added sensorhub service - Credit: raymanfx, fattire
02/25/16 - EXPERIMENTAL BUILD
Upstream bug fixes and features
Less GPS Debugging in Logs
Removed init system prop generator
Removed trlteusc (because of above change)
Shimmed libqc-opt.so
Switched build to clang
Switched back to CM PowerHAL
Added hardware-backed graphics for Recents
Removed qcmediaplayer
Removed tcmiface
Stopped mpdecision from spamming the logs
Removed ZeroLemon fix (Battery Capacity Testing)
02/09/16
Upstream bug fixes
Fixed accidental touch input while in call
02/04/16
Upstream bug fixes
CM - Fresh installs won't default to 24-hour time or a particular date format.
CM - Live Lockscreen (currently cannot disable properly, will be fixed in future build)
APN Settings are now available/editable
Useless "Carrier Settings" option removed.
01/27/16
Bluetooth - Corrected to a more proper fix.
Upstream bug fixes
01/22/16
Upstream bug fixes
Forgot to add the ZeroLemon battery fix (AGAIN), should be back next build
01/14/16
New Camera App
Removal of Busybox in favor of Toybox (upstream AOSP change)
Upstream CM Changes
Forgot to add the ZeroLemon battery fix, should be back next build
01/04/16
Upstream CM Changes
12/16/15
Upstream CM Changes
Exfat external SD cards now are usable
12/10/15
Upstream CM Changes
ZeroLemon Fuel Gauge Fix (by TheLoneWolf20)
12/09/15
Upstream AOSP/CAF Changes
Upstream CyanogenMod Changes
Fixed Button Remapping (Recents Button Now Available for Mapping)
Re-Enabled Stylus Gestures
Added Updated Offmode Charging (Now With Icon!)
One of the upstream AOSP changes is related to DHCP on WiFi. Certain DHCP servers use non-standard UDP ports when they offer addresses. The prior build that was posted would not interpret these properly, and you would lose WiFi connectivity within a minute or so of connecting. This is now fixed.
12/03/15
Initial Version
6.0 is here!!
Thank u so much dude!!!
I'll fix in a bit but the OP says to get Slim Lollipop gapps. That was from me copying the old thread. Use the Marshmallow gapps, obviously!
Sent from my SM-N910P using Tapatalk
Thank you!
Please always review the current status of the ROM before posting any potential bugs. I'm also curious to see if our issue sending texts is fixed - the one that requires switching the network types.
Sent from my SM-N910P using Tapatalk
Superb. Great work nivs.
Getting folder not found in mega, it worked from the office about an hour ago but not anymore.
Won't download on my phone or pc link might be dead ?
Mega site is asking for decryption key ...
I'm uploading to AFH now, will update OP when complete with link.
See OP for AFH link.
Thanks ?
Does it have mobile Hotspot?
Nice work, keep it up!
I have tested and can confirm Hotspot is working.
Also can confirm Xposed Frameworks works without issue on this build as well, just make sure you get xposed-v78-sdk23-arm.
crazycori said:
Nice work, keep it up!
I have tested and can confirm Hotspot is working.
Also can confirm Xposed Frameworks works without issue on this build as well, just make sure you get xposed-v78-sdk23-arm.
Click to expand...
Click to collapse
Sms work without fix?
xyojimbox said:
Sms work without fix?
Click to expand...
Click to collapse
Yeah, I was able to send SMS and MMS without issues right after install.
drcrimzon said:
I'm uploading to AFH now, will update OP when complete with link.
See OP for AFH link.
Click to expand...
Click to collapse
Got it, it worked, thanks a billion! Loving MM
Thanks for the AFH upload! Silly MEGA.
I'm going to work on this a bit more today and try to get some of the bugs worked out. Future uploads will probably be AFH only.
drcrimzon said:
I'm uploading to AFH now, will update OP when complete with link.
See OP for AFH link.
Click to expand...
Click to collapse
Sent from my SM-N910P using Tapatalk
Does or when will this include the zero lemom mod if not does anyone know a kernel I can flash onto this that includes it? Also is this a nightly update?
Just a warning for any newb's, as it states:
•Not Working: Exfat formatted external SD cards
Anyone installs this ROM and has this type of filesystem with your EXTSdcard may very well have issues with your SD card and the ROM thinking it is corrupted and try to FIX (meaning it will format the disk). DO NOT DO THIS or you will lose your SDCard.
You may also have issues after you play with CM13 and go back to other ROMs with not being able to read the SDcard (thinking it is corrupted and not readable, this is NOT true, it is still there). I got around this by wiping device, and using CM12.1 (latest), copying all of my SDCard to my PC, then formatting the SCDard back to a universally readable filesystem.

[ROM][6.0.1][AOSP][OPTIMIZED] UltimateROM [Stable][FINAL #2][21.08.2018]

The Prehistory of UltimateROM
About a month ago I decided to set out to improve the performance of my phone with a more optimized build. I had already begun building OmniROM 5.1.1 with a some set of optimizations based on the work of OptiPop Team, and shortly after some the major issues on Marshmallow on our devices were resolved, this idea to create an ultimatively optimized AOSP-based ROM has born.
Why Should You Use UltimateROM? What makes it different?!
Honestly, I don't necessarily care, how many users or downloads my ROM has. Most importantly, and what I do care about is people liking and enjoying their phone; if you try UltimateROM and you like it, great! I'm glad you enjoy it. If you don't, maybe leave some feedback on how I can improve it, and go try something else in the meantime. If you'd like to know, what I've done that makes this ROM unique, here is a list:
Highly optimized. similar to Linaro(and in many ways, better than), build, resulting in a smoother Android
Compeletely developed in the open, everything I do is right on my GitHub for anybody to use and improve upon.
A unique kernel which attempts to balance features, stability, and of course, performance
Almost the sources, excluding apps, the SystemUI and some more, are based on CyanogenMod ones, which means there are more fixes and support for our legacy devices (even though CyanogenMod itself doesn't really support any devices like our, anyway google doesn't even do that minimal support as CM Team does)
Disabled SELinux. Looking backward on how many issues SELinux was causing and still causing for people that use it on MM, it seems to me a ridiculuos how google promotes and implements it everywhere, without any proof of improving anything rather than making worse.
Current Information
Everything I do with UltimateROM I always test personally on my phone, but anyway...
Code:
#include <disclaimer.h>
/*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modifications, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
*/
Please also note that currently I don't test installation with the Gapps. So far installation is only tested as dualboot ROM - though, the uploaded build is an usual one, - please let me know if the uploaded build has issues with booting, even though normally this should not happen.
What's working:
RIL (phone/SMS/3G)
Video (playback & recording)
Audio (playback & recording)
Wi-fi
Bluetooth
Camera (Front and rear)
2D/3D HW Acceleration
USB, MTP, ADB
all native tethers (Wifi/BT/USB)
external storage
What's not
Formatting SDcard as adoptable storage will screw it up (don't format / encrypt)
MTP bug with doubled folders in sdcard root folder
ROM features:
Dark Marshmallow Theme
long volume press to skip track
PA Pie control
SlimRecents / improved AOSP recents
Re-added task manager
Navigation Bar
System UI tuner
expanded desktop
storages are swapped by default
extended reboot menu
customizable button backlight settings
Viper4Android FX
superuser embedded
Download
UltimateROM
Installation
Before installation, make sure that you have enough free space on partition /system. AT LEAST 540 Mb is required for this build if installing WITHOUT any Gapps. If you don't have enough space, follow repartition manual. (at your own responsibility for any kind of possible damage. Be sure to measure twice and cut once!). There is a CWM ReParted zip that was tested by @Culateralligator.
wipe cache
make sure you're using TWRP 2.8.6.0. All the below is only tested on this recovery. Philz is not supported by this ROM and not planned to in the near future. Note that TWRP from the linked topic requires preinstalled chrono kernel.
install ROM first
install latest chrono kernel
install gapps (optional), if you do so, make sure you are not running of space on /system ( about GApps )
Sources:
https://github.com/UltimateROM/android_manifest
Thank Yous
SergeyL - many-many thanks for an initial set of patches, device tree and TWRP 3.0.0.0! Also thanks for helping me implementing some features to this ROM.
JDCTeam, BenzoROM - thanks for great cherry-picks!
MWisBest - this project was heavily inspired by his FML (Fork My Life) ROM
OptiPop - an initial set of optimizations that the currently used by me is based upon
@Meticulus - thanks for his great contributions on our devices!
@AGONTUK - thanks for an initial Marshmallow bring up!
@nieltg - Sources for Galaxy Ace 2 device
@golden-guy - thanks for great cherry-picks !
@TeamCanjica - vendor and hardware sources
@Unjustified Dev - Audio fixes
Google
CyanogenMod
AOKP
SlimROMs
EuphoriaOS
OmniROM
AOSPA
Viper4AndRroid Team
And many other devs, I could forget (please write me if I did so).
Special Thanks
@shaqman89 - for providing the build server
@S.AMU - for providing FTP server
XDA:DevDB Information
UltimateROM, ROM for the Samsung Galaxy Ace II
Contributors
ChronoMonochrome, SergeyL, JDCTeam, OptiPop Team, BenzoROM, OmniROM, AOKP, CyanogenMod, SlimRoms, AOSPA, Temasek.
Source Code: https://github.com/UltimateROM
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Stock 4.1.2 ROM or up + kitkat-compatible recovery
Based On: AOSP, CyanogenMod
Version Information
Status: Stable
Created 2016-03-20
Last Updated 2018-08-20
Changelogs
Changelog
20.08.2018 - build #13
sources update
switch to opensource sensors
switch more device libs to open source base
unified codina / janice build
02.12.2017 - build #12
fixed native moving apps to SDcard
APP2SD and similar apps now should work correctly *
fixed second incoming call not to crash rild (not tested, needs confirmation), thanks to @SergeyL
small RIL fixes
NOTE: installation method was updated. Flash latest chrono kernel build after this ROM install.
02.04.2017 - build #11
kernel updated to r5.0
sdcard mount fixes
integrated an unofficial build of the Xposed framework
ported the utility mtools *
* for repairing the broken sdcard label you can move the file /system/bin/mtools to /system/xbin folder, then type in the terminal emulator mlabel/i]. It will show the current sdcard label and will prompt to type the new one.
27.02.2017 - build #10
updated sources to 6.0.1_r78
added an initial support of the PowerHAL *
ported some changes from Resurrection Remix 7.1.1 build (thanks to SergeyL for patches)
updated kernel to r5.x.x (mostly updates from google android-3.4 kernel)
changed recovery to TWRP 3.x.x
unstable MySQL optimizations are reverted
changed buttons backlight mode - backlight is only enabled when buttons are pressed
experimental change scheduling policy of the surfaceflinger to FIFO
maybe, something yet
* at the moment there's no support of changing the PowerHAL profiles from the Settings, however, you can change profile in a file /system/etc/init.d/999powerhal
Proceed installation of this build only with data wipe.
20.09.2016 - build #9
Fully switched to an opensource RIL! Many thanks to Meticulus for finding the working RIL sources and fixing it, also I'd like to thank millosr and mickybart from Nozomi (Xperia S) forum for fixing the crash when performing a call and providing patches for debugging the proprietary libril!
More libs now are built from source - credit goes to Meticulus
Added sdcardfs support (requires at least build r4.8 of Chrono Kernel)
Added home key press to accept the incoming call and power key press to end the active call features from CyanogenMod - thanks to SergeyL for helping with finding those patches
Changed LowMemoryKiller tunables to the more aggressive + increased zram size to 400Mb - multitasking should be (hopefully) better
Changed Dynamic governor tunables to be more aggressive
Various minor fixes that improves the stability of ROM
We've also finally got rid of all shim (i.e. interposed) libraries that were needed in order for some features (camera, GPS etc) to work
30.05.2016 - build #8
updated wifi autoconnection fix (fixed the battery stats)
fixed SystemUI FC when switching USB mode via status bar notification
fixed GSM / WCDMA preferred / WCDMA Only switching
fixed soft reboot when switching 2G/3G with an enabled mobile data
added Pie Control from Paranoid Android
added SlimRecents
updated AOSP recents implementation ("clear all" button doesn't properly work, so don't enable it or use SlimRecents)
added task manager
allowed disabling of brighness slider disabling
revert AOSP camera to 5.1.1 (fixed the photo cropping issue)
added FAT images mounting via UMS support (use
sys.config.opt_sd0device=full_path_to_the_image.img build.prop setting to override the device mounted as Sdcard0 or sys.config.opt_sd1device for Sdcard1)
26.05.2016 - build #7
Work around wifi autoconnection issue
Fixed video encoding issue by some apps (instagram video upload etc) - thanks to Meticulus for the original patch
Added LockClock back
Added option to show the weather in the status bar
Various small improvements, tweaks etc.
23.05.2016 - build #6
More ROM modules compiled with GCC instead of Clang (GCC supports more optimizations)
Almost ROM modules compiled with Link Time Optimizations
Enabled graphite optimizations for more ROM modules
Added autovectorization optimization on per-modular base
More modules built in ARM mode
Allowed disabling of FC notification
Added time-context custom header images feature
Added customization of the carrier label
Added SystemUI tuner
Added display autorotation setting
19.05.2016 - build #5
updated kernel to r4.4.1
added and enabled by default UMS (USB Mass Storage) mode
re-added some default AOSP optimizations
added navigation bar
added battery level icon customization setting
added long back press to kill app feature
remove 3 secs delay in Superuser before to give the app permissions
added feature of disabling mediascaner at boot
added Sqilte performance improvements
disabled an unnecessary debug
another fixes / improvements
fixed graphical glitches in some apps caused by new UMP lib
resized bootanication (thanks Lemu @ 4pda.ru)
fixed init.d scripts
added aggresive Dynamic governor settings
13.05.2016 - build #4
cleaned up the default google optimizations, removed unnecessary flags
disabled forcible ARM mode optimization - until I revisit this again
added performance settings from OmniROM
added CM Filemanager
added a few more opensource code to libUMP, replacing calls to old library
fxed up an inadeqate CPU time consumption caused by logd process
6.05.2016 - build #3
updated sources to 6.0.1_r30
kernel update to r4.3.1
switched to GCC 5.3 toolchain by UBER
enabled graphite, fast math, loop nest, unsafe loop and some more optimizations
entire build is compiled in ARM mode
switched to opensource RIL libraries (based on CyanogenMod repos)
UMP (Unified Memory Provider) library now is mostly opensource - based upon CM sources
Attempt to fix storage permission issues in some apps such as browser - not tested
fixup for RIL java code - thanks to @SergeyL
disabled scrolling cache
SQLite code optimizations
Reduced various delays
many other fixes and improvements - thanks to SergeyL for patches
20.03.2016 - build #2
fixed APN editor crash
added removed fonts back
removed Gallery, Calendar and PrintSpooler
Viper4Android driver post-install (no need to install manually anymore)
Fixed busybox related issues
20.03.2016 - build #1
initial release
Miscellaneous
reserved
Take some time to try this ROM, and now there are some issues
1.there are lost 4 opentype fonts (compared with Sergeyl's CM13)(JP,KR,SC,TC-Regular),so Simplified Chinese display likes XXX
2.V4A needs to works with busybox, lol...
But ROM works smooth
fim5646 said:
Take some time to try this ROM, and now there are some issues
1.there are lost 4 opentype fonts (compared with Sergeyl's CM13)(JP,KR,SC,TC-Regular),so Simplified Chinese display likes XXX
Click to expand...
Click to collapse
These are removed, because of overly sized ROM. Are these fonts only that support these languages? If so, I'll of course re-add them. I was comparing this ROM to my OmniROM and haven't found these fonts, so I thought they can be safely removed.
2.V4A needs to works with busybox, lol...
Click to expand...
Click to collapse
I guess, it's common 6.0.x problem, as busybox has got partially replaced by toolbox and toybox from AOSP, thus making some apps confused.
ChronoMonochrome said:
These are removed, because of overly sized ROM. Are these fonts only that support these languages? If so, I'll of course re-add them. I was comparing this ROM to my OmniROM and haven't found these fonts, so I thought they can be safely removed.
Click to expand...
Click to collapse
Yeah,these 4 fonts only support Janpanese,Korean,Simplified Chinese and Traditional Chinese,(lastest outdated AOSP 6.0 has same problem...)Maybe OmniROM has different font files
ChronoMonochrome said:
I guess, it's common 6.0.x problem, as busybox has got partially replaced by toolbox and toybox from AOSP, thus making some apps confused.
Click to expand...
Click to collapse
Yeah....
Is there any way to fix sdcard problem?
And thanks for this awesome rom.
Fake2Dead said:
Is there any way to fix sdcard problem?
Click to expand...
Click to collapse
What problem exactly?
What GApps should we install, these modified by SergeyL? open_gapps-arm-6.0-pico-20160204.zip
https://yadi.sk/d/HX0CiHNnoGiC5
Culateralligator said:
What GApps should we install, these modified by SergeyL? open_gapps-arm-6.0-pico-20160204.zip
https://yadi.sk/d/HX0CiHNnoGiC5
Click to expand...
Click to collapse
GApps aren't personally tested by me, but I guess, you'll need those provided by SergeyL else keyboard will crash.
ChronoMonochrome said:
What problem exactly?
Click to expand...
Click to collapse
phone says sandisk sd card is corrupted. I tried to format from phone but it didn't work. Also i can't use my camera without external sdcard. And why extsdcard is sdcard0
"Sorry for my english if a have a fault"
Fake2Dead said:
phone says sandisk sd card is corrupted. I tried to format from phone but it didn't work. Also i can't use my camera without external sdcard. And why extsdcard is sdcard0
"Sorry for my english if a have a fault"
Click to expand...
Click to collapse
Did you format your sdcard as adoptable(internal) storage? This is something you actually shouldn't do and it's explicitly mentioned in the issues list as it doesn't work properly on our devices. SDcard should normally work without formatting (in case of M - which also performs encrypting of it), thanks to @SergeyL work. Now you have to format sdcard from Windows / *nix / whatever other OS; if even this won't help, we'll probably need a volunteer to test it. Personally for me sdcard works, but you may want to try SergeyL's CM13 to see if it's working there.
WiFi is unstable, lost connection from time to time, Web Browser is crashing. And any of gapps do not work - do not fit in system. Yes, i readed first post, i have orginally partitioned internal card and do not want touch it. SergeyL's CM13 work with smallest gapps
ChronoMonochrome said:
Did you format your sdcard as adoptable(internal) storage? This is something you actually shouldn't do and it's explicitly mentioned in the issues list as it doesn't work properly on our devices. SDcard should normally work without formatting (in case of M - which also performs encrypting of it), thanks to @SergeyL work. Now you have to format sdcard from Windows / *nix / whatever other OS; if even this won't help, we'll probably need a volunteer to test it. Personally for me sdcard works, but you may want to try SergeyL's CM13 to see if it's working there.
Click to expand...
Click to collapse
Thank you so much for help. I tried to format from windows(exfat) and it worked!
Edit: Don't try to format sdcard as fat32 it didn't worked on me
Pastorious said:
WiFi is unstable, lost connection from time to time, Web Browser is crashing. And any of gapps do not work - do not fit in system. Yes, i readed first post, i have orginally partitioned internal card and do not want touch it. SergeyL's CM13 work with smallest gapps
Click to expand...
Click to collapse
I can confirm Web Browser is unstable.
I haven't those WiFi problems yet, but I'm testing for little time.
What do you mean with smallest GApps?
I've tried no repartition + SergeyL GApps and I get ERROR CODE 70 -not enough system space-.
Culateralligator said:
I
What do you mean with smallest GApps?
Click to expand...
Click to collapse
I found somewhere gapps ~45MB, still too big for install, i have no idea how install Play shop
New build is 20.03.2016(#2) UP!
Changelog
fixed APN editor crash
added removed fonts back
removed Gallery, Calendar and PrintSpooler to free up some space
Viper4Android driver post-install (no need to install manually anymore)
Fixed busybox related issues
Might fix GApps not being fitted on /system issue in the future, but I'll need a volunteer to test the new partition scheme. If anyone knows how to modify CWM repartition scheme zip and create a new one with ~700-750Mb on /system, it would be even much great, because right now I have absolutely no time for this.
Enjoy!
Something weird... I've connected phone to PC 5-6 times.
Last 2 times appears sdcard1 with 1,09GB (real internal sd).
However, I have access to files of real external sd. But when I try to paste a file, it says I have no space for it.
Succesfully installed gapps removed printspooler webbrowser gallery calendar clock and 1 more thing and i found 48 mb gapps
Culateralligator said:
Something weird... I've connected phone to PC 5-6 times.
Last 2 times appears sdcard1 with 1,09GB (real internal sd).
However, I have access to files of real external sd. But when I try to paste a file, it says I have no space for it.
Click to expand...
Click to collapse
Indeed, it seems that I have misapplied one fix to the vold binary. Does this issue also appear on CM13?
P.s. it's possible that vold from CM13 will also work, because UltimateROM use same sources as CM. Can anyone try replacing /system/bin/vold and check if it helps?

[ROM][UNOFFICIAL][S8/S8+][9.0]Resurrection Remix

Resurrection Remix P
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.
Thread discontinued because Resurrection Remix dropped by main devs. At this moment we testing Havoc-OS based on android ten.
Check our telegram group!
**************************************************
ABOUT
**************************************************
LineageOS, SlimRoms, Omni and original Remix ROM builds, this creates an awesome combination of performance, customization, power and the most new features, brought directly to your Device. Many things that in previous versions were tweaked with mods, are now included by default in the ROM.
**************************************************
INSTALL
**************************************************
Make sure you have a TWRP installed
Download the latest Resurrection Remix Rom & the latest GApps package
Boot into recovery
Perform a FULL factory wipe and wipe/system and dalvik cache as a precaution
Flash ResurrectionRemix Rom
Flash Google Apps package(Optional)
Flash Magisk Root(Optional)
First boot may take up to 10 minutes.
**************************************************
DOWNLOAD
**************************************************
S8 ROM
S8+ ROM
GApps
**************************************************
SOURCE
**************************************************
Resurrection Remix Source
Device Source
**********
Changelog
**********
If you have a major bug to report that has not been reported already, please take the following steps to report it to us. It will save you, Team Resurrection Remix and me quite some time.
Download the MatLog app from the Play Store.
After downloading the MatLog app, go to the app settings, and change the log level to Debug.
Clear all previous logs and take the exact steps to produce the error you are receiving. As soon as you receive the error (probably a force close), go straight into MatLog and stop the log recording.
Copy and paste the entire log either to Hastebin or Pastebin
Save the log, and copy and paste the link into the thread with a brief description of the error.​
Our telegram group​If you want to donate me:
PayPal link
Webmoney:
Z687183244249
R261696948858
Yay
Congrats. Nice!
Changelog:
---- 19.12.19 ----
Snap camera changed to fixed stock LineageOS camera
Fixed 2nd sim ringtone
Minor kernel fixes
---- 13.12.19 ----
Merged December update from LineageOS sources
Updated PowerHAL to 1.3
Updated RZ kernel
Fixed SystemUI crash for some users
Fixed error correction when requesting processing NetworkRequest
Fixed bug fix for CaptivePortalLogin processing request
Removed loading unnecessary DropBox and EventLogger services
Fixed errors when processing SocketClient
Small fixes of camera
Small fixes of touchscreen
---- 04.12.19 ----
Auto OK when typing pin in lock screen
Fix camera lags
PowerHAL tweaks
December security patch
Other minor fixes
---- 29.11.19 ----
Built-in new RZ kernel
New power Hal
Updated sources
Other little fixes
---- 25.11.19 ----
Touchscreen optimization
Fix dexopt priority
UFS optimization
CPU OC (2652 MHz)
GPU OC (572 MHz)
Added doubletap2wake, swipe2wake, swipe2sleep, LED settings, ksm settings (check MTweaks)
SQRT optimization
Updated MTweaks
Some other important kernel fixes
---- 16.11.19 ----
Added extended network mode settings
Forced merged Android 9.0.0 r50
Updated sources
---- 13.11.19 ----
Fix camera freezes in apps (WhatsApp, Instagram, etc.)
Fix selinux
Sound quality fix
Fix wakeup bugs
Updated sources
Other kernel fixes
---- 10.11.19 ----
Fix missing torch state
Fix null keystore
Fix Samsung hal sensors
Fix crash selecting network
Fix other kernel crashes
Added Samsung saveplace remover
Fix Samsung Doze
Updateed sources
Other minor fixes
---- 05.11.19 ----
Fix signal bar
Fix GPU drivers
---- 04.11.19 ----
Added dream2lte (S8+) support
Fix video autoscaling
Added support calling add states
Fix bugs regarding system-app
Added permission Gallery3D
Removed notification about SD card
Revert edsynchronous resource
Fix libui symbol camera
Fix invalidation frames
Ignore invalid usage bits
Fix colorspace HWC
Fix load legacy HAL light
Fix libhwc2on1 adapter
Fix load legacy HAL Audio
Fix delete files from SD card
Fix save photos to SD card
Fix a2dp fake owerflow
Allowed run services without selinux
Set permissions addon-d
Cleanly exit subcontent
Allow device skip mounting
Added sdfat support
---- 03.11.19 ----
Used Stricted's source
More performance, battery life
Updated sources
Other minor, but important fixes
Signal bar works incorrectly, but will be fixed soon
---- 25.10.19 ----
Fix HWC libs (more perfomance)
Kernel fixes
Updated sources
---- 21.10.19 ----
Fix deleting photos / videos from external SD in the Gallery application.
Modification of the sdcardfs driver for compatibility with RR.
Fixed problems with USB connection to PC
Memory leak fixes
Other minor but important fixes
---- 19.10.19 ----
Updated security version
Updated source
Other minor fixes
---- 13.10.19 ----
First release
Finally an open source device tree for G950F!!! ???
Where did you get it from?
bamsbamx said:
Finally an open source device tree for G950F!!!
Where did you get it from?
Click to expand...
Click to collapse
My friend from 4pda collected it
it boots but freezes at the lock screen.
Will it be available to s8plus (g955f)
ibrahim9.8 said:
Will it be available to s8plus (g955f)
Click to expand...
Click to collapse
Maybe later
Vídeo quality on instagram is so poor
Everything works fine and lag free, except in-app camera in apps like WhatsApp. It starts once and is a bit laggy but second time it doesn't even start and requires a phone restart.
ir4hul said:
Everything works fine and lag free, except in-app camera in apps like WhatsApp. It starts once and is a bit laggy but second time it doesn't even start and requires a phone restart.
Click to expand...
Click to collapse
It is associated with wrong using camera HAL by this apps. Don't know how to fix yet
While this work on G950U with safestrap
New build is up. Check Changelog
Does it have rmm prepatched??
Plz for S8+ also
Desparetely waiting for my S8+ also..
Does VOLTE work in this rom?
Hi,
Thanks for the good work !
I installed it today and eveything seems to work fine except there is a noise, like a breathe, in the speaker when normally phoning.
The hardware is not the problem, as there's not such a problem with Lineage.
Where should the problem come from and am I the only one ?
(SM-G950F)
Good work!
Now that you have the device tree source will you also make a Pixel Experience build?
That would be awesome!
Edit

Categories

Resources