yashsingh1/xdaforums huggingface dataset:
[MeMO Pad 7 Original Android Development] lambdadroid:
As mentioned in https://github.com/me176c-dev/device_asus_me176c/issues/7, I had the issue that the accelerometer (which is used for device rotation) doesn't report any data after a restart. However, when I turned off the tablet, waited a few seconds and then turned it back on it worked fine. Can you try that?

I have added a custom quick settings tile as part of the ROM that can be used to toggle speaker and headphones. That's the recommended way to switch between them (or is that what you mean with "toggle from notifications")?

Not sure, I've never used that...

Netflix is blocked for rooted devices using SafetyNet so it's correct that it's not displayed in the Play Store. However, even if you'd manage to install it on the tablet it wouldn't work because the required DRM libs aren't included currently. That's another proprietary mess I need to add (but it's a bit complicated because the original libs are not always perfectly compatible with the new kernel version etc.)

Additionally, if a APK is reported to be incompatible it's possible that it includes native libraries only compiled for ARM. That's mostly because some developers ignore (or used to ignore, it's less frequently now) the x86 architecture because there are not too many devices using it. Intel's solution for that is a proprietary translation layer called Houdini, which is not yet included in the ROM.

Have you disabled touch sounds? I've noticed that these cause weird issues quite frequently. Not sure what's causing them.....

That's weird because there is no suspend at all currently (the tablet will stay on the whole time). It might be some kind of power saving feature. I will try to reproduce that.

Thanks :)
[MeMO Pad 7 Original Android Development] Ruben Craveiro:
I would problably use it as my main os, but not being able to install netflix is whats keeping me from staying here, i hope you can fix it, and the sound issues, if both features are fixed ill use it since i only use the tablet for music and netflix
[MeMO Pad 7 Original Android Development] lambdadroid:
Sure. I will put it on my list, but it requires a substantial amount of work due to the amount of proprietary libraries required to make it working. Could you clarify what issues with sound you have? I know that the touch sounds cause weird beep sounds and I know that there is some noise when switching from headphones back to the speaker. It works fine for me otherwise.
[MeMO Pad 7 Original Android Development] Ruben Craveiro:
On youtube app, when in headphone mode sometimes theres static sound but no actual sound, the app needs to be reopen multiple times for it to actually start playing, and the beep sound doesnt just happend to the "touch sounds", it seems to happend when the device gets hot/starts to trottle(i might be wrong but its what it seemed that was happening).

Edit: Any other issues i find, ill just post on your github
[MeMO Pad 7 Original Android Development] jerbear294:
I'll be flashing this when I get home. This will definitely be my daily driver once charging is tested a bit more and the battery drain is resolved.
[MeMO Pad 7 Original Android Development] Nexive:
Thank you so much for a custom rom for this device!

I also formatted data and cache partition to f2fs with your twrp build.

It's incredible fast and stable enough for my use (internet, xda'ing, facebook and youtube)

It's my daily driver for now on even with these little bugs. But I don't care if these bugs still appears, the most important things works and I'm very happy.

And in my opinion, the battery life is better and the device gets less hot then the asus rom

Thank you so much!! :)

ROM passes safetynet with magisk v13.1, magisk hide enabled and the universal safetynet fix v2 beta 4 from Deiki installed.

Little (cosmetic)"bugs that aren't reported yet:

- Used storage capacity is negative and comes closer to zero when you fill up the space.

- It also shows 7,43 GB of total space on a 16 GB variant.

- My external sd card gets a strange name in settings and on the system file manager.

View attachment 4207791
[MeMO Pad 7 Original Android Development] bryandroid98:
Thanks Dude for this custom rom!

I´ll try tomorrow and the 3D games works?

there is [Benchmarks] File System Performance: F2FS vs EXT4

https://xdaforums.com/showthread.php?t=2697069
[MeMO Pad 7 Original Android Development] Mystmuse:
Hi everyone. Will this ROM work with my ASUS Memo Pad 7 (Model: K013, Firmware: WW-3.1.23.158, Ru Version)? Thanks a lot!
[MeMO Pad 7 Original Android Development] bryandroid98:
If you are running Android Lollipop (5.0) and you have unlocked bootloader (and obviously have TWRP), You can!
[MeMO Pad 7 Original Android Development] lambdadroid:
As far as I can tell, charging is working fine. I've tried it again in the last days and it charged correctly, even quite quickly. I should note that I've only tested using the original ASUS AC adapter, though. Normally, charging should behave exactly the same as on the original ASUS system. (It's the same driver, just with a lot of cleanup) Unless someone else finds a problem I'll probably leave it as-is.

(At this point I should mention that ASUS charging driver is horrible, it's extremely messy and looks like it was stuffed together and never finished. There were over 2k lines of code which weren't doing anything (because they are never reached) and a lot of spammy debugging output that wasn't removed. I wouldn't be surprised if it breaks in some cases, but that is likely not my fault...)

I definitely need to work on the battery drain but the suspend procedure is quite complex on this tablet: Normal PCs usually save power by powering off all components, and only keeping the RAM alive in a low power states (suspend to RAM). That doesn't exist on Bay Trail tablets, instead there are so-called S0ix power states in which the CPU and other components enter a low-power state (but the network connection is kept alive for example). I have not been able to figure out how to make the tablet enter one of the S0ix power states. It seems like certain preconditions are required (e.g. display is powered off) but there is no clear documentation on this.... I will need to take a closer look when I'm back from vacation.

That's quite funny. It doesn't happen for me, but on the other hand it somehow shows a total storage of 29 GB for me... (It has only 16 GB) I'll look into this soon.

Edit: It seems like it is influenced by the external SD card. Does your external SD card have a size of 8 GB? When I removed it and rebooted it showed the correct internal storage. (My SD card is 32 GB so it previously showed something close to the size of my external SD card)

That's weird! It works for me. Is your external SD card formatted using FAT32? You may want to try to format the SD card directly on the tablet (make sure to backup the files first), looks a bit like some kind of encoding problem.

3D stuff should work (even with more OpenGL/Vulkan features supported) but my tests have shown slightly lower performance than on the original ASUS system.
[MeMO Pad 7 Original Android Development] Nexive:
Yes it was formatted as FAT32 and my external SD card is indeed 8GB. And like you said, I removed the card, rebooted my device and it shows the correct storage as long there is no SD card in the tablet.

This little bug is just ''cosmetic'' and is not that important so I don't care if it excist or not. This rom is already so much better for me than the asus rom so thanks again for this wonderful rom. :victory:

I also formatted my external SD card (on an other device because I got a timeout when I tried to format it on the me176cx) and got a normal name now for my external SD card.
[MeMO Pad 7 Original Android Development] bryandroid98:
Can I use Netflix on this rom?
[MeMO Pad 7 Original Android Development] Ruben Craveiro:
nope, tried that already
[MeMO Pad 7 Original Android Development] ona7:
I just install it (ME176CX), is working very nice thank you.
[MeMO Pad 7 Original Android Development] groovychap:
This is amazing. Thank you.
[MeMO Pad 7 Original Android Development] NahuelMS:
Is this going to get further development? It sounds very promising!

Thanks!
[MeMO Pad 7 Original Android Development] bryandroid98:
We need install before migration-signed.zip?
[MeMO Pad 7 Original Android Development] lambdadroid:
The migration ZIP was only needed when updating from the very first preview build (released in July). You don't need it anymore now.
[MeMO Pad 7 Original Android Development] renss78:
GPS & Screen rotation

Screen rotation and GPS not working anyone a clue?

Steps taken:

I formatted the complete tablet via TWRP and after that i flashed the latest zip file.. after that i installed PICO gapps.
[MeMO Pad 7 Original Android Development] lambdadroid:
GPS is not supported (and likely will never be, requires too many proprietary components). Screen rotation is sometimes broken after a reboot, try powering off your tablet, wait a few seconds, then power it back on.
[MeMO Pad 7 Original Android Development] renss78:
Okay, camera isnt working neither and if i connect the tablet on my pc i cannot see the internal drive is that correct.

thnx

---------- Post added at 09:03 PM ---------- Previous post was at 08:59 PM ----------

Screen rotate trick worked :good:
[MeMO Pad 7 Original Android Development] lambdadroid:
Camera and GPS are the two things that are not supported (and not planned). MTP (used to transfer files if you connect the tablet to the PC) is currently broken, but will be fixed at some point if I can figure out what's wrong. For now you can use adb to transfer files.
[MeMO Pad 7 Original Android Development] renss78:
Thnx for the quick reply
[MeMO Pad 7 Original Android Development] Nexive:
Flashed the new twrp build and did a clean flash with the new build.

Build is working fine and BlueBorne exploid is fixed. :)
[MeMO Pad 7 Original Android Development] pojeck:
Hi lambdroid

i did fastboot flash recovery twrp-recovery-3.1.1-20170810-UNOFFICIAL-me176c.img

and i install new version

i tested bluetooth and it's working with my galaxy s5, didnt test with my bluetooth speaker.

i tested filbox hemen application (like netflix) and it's worked. I really appricate for that :)

what is "Rootless Substratum theme engine supporrt" and "WiFi and Bluetooth tethering" i dont know :)

"Intel logo is no longer shown (together with full brightness) when powering off the tablet" > Tested and approved :)

I think battery performance issue is top priority now :)

thanks for your effort.
[MeMO Pad 7 Original Android Development] lambdadroid:
You can install Substratum from the Play Store to apply custom themes (e.g. dark UI). See http://www.projektsubstratum.com

WiFi and Bluetooth tethering is kind of useless on this device. You use tethering to share your Internet connection on the device with other devices. Since it doesn't have mobile data, you can only share the WiFi Internet connection over Bluetooth, or connect to another device using Bluetooth and share your Internet connection over WiFi. See https://en.wikipedia.org/wiki/Tethering
[MeMO Pad 7 Original Android Development] jerbear294:
I really have to thank you for this feature; since I mostly use my tablet at night I've been itching to get Swift Dark installed on it, and it doesn't work very well with Substratum Legacy.
[MeMO Pad 7 Original Android Development] Ruben Craveiro:
why dont you try to make twrp official? its simple, just send an email saying you have built one, give device and vendor trees, alongside with a working twrp.img and they respond shortly after (few hours or next day), you also need to mame a device markdown file and push it to gerrit.twrp.me (after they accept the twrp build)
[MeMO Pad 7 Original Android Development] lambdadroid:
I considered it but to be honest it would be a lot of work for me to separate the device trees. That's probably not worth it considering the device isn't massively popular anyway.
[MeMO Pad 7 Original Android Development] NahuelMS:
I am just crocing my fingers to somehow magically the heat problem ane drain get fixed and put this room on the tablet hahahahahah.
[MeMO Pad 7 Original Android Development] renss78:
Root

Maybe a stupid question. How can i get root access with this rom installed?

thnx
[MeMO Pad 7 Original Android Development] bryandroid98:
Just install Magisk v14.0 on TWRP
[MeMO Pad 7 Original Android Development] Nexive:
You can use Magisk v14 or suaddon x86 from lineage. You can find the suaddon on their download page under extra.

Just flash one of them with twrp. ;)
[MeMO Pad 7 Original Android Development] lambdadroid:
For some reason the setup wizard crashes each time I make a clean install of the last version with Google Apps installed. Can anyone reproduce that? I'm pretty sure I've tried that before releasing the ROM (and for several test builds before) so it's really weird that it started crashing now...
[MeMO Pad 7 Original Android Development] Nexive:
I also had this issue with the latest build.

It's a know problem with the recent lineage builds.

The crash doesn't appears if you flash the rom and reboot the device and flash gapps after a first boot
[MeMO Pad 7 Original Android Development] Ruben Craveiro:
i just reinstall gapps whenever i update/reinstall system, never crashes for me
[MeMO Pad 7 Original Android Development] lambdadroid:
Thanks, it seems like you're right. Now that I think about it, for testing I think I flashed the previous version first to see if the upgrade works correctly.

I could imagine that it's related to https://jira.lineageos.org/browse/REGRESSION-1138 except that it crashes each time because the tablet doesn't have a SIM card. I don't have time right now to update the ROM so either your workaround or flashing the old build first should do the trick for now.
[MeMO Pad 7 Original Android Development] pojeck:
Hi lambdadroid

is it possible to describe reverse system to lolipop?

I want to test battery status and game performance in original rom.

What is the best way install original rom?

Thanks for all...
[MeMO Pad 7 Original Android Development] bryandroid98:
Any update?
[MeMO Pad 7 Original Android Development] pojeck:
Hi Again

I tried to reverse system to lollipop but didnt success :(

When i restart the system it's waiting under asus logo with loading icon :(
[MeMO Pad 7 Original Android Development] bryandroid98:
So you got a bootloop.

What ROM did you install?
[MeMO Pad 7 Original Android Development] lambdadroid:
Basically yes, but it's a bit tricky. I'm not sure if you can install it with my updated version of TWRP. You may want to try either the old TWRP version from the unlocked bootloader thread or the temp recovery session from https://xdaforums.com/android/development/intel-android-devices-root-temp-cwm-t2975096.

The full lollipop package is available for download at http://dlcdnet.asus.com/pub/ASUS/EeePAD/ME176C/UL-K013-WW-12.10.1.36-user.zip.

Update for what?
[MeMO Pad 7 Original Android Development] Ruben Craveiro:
just wondering but how did you enable n2fs support on twrp?
[MeMO Pad 7 Original Android Development] bryandroid98:
If i want to rollback to lollipop.

Only i need install the recovery from: https://xdaforums.com/memo-pad-7/general/asus-me176c-cx-unlock-bootloader-t3315603 and this recovery can i install with this command "fastboot flash recovery recovery.img"?

Thanks in advance.
[MeMO Pad 7 Original Android Development] pojeck:
Hi Again.

After one fail original rom install operation i go back and as you told me i installed older version twrp and older version custom lineage rom.

Today i download IntelAndroid-FBRL-07-24-2015 and used that. Yesterday i used IntelAndroid-FBRL-05-16-2015-PTR and installed original rom.

I think that was the problem.

Now Lollipop is working well :)

Thanks for your support again.
[MeMO Pad 7 Original Android Development] lambdadroid:
Not specifically. If I need to enable something manually I've probably not done it.

Maybe [MENTION=8529099]pojeck[/MENTION] can help you. I'm not sure if it works with that recovery. It should definitely work with the temp recovery session from https://xdaforums.com/android/development/intel-android-devices-root-temp-cwm-t2975096, though.
[MeMO Pad 7 Original Android Development] pojeck:
Hi bryandroid

i used IntelAndroid-FBRL-07-24-2015 this version and installed UL-K013-WW-12.10.1.36-user.zip

But i think you need to change your updater-script file.

You need to delete these rows

getprop("ro.product.device") == "K013" || abort("This package is for "K013" devices; this is a "" + getprop("ro.product.device") + "".");

show_progress(0.750000, 0);

an Also you can find some some photos. When i install original rom with temp recovery
[MeMO Pad 7 Original Android Development] bryandroid98:
Really I need install IntelAndroid-FBRL-07-24-2015 on this LOS 14.1 ROM?

And sorry for the question but what is the updater-script?
[MeMO Pad 7 Original Android Development] pojeck:
Hi

I'm talking about original ROM

if you want to reverse your system to lollipop you can use IntelAndroid-FBRL-07-24-2015

and for original rom you need to use UL-K013-WW-12.10.1.36-user.zip from ASUS Site.

But

when you install original rom you are getting some error message and install operation is aborting.

for these you need to delete 2 rows in updater script file, you can edit this file in UL-K013-WW-12.10.1.36-user.zip.

getprop("ro.product.device") == "K013" || abort("This package is for "K013" devices; this is a "" + getprop("ro.product.device") + "".");

show_progress(0.750000, 0);

After these steps you can use the original rom.
[MeMO Pad 7 Original Android Development] bryandroid98:
Ok thanks, i got it.
[MeMO Pad 7 Original Android Development] lambdadroid:
Did anyone get Device Certification working in the Play Store with Magisk or something? The ROM doesn't come with root by default so that can't be the reason....
[MeMO Pad 7 Original Android Development] Nexive:
Basicintegrity is true but ctsprofile is false for me.

Safetynet fix module for magisk gives both false.
[MeMO Pad 7 Original Android Development] lambdadroid:
LineageOS 14.1 (2017-10-07) now available

Improvements

Security patch level: October 5, 2017

Dependency updates: LineageOS, Linux (4.9.50 -> 4.9.53), Mesa (17.1.9 -> 17.2.2), Chrome OS [Houdini and Widevine blobs] (9460.73.0 -> 9592.96.0)

Fixes

Setup wizard no longer crashes when doing a clean installation with Google Apps.

Download

Installable ZIP: lineage-14.1-20171007-UNOFFICIAL-me176c-signed.zip
[MeMO Pad 7 Original Android Development] jerbear294:
Would it be possible to get signature faking support in the ROM? There are some security risks doing this, but it would mean that applications like MicroG would work out of the box. I believe sultanxda's LOS builds have it as well.
[MeMO Pad 7 Original Android Development] lambdadroid:
Sure, if you add an issue for it on GitHub I'll give it a try for the next version. Note that the next version is not likely to come before November, but I hope this is not a problem for you. :)
[MeMO Pad 7 Original Android Development] jerbear294:
That isn't a problem at all; I'll go ahead and open the issue.
[MeMO Pad 7 Original Android Development] Nexive:
No hurry for a fast update. ;)

But I've found a bug. On some websites videos are playing in green. I will make a logcat if you need one.
[MeMO Pad 7 Original Android Development] lambdadroid:
Uh, these issues are almost impossible to debug because the hardware accelerated video codec is a proprietary component and I have no access to the source code. You can try uploading the logcat, but it's very likely that I won't be able to do anything against it. You may need to disable the hardware accelerated codec if it causes a lot of problems for you.
[MeMO Pad 7 Original Android Development] bryandroid98:
And why do you haven't access?
[MeMO Pad 7 Original Android Development] jerbear294:
Because it's closed source. There is no access to the source code without reverse engineering, which is a difficult, time consuming, and risky (legally speaking) task.
[MeMO Pad 7 Original Android Development] lambdadroid:
[MENTION=5479482]jerbear294[/MENTION] is right. The annoying thing here is that Intel has (kind of) promised to release the source code at some point, however, there hasn't been any activity for months. All by comments/bug reports have also been ignored. Ideally, I'd like to replace this mess with an open-source solution, but I'm not aware of any open-source codec implementation that works properly. Initially, I tried implementing it using a codec based on FFMPEG, but that codec was not even working reliably for YouTube...

More or less, our only hope here is that Intel will release the source code at some point. When they do that, I can at least try to investigate the problems...
[MeMO Pad 7 Original Android Development] lambdadroid:
I will try to release a non-scheduled update within the next few days to fix the KRACK vulnerability. If I can get it working, it will also include signature faking support as suggested by [MENTION=5479482]jerbear294[/MENTION].
[MeMO Pad 7 Original Android Development] Nexive:
Nice and fast work! Thanks! :good:

Here is my logcat for the issue with the green video playback.

https://www.dropbox.com/s/srd0xwp8uhrv978/logcat.txt?dl=0
[MeMO Pad 7 Original Android Development] lambdadroid:
LineageOS 14.1 (2017-10-19) now available

Fixes

Fixed KRACK vulnerability

New features

Added signature spoofing permission support (for MicroG)

Improvements

Dependency updates: LineageOS, Linux (4.9.53 -> 4.9.57), Mesa (17.2.2 -> 17.2.3)

Download

Installable ZIP: lineage-14.1-20171019-UNOFFICIAL-me176c-signed.zip
[MeMO Pad 7 Original Android Development] lambdadroid:
[MENTION=5479482]jerbear294[/MENTION] Thanks for the suggestion to add signature spoofing support to the ROM.

I've been considering giving MicroG a try for a while, but never did it because I was assuming it would break a lot of apps. I was surprised when I installed it, it's working really well! To be fair, I don't use many apps on this tablet, just a browser (Chrome/Firefox), YouTube and a few small games but everything is working as expected using MicroG.

Funnily enough, the Play Store seems to ignore the device certification (SafetyNet) checks when it's disabled in the MicroG settings. I was able to install Netflix normally from the Play Store. I no longer have to update the APK manually. :)

I'll see how it works as a daily driver, but so far everything is working as expected. Even apps I bought (e.g. Monument Valley) are working without any problems. :)
[MeMO Pad 7 Original Android Development] jerbear294:
Yeah, it's quite impressive and I've been pleasantly surprised by it for a while. I haven't installed it on my Nexus 5X yet because I needed Google Hangouts working, but there's now a workaround for that, so I'll give it another shot on my phone when PureNexus on Oreo is released.

While we're at it, have you given NewPipe a shot? It's an open source, very lightweight YouTube app with basic subscription and playlist support. I've used it for quite a bit and it's fantastic for my use case.
[MeMO Pad 7 Original Android Development] Ruben Craveiro:
im stuck on attempting to build using your device tree, vendor and kernel, i cant seem to make the device show up on lunch menu... i dont know what to do, help?

Edit: Got it working, added some files, made it look on some repos in my github and it detects now, building currently