You do not need to be rooted! Just have USB debugging enabled in developer options.
Please post the official URL of the OTA that you obtain from following these steps so that everyone can download it safely and securely.
Please do not rehost the OTA zipfile on some ad-laden scammy download hosting website.
Steps shamelessly stolen from http://www.droid-life.com/2014/06/05/download-nexus-ota-url-file/
As soon as you get the OTA notice:
1. When you get prompted to download an update on your phone immediately plug your phone into a computer.
2. From that computer, open a command prompt, type “adb logcat” and hit enter. (On a Mac it’s “./adb logcat”)
3. The command prompt will then begin to spit out information from your phone.
4. Feel free to then tap the “Download” button on the update from your phone.
5. Once the download starts, you will be able to find the URL of the file that is downloading in the logcat.
6. You can do a handful of things now to find it-
a) See if you can spot a URL in the command prompt that starts with “android.clients.google.com” – or -
b) Copy the logcat info, paste into a text editor and then search for that string – or -
C) You could also search for the codename for the device (Ex: Moto G 2014 is “titan”)
Once you have the full URL, post it on the forums!
Nice
Some corrections:
first links for Motorola OTA zips start from storage.googleapis.com. not android.clients like of Nexus
second if you use adb logcat only, there will be a lot of text generated which deletes the logs captured at beginning (in which our url is).
so use abd logcat>filename.txt
so that you can search whole log i.e.filename.txt in text editor
third it's not that simple "post the url in forum"
links of Motoroal OTA get expired immediately (Nexus links don't expire) so you have to download it first and again upload it somewhere.
so please at least try before you post
I know it was not possible to test for you.
Hope you will update OP with corrections.
bhavin192 said:
Some corrections:
first links for Motorola OTA zips start from storage.googleapis.com. not android.clients like of Nexus
second if you use adb logcat only, there will be a lot of text generated which deletes the logs captured at beginning (in which our url is).
so use abd logcat>filename.txt
so that you can search whole log i.e.filename.txt in text editor
third it's not that simple "post the url in forum"
links of Motoroal OTA get expired immediately (Nexus links don't expire) so you have to download it first and again upload it somewhere.
so please at least try before you post
I know it was not possible to test for you.
Hope you will update OP with corrections.
Click to expand...
Click to collapse
What do you mean with "immediately"? If I get the link while my phone is downloading the ota can I use the link to download it on my pc almost at the same time?
Nagass said:
What do you mean with "immediately"? If I get the link while my phone is downloading the ota can I use the link to download it on my pc almost at the same time?
Click to expand...
Click to collapse
Yes you can use it at that time
Great initiative.
A tutorial like that should have been fixed on these forums right from the beggining.
The OTA soak test for xt1069 was lost forever, for instance, because nobody who received the notification knew about this.
On the off-chance that you're using a linux based OS or Mac OS and want to make life even easier, use grep to filter the output and then print to file:
Code:
adb logcat | grep 'storage.googleapis.com' > ota.txt
Just used this method to grab the OTA for 5.0.1 without root! My recommendation is to do this:
adb logcat > log.txt
Search log.txt for handleDownloadServiceRequest:downloadUrl
Copy / Paste URL into browser
Search log.txt for "fileName":"\/cache\/
Rename file downloaded from URL to file name listed in the logcat
Upload to XDA for others to enjoy
---------- Post added at 07:57 AM ---------- Previous post was at 07:54 AM ----------
bhavin192 said:
Some corrections:
first links for Motorola OTA zips start from storage.googleapis.com. not android.clients like of Nexus
second if you use adb logcat only, there will be a lot of text generated which deletes the logs captured at beginning (in which our url is).
so use abd logcat>filename.txt
so that you can search whole log i.e.filename.txt in text editor
third it's not that simple "post the url in forum"
links of Motoroal OTA get expired immediately (Nexus links don't expire) so you have to download it first and again upload it somewhere.
so please at least try before you post
I know it was not possible to test for you.
Hope you will update OP with corrections.
Click to expand...
Click to collapse
BTW, this latest update came from https://dlmgr.gtm.svcmot.com as the root domain. The link did expire as soon as my device finished the update and checked in.
mcnutty said:
BTW, this latest update came from https://dlmgr.gtm.svcmot.com as the root domain. The link did expire as soon as my device finished the update and checked in.
Click to expand...
Click to collapse
Glad to hear you got success
May be different servers are used for different countries.
Related
Shamelessly stolen from another forum, editing is mine.
If someone gets the update, can you please do this before you accept it. and post the logcat.txt? Please this may help rooting.
How to get the URL for the OTA zip the following way:
Run logcat on the pc and accept the update on the phone
Code:
$ adb logcat > logcat_accept.txt
This will sit like this (it continues to log output into the output file) until the phone reboots. At that point, the adb logcat job will terminate, and the name of the zip file will be indicated in the logfile in a message similar to:
Code:
W/SystemUpdateHelper( 64): !!! REBOOTING TO INSTALL /cache/
You should see a link in the file like
Code:
https://android.clients.google.com/u.../partner/*****
Click to expand...
Click to collapse
indeed, also for a good file manager to pull the zip, use estrongs its free lets you browse / just cant write to it (which isnt what we are looking to do)
great info. I remember seeing this process posted way back when, thanks for the refresher.
What if you have a mac though, w/o any boot camp either?
Seems i have found a way to capture OTA without need to root for sharing with other people. If any step seems wrong one can correct me. @S0bes and @MarckozZ can take a look if its relevant or not doing so Since i find you guys know more into this.
Disclaimer: I am not responsible for any brick. Shared this just for your information. You may try at your own risk.
As soon as one receives OTA notification.
1. Connect your phone with your PC and Take adb logcat > log.txt
2. Tap "Download" button on your phone to initiate download of update.
3. Press Ctrl+C to stop logcat. Now, look into log.txt file for the URL. Press Ctrl+F and look for keywords like URL. A line will appear something like "http://android.clients.google.com.........546.zip". Now this filename need not be the system_version name Eg: Blur_version.xxx.zip. It may appear as some unknownfilename Eg: 9851455bbsfdxxxxxxxxx.zip
4. Now this URL can be shared to users for downloading the official OTA manually. User can then download OTA via shared URL on their PC and place in their adb folder.
5. Reboot into Stock recovery and select option "Appy update from ADB".
6. Now, from PC do "adb sideload OTAfilename.zip". Where OTAfilename is the name of the OTA file that you downloaded.
This should install the OTA on your phone. Once you see Install from ADB is complete , proceed to reboot.
References: Droid-life and 9to5google
Install Motorola Drivers and Setup ADB . You may Download Motorola drivers and adb tools from this thread. Extract Adb-tools_treibier.zip and get ready for above steps.
Really?wow hope this is real!that would be great
Sent from my VS985 4G using XDA Free mobile app
I think you will need to disconnect the phone before opening that log file..
if not logcat might still want to throw contents in it continuously..
Also it will be good to include a link to guide to setup of adb for Moto G to avoid users coming with any queries related with it.
Pretty interesting if this works its a great find, thanks! I gave your post a thumbs up.
Will definitely verify this method when the Lollipop OTA comes.
This method is known, but thanks, anyway.
Great Post @==vj== ...
Guys whoever gets the update please be kind enough to do this and post the link ......
Seems i have found a way to capture OTA without need to root for sharing with other people. If any step seems wrong one can correct me. @S0bes and @MarckozZ can take a look if its relevant or not doing so Since i find you guys know more into this.
Disclaimer: I am not responsible for any brick. Shared this just for your information. You may try at your own risk.
As soon as one receives OTA notification.
1. Connect your phone with your PC and Take adb logcat > log.txt
2. Tap "Download" button on your phone to initiate download of update.
3. Press Ctrl+C to stop logcat. Now, look into log.txt file for the URL. Press Ctrl+F and look for keywords like URL. A line will appear something like "http://android.clients.google.com.........546.zip". Now this filename need not be the system_version name Eg: Blur_version.xxx.zip. It may appear as some unknownfilename Eg: 9851455bbsfdxxxxxxxxx.zip
4. Now this URL can be shared to users for downloading the official OTA manually. User can then download OTA via shared URL on their PC and place in their adb folder.
5. Reboot into Stock recovery and select option "Appy update from ADB".
6. Now, from PC do "adb sideload OTAfilename.zip". Where OTAfilename is the name of the OTA file that you downloaded.
This should install the OTA on your phone. Once you see Install from ADB is complete , proceed to reboot.
References: Droid-life and 9to5google
Install Motorola Drivers and Setup ADB . You may Download Motorola drivers and adb tools from this thread. Extract Adb-tools_treibier.zip and get ready for above steps.
The official huawei page of our region has stated that it has released the MM update for kiw l21 and it should reach us in 2-3 working days...
There will be an OTA and a link on their website... I want to mirror the link on sites like mega etc for people who don't get the update right away.... But don't kniw how to, can someone please explain the procedure so middle eastern people don't have to wait any longer...
Sent from my KIW-L21 using Tapatalk
hi.can send me rom link?
Faheemarif252 said:
The official huawei page of our region has stated that it has released the MM update for kiw l21 and it should reach us in 2-3 working days...
There will be an OTA and a link on their website... I want to mirror the link on sites like mega etc for people who don't get the update right away.... But don't kniw how to, can someone please explain the procedure so middle eastern people don't have to wait any longer...
Sent from my KIW-L21 using Tapatalk
Click to expand...
Click to collapse
where is the link??? Please share with us
Faheemarif252
What is the web address of the official Huawei page thats states this ?
Please provide a link so that we can read this.
Thank you
If you read the original post correctly... Huawei said that the OTA will reach in 2-3 working days... That means monday or tuesday (at least where i live).... Some people have got the ota but i still haven't... And there is no update available till now on their website...
One of my friends recieved the update so i should be soon too.... I will mirror the OTA and share the link asap
Sent from my KIW-L21 using Tapatalk
It should be in XDA's Honor's 5x repository
Faheemarif252 said:
The official huawei page of our region has stated that it has released the MM update for kiw l21 and it should reach us in 2-3 working days...
There will be an OTA and a link on their website... I want to mirror the link on sites like mega etc for people who don't get the update right away.... But don't kniw how to, can someone please explain the procedure so middle eastern people don't have to wait any longer...
Sent from my KIW-L21 using Tapatalk
Click to expand...
Click to collapse
I simply use the logcat feature of android to get the URL of an OTA update
Open a command prompt and use these two commands to clear the log and then dump the log to your PC and simply look (search) for any http:// in the log
I simply use.
adb logcat -c
followed by
adb logcat -d > logcat.txt
to learn more read below
1. When you get prompted to download an update on your Android device, immediately plug your phone into a computer.
2. From that computer, open a command prompt, type “adb logcat” and hit enter. (On a Mac it’s “./adb logcat”)
3. The command prompt will then begin to spit out information from your phone.
4. Feel free to then tap the “Download” button on the update from your phone.
5. Once the download starts, you will be able to find the URL of the file that is downloading in the logcat.
6. You can do a handful of things now to find it-
Click to expand...
Click to collapse
To better use the "adb logcat" command, we need to look at its options:
"adb logcat -b <buffer>" - Loads an alternate log buffer for viewing, such as event or radio. The main buffer is used by default. There are log buffers on the Android system: "main", "events", and "radio". The default buffer is "main".
"adb logcat -c" - Clears (flushes) the entire log and exits.
"adb logcat -d" - Dumps the log to the screen and exits.
"adb logcat -f <filename>" - Writes log message output to a file. The default is the "stdout - Standard Output".
"adb logcat -g" - Prints the size of the specified log buffer and exits.
"adb logcat -n <count>" - Sets the maximum number of rotated logs to <count>. The default value is 4. Requires the -r option.
"adb logcat -r <kbytes>" - Rotates the log file every <kbytes> of output. The default value is 16. Requires the -f option.
"adb logcat -s" - Sets the default filter spec to silent.
"adb logcat -v <format>" - Sets the output format for log messages. The default is brief format.
Click to expand...
Click to collapse
clsA said:
I simply use the logcat feature of android to get the URL of an OTA update
Open a command prompt and use these two commands to clear the log and then dump the log to your PC and simply look (search) for any http:// in the log
I simply use.
adb logcat -c
followed by
adb logcat -d > logcat.txt
to learn more read below
1. When you get prompted to download an update on your Android device, immediately plug your phone into a computer.
2. From that computer, open a command prompt, type â??adb logcatâ? and hit enter. (On a Mac itâ??s â??./adb logcatâ?)
3. The command prompt will then begin to spit out information from your phone.
4. Feel free to then tap the â??Downloadâ? button on the update from your phone.
5. Once the download starts, you will be able to find the URL of the file that is downloading in the logcat.
6. You can do a handful of things now to find it-
To better use the "adb logcat" command, we need to look at its options:
"adb logcat -b <buffer>" - Loads an alternate log buffer for viewing, such as event or radio. The main buffer is used by default. There are log buffers on the Android system: "main", "events", and "radio". The default buffer is "main".
"adb logcat -c" - Clears (flushes) the entire log and exits.
"adb logcat -d" - Dumps the log to the screen and exits.
"adb logcat -f <filename>" - Writes log message output to a file. The default is the "stdout - Standard Output".
"adb logcat -g" - Prints the size of the specified log buffer and exits.
"adb logcat -n <count>" - Sets the maximum number of rotated logs to <count>. The default value is 4. Requires the -r option.
"adb logcat -r <kbytes>" - Rotates the log file every <kbytes> of output. The default value is 16. Requires the -f option.
"adb logcat -s" - Sets the default filter spec to silent.
"adb logcat -v <format>" - Sets the output format for log messages. The default is brief format.
Click to expand...
Click to collapse
Nice trick, thanks
clsA said:
I simply use the logcat feature of android to get the URL of an OTA update
Open a command prompt and use these two commands to clear the log and then dump the log to your PC and simply look (search) for any http:// in the log
I simply use.
adb logcat -c
followed by
adb logcat -d > logcat.txt
to learn more read below
Click to expand...
Click to collapse
Thnx a lot bro... I'll try the same as soon as i get the ota...
Sent from my KIW-L21 using Tapatalk
Faheemarif252 said:
Thnx a lot bro... I'll try the same as soon as i get the ota...
Sent from my KIW-L21 using Tapatalk
Click to expand...
Click to collapse
yep no problem another tip the file is normally named update.zip
and can be found in internal storage HwOUC folder with a folder inside with 5 digit number containing update.zip file
Nahid s said:
where is the link??? Please share with us
Click to expand...
Click to collapse
mammadpsy said:
hi.can send me rom link?
Click to expand...
Click to collapse
Tasha T said:
Faheemarif252
What is the web address of the official Huawei page thats states this ?
Please provide a link so that we can read this.
Thank you
Click to expand...
Click to collapse
Hey guys, Here is the link for Official MM update for ME - http://download-c.huawei.com/download/downloadCenter?downloadId=90103&version=351925&siteCode=pk
vsriram92 said:
Hey guys, Here is the link for Official MM update for ME - http://download-c.huawei.com/download/downloadCenter?downloadId=90103&version=351925&siteCode=pk
Click to expand...
Click to collapse
i have a bug in my phone in this update
when i receive new notification ex.whatsapp not show whatsapp icon in statusbar
show me pic who send me a message in statusbar
plz help me this bug
Amr fego said:
i have a bug in my phone in this update
when i receive new notification ex.whatsapp not show whatsapp icon in statusbar
show me pic who send me a message in statusbar
plz help me this bug
Click to expand...
Click to collapse
It's due to EMUI I guess
PalakMi said:
It's due to EMUI I guess
Click to expand...
Click to collapse
how can i fix this bug !!!!
i tired to found solution
Amr fego said:
how can i fix this bug !!!!
i tired to found solution
Click to expand...
Click to collapse
Try uninstalling and reinstall whatsapp
PalakMi said:
Try uninstalling and reinstall whatsapp
Click to expand...
Click to collapse
this problem in all application in my phone after i install this update
Amr fego said:
this problem in all application in my phone after i install this update
Click to expand...
Click to collapse
It's because the update, just go with a custom ROM that's better
how i return to custom rom !?
Amr fego said:
how i return to custom rom !?
Click to expand...
Click to collapse
Just unlock bootloader, install TWRP recovery and install custom ROM of your choice
the page huawai to get code to unlockbootloader not opend get me error
any anthor way to install TWRP recovery without unlock bootloader
I want to capture OTA update file.
The plan is to power down the device during OTA (when exactly?). Then, boot to TWRP and copy the FW update file. I looked up the OTA update file Blur*.zip , but could not find it
Which folder do look at?
I have also tried to capture OTA URL adb logcat > log.txt , but could not get working URL.
In the log file, I did see something like
Code:
downloadUrl = https://dlmgr.gtm.svcmot.com/dl/dlws/1/download/5a695MmLWnZQIL7IPS5cD4nkj9%2FmlRBFuisKgbOUteZFGF0LVIr3fZGsyTBNleklN%2BvGu2j4xooz5Ky%2Fve7SfWcmRdeS8aXEqSgmHrq6dVou%2BSZiZPovBazKrFv%2FJoXkyH7iWsYR8xYS3OnEgEHCmVoZXEBUKY59HhFInaxCzVy0cBpVlJH1nkYcaGn4tEV1OcTQjLUHJm1jGxmqUAatFw%3D%3D
which decodes to
Code:
https://dlmgr.gtm.svcmot.com/dl/dlws/1/download/5a695MmLWnZQIL7IPS5cD4nkj9/mlRBFuisKgbOUteZFGF0LVIr3fZGsyTBNleklN+vGu2j4xooz5Ky/ve7SfWcmRdeS8aXEqSgmHrq6dVou+SZiZPovBazKrFv/JoXkyH7iWsYR8xYS3OnEgEHCmVoZXEBUKY59HhFInaxCzVy0cBpVlJH1nkYcaGn4tEV1OcTQjLUHJm1jGxmqUAatFw==
but still without success
Un-rooted Pie with un-locked BL
You're getting close...
Here are the steps which worked for me:
1. open this file /data/data/com.motorola.ccc.ota/shared_prefs/dl_prefs.xml (it only appears after first update attempt)
2. after a few lines you can find s.th. like this for example:
Code:
<string name="downloadRequest">
{"downloadRequest":
{"contentResource":"
{\"proceed\":true,\"wifiUrl\
":\"https:\\\/\\\/dlmgr.gtm.svcmot
.com\\\/dl\\\/dlws\\\/1\\\
/download\\\/Ig7qWQDh9p68jhxIGs
L7D4nkj9%2FmlRBFuisKgbOUteZFGF0L
VIr3fZGsyTBNleklN%2BvGu2j4xooz5Ky
%2Fve7SfZ5%2F7SIx tZe8aC%2BjQKdzC6g
u%2BSZiZPovBazKrFv%2FJoXktakuX
8J%2FXekJkTtRmbyNA59LsD0cJ%2F
PGoMafEslS1aOcnWbxMUaAS2gAna
GCZgerOcTQjLUHJm1jGxmqUAatFw
%3D%3D\",\"
3. copy the URL https://...= and delete all \ between the / before open it in your browser.
ATTENTION:
The URL is only valid while your system is attempting to update your device. If you cancel the (attempt to) update, the URL is not longer valid!
WoKoschekk said:
open this file /data/data/com.motorola.ccc.ota/shared_prefs/dl_prefs.xml
Click to expand...
Click to collapse
I think I will not be able to access this file on un-rooted phone unless I boot to TWRP.
WoKoschekk said:
The URL is only valid while your system is attempting to update your device. If you cancel the (attempt to) update, the URL is not longer valid!
Click to expand...
Click to collapse
if I power off my Wi-Fi router and then power off my phone, will the URL remain valid for a while?
Better yet, if I cancel the download and re-attempt it, say, in 15 min, will the the URL be different or the same?
Why do you need the OTA.zip when unrooted?
Try it this way:
While your device is running and attempting to update connect it to your PC and run following command:
Code:
adb logcat | grep dlmgr > log.txt
copy the URL shown in log.txt in any browser on your PC and download the ota.zip
Don't forget to erase the \ in the shown URL if necessary.
WoKoschekk said:
Code:
adb logcat | grep dlmgr > log.txt
Click to expand...
Click to collapse
Does it have to be a Linux PC?
On Windows PC, I am getting
'grep' is not recognized as an internal or external command, operable program or batch file.
Click to expand...
Click to collapse
Regardless, I found a download URL and downloaded "ab_delta-Blur_Version.29.291.8-29.321.13.evert.retail.en.US.zip" ( 148 MB), which updates to 116-11-11
Then, I found another URL and and downloaded "ab_delta-Blur_Version.29.321.13-29.351.21.evert.retail.en.US.zip" (86Mb), which updates to 116-11-13
II was not able to manually install the above Blurs until I re-lock the boot-loader.
So Moto becomes more and more picky and strict and not only root, but also unlocked BL and stock FW for non-matching channels is not tolerated
The download URL is present in both files:
/data/data/com.motorola.ccc.ota/shared_prefs/dl_prefs.xml
/data/data/com.motorola.ccc.ota/shared_prefs/ota_prefs.xml
To make things right:
The ota.zip contains only pieces/updates of your current FW. During the installation process the .zip overwrites targeted files of your significant partitions. If Motorola wouldn't proof these files to be stock, then the installation could lead into a bootloop or hard bricked device. Motorola's developers only know their own filestructure but not custom roms'. To avoid fatal failures of your device they have to check your system before doing any modifications. If it isn't stock then the installation will be cancelled.
BTW: There's no need to relock the bootloader. Running a stock FW meets the criteria to receive and to install a OTA update.