{
"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 ROM is BETA at the moment
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community
First I would like to thank the following developers :
@moonbutt74
@yeshwanthvshenoy
@gladiac
@RaymanFX
@sub77
@T_I
@hennymcc
@Sarum4n - for Donating XDA add free
Each of them helped me with this project so a big thanks goes to them!
Before you start
THIS ROM IS ONLY FOR THE SM-T710
A T810 port of this rom by @T_I is available here
Code:
*
* Your warranty will be voided !
*
* 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.
*
About the ROM
Current state of ROM : BETA
What is Fixed
Camera
Sound
Wifi
Storage
Headphones
External sdcard
Screen Rotation
Bluetooth shows note 4 instead of tab s2
Resolution
What is not working
Important
MTP
Minor
Microphone
Minor graphical glitches
Lag after trying to send a text via sms app (Just don't do it and disable the app. It will try to reach RIL even tough its wifi only)
Instructions
How to install CM12.1
If you don't have TWRP yet, get it from here : TWRP by ashyx
Download the ROM and the Gapps that are located below to your device
Reboot into TWRP by holding VOL UP + POWER + HOME on boot
In case things go wrong make a backup
After the backup has completed return to home and select Wipe and then Advanced Wipe
Now ONLY tick Dalvik Cache, System, Data and Cache
After ticking those, Swipe below to wipe
Once the wipe has completed return to home and select the ROM
After you selected the ROM swipe below to install it
After the ROM has installed flash the Gapps
When all of this is done, reboot into system, wait, and enjoy CM12.1
How to ROOT
In CM 12.1, enable the developer options
Select Root access
Select Apps Only
Done
Questions and bug reporting
The following questions will be ignored
Inappropriate questions
Requests for other devices
Forced orders, EX. : "PLS FIX!!!!!!"
ETA's
Often repeated questions usually by the same user
Requests that are out of CM's framework (Ex. Adding Samsung Apps)
How to report a bug/issue
Explain exactly what happens
Mention a log if you can (Please use hastebin or any other paste site to keep the thread clean)
If you can't mention a log, explain as precise as possible when, why and where it occurs!
Changelog
Code:
18/4/2016 - Fixed Camera (Yes I'm still alive)
**********
27/1/2016 - Fixed Headphones not working
**********
30/12/2015 - Fixed External sdcard
**********
28/12/2015 - Fixed Sound
- Removed Calling option from lockscreen
- Added missing OMX formats
- ROM is now BETA
**********
21/12/2015 - Fixed Storage problems
**********
19/12/2015 - ROM is now ALPHA
- Fixed Wifi
**********
15/12/2015 - Fixed Rotation/Orientation
- Lowered to 320 DPI
- Updated Screenshots
**********
12/12/2015 - Fixed Bluetooth showing note 4
- Fixed bad resolution
- Updated Screenshots
**********
11/12/2015 - CM12.1 Booted for the first time
**********
Downloads
Latest CM 12.1 build : Android File Host
All CM 12.1 releases can be found here : Android File Host
Recommended GAPPS Open Gapps
Source
Special Thanks to @RaymanFX for releasing his Exynos 5433 source, without him this ROM would most likely not be possible!
All my sources can be found here : https://github.com/Galaxy-Tab-S2
Screenshots
XDA:DevDB Information
CyanogenMod 12.1 for Samsung Galaxy Tab S2 8.0 T710, ROM for the Samsung Galaxy Tab S2
Contributors
CTXz, Sub77, Moonbutt74, RaymanFX, Hennymcc
Source Code: https://github.com/Galaxy-Tab-S2
ROM OS Version: 5.1.x Lollipop
Based On: CyanogenMod
Version Information
Status: Beta
Created 2015-12-11
Last Updated 2016-04-18
Q&A
Q : Why does it say Galaxy Tab S2 9.7 on Android File Host if this is for the 8.0 version ?
A : Android File Host doesn't feature the 8.0 version in their devices. Because of that, all is located under a folder called 8.0
Q : Why is everything so small?
A : The DPI rate is 320 which is the same as on the Stock rom. However, Samsung has made everything bigger. Since this is personal preference, you may always higher your DPI to make things bigger or lower your DPI to make things smaller under Settings > Display > DPI
Q : Will you ever work on CM13?
A : Yes, once we feel like CM12 is good enough, we will move to CM13
Reserved 2
New build 12/12/2015
- Fixed Bluetooth bug showing Galaxy note 4 instead of tab s2
- Fixed bad resolution
- Updated Screenshots
Great work!
Can't wait to use this once it reaches a point where it's functional for everyday use! Excellent work so far!
Good job man!!! Will test this as soon as the WiFi works
Sent from my SM-T710 using Tapatalk
good news for all T810 users! @T_I is working on a port of my ROM. It came to the CM setup wizzard however had some problems with the touchscreen. Should hopefully be a easy fix.
So the sensor module just isn't loading.
Code:
I/ ( 3857): System server: starting sensor init.
D/SensorService( 3857): nuSensorService starting...
E/HAL ( 3857): load: module=/system/lib/hw/sensors.exynos5.so
E/SensorService( 3857): couldn't load sensors module (Invalid argument)
I/ ( 3857): System server: sensor init done.
Tried to use the note 4 ones. They did load up successfully but use different drivers.
Ex the gyroscope uses ICM20610 where mine uses LSM6DS3. I really only came this far. My nightmare would be to make my own sensor libs. That would mean that I would have to learn lot's of lot's of coding!
CTXz said:
So the sensor module just isn't loading.
Code:
I/ ( 3857): System server: starting sensor init.
D/SensorService( 3857): nuSensorService starting...
E/HAL ( 3857): load: module=/system/lib/hw/sensors.exynos5.so
E/SensorService( 3857): couldn't load sensors module (Invalid argument)
I/ ( 3857): System server: sensor init done.
Tried to use the note 4 ones. They did load up successfully but use different drivers.
Ex the gyroscope uses ICM20610 where mine uses LSM6DS3. I really only came this far. My nightmare would be to make my own sensor libs. That would mean that I would have to learn lot's of lot's of coding!
Click to expand...
Click to collapse
I really dont know but doea this help:
https://github.com/STMemsLinuxDrivers/lsm6ds3-input
Sent from my SM-G928I using Tapatalk
Beukhof1 said:
I really dont know but doea this help:
https://github.com/STMemsLinuxDrivers/lsm6ds3-input
Sent from my SM-G928I using Tapatalk
Click to expand...
Click to collapse
Sadly those are for the kernel.
However,
I found this open source sensor for the s3 I9300 that uses a , what I believe, older version of the gyro found in our device. I will see what I can decompile/reverse out of the current module for the tab and will compare it with the open source ones for the I9300. This will be hard and I would be very thankfull if you could redict any expierienced dev you know, here
Suprise!
Turns out I was just missing a shared libary. That caused the module not to load. Sooo.... all that s3 sensor work for nothing
Hey.... atleast I learned something.
Also, build will be released in about 1-2h
CTXz said:
Suprise!
Turns out I was just missing a shared libary. That caused the module not to load. Sooo.... all that s3 sensor work for nothing
Hey.... atleast I learned something.
Also, build will be released in about 1-2h
Click to expand...
Click to collapse
Nice! Good job mate!
Did you have time to look at wifi yet? I would love to try it if that works!
Sent from my SM-T710 using Tapatalk
Beukhof1 said:
Nice! Good job mate!
Did you have time to look at wifi yet? I would love to try it if that works!
Sent from my SM-T710 using Tapatalk
Click to expand...
Click to collapse
Not yet, but I will take a look at it soon!
New build is out !
**********
15/12/2015 - Fixed Rotation/Orientation
- Lowered to 320 DPI
- Updated Screenshots
**********
Links have been updated!
Ok so to wifi :
I know most of you want as number 1. priority a working WIFI connection, but this doesn't seem to be that easy to fix, at least not for my empty brain. As you've probably already noticed, my debugging skills are still quite bad (Yes I'm still learning... Yes I'm not perfect.... well maybe yes... ok no just kidding). The current issue i'm facing has probably to do something with the api drivers and wpa_supplicant. I've noticed that the KMSG doesn't even show a tiny trace of the cfg80211 driver and the nl80211 driver. If any developer out there knows what to do with the following log output when trying to access the wifi HAL / Enabling WIFI please tell me.
Code:
D/SoftapController( 3507): Softap fwReload - Ok
W/CommandListener( 3507): Failed to retrieve HW addr for wlan0 (No such device)
D/CommandListener( 3507): Setting iface cfg
E/WifiStateMachine( 3901): Unable to change interface settings: java.lang.IllegalStateException: command '90 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 90 Failed to set address (No such device)'
E/WifiMonitor( 3901): killSupplicant p2ptrue init.svc.wpa_supplicant=unknown init.svc.p2p_supplicant=unknown
I/wpa_supplicant( 7883): Successfully initialized wpa_supplicant
I/wpa_supplicant( 7883): rfkill: Cannot open RFKILL control device
E/wpa_supplicant( 7883): Could not read interface wlan0 flags: No such device
I/wpa_supplicant( 7883): nl80211: Driver does not support authentication/association or connect commands
E/wpa_supplicant( 7883): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 7883): wlan0: Failed to initialize driver interface
E/WifiStateMachine( 3901): Failed to start supplicant!
D/WifiService( 3901): setWifiEnabled: false pid=5956, uid=1000
E/WifiService( 3901): Invoking mWifiStateMachine.setWifiEnabled
D/SoftapController( 3507): Softap fwReload - Ok
W/CommandListener( 3507): Failed to retrieve HW addr for wlan0 (No such device)
D/CommandListener( 3507): Setting iface cfg
E/WifiStateMachine( 3901): Unable to change interface settings: java.lang.IllegalStateException: command '93 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 93 Failed to set address (No such device)'
E/WifiMonitor( 3901): killSupplicant p2ptrue init.svc.wpa_supplicant=unknown init.svc.p2p_supplicant=unknown
I/wpa_supplicant( 7915): Successfully initialized wpa_supplicant
I/wpa_supplicant( 7915): rfkill: Cannot open RFKILL control device
E/wpa_supplicant( 7915): Could not read interface wlan0 flags: No such device
I/wpa_supplicant( 7915): nl80211: Driver does not support authentication/association or connect commands
E/wpa_supplicant( 7915): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 7915): wlan0: Failed to initialize driver interface
E/WifiStateMachine( 3901): Failed to start supplicant!
D/WifiService( 3901): setWifiEnabled: true pid=5956, uid=1000
E/WifiService( 3901): Invoking mWifiStateMachine.setWifiEnabled
D/WifiController( 3901): WifiController msg { when=0 what=155656 target=com.android.internal.util.StateMachine$SmHandler } deferred for 313ms
D/WifiService( 3901): setWifiEnabled: false pid=5956, uid=1000
E/WifiService( 3901): Invoking mWifiStateMachine.setWifiEnabled
D/WifiController( 3901): DEFERRED_TOGGLE handled
D/WifiService( 3901): setWifiEnabled: true pid=5956, uid=1000
E/WifiService( 3901): Invoking mWifiStateMachine.setWifiEnabled
D/SoftapController( 3507): Softap fwReload - Ok
And then.... all of a sudden a wild google appeared!
Big thanks to @gladiac
Build coming soon!
CTXz said:
And then.... all of a sudden a wild google appeared!
Big thanks to @gladiac
Build coming soon!
Click to expand...
Click to collapse
Thanks a lot for the effort you're putting into this.
New build 19/12/2015
This build is no longer PRE-ALPHA but ALPHA
**********
19/12/2015 - ROM is now ALPHA
- Fixed Wifi
**********
CTXz said:
And then.... all of a sudden a wild google appeared!
Big thanks to @gladiac
Build coming soon!
Click to expand...
Click to collapse
Ok, this convinced me, sdcard 4th, wifi 3rd. Build on the T810 stack is running.
►Tweaks Klean & Speed◄
2016, February 16th
Hi, after reading many forums and using the various resource I created a script to optimize all LG L Fino.
Before install check your phone is ROOT HERE.
How to .zip ? Flash banner into CWM HERE
- Activated init.d
Full cleaning at launch
Disabled kernel panic
Optimization
Tweaks VM
Configuring KSM
Activated Zram 256 mo
Best I/O scheduler line
Configuring lowmemorykiller
Remounted
Optimization application
Optimization database
Lag trim fix > need BusyBox tools
Secure and optimize
Idle wait
Kill all process
- Adaware
- Mod better screen (perf)
- Disable MPDecision and use full multicore
- DSP manager
- Tweaks to build.prop added
#
#fluencetype
ro.qc.sdk.audio.fluencetype=fluence
persist.audio.fluence.mode=endfire
persist.audio.handset.mic=digital
# Best Scrolling
persist.sys.scrollingcache=3
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
ro.min_pointer_dur=8
windowsmgr.max_events_per_sec=90
# Disable Checking Data
logcat.live=disable
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
ro.config.nocheckin=1
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
# Enable Surface Dithering
persist.sys.use_dithering=2
# Game Tweaks
persist.tegra.NV_FPSLIMIT=0
#
persist.sys.NV_FPSLIMIT=60
persist.sys.NV_POWERMODE=1
persist.sys.NV_PROFVER=15
persist.sys.NV_STEREOCTRL=0
persist.sys.NV_STEREOSEPCHG=0
persist.sys.NV_STEREOSEP=20
# LG flags
persist.service.pcsync.enable=0
persist.service.lgospd.enable=0
# Photo & Flashlight Quality
ro.media.capture.flash=led
ro.media.capture.flashMinV=3300000
ro.media.capture.flashIntensity=70
ro.media.capture.torchIntensity=65
# Quality Of Media Streaming
media.stagefright.enable-meta=true
media.stagefright.enable-rtsp=true
Click to expand...
Click to collapse
- Bootanimation GooGle : link here replace original file.
media / ..644
- Guide :
Delete manualy all Google files to app/* and to priv-app/*
- without : GoogleCalendarSyncAdapter.apk, GoogleContactSyncAdapter.apk, GmsCore.apk, GoogleBackupTransport.apk, GoogleLoginService.apk, GoogleServicesFramework.apk, Phonesky.apk
Disable all LG services to parameter/application : xx xx
Enjoy Your ROM is Kustom...
____________________________________
Apps for escort
Root Browser - Sd Maid - Link2Sd (for export 2go but don't extand)
Thank's many dev for the script.
Join the file .zip after eating.
Ok, enjoy...
Hi, No file shared ?
I'm looking for optimizing my LG L Fino. Could you please share it again ?
Thanks
Overclock?
Sent from my Moto E using XDA-Developers mobile app
Magisk Adaway does not work. su binary not found or u have no root
how to fix that?
k2828 said:
Magisk Adaway does not work. su binary not found or u have no root
how to fix that?
Click to expand...
Click to collapse
Hello
(Yes, it's written big, but he, you don't seem to know how to write it.)
It' easy:
Be polite;
Search;
Well formated text;
Provide logs.
Thanks.
I used to write love letters but no one cared so i prefer a quickies now. i dont think that its rude.
be polite: i was neutral. dont u think?
search: have searched. same problem with my s4 i9506 and s5 g906k.
format txt: ok. maybe.
Code:
--------- beginning of main06-19 11:59:07.072 7397 7397 W System : ClassLoader referenced unknown path: /data/app/natanrosenfeld.logcat-1/lib/arm06-19 11:59:07.250 7397 7415 I Adreno : QUALCOMM build : d842ad3, Ia10634f51b06-19 11:59:07.250 7397 7415 I Adreno : Build Date : 01/04/1606-19 11:59:07.250 7397 7415 I Adreno : OpenGL ES Shader Compiler Version: XE031.06.00.0506-19 11:59:07.250 7397 7415 I Adreno : Local Branch : mybranch1757899306-19 11:59:07.250 7397 7415 I Adreno : Remote Branch : quic/LA.BF.2.1.2_rb1.706-19 11:59:07.250 7397 7415 I Adreno : Remote Branch : NONE06-19 11:59:07.250 7397 7415 I Adreno : Reconstruct Branch : NOTHING06-19 11:59:07.262 7397 7415 I OpenGLRenderer: Initialized EGL, version 1.406-19 11:59:07.262 7397 7415 D OpenGLRenderer: Swap behavior 1
k2828 said:
Magisk Adaway does not work. su binary not found or u have no root
how to fix that?
Click to expand...
Click to collapse
Do you mean that AdAway doesn't work with MagiskSU? Does it fail to request su altogether? What version of the app? As has already been stated (a bit passive-aggressively), more details are necessary to help properly.
Edit: that log is completely unreadable like that... Attach as a file to the post instead.
Didgeridoohan said:
Do you mean that AdAway doesn't work with MagiskSU? Does it fail to request su altogether? What version of the app? As has already been stated (a bit passive-aggressively), more details are necessary to help properly.
Edit: that log is completely unreadable like that... Attach as a file to the post instead.
Click to expand...
Click to collapse
magisk v12 and newest adaway. adaway seems to have root in magisk menu.
logfile attached. had to .rar it.
ot: is there any better app then logcat where you can create/save a logfile directly from the from without the need of attaching the phone to the pc via cable and do adb commands?
k2828 said:
magisk v12 and newest adaway. adaway seems to have root in magisk menu.
logfile attached. had to .rar it.
Click to expand...
Click to collapse
I'm not using it anymore, but I was using AdAway with MagiskSU without issues previously. I can try to get some testing in later...
I've since moved on to my own version of the Unified Hosts Adblocker module. It works very well and I can highly recommend it.
ot: is there any better app then logcat where you can create/save a logfile directly from the from without the need of attaching the phone to the pc via cable and do adb commands?
Click to expand...
Click to collapse
https://www.xda-developers.com/guide-sending-a-logcat-to-help-debug-your-favorite-app/
@Tkkg1994 @flar2 @geiti94
Has anybody managed to get a custom kernel working with a proper working clipboard? I've tried with and without TEE, with and without securestorage but it still breaks. Tried various kernels for verification and all of them seem broken.
To verify the issue, just use PCMark 2.0 Work test and it will force close during the writing test with the following:
Code:
04-03 12:03:22.137 ? I/com.futuremark.haka.textediting.tasks.Copy: Paste to clipboard
04-03 12:03:22.162 ? W/System.err: at com.futuremark.haka.textediting.tasks.Copy.lambda$startCopyTask$9(Copy.java:71)
04-03 12:03:22.162 ? W/System.err: at com.futuremark.haka.textediting.tasks.Copy.access$lambda$0(Unknown Source:0)
04-03 12:03:22.162 ? W/System.err: at com.futuremark.haka.textediting.tasks.Copy$$Lambda$1.run(Unknown Source:2)
04-03 12:03:22.163 ? D/com.futuremark.haka.textediting.results.Result: Storing name: copy value: 19.0 ms used in results: true
.....
04-03 12:03:28.769 ? I/com.futuremark.haka.textediting.tasks.Paste: Get text from clipboard and paste
04-03 12:03:28.772 ? W/System.err: at com.futuremark.haka.textediting.tasks.Paste.executePaste(Paste.java:71)
04-03 12:03:28.773 ? W/System.err: at com.futuremark.haka.textediting.tasks.Paste.lambda$startPasteTask$3(Paste.java:51)
04-03 12:03:28.773 ? W/System.err: at com.futuremark.haka.textediting.tasks.Paste.access$lambda$0(Unknown Source:0)
04-03 12:03:28.773 ? W/System.err: at com.futuremark.haka.textediting.tasks.Paste$$Lambda$1.run(Unknown Source:2)
04-03 12:03:28.775 ? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.futuremark.pcmark.android.benchmark:workload, PID: 19337
java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.ClipData$Item android.content.ClipData.getItemAt(int)' on a null object reference
at com.futuremark.haka.textediting.tasks.Paste.executePaste(Paste.java:71)
at com.futuremark.haka.textediting.tasks.Paste.lambda$startPasteTask$3(Paste.java:51)
at com.futuremark.haka.textediting.tasks.Paste.access$lambda$0(Unknown Source:0)
at com.futuremark.haka.textediting.tasks.Paste$$Lambda$1.run(Unknown Source:2)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6938)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
04-03 12:03:28.780 ? W/ActivityManager: crash : com.futuremark.pcmark.android.benchmark,0
04-03 12:03:28.783 ? W/ActivityManager: Force finishing activity com.futuremark.pcmark.android.benchmark/com.futuremark.haka.textediting.TextEditingWorkload
Something on the secure side is broken and it doesn't affect stock kernel images.
Knox has to be v30 in build.prop afaik.
Nice to see you here Andrei
We need a kernel with your commits that disable hotplugging.
Copy and paste works fine for me. The PC Mark 2 test also completes.
I have not yet updated to the latest system update. I'm using G960FXXU1ARC5, with ElementalX 1.04 and rooted with latest SuperSU.
It's related to the thing reported here:
Link
Tkkg1994 said:
It's related to the thing reported here:
Link
Click to expand...
Click to collapse
Ugh!!! Thought something was broken with the kernel and in the end it was one of the kernels which I quickly tested at the beginning which messed with system props for no reason. I wish people would stop messing with system files when kernels can override everything...
Anyway thanks a lot, I'm now on a squiky clean ARCC system and custom kernel and everything works.
AndreiLux said:
Ugh!!! Thought something was broken with the kernel and in the end it was one of the kernels which I quickly tested at the beginning which messed with system props for no reason. I wish people would stop messing with system files when kernels can override everything...
Anyway thanks a lot, I'm now on a squiky clean ARCC system and custom kernel and everything works.
Click to expand...
Click to collapse
Which Kernel do you use?
iamnotkurtcobain said:
Which Kernel do you use?
Click to expand...
Click to collapse
Check @AndreiLux profile, especially "Most thanked" section and you will get the answer
LineageOS 13.0 for Ascend P6S-U06 P7-L10
NB: This is a continuation of Kostyan_nsk's builds, he did all the work creating patches to Android for the device's quirks etc. to make it operate as it should.
Works:
Audio
Video
HW Codecs
RIL (Calls, SMS, USSD, Mobile Data)
Wifi / Bluetooth
Camera
Sensors
GPS
Live Display
NFC
Doesn't work:
FM Radio
Bugs:
Doesn't work "Best Shot" and "Time Lapse" camera modes
Might be problems with playback of some video clips
Random camera app FC (P7 only)
Can't connect with newer WPA2/3 network configured routers it seems....
Issues with video playback of VP9 files.... Something about color format in libStagefright, ChromeWebView handles that format and Lineage 13 doesn't get that any more either, hence the effort for a new kernel.
Issues with certain apps that don't like the way storage is handled, I'm sure there's a way (mount a .img file??)
You tell me.
Requirements:
Unlocked bootloader
Stock firmware B6XX or B8XX
TWRP 3.0.3
Installation:
Backup boot, system, data partitions in TWRP to have a chance to rollback. Internal storage won't be affected so you don't have to back it up.
Make standard wipe (Wipe - > swipe)
Install zip
Installation sequence is mandatory!
Note: This ROM doesn't support HiSuite and Huawei Backup, so to backup / restore your contacts, sms, app settings, etc use your Google account or any other third party methods, like Titanium Backup, for example.
Important: High Performance profile in Battery menu of Settings activates 1996MHz CPU frequency. If your device has stability issues at this frequency (random reboots), don't use this profile.
Download:
Google drive folder where my builds, Kostyan's builds and TWRP live.
Source code:
Kernel: https://github.com/threader/hwp6s-kernel/tree/cm-13.0-0
Device:
https://github.com/threader/android_device_huawei_hi6620oem-common
https://github.com/threader/android_device_huawei_p6s_u06
https://github.com/threader/android_device_huawei_p7_l10
Hardware: https://github.com/Kostyan-nsk/android_hardware_huawei_hi6620oem
Vendor: https://github.com/Kostyan-nsk/android_vendor_huawei_hi6620oem-common
TWRP: https://github.com/threader/android_bootable_recovery/tree/lineage-13-hwp6s
Notes on building:
Code:
# edit /etc/java/security/java.security not to disallow TSL1 and TSL1.1
# Dependencies
# can be built with openjdk-8-jdk, apt install openjdk-8-jdk and apt purge openjdk-1x or such.
sudo apt install openjdk-8-jdk bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick libncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5-dev libsdl1.2-dev libssl-dev libwxgtk3.2-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev maven libncurses5
# Apply all patches found under device/huawei/hi6620oem-common/patches
## required
export LC_ALL=C
JACK_VM_COMMAND="java -Dfile.encoding=UTF-8 -Xms2560m -XX:+TieredCompilation -jar "$OUT_DIR"/host/linux-x86/framework/jack-launcher.jar" JACK_JAR="$OUT_DIR"/host/linux-x86/framework/jack.jar "$OUT_DIR"/host/linux-x86/bin/jack-admin start-server
##
## optional
## compiler
# get https://releases.linaro.org/components/toolchain/binaries/4.9-2017.01/arm-linux-gnueabi/gcc-linaro-4.9.4-2017.01-*.tar.xz
# I put it under $(HOME)/dev/sdk/
# or set hi6620oem-common/BoardConfigCommon.mk KERNEL_CROSS_COMPILE := to that path
##
export OUT_DIR_COMMON_BASE=/path/to/say/external/drive
export CCACHE_EXEC=/usr/bin/ccache
export USE_CCACHE=true
export CCACHE_DIR=""$OUT_DIR_COMMON_BASE"/ccache"
# TWRP
# Ive not figured out where in the scripts this goes wrong, i just noticed it now in 2023 so just cp
# once the build errors out
cp $OUT_DIR/target/product/p7_l10/ota_temp/SYSTEM/etc/install-recovery.sh $OUT_DIR/target/product/p7_l10/ota_temp/SYSTEM/bin/install-recovery.sh
##
Threader - 15.05.2023
Video issue was solved, I had overwritten previously patched files, I want to cry.
VLC is included as the built in media player can't handle many modernly compressed formats.
Experimental .vp9 decoder support, sadly this comes at the cost of .vp8 files being decoded in software thus far, this is possible to work around but not this day, now I can focus on other ways forward - like the kernel I was trying to bring up on this device to try with lineage 14.1.
Threader - 11.04.2023
Got it built again on a fresh Debian 12 and wrote down hopefully most of the details on how. I started work last time re-implementing the Huawei kernel atop a vanilla 3.0.101 sometime around 17.12.2022 but my migraines and tinnitus got the better of me for way too long, that kernel lives under the https://github.com/threader/hwp6s-kernel/tree/linux-3.0.101-hwp6s-android * branches, it displays a lovely boot logo and gives no logs so I started working on cherry-picking my way to bringing it up in the Android emulator/KVM
Threader - 17.12.2022
Trying to fix a video playback issue two more patches have been applied to Android: https://osdn.net/projects/android-x...mits/2f1103142fde38b9bdc2514b168d278c0ce08398 and https://android.googlesource.com/platform/frameworks/native/+/0471d0a^!/
Threader - 16.12.2022
Build new old version and provide first p6s image. <PULLED, there were conditions I hadn't set, tbc>
Threader - 10.03.2020 - 01.06.2021:
My builds do not include Gapps, stock camera app, etc, nothing is included beyond compiling Lineage sources. I will release builds every so often, as long as I can keep building it on a modern system, if I make headway with the kernel (which is fighting me all the way) or Chromium webview falls too far behind.
Short list of changes:
Lineage: Updated CA-Certificates to Google main.
Kernel: Added 'cpu_pm' driver to improve battery performance.
Applied tweaks learnt trough other projects.
Fixed bugs by Huawei.
A more comprehensive list to of changes to follow.
Kostyan_nsk - 18.12.2018 - 10.03.2020:
Updates:
2018-12-24:
ASB 2018-10
Working NFC
2019-02-06:
ASB 2018-12
Fixed bug which was causing boot-loop if you had ExFAT-formatted SD card.
Fixed wakelock release in WeatherUpdateService of LockClock app which in some case was causing battery drain.
YahooWeatherProvider was replaced by OpenWeatherMapProvider because Yahoo changed API.
Added "Sweep to Sleep" option in display settings.
2019-03-01:
ASB 2019-01
Fixed unzip symlink in TWRP.
2019-12-08:
ASB 2019-04
Included fix of "transparent" video playback bug.
Lawnchair updated to version 2.0; recommended make backup of Lawnchair settings because after update they will be dropped to defaults.
TWRP updated to version 3.3.1-0.
List of known 3rd party bugs:
Magisk v21.x does not work.
Plans ahead: In December 2022 started with a fresh Linux 3.0.101 kernel cloned from git.kernel.org , attached the Huawei drivers and satisfied the dependencies thereof as i got very sick of working with a source with no version control/history. It currently lives in the linux-3.0.101-hwp6s-android branch, there are branches with just the two applied diffs in this post though nothing is planned for those other than to be picked apart. The hope is this will make it easier to crawl up a few kernel versions and add compatibility _in the kernel_ for newer Android versions. Currently I've satisfied the Huawei and bcm drivers etc. to a bare minimum for it to compile for P7, some conditins for P6 are not yet added and i spotted numerous cherry picked features in the network stack i skipped, these would come along with merging up to linux 3.2 or 3.4.
GitHub - threader/hwp6s-kernel: Huawei Ascend P6S-U06 KitKat/Lollipop/LOS13.0 kernel
Huawei Ascend P6S-U06 KitKat/Lollipop/LOS13.0 kernel - GitHub - threader/hwp6s-kernel: Huawei Ascend P6S-U06 KitKat/Lollipop/LOS13.0 kernel
github.com
Attached diffs: I found Huawei p6 and p7 diffs on elinux - https://elinux.org/Phones_Processors_and_Download_Sites - attaching them here, re-compressed to tar.xz, so hopefully they don't go AWOL.
Do you have a plan to build lineageOS14?
4G not working
threader said:
LineageOS 13.0 for Ascend P7-L10
NB: This is a continuation of Kostyan_nsk's build.
Works:
Audio
Video
HW Codecs
RIL (Calls, SMS, USSD, Mobile Data)
Wifi / Bluetooth
Camera
Sensors
GPS
Live Display
NFC
Doesn't work:
FM Radio
Bugs:
Doesn't work "Best Shot" and "Time Lapse" camera modes
Might be problems with playback of some video clips
Random camera app FC (P7 only)
Maybe something else could be found
Requirements:
Unlocked bootloader
Stock firmware B6XX or B8XX
TWRP 3.0.3
Installation:
Backup boot, system, data partitions in TWRP to have a chance to rollback. Internal storage won't be affected so you don't have to back it up.
Make standard wipe (Wipe - > swipe)
Install zip
Installation sequence is mandatory!
Note: This ROM doesn't support HiSuite and Huawei Backup, so to backup / restore your contacts, sms, app settings, etc use your Google account or any other third party methods, like Titanium Backup, for example.
Important: High Performance profile in Battery menu of Settings activates 1996MHz CPU frequency. If your device has stability issues at this frequency (random reboots), don't use this profile.
Source code:
Kernel: https://github.com/threader/hwp6s-kernel/tree/cm-13.0
Device:
https://github.com/Kostyan-nsk/android_device_huawei_hi6620oem-common
https://github.com/Kostyan-nsk/android_device_huawei_p6s_u06
https://github.com/Kostyan-nsk/android_device_huawei_p7_l10
Hardware: https://github.com/Kostyan-nsk/android_hardware_huawei_hi6620oem
Vendor: https://github.com/Kostyan-nsk/android_vendor_huawei_hi6620oem-common
Download:
Build folder.
Known working: lineage-13.0-20210701-UNOFFICIAL-p7_l10.zip
Kostyan_nsk's builds and TWRP 3.0.3 & 3.2.3.
Threader - 10.03.2020 - 01.06.2021:
My builds do not include Gapps, stock camera app, etc, nothing is included beyond compiling Lineage sources. I will release builds every so often, as long as I can keep building it on a modern system, if I make headway with the kernel (which is fighting me all the way) or Chromium webview falls too far behind.
Short list of changes:
Lineage: Updated CA-Certificates to Google main.
Kernel: Added 'cpu_pm' driver to improve battery performance.
Applied tweaks learnt trough other projects.
Fixed bugs by Huawei.
A more comprehensive list to of changes to follow.
Kostyan_nsk - 18.12.2018 - 10.03.2020:
Updates:
2018-12-24:
ASB 2018-10
Working NFC
2019-02-06:
ASB 2018-12
Fixed bug which was causing boot-loop if you had ExFAT-formatted SD card.
Fixed wakelock release in WeatherUpdateService of LockClock app which in some case was causing battery drain.
YahooWeatherProvider was replaced by OpenWeatherMapProvider because Yahoo changed API.
Added "Sweep to Sleep" option in display settings.
2019-03-01:
ASB 2019-01
Fixed unzip symlink in TWRP.
2019-12-08:
ASB 2019-04
Included fix of "transparent" video playback bug.
Lawnchair updated to version 2.0; recommended make backup of Lawnchair settings because after update they will be dropped to defaults.
TWRP updated to version 3.3.1-0.
List of known 3rd party bugs:
Magisk v21.x does not work.
Click to expand...
Click to collapse
The links are not working...
AaoIi said:
The links are not working...
Click to expand...
Click to collapse
Fixed. Google updated the encoding of the url a while ago.
Mr-Gao said:
Do you have a plan to build lineageOS14?
Click to expand...
Click to collapse
No, Kostyan tried, resulted in no-boot, I think it's pushed as far as it will go unless someone can prove me wrong here.
medhassano said:
4G not working
Click to expand...
Click to collapse
Whatever does not work in Kostyan's build wont work here, I wont be spending much more time with this device, it's fighting me too much, the drivers by huawei are awful and i can't even dig up the original kernel sources or anything else published by huawei regarding this device.
i install this kostian_nask build zip upto 700mb but my hiawei p7 screen touch not working and twrp updated to 3.3 so twrp touch is also not working when i downgrad 3.0 twrp then its working only in recovery but lineage os touch not working valume power button only fictional
threader said:
LineageOS 13.0 for Ascend P7-L10
NB: This is a continuation of Kostyan_nsk's build.
Works:
Audio
Video
HW Codecs
RIL (Calls, SMS, USSD, Mobile Data)
Wifi / Bluetooth
Camera
Sensors
GPS
Live Display
NFC
Doesn't work:
FM Radio
Bugs:
Doesn't work "Best Shot" and "Time Lapse" camera modes
Might be problems with playback of some video clips
Random camera app FC (P7 only)
Maybe something else could be found
Requirements:
Unlocked bootloader
Stock firmware B6XX or B8XX
TWRP 3.0.3
Installation:
Backup boot, system, data partitions in TWRP to have a chance to rollback. Internal storage won't be affected so you don't have to back it up.
Make standard wipe (Wipe - > swipe)
Install zip
Installation sequence is mandatory!
Note: This ROM doesn't support HiSuite and Huawei Backup, so to backup / restore your contacts, sms, app settings, etc use your Google account or any other third party methods, like Titanium Backup, for example.
Important: High Performance profile in Battery menu of Settings activates 1996MHz CPU frequency. If your device has stability issues at this frequency (random reboots), don't use this profile.
Source code:
Kernel: https://github.com/threader/hwp6s-kernel/tree/cm-13.0
Device:
https://github.com/Kostyan-nsk/android_device_huawei_hi6620oem-common
https://github.com/Kostyan-nsk/android_device_huawei_p6s_u06
https://github.com/Kostyan-nsk/android_device_huawei_p7_l10
Hardware: https://github.com/Kostyan-nsk/android_hardware_huawei_hi6620oem
Vendor: https://github.com/Kostyan-nsk/android_vendor_huawei_hi6620oem-common
Download:
Build folder.
Known working: lineage-13.0-20210701-UNOFFICIAL-p7_l10.zip
Kostyan_nsk's builds and TWRP 3.0.3 & 3.2.3.
Threader - 10.03.2020 - 01.06.2021:
My builds do not include Gapps, stock camera app, etc, nothing is included beyond compiling Lineage sources. I will release builds every so often, as long as I can keep building it on a modern system, if I make headway with the kernel (which is fighting me all the way) or Chromium webview falls too far behind.
Short list of changes:
Lineage: Updated CA-Certificates to Google main.
Kernel: Added 'cpu_pm' driver to improve battery performance.
Applied tweaks learnt trough other projects.
Fixed bugs by Huawei.
A more comprehensive list to of changes to follow.
Kostyan_nsk - 18.12.2018 - 10.03.2020:
Updates:
2018-12-24:
ASB 2018-10
Working NFC
2019-02-06:
ASB 2018-12
Fixed bug which was causing boot-loop if you had ExFAT-formatted SD card.
Fixed wakelock release in WeatherUpdateService of LockClock app which in some case was causing battery drain.
YahooWeatherProvider was replaced by OpenWeatherMapProvider because Yahoo changed API.
Added "Sweep to Sleep" option in display settings.
2019-03-01:
ASB 2019-01
Fixed unzip symlink in TWRP.
2019-12-08:
ASB 2019-04
Included fix of "transparent" video playback bug.
Lawnchair updated to version 2.0; recommended make backup of Lawnchair settings because after update they will be dropped to defaults.
TWRP updated to version 3.3.1-0.
List of known 3rd party bugs:
Magisk v21.x does not work.
Click to expand...
Click to collapse
I have a doubt, I don't know if this thread is dead, but so far, does the rom work well? I understand the mentioned bugs but what is mentioned that works really works? since so far I have seen several comments mentioning problems with the "WIFI WPA2-PSK" or it loops in the "WIFI" connection, also, how can I make a backup that can actually be restored without any inconvenience from the ROM LineageOS?
Also, will the ROM receive its STABLE OR FINAL Update at some point?
Videos not working on lineage-13.0-20210701
First p6s image available needs testing, found under https://drive.google.com/drive/folders/1-WAUxnW9jf6ufm9FmwH6gHCVr9JZHlUr - also included some steps for compiling in initial post. P7 image also available, no changes from 2021 yet as im unsure if chrome even runs on android 6 still so if i update webview i don't know what will happen, yet.
Fellow_Easterner said:
Videos not working on lineage-13.0-20210701
Click to expand...
Click to collapse
Hm, that's strange, will test a bit, there's an issue with wpa3/2 networks as well it seems, can't connect.
Edit: I see the issue with galery not being able to view videos.... This must be caused by webview
Edit: logcat says
Code:
01-02 02:49:57.769 187 7719 W StagefrightMetadataRetriever: Input Error or EOS
01-02 02:49:57.891 187 7820 E omxil_G1_decoder_component: decoder_get_extension_index: OMX.google.android.index.describeColorFormat not implemented!
01-02 02:49:57.891 187 7820 E OMXNodeInstance: getConfig(41:hantro.decoder.avc, ConfigCommonOutputCrop(0x700000f)) ERROR: UnsupportedIndex(0x8000101a)
01-02 02:49:57.892 187 7719 E StagefrightMetadataRetriever: Unable to convert from format 0x00000027 to RGB565
01-02 02:49:57.892 187 7820 D : HantroOmx_basecomp_send_command
01-02 02:49:57.892 187 7820 D : HantroOmx_msgque_push_back: malloc ok
01-02 02:49:57.892 187 7820 D : HantroOmx_msgque_push_back: mutex lock ok
01-02 02:49:57.892 187 7820 D : HantroOmx_basecomp_send_command end
01-02 02:49:58.074 187 7820 D : HantroOmx_basecomp_send_command
01-02 02:49:58.074 187 7820 D : HantroOmx_msgque_push_back: malloc ok
01-02 02:49:58.074 187 7820 D : HantroOmx_msgque_push_back: mutex lock ok
01-02 02:49:58.074 187 7820 D : HantroOmx_basecomp_send_command end
01-02 02:49:58.085 187 7820 D : HantroOmx_basecomp_send_command
01-02 02:49:58.085 187 7820 D : HantroOmx_msgque_push_back: malloc ok
01-02 02:49:58.085 187 7820 D : HantroOmx_msgque_push_back: mutex lock ok
01-02 02:49:58.085 187 7820 D : HantroOmx_basecomp_send_command end
01-02 02:49:58.136 187 7719 E StagefrightMetadataRetriever: Colorconverter failed to convert frame.
01-02 02:49:58.141 187 7828 W ACodec : [OMX.google.h264.decoder] does not support color format 19
01-02 02:49:58.400 187 7719 W StagefrightMetadataRetriever: Input Error or EOS
I will need to check if i might have overwritten the patches to aosp...
this is using :
Code:
commit 729ee65188a703d4e157e1d59ef47226bfa75077 (grafted, HEAD -> master, m/cm-13.0, github/master)
Author: Kevin F. Haggerty <[email protected]>
Date: Wed Apr 14 09:51:32 2021 -0600
Update Chromium Webview to 90.0.4430.82
Change-Id: I67445ccace0b5dc0936a47ec57c11d26ba383194
That branch is now gone.... There is also this notice https://groups.google.com/a/chromium.org/g/chromium-dev/c/z_RvoPoIeoM?pli=1
Edit: https://groups.google.com/g/android-x86/c/xmRU1Uh0cKo testing this https://osdn.net/projects/android-x...8c0ce08398#fd-media/libstagefright/ACodec.cpp
I seem to have pissed it off even more
Code:
01-02 04:34:16.229 9521 15596 E omxil_G1_decoder_component: decoder_get_extension_index: OMX.google.android.index.storeANWBufferInMetadata not implemented!
01-02 04:34:16.229 9521 15596 E omxil_G1_decoder_component: decoder_get_extension_index: OMX.google.android.index.storeMetaDataInBuffers not implemented!
01-02 04:34:16.229 9521 15596 E OMXNodeInstance: getExtensionIndex(43:hantro.decoder.avc, OMX.google.android.index.storeMetaDataInBuffers) ERROR: NotImplemented(0x80001006)
01-02 04:34:16.229 9521 15596 E ACodec : [OMX.hantro.video.decoder.avc] storeMetaDataInBuffers failed w/ err -2147483648
01-02 04:34:16.229 9521 15596 E omxil_G1_decoder_component: decoder_get_extension_index: OMX.google.android.index.describeColorFormat not implemented!
01-02 04:34:16.229 9521 15596 E omxil_G1_decoder_component: decoder_get_extension_index: OMX.google.android.index.describeColorFormat not implemented!
01-02 04:34:16.229 9521 15596 E omxil_G1_decoder_component: decoder_get_extension_index: OMX.google.android.index.describeColorFormat not implemented!
01-02 04:34:16.229 9521 15596 E omxil_G1_decoder_component: decoder_get_extension_index: OMX.google.android.index.describeColorFormat not implemented!
01-02 04:34:16.229 9521 15596 E ACodec : [OMX.hantro.video.decoder.avc] configureCodec returning error -2147483648
01-02 04:34:16.229 9521 15597 E OMXNodeInstance: setConfig(44:google.aac.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
Having applied this also i hope it will work : https://android.googlesource.com/platform/frameworks/native/+/0471d0a^!
lineage-13.0-20221217-UNOFFICIAL-p7_l10.zip might work but i wont know for a while.
Edit:
Nope, after adding some AAC related codecs to libstagefright and all the error persists, the solution is https://groups.google.com/g/android-x86/c/BgaWndOl70M/m/wAvhCOb5AwAJ but guess what, the commit is AWOL https://osdn.net/projects/android-x...mits/3c55a6971f909814691b8508487b89e41a357b72
Edit: After patching frameworks/av and frameworks/native i still have :
Code:
01-03 01:05:07.680 178 6115 E OMXNodeInstance: setConfig(4c:google.aac.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
01-03 01:05:07.681 178 6115 I ACodec : codec does not support config priority (err -2147483648)
01-03 01:05:07.696 178 6116 E omxil_G1_decoder_component: decoder_get_extension_index: OMX.google.android.index.storeANWBufferInMetadata not implemented!
01-03 01:05:07.696 178 6116 E omxil_G1_decoder_component: decoder_get_extension_index: OMX.google.android.index.storeMetaDataInBuffers not implemented!
01-03 01:05:07.696 178 6116 E OMXNodeInstance: getExtensionIndex(4d:hantro.decoder.avc, OMX.google.android.index.storeMetaDataInBuffers) ERROR: NotImplemented(0x80001006)
01-03 01:05:07.696 178 6116 E ACodec : [OMX.hantro.video.decoder.avc] storeMetaDataInBuffers failed w/ err -2147483648
01-03 01:05:07.696 178 6116 E omxil_G1_decoder_component: decoder_get_extension_index: OMX.google.android.index.describeColorFormat not implemented!
01-03 01:05:07.696 178 6116 E omxil_G1_decoder_component: decoder_get_extension_index: OMX.google.android.index.describeColorFormat2 not implemented!
01-03 01:05:07.696 178 6116 E omxil_G1_decoder_component: decoder_get_extension_index: OMX.google.android.index.describeColorFormat not implemented!
01-03 01:05:07.696 178 6116 E omxil_G1_decoder_component: decoder_get_extension_index: OMX.google.android.index.describeColorFormat2 not implemented!
01-03 01:05:07.696 178 6115 I MediaCodec: MediaCodec will operate in async mode
01-03 01:05:07.696 178 6116 E omxil_G1_decoder_component: decoder_get_extension_index: OMX.google.android.index.describeColorFormat not implemented!
01-03 01:05:07.696 178 6116 E omxil_G1_decoder_component: decoder_get_extension_index: OMX.google.android.index.describeColorFormat2 not implemented!
01-03 01:05:07.696 178 6116 E omxil_G1_decoder_component: decoder_get_extension_index: OMX.google.android.index.describeColorFormat not implemented!
01-03 01:05:07.697 178 6116 E omxil_G1_decoder_component: decoder_get_extension_index: OMX.google.android.index.describeColorFormat2 not implemented!
01-03 01:05:07.697 178 6116 E ACodec : [OMX.hantro.video.decoder.avc] configureCodec returning error -2147483648
01-03 01:05:07.767 178 6116 W OMXNodeInstance: [4e:google.h264.decoder] component does not support metadata mode; using fallback
01-03 01:05:07.767 178 6116 E ACodec : [OMX.google.h264.decoder] storeMetaDataInBuffers failed w/ err -1010
01-03 01:05:07.767 6039 6039 E ActivityThread: Failed to find provider info for com.google.android.gsf.gservices
01-03 01:05:07.767 178 6116 E ACodec : signalError(omxError 0x80000000, internalError -2147483648)
01-03 01:05:07.767 178 6116 W ACodec : Invalid OMX error 0x80000000
01-03 01:05:07.767 178 6113 E MediaCodec: Codec reported err 0x80000000, actionCode 0, while in state 3
01-03 01:05:07.788 178 6112 E NuPlayerDecoder: Failed to configure OMX.hantro.video.decoder.avc decoder (err=-2147483648)
I don't have a SIM to test with before i swap that. I won't have time to test this quite yet either, it's the first build after I reinstalled Debian so it should hopefully be ok: https://drive.google.com/drive/folders/1WWo1gyfQpegTpuw97ybx1ZXHsNDtWHLg?usp=share_link
I updated the first post with a bit more information on building, and the current status (VP9 and ChromeWebView ( which we don't get anymore ) handling that via stagefright that's missing something)
threader said:
I don't have a SIM to test with before i swap that. I won't have time to test this quite yet either, it's the first build after I reinstalled Debian so it should hopefully be ok: https://drive.google.com/drive/folders/1WWo1gyfQpegTpuw97ybx1ZXHsNDtWHLg?usp=share_link
I updated the first post with a bit more information on building, and the current status (VP9 and ChromeWebView ( which we don't get anymore ) handling that via stagefright that's missing something)
Click to expand...
Click to collapse
New version has still video playback prob. Not raning and camera,screen recorder not working
Thanks, I'll get around to testing during the day after I finish some other issues here and read the logs again, I'm pretty sure the biggest issue is the weird storage layout of this phone, it had major issues with open camera sometimes saving the picture, sometimes not, sometimes saying it did save the picture, then not having done so at all, I've never tested screen recorder either. I was investigating ways to patch libstagefright last time I tried this, but I'll try and make a version with the last officially supported chrome version at least so things go back to normal, but I can't recommend using Chrome at all then... I got some tips from Mr.GaoGao I will follow up on as I get back into gear here, it's been months since I did anything but mend myself.
h_h3o said:
New version has still video playback prob. Not raning and camera,screen recorder not working
Click to expand...
Click to collapse
threader said:
Thanks, I'll get around to testing during the day after I finish some other issues here and read the logs again, I'm pretty sure the biggest issue is the weird storage layout of this phone, it had major issues with open camera sometimes saving the picture, sometimes not, sometimes saying it did save the picture, then not having done so at all, I've never tested screen recorder either. I was investigating ways to patch libstagefright last time I tried this, but I'll try and make a version with the last officially supported chrome version at least so things go back to normal, but I can't recommend using Chrome at all then... I got some tips from Mr.GaoGao I will follow up on as I get back into gear here, it's been months since I did anything but mend myself.
Click to expand...
Click to collapse
Successful work. I hope to solve the problem of playing video clips as soon as possible
h_h3o said:
Successful work. I hope to solve the problem of playing video clips as soon as possible
Click to expand...
Click to collapse
I found something interesting digging trough libstagefright, before "everything" which turned out to only be the VP8 coded was moved to /frameworks/av/media/libstagefright/codecs/on2/enc/SoftVPXEncoder.cpp https://android.googlesource.com/pl.../328597a/media/libstagefright/codecs/on2/enc/ there existed SoftVP9Encoder.cpp
Also the version webview i included last, 100.0.4896.127 supports android 6 at least.
So,how to fix it?
Iv4n_1976 said:
So,how to fix it?
Click to expand...
Click to collapse
You can try the libstagefright libraries attached. I'm about to test them myself.
It's a bit early to tell, but I might just be starting to get the VP9 software encoder somewhat sorted, it might still have been a complete waste of time compared to getting los-14.1 running, the decoder seems to support VP9, so you can try to just add libstagefright_soft_vpxenc \ to build/target/product/core_base.mk. There is one one more error left to solve in the encoder and some cleaning up to do, I'm getting tired for the day so I'll leave some notes while i remember.
Code:
# to framework/native
git remote add https://android.googlesource.com/platform/frameworks/native/
# and import commit c193aee9fcb6bbf733dfb01dcb93fcaa481ae91e
#
# in build/target/product/core_base.mk add
libstagefright_soft_vpxdec \
libstagefright_soft_vpxenc \
# I dont think
libstagefright_soft_h264dec \
libstagefright_soft_h264enc \
# are necessary.
#
# Then apply the attached patch to add VP9 encoding and to see where I'm at and hopefully help out
Edit: I found the found some thing's wrong, missing patches found by kostyan since god knows when. and i see the lib/libcamera_core.so patches might be awol. So it'll probably get fixed now
Finally, it plays videos,i was ofc. I included VLC to do the actual video playing as the built in player doesn't like playing many modern compressed files anymore. People can also experiment with .VP9 videos and see how they fare, I haven't tested that yet.
lineage-13.0-20230515-UNOFFICIAL-p7_l10.zip: https://drive.google.com/file/d/1LQ3Gpc8cbF0PUyRPcVXcHl4QuBYSaGHv/view?usp=share_link