[SOLVED] [Q] ADB push, permission denied - LG Optimus 4X HD

Hi
I am trying to push CWM recovery to my phone but keep getting permission denied. This is what I've figured out searching the forum:
Code:
adb shell mount -o remount,rw /sdcard
adb push recovery.img /sdcard
Permission denied
Code:
adb shell
su
mount -o remount,rw /sdcard
exit
adb push recovery.img /sdcard
Permission denied
I've tried a lot of different combinations and commands that I've found but keep getting permission denied. It's probably something stupidly simple but this is my first atttempt at adb.
Additional info:
I unlocked bootloader and installed CWM recovery using guides on this forum. I successfully booted into CWM and flashed EternityProject's CM 10.2. After rebooting I got as far as the LG logo and got a
Code:
[LGE_SECURITY] ERROR: boot image signature
Critical failure: Unable to start kernel.
Unrecoverable bootloader error (0x00000002)
which I'm guessing means that I didn't do a good job unlocking the bootloader.. I booted back into recovery but that now shows stock 3e recovery which isn't really helpful.
I've tried LGFlashTool and the Lg Mobile Support tool but they either freeze at 4% or fail to detect the device at all. Same with the offline kdz update. Tried different USB ports (2.0 & 3.0) and different computers (both with Win8 x64 though), uninstalled drivers, reinstalled drivers, drivers from this forum, drivers straight from LG.. So now I'm hoping to get into CWM using adb.

Can you boot t fastboot (adb reboot oem-unlock)? If so, use
Code:
fastboot getvar all
to see if bootloader is unlocked. If it is, try to install the recovery with
Code:
fastboot flash recovery
.
Gesendet von meinem Transformer mit Tapatalk 4

muellersmattes said:
Can you boot t fastboot (adb reboot oem-unlock)?
Click to expand...
Click to collapse
Thank you for your suggestion, however, adb reboot oem-unlock restarts the phone but it stops with the LG logo and the same error message as in OP. Only thing I can get working is
- booting into original recovery 3e
- software update mode (Vol - & inserting USB plug)
- software download mode (Vol + & power button)

Just saw that you're using Win8. The flashing tools only seem to work on Windows 7 and lower. Maybe you can get a friend with Win7 to reflash your phone with the kdz method?

muellersmattes said:
Just saw that you're using Win8. The flashing tools only seem to work on Windows 7 and lower. Maybe you can get a friend with Win7 to reflash your phone with the kdz method?
Click to expand...
Click to collapse
Freakin aye I borrowed a Win7 computer and ran the LG Mobile Support tool downloaded straight from the LG website. Ran it and it downloaded the software and installed it without problems. Strange that it didn't work properly on Win8, didn't give an error message or anything, just stopped at 4%.
Anyways, fixed now and will save me hours the next time around
Danke für eure hilfe

Related

[Q] ADB/Fastboot not working on Linux

I have a slight problem, and I'm not too sure how to fix it. I mindlessly formatted my /sdcard directory in recovery, and had also removed my current rom.
My computer is running Linux Mint 15.
As it stands now, I have a completely wiped device with CWM Recovery v6.0.3.0, and no roms to flash. ADB is not working ( I get error: insufficient permissions for device) and neither is Fastboot ( stays on "waiting for device" indefinitely).
All I need to do is get a file onto my One to flash via recovery, as ADB and fastboot aren't wanting to work. All suggestions are HIGHLY appreciated!
Thanks in advance!
:fingers-crossed:
The title is misleading somehow , the adb and fastboot are working fine for me on Ubuntu with HTC One

Can't install anything not even stock ROM

I formatted everything ever since I haven't been able to install a ROM I've gotten every error in the world. (Too Many To Remember). Now my issue is that in recovery mode the internal phone storage isn't being recognized. I can't mount it either. I need to have my phone back. I have the Team Win Recovery Installed and that is the only thing I can really do other than that it's dead. I can't even get the adb to work on it.
UPDATE 1:
I was able to repair the SDCARD mounting error by following the steps from here: http://forums.team-nocturnal.com/in...ountable-internal-storage-on-the-htc-one-xxl/
In TWRP go to Advanced > ADB Sideload
abd sideload rom.zip
Sent from my HTCONE using xda app-developers app
Sirricharic said:
I formatted everything ever since I haven't been able to install a ROM I've gotten every error in the world. (Too Many To Remember). Now my issue is that in recovery mode the internal phone storage isn't being recognized. I can't mount it either. I need to have my phone back. I have the Team Win Recovery Installed and that is the only thing I can really do other than that it's dead. I can't even get the adb to work on it.
Click to expand...
Click to collapse
Uninstall all the HTC drivers you have on your PC and install the universal naked driver 0.72 from here http://forum.xda-developers.com/showthread.php?t=1998650 than in twrp recovery sideload
Sent from my HTCONE using Tapatalk 4
Konfuzion said:
In TWRP go to Advanced > ADB Sideload
abd sideload rom.zip
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
I tried that with the encrypted rom thats supposedly stock and a few others all of them return :
C:\Android>adb sideload "Sprint_HTC_One_m7wls_1.29.651.7_encrypted_ROM (1).zip"
error: closed
Click to expand...
Click to collapse
elvisypi said:
Uninstall all the HTC drivers you have on your PC and install the universal naked driver 0.72 from here http://forum.xda-developers.com/showthread.php?t=1998650 than in twrp recovery sideload
Sent from my HTCONE using Tapatalk 4
Click to expand...
Click to collapse
Uninstalled all htc drivers and other drivers in.
Installed the required driver "Naked Universal Driver"
Rebooted
Device Recognized as "Google Galaxy Nexus ADB Interface" (Although it's a Sprint HTC One)
The Device is in the TWRP Recovery (openrecovery-twrp-2.6.3.0-m7wls)
I am also unable to mount the /data and /cache things (not sure what they are exactly)
Then ran and got back:
C:\Android>adb sideload "Sprint_HTC_One_m7wls_1.29.651.7_encrypted_ROM (1).zip"
error: device not found
Click to expand...
Click to collapse
Sirricharic said:
Uninstalled all htc drivers and other drivers in.
Installed the required driver "Naked Universal Driver"
Rebooted
Device Recognized as "Google Galaxy Nexus ADB Interface" (Although it's a Sprint HTC One)
The Device is in the TWRP Recovery (openrecovery-twrp-2.6.3.0-m7wls)
I am also unable to mount the /data and /cache things (not sure what they are exactly)
Then ran and got back:
Click to expand...
Click to collapse
flash stock boot image first
"fastboot flash boot Sprint_One_stock_boot.img"
"fastboot erase cache"
download naked drivers for htc one http://dl.xda-developers.com/attachd...river_0.72.zip but first delate/uninstal all htc drivers
download badboyz room for sprint htc one http://download1384.mediafire.com/ks...t_ONE_v1.1.zip
put this zip to your phone with adb "adb push Bad_Boyz_Sprint_ONE_v1.1.zip /sdcard//Bad_Boyz_Sprint_ONE_v1.1.zip"
boot into recovery instal Bad_Boyz_Sprint_ONE_v1.1.zip
it should work
lafomamone said:
flash stock boot image first
"fastboot flash boot Sprint_One_stock_boot.img"
"fastboot erase cache"
download naked drivers for htc one http://dl.xda-developers.com/attachd...river_0.72.zip but first delate/uninstal all htc drivers
download badboyz room for sprint htc one http://download1384.mediafire.com/ks...t_ONE_v1.1.zip
put this zip to your phone with adb "adb push Bad_Boyz_Sprint_ONE_v1.1.zip /sdcard//Bad_Boyz_Sprint_ONE_v1.1.zip"
boot into recovery instal Bad_Boyz_Sprint_ONE_v1.1.zip
it should work
Click to expand...
Click to collapse
I did all the requested steps and it failed
E: Unable to mount '/cache'
'/data'
Both of those drives can't mount
Sirricharic said:
I did all the requested steps and it failed
E: Unable to mount '/cache'
'/data'
Both of those drives can't mount
Click to expand...
Click to collapse
UPDATE:
I was able to get the /data to mount by following these instructions http://forums.team-nocturnal.com/in...ountable-internal-storage-on-the-htc-one-xxl/
I installed the Bad Boys Rom and it won't boot past the lock screen.
While on the lock screen it also says I have no service.
Sirricharic said:
UPDATE:
I was able to get the /data to mount by following these instructions http://forums.team-nocturnal.com/in...ountable-internal-storage-on-the-htc-one-xxl/
I installed the Bad Boys Rom and it won't boot past the lock screen.
While on the lock screen it also says I have no service.
Click to expand...
Click to collapse
UPDATE:
I was able to flash the Ecliptic One Rom however it doesn't receive a signal nor does it recognize my IMEI

[Q] Unable to revive phone! In dire need of help!

Hello XDA community!
I have a big problem, I have already flashed several custom ROMs and even stock firmwares, with Odin and Heimdall too without any issues, but now I'm completely unsure what happened. I flashed CM KK ROM a while ago and phone went into bootloops and giving errors in recovery. I have experienced and successfully dealt with these problems before, but now I just can't solve those.
So the problem is, my phone is either bootlooping, or giving me the "can't mount sdard" or "mmcblk0p1" errors. I have read lots of threads to solve this but none of them seems to work. I tried flashing all kinds of stock firmwares (Eclair, Froyo, GB) with and withou Re-Partition, but I still get those errors everytime. In recovery, I tried manually format and mount data and sdcard but it gave me the can't mount errors. I also flashed dbdata.rfs, and custom Kernels, but nothing works. I also read that my internal SD card is corrupted and I have to manually partition it with a 8GB external SD card but I own only a 2GB one.
So I really hope some of you clever guys can give me some help, or atlest bring me closer the the solution!
Thanks for the answers!
bp1122 said:
So the problem is, my phone is either bootlooping, or giving me the "can't mount sdard" or "mmcblk0p1" errors.
Click to expand...
Click to collapse
try using the correct version of CWM and flashing the KK ROM (download again) again follow this
If still same, read this and look at using ADB or speedmod kernel to format the corrupt partition
Check this out! Links to useful Guides and " Banned " Documentaries ​
Thanks for the fast answer!
I checked and followed the intstructions in the links and flashed stock JVU, then also the fixed JVU kernel from your post, but I still get the "E:failed to mount /sdcard (files exists),
E:copy_dbdata_media:Can't mount /sdcard" error even after flashing dbdata.rfs However I didn't try the Speedmod Kernel becouse after download it's just a zImage file without the .tar so Odin cabt recognize it and I do not know how to compress to that format!
Thanks for the answers!
Update: I have managed to flash Speedmod kernel, and I could convert SYSTEM filesystem, but when I try to convert filesystems to RFS it gives me the "cant mount/dev/block/mmcblk0p1" and "cant mount /mnt/sdcard" errors... This is like an infinite loop of errors and I am to unfamiliar with this to cope with. Please help
Try to open terminal and type this commands
su
fsck -y /dev/block/mmcblk0p1
It is command to check file system for errors and repair it. Please write about results.
Отправлено с моего GT-I9001 через Tapatalk
Dark_Sleipnir said:
Try to open terminal and type this commands
su
fsck -y /dev/block/mmcblk0p1
It is command to check file system for errors and repair it. Please write about results.
Отправлено с моего GT-I9001 через Tapatalk
Click to expand...
Click to collapse
I'm sorry I don't understand what kinda terminal you are talking about :/ I can't turn on my phone only recovery and download mode works. Sorry but I'm new to this stuff...but thanks for the reply!
Probably you can execute the command Dark_Sleipnir said by going to Download Mode, then connect the phone to your PC, then access the phone through ADB...
c-droid said:
Probably you can execute the command Dark_Sleipnir said by going to Download Mode, then connect the phone to your PC, then access the phone through ADB...
Click to expand...
Click to collapse
I figured it out that I must use ADB (for the 1st time ever) I have managed to set up ADB but when i type su or fsck the cmd says the system cant recognize those as commands. Can you provide the exact commands? By the way if I connect the phone to PC my phone drives appear as transparent in My Computer and i cannot open nor format them (this happens only in recovery mode, in download mode there are no drives showing up at all, not even in the device manager). Maybe thats the problem?
Thanks for the help!
Sorry, I don't know if you could enter Android terminal console through Recovery, I haven't use ADB also. I just understand (have read it from some Android tutorial/guides) that you could enter Android terminal console via ADB...
I can enter ADB in recovery mode, and it recognizes my device (I tried "adb reboot recovery", works like a charm), my problem is that it won't recognise "su" and "fsck" commands. I appreciate your help!
Try to use "adb shell" command - it emulate android terminal via PC adb. Also if fsck does not working try "mke2fs -S /dev/block/mmcblk0p1"
Отправлено с моего GT-I9001 через Tapatalk

Strange Brick, Sdcard empy,TWRP unable to mount sd dacr,s-on, ruu not working

Hi everybody, i have htc m7, sd card is empy, twrp working but doesn't work while i try to mount something. I can't use adb push And OTG cable works but on twrp the OTG0 folder seems empy but on pc it doesn't..i can't install ruu because s-on and i can put to s-off only if the phone doesn't go to bootloop.:silly:
-twrp working
-no rom to flash
-unable to mount /data /sdcard
-OTG usb empy
-no ruu
-S-on
-unlocked
Thanks to you , XDA, and for all you guys
dexploit said:
Hi everybody, i have htc m7, sd card is empy, twrp working but doesn't work while i try to mount something. I can't use adb push And OTG cable works but on twrp the OTG0 folder seems empy but on pc it doesn't..i can't install ruu because s-on and i can put to s-off only if the phone doesn't go to bootloop.:silly:
-twrp working
-no rom to flash
-unable to mount /data /sdcard
-OTG usb empy
-no ruu
-S-on
-unlocked
Thanks to you , XDA, and for all you guys
Click to expand...
Click to collapse
What version of Twrp recovery are you using?try to flash the Twrp either 2.3.3 or later but not the new version. Then try adb sideload
Sent from my HTC One using Tapatalk
dexploit said:
Hi everybody, i have htc m7, sd card is empy, twrp working but doesn't work while i try to mount something. I can't use adb push And OTG cable works but on twrp the OTG0 folder seems empy but on pc it doesn't..i can't install ruu because s-on and i can put to s-off only if the phone doesn't go to bootloop.:silly:
-twrp working
-no rom to flash
-unable to mount /data /sdcard
-OTG usb empy
-no ruu
-S-on
-unlocked
Thanks to you , XDA, and for all you guys
Click to expand...
Click to collapse
I'm guessing you have HTC drivers installed.
Connect USB to windows Boot into Recovery, selecr Advanced, choose Sideload, then swipe to start sideload
then with adb use command 'adb devices'
Does your phone up? it'll have a name beginning with sideload
If it doesn't, possible driver issue. What OS are you using?
dexploit said:
Hi everybody, i have htc m7, sd card is empy, twrp working but doesn't work while i try to mount something. I can't use adb push And OTG cable works but on twrp the OTG0 folder seems empy but on pc it doesn't..i can't install ruu because s-on and i can put to s-off only if the phone doesn't go to bootloop.:silly:
-twrp working
-no rom to flash
-unable to mount /data /sdcard
-OTG usb empy
-no ruu
-S-on
-unlocked
Thanks to you , XDA, and for all you guys
Click to expand...
Click to collapse
Did u mount USB OTG ??
CYNiCAL2KX said:
I'm guessing you have HTC drivers installed.
Connect USB to windows Boot into Recovery, selecr Advanced, choose Sideload, then swipe to start sideload
then with adb use command 'adb devices'
Does your phone up? it'll have a name beginning with sideload
If it doesn't, possible driver issue. What OS are you using?
Click to expand...
Click to collapse
yes lastest driver installed. i have twrp 2.7, i've done adb sideload customROM.zip but than ?
dexploit said:
yes lastest driver installed. i have twrp 2.7, i've done adb sideload customROM.zip but than ?
Click to expand...
Click to collapse
CYNiCAL2KX said:
I'm guessing you have HTC drivers installed.
Connect USB to windows Boot into Recovery, selecr Advanced, choose Sideload, then swipe to start sideload
then with adb use command 'adb devices'
Does your phone up? it'll have a name beginning with sideload
If it doesn't, possible driver issue. What OS are you using?
Click to expand...
Click to collapse
Did you do 'ADB devices'???
raghav kapur said:
Did u mount USB OTG ??
Click to expand...
Click to collapse
yes but on twrp in logs page it says "unable to mount otg" and "unable to mount /data /system /cache" Seems like the one doesn't recognize the partition
CYNiCAL2KX said:
Did you do 'ADB devices'???
Click to expand...
Click to collapse
yes and "sending: 'HTC_One_-_****************_32.0.0 (2).zip' 100%"
but than ? Phone bootloop and where is the rom that i've placed ?
dexploit said:
yes and "sending: 'HTC_One_-_****************_32.0.0 (2).zip' 100%"
but than ? Phone bootloop and where is the rom that i've placed ?
Click to expand...
Click to collapse
The phone bootlooped? Strange. TWRP usually runs the script straight after sideload. The zip is on sdcard/0/sideload.zip
What happens when you try to install the sideload.zip?
CYNiCAL2KX said:
The phone bootlooped? Strange. TWRP usually runs the script straight after sideload. The zip is on sdcard/0/sideload.zip
What happens when you try to install the sideload.zip?
Click to expand...
Click to collapse
in in twrp if i go to install i see only empy sdcard!!! but the adb sideload command was completed at 100 %...no errors, nothing..(yesterday i had cwm 5 and always all folder empy and unable to mount all !!!!)
Flash latest CWM recovery the same way you flash Twrp.twrp is unsecure coz you deleted all your system data in twrp recovery.after flash,cwm shoud work,and adb too.then put superuser.zip on internal storage,install thru cwm to gain root.flash arhd 52.0 rom to get it boot.
Sent from my HTC One using xda app-developers app
dexploit said:
in in twrp if i go to install i see only empy sdcard!!! but the adb sideload command was completed at 100 %...no errors, nothing..(yesterday i had cwm 5 and always all folder empy and unable to mount all !!!!)
Click to expand...
Click to collapse
I think you have a corrupted partition. Try this: http://android-revolution-hd.blogspot.co.uk/2013/10/fix-data-htc-one.html
Just something I found with a quick search but, I hope that will fix your problem, if not you should google around for more alternative methods to repairing a corrupted data partition
How Do I Recognise The Problem?
When trying to mount the DATA partition from inside the custom recovery using the mount /data command you will most likely see this output: mount: mounting /dev/block/mmcblk0p37 on /data failed: Invalid argument
To be 100% sure you can check filesystem structure with the following command: /sbin/e2fsck -n -f /dev/block/mmcblk0p37
Good luck
Click to expand...
Click to collapse
---------- Post added at 11:14 PM ---------- Previous post was at 11:06 PM ----------
shawek said:
Flash latest CWM recovery the same way you flash Twrp.twrp is unsecure coz you deleted all your system data in twrp recovery.after flash,cwm shoud work,and adb too.then put superuser.zip on internal storage,install thru cwm to gain root.flash arhd 52.0 rom to get it boot.
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
Read the full thread before posting
He used CWM but it shows no files on sdcard
Thanks, but doesn't work. Buto now i can mount sd card, but not /system and /cache!
shawek said:
Flash latest CWM recovery the same way you flash Twrp.twrp is unsecure coz you deleted all your system data in twrp recovery.after flash,cwm shoud work,and adb too.then put superuser.zip on internal storage,install thru cwm to gain root.flash arhd 52.0 rom to get it boot.
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
So, I did part of this because I'm having a similar issue. I was able to flash CWM, but unable to mount USB storage in order to get this thing booted up. I tried to sideload and that's unsuccessful.
When I use the devices command in adb, it doesn't list it. However, when I typed devices in fastboot, it listed it. Obviously, I'm starting to get pissed.
i had a same problem,needed 3 days to solve it.I understand that adb cant recognize the device(i was getting that error too)and(typing "adb devices" sometimes shows the device)--,but can you put a zip file on internal storage of the phone,now when you have cwm recovery?try to get many informations as you can,read,you will fix this.i didnt try to fix partitions mentioned above,but you can try with that.
Sent from my HTC One using xda app-developers app
It seems like your data partition is trashed, and maybe you need to format it. This is more aggressive than wiping /sdcard and /data. TWRP can do this, and CWM probably can, too. Also, "fastboot devices" should only show the phone when it's in fastboot mode, and "adb devices" will show the phone when it's in recovery or running Android (with USB Debugging enabled).
If you want to poke around a little bit before taking this drastic step, I would try one more time to get adb connected--boot the phone to recovery, wait a few seconds, attach the cable, then give "adb devices" another try. Also, I don't know if the driver necessary for ADB is the same as fastboot. It's possible your computer is configured to do one but not the other. Is there someone else's computer you can ask to use for a few minutes to check this?
Solved unmount /system /cache /data
i've format all the formattable things in twrp , reboot and used adb push and after flash cyanogenmod! ! Thank you all guys !:good:

[Q] 6 Hours later - Still Bricked.

Hello,
First and foremost I would like to give the important information away:
Phone: HTC One (M7)
Carrier: Rogers (I think same as AT&T?)
State: Unlocked, S-On, TWRP v2.7.1.0 installed, Hboot 1.57 and without an OS
The story:
Advance Wiped Everything:
So I didn't transfer the ROM before I used the "wipe" option in TWRP and deleted everything (using advanced wipe). Now I'm left with a phone that is "soft-bricked".
ADB Sideload
I rooted and installed TWRP my phone using QbKing77's guide
I tried googling a soultion and found a guide that told me to enter TWRP->Advanced->ADB Sideload and realized my phone cannot enter ABD sideload mode...so I'm like there must be another way, so I look up ADB push and again the same problem...it wont work. ADB shows: "error:device not found" in cmd.
Drivers
Now I think the problem is in the driver and I have reinstalled all the correct drivers (including Android SDK Google USB drivers). Then it strikes me that if the problem is with the drivers why was I able to use fastboot and not ADB?
RUU
After 4 hours of trying I gave up and was like lets try a RUU, same freaking problem. I get error code 155 which after researching seems to be pointing at my phone's bootloader not being "Re-locked" when the freaking screen says ***tampered*** re-locked****. So now I have unlocked it again and relocked the bootloader again, still no luck. I tried downloading different RUUs for both Rogers and AT&T and both give that exact same error even after "fastboot oem lock" command. After giving up on that I go back to try to entter ADB sideload mode via TWRP, I downloaded TWRP 2.5-2.7 and none of them would allow me to enter ADB sideload mode.. As of now its been 1 hour and TWRP still states: "Starting ADB sideload feature...".
Conclusion
If there is any way to get my phone to it's stock settings (IDC about the tampered, and relocked messages) I am all ears, I'm sorry if the information given isn't organized enough, but I'm very exhausted at this point. I will be more than happy to answer any more questions anybody might have.
Thanks!
haqsaber said:
Hello,
First and foremost I would like to give the important information away:
Phone: HTC One (M7)
Carrier: Rogers (I think same as AT&T?)
State: Unlocked, S-On, TWRP v2.7.1.0 installed, Hboot 1.57 and without an OS
The story:
Advance Wiped Everything:
So I didn't transfer the ROM before I used the "wipe" option in TWRP and deleted everything (using advanced wipe). Now I'm left with a phone that is "soft-bricked".
ADB Sideload
I rooted and installed TWRP my phone using QbKing77's guide
I tried googling a soultion and found a guide that told me to enter TWRP->Advanced->ADB Sideload and realized my phone cannot enter ABD sideload mode...so I'm like there must be another way, so I look up ADB push and again the same problem...it wont work. ADB shows: "error:device not found" in cmd.
Drivers
Now I think the problem is in the driver and I have reinstalled all the correct drivers (including Android SDK Google USB drivers). Then it strikes me that if the problem is with the drivers why was I able to use fastboot and not ADB?
RUU
After 4 hours of trying I gave up and was like lets try a RUU, same freaking problem. I get error code 155 which after researching seems to be pointing at my phone's bootloader not being "Re-locked" when the freaking screen says ***tampered*** re-locked****. So now I have unlocked it again and relocked the bootloader again, still no luck. I tried downloading different RUUs for both Rogers and AT&T and both give that exact same error even after "fastboot oem lock" command. After giving up on that I go back to try to entter ADB sideload mode via TWRP, I downloaded TWRP 2.5-2.7 and none of them would allow me to enter ADB sideload mode.. As of now its been 1 hour and TWRP still states: "Starting ADB sideload feature...".
Conclusion
If there is any way to get my phone to it's stock settings (IDC about the tampered, and relocked messages) I am all ears, I'm sorry if the information given isn't organized enough, but I'm very exhausted at this point. I will be more than happy to answer any more questions anybody might have.
Thanks!
Click to expand...
Click to collapse
first, do not use twrp 2.7.1.0 but 2.6.3.3 and use HTC divers not Google drivers. you will then be able to sideload or push a rom to your phone. Also make sure to use at least adb 1.0.29, sideload will not work on previous version.
alray said:
first, do not use twrp 2.7.1.0 but 2.6.3.3 and use HTC divers not Google drivers. you will then be able to sideload or push a rom to your phone. Also make sure to use at least adb 1.0.29, sideload will not work on previous version.
Click to expand...
Click to collapse
Thanks for your response.
I have flashed TWRP 2.6.3.3, and when I boot into recovery it asks me for a password? I was still unable to boot up ADB sideload (This time I get an error message instead of it failing to start all together). But I was able to access the adb shell and was able to push a custom rom into the device into /data/ and then tried installing it, which failed.
I flashed the ROM using this command: fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
then after the transfer was done typed: fastboot erase cache
as of now when I type adb devices into the command prompt my phone is being detected which is an improvement from last night! Thanks!
haqsaber said:
Thanks for your response.
I have flashed TWRP 2.6.3.3, and when I boot into recovery it asks me for a password? I was still unable to boot up ADB sideload (This time I get an error message instead of it failing to start all together). But I was able to access the adb shell and was able to push a custom rom into the device into /data/ and then tried installing it, which failed.
Click to expand...
Click to collapse
you don't have to use an adb shell to push a rom, only use adb normally from your computer with the phone booted in recovery. And the destination of the rom when you push it is not /data, its /sdcard
adb push name_of_rom.zip /sdcard/
when complete, select "install" in recovery and choose your rom.
alray said:
you don't have to use an adb shell to push a rom, only use adb normally from your computer with the phone booted in recovery. And the destination of the rom when you push it is not /data, its /sdcard
adb push name_of_rom.zip /sdcard/
when complete, select "install" in recovery and choose your rom.
Click to expand...
Click to collapse
The rom.zip is now in my /sdcard/ folder and when I try to install it I get the following error:
Code:
Updating partition details....
E:Unable to mount '/cache'
E:Unable to mount '/cache'
E:Unable to mount '/cache'
Error Flashing zip '/sdcard/rom.zip'
Updating partition details...
E:Unable to mount '/cache'
and my ADB version is 1.0.31
Edit: So I went in the mount option and noticed that "cache" was selected so I deselected it and tried to flash again and it just said
Code:
Error Flashing zip '/sdcard/rom.zip'
Updating partition details...
So now I'm thinking there must be something wrong with the ROM, so i'm downloading and will retry.
Code:
KitKat (Android 4.4.3 + HTC Sense 6.0)
Download Android Revolution HD 81.0
Nope, that didn't work either. Could it be that I need to put in that password first? If so what is the TWRP password?
haqsaber said:
The rom.zip is now in my /sdcard/ folder and when I try to install it I get the following error:
Code:
Updating partition details....
E:Unable to mount '/cache'
E:Unable to mount '/cache'
E:Unable to mount '/cache'
Error Flashing zip '/sdcard/rom.zip'
Updating partition details...
E:Unable to mount '/cache'
and my ADB version is 1.0.31
Edit: So I went in the mount option and noticed that "cache" was selected so I deselected it and tried to flash again and it just said
Code:
Error Flashing zip '/sdcard/rom.zip'
Updating partition details...
So now I'm thinking there must be something wrong with the ROM, so i'm downloading and will retry.
Code:
KitKat (Android 4.4.3 + HTC Sense 6.0)
Download Android Revolution HD 81.0
Nope, that didn't work either. Could it be that I need to put in that password first? If so what is the TWRP password?
Click to expand...
Click to collapse
looks like you have enabled data encryption in the OS...
in twrp wipe everything and format data
then push the rom again and install it.
alray said:
looks like you have enabled data encryption in the OS...
in twrp wipe everything and format data
then push the rom again and install it.
Click to expand...
Click to collapse
And that worked! Thank you so much!!

Categories

Resources