yashsingh1/xdaforums huggingface dataset:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
The password is your unlock password however if you type it in it will say unable to decrypt device you need to format data

If you have encrypted the phone before switching to ext4 will create this error

I think I'm the only person who has never had this segmentation error

I use lineageos with the lineageos root addon & Iv never had a problem with any root access including freezing apps etc
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mrfrantastic:
I have never encrypted the phone so I guess it is encrypted from factory? Since I didn't encrypt the phone in any way I don't have an unlock password, right? Might reformatting /data work?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
It should be the same as your screen lock code

But yes formatting back to f2fs will solve it
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mrfrantastic:
I meant reformatting again as ext4.

Btw: I don't have or ever had any screen lock code except pattern swipe. This is why I was so stumped by the request for a password.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
You can try but Iv not been able to boot my device using ext4 data due to that problem

If you can't work it out just format back to f2fs
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] andyro2008:
Our TWRP can't decrypt data partition, you will always get password error. If your device is already encrypted there is no way back without wiping data partition. In order to do so, you need to enter in format data and type yes. After that you can modify the file system again.

To avoid data loss you can create a backup to a pendrive using Flashfire. If you restore the data it will be unencrypted, but it will encrypt automatically at the first boot.

You need to open and close Flashfire app until it gets root due the segmentation fault. What is your exact phone model? It's 3gb? From Amazon?

Enviado desde mi Moto G5 mediante Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mrfrantastic:
Yeah, it is. We already talked in the AOSiP thread :) I thought maybe the segmentation problem can be circumvented with a different filesystem. But it seems you already tried that.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] andyro2008:
I'm looking for a pattern behind this problem. Can you specify your exact phone model? Ram? Where do you bought it? One or double SI

I'm suspecting of the Amazon 3gb exclusive version, mine is 3gb ram, battery removable, double sim.

Enviado desde mi Moto G5 mediante Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mrfrantastic:
It's a ZY322584M3. Bought via Amazon marketplace in Germany. 3 GB Ram, battery removable, double din.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Mine is

XT1675 (UK retail sim free)

2gb ram

Single sim
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] andyro2008:
So far only the 3gb double sim appears to be affected.

I created a new thread in discussion forum to centralize all the info related to the Segmentation fault. And to stop creating offtopics. Please share any info there:

https://xdaforums.com/showthread.php?t=3682734

Enviado desde mi Moto G5 mediante Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
[MENTION=5480061]Santhosh M[/MENTION]

What changes need to be made in order for the data to be decrypted

Iv downloaded the source code (twrp 3.1.1-0 with omni tree and your twrp device tree) so if you are able to tell me what changes need to made I can make them, compile and test it

So far im at the same stage as your build - twrp 3.1.1-0 works but can't decrypt data
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Santhosh M:
Ping me in hangouts if possible (sansans90@gmail.com)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
just messaged you
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
[MENTION=5480061]Santhosh M[/MENTION]

Just so you know I have twrp able to decrypt data now thanks

Im just going to test it out as I did on a clean build so im just restoring my backup then i'll encrypt it and make sure its accessable
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] andyro2008:
Geniousss!!!!!!

Enviado desde mi Moto G5 mediante Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] floydburgermcdahm:
:good::good::good:

If you need more people to test it let me know...otherwise I am just looking forward to the new TWRP! :D
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
iv just uploaded the source to github - give me an hour or so and it will be released
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Santhosh M:
Cool. No issues :)

Link me up the recovery and i will add it to OP download link :)

Regards

Santhosh
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
here you go

TWRP 3.1.1-0 Cedric.zip

source

https://github.com/Theitfixer85/android_device_motorola_cedric

note if you are going to encrypt I dont think it shows the android is now encrypting logo - it just stays on the boot animation - depending on how much data you have will depend how long it takes for the phone to boot - Do not restart your phone or you will loose data

Make a backup first!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] floydburgermcdahm:
Works fine for me, thank you!! :laugh:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Santhosh M:
New build available

Hi all,

New build link has been updated in OP.

Changelog :

Encryption works with this release

TWRP 3.1.1-0

Regards

Santhosh
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
Doesn't flash!?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mrfrantastic:
Extract zip, then flash .img in twrp.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
read instructions

unzip the zip

put phone in fastboot mode

in a command prompt window where you have fastboot and the recovery.img file type

fastboot flash recovery recovery.img

recovery.img is the name of the recovery file - change the command if the file has been renamed to the name of the image file
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mrfrantastic:
Flashing via twrp shouldn't make a difference, should it?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
well unless you put it in a flashable zip and wrote and updater script how did you flash it?

unless the twrp app allows you to do this iv not tried it

you will know if its flashed as the version number will be 3.1.1-0 on the splash screen when you enter twrp
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mrfrantastic:
Yeah TWRP let's you flash .img directly. Instead of "Install Zip" just chose "Install Img". Did this many times without problems. Version number has also changed.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] andyro2008:
It's working perfectly, but I have a question. Should it ask me the password? It's decrypting without me imputing my password. Evidently is my fault, but what I'm doing wrong in order to secure my device a little more?

Enviado desde mi Moto G5 mediante Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
If you have set a lock screen password (pin) then it should ask you for the password
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] andyro2008:
A pin was set, but it wasn't configured to be asked at boot-up time. I didn't know that. Thanks for your help.

Enviado desde mi Moto G5 mediante Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
I have added a guide on how to compile twrp in case anyone wants to compile from my device tree in the future

It assumes you know the basics of github and that you already have things like java, sdk etc installed

https://github.com/Theitfixer85/android_device_motorola_cedric
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] manoloyloles:
At what point of the process exactly? Before first reboot and after falshing TWRP, I imagine... :D
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] woozie.2007:
So, guys, with the latest twrp, its still necesary to flash dm verity or not? how is the best procedure to root without change system partition? format data or swipe to allow modifications or factory reset or what? :) Thank you
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eboelens:
Hello guys I have a problem : flashing the recovery.img gives me a

writing recovery 'image not signed or corrupt'

I'm still in stock recovery I think

flashing the build gives me also a signaturen failure

any idea please ?

kind regrads

erik

---------- Post added at 12:54 AM ---------- Previous post was at 12:37 AM ----------

after several minutes:

it is OK I found the solution in the forum
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] denisf1981:
Dons't work on moto g5 xt1672
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] andyro2008:
The image is not signed, that is correct. Only stock recovery will be correctly signed by Lenovo.

However, that is not an impediment for the custom recovery to work. Have you even tried boot into recovery?

Enviado desde mi Moto G5 mediante Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] jobinrjohnson:
Its only a warning. Your new recovery have been flashed.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
That is the correct output

There is nothing wrong with that image what so ever

The recovery flashed successfully - It would say fail instead of ok if it didn't flash

Go into bootloader and from there select recovery
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Santhosh M:
Read OP once and it has answer to ur question
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] woozie.2007:
I read it, but i am confused, please tell me short how its better to do, in few words if you can, thank you
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
If you use stock with stock kernel flash dm-verity zip or root zip that disables this

Custom rom with custom kernel you don't need to

Swipe to allow to allow modification of system - if you want to flash a zip to system this is required
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] woozie.2007:
Yes, i amnfull stock rooted, but i am confused with encryption, the phone will be encrypted after modified partition or not?

I only want to install twrp and magisk, without modif the partitions
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
That's impossible

You can flash twrp & revert back to stock recovery without issue

Flashing magisk will obviously modify the system

Flashing anything will change that partition - that's the whole point in flashing something - you are changing files on the partition to which you are flashing

To check if you are encrypted or to encrypt goto your phones settings & select security
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] woozie.2007:
It is not encrypted now, but to be sure...after flashing twrp, must swipe to allow modif? Or format data? How its better to have stock and get ota(after restore boot.img, of course)?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
No you do not need to wipe data

You need to swipe to allow if you want to flash any zip to system

You will not be able to flash ota updates the conventional way

OTA update requirements

Stock recovery

Totally unmodified system partition

If you want to flash ota you would need to flash stock firmware via fastboot

If you are modified you can try using the flash fire app (requires super su or set selinux to permissive if using another su)

Please don't ask how to use it - its on the playstore
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] woozie.2007:
Ok, thank you very much
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] denisf1981:
thank you guys
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] woozie.2007:
the last question, please, i promise :)

I am stock rooted with magisk, how can set selinux to permissive? or magisk do that? I tried to understand what is the difference beetween twrp 3.1.0.0 and 3.1.1.0, why its better, that's the reason for these many questions. I thought with this version the phone can remain untouch and i can update ota, but seems to be not right
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
There is no difference between the two versions other than what is on the twrp changelog & the fact that with files I got from Santhosh M I compiled a version that supports data decryption

The whole point of a custom recovery is to flash zips which modify the system & to make backups - you can never flash an ota with a modified system and custom recovery the conventional way

There are plenty of apps on the playstore that can set selinux status to permissive if certain apps require it (requires root)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] woozie.2007:
ok sir, thank you again
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Twist79:
Guys I got a little problem. I used this recovery and AICP for my Moto G5. If I tell my Phone to reboot...no matter if from off, Recorvery or System it reboots to recovery...not system. I can only boot System from fastboot mode.....

Kinda strange....

could you give me a hint how to fix this?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] p8tgames:
Go into fastboot and type:

fastboot oem fb_mode_clear

And try again. :)

Hope this helps you.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ShiroYahel:
Same problem here, whenever I try to reboot from system, recovery and turning on, always boot into recovery. The only way I can boot into system is from the bootloader or through fastboot. Not a big issue, but it's kinda annoying.

I tried, but it didn't work.

Sorry for my English.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] p8tgames:
Hmm. Idk anymore lol
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ATechnoHazard:
Yes, your boot priority is messed up. Flash stock using RSDlite, and this issue will be fixed.

Hope I helped!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ShiroYahel:
Don't worry. :)

I'll try it. I need the stock firmware, right? I can't find it for my model.

Thanks for the help. :D
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] p8tgames:
No Problem. Do you have the RETAIL or AMAZON model?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] jobinrjohnson:
You can find it here https://mirrors.lolinet.com/firmware/moto/cedric/official/
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ShiroYahel:
It's LATAM model: XT1671. The latest security patch was from May. I was searching for it, but I couldn't find it.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] p8tgames:
Here he already snent. Select RETAIL.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ShiroYahel:
RETAIL it's XT1677 model, and it's from March. It'll will work on XT1671?
[Meizu Pro 5 Questions & Answers] HARRY4499:
Dear everyone,

I'm now using RR-7.1.1 rom and it's fantastic. But now I've found one problem.

The original setting of preferred network type is WCDMA preferred. Then I changed to LTE/UMTS auto (PRL).

But once I restart the phone, the setting just went back to WCDMA and I have to change it again.

Do anyone have good ways to lock the setting ?

Thanks.
[Meizu Pro 5 Questions & Answers] XeoNoX:
this works on both single and dual sim and the settings will "stick" after reboot... requires root

https://xdaforums.com/galaxy-s4-sprint/general/how-to-fix-network-signal-gsm-sim-t3720534
[G4 Q&A, Help & Troubleshooting] chris_Leb:
Hi, I have an unlocked H815-EUR that bootlooped last summer under warranty. I sent it for repair and got it back in August​. Since then, I didn't received any update. I'm on v20g-EUR-XX, and when I check if an update is available, the message says "not yet updated". Now, I wonder if they locked the updates as part of the repair, because before the bootloop issue, I was receiving updates regularly. I also tried with LG bridge but no updates available...

Chris

Envoyé de mon LG-H815 en utilisant Tapatalk
[G4 Q&A, Help & Troubleshooting] popy2006:
When ill remember right, there is no new version for the EUR.

But just backup a full dump before unlock bootloader and you are good to go :)

pOpY
[G4 Q&A, Help & Troubleshooting] zekerijah:
I wouldn't say we're locked out of the updates, but something 'smells'. :) My original g4 (h815) bootlooped and MB was replaced. It came with 20g software, and as I was not happy with battery , I downgraded to 20d. Now when I check for updates it says I'm using the latest version. :) Latest my a**. I know I got updated from 20d to 20e on my original g4.
[G4 Q&A, Help & Troubleshooting] TheMadScientist:
Lol im sorry. Ure about the first person ive seen get there phone back from lg and want updates. Everyone else is mad because lg updated there phone and wants to downgrade.
[G4 Q&A, Help & Troubleshooting] chris_Leb:
We'll, actually I don't mind getting the security updates. And if ever LG deliver Nougat, I would consider upgrading... Provided early adopters​ confirm it's a good release ?.

Envoyé de mon LG-H815 en utilisant Tapatalk
[Mate 8 Q&A, Help & Troubleshooting] Paradox212:
i have an mate 8 NTX-L29

i want to change my Build NXT-C900B180 to C185Bxxx

i try to flash i have error message

dload method don't work

TWRP method don't Work

Fastboot don't work

i need help

Thanks
[Mate 8 Q&A, Help & Troubleshooting] Pravab:
I am having the same problem.

1) I am able to flash twrp but dont have any links to the flashable zip ROM that works for NXT-L09c636.

2) Dload method doesn't work tried with most of the firmware all says version incompatible even the stock firmware!!

3) bootloader flash doesn't work as well _____

target reported max download size of 471859200 bytes

sending sparse 'system' 1/6 (451548 KB)...

OKAY [ 15.501s]

writing 'system' 1/6...

FAILED (remote: sparse flash write failure)

finished. total time: 15.532s

Out of options, Help please...
[Amazfit] Cracklydisc:
In CN version you can active the app list in the watch, if you have not already enabled "Launcher App List", go to "More Settings" -> "About" -> Keep clicking legal information till you see countdown to zero. Once that is done, you will have the Lab link below. Click on Lab and select "Launcher AppList". This will restart your Launcher. Now go to the Right most app from your watch face, you will see the Launcher.

This method allows you to activate the app list also on the American versions so as to use the third-party app!

Connect the watch to your computer via USB and access via ADB (install ADB Drivers as needed)

Open command prompt or shell

Enter the commands :

adb shell
> /sdcard/launcher_config.ini
am force-stop com.huami.watch.launcher

After Launcher restart you can go to the Right most app from your watch face and you will see the App List.
[Amazfit] dieterhaack:
Thank you very much! US firmware 1.3.1, this did work. I was able to install and use AmazfitCNTimer.apk without installing Chinese firmware.
[Amazfit] matthews1977:
# SEE EDIT!

On 1.3.1m watch model a1612 your instructions return:

adb shell
* daemon not running. starting it now on port 5038 *
* daemon started successfully *
root@watch:/ # /sdcard/launcher_config.ini
/sdcard/launcher_config.ini
/system/bin/sh: /sdcard/launcher_config.ini: not found

Further, if I proceed to force-stop the launcher does restart but of course there is no app launcher as expected.

# EDIT

Just realized I needed to include the '>' to create the file. I'll take noob mistakes for 500, Alex.
[Amazfit] vador1967:
Hello

On 1.3.2b, it does'nt

c:\adb shell
shell@watch:/ $
[Amazfit] Cracklydisc:
After adb shell command you need to write this command:

> /sdcard/launcher_config.ini

am force-stop com.huami.watch.launcher
[Amazfit] vador1967:
Hi

I know this and I've tried.

It doesn't work

I've the US 1.3.2b version
[Amazfit] Cracklydisc:
mmm

you can open with explorer the watch and create the "launcher_config.ini" file .

After the file creation you need to restart the watch, can you try this method? :)
[Amazfit] vador1967:
Ok

I've created the file (empty) et placed it in the root of Amazfit

I enter in CMD the adb shell : it indicates a wrong way
[Amazfit] Cracklydisc:
after the file copy you only need to restart the watch and look if the applist is active :)
[Amazfit] vador1967:
Hi

Not yet.:confused:
[Amazfit] kokabunga:
Worked for me on 1.3.2b

Please, don't forget to type ">" after the "shell@watch:/ $" prompt ; it makes all the difference
[Amazfit] eaknod:
My Amazfit model A1612 Fw1.3.2b

I open Lab manu in about manu

Before lab maun in open I follow code commands

it works
[Amazfit] vador1967:
Ok

It works

Thanks a lot
[Amazfit] Noreg96:
So this allows you to open almost any sideloaded apk installed on the watch?
[Amazfit] fzelle:
It allows you to open all sideloaded apps.

BUT IT DOESN'T MEAN THAT ALL APPS WILL WORK.

It's only the app starter.
[Amazfit] spino1970:
Are you sure you installed correct drivers?

For me that was the problem :)
[Amazfit] mclaudio:
question

works...

but then can i install new APK? is it possible with 1.3.2b non rooted?
[Amazfit] spino1970:
Hello there. I was using this metod on last 1.3.2b update and it was working.

Now i've received 1.3.3a, that should have app list by default.

But it desapparead from the watch, and also using this method, i have no more app list.

any idea?

PS:

Amazfit PACE US
[Amazfit] areynoldsnz:
Jun 2017 firmware 1.3.3a was supposed to include the app list as a feature.

I tried to enable it by going in to the menu > About > Legal and tapping 5 times but there was no app list in the new Lab menu.

So I tried the adb shell command and it worked.

To reverse this, do we just delete the launcher_config.ini?

Also, I tried to pull that file and look at it but couldn't:

adb pull /sdcard/launcher_config.ini c:/temp

Got no errors, but got no file in C:\temp.
[Amazfit] spino1970:
For me didn't worked... Maybe because i've activated it on 1.3.2b with adb?

---------- Post added at 07:32 PM ---------- Previous post was at 07:17 PM ----------

I've also tried, on 1.3.3a but still not work...
[Amazfit] areynoldsnz:
What happens if you go to the app on your phone and deselect one of the data widgets, for example, the alarm. For me this moved the alarm to the app list on the far right when swiping right to left.
[Amazfit] spino1970:
GOTCHA!

How you discovered it?

I mean, is it not user friendly! :D
[Amazfit] areynoldsnz:
Yeah, it's not obvious. I discovered it by chance.

I don't have all the apps on the watch showing in that list at the moment. I did the first time I enabled the app list with the ADB command. I think I deleted the configuration file and could then only see the calculator app and timer app I got from XDA forums.
[Amazfit] babaroga73:
1.3.3.a version it worked!

Segway to a [n00b] question, my winXP PC doesn't even recognize Amazfit when connected !

Can't even transfer simple music files, let alone clockfaces or apps.

Is the ADB Driver for XP possible and related to this, and can it fix this simple task (and more) ?
[Amazfit] fzelle:
This has nothing todo with ADB.

ADB is ANDROID DEBUG BRIDGE.

You need a MTP Driver for Windows https://www.microsoft.com/en-us/download/details.aspx?id=19153
[Amazfit] babaroga73:
Thanks, I installed it , and it now passes that stage of recognizing new hardware device, but gets to "Found new hardware : AmazfitPace" , but then won't install nothing on that part. Any ideas ?
[Amazfit] dbpaddler:
Why are you still on XP? Didn't they give you a free upgrade to win 10? Or a cheap one? I forget now.
[Amazfit] kwet:
Hi,

Do you have a link to download the calculator application for ma watch Amazfit CN rom Pacefied ?

Thanks
[Amazfit] Diginix:
Why are you not using the search?

Here it is: click
[Amazfit] siba01:
Where can I download this apk? Thanks

Enviado desde mi Mi-4c mediante Tapatalk
[Amazfit] Kyusaku:
Is this app list different than the one that turns on when you grey out stuff in "Widget and App Management" on the Amazfit phone app?
[Amazfit] Diginix:
No, it is the same.
[Amazfit] spino1970:
yes, because you can find in it some system apps...

No, it is NOT the same.

For sure non on US version