yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] Clamor:
The Unlegacy Android Project

TF201 | TF300T/TG/TL | TF700T​

Introduction

Unlegacy Android started out as the OMAP4-AOSP Project. It was created in late 2015 in order to maintain a clean and organized place for pure AOSP support for various OMAP4 devices, such as the Galaxy Nexus and the Samsung Galaxy Tab 2 series. Over time this evolved to support more than just these devices, but still maintains its roots of supporting "legacy" devices that no longer receive "official" updates: hence Unlegacy Android was born. In our opinion, these ROMs are how the official updates would look.

On top of AOSP, we only include changes which are necessary to support the hardware, be secure, and get acceptable performance. Current features for the Asus Transformer Series include:

- Linux kernel 3.4.y (currently 3.4.113)

- BFQ IO scheduler (official kernel 3.4 release), set up so GUI processes have the highest priority

- F2FS support from kernel 4.9 (for /data and /cache)

Installation

You must have NvFlash backup. It is MANDATORY!

You need to use modified TWRP recovery that works with updated F2FS. It's important that /system needs to be unmounted before installing the ROM - some recoveries tend to leave it mounted after performing operations on it.

If you're planning to install GApps, be sure to read the second post!

Problems

Non working/Known bugs:

ROM is untested, if you want to help with test, PM me. On other TF's known bugs are:

- GPS;

- Bluetooth;

- Camera (both);

- Some dock special keys;

- GUI crashes;

Currently, noone from Unlegacy Team, has TF700T device. Help in developing or device donation would be highly appreciated.

Downloads

Will appear in near future

Features?

There isn't much to say here - this is AOSP, if you install GApps, you pretty much get the same thing that's running on the Nexus devices (see the second post). The aim of this project is to create a fast and stable ROM - although, one could use Xposed (or similar) to add extra features.

As usual, feedback is appreciated

Contacts

You may join Telegram development group, where all fresh staff is published and tests are made.

XDA:DevDB Information

Unlegacy Android Project, ROM for the Asus Transformer TF700

Contributors

Clamor, Ziyan

Source Code: https://github.com/Unlegacy-Android

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.4.x

ROM Firmware Required: Bootloader 4.2 JB

Based On: AOSP

Version Information

Status: Beta

Created 2018-04-10

Last Updated 2018-08-24
[Asus Transformer TF700] Clamor:
Reserved
[Asus Transformer TF700] Clamor:
reserved

reserved
[Asus Transformer TF700] Nektopoli:
Not to beat a dead horse, but is there a technical problem with 8.0/Go that negates it from working on out TF700s, I'm running KatKiss 7.1 and so far I like it, but would love to see if there any performance gains to be had from 8.0.

NP
[Asus Transformer TF700] Clamor:
8.1 isn't a problem at all (at least for Unlegacy), but to have a good experience we need a stable 7.1
[Asus Transformer TF700] Clamor:
Since noone is interested in this project (no testers) it is TEMPORARILY SUSPENDED.
[Asus Transformer TF700] fredbzh:
I am interested
[Asus Transformer TF700] polo_joe:
I'm interested too.
[Asus Transformer TF700] spizzlo:
I know it's late, but I can test also. I'd love to try an Oreo ROM.
[Asus Transformer TF700] megaequs:
would also be interested in Android Oreo on our good old Transformer :good:
[Asus Transformer TF700] ultras77:
the same is for me
[Asus Transformer TF700] Clamor:
[MENTION=7859187]fredbzh[/MENTION] [MENTION=5912085]polo_joe[/MENTION] [MENTION=4654807]spizzlo[/MENTION] [MENTION=4589018]megaequs[/MENTION] [MENTION=1199811]ultras77[/MENTION] than you need at least to know how to take logcat and dmesg/last_kmesg. Those who whant to take part in testing, write to me in PM.
[Asus Transformer TF700] Clamor:
delete post
[Asus Transformer TF700] fredbzh:
I'm on vacation at the end of the month;
[Asus Transformer TF700] bluejeep1:
the same is for me Also
[Asus Transformer TF700] Clamor:
If there is anyone here, who would like to test builds on TF700T, please, join Transformer Unlegacy group in Telegram. Link in OP. Even an ordinary user can help in development and maintaining of TF700T device.
[Moto G5 Guides, News, & Discussion] Exanneon:
I might consider doing this if you explained what this loader.img is?

Is it something one would flash to recover their G5?
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Potentially - its used to boot off the sd card so those with a bricked phone can access the bootloader through booting it off their sd card & then flash the firmware via fastboot

See

https://www.aryk.tech/2017/02/how-to-unbrick-debrick-qualcomm-android.html?m=1
[Moto G5 Guides, News, & Discussion] takoa:
I hope the solution is achieved soon
[Moto G5 Guides, News, & Discussion] staffe:
Here you go:

https://cloud.wdata.de/index.php/s/JK2by8YBQCSrsof

Device Info:

Cedric XT1676 Retail

LineageOS 14.1

TWRP 3.2.1 (32bit)
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Thanks for uploading it
[Moto G5 Guides, News, & Discussion] takoa:
Hello, I followed all the steps of the link, using a 16gb card and the file here hung and nothing, the phone does not start.

In my case it is an xt1676 which only turns on the led and blinks when I connect it to the pc by usb or the wall charger.
[Moto G5 Guides, News, & Discussion] TheFixItMan:
I take it the programme wrote the loader image successfully to sdcard

So either the person who uploaded the Loader.img interrupted the extract & so its corrupted or this phone can't boot off the sd card with this method

It does say it may take a while to boot but who knows
[Moto G5 Guides, News, & Discussion] TheFixItMan:
If anyone else can upload a Loader.img using the methods in the first post so there's a comparison please do
[Moto G5 Guides, News, & Discussion] takoa:
Yeah right.

What is strange to me, although maybe it is, is the size of the file hung here, 165 mb.

the 16gb card is formatted in fat32, is it correct?

Does the DiskImageRev2 program automatically create the card to be bootable?

Why install the qualcomm drivers if the phone does not have to be connected to the PC? It is assumed that the phone will boot in bootloader mode and there only need the adb / fastboot controllers.

I do not mind to keep trying since the phone I give for lost at the moment.

Can someone return to the first post with an xt1676?

Thank you.
[Moto G5 Guides, News, & Discussion] abhimanyuk:
https://drive.google.com/file/d/1H2Qkc1XKbr7Is46n5xdCFlgiuIH1m-vE/view

Device : XT1677
[Moto G5 Guides, News, & Discussion] TheFixItMan:
I presume it's needed for some devices who use different methods of flashing stock firmware

Someone else has uploaded an image file so you can try that one from a xt1677

Yes formatted fat32 - you should just have to select the drive the sdcard card is assigned to on your pc in the program eg f: and then select image file & then write - and accept the warning

It should make it bootable

Iv no idea if this method will work with this device
[Moto G5 Guides, News, & Discussion] takoa:
then it does not work in this model or the file posted here is wrong. Because I have done it as here is exposed and nothing.

I'm going to try the one from xt1677
[Moto G5 Guides, News, & Discussion] staffe:
Hmm, there haven't been any error messages on my side. I pulled the image again with above dd-command. I also tried with adb shell instead of terminal emulator but it's always the same file with the exact same file size. :(
[Moto G5 Guides, News, & Discussion] TheFixItMan:
I assume the file is correct - it's probably more the case of this phone doesn't support this method

If I get my hands on this device again in the future I can properly test things but at the moment all I can do is throw out ideas for people to try

Think I'll leave it now as without the device there's not a lot I can do
[Moto G5 Guides, News, & Discussion] takoa:
nothing, it does not work. it does not start :crying:

As I said, only the LED flashes when connected by USB or charger.
[Moto G5 Guides, News, & Discussion] Exanneon:
I recommend using rufus for flashing it to the sd card, it has never failed me yet, and supports up to 16gb.

Edit: I have the XT1675, if anyone would find it useful for me to post this variant's bootloader then I'd be happy to do so.

Edit again: Isn't dd used for writing an image to flash storage for later booting rather than extracting it?
[Moto G5 Guides, News, & Discussion] staffe:
It seems, some qualcomm devices need a full mmcblk0 dump to be able to boot from sdcard (e.g. LG G5)¹. I don't know if thats the case for our device but you can give it a try:

Loader_XT1676.zip Uncompressed filesize: ~4GB

¹ "The Loader method requires a full ROM Dump also known as a full blk0 backup of a working LG G5 H850 correctly flashed or written on a pretty good and fast class 10 SD Card."

Source: https://www.aryk.tech/2018/03/lg-g5-h850-unbrick-solutions.html

dd basically clones/copies the source-data block by block to another disk, partition or (img-)file.
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Thanks for the info - if someone can try this full Loader.img & let me know if it works I'll write up a guide
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Iv added the guide to the first post if people want to test

Like Iv said before I no longer own this device - I have not tested this & it may not work

Feel free to add potential solutions to help those with bricked devices
[Moto G5 Guides, News, & Discussion] alihg01:
First thanks for your hard work man

Second Should i remove sdcard from my phone before or after flashing the fastboot commands

Caz you say remove and others say don't remove
[Moto G5 Guides, News, & Discussion] TheFixItMan:
I don't think it matters either way - once you're in bootloader mode you should be able to remove the sdcard
[Moto G5 Guides, News, & Discussion] alihg01:
I removed it and it worked and my phone is alive thanks to you now I'll try to retrieve my imel and 4g back
[Moto G5 Guides, News, & Discussion] Jperaltapolo:
Will a 32GB usb with OTG cable work?

Guys, I wanted to install the recovery twrp along with the rom by the command method, it worked for me but when restarting I do not start anything and just turn on the led, bad for me, now I come to do these steps, thanks to the hard work of you, but I find it difficult to find the micro sd of 32 gb, but nevertheless I have a USB and OTG cable, my question is will it work this way ???
[Moto G5 Guides, News, & Discussion] TheFixItMan:
It's untested - probably not as the USB otg is unlikely to be mounted at boot
[Moto G5 Guides, News, & Discussion] Jperaltapolo:
Memoria de 16 GB

I understand, and it is absolutely necessary that it be 32 GB memory, I could get a 16!
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Yes due to the image size - must be at least 32gig - they are not that expensive £10 UK pounds on amazon
[Moto G5 Guides, News, & Discussion] Jperaltapolo:
thank you brother to rehearse
[Moto G5 Guides, News, & Discussion] AhmedtSadek:
I can confirm that the image work with XT1676 thanks for the great effort I thought I will have to change the board but thanks to you i am writing from my phone now ?
[Moto G5 Guides, News, & Discussion] netto1707:
XT 1672

Poderia me da uma ajuda com o moto G5 Cedric ?
[Moto G5 Guides, News, & Discussion] TheFixItMan:
XDA rules state all posts must be in English or have an English translation with them - please remember that in the future

Unless you state what help you need, what you have done & what problem you're facing in detail I won't be able to help you

Also it must be relevant to the first post
[Moto G5 Guides, News, & Discussion] willdelarosa:
Hello guys!

XT1672 here

I got boot on card. When the phone went into fastboot mode, I removed the card, executed the commands, including the last "fastboot reboot". But after that the cell phone will not turn on. Only the LED is flashing.

Ps: My card was like sdd1 on Mint Linux (so I used sdd only in command, without 1). I'm using USB - Micro SD adapter...

Ps: I remember it was with the last stock version (November 2017) and then in April I updated OTA, and it bricked. I am trying to use the same stock rom of November 2017.

What can I be doing wrong?

Thank you!

fastboot log here (i can't post in the body: https://drive.google.com/file/d/133ucwJMGSArBFl3vqSqq7WZ8pYsMrqSO/view?usp=sharing
[Moto G5 Guides, News, & Discussion] TheFixItMan:
You did everything correct except the firmware you are flashing is older than the version currently on your phone

Your log shows that gpt failed to flash which is the most important part in order to repartition your phone

You will need to download different firmware

There was one posted a few posts back in this thread you can try

See

https://xdaforums.com/showpost.php?p=77135185&postcount=180
[Moto G5 Guides, News, & Discussion] jucca2005:
Good morning, is it necessary a sd class 10? I used a class 4 and for me it did not work, I followed all the steps in post 1.

Moderator Edit:

Please avoid quoting the entire OP - it is unnecessary and may cause page loading issues for those on limited bandwidth or when Mobile.
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Do not quote the entire first post

I don't see that it really matters - it's only speed

I assume you have done something wrong or your sdcard is not compatible
[Moto G5 Guides, News, & Discussion] 006fazer:
Hi,

Thanks for all for this procedure, my XT1676 is restored and is working well. I'm looking for the NPPS25.137-93-14 firmware to relock the bootloader with the same bootloader version......
[Moto G5 Guides, News, & Discussion] h3sh11:
I posted the last firmware a few pages back, Google Drive link with password
[Moto G5 Guides, News, & Discussion] 006fazer:
Hi,

I've seen it, but this is not the latest july patched version :(
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Flash what ever firmware is available then ota update - see the ota thread in general section for ota paths

Also please keep on topic - firmware versions etc are your responsibility to obtain
[Moto G5 Guides, News, & Discussion] h3sh11:
May patch is last firm to Cedric
[Moto G5 Guides, News, & Discussion] 006fazer:
No, my Cedric xt1676 received June and July patchs.
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Like I said - Flash what ever firmware is available then ota update

See thread for ota paths

https://xdaforums.com/g5/how-to/cedric-ota-archive-t3795275

And please - no more off topic - obtaining firmware is your responsibility
[Moto G5 Guides, News, & Discussion] Fulldanger:
Hi, would you have any video explaining how to make my X1672 revive?
[Moto G5 Guides, News, & Discussion] h3sh11:
If you do not understand the topic, I recommend sending your bricked phone for someone experienced
[Moto G5 Guides, News, & Discussion] TheFixItMan:
No - sorry

The instructions are pretty simple to follow - they are step by step

If you get any error post here
[Moto G5 Guides, News, & Discussion] willdelarosa:
Hello brother

Thank you so much, and all other that help the community with Moto G hard brick. I revived my Moto G.

See you :)
[Moto G5 Guides, News, & Discussion] chopondrilio:
Hello I hope you can help me. Now download the linux mint and mount it in an usb, and the pc loads it and it works but at the moment of formatting the micro sd of 32 gb class 10 and writing the command if it starts. It takes about 12 minutes to finish and when checking the micro SD does not have any data, I do not know where I'm wrong or if the Linux is well mounted on the USB.
[Moto G5 Guides, News, & Discussion] TheFixItMan:
All I can suggest is make sure the path is correct and that you run the command as root and then put it in your phone & test
[Moto G5 Guides, News, & Discussion] eral147:
Questions

Hi, I have some doubts, in this part

do not forget to eliminate that "1" from the sdcard path

and another question with the end of flashing and put the sd card on the phone I have to press the power button?

I do not know if I am doing the steps correctly

attached

root@mint:/media/mint/Windows/Jesús/Varios/Celulares/Moto G5/mmcblk0# sudo dd bs=4M if=mmcblk0.img of=/dev/mmcblk0 status=progress oflag=sync

31268536320 bytes (31 GB, 29 GiB) copied, 2229 s, 14.0 MB/s

7455+0 records in

7455+0 records out

31268536320 bytes (31 GB, 29 GiB) copied, 2229.04 s, 14.0 MB/s

root@mint:/media/mint/Windows/Jesús/Varios/Celulares/Moto G5/mmcblk0#

it's okay? What do I do next?

Excuse me I use google translate
[Moto G5 Guides, News, & Discussion] TheFixItMan:
You remove the 1 off the sd card path

Eg

if your sdcard is seen like "/dev/sdb1"

It becomes

of=/dev/sdb

if your sdcard is seen like " /dev/mmcblk0p1"

It becomes

of=/dev/mmcblk0

See the terminal commands - Your terminal commands looks OK to me

Once done put sd card in your phone and switch it on via power button

Your phone should display the bootloader menu if the mmcblk0 image was correctly written to the sd card

If you reach the phones bootloader menu your phone will then be ready to flash stock firmware via fastboot
[Moto G5 Guides, News, & Discussion] K_Orcheski:
my device is connected in the fastboot, reinstalling the rom, some errors happened: oem, system, recovery, boot accuse the error invalid signed image, would someone like help solve?

sorry, my english is not good
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Those are probably just warnings & the firmware flashed successfully

Most firmwares I've seen for this device do not have a correctly signed boot images

If the phone doesn't boot after restart you will need to use use another firmware

The most important is gpt - if you get a security downgrade error than the firmware you are trying to flash is too old

Unsigned errors should just be warnings & it should still say write successful
[Moto G5 Guides, News, & Discussion] EinosX3:
Successful process

I revive my Moto G5 XT1670, the process is done with a MicroSD 64GB

Start without problems to the configuration menu of the equipment as the first time

Excuse my English, use gogole translator :p

Muchas Gracias!
[Moto G5 Guides, News, & Discussion] h3sh11:
I already sent last firm

https://rsdsecure-cloud.motorola.co...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

Take it easy, someone will help you
[Moto G5 Guides, News, & Discussion] TheFixItMan:
You get preflash validation errors either when wrong firmware is used or the download of firmware from the Internet is corrupted

Please download different firmware and try again - See the post above this one
[Moto G5 Guides, News, & Discussion] chopondrilio:
Hello, sorry, I have the same model. my question is if a micro sd of 32 does not work. because I do not understand very well how to do the process of flashing the micro sd. the one that I have is a adata of 32 gb class 10, but it does not record anything with the linux that it assembles in an usb. will it be because it is not installed on the pc?
[Moto G5 Guides, News, & Discussion] K_Orcheski:
same errors, and now fastboot shows me xt1676, no more xt1672, which is my device

and imei changed too, getvar all shows me a different imei
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Imei shouldn't have changed - you are not modifying the efs

It's a different firmware so flashing gpt and bootloader may mean your phones displays a different veriant

All I can suggest is keep trying firmware until you find one that works

Even if you flashed wrong firmware in the past flashing gpt should repartition your phone allowing you to flash the firmware so I don't know what's wrong with your device

If your device is 16gb make sure its 16gb firmware and the same if its 32gb - use 32gb firmware
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Try this firmware

https://drive.google.com/uc?id=0BwjjN084xAViQ2dVWDN1TTlrUUE&export=download

Password

www.stockrom.net
[Moto G5 Guides, News, & Discussion] jucca2005:
the battery must be 100% charged?

I still can not revive the device, maybe it is the battery that is not charged?

sorry for bad english I'm using the translator
[Moto G5 Guides, News, & Discussion] EinosX3:
I tested with a microsd of 32 and it did not work because there were 165 mg of space missing, I recommend you use a microsd of 64 GB :good:

the process indicated by the post is correct, but you must do it with a microsd greater than 32
[Moto G5 Guides, News, & Discussion] crownzs:
I've tried with a 32gb class10 of sandisk and it doesn't work.

My phone is a Moto G5 xt1672 with 32gb.

My terminal:

root@paulo-Vostro-5470:/home/paulo/Downloads# sudo dd bs=4M if=mmcblk0.img of=/dev/mmcblk0 status=progress oflag=sync
31268536320 bytes (31 GB, 29 GiB) copiados, 2249 s, 13,9 MB/s
7455+0 registros de entrada
7455+0 registros de saída
31268536320 bytes (31 GB, 29 GiB) copiados, 2249,06 s, 13,9 MB/s

Is it correct, or it will only work with a 64gb?
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Try with a 64gig card - if it works let me know & I'll amend the first post

Since I haven't tested it with various sizes I can only go on user feedback - I don't own this device anymore
[Moto G5 Guides, News, & Discussion] dnis456:
Can i use linux by virtualbox and will still work?
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Can't see any reason why not - try it

If you run into problems just use the live dvd/usb
[Moto G5 Guides, News, & Discussion] EinosX3:
Following this tutorial, recover the network and the 3g on XT1670

4g does not work

search in youtube : Moto G5 Cedric Missing imei & Broken Network Fix
[Moto G5 Guides, News, & Discussion] Andrej_SK:
For getting 4G signal back, I recommend following this tutorial --> https://xdaforums.com/g5/how-to/how-to-recovery-4g-moto-g5-t3787208 . I've succesfully repaired my IMEI with it in the past. :)
[Moto G5 Guides, News, & Discussion] jeanmiguel:
Hi, i used a 32gb class10 of sandisk and it YES work.

My phone is a Moto G5 xt1672 with 32gb TOO.

My phone was dead and thanks to this method and a friend who helpme we managed to revive it.

Sorry for bad english. :good:
[Moto G5 Guides, News, & Discussion] jason13v8:
I'm sure he said use a 32GB card
[Moto G5 Guides, News, & Discussion] lukas033:
Some people mentioned they have successfully used 32 gb sdcard. I have tried Kingston 32 gb, but got error size as capacity of sdcard not sufficient (sd card available space was around 31,1 gb but files require cca 31,3 gb).

If somebody successfully used 32gb card, could tell me the exact type/name of sdcard? I do not wanna buy 64gb if 32 gb sufficient.

Thank you.
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Some cards (as well as hard drives) maybe slightly less than 32gig - as long as you removed all partitions & created a new single partition it will be the max size it could possibly be

Even within the same brand you may get slightly different sizes depending on the manufacturer batch process

The price difference is only £5 UK pounds

I would get this one

https://www.amazon.co.uk/SanDisk-mi...dpPl=1&dpID=41F9bFJVOQL&ref=plSrch&th=1&psc=1
[Moto G5 Guides, News, & Discussion] somnath911:
Please do not quote the entire OP. Either use hide content tags; [HIDE*] content goes here [/HERE*] (remove the * first) or just quote the first line of the OP.

i flashed it with another mmcblk0 file https://androidfilehost.com/?fid=11050483647474830935

but no luck.

as i have xt1677 16GB rom model.

32gb mmcblk0 file will be safe?
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Please read the first post fully - it clearly states its been tested on the majority of moto g5 varients & should work on them all

Everything has been provided for you - all you have to do is follow it

And don't quote the entire first post!
[Moto G5 Guides, News, & Discussion] jeanmiguel:
i used a memory SanDisk 32 GB mico SDHC class 10.

I had no problem
[Moto G5 Guides, News, & Discussion] manupa14:
Hello, every time I try to extract the .img from the zip I get a write error message stating that the hard drive is full (I have over 200 gb left where I'm extracting it). Any clues?
[Moto G5 Guides, News, & Discussion] h3sh11:
Check if your partition is FAT32 or NTFS