yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] goyanks:
flash image not found

everything works fine up until i get to the part where you actually flash the recovery image, at which point i get an error reading : flash_image: not found

this is my code for the last part.

"root@andrew-desktop:/home/amills/android-sdk-linux/tools# ./adb push recovery-RA-heroc-v1.5.2.img /sdcard

1106 KB/s (3356672 bytes in 2.962s)

root@andrew-desktop:/home/amills/android-sdk-linux/tools# ./adb shell reboot

root@andrew-desktop:/home/amills/android-sdk-linux/tools# ./adb shell

# su

# cd /sdcard/

# flash_image recovery recovery-RA-heroc-v1.5.2.img

flash_image: not found"
[Hero CDMA Android Development] theresthatguy:
is the phone fully booted when you run the flash_image command?
[Hero CDMA Android Development] goyanks:
Yes, sense has booted up and everything, if this matters, my current recovery image is Amon Ra v1.2.3 and i had Eclair 2.1 v1.8 on it up until last night, as of now i have Fresh 1.1
[Hero CDMA Android Development] buck2202:
If you're going to transfer the recovery image to the sdcard using adb push (as opposed to using usb-storage to drag/drop) you need to make sure that usb storage is turned off and the sdcard is mounted when you push the file.

My guess is that the sdcard wasn't mounted, and the file went to the (empty) /sdcard directory. Then when the sdcard is mounted, you can't see it. If you just reboot and do:

./adb shell
cd /sdcard
ls

does the recovery image file show up in the list?

I'm assuming that "flash_image: not found" means that the image file isn't where you're telling it to look.
[Hero CDMA Android Development] goyanks:
no, it's there, when i tyle "ls", i get the following list returned.

# ls
2.1v1.8_heroc_7_signed.zip flashrec-1.1.3-20091107-2.apk
BetterTerm15.apk fresh-cdma-hero-1.1.zip
DCIM google_maps_navigation
HTC Sync media
LOST.DIR nandroid
Music prettybattery-googlecode-com
PicSay recovery-RA-heroc-v1.2.3.img
ToggleSettings recovery-RA-heroc-v1.5.2.img
Wallpaper rosie_scroll
aHome rssreader
albumthumbs tmp
aosp_heroc_20091217d.zip uloops
dolphinbrowser_gestures waze

furthermore, when i try to flash the recovery image now, i get no such error, instead I get a seemingly infinitely repeating series of "out of memory errors"

# flash_image recovery recovery-RA-heroc-v1.5.2.img
mtd: read error at 0x00000000 (Out of memory)
mtd: read error at 0x00020000 (Out of memory)
mtd: read error at 0x00040000 (Out of memory)
mtd: read error at 0x00060000 (Out of memory)
mtd: read error at 0x00080000 (Out of memory)
mtd: read error at 0x000a0000 (Out of memory)
mtd: read error at 0x000c0000 (Out of memory)
mtd: read error at 0x000e0000 (Out of memory)
mtd: read error at 0x00100000 (Out of memory)
mtd: read error at 0x00120000 (Out of memory)
mtd: read error at 0x00140000 (Out of memory)
mtd: read error at 0x00160000 (Out of memory)
mtd: read error at 0x00180000 (Out of memory)
mtd: read error at 0x001a0000 (Out of memory)
mtd: read error at 0x001c0000 (Out of memory)
mtd: read error at 0x001e0000 (Out of memory)
mtd: read error at 0x00200000 (Out of memory)
mtd: read error at 0x00220000 (Out of memory)
mtd: read error at 0x00240000 (Out of memory)
[Hero CDMA Android Development] goyanks:
errors

I'm going to try rebooting the device and start from there. :|

this is bizzare, the first two times i attempted this (both times in Kubuntu 10.04 Alpha), i was able to flash the image with no trouble whatsoever.

------------------------------------------------------

i dont know what was up, fixed it and 1.5.2 is working great. thanks for the advice everyone. : )
[Hero CDMA Android Development] swatsbiz:
problem :-(

Here's where I get to in the procedure, what's going on?

$ chmod 0755 /data/local/asroot2
$ /data/local/asroot2 /system/bin/sh
[1] Killed /data/local/asroot2 /system/bin/sh
$

Many thanks

David
[Hero CDMA Android Development] theresthatguy:
Do you have a non-Sprint hero? If say I recommend you check out the rooting a non-sprint hero thread.
[Hero CDMA Android Development] diordnahero:
Thanks so much for this great howto!

Looking down the road..... can the phone be unroot/restored from linux?
[Hero CDMA Android Development] theresthatguy:
After you flash a custom rom, no. You will need to RUU from a Windows box.
[Hero CDMA Android Development] HeroMeng:
Doesn't work from a VM or from Mac Bootcamp either. Need to have a Windows-only craputer.
[Hero CDMA Android Development] diordnahero:
pretty much what I thought. just don't seem right!
[Hero CDMA Android Development] flammenwurfer:
I would like to suggest maybe changing the title of this How-To to just say linux. It works just fine in almost any linux distro. I did it in Arch and it worked great. There's really nothing Ubuntu specific about it.
[Hero CDMA Android Development] mikeking23:
mounting problem

I get to my shell, and enter the mount command in step H, but then the shell just hangs. I went back to shell and checked any command (ls, pwd, cd, etc...), and they all just hang the shell. Has anyone came across this issue?
[Hero CDMA Android Development] vinodc:
Wow, Great steps. Got my phone yesterday and rooted just now!

A couple of things

1. never mount the sdcard. ( once you enable the debug mode at settings -> applications -> development , see the notifications and do not mount the card )

Otherwise you'll fail at step N

2. Step F is not needed :)

Vinod
[Hero CDMA Android Development] reedsw:
I am running into an interesting issue

./adb shell
error: insufficient permissions for device

Now this is the second time I have attempted to access ./adb shell thru ubuntu. My first attempt was successful and was able to flash Fresh 2.1. I am able thru ROM Manager to reboot into recovery still so that is at least some saving grace if I want to change something that has to be flashed but i cant push anything or log into ./adb shell thru ubuntu. I am going to have to go home and try it on my mac tonight to see if I am able to get that error from there too (which would be upsetting)

Debug on

Everything has been previously set up. Any ideas?
[Hero CDMA Android Development] pseudoremora:
Try running with root.

sudo su
./adb shell

Also, more than often -- you'll need to start the adb server from root, then exit and you'll be able to run all the adb commands from your ~/ shell
[Hero CDMA Android Development] sph33r:
Kill the server:

./adb kill-server

Then start it like so:

sudo ./adb start-server

That should fix the permission problem.
[Hero CDMA Android Development] reedsw:
I had seen that in a post on here and wasnt able to get the sudo su to return a different response.
[Hero CDMA Android Development] pseudoremora:
Try the above method -- that was what I suggested before, but didn't write the commands out.;)
[Hero CDMA Android Development] reedsw:
Winner winner chicken dinner! Thank you. Wonder why that was needed. Kind of new to this so playing catch up on the whole command line/bash/android fun =)

That did it... thank you. Sorry the laid out version was required for me.
[Hero CDMA Android Development] pseudoremora:
No problem. Everyone's at a different level. Happy to see it worked.

The reason why it's needed: the adb server needs to be started as rooted, from then on; any following commands you will propagate over with root permissions.

So when you want to do anything, just stop/start the server with root, then run your following adb commands and you should be good to go.
[Hero CDMA Android Development] balak:
I also got to this point, and hit the same error. I have a sprint cdma hero, got it recently with andriod 2.1 preinstalled.

Does this rooting procedure work for 2.1 ? Do we need to have 'recovery image 2.1' or something ?

many thanks!

balak
[Hero CDMA Android Development] balak:
Nevermind, found out that this doesn't work for 2.1. Have found the guide to another thread which will do it using windoze, now just need to make it work under ubuntu (lucid).
[Hero CDMA Android Development] jhollinger:
USB Debugging

The directions mention enabling USB Debugging. I searched to see what that meant, and it appears I'm supposed to run some app called Development and click "Enable USB Debugging."

My phone has no such Development app, and I can't find it in the Market. What don't I know?

Running an unmodded HTC CDMA Hero with Android 1.5. Rooting with Ubuntu.

EDIT: Nevermind, I found that Development was a menu under Settings > Applications. Funny that's not mentioned anywhere on the Web.
[Hero CDMA Android Development] theresthatguy:
try rebooting your hero before flashing the recovery img?
[Hero CDMA Android Development] amorphouskev:
Thank you so much for this thread, I thought something was wrong with me or my phone but I realized that I have 1.5.2 not 1.6.2 and now I'm rooted, backedup and ready to flash the eff on!
[Hero CDMA Android Development] whoopingchow:
I really wish this were stickied. It's been about a couple weeks since I rooted my phone using this guide (successfully!), and I still find myself coming back to this thread to remind myself how to go into adb shell and other stuff. I wish this were stickied. Thanks so much for this thread!!
[Hero CDMA Android Development] krysalicea:
Theresthatguy...........

Question I see you know how to root the hero on linux...................Do you know how to build a kernel/rom on linux/ ubuntu 10.04???? I found a fourm that shows how to build a kernel on ubuntu 9.04 but i get stuck when i have to do an "adb pull" it tells me command does not exist or something like that. Your steps on rooting my hero worked did not have any issues at all so I am hoping maybe you can help with step by step directions on building a kernel/rom.
[Hero CDMA Android Development] I7IZI:
troubles with this method

i7izi@i7izi-laptop:~$ cd myandroid/android-sdk-linux_x86/tools/

i7izi@i7izi-laptop:~/myandroid/android-sdk-linux_x86/tools$ sudo su

[sudo] password for i7izi:

root@i7izi-laptop:/home/i7izi/myandroid/android-sdk-linux_x86/tools# ./adb push asroot2 /data/local/

1092 KB/s (74512 bytes in 0.066s)

root@i7izi-laptop:/home/i7izi/myandroid/android-sdk-linux_x86/tools# ./adb shell

$ chmod 0755 /data/local/asroot2

$ /data/local/asroot2 system/bin/sh

[1] Killed /data/local/asroot2 system/bin/sh

$

i have followed instructions to a tee and this is the result i keep ending up with. i can see it has been some time that this thread has had a response so i get the impression that this method has died since the one click method, so i will be surprised if anyone responds. anyhow im a curious person and wanted to try rooting from a linux box for the experience. so i guess i should say that i have read through the whole thread and found one other post with the same problem that i have. obviously i have a cdma hero thats why im following this thread. so im just wondering what the problem might be? any help would be greatly appreciated and i guess for the time being i will have to reroot using the one click method. thanx :-)
[Hero CDMA Android Development] Iegolas:
How can you fix it?
[Hero CDMA Android Development] NineInchNails:
One Click Root, Z4 to be specific.... there's no reason to even try this anymore... wasting your own time
[HD2 Windows Mobile 6.5 Themes and Apps] Leechoonhwee:
Hi all, I searched the author website but only managed to find QVGA version. Any bro here managed to skin one for LEO?

Thanks!
[HD2 Windows Mobile 6.5 Themes and Apps] henv:
I think there is no wvga version. But why you dont try xda shutdown. See the program here http://xdaforums.com/showthread.php?t=544016, there also skins for it
[HD2 Windows Mobile 6.5 Themes and Apps] birkoffsjunk:
psShutXP works in all resolutions, you just need a vga theme.

psShutXP W/VGA
[Windows Mobile Software Development] 200mg:
I am working with 2 different inventory systems that use IE. One site needs an application called datawedge to invoke a scanner, the other inventory site invokes an active-x control for the scanner. I need to create a script that launches IE with Datawedge for the one site, and another script that launches IE and kills datawedge for the other site.

Is mortscript the way to go for something like this? It seems to be the only thing around I can find for winmbl scripting. Can someone post an example of a simple open app, kill app script in mortscript?

TIA for any replies...
[Windows Mobile Software Development] howdykeith:
Hi.

Opening and closing apps is the easy part.

Maybe try posting in the mortscript forum and you will have more responses.

Mortscript Examples:

http://xdaforums.com/showthread.php?t=289197
[HD2 General] mb:
I've got the O2 branded ROM in the UK.

Is there an easy way to remove the Twitter/Facebook/Copilot etc apps easily and free up some space? File Explorer is one way I guess, but how can I be sure they're truly gone?

Until I get the knowledge and strength to flash the ROM I'd like to do this. Thanks in advance.
[HD2 General] Blacked Out:
Its not just O2 - Ive got the Stock ROM with all 3 Apps.

Isnt it just a few MBs you're going to save by doing this?
[HD2 General] TartanArmy:
Flashed my o2 branded Leo today using the sticky guide in developers section.

Was pretty simple after reading over it twice. (also after getting goldcard)

Yes all the apps you mentioned will come with new rom.
[HD2 General] mb:
Just reflashed myself right now, thanks to the Goldcard. I guess those apps come with the stock ROM, so it's not O2 to blame really.

However, if anyone does know how to free up those valuable MBs I would be grateful.
[Touch HD Themes and Apps] lim biker:
Anyone got this working? i've tried the old user agent trick but it still says phone is unsuportedm amy idea's? I'm running hellonasty maryone 6.5 23xxxx rom if that makes any difference
[Touch HD Themes and Apps] millski:
Not working here either. Tried without user agent edit, then edited to HTC_TOUCH_HD_T8282, on iplayer and mobile/iplayer websites. Using Opera 10 beta 1 on XTROM 2.2B. Will try beta 2 in the morning...
[Touch HD General] ZinGale:
I have a memory card 4GB MicroSD card and I have 2 folders in that they weigh 3 GB wanted to delete them and it will not let me, I tried every way possible, I want to hear songs and I can not because I have no place, anyone have an idea how I can delete the these folders?
[Touch HD General] rihui:
i'd suggest you copying what you want to keep from the card to your computer, then format the card, and putting the files you want back onto the card.
[Touch Pro, Fuze General] S_epehr:
Could anyone please upload default HTC TouchPro/Diamond startup sound from official GSM ROM? (\Windows\startup_sounds.wav)

Edit: I was looking for wrong file name, it wasnt "startup_sounds.wav", it was "BootUpHTC" and i found it Here...
[General Topics] S_epehr:
Could anyone please upload default HTC TouchPro/Diamond startup sound from official HTC GSM ROM? (\Windows\startup_sounds.wav)

Edit: I was looking for wrong file name, it wasnt "startup_sounds.wav", it was "BootUpHTC" and i found it Here...
[G1 Q&A, Help & Troubleshooting] unicodephoenix:
Dear Ya'll

It seems like I have almost bricked my G1.

I was running CyanogenMod 4.1.99 and gracing in green pastures! As grass is always greener on other side, greed took over me and I tried to upgrade to version 4.2.6. BOOOOOOM!

The phone did not go beyond Google authenticate/skip screen and restarted multiple times.

I then tried back-dating it to latest nandroid backup. It too gets stuck at either starting screen or continuously shows t-Mobile HTC flash image.

Is there anyone, a knight in shining armor, who can come to the rescue of a poor cow who went to graze on the other side of the fence?
[G1 Q&A, Help & Troubleshooting] jndd333:
Did you follow the instructions exactly? Also, I recommend wiping and reflashing the htc "recovery image" and 4.2.6...Don't forget to wipe your sdcard too, that could be messing with it if you have a lot of apps on a partition...sometimes ya just gotta start from scratch (at least it's an easier fix)
[G1 Q&A, Help & Troubleshooting] unicodephoenix:
Finally solved. Thanks jndd333

Thanks jndd333 for the tips! You rock.

After much head-banging, I finally found the problem was with the sd card. Backed up the data from SD card, and reformatted it and flashed the images again. Worked liked a charm.
[G1 Q&A, Help & Troubleshooting] jndd333:
good deal! enjoy the new update cyanogen rocks! If you don't already have it, I recommend flashing Amon_Ra's newest recovery image (you can find it in the dev section) It makes wiping, repartitioning and a lot of other goodies easier and you can execute a lot of options with a single click in recovery mode :)
[Touch HD Windows Mobile ROM Development] ybraz:
Hi all,

this is a really simple question. I'm using my Blackstone with a dated, but very reliable so far, Dutty's ROM v1.2 , never had a problem with it.

My question is: apart from getting the newest, cutting edge technology o.s. version for my phone, is there any really true advantages (features, performance and reliability, I'm relatively interested at fancy graphics) in upgrading to one of the newest ROMs? I'm talking 6.5.x.

Thanks! :)
[Touch HD Windows Mobile ROM Development] jigners:
there is plenty of 6.5.1 around, they have each their own thread, so any concerns and problems encountered you can find solutions there. but be WARNED Win 6.5.x ROMs are generally sloooower than Win 6.5 ROMS, also Man 2.5 (HTC Leo) ROMs tends to be slower than HTC Sense Man 2.1 ROMs like the official update for the Rhodium.

I suggest you start with Win 6.5 and a Rhodium Port, like Miri V32, or Topix Vanilla Series Rhodium 24Nov release, which is to me the most stable and fastest ROM around, it would not surprise you that its thread isnt always at the top, as many who has tried it has not had so much of a problem, mostly praises for how good the ROM is.

have you flashed a cooked ROM before? I recommend to use USPL 2.5
[Touch HD Windows Mobile ROM Development] Fallen Spartan:
All flashing queries should be posted in this thread

Personally I find the latest builds including 6.5.1 and manila 2.5 more finger friendly, especially latest builds 23xxx, 28xxx etc with buttons at bottom. Yes they are slightly slower, but this is due to Leo 1.48 which is meant for the HD2 (Leo) and not the HD. The CPU for the HD is not as good as the HD's. If you want the latest you have to pay with a 'slightly' slower rom. IMHO its worth it but. Best advice for you would be to try them and make your own conclusion!!
[Upgrading, Modifying and Unlocking] grkn:
Samsung won't give it to me, and Its firmware upgrade support site doesn't have it. I did attain a i780PXBHK2_Upgrader_VISTA.exe, but I'm not sure it's Norwegian and I don't have Vista (shrug).

I've tried ironeagle's 6.5 build, but it's slow, a bit buggy, and the keyboard isn't mapped correctly.

Cheers!
[Upgrading, Modifying and Unlocking] razvan_real_one:
Re

Go here: http://www.samsungmobile.com/support/i780/index.jsp

and select a ROM (just pick one as you wish) with the instructions below:

Chose a ROM made last year. Ex: XBHK1

For a name like this:

I780PDXIB1

Here is the meaning (copied from Monaco)

DX - > region / network carrier designation (DX = Malaysia, Signapore and others -

English)

I - > release year (I = 2009).

B - > release month (B = Feb)

1 - > version number of month.

Here are the region and carrier codes:

BD Cyprus, Greece

CP Finland

DB Vietnam

DC Thailand

DD India

DT Australia

DX Indonesia, Malaysia, Philippines, Singapore, Vietnam

DZ Malaysia, Singapore

JA South Africa

JC Algeria, Morocco, Nigeria, South Africa, Tunisia

JP Arabic

JR Arabic

JV Algeria, Egypt, Iran, Iraq, Kuwait, Morocco, Nigeria, Oman, Pakistan,

Saudi Arabia,South Africa, Syria, Tunisia, Turkey

MT Switzerland

XA Austria, France, Germany, Italy, Netherlands, Switzerland, United Kingdom

XB Denmark, Norway, Sweden

XC Portugal, Spain

XD Croatia, Czech, Hungary, Slovakia

XE Bulgaria, Estonia, Kazakhstan, Latvia, Lithuania, Russia, Ukraine

XF Bulgaria, Croatia, Romania

XX Austria, Belgium, France, Germany, Hungary, Italy, Spain, United Kingdom

ZC China, Hong Kong

ZH Hong Kong

ZT Taiwan

- Network carrier codes:

AE SFR, France

AI Tim, Italy

AM Vodafone

AN E-Plus, Germany

AO O2

AS KPN, Netherland

AU Mobilkom, Austria

BB Tmn, Portugal

BF Optimus, Portugal

BG Telefonica, Spain

BM Swisscom, Switzerland

BN Amena, Spain

BO T-Mobile, Germany

BU Vodafone

BV Orange, Switzerland

BW O2, United Kingdom

CD Proximus, Belgium

CG Telia Mobitel, Sweden

CH SingTel, Singapore

CK Tele2 Comviq, Sweden

CT Tdc, Denmark

CU One, Austria

CV Telenor, Norway

DT Optus, Australia

DV Telstra, Australia

EF Celcom, Malaysia

JB Vodacom, South Africa

MD Telia Sonera, Finland

MJ Vodafone, Italy

MM Tele Ring, Austria

MV NetCom, Norway

NA Nrj, France

NB Tele2 Norway, Norway

NE H3g Nordic, Sweden

NP H3g, Italy

SS Vodafone, Japan

Release years:

D = 2004

E = 2005

F = 2006

G = 2007

H = 2008

Release months:

A = January

B = February

C = March

D = April

E = May

F = June

G = July

H = August

I = September

J = October

K = November

L = December
[Upgrading, Modifying and Unlocking] grkn:
Yes, I've used this, but I only get redirected to samsung norway, and that website doesn't have the rom :( Also not sure If I can upgrade with their installers as I've currently got a 6.5 rom installed.
[Touch Diamond2, Pure Themes and Apps] pedroo:
Hi, do you know where to get a glossy transparent slider like this?

Exactly the same as on the picture...

Thank you
[Touch Diamond2, Pure Themes and Apps] koen-ronse:
Try this...
[Touch Diamond2, Pure Themes and Apps] pedroo:
Tried to install, but no change...:(
[Touch Diamond2, Pure Themes and Apps] pulse55:
pedroo

1. transparent slider

2. transparent slider and transparent top curtain....
[Touch Diamond2, Pure Themes and Apps] pedroo:
Thank you, but this is not what i am looking for... :confused:
[Touch Diamond2, Pure Themes and Apps] Dirk:
Which ROM or version of TF3D are you using?

I have what you need depending on the version. Check first and install the correct one.
[Touch Diamond2, Pure Themes and Apps] pedroo:
I am sorry, but this is not the same one...

Can you see this glossy effect?

But thanx anyway...
[Touch Diamond2, Pure Themes and Apps] Diesel-30:
does this work on stock win 6.1 for t-mobile's tp2?
[Touch Diamond2, Pure Themes and Apps] millski:
This should be the slider you are looking for: http://xdaforums.com/showpost.php?p=4824886&postcount=958
[Touch Diamond2, Pure Themes and Apps] pedroo:
Thanks man, great, this is it:):):)
[Touch Diamond2, Pure Themes and Apps] andres_scb:
how to install it...?
[Touch Diamond2, Pure Themes and Apps] Scabes24:
Here's some - The first cab is what you were looking for I think.
[HD2 Windows Mobile 6.5 Themes and Apps] end-er:
Hi guys! I need an alarm that can repeat the sound at intervals (5/10/15 minutes) and support snooze also at different intervals (5/10/15 minutes). Any idea would be much appreciated :) Thanks!
[HD2 Windows Mobile 6.5 Themes and Apps] vangrieg:
G-Alarm will do it for you.
[HD2 Windows Mobile 6.5 Themes and Apps] end-er:
Thanks, works like a charm.
[HD2 Windows Mobile 6.5 Themes and Apps] gohyc:
If you prefer the basic WM alarms with the snooze options, you can install the attached cab which will disable the crippled HTC one, and bring back the original WM alarm snoozing options.

Be warned that some top taskbar replacement breaks the snooze option even if you have applied the cab attached here.
[HD2 Windows Mobile 6.5 Themes and Apps] Remcopug:
hi

how do you install al those things on the hd2?

many thanks grz
[HD2 Windows Mobile 6.5 Themes and Apps] DEMODEMO:
you could try klaxon... worked on diamond, not tried it on HD2.

its better than g-alarm (imo) as you can just flip the phone which will set the snooze, or shake the phone to turn off the alarm.
[HD2 Windows Mobile 6.5 Themes and Apps] shumilica:
G-alarm has the same function you say klaxon has.

You can tell it to snooze or go off when you flip the phone or shake it.
[HD2 Windows Mobile 6.5 Themes and Apps] end-er:
Yeap, I can confirm, G-Alarm has all that.