yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] Flynhx:
Yes you can flash this TWRP.img straight using Cofface's TWRP(that's what i did before), but don't forget to reboot to recovery after flashing the img. After that flash the attached zip file lazyflasher and your good to go.. About your second question, i don't know if there's some kind of shortcut to go straight to recovery(a simple single tap wouldn't matter anyway), as for lineageos, i haven't tried it yet so no idea, but imo i still prefer stock rom over custom rom for less bug free experience.

Tapped from my Redmi 4 Prime using XDA Legacy

---------- Post added at 09:00 PM ---------- Previous post was at 08:56 PM ----------

What i like about this new twrp is you can now mount/wipe system partition. Compare to cofface's twrp, you can't do those. [emoji3]

Tapped from my Redmi 4 Prime using XDA Legacy
[Miscellaneous Android Development] dels07:
You can flash directly from cofface by using install menu and press image button on right bottom to flash .img instead of zip
[Miscellaneous Android Development] Phlogistol:
Just wanted to say that this is the best recovery for Redmi 4 Prime. No bugs, no problems with mounting partitions, no hassle. Thank you very much, Anik_khan :)
[Miscellaneous Android Development] brenyoka:
Sorry for the noob question, but why lazyflasher is necessary? I am using MIUI global (v8.1.2). What happens if I don't flash lazyflasher? Just curious. Thanks.
[Miscellaneous Android Development] dels07:
Likely wont boot since official firmware need to verify dex-opt (it supposed to be installed in official xiaomi recovery). However xiaomi eu rom will work just fine.
[Miscellaneous Android Development] brenyoka:
Thanks. I am on official MIUI so I will flash lazyflasher as well.
[Miscellaneous Android Development] azizkaka:
any usb mtp bugs ?
[Miscellaneous Android Development] Flynhx:
MTP works great with no bugs in my case. I'm using xiaomi.eu btw.

Tapped from my Redmi 4 Prime using XDA Legacy
[Miscellaneous Android Development] azizkaka:
thank you

flash twrp done

now how to root ? plz links to download
[Miscellaneous Android Development] azizkaka:
no usb mtp after root

how to fix it ?
[Miscellaneous Android Development] azizkaka:
supersu v2.65 works without problem
[Miscellaneous Android Development] BJumperBR:
In my opinion, this is the best TWRP for REDMI 4 Prime. Everything works.
[Miscellaneous Android Development] Bajramo:
Can I backup all the partitions (EFS, boot, modem, system....) with this version of TWRP 3.0.2-0 Recovery for Redmi 4 Prime?

I need compete backup for my Redmi 4 Prime so I can restore my IMEI, modem and bootloader if I need to.

Thanks.
[Miscellaneous Android Development] zyasin:
same problem with me. have you fixed it?

[MENTION=6765079]Flynhx[/MENTION] i am on official 8.1.2. can you please let me know how to fix usb mtp after TWRP and root?

Edit: Just added these 2 lines to build.prop file and MTP worked again:

persist.service.adb.enable=1

persist.sys.usb.config=mtp,adb
[Miscellaneous Android Development] Anik_khan:
TWRP Recovery is now official for Xiaomi Redmi 4 Prime. I uploaded the thread as well with updated link. This is a pre release version. An official release will be there very soon.

Thanks :)
[Miscellaneous Android Development] Mithrandir107:
Thank you Anik_Khan!
[Miscellaneous Android Development] naifdamudi:
I had issue with restoring my backup in older twrp 3.0.2.0, phone was lock with different pattern than what i set.

Hopefully my backup is good and this version will recovery phone to my previous state without random locks.

Can explain different between this version and earlier 3.0.2-0 cofface version? i read here that very thing works in this version, but if you could please elaborate.

Thank you for your work. I would love to see more development in Redmi 4 prime.

can you
[Miscellaneous Android Development] brenyoka:
TWRP

3.1

is rolling out now. Would that be necessary for our Redmi 4 Prime, or this soon-official TWRP 3.03 is good enough?
[Miscellaneous Android Development] jessesam:
Can someone upload a flashable zip version of this file ?..since my computer has a hard time detecting and installing adb devices and drivers.
[Miscellaneous Android Development] dels07:
If you already unlock and rooted, you could try use twrp app/flashify from playstore. Else try to install minimal adb with driver signature verification off in Windows
[Miscellaneous Android Development] Cnorm:
My phone is currently using TWRP 302 by Cofface and running Lineages OS 13.1 ENCRYPTED.

Can I flash this recovery directly in Cofface's TWRP?
[Miscellaneous Android Development] dels07:
For safe do decrypt your data and backup partitions before you proceed. I haven't tested from cofface but from 3.0.2 Anik I could flash 3.0.3 recovery as image in twrp directly.
[Miscellaneous Android Development] Cnorm:
Thank you. I flashed this directly in TWRP 302 by Cofface and no problem. Device is encrypted.
[Miscellaneous Android Development] sas_sas:
Thanks [MENTION=6083514]Anik_khan[/MENTION],

Hi folks,

I would like to ask one thing;

After we connect device in fastbood mode and apply "TWRP.img" given here by ADB commands,

is it obligatory to reboot recovery at first instance before resetting device?

What root file do you suggest? so that not makes any trouble like MTP etc..
[Miscellaneous Android Development] adoduran:
Im in 3.0.2, is it okay to flash this?
[Miscellaneous Android Development] dels07:
It's okay, mostly fixes so many things on 3.0.2 build including encryption.
[Miscellaneous Android Development] thiagomtl:
Im using Lineage OS 13 but i cant access recovery by holding power + Vol+ neither from adb or power menu. Everytime i have to fastboot flash and fastboot boot twrp.img. Qhat im doing wrong? Redmi 4 Prime
[Miscellaneous Android Development] karl0190:
I think, using LOS you have to press VOL UP + VOL DOWN + POWER simultaneously, ie all three together. At least that's what I do.
[Miscellaneous Android Development] ardrift:
That happened with me also, but I have solved the problem by flashing the given .zip (lazyflasher) in the OP. Read the instructions again in the first post, and then you will be able to solve your problem.
[Miscellaneous Android Development] korgan2015:
Root instruction here http://en.miui.com/thread-394821-1-1.html

Works for me :good:

---------- Post added at 10:27 ---------- Previous post was at 10:07 ----------

Where is this buil.prop file, I could not find it :confused:
[Miscellaneous Android Development] korgan2015:
Can I flash the official ROM (http://en.miui.com/download-320.html) directly in TWRP just like I do with the others unofficial ROM, like CM or Lineage? Or to install the official ROM I have to use the updater?
[Miscellaneous Android Development] ryouza:
If you use twrp to install official rom Will install also official recovery and you Will lost twrp

Inviato dal mio Redmi 4 utilizzando Tapatalk
[Miscellaneous Android Development] korgan2015:
And if I do that, flash the official ROM directly in TWRP, do I have to flash the Gapps too? :confused:
[Miscellaneous Android Development] Bajramo:
No, if you flash the global rom Google Apps are included in the rom, but if you flash the china rom then you will have to flash gapps package.
[Miscellaneous Android Development] rabin69x:
After flashing i cant browse internal memory with usb when phone on. But i can browse from twrp via usb. Any solution? Plz
[Miscellaneous Android Development] Bajramo:
Can I backup radio firmware partition with this version of TWRP?

If I can then how?
[Miscellaneous Android Development] adoduran:
Is it okay not to flash lazyflasher in lineage OS?
[Miscellaneous Android Development] bacitoto:
Working fine, why doesn't this have more visibility? Everyone's gonna flash Cofface TWRP or some other variant

edit: Tried to copy a file from internal memory to external sdcard via twrp file browser and it got stuck

edit2: maybe it worked not sure but it sure took along time
[Miscellaneous Android Development] korgan2015:
I did install the official ROM from TWRP and did not lost TWRP recovery. Everything went fine so far :good:
[Miscellaneous Android Development] cimdrap:
why should i flash lazyflasher? Is there not the DM-verify option in TWRP?
[Miscellaneous Android Development] sas_sas:
what about recent TWRP 3.1.x ??
[Miscellaneous Android Development] dels07:
Only in 3.1.0 onward

---------- Post added at 01:08 AM ---------- Previous post was at 01:00 AM ----------

Cofface and brigudav have one already, refer to 1st post

https://w3bsit3-dns.com/forum/index.php?showtopic=783994
[Miscellaneous Android Development] cimdrap:
I can't get it from 4pda. It results in 404 error. Can someone leave a mirror for twrp 3.1.0 markw here?
[Miscellaneous Android Development] Bajramo:
I want a version from [MENTION=6083514]Anik_khan[/MENTION]

Its the best I have used so far.
[Miscellaneous Android Development] vandebergz:
Is backup working correctly with this build? No unable to unmount /system error?
[Miscellaneous Android Development] cimdrap:
Brigudav version is perfect with useful tools for xiaomi devices
[Miscellaneous Android Development] Norbosz:
+1

I have this problem too, I can not download ... error 404. Can someone link?
[Miscellaneous Android Development] cimdrap:
First page of Razziell Mokee rom thread
[Miscellaneous Android Development] h4waii:
Here is a stock TWRP 3.1.0 -- this is not built by brigudav, doesn't include other Xiaomi partitions.

https://filetea.me/#n3whXnUVAxFSxOepadfjH3EqQ

If someone else has that build, they should upload and share it.
[Miscellaneous Android Development] kujawek:
After fastboot flash recovery twrp-3.0.3-0-markw.img I would also add Fastboot boot twrp-3.0.3-0-markw.img to boot in TWRP. I couldn't boot to TWRP using Power + VolUp buttons.
[Miscellaneous Android Development] cimdrap:
You have to use vol down+ vol up + power button all together
[Miscellaneous Android Development] no14me:
https://build.twrp.me/twrp/twrp-3.0.3-0-markw.img

Link issue: 404 Not Found
[Miscellaneous Android Development] DShot92:
Is it stable?
[Miscellaneous Android Development] senseii:
download link not working and wasn't able to find it on the official twrp site. any mirrors?
[Miscellaneous Android Development] dangquoctrung123:
Add Lenovo A328 please, using the offical app but the model can't be find, internet only have unstable 2.8.0.0/2.8.1.0.
[Miscellaneous Android Development] dels07:
Wrong thread this is for redmi 4 prime
[Miscellaneous Android Development] sas_sas:
Hi folks,

When I flashed eu roms with twrp I stuck on MI logo, why?
[Miscellaneous Android Development] dels07:
You need to disable dm-verity check when install miui based rom otherwise it would not boot
[Miscellaneous Android Development] gorgeousjorge:
Download link not working.

Use this:

en.miui.com/thread-485732-1-1.html
[Miscellaneous Android Development] ciubsy2004:
Failed

Won't let me install lazyflasher.Please help guys

---------- Post added at 08:38 PM ---------- Previous post was at 08:22 PM ----------

Flashed latest supersu zip
[Miscellaneous Android Development] Bajramo:
I can't believe that you are still using this outdated version of twrp. You should use the brigudav's version of twrp from 4pda.ru. It's the best version for redmi 4 prime, it's feature rich and it's regularly updated. It's backing up all the partitions and has built in option for disabling dm verifying and built in root and unroot option.

Check it out

https://4pda.ru/forum/index.php?showtopic=783994&st=0#entry55543588
[Miscellaneous Android Development] [Jaco69]:
I am not able to download, any mirror or suggestion?

Inviato dal mio ONEPLUS A3003 utilizzando Tapatalk
[Miscellaneous Android Development] Bajramo:
Here you go

http://cloud.tapatalk.com/s/5958b20c8b28e/markw-twrp-3.1.1-0.zip

Download the archive to your Pc, extract it with winrar and flash the .img file in fastboot mode.
[Miscellaneous Android Development] [Jaco69]:
Ok, thanks

Inviato dal mio ONEPLUS A3003 utilizzando Tapatalk
[Miscellaneous Android Development] Bajramo:
Its not a new version from anik, its from a Russian guy Brigudav. Anyway I think it's awesome

---------- Post added at 09:10 PM ---------- Previous post was at 09:08 PM ----------

He is always keeping it updated
[Miscellaneous Android Development] InterFelix:
Download?

The Download Link for the Recovery is invalid, gives 404, new one?
[Miscellaneous Android Development] Bajramo:
Use this one

http://cloud.tapatalk.com/s/5958b20c8b28e/markw-twrp-3.1.1-0.zip
[Miscellaneous Android Development] davidnw:
I got an error using this. I got and error 7. Which said this. " distribution is for markw but this device is .". That is an empty device name. I had to edit the install script to remove the test. So the error is either TWRP did not return the device name to the script code was wrong.

A second question. I have installed Dotos 3 on my phone. I tried to use TWRP for a backup on the newly installed system. I got an error message that /data partition could not be mounted. Is there a way around this. I assume it is to do with encryption.
[Miscellaneous Android Development] grufflehead:
Did you find a solution to this? I'm getting the same error 7 and unable to mount /data.
[Miscellaneous Android Development] silver2004:
[MENTION=3384407]davidnw[/MENTION]
[MENTION=10135911]grufflehead[/MENTION]

You have probably figured that out by now, but if not - this may help.

I remember having similar problem (with /data encryption) on newer Redmi (probably 5 Plus)

and the solution with flashing OrangeFox Recovery helped.

Haven't tested this on Redmi 4 Prime yet, but just saying, it might help.
[Miscellaneous Android Development] grufflehead:
Thanks for the update. I didn't get anywhere and in the end, having wiped my phone about 4 times, I got fed up and just accepted what I was left with - a phone that works and does most of the things I need, but not rooted and gimped for updating non-Play store apps. Has actually put me off Xiaomi when I do come round to getting a new phone eventually.
[Miscellaneous Android Development] thumos2:
After installing standard MIUI, the phone got stuck on MIUI logo. When in Fastboot (volume down + power), the phone is not identified by XiaomiToolv2. Cannot launch TWRP either (volume up + power) - it just won't start.

I also tried getting the phone discharged (so it goes off), plugging it to a charger and trying these key combinations but to no avail. I think I did not install Lazyflash because I didn't know I have to.

Could someone help?
[Miscellaneous Android Development] silver2004:
[MENTION=10355421]thumos2[/MENTION]

Yea, been there, forgot to flash "lazyflasher-no-verity-opt-encrypt.zip" ,

what saved me is official MiFlash and flash fastboot image
[Miscellaneous Android Development] thumos2:
[MENTION=8064291]silver2004[/MENTION] Thanks!
[Android Apps and Games] iDmix:
Hi. I have few chess apps on Google Play and now i want to represent one new chess game. Feel free to contact me if you have any question,review exchange etc :D

Description:

Play this classic chess game and defeat opponent using your tactic skills. Improve your strategy and become great chess master!

Game Features:

★ Eye pleasant game graphics

★ Simple and intuitive interface

★ Six AI difficulty levels

★ Step back function

Google Play Link : DOWNLOAD
[XDA Assist] udayvyas1:
i was about to clear all dat using twrp recovery i saw the option remove system files i tried and now the system files of my infocus m370i android is gone, after that tried multiple roms didn't worked.. now my phone working in fastboot mode..i can run twrp recovery..need some rom or advice to start my device
[XDA Assist] sawdoctor:
Greetings and welcome to assist. I found this thread that has links and a guide to flashing a stock rom for your device which should solve the issue

https://xdaforums.com/android/help/infocus-m370i-stock-rom-required-t3267558

Good Luck

Sawdoctor
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Shreps:
Android. Infused with magical unicorn bytes

The unicorn eats nougat and farts rainbows :D​

Hi,

Here is AOKP 7.1.1 for the Moto Z - XT1650

Requirements:

- Unlocked Bootloader

- TWRP 3.0.3+ recovery (I recommend my uptodate version)

How to install:

From stock

Copy the ROM zip on your phone

Reboot in TWRP Recovery mode

Backup your phone!

Format/Wipe system, cache, dalvik, data

Flash/Install ROM

Flash Install Gapps (OpenGapps ARM64 7.1 Mini or smaller is recommanded)

Reboot

Upgrade from previous build

Copy the ROM zip on your phone

Reboot in TWRP Recovery mode

Format/Wipe only cache, dalvik

Flash/Install ROM new build version

Reboot

Official builds:

https://basketbuild.com/devs/aokp/griffin

http://xfer.aokp.co/?developer=AOKP&folder=griffin

Unoffical & beta builds Downloads:

https://moto.shreps.fr

XDA:DevDB Information

[ROM][OFFICIAL][7.1.2][griffin] AOKP-ROM - Moto Z | OMS/Substratum, ROM for the Moto Z

Contributors

Shreps, vache

Source Code: https://github.com/AOKP/device_motorola_griffin

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.10.x

ROM Firmware Required: Unlocked BL, TWRP 3 Recovery

Based On: AOKP

Version Information

Status: Nightly

Stable Release Date: 2017-02-14

Beta Release Date: 2017-02-03

Created 2017-02-03

Last Updated 2017-04-18
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Shreps:
Credits

- Special huge thanks to [MENTION=1829889]vache[/MENTION] and [MENTION=6298645]erfanoabdi[/MENTION] who bringup the device tree :)

Changelog

- Check the AOKP gerrit for the ROM changes: http://gerrit.aokp.co/

This ROM now implements OMS.

What is OMS ?

OMS: (Overlay Manager Service) was designed by google. It's a layer/theme service which is used by Substratum: https://play.google.com/store/apps/details?id=projekt.substratum&hl=fr

So basically, if you install Substratum, you will be able to apply any theme on the ROM UI because OMS has been implemented.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Shreps:
Issues/What's not working:

- SeLinux in permissive mode, needed for Moto Mods dev

- Moto Mods not fully compatible ATM (WIP)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] silvercat:
Thanks for the rom :).. Does is it support moto mods?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Shreps:
It's fully based on [MENTION=1829889]vache[/MENTION] 's work, Moto Mods will come in time if you can provide us logs and report ;)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] rakee:
Wow ,next steps,will port RR,AICP,XPerience? :laugh::laugh:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] mba1973:
hi..

tested and all works so far.

great job.

btw. ths is the first rom with charging light, but not for notifications.?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] sam564:
Unable to use this rom, can not find any wi-fi network Wifi-Mac is shown as 02: 00: 00: 00: 00: 00
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Shreps:
What's your variant? Have you upgraded your phone to the Nougat firmware before flashing this ROM?

Can you provide logs?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] i23u8:
Similar to the wifi fix when flashing the turboz kernel, some line with insmod /system/......wlan.ko you can find the whole command in the kernel thread.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] rakee:
Rom is good !Thanks!!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] kuruptnation:
I'm about ready to ditch stock 7.0 because of the horrible battery life I'm getting. But I definitely need Moto mods as I have most of them.

I will be watching this progress with anticipation!

We finally have some choices starting for this phone!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Deleted member 5862960:
Moto Mods already work with Lineage OS and AOKP afaik
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] mba1973:
Hi.

flashed the latest Version 06.02.2017. this one breakes the fingerprint. so, if anyone needs that, don't flash.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Shreps:
Hum, might because we switched to enforcing cc [MENTION=1829889]vache[/MENTION]

You might try to set Selinux to permissive
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] mba1973:
tested, but the option to set a fingerprint is not there. View attachment 4031708
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Shreps:
Ok, I will check, rollback to the 02-05 build for now ?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] mba1973:
i will stay at this version. it's not a big deal for me.

anyway, thx for your work.

keep up the good work.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
On 2017-02-06 working very well
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Shreps:
Today build is back to permissive mode, so should fix FP issues and Moto Mods issues with the Mods service
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Shreps:
Yeah, I pushed based on Erfan trees.

Feedback are welcome guys! Let me know how AOKP Oreo is running on your device!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Edmontonchef:
Moto mods manager takes a while to kick in. The battery percentage shows 0% when battery mod removed.

Thank you for your work
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] impassibile:
Please update the rom Android 10
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Barisci:
Thank you
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] mba1973:
i will Check later and give feedback..

thx
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] mba1973:
Hi

can confirm that FP works.

thx
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] muntaha_v3:
Moto Mods still don't.

Help me send you a log pls

Edit: I think ifnyou update moto mods manager to 4.7, my JBL soundmod will work. Can you pls give it a try?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
I'm experiencing low speaker volume on telephone calls when using the speakerphone. I am on the aokp_griffin_nougat_beta_2017-02-07_1014 build. Can someone confirm?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] rakee:
battery mods working for me in aokp_griffin_nougat_beta_2017-02-07_1014 build, but the internal storage capacity is incorrect
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Is the battery mod working natively or did you install additional software?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] rakee:
Yes ,rom own moto mod manager. it's working for me. but Efficiency mode does not working. and can't see the percentage of the battery mode.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Shreps:
Today build should be kind of latest unofficial, next week official AOKP for Moto Z should rollout!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] xamindar:
You really need to list what DOES NOT work in a custom rom. Specifically when a core feature such as moto mods are not even working.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Shreps:
yup, updated post #3
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] D13H4RD2L1V3:
How's the included kernel?

I presume it disables both forced-encryption and dm-verity, right?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] silvercat:
This rom is based on AOKP so u need not worry about that.. It is only required for stock rom
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] liviumustata@yahoo.com:
thanks for the ROM!

I can test all the mods; only the battery works for me.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] D13H4RD2L1V3:
Thanks!

Guess I won't have to worry too much when I decide to flash a ROM the moment support winds down for this device, which, knowing Motorola, will be pretty soon.

Was kinda weary with mine, after getting a "System partition failed to recover" error in the stock recovery, but after a complete firmware reflash and Nougat factory image flash, all is mostly well, apart from some usual software bugs.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] liviumustata@yahoo.com:
I tried to install moto z camera apk, but give an error: "camera error. restart camera". any solution? thanks
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Shreps:
Try to remove /system/framework/com/motorola.camerabgproc.jar file

Reboot

And Moto camera might work.