[ROM] [UNOFFICIAL] LineageOS 12.1 |ASUS Memo Pad HD 7 (me173x) [MT8125] - Miscellaneous Android Development

Disclaimer:
LineageOS (Lineage Android Distribution) members or anyone else on this website is 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, and if you point the finger at us for messing up your device, we will laugh at you. Your warranty will be void if you tamper with any part of your device / software.​
How to Install:
1- BACKUP, BACKUP, BACKUP, All will be WIPED!
2 - Unlock bootloader instructions here
3 - Flash New Recovery (with newer kernel for Lollipop)
4 - Move Rom & Gapps into external (or internal) storage
5 - Full Wipes ( recommended, wipe All -Preflash)
6- Flash Rom & Gapps (gapps are OPTIONAL)
After ROM is finished flashing, there will be a prompt for
To fix "SU"
--> press "NO", otherwise it'll mess some permissions and wifi (among other things) won't work properly
for GAPPS:
Choose Gapps Package "ARM" > "5.1" > "Pico" or "Nano" visit OpenGAPPS
Working:
Boots
Wifi
Bluetooth
GPS
Audio ( all: Speaker and headphones)
Charging and Offline Charging
Mediaserver
SW enc/dec
Both storages working
HW Composer
etc ....
NOT Working:
No camera support (broken in my kernel, and likely broken in Lineage as well)
Auto rotation (accelerometer broken in my kernel)
You tell me
Thanks
OMNI Rom and their work on MT6589 (special thanks to: xplodwild & Dr-Shadow)
chrmhoffmann
kashifmin & blackrebel75
DerTeufel1980 & fire855 ( my Team mates from M.A.D) some of our "madOS" optimizations where used here / other stuff
BSydz for Carliv-CWM Recovery ( im too lazy to build one)
recovery has been repacked with my kernel for lollipop flash)
XDA:DevDB Information
[ROM] [UNOFFICIAL] LineageOS 12.1 |ASUS Memo Pad HD 7 (me173x) [MT8125], ROM for the Android General
Contributors
superdragonpt
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Unlock Bootloader
Based On: CyanogenMod/LineageOS
Version Information
Status: Beta
Created 2019-10-28
Last Updated 2020-04-27

FAQ & Changelogs / Downloads
Small FAQ:
Q: How can i Unlock the Bootloader?
A: Instructions for Unlocking the Bootloader can be found here
Q: After locking the screen, the screen is all black, and I'm forced to reboot, how can I fix this?
A: If you have this issue, then your device uses an different hardware LCM
( the lgld070wx3_dsi_vdo ), please use the second kernel.zip for this variant, it'll be added an second kernel . zip for people with this variant, on the download section with the ROM releases
how to flash this ?
After flashing the ROM, flash the second kernel afterwards
This kernel containing the LCM for this HW variant will be always WIP, as both my units have the first LCM HW variant ( nt35521_dsi_vdo).
So my testing will be always based on other people logs
Q: Where are the Developer Options?
A: Go to Settings>About Phone, and tap 7 times on the Build Number
Q: How can i root this rom?
A: Rom is already pre-rooted with Lineage's su
--> Enable Developer Options by tapping 7 times on Build Number
then in Developer Options > Check the "root access" option
Q: Can i root with another method ?
A: Sure, you can also use latest SuperSU (v 2.82)
Magisk root, haves some issues with Legacy MediaTek Devices, use/ test at your own risk
Q: I can't flash this Rom on recovery, why?
A: You need to update your recovery in order to flash this Lollipop Builds
Q: How can i flash the new recovery?
A: If you already have an custom recovery installed:
Download the new recovery zip
flash the new recovery
reboot to recovery again
If you don't have any custom recovery installed:
- You can extract the "recovery.img" from the .zip
- Open an terminal
- Boot to fastboot mode, and type:
Code:
fastboot flash recovery recovery.img
then reboot:
Code:
fastboot reboot
Q: I Love your work, how can i thank you?
A: You can press the "Thanks" button, and if you wish, you can pay me a beer
Changelogs:
Build: 20191028
First Release
build.id=LMY49J
version.release=5.1.1
Security_patch=2016-11-01
Build: 20191103
GPU PowerVR SGX 544: Update driver & DDK update from 2204701 > 2564405
LCM: nt35521_dsi_vdo: Improved Gamma / color
cpufreq & HotPlug Mechanism Backport from MTK KitKat
Reverted ASMP
Charger: BQ24156: Corrections: in some scenarios (thermal) current was too low to init charging
LCM: nt35521_dsi_vdo: More reverse engineering done ( greatly improved resume, suspend, etc)
Other Kernel optimizations, check github for full list
Fixed and enabled HWC (hardware composer)
ART: improvements for low ram devices
Many low ram optimizations
Frameworks: tune for Faster app switching
Frameworks: tune System Animations for low ram
Frameworks: tune Scrolling, velocitytracker, other system animations
Build: 20200413
Kernel:
New Kernel, based on latest 6589 platform baseline
Upstream to Linux 3.4.11
Many (many...) issues fixed, being the main ones:
Linaro 4.9.1
Update ExFat to 1.2.9
Many GPIOS issues fixed (mediatek power)
Update BFQ to v7r8
mediatek board: MSDC fixs
Removed MediaTek LMK (low memory killer) implementation, switch to android's and upstream lowmemorykiller
selinux and binder updates
Removed some MediaTek SCSI mess implementation (very bad)
Increase Swappiness
Video: Fix LCD Blinking & ESD discharge
mediatek: Update connectivity, Sync with MediaTek LP 3.10 kernel
Backported from mediatek kernel 3.10.x (lp1 & MM) several Kernel security vulnerabilies & updates
Battery: New battery percentage tables
charger: Fix several issues
Power OFF charging: fix issues
combo chip improvements
LCM improvements
etc
Device:
Fix some ramdisk permissions
Switch to tablet optimized recents interface
Fix screen flipping before screen goes off
Disable config_wifi_background_scan_support
Switch to shim lib
SW OMX improvements
ART optimizations
Remove useless packages ( reclaim more RAM)
etc
Frameworks, others:
CM -> Lineage, last steps rebranding
Fix some eGL crashs
remove cmstats to stop tracking...
Improve GPS assist
SW OMX improvements
Fix two NullPointerExceptions
Backport security vulnerability on SQL
Fix fix memory leaks
Track down and fixed an issue where audio would stop playing ( Facebook videos)
Fix WVM, widevine DRM
Add Chromium Browser to replace the old and insecure AOSP Browser
Disable HWC (we don't really need it for now)
Fix a missing symbol from ICU
Backport security vulnerabilies on fw_opt_net wifi & external wpa supplicant
Fix an issue with Bluetooth share
other stuff...
Build: 20200516
Kernel:
Upstream to Linux 3.4.34
LCM: nt35521_dsi_vdo: Be compatible with the newer Hynix nand
mmc: Hynix HAG2E: Work around sdio resume
Power: Turn off VMC 3V For power saving
WiFi: Adjust regs for better WiFi Power flow (Decreases WiFi Power consuption)
mediatek: remove MTK SCHED
WiFi: Final corrections (Fully working now)
Sound corrections
video: Improve on-resume responsiveness
LCM: lgld070wx3_dsi_vdo Is fully working now
Other small issues & clean up fixs
Frameworks:
native: libUi : Add compatibility with MediaTek MT6589
native: surfaceflinger: Add compatibility with MediaTek MT6589
EGL: Add further compatibility with MediaTek MT6589
av: libstagefright: WIP MT6589 Fixs
Better integration of MTK MT6589 hwcomposer (forward port code from MediaTek MT6589 KK BSP)
Better integration of MTK MT6589 gralloc (forward port code from MediaTek MT6589 KK BSP)
Downloads:
Recovery:
https://www.androidfilehost.com/?fid=4349826312261609065
Download Builds:
20191028
https://www.androidfilehost.com/?fid=4349826312261609061
20191103
https://www.androidfilehost.com/?fid=4349826312261615659
20200413
https://www.androidfilehost.com/?fid=4349826312261770467
Kernel for users with second LCM HW variant
(check F.A.Q. above for more info )
https://androidfilehost.com/?fid=4349826312261777404
20200516
https://www.androidfilehost.com/?fid=4349826312261811603
Kernel build 20200516 (for second LCM HW variant)
(check F.A.Q. above for more info )
https://www.androidfilehost.com/?fid=4349826312261811606
..

Info and GPL Compliance
Some small intro:
Asus never complied with GPL (despite the efforts of many people, myself included)
Asus always denied to provide the *real kernel source code, instead they provided an generic kernel that is useless, as it doesn't contained ANY driver used by this device
My Kernel, was made from *scratch, and this took some years to achieve the current state, yet, it's not completed nor perfect:
Broken:
- No cameras support ( the image sensors are highly customized by Asus), this is broken at kernel level, let alone on ROM...
- Sensors ( accelerometer & magnetometer are still kinda broken, they are registered, but don't work most of the times)
half Broken:
- WiFi : WiFi driver has also been highly customized, right now WiFi is working just fine, but with just one small bug
--> if you disconnect WiFi, and then afterwards try to connect it'll hang ( you need to reboot) FIXED since Build 20200516
- Reported battery percentage, isn't very precise , and may have sudden drops
Working:
LCM nt35521_dsi_vdo
LCM lgld070wx3_dsi_vdo
(second HW revision), support available in an seperate kernel .zip
( check F.A.Q above)
Touch (GT927)
Charging (BQ24156)
Storages
All the rest
​GPL:
Kernel:
https://github.com/dragonpt/android_kernel_asus_me173x
New Kernel starting from 20200413 builds
https://github.com/dragonpt/android_kernel_asus_me173x_new
Device:
https://github.com/dragonpt/android_device_asus_me173x

Oh god. This looks amazing!
Dang that I sold mine a few years ago...
Good work!

Thanks for your efforts to make this working. Great job!
Still have one lying around here so definetly gonna try this.
If remaining problems with CM12.x are solved will there be like CM14 in the future too?
Thanks.

tweakradje said:
Thanks for your efforts to make this working. Great job!
Still have one lying around here so definetly gonna try this.
If remaining problems with CM12.x are solved will there be like CM14 in the future too?
Thanks.
Click to expand...
Click to collapse
Funny you asked this
There's some early work already towards los 14
( Nougat)
Let's see

Thanks for work!
Yesterday I install this version on my tablet. Good side: tablet booted But after screen lock, I only can see screen backlight and sounds when I tap to a black screen, reboot helped solve this problem, but after screen lock, this problem repeated. And I can't turn on wifi

taller_stk said:
Thanks for work!
Yesterday I install this version on my tablet. Good side: tablet booted But after screen lock, I only can see screen backlight and sounds when I tap to a black screen, reboot helped solve this problem, but after screen lock, this problem repeated. And I can't turn on wifi
Click to expand...
Click to collapse
Interesting...
As I mentioned previously, this tablet came with two versions of LCM, I own two and both have the same :
"nt35521_dsi_vdo"
I can only assume your have the other LCM variant from LG "lgld070wx3_dsi_vdo"
As you can see here in kernel project configuration:
https://github.com/dragonpt/android...sus/mediatek/config/asus/ProjectConfig.mk#L49
Thanks for your provided feedback, you gave me an clue in how to possibly fix this second LCM variant, I'll look into it.
Meanwhile if you please: before your tablet went into locking, where the colors alright, any noticeable artifacts in the screen?
Thanks

Yep, I see some artifacts on the screen: screen blink and white line on the bottom of the screen
JFYI, I have RUS tablet version

superdragonpt said:
Interesting...
As I mentioned previously, this tablet came with two versions of LCM, I own two and both have the same :
"nt35521_dsi_vdo"
I can only assume your have the other LCM variant from LG "lgld070wx3_dsi_vdo"
Click to expand...
Click to collapse
Hi, is there a method from stock to determine that LCM version?

Trubbs said:
Hi, is there a method from stock to determine that LCM version?
Click to expand...
Click to collapse
yes
If you have stock rom (or any of my AOSP roms)
you need root, install deviceinfohw app
https://play.google.com/store/apps/details?id=ru.andr7e.deviceinfohw&hl=en_US
then on this app go to settings, allow root permissions
reload the app, and it'll show the LCM driver
edit check picture:
{
"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"
}

What are people using for root on this? I've tried flashing Magisk (v20) but it fails in an unsupported image format when extracting the boot image.

dt_matthews said:
What are people using for root on this? I've tried flashing Magisk (v20) but it fails in an unsupported image format when extracting the boot image.
Click to expand...
Click to collapse
Lineage have their own su, you can activate it on developer settings
- you can also flash latest SuperSu 2.82 (tested working)
-Magisk haves some issues with some Mediatek devices (some other mtk devices my team supports haves this issue as well)
If I recall ... only until version 14 or 16 works
( I'll confirm this later)
Cheers

I have graphic artifacts after waking up the device. in addition, tablet charging does not work. after uploading the re-stock ROM loading works
Wysłane z mojego motorola one vision przy użyciu Tapatalka

con01 said:
I have graphic artifacts after waking up the device. in addition, tablet charging does not work. after uploading the re-stock ROM loading works
Wysłane z mojego motorola one vision przy użyciu Tapatalka
Click to expand...
Click to collapse
Really Weird charging is not working...
Working fine for me, (16 GB variant WW) also a user with the 16GB variant RU also confirmed this to be working
About after waking up the device I have this sometimes as well, its ESD discharge from the LCM, not something to worry about, the LCM is not perfect, needs some more tuning .
Could you tell me what LCM does your variant uses?
You just need to install an app and check .
Seems to me , there's some more model variants
( with slightly different hardware that I was aware )
Cheers

superdragonpt said:
Lineage have their own su, you can activate it on developer settings
- you can also flash latest SuperSu 2.82 (tested working)
-Magisk haves some issues with some Mediatek devices (some other mtk devices my team supports haves this issue as well)
If I recall ... only until version 14 or 16 works
( I'll confirm this later)
Cheers
Click to expand...
Click to collapse
Ah, great, ok, I'll activate the provided su in settings.

WOW!
Thank you, mate, for a great job!
It was pity to realise the good device is gonna die on JB.
Looking forward for a reliable ROM.

@superdragonpt sorry for became a bit OT,
Can I use some commits from your tree for another mt6589 device that I working on it?
Thanks!

Rortiz2 said:
@superdragonpt sorry for became a bit OT,
Can I use some commits from your tree for another mt6589 device that I working on it?
Thanks!
Click to expand...
Click to collapse
Of course
Cheers

Installed rom without issue, good instructions :good:
I also get problems waking device, in fact always have to reboot. Main reason to install was to allow netflix downloads however it appears that is a deeper issue than just android version, possibly architecture. But it does allow install of kodi so positive there. Main use is entertainment device in my car during lunch break.
Also have weird keyboard issues, double key entry type android get androoid and random other key presses miles away from where my fat fingers are pressing.
Great work so far otherwise, thanks
Let me know if I can assist dev with any test or info.
Cheers

Related

[ROM] [KERNEL] [KitKat 4.4.2] Newman N1 (MT6577) | (Freelander i10 / Digma iDxD4)

Hi everyone,
In this thread you will find my KITKAT custom Rom and Kernel for Newman N1.
KitKat 4.4.2 custom ROM (ported from ZTE V970 KK 4.4.2 by Superdragonpt)
Release of Stable v1.2 2015-02-01 (SDCard update)
Now compiled with the latest Linaro Toolchain 4.9.3 (2105-01)
New Compilation Flags and MOD Flags: Neon; Cortex a9; arm v7; Linaro's 4.7+ / 4.9.x Flags; fgcse-las; etc
Add: CPU Governors: Sakuractive (Optimized HotPlug Governor) (cherry-pick from superdragonpt source)
Add: I/O Schedulers: ROW and SIO (cherry-pick from superdragonpt source)
Add: Completely Fair Scheduler (CFS): Responsiveness Tweeks (cherry-pick from superdragonpt source)
Add: Dynamic management of dirty page writebacks (Fully controlled via Settings > Performance Control) (cherry-pick from superdragonpt source)
Change: Increase Swappiness to 70 (60 > 70) (cherry-pick from superdragonpt source)
Change: Disable Gentle Fair Sleepers (Better UI responsiveness) (cherry-pick from superdragonpt source)
Change: Minimum Readahead increased to 32Kb (16 > 32) (cherry-pick from superdragonpt source)
Change: Maximum Readahead increased to 1024Kb (128 > 1024) (cherry-pick from superdragonpt source)
Removed: Motorola's FLEX Info
User Customizable AROMA Installer
Single/Dual SIM Selection
Root Selection (Choose to apply Root (last version), or stay un-rooted)
Wipes are optional​
Release of Stable v1.1 2015-01-16 (SDCard update)
Add: SmartAssV2 and PegasusQ governors
Fix: Battery green led when charge is over 90%
Fix: Headset button for call/music control
Fix: Small bug on compass permissions
Fix: Small bug on als_ps permissions
Upd: Some Google app to last version
NOTE: After install v1.1 apply one of the following patches available in Download section:
For Dual SIM (active SIM Management): KK_Patch_Dual-SIM_build.prop.zip
For Single SIM: KK_Patch_One-SIM_build.prop.zip
Release of Stable v1 2014-12-19 (SDCard update)
Fix: Bluetooth (thanks qus)
Fix: Camera AF - no more need of KK_Cameras_Fix.zip (new driver for both cameras)
Fix: SIM Management (now working, and available on Settings)
Default build.prop setting: ro.product.dualsim=f (SIM Management disable)
To enable SIM Management: ro.product.dualsim=t
Fix: CPU scaling permissions
Add: MTK Engineering Mode on Settings
Add: CPU Performance Control on Settings
Add: AOSP Browser
Known problems
You tell me
Release of Beta2 2014-12-09 (SDCard update)
Fix: 3G call hearing problem (thanks to superdragonpt)
Fix: Camera AF (now with the correct driver)
Fix: CPU governor and scaling
Default Governor: Hybrid
Default I/0 Scheduler: cfq
Fix: Automatic Time Zone (no more com.android.phone FC)
Mod: Modified KK Permissions to allow apps/data to read/write from External SD Card (Google Removed External SD Card access on KK)
Add: Insecure ADB
Known problems
BT not working
Release of Beta1 2014-12-01 (SDCard update)
Custom kernel 3.4.67 (beta) - Thanks to qus1 and superdragonpt
Camera and AF working
Wifi working
Radio FM working
Notifications LED working
Known problems
Second SIM not tested
GPS not tested
BT not working
About the Rom
Rom based on the Official Release by Motorola XT919 / XT920 (Combo-Chip MT6628)
Ported from ZTE V970
Many fixes were needed to make it work on our Combo-Chip (MT6620 - Responsible for the Radio / GPS / WiFi / etc)
Includes New Custom KitKat Kernel 3.4.67
GPL Compliance (kernel sources)
Kernel 3.4.67 source code​
Credits
Me for finding the Motorola XT919 / XT920 kernel source code
Special Thanks to superdragonpt for the KK 4.4.2 ROM and many kernel fixes
Special Thanks to qus1 for the initial Help / RAW Original Motorola Rom
Thanks to dsixda for the ROM kitchen
Thanks to brut.all and iBotPeaches for the apktool
Thanks to bgcngm for the Unpack/repack MT65xx Scripts
Thanks to Chainfire for the Supersu​
DISCLAIMER
I will NOT be responsible for any damages, bricks or any type of problems that you cause to your phone.
Flash at your own risk and always make a backup first.
DO NOT LEECH MY DOWNLOADS, PLEASE LINK YOUR PAGE TO THIS THREAD.​
If you like my work, you can easily show your appreciation by pressing "Thanks" button or maybe Donate and buy me a beer.
XDA:DevDB Information
[ROM] [KERNEL] [KitKat 4.4.2] Newman N1 (MT6577) | (Freelander i10 / Digma iDxD4), ROM for the Android General
Contributors
lingfude
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.4.x
Version Information
Status: Stable
Current Stable Version: 1.2
Stable Release Date: 2015-02-01
Current Beta Version: 2
Beta Release Date: 2014-12-01
Created 2014-12-01
Last Updated 2015-03-14
How to Install / Requirements
Just in case, before flash make an full backup of your current Rom and Kernel.
Requirements
New CWM or TWRP Recovery ( In The Downloads Section)
I Recommend TWRP
Extended Internal UserData Partition (due to the new KK fstab, the internal Memory can't be mounted)
(Users with stock Partition Layout, can still flash this rom, however you'll have only 500MB of userdata)
Installation / Flashing Procedure
Put the rom on the EXTERNAL SD Card
BOTH SIM's must be taken out of the Phone (Not doing so will throw some nasty errors 8/10 times ...) Not need with Beta2
FULL Wipes are mandatory (Cache/dalvik/Data)
Flash the ROM (Remember, you must not have your SIM(s) card(s) on the Phone ...) Not need with Beta2
When the Rom, finishes Booting, you need to go to Settings > Date & Time > and UNtick the checkbox for "Automatic Time Zone" (Disabled this Option, as it messes with the Network Signal) Not need with Beta2
Power OFF the Phone, and insert your SIM(s) Card(s) Not need with Beta2
[*] If you wish, reboot to the recovery first, and flash the SuperSU.zip in order to ROOT the Device (ROM isn't rooted as default), After flashing the supersu.zip, reboot the Phone, Say "NO" to the Recovery Promp about Root not instaled/damaged
--> You can find the latest SuperSU Root v2.40 HERE Not need with v1.2 or above
[*] Install the Rom
​
Internal memory re-partition (extended userdata partition)
Read with very carefully and do it at your own risk
Make a full backup via MKTDROIDTOOLS including NVRAM and IMEI
The Internal SD will be formatted so you will lose all the data that you have there
Download NewmanN1_2.5G_ExtendUserdata.zip (modified MBR and EBR1)
Extract the ZIP into a folder in your computer
Shutdown the phone
Open SP Flash Tool v3.1222.00 (or higher) and load the scatter file (extracted from NewmanN1_2.5G_ExtendUserdata.zip)
Flash MBR and EBR1 as shown on the next image (more details in this flashing tutorial)
{
"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"
}
After flashing is complete, boot into Recovery and wipe/format /data
Reboot into Recovery again
It's recommended that you install the full Rom again
Reboot and enjoy
Patches / MODs
[PATCH] Fix for both cameras (Rear/Front)
Improvements on the main camera driver (better AF and better luminosity)
New front camera driver
Download Camera_patch_for_KK-v1.2.zip from Downloads section and install from Recovery.
[PATCH] Default Sound Volumes like Stock ICS
This patch sets the default sound volumes like Stock ICS Rom.
After apply the patch you can check the new values in the Engineering Mode.
Download Volume_Sound_Patch.zip from Downloads section and install from Recovery.
[PATCH] Bluetooth Sniffer Logs
This patch enables you to enable/disable the bluetooth sniffer logs.
(logs are created in /data/@btmtk/hci_sniffer_logxxxxxxxxxxxx.log)
After apply the patch you need to add the following code in the build.prop:
To Disable logs
Code:
persist.service.bt.virtualsniff=[COLOR="Red"]0[/COLOR]
To Enable logs
Code:
persist.service.bt.virtualsniff=[COLOR="Red"]1[/COLOR]
Download Bluetooth_Logs_Patch.zip from Downloads section and install from Recovery.
[MOD] Battery Percentage - Thanks to homeslice976
This MOD shows the text of battery percentage over the battery icon.
Download KK_Battery_Percentage.zip from Downloads section and install from Recovery.
Reserved
Reserved
Finnaly
Your Welcome :fingers-crossed:
Regards
Thanks. Great news for our smartphone!
After one day of use I can say:
- very laggy especially typing and taking camera pictures
- can't ear the people in a call: it's mute
- Bluetooth issues
No idea about second sim and gps
Everything else works for me
- can't ear the people in a call: it's mute
Click to expand...
Click to collapse
Try patch "Patch2_3G_Calls_BETA1.zip " from here.
- Bluetooth issues
Click to expand...
Click to collapse
This is a known issue for now.
Thanks again.
Now I can ear... I will do some more test today
Hi once again, lingfude. It is a pity for a situation on 4pda.
I as promised made the test Kit-Kat with one sim card in the 2nd slot. Results:
At installation of an insertion I didn't pull out a sim card from phone. The Automatic Time Zone point is included. Calls work, 2G the Internet works.
I have still a problem that Play Market long loads appendices. You have no such problem? The Internet well works.
Distress52 said:
Hi once again, lingfude. It is a pity for a situation on 4pda.
I as promised made the test Kit-Kat with one sim card in the 2nd slot. Results:
At installation of an insertion I didn't pull out a sim card from phone. The Automatic Time Zone point is included. Calls work, 2G the Internet works.
Click to expand...
Click to collapse
Well I was about to post in there also, but since we can't post in English...
About the 3G calls patch, its working "ok" . People that complain about not having network signal, should check this 2 things:
- Follow the instructions ( I spent time writing that, to avoid unnecessary questions)
- country networks.
The modem isn't compatible for worldwide, if you don't have 2g or 3g network:
- Indicate what's your country and GSM networks , so, that we can make an additional patch.
Regards , have funn .
Edit: Lingfude, you need to check your kernel imgsensor driver, I changed that with FM50AF ( my zte driver)
In fact the driver in the source labeled OV8825/35 is the FM50AF modified.
--> You can get the original driver from qus source
Regards
superdragonpt said:
...Edit: Lingfude, you need to check your kernel imgsensor driver, I changed that with FM50AF ( my zte driver)
In fact the driver in the source labeled OV8825/35 is the FM50AF modified.
--> You can get the original driver from qus source
Click to expand...
Click to collapse
Thanks for the warning I will check it later. :good:
Distress52 said:
I have still a problem that Play Market long loads appendices. You have no such problem? The Internet well works.
Click to expand...
Click to collapse
Google Play works fine here.
superdragonpt said:
...Edit: Lingfude, you need to check your kernel imgsensor driver, I changed that with FM50AF ( my zte driver)
In fact the driver in the source labeled OV8825/35 is the FM50AF modified.
--> You can get the original driver from qus source
Regards
Click to expand...
Click to collapse
I just fix the Camera AF with the correct driver.
lingfude said:
I just fix the Camera AF with the correct driver.
Click to expand...
Click to collapse
Told ya
I'm glad for you
Automatic Time Zone error --> Solved
Hia All.
I just solve the com.android.phone error caused when "Automatic Time Zone" is enabled.
Very good.
Just to summarize 'till now what is not working (need to be fixed in some way):
1- Bluetooth
2- Camera autofocus (solved? waiting for the patch)
3- Auto Timezone (solved? waiting for the patch)
I just have some issue with:
1- finding roaming options (how can I disable roaming messages to be displayed? I'm all the time in roaming with my operator so no need to be warned about each time I'm doing a call )..
2- setting governor? Can't find any!
3- Top up menu (can't add or remove switches)
Thanks for your time.
New KK release: Beta2
Hi All.
I just released a new KK version: Beta2
Just see the first post.
Your feedback is important.
In test!

[GearCM][i9500][5.0.x] Optimized CyanogenMod 12 for Samsung Galaxy S4 [Fin. 20150731]

Use > this other thread < to ask questions or to discuss about something​
{
"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"
}
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 5.0.x (Lollipop), which is designed to increase performance and reliability over stock Android for your device.
Code:
#include
/*
* 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.
*/
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
ROM Downloads
<< Stable >>
20150731 Final Build: https://www.androidfilehost.com/?fid=24052804347784711
<< Misc. (Modem & Recovery) >>
GearRecovery (based on TWRP Recovery) 20150324: https://www.androidfilehost.com/?fid=95916177934545673 <= Recommended
I9500XXUHOD7 LL Modem: https://basketbuild.com/filedl/devs...s And Bootloaders/I9500-XXUHOD4-MODEM_CWM.zip <= Russian Modem, Recommended
I9500DDUHOA1 LL Modem: http://forum.xda-developers.com/attachment.php?attachmentid=3165311&d=1423927137 <= Indian Modem, use it if you're experiencing problems with Russian variant
Previous Releases:
<< Stable >>
20150506 Build: https://www.androidfilehost.com/?fid=23991606952598514
20150424 Build: https://www.androidfilehost.com/?fid=96042739161893123
20150403 Build: https://www.androidfilehost.com/?fid=95916177934550380
20150324 Build: https://www.androidfilehost.com/?fid=95916177934545672
20150228 Build: https://www.androidfilehost.com/?fid=95916177934535412
GearRecovery (based on TWRP Recovery) 20150228: https://www.androidfilehost.com/?fid=95916177934535416
20150214 Build: https://www.androidfilehost.com/?fid=95916177934529038
GearRecovery (based on CM Recovery) 20150207: https://www.androidfilehost.com/?fid=95916177934524927
20150207 Build: https://www.androidfilehost.com/?fid=95916177934524891
GearRecovery (based on CM Recovery) 20150119: https://www.androidfilehost.com/?fid=95897840722646145
20150120 Build: https://www.androidfilehost.com/?fid=95897840722646839
20150117 Build: https://www.androidfilehost.com/?fid=95897840722644860
20150105 Build: https://www.androidfilehost.com/?fid=95887005526786982
<< Beta >>
20141227 Build: https://www.androidfilehost.com/?fid=95864024717070984
20141224 Build: https://www.androidfilehost.com/?fid=95864024717069340
20141223 Build: https://www.androidfilehost.com/?fid=95864024717068584
20141216 Build: https://www.androidfilehost.com/?fid=95857557620393081
Google Apps (add-on)
http://opengapps.org/ <== Recommended <> Platform: arm | Android: 5.0 | Variant: nano
Installation
3-button-combo = "Volume Up/+" + "Home/Center" + "Power/Lock"
- First time flashing GearCM 12 to your Galaxy S4 (or coming from TouchWiz/Stock Based ROMs)?
Root your device and install latest GearCM Recovery.
Reboot into Recovery using 3-button-combo
Do a Nandroid Backup!
WIPE (wipe data/factory reset + wipe cache partition + format /system partition)
Install the ROM from internal/external sdcard using ClockworkMod Recovery
Optionally install Google Addon
Done! You can now reboot the phone to enjoy the rom
- Upgrading from Official CM10.2/CM11/CM12 or GearCM 11?
Reboot into Recovery using 3-button-combo
Do a Nandroid Backup!
Install latest latest GearCM Recovery.
Reboot into new Recovery using 3-button-combo (if needed)
WIPE (wipe data/factory reset + wipe cache partition + format /system partition)
Install the ROM from internal/external sdcard using ClockworkMod Recovery
Optionally install the Google Addon
Done! You can now reboot the phone to enjoy the rom
- Upgrading from another build of GearCM 12?
Reboot into Recovery using 3-button-combo
Do a Nandroid Backup!
Install latest latest GearCM Recovery.
Reboot into new Recovery using 3-button-combo (if needed)
Install the ROM from internal/external sdcard using ClockworkMod Recovery
WIPE Dalvik/ART Cache (wipe cache partition + wipe dalvik cache)
Done! You can now reboot the phone to enjoy the rom
Known Issues (regarding latest available Stable build)
Please do not report bugs if it is already listen in the list of known issues
Rarely, when you wake-up the device, touchscreen will have a noticeable input lag, easily fixable by turning off and on the display. (H/W or S/W bug?)
Wireless Display with some TVs could cause issues (AOSP bug related to HDCP, and Google doesn't provide a solution)
Video Stream through Screencast & Wireless Display will have inverted Red and Blue color channels due to BGR Pixel Format (actual Exynos sources don't allow to fix it)
Any Chinese (CHN, I9500XCUxxx codename) Baseband/Modem reduces Call Quality (due to forced AMR_WB, unsupported by CHN modems)
5GHz Wi-Fi Networks using Band B (52-140) and Band C (149-161) channels won't be listed (H/W or S/W bug?)
Reporting Bugs
You are allowed to report bugs only in this thread. Before reporting a bug, please make sure you are running as stock as possible. This means no custom kernel, no custom framework modification, etc. If you are using any of the above modifications, please flash the rom again to get rid of the modifications before reporting.
REPORT BUGS IN THIS THREAD ONLY
Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
If it is a random reboot, grab /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)
If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. The following is a useful format to follow. Note: If you can provide the latest night/build that the bug didn't exist, it would greatly help in tracking down what caused it.
Code:
What is your--
Phone model:
Radio (baseband) version:
GearCM version:
GearCM download url:
Google Apps version:
Did you--
wipe data/factory reset:
restore with titanium backup:
reboot after having the issue:
Are you using--
a task killer:
a non-stock kernel:
CMSettings/Performance Settings (other than stock):
other modifications:
Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:
Changelog
20150731:
Updated CM Sources
Follow CM12.1 Changelog, until 20150731 Build.
Previous Releases:
20150506:
Updated CM Sources
KERNEL: Optimized Memory Operations
KERNEL: Optimized big.LITTLE CPU utilization
KERNEL: Optimized TCP Congestion Method
KERNEL: Some net. & ARM fixes
20150424:
Updated CM Sources
Updated Audio Driver and Configuration
Removed Hardware MPEG2 Codec
Properly Fixed and Updated XMM Modem RIL
Fixed Manual Network Operator Search
Reduced EGL Cache Size to reduce RAM usage
Fixed in-call echo problem (definitely)
Reduced Speaker Volume (to reduce distortion)
Using latest LL Hardware OMX Codecs
Optimized Wi-Fi by using Stock Configurations
Fixed Video Recording (no more pixelated videos)
KERNEL: Optimized Vibrator Driver
20150403:
Updated CM Sources
Highly Optimized
Updated Audio Driver
Updated RIL Stuff
Stabler and better audio mixer values
Optimized RAM Management
RECOVERY: Updated TWRP sources
20150324:
Updated CM Sources
Restored USB Mass Storage support
Fixed LEDs while in offline charging mode
KSM Configured and Enabled by default
Restored battery percentage while in offline charging mode
Using latest LL proprietaries
RECOVERY: Updated TWRP sources
KERNEL: Switched to LL kernel sources
KERNEL: Reduced debug
KERNEL: Merged some updates from Android 5.1
20150228:
Updated CM Sources
Improved Battery Life
Optimized Bluetooth Audio (A2DP & SCO)
Increased Speaker Volume
Decreased Headset Mic. Volume
Fixed VOIP Apps (Skype and such...)
Fixed MTP without ADB Debugging
Added F2FS Support for Cache & Data partitions (use latest GearCM Recovery to change filesystem type)
Fixed slow Flashlight toggle
Enabled Noise Suppression
Enabled Call Recording
Re-Introduced non-PIE support
Fixed touch-on-notifications (Ambient Display)
Fixed lags on some games
Disabled Equalizer Visualizer on Music app by default (laggy)
Optimized Auto-Brightness values
Reduced battery safe temperature (before 60 degrees, now 55)
Using Nexus 5 MMS User Profile
Fixed USB OTG on Lollipop
Increased External Storage speed access
Disabled Wi-Fi background scan (no one uses it and if enabled it causes battery to drain on idle)
Added Advanced Display settings
KERNEL: Optimized performance
KERNEL: Increased compression to fit new TWRP recovery
KERNEL: Enable some required flags by LL
KERNEL: Added F2FS Driver
20150214:
Updated CM Sources
DRM tested and properly working
Stabler Bluetooth Audio Quality
Added TouchScreen hovering support (untested)
Updated fingerprint to latest LL Stock Release
Increased main mic volume everywhere
Updated proprietary blobs to latest LL ones (except sensors stuff)
20150207:
Updated CM Sources
Updated Audio Driver (with new mixer_paths, now working much better than before)
Optimized Input/Output Audio Levels (no more echo effect and much more...)
Fixed Bluetooth Audio bad quality
Optimized ART Runtime for Cortex-A15
Optimized Network Speed (Mobile & WiFi)
Added Blinking Led Support (charging light uses low-power now, low light level is normal)
Re-Enabled 3D TV Support through MHL HDMI
Re-Worked CM Performance Profiles (now Balanced as default)
Some Updates from I9500XXUHOA7 (usable ones without LL kernel sources)
KERNEL: Updated Audio Driver to latest available from Wolfson
KERNEL: VPN should work properly now for ALL users
20150120:
Updated CM Sources
Fixed all DRM-Dependent apps (tested and ultra-tested)
Added some updates from I9500ZCUJOA3 leak (GPS, Radio and other minor changes)
20150117:
Updated CM Sources
Disabled S3D (3D TV through HDMI) support, useless on a mobile device
Fixed all SystemUI (Recents Apps/Apps Switcher) lags
Fixed all RIL Wakelocks (again) related to unsupported Samsung's requests
Fixed SOS Calls (i know that someone will be happy for this )
Fixed USB Charging Only mode
DRM-Dependent apps should work correctly now
Reorganized phone initialization process (now cleaner than ever, even faster)
Optimized Auto-Brightness values
Optimized Mobile Data/Wi-Fi Internet speed
Speaker and Earpiece volume is now higher (as users request)
Disabled Block-Based OTA (this should fix all problems with ROM Flashing process, e.g. Status 1 Errors; Chinese PIT is now compatible)
Switched to new CM LL Boot Animation
AC & USB Charging Values are now the same (this means that you can charge your phone with USB or with AC at the same speed)
Some other optimizations and clean-up here and there
20150105:
Updated CM Sources
Enhanced Stability and Performance
Now switched from Beta to Stable
Disabled Audio Offload (unsupported)
Fixed Google Now Voice Input on Home Screen
Switched from old AwesomePlayer (KK) to NuPlayer (LL)
Enabled Ambient Display as user request
Clean-up Wi-Fi stuff
Enabled GPS LTO Support (http://www.broadcom.com/products/GPS/Location-Based-Services/LTO-AGPS)
Clean-up Framework overlays
Enabled CM Performance Profiles like on CM11
Correctly Configured Audio/Video Decoders
Fixed Flashlight/Torch (using a temp. workaround)
Properly fixed Root and USB at first boot
A2DP Calls should work fine for everyone now
You'll probably find many other fixes that i don't remember
EXTRA: Happy new Year
20141227:
Updated CM Sources
Properly fixed & enabled Bluetooth features
A2DP Calls should work fine now
Reduced Surface Buffers for smoother UI experience
Increased EGL Cache size to reduce lags
Fixed Audience ES325 audio effect name (now it should work fine everywhere)
Fixed Wi-Fi instabilities & Tethering
Added Screencast app
Properly enabled USB Ethernet support
Added CM Performance Profiles (for future usage)
Fixed & Optimized Offline Charging mode (now using less power than before) <= On Android L 4.2 bootloaders aren't supported anymore so offline charging may work only on 4.3 and newer ones. Let me know if works or not for you.
We are probably ready for a Stable release... ( or not? )
KERNEL: reduce surface buffers
KERNEL: clean-up PVR GPU driver
KERNEL: some optimizations here and there
20141224:
Updated CM Sources
Fixed GPS
Updated NFC config
Using PIE binaries for RIL
Probably fixed all ART instabilities (app not installed and blah blah blah)
KERNEL: reverted change that was causing chrome and other app to crash
KERNEL: re-enable Android LMK
KERNEL: removed all Samsung USB rubbish
KERNEL: added some FS optimizations
EXTRA: Happy Christmas
20141223:
Updated CM Sources
Fixed all buttons features
Do not start GPS Binary (will be fixed when Samsung releases official Lollipop for our device)
Clean-up here and there
Smoother then ever, probably smoother than GearCM 11
Fixed WiFi instabilities
Fixed all Widevine (DRM) stuff
Application not installed bug should be fixed
You'll probably find many other fixes that i don't remember
20141216:
First Release
The CyanogenMod team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!
XDA:DevDB Information
[GearCM][i9500][5.0.x] Optimized CyanogenMod 12 for Samsung Galaxy S4 [Final], ROM for the Samsung Galaxy S 4
Contributors
Alberto96, intervigil, codeworkx
Source Code: https://github.com/GearCM
ROM OS Version: 5.0.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: CyanogenMod
Version Information
Status: No Longer Updated
Current Stable Version: 20150731
Stable Release Date: 2015-07-31
Current Beta Version: 20141227
Beta Release Date: 2014-12-27
Created 2014-12-16
Last Updated 2015-09-26
Read carefully.
Differences between GearCM (Optimized CyanogenMod) and Official CyanogenMod (NIGHTLY):​
Degrated Shadow said:
Enough of those dumb questions..
The official CM rom is maintained by @Alberto96 and @intervigil
He makes the very recent changes here relating to performance.. which are then in time pushed to CM official rom. The kernel is different because it has selinux disabled and few minor tweaks you might not even notice.. this gearcm rom will have more performance. But CM rom will have their updated base changes which are included here with each update.
What I mean is you probably wont even notice what's different in terms of user interface.. gearcm will have more performance. Official cm will have updated sources. But it will include gearcm's changes in time as @Alberto96 pushes them to CM
You can decide by a simple choice. more performance and not-nightly updated sources or similar performance (improving with nightly updates) with updated sources. I would choose gearcm because of the reasons I mentioned above. Do what you will.. and let this be a note to everybody who ask this again and again and again. Don't spam the thread with same question in every alternate page.. Because there are other people who might have different problems they need to ask. Read atleast 15 previous pages and the first post changelog before asking the question. Reading most of the times will give you a solution and if not most of the info you will read will help you anyway.
Click to expand...
Click to collapse
Reserved
FAQ (Frequently asked questions)​
Where are "Performance" and "Developer Options" categories?
To activate 'Performance' and 'Developer Options' categories in Settings you need to tap 7 times on 'Build number' located into Settings -> About Phone.
How can i solve problems with Hebrew language?
Go to "Developer Options" in Settings and check "Force RTL layout direction".
What can i do to reduce the "echo effect" while in-call?
Try to reduce in-call earpiece volume (if possible).
I'm having problems with battery life, what can i do?
1) Use "Greenify" to hibernate all apps with a "little cloud + 'Gcm' word inside" on the right of each app's name. Donation version is recommended because it allows deeper hibernation of apps
2) Disable "Location" or set it to mode "Battery Saving" (Settings -> Location)
3) Make sure that your 2G/3G mobile network signal level isn't always low or unstable
4) Deny "Wake Up" and "Keep Awake" permissions to Google and third-party apps. (Settings -> Privacy -> Privacy Guard -> Press menu button and check "Show built-in apps" -> Press menu button again and go to Advanced -> Horizontal Scroll to Device)
5) Disable "Sync" or sync only useful stuff like Contacts
6) Disable "Auto-rotate screen" (Settings -> Display & lights -> Rotation)
7) Use one of the latest Modem/Baseband listed on first post.
8) Disable Ambient Display
9) Install Xposed Framework and configure Amplify
If this isn't enough then replace your battery and/or reduce your phone usage. :silly:
Is GearCM OTA supported?
Yes (Since 20150707 Build)
Why is my phone over-heating while playing heavy-games or running heavy-apps?
Use a bit your brain to explain why. High CPU and GPU usage = high heat production. Your phone will automatically throttle CPU when needed so don't worry, it is safe and normal.
Can I use another kernel instead of the one included in the zip?
No. Only use the included kernel for 100% compatibility, bug reports with non-standard kernel will be ignored.
Can i disable S-View cover features (lock/unlock)?
Not yet.
*** IR Remote app isn't working anymore/was working on previous builds/causes my phone to crash, what can i do?
Contact *** IR Remote app developer.
Any question about "Can't connect to camera" issue
Do not "stress" camera on CM because we don't use yet a proper implementation. Open/Close Camera apps carefully without force-closing them.
fix stock camera try flash this zip https://www.dropbox.com/s/z2a7hegwzu9ft2c/Fix_Camera_Cmmct_5.0.zip?dl=0
Been using lollipop as a daily driver with awesome results. But still there's something that bugs me. Although GPS works fine I find that its accuracy is pretty low.
For instance I run in order to keep fit. I use adidas miCoach which calculates your speed and distance covered giving as result km speed (from Argentina). GPS has a hard time keeping up with this and every time I train I revert to TW and then back to Lollipop.
Will test this GPS and see if its better than team Cajinica
does this rom have working bluetooth calls over car stereo?
mhboooool said:
fix stock camera try flash this zip https://www.dropbox.com/s/z2a7hegwzu9ft2c/Fix_Camera_Cmmct_5.0.zip?dl=0
Click to expand...
Click to collapse
Not required here.
RoCorral said:
Been using lollipop as a daily driver with awesome results. But still there's something that bugs me. Although GPS works fine I find that its accuracy is pretty low.
For instance I run in order to keep fit. I use adidas miCoach which calculates your speed and distance covered giving as result km speed (from Argentina). GPS has a hard time keeping up with this and every time I train I revert to TW and then back to Lollipop.
Will test this GPS and see if its better than team Cajinica
Click to expand...
Click to collapse
Does it happens also on CM11?
AndresSanzH said:
does this rom have working bluetooth calls over car stereo?
Click to expand...
Click to collapse
It should.
.hackman. said:
Patiently waiting for the upload..
Click to expand...
Click to collapse
Gboss01 said:
Great work Alberto
Sent from my GT-I9500 using Tapatalk
Click to expand...
Click to collapse
Nalmaus said:
Great to see u working on this, i followed u when kitkat comes up and u made an amazing work, good luck with this!
Click to expand...
Click to collapse
Build finally uploaded.
Enjoy
Alberto96 said:
Not required here.
Does it happens also on CM11?
It should.
Build finally uploaded.
Enjoy
Click to expand...
Click to collapse
Great. Downloading now[emoji1]
"App not installed" if manually install an apk.
Is there any workaround?
@Alberto96 haven't test it on GearCM 11. I'll try and report back asap
Can't install apks.
Although pushing apks to system works. Titanium backup in not able to restore as well.
Edit: I guess Titanium Backup does work. Not with the default superuser though. I flashed supersu to get it working in frapeti's rom, strange.
RoCorral said:
@Alberto96 haven't test it on GearCM 11. I'll try and report back asap
Click to expand...
Click to collapse
With GearCM 11 latest build GPS is pretty accurate. Used Waze while driving and miCoach while walking and had good results.
Further testing done with the build posted (20141216) I can't access SD card to install apks that are not from playstore for example BBS, and getting the low memory message even if full wiped and fresh installed.
Can't install APK in this Build ...
Storage Issues
@Alberto96 Hey man there seems to be an issue with your Kernel please take a look at the changes u made as they seem to be the cause of peope not being able to install any APKS and Install from playstore as its complaining about the storage being low so what i did is compile with CM kernel and tested it and the GearCm works fine without any storage issues but if I compile it using ur GearCm Kernel thats where theres storage issues. Please take a look at it
Thanks for your time and dedication of this Alberto. Unfortunately I'm having a hard time with your CM12 Releases
With CM12-20141212v2 (I did a clear wipe) and no RIL Service. So I was not able to use it basically...
Today I gave it a second try CM12-20141216 . I was happy to see my 3G Connection. But when I started to download the app from Play Store. It was impossible. All APKS giving an error.
I will test Canjica Version. It's a pity but I will have to wait till we get to a stable version of Android 5.0.1 with GearCM12.
Despite of that, Thanks for your work on this! We wouldn't have this if it wasn't because of you
Heads Up
Brilliant to have 5.0 on our phones, look and feel is really cool.
Confirmed Working:
Calls, SMS, Internet (WIFI & 3G), Camera, Gallery
FC's:
Music, File manager, Play store (all google apps) & anything else which is on the SD card
Keep it up guys:good:
Application not installed?
thanks for update 12\21 @Alberto96 ...but issue with installing apk is here.
New build is coming with some fixed, especially performance related.
New build is up!
Enjoy

[ROM] [ 8.0.0 ] Official madOS - Oukitel K6000 Plus [MT6750]

{
"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"
}
This is a Official Build of madOS ( based on AOSP Oreo ) for Oukitel K6000 Plus with MTK 6750 SoC
madOS is based on pure A.O.S.P. with many additional customizations and MediaTek support.
Code:
#include
/*
* 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.
*/
Installation Instructions:
Download ROM from M.A.D. Facebook
OR from xda DevDB
Download OpenGapps nano or pico from OpenGapps
(choose Arm64 and Android 8.0 )
Backup
Unlock Bootloader Bootloader unlock
Flash new mandatory new Oreo TWRP (available on downloads)
Boot to the new TWRP recovery
full Wipes (dont come crying if you didn't .. ;p )
Install rom (optionally following by GAPPS if you use them)
Optional: go to: wipe --> Advanced Wipe, tick 'cache' and klick 'repair or change File System' --> change File System --> F2FS --> swipe to the right (hit back several times, and proceed the same way with 'data').
Reboot System
Working:
RIL (Calls /SMS, Data connection, etc)
Wifi
Bluetooth
FM Radio
All Sensors (including fingerprint)
Lights; HW Keys
Both storages & MTP
HW de/encoding
Camera (photos and video)
GPS & aGPS
Audio
madOS Extras (the features ya'all used too), plus, some new features we added on Oreo)
Not working:
nothing known
XDA:DevDB Information
madOS_O_K6KP, ROM for all devices (see above for details)
Contributors
DerTeufel1980, superdragonpt, fire855
Source Code: https://github.com/MediatekAndroidDevelopers
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.x
ROM Firmware Required: bootloader unlocked, twrp
Based On: AOSP
Version Information
Status: Stable
Current Stable Version: 1
Stable Release Date: 2017-11-19
Created 2017-11-19
Last Updated 2017-12-31
Reserved
How-To unlock Bootloader and install TWRP
ATTENTION: This is voiding your warrenty
Install minimal adb and fastboo to your PCt: Minimal ADB and Fastboot
On the smartphone: Go to Settings --> About Phone and hit 'build Number' seven times, to enable 'Developer Options'
Go to Settings --> Developer Options, and allow usb-debugging and allow OEM-unlocking (For bootloader unlock)
Connect the smartphone to the pc. On the smartphone accepts the adb connection with the pc
Start 'Minimal adb and Fastboot' at Pc. In the command window, type: "adb reboot bootloader" and press Enter (this is restarting the smartphone into the bootloader)
WARNING: This step deletes all data from the smartphone, returns it to the factory setting and leads to the loss of the warranty! In the command window, type "fastboot oem unlock" and press Enter (to unlock the bootloader). You probably need to press some button of the phone to confirm (check the display for this)
Download the Twrp image: Oukitel K6000 Plus TWRP, and copy the recovery.img file to the installation folder of 'minimal adb and fastboot'
In the command window, type "fastboot flash recovery recovery.img" and press Enter. After successful flash, enter "fastboot reboot" in the command window, press 'Enter'. Then immediately press and hold 'volume up key' on the smartphone (Until a small menu appears)
3 options appear on the smartphone: Recovery, Fastboot, Normal. You can navigate with 'volume up key' and confirm your selection with 'volume down'. Navigate to Recovery and press the volume down key to confirm (Smartphone starts now the Installed TWRP Recovery)
F.A.Q
General F.A.Q.
Q: What the hell is madOS ?
A: madOS, (M.A.D. Team OS), is a ROM based on pure A.O.S.P. with extended capabilities and customizations made by or merge/adapted by M.A.D. Team.
Q: Where to report bugs ?
A: madOS issue tracker
Q: Which recovery should I use for this ROM?
A: Latest M.A.D. TWRP recovery
--> Download Section
Q: How do i flash a new recovery or new boot from previous TWRP?
A:
1: You can flash it with a scatter file
2: You can simply flash it from the existing twrp recovery: Install> Install image> Select RECOVERY or BOOT image file > Select "Recovery" or "Boot" as partition to flash.
Reboot
Q: Do i need to make full wipes?
A: YES, dont come crying at me, if you didn't .... ;p
Q: What is "full wipes" ?
A: To Wipe : Cache; System; DATA ...
Q: What should i use f2fs or ext4?
A: Both are supported, choose the one you desire, where f2fs might be faster
Q: is the Data connection issue of going to / from 4G present?
A: nope data switchs pretty fast on our new RIL
2G>3G>4G | 4G>3G>2G pretty fast
Q: Does this rom have any Theme support
A: Yup, We have working Theme Engine (madOS extras)
Q: Some translations are missing for my language, can I help?
A: Sure you can, please check our translations repo available here , you can either do a pull request, or if you don't know how to work with git, sent us the XML. Strings for your language ( Check Readme on repo).
Q: What's working ?
A: Check first Post for current status
Q: App "x" doesn't work, why?
A: Probably not compatible with OREO yet, feedback is welcome
Q: Is the rom rooted?
A: NO, But you can easily root with Magisk v14 onwards.
Q: Does xposed work?
A: Is there Xposed for O? ... then no ;p
Q: How is battery life with Oreo?
A: Pretty awesome
Q: Does this build support Vulcan?
A: No....duh! v
Q: Does doze work in this build?
A: Yup
Q: when will (feature/issue here) be fixed?
A: NO ETA , please
Porting F.A.Q.
No porting support, no port questions allowed on this thread, and porting PMs will be auto-deleted, porting replies will be reported as well
G.APPS F.A.Q.
Q:What GAPPS package should I use?
A: OpenGapps arm64 nano/mini
Q: How to properly install GAPPS?
A:Flash Rom + Flash Gapps at once
CREDITS and Thanks
madOS Team
Our translators, credits list here
A.O.S.P.
Pure Nexus
AOSPA
DU (Dirty Unicorns)
Omni
HELP supporting madOS
We do this on our free time, however we do have costs on maintaining this :/
Any donation is highly appreciated
You can donate by using
this link
If the above doesn't work in your country, then you can directly donate by using this e-mail adress: [email protected]
About madOS Proprietary Apps
You are NOT allowed by any means, to use our madOS apps on any other build, your rom
This is exclusively for OFFICIAL madOS ROM releases
@To Moderators: Feel free to clean the thread, whenever users start spamming, severe OT, or questioning about porting...
Changelogs
[Stable] Build [8.0.0] 20171119
First Release
Patch Level: 8.0.0 [OPR1] November 6, 2017
Kernel: 3.18.80( Oreo branch)
one more
reserved
DerTeufel1980 said:
Changelogs
[Stable] Build [8.0.0] 20171119
First Release
Patch Level: 8.0.0 [OPR1] November 6, 2017
Kernel: 3.18.80( Oreo branch)
Click to expand...
Click to collapse
Hi guys,
Thanks for your incredible work for the K6000 Plus!
I have a Doogee Y6. It uses the same kernel as K6000 plus. So, I've been trying to compile the k6000 plus kernel in order to work on my phone (I have made the necessary adjustments regarding my device's specific drivers such as LCM, Touchscreen, fingerprint etc.)
But I am running into errors. The compiler complains about not finding some files like: mt_gpufreq.h, cmdq_engine.h etc.
Can you assist me with this?
Thank you.
Great ROM! Many thanks for your work M.A.D team
I found one bug in camera. When you turn on HDR mode and after taking picture camera force close with toast: "Media server died, closing camera." but photo still save so not big deal
--- edit ---
More bugs:
1. I can't change cpu governor
2. WiFi icon and battery icon in statusbar are always black: - bug gone after restart
3. Phone freeze sometimes for a sec.
Eselter said:
Great ROM! Many thanks for your work M.A.D team
I found one bug in camera. When you turn on HDR mode and after taking picture camera force close with toast: "Media server died, closing camera." but photo still save so not big deal
--- edit ---
More bugs:
1. I can't change cpu governor
2. WiFi icon and battery icon in statusbar are always black: - bug gone after restart
View attachment 4337841
3. Phone freeze sometimes for a sec.
Click to expand...
Click to collapse
Thx for your feedback. I'll take a look.... Changing CPU governors is more than less just a left over from older phones... We may just remove this option. There aren't actually useful governors to switch to.
In which situations did it freeze?
Sent from my uhans h5000, running Android 8.0.0
I dont know why, but when i trying to boot in new TWRP recovery, the phone's screen just glows gray.
Can u help me with this? Firmware v23, bootloader unlocked. What's wrong?
DerTeufel1980 said:
Thx for your feedback. I'll take a look.... Changing CPU governors is more than less just a left over from older phones... We may just remove this option. There aren't actually useful governors to switch to.
In which situations did it freeze?
Sent from my uhans h5000, running Android 8.0.0
Click to expand...
Click to collapse
Most often while scrolling (ex in app drawer or browser) and click on some button (ex keyboard). I think it can be releated to CPU hotplug.
xasdfx_ said:
I dont know why, but when i trying to boot in new TWRP recovery, the phone's screen just glows gray.
Can u help me with this? Firmware v23, bootloader unlocked. What's wrong?
Click to expand...
Click to collapse
You flashed the recovery from the download section, right?
Does it show the twrp logo in the beginning?
Eselter said:
Most often while scrolling (ex in app drawer or browser) and click on some button (ex keyboard). I think it can be releated to CPU hotplug.
Click to expand...
Click to collapse
OK. I'll try to reproduce it
Sent from my uhans h5000, running Android 8.0.0
And one more minor bug. In quick settings on weather tile button more settings don't work. If someone wonder it can be adjusted in madOS extras.
DerTeufel1980 said:
You flashed the recovery from the download section, right?
Does it show the twrp logo in the beginning?
Click to expand...
Click to collapse
Yes, of course.
Nope., it doesnt show anything. Oukitel logo - gray sreen. I changed the display on my phone(the old one cracked), maybe the reason is this?
Next two minor bugs:
1. Changing implementation of webview don't work. Phone always using chromium engine.
2. Normal reboot freeze phone. Soft and reboot to recovery works fine.
BTW: do you have some bug tracker ?
And one more:
Battery capacity are wrongly reported.
xasdfx_ said:
Yes, of course.
Nope., it doesnt show anything. Oukitel logo - gray sreen. I changed the display on my phone(the old one cracked), maybe the reason is this?
Click to expand...
Click to collapse
****... Unfortunately I have no idea how to fix it then... We can only use the drivers shared by oukitel. If there's something missing, we're out of luck...
Eselter said:
Next two minor bugs:
1. Changing implementation of webview don't work. Phone always using chromium engine.
2. Normal reboot freeze phone. Soft and reboot to recovery works fine.
BTW: do you have some bug tracker ?
And one more:
Battery capacity are wrongly reported.
Click to expand...
Click to collapse
Webview implementation... We'll check as well, but that's not very important.
Does it always freeze? And where/when? During the new boot, or before shutting down?
In which situations/apps is the battery capacity reported wrong?
Sent from my uhans h5000, running Android 8.0.0
DerTeufel1980 said:
Does it always freeze? And where/when? During the new boot, or before shutting down?
Click to expand...
Click to collapse
Until now always (I try more than 10 times) before shutting down on message rebooting, but now is working fine (magic ;>).
DerTeufel1980 said:
In which situations/apps is the battery capacity reported wrong?
Click to expand...
Click to collapse
In apps: CPU Info and AccuBattery. I don't know if this have impact on battery status in system?
And one glitch very paintful for me :/
Android Auto has problem with displaying on car screen (and Android Studio):
View attachment 4338823
Eselter said:
And one glitch very paintful for me :/
Android Auto has problem with displaying on car screen (and Android Studio):
View attachment 4338823
Click to expand...
Click to collapse
I'll try to check this. We unfortunately don't own a car which supports this
Sent from my uhans h5000, running Android 8.0.0
https://developer.android.com/training/auto/testing/index.html
@DerTeufel1980 my screenshot was made from above tool for devs but in car it look exactly the same
So you can use it to reproduce and debug the glitch.
One more thing related to car. Calls via car speakers not working. Music, call log, contacts working fine via Bluetooth but calls always switch to phone speakers/microphone.

[ROM] [UNOFFICIAL] LineageOS 14.1 |ASUS Memo Pad HD 7 (me173x) [MT8125]

Disclaimer:
LineageOS (Lineage Android Distribution) members or anyone else on this website is 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, and if you point the finger at us for messing up your device, we will laugh at you. Your warranty will be void if you tamper with any part of your device / software.​
How to Install:
1- BACKUP, BACKUP, BACKUP, All will be WIPED!
2 - Unlock bootloader instructions here
3 - Flash the new mandatory TWRP Recovery
4 - Move Rom & Gapps (optional) into device storage
5 - Full Wipes
6- Flash Rom & Gapps (gapps are OPTIONAL)
for GAPPS:
Choose Gapps Package "ARM" > "7.1" > "Pico" or "Nano" visit OpenGAPPS
Working:
It Boots
Storages
Wifi
Audio
Charging
Offline Charging
Video decoding / Playback (i.e.: Youtube) up to 720p
Sensor: magnetometer: akm8963
Bluetooth (basic functions, pairing, file transfer, a2dp (Audio))
GPS - GNSS
DRM Widevine : For Netflix, Amazon Prime, etc
Front Camera: mt9m114_mipi_raw
Front camera: GC0339_RAW
ZRAM swap ( LZ4 )
etc ....
NOT Working:
Rear Camera: a5142_mipi_raw
Sensors: accelerometer (autorotation)
You tell me
Special Thanks
OMNI Rom
LineageOS
DerTeufel1980 & fire855 ( my Team mates from M.A.D)
GPL Compliance:
GitHub - dragonpt/android_device_asus_me173x: ASUS ME173x device for LineageOS 12.1 & LineageOS 13
ASUS ME173x device for LineageOS 12.1 & LineageOS 13 - GitHub - dragonpt/android_device_asus_me173x: ASUS ME173x device for LineageOS 12.1 & LineageOS 13
github.com
GitHub - dragonpt/android_kernel_asus_me173x_new: ASUS ME173x [MT6589 - MT8125] Custom Kernel for LineageOS 12.1 / 13 / 14.1
ASUS ME173x [MT6589 - MT8125] Custom Kernel for LineageOS 12.1 / 13 / 14.1 - GitHub - dragonpt/android_kernel_asus_me173x_new: ASUS ME173x [MT6589 - MT8125] Custom Kernel for LineageOS 12.1 / 13 / ...
github.com
--> "asus_n" branchs
FAQ
Small FAQ:
Q: How can i Unlock the Bootloader?
A: Instructions for Unlocking the Bootloader can be found here
Q: After locking the screen, the screen is all black, and /or flickering and I'm forced to reboot, how can I fix this?
A: If you have this issue, then your device uses the second screen/lcm hardware revision
( the lgld070wx3_dsi_vdo ), please use the second kernel.zip for this variant, it'll be added an second kernel . zip for people with this variant, on the download section with the ROM release
Q: how to flash this second kernel for the new hardware variant ?
A: After flashing the ROM, flash the second kernel afterwards
Q: Where are the Developer Options?
A: Go to Settings>About Tablet, and tap 7 times on the Build Number
Q: How can i enable the Advance Restart?
A: in the developer options, you can enable it there
Q: How can i change the WebView implementation?
A: in the developer options.
Q: How can i root this rom?
A: you can use Magisk
Magisk: v.23
note: Magisk builds v24.x and v25.x do NOT work / Not fully tested
Q: Do i really need to update recovery?
A: YES
--> If you already have Lineage13 TWRP release, your OK
Q: I can't flash this Rom on recovery "X Y Z" why?
A: You need to update your recovery to TWRP
Q: how to work with twrp?
A: in the first time TWRP boots, it'll ask if you want to allow modifications, slide to YES
Q: how to wipe and flash in twrp?
A: Go "mount" and mount "system"
then go "wipe" > and wipe dalvik / cache / data / System
Q: How can i flash the new recovery?
A: If you already have an custom recovery installed:
Download the new TWRP recovery zip
flash the new recovery
reboot to recovery again, TWRP should be now installed
If you don't have any custom recovery installed:
- You can extract the "recovery.img" from the .zip
- Open an terminal
- Boot to fastboot mode, and type:
Code:
fastboot flash recovery recovery.img
then reboot:
Code:
fastboot reboot
Q: I Love your work, how can i thank you?
A: You can press the "Thanks" button, and if you wish, you can pay me a beer
..
Changelogs
Build 20220808
First Release
Build 20220820
Fix Advance reboot Menu (removed: reboot bootloader, isn't used)
ZRAM: Increase disk size to 768MB (recommended for 1GB Ram devices)
ZRAM: Boost performance: Actually enable LZ4 compression ( inline with current kernel)
ART: Update flags (Drop old flags, Drop uneeded dex2oat, force dex2oat not to use swap file ,etc)
Enable Pinner Service: pinning files into memory, boot oat, services dex (Improves system performance)
Removed LOW RAM flag:
- Device tree & kernel has been greatly optimized
- We finnaly have working ZRAM swap since los 13, working great
- There's no need to cripple the device out of useful features like MultiUser
Fix GPS
Fix DRM Widevine : For Netflix, Amazon Prime, etc
Fix Bluetooth (basic functions, pairing, file transfer)
- Bluetooth a2dp (Audio) is still broken (work in progress)
Fix Front Camera: mt9m114_mipi_raw / GC0339_RAW ( photos )
Some optimizations done at frameworks
Build 20220911
Fix Bluetooth a2dp (Audio)
Removed Useless LineageOS apps for more free RAM
WLAN: Update blobs from MediaTek ALPS N1
LCM: lgld070wx3_dsi_vdo: Fix flickering on resume, discharge ESD properly
Improved System Animations
Fix FWB SysUI / StatusBar, power leak
Fix FWB ArraySet crash
Fix FWB backup schedule system_server crash
Fix FWB batterySendBroadcast not synchronized issue
Fix FWB SystemUI FC due to Google Assistant
Fix FWB hwui: skip empty frame
Fix FWB system server crash caused by CME in usage stats
Fix FWB batterySendBroadcast not synchronized issue
Fix FWB PackageManagerService user CE data failed
Downloads
TWRP 3.1.1
TWRP_3.1.1_ME173X.zip | by superdragonpt for Generic Device/Other
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
Build 20220911
https://www.androidfilehost.com/?fid=14871746926876822197
If you have the second hardware Screen revision by LG (check FAQ), flash this
kernel for the Build 20220911
https://www.androidfilehost.com/?fid=14871746926876822201
Older Builds
Build 20220808
https://www.androidfilehost.com/?fid=15664248565197201611If you have the second hardware Screen revision by LG (check FAQ), flash this
kernel for the Build 20220808
https://www.androidfilehost.com/?fid=15664248565197201606
Build 20220820
https://www.androidfilehost.com/?fid=15664248565197206369
If you have the second hardware Screen revision by LG (check FAQ), flash this
kernel for the Build 20220820
https://www.androidfilehost.com/?fid=15664248565197206372
The year is 2082. Society as we know it has collapsed and the world is but a nuclear wasteland. I haven't seen or talked to another human in weeks. Food is scarce and shelter is hard to come by... But life lingers on, even if just for a while longer, nature tries to heal itself with the little sunlight that manages to reach the ground through the dense clouds of soot. Last night I heard screams coming from the forest of dead pine trees, east of the abandoned glass factory. I'm not sure if they were human screams or the calls of an alternate, but I'm not eager to find out... I must hurry and head north, this place is no longer safe. To add insult to injury, I broke my only weapon while I was trying to cut down a few tree branches to light a fire... until I find materials to fix it, my possessions are my pet dog Alex, an half eaten can of beans and my ME173X running Android 69 with the latest security updates.
I'm waiting for the continuation and publication of this work in the form of a book.
Haha
This made my day
Cheers
superdragonpt said:
Disclaimer:
LineageOS (Lineage Android Distribution) members or anyone else on this website is 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, and if you point the finger at us for messing up your device, we will laugh at you. Your warranty will be void if you tamper with any part of your device / software.​
How to Install:
1- BACKUP, BACKUP, BACKUP, All will be WIPED!
2 - Unlock bootloader instructions here
3 - Flash the new mandatory TWRP Recovery
4 - Move Rom & Gapps (optional) into device storage
5 - Full Wipes
6- Flash Rom & Gapps (gapps are OPTIONAL)
for GAPPS:
Choose Gapps Package "ARM" > "7.1" > "Pico" or "Nano" visit OpenGAPPS
Working:
It Boots
Storages
Wifi
Audio
Charging
Offline Charging
Video decoding / Playback (i.e.: Youtube) up to 720p
Sensor: magnetometer: akm8963
etc ....
NOT Working:
Bluetooth
GPS - GNSS
DRM Widevine : For Netflix, Amazon Prime, etc
Front Camera: mt9m114_mipi_raw
Front camera: GC0339_RAW
Rear Camera: a5142_mipi_raw
Sensors: accelerometer (autorotation)
You tell me
Special Thanks
OMNI Rom
LineageOS
DerTeufel1980 & fire855 ( my Team mates from M.A.D)
GPL Compliance:
GitHub - dragonpt/android_device_asus_me173x: ASUS ME173x device for LineageOS 12.1 & LineageOS 13
ASUS ME173x device for LineageOS 12.1 & LineageOS 13 - GitHub - dragonpt/android_device_asus_me173x: ASUS ME173x device for LineageOS 12.1 & LineageOS 13
github.com
GitHub - dragonpt/android_kernel_asus_me173x_new: ASUS ME173x [MT6589 - MT8125] Custom Kernel for LineageOS 12.1 / 13 / 14.1
ASUS ME173x [MT6589 - MT8125] Custom Kernel for LineageOS 12.1 / 13 / 14.1 - GitHub - dragonpt/android_kernel_asus_me173x_new: ASUS ME173x [MT6589 - MT8125] Custom Kernel for LineageOS 12.1 / 13 / ...
github.com
--> "asus_n" branchs
Click to expand...
Click to collapse
This is great! Thank you so much! I never expected so much support for this tablet...
Unfortunately, I really need GPS so I have to wait for another build...
Thank you very much for providing builds for this tablet! The 13 build really helped us a lot, as our 2-year-old could watch downloaded Peppa Pig episodes from Netflix during long vacation drives. Although I did had to download a previous major version of the Netflix APK to get it to work on Android 6.
As this version doesn't have Widevine DRM, Netflix won't work, I guess. The current version of Netflix from the app store needs at least Android 7, so it would be nice if this new build would also support that in the future. Is it possible to flash that somehow, or would you need to compile that during build-time? If so, it that planned, or are there any technical difficulties regarding that?
New Build is up
Build 20220820
Fix Advance reboot Menu (removed: reboot bootloader, isn't used)
ZRAM: Increase disk size to 768MB (recommended for 1GB Ram devices)
ZRAM: Boost performance: Actually enable LZ4 compression ( inline with current kernel)
ART: Update flags (Drop old flags, Drop uneeded dex2oat, force dex2oat not to use swap file ,etc)
Enable Pinner Service: pinning files into memory, boot oat, services dex (Improves system performance)
Removed LOW RAM flag:
- Device tree & kernel has been greatly optimized
- We finnaly have working ZRAM swap since los 13, working great
- There's no need to cripple the device out of useful features like MultiUser
Fix GPS
Fix DRM Widevine : For Netflix, Amazon Prime, etc
Fix Bluetooth (basic functions, pairing, file transfer)
- Bluetooth a2dp (Audio) is still broken (work in progress)
Fix Front Camera: mt9m114_mipi_raw / GC0339_RAW ( photos )
Some optimizations done at frameworks
cheers
Which Lineage version is the fastest?
bravur said:
Which Lineage version is the fastest?
Click to expand...
Click to collapse
Lineage !4 is on-pair with LOS13.
Lineage14 is currently the best if you ask me
New Build is up
Build 20220911
Fix Bluetooth a2dp (Audio)
Removed Useless LineageOS apps for more free RAM
WLAN: Update blobs from MediaTek ALPS N1
LCM: lgld070wx3_dsi_vdo: Fix flickering on resume, discharge ESD properly
Improved System Animations
Fix FWB SysUI / StatusBar, power leak
Fix FWB ArraySet crash
Fix FWB backup schedule system_server crash
Fix FWB batterySendBroadcast not synchronized issue
Fix FWB SystemUI FC due to Google Assistant
Fix FWB hwui: skip empty frame
Fix FWB system server crash caused by CME in usage stats
Fix FWB batterySendBroadcast not synchronized issue
Fix FWB PackageManagerService user CE data failed
First of all: thank you so much for giving us Andoid 7 for this old thing!
I just found out that Adaway won't install from F-Droid:
Error installing AdAway
Parsing apk file failed! Maybe minSdk of apk is lower than current Sdk? Look into logcat for more specific warnings of Android's PackageParser.
My observations of LG kernel up to 20220911
- battery charging VERY slow
- rotation sensor not working
- camera not working
- fast stock, slow with GAPPS
Maybe these are already on the todo list. Great to have A7 on this still usable tablet.
Cheers
pimisen said:
First of all: thank you so much for giving us Andoid 7 for this old thing!
I just found out that Adaway won't install from F-Droid:
Error installing AdAway
Parsing apk file failed! Maybe minSdk of apk is lower than current Sdk? Look into logcat for more specific warnings of Android's PackageParser.
Click to expand...
Click to collapse
Yup that's normal, im also an user of it
see here: https://github.com/AdAway/AdAway
"For devices older than Android 8 Oreo, use the version 4 of AdAway."
Get the last version here:
Releases · AdAway/AdAway
AdAway is a free and open source ad blocker for Android. - AdAway/AdAway
github.com
Version 4.3.6 > on Assets download " AdAway-4.3.6-200726.apk "
cheers
tweakradje said:
My observations of LG kernel up to 20220911
- battery charging VERY slow
- rotation sensor not working
- camera not working
- fast stock, slow with GAPPS
Maybe these are already on the todo list. Great to have A7 on this still usable tablet.
Cheers
Click to expand...
Click to collapse
hi
rotation sensor not working :
Yeah this is stated on the "not working" status " > Sensors: accelerometer (autorotation)"
I could never fixed this sensor on my kernel
battery charging VERY slow
The device can be very picky with chargers, with the stock charger it can charge up to 1.2 AMP @ 5v
fast stock, slow with GAPPS
Yeah GAPPS really have an huge impact on devices, it runs really smooth without GAPPS installed
Google sucks
camera not working
This is very nice report ( Thanks ) every single user that reported me the front camera isn't working has an device with the LG screen...
I just bought my third ASUS ME173X and got it yesterday ( since my kid broke the second one .. )
unfortunately all my tablets have the same nt35521 Screen ( really hopping to grab an LG variant ) for testing :/
cheers
How can I find out, what screen our tablet has?
Plz help! I can't root this rom, can you give a manual or something? I've tryed everything
sus ඞ
This is with the tablet plugged into the wall 24/7, sometimes it gets tired and stops charging
Don't mind the second pic, that's just it being used as a wireless monitor
bravur said:
How can I find out, what screen our tablet has?
Click to expand...
Click to collapse
You need to be running any of stock firmware with root rights.
There's many apps that facilitate the task like "deviceinfohw" , give the app root on settings, and on the main page it'll show you what LCM you device has.

[ROM][13][OFFICIAL][DynamicPartition][Kernel 4.19] PixelExperience (Plus) for Mi Pad 4 (Plus)[5.19 Updated][Check #2 for FAQ and changelog]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
PixelExperience for Mi Pad 4 (Plus) [clover]
What is this?
PixelExperience is an AOSP based ROM, with Google apps included and all Pixel goodies (launcher, wallpapers, icons, fonts, boot animation)
Our mission is to offer the maximum possible stability and security, along with essential and useful features for the proper functioning of the device
Based on Android 13
Extra Features
PixelExperience feature
Whats working?
Almost everything
Known issues
DON'T FLASH GAPPS, THEY'RE ALREADY INCLUDED
--
ATTENTION: How to flash
* For full steps please check the PixelExperience wiki
Since pixel experience is packed with pixel gapps, the system partition can't hold that large originally.
So I switched to retrofit dynamic partition(aka super.img) and fastbootd(userspace fastboot).
It's logical and won't affect the real partition table which means you can still go mi flash for fastboot or 9008 to flash the system/vendor partiton for un-brick.
However this method DOES NOT support twrp.
To install/OTA update this ROM, you MUST use the pe recovery which is provided with the ROM.(For official, it is also a MUST for publishing, OTA update won't need flash again after/before rom flash, just need you keep the recovery)
For flashing recovery, use following command on your PC
fastboot flash recovery <img name>
Boot to recovery
Tap "Factory reset -> format data"(This will delete all your data! Only need for first time switch to PixelExperience)
Then tap Apply Update -> Apply from adb
Start sideload by following command on the PC
adb sideload <zip.name>
# Or you can just put ROM on a fat32/exfat/ntfs sdcard/usb otg and insert/plug it, then you can choose it in pe recovery like twrp.
If you see any "metadata" related error, just ignore it, it's common on the first dynamic partition flashing, and won't appear next time
To switch to other ROMs, format data in PE recovery first, and then install another recovery then the ROM.
Eg.
1. reboot to pe recovery -> Factory reset -> format data
2. Back to recovery home -> Advanced -> reboot to bootloader
3. flash another recovery such as twrp
4. press vol+ and power to boot recovery
5. do another factory reset (and a format data if it is twrp)
6. install(/sideload) another ROM's OTA zip like MIUI stock or LineageOS etc.(Warning: the ROM to install must have same kernel version with recovery. Eg. you can't use twrp-4.19 to format then install stock MIUI)
Stay tuned
My clover Telegram group
QQ Group: 372404210
Download
Download
History archive/Screen Overclock Image(Use it at your own risk! May damage device and have FASTER battery drain)
​
Android OS version: 13
Security patch level: May 2023
Build author/Device Maintainer: Alcatraz323
Special thanks to kyasu, pix106
Device Source code: Device
Kernel Source code: Kernel
Source code: https://github.com/PixelExperience
ROM Developer: jhenrique09
FAQ:
1. How to enable/disable the task bar below?
Long press the space in taskbar or gesture indicator(the white bar)
2. Why 90/85/75/60Hz still laggy or feel like 30hz? Can you provide a overclocked image on pe website?
Google need warms up, so after you booted like for 5mins, it will be smooth on that refresh rate. Also don't give too much expectation on SDM660, it's just a mid-range cpu.
As for OFFICIAL version, I can't provide any overclock, so the full ROM package will be only provided with 60hz.
3. Why twrp get's error/Must use PE recovery?
Check the "ATTENTION" on #1.
4. What is 13 / 13 (Plus edition)?
The 13 (Plus Edition) NOT means it's for pad 4+, It's PE+, the 13、13 (Plus edition) both available for Mi Pad 4/4+. PixelExperience Plus will have more custom features.
Also, if you are already on normal edition, you can directly dirty flash the same date plus edition or newer plus edition.
5. How to solve heating/power drain too fast on idle?
Usually this won't happen when you clean flash this ROM, and often caused by LTE driver and a system application updated by the Google Play Store called: Android System Intelligence
So, just try enable airplane mode and uninstall the update for that app then reboot will solve (Settings - Application - Find "Android System Intelligence" and click top-right corner button)
6. Why there is always a {"Press any key to shutdown"/fastboot cmd error(like send size error something else} on PC when I try to do something in bootloader like flashing a recovery/unlocking bootloader?
Your USB port on your PC, your cable and your device is not matched. Like Mi Pad 4 is USB 2.0 but you connect to a PC with USB 3.X on that(Usually laptop user). Change your usb setup to match it same: PC USB2.0 cable USB2.0. Or you may google for USB3.0 Reg patch for xiaomi. I don't have it here.
7. How to flash certain partition with pe recovery? (like boot, frp, recovery, persist)
Use
fastboot flash partition_name partition_name.img
OR
In pe recovery:
Advanced - enable adb
Then On PC:
adb push partition_name.img /tmp
adb shell
dd if=/tmp/partition_name.img of=/dev/block/by-name/partition_name
8. Why I lost all my sensor/can't rotate screen after flash?
Clover has a fragile persist partition, sometime it will broken and cause these syndrome after a rom flash. It's not only happen when you flash pe, but flash any rom. Just flash a persist.img backup(yours' is best, but you can also download from others like from other's backup on xda post(like this: https://forum.xda-developers.com/t/...omi-mi-pad-4-unofficial.4514507/post-88228039), thanks ichigo_kurosaki), for the flashing instruction please check the #7 FAQ above.
9. Why my video recorded in 2160p(4k) can't playback(stucking)?
First of all, this device is originally support to 1080p30, the 60fps and 4k recording is force enabled, then SDM660 has a poor video decoder profile, some software may not try to decode 4k even it's announced 4k compatible, you may try playback the 2160p(4k) recordings from your computer, it will work. Or you may try some professional player like VLC.
==============================================
Special notice: Flash the OFFICIAL RECOVERY and CLEAN FLASH if you are from UNOFFICIAL or OTHER SYSTEM please!!!
Current Update(Both PAD 4/4 Plus):
PE Normal Edition(13):
2023.5.19
Device:
kernel: qcom sdm660 kernel update LA.UM.11.2.1.r1-03900-sdm660.0(kernel main/kgsl/wifi-fw-api)
device: qcom sdm660 driver/HAL update LA.UM.11.2.1.r1-03900-sdm660.0(camera/audio)
device: add fastbootd option in advanced reboot(pe plus only, normal pe has no advanced reboot function)
device: add a switch in battery management system to turn off charging ripple animation
Upstream:
Minor platform framework fix
PE Enhanced Edition(13 Plus Edition):
Dirty flash in rec to manually switch to PE Plus, but backup data in case for any accident!!!
Everything above included, and:
- N/A
==============================================
History Updates (non-plus):
2023.2.10 - First release
Introduce PE 13 for Mi Pad 4 (Plus)
2023.2.12
Device:
kernel: switched to 4.19
device: add mi settings
2023.2.18
Device:
kernel: fixed wake brightness burst
kernel: backported fuse passthrough from kernel 5.4 for better android storage performance
device: fixed camera stuck in 3rd app
device: moved xiaomi settings back in Settings -> System
device: added auto removal for wifi only/no fingerprint models
device: switched to erofs, f2fs, fbeV2+emmc_optimization(MUST use new recovcery and FORMAT DATA)
device: fixed weird power off charging ui
device: fixed SD card format in two modes
device: fixed microphone
device: enabled ZRAM writeback
2023.2.20
Device:
device: fixed backlight adjustment on Plus variant
device: fixed usb mode detect on Windows(Mtp or so)
2023.2.24 - First OFFICIAL build
Device:
device: fixed real MAC reading
device: fixed charging led won't work on high battery percent
device: fully translated xiaomi settings for CN
2023.2.27
Device:
device: fixed brightness driver burst for 8inch. (Plus has no burst issue)
device: fixed device setting can't display by side as tablet mode
kernel: update to 4.19.273
kernel: power optimized
2023.3.3
Device:
device: fixed "UNKNOWN SOC TYPE" in some system info type apps (SDA660)
device: fixed cpu freq scheduler always locks max freq by uclamp
device: enabled 60fps recording in camera
device: enabled cgroup freezer
Upstream:
February security patch
Google Apps updated
Fixed battery drain and lag spike caused by Pixel Launcher (Need to uninstall previous updates of Android System Intelligence or do a clean flash if the issue persists)
Fixed SafetyNet not passing
2023.3.24/5
Device:
kernel: update to 4.19.278
kernel: backport 5.10 fuse filesystem
kernel: reduce power consumption for 8 inch screen
device: reduce continuous ui rendering jitter/lag
2023.4.1
Device:
device: add "Usb fast charge on usb3.0 port"(500mA - 900mA) in Xiaomi Settings
device: switch to aosp task/cpu management for some critical tasks(util clampimg)
device: audio quality HUGE fix
device: "Mi Pad 4 Plus" will be differred in System info as well as the default dpi
device: lower memory pressure caused by bad Qualcomm legacy io scripting
device: optimize round corner
device: won't show a fingerprint page on first boot setup for 8inch now
device: complete software codec2 support (aosp_sw)
device: use [email protected] HAL(full USB config panel like reverse charging/role change)
device: set baseband as "Wi-Fi Only" instead of "Unknown" for wifi variant
device: further improve ui/animation lagging
device: optimize RAM consumption
device: optimize background app caching
device: deprecated sdcardfs and use native Android 11 new filesystem base, which supports better scope storage
device: more balanced irq control
device: other minor fix
kernel: minor optimize
Upstream:
Fixed something bad in QPR2(0324/5, below is copied from last)
Android 13 Quarterly Platform Release 2 (QPR2 - lots of new ui/behavior changes)
Enabled multi user switcher on lock screen for large screen device(>600dp)
Source rebased with March security patch
Updated GApps
Updated translations
Minor fixes
2023.4.19
Device:
kernel: update to 4.19.279
kernel: switch default io scheduler to bfq(reduce cpu consumption/power/lag, also +1500 AnTuTu storage score)
kernel: fixed step-chg/sw-jeita(thermal) for pm660_charger/fg
kernel: fixed otg passive mode issue, need one REBOOT after OTA/sideloading
device: fixed system partition not in erofs(increase boot up speed, system app speed)
device: make setup wizard landscape available
device: enable auto rotate by default
device: separate notification and ringtone volumes
device: fixed charge speed issue for LTE/Plus after hang off a call
device: force recovery update with system
device: irq balance now using 4 big cores (previously only 2 big cores)
device: CloverParts: add volume panel trigger in QS
device: CloverParts: add my battery manage system (Settings -> Battery -> Battery Management System) - Step charger / thermal charger switch
- Mode: limit battery around 40-60%
- Mode: limit battery around 80%
Upstream:
April security patch
Updated translations
Optimizations on battery usage of Pixel Launcher
Minor issues fixed
2023.5.3
Device:
kernel: update to 4.19.282
kernel: sdm660 kernel driver update from qcom(wifi/kernel/audio)
kernel: minor fix & optimize
device: expand wifi signal tolerance(reduce disconnect on bad wifi)
device: update display driver for sdm660(gralloc - HAL/display)
2023.5.7
Device:
emergency fix: 0503(PE Plus): headphone jack
emergency fix: 0503(PE Plus): camera video recording
device: allow 5G hotspot(called "Extend compatibility" in settings, reuquires a factory reset if you need it)
Upstream:
May security patch
Updated translations
Updated Google Apps
Minor issues fixed
2023.5.19
Device:
kernel: qcom sdm660 kernel update LA.UM.11.2.1.r1-03900-sdm660.0(kernel main/kgsl/wifi-fw-api)
device: qcom sdm660 driver/HAL update LA.UM.11.2.1.r1-03900-sdm660.0(camera/audio)
device: add fastbootd option in advanced reboot(pe plus only, normal pe has no advanced reboot function)
device: add a switch in battery management system to turn off charging ripple animation
Upstream:
Minor platform framework fix
==============================================
History Plus Updates:
2023.2.10 - First release
- N/A
2023.2.12
- N/A
2023.2.18
- N/A
2023.2.20
- N/A
2023.2.24 - First OFFICIAL build
- N/A
2023.2.27
- N/A
2023.3.3
- N/A
2023.3.24/5
- N/A
2023.4.1
- N/A
2023.4.19
- N/A
2023.5.3
- N/A
2023.5.7
- N/A
2023.5.19
- N/A
Reserved
Saw your patch on Gerrit for fixing launcher on tablets, I didn't realize that you have a clover!
perfect rom installed. I wanted to ask if you could build on kernel 4.19 and include the xiaomi parts to have screen color management and volume enhancement
( kernel 4.4 is no longer supported eol )
Piccolo1 said:
perfect rom installed. I wanted to ask if you could build on kernel 4.19 and include the xiaomi parts to have screen color management and volume enhancement
( kernel 4.4 is no longer supported eol )
Click to expand...
Click to collapse
Trying 4.19, and screen color manage is in Display->Live display for now
Alcatraz323 said:
Trying 4.19, and screen color manage is in Display->Live display for now
Click to expand...
Click to collapse
if it can be useful to you there is a very good developer pix106 you can use his 4.19 trees and believe that he also integrates the xiaomi parts. of the xiaomi parts it was useful to boost the volume of the speaker
pix106 - Overview
pix106 has 49 repositories available. Follow their code on GitHub.
github.com
Piccolo1 said:
if it can be useful to you there is a very good developer pix106 you can use his 4.19 trees and believe that he also integrates the xiaomi parts. of the xiaomi parts it was useful to boost the volume of the speaker
pix106 - Overview
pix106 has 49 repositories available. Follow their code on GitHub.
github.com
Click to expand...
Click to collapse
Successed with his kernel, uploaded 4.19 version, you may try it
thanks for the information, and the future version will be developed base on 4.19
Alcatraz323 said:
Successed with his kernel, uploaded 4.19 version, you may try it
thanks for the information, and the future version will be developed base on 4.19
Click to expand...
Click to collapse
I'm happy to have been helpful to you. I installed your new rom and it's perfect! Thank you ❤
Piccolo1 said:
I'm happy to have been helpful to you. I installed your new rom and it's perfect! Thank you ❤
Click to expand...
Click to collapse
Hi! You have mi pad 4 8'?
Zirafa said:
Hi! You have mi pad 4 8'?
Click to expand...
Click to collapse
Yes 8 LTE
Hi , fantastic rom , however I constantly get Bluetooth keeps stopping error? any help appreciated
aGoodEightInches said:
Hi , fantastic rom , however I constantly get Bluetooth keeps stopping error? any help appreciated
Click to expand...
Click to collapse
reset the tablet from the settings
0218 Updated
WARNING: Huge change to filesystem, MUST use new recovery and do format data before moving on
Check #2 for changelog
Hi
What are these files for?
boot_XXhz.img
And what's the difference?
LeshaRB said:
Hi
What are these files for?
boot_XXhz.img
And what's the difference?
Click to expand...
Click to collapse
Screen refresh rate overclock, may damage device
Thank you for a great rom.
I installed version 2023-02-18 and during various tests, I noticed an issue with microphone sound not being input.
The test app used Google recorder, and it was able to record the bluetooth microphone, but not the mipad4 device microphone.
NetHana said:
Thank you for a great rom.
I installed version 2023-02-18 and during various tests, I noticed an issue with microphone sound not being input.
The test app used Google recorder, and it was able to record the bluetooth microphone, but not the mipad4 device microphone.
Click to expand...
Click to collapse
Will look into it
Thank you very much for the great work.
Very fluid and so far working perfectly.
It only lacks the play protect certification. Uncertified device.
I hope to give my Mi pad 4 tablet a long life with this ROM.
Batoyer1 said:
Thank you very much for the great work.
Very fluid and so far working perfectly.
It only lacks the play protect certification. Uncertified device.
I hope to give my Mi pad 4 tablet a long life with this ROM.View attachment 5840005
Click to expand...
Click to collapse
That's common for Jan pe, fixed in coming Feb

Categories

Resources