yashsingh1/xdaforums huggingface dataset:
[Moto E4 Questions & Answers] Fussloseskriechtier:
Stock ROM used to repair bootloader

Hello!

In the meantime I actually deleted everything and flashed the Stock ROM on my XT1762.

After that, my Bootloader menue (RECOVERY MODE, FACTORY MODE, START, ...) appeared again... :)

I felt lucky and started the whole procedure again: use TWRP, backup, delete Cache, Flash custom ROM, delete Cache, restart... and finally, I got lineageOS 15.1 and CrDroid running on my phone.

Now I use CrDroid, because LineageOS 15.1 did not Support my SIM Card... ? However, I am happy with CrDroid: fast, slim, nice looking, ...

So in the end, it seems that I deleted a specific part in my Flash which caused the "boot Loop". But I could repair it by flashing the Stock ROM again.

Thanks guys, you're doing a good Job!

Buy!
[Moto E4 Questions & Answers] pancobe:
I'm also stuck in boot loop... What directories/files did you delete? Have backup of stock rom, but restore fails:

This /data backup was made with f2fs file system! The backup may not boot unless you change back to f2fs

Failed to mount /data (Invalid argument)

TWRP says that file system of /data is ext4. Not possible to change or repair the file system in TWRP with Wipe / Advanced wipe / Repair or change file system. Result:

Error changing file system

or

/sbin/e2fsck -fp /dev/block/mmcblk0p27 process ended with error: 8

Phone is always starting in TWRP ending with:

Could not mount /data and unable to find crypto footer.

Failed to mount '/data' (Invalid argument)

Unable to recreate /data/media folder.

Updating partition details...

Failed to mount '/data' (Invalid argument)

...done

Unable to mount storage

Failed to mount '/data' (Invalid argument)

Full SELinux support is present.

Unable to mount /data/media/TWRP/.twrps

MTP Enabled

In terminal no problem to create (mkdir) and delete directories.

Flashing of lineage 14.1 or 15.1 for woods ends also with:

Failed to mount '/data' (Invalid argument)

This command in TWRP terminal didn't work:

fastboot erase misc

erasing 'misc'...

FAILED (remote: Partition table doesn't exist)

There is no misc folder.

Any ideas?

Thank you in advance!
[Moto E4 Questions & Answers] frederickrl:
Just flash stock firmware with rsdlite, it's the simplest way to go. Then if you'd like flash your rom
[Moto E4 Questions & Answers] pancobe:
Thank you for the hint on rsdlite, didn't know the program! Unfortunately I have two problems, have only access to an old XP box (I'm normally on a mac), and rsdlite doesn't recognise the phone, driver problem presumably... And the program doesn't recognise the format of the backup I made with TWRP...

Is it possible to repair the file system on the phone via terminal? Or to delete parts of the system safely and reinstall the stock system? The other guy apparently did something like that. Or to unpack a custom rom and place the parts via terminal so it can install on next boot?

Thank you!
[Moto E4 Questions & Answers] pancobe:
Did following check:

mount /data

mount: '/dev/block/mmcblk0p27'->'/data': Invalid argument

e2fsck -n /dev/block/mmcblk0p27

e2fsck 1.42.9 (28-Dec-2013)

ext2fs_open2: Bad magic number in super-block

e2fsck: Superblock invalid, trying backup blocks...

e2fsck: Bad magic number in super-block while trying to open /dev/block/mmcblk0p27

The superblock could not be read or does not describe a correct ext2

filesystem. If the device is valid and it really contains an ext2

filesystem (and not swap or ufs or something else), then the superblock

is corrupt, and you might try running e2fsck with an alternate superblock:

e2fsck -b 8193 <device>

Would it be safe to rmdir /data and mkdir /data ?

Thanks...
[Moto E4 Questions & Answers] madbat99:
Rsdlite is not meant to install your twrp backup. It's for installing the official firmware package. And you need to install moto drivers of course.
[Moto E4 Questions & Answers] pancobe:
Yes, I installed the moto drivers, but there is a problem on the old box, the program didn't find the phone.

It seems to be a problem with the partition /data (not directory, I'm new to android). With:

mke2fs -n /dev/block/mmcblk0p27

you get:

mke2fs 1.42.9 (28-Dec-2013)

Filesystem label=

OS type: Linux

Block size=4096 (log=2)

Fragment size=4096 (log=2)

Stride=0 blocks, Stripe width=0 blocks

697632 inodes, 2787968 blocks

139398 blocks (5.00%) reserved for the super user

First data block=0

Maximum filesystem blocks=2856321024

86 block groups

32768 blocks per group, 32768 fragments per group

8112 inodes per group

Superblock backups stored on blocks:

32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208

Trying to fix the problem with all! superblock backups gives:

e2fsck -b 32768 /dev/block/mmcblk0p27

e2fsck 1.42.9 (28-Dec-2013)

e2fsck: Bad magic number in super-block while trying to open /dev/block/mmcblk0p27

The superblock could not be read or does not describe a correct ext2

filesystem. If the device is valid and it really contains an ext2

filesystem (and not swap or ufs or something else), then the superblock

is corrupt, and you might try running e2fsck with an alternate superblock:

e2fsck -b 8193 <device>

If you delete the partition, will a restore of the stock rom recreate the partition? Or should that be done by hand beforehand?
[Moto E4 Questions & Answers] madbat99:
Data is f2fs on moto e4. Not ext2.

You probably need an updated rsdlite, if that's what you're using. It sets the partitions. It's in the firmware.

There are some versions here

You still need the official stock firmware package.
[Moto E4 Questions & Answers] pancobe:
Had no luck, even after hours of locking after drivers and hints, to get running rsdlite in win with the phone. And didn't even find a stock rom with correct xml to flash it with the linux / mac rsdlite tool...

But got the data partition repaired with a simple command

mke2fs /dev/block/mmcblk0p27

Now TWRP restores the original stock rom, the problem left is to move the file system of /data to f2fs, otherwise it won't boot. With

mke2fs -t ext4 /dev/block/mmcblk0p27

it is possible to change it to ext4, but it fails with:

mke2fs -t f2fs /dev/block/mmcblk0p27

Your mke2fs.conf file does not define the f2fs filesystem type.

Aborting...

Other commands don't work also, eg fsck.f2fs, also TWRP.

Is there another command in the terminal to bring the data partition to f2fs?

Thank you...
[Moto E4 Questions & Answers] madbat99:
Since you repaired, have you tried wipe>advanced>format repair change filesystem in twrp
[Moto E4 Questions & Answers] pancobe:
Yes, I did... After dismounting /data... Didn't work...

Changing the file system to ext4 worked via terminal, so I thought there should be command also for f2fs...
[Moto E4 Questions & Answers] madbat99:
There probably is, I just don't know off hand.

But I think you need to keep data mounted while formatting in twrp.
[Moto E4 Questions & Answers] pancobe:
The OS should be able to format partitions with f2fs, but I didn't get it. But I found a small tool mkfs.f2fs and loaded it to /sbin on the phone. After "chmod 764 mkfs.f2fs" the tool formatted the partition with a simple command "mkfs.f2fs /dev/block/mmcblk0p27".

With the platform-tools installed for using adb and fastboot came also the files mke2fs and mke2fs.conf on my hard disk, but had no time to figure out the possible use, has anyone an idea?
[Moto E4 Questions & Answers] Joeykatie:
I twrp, flashed magisk , no verity then rebooted system and fixed my phone from stuck bad key screen .. all I did was a twrp restore and wasn't even rooted yet so idk what happen but thanks to who said flash magisk ect cause it wouldn't wipe anything g as well idk why..just wanted to that whoever said that will find post when I have time to thank properly
[Moto E4 Questions & Answers] madbat99:
They always say bad key when you unlock the bootloader. Just have to wait like a minute or so. And you flash no verity before magisk. Then bad key changes to n/a.
[Moto E4 Questions & Answers] Joeykatie:
Mine says N/A not bad key, it when it was soft bricked it would say bad key yet I unlocked threw there site so maybe that's why. All I see is na, also need to hold volume down and power then use volume to go to recovery then press power and it goes to twrp, volume up and power just boots(just a tip as it threw me off at first thinking twrp didn't go on right..

Thanks for the response
[Moto E4 Questions & Answers] madbat99:
Yeah that's how this device gets to recovery. You can also use a reboot app like this or rom toolbox from the playstore has a widget for advanced reboot options too.
[Moto E4 Questions & Answers] steevo398:
So I finally decided to register an account because I've read and I've read and I've found no help. So I'm having the same problem as the OP. Bad key/erasing boot loop. I tried to flash the stock rom with the rsdlite workaround posted here https://xdaforums.com/moto-e4/how-to/moto-e-guide-to-rooting-t3652982. Basically I turned the xml into a .bat file.

I can boot into TWRP, but I cannot flash anything because I can't move any files to my phone or SD. I'm worried I flashed the wrong stock rom but I'm pretty confident I didn't, although I have no idea to find out now.

Any help would be greatly appreciated
[Android Q&A, Help & Troubleshooting] FilMoviez:
Hi!

I am using Huawei Y6 II mobile and its Calendar does not show holidays in 2018. But it shows in 2017 according to my country. Plz can anyone help me to solve this?.

Thank you.
[Android Builders Collective] Msprg:
hi, i recently posted this thread:

https://xdaforums.com/galaxy-s4-mini/help/custom-rom-usb-debugging-enabled-t3764386

I am posting this here only to make wider range of people wich can potentially help me with this. Please take a look at it, and try to avoid replyes to this post. Please, reply only to the post provided on the link to avoid double questions etc...

Thank you!
[Xposed Framework Modules] paphonb:
Android P-ify Use features introduced in Android P on your Oreo device!

You want new features from Android P but don't want to use a developer preview, don't have a Pixel device or hate the circle QS icons? Then check out this module. It will add new looks from Android P to your Oreo device.

Features

- New qs design

- Moved clock to left side

- Force SystemUI dark theme when using static wallpapers (8.1 only)

- New rounded search bar and colored icons in settings app

- Toggle for all above features

- New app transitions

Screenshots

Because a picture is worth a thousand words and I'm lazy to write stuffs, so here they are.

Instructions

Download the APK from below and install it like other Xposed modules.

Changelog

1.0.0 build 101 (05/11/2018)
- Some new looks from P DP2
- Added alarm info in QS drawer
- Added cellular icon to carrier label
- Added rounded notification drawer style
- Added experimental vertical scrolling QS
- Added experimental P recents (requires Modded Pixel Launcher Q-4753642)
- Added translations for many languages
- New module settings design
- Use system accent color instead of Pixel blue
- Fixed QS drawer on many ROMs
- Fixed mobile data tile color
0.2.0 beta 40 (03/22/2018)
- Added circle qs tile background
- Added vertical qs (still buggy)
- Added alarm tile to replace clock click action
- Added Google Sans to some part of the UI
- Move battery percentage to the right
- Fixed crashes with many ROMs
- Fixed settings suggestion icon
- Fixed text in settings search bar when using dark theme
- Use SystemUI theme color for qs background
0.1.0 alpha 15 (03/17/2018)
- Fixed settings icon color
- Fixed 8.0 crashes
0.1.0 alpha (03/17/2018)
- Added new QS design
- Added left clock
- Added force dark theme
- Added new settings search bar
- Added new app transitions

Downloads

- View attachment 4449754

- View attachment 4450626

- View attachment 4454617

- View attachment 4498570

XDA:DevDB Information

Android P-ify, Xposed for all devices (see above for details)

Contributors

paphonb

Source Code: https://github.com/paphonb/AndroidP-ify

Xposed Package Name:

Version Information

Status: Stable

Current Stable Version: 1.0.0 build 101

Stable Release Date: 2018-05-11

Current Beta Version: 0.2.0 build 40

Beta Release Date: 2018-03-22

Created 2018-03-17

Last Updated 2018-05-11
[Xposed Framework Modules] paphonb:
Known issues

- Only support Oreo for now

- Weird settings icon on 8.0

This module might not work in heavily modified ROMs such as Samsung Experience, LG UX and OxygenOS and issues on those ROMs might not be fixed.

Snapshot builds

If you want to test out new features before they're released, there are currently 2 ways to get them.

- Join the telegram group @AndroidPify

- Go to the releases page on GitHub

Got issues?

First, please search on this thread and on GitHub repo to see if it is already reported to prevent duplicates. You might even find a fix while searching too.

If you can't find anything from searching, create a new issue on GitHub and provide as much information as possible. You can include logcats, xposed logs, screenshots, screen recordings to make it clear and easy to reproduce. If an issue is not clear, it may be instantly closed by me.
[Xposed Framework Modules] heichi13:
Booting up with black screen. Not sure why that is.

Would love to try this. Looks great! ??
[Xposed Framework Modules] paphonb:
Can you get a logcat for me?
[Xposed Framework Modules] nandakumar12:
https://imgur.com/E7kP3a8

https://imgur.com/Hbg1B7V

https://imgur.com/jjh03sH

the module works like a charms...!!!

Those android P animations awsome!!!!1
[Xposed Framework Modules] vrushank__:
One plus 3

Will it work on one plus 3t?
[Xposed Framework Modules] cpt.macp:
in the app it says , preferences not available
[Xposed Framework Modules] heichi13:
Here ya go:

View attachment 4449892
[Xposed Framework Modules] nandakumar12:
What ROM you are using Oos or aosp..?
[Xposed Framework Modules] paphonb:
8.0 is not supported right now. It will be added later soon.
[Xposed Framework Modules] heichi13:
Thank you very much good sir
[Xposed Framework Modules] Etherial-djent:
No it won't! Do NOT try! Lockscreen wont show and had to uninstall xposed in recovery on my OP3T running OOS Beta 23. After uninstalling xposed, home and recents button wont work and setting app won't open! Uninstalled the p-ify app and reinstalled xposed and xposed marks as installed but won't actually work!
[Xposed Framework Modules] jano555:
Me too but u can uninstall just this app in TWRP in data/app find the folder then delete it

No need to uninstall Xposed
[Xposed Framework Modules] arsaam khan:
Working fine on Cardinal AOSP 8.1 Oreo on Redmi Note 4 and doesn't faced any bug !!!
[Xposed Framework Modules] kimikim0:
Qs blank I'm unsing op5 open beta 6 android 8.1
[Xposed Framework Modules] jhg494:
Add these "ugly" circles in qs! Please! =)
[Xposed Framework Modules] x1ld3n:
Any plans for Nougat?
[Xposed Framework Modules] Microsoft_PowerPoint:
+1
[Xposed Framework Modules] arianat01:
No need delete folder. Just after boot press repeatedly volume down. It will disable Xposed and after that you can remove module
[Xposed Framework Modules] Ahmed Al-Sayed:
Thank you it works . I hope you can add the new volume slider style in coming updates

And please please don't add that ugly Android P Easter egg in case anyone requested it in the future
[Xposed Framework Modules] Costa02:
This is how it looks atm , no bugs , only thing needed is what i mentioned in the quoted post..?? thanks for your work in making this module you guys
[Xposed Framework Modules] The_Overthinker:
Buddy how did you manage to make the notification background black? Substratum?
[Xposed Framework Modules] Ahmed Al-Sayed:
Did any one manage to get it work in RR 8.1.0 ??
[Xposed Framework Modules] Costa02:
i wouldn't mess with custom ROMs.. try aosp

---------- Post added at 11:15 PM ---------- Previous post was at 11:15 PM ----------

yes sir
[Xposed Framework Modules] frknkrc44:
LG G3 D855, AOSCP 5.3 Mart yamalı

My device is LG G3, D855 variant and I'm using AOSCP 5.3 (with March 5 patches).
[Xposed Framework Modules] karti16:
Clicking mobile data toggle goes to alarm app. I think time in under the WiFi toggle. And there are some alignment problems.

Device redmi note 3 with aosip 8.1
[Xposed Framework Modules] realmin04:
Download the latest build, it has been fixed

https://github.com/paphonb/AndroidP-ify/releases/download/0.1.0_26/AndroidPify-0.1.0_26.apk
[Xposed Framework Modules] rizki_Alkaf:
Hi, [MENTION=6018897]paphonb[/MENTION]

thankyou for a very great work

i'd like to politely request/report things for fixes and improvements:

- If possible, i think we need more rounded quick settings and notification panel corner, just like the original android P

- I think we need more space on the right and left of the first 6 quick settings toggle, and more space on the right of statusbar icons as well

View attachment 4452157

- the battery percentage should be on the right of battery icon

- The quicksettings icon on white theme are not all white (LTE icon, upload/download arrow), they're good on black theme, though

View attachment 4452158

View attachment 4452159

- the upload/download arrows need to be aligned a bit to the left

View attachment 4452160

Thanks
[Xposed Framework Modules] pashapuma:
will there be support for marshmallow in the future?
[Xposed Framework Modules] V-Droid:
I highly doubt it, most probably will only support android O (8.0 + 8.1) not even android nougat. I could be wrong but still, don't get your hopes up.
[Xposed Framework Modules] paphonb:
Please mention your ROM name when reporting issues. Almost everything works perfectly on AOSP.
[Xposed Framework Modules] heichi13:
This explains a lot. I'm running Omni ROM 8.0 and the things are simply not placed correctly. Thanks for this clarification!
[Xposed Framework Modules] bluehunter9:
Hey, just wanted to report, I am currently on LOS 15.1 for HTC one m8 and on the Alpha 0.1.0 #26, and am experiencing/noticing all the items rizki_Alkaf mentioned.

Really appreciate all your hard work on this. It is truly a great gift
[Xposed Framework Modules] krishcutee:
Hi, module works on RR ROM 6.0.0(8.1) with a few glitches .

1) space issue in Q's

2) top left corner of the ambient display shows another clock apart from the main clock in the middle.

3) lockscreen - carrier name and clock are overlapped
[Xposed Framework Modules] AnkinDs:
Mokee OS 8.1 official

Moto x 2014 Victara Latest version (alpha 15) circles do not appear in the icons of the bar, everything else works well.
[Xposed Framework Modules] Yashmishra:
This is the updated link download it and icons will be circle

https://github.com/paphonb/AndroidP-ify/releases/download/0.1.0_26/AndroidPify-0.1.0_26.apk
[Xposed Framework Modules] IURII G:
That arrows looks pretty ugly, may be just screw them at all, if not possible to move left?

More rounded corners and battery% from right side is appreciated.

Very nice mod that's far will use as a daily driver. Thank you
[Xposed Framework Modules] IURII G:
Jump from #24 to #26 built. No run for clock app when clicking on GSM provider. It will be good if clock app runs when you click on date and time at the top.
[Xposed Framework Modules] Debarshi Pan:
Which one to download?
[Xposed Framework Modules] Syahid M.:
https://github.com/paphonb/AndroidP-ify/releases choose the latest version 0.1.0_26
[Xposed Framework Modules] Mewseven:
how to delete a message ???????????? there is a problem at Lineage 15.1 , but I can not attach a screenshot -_-

Here's a problem on the 26 build

Sorry, English is not my native language
[Xposed Framework Modules] bobandar:
No black screen on galaxy s8 , but qs is transparent lol, and some icons are working in the settings menu.

Just wanted to try .
[Xposed Framework Modules] omarilzz:
luv it <3 much

but i wanna ask if its possible for ios-ify module X)
[Xposed Framework Modules] Yashmishra:
New update has been released

https://github.com/paphonb/AndroidP-ify/releases/tag/0.1.0_27

Changelog- Option to enable circle qs tiles

First attempt at QS vertical scroll (very buggy)
[Xposed Framework Modules] IURII G:
I think rounded corners should be taken from here it is look very similar to android P
[Xposed Framework Modules] bubba1601:
Version 0.1.0 27 running fine, no issues to report.

Samsung A5 Lineage OS 15.1
[Xposed Framework Modules] charackthe:
Notifications aren't round for some reason and qs is messy bugged all over the place. (NitrogenOS OP3)

---------- Post added at 09:38 PM ---------- Previous post was at 09:36 PM ----------

Same here!

Edit: DPI change doesn't change anything

Request: Proper black mode would be awesome

---------- Post added at 10:24 PM ---------- Previous post was at 09:38 PM ----------

This is exactly how it is in mine. Probably because of qs tweaks.
[Xposed Framework Modules] Chidori597:
Running fine on my N910R4. Added features will definitely be cool.

Alpha Version https://m.youtube.com/watch?feature=youtu.be&v=MdUVN93G1lY

0.1.0_27: [youtube]FtT_q7oUT_Y[/youtube]
[Xposed Framework Modules] Yashmishra:
Hi I am also on NOS for kenzo But I don't face any issue maybe send some screenshots?
[Xposed Framework Modules] etann:
Hi, I'm sorry if it was already reported by anyone else .

Not working on HTC U11+, no launcher even whole UI after reboot, I have to uninstall xyz.paphonb.androidpify from adb to bring my phone back to normal.

but still love your work, cheers.

Hak.
[Xposed Framework Modules] suryaabadsar:
which theme.?
[Xposed Framework Modules] Tanmoy1997:
Is it support on nougat? I'm trying to install it but i get this message "there was a problem parsing the package". I'm using AOKP custom ROM 7.1.2
[Xposed Framework Modules] Ahmed Al-Sayed:
No,it doesn't support nougat.

Only Oreo for now as the OP mentioned
[Xposed Framework Modules] johnfredmark#20:
Doesnt support RRO? All the updates have the same problem
[Xposed Framework Modules] tropical cactus:
Working well on 6p stock 8.1. Thanks.
[Xposed Framework Modules] Costa02:
Sprite

---------- Post added at 01:55 PM ---------- Previous post was at 01:54 PM ----------

? this has nothing to do with RRO/OMS...
[Xposed Framework Modules] GadSick:
Tried out your latest Alpha #27 version from GitHub introducing the vertical scroll bar... Glad that lock screen icons are fixed now and waiting for the vertical scroll bar and new volume adjust bar. Keep it up, All the best!
[Xposed Framework Modules] USHERROB:
Which version???
[Xposed Framework Modules] Ritvikx1998:
Can you make the edges of quicksetting curve?
[Xposed Framework Modules] LuciferIII:
Can you please add options for the colloring of the background so it can fit with themes?

Sorry for asking this for the second time :o
[Xposed Framework Modules] Maxr1998:
Read OP please:
[Xposed Framework Modules] HEIS3NBERG:
Which theme is that ? Really nice one
[Xposed Framework Modules] LuciferIII:
Valerie, and yes it's pretty nice ;)
[Xposed Framework Modules] The_tomorrow_person:
Is it possible for you to add a black theme to the notification & QD shade? (With the new style)
[Xposed Framework Modules] charackthe:
This is how it looks on mine.

PS: Do you know how can I get rid of that white shade?
[Xposed Framework Modules] ddaharu:
I tried this on oos running 8.1 and all that's working is the animation. In settings all icons just turn to a circle .

My question: Is it possible to have an option only for animation?

Thank you Dev for making this. :highfive:
[Xposed Framework Modules] Chidori597:
Sounds like Oxygen has its own themes running.
[Xposed Framework Modules] ddaharu:
Yeah it does. But I'm more curious to see if there can be an option for Judy the animations.
[Xposed Framework Modules] Ahmed Al-Sayed:
Hi [MENTION=6018897]paphonb[/MENTION] , latest alpha 28 fixes the weird style of Quick settings in Resurrection remix but the clock is in center and i think it has to be in the left
[Xposed Framework Modules] Yashmishra:
New build is up Alpha 28

Fixes the toggle positioning in Omni ROMs

Download-->

https://github.com/paphonb/AndroidP-ify/releases/download/0.1.0_28/AndroidPify-0.1.0_28.apk
[Xposed Framework Modules] rpadu2010:
This Andriod P-ify and Xposed Installer will work on HTC 10 running Android Oreo 8.0 without rooting my device?
[Xposed Framework Modules] ASP02:
No...u need root for xposed