G5 unbrick - LG G5 Questions & Answers

Have adb, fastboot, qdl, and sahara.
Bricked LG G5, extracted primarygpt.gpt and boot.bin.
Task; reload boot partition only.
Question; wich program use for?
May I load boot bin or shall convert file?
Shall I reload aboot.bin too?
[email protected]:~$ adb devices -l
List of devices attached
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[email protected]:~$ fastboot -p
fastboot: option requires an argument -- 'p'
[email protected]:~$ fastboot devices
[email protected]:~$ qdl
qdl [--debug] [--finalize-provisioning] [--include <PATH>] <prog.mbn> [<program> <patch> ...]
[email protected]:~$
May somebody write exact command for me? Vale Piotr

Related

Starting adb ?!

Hi all!
I was using Modaco 2.9 before and it was amazing stable.
Later on I tryied [email protected] worked well, but not as stable as the modaco, so I thought lets change to the 3.0. Since that I have al lot system crashes, so I thought I need to do "deldalv and/or ext_wipe" with the RA-recovery-1.2.3
Figured out that it didnt work, it says I should use "adb deldalv"
I couldnt get the adb to run on my ubuntu linux, so I tried to find an update for the RA-recovery.
And there is RA-recovery-1.5.1 and I can just install it (cause I have a previous version) via adb.
Now My Question:
How does it work?!?
Code:
[email protected]:~$ adb usb
error: insufficient permissions for device
[email protected]:~$ adb devices
List of devices attached
???????????? no permissions
[email protected]:~$ adb kill-server
[email protected]:~$ adb start-server
* daemon not running. starting it now *
* daemon started successfully *
[email protected]:~$ adb usb
error: insufficient permissions for device
[email protected]:~$ adb devices
List of devices attached
???????????? no permissions
Code:
[email protected]:~$ cat /etc/udev/rules.d/50-android.rules
#Bus 001 Device 005: ID 0bb4:0c02
SUBSYSTEM=="usb", SYSFS(idVendor)=="0bb4",MODE="0666"
How do I connect the device then, if not like that?
How can I test if everything works?
Thanks in advance
Unicate said:
How do I connect the device then, if not like that?
How can I test if everything works?
Thanks in advance
Click to expand...
Click to collapse
afaik this looks good, try starting adb as root. this is what adb devices says for me:
Code:
[email protected]:~$ adb devices
List of devices attached
HT98XXXX427 device
Code:
./adb start-server
./adb shell
works for me (with root ofcourse )
I set up my system so that the adb deamon starts at boot.
Created a script in the /etc/init.d directory called adb:
Code:
#! /bin/sh
case "$1" in
start)
/home/joeblow/AndroidSDK/tools/adb start-server
;;
stop)
/home/joeblow/AndroidSDK/tools/adb kill-server
;;
*)
echo "Usage: $0 start|stop" >&2
exit 3
;;
esac
Created a link to it in /etc/rc2.d:
Code:
lrwxrwxrwx 1 root root 13 2010-01-09 19:17 S10adb -> ../init.d/adb
Off Topic...
Am sorry to be a little off topic.. I just got my Hero and was trying to figure out all the stuff about it here on XDA.. Can anybody tell me what is ADB ??.. Whats it used for ??.. As far as I have understood, I think its some sorta software to connect hero to the computer to transfer files and stuff.. Is it right ??.. If yes.. Then what is the difference between this and HTC SYNC ??.. Thanks in advance.. Cheers !!!
if You want only transfer files, You don't need ADB.
htc sync is for synchronizing phone (contacts, calendar, etc) with PC (i guess, i don't use it ) and for upgrading SW.

Stuck in ClockWork Recovery

Hi,
Today wanting to flash Cyanogen 11 to my Galaxy Nexus I completely messed everything.
I got into ClockWork Recovery mode before putting the cyanogen .zip file in the internal storage.
Now I'm stuck in the recovery mode and I can't get access to my internal storage from the terminal.
To give you what I've tried so far ... :
Code:
[[email protected] ~]$ adb kill-server
[[email protected] ~]$ adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[[email protected] ~]$ adb devices
List of devices attached
???????????? no permissions
[[email protected] ~]$ sudo adb devices
List of devices attached
???????????? no permissions
[[email protected] ~]$ adb push /home/fmonfort/Downloads/cm-11-20140104-SNAPSHOT-M2-maguro.zip /sdcard/
error: insufficient permissions for device
[[email protected] ~]$ sudo adb push /home/fmonfort/Downloads/cm-11-20140104-SNAPSHOT-M2-maguro.zip /sdcard/
error: insufficient permissions for device
[[email protected] ~]$ sudo adb push /home/fmonfort/Downloads/cm-11-20140104-SNAPSHOT-M2-maguro.zip /sdcard/
error: insufficient permissions for device
[[email protected] ~]$ adb kill-server
[[email protected] ~]$ sudo adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[[email protected] ~]$ sudo adb push /home/fmonfort/Downloads/cm-11-20140104-SNAPSHOT-M2-maguro.zip /sdcard/
error: device offline
[[email protected] ~]$ sudo adb devices
List of devices attached
016B73781101A017 offline
Code:
[[email protected] ~]$ adb kill-server
[[email protected] ~]$ sudo adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[[email protected] ~]$ sudo adb devices
List of devices attached
016B73781101A017 recovery
[[email protected] ~]$ adb shell
~ # mount sdcard
mount: can't find sdcard in /etc/fstab
~ # mount /sdcard
mount: can't find /sdcard in /etc/fstab
~ # echo /dev/block/mmcblk0 > /sys/devices/platform/usb_mass_storage/lun0/file
/sbin/sh: can't create /sys/devices/platform/usb_mass_storage/lun0/file: nonexistent directory
~ #
I'm becoming really desperate here, if anybody could just help pleeaaasse :'(
maybe this will work
My situation might be unique, but what I did allowed me to use a previous backup made in TWRP and I'm now able to reboot into the system again.
I was stuck in CWM and could not even get to FASTBOOT with the keypress combo. It would also not boot to system, so reboots just took me back to CWM. I was able to talk to the device with adb and reboot into the bootloader. From there I was able to flash a different recovery. (TWRP)
adb:
adb reboot-bootloader
fastboot flash recovery "openrecovery-twrp-2.6.3.3-m7.img"
heymanfromfrance said:
Hi,
Today wanting to flash Cyanogen 11 to my Galaxy Nexus I completely messed everything.
I got into ClockWork Recovery mode before putting the cyanogen .zip file in the internal storage.
Now I'm stuck in the recovery mode and I can't get access to my internal storage from the terminal.
To give you what I've tried so far ... :
Code:
[[email protected] ~]$ adb kill-server
[[email protected] ~]$ adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[[email protected] ~]$ adb devices
List of devices attached
???????????? no permissions
[[email protected] ~]$ sudo adb devices
List of devices attached
???????????? no permissions
[[email protected] ~]$ adb push /home/fmonfort/Downloads/cm-11-20140104-SNAPSHOT-M2-maguro.zip /sdcard/
error: insufficient permissions for device
[[email protected] ~]$ sudo adb push /home/fmonfort/Downloads/cm-11-20140104-SNAPSHOT-M2-maguro.zip /sdcard/
error: insufficient permissions for device
[[email protected] ~]$ sudo adb push /home/fmonfort/Downloads/cm-11-20140104-SNAPSHOT-M2-maguro.zip /sdcard/
error: insufficient permissions for device
[[email protected] ~]$ adb kill-server
[[email protected] ~]$ sudo adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[[email protected] ~]$ sudo adb push /home/fmonfort/Downloads/cm-11-20140104-SNAPSHOT-M2-maguro.zip /sdcard/
error: device offline
[[email protected] ~]$ sudo adb devices
List of devices attached
016B73781101A017 offline
Code:
[[email protected] ~]$ adb kill-server
[[email protected] ~]$ sudo adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[[email protected] ~]$ sudo adb devices
List of devices attached
016B73781101A017 recovery
[[email protected] ~]$ adb shell
~ # mount sdcard
mount: can't find sdcard in /etc/fstab
~ # mount /sdcard
mount: can't find /sdcard in /etc/fstab
~ # echo /dev/block/mmcblk0 > /sys/devices/platform/usb_mass_storage/lun0/file
/sbin/sh: can't create /sys/devices/platform/usb_mass_storage/lun0/file: nonexistent directory
~ #
I'm becoming really desperate here, if anybody could just help pleeaaasse :'(
Click to expand...
Click to collapse

[fix]how-to-fix-adb-errors-in-ubuntu

Hello guys.................
This is "GOPINADH"
TODAY I'am going show you how fix adb error in ubuntu...........
This happens to me sometimes with certain devices.
This is the error i get
input
Code:
adb devices
output
Code:
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
So here is the solution for this
Step 1: Find the Vendor ID
You can do this by typing
Code:
lsusb
. My output is something like this:
Code:
Bus 001 Device 006: ID 1782:4012 Spreadtrum Communications Inc.
In this case, 1782 is the Vendor ID.
Step 2: Create an adb_usb.ini file
Run the following
Code:
echo "0x<your device's Vendor ID>" > ~/.android/adb_usb.ini
Step 3: Restart adb
Code:
adb kill-server
Code:
adb start-server
Since doing that, my devices have all shown up in adb devices.
now input
Code:
adb devices
output
Code:
List of devices attached
06320984656459 device
press thanks if helped:good:
Hi, how about the error in 16.04 with adb freezing the system (i apologize if im in the wrong place) kind of desperate now
Unfortunately it does not work for me with the same vendor "1782".
The output of
Code:
adb devices
remained empty.

error: only position independent executables (PIE) are supported. andriod 6.0

helloo greetings i have a problem with adb i want to connect with IDA pro but i got error
Code:
C:\adb>adb kill-server
C:\adb>adb start-server
* daemon not running; starting now at tcp:5037
* daemon started successfully
C:\adb>adb shell
[email protected]:/ $ su
2|[email protected]:/ # cd data/tmp/files
[email protected]:/data/tmp/files # ls
android_server
armlinux_server
armuclinux_server
linux_server
linux_serverx64
[email protected]:/data/tmp/files # ./android_server
error: only position independent executables (PIE) are supported.
Thanks in advance sorry for bad english

Can I recover my personal files (audio and photo) by usiing ADB?

Hello,
my phone (I think it is not rooted because adb shows the dollar character) is stuck into the recovery for an unknown reason. Is there a way to access the phone folders through ADB / shell commands?
I'm a newbie and I tried to do by myself but unfortunately I cannot reach my objective.
for example, I (think) I successfully reached the sdcard (is this the android folder name where all the personal data si saved?) but when I try the command adb pull -p It doesn't work. Here what it happens:
1|[email protected]:/ $ cd sdcard
[email protected]:/sdcard $ adb pull -p
* daemon not running. starting it now on port 5038 *
* daemon started successfully *
error: device not found
1|[email protected]:/sdcard $
Any Idea? Thanks
Howl55 said:
Hello,
my phone (i think it is not rooted because adb shows the dollar character) is stuck into the recovery for an unknown reason. Is there a way to access to phone folders through ADB / shell commands?
I'm a neewbie and I tried to do by myself. Unfortunately I cannot reach my objective.
for example, I (think) I successfully reached the sdcard (is this the android folder name where all the personal data si saved?)
but when I try the command adb pull -p It doesn't work. Here what it happens:
1|[email protected]:/ $ cd sdcard
[email protected]:/sdcard $ adb pull -p
* daemon not running. starting it now on port 5038 *
* daemon started successfully *
error: device not found
1|[email protected]:/sdcard $
Any Idea? Thanks
Click to expand...
Click to collapse
Is there someone who could help me???

Categories

Resources