yashsingh1/xdaforums huggingface dataset:
[MeMO Pad 7 Original Android Development] fblihakan81:
hello to bad english i'm sorry i'm writing with google translation I'm writing an old tablet re-life is so great success thanks only the camera is not working and usb otg is able to run
[MeMO Pad 7 Original Android Development] dirkp1:
Thank you for your great work.

First flash the new bootloader, works.

Next the new TWRP, not work instead boot to the recovery it view the INTEL logo only. Back to the older recovery and flash the lineage-16.0-20190417-UNOFFICIAL-me176c.zip. works without any problem.
[MeMO Pad 7 Original Android Development] lambdadroid:
If you see the INTEL logo while booting, you are still on the old bootloader. me176c-boot displays the (green) Android robot.
[MeMO Pad 7 Original Android Development] dirkp1:
Thanks, after flash again it's work. But some problems, the sound often breaks off. Via bluetooth or speaker. The WLAN is down after the tablet wake up. Only a restart help.
[MeMO Pad 7 Original Android Development] lambdadroid:
Please provide the log shortly after it happens. See https://wiki.lineageos.org/logcat.html
[MeMO Pad 7 Original Android Development] dirkp1:
The lineage-16.0-20190424-UNOFFICIAL-me176c.zip seems be work better.

But two issues, Magisk doesn't add any module, error. Flash the beta, work.

Sound works better, but: Bluetooth on, WLAN off and after restart with Blutooth on, works.

But very good work
[MeMO Pad 7 Original Android Development] pava1984:
Thanks for your work. I'm on 14.1 now. Do I need to update boot & recovery before flashing?
[MeMO Pad 7 Original Android Development] lambdadroid:
Yes.

Note: At this point I'd suggest waiting a few more days for the real release. You might be able to upgrade from 14.1 to the release 16.0 build, but not from the 16.0 test builds (without factory reset).
[MeMO Pad 7 Original Android Development] homopetteri:
Does anyone have the flash.json -file to debrick the phone with intel platform flash tool lite?

I managed to brick my device and now trying to flash the original files with intel platform flash tool.. However I do not have the flash.json -file and I use linux, not windows. Is there a possibility to make installable file which can debrick the memopad with unlocked bootloader and this rom -- or does anyone have the flash.json -files so I can debrick it with original firmware?

Pls check out this thread about unbricking: https://xdaforums.com/memo-pad-7/general/howto-unbrick-hardbricked-memo-pad-t3105945/page6
[MeMO Pad 7 Original Android Development] lambdadroid:
In most cases you should be able to fix problems with the bootloader using "DnX Mode" (press Volume Up+Volume Down while turning the tablet on). Then you can follow the troubleshooting instructions at https://github.com/me176c-dev/me176c-boot#troubleshooting

I've personally never needed the Intel flash tool, and I think it mostly just uses fastboot at the end... I think there is a Linux version at https://web.archive.org/web/20190116211553/https://01.org/node/2463, but I don't have such a flash.json file nor do I know how to use it because I have never needed it.
[MeMO Pad 7 Original Android Development] homopetteri:
I only see usb logo, cannot get into the bootloader at all. However, the Phone Flash Tool Lite recognizes the device. But without the flash.json I cannot flash. I reckon it's some kind of instruction of the files what and where to flash them or something like that.

Btw, thank you for the link, but it points out to wrong software. I already have that.
[MeMO Pad 7 Original Android Development] lambdadroid:
DnX Mode is part of the firmware, and runs long before the bootloader, at least if you were on UEFI (Android 5.0/Lollipop). I don't think I have ever seen a screen with an USB logo. But yeah, can't help you with instructions or that file.
[MeMO Pad 7 Original Android Development] homopetteri:
The file can apparently be made with this program: androiddatahost.com/dfd44 .. alas, It doesn't work under wine,

Update: https://android.googlesource.com/device/intel/edison/+/brillo-m7-dev/flash_tools/FlashEdison.json <-- this is what it's supposed to look like.
[MeMO Pad 7 Original Android Development] moranop:
Hi, first of all I would like to thanks all of you for this great work. I have a little problem.

I have one ASUS K013 Memopad ME 176 and after I installed the unlocked bootloader esp-0.3.0.zip I shut down the tablet and when I power on again I see a bios like an intel motherboard and I see a mouse pointer and I can move with the volume keys but nothing else. If I power down and power on again it show me the same.

What can I do? I broke the bootloader?

Thanks again!
[MeMO Pad 7 Original Android Development] moranop:
Solved, I realized I had made a mistake. Thanks!!!
[MeMO Pad 7 Original Android Development] lambdadroid:
LineageOS 16.0 (2019-05-12)

This build is a major update to LineageOS 16.0 (based on Android 9 Pie) and contains several weeks of work with significant cleanup and other major changes.

Major changes

Based on LineageOS 16.0 (Android 9 Pie)

Use Android Go build configuration to optimize for low RAM (More information)

Hardware accelerated video codecs are now open-source

The remaining proprietary components are no longer included by default and must be flashed manually if needed: (More information)

Widevine DRM (used in certain streaming apps like Netflix)

Houdini (used to run ARM apps on x86)

CPU microcode update

New installation instructions

LineageOS 16.0 requires me176c-bootstrap 0.3.0, included in me176c-boot 0.3.0.

The old ("Intel") bootloader is no longer supported.

There are many new "addons" that can be flashed for full functionality.

Please check the new installation instructions on the LineageOS 16.0 thread before installing this update.

Upgrading

Upgrading from LineageOS 14.1 may work but is untested (and largely unsupported)

Upgrading from LineageOS 16.0 test builds is not possible!

Do a factory reset before installing the new build.

Improvements

Use MAC address from stock ROM for both WiFi and Bluetooth

Put Bluetooth in low power mode while not actively in use (#37)

Fixes

Android security patch level: May 5, 2019

MTP (#33)

Green artifacts on video thumbnails in Gallery (#51)

Headset / headphones microphone detection (#19)

Other changes

Updates: Linux (4.14.72 -> 4.19.42), Mesa (18.2.1 -> 19.0.4), MediaSDK (2018 Q2.2 -> 2019 Q1), …

Download

Please head to the new LineageOS 16.0 thread for installation instructions and download links. If you have any questions, feedback or suggestions, please comment on the new thread.
[MeMO Pad 7 Original Android Development] nico_7t:
what toolchain

what toolchain you use to compile the kernel of lineage os 14 and 16 ,ndk? version ? please
[MeMO Pad 7 Original Android Development] lambdadroid:
Any recent version of GCC should work fine. I personally simply use the gcc from the Arch Linux package.
[MeMO Pad 7 Original Android Development] lambdadroid:
No longer updated

LineageOS 14.1 has been abandoned for quite some time now since it was replaced by the LineageOS 16.0 port. Time to close this thread.
[MeMO Pad 7 Original Android Development] Ruben Craveiro:
Deleted Nevermind this post
[MeMO Pad 7 Original Android Development] lambdadroid:
Yep, unfortunately this is a regression from the preview version, I broke it with some other changes recently. [MENTION=5479482]jerbear294[/MENTION] already reported it on GitHub and I will try to get it fixed ASAP....

I will look into this, thanks (never tested MTP, I usually just use adb pull and adb push to transfer files :D)

Like for all LineageOS builds, the recommended way is to flash "addonsu" which can be downloaded from https://download.lineageos.org/extras (choose the x86 variant).
[MeMO Pad 7 Original Android Development] lambdadroid:
OK, so I spent a few hours attempting to find the cause for the MTP problems but I'm not sure what's wrong. It seems like it has some kind of communication problem which is why file listing works (at least for me). I believe the issue could be in the USB driver of the Linux kernel and there are some indications that this might have been fixed in a newer kernel version. However, there have been quite a lot of patches to the USB driver lately so backporting all of them would take way too much time. I suggest that we postpone this until we can upgrade the Linux kernel to a newer version (and that depends on when Google starts supporting a new kernel version). I've opened https://github.com/me176c-dev/device_asus_me176c/issues/33 so we don't forget. :)

Until then I suggest that you use adb for transferring files (or just the SD card and then the file browser on the device), which are both working perfectly. MTP is a really stupid protocol with tons of bugs and problems so the actual cause of the issue could be anything...
[MeMO Pad 7 Original Android Development] jerbear294:
I'd second this, adb is much faster than MTP at any rate regardless.
[MeMO Pad 7 Original Android Development] bryandroid98:
How can I install the TWRP recovery build with F2FS support?
[MeMO Pad 7 Original Android Development] lambdadroid:
My recommended way would be to use fastboot. Press volume down when booting the device (just like when entering recovery mode) but then press volume up to enter fastboot mode. Then connect the tablet to the PC and use "fastboot flash recovery twrp-recovery-3.1.1-20170810-UNOFFICIAL-me176c.img" to flash it.
[MeMO Pad 7 Original Android Development] NahuelMS:
I think MTP in this days is not a priority for anyone, you can transfer things wireless using apps like WiFi-Explorer at a decent speed. Also, if you later manage to get OTG working (also not a priority i thing) it is much faster than MPT.
[MeMO Pad 7 Original Android Development] lambdadroid:
LineageOS 14.1 (2017-08-12) now available

Upgrade notes

Original ASUS system: Make sure you do a full factory reset before installing LineageOS 14.1.

LineageOS 14.1 (2017-08-10): You can flash the update normally.

PREVIEW LineageOS build (released in July): You must either flash lineage-lambdadroid-migration-signed.zip before flashing the update or do a factory reset.

New features

Added support for ASUS smart cover: Tablet will go to sleep when closing the cover and wake up when opening it.

Added SmartCover app: Allows to disable smart cover functionality using a quick setting tile (similar to the rotation lock). Has to be manually added to the quick settings bar.

Fixes

Display backlight turns off again when sending the tablet to sleep mode.

Improvements

Kernel update (4.9.41 -> 4.9.42)

Download

Installable ZIP: lineage-14.1-20170812-UNOFFICIAL-me176c-signed.zip
[MeMO Pad 7 Original Android Development] bryandroid98:
Wow!, you're working so hard, thanks.
[MeMO Pad 7 Original Android Development] kurtulus145:
The system freezes because of the bootloader. I have to restart it. Can we find a solution to this?
[MeMO Pad 7 Original Android Development] bryandroid98:
I just installed the rom but the WiFi disconnect every minute and doesn't connect automatically .
[MeMO Pad 7 Original Android Development] lambdadroid:
Please try to be more specific. When exactly does your system freeze?

I noticed the WiFi doesn't reconnect sometimes, but I cannot reproduce the WiFi disconnects. Without a way to reproduce I don't know how to search for the cause of the issue, especially because the log doesn't mention anything about the cause.
[MeMO Pad 7 Original Android Development] Nexive:
Wow that's fast. Thanks for the fix and adding the smart cover feature. Very handy. :)

The wifi diconnection bug is indeed very strange. I had a few diconnections yesterday and today none yet.
[MeMO Pad 7 Original Android Development] kurtulus145:
While watching video from Youtube, surfing on Facebook, playing games etc.
[MeMO Pad 7 Original Android Development] jerbear294:
I'm getting the disconnects once every half an hour or so, I'll try running a logcat to see if I can get anything.
[MeMO Pad 7 Original Android Development] lambdadroid:
I still can't reproduce the WiFi disconnects but I've identified the cause of the WiFi reconnect problems and fixed it. The disconnects might be related, but I don't know. It would be helpful if someone could volunteer to manually copy the updated files I've uploaded and report on the GitHub issue. I've posted the instructions on the GitHub issue: https://github.com/me176c-dev/device_asus_me176c/issues/32#issuecomment-322044006
[MeMO Pad 7 Original Android Development] jerbear294:
I'll do so when I get home. I'll flash Magisk after installing the new kernel though, although it shouldn't affect anything. Just thought I'd mention it since it does modify the boot.img.
[MeMO Pad 7 Original Android Development] jerbear294:
Okay, boot.img has been flashed.

adb root

didn't work so I got around it by pushing the boot.img and modules folder to my SD card, using a root explorer to manually copy modules to the /system/ folder, and just ran

adb shell

followed by

su

to dd the boot.img. Before rebooting I also reinstalled Magisk so I'd continue to have root access.

I primarily use my system at night and have observed multiple disconnects/reconnects, so I will report in the morning.
[MeMO Pad 7 Original Android Development] lambdadroid:
I hope you copied modules to /system/lib/ and not /system/, otherwise WiFi won't work at all after you reboot :) Not sure why adb root was not working, did you enable root access for adb in the developer options? It needs to be enabled manually.
[MeMO Pad 7 Original Android Development] jerbear294:
It's in /system/lib, yes, my mistake :P

Also I did not, that's probably it.
[MeMO Pad 7 Original Android Development] Nexive:
I placed the modules directory the same way jerbear294 did and flashed the boot.img using dd in a terminal on my device.

I'm going to test the wifi connection today and report back
[MeMO Pad 7 Original Android Development] kurtulus145:
[MENTION=6833678]lambdadroid[/MENTION] I installed the Asphalt Xtreme game on the tablet. Opening the screen is like the picture. It's all black. Is there a problem with OpenGL drivers? The games on the tablet are freezing.

upload image
[MeMO Pad 7 Original Android Development] jerbear294:
On the modified boot.img I'm definitely not getting any disconnects now.However, videos are now crashing about 20 seconds after they start playing.

I don't see how it's related (since on the github the only change that was made was in the wireless driver) but I'm reverting back to the vanilla modules/boot.img to see if it's related.
[MeMO Pad 7 Original Android Development] lambdadroid:
I can reproduce the black screen with that game but I don't know why it's happening. Probably an issue in the OpenGL drivers, but I doubt there is much I can do about that. Other games are working correctly. If you want to play a lot of games you may want to stay on the ASUS system because in my tests, performance was slower with the ROM.

That's weird, I just tested and videos were playing normally.
[MeMO Pad 7 Original Android Development] bryandroid98:
the WiFi still disconnecting but now reconnects automatically. Maybe the problem it's my router but I'm not sure.

How can I increase the volume?, in Asus ROM the volume it was higher.
[MeMO Pad 7 Original Android Development] lambdadroid:
Yeah, I was a bit overcautious with the maximum volume. I've read from people who managed to destroy their speaker with the new audio kernel driver that is used in this ROM if they set the max volume too high. I didn't want to risk damaging my speakers so I used the recommended max volume for this driver.

However, looking at the ASUS configuration (which uses a different audio driver) the max volume seems to be similar, just slightly higher. If you want I can compile updated configurations for you tomorrow with the values from the ASUS system. You can try if they work properly (I think they might, but honestly, I can't be sure), but please don't blame me when your speakers break :/
[MeMO Pad 7 Original Android Development] lambdadroid:
Actually I was wrong. The ASUS system does have a higher max volume but only for headphones. Do you want to increase volume for the speakers or for headphones?
[MeMO Pad 7 Original Android Development] bryandroid98:
I'll take the risk ?. Thanks your support.
[MeMO Pad 7 Original Android Development] lambdadroid:
See above:
[MeMO Pad 7 Original Android Development] bryandroid98:
[MENTION=6833678]lambdadroid[/MENTION] for the speakers.
[MeMO Pad 7 Original Android Development] lambdadroid:
Hmm, okay I'll think about it. It's still possible to raise it but I'm not sure if that's a good idea. Raising it past the value used on the stock ROM could easily damage the speakers... (I'm not sure why it's louder on the stock ROM with the same volume)
[MeMO Pad 7 Original Android Development] Nexive:
I used my tablet yesterday and today with the modified boot.img and modules and didn't get wifi disconnections so the wifi issue is solved on my device for now :)
[MeMO Pad 7 Original Android Development] lambdadroid:
LineageOS 14.1 (2017-08-15) now available

Upgrade notes

Original ASUS system: Make sure you do a full factory reset before installing LineageOS 14.1.

LineageOS 14.1 (2017-08-12/2017-08-10): You can flash the update normally.

PREVIEW LineageOS build (released in July): You must either flash lineage-lambdadroid-migration-signed.zip before flashing the update or do a factory reset.

Fixes

Fixed WiFi not reconnecting automatically

Fixed frequent WiFi disconnects

Improvements

Kernel update (4.9.42 -> 4.9.43)

Download

Installable ZIP: lineage-14.1-20170815-UNOFFICIAL-me176c-signed.zip
[MeMO Pad 7 Original Android Development] biceman:
Nice one!!! Revived my kid's tablet.

A louder sound would be welcome.

Why does the system occupy so much memory (3.36GB)?

Screen rotation does not seem to work.
[MeMO Pad 7 Original Android Development] bryandroid98:
This errors are normal?
[MeMO Pad 7 Original Android Development] lambdadroid:
That's what ASUS chose when creating the partitions on the device. The ROM still provides slightly more storage space because all the bloatware is missing.

Make sure you power off the tablet, wait a few seconds and then turn it back on before trying screen rotation. It does not work properly after a restart sometimes.

Yep, these look fine. Some of these might disappear when I finish the whole battery optimization part.
[MeMO Pad 7 Original Android Development] Ruben Craveiro:
might seem higher due to asus stock rom using that app that sets volume (movies, music, voice etc) that could be it.. when i placed on movie mode the sound went even higher, ive checked the boot.img of stock rom and it has some lines implementing the audio thing, im sure its not too hard to implement it on los, with some simple modifications on boot.img and system apps, i would create a zip with the mods, but im currently in switzerland and didnt brought my tablet, so i cant test
[MeMO Pad 7 Original Android Development] bryandroid98:
That would be great but you don't have the device.
[MeMO Pad 7 Original Android Development] Saarge:
I'm having sound distorsions with this rom (installed yesterday).

Tab is a me176cx.

And i don't mean sound volume issue but really badly distorted sounds.
[MeMO Pad 7 Original Android Development] jerbear294:
I'm still getting freezes occasionally when watching video (I'm doing so through NewPipe, though.)

I'll keep a logcat running tonight, hopefully I'll catch an error before it freezes.
[MeMO Pad 7 Original Android Development] bryandroid98:
Me too, [MENTION=6833678]lambdadroid[/MENTION] need to fix it but he's working on improve the battery.

I got this error with relation "distorted sounds" when i was playing a game (ex. Bullet Force, Modern Combat 5) :
[MeMO Pad 7 Original Android Development] Saarge:
Not only that, but i still have some performances issues, for me lineage isn't better than stock lollipop so far (own experience so far, not overall quality).

But i think it comes from my tab or it's one of my apps, it does it even with kitkat sometimes.

I think it comes from facebook and it's messenger so that's it for me, i'll go back to kitkat and freeze facebook then refuse messenger.

I'll retry lineage when the sound will be fixed.
[MeMO Pad 7 Original Android Development] lambdadroid:
There is nothing to fix for the sound, the problem is that the tablet gets hot too quickly and for some reason the thermal daemon is unable to cool it down by throttling performance. This means that it continues throttling until device performance is at absolute minimum, which means everything is slow and the sound breaks.

I don't know why it gets hot so quickly or why the throttling isn't working properly so right now I don't have any solution for this issue. You could theoretically disable the thermal daemon but then you risk overheating your tablet and breaking it eventually.
[MeMO Pad 7 Original Android Development] Saarge:
With lollipop the tab was too hot due to the cpu being constantly at 1800Mhz, by limiting it at 1300Mhz with kernel adiutor i could stop this overheating, i think you could try to limit the max frequency of the cpu, but it explains all the issues i saw, so i'll try it on my tab.
[MeMO Pad 7 Original Android Development] lambdadroid:
It could be, but the CPU is already limited to 1300 MHz unless you change the performance profile in the settings (and I suggest keeping it at "Balanced").
[MeMO Pad 7 Original Android Development] Saarge:
I didn't change anything.
[MeMO Pad 7 Original Android Development] lambdadroid:
Hmm...
[MeMO Pad 7 Original Android Development] Nexive:
Are you serious? :eek:

Do you even sleep? :P
[MeMO Pad 7 Original Android Development] lambdadroid:
Sleep? Haven't heard that word before.
[MeMO Pad 7 Original Android Development] jerbear294:
...that was quick.
[MeMO Pad 7 Original Android Development] Nexive:
3 years no development on this device and you are like "Oh Google released Android 8.0.0 source yesterday, Lets build it in a few hours for this device" :p
[MeMO Pad 7 Original Android Development] lambdadroid:
Would someone be interested in a Android Oreo based AOSP ROM? I could try to stabilize it a bit and upload it. Of course, the apps aren't quite as nice as on LineageOS (e.g. the browser, gallery and music player is really poor), but it's easy to replace them with other apps from the Play Store.
[MeMO Pad 7 Original Android Development] Nexive:
I would like to have oasp oreo even more on this device than los14.1 but having los14.1 on the me176c is already a great thing! :)

It's your choose but I would be happy to run Android 8.0.0 :)
[MeMO Pad 7 Original Android Development] bryandroid98:
I want try Android Oreo.
[MeMO Pad 7 Original Android Development] jerbear294:
I think I'll wait for Lineage 15, but if the Oreo builds help stabilize things I'm all for a release.