Related
I was in the process of replacing framework-res.apk and missed the step of changing the permissions before replacing it. I found several threads on how to unbrick the phone by flashing a new ROM but I was hoping I can somehow fix the permissions on the framework file and be done. I installed adb and I already had the LG USB drivers installed but when I run adb devices it doesn't list anything. Windows 7 shows "LG AndroidNet Phone" and a removable disk under "Safely Remove Hardware" so I think I have the right drivers.
Is there hope that I can fix the file permissions?
BTW, I'm a newb so I may be missing something. And also scared of having to flash a ROM
I need help.
do you have CWM in the phone ? if so boot into that and run adb devices and see if it finds it their
No, I don't. Other than using DooMLoRD zergrush to root the phone a few months ago, I have not messed with anything else.
gabcon73 said:
No, I don't. Other than using DooMLoRD zergrush to root the phone a few months ago, I have not messed with anything else.
Click to expand...
Click to collapse
unless your phone will boot normaly to the home screen or you have CWM on it you will haveto flash the koren rom theirs no way to get it into recovery that i know of ... have you tryed a factory reset ?
I replied to you at another thread, so I'll repeat here.
What you need to do is re-root while it's looping. It might take you 100 tries before it succeed , but eventually it should succeed.
After that you can try fix the permissions, but if the new .apk file is not copied successfully first time it might get you in boot loop again, so I'd recommend at that point push the .apk again and then change the permissions.
I found that zergrush dated 2011-10-21 has more chances to succeed, because it has more retries before it gives up, the new version tries only few times and gives up too quickly.
I've attached the root I was using with 3 versions of zergrush.
Open CMD window and execute root.bat, let it copy all needed files to the phone. If it fails, try execute loop.bat, it will just execute zergrush indefinitely , so you can go do other stuff. You can check if root succeeded by opening another CMD window and type: adb shell
then, if it shows sign "$" type su, if it shows "#" you are good to go.
P.S.
This method only works with AT$T stock rom, if you are on LU6200 you are probably out of luck, as their root requires wifi and user interaction...
Having CWM is very handy in such situations, not only because you can restore backups, but because you'll have root access.
Thanks [email protected], I'll give it a try. And yes, I have the stock ROM.
I'm having problems downloading root.zip, I've tried two computers and different browsers, it only downloads 554 bytes.
Yeah, for some reason it was downloading 404 page...
I reuploaded it.
I let the loop.bat run overnight without success so I decided to call AT&T and have it replaced under warranty. The new phone arrived today and I've been busy reinstalling and reconfiguring. I may install CWM just so I can easily recover from a backup in case I do some other stupid thing to the phone.
Thanks guys
Hello everybody!
The latest install of CyanogenMod Nightly 5. july constantly crashes System UI, whereas I press the OK button, and I got about 1 second before it pops up again. I can see that many others that installed the same nightly is having the same problem, and that there will be a fix in 6. july update.
My problem is that I can't access the Rom Manager to update CyanogenMod (since it crashes when I try to launch), and I seem to not be able to enter recovery mode. Therefore, I have no way to install the 6. july update when it comes out. Sadly, I'm not as skilled as the regular development user, and would be greatful for any help, tip or advice I might get.
I would've posted this in the CyanogenMod Nightly thread, but I haven't posted 10 posts yet.
Thanks
ipi
Maybe,just maybe,download the latest build on pc,then copy it on phone?
Or making a clean install of actual build you are using?
Sent from LG E975 pwd by CM 10.1
Yeah, that could absolutely work, but how can I enter CWM recovery without going through the ROM manager app?? :silly:
You can always use adb to enter recovery mode....
Sent from LG E975 pwd by CM 10.1
kimitza said:
You can always use adb to enter recovery mode....
Sent from LG E975 pwd by CM 10.1
Click to expand...
Click to collapse
I've never really understood adb, how it works or what it actually is. I've tried to look for good tutorials on how to install and how to use adb with my Optimus G, but so far I've only accomplished installing something I don't even think works, and I've never been able to communicate with my phone through any of the programs.
Do you have a link to a decent tutorial?
I would be very greatful!
I'm also unavaiable to find my phone listed as devices on My Computer, where can I find the USB settings on my phone?
EDIT: Ok, I am now able to boot my phone into CWM, only thing I'm missing now is transfering the updated ROM into my SD card, but I am still not able to find my phone on devices. What am I missing?
you can't mount usb on cwm, as you don't have external sdcard.
with adb the command would be
adb push /path/to/local/file /mnt/sdcard/path/to/file
for example,you have the file in D: ,the command would be adb push /D:/cm10.1 /mnt/sdcard/
this means you would copy the file from root of D: partition to root of the internat memory of phone.i just gave you an example.
it's easier to rename the file you are transfering to a short name and put it on root of partition.this way there are less chances to get syntax errors.
kimitza said:
you can't mount usb on cwm, as you don't have external sdcard.
with adb the command would be
adb push /path/to/local/file /mnt/sdcard/path/to/file
for example,you have the file in D: ,the command would be adb push /D:/cm10.1 /mnt/sdcard/
this means you would copy the file from root of D: partition to root of the internat memory of phone.i just gave you an example.
it's easier to rename the file you are transfering to a short name and put it on root of partition.this way there are less chances to get syntax errors.
Click to expand...
Click to collapse
Sounds pretty good, but how do I install adb?
GIYF.
Sent from LG E975 pwd by CM 10.1
nice to see i am not the only one, getting this, from rom cm-10.1-20130704-NIGHTLY-e975.zip to cm-10.1-20130708-NIGHTLY-e975.zip i get this i haven't tried cm-10.1-20130709-NIGHTLY-e975.zip that got out today.
I have 4.6.4 AT&T OS and I want to downgrade to 4.6.3 unlock OS. In recovery mode the phone is connected with computer, I see serial number and "sideload" next, the update.bin file is in ADB folder, but at next step I get the message
"cannot read update.bin" . I run Win 10 on computer, I try also on Win 7, same problem. I downloaded
4.6.3 unlock OS first with Microsoft Edge, it has .zip extension, then downloaded with Chrome it came with .bin extension, neither one work. Any ideas ? Because I ran out.
That sounds confusing and frustrating. Where did you get the .bin from? I downloaded the one linked in this post and had no problems: http://forum.xda-developers.com/showpost.php?p=62768812&postcount=2
You definitely want a .bin file, not a zip (the .bin should be around 1.2gb). There's also the distinct possibility that ADB is improperly installed. If that's the case, there should be more info in that link that will help you.
In my signature, I link to a walkthrough describing everything I did to get my phone downgraded, rooted, etc. Maybe take a look and see if you missed any steps.
munkymack said:
That sounds confusing and frustrating. Where did you get the .bin from? I downloaded the one linked in this post and had no problems: http://forum.xda-developers.com/showpost.php?p=62768812&postcount=2
You definitely want a .bin file, not a zip (the .bin should be around 1.2gb). There's also the distinct possibility that ADB is improperly installed. If that's the case, there should be more info in that link that will help you.
In my signature, I link to a walkthrough describing everything I did to get my phone downgraded, rooted, etc. Maybe take a look and see if you missed any steps.
Click to expand...
Click to collapse
I downloaded 4.6.3 OS from 3-4 diffrent links from forum including that in your post, also direct from amazon. With Microsoft Edge, Internet Explorer the file is downloaded with .zip, no matter the link I used, so I thought that's the problem so I used Mozzila and Chrome, it came with .bin extension. The .bin file seems to be ok, I can open and extract folders and files from it with WinRAR so it's not corrupt.
About ADB, I read before how to deal with it, seems to work correctly, I can connect the phone in windows with phone on, also in recovery mode the phone appear sideload like it should. So at this point I don't no what to do.
markmm said:
I have 4.6.4 AT&T OS and I want to downgrade to 4.6.3 unlock OS. In recovery mode the phone is connected with computer, I see serial number and "sideload" next, the update.bin file is in ADB folder, but at next step I get the message
"cannot read update.bin" . I run Win 10 on computer, I try also on Win 7, same problem. I downloaded
4.6.3 unlock OS first with Microsoft Edge, it has .zip extension, then downloaded with Chrome it came with .bin extension, neither one work. Any ideas ? Because I ran out.
Click to expand...
Click to collapse
Microsoft Edge and Internet Explorer downloaded the 4.6.3 update as a zip file for me also. I've had the same error (cannot read update.bin) once when trying to sideload an update.bin. I never could figure out what the problem was, so I downgraded my phone using Safestrap. It is not recommended that you use Safestrap to update or downgrade your phone, but a few people including me have updated or downgraded their phone with Safestrap without any problems.
You will need to root your phone if you want to use Safestrap for the downgrade:
See Installing Root, Safestrap, CM11 for how to root and install Safestrap on your phone. You do not need to install CM11.
Launch Safestrap and select Install Recovery.
Download the 4.6.3 flashable-stock-image you will need for the downgrade and put the file on your phone.
Power your phone off, then power it back on.
When Safestrap starts, select RECOVERY> Install>
Browse to and select ss_update-fire-phone-35.4.6.3_user_463001620.zip.
Swipe to the right Swipe to Confirm Flash.
When the flash is complete, select Reboot System> CONTINUE>.
If you don’t want your phone rooted, launch Safestrap and uninstall Recovery, launch Kingroot and unroot your phone. I would also do a factory reset.
Edited to add: To unroot Kingroot 4.0, launch Kinguser, tap gear icon> Root authorization settings> Remove Root permission> Clear>. For Kingroot 4.5, launch Kingroot, tap gear icon> Root authorization settings> Remove Root permission> Continue> OK>. Manually uninstall any Kingroot apps that are still installed on your phone.
jack9955 said:
Microsoft Edge and Internet Explorer downloaded the 4.6.3 update as a zip file for me also. I've had the same error (cannot read update.bin) once when trying to sideload an update.bin. I never could figure out what the problem was, so I downgraded my phone using Safestrap. It is not recommended that you use Safestrap to update or downgrade your phone, but a few people including me have updated or downgraded their phone with Safestrap without any problems.
You will need to root your phone if you want to use Safestrap for the downgrade:
See Installing Root, Safestrap, CM11 for how to root and install Safestrap on your phone. You do not need to install CM11.
Launch Safestrap and select Install Recovery.
Download the 4.6.3 flashable-stock-image you will need for the downgrade and put the file on your phone.
Power your phone off, then power it back on.
When Safestrap starts, select RECOVERY> Install>
Browse to and select ss_update-fire-phone-35.4.6.3_user_463001620.zip.
Swipe to the right Swipe to Confirm Flash.
When the flash is complete, select Reboot System> CONTINUE>.
If you don’t want your phone rooted, launch Safestrap and uninstall Recovery, launch Kingroot and unroot your phone. I would also do a factory reset.
Click to expand...
Click to collapse
Thank you for your reply, I read about root/safestrap method but initially I did not want to root the phone.
Now seems to be the only choice, so thank you for info about this.
If you just type "adb devices" on the PC with the phone connected, do you see the phone? If not, then you have a driver issue. If that is the issue, the Amazon Dev. Service "Connecting your device" page may help.
Yes, at adb devices command the phone appear with serial number........ sideload. Appear connected whith phone on, I can copy on it and also in recovery mode after "apply update from ADB" . I belive that's not the problem.
I'm having the same problem. Cannot read update.bin when trying to sideload 4.6.3.
vkramac said:
I'm having the same problem. Cannot read update.bin when trying to sideload 4.6.3.
Click to expand...
Click to collapse
See this post, on how you may be able to correct your problem.
jack9955 said:
See this post, on how you may be able to correct your problem.
Click to expand...
Click to collapse
Thanks for linking this post. Regrettably, it still doesn't work...no worries though
vkramac said:
Thanks for linking this post. Regrettably, it still doesn't work...no worries though
Click to expand...
Click to collapse
I have had the exact same problem when trying to install the 4.6.3 update (cannot read update.bin), I had to use Safestrap to downgrade my phone. When you downloaded the update, was the extension a .bin or a .zip? When you say "it still doesn't work", do mean Safestrap doesn't work as well?
jack9955 said:
I have had the exact same problem when trying to install the 4.6.3 update (cannot read update.bin), I had to use Safestrap to downgrade my phone. When you downloaded the update, was the extension a .bin or a .zip? When you say "it still doesn't work", do mean Safestrap doesn't work as well?
Click to expand...
Click to collapse
I've been trying to do this through stock recovery. The file extension was .bin retrieved from Amazon's website.
I'm not interested in using Safestrap.
vkramac said:
I've been trying to do this through stock recovery. The file extension was .bin retrieved from Amazon's website.
I'm not interested in using Safestrap.
Click to expand...
Click to collapse
Yep. Can't figure this out at all. Most adb commands are working fine. ADB kill-server. ADB start-server. ADB devices. ADB reboot recovery.
Its just the ADB sideload that gets the error. Cannot read update.bin.
I'm starting to think this is WIN 10 ****ing with me.
vkramac said:
Yep. Can't figure this out at all. Most adb commands are working fine. ADB kill-server. ADB start-server. ADB devices. ADB reboot recovery.
Its just the ADB sideload that gets the error. Cannot read update.bin.
I'm starting to think this is WIN 10 ****ing with me.
Click to expand...
Click to collapse
OK, should you find a solution to the "cannot read update.bin", please post how you was able to fix the problem, your fix may help others. From an internet search, I see the most common reason for the "cannot read . . ." error is the file has a double extension of .zip.zip, bin.bin, or bin.zip.
vkramac said:
Yep. Can't figure this out at all. Most adb commands are working fine. ADB kill-server. ADB start-server. ADB devices. ADB reboot recovery.
Its just the ADB sideload that gets the error. Cannot read update.bin.
I'm starting to think this is WIN 10 ****ing with me.
Click to expand...
Click to collapse
Maybe a stupid question- But did you change the name of the downloaded bin file to "update.bin"?
Years later, but maybe it'll help. For me, it was a combo of WIndows and Bitdefender: Under properties of the update file, it said access was blocked due to the file being from another PC - checking the box there and disabling Bitdefender (only one at a time didn't help) solves the issue.
jack9955 said:
Microsoft Edge and Internet Explorer downloaded the 4.6.3 update as a zip file for me also. I've had the same error (cannot read update.bin) once when trying to sideload an update.bin. I never could figure out what the problem was, so I downgraded my phone using Safestrap. It is not recommended that you use Safestrap to update or downgrade your phone, but a few people including me have updated or downgraded their phone with Safestrap without any problems.
You will need to root your phone if you want to use Safestrap for the downgrade:
See Installing Root, Safestrap, CM11 for how to root and install Safestrap on your phone. You do not need to install CM11.
Launch Safestrap and select Install Recovery.
Download the 4.6.3 flashable-stock-image you will need for the downgrade and put the file on your phone.
Power your phone off, then power it back on.
When Safestrap starts, select RECOVERY> Install>
Browse to and select ss_update-fire-phone-35.4.6.3_user_463001620.zip.
Swipe to the right Swipe to Confirm Flash.
When the flash is complete, select Reboot System> CONTINUE>.
If you don’t want your phone rooted, launch Safestrap and uninstall Recovery, launch Kingroot and unroot your phone. I would also do a factory reset.
Edited to add: To unroot Kingroot 4.0, launch Kinguser, tap gear icon> Root authorization settings> Remove Root permission> Clear>. For Kingroot 4.5, launch Kingroot, tap gear icon> Root authorization settings> Remove Root permission> Continue> OK>. Manually uninstall any Kingroot apps that are still installed on your phone.
Click to expand...
Click to collapse
i am facing the same issue but the problem is i cant turn my phone on because it get bricked when i was trying to install MIUI 7 in it. Now it is just stuck to the amazon logo and i tried to do all these stuff to download amazon latest and installing it through adb but in command prompt it says *cannot read update.bin i cant understand what is going over here please help me out to solve this issue or i will not be able to buy a new phone dew to some financial conditions.
hamza said:
i am facing the same issue but the problem is i cant turn my phone on because it get bricked when i was trying to install MIUI 7 in it. Now it is just stuck to the amazon logo and i tried to do all these stuff to download amazon latest and installing it through adb but in command prompt it says *cannot read update.bin i cant understand what is going over here please help me out to solve this issue or i will not be able to buy a new phone dew to some financial conditions.
Click to expand...
Click to collapse
Hi, I found out your computer may block files that appears to be malicious. See this thread for information on how to unblock it.
Got it to work
I was having the same problem. I kept getting the message" cannot read file"
I was able to get it to work by typing "adb sideload" and then dragging the file in the command window right behind "adb sideload". the string will look like this
"PS C:\Users\Ryan\Desktop> adb sideload C:\Users\Ryan\Desktop\update.bin.bin
and then press enter.
I was running Candy5 ROM ver. 2.5 and saw the thread for the 4.0 ROM. I downloaded it and Gapps and put it on the Fire HD. Rebooted into Recovery and into TWRP. That's when I did one of the most stupid things that I've ever done. I wanted a clean install from scratch. Unfortunately, I erased everything! When I realized what happened I rebooted and the screen goes through the two fire HD logos stopping at the last one. Is there ANYTHING I can do to get an operating Fire HD back up and running, Please!
rebelduke said:
I was running Candy5 ROM ver. 2.5 and saw the thread for the 4.0 ROM. I downloaded it and Gapps and put it on the Fire HD. Rebooted into Recovery and into TWRP. That's when I did one of the most stupid things that I've ever done. I wanted a clean install from scratch. Unfortunately, I erased everything! When I realized what happened I rebooted and the screen goes through the two fire HD logos stopping at the last one. Is there ANYTHING I can do to get an operating Fire HD back up and running, Please!
Click to expand...
Click to collapse
Try to reboot into TWRP (press + hold volume up as soon as you see the first logo, keep holding till you see the TWRP curtain). If you are successful, copy a ROM zip into the kindle's internal storage (gapps are optional, but I recommend you flash them along with your chosen ROM), flash it, reboot, and cross your fingers.
Thank you. I'm making some progress. Your instructions got me into TWRP (ver. 2.8.6). Next step is to get the PC to allow copying of the ROM file. TWRP does recognize that there is no operating system installed. Thanks again!
rebelduke said:
Thank you. I'm making some progress. Your instructions got me into TWRP (ver. 2.8.6). Next step is to get the PC to allow copying of the ROM file. TWRP does recognize that there is no operating system installed. Thanks again!
Click to expand...
Click to collapse
If you can't directly copy it, try adb sideload path/to/ROM.zip (enable sideloading in the advanced menu in TWRP first, or you'll get an error). Make sure you have adb drivers installed and working if your PC's running Windows. Good luck!
monster1612 said:
If you can't directly copy it, try adb sideload path/to/ROM.zip (enable sideloading in the advanced menu in TWRP first, or you'll get an error). Make sure you have adb drivers installed and working if your PC's running Windows. Good luck!
Click to expand...
Click to collapse
Adb sideload worked with the Candy5 4.0 ROM. The Gapps zip failed due to the file size being too great. I can tackle that after the ROM is installed. Another stupid question - any idea where the sideloaded ROM zip file would be internally? I explored using the TWRP file manager and all I have is the directory structure - no actual files. I probably looked in 50+ folders and they were all empty. I think there must be hundreds of directories and subdirectories. I found one folder named sideload thinking I had it but no luck. Worst case I can open every folder and hopefully find the ROM zip file.
rebelduke said:
Adb sideload worked with the Candy5 4.0 ROM. The Gapps zip failed due to the file size being too great. I can tackle that after the ROM is installed. Another stupid question - any idea where the sideloaded ROM zip file would be internally? I explored using the TWRP file manager and all I have is the directory structure - no actual files. I probably looked in 50+ folders and they were all empty. I think there must be hundreds of directories and subdirectories. I found one folder named sideload thinking I had it but no luck. Worst case I can open every folder and hopefully find the ROM zip file.
Click to expand...
Click to collapse
From the TWRP FAQ for the sideloading feature:
TWRP versions 2.8.2.0 and higher will stream the zip from your PC without storing it on your device. If you wish to store the zip on your device for later, you should not use sideload and instead use adb push or some other method to copy the zip to the device.
Click to expand...
Click to collapse
Older TWRP versions used to store the zip file in /sdcard/sideload, but I think versions 2.8.2.0 and higher use it as a temporary buffer and delete the zip after flashing. If you're able to get Android up and running, then you should be able to connect it to your PC, copy the ROM and gapps zips over to the kindle without using adb, and flash the gapps.
monster1612 said:
From the TWRP FAQ for the sideloading feature:
Older TWRP versions used to store the zip file in /sdcard/sideload, but I think versions 2.8.2.0 and higher use it as a temporary buffer and delete the zip after flashing. If you're able to get Android up and running, then you should be able to connect it to your PC, copy the ROM and gapps zips over to the kindle without using adb, and flash the gapps.
Click to expand...
Click to collapse
Thanks very much for all of your advice and suggestions! I'm back up and running. The gapps package was causing an error 70 message. Once I found a smaller file it worked. It certainly was an excellent learning experience. Thank you again.
My Sprint HTC 10 is on a stock rom, but has a custom recovery. I read about it and was told that I can possibly try flashing the update.zip from the OTA update using TWRP to install it without having to do through the mess of flashing stock recovery, relocking, and possibly having my phone format itself from all this. Issue is, I can't figure out where my phone downloaded the update.
I tried reading this post:
https://forum.xda-developers.com/htc-10/how-to/guide-ota-tricks-extracting-manual-t3367449
But the app_fota folder mentioned in that post does not exist.
Any idea where I can find the update my phone downloaded so I can try to manually flash it?
From the link you mentioned, try doing the second method, using the log cat etc.
I don't have root on the stock rom to do that though. TWRP itself is the only root access I have.
you dont need root from what I remember. I have done it in the past using command prompt, it just uses adb. Not the Shell or superuser. It saves the output to a text file and from there, you can CTRL+F the word OTA or FOTA to get the link.
Oh, so the idea is to see where it downloaded the update from and download it directly using my PC?
Can I just download a log viewing app on the phone itself then?
Basically yes. I imagine you can find an app, its just easier to scroll through and find that information using a computer, I find. You dont want the log running too long, otherwise it will have tonnes of information. Even just starting the log, clicking "check for updates" and then stopping it collects quite a lot of data.
But once you have the OTA file, which will look something like this in the log file:
OTA_PERFUME_UHL_M60_SENSE80GP_hTC_Asia_TW_1.30.709.1_R-1.21.709.2_R2_release_477314i6fyk64xlvy886ba.zip
You just add it to this link: http://fotadl-az.htc.com/secure/ so that it looks like this
http://fotadl-az.htc.com/secure/OTA...1.709.2_R2_release_477314i6fyk64xlvy886ba.zip
and you can download it on the computer.
I still can't find where the update was downloaded, the logcat instructions seem to just point to the same folder.