LineageOS 15.1 | 09.03.2020 | Shield blobs - Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D

LineageOS 15.1​
FOR ROMS RELEASED BEFORE NOVEMBER 2018
Requirements:
1) active system1
2) merged system partition
Instruction
1) flash BootBlobs-SHIELD-mocha.zip
2) reboot to recovery
3) install this recovery
4) reboot to recovery
5) install the ROM
FOR ROMS RELEASED AFTER NOVEMBER 2018
Requirements:
1) active system1
2) merged system partition
3) BRAIN, READING SKILL and presence of basic knowledge about firmware (in the absence need learn to independently)
Instruction
1) download TosForPSCI-0.1.zip
2) unzip TosForPSCI-0.1.zip
3) download recovery-03.11.2018
4) go to fastboot mode
5) execute command: fastboot flash tos your path to tos.img
6) execute command: fastboot flash recovery your path to recovery-03.11.2018.img
7) reboot to new recovery(u can execute fastboot reboot holding vol+ button)
8) if you are on previous LineageOS 15.1 build then you may install the ROM without wipes. If you're not, make full wipes then
9) install current LineageOS 15.1 build
10) reboot to the system
Sources
Device
Kernel
Vendor
Changelogs
09.03.2020
system:
- the latest security patch
- audio HAL from miui(It may solve a couple of problems with sound, but it can break something else)
13.02.2020
system:
- the latest security patch
- fixed OMX(video playback hardware acceleration now works)
28.12.2018
system:
- the latest security patch
kernel:
- a little bit updated sdcardfs
- fixes of defects after switching to the new Synaptics touchscreen driver
12.11.2018
System:
- source code was updated
- added tile for activatingdeactivating battery charging
- free form window mode
kernel:
- PSCI downgraded to version 0.1
10.10.2018
System:
- source code was updated
kernel:
- new Synaptics touchscreen driver(possibly less lags)
- a little bit updated sdcardfs
- fixed a couple of security issues when using root
11.09.2018
System:
- source code was updated
kernel:
- reworked binder driver(the system should be more stable)
11.08.2018
system:
- source code was updated
kernel:
- dvfs driver was heavily updated(better power consumption)
- binder was updated
- therm_est thermal sensor was fixed
15.07.2018
system:
- source code was updated
- changes for devices with 3Gb RAM
kernel:
- added new driver(written by me) for reducing cpu power consumption in suspend mode.
- panel driver was changed for reducing power consumption in suspend mode
- palmas gpio driver was changed for reducing power consumption in suspend mode
18.06.2018
system:
- source code was updated
kernel:
- spectre patch by nvidia
- other small changes
15.05.2018
system:
- source code was updated
- software video playback in some apps was fixed
- usb internet sharing was fixed
- other small changes
kernel:
- sdcardfs was updated to the 3.18 kernel level.
- ability to change display colors was added
06.04.2018
system:
- sdfat was added(instead of vfat and exfat)
- microphone was fixed(broken in the 31.03 build)
- a lot of fixes in the device tree
kernel:
- sdcardfs was updated to the 3.18 kernel level.
- cpustats was updated
- sdfat was added
- fixed loading address of the kexec-hardboot
- ambient capabilities was added
30.03.2018
New:
- gyroscope
- 64-bit binder
- adjustable buttons backlight brightness
23.03.2018
The second public build
22.03.2018
The first public build
Broken:​- Cameras
- Video playback hardware acceleration
Download:​Touchscreen hotfix for ROM released at 29.12.2018
ROM folder
Last build
XDA:DevDB Information
LineageOS 15.1, ROM for the Xiaomi Mi Pad
Contributors
Artemka2008
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.10.x
Version Information
Status: Stable
Created 2018-10-07
Last Updated 2020-03-09

09.03.2020
system:
- the latest security patch
- audio HAL from miui(It may solve a couple of problems with sound, but it can break something else)
What is "tile for activating\deactivating battery charging"?
- this is system icon(like performance profiles) which permits\prohibits the supply of current to the battery at the time when the charger is connected.
Why do we need that tile?
- if you play, watch a movie or perform another costly action, then activating this mode will save the battery from unnecessary wear because energy will go directly from the charger. But you need a fairly powerful charger, if the power of the charger is not enough, then partially the consumption will be compensated by the battery.
What happens if you do not install TosForPSCI-0.1?
- at best, only one CPU core will be active. At worst, the recovery will not be started (if it has not been updated too) and the system too.
How to roll back on the firmware version, which came out before November?
- download TosForPSCI-0.2 and recovery. You'll be able to flash older ROMs after installing them
Why do I need to lower the PSCI version from 0.2 to 0.1?
- Using version 0.1 fixes a problem with shutting down a device.

does this have any bugs?

What is this? Felt like new tablet.

I flashed the latest ROM 10.10.2018 yesterday. The Wi-Fi is unusable - after the tablet goes into sleep for some time, when you wake it up, the Wi-Fi connection is gone (meaning it doesn't see any SSID at all). Turn off/on the Wi-Fi does not help. Only way is to reboot the tablet. Any suggestions?

staying on 14.1 due to only video hardware acceleration

Is it possible to flash LOS 15.1 without the shield blobs?
Is it possible to fix the camera by changing the permission of the build .prop file?

Great Build!! Keep it up!

There is one issue in display. The screen flickers some times while using the device.

StarkAhmed said:
Is it possible to flash LOS 15.1 without the shield blobs?
Is it possible to fix the camera by changing the permission of the build .prop file?
Click to expand...
Click to collapse
Lol. No, it's not

Artemka2008 said:
Lol. No, it's not
Click to expand...
Click to collapse
By the way what are shield blobs and what happens to my mi pad when I flash LOS without the blob?

I cant install it. Error 7 in flashing. Any idea how can i fix it?

Guys, install shield blobs properly before installing this. Read the main post carefully.

Requirements:
1) active system1
2) merged system partition - how i can marege partiton?
---------- Post added at 04:25 PM ---------- Previous post was at 03:40 PM ----------
I try everything but don't work on my mi pad....

"I flashed the latest ROM 10.10.2018 yesterday. The Wi-Fi is unusable - after the tablet goes into sleep for some time, when you wake it up, the Wi-Fi connection is gone (meaning it doesn't see any SSID at all). Turn off/on the Wi-Fi does not help. Only way is to reboot the tablet. Any suggestions?"
Hi, I also experienced the same problem. Turning airplane mode on then off solved the problem, wireless networks showed up and mipad connected automatically.

@Artemka2008 I am upgrading from October build to November. Should i remain in shield blobs or go back to mocha blobs? I can see from your instructions that for ROMs from November, flashing shield blobs is not necessary.

Can't get the lastest rom to boot. Reverted back to Tos 0.2 and used the recovery before November, still not booting, stuck on MI logo.
Never experienced any problems before. Any suggestions are welcome

Same with me. Stock with mi logo. But other roms work.

Identity77 said:
Same with me. Stock with mi logo. But other roms work.
Click to expand...
Click to collapse
Which roms are working? And are you on the PSCI-0.1?

Palm Trees said:
Which roms are working? And are you on the PSCI-0.1?
Click to expand...
Click to collapse
Im on psci0.1 now and aospextended 8.1. touch to wake dont work in this november roms. Only lineageOS doesnt work for me. Its stock in mi logo

Related

[DISCONTINUED][ROM+KERNEL+TWRP][5.1.1] Unofficial CyanogenMod 12.1 [May 15, 2015]

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.
*
*/
This is an unofficial CyanogenMod 12.1 Lollipop ROM. This is currently a work-in-progress, so you can expect to run into problems while using it.
You must perform a full wipe (wipe /data) before installing this ROM for the first time. New updates can be flashed on top without wiping anything.
The first boot may take up to 10 minutes.
Working:
WiFi
GPS
SD card
Modem
Mobile data
SMS
Phone calls
Audio
Camera
Camcorder
NFC
Bluetooth
Sensors
Video playback
Flashlight
USB
MTP
VoIP
Anything else that isn't listed as broken
Issues:
SELinux is currently set to permissive
Device sometimes (very rarely) locks up at the boot animation
Kernel source code:
(cm-12.1 branch): https://github.com/sultanxda/sultan-kernel-celox
Credits (in no particular order):
The CyanogenMod team
CyanogenMod contributors
CAF
dhacker for the gapps
ivanich
bryan2894
If I forgot you, slap me and force me to use an iPhone 4 running iOS 8
Social networking:
Google+ community
Downloads:
NOTE: You must virtually repartition your device, otherwise you cannot install this ROM! See the 3rd post for details.
ROM: https://www.androidfilehost.com/?w=files&flid=29849&sort_by=date&sort_dir=DESC
Google apps by dhacker (click on 'Download Now'): http://d-h.st/BX7Q
Kernel-only updates/kernel Aroma installer*: https://www.androidfilehost.com/?w=files&flid=22694&sort_by=date&sort_dir=DESC
TWRP recovery updates**: https://www.androidfilehost.com/?w=files&flid=26969&sort_by=date&sort_dir=DESC
*The ROM comes with my kernel built into it; however, sometimes I may release an update for only the kernel and not the entire ROM, so the newest ROM update might not come with the newest kernel. The kernel-only update package also comes with an Aroma installer that can be used to configure some kernel options (such as display undervolt).
**You must have completed the repartitioning process in order to install the TWRP recovery updates.
XDA:DevDB Information
CyanogenMod 12, ROM for the SGH-T989
Contributors
Sultanxda
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.0.x
Based On: CyanogenMod
Version Information
Status: Beta
Created 2014-11-07
Last Updated 2015-07-06
Changelog:
May 15, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Android 5.1.1
*Fixed audio issues (credit: bryan2894)
*Fixed mobile network issues (credit: bryan2894, noobnl, arco, toastcfh, EnderBlue, nardholio, stargo)
*Fixed Google Play Services wakelocks (credit: Calkulin)
*Synced display HAL with CAF LA.AF.1.1_rb1.17
*Synced media HAL with CAF LA.AF.1.1_rb1.17
Kernel:
Sultan kernel v1.8.5:
*Added option to always enable low-power flash
*Updated core logic of the CPU input boost driver
April 18, 2015:
ROM:
*CyanogenMod 12.1
*Android 5.1
Kernel:
Sultan kernel v1.8.4:
*Reverted to CAF jb_2.5 GPU drivers
*Small improvements to CPU input boost
*Fixed a small bug in EBLN
March 18, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Attempted to fix audio issues
Kernel:
Sultan kernel v1.8.3:
*Fixed 2D GPUs (fixes reboots in Gallery and other random apps)
*CPU input boost is now intelligent:
-CPU input boost automagically decides which CPU cores to boost
-Decides which frequency to boost to
-Decides how long to boost the CPU
March 4, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed black screen when using secure apps (such as banking apps)
Kernel:
Sultan kernel v1.8.2:
*Upgraded GPU (KGSL) drivers to CAF LA.AF.1.1_rb1.12
*Increased GPU memory by 4x (fixes black screen and subsequent force close when trying to play some games)
March 1, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed broken microphone after using Snapchat or Hangouts Dialer
*Fixed VoIP
*Fixed USB charge-only mode
Kernel:
Sultan kernel v1.8.1B:
*Synced with ROM changes (the kernel itself is still exactly the same as v1.8.1)
February 28, 2015:
TWRP:
*Added back USB mass storage mode (for the external SD card)
*Fixed MTP
February 26, 2015:
ROM:
*Latest upstream CyanogenMod changes
*ROM has been virtually repartitioned for more storage space:
-You will now have 11GB of internal storage for apps
-You will now have 2GB of system space to install any Google Apps package you want
*You must "virtually" repartition your device to install this update. See the third post for instructions: http://forum.xda-developers.com/showpost.php?p=56564718&postcount=3
Kernel:
Sultan kernel v1.8.1:
*Enabled MMC deferred resume feature (saves power)
February 13, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Potentially fixed freezing issue
Kernel:
Sultan kernel v1.8.0:
*Merged entire kernel with CAF jb_1.9.6
*Removed some garbage
*Added NTFS support
Old changelogs:
February 4, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Added SystemUI force-close fix
*Added workaround for Bluetooth issues and audio going to max when receiving a notification (thanks to myfluxi)
Kernel:
Sultan kernel v1.7.0:
*Enhanced BLN now switches to the low-power always-on mode after the blink timeout expires (it stops blinking and keeps the backlights on, while removing the BLN wakelock to save power)
February 2, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Potentially fixed broken mobile data for some unlucky users (take #6)(my money's on this one)
*Increased input boost duration to 1200ms
*Attempted to fix bluetooth streaming issues
Kernel:
Sultan kernel v1.6.9:
*Actually un-broke BLN (mega-derp)
*Updated some net drivers from Grouper's Lollipop kernel
January 31, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Potentially fixed broken mobile data for some unlucky users (take #5)
Kernel:
Sultan kernel v1.6.8:
*Un-broke BLN (derp)
January 30, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed mobile data
*Potentially fixed bluetooth issues
Kernel:
Sultan kernel v1.6.7:
*Fixed potential disruptions in enhanced BLN (the LEDs will always blink at a constant rate now)
January 25, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Potentially fixed broken mobile data for some unlucky users (take #3)
*Potentially fixed random audio issues
Kernel:
Sultan kernel v1.6.6:
*Made BLN blink timeout configurable
*Fixed null pointer dereference in keypad driver
January 23, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Potentially fixed broken mobile data for some unlucky users (take #2)
*Added back 2MP front-facing camera quality
*Fixed camera crash when taking pictures with 2MP front-facing camera quality
*Added USB mass storage mode
*Fixed USB OTG support
*Fixed contacts to SIM
*Reduced input boost duration to 900ms
*Fixed video recordings randomly not saving
*1080P and 720P videos you record are much smaller now (file sizes are smaller)
*Added support for Enhanced BLN
*Added Notification LED options to settings for Enhanced BLN (go to Settings->Display & lights->Notification light to configure Enhanced BLN)
Kernel:
Sultan kernel v1.6.5:
*Reverted CAF LA.AF.1.1_rb1.7 audio backport
*Increased vmalloc reserve from 432MB to 512MB
*Added some upstream Linux network patches
*Removed lots of garbage
*841MB of RAM
*Wrote new BLN driver from scratch named Enhanced BLN
*Added always-on mode to BLN (this keeps the backlights on forever with no timeout, and it does not make them blink; when always-on mode is enabled from Settings, BLN does not use a wakelock and the main BLN work function is suspended)
*Other Enhanced BLN features:
-Configurable on/off blink speed (go to Settings->Display & lights->Notification light to configure it)
-Supports different speeds for the LEDs to turn on and off (ex: you can have the lights turn on for 2 sec and then off for 1 sec)
-Properly stops blinking when it is supposed to
January 9, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Bluetooth audio issues should be fixed
*Potentially fixed broken mobile data for some unlucky users
*Disabled 2MP front-facing camera resolution for now (this was crashing the camera; no more HD duckface selfies )
*Fixed off-mode charging
*Fixed soft reboot when turning WiFi off and on
*Other fixes/improvements that I can't remember
Kernel:
Sultan kernel v1.6.2B:
*Synced with Jan. 9th ROM changes (the kernel itself is still v1.6.2)
January 7, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Fixed phone calls (thanks to bryan2894)
*Fixed 1080P video recording
Kernel:
Sultan kernel v1.6.2:
*WiFi is a module again
*Added back support for loadable modules
*Reverted wireless stack backport from the Galaxy S5 (didn't do anything useful)
January 3, 2015:
ROM:
*Latest upstream CyanogenMod changes
*Android 5.0.2
*Fixed moving apps to SD card (credit: ivanich)
*Fixed crashes when putting the device to sleep
*ROM is now flashed using block-based flashing (more secure and the ROM flashes faster now)
*Fixed battery stats
*Fixed missing fonts
*Added multi-user support
*Fixed a bunch of other things that I can't remember
Kernel:
Sultan kernel v1.6.1 (included version):
*Removed KSM (our CPU literally don't got time fo dis)
*Added kernel-based thermal mitigation driver
*Fixed minfreq getting stuck to the input boost frequency (1134MHz) when the user tried to modify the minfreq during a boost
Sultan kernel v1.6.0:
*Updated Ion memory drivers from CAF LA.AF.1.1_rb1.7
*Updated audio drivers from CAF LA.AF.1.1_rb1.7
*Added KSM support
*Increased Ondemand 2-phase frequency to 1134MHz
*Disabled kernel virtual terminal (tty0 device)
*Fixed camcorder bus overflow (this fixes the weird glitches that appeared in recorded videos)
*Updated xt_qtaguid from CAF LA.AF.1.1_rb1.7
*Fixed potential bugs in the CPU Input Boost driver
*Disabled early-suspend crap in the MDP driver (screen turns on faster now)
*WiFi is no longer built as a module (it's built directly into the kernel image)
*Disabled loadable module support (improves security)
*Backported wireless stack from Galaxy S5 kernel
*Updated WiFi drivers for compatibility with new wireless stack
December 17, 2014:
Kernel-only:
Sultan kernel v1.5.1:
*Fixed screen not turning on
*Fixed mobile data
December 14, 2014:
ROM:
*Initial CyanogenMod 12 release
Kernel:
Sultan kernel v1.5.0:
*Added support for Lollipop
Repartitioning Instructions
As of the February 26th update, I have virtually repartitioned the ROM. This means that you will now have 11GB of internal storage to install applications, and 2GB of system space to install any size Google Apps package that you want. Finally, no more storage space issues!
In order to install the February 26th update and newer updates, you must follow these instructions to virtually repartition your device. Note that this means your phone will not be actually repartitioned, so there is almost no chance that this process could brick or damage your device. After you have virtually repartitioned your phone, you will not be able to flash any other ROMs at all except for the February 26th update and newer versions of my ROM. The reason for this is that the special TWRP recovery I made for the new partition layout only allows you to flash ROMs that use the new partition layout. If you want to use a ROM that uses the original Samsung partition layout then you will need to flash a different recovery, and you must back up (nandroid) and restore your data manually.
If this is your very first time ever installing this ROM then skip step 6. After you have completed repartitioning once, you will not have to do it again unless you switch back to a ROM that doesn't use my partition layout (in other words, a ROM that does not have 11GB of internal app storage space).
Repartitioning instructions:
Materials:
Latest official TWRP recovery: http://forum.xda-developers.com/showpost.php?p=58814838&postcount=1271
Data-transfer package: https://www.androidfilehost.com/?fid=95916177934535406
Newest version of my TWRP recovery: https://www.androidfilehost.com/?w=files&flid=26969&sort_by=date&sort_dir=DESC
If anything goes wrong for you at any time then you can simply reboot your phone normally to get back into CyanogenMod.
Install the latest OFFICIAL TWRP recovery for your device (it is very important that you install the official version, NOT my version).
Reboot into TWRP recovery.
Go to Backup and make sure only Data is checked, then make a back up (this backup will ONLY be needed if something goes wrong later on; it's important, so don't delete it!).
Back up EVERYTHING on your internal SD card to your computer (the internal SD card WILL BE ERASED in the next step).
In TWRP, go to Wipe -> Advanced Wipe -> check Internal Storage -> press on "Repair or Change File System" -> press on "Change File System" -> press on "EXT4", and then swipe to start formatting the internal SD card. This can take up to a minute.
(SKIP THIS STEP IF THIS IS YOUR FIRST TIME EVER INSTALLING CYANOGENMOD 12) Copy the data-transfer package to your device and then flash it. This will copy everything from /data to /sdcard (since /sdcard will become /data).
Copy the newest version of my TWRP recovery to your device and flash it.
After that is finished, go back to the main menu, then go to Reboot and press on Recovery.
Once the device has rebooted back into TWRP recovery, flash the new ROM and then flash your Google Apps package.
Reboot normally (back into CM12).
Connect your phone to your computer and copy back your backed-up internal SD card data to the internal SD card.
Repartitioning is completed. Enjoy your 8GB of additional app storage space.
Undoing the virtual repartitioning:
If you would like to undo this process (so you can flash a different ROM), see this post: http://forum.xda-developers.com/showpost.php?p=59093149&postcount=611
Booted fine on T989D I did flash a compatible radio, still no cell network. Wifi does seem to be working fine for me. No cell network is a deal breaker for me. Hopefully you can continue development.
@Sultanxda
I know this is in testing, but brightness doesnt work. Sliding the brightness slider does nothing. Do you need a logcat?
Testing!
Lollypop Gapps:
www.theandroidsoul.com/download-gapps-for-android-5-0-lollipop/
Is this ROM available for i9300 just wondering??: p
Sent from my GT-I9300
Omg i thought Hercules is not gonna get lollipop. Thanks alot dev for your efforts
Sent from my SAMSUNG-SGH-T989 using xda app-developers app
Holy **** no way
Props to mr dev sultan @!
WOW. I know this guy was up to something. Thanks man.
Omfg u did not ������
If you could get network to work I'd very much appreciate it. Thats a bug that I can't simply deal with lol
Hi @Sultanxda
I'm trying to build lollipop for htc sensation but no matter what I do I can't get past the following error
Code:
hardware/libhardware/include/hardware/camera_common.h:27:32: fatal error: system/vendor_tags.h: No such file or directory
#include <system/vendor_tags.h>
Did you get that error too? If yes, how do I solve it? Thank you
Sajito said:
Hi @Sultanxda
I'm trying to build lollipop for htc sensation but no matter what I do I can't get past the following error
Code:
hardware/libhardware/include/hardware/camera_common.h:27:32: fatal error: system/vendor_tags.h: No such file or directory
#include <system/vendor_tags.h>
Did you get that error too? If yes, how do I solve it? Thank you
Click to expand...
Click to collapse
Never saw that error. I didn't get any errors from generic ROM parts, only from device-specific stuff.
Sultanxda said:
Never saw that error. I didn't get any errors from generic ROM parts, only from device-specific stuff.
Click to expand...
Click to collapse
I synced the r1 repo, did you maybe use the r2 repo?
Sajito said:
I synced the r1 repo, did you maybe use the r2 repo?
Click to expand...
Click to collapse
I used r2, but I don't think it makes a difference.
Sultanxda said:
I used r2, but I don't think it makes a difference.
Click to expand...
Click to collapse
Well thank you. I'm still trying to figure out what's causing it.
im running this right now.... idk if its just me but i like app drawr better now
i managed to connect to wifi just fine
Dialer works
Wifi works
Cell signal + data doesnt work
Browser crashes
Camera doesnt work
messaging app works
nothing fces randomly (a plus)
i like it
T-mobile galaxy s2 is still good!?
I am deeply glad my T-mobile galaxy s2 is still supported. Thank you so much for your hard work on this rom. I appreaciate it! :good: :good:
Hi, [ROM][5.0.0] AOSP Lollipop have support samsung galaxy s2 i9100 ??? Thanks
JesusWazBlack said:
im running this right now.... idk if its just me but i like app drawr better now
i managed to connect to wifi just fine
Dialer works
Wifi works
Cell signal + data doesnt work
Browser crashes
Camera doesnt work
messaging app works
nothing fces randomly (a plus)
i like it
Click to expand...
Click to collapse
Should I try to install a new radio on recovery mode or just wait like a normal person?

[JDCTeam][STABLE][5.1.1][26 January] Optimized CyanogenMod 12.1 builds [EOL]

{
"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"
}
Optimized CyanogenMod 12.1 for the Samsung Galaxy S4 (Qualcomm variants)
Brought to you by Jflte DevConnection Team​
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We're 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.
*
*/
JDCTeam
Diego Monaco - @alucard_24
Dimitris Katikaridis - @side
Franck Rohée - @franzyroy
Jim Silverlock - @Jimsilver73
Marco Zanin - @-+BB+-
Matthew Booth - @MattBooth
Mattia D'Alleva - @AntaresOne
Mike Atkins - @FernBch
Oliver - @angelcalibur
Paul Harris - @hawkerpaul
Paul Keith - @javelinanddart
Simeon Ivanov - @smstiv
Stefano Meroni - @smeroni68
Features
Faster than a rocket!
Based on CyanogenMod 12.1 - Android 5.1.1 Lollipop
OTA Updates with OpenRecoveryScript support, automatic ROM update after download (needs TWRP recovery)
BSOD Killer - your superhero against the famous black screen of death bug which randomly occurs after a system crash
Custom revamped Device Info in Settings->About phone including live CPU/GPU frequencies & RAM status
Custom kernel Alucard-PWR-CORE by JDCTeam with STweaks support, compiled with Linaro GCC 4.9.4 optimized for Krait CPU and XZ compression
Easter egg somewhere!
Embedded "see Changelog" feature
F2FS support for cache, data, system and MicroSD Card
Google Nexus Lollipop system audio files
Improved speed, stability, RAM usage & battery drain
JustArchi's ArchiDroid Optimizations inside
LEDify by JDCTeam - choose your favorite notification LED pattern at device's boot!
LibSwitcher by JDCTeam - IR apps issues? Forget!
Network Speed Meter in status bar
Toolbox by JDCTeam - the all-in-one device manager
All Galaxy S4 variants with Qualcomm Snapdragon 600 are supported (unique ZIP file):
GT-I9505
GT-I9505G
GT-I9507
GT-I9508
SCH-I545
SCH-R970
SGH-I337
SGH-M919
SPH-L720
Many, many more! Install and see yourself!
GT-I9515 is not supported (slighty different hardware)
GT-I9500 is not supported (completely different hardware)
AT&T and Verizon users: since your bootloader is locked, you must be on the UCUAMDB or UCUAMDL bootloader if you own an AT&T phone, otherwise if Verizon you must be on the VRUAMDK bootloader in order to use this ROM. Do getprop ro.bootloader in Terminal Emulator or through ADB shell to find out which bootloader you have
Known issues
ANT+
A note about Android Pay: will Android Pay work here? The answer is no. According to Google infos it works only on factory-preinstalled and unrooted Android, do not blame us for this!
Download
January 2016 ROM builds on AndroidFileHost
ROM builds (starting from 24/05) are hosted on Romhut
Mirrors and previous ROM builds are hosted on AndroidFileHost
TWRP Recovery v2.8.7.2 with F2FS management support: AndroidFileHost
Installation
If you are coming from the previous 5.0.2 Optimized version or any another ROM, please do a clean install!
TWRP Recovery v2.8.7.0 is suggested for installation
First time or clean install:
Download the ROM from the link above
Download Open GApps package for Lollipop 5.1
Put the zip files on your SDCard
Reboot in Recovery
Wipe Data / Factory Reset
Optional: convert to F2FS
Select "Install zip from SDCard"
Choose ROM's zip file
Choose GApps zip file
Reboot system
Update from a previous build:
Via OTA Updates:
Open OTA Updates app
Download the update
Press "Install"
Your device will automatically reboot and install the update.
Manual:
Download updated build from the link above
Put the zip file on your SDCard
Reboot in Recovery
Select "Install zip from SDCard"
Choose ROM's zip file
Reboot system
First boot after install/update takes a while, wait at least 5 minutes for it to boot.
To convert cache, data and system partitions to F2FS look in post below.
Sources
Available on JDCTeam GitHub
Credits
AntaresOne - Lead developer
JDCTeam
CyanogenMod
OpenGApps
Special thanks:
Donators
RomHut
gkkovacs - JDCTeam-Build01
azuziel- JDCTeam-Build02
vt0r - AndroidBuilder build server - now off
XDA:DevDB Information
Android 5.1.1 | Optimized CyanogenMod 12.1 builds, ROM for the Samsung Galaxy S 4
Contributors
AntaresOne, side, smeroni68, alucard_24, -+BB+-, MattBooth, hawkerpaul, angelcalibur, Jimsilver73, javelinanddart, franzyroy, side, smstiv, FernBch
Source Code: https://github.com/Alucard24/Alucard-Kernel-jfltexx/tree/my-aospv2-5.1
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: CyanogenMod
Version Information
Status: Stable
Current Stable Version: 20160118
Stable Release Date: 2016-01-18
Created 2015-03-28
Last Updated 2016-03-06
Reporting issues
Please report issues in our issue tracker: https://github.com/JDCTeam/issue_tracking_cm/issues
Things like "this doesn't work", "this keeps FCing", "found a bug: *someapp* FC" etc. don't help. We need logs!!!!!!
Do not report bugs if you:
Flashed a different kernel
Installed or did mods from untrusted sources
Installed Xposed
Modified system files
Changelog
20160118
MD5 - 826c9c4288b41efb8ab1d1b7834f4275
Kernel:
Fixed SELinux command line property (fixes superuser access, SuperSU bootloop and STweaks)
20160117
MD5 - 0e711ddd5883da8969f9ce6734e5e68f - Post #7935
Device:
Sepolicy updates
Other little code updates
Kernel:
Finally fixed the stuttering audio
Fixed button vibration when screeen is off
Fixed freeze when booting connected to an AC/USB cable
F2FS driver updates
General code updates (see GitHub)
ROM:
Android-5.1.1_r33 (LMY49F)
Updated security patches to 2016-01-01
Fixed Cricket APN
Merged all the upstream CM changes up to today
20151130 - Final JDCTeam release - Post #7713
MD5 - 3a1af890b87c11256c943759459ec3e4
Final release supported by the JDCTeam. Includes all the most recent updates from us and CyanogenMod. Update 17 January: project reopened
20151113 - Two different builds, check specific build changes below, also check out post #7459
MD5 "BT_ONE" - be774523fa4e2fc7c3d2c134851b97ef
MD5 "BT_TWO" - d09d85e9c1c973524b96be58a9ae6ee1
Device:
Include Qualcomm PowerHAL
Kernel:
Disabled MSM watchdog V2
Various code updates (including mm, IntelliPlug, SELinux, UKSM)
Build 1 (BT_ONE) specific: Disabled BT bluesleep bluedroid support (MSM bluesleep is enabled)
Build 2 (BT_TWO) specific: Disabled BT MSM bluesleep (this could cause a higher battery drain when bluetooth is ON and not in use)
ROM:
Android-5.1.1_r26
Merged 1 November security patches
Settings:
Do not show FCC ID & device name
Get rid of Hardware info (now lives in Toolbox)
Updated team members row & implement horizontal scrollview for it
JDC Toolbox:
1.3.0
Added issue report for the app
Added realtime hardware info (CPU, GPU, RAM)
Fixed another IlegalStateException
Code styling & removed redundant code
Updated boosted ringtones
Updated DeviceInfoNext, removed unuseful things & restored some others
Various other under-the-hood updates
20151101
MD5 - 91cdd57ef2bea809907d8cf0e2d81aae
Includes all the changes of the previous build and fixes the bootloop for those who experienced it after upgrading to that version
20151031
MD5 - 8110ebc45e93a0e718d030ad42c01386
Device:
Test for "Bluetooth Share has stopped" issue which some users experience
Kernel:
Linux kernel 3.4.110
Fixed freeze at boot if USB is connected
Minor ramdisk updates
Restored maximum AC charge amperage in STweaks
Update F2FS driver
Various code updates
ROM:
Added high touch sensitivity
JDC Toolbox:
Version 1.2.2
Added double press to exit
Fixed IllegalStateException while exiting the easter egg if the countdown wasn't over
Made some settings not selectable, they don't do anything but showing text
Minor code updates & fixes
Updated Settings app layout
Updates for DeviceInfoNext
Various code updates (merged all the upstream changes from CM)
20151022 - Read post #6640
MD5 - da34d8ebd4705e13390f98e3a582f332
Device:
Added back FFMPEG codecs
Added eMMC trim at each boot (log file is saved for each boot in /cache/trim.log)
Added our custom init script
Custom Doze service (Settings->Gesture)
Fixed MMS
Fixed 2G data connection
Fstab: put f2fs above ext4
General RIL updates
Moved dancing LED to LEDify
Realtime CPU/GPU maximum frequency & RAM status in About phone (2/2)
Reverted to new consumerIR send command timing
Updated fingerprint for some models
Updated media codecs
Updated power management at boot
Updated RIL properties for I9505G
Kernel
Linux kernel 3.4.109
A lot of code updates & fixes including general code from Linux kernel 3.10
Added back kexec-hardboot patch (if this ROM is installed as primary, now secondary ROMs in MultiROM will boot)
Added KMS and UKMS from Linux kernel 3.10
Added VENO TCP protocol
Added ZRAM and enabled with 256MB (as default for ex. battery, battery and defaut STweaks profiles, 512MB for performance and ex. performance)
Changes and fixes on LMK
Changes on OOM control, less battery usage
CPU governors tuning/code cleaning
Increased maximum on call & standby freqs to 1350.000 KHz (fixed slow InCallUI while in deep sleep)
IPC: ported code from 3.10 kernel
Optimized alucard, darkness, nightmare and ondemand CPU governors
Various ramdisk optimizations & updates
ROM
Android 5.1.1_r24
Archidroid v4.1
Built with GCC 4.9.4
Improved build environment
Bionic: reworked the whole branch:
A lot of improvements and more optimizations for ARM-Cortex-A15/Krait CPU
Implemented pty.h
Removed unused/not needed optimizations
Lots of cleaning
Aapt:
default apk compression to 0 ratio (improved speed & memory usage)
don't compress qmg, wbp and arsc assets
Added battery saver Quick Settings tile
Added JDC LEDify:
Can be managed by the Toolbox app (below)
Patterns up to now:
JDCTeam dancing rainbox (default)
Hearbeat blue
Heartbeat green
Heartbeat red
Nexus-like
Nexus-like reversed
Police blue/red
Samsung default
Added JDC Toolbox app, wrote from scratch:
Manage LEDify settings (user-customizable notification LED at boot, prebuilt patterns)
Manage the IR LED driver (easy way to make any IR app work)
Added live lockscreen support & previews
Added show volume to tile chooser
Added volume boosted ringtones
Allow disabling the privacy guard notification
Audioflinger: do not build with -Os anymore
Correctly import wget binary needed by some STweaks features
Fixed remaining stagefright security issues & fixed some possible overflows
Fixed encryption for F2FS
Fixed ipv6 tethering
Format script:
Added ART cache & /cache autoclean
Added kernel settings autoclean, enabled when required like this build
Power on notification LED for debug purposes (blue if installing on /system, red if installing in MultiROM as secondary)
Framework: various multimedia updates
Improved SystemUI circle battery
Include Android security patch level in Settings
Libpng: small fixes from Marshmallow
New JDCTeam ASCII art
New bootanimation! Big thanks to @ovaxivanov
Personalized SetupWizard UI
Revamped Device Info in Settings:
Added device hardware info (under "Common"):
CPU info (number of cores, realtime maximum frequency for each core)
GPU info (model, realtime maximum frequency)
Realtime RAM status (size, used, free)
SoC info (manufacturer, model)
Added ROM logo with team members below
Added "ROM Thread" which links the user to ROM's thread on XDA (under "More")
Device-related infos moved under "Common"
ROM & kernel infos moved under "ROM"
Issue report & JDCTeam on G+ moved under "More"
Updated some strings
Removed dancing LED (there's LEDify now)
Reverted CM changes for BFQIO and cgroups
Show icon of app associated with the toast notification
Support for faster brightness response to light changes
SystemUI: various updates & fixes, use new lockscreen music visualizer from Eleven
Telephony: many framework updates & improvements
Updated & fixed some APNs
Updated system icon to material
Updated Webview to v46.0.2490.76
Various SELinux updates
Various other code updates (CM upstream merged 18 August~today)
20150817
MD5 - 806cfa06ea4fb6aad5282e3f868ea6c6
Kernel:
Added full support for I9507
Huge updates in memory management
More enhancements on MMC (Performance Mode)
slab/slub MM mechanisms: merged a lot of code from Linux kernel 3.10
Updated workqueue and idl from Linux kernel 3.10
Ramdisk updates
ROM:
Built with SaberMod GCC 4.8.5 optimized for ARM-Cortex-A15/Krait CPU
Fixed all stagefright vulnerabilities left
Merged all the upstream changes from CM
Removed some logspam from proprietary vendor blobs
Some small fixes in build & Settings repos
Use our ART and bionic repos from AOSP, optimized for ARM-Cortex-A15/Krait CPU
Terminal: reverted some CM changes after latest changes
20150725 - Stable #1 - Clean install required to avoid risk of falling in weird ghost issues
MD5 - 062667633a079fe594e50ab941905fde
Device:
Fixed IR Blaster (IR remote apps now work)
Init:
run BSOD Killer as service
run dancing LED as service
update jfltexx fingerprint to LRX22C
update product name (jgedlte -> jflte)
Loki tool:
Fixed MultiROM environment recognition
New script body
Updated strings
New way to handle Radio (RIL) properties for all jf variants
Switch to binary Camera HAL, enhanced camera: this makes it much more reliable and working way better (shoot consecutive pictures, video mode is stable and front-facing camera works. NOTE: some crashes may still occur, but are sporadic against before)
Kernel:
Built with Uber GCC 6.0 optimized for ARM-Cortex-A15
Ramdisk updates
Many various code updates
ROM:
Codebase updated to android-5.1.1_r6
New ROM name! OptimizedCM-12.1
Added back ArchiDroid Optimizations V4
Added BSOD Killer: this will prevent you from falling in the BSOD, goodbye nasty boy!
Added bug report feature in Settings->About phone
Added Dancing Notification LED at boot (rainbow pattern+reverse)
Added Google Nexus Lollipop system audio files
Added JDCTeam Google+ community in Settings->About phone
Added something secret somewhere (easter egg)
Added sound panel in power menu
Create jar files with 0 compression, improves speed and RAM usage
Fixed a bug where was impossible to have working custom ringtone sound
Fixed high touch sensitivity and touchscreen hovering
Fixed MultiROM support
Format script:
Fixed a bug where if current filesystem is impossible to be recognized, /system is formatted as F2FS instead of EXT4 as default.
Fixed MultiROM environment recognition
Updated script body, bye-bye to the ugly one used since November 2014 in previous Optimized CM12 (5.0)
Updated strings & description
Whitespace fixes
Many APNs updates
Network Speed Meter:
Added translation for Italy
Increased multiple indicator (incoming+outgoing traffic) size
Updated english (default) strings
Settings: CyanogenMod version -> ROM version
Switch to prebuilt Google WebView (version 44.0.2403.73), ROM build time decreased by almost 50%
Updated FFMPEG to 2.7
Many other code updates
20150701 - Clean install is strongly suggested
MD5 - d6575a871d1504f10351eae0caab98e4
Test for the black screen issue and sporadic slow wakeup/heavy lag. Please test this build for 7~10 days and let us know about
Kernel:
Various code updates (head over here for further details)
ROM:
Merged all the upstream changes from CM
TEST - modifications for the things written in the orange text
20150616 - Beta #4
MD5 - d970bf197226a8168d74fca975540a2c
Device:
Removed CM bugreport service
Kernel:
Many code updates (details: https://github.com/Alucard24/Alucard-Kernel-jfltexx/commits/my-aospv2-5.1)
ROM:
More system stability
Added prebuilt libjni for AOSP keyboard gesture typing
Added some new APNs & updates
Fixed back/menu keys remaining awake for a little time after screen lock
Set Android M wallpaper as default
Various code updates
Further details: here - here - here
20150602
MD5 - dfef8e3c90238a8faaed0a4fa1d5e5cc
Device:
Fix LTE doesn't come up on boot
SEPolicy updates
Kernel:
Unified platform: fixed sensors for all jflte variants
F2FS driver updates
Small optimizations for alucard, darkness & nightmare governors
Various code updates
ROM:
Fixed Google Play Services crash when Location is set to High Accuracy
Added Network Speed Meter in status bar
Added STweaks in Settings instead of CM's Performance
Bluetooth updates: fixed A2DP streaming for all BT devices
Camera: added option to save pictures in SD Card
20150524 - Beta #3
MD5 - 5054b24c26267c65f92eeb1876c7efb1
OTA Updates by @Kryten2k35:
Direct download link & http support
MD5 check
OpenRecoveryScript support! Directly reboot to recovery after download to automagically update
Device:
Added variant-based RIL properties (enhance Radio compatibility with any device variant)
Fixed apps moving to OTG storage
Sprint data connection issues are gone
Kernel:
HUGE code updates (see here for details)
Ramdisk updates
ROM:
Merged all the upstream changes from CM (from 07/05 to 24/05, for details: http://www.cmxlog.com/12.1/jfltexx/)
Optimized installation/update process
Cleaned framework
F2FS for /system not as default anymore (fixes ROM's installation on old non-compatible recoveries, you can choose what file system to use)
More system stability & speed
6/5/2015
MD5 - ee79d35b1b58220e9f76c0b01aad57b5
Kernel:
Alucard, Darkness & Nightmare governors optimizations
Minor code updates
ROM:
Merged all the upstream changes from CM
Enable/disable doze through Profiles
More system stability
STweaks app update
More changes here
3/5/2015
MD5 - 19440b9142debd0dbbf59f0816c38217
Device:
SELinux policy update
Kernel:
Alucard and Darkness governors optimizations
Minor code updates
ROM:
Merged all the upstream changes from CM
Full changelog: use this as reference
29/4/2015
MD5 - 64563d896107fbddbe028a3f66cc58fd
Device:
Audio updates: disable AwesomePlayer, disable low power audio, enable NUPlayer (may increase battery drain by a little, but must fix Bluetooth audio stream)
Kernel:
Various code updates
ROM:
Merged all the upstream changes from CM
Developer Settings: add warning to request root access & add setting for updating recovery
Quick Settings: add Ambient Display tile
Torch: remind user flashlight is still on
28/4/2015
MD5 - 0dd3d94fe367ca825d534fecddedbd4e
Kernel:
Fix compass for Verizon variant
Little code updates
ROM:
Merged all the upstream changes from CM (branch cm-12.1)
Various code updates
26/4/2015 - Beta #2 - Clean install required
MD5 - 18d590e251db5a185f9c98ca327a1b19
Device:
Add libdivxdrmdecrypt
Kill notify_on_migrate
Remove discard flag in fstab
Remove hostapd service definition
Kernel:
Linux kernel 3.4.107
MANY code updates
Alucard, darkness & nightmare governor optimizations
Sensors source update
ROM:
Android 5.1.1 - LMY47V
JustArchi's ArchiDroid Optimizations V4 - here and here
Merged all the upstream changes from CM (branch cm-12.1)
Add Heads Up tile
Silent mode
More system stability & speed
Various code updates - many here
Various other little updates (like circle battery icon as default)
13/4/2015 - Beta #1
MD5 - 3c85eafd854b33e9b02aa9b75c54be3c
Kernel:
Ramdisk updates
Various code updates
ROM:
No significant changes on user-side, many changes in code
Merged all the upstream CM changes
"Message not sent" on specific CDMA variants should be now fixed
More system stability
3/4/2015
MD5 - 046c52386ce01797eef2a3234cece2bd
Device:
Add GPS set privacy
Kernel:
Various code updates
ROM:
Fixed in-call audio and general audio updates (dialer and sound across system fully working)
Added brightness settings in profiles
Merged all the upstream changes from CM (branch cm-12.1)
Various other code updates & stability fixes
29/3/2015
MD5 - cdc042dc6ada80b3bb162571ddbe79fb
ROM:
Fixed STweaks "no kernel support"
Merged all the upstream changes from CM (branch staging/cm-12.1)
28/3/2015
MD5 - c93151deb61ecfb3fa5eff35a79a6cce
Initial public release
Tips
To enable Developer options go in Settings->About device and press "Build number" for 7 consecutive times.
STweaks shows "no kernel support", what to do? Go in Developer options and enable root.
Using F2FS
What it is? Wikipedia
To use it you should first convert your EXT4 partitions through recovery, before installing this ROM.
On PhilZ:
Wipe and format options->custom format options->toggle ext4 f2fs migration
Format cache->f2fs
Format data and data/media-> f2fs (Warning: internal storage is formatted, make a backup of your personal data before doing this!)
On TWRP:
Download and install this TWRP version: https://www.androidfilehost.com/?fid=24269982086988952
Wipe->advanced wipe
Select cache->change or repair file system->f2fs
Select data->change or repair file system->f2fs (Warning: internal storage is formatted, make a backup of your personal data before doing this!)
Now you can install this ROM following installation steps in post above
Video reviews
Thanks to @ISF
Thanks to @nadejo
Thanks to @osmar.menezes
Reserved
Reserved for signature banners
Thanks a lot, downloading and testing right now !!!
(and changing my signature to celebrate that )
Lets rock...
@AntaresOne proves once again that he is a Recognized Developer even though that title is not attributed to him yet. Hopefully soon...:good:
Antares! Time for a Android 5.1 Updater?
Is the f2fs conversion a must for this, or can I leave my partitions ext4 and install?
Thanks AntaresOne
Thanks !!!! Could it boot with multiRom or none of the kernels could support it ? Thanks in advance
ohh eaa
backup in progres... thank's
knuckles1978 said:
Is the f2fs conversion a must for this, or can I leave my partitions ext4 and install?
Thanks AntaresOne
Click to expand...
Click to collapse
You can also leave ext4, but with this ROM the system partition will be automatically converted to F2FS
george stamatos said:
Thanks !!!! Could it boot with multiRom or none of the kernels could support it ? Thanks in advance
Click to expand...
Click to collapse
You can boot with MultiROM, but leave the default kernel inside this ROM
popliuc said:
backup in progres... thank's
Click to expand...
Click to collapse
Happy flash :good:
Google hasn't fixed this stupid memory leak yet, have they?
gALEXyS4 said:
Google hasn't fixed this stupid memory leak yet, have they?
Click to expand...
Click to collapse
In official 5.1 no. It should be fixed on some next release. BTW i know that exists a xposed module to fix it. In that thread i have read that on cm12 is useless because a patch for fixing memory leak has been already apllied. I don't know if it's already included in this rom
erghetto said:
In official 5.1 no. It should be fixed on some next release. BTW i know that exists a xposed module to fix it. In that thread i have read that on cm12 is useless because a patch for fixing memory leak has been already apllied. I don't know if it's already included in this rom
Click to expand...
Click to collapse
I just know that this problem is annoying as hell and very "intrusive", i.e. I see it all the time on my phone, every app which is closed for 5 minutes or so, sometimes even seconds, has to be reloaded...
gALEXyS4 said:
I just know that this problem is annoying as hell and very "intrusive", i.e. I see it all the time on my phone, every app which is closed for 5 minutes or so, sometimes even seconds, has to be reloaded...
Click to expand...
Click to collapse
But from what i have read, what are you saying it's not memory leak problem of android L. Memory leak is totally another thing
installed over cm12 (21/03/2015) after wiped cache,dalvik,system.
rebooted correctly, but stweaks doesn't start beause kernel not supperted issue and audio crazy shutters during call... btw rstored old backup
-----------------------
...stay tuned...
Here you are http://forum.xda-developers.com/xposed/modules/xposed-fix-lollipop-memory-leak-t3065296
Sent from my Galaxy S4
Contacts FC after full wipe and convert f2fs
stuttering on calls aswell...
kubapl66 said:
Here you are http://forum.xda-developers.com/xposed/modules/xposed-fix-lollipop-memory-leak-t3065296
Sent from my Galaxy S4
Click to expand...
Click to collapse
xposed isn't working on 5.1

[ROM] LineageOS-11 [04 May 2019]

Code:
[COLOR="grey"]/*
* 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 the products you find here before flashing it!
* YOU are choosing to make these modifications.
*/[/COLOR]
Introduction
- This ROM is for the Amazon Fire Phone codenamed Kodiak.
Prerequisites for Installation
- Must be running Safestrap v4
Project Status
{
"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"
}
updated: 07 Jan 2016
Reporting Bugs
- Please report bugs here
- Report only one issue per bug report
- When reporting bugs please post a logcat and/or dmesg containing pertinent information regarding the issue...
Fresh Installation
- From Safestrap, go into Wipe Menu and Swipe to perform a factory reset.
- Installation in the Stock Slot is Mandatory
- Flash the ROM File
- Flash Open Gapps of your choice (any arm 4.4 version) - Except Aroma Version
- Flash the latest SuperSU package if you want root
- Reboot
- Enjoy!
Upgrading to new Version
- Flash the ROM
- Reboot
- Enjoy!
- If you previous had GAPPS it will be preserved automatically
- To preserve root between upgrades, you need to setup SuperSU to survive OTA updates.
Changing from another ROM to this one
IMPORTANT: Do NOT reboot until the end of the process
Within Safestrap
- Copy the latest Lineage ROM, Gapps, SuperSU-2.4.6 and cleansystempartition.zip to your phone
- Factory reset
- Flash cleansystempartition.zip
- Flash the rom
- Flash gapps (use latest opengapps, pico or nano)
- Flash supersu 2.4.6
- Reboot
Downloads
*** Please do NOT create any mirrors ***
- LineageOS-11 for Amazon Fire Phone
- Open Gapps
- Latest Xposed for KitKat
- Solarwarez Patched Xposed
Other Downloads
*** Please do NOT create any mirrors ***
- I modified safestrap to protect the /system partition
- So only use this if you need to do a clean install
- To use you flash this first, then immediately flash new, gapps and supersu before rebooting
- Clean System Partition Flashable zip
Source Code
- Kernel Source: Kodiak stock kernel, build number update-kindle-35.4.6.6_user_466000820
Credits
- Cyanogenmod
- LineageOS
- CAF
XDA:DevDB Information
LineageOS-11 Amazon Fire Phone, ROM for the Amazon Fire Phone
Contributors
ggow
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Stock base of 461-466 and Safestrap v4
Based On: CyanogenMod
Version Information
Status: Stable
Created 2015-07-06
Last Updated 2019-05-04
Release Notes / Changelog
04 May 2019
- Security patches up to April 2019
21 December 2018
- Security patches up to December 2018
30 November 2018
- Retire AOSP Browser due to security holes
- Please install an up to date browser of your choice
- Upgrade external/openssl: 1.0.1e -> 1.0.1j
- ANT+: Update to v4.0.0
- giflib: Update to v5.1.4
- bsdiff: Check for corrupt patch
- jhead: Update to cm-13.0 branch
- libexif: Update to android-5.1.1_r38 branch
- e2fsprogs: Update 1.41.14 -> 1.42.9
2018-09-04
- Security patches up to August 2018
- Fixed Youtube crashing (need more testing to confirm)
2018-06-01
- Security patches up to March 2018
- There are no relevant security patches after this date to now.
- Fix Bluetooth LE issue
2018-02-24
- Security patches up to Feb 2018
2017-10-08
-Ported relevant security patches up to October 2017
Older History
2017-10-03
-Ported relevant security patches up to September 2017
- All bluebourne patches are included
2017-07-20
- Security patches up to July 2017
- Fixed boot-loop on upgrade
- Fixed Xposed compatibility - Standard Xposed Framework Build should work
- Added option in Developer Options to Enable/Disable Signature spoofing
- Download link on OP now lists all Lineage-11.0 releases
- Linked latest KitKat Xposed in OP downloads section.
2017-07-05
- Security patches up to June 2017
2017-06-05
- Security patches up to May 2017
2017-04-24
- Ported security patches up to April 2017
2017-03-25
- Ported security patches up to March 2017
2017-01-05
- Switch to LineageOS repository
- Ported December 2016 Security Patches
- Fixed issues preventing latest gapps from being used
2016-11-22
- Ported November 2016 Security Patches
- Add camera HAL wrapper (Work in progress)
2016-10-16
- Ported October 2016 Security Patches
- Removed CM Updater app (not required for unofficial builds)
- Updated backlight auto adjustment
2016-10-11
- Build logcat from source - can now use logcat -C for colour output
- Clean up media codecs
- Xposed fixed: borked implementation of security update was the cause
2016-10-02
- This is a BETA release
- Fixed bluetooth tethering
- Fixed USB tethering
- Adjusted display auto backlight values
- Fixed bug in dual band WiFi detection
- Enabled WiFi background scanning
- Enabled WiFi batch scanning support
2016-09-15
- Ported September 2016 Security Patches
- bsdiff: Add overflow check when checking for a corrupt patch
2016-08-06
- Ported August 2016 Security Patches
- There will be no more updates from Cyanogenmod in this ROM.
- Going forward I will implement/backport fixes etc as necessary
2016-07-26
- Use liboemcrypto.so from hammerhead
- Fix loading of widevine firmware
- Fix loading of keymaster firmware
- Ported July 2016 Security Patches
2016-06-19
- Fix swipe functionality on AOSP keyboard
- Fix crash of AOSP Keyboard on fresh install
- Updated CM Code
2016-06-09
- June 2016 Security Patches Included
- Enable Swipe functionality on AOSP keyboard (Broken)
- Updated CM Code
2016-05-12
- May 2016 Security Patches Included
- Updated CM Code
2016-04-07
- April 2016 Security Patches Included
- Updated CM Code
2016-03-17
- 01 March 2016 Security Patches Included
- Updated CM Code
2016-03-10
- Implemented new backport of Signature spoofing primarily for microG framework
- Signature spoofing now needs to be enabled in Settings->Developer options->Allow signature spoofing
- Fixed crash on initial Setup Wizard
- Updated CM Code
2016-02-16
- Updated CM Code
2016-02-03
- Updated CM Code
- 01 February 2016 Security Patch Included
2016-01-26
- Updated CM Code
2016-01-18
- Fixed battery stats - readings should be as accurate as with FireOS
- Updated CM Code
2016-01-14
- Switch to using Amazon 4.6.6 US Binaries
- Removed CM Camera App due to instability and Flash not working
- Snap Camera HDR or Open Camera are the most stable options
- Fixed 5 GHz WiFi issue (Amazon 4.6.6 binaries)
- Update CM Code
2016-01-11
- Fixed HDCP for wireless display - Enjoy Netflix via Miracast
- Fixed compass, should now show the correct direction
- Improved GPS accuracy - needs testing
- Add voice-handset-hac entry to mixer_paths.xml from Stock 4.6.3 firmware
- 01 January 2016 AOSP security patches included
- Updated CM-11 Code
2016-01-04
- Cleaned up build.prop
- Add launcher rotation setting to build.prop (disabled by default)
- Add lock screen rotation setting to build.prop (disabled by default)
- Updated CM-11 Code
2015/12/23
- Updated CM-11 Code
2015/12/09
- Updated CM-11 Code
- Making baby steps with Camera
- Now able to load the OV680 firmware but still no benefit at the moment
2015/11/25
- Updated CM-11 Code
- NFC is now working
- Fixed bug which prevents phone from entering Deep Sleep Mode
2015/11/19
- Updated CM-11 Code
- Xposed now installs correctly
- Remaining Stagefright fixes are included
2015/11/15
- Updated CM-11 Code
2015/10/24
- Updated CM-11 Code
- Back port signature faking to enable use of microG framework
2015/09/30
- Updated CM-11 Code
- In camera app, fixed upside down orientation for rear camera in portrait and landscape
- In camera app, fixed video recorder crashes
2015/09/25
- Updated CM-11 Code
- Establish 3G/LTE connection faster
- Switch to using 4.6.3 binaries
2015/09/16
- Updated CM-11 Code
2015/08/29
- Updated CM-11 Code
2015/08/10
- Updated CM-11 Code
- Stagefright patches included
- Dirty Flash should be fine.
2015/07/26
- Added back Stock Browser App
- Added back Stock Calendar App
- Changed recommended Gapps in the OP to PA Gapps Modular Pico
- Added Known Issues to OP
- Remove Stock Camera App
2015/07/25
- Updated CM-11 Code
- Build PowerHAL from source
- Fixed random crash occurring in PowerHAL
- Build memtrack library from source
- Build keystore library from source
- Removed oemcrypto library (Responsible for a lot of google play service crashes)
- Haven't had a single crash yet running HDX Nexus Gapps which had the highest rate of occurrences (But early days)
- Setup hardware key options correctly
- Ignore the stock camera app, I was using it for debugging purposes and forgot to remove it.
2015/07/15
- Camera button fixed for taking photos
- Torch fixed
- Made a change to WiFi config - may help with 5GHz connecting without needing channel changes.
- I don't have 5GHz so can't test
- Disabled NFC for now, this should improve battery life due to no repeated startup and failure of service.
2015/07/08
- Partially fixed up camera: Use Open Camera from Playstore
- Selecting video mode in Google Camera crashes the App, need to clear app data to make it work again.
- Pictures taken with the flash are washed out.
- Fixed Battery Stats
- Implemented NFC - Not working
- Removed Stock Calendar app
- Removed Stock Browser app
- Removed Stock Camera app
- Removed unnecessary media kernel modules just taking up space.
2015/07/07
- Fixed Media Playback
v2015/07/06
- Initial BETA Release
Frequently Asked Questions
Question 1:
I installed HDX Nexus Gapps and now want to use Mini Gapps package. However CM-11 seems to preserve HDX Nexus Gapps. How do I fix this?
Answer:
- Flash this in Safestrap
- This wll clean the /system partition ready for fresh installation.
- You will then need flash a new ROM, Gapps etc.
- This is required, as a result of a change I made in the recovery code to protect Safestrap from been wiped out.
Question 2:
My phone doesn't show up when connecting via USB, what's going on?
Answer
- This may help
- Go into Settings->Storage
- Click on the 3 vertical dots in the top right corner
- Select "USB computer connection"
- Then select Connect as "Media device (MTP)"
- Your phone should then appear as a Media Device
Question 3:
How do I get into Amazon's stock recovery?
Answer
- With the phone powered off
- Whilst holding the volume up key, press the power button.
- When it power's on let go of the power button (still holding the volume up key)
- You should end up in stock recovery.
Question 4:
The camera button isn't working on the 2015/07/25 build, how do I fix it?
Answer
- On the lock screen look for the camera icon in the bottom right corner
- swipe it left and select which camera you want as default
Question 5:
When will we get CM-12?
Answer
- Hold the phone, we only just got CM-11 - enjoy!
- We need an updated kernel so we need FireOS 5 with working root
Question 6:
Contribution by: @hijax2001
How do I reset to Factory Stock 4.6.1 - removing CM11/root/Safestrap in the process?
Answer
1) Downloaded Minimum ADB tools, installed to C:\ADB for convenience
2) Downloaded 4.6.1 stock image from http://fire-phone-updates.s3.amazonaws.com/update-fire-phone-33.4.6.1_user_461013320.bin, saved it to C:\ADB and renamed this file update.bin
3) Followed these steps to gain ADB USB access. Alternately, I found out later I could go to Settings on the phone, then to Device, then to "Get info about your Fire" and then tap on the Model Number several times until "Developer Options" comes up. Clicking that will take you to the option to enable "USB Debugging".
4) I also grabbed the Kindle Fire ADB drivers from here for convenience in Step 7 (below)
4) Rebooted into stock recovery by holding Power and Volume Up. Yes, you can do this from anywhere - phone on or off. And yes, you can still get to stock recovery this way even if you have Safestrap recovery installed
5) Use volume down to reach "Apply update from ADB" option then press Power
6) Open Command Prompt from Windows, reach your ADB folder (mine is C:\ADB in this example), type ADB devices. If you see what looks like a serial number (letters and numbers), then ADB is seeing your phone and you can skip to Step 8. If nothing there, follow Step 7.
7) For me, ADB did not initially detect my phone. I ended up having to go into Control Panel in Windows, to Device Manager, find the Fire phone, choose Update Drivers, then Browse My Computer, Let Me Pick, Show All Devices, Have Disk, then find the folder from Step 4 (above) and add Android Composite ADB Interface by hand. Once I did that, I unplugged and replugged the USB to the phone and then typed "ADB devices" again at the ADB command prompt, like in Step 6. There it is! Ok, next step...
8) Type the command ADB sideload update.bin and let the magic happen. When done, reboot the phone and everything is reset.
9) If you're going to sell the phone, or if you don't want all of your Android apps from before repopulating (because some of them just aren't going to work or work correctly under Fire OS), immediately go to Settings/Device and "Factory reset your Fire" - this will wipe the SD partition where the old apps are saved.
Cool side-note, regarding Step 9... I still had Nova launcher available. Running it under Fire OS works great! Nice to have the stability of the Fire OS the hardware desires, along with a zippy, traditional launcher to navigate.
Question 7:
Contribution by: @DatwasEz
MUTE Button does not work during calls, what can I do about this?
Answer:
- Btw on a side note I have noticed that although mute button doesn't work during calls, you can press the pause button for hold, this acts like mute and they can't hear tested myself last night
-
Question 8
Contribution by: @gooserayos
How do I configure Snap Camera HDR for my Fire Phone?
Answer:
- Click the bottom left menu icon then click the "Other" tab
- Check "Show Advanced Settings"
- Go back to "Photo" tab
- Check "Zero Shutter Lag" and (optional) "Denoise"
Congrats
Sent from my SD4930UR using XDA Free mobile app
I wish best of luck for your work
Do you have donation button? Everybody likes coffee
bufferfree said:
I wish best of luck for your work
Do you have donation button? Everybody likes coffee
Click to expand...
Click to collapse
Thank you. Look on one of my posts and it's the yellow button just below my avatar.
Let the games begin
- The Files are up now.
- Appreciate any testing and feedback/comments
- Please report bugs as per the OP.
- Enjoy - it's been long overdue.
ggow said:
- The Files are up now.
- Appreciate any testing and feedback/comments
- Please report bugs as per the OP.
- Enjoy - it's been long overdue.
Click to expand...
Click to collapse
awsome
thanks for your hard work
I'll use my unlocked fire phone as a guini pig
Now to root flash etc on osx lol
hi cant install cm11.zip with safestrap
get failed
phones rooted
m4nik10 said:
hi cant install cm11.zip with safestrap
get failed
phones rooted
Click to expand...
Click to collapse
Can you tell me what the error is you get?
EDIT: Just tried flashing again and it works fine here.
m4nik10 said:
hi cant install cm11.zip with safestrap
get failed
phones rooted
Click to expand...
Click to collapse
Your phone is rooted, right?
sergio687 said:
Your phone is rooted, right?
Click to expand...
Click to collapse
Hello sergio687, did the zip file flash ok for you?
Package can't install over incompatible data
ggow said:
Hello sergio687, did the zip file flash ok for you?
Click to expand...
Click to collapse
I'm at work right now. I'll see if it flashes tonight (Central Time). Which bugs have been reported?
Thanks for your hard work by the way
m4nik said:
Package can't install over incompatible data
Click to expand...
Click to collapse
Before installing perform a factory reset from Safestrap Wipe menu - that should fix it.
I'll add a instruction to the OP.
m4nik10 said:
hi cant install cm11.zip with safestrap / Package can't install over incompatible data
Click to expand...
Click to collapse
I bet 10$ (@ ggow) that the device is not properly wiped. ^^
@ m4nik10 Please choose "wipe" from the (safestrap) recovery menu ➜ swipe to 'factory reset' ➜ reboot into recovery ➜ choose "install" ➜ try the CM11 zip file again.
sergio687 said:
I'm at work right now. I'll see if it flashes tonight (Central Time). Which bugs have been reported?
Thanks for your hard work by the way
Click to expand...
Click to collapse
I have put some known issues in the OP, nothing more that I have seen yet.
No worries
Bingo Bronson said:
I bet 10$ (@ ggow) that the device is not properly wiped. ^^
@ m4nik10 Please choose "wipe" from the (safestrap) recovery menu ➜ swipe to 'factory reset' ➜ reboot into recovery ➜ choose "install" ➜ try the CM11 zip file again.
Click to expand...
Click to collapse
Snap
I have updated the Fresh install instructions in the OP.
2 more bugs... phone tells me “sim card not present“ and Bluetooth can not be enabled.

[UNOFFICIAL][14.1][7.1.2][2017-09-11] LineageOS 14.1 for Xiaomi MiPad (mocha)

Here is first attempt to build LineageOS 14.1 for XiaoMi MiPad
Current state is: mostly working
I finally found solution to fix old mipad stock graphic blobs to load on cm13 and Los 14.1. This build is proof of concept to show it is possible to have Nougat on old good MiPad.
What working:
WiFi (better than 12.1, now using opensource wpa_supplicant)
Sensors (autorotation works)
LEDs
audio including microphone
hardware accelerated video playback
camera
What not working:
audio (currently plays only some system sounds, all other failed because of wrong PCM format)
camera
[*]lineage Music add doesnt play anything (3rd paty players seems to work fine)
[*]windevine drm not working (need updated liibs, to be done in next build)
[*]probably hardware acceleration playback (missed symbols for some omx libs)
[*]not enough space to install gapps into /system partition
[*]random crashes going to system ui restart loop
webview crashing with ERROR:gl_fence_egl.cc(63)] Failed to wait for EGLSync. error:EGL_BAD_MATCH (gapps and play market unusable)
Github links:
Device tre (cm-14.1 branch)
Vendors blobs (cm-14.1 branch)
Kernel (cm-14.1 branch)
2017-02-16
Download:lineage-14.1-20170216-UNOFFICIAL-mocha.zip
Changelog:
Initial release
2017-02-20
Changelog:
Audio fixed
Using patched webview, gapps should work now
SD card and usb mounting fixed
Download: lineage-14.1-20170220-UNOFFICIAL-mocha.zip
2017-02-26
changelog:
random crashes and black screens resolved
new Audio HAL based on opensource tinyhal (microphone works now)
big system partition (1.2Gb). You have to install it on merged system1 and system2, if you have already merged just install.
SD card mount fix included (access to SD card from all apps)
hardware accelerated video playback now works
cleaned some useless blobs like powerservice daemon
updated wifi firmware
Download:lineage-14.1-20170226-UNOFFICIAL-mocha.zip
2017-03-03
Changelog:
Fixed mp3 and flac playback in Music app (disabled offloading since it broken for mp3 and enable ffmpeg for other formats)
Updated wvm libs, Widevine DRM L3 now works
Download: lineage-14.1-20170303-UNOFFICIAL-mocha.zip
2017-03-11
Changelog:
KeyDisabler (alow to enable navbar and disable hardware buttons)
Vibrator intensity control
hwui props in build.prop makes screen more stable in browsers (black pixels on screen issue)
Updated LED capabilities (RGB notification, settings for battery and notification colors, button backligth brightness)
Userspace cpuquiet governor by default. Looks like this is best option to get smooth playback. (cores dosnt switches off but only changes its freq)
Fixed offline charging mode. Now shows animaton with current battery level. Also previous 14.1 builds cant be offline charged from PC USB port, now this issue resolved
return glcomposer compositor. Now looks stable, it should be because of hwui right props added. *broken*
Download: lineage-14.1-20170311-UNOFFICIAL-mocha.zip broken
2017-03-12
composer changed back to surfaceflinger. Solves issues with blck screen or reboots in 20170311 build
Download lineage-14.1-20170312-UNOFFICIAL-mocha.zip
2017-04-21
test version with Nexus 9 blobs
webview slow work resolved with new graphic blobs
Browser replaced with Gelllo
lineage code updated up to 7.1.2
Known issues:
Bluetooth broken
Doesnt load proper mac address
Some graphic issues in general user interface
Download: lineage-14.1-20170421-UNOFFICIAL-mocha.zip
Download fixed boot.imgboot-20170429.img - fixes wifi and bluetooth issues on 2017-04-21 lineage 14.1 build.
2017-05-02
Changelog:
camera works now
Browser replaced with Gelllo
lineage code updated up to 7.1.2
Known issues:
this build still uses old graphic blobs, so webview apps is laggy.
if camera doesnt work after dirty flash try to delete /data/nvcam folder from adb root console or root file manager
Download: lineage-14.1-20170502-UNOFFICIAL-mocha.zip
Webview apk is one patched to work on broadcom GPU with same problem as ours: https://github.com/manumanfred/android_external_chromium-webview
2017-09-11 NEW!
Changelog:
Lineage OS 14.1 sources updated
Webview updated and rebuilt with only changes necessary for Mi Pad. Most of webview related issues now resolved. Faster and smoother scrolling in webview based apps, some apps now startings works, like Gogle Books. See webview patch applied below.
device tree cleaned for proper work with proprietary blob files. Now they can be extracted from stock rom or device and makefiles can be properly generated in vendor.
Using opensource version of libbt-vendor - maybe some changes in bluetooth perfomance.
Download lineage-14.1-20170911-UNOFFICIAL-mocha.zip from Google Disk or from MailRu mirror
Webview patch applied:
Code:
diff --git a/gpu/config/gpu_driver_bug_list.json b/gpu/config/gpu_driver_bug_list.json
index b8f5489ce086..6bf7f9250237 100644
--- a/gpu/config/gpu_driver_bug_list.json
+++ b/gpu/config/gpu_driver_bug_list.json
@@ -1,6 +1,6 @@
{
"name": "gpu driver bug list",
- "version": "10.93",
+ "version": "10.94",
"entries": [
{
"id": 1,
@@ -2542,6 +2542,19 @@
"features": [
"rely_on_implicit_sync_for_swap_buffers"
]
+ },
+ {
+ "id": 236,
+ "description": "MiPad Nvidia drivers g_ignore_egl_sync_failures work around",
+ "cr_bugs": [123456],
+ "gl_vendor": "NVIDIA.*",
+ "machine_model_name": ["MI PAD"],
+ "os": {
+ "type": "android"
+ },
+ "features": [
+ "ignore_egl_sync_failures"
+ ]
}
],
"comment": [
special patched webview prebuilts located here https://github.com/HighwayStar/android_external_chromium-webview (branch cm-14.1-mocha)
Merge partitions
Mi Pad by default has 2 /system partition, each 640Mb. It is not enogh to install LineageOS and Gapps. To install 2017-02-25 build and newer you have to merge 2 system partition in one 1.2Gb system partition. To dod this follow instruction http://en.miui.com/thread-118294-1-1.html
Root Access
If you want root access flash addonsu-arm-signed.zip from https://download.lineageos.org/extras
XDA:DevDB Information
LineageOS 14.1 for Xiaomi MiPad (mocha), ROM for the Xiaomi Mi Pad
Contributors
highwaystar_ru, highwaystar_ru
Source Code: https://github.com/HighwayStar/android_device_xiaomi_mocha
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
Based On: CyanogenMod, LineageOS
Version Information
Status: Alpha
Created 2017-02-16
Last Updated 2017-09-11
Reserved
If you have problem installing newer latest build, or just to be sure it will install fine check you system partition with DiskInfo app. It should show System partition at least 1337564160 bytes.
First! Holy ****, I never thought I'd see the day...
@highwaystar_ru Is there not enough space in /system even after merging system1 and system2?
EDIT: If anyone wants root: https://download.lineageos.org/extras
Unbelievable
Damn dude, you rock....!!
the future of mi pad 1 is getting brighter because of you.....!!
drakonizer said:
First! Holy ****, I never thought I'd see the day...
@highwaystar_ru Is there not enough space in /system even after merging system1 and system2?
Click to expand...
Click to collapse
On merged system it is enogh space, but now /system in rom configured to match stock /system. Not sure for now if it possible to remove LineageOs stock app like browser and email and free some space or just use bigger /system and require to repartition.
Woah
Impressive.
highwaystar_ru said:
On merged system it is enogh space, but now /system in rom configured to match stock /system. Not sure for now if it possible to remove LineageOs stock app like browser and email and free some space or just use bigger /system and require to repartition.
Click to expand...
Click to collapse
We could do that...remove some unnecessary packages from https://github.com/LineageOS/android_vendor_cm/blob/cm-14.1/config/common.mk with a PRODUCT_PACKAGES -= line in the device.mk.
But asking users to repartition to install gApps is better in my opinion, for future official Lineage support. There could be a check in the updater_script to verify the user has repartitioned.
I am pretty sure there is no re-configuration necessary to support repartitioned /system partitions.
Does that mean CM12 development is dropped?
MiliWanili said:
Does that mean CM12 development is dropped?
Click to expand...
Click to collapse
Do you want the latest nougat or old lolipop
OMG... unbelievable....first 7.1.1 on mipad...
Xiaomi, shame on you
and thank you! highwaystar!
AbhaYsinGH007 said:
Do you want the latest nougat or old lolipop
Click to expand...
Click to collapse
Lollipop if it comes faster.
If it possible to make los14.1 run stable and sound working it is better to go with los14.1. At least it has upstream support, and some things here works better. I cant make opensource wpa_supplicant working on 12.1, but here it works. Microphone in cm12.1 is also hard to fix, because there is only LD_PRELOAD for lib and microphone require MonoPipe class from 4.4 to work, but it will break other things. On cm13 or los14.1 it is possible to use LD_SHIM_LIBS to fix only broken libs and not break working.
For now I'm trying what cause los14.1 unstable, sometimes it may work for hours, but when it crashed to black screen and buttons backlight it starts endless bootloop.
Unbelievable
Never expected los14.1 on mi pad.
Awsome,, nice work bro
Xiaomi Mi Pad with the latest OS. Awesome Dev!
Awesomeeeeeee! Highwaystar. You are simply awesome. never expected the lineageOs, that too for Mi pad. and now you are our only hope.
Holy moly... Would be flashing this baby once we get the camera and hardware acceleration sorted out... This is why I LOVE XDA and the developers here....
drakonizer said:
First! Holy ****, I never thought I'd see the day...
@highwaystar_ru Is there not enough space in /system even after merging system1 and system2?
Click to expand...
Click to collapse
Did you tried least gapps.
---------- Post added at 12:26 PM ---------- Previous post was at 12:25 PM ----------
drakonizer said:
First! Holy ****, I never thought I'd see the day...
@highwaystar_ru Is there not enough space in /system even after merging system1 and system2?
Click to expand...
Click to collapse
Did you tried gapps Pico version
awesome awesome awesome unbelievable ::good::good::good::good::good:

[ROM] LineageOS 17.1 for S10E/S10/S10+ Exynos

{
"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"
}
LineageOS 17.1 for Galaxy S10 Series​
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.
*/
Working:
- Wifi
- Sound
- mali drivers
- USB tethering
- Video Playback
- Fingerprint Sensor
- Ril (Mobile data,calls, sms and stuff)
- Sensors
- Bluetooth
- Wifi HotSpot
- MTP
- 2D and 3D gpu acceleration
- HW encoding/decoding
- GPS
- Cameras (All of them)
- HWcomposer (HWC)
- Signal indicator
- Double tap to wake
- Wireless PowerShare
Not Working
- VoLTE and VoWiFi will not be implemented (for now) as they heavily depand on samsungs framework
To properly report a bug (Please dont report things already on the Not Working list)
a) Logcat
b) /proc/last_kmsg (or /proc/kmsg)
c) /data/tombstones
d) dmesg
Please do not report bugs if you have performed any system modifications excluding gapps installation
Installation instructions
Make sure you are on Q stock firmware (All of the Q firmwares are tested and confirmed to be working, This should be the case with new fws too as long as Samsung doesnt significantly change bootloader trustzone bits)
Download Q twrp from this thread
flash twrp as per given instructions
if you are coming from stock and have encryption enabled format data (Note i said format, Wiping it in twrp is not the same as formating it)
wipe cache, dalvik cache and system
flash LineageOS
If you want to have gapps flash them right after flashing the rom before first booting
Reboot the device
Downloads:
Google drive
Mega.nz
(Select build coresponding to your devices codename, S10e = beyond0lte | s10 = beyond1lte | s10+ = beyond2lte)
sha256 checksums
Code:
93ca94478bd8fa8e95fd513d8aae82b8e3aa0d21484e31ba2098c1e5e6693990 lineage-17.1-20210112-UNOFFICIAL-beyond2lte.zip
afb505986373bbeb10ade91f67765d800f504a933c6b94d88c4013382ab32270 lineage-17.1-20210112-UNOFFICIAL-beyond1lte.zip
06a334e091bdaac91f6c64559b5c9746559178facc7364b5676c39ddaa826a18 lineage-17.1-20210112-UNOFFICIAL-beyond0lte.zip
4668a9cc55f6135403120370e668548a beyond2lte-boot-magisk.img
4954c5f2cbedbc2bbd90362745d93a1d beyond1lte-boot-magisk.img
84ec49e64560477e1df87417dbc4890e beyond0lte-boot-magisk.img
If you need general help or questions feel free to join Telegram group
Gapps
READ BEFORE INSTALLING MAGISK
I do this in my free time so bear that in mind when you notice I didn't fix known bug in next available build, Currently i work on this alone and i am not one of those kangers that just copy source and claim it as their own work,
if you want to support the project feel free to buy me some coffee paypal.me/ivanmeler
Based On Android Q
Changelog
01.12.2021.
- Merged january security update
- Updated magisk boot image to magisk 21.2
- Misc performance and security updates
12.12.2020.
-Merged december security update
- Merged december vendor security update
- Updated magisk images to 21.1
- Synced with los source
11.09.2020.
- Updated vendor to XXU9DTJA
- Switched to more calibrated sensor for Adaptive Brightness
- Merged November 2020. Security update
- Synced with LOS source
10.08.2020.
- Updated vendor to FXXS9DTI8
- Fixed camera and bt issues present in previous build
- Merged october 2020 security update
- Synced with LOS source
- Updates magisk images to latest canary build (turns out it was more stable than beta version)
09.10.2020.
- Merged OneUI 2.5 Kernel and vendor (DTH7)
- Enabled 5GHz tethering
- Updated Magisk images
- Merged September 2020 Security update
- Tuned little core optimizations
- Enabled vibrator intensity control (under accesibility)
- Misc performance and stability improvements
- Synced with LOS source
08.05.2020.
- Imported G97*FXXU8CTG4 vendor changes
- Merged August 2020 system and vendor security updates
- Improved system security and stability
- Synced with LOS source (Check out new extended volume panel)
07.08.2020.
- Imported G97*FXXS7CTF3 vendor changes
- Merged July 2020 security update for both system and vendor
- Misc performance and stability improvements
06.11.2020.
- Merged G97*FXXU7CTF1 kernel source
- Imported G97*FXXU7CTF1 vendor changes
- Removed proximity from always on display (again)
- Updated magisk images to G97*FXXU7CTF1
- Camera and wifi stability and performance improvements
- HWC stability and performance improvements
- Fixed issue where USB tethering under linux would cause kernel panic
- Synced with LOS source
06.03.2020.
- Merged June 2020 System security patch
- Merged June 2020 Vendor security patch (G97*FXXU3ASJD)
- Improved completely back theme
- Misc performance improvements
- Synced with LOS source
05.21.2020.
- Fixed DT2W on AOD
- Added completely black theme (You can access it thru styles settings entry)
- Removed blinking proximity sensor from AOD
- Added usb trust hal that can prevent usb devices from being used if plugged in while device is locked
- Exposed mdnie screen tuning modes
- Moved pin entry area above fingerprint on s10 and s10+ so they dont overlap with sensor
- Cleaned up DT2W implementation
- Added high touch sensitivity mode (Glove mode) (This can also help when using screen protectors)
- Implemented mDNIe powered color calibration (Settings>Display>LiveDisplay)
- Implemented color profiles so you can use natural colors if you wish to do so (Settings>Display>LiveDisplay)
- Next update should add even more color modes powered by mDNIe like negative and greyscale
- Updated magisk kernel images
- Synced with LOS source
05.15.2020
- Fixed boot on latest CTD1 firmware
- added ctd1 dtbo
- exposed all camera instances to external apps
- started working on HRM sensor
- merged CTD1 kernel source
- updated magisk images
- misc performance and stability improvements
05.05.2020.
- Merged G97*FXXS5CTD1 blobs with may 2020 security update
- Merged may 2020 system security update
- Fixed usb tethering issues
04.14.2020.
- Fixed significant motion sensor detection
- merged April system security update
- Added vbmeta into the zip
- Removed unused radio(ril) interfaces
- Merged Note and s10 5g kernels into same tree for easier maintanance
- Switched to source built dtbo
- Updated magisk kernel images
03.31.2020.
- April vendor security update (System is still march as april tags havent been released on aosp yet)
- Rebased kernel on top of G97*FXXU4CTC9
- Added dt and dtbo images to rom
- merged G97*FXXU4CTC9 vendor binaries
- Removed simstat service as samsung fixed dual sim device detection
- Updated boot images to Magisk 20.4
- Misc performance and stability improvements
03.03.2020.
- Merged march system security update
- Merged latest feature drop
- Synced with los source
- merged G97*FXXS4BTB3 vendor binaries
02.27.2020.
- Fixed camera cutout on S10
- Enabled proximity sensor in all apps with proper permissions
- Rewrote sensor impl
- Removed unused parts of lights hal
- Added vendor to the build (This is why rom is larger now)
- Cleaned up lights overlays and power hal handling
(This means vendor partition also gets built from source and can be more customized per aosp needs
instead of relaying on bind mounting over existing drivers)
02.19.2020.
- Fixed BT calls on some devices that had issues with WBS
- Fixed issue where on clean install or after factory reset there were no default notification sounds and ringtones set
- Synced with LOS source
02.11.2020
- Merged 4BTA8 kernel source
- Merged February security update
- Fixed MTP/USB tethering while ADB is enabled
- Synced with LOS source
02.05.2020.
- Rebased kernel on top of samsungs G975FXXU3BSKO source
- Fixed kernel not properly reporting deep sleep state to userspace
- Reimplemented sensor reporting to allow access to proximity sensor to more apps
- Updated build fingerprint to Q one
- Updated TARGET_BOARD_PLATFORM flag to reflect samsungs changes to same
- Removed releasetools which was failing on new-ish twrp releases anyway
- Removed P vndk libs
- Fixed power hal race condition
- Fixed manual network selection
- Performance and stability improvements
26.11.2019.
- Added FOD icons for S10 and S10+
(This will show up any time system or app needs to use fp sensor and will help users locate the sensor)
- Fixed detection of dual sim devices
- Misc performance and stability improvements
20.11.2019.
- Initial public release
XDA:DevDB Information
[ROM] LineageOS 17.1 for S10E/S10/S10+ Exynos , ROM for the Samsung Galaxy S10
Contributors
Ivan_Meler
Source Code: https://github.com/ivanmeler/android_kernel_samsung_beyondlte/tree/lineage-17.1
ROM OS Version: Android 10
ROM Kernel: Linux 4.x
ROM Firmware Required: Any stock Q firmware, Latest is recommended
Version Information
Status: Stable
Current Stable Version: 1.7.5
Stable Release Date: 2020-11-09
Created 2019-11-20
Last Updated 2020-11-09
Reserved
Reserved
Reserved
Magisk boot images are provided within each device folder named beyond*lte-boot-magisk.img you can flash them on boot slot and install magisk manager, No need to worry about rebooting to recovery or not having TWRP and magisk at the same time, Just make sure you dont try to boot to system with magisk patched TWRP as that might cause issues but as long as you have stock twrp and have flashed beyond*lte-boot-magisk.img image to boot slot you are fine, Source for given kernel is available at GitHub if you want to compile kernel yourself just run source build.sh devicename e.g. source build.sh beyond2lte, It will produce new boot image in build/ folder, To update magisk you can follow instructions given at this commit enjoy
Do note that you will have to reflash magisk boot image when updating rom
Great job, thank you so much!
I wait for m'y s10e will i be able to keep the original samsung theme from the menu ect ..?
Very nice, thanks for your hard work
:fingers-crossed::fingers-crossed::fingers-crossed:
Welcome LOS 17.0 to S10 exynos family.
thank you ivan u d the best for our samsuung s10, can't wait for the s10 reguler edition
Finally
Btw, magisk still doesn't work?
My only concern is the camera, is there a way we can install the stock S10 camera or a Google camera port on this?
Thanks Ivan!
does magisk work on this buld?
Builds for S10e and S10 are up
Thanks @Ivan_Meler. Nice work, much appreciated. Two questions: Will encryption work? Would you consider releasing the source so we can build and patch in some things?
catormeme said:
does magisk work on this buld?
Click to expand...
Click to collapse
I will post working magisk soon
wora92 said:
Thanks @Ivan_Meler. Nice work, much appreciated. Two questions: Will encryption work? Would you consider releasing the source so we can build and patch in some things?
Click to expand...
Click to collapse
Encruyption will work if you manually enable it in fstab as multidisbaler disabled it, I will release source in near in near future, Just want to sort out note10 series first
Screenshots?
Thanks to the nice work !
Encryption
Ivan_Meler said:
I will post working magisk soon
Thanks Ivan!
Encruyption will work if you manually enable it in fstab as multidisbaler disabled it, I will release source in near in near future, Just want to sort out note10 series first
Click to expand...
Click to collapse
Alternatively you can enable full disk encryption:
Download multidisabler-samsung-1.7
Open the Zip file and navigate to META-INF\com\google\android\
Open update_binary with a text editor
Search for fileencryption=. . . 2/g and add "footer"
so that the line looks like:
fileencryption=[^,]*\(.*\)$/# &\n\1encryptable=footer\2/g
Save the changed update_binary
Install (flash) multidisabler-samsung-1.7 now with the changed fileencryption instructions with TWPR.
Unmount the data partition in TWRP (if it is mounted).
Goto Advanced and open the Terminal in TWRP or use the ADB shell alternatively.
Find your data partition. For the S10/512 GB it should be sda31...
Enter "e2fsck -f /dev/block/sda31".
For the 512 GB device there will be 122804224 blocks.
Resize with "resize2fs /dev/block/sda31 122804220" (in order to make 4 blocks available for the FDE keys).
Check with "e2fsck -f /dev/block/sda31" if all went well. You should see now the size of 122804220 blocks.
Clear Cache and reboot to System.
Now you should be able to encrypt your data in LOS17 with full disk encrpytion.
Magisk guide has been posted here make sure you read it and understand what you are doing before installing it, also do not post any bug reports if you are running any magisk modules that might have caused them
byteXpression said:
Alternatively you can enable full disk encryption:
Download multidisabler-samsung-1.7
Open the Zip file and navigate to META-INF\com\google\android\
Open update_binary with a text editor
Search for fileencryption=. . . 2/g and add "footer"
so that the line looks like:
fileencryption=[^,]*\(.*\)$/# &\n\1encryptable=footer\2/g
Save the changed update_binary
Install (flash) multidisabler-samsung-1.7 now with the changed fileencryption instructions with TWPR.
Unmount the data partition in TWRP (if it is mounted).
Goto Advanced and open the Terminal in TWRP or use the ADB shell alternatively.
Find your data partition. For the S10/512 GB it should be sda31...
Enter "e2fsck -f /dev/block/sda31".
For the 512 GB device there will be 122804224 blocks.
Resize with "resize2fs /dev/block/sda31 122804220" (in order to make 4 blocks available for the FDE keys).
Check with "e2fsck -f /dev/block/sda31" if all went well. You should see now the size of 122804220 blocks.
Clear Cache and reboot to System.
Now you should be able to encrypt your data in LOS17 with full disk encrpytion.
Click to expand...
Click to collapse
Thanks. Did you try FBE too? I tried FBE on LOS 16 but this ended up in a bootloop.
Thx Ivan ! Great work... :good:I really love your work and appreciate the afford.
Looking forward to the source code release making signature spoofing for microg possible.

Categories

Resources