[ROM][Unofficial][AOSP] Android 7.1.2 Nougat - Galaxy Tab 10.1 Android Development

Android Open Source Project 7.1
Nougat
for
Samsung Galaxy Tab 10.1
(p4wifi / GT-P7510)
(p4 / GT-P7500)
(p4tmo / SGH-T859)
​
Customizations:
busybox
init.d scripts
stagefright ffmpeg codecs
Kernel features:
CPU overclock (1.2Ghz - 1.6Ghz)
CPU voltage control
CPU temperature readings
GPU overclock (400Mhz)
L2 cache optimization
F2FS
SELinux
Voodoo Sound
USB Charging
Updated WIFI driver
ZRAM backports
sdcardfs
Working:
Video
Audio
Wifi
3G / Cellular
- Insert a sim card before power on
GPS
Bluetooth
- Audio playback: working
- File transfer: working
Sensors
Encryption
Not working / Known issues:
Camera
- Photos: Working, flash not working
- Video recording: 720p not working
Incompatible/unsupported apps:
Many app developers do not support this device anymore. For these apps you have three options:
Use previous versions of the app which were compatible with this device.
(APKMirror.com hosts many previous versions of apps.)
Try the incompatible app anyways. It may run under NEON emulation. Emulation is very slow. The ideal way is to use previous versions of the app which are compatible with this device.
Contact the app developer and ask them to maintain support for Tegra 2 devices.
Installation:
Backup all data
Install TWRP 3.0
Wipe cache, dalvik cache, system, data
Install the ROM
Optional steps:
- Install gapps pico
- Install phh Superuser
Boot the ROM
Enable on screen keyboard by toggling "Show input method"
Installation issues:
- If it freezes when installing the ROM then use TWRP 2.8.7.0.​
Downloads:
Download Page
TWRP
TWRP 3.0​
GApps
for Android 7.1 - 7.1.1
- P7500-open_gapps-arm-7.1-pico-20170119.zip
for Android 7.1.2
- P7500-open_gapps-arm-7.1-pico-20170416.zip
​
Root methods:
Magisk
https://forum.xda-developers.com/apps/magisk​phh's SuperUser
1. https://superuser.phh.me/superuser.zip
2. phh's SuperUser​CCMT SuperSU
http://forum.xda-developers.com/apps/supersu​
Change log:
Code:
20171005
- NEON emulation fixes
- Revert to stock sqlite
20170914
- BlueBorne patches
- System WebView 61.0.3163.81
20170807
- Update to android-7.1.2_r28
- System WebView 60.0.3112.78
- Update to sqlite 3.19.0
20170506
- Update to android-7.1.2_r8
- System WebView 58.0.3029.83
- NEON emulation speed improvements
20170422
- Optimize hwui properties
- Limit dex2oat threads
- Fix NEON emulation bug
- System WebView 57.0.2987.132
- Add back Browser app
20170415
- Update to android-7.1.2_r2
- Fix SystemUpdateService wakelock
- Disable search bar option for Launcher3
- Better GPS locking
20170320
- NEON emulation
20170307
- Update to android-7.1.1_r24
- Substratum theme engine
- Signature Spoofing
- kernel fixes
20170214
- Update to android-7.1.1_r15
- Update system webview to 56.0
20170118
- Update to android-7.1.1_r12
- Fix hwcomposer
- Update sqlite
- Remove Music app / Add Apollo app
- Widevine support
20161229
- Add WallpaperPicker app
- Fix glitchy wallpapers
- Enable productivity mode for file browser
- Enable lightweight doze
- Update F2FS
Donate:
via Paypal​
XDA:DevDB Information
Android 7.1.2 Nougat, ROM for the Samsung Galaxy Tab 10.1
Contributors
decatf
Source Code: https://github.com/decatf
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.1.x
Based On: AOSP
Version Information
Status: Alpha
Created 2016-09-30
Last Updated 2017-10-05

Nougat Tips:
Enable USB file transfer:
Built-in file manager:
Settings > Storage > Explore
SystemUI Tuner / Navigation Bar Tuner:
Pull down notification shade
Long press settings gear
Split screen:
Long press Overview button
Switch to last app:
Double tap Overview button
Stock Browser app crash when downloading files
- Settings > Apps > Browser > Permissions > Enable Storage permission​
Chromium browser for Tegra 2 devices
Chromium 56.0​Last known non-NEON versions of Google apps:
Chrome 49.0
Gboard 6.0.69
Maps 9.44
Google Play services 10.0.84
Google Play services 10.5.42 beta
When using previous versions of apps, disable auto updates:
​

Error reporting guide:
Saying "it doesn't work" is not helpful. I cannot see what your problem is from here.
Save and upload the system logs from your device so that I can see what happening on your device.
How to save system logs:
Root the device.
Install SysLog.
Reboot the system.
Reproduce the problem.
Open Syslog app and save the Kernel Log and Main Log.
Send me the log files stored in /sdcard/Syslog.
Share the files on Google Drive or another similar service.
Then PM me a link to the files. Please describe exactly what the issue is.

Downloading and testing, thanks @ decatf

P4 version,
1. Sim not detect so 3G / Cellular not work..
2. baseband not show..
3. phh's SuperUser not install

Hi decatf,
first of all *thanks a lot* for bringing Android 7 to our device, this is brilliant! Quick question: any specific reason that you suggest phh's SuperUser instead of Chainfires SuperSU?
Kind regards,
mistersixt.

Ok, looks pretty promising already, the steps I did:
- Ran Titanium Backup for all user apps
- Rebooted into TWRP 3.0.0.0
- Full wipe
- Installed aosp-7.0-p4-20160929.zip
- Installed todays OpenGapps (pico)
- Installed phh's SuperSu
- Reboot
- TitaniumBackup first did not get root access
- Installed phh's App from Play Store
- Reboot
- Titanium Backup does get root access now
So far it feels smooth, no errors or force closes... I am pretty impressed . I will test the SIM card this evening as I don't have a spare one with me right now.
Thanks again decatf!!!!
Kind regards, mistersixt.

Good
Sent from my Alps U685Q using XDA Labs
---------- Post added at 10:04 AM ---------- Previous post was at 09:56 AM ----------
Oh, so fast
Sent from my Alps U685Q using XDA Labs

Ok, first small issue: I cannot get AdAway adjusting the hosts file, when trying to flash the AdAway systemless package in recovery it fails with error 4 or something (although I don't know whether the systemless is necessary here), and when running the AdAway App itself it fails with:
Code:
...
09-30 11:21:15.916 2081 2081 E linker : normalize_path - invalid input: "null", the input path should be absolute
09-30 11:21:15.916 2081 2081 W linker : Warning: unable to normalize "null"
09-30 11:21:15.917 2079 2079 D su : sending code
09-30 11:21:15.950 2083 2083 E linker : normalize_path - invalid input: "null", the input path should be absolute
09-30 11:21:15.950 2083 2083 W linker : Warning: unable to normalize "null"
09-30 11:21:16.014 2082 2082 D su : child exited
09-30 11:21:16.017 2083 2083 D su : client exited 0
09-30 11:21:16.036 2081 2081 D su : starting daemon client 10079 10079
09-30 11:21:16.067 2086 2086 E linker : normalize_path - invalid input: "null", the input path should be absolute
09-30 11:21:16.067 2086 2086 W linker : Warning: unable to normalize "null"
09-30 11:21:16.130 2086 2086 D su : connecting client 2080
09-30 11:21:16.171 2005 2005 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
09-30 11:21:16.173 2087 2087 D su : remote pid: 2080
09-30 11:21:16.222 2089 2089 D su : remote pts_slave:
09-30 11:21:16.276 2090 2090 D su : remote uid: 10079
09-30 11:21:16.336 2091 2091 D su : remote req pid: 1420
09-30 11:21:16.399 2092 2092 D su : remote args: 1
09-30 11:21:16.466 2096 2096 D su : su invoked.
09-30 11:21:16.486 2094 2094 D su : waiting for child exit
09-30 11:21:16.503 2097 2097 W su : hacks: Testing (com.keramidas.TitaniumBackup:0:10064)
09-30 11:21:16.552 2098 2098 D su : db allowed
09-30 11:21:16.617 2099 2099 W su : hacks: Testing (com.keramidas.TitaniumBackup:10079), 44451
09-30 11:21:16.652 2039 2039 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
09-30 11:21:16.658 2039 2039 D AndroidRuntime: CheckJNI is OFF
09-30 11:21:16.709 2101 2101 D su : 10079 /sbin/su executing 0 /system/bin/sh using binary /system/bin/sh : sh
09-30 11:21:16.839 2039 2039 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
09-30 11:21:16.911 2039 2039 W art : Failed to stat, will retry: /data/dalvik-cache/arm/[email protected]@[email protected]: No such file or directory
09-30 11:21:16.977 2005 2005 E memtrack: Couldn't load memtrack module (No such file or directory)
09-30 11:21:16.977 2005 2005 E android.os.Debug: failed to load memtrack module: -2
09-30 11:21:16.979 2005 2005 I Radio-JNI: register_android_hardware_Radio DONE
09-30 11:21:17.007 2039 2039 E memtrack: Couldn't load memtrack module (No such file or directory)
09-30 11:21:17.007 2039 2039 E android.os.Debug: failed to load memtrack module: -2
09-30 11:21:17.010 2039 2039 I Radio-JNI: register_android_hardware_Radio DONE
09-30 11:21:17.013 1420 1774 E AdAway : Exception:
09-30 11:21:17.013 1420 1774 E AdAway : org.adaway.util.CommandException
09-30 11:21:17.013 1420 1774 E AdAway : at org.adaway.util.ApplyUtils.copyHostsFile(ApplyUtils.java:186)
09-30 11:21:17.013 1420 1774 E AdAway : at org.adaway.service.ApplyService.apply(ApplyService.java:427)
09-30 11:21:17.013 1420 1774 E AdAway : at org.adaway.service.ApplyService.doWakefulWork(ApplyService.java:102)
09-30 11:21:17.013 1420 1774 E AdAway : at com.commonsware.cwac.wakeful.WakefulIntentService.onHandleIntent(WakefulIntentService.java:100)
09-30 11:21:17.013 1420 1774 E AdAway : at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:67)
09-30 11:21:17.013 1420 1774 E AdAway : at android.os.Handler.dispatchMessage(Handler.java:102)
09-30 11:21:17.013 1420 1774 E AdAway : at android.os.Looper.loop(Looper.java:154)
09-30 11:21:17.013 1420 1774 E AdAway : at android.os.HandlerThread.run(HandlerThread.java:61)
09-30 11:21:17.095 2117 2117 D su : sending code
09-30 11:21:17.105 2119 2119 E linker : normalize_path - invalid input: "null", the input path should be absolute
09-30 11:21:17.105 2119 2119 W linker : Warning: unable to normalize "null"
09-30 11:21:17.121 2119 2119 D su : client exited 0
09-30 11:21:17.134 2118 2118 D su : child exited
Regards, mistersixt

I can't download it
Sent from my Alps U685Q using XDA Labs

mistersixt said:
Hi decatf,
first of all *thanks a lot* for bringing Android 7 to our device, this is brilliant! Quick question: any specific reason that you suggest phh's SuperUser instead of Chainfires SuperSU?
Kind regards,
mistersixt.
Click to expand...
Click to collapse
SuperSU doesn't work anymore on this device. Chainfire sold it to CCMT. Some shadowy mysterious group. So who knows what kind of support it will receive from here on out.
phh Superuser works. It seems that some apps can't detect it right. It's the only option that works right now.
To use Adaway you need to mount /system as read/write.
Code:
mount -o rw,remount /system
Install hosts file.
Set /system back to read-only.
Code:
mount -o ro,remount /system

decatf said:
To use Adaway you need to mount /system as read/write.
Code:
mount -o rw,remount /system
Install hosts file.
[/CODE]
Click to expand...
Click to collapse
Thanks a lot, that did the trick.
One more thing: I cannot overclock the CPU, although Kernel Adiutor is showing a max frequency of 1400 Mhz for example the CPU is stuck with a max frequency of 1000 Mhz, and here and there I see messages like:
Code:
E P3 PowerHAL: Error opening /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: Permission denied
.
Regards, mistersixt.

mistersixt said:
Thanks a lot, that did the trick.
One more thing: I cannot overclock the CPU, although Kernel Adiutor is showing a max frequency of 1400 Mhz for example the CPU is stuck with a max frequency of 1000 Mhz, and here and there I see messages like:
Code:
E P3 PowerHAL: Error opening /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: Permission denied
.
Regards, mistersixt.
Click to expand...
Click to collapse
It works for me.
Kernel Adiutor sets the permissons on that to read-only for some reason. The default in Android is r/w (0660). So it ends up preventing everything else from using that sysfs file unless they also change the permissions before writing it. This breaks the default behavior. Kind of strange.
Code:
# logcat -s "Control"
09-30 11:25:43.201 2965 3172 I Control : chmod 644 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
09-30 11:25:43.206 2965 3174 I Control : echo '1400000' > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
09-30 11:25:43.252 2965 3175 I Control : chmod 444 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
09-30 11:25:43.285 2965 3177 I Control : chmod 644 /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
09-30 11:25:43.289 2965 3179 I Control : echo '1400000' > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
09-30 11:25:43.320 2965 3180 I Control : chmod 444 /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
09-30 11:25:43.328 2965 3182 I Control : saved /sys/devices/system/cpu/cpu%d/cpufreq/scaling_max_freq0

Hello,decatf.Can you send me some apps supported AndroidN[emoji12]
通过我的 GT-P7510 上的 Tapatalk发言

Cellular ain't working, cannot detect SIM card. Still testing the ROM, props to the dev! Also found white-on-white text.

For p4wifi I use the arm 7.0 Gapps?

So good,not any bugs
Sent from my Redmi 3S using XDA-Developers mobile app

Where can I find the latest twrp?

bmakk2055 said:
Where can I find the latest twrp?
Click to expand...
Click to collapse
Here you go
http://forum.xda-developers.com/devdb/project/?id=12880#downloads
Enviado desde mi XT1524 mediante Tapatalk

Sometimes it freezes when the device is locked... :/ but the performance and everything else is great

Related

[ROM][5.1.1][T710][UNOFFICIAL] CyanogenMod 12.1 for Tab S2 8.0 [BETA]

{
"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.

[LG L FINO] TWEAKS Klean & Speed

►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

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/

Custom Kernel Broken Clipboard

@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

[ROM][6.0.1][UNOFFICIAL]LineageOS 13.0 for Huawei Ascend P6S-U06 & P7-L10 - Continued

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

Categories

Resources