• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

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

Search This thread

superdragonpt

Recognized Developer
Apr 27, 2013
4,923
19,271
Lisbon / Taiwan / USA
www.caixamagica.pt
Disclaimer:
LineageOS (Lineage Android Distribution) members or anyone else on this website is not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns about features included in the products you find here before flashing it! YOU are choosing to make these modifications, and if you point the finger at us for messing up your device, we will laugh at you. Your warranty will be void if you tamper with any part of your device / software.





How to Install:
1- BACKUP, BACKUP, BACKUP, All will be WIPED!
2 - Unlock bootloader instructions here
3 - Flash the new mandatory TWRP Recovery
4 - Move Rom & Gapps (optional) into device storage
5 - Full Wipes
6- Flash Rom & Gapps (gapps are OPTIONAL)




for GAPPS:

Choose Gapps Package "ARM" > "6.0" > "Pico" or "Nano" visit OpenGAPPS




Working:

  • Boots
  • Storages
  • Bluetooth
  • Wifi
  • GPS - GNSS
  • Audio
  • Charging
  • Offline Charging
  • Video decoding/ Playback (i.e.: Youtube) up to 720p
  • android marshmallow new features: Adoptable Storage / Multi Window / etc
  • DRM Widevine : For Netflix, Amazon Prime, etc
  • Sensor: magnetometer: akm8963
  • Front Camera: mt9m114_mipi_raw (ME173X 16GB)
  • etc ....




NOT Working:
  • Rear Camera: a5142_mipi_raw
  • Front Camera: GC0339_RAW (ME173X 8GB)
  • Sensors: accelerometer (autorotation)
  • You tell me


Special Thanks

  • OMNI Rom
  • LineageOS
  • DerTeufel1980 & fire855 ( my Team mates from M.A.D)


GPL Compliance:


--> "asus_mm" branchs
 
Last edited:

superdragonpt

Recognized Developer
Apr 27, 2013
4,923
19,271
Lisbon / Taiwan / USA
www.caixamagica.pt
FAQ

Small FAQ:


Q: How can i Unlock the Bootloader?
A:
Instructions for Unlocking the Bootloader can be found here

Q: After locking the screen, the screen is all black, and/or flickering and I'm forced to reboot, how can I fix this?
A:
If you have this issue, then your device uses the second screen/lcm hardware revision
( the lgld070wx3_dsi_vdo ), please use the second kernel.zip for this variant, it'll be added an second kernel . zip for people with this variant, on the download section with the ROM release

Q: how to flash this second kernel for the new hardware variant ?
A:
After flashing the ROM, flash the second kernel afterwards

Q: Where are the Developer Options?
A:
Go to Settings>About Tablet, and tap 7 times on the Build Number

Q: Where is the multi-window mode?
A:
in the developer options, you can enable it there

Q: How can i root this rom?
A:
Magisk , latest Magisk works just fine

Q: Do i really need to update recovery?
A:
YES

Q: I can't flash this Rom on recovery, why?
A:
You need to update your recovery to TWRP

Q: how to work with twrp?
A:
in the first time TWRP boots, it'll ask if you want to allow modifications, slide to YES

Q: how to wipe and flash in twrp?
A:
Go "mount" and mount "system"
then go "wipe" > and wipe dalvik / cache / data / System

Q: How can i flash the new recovery?
A:
If you already have an custom recovery installed:

Download the new TWRP recovery zip
flash the new recovery
reboot to recovery again, TWRP should be now installed

If you don't have any custom recovery installed:
- You can extract the "recovery.img" from the .zip
- Open an terminal
- Boot to fastboot mode, and type:

Code:
fastboot flash recovery recovery.img

then reboot:

Code:
fastboot reboot


Q: I Love your work, how can i thank you?
A:
You can press the "Thanks" button, and if you wish, you can pay me a beer




..
 
Last edited:

superdragonpt

Recognized Developer
Apr 27, 2013
4,923
19,271
Lisbon / Taiwan / USA
www.caixamagica.pt
Changelogs


Build 20201221

  • First Release


Build 20210821

Kernel:
  • DCT / Power resolve more issues
  • LCM: nt35521_dsi_vdo: Add backlight enable ctrl function
  • Fix magnetometer sensor: akm8963
  • Battery: Corrections
  • Camera LENS AF (for the rear camera) fixed
  • Front Camera : mt9m114_mipi_raw ( ME173X 16GB Version) fixed
  • mmc: more handling fixs
  • msdc: more fixs
  • Touch Panel: GT927: Implement a proper suspend & resume
  • Some other small fixs.
LineageOS source and device:
  • LineageOS LiveWallpapers, Wallpapers are now included ( as per-user requests)
  • Gello browser removed, it's depricated and has security risks
  • Disable Live Display by default (not supported by this device)
  • Some device clean up
  • Fix some eGL crashs
  • Fix some core missing symbols
  • Added Front camera support ( Pictures )
  • Some other small fixs.





Downloads


TWRP 3.1.1


Build 20210821

If you have the second hardware Screen revision by LG (check FAQ), flash this
kernel for the Build 20210821






Old Builds


Build 20201221

If you have the second hardware Screen revision (check FAQ), flash this
kernel for the Build 20201221
 
Last edited:

gadom92

Member
Jan 29, 2017
34
4
Man, you're awesome 😁
But I have issue with wifi. Cant turn it on and my mac adress is 02:00:00:00:00
Bluetooth also not working
 
Last edited:

superdragonpt

Recognized Developer
Apr 27, 2013
4,923
19,271
Lisbon / Taiwan / USA
www.caixamagica.pt
Man, you're awesome 😁
But I have issue with wifi. Cant turn it on and my mac adress is 02:00:00:00:00
Bluetooth also not working


This seems to be the very same issue some users had with Lineage 12.1...
can** replicate this on my units.

EDIT: i meant, can't replicate this

please try this:


Settings > Backup & reset
 
Last edited:

Gronkdalonka

Senior Member
Apr 5, 2009
137
55
Bremen
Xiaomi Poco F3
This seems to be the very same issue some users had with Lineage 12.1...
can replicate this on my units.

please try this:


Settings > Backup & reset
Did not solve the problem so far. Wifi is even broken after restoring the los 12.1 backup which worked before

Edit: uploaded logcat
 

Attachments

  • logcat.zip
    85.7 KB · Views: 21
Last edited:
  • Like
Reactions: superdragonpt

Gronkdalonka

Senior Member
Apr 5, 2009
137
55
Bremen
Xiaomi Poco F3
Ok, i reflashed the old carliv recovery via fastboot after installing Los13 and i got wifi back ...
And afterwards i flashed twrp again via fastboot and wifi is still working...

Previously i flashed the twrp zip from carliv, i guess this was part of the problem
 
Last edited:

Gronkdalonka

Senior Member
Apr 5, 2009
137
55
Bremen
Xiaomi Poco F3
I also wiped everything including internal storage before, and bootet into each of the two recoveries and to the system from there.
Maybe the carliv recovery changes some things on the system, idk.
 

5licko

Member
Aug 11, 2019
29
16
Hi, I am so glad that this is still alive project :D
I upgraded recovery via mtk flesher. Just rename twrp 3.1.1... into recover.img and click "download".
My wifi and bluetooth are working. Sometimes bluetooth have conflict with wifi and plain reboot fix things.

It is strange that not a single one sensor work(acceleration and gravity, magnetic field, orientation and rotation. They all worked in 12.1 beside rotation. Hope thing are going to get fixed up.
Had a few freezes also(hard reset do the job)
Overall I have a feeling that this is smoother than 12.1.

EDIT: It was misleading about recovery flash. You need to extract from twrp_3.1.1_ME173X.zip "recovery.img" and replace in folder where scatter file with old "recovery.image" is.
 
Last edited:

superdragonpt

Recognized Developer
Apr 27, 2013
4,923
19,271
Lisbon / Taiwan / USA
www.caixamagica.pt
I also wiped everything including internal storage before, and bootet into each of the two recoveries and to the system from there.
Maybe the carliv recovery changes some things on the system, idk.

interesting... likely the wiping of internal storage fixed it..

if anyone is having this issue, please try and report back if the following fixs:

in twrp:

Flash this test kernel



cheers
Merry Xmas
 
Last edited:
  • Like
Reactions: HectorAguirre

gadom92

Member
Jan 29, 2017
34
4
interesting... likely the wiping of internal storage fixed it..

if anyone is having this issue, please try and report back if the following fixs:

in twrp:

Flash this test kernel



cheers
Merry Xmas

not working :/

edit: Flashed old recovery trough Flash Tool, than TWRP in Flash tool wipe all what i can and then install LOS 13. Wifi working like a charm
 
Last edited:

Gubbl

Member
Jan 8, 2012
7
3
First of all thanks to snapdragon for the new LOS13 support.

I'm sorry to tell you that all of your mentioned ways to get WiFi back to work did not work for me. What I did and what I tried:

  1. Normal installation way:
    • Flashed new recovery via old custom recovery
    • complete wipe
    • flashed new LOS13 via new TWRP recovery
      • WiFi not working!
  2. Going back to old custom recovery and back to TWRP
    • Flashed old custom recovery via TWRP
    • complete wipe
    • flashed new TWRP custom recovery via adb sideload since my sd card can only be mounted via new TWRP recovery
    • complete wipe
    • flashed new LOS13
      • WiFi still not work!
This is all I did. I realized that fastbood mode is not working for my device, could be a driver problem since my device is installed as ùó something when plugging it into the pc in fastboot mode, so I tried the way via adb.

Hint: I have the model with the alternative hardware, so the second kernel is required to fix flickering display issue.
I realized that the new TWRP recovery has this issue aswell, so my display is flickering from the right side to the center sometimes in TWRP recovery.

Any ideas what could help getting WiFi back to work?

Thanks in advance!

Edit: Could it be that this WiFi problem has something to do with the following thread:

I read over some postings and googled the mac address 02.00.00.00.00 and it seems that a lot of devices had this problem when updating from android 5 to 6. It seems that it could have something to do with the partitions where the info (mac address, IMEI) are stored, but in general I have not found a solution and a specific description of the problem.
Anyway: If the problem can be solved by doing the steps described in the thread I provided above I’m not able to solve this. I would not describe me as a noob, but it seems that I need root and knowledge of permission management for the fix, and I am not very familiar with Linux.
 
Last edited:

superdragonpt

Recognized Developer
Apr 27, 2013
4,923
19,271
Lisbon / Taiwan / USA
www.caixamagica.pt
Could you do the following test:

In twrp:

Full wipes ( system, etc etc and internal storage) be sure you back up your stuff
Then reboot to recovery
( It'll warn there's no OS installed)

Back to recovery

Do full wipes again , plug the tab into pc and copy the rom to internal storage

Reboot to recovery again
( It'll warn again, there's no OS installed)


Proceed to flash the rom

This has worked with a user


Issue: for an unknown reason some devices seems to fail mounting / reading nvram


@ twrp I'll do a build for people with this second hardware revision, flickering is annoying...
 
Last edited:
  • Like
Reactions: Gubbl

Gubbl

Member
Jan 8, 2012
7
3
Thanks for your fast reply. :)

I did two full wipes with rebooting into recovery after each wipe as you said, then I copied the OS zip file to internal storage and rebooted again to recovery.
After installing the ROM I rebootet to system and LineageOS was preparing the first start. I started without flashing the kernel for alternative hardware (2nd kernel) to check if it works first.

I'm sorry to tell you that I still got no WiFi and Bluetooth connections, Mac address still is shown as 02-00-00-00-00, WiFi cannot be turned on.

Edit: Seems that is has nothing to do with wipes (on my device). I've tried all kind of wipes via TWRP
Format Data -> yes -> reboot to recovery
Advanced Wipe -> check all (Davlik, Cache, Data, Internal Storage, System -> Again format data -> Yes -> reboot to recovery
flashed ROM, 2nd Kernel and GApps -> Reboot to recovery -> reboot to system

Still no WiFi. Perhaps I should try to go back to stock rom and see if WiFi works there? Do you think this could make the deal?
 
Last edited:
  • Like
Reactions: superdragonpt

Gubbl

Member
Jan 8, 2012
7
3
Again, thanks for your efforts, it seems to be a really tough and bugging one, since the new kernel did also not fix the problem.

Edit: Just to keep u updated: I just flashed old recovery and afterwords old LineageOS 12, WiFi is working well. So there must be some problem with the update or the update process. I will try to wipe first and then install new recovery and again install new OS, perhaps this will do the job.

Edit2: BTW I forgot to tell you that I had problems with settings -> about tablet -> status on lineageos 12. Just remembered because i wanted to have a look to the mac address. I get an error telling me "unfortunately, settings has stop". Perhaps important for the update?

Important Edit3:
Guess what: I made it to work. I did the following to do it:

1. Format Data and do all wipes possible with TWRP recovery. Reboot to recovery and do the same again.
2. TWRP recovery -> install old recovery
3. In old recovery -> install via sideload (adb sideload) lineageOS12 and second Kernel (for me because of hardware)
4. Boot to system and check if WiFi works well (finish the initialization of the device and connect to a WiFi)
5. Boot to recovery (old recovery) -> WITHOUT WIPING install via sideload TWRP recovery
6. Boot to system. (Still lineageos12) check if WiFi still works
7. Boot to TWRP recovery -> WITHOUT WIPING install lineageos13.
8. Boot to system, finish initialization if necessary and check if WiFi still works.
9. Go to setting and do a factory reset from lineageos13 settings
10. Device will reboot to recovery and do the factory reset and automatically will boot back into system.
11. Finish. All should work now.

I don't know what exactly did the job, so I wanted to provide all steps I did.
Since I never flashed an android custom Rom over another without wiping I don't know what errors this procedure can cause. So if someone knows that please let me now that I can have a look if there are errors.

Thanks again for your assistance.
 
Last edited:
  • Like
Reactions: superdragonpt

Top Liked Posts

  • There are no posts matching your filters.
  • 13
    Disclaimer:
    LineageOS (Lineage Android Distribution) members or anyone else on this website is not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns about features included in the products you find here before flashing it! YOU are choosing to make these modifications, and if you point the finger at us for messing up your device, we will laugh at you. Your warranty will be void if you tamper with any part of your device / software.





    How to Install:
    1- BACKUP, BACKUP, BACKUP, All will be WIPED!
    2 - Unlock bootloader instructions here
    3 - Flash the new mandatory TWRP Recovery
    4 - Move Rom & Gapps (optional) into device storage
    5 - Full Wipes
    6- Flash Rom & Gapps (gapps are OPTIONAL)




    for GAPPS:

    Choose Gapps Package "ARM" > "6.0" > "Pico" or "Nano" visit OpenGAPPS




    Working:

    • Boots
    • Storages
    • Bluetooth
    • Wifi
    • GPS - GNSS
    • Audio
    • Charging
    • Offline Charging
    • Video decoding/ Playback (i.e.: Youtube) up to 720p
    • android marshmallow new features: Adoptable Storage / Multi Window / etc
    • DRM Widevine : For Netflix, Amazon Prime, etc
    • Sensor: magnetometer: akm8963
    • Front Camera: mt9m114_mipi_raw (ME173X 16GB)
    • etc ....




    NOT Working:
    • Rear Camera: a5142_mipi_raw
    • Front Camera: GC0339_RAW (ME173X 8GB)
    • Sensors: accelerometer (autorotation)
    • You tell me


    Special Thanks

    • OMNI Rom
    • LineageOS
    • DerTeufel1980 & fire855 ( my Team mates from M.A.D)


    GPL Compliance:


    --> "asus_mm" branchs
    5
    Build 20210821

    Kernel:
    • DCT / Power resolve more issues
    • LCM: nt35521_dsi_vdo: Add backlight enable ctrl function
    • Fix magnetometer sensor: akm8963
    • Battery: Corrections
    • Camera LENS AF (for the rear camera) fixed
    • Front Camera : mt9m114_mipi_raw ( ME173X 16GB Version) fixed
    • mmc: more handling fixs
    • msdc: more fixs
    • Touch Panel: GT927: Implement a proper suspend & resume
    • Some other small fixs.
    LineageOS source and device:
    • LineageOS LiveWallpapers, Wallpapers are now included ( as per-user requests)
    • Gello browser removed, it's depricated and has security risks
    • Disable Live Display by default (not supported by this device)
    • Some device clean up
    • Fix some eGL crashs
    • Fix some core missing symbols
    • Added Front camera support ( Pictures )
    • Some other small fixs.



    Build 20210821

    If you have the second hardware Screen revision by LG (check FAQ), flash this
    kernel for the Build 20210821



    Cheers ;)
    4
    Changelogs


    Build 20201221

    • First Release


    Build 20210821

    Kernel:
    • DCT / Power resolve more issues
    • LCM: nt35521_dsi_vdo: Add backlight enable ctrl function
    • Fix magnetometer sensor: akm8963
    • Battery: Corrections
    • Camera LENS AF (for the rear camera) fixed
    • Front Camera : mt9m114_mipi_raw ( ME173X 16GB Version) fixed
    • mmc: more handling fixs
    • msdc: more fixs
    • Touch Panel: GT927: Implement a proper suspend & resume
    • Some other small fixs.
    LineageOS source and device:
    • LineageOS LiveWallpapers, Wallpapers are now included ( as per-user requests)
    • Gello browser removed, it's depricated and has security risks
    • Disable Live Display by default (not supported by this device)
    • Some device clean up
    • Fix some eGL crashs
    • Fix some core missing symbols
    • Added Front camera support ( Pictures )
    • Some other small fixs.





    Downloads


    TWRP 3.1.1


    Build 20210821

    If you have the second hardware Screen revision by LG (check FAQ), flash this
    kernel for the Build 20210821






    Old Builds


    Build 20201221

    If you have the second hardware Screen revision (check FAQ), flash this
    kernel for the Build 20201221
    3
    FAQ

    Small FAQ:


    Q: How can i Unlock the Bootloader?
    A:
    Instructions for Unlocking the Bootloader can be found here

    Q: After locking the screen, the screen is all black, and/or flickering and I'm forced to reboot, how can I fix this?
    A:
    If you have this issue, then your device uses the second screen/lcm hardware revision
    ( the lgld070wx3_dsi_vdo ), please use the second kernel.zip for this variant, it'll be added an second kernel . zip for people with this variant, on the download section with the ROM release

    Q: how to flash this second kernel for the new hardware variant ?
    A:
    After flashing the ROM, flash the second kernel afterwards

    Q: Where are the Developer Options?
    A:
    Go to Settings>About Tablet, and tap 7 times on the Build Number

    Q: Where is the multi-window mode?
    A:
    in the developer options, you can enable it there

    Q: How can i root this rom?
    A:
    Magisk , latest Magisk works just fine

    Q: Do i really need to update recovery?
    A:
    YES

    Q: I can't flash this Rom on recovery, why?
    A:
    You need to update your recovery to TWRP

    Q: how to work with twrp?
    A:
    in the first time TWRP boots, it'll ask if you want to allow modifications, slide to YES

    Q: how to wipe and flash in twrp?
    A:
    Go "mount" and mount "system"
    then go "wipe" > and wipe dalvik / cache / data / System

    Q: How can i flash the new recovery?
    A:
    If you already have an custom recovery installed:

    Download the new TWRP recovery zip
    flash the new recovery
    reboot to recovery again, TWRP should be now installed

    If you don't have any custom recovery installed:
    - You can extract the "recovery.img" from the .zip
    - Open an terminal
    - Boot to fastboot mode, and type:

    Code:
    fastboot flash recovery recovery.img

    then reboot:

    Code:
    fastboot reboot


    Q: I Love your work, how can i thank you?
    A:
    You can press the "Thanks" button, and if you wish, you can pay me a beer




    ..
    2
    New build coming very soon, with some good progress done, more kernel drivers and functions reversed engineered from the stock (closed source) Asus kernel as well as porting those to work on lineageOS marshmallow :)

    Just doing some final tests
    Cheers