yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] grefr:
I've downloaded this factory image:

"hammerhead" for Nexus 5 (GSM/LTE)

4.4.4 (KTU84P)

from here: https://developers.google.com/android/images

This is the original "flash-all.bat" file:

@ECHO OFF

PATH=%PATH%;"%SYSTEMROOT%\System32"
fastboot flash bootloader bootloader-hammerhead-hhz11k.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot flash radio radio-hammerhead-m8974a-2.0.50.1.16.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot -w update image-hammerhead-ktu84p.zip

echo Press any key to exit...
pause >nul
exit

I've changed the "flash-all.bat" a little bit. I added this line "fastboot oem unlock". When I not add "fastboot oem unlock", I get a message like "not unlocked":

@ECHO OFF

PATH=%PATH%;"%SYSTEMROOT%\System32"
[B]fastboot oem unlock[/B]
fastboot flash bootloader bootloader-hammerhead-hhz11k.img
fastboot reboot-bootloader
[B]fastboot oem unlock[/B]
ping -n 5 127.0.0.1 >nul
fastboot flash radio radio-hammerhead-m8974a-2.0.50.1.16.img
fastboot reboot-bootloader
[B]fastboot oem unlock[/B]
ping -n 5 127.0.0.1 >nul
fastboot -w update image-hammerhead-ktu84p.zip

echo Press any key to exit...
pause >nul
exit

I've started the "flash-all.bat". This is the output:

target reported max download size of 1073741824 bytes
sending 'bootloader' (2508 KB)...
OKAY [ 0.203s]
writing 'bootloader'...
FAILED (remote: flash write failure)
finished. total time: 0.406s
rebooting into bootloader...
OKAY [ 0.094s]
finished. total time: 0.094s
< waiting for any device >
...
OKAY [ 4.109s]
finished. total time: 4.109s
target reported max download size of 1073741824 bytes
sending 'radio' (45409 KB)...
OKAY [ 1.625s]
writing 'radio'...
FAILED (remote: flash write failure)
finished. total time: 2.844s
rebooting into bootloader...
OKAY [ 0.109s]
finished. total time: 0.109s
< waiting for any device >
...
OKAY [ 6.250s]
finished. total time: 6.250s
target reported max download size of 1073741824 bytes
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
archive does not contain 'vendor.img'
wiping userdata...
Creating filesystem with parameters:
Size: 13725835264
Block size: 4096
Blocks per group: 32768
Inodes per group: 8144
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 3351034
Block groups: 103
Reserved block group size: 823
Created filesystem with 11/838832 inodes and 93654/3351034 blocks
wiping cache...
Creating filesystem with parameters:
Size: 734003200
Block size: 4096
Blocks per group: 32768
Inodes per group: 7472
Inode size: 256
Journal blocks: 2800
Label:
Blocks: 179200
Block groups: 6
Reserved block group size: 47
Created filesystem with 11/44832 inodes and 5813/179200 blocks
--------------------------------------------
Bootloader Version...: HHZ20f
Baseband Version.....: M8974A-2.0.50.2.29
Serial Number........: 04ae306b2524b05b
--------------------------------------------
checking product...
OKAY [ 0.109s]
checking version-bootloader...
FAILED

Device version-bootloader is 'HHZ20f'.
Update requires 'HHZ11k'.

finished. total time: 0.594s
Press any key to exit...
[Nexus 5 Q&A, Help & Troubleshooting] audit13:
Before flashing again, unlock the bootloader and immediately reboot the phone into fastboot. Does the bootloader relock when the phone is rebooted? If yes, the memory chip is damaged.
[Nexus 5 Q&A, Help & Troubleshooting] ILA:
I have the same problem and after doing that I can see that my eMMC is in fact fried since the bootloader relocks. I was wondering, where is the bootloader/fastboot stored on the device? On the CPU/GPU/RAM stack or on the eMMC. If I swap out the eMMC chip, will I still be able to access it (the bootloader) with a blank eMMC or is it on the eMMC as well? I'm trying to find out what are the steps to format and partition the eMMC after a new one is installed...
[Nexus 5 Q&A, Help & Troubleshooting] audit13:
I don't know where the bootloader is located. When I determine that there is a problem with the memory chip, I just replace the motherboard.
[Nexus 5 Q&A, Help & Troubleshooting] ILA:
Thank you very much for sharing your experience!

I would assume that the bootloader is located on the eMMC since I can't write to the bootloader (or any other) partition from fastboot. I'll have to look into solutions during the weekend since I don't have much time until then, but replacing the MB is a no go for me because of the price.
[Nexus 5 Q&A, Help & Troubleshooting] audit13:
I'm not sure where you are located but I live in a big city in Canada where I can find deals for people selling Nexus 5 phones with smashed screens and working internal components.

Good luck and please share your results. Thanks.
[Nexus 5 Q&A, Help & Troubleshooting] grefr:
[MENTION=4673498]audit13[/MENTION]: When I unlock the bootloader and then reboot the phone into fastboot. The bootloader relocks. :(

Is the memory chip now really damaged? Can't I do nothing? My N5 is three years old. I don't want to pay a lot of money for a main board.
[Nexus 5 Q&A, Help & Troubleshooting] audit13:
The cheapest solution for a damaged emmc chip may be to buy a used Nexus 5 with a smashed screen and working motherboard. This is what I had to do for 2 phones with self re-locking bootloaders.
[Nexus 5 Q&A, Help & Troubleshooting] grefr:
I bought a display damaged nexus 5. It arrived today. Changed the main board. And Voila! It's working.

The other guy has installed this build:

"hammerhead" for Nexus 5 (GSM/LTE)

6.0.1 (MOB30H)

No my question: Which factory image should I install?

https://developers.google.com/android/images

"hammerhead" for Nexus 5 (GSM/LTE)

...

6.0.1 (MOB30H)

6.0.1 (MOB30M)

6.0.1 (MOB30P)

6.0.1 (MOB30Y)

6.0.1 (MOB31E)

6.0.1 (M4B30X, Oct 2016)

6.0.1 (M4B30Z, Dec 2016)

I'm not sure, because the last two has dates. Are they meaning something (I mean, are they special builds), because the other factory images don't have dates.
[Nexus 5 Q&A, Help & Troubleshooting] grefr:
Or should I do this:

https://developers.google.com/android/ota

OTA binary image files that allow you to manually update your Nexus or Pixel device. This has the same effect of flashing the corresponding factory images, but without the need of wiping the device.

"hammerhead" for Nexus 5 (GSM/LTE)

6.0.1 (M4B30Z)

Is OTA better than factory images?
[Nexus 5 Q&A, Help & Troubleshooting] grefr:
OK. I've installed this version 6.0.1 (M4B30Z, Dec 2016). Everything works. :)
[Android Q&A, Help & Troubleshooting] siranGV:
hi guys I'm using moto g3 android 5.1.1

it automatically got formatted and all my data in internal storage was gone but no apps got errors or uninstalled..it works as before.. only my stuffs are gone

this is second time facing same prob.. .1st time before rooting

what is the reason? how to make sure it will not happen again?
[Galaxy S3 Neo General] SkaboXD:
I suggest to port MIUI 8, Redmi Note 4G (there is single sim and dual sim version of phone so it is possible to port it to gt-i9300i and gt-i9301i) have same chipset and GPU as s3 neo, so i think it is possible but I'm noob and I don't have time so if someone know how and want to port it, please comment here.Thanks.
[Galaxy S3 Neo General] GuestK00235:
I would also like a port of MIUI 8:)
[Galaxy S3 Neo General] mohammedsaquib:
S3 neo i9300i miui 8 ROM download please link send me
[Galaxy S3 Neo General] SkaboXD:
No,no,no you didnt understanded me clearly, im NOT a developer of MIUI 8, i SUGGEST rom to be created
[Galaxy S3 Neo General] Dankie001:
It is not possible to port from Redmi Note 4G. But it is possible to port from Redmi 1S. But Redmi 1S has Kitkat based miui 8 :(

Grand 2 gonna soon get it. When Grand 2 gets then adding support for S3 neo would be easier ;)
[Galaxy S3 Neo General] boraq0000:
i hope we get it soon i'm sick of this TW style
[Galaxy S3 Neo General] Dankie001:
Me and my friends working up for Grand 2. Almost close to completely building it. Then bug fixing remains. If we succeed then i am going to add support for S3 neo later on. But since i din't have device i need someone who can help adding support and helps in port+owns a s3 neo. Know someone??? Please LMK
[Galaxy S3 Neo General] boraq0000:
as far as i know no one was able to port previous versions of miui and only successfully attempt was miui 5(with many bugs) and all projects were abandoned :(

i own s3 neo (i9301i) so i could help little :)
[Galaxy S3 Neo General] Dankie001:
Yeah thats cuz MIUI 7 was on Kitkat. A grand 2 developer did build one successfully but failed to fix bugs. Cuz Kitkat for Grand 2 is buggy. Noone tried for S3 neo in my knowledge atleast.

But me and my friends making MIUI 8. Its on Marshmallow and Grand 2 has a Stable cm13 to use. As for s3 neo i don't think anyone has even tried to make it.

Actually s3 neo is much depended on Grand 2. Both developements are much linked. So i don't think S3 neo is getting it sooner than we or someone else manage to boot one for Grand 2.

Lets just wait and see?
[Galaxy S3 Neo General] boraq0000:
if you successfully did manage to boot miui 8 for grand 2 ,my s3 neo will be under your command. :)

i would like to see miui style in my small device so as u said....."lets just wait and see" :highfive:
[Galaxy S3 Neo General] Dankie001:
Do me a favour. Find me a person who can help me in porting as well as test the rom at the same time(posesses a s3 neo). We are running make Fullota as for now(the command used to obtain the flashable zip) which means we are almost close to done. And bootloop/bug fixing remains(can be a slow process). Until then suggest me someone who is willing to help me.
[Galaxy S3 Neo General] SkaboXD:
Hello, i have 2 s3 neos same model i9301i, i dont use second phone,.maybe i could test roms on that phone but i cant help in porting
[Galaxy S3 Neo General] Dankie001:
Ok i'll let u know incase
[Galaxy S3 Neo General] gusky651:
I could try porting the rom to s3 neo, I have ported FlymeOS from Grand2 to S3 Neo before.
[Galaxy S3 Neo General] Dankie001:
Cool! Can you share your telegram or Hangouts??? I'll let you know when ROM boots on Grand 2. Actually some problems caused us to redo the project from starting. We reached MI logo but had to start over again. As for now my friend is busy so its gonna take some more time i guess.

See here is a SS of our progress back then View attachment 4058570
[Galaxy S3 Neo General] gusky651:
I've tried porting MIUI before too, also couldn't get past the logo, I think it was something about media.server causing the loop when I checked the logs. Anyway, my Telegram username is Gusky. Talk to you there. ;)
[Galaxy S3 Neo General] Dankie001:
MIUI 8 boots on Grand 2 but needs to be fixed
[Galaxy S3 Neo General] AnimeCS:
I hope you can boots the rom on s3 neo. Good luck :svetius:
[Galaxy S3 Neo General] Dankie001:
As soon as we manage to make it stable then we'll start porting to S3 neo?

Gusky gonna help in port. As for now the rom has random reboots.
[Galaxy S3 Neo General] SkaboXD:
Congratulations, i really appreciate your work. Thanks again!
[Galaxy S3 Neo General] tawfek1435:
i am waiting rom

thanks for all who work hard for us
[Galaxy S3 Neo General] gusky651:
Woah, nice progress. Sorry I haven't been able to talk cause I was very busy, I'm guessing you already took logs. If you don't know how to solve random restarts hmu on Telegram and we can try to find a solution together.
[Galaxy S3 Neo General] Dankie001:
Actually the Random Reboot is fault of base cm13 :(

There's a Vendor file that needs to be flahsed with cm13 to solve it. But that vendor file is not compatible with miui8.

I've sent logcats to aditya(cm13 dev) he'll see them in about a week he's busy with exams.

But the good news that it booted. Thats Something not many people have done for MSM8226 chipset family.
[Galaxy S3 Neo General] boraq0000:
any progress...?
[Galaxy S3 Neo General] Dankie001:
Re-ported rom usung AOSP as base. Still Fixing......!!
[Galaxy S3 Neo General] Tisenoiazei100:
Fantastic...!

Στάλθηκε από το SM-G903M μου χρησιμοποιώντας Tapatalk
[Galaxy S3 Neo General] Takaga:
Is this project still going?
[Galaxy S3 Neo General] Dankie001:
I'm sorry guys. Even after so many tries i cannot boot it for Grand 2. Its a Bootloop. Noone is willing to help me. I asked so many S3 neo/G2 devs but noone is lending me a hand. I've booted it twice from patchrom but errors are almost unfixable(cuz of cm13 bugs). And now port from Moto G(Falcon) is on bootloop as i said. In this case i cannot proceed unless someone helps me :(
[Galaxy S3 Neo General] Takaga:
It's really sad :( But at least you tried!
[Galaxy S3 Neo General] MigoMujahid:
Hey, maybe Tisenoiazei100 can help you, he's a good porter in TouchWiz, maybe he can help you in MIUI, here's his thread link:

https://xdaforums.com/galaxy-s3-neo/general/talk-heavily-debloated-j3-hybrid-rom-s3-t3583091

You can message him in private.
[Galaxy S3 Neo General] Tisenoiazei100:
What logcat did you get?? Have you checked after bootloop, tombstones or log folders inside data folder under TWRP?? Send logcats, logs or tombstones here... Also how did you done this port? By patchrom?? I can try MIUI port too as im bored with TW roms but no CM13 base for S3 Neo.
[Galaxy S3 Neo General] Dankie001:
This is a port from Moto G(Falcon). I also tried patchrom but base complications forced me to quit. Anyways, i dunno much about all that tombstone and log folders you talk about but i did took logcat. I'm not good at reading them tho :(

And as for S3 neo, if we manage to boot for G2, maybe we can use TW MM as base(i'm not sure if its possible but ofc we can give it a try). Also there is a unstable cm13 afaik

If you want we can get along on telegram or hangouts if you want and discuss this further. I'm working some on other projects too.

Logcat- http://cloud.tapatalk.com/s/595725196b6e3/5_6118632773776310290.txt
[Galaxy S3 Neo General] Tisenoiazei100:
TW-MM lacks hardware acceleration for now! Apps will crash or glitch randomly. Ive done GraceUX port on it and this big lack makes it a glitch mess. Heres what i found. It happens when it starts the final services.

Try to replace libandroid_runtime.so and libandroid_servers.so with Moto G miui ones(If you get stuck on splash screen, add cm13 libandroid_runtime.so back). Also there are missing MIUI files in etc folder that can be found in patchrom. Also there is a init.miui.sh inside Moto G MIUI boot.img. You have to add it on cm13 boot.img and also, you have to change bootclasspath in init.environ.sh with Moto G MIUI one. Missing libs can be added from patchrom. Remember to use CM13 TimeService and com.qualcomm.location(if exists) apps.
[Galaxy S3 Neo General] Dankie001:
I'll try this. But as any real developer would know that its not easy to make a complicated rom like MIUI 8 boot. And at this point no dev is active in neither G2 nor S3 neo forum except you. So i'll say it again if we can discuss this in a private chat then it'd be alot better

Also thats not it. I'm working on many other projects. Me and a friend of mine build LOS from aditya's source but it won't even reach logo cuz of messed up trees. I also ported the latest Flyme 6 but its stuck on logo just like MIUI 8. I can do ports but i just need help with fixing stuff. Me and my friend were infact the first to boot Flyme 6 on a non-supported device(Galaxy Core prime)

Anyways LMK if we can get to private chat so that we can boot MIUI up
[Galaxy S3 Neo General] L1feGuard:
..

Изпратено от моят SM-A310F с помощта на Tapatalk
[Galaxy S3 Neo General] :
i ported miui from moto g(nearby device to g2) and i am getting loop

so if anyone could help me?

i can provide logs if anyone can help
[Galaxy S3 Neo General] Tisenoiazei100:
Booted MIUI 8 from Galaxy S5

Its a direct port so only Sound, Vibration, RIL and Graphics work.

Also i have to remove features and spyware as S3 Neo cannot handle them and for privacy

Στάλθηκε από το GT-I9301I μου χρησιμοποιώντας Tapatalk
[Galaxy S3 Neo General] Dhukka haris:
When the miui beta release for s3 neo
[Galaxy S3 Neo General] Tisenoiazei100:
Never.

Στάλθηκε από το GT-I9301I μου χρησιμοποιώντας Tapatalk
[Galaxy S3 Neo General] Dhukka haris:
Why
[Galaxy S3 Neo General] Tisenoiazei100:
Its absolutely unstable and requires very long time and lots of hard work to get at least something to work.

Στάλθηκε από το GT-I9301I μου χρησιμοποιώντας Tapatalk
[Galaxy S3 Neo General] Dhukka haris:
So there is no rom like a3 & noucky
[Galaxy S3 Neo General] SkaboXD:
Maybe ask [MENTION=5568632]Thargorsson[/MENTION] for help [MENTION=7333038]simranjitsingh[/MENTION] [MENTION=7993373]Tisenoiazei100[/MENTION]
[Galaxy S3 Neo General] sergbeli:
Hey. I was able to collect miui8 for S3 neo (Android 6.0.1).

Works: network (both SIM cards), wi-fi, sound, bluetooth.

Does not work: camera, gapps.

I'm new on this forum, so I can not add a link to the firmware and also post screenshots.

---------- Post added at 10:20 AM ---------- Previous post was at 10:08 AM ----------

Also I was able to compile the miui firmware through the patchrom. The firmware is assembled based on Los 13. But the firmware does not start. If anyone could figure this out, I would give a link.
[Galaxy S3 Neo General] SkaboXD:
I'd love to help you but i know little about porting roms. Thanks for your work. You can post link like this httx/youtube.com so that anyone can see it. BTW I'm using Nokia 3 as my daily driver and my S3 Neo is broken so i will be less active on S3 forums.
[Galaxy S3 Neo General] sergbeli:
So, that's why I want to have someone who knows what the problem is. Here is the link firmware (it does not start). But I want to run it. Help is needed.

https://drive.google.com/file/d/1icZiBsaEmR0aKwKd4C_sLbaD3N_h_25z/view?usp=sharing
[Galaxy S3 Neo General] :
try to port it from grand 2 its easy asf

p.s i am interested to port miui for you guys but i need testers who can communicate well and i need a good los 13 base too for s3 neo to port to

porting miui for me is worth a try :D

and about the patchrom it didnt booted for g2 too so ignore it maybe idk
[Galaxy S3 Neo General] sergbeli:
I can lay out Los13 for galaxy s3 neo. In the build.prop file of this firmware, the phone model SM-G7102 is registered in the ro.product.model line. I have a working firmware miui 8 for galaxy s3 neo, but I'm interested in running the firmware version collected via Patchrom. The file boot.img from the firmware miui, I run the above Los 13.
[Galaxy S3 Neo General] :
i didnt understand a single word you said
[Galaxy S3 Neo General] sergbeli:
What exactly is not clear?
[Galaxy S3 Neo General] Tisenoiazei100:
I tried building MIUI 8 for our S3 Neo using falcon patches with some modifications for our device but my repo was corrupted showing CRC-32 issues in few critical files.

I have also booted MIUI 8 from S5 but it has many issues and critical differences like Broadcom Wifi chip.
[Galaxy S3 Neo General] sergbeli:
I can post a working version of miui for galaxy s3 neo. But there are mistakes in it. I myself use it. Here are the screenshots.

https://drive.google.com/open?id=1mKAyx8luQfc8loA0vuhQO6LMKpt3NPyB
[Galaxy S3 Neo General] hsngrbz:
İs it working on I9301I?
[Galaxy S3 Neo General] Tisenoiazei100:
Im trying to port MIUI 9 from Mi4 xiaomi.eu update based on MM. They have identical chipsets (MSM8974/AC and MSM8226 are the same) but im getting stuck at splash screen. I'll contact MIUI porters for guidance.

I have also to rebuild MM kernel as we need prima modules to get Wi-Fi working :b.

I have reduced development time on TWMM alot for this project as TWMM is leading nowhere.
[Galaxy S3 Neo General] sergbeli:
This is a working firmware

---------- Post added at 04:37 PM ---------- Previous post was at 04:34 PM ----------

Are they the same processors? I tried to assemble the firmware on the basis MSM8974, but nothing happened.
[Galaxy S3 Neo General] Tisenoiazei100:
Yes! Ive booted many OnePlus and S5 ROMS on S3 Neo just fine. Both phones are using MSM8974
[Galaxy S3 Neo General] sergbeli:
And I'm not running firmware on MSM8974. Although not all are running on MSM8226 either.
[Galaxy S3 Neo General] hsngrbz:
Can You upload your miui rom for s3 neo?

İf it is working i want to try it
[Galaxy S3 Neo General] sergbeli:
Here is the link https://yadi.sk/d/mMrXx90V3Payu8. The firmware is working, but there are errors. Camera and gapps do not work. Maybe someone will figure it out wrong.
[Galaxy S3 Neo General] hsngrbz:
İ will work on it

---------- Post added at 07:06 AM ---------- Previous post was at 06:59 AM ----------

İs it works on i9301i model

---------- Post added at 07:06 AM ---------- Previous post was at 07:06 AM ----------

İs it works on i9301i model
[Galaxy S3 Neo General] sergbeli:
I'm using this firmware on s3 neo
[Galaxy S3 Neo General] Vajrapani:
Try, it should work
[Galaxy S3 Neo General] hsngrbz:
İ flashed your miuiv8 rom. But i can't make calls and can't open mobile data. Only someone can calls me. Can't read sim card

What can i do?
[Galaxy S3 Neo General] sergbeli:
I do not have any problems with calls.
[Galaxy S3 Neo General] hsngrbz:
ı'm updating my s3 neo to newer official stock rom. May be it will work
[Galaxy S3 Neo General] Vajrapani:
what is your model 9300 or 9301?
[Galaxy S3 Neo General] hsngrbz:
9301 model

ı have updated last official firmware but not working sim on miui
[Galaxy S3 Neo General] sergbeli:
I understand that miui is not interesting for anyone to eliminate mistakes?
[Galaxy S3 Neo General] veli123:
miui is cool and fast, but has some bugs sometimes
[Galaxy S3 Neo General] hsngrbz:
Bro can you upload your build.prop file on miui v8 rom?
[Galaxy S3 Neo General] sergbeli:
https://yadi.sk/d/Aw_7wbat3SL4qT. The file is packed in an archive.
[Galaxy S3 Neo General] hsngrbz:
I fixed sim card can't read problem on miui v8 for I9301I single sim model. İf someone want ı can explain
[Galaxy S3 Neo General] arsan112:
hi, give me a link to miui 8
[Galaxy S3 Neo General] sergbeli:
miui_8_6.11.17_i9300i.zip

Посмотреть и скачать с Яндекс Диска

disk.yandex.ru
[Galaxy S3 Neo General] arsan112:
do you have miui 7, if there is, give a link
[Galaxy S3 Neo General] sergbeli:
There is not. All there is
[Galaxy S3 Neo General] arsan112:
aa on gt-19001
[Lenovo Vibe P1 Questions & Answers] nimitmama:
I have P1a42_S288_160721_ROW installed can I root my phone with stock rom?

I have tried twrp flashing with adb but it show error "failed (status read failed (too many links))"

So what should I do now to root my phone?
[Lenovo Vibe P1 Questions & Answers] Starchm:
Use qfil method: watch the first red ROOT: https://xdaforums.com/vibe-p1/how-to/lenovo-vibe-p1-a42-c72-root-ready-t3533693
[XDA Assist] jracibar:
hi everyone!

i'm new here and haven't had the chance to read all forums so please, if there is already a thread for this topic, kindly send me the correct url.. :)

anyways, i recently rooted my o+ grande and partitioned my 32gb memory card so that i can use the link2sd app. everything was working fine until this morning when i tried to install some new games that i received the "internal storage running out error". all of my user apps are saved on sd and my sd card has still lots of space.

[IMG="grande memory"]https://scontent.fmnl4-2.fna.fbcdn.net/v/t34.0-12/16809899_10154488981778510_868569165_n.png?oh=db39696fc4536f1fe0899449e64992e1&oe=58AC1F46[/IMG]

is there any way i can directly install new apps on my sd card without the touching the internal memory? or at least expand my internal memory since there is still 1.52gb for phone memory (fat32). thanks.
[XDA Assist] Sam Nakamura:
Hello and welcome to xda-assist,

we don't do technical support here we just redirect you the most suitable forum, so I ask you to refer to the general help section..

http://xdaforums.com/android/help

Good luck
[Moto G4 Plus Questions & Answers] ruinedfox:
Hello guys ! I am here to ask you for the stock nougat launcher app. I don't know how to extract it from the stock nougat images. I did some modifications in system so i can't flash again the ROM. I lost the stock launcher by mistake. Thanks <3
[Moto G4 Plus Questions & Answers] 1chrome:
The stock launcher is Google Now launcher. Just download it from Play store (if still available) or download and sideload the APK and just convert into a system app if you want.