yashsingh1/xdaforums huggingface dataset:
[Moto G5 Questions & Answers] takoa:
Hi.

I can not make it work.

I have installed xubuntu, I have formatted the card as ext4, I have copied the .img using the commands in terminal (60 minutes of process)

And nothing, nothing happens by pressing pwr or pwr & vol-.

How is the start of android supposed to work? By default, there are no partitions to boot from the card?
[Moto G5 Questions & Answers] TheFixItMan:
Iv no idea - never done it and since I don't have a device to test I can't help there

There may not be any visual display on the phone (you mentioned that the red led stopped flashing) - once the sd card is in give it a few mins & then connect it to the pc & see if it is recognised as an adb device & see if you can flash the firmware via fastboot

If not then either the mmcblk0 is not correct or its not possible
[Moto G5 Questions & Answers] NABECKER16:
but this file only weighs 15 gb decompressed so it does not work has to be the 30 gb more or less to work in our phones
[Moto G5 Questions & Answers] TheFixItMan:
For some reason people don't give me the full mmcblk0

Iv asked a few times but if people don't or are not able to provide the file there's not alot I can do as I no longer own this device
[Moto G5 Questions & Answers] takoa:
he only detects it as qhsusb_bulk :crying::crying::crying::crying::crying:
[Moto G5 Questions & Answers] TheFixItMan:
Have you tried using the Moto G5s image?

https://drive.google.com/open?id=1NEYUJJCfUXjsQ4p4uUZ4ZksJUZwoTE60

They use this tool to put it on sd card

http://hddguru.com/software/HDD-Raw-Copy-Tool/

In Windows

1)download "Minitool Partition Wizard.apk"

-install and open it

-select the sdcard

-delete al partitions from it and DONT format it and DONT create any partition on the sdcard even sdcard is no more seen by pc

2)download "HDD-Raw-Copy-Tool"

-install and open

-chech if it see your sdcard

-if it see sdcard , aply "double-clik to opend the file" to select the mmcblk0.img file

-click "CONTINUE"

-click (select) your sdcard position

-click "CONTINUE"

-click "START".... you will get a promt with "you will loose all your data........" click OK

and flashing process should start

when it finish, test the sdcard in phone and it should boot!
[Moto G5 Questions & Answers] riyan65:
Deleted
[Moto G5 Questions & Answers] Happiness777:
What happens that the mmcblk0 is not correct should weigh 30 gb

---------- Post added at 07:09 PM ---------- Previous post was at 07:07 PM ----------

Today in the forum of G5s , commented that the process if it works with more security in Windows 7

here is your tutorial

https://xdaforums.com/showpost.php?p=76945923&postcount=487
[Moto G5 Questions & Answers] Happiness777:
An uploaded mmcblk0 especially for your model

https://xdaforums.com/showpost.php?p=76954459&postcount=9
[Moto G5 Questions & Answers] takoa:
my model is xt1676 but 2gb

I suppose it will work?
[Moto G5 Questions & Answers] TheFixItMan:
Thanks for the upload

There's only one way to find out...:):D:p
[Moto G5 Questions & Answers] riyan65:
Did the mmcblk0 file has worked for you???
[Moto G5 Questions & Answers] TheFixItMan:
I don't have this device anymore so I can't test any files
[Moto G5 Questions & Answers] TheFixItMan:
Potential methods added to first post of below thread

https://xdaforums.com/g5/help/rooted-moto-g5-run-morning-post-image-t3776012
[Moto G5 Questions & Answers] Happiness777:
If your storage is 16, yes.

also the one that uploaded the files knows perfectly how to extract the image mmcblk0
[Moto G5 Questions & Answers] Happiness777:
Hello, excuse me for my English!

In my humble Opinion, I hope it can be helpful when creating the mmcblk0

-If your motorola is 32 GB and after this command

cat / proc / partitions

The size of the block of mmcblk0 is 30 535 680

the following command will not serve you:

dd if = / dev / block / mmcblk0 of = / storage / <SDcard-ID> /mmcblk0.img bs = 1000000000 count = 30

since it only extracts 30,000,000 and is not complete

-The correct command is:

dd if = / dev / block / mmcblk0 of = / storage / <SDcard-ID> /mmcblk0.img bs = 1048576 count = 29820

gives the exact value of 30 535 680.

and for those of 16 gb (xt16--)

dd if = / dev / block / mmcblk0 of = / storage / <STORAGE-ID> /mmcblk0.img bs = 1048576 count = 14910

*

in my case a memory of 32 gb does not reach me by difference of bytes.

this method on some devices does work but it must be the correct mmcblk0.
[Moto G5 Questions & Answers] TheFixItMan:
Iv updated the first post to include these values

If anyone wants to provide the mmcblk0 partition please use those values & include the varient it was extracted from
[Moto G5 Questions & Answers] TheFixItMan:
You can try this image from a xt1676 but it looks like unless you have exactly the same varient running exactly the same bootloader/firmware it probably isn't going to work

https://cloud.wdata.de/index.php/s/Zeo3q5dDxZzC7rW

http://hddguru.com/software/HDD-Raw-Copy-Tool/

https://www.minitool.com/partition-manager/

In Windows

1)download "Minitool Partition Wizard"

-install and open it

-select the sdcard

-delete al partitions from it and DONT format it and DONT create any partition on the sdcard even sdcard is no longer seen by pc

2)download "HDD-Raw-Copy-Tool"

-install and open

-check if it sees your sdcard

-if it sees sdcard , apply "double-clik to open the file" and select the mmcblk0.img file

-click "CONTINUE"

-click (select) your sdcard position

-click "CONTINUE"

-click "START".... you will get a promt with "you will loose all your data........" click OK

and flashing process should start

when it finish, test the sdcard in phone
[Moto G5 Questions & Answers] riyan65:
---------- Post added at 07:20 PM ---------- Previous post was at 07:19 PM ----------

I'm just confused that the total space occupied by the Android in system is just around 6 GB then how it can be 30gb of only bootloader block(mmcblk0.img)?? How can it possible.can any one clear my doubt.thanks in advance
[Moto G5 Questions & Answers] TheFixItMan:
There's two variants in terms of storage space

16gb version and 32gb version of this device

It's an entire storage partition dump
[Moto G5 Questions & Answers] echo92:
The mmcblk0.img image is a clone of your entire internal storage - it's not just the system, it's the cache, bootloader images, oem, userdata and all other partitions on your flash memory. Hence, if your device has 32 GB internal storage, this image is going to be 30 GB (accounting for byte conversion).

However, that does mean that anyone providing an image must ensure their personal data is wiped (else it's in the image backup)
[Moto G5 Questions & Answers] rajeshdubey293:
Here is the link for Motorola Moto G5(XT1677), which is indian 16GB version, mmcblk0.img file download link.

https://drive.google.com/open?id=1ha2y_fv-lh3RxdtRQpLkq4APGPFZiV0y

let me know if it works.
[Moto G5 Questions & Answers] riyan65:
Can you provide me with a other link like MediaFire or mega.... Since the link uploaded in Google drive is constantly restarting and download cannot be get completed.thanks in advance.
[Moto G5 Questions & Answers] rajeshdubey293:
Sure.. give me some time.
[Moto G5 Questions & Answers] riyan65:
Ok.thanks
[Moto G5 Questions & Answers] h3sh11:
Thnaks for upload but not work on XT1672 32gb
[Moto G5 Questions & Answers] TheFixItMan:
It won't do - it has to match the exact veriant and partition size

You need someone with a xt1672 32gb version to upload the mmcblk0 in order for you to test
[Moto G5 Questions & Answers] h3sh11:
Must be the XT1672 version or any variant with 32gb ?
[Moto G5 Questions & Answers] TheFixItMan:
That's unknown atm but most likely an xt1672 32gb will only work if indeed the method works at all
[Moto G5 Questions & Answers] h3sh11:
Let's wait then, I got the blankflash but he alone not works
[Moto G5 Questions & Answers] riyan65:
I got my device back.i have send my device to the motorola service center and they have replaced the mother board at the price of 2000rs(30$ ).I am so happy that I got my device back.
[Moto G5 Questions & Answers] NABECKER16:
30 dlls?
[Moto G5 Questions & Answers] riyan65:
Yes, 30 dollars.
[Moto G5 Questions & Answers] takoa:
go, how cheap.

If it cost to do it in Spain at that price, I did not doubt it for a second.
[Moto G5 Questions & Answers] TheFixItMan:
Since the phone its probably worth about £90 now (originally £150-£180) then a third of the cost of the phone is not unreasonable to get it replaced
[Moto G5 Questions & Answers] jcbotelho:
Almost there ...

My son will make it happen.

At this point He´s working on his Moto G5.

fingers crossed

Edit:

Status - Copying file to SD
[Moto G5 Questions & Answers] takoa:
as was ? it worked ?
[Moto G5 Questions & Answers] jcbotelho:
Not yet.

Image was extracted, but He and a friend are working hard to transform this image on a bootable SD.

Cross your fingers

---------- Post added at 03:39 AM ---------- Previous post was at 02:49 AM ----------

Yeahhhhhh

Works Fine.

Unbrick successfull

---------- Post added at 03:42 AM ---------- Previous post was at 03:39 AM ----------

Credits to Javan.

Help my son every time
[Moto G5 Questions & Answers] h3sh11:
Thanks, tomorrow as soon as your upload the file I test on my device

Yes
[Moto G5 Questions & Answers] jcbotelho:
Tomorow comes to finish.

---------- Post added at 04:08 AM ---------- Previous post was at 04:06 AM ----------

This image works in XT1672.

BR 2 GB RAM 32GB
[Moto G5 Questions & Answers] TheFixItMan:
Let me know once you've uploaded it & I'll add it to the first post

Also if you used a different method for writing to sd card than the usual image writer like win32diskimager can you include that too
[Moto G5 Questions & Answers] h3sh11:
XT1672 mmcblk0

https://drive.google.com/file/d/1nx-9HrJiexunhd_O47k_DBAzaKj3EvkC/view

tested and working (credits and upload [MENTION=4184225]jcbotelho[/MENTION])
[Moto G5 Questions & Answers] TheFixItMan:
Added to list thanks
[Moto G5 Questions & Answers] h3sh11:
Phone only turn on with sd card

Imei shows "000"

I'll try to fix this with, vaserbanix is helping me.
[Moto G5 Questions & Answers] TheFixItMan:
Does it not allow you to enter fastboot mode & then reflash stock firmware

If you have previously flash lineage 15.1 you may experience imei 0 and would need to flash that rom again to regain imei
[Moto G5 Questions & Answers] jcbotelho:
Solve the part of problem installing Stock Rom via ADB.

Do not need SD to run.

But imei shows 0... [MENTION=8335584]h3sh11[/MENTION] working in this case.

Tnx Bro!
[Moto G5 Questions & Answers] NABECKER16:
believe that it works in the motorola xt1671.

it's the same hardware in every way it does not change anything, only that one is for brazil and the other for latin america, but the two are 32 gb of internal memory and 2 gb of ram
[Moto G5 Questions & Answers] takoa:
can you tell me the steps to follow to create the image in an xt1676?
[Moto G5 Questions & Answers] jcbotelho:
Just follow this...

https://xdaforums.com/showpost.php?p=76795590&postcount=1
[Moto G5 Questions & Answers] Edeegg:
Help

Can someone create the xt1672 oreo mmcblk0? the current image is not working for min my hard brick happened after an update in month 12/18
[Asus ZenFone Max Pro M1  Questions & Answers] adarshcris7:
Would there be any problem if I flash the latest fota v309 using redwolf recovery? I have an unlocked Max pro with redwolf recovery.

If there is any other method to flash firware OTA on rooted phones then please do mention.

Thanks.
[Asus ZenFone Max Pro M1  Questions & Answers] AVinaSh_S:
No .. validation will fail if you try to flash the full rom as it is.

Follow this guide for OTA.
[Samsung Galaxy Grand Neo Plus Questions & Answers] Klotox:
Hi Guys Please port S6 stock 5.0.2 lollipop rom for grand neo plus Gt-i9060i please ::o:o
[Xiaomi Mi A1 Questions & Answers] RowanStables:
After you backup and restore, will Google camera still work?
[Sony Xperia ZL] Yyzz11:
Hi, i'm new here, sorry if i did something wrong with my post.

My phone was rooted with super su, i wanted to fully unroot it and root it again with magisk.

In the process i flashed the stock rom c6502_10.7.A.0.222_Generic US.ftf and it worked fine (the phone could be started up normally) although i had a feeling it was not fully unrooted.

Then i wanted to flash twrp recovery to use to install magisk. i followed this post https://xdaforums.com/xperia-zl/orig-development/ub-twrp-v3-2-1-xperia-zl-t3720156 and did the command fastboot flash boot twrpfilename.img

After flashing the twrp boot.img the phone could only start up in recovery then i tried to boot it into fastboot mode using twrp and the phone bricked?

Now when i plug it into a charger a red led turns on. I've tried to leave it on the charger for more than 24 hours and it still wont boot into fastboot (blue led).

Some times when trying to get it recognised by my pc by using the tricks in https://xdaforums.com/xperia-z/general/disaster-recovery-getting-z1-zu-z-zl-to-t2229250, I can get it to vibrate and be recognised for a moment by flashtool but flashtool comes out with the error drivers too old or usb debugging is not enabled.
[Moto Z3 Play Guides, News, & Discussion] LenAsh:
Thread closed
[Xiaomi Mi A1 Questions & Answers] daveve:
Hello all

Today during flash stock with miflash my device went in a bootloop and got locked again. All i can do for now is going in fastboot but when i start up the device i got the xiaomi bootlogo but after that the screen goes on black.

What i tried so far..

Fasboot mode works but no edl mode possible or unlock because you need to go in developer mode but device dont start up.

Twrp dont work screen goes direct on black

Miflash dont work because you need to be unlocked

What to do now? is it somehow possible to flash stock on locked bootloader?
[LG G7 ThinQ  Questions & Answers] qu3becker:
As far as I know, the LG G7 and Android smartphones released with Oreo support project Treble and John Wu's Magisk now support rooting using Treble so I'm really hoping this will bring root to the device.

https://twitter.com/topjohnwu/status/1008056655001468928?s=19
[T-Mobile LG V10 Q&A, Help & Troubleshooting] jojojaimster:
I thought I could factory reset my phone since I couldn't install any apps for some reason, I did it through the OS and not twrp and after that it would only boot to twrp. Then I thought I could just flash a rom through twrp, all it said was that it was done and successful, but it would still boot into twrp. After that I thought I should flash kdz with lgup but whenever I go into download mode it reboots after about a minute. I am not very experienced as you can tell, please help.

Before this, I had rooted my phone through this tutorial:

https://xdaforums.com/tmobile-lg-v10/general/root-h901-nougat-t3773942
[HTC Excalibur] rickwyatt:
i got my fav program on chome
[HTC Excalibur] oldsap:
wow! how'd you do that?
[HTC Excalibur] NRGZ28:
Well he did it using the Welcome Center. I actually had this done a few days ago, after seeing it done on the Shadow. Here's how mine looks and I also attached a .cab that will let it install on your device. All you have to do to edit it so it shows your apps is go to HKLM/Security/Chome/DefaultSettings/CWelcomeCenter :)

:D
[HTC Excalibur] NRGZ28:
p.s. I will take requests to modify the .cab to add paths to your specific applications, if you reply with the exact path to the application you want launched and the text you want it to show.
[HTC Excalibur] oldsap:
Thanks NRG.

do you mind posting the steps on how to manually change the reg keys here? so that you won't get disturbed :)
[HTC Excalibur] NRGZ28:
Here's the REG file I'm using. Edit the paths... then save it into a blank Notepad text file... rename to .reg and import it to your device's registry, using your favorite registry editor. OR... just look at it and go edit the registry yourself directly... Here it is:

REGEDIT4

[HKEY_LOCAL_MACHINE\Security\CHome\DefaultSettings\CWelcomeCenter]
"Pages"="Page1;Page3;Page4;Page5;Page6;Page7"
"ICONPATHS"="\\windows\\apps.png;\\windows\\appsi.png"
"LocName"="Programs"
"CONDENSEDTITLE"="Programs"
"Disabled"=dword:00000000
"GUID"="{C5A51777-B837-447d-8947-FAF3FF9D570B}"

[HKEY_LOCAL_MACHINE\Security\CHome\DefaultSettings\CWelcomeCenter\Page1]
"GUID"="{2F710F22-9F19-43fa-8F35-9927D246B078}"
"ACTIONURL"="\\Program Files\\GoogleMaps\\GoogleMaps.exe"
"PICTURES"="\\windows\\CHome_Maps.png"
"SK2TEXT"="Traffic"
"SK2URL"=":MSPIE; mobi.traffic.com/"
"TEXT1"="Google Maps"
"TEXT2"=""
"TITLETEXT"="Programs"

[HKEY_LOCAL_MACHINE\Security\CHome\DefaultSettings\CWelcomeCenter\Page3]
"GUID"="{2F710F22-9F19-43fa-8F35-9927D246B078}"
"ACTIONURL"="\\Storage Card\\Program Files\\TCPMP\\player.exe"
"PICTURES"="\\windows\\CHome_Movies.png"
"SK2TEXT"="Buy Tickets"
"SK2URL"=":MSPIE; http://mobile.fandango.com/"
"TEXT1"="Movies (TCPMP)"
"TITLETEXT"="Programs"
"TEXT2"=""

[HKEY_LOCAL_MACHINE\Security\CHome\DefaultSettings\CWelcomeCenter\Page4]
"GUID"="{2F710F22-9F19-43fa-8F35-9927D246B078}"
"ACTIONURL"="\\Storage Card\\Program Files\\WordPad\\WordPad.exe"
"PICTURES"="\\windows\\CHome_Notes.png"
"TEXT1"="WordPad"
"SK2TEXT"="Notes"
"SK2URL"="\\Storage Card\\Program Files\\WordPad\\WordPad.exe"
"TEXT2"=""
"TITLETEXT"="Programs"

[HKEY_LOCAL_MACHINE\Security\CHome\DefaultSettings\CWelcomeCenter\Page5]
"SK2URL"="\\windows\\start menu\\accessories\\calculator.lnk"
"ACTIONURL"="\\windows\\start menu\\accessories\\calculator.lnk"
"GUID"="{9AD79DC7-64CC-473f-BB25-D96E327568B7}"
"PICTURES"="\\windows\\CHome_Calculator.png"
"SK2TEXT"="Calculator"
"TEXT1"="Calculator"
"TEXT2"=""
"TITLETEXT"="Programs"

[HKEY_LOCAL_MACHINE\Security\CHome\DefaultSettings\CWelcomeCenter\Page7]
"GUID"="{2F710F22-9F19-43fa-8F35-9927D246B078}"
"SK2TEXT"="View All"
"ACTIONURL"="\\Windows\\Start Menu\\Reboot.exe"
"PICTURES"="\\windows\\CHome_Restart.png"
"SK2URL"="Restart"
"TEXT1"="Restart"
"TITLETEXT"="Programs"
"TEXT2"=""

[HKEY_LOCAL_MACHINE\Security\CHome\DefaultSettings\CWelcomeCenter\Page6]
"GUID"="{2F710F22-9F19-43fa-8F35-9927D246B078}"
"ACTIONURL"="\\windows\\fexplore.exe; \\windows\\start menu\\games"
"PICTURES"="\\windows\\CHome_games.png"
"SK2TEXT"="Games"
"SK2URL"="\\windows\\fexplore.exe; \\windows\\start menu\\games"
"TEXT1"="Games"
"TEXT2"=""
"TITLETEXT"="Programs"

:D:D:D:D
[HTC Excalibur] iamanalog:
did you make those icons or are they from something else?
[HTC Excalibur] oldsap:
Thank you for the reply NRG. :)
[HTC Excalibur] NRGZ28:
Nah... they're downloaded from the net. Hell... two of them are IPhone icons! LOL
[HTC Excalibur] Poser:
very... very slick...

I noticed on your reg edit that you skipped "page 2", I imagine it contained previous data that you wished to leave unchanged....

... or is there a specific reason?
[HTC Excalibur] iamanalog:
Hmm when i imput the text for the programs i wanted to load, it didnt seem to save after a softreset, also it wouldnt let me import a reg file, did you have to do something special for it?
[HTC Excalibur] skisteven1:
great job OP, love it.
[HTC Excalibur] jsp_m:
great addon - can anyone give good example of use w/icons?

ps. is there a way for this slider to show MRU icons?
[HTC Excalibur] LiverpoolFCfan:
Dont forget to do those TAXES .... :D
[HTC Excalibur] Mikey:
Here is a link to various I Phone pics. http://forums.sbsh.net/index.php?showtopic=18217
[HTC Excalibur] freyes01:
I noticed that this is a modified version of the menu that I created for the T-Mobile Shadow (http://freddyreyes.com/forums/index.php?topic=285.0)

The only difference is that you added DefaultSettings\CWelcomeCenter to the registry path. In the Shadow you don't need that...interesting.

I may be able to port all the customizations that I created to the new wm6.1 interface.
[HTC Excalibur] illi:
You can also use the HKLM/Security/Chome/DefaultSettings/Settings. In fact you can duplicate the Settings to some other name and change the contents of both Settings and the new one accordingly.
[HTC Excalibur] illi:
Change Clock Font

Here's another tip. Copy \Windows\CHome_240x320.cpr to pc. Modify it to your hearts content, fontsize, fontstyle, etc, etc. I changed my clock face to digital, moved the date position, moved the wi-fi position and reduce the pane size smaller (take a look at my avatar).

Should you messed up this file, simply delete i from your device on \Windows. The original will be restored since it is in ROM:D

Hope this helps. But I really appreciate anyone who can add ElecontWeather to the clock's pane:cool:

Thanks
[HTC Excalibur] NRGZ28:
You're right. Only difference is... I didn't work with "CLinks3", like you did it. So I had to use the WelcomeCenter which is kind of useless anyway. Kavana did it with the Settings plugin... I guess there's several ways to do it.
[HTC Excalibur] NRGZ28:
Yeah, Kavana already release a utility that does it for you. I released a .cab that did it, a while ago.. The "JavoZ" cab. Also, rickwyatt included that utility in his latest ROMs.
[HTC Excalibur] Poser:
Very cool... dont get me wrong, the .cabs that have been put together to do it automagically are convenient, but I don't learn sh!te by using them.

I kinda like rollin up my sleeves and getting a little dirty, hey a bricked phone can always get re-flashed :D

anyway... I have been trying to change my clock font, but to no avail. I have copied chome_240x320.cpr, opened in notepad... located the TIME string and changed the default value "fontstyle=nina" to "fontstyle=segoeprb". I then copy over and replace in the \windows directory and reboot... and no change :(

I am the first to admit, I have no idea what I am doing... so am I editing the wrong string, do I need to use a fontalias... (I have the font in my \windows\font\segoeprb.ttf

any help would be appreicated.

edit: I have actually changed the value of "fontfamily" , not "fontstyle" which still remains regular.