When I installed Cyanogen's latest, one of several times, I decided to run a logcat of what was going on (actually just the debug monitor). I noticed the following line of output:
I am particularly interested in the first and last errors
Code:
08-09 09:21:28.684: INFO//system/bin/dosfsck(1352): 63 sectors/track, 255 heads
08-09 09:21:28.684: INFO//system/bin/dosfsck(1352): 64260 hidden sectors
08-09 09:21:28.684: INFO//system/bin/dosfsck(1352): 867510 sectors total
[B][COLOR=Red]08-09 09:21:28.704: ERROR/flash_image(1361): error opening /data/recovery.img: No such file or directory[/COLOR][/B]
08-09 09:21:28.964: DEBUG/AKMD(1363): akmd 1.6.4 START
08-09 09:21:28.964: DEBUG/AKMD(1363): library version: 1.2.1.1129
[COLOR=Red]08-09 09:21:29.144: ERROR/vold(1352): Unable to read framework command (Bad file number)
08-09 09:21:29.144: ERROR/vold(1352): Error processing framework command (Bad file number)
08-09 09:21:29.144: ERROR/vold(1352): Unable to read framework command (Bad file number)[/COLOR]
[COLOR=Red]08-09 09:21:29.144: ERROR/vold(1352): Error processing framework command (Bad file number)
08-09 09:21:29.154: ERROR/vold(1352): Unable to read framework command (Bad file number)
08-09 09:21:29.154: ERROR/vold(1352): Error processing framework command (Bad file number)
08-09 09:21:29.756: ERROR/vold(1352): Unable to read framework command (Bad file number)
08-09 09:21:29.756: ERROR/vold(1352): Error processing framework command (Bad file number)[/COLOR]
[I][COLOR=Red][B]08-09 09:21:30.174: ERROR/RIL Acoustic(1354): Fail to open /system/etc/AudioPara_ALL.csv -1.[/B][/COLOR][/I]
08-09 09:21:30.184: INFO/RIL Acoustic(1354): open /system/etc/AudioPara4.csv success.
08-09 09:21:30.224: INFO/RIL Acoustic(1354): acoustic table version: Dream_TMU_20090305
08-09 09:21:30.304: INFO/RIL Acoustic(1354): read_audio_para_from_file success.
Why am I getting all these errors at boot. Is this normal?
Or is this a problem. Phone runs well enough
try sending a pm to cyanogen
Thanks..but I don't want Cyanogen to think I'm using him for a personal tech support. This appears to be a problem of my making...The last error has to do with the Meltus Louder hack.....I think (those are the names of the files that the audio hack pushes).
Anyway, I was just hoping a member who is knowledgeable about this could pipe in....
First of all many thanks to IEFtm from Modaco forum for the solution and the how to !!
Here a copy/paste of instructions with some additions ( i can't be more clear than him )
/!\ IMPORTANT /!\ : only your device will see your sdcard before the end of the unbrick process !!!
As most of you know, people have been hard at work to fix the USB issues we've been seeing due to recovery setting us into USB debugmode.
After unsuccessful attempts to change the kernel commandline , eg. to:
disable_uart3=0
usb_h2w_sw=0
we've been successful in discovering (with the help of XDA-developers) that these switches are stored in the first NAND partition, mtd0, or 'misc'.
You must be rooted to try the following, it seems you can't write to mtd0 without root.
Do step 1 again if you have to.
Also, SD card functionality has to work. For this, go into fastboot mode ( device off : volume down + power, select FASTBOOT) , and do:
fastboot oem enableqxdm 0
( you must have android sdk installed, open a command prompt MSDOS under windows, navigate into 'tools' folder and type this command )
Steps involved:
1. Find out your CID. Go into fastboot mode ( device off : volume down + power, select FASTBOOT) , and do :
fastboot oem boot
( you must have android sdk installed, open a command prompt MSDOS under windows, navigate into 'tools' folder and type this command )
The log will say something like the following:
Code:
#INFOTAG:Ramdisk OK
#INFOTAG:smi ok, size = 0
#INFOTAG:hwid 0x0
#INFOTAG:skuid 0x21F04
#INFOTAG:hero panel = 0x0
#INFOTAG:engineerid = 0x0
#INFOMCP dual-die
#INFOMCP dual-die
#INFOTAG:mono-die = 0x0
#INFODevice CID is not super CID
[B][SIZE="3"]#INFOCID is HTC__E11[/SIZE][/B]
In this specific case, the CID is HTC__E11.
2. Get the following mtd0.img from here or from here: mirror provided by SgtDavePwnage.
Edit this image to the CID you found above with a hex editor.
3. Get flash_image from here or from here: mirror provided by SgtDavePwnage.
You can move both mtd0.img and flash_image by putting it on your sdcard, and issueing the following command in a terminal emulator ( you must do this on your device with Connecbot for exemple ) :
In the terminal emulator ( like connecbot ) you will be at prompt beginning with a $ , type 'su' ( without the quote ) 2 times and you will normally see # at the beginning of the ligne ( or anything else with # ). In this case you are logged as root. You can check it with this command : ls ( check screenshoot to see what's look like )
Now type the following
cat /sdcard/flash_image > /data/flash_image "type enter"
cat /sdcard/mtd0.img > /data/mtd0.img "type enter"
chmod 755 /data/flash_image "type enter"
/data/flash_image misc /data/mtd0.img "type enter"
( repeat last command 2 times to be sure and ignore output errors that you will see )
4. Repeat step 3 a couple of times if it doesn't seem to work well.
5. All done! Reboot, you should have normal usb connectivity. Post your 'fastboot oem boot' log and intermediate steps if it fails.
In case of you get 'permission denied' for 'su' command , you can try to do the same thing as Deffe on modaco forum :
P.S.
before i have reroot my legend make step1 and use fake-flush and not step2. So the phone became rooted and i can use connectbot!
Click to expand...
Click to collapse
Credits:
-kubino @ XDA for providing us with the 'misc' information
-TheProfessor @ irc.freenode.net #modaco for being the first test subject + debugging
-adam235 @ irc.freenode.net #modaco for being a test subject as well + debugging
-SgtDavePwnage @ irc.freenode.net #modaco -> moral support + debugging
-DrMon @ irc.freenode.net #modaco -> being brave enough to test on his non-bricked device!
You can also check this :
http://forum.xda-developers.com/showthread.php?t=747030
and
http://forum.xda-developers.com/showthread.php?t=748813
and here
http://forum.xda-developers.com/showthread.php?t=733713
to get some information on your situation.
You can go to the original thread http://android.modaco.com/content/h...com/309961/usb-brick-rickrolled-b0rked-fixed/
to get your mtd0.img already modified for your CID ( if someone has posted it )
Click here to DONATE for them !
Thank You, Ilos. Was waiting for this. Your effort is much appreciated.
Hope our Moderator Sir will put a link to this thread in the first post in this section.
I read through the remedy everyday so I understand a little more each day but I sure hope you will be around when get usb bricked !
Can I practise this on my good device to get a hang of it or will it mess up things big time !
Thread Stuck.
Hi Ilos,
Thanks for the better detailed information so far, about usb problems.
After obtaining super user access i wrote the following commands as you said.
cat /sdcard/flash_image > /data/flash_image
cat /sdcard/mtd0.img > /data/mtd0.img
After writing the above commands in connectbot and giving the enter, the terminal mentioned that they could not find the files.
I placed them om my sd card. is it necessary to place them in a certain file?
The other commands went well and I rebooted but my telephone was not recognized by the computer.
in the below line you mention that the output errors should be ignored, what do you mean with that, because I receive errors.
" repeat last command 2 times to be sure and ignore output errors that you will see )"
I also wrote the last command two times but with no success.
Thanks in advance.
you must put both files at / of your sdcard and you received error at the end of the process ( 0X0000112331 or something like that )
ilos said:
you must put both files at / of your sdcard and you received error at the end of the process ( 0X0000112331 or something like that )
Click to expand...
Click to collapse
No error like that but can't find the flash_image and mtd0.img file.
when your logged as root under connecbot, please type that
ls
and tell me what you see
more or less what you see in img. device2 in one of your comments above posted on today 10.25am
you must see your sdcard when you type ls
if you see it, type :
cd sdcard
and type again ls
check if you see flash_image and mtd0.img that you put on your sdcard
Ilos I managed it with your great help.
I unfortunately had renamed the file mtd0.img which gave the output in the terminal ls mtd0.img.img. and therefore the command could not be read correctly. So I changed the filename and repeated the steps with SUCCESS.
Thanks again.
happy to see your success
Enjoy flashing again !!
ok edited the img and moved them into the sdcard.what to do now how can i move them in the legend data?
kdma said:
ok edited the img and moved them into the sdcard.what to do now how can i move them in the legend data?
Click to expand...
Click to collapse
pls read the "how to" before asking....
ilos said:
You can move both mtd0.img and flash_image by putting it on your sdcard, and issueing the following command in a terminal emulator ( you must do this on your device with Connecbot for exemple ) :
In the terminal emulator ( like connecbot ) you will be at prompt beginning with a $ , type 'su' ( without the quote ) 2 times and you will normally see # at the beginning of the ligne ( or anything else with # ). In this case you are logged as root. You can check it with this command : ls ( check screenshoot to see what's look like )
Now type the following
cat /sdcard/flash_image > /data/flash_image "type enter"
cat /sdcard/mtd0.img > /data/mtd0.img "type enter"
chmod 755 /data/flash_image "type enter"
/data/flash_image misc /data/mtd0.img "type enter"
( repeat last command 2 times to be sure and ignore output errors that you will see )...
Click to expand...
Click to collapse
how should i use connecbot if i cant boot my phone?
i can only use fastboot
maybe
Maybe Froyo will be gentler on our devices and roms as probably there will be no need to use app2sd + which has been considered, albeit not conclusively, to be one of the major causes of usb bricking (?)
Anyone know what causes the USB bricking?
Sent from my Legend using XDA App
Hi all
People that I do?? I can not determine the USB, only in boot mode is determined, I have a new hboot and I can not do step1, can someone help me ka??
Poligon:/mnt/winda/tmp/android/r4-legend-root# ./fastboot-linux oem gencheckpt boot
... INFOsetup_tag addr=0x60000100 cmdline add=0x9D079570
INFOTAG:Ramdisk OK
INFOTAG:smi ok, size = 0
INFOTAG:hwid 0x0
INFOTAG:skuid 0x22F00
INFOTAG:hero panel = 0x0
INFOTAG:engineerid = 0x0
INFOMCP dual-die
INFOMCP dual-die
INFOTAG:mono-die = 0x0
INFODevice CID is not super CID
INFOCID is HTC__A07
INFOsetting->cid::HTC__A07
INFOserial number: HT03DNX01548
INFOcommandline from head: no_console_suspend=1 console=null
INFOcommand line length =443
INFOactive commandline: board_legend.disable_uart3=1 board_legen
INFOd.usb_h2w_sw=1 board_legend.disable_sdcard=0 diag.enabled=0
INFOboard_legend.debug_uart=0 smisize=0 userdata_sel=0 androidbo
INFOot.emmc=false androidboot.baseband=7.08.35.21 androidboot.c
INFOid=HTC__A07 androidboot.carrier=HTC-Russia androidboot.mid=P
INFOB7610000 androidboot.keycaps=qwerty androidboot.mode=recover
INFOy androidboot.serialno=HT03DNX01548 androidboot.bootloader=0
INFO.43.0003 no_console_suspend=1 console=null
INFOaARM_Partion[0].name=misc
INFOaARM_Partion[1].name=recovery
INFOaARM_Partion[2].name=boot
INFOaARM_Partion[3].name=system
INFOaARM_Partion[4].name=cache
INFOaARM_Partion[5].name=userdata
INFOpartition number=6
INFOValid partition num=6
INFOmpu_nand_acpu_rw 15E 1000
FAILED (status read failed (Protocol error))
izya12 said:
INFOactive commandline: board_legend.disable_uart3=1 board_legen
INFOd.usb_h2w_sw=1 board_legend.disable_sdcard=0 diag.enabled=0
Click to expand...
Click to collapse
look at these lines
it has :
board_legend.disable_uart3=1
board_legend.usb_h2w_sw=1
acording to android.modaco.com/content/htc-legend-legend-modaco-com/309961/usb-brick-rickrolled-b0rked-fixed/ these values should be 0
so your Legend is USB-bricked ( like mine was , do not worry it is solvable )
follow the modago unbrick howto an have fun with your legend !!
Sorry for the choppy link but my account is not jet enabled for outside links
izya12 said:
Hi all
People that I do?? I can not determine the USB, only in boot mode is determined, I have a new hboot and I can not do step1, can someone help me ka??
Poligon:/mnt/winda/tmp/android/r4-legend-root# ./fastboot-linux oem gencheckpt boot
... INFOsetup_tag addr=0x60000100 cmdline add=0x9D079570
INFOTAG:Ramdisk OK
INFOTAG:smi ok, size = 0
INFOTAG:hwid 0x0
INFOTAG:skuid 0x22F00
INFOTAG:hero panel = 0x0
INFOTAG:engineerid = 0x0
INFOMCP dual-die
INFOMCP dual-die
INFOTAG:mono-die = 0x0
INFODevice CID is not super CID
INFOCID is HTC__A07
INFOsetting->cid::HTC__A07
INFOserial number: HT03DNX01548
INFOcommandline from head: no_console_suspend=1 console=null
INFOcommand line length =443
INFOactive commandline: board_legend.disable_uart3=1 board_legen
INFOd.usb_h2w_sw=1 board_legend.disable_sdcard=0 diag.enabled=0
INFOboard_legend.debug_uart=0 smisize=0 userdata_sel=0 androidbo
INFOot.emmc=false androidboot.baseband=7.08.35.21 androidboot.c
INFOid=HTC__A07 androidboot.carrier=HTC-Russia androidboot.mid=P
INFOB7610000 androidboot.keycaps=qwerty androidboot.mode=recover
INFOy androidboot.serialno=HT03DNX01548 androidboot.bootloader=0
INFO.43.0003 no_console_suspend=1 console=null
INFOaARM_Partion[0].name=misc
INFOaARM_Partion[1].name=recovery
INFOaARM_Partion[2].name=boot
INFOaARM_Partion[3].name=system
INFOaARM_Partion[4].name=cache
INFOaARM_Partion[5].name=userdata
INFOpartition number=6
INFOValid partition num=6
INFOmpu_nand_acpu_rw 15E 1000
FAILED (status read failed (Protocol error))
Click to expand...
Click to collapse
USB bricked.... pls follow the HOWTO in the first post...
when the phone Brick is always possible to solve the problem?
I'm trying to figure out if my X8 has a Cypress digitizer or not. I type in dmesg | grep cyttsp-i2c and I end up getting a syntax error, to be specific "Syntax error: redirection unexpected write: Broken pipe".
What the hell is wrong with the command I typed in? I've checked numerous times and I'm pretty damn sure I typed in the proper command. And I am rooted.
The exact commands and responses from the moment I start up Terminal Emulator.
Code:
$ export PATH=/data/local/bin:$PATH
$ su
# dmesg | grep cyttsp-i2c
Syntax error: redirection unexpected
write: Broken pipe
#
The subject says it all... I'm wondering if there is a shell command I can use to output the dimensions of any image I give it as a parameter.
For example (this isn't an actual command, just an example of what I'm looking for):
command -d "/mnt/extSdCard/Images/image-001.jpg"
And then it could output something like:
W: 1024 H: 1280
Anyone know of any command in Android that will give me that info?
Thanks in advance!
No one?
Welcome to Termux!
Wiki: https://wiki.termux.com
Community forum: https://termux.com/community
Gitter chat: https://gitter.im/termux/termux
IRC channel: #termux on freenode
Working with packages:
* Search packages: pkg search <query>
* Install a package: pkg install <package>
* Upgrade packages: pkg upgrade
Subscribing to additional repositories:
* Root: pkg install root-repo
* Unstable: pkg install unstable-repo
* X11: pkg install x11-repo
Report issues at https://termux.com/issues
$ <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/"><img alt="Creativ
bash: syntax error near unexpected token `<'
$ pkg install root-rep
Err:1 https://dl.bintray.com/termux/termux-packages-24 stable InRelease
Could not resolve host: dl.bintray.com
Err:2 https://dl.bintray.com/grimler/game-packages-24 games InRelease
Could not resolve host: dl.bintray.com
Err:3 https://dl.bintray.com/grimler/science-packages-24 science InRelease
Could not resolve host: dl.bintray.com
Reading package lists... Done
Building dependency tree... Done
All packages are up to date.
W: Failed to fetch https://dl.bintray.com/termux/termux-packages-24/dists/stable/InRelease Could not resolve host: dl.bintray.com
W: Failed to fetch https://dl.bintray.com/grimler/game-packages-24/dists/games/InRelease Could not resolve host: dl.bintray.com
W: Failed to fetch https://dl.bintray.com/grimler/science-packages-24/dists/science/InRelease Could not resolve host: dl.bintray.com
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package root-rep
$ package install unstable-tepo
No command 'package' found, did you mean:
Command 'pamedge' from package 'netpbm'
Command 'pbmpage' from package 'netpbm'
Command 'pacat' from package 'pulseaudio'
$ Command 'pamedge' from package 'netpbm'
No command 'Command' found, did you mean:
Command 'w3mman' from package 'w3m'
$ Command 'pbmpage' from package 'netpbm'
No command 'Command' found, did you mean:
Command 'w3mman' from package 'w3m'
$ Command 'pacat' from package 'pulseaudio'No command 'Command' found, did you mean:
Command 'w3mman' from package 'w3m'
$ $pkg install x11-repo
BusyBox v1.30.1 (2019-03-19 00:36:42 UTC) multi-call binary.
Usage: install [-cdDsp] [-o USER] [-g GRP] [-m MODE] [-t DIR] [SOURCE]... DEST
Copy files and set attributes
-c Just copy (default)
-d Create directories
-D Create leading target directories
-s Strip symbol table
-p Preserve date
-o USER Set ownership
-g GRP Set group ownership
-m MODE Set permissions
-t DIR Install to DIR
$ Usage: install [-cdDsp] [-o USER] [-g GRP] [-m MODE] [-t DIR] [SOURCE]... DEST
No command 'Usage:' found, did you mean:
Command 'osage' from package 'graphviz'
$ Command 'osage' from package 'graphviz'
No command 'Command' found, did you mean:
Command 'w3mman' from package 'w3m'
$ $-c Just copy (default)
bash: syntax error near unexpected token `('
$ -d Create directories
No command '-d' found, did you mean:
Command 'ld' from package 'binutils'
Command 'id' from package 'busybox'
Command 'od' from package 'busybox'
Command 'dd' from package 'busybox'
Command 'hd' from package 'busybox'
Command 'dd' from package 'coreutils'
Command 'od' from package 'coreutils'
Command 'id' from package 'coreutils'
Command 'ed' from package 'ed'
Command 'fd' from package 'fd'
$ -D Create leading target directories
No command '-D' found, did you mean:
Command 'ab' from package 'apache2'
Command 'dc' from package 'bc'
Command 'bc' from package 'bc'
Command 'ld' from package 'binutils'
Command 'nm' from package 'binutils'
Command 'ar' from package 'binutils'
Command 'as' from package 'binutils'
Command 'cp' from package 'busybox'
Command 'rm' from package 'busybox'
Command 'sv' from package 'busybox'
Command 'dc' from package 'busybox'
Command 'ln' from package 'busybox'
Command 'vi' from package 'busybox'
Command 'id' from package 'busybox'
Command 'du' from package 'busybox'
Command 'nc' from package 'busybox'
Command 'od' from package 'busybox'
Command 'ar' from package 'busybox'
Command 'wc' from package 'busybox'
Command 'ps' from package 'busybox'
Command 'dd' from package 'busybox'
Command 'rx' from package 'busybox'
Command 'tr' from package 'busybox'
Command 'hd' from package 'busybox'
Command 'xz' from package 'busybox'
Command 'ls' from package 'busybox'
Command 'mv' from package 'busybox'
Command 'cc' from package 'clang'
Command 'dd' from package 'coreutils'
Command 'cp' from package 'coreutils'
Command 'ln' from package 'coreutils'
Command 'ls' from package 'coreutils'
Command 'rm' from package 'coreutils'
Command 'od' from package 'coreutils'
Command 'wc' from package 'coreutils'
Command 'id' from package 'coreutils'
Command 'tr' from package 'coreutils'
Command 'nl' from package 'coreutils'
Command '[' from package 'coreutils'
Command 'mv' from package 'coreutils'
Command 'du' from package 'coreutils'
Command 'pr' from package 'coreutils'
Command 'sh' from package 'dash'
Command 'dx' from package 'dx'
Command 'ed' from package 'ed'
Command 'fd' from package 'fd'
Command 'gs' from package 'ghostscript'
Command 'go' from package 'golang'
Command 'gm' from package 'graphicsmagick'
Command 'gc' from package 'graphviz'
Command 'jq' from package 'jq'
Command 'k' from package 'kona'
Command 'm4' from package 'm4'
Command 'mc' from package 'mc'
Command 'mg' from package 'mg'
Command 'lz' from package 'mtools'
Command 'uz' from package 'mtools'
Command 'ne' from package 'ne'
Command 'nc' from package 'netcat'
Command '7z' from package 'p7zip'
Command 'ps' from package 'procps'
Command 'pv' from package 'pv'
Command 'r2' from package 'radare2'
Command 'co' from package 'rcs'
Command 'ci' from package 'rcs'
Command 'rg' from package 'ripgrep'
Command 'ri' from package 'ruby-ri'
Command 'ag' from package 'silversearcher-ag'
Command 'sl' from package 'sl'
Command 'am' from package 'termux-am'
Command 'pm' from package 'termux-tools'
Command 'df' from package 'termux-tools'
Command 'su' from package 'termux-tools'
Command 'ip' from package 'termux-tools'
Command 'ht' from package 'texlive-bin'
Command 'mf' from package 'texlive-bin'
Command 'ul' from package 'util-linux'
Command 'vi' from package 'vim'
Command 'vi' from package 'vim-python'
Command 'wg' from package 'wireguard-tools'
Command 'xz' from package 'xz-utils'
$ -s Strip symbol table
No command '-s' found, did you mean:
Command 'as' from package 'binutils'
Command 'ps' from package 'busybox'
Command 'ls' from package 'busybox'
Command 'ls' from package 'coreutils'
Command 'gs' from package 'ghostscript'
Command 'ps' from package 'procps'
$ -p Preserve date
No command '-p' found, did you mean:
Command 'cp' from package 'busybox'
Command 'cp' from package 'coreutils'
Command 'ip' from package 'termux-tools'
$ -o USER Set ownership
No command '-o' found, did you mean:
Command 'go' from package 'golang'
Command 'co' from package 'rcs'
$ -g GRP Set group ownership
Rooted my thinkpad 430 laptop
Cruelty will be in your memory on your deathbed, not mine.
jrummy¿ said:
Rooted my thinkpad 430 laptop
Click to expand...
Click to collapse
How 'bout G8 next?
I need to be able to afford one hahaha
The pc has 973 GB of software memory
Anybody want to buy it???
Cant find the RAM size on it but its got 4 i5s and 4 i7s
Im confused did you get root for Q710AL?