[Q] ADB sideload help - T-Mobile HTC One (M7)

can some please help me on how to use ADB sideload i wiped the rom and now i can seem to work ADB please help

Related

can someone explain how to adb sideload?

I've got bootloop and have deleted the rom zip to just re flash over. can someone explain how to adb sideload or if it's possible?
on Xperia U?
Sent from my AOSP 4.3 Xperia S via Tapatalk
Just boot to recovery and connect your phone to PC. In recovery, choose install zip -> install from sideload. Then make sure you have SDK or adb, then place your rom with the adb and open cmd where the rom is placed and finally type:
Code:
adb sideload nameoftherom.zip
Rest will be done. :good:
Cheers,
AJ

[Q] Workaround with ADB sideload, fastboot, and sdcard in Stock Recovery

The scenario is that:
I purchased for the past year, ChainFire3d and found out to be effective. And right now I got a new phone and got it rooted. BUT, I forgot its running on 4.2.2 and ChainFire3d doesn't work on it. So, I am stuck on boot screen
I tried the following:
ADB commands to uninstall ChainFire3d, but in 4.2.2 roms, adb doesn't work in stock recovery for it has already have an alternative "update by adb support" which will let you go to adb sideload. And adb sideload mode doesn't support any other adb commands except sideload.
So, I tried to download a stock rom from a site, and tried to install it by "update by sdcard" and it says "Installation aborted" maybe because the stock recovery doesn't support the updater-script.
So, I tried fastboot, but fastboot cannot detect any device because stock recovery doesn't support adb.
And alas, I am out of options here.
Please help, somebody.
BTW, my phone is Lenovo A369i
OK... I managed to fix it.. after like... 10 hours .. whew
if you're wondering how I did it... here's how
...................

[Q] Help ADB shell while in SafeStrap

Like a lot of people, I rooted, busyboxed and installed SafeStrap. Unfortunately, I can't boot anymore, the best I can do is get into SafeStrap or recovery. I know I can manually remove safestrap using adb shell.
When I try to run adb shell while in SafeStrap, I get this:
Code:
CANNOT LINK EXECUTABLE: could not load library "libc.so" needed by "/sbin/sh"; caused by library "libc.so" not found
If I'm in actual recovery, adb devices does not list the phone.
Someone please help me get into ADB shell so I can dump SafeStrap!
CapinWinky said:
Like a lot of people, I rooted, busyboxed and installed SafeStrap. Unfortunately, I can't boot anymore, the best I can do is get into SafeStrap or recovery. I know I can manually remove safestrap using adb shell.
When I try to run adb shell while in SafeStrap, I get this:
Code:
CANNOT LINK EXECUTABLE: could not load library "libc.so" needed by "/sbin/sh"; caused by library "libc.so" not found
If I'm in actual recovery, adb devices does not list the phone.
Someone please help me get into ADB shell so I can dump SafeStrap!
Click to expand...
Click to collapse
Try "adb shell /system/bin/sh"
Something's not right, as there's no "/sbin/sh" file on my *stock* SGS4.
However. Removing Safestrap will probably just brick your phone. What build, bootloader, etc?
I'm NC5. I rooted with towelroot. Everything was actually working fine for several days, then I let the battery die and now I can't get past SafeStrap. I tried your suggestion trying to launch ADB shell and it returned the same error.
When I run ADB devices while in safestrap, it returns as being in recovery. I can also get it into sideload mode in the stock recovery. It is not detected when rebooted into Download.
At this point, I would be happy to completely factory reset with ODIN if that's even possible. I'm not familiar with ODIN, so I'm trying to read up.
While in Safestrap (I'm using v3.72 on a Galaxy S4 NB1), go to Mount -> Select "System". After mounting the system partition, I was then able to adb shell into the device like normal.
NOTE: One difference in adb that I noticed was that I lost my adb shell root access in Safestrap mode (even tho the device was rooted beforehand). Might be something with SELinux.
HTH.

Motorola One Macro

Hello, i wanted to flash my phone(Motorola One Macro) to LineageOS 17.1, but it get error at flashing and now is phone permanently restarting.... i dont know how to flash new stock firmware, or any new android.
i know i can use adb, but it doesnt work or i do it bad. :angel:
pls help, thanks.
@drobec255
You by means of ADB always can re-flash phone's Stock ROM ( it's not necessary phone's boot-loader is unlocked )
Code:
adb devices
adb reboot recovery
[i][color=red]Note: In recovery menu presented select option Apply Update From ADB and confirm it, then proceed with[/color][/i]
adb sideload <PATH_TO_STOCK_ROM_IMAGE_FILE_ZIP>
adb reboot
jwoegerbauer said:
@drobec255
You by means of ADB always can re-flash phone's Stock ROM ( it's not necessary phone's boot-loader is unlocked )
Code:
adb devices
adb reboot recovery
[i][color=red]Note: In recovery menu presented select option Apply Update From ADB and confirm it, then proceed with[/color][/i]
adb sideload <PATH_TO_STOCK_ROM_IMAGE_FILE_ZIP>
adb reboot
Click to expand...
Click to collapse
ok, i flashed it to stock ROM, phone works.
I wanna flash it to LineageOS 17.1 but file is ".img.xz" ??? how to? bootloader is unlocked
@drobec255
1st of all things is you must have a TWRP matching your phone at your fingertips.
Next thing is that you must have a Lineage OS 17.1 version that's at 100% compatible with your phone - don't think this exists. BTW: Lineage OS always is offered as a signed ZIP-file.
If these requirements are met, then to replace phone's Android 9 by Lineage OS 17.1 you run this command sequence:
Code:
adb devices
[i][color=red]next 6 cmds backup /efs & /vendor partitions[/color][/i]
adb shell "cat /efs > /data/local/temp/efs_bkup"
adb pull /data/local/temp/efs_bkup %TEMP%\EFS_BKUP
adb shell "rm /data/local/temp/efs_bkup"
adb shell "cat /vendor > /data/local/temp/vendor_bkup"
adb pull /data/local/temp/vendor_bkup %TEMP%\VENDOR_BKUP
adb shell "rm /data/local/temp/vendor_bkup"
adb reboot bootloader
fastboot devices
fastboot erase system
fastboot erase cache
fastboot erase userdata
[i][color=red]temporarily boot into TWRP[/color][/i]
fastboot boot <PATH_TO_TWRP_IMG>
[i][color=red]In TWRP's menu select option Apply update from ADB and confirm[/color][/i]
adb sideload <PATH_TO_LINEAGE_OS_ZIP>
[i][color=red]next 2 cmds restore /efs & /vendor partitions[/color][/i]
adb push %TEMP%\EFS_BKUP /efs
adb push %TEMP%\VENDOR_BKUP /vendor
adb reboot
For anyone that this may still happen too....
Use RSA to put your phone back to it's stock rom. Even if it's bricked. it'll recovery it.
Rescue and Smart Assistant Tool - Motorola
<h6><span style="color:#FFFFFF"><strong>Our Rescue and Smart Assistant tool</strong><br />can help diagnose and resolve issues on your<br />Motorola phone or Lenovo phone/tablet.</span></h6>
www.motorola.com

Have anyone can upload patched boot and adb recovery please

Here is my version OnePlus7TProOxygen_14.O.25_OTA_0250_all_2103162328_5411c8.zip
Thanks for help

Categories

Resources