yashsingh1/xdaforums huggingface dataset:
[Moto E4 Plus Questions & Answers] crackpot360:
Hey guys, my device is the e4 plus XT1771 mediatek. I have looked in the threads to find a root guide, but I cant seem to find one for XT1771,

this thread : https://xdaforums.com/moto-e4-plus/how-to/moto-e4-plus-guide-to-rooting-mediatek-t3668753 , is for the XT1770, 1772 and 1773 versions that have a mediatek MT6737 chipset. But when I go to CPU-Z on my device it says I have the MT6735 chipset. I cannot find a recovery for this version, so can you tell me how to root it?

Thanks.
[Moto E4 Plus Questions & Answers] phonedriller:
hi, you need to have the stock boot.img to root even better if you find you stock firmware

check out this video it should get you started - https://www.youtube.com/watch?v=BF4_hnKgjFA

and a tutorial https://xdaforums.com/android/help/qilive-how-to-root-q8-series-t3776028

its the same for all mediatek phones the only thing is that you have to use

your stock boot.img findt it in online(google it) your stock firmware or as a boot.img file,

just make shure its exactly from and for you model or else you will fu** up th phone FAIR WARNING.

good luck, hope it helps.
[Android Q&A, Help & Troubleshooting] iSatsu:
Hi All,

at the beginning I'll write a brief what happened. I'm using Xiaomi MI 5. Last week phone just turn off and after this I was unable to turn it on - no response. I started with checking battery contacts and after pushing plugs device turn on, but unfortunately in bootloop. I started to search for any information how to repair, so at first I tried to wipe all data by recovery mode, but it not helped. At next step I flashed phone with new firmawe - I had to do it by testpoints method, because bootloader is blocked and I was unable to unlock this since device is broken (as I saw in tutorial it's needed to bind device with account by Android which wasn't work obviously). Device with new firmware started to work but not recognizing any SIM card - I've checked in options an there is no IMEI. I found tutorial how to repair IMEI and for now I have ready QCN file to upgrade device by QPST software, but there is a problem with entering a phone in diagnostic mode. I used a code "*#*#717717#*#*" but I have a problem with part listed below, because it's demanding super user account:

"adb shell

su

dd if=/dev/zero of=/dev/block/sde28

dd if=/dev/zero of=/dev/block/sdf3

dd if=/dev/zero of=/dev/block/sdf5"

I don't have a root and for now it isn't possible to root device, because there is still blocked bootloader. I tried to unlock device since Android is working again but because there is no IMEI I get errors during binding, so i suppose it's impossible to do without IMEI.

In QPST device is only visible when it's in EDL mode by testpoints method, but I can't upload QCN file bacause I get error: Phone isn't in diagnostic mode.

So what I need for now is to enter device into diagnostic mode somehow and that's why I decided to make a new topic, because at first I've searched many forums and threads but I was unable to find working solution. Please help me if you have any ideas. Thanks!
[Android Q&A, Help & Troubleshooting] iSatsu:
Resolved

Hi all,

I've manage this problem.

This is how I succeed - maybe it will be helpful for someone :)

First of all I found a Thread with Mi 5 qualcolm diagnostic drivers. After installing these drivers device was recognized by QPST as in diagnostic mode. Unfortunately another problem came up. "Invalid command from device". I did quick research and it was related to broken EFS, so I needed reapair/reset EFS - but theorically it was impossible without root and for rooting device unlocked bootloader is needed (my is blocked). So finally I found a dial code for EFS reset:

*#*#25327337#*#*

It helped. After this all what I needed to do was to check box in QPST "Allow ESN mismatch" and it successfully wrote QCN file.

Now my IMEI is back :)

Regards
[Xiaomi Mi 8 SE Questions & Answers] Odd man:
[Deleted]
[OnePlus 3 & 3T Cross Device Development] simonsmh:
Short update logs.

20190826:

Support system-as-root, flash A/B GSIs instead of A-only.

thanks to zuk-devs

20190731:

Camera fixed in Q
[OnePlus 3 & 3T Cross Device Development] simonsmh:
Reserved
[OnePlus 3 & 3T Cross Device Development] 97pratyush:
Awesome work. Long live 3/3T.
[OnePlus 3 & 3T Cross Device Development] simonsmh:
[IMG="Picture of Android P Treble GSI works"]https://img.vim-cn.com/05/1945bc2a85ca15bf3db821ab337918de5cf07c.png[/IMG]
[OnePlus 3 & 3T Cross Device Development] MarcoLK:
Is this Android pie or Oreo? Title says 15.1
[OnePlus 3 & 3T Cross Device Development] vishruthys:
U can flash any GSI either pie or Oreo. Camera and volte is broken on pie
[OnePlus 3 & 3T Cross Device Development] alesimula:
Good work guys, I think I'll wait for the camera issue to be fixed before risking to brick my device though :D
[OnePlus 3 & 3T Cross Device Development] drmuruga:
After flashing gsi system img how to make it boot ?I tried , but failed. But booted in my redmi note 4x both gsi and sGSI.
[OnePlus 3 & 3T Cross Device Development] mdfarazb2:
Wow.. Thanks:good:
[OnePlus 3 & 3T Cross Device Development] henk717:
This is incredibly exciting! I hope this also inspires OnePlus to release official treble support.

Before i dare to flash this i would like to know, what is the rollback plan for this if you want to bring the device back to factory state and does it break compatibility with for example the stock rom and stock recovery?

For those that already jumped ship and installed a GSI image, can you test if one of the following mods works?

Arnova v8.2 https://www.celsoazevedo.com/files/android/google-camera/f/GoogleCamera-Pixel2Mod-Arnova8G2-V8.2.apk

Tolyan v1.0.7 https://www.celsoazevedo.com/files/...f/MGC_5.3.015_B-S-G-based_v.1.0.7_TlnNeun.apk

Skulshady https://www.celsoazevedo.com/files/android/google-camera/f/skulshady_gcam_5.1.018_Mod_v6_fix.apk

These are various modded APK's that may contain a fix for the camera issues. No root required to flash.
[OnePlus 3 & 3T Cross Device Development] simonsmh:
You don't need to roll back. Just like op5, it's still working if oneplus offer us official treble support.

At least you can either modify the partition label or use 9008 tools to return stock.
[OnePlus 3 & 3T Cross Device Development] Gohar___Nadeem:
Great news.

Hope fixes in future
[OnePlus 3 & 3T Cross Device Development] ZVNexus:
What GSI did you try to flash.

---------- Post added at 09:19 PM ---------- Previous post was at 09:18 PM ----------

No, the camera does not work at all.
[OnePlus 3 & 3T Cross Device Development] edoardotavecchio:
Does re-partitioning involve internal storage/data partition data loss?

Edit: P.S.: Could I suggest to open a dedicated thread for TWRP Treble as a guide for making our device treble-enabled? I think it could be useful and clearer.
[OnePlus 3 & 3T Cross Device Development] singledog0329:
Basically it won't. But formating /data is still suggested to avoid some problems.
[OnePlus 3 & 3T Cross Device Development] akashk07:
Wow, excellent!

Was waiting for this since so long.

Amazing work.

Gonna try it out soon.

Some questions though,

Can I use any of the GSI or I'll have to use provided lineage GSI only?

If I want to use an android pie GSI, then which gapps should I use? I need full gapps.

Also, The camera isn't even working in third party applications such as WhatsApp also?

Which 9.0 GSI is good, is there any AOSP GSI?

Are there any other bugs?

Final thing, can someone please provide me the link for the thread for oneplus3t where 9008 unbrick recovery procedure is there?
[OnePlus 3 & 3T Cross Device Development] Oblivionevil:
You can use any GSI but when i tried android pie GSI wifi dont work and 4G was broken and camera was not working
[OnePlus 3 & 3T Cross Device Development] xpissio:
MODERATOR NOTICE: YOUTUBE LINK REMOVED

From watching this video, I guess that Lineage stock camera app doesn't work, but others do, correct?
[OnePlus 3 & 3T Cross Device Development] vishruthys:
Yes. And camera works only on Oreo GSI's and not on pie yet.
[OnePlus 3 & 3T Cross Device Development] mnsiw:
You are right, LOS Treble AB does not need permissver as it is by default have it and FixZygote is for A GSIs, I flashed these just to try :)

Okay, got it now, generic is booting, as I remember, generic images on Pie had similar issues in early days.

There in 'Android R GSI' group on Telegram, they have rilfix in notes but it just says 'wait for system update notification finishes'.
[OnePlus 3 & 3T Cross Device Development] d3xt3r001:
Work....Thanks
[OnePlus 3 & 3T Cross Device Development] mnsiw:
Any WiFi and RIL fix for R GSIs?
[OnePlus 3 & 3T Cross Device Development] mnsiw:
RIL is working for most devices after DP4 but it is still broken on OP3/3T, maybe it's vendor problem.
[OnePlus 3 & 3T Cross Device Development] Anghirrim:
Does anyone know what are the differences on /vendor between LOS 16 and LOS 17.1 builds?

Thanks
[OnePlus 3 & 3T Cross Device Development] mnsiw:
Anyone tried Pixel-AB-11-20200709-ErfanGSI.img-0455.7z? Any RIL fix for Android 11 GSIs on OP3T?
[OnePlus 3 & 3T Cross Device Development] Aamirx27:
Miui 12 GSI. Anyone tried it
[OnePlus 3 & 3T Cross Device Development] Aamirx27:
tried MIUI12 Erfan GSI. It boot but no homescreen with Framework Errors no RIL..
[OnePlus 3 & 3T Cross Device Development] SHAKIL1819:
it is a partially successful project :( and dead
[OnePlus 3 & 3T Cross Device Development] :
Hi guys, how can I remove vendor partition via sgdisk command line? (Solved: via terminal sgdisk --delete=5:vendor /dev/block/sdf , then reboot).
[OnePlus 3 & 3T Cross Device Development] Keyvannn:
Did anyone try a12 gsi?
[OnePlus 3 & 3T Cross Device Development] PROGRAMMER.:
Hi @simonsmh , there's a serious bug in this ROM .... The mobile data toggle in notification bar is not working after flashing Android Q . can you please help me solving it ?
[OnePlus 3 & 3T Cross Device Development] sundhar88:
So this means, I should stay with OP3T and don't buy a new device all my life????
[OnePlus 3 & 3T Cross Device Development] suolrihm:
As long as we have great devs which support a great device why should you anyways? :p

I stay with my OP3 and honestly stalk the progress of Trebleizing ^^
[OnePlus 3 & 3T Cross Device Development] Nburnes:
Wow congratulations on what you all have achieved here! Big first step. :good:

While I'm not ready to try this personally, I will definitely be keeping a close eye on this development.
[OnePlus 3 & 3T Cross Device Development] $hivaM Manav:
works

Tried this when i was on xenon HD nougat build worked perfectly fine.

tried few GSI roms links available at github (dotos,aicp,aosip,aosp P,sgsi PR1,aquarious,Arrow os) had no problem with flashing and booting any of them but only one general problem in all roms that i could list out was VOLT and custom kernels didnt work in any of the above roms the other thing was the camera which the dev already pointed out hope its sorted ASAP

Also i was able to flash back to other device specific roms with no issue , rest pewwww ! thnx for this amazing gift soo early!
[OnePlus 3 & 3T Cross Device Development] weigeloveu:
are you sure?afaik camera doesn't work on any gsi build
[OnePlus 3 & 3T Cross Device Development] Gohar___Nadeem:
https://youtu.be/RF81Hw8sJIY

Video guide fro treblizing Oneplus 3/3T.
[OnePlus 3 & 3T Cross Device Development] ZVNexus:
That's the ROMs problem not our device. Any other GSI works with wifi.
[OnePlus 3 & 3T Cross Device Development] akashk07:
Hi all,

is it important to flash that unofficial lineage os build which is provided in the download section or will recovery and that trebelise command will work?

can I directly flash ndroid pie gsi?
[OnePlus 3 & 3T Cross Device Development] PlayFriik:
I didn't expect that Treble would come to our devices. If Camera issue gets sorted out, it would be one of a very stable Treble port - thank you so much for your effort!

Just to clarify, I tried out both - Android 8.1 (Pixel Experience ROM) and 9.0 (Phh-Treble ROM) GSIs - and the camera didn't work on both of them.
[OnePlus 3 & 3T Cross Device Development] michie:
Trebelize will just create the vendor partition. The lineage build will copy all vendor drivers to that partition I guess.
[OnePlus 3 & 3T Cross Device Development] Tristan1302:
"Untreblize" process and more...

Hi all, I'm a bit scared about "treblizing" my device bc I don't really know if it is hard to "untreblize" it. Are my doubts justified or not ? And can we still install other non treble Rom like stock one for example ?

Thank you.
[OnePlus 3 & 3T Cross Device Development] edgarrosandy:
Yes you can still install non treble ROM like usual.
[OnePlus 3 & 3T Cross Device Development] MarcoLK:
You just have another Partition. Usual Roms dont Care about it. If the vendor Partition is wiped, Everything is fine
[OnePlus 3 & 3T Cross Device Development] akashk07:
Unable to boot android Pie GSI

Hi all,

I've treblized my oneplus3t successfully but the now the thing is that, I'm able to provided LOS properly, but when I'm trying to boot any of the android 9 GSI such as AOSP or Pixel Experience, it's not getting booted. the phone is coming on fastboot mode again and again.

Please help, what do I do?
[OnePlus 3 & 3T Cross Device Development] denny666555:
quick question, it say not stable and such but thats the lineageos15.1 rom in this post thats made for treble right? making our 3t treble with twrp works 100% cuz i can only imagine its just creating partitions and THEN roms need to support THAT 100% right? so if i treble my 3t using that trwp i can fx. use stable gsi images? the procedure of makin 3t is correct and such?

---------- Post added at 09:22 AM ---------- Previous post was at 09:14 AM ----------

so if I regret i can just leave it? or if i run msndownloadtool which wipes everything in MMC those partitions will be wiped too? or are they perm in any way?
[OnePlus 3 & 3T Cross Device Development] DeadFox-xda:
[MENTION=9389733]denny666555[/MENTION] don't quote the whole OP next time please.
[OnePlus 3 & 3T Cross Device Development] MarcoLK:
Yeah, just leave the partition. You dont have to care about it until you install an GSI (Generic System Image). (Treble rom)
[OnePlus 3 & 3T Cross Device Development] denny666555:
okay do you know if the msndownloadtool removes that partiotion? or is there any form of revenants remaining?

---------- Post added at 11:47 AM ---------- Previous post was at 11:16 AM ----------

sorry to bug again, but i didnt get a answer on this question about partitioning, its only the trwp cmd in that specific version that does the treble change right? i can just flash latest trwp again and vendor will be "wipe" options?
[OnePlus 3 & 3T Cross Device Development] VIPLightning:
I love the entire concept of treble and the fact that oneplus 3/3t has one unofficially. I flashed Havoc OS (A only) with lineageos along with factory reset. Most of the features seem to work except what's holding me back from using Treble ROMs as a daily driver is the brightness slider breaking permanently unless you use a 3rd party app. And of course I'm aware with other known functionalities that are broken and hope that they do get fixed overtime. Keep up the great work. I'll be keeping my eyes peeled on this project
[OnePlus 3 & 3T Cross Device Development] thes3usa:
Unless you're testing Treble, you really needn't use the Havoc GSI since we have it officially.
[OnePlus 3 & 3T Cross Device Development] PlayFriik:
One of the devs at Telegram group said that he got the Camera to work, but right now it's a little bit unstable, so he is working on that. :good:
[OnePlus 3 & 3T Cross Device Development] DeadFox-xda:
Could you PM me the link for the telegram group? Thanksss
[OnePlus 3 & 3T Cross Device Development] PlayFriik:
It's in the first post btw :D

https://t.me/joinchat/BrAZb0Zf9p0CoSH5luk0dw
[OnePlus 3 & 3T Cross Device Development] DeadFox-xda:
Oh silly me :silly: thanks a lot
[OnePlus 3 & 3T Cross Device Development] Pankaj Rai:
Is VoLte working in this rom ???
[OnePlus 3 & 3T Cross Device Development] jaynarang:
Yes!
[OnePlus 3 & 3T Cross Device Development] simonsmh:
Hi, thanks to PeterCxy, we find a method to load camera shim library.

Flash zip below after you flashed GSI, and camera should be working again. Confirmed sGSI PR1 is working.

However, it's just a dirty hack, and we are still trying to port camera hal.
[OnePlus 3 & 3T Cross Device Development] nico933:
Amazing work guys!
[OnePlus 3 & 3T Cross Device Development] DeadFox-xda:
Does this apply to pie ROMs?
[OnePlus 3 & 3T Cross Device Development] simonsmh:
It should work, but I failed on phh 9.0 rom because of library missing. The sGSI 9.0 is working though.
[OnePlus 3 & 3T Cross Device Development] simonsmh:
SELinux is fixed in 0830 build. Please provide logs if you meet any problem.
[OnePlus 3 & 3T Cross Device Development] denny666555:
simon, do you know if the msndownloadtool will restore partitions after this trwp fix treble and just leave an empty vendor? or will it do what its suppose to do?
[OnePlus 3 & 3T Cross Device Development] henk717:
The msm utility will return you to a complete stock android 6.0 including the original partition table. It will work out of the box and i had 0 issues with the efs or partition sizes. That said i do recommend an efs backup with twrp before restoring the phone.
[OnePlus 3 & 3T Cross Device Development] simonsmh:
Now we can use camera on phh 9.0 based GSIs with linkerfix v3+. Confirmeta PE 9.0 GSI Beta works.

Quick Link: https://github.com/OP3Treble/linkerfix/releases/download/v4/linkerfix.zip
[OnePlus 3 & 3T Cross Device Development] xuser_:
is it the hacky way or proper way?
[OnePlus 3 & 3T Cross Device Development] PlayFriik:
It's still the dirty/hacky way, but it works for now.
[OnePlus 3 & 3T Cross Device Development] xuser_:
I think such information help users to understand the risk involved with their hardware

[MENTION=4405529]nvertigo67[/MENTION] usually be seen with providing good infos of things he does/fixes <3

NO DISRESPECT TO DEVS EFFORTS
[OnePlus 3 & 3T Cross Device Development] denny666555:
can I flash any treble after this? or is there others zips that needs to be flashed before rom? saw a turial on 3t and he flashed 3 fixes before treble pixel rom 9.0. i tried system-arm64-aonly-vanilla-nosu.img.xz from PHhusson and flashed as system and reboot but it flashed like 1sec and when i tried to reboot it said no OS. the los treble rom worked fine and checked treble check

please help :)
[OnePlus 3 & 3T Cross Device Development] simonsmh:
Your image is damaged. Also you can flash image from fastboot.
[OnePlus 3 & 3T Cross Device Development] denny666555:
thx simon, but its the same thing right? trwp in system or fastboot system img but there isnt any other files to flash right? those 3 i mentioned has to be only for that pixel rom?

can u recommend any aosp pie that 100% works ?
[OnePlus 3 & 3T Cross Device Development] simonsmh:
I recommend sGSI PR1, AOSP 9 by phh, and PE 9.0 GSI Beta. They are working without critical bugs.
[OnePlus 3 & 3T Cross Device Development] highdiver_2000:
How does all this affect my storage? Copying music and photos back and forth is a real pain
[OnePlus 3 & 3T Cross Device Development] KenOokamiHoro:
It works on my OnePlus 3, but It prompt me "Please ensure your vendor image matches OPR1.170623.032". Which likes Nexus/Pixel devices...... :confused:
[OnePlus 3 & 3T Cross Device Development] NoobZik:
Using ADB commands pull and push might be your friend, it is faster than any file explorer on any os. This what I have done when my phone was encrypted.
[OnePlus 3 & 3T Cross Device Development] pitrus-:
Same here, compared to MTP-copy ADB pull is almost 10-1000 times faster at copying files over USB to computer. [emoji4]

Skickat från min ONEPLUS A3003 via Tapatalk
[OnePlus 3 & 3T Cross Device Development] simonsmh:
USB hal is fixed in 0901 build. Now usb stuff should be working properly.
[OnePlus 3 & 3T Cross Device Development] akashk07:
[MENTION=7141309]simonsmh[/MENTION]

Thanks for this,

I'm facing one problem that whenever I'm flashing any of the GSI via fastboot, I'm unable to boot.

Let's say I flashed pixel experience gsi image via fastboot and when I reboot, the phone comes back in the fastboot mode only.

the rom doesn't get booted.

but when I flash the img via twrp it boots correctly.

can you please let me know that why is it happening?
[OnePlus 3 & 3T Cross Device Development] VivekBhagat:
Flash it via twrp
[OnePlus 3 & 3T Cross Device Development] akashk07:
Deleted

---------- Post added at 07:58 PM ---------- Previous post was at 07:57 PM ----------

That I already know. I'm asking about fastboot issue.
[OnePlus 3 & 3T Cross Device Development] simonsmh:
Just flash it through either way you can flash it in.
[OnePlus 3 & 3T Cross Device Development] kryzeK:
Guys I have a lot of doubts, could you please help me? [I've never used a Treble ROM or had a compatible device with it]

1. How do "update" a Treble ROM?

2. When an update is announced here, is this for the LOS 15.1 Treble or the Treble itself?

3. I need to use "treblize" command always when I will flash a new treble rom or just one time?

4. How do I install a normal ROM with my "treblized" device? Same old thing? (wipe data / system / cache's, install zip, etc ...?)

5. How to revert my treblized device?

6. Is there any danger of hard brick? If yes, what are the main care I should have?

7. Is there anyone using this as a daily driver? How is your experience? What bugs can I find? Does the camera work perfectly with the fix?

I'm sorry for so many questions... I really want to learn more about this amazing project!

Thank you for making this come true for our great device :)
[OnePlus 3 & 3T Cross Device Development] simonsmh:
Let me answer your question:

1. Flash newer version of GSIs, dirty flash.

2. LOS 15.1 Treble, and it will only happen on important feature update or upstream update.

3. No. Treblize just creates a partition from the unused part of your device.

4. As normal. They won't affect each other.

5. Unnecessary. You can do it yourself with the sgdisk command line tool.

6. Yes. As always, you can flash your device back with 9008.

7. Actually a lot. To be honest, it's my spare device, and I don't suggest you use it as the daily driver. Not really, it's just only usable.
[OnePlus 3 & 3T Cross Device Development] kryzeK:
Thanks! I think I understood everything, thankful for your answers.
[OnePlus 3 & 3T Cross Device Development] himsin:
A few more doubts from my side.

1. Your fixes for like usb hal and camera, are going to new vendor partition or in data/system? Will flashing any other GSIs e.g. pie based, continue to have these fixes?

2. Is it safe to flash other GSIs from other forums like op5? will it even boot? Will they be performing or behaving differently on our device?

3. In terms of stability, I see no one complaining about anything major. And it seems only video recording with OIS is not working. Then why is it just only usable in your opinion?
[OnePlus 3 & 3T Cross Device Development] simonsmh:
1. Vendor of course. Yes. Exception: Camera fix is in system/GSI image.

2. Probably yes, but it depends. You can try them and report it here which GSIs are working. That's how GSI works.

3. Just because I'm not satisfied with the current solution of camera for now.
[OnePlus 3 & 3T Cross Device Development] akashk07:
Till when we can expect stable and proper camera fixes?

---------- Post added at 10:44 PM ---------- Previous post was at 10:43 PM ----------

Also, won't we get the camera fixes if we'll flash any other GSI let's say any android pie GSI?
[OnePlus 3 & 3T Cross Device Development] PlayFriik:
1) I think he doesn't know when the camera will get fixed either (if ever?).

2) Every time you flash other GSIs, you have to reflash linkerfix.
[OnePlus 3 & 3T Cross Device Development] highdiver_2000:
Need proper drivers from Oneplus or a truck load of magic from developers
[OnePlus 3 & 3T Cross Device Development] airwolf1544:
Isn't there another phone with Sony IMX298 and treble out there, so we can get the proper camera Hal from this device?

Gesendet von meinem ONEPLUS A3003 mit Tapatalk
[OnePlus 3 & 3T Cross Device Development] mk_1996:
No coz oneplus uses their own hal