yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Q&A, Help & Troubleshooting] vayman:
Have you tried accepting the OTA while on the RUU or just on a rooted "Sense" ROM? If you haven't tried the RUU route it may be worth a shot. But as far as I know and as 24601 posted in the aospCMod thread, that 651.2 is only available OTA.
[Hero CDMA Q&A, Help & Troubleshooting] wesssider:
Again OTA's fail. I need to do it manually. Isn't the 2.32.651.2 OTA patch stored on the phone before its applied. If so, thats all I need.
[Hero CDMA Q&A, Help & Troubleshooting] vayman:
Sorry to keep harping on the OTA, but you didn't mention that you tried RUU. So I'm just going to assume that you have. As far as the patch being stored on the phone, that I don't know. Maybe someone who knows will reply.
[Hero CDMA Q&A, Help & Troubleshooting] wesssider:
Yes, I have tried RUU. It's all good, I appreciate your time looking into this for me.
[Hero CDMA Q&A, Help & Troubleshooting] vayman:
No problem man. Happy to help, and if I find anything I'll let you know. Not sure what nfinite is up to these days but as far as I know he was the only one that made a stock ROM based on 651.2. Maybe send him a PM and see if he can be of any help. May be worth a shot. ;)
[Hero CDMA Q&A, Help & Troubleshooting] wesssider:
Good idea. Sent nfinitefx45 a PM.
[Hero CDMA Q&A, Help & Troubleshooting] il Duce:
I would also suggest you send member oostah a PM, he has all kinds of crazy stuff, like a verizon radio image, and a PRL from the evo :eek: - he knows how to do it manually (I think) and some good ones to try. I would HIGHLY recommend you get an unlocked bootloader - aka "s-off" - BEFORE you do this stuff.
[Hero CDMA Q&A, Help & Troubleshooting] vayman:
Hmmm, didn't think about oostah. Good suggestion Duce!

Definitely +1 on S-off too! :)
[Hero CDMA Q&A, Help & Troubleshooting] wesssider:
Another good idea. Sent oostah a PM.

I'm s-off.
[Hero CDMA Q&A, Help & Troubleshooting] jasonmaloney:
OTA_HeroC_Sprint_2.31.651.7_2.27.651.6_release5iou1d929vcwrqa7.zip

OTA_HeroC_Sprint_2.32.651.2_2.31.651.7_releasezkc856o9ps7466v8.zip
[Hero CDMA Q&A, Help & Troubleshooting] c00ller:
I just tried flashing the 2nd link, it tells me

E:No signature (175 files)

E:Verification failed

Is it because I'm using Amon_RA 1.7? I downgraded from CWM 3.0.2.4 just to flash nfx's stock 2.31.651.7 ROM

edit: is it meant to be flashed through fastboot?

tried it and it says FAILED (remote: 12 signature verify fail) :(
[Hero CDMA Q&A, Help & Troubleshooting] jasonmaloney:
These are the OTA updates you get when running stock. They're probably not going to work on other ROMs. They're signed by HTC, so you either need to use the stock recovery or turn off signature verification.
[Hero CDMA Q&A, Help & Troubleshooting] wesssider:
Resolved! Updated OP.

0 - create backup

1 - install ClockWork 2.5.0.7 (#2 wouldn't install with my 3.0.2.4)

2 - install NFX Sprint 2.31.651.7 STOCK ODEX with A2sd Update3

3 - update PRL manually with ##PRL# (since ##PRL# is removed with #4, I think?)

4 - install OTA_HeroC_Sprint_2.32.651.2 (thanks to jasonmaloney) <~~~ this was my missing link

5 - install RegawMOD Hero Rooter v1.3 (to root/install clockwork 3.0.0.5)

6 - create backup of Sense rom

7 - restore back aospCmod!

...and wipe, wipe, wipe.
[Hero CDMA Q&A, Help & Troubleshooting] dpeeps74:
Yeah, I dealt with this last night tho the only advantage to having the latest PRI/PRL for me seems to be that I can say I have them. I didn't go the same route exactly as you, I used ruu and then did an ota. However it does seem that the pri will not update unless you upgrade from the *.7 to the *.2, as I had flashed the .2 many times by itself.

~maybe I set it too high...
[Hero CDMA Q&A, Help & Troubleshooting] aiwetir:
How do I turn off sig verification?

How to find the stock recovery:

http://xdaforums.com/showthread.php?t=897887
[Hero CDMA Q&A, Help & Troubleshooting] wesssider:
In ClockWork Recovery, choose install zip from sdcard > toggle signature verification?
[Hero CDMA Q&A, Help & Troubleshooting] aiwetir:
Thanks! I found that but forgot to come back here and edit my post.
[Hero CDMA Q&A, Help & Troubleshooting] aiwetir:
Well I finally got this via a 3 day fiasco of flashing all kinds of stuff, installing a virtual machine with xp, staying up 2 hours later each night and basically going nowhere.

I'm now s-off but it doesn't seem to work as advertised and I'm back to my pre-fiasco setup with the newest pri and prl.

The basic instructions in the OP are what I did but had to use this method http://xdaforums.com/showthread.php?t=804296 to root as I couldn't even get my phone to work on windows.
[Hero CDMA Q&A, Help & Troubleshooting] il Duce:
Which s-off method did you use? And how do you mean it doesn't work?

Also, your phone works no? What fiasco? Sorry not much coffee in me yet.
[Hero CDMA Q&A, Help & Troubleshooting] aiwetir:
I used unrevoked-forever.zip and I couldn't/can't figure out how to obtain the benefits of it. For instance I was totally stock and totally updated (rom, pri, prl) and unrooted and couldn't get anything to go through fastboot without rooting it using the method in my last post. Since I had to root it, I'm obviously unsure that there was any reason to go s-off except that it seemed like a good idea at the time. Therefore I don't know what I'm doing with s-off but I have it. I'm going to spend some time today trying to figure out how to benefit from s-off.

My phone works fine now, here are the steps I used

0 - create backup

1 - install the HERCIMG.zip via hboot from this post

2 - update PRL manually

3 - install install OTA_HeroC_Sprint_2.32.651.2 (thanks to jasonmaloney)

4 - reroot using this method (to root/install clockwork 3.0.0.5)

6 - restore backup

I didn't bother to make a backup of the sense rom as the nandroids never seem to work for me going back to sense, I usually have to wipe and flash a fresh sense rom go through setup and update AND I just don't see much more updating other than prl happening with this phone.

Fiasco was thinking I needed to use regaw's rooter to do this as I thought that the the 743C exploit wouldn't work on 2.32.651.2 but only 2.31.651.7 which had I actually read, I would have seen that regaw uses the 743C exploit in his rooter. The reason I thought this was because in the 743C exploit thread it doesn't seem to say it works on .7. Obviously it does. So the fiasco part was trying to get my phone to connect to a Windows7 in virtual machine on my mac. I was using virtualbox and it wasn't working so I tried vmware fusion after having to find how to make vb and vm interoperable. vmware also didn't work so I had to spend a couple of hours finding my buried xp cd and that wouldn't install for the first 3 tries, once it installed, it also didn't connect to the phone in w7 or xp. putting me back to step one. Or maybe step 0.

So.... I've got it all sorted and only have to figure out how to use s-off. :p
[Hero CDMA Q&A, Help & Troubleshooting] c00ller:
I believe the best benefit of S-OFF is you never have to root again, i.e., you can flash a recovery without rooting!

Normally you have to root first, then flash new recovery. With s-off you just make an HERCIMG.zip of the recovery you want and flash it through hboot (s-on cannot do this because the zip is not signed with HTC's keys). Then boot to recovery, then flash ROMs as usual!
[Hero CDMA Q&A, Help & Troubleshooting] vayman:
This is how I understand it as well.

@aiwetir You'll need to flash the eng-spl from darch's thread to enable fastboot. Unrevoked alone will only allow you to flash HERCIMG's from the bootloader, but only when you flash the spl will you have the benefits of fastboot. ;) My experience and YMMV but after I flashed the spl I lost the ability to flash HERCIMG's. Duce and I have been trying to figure out what the problem is, but no matter what I try I have no luck. :( FWIW though, I can flash splash1, recovery and wipe my phone using fastboot so it's not that big of an issue IMHO, but just frustrating as hell that it won't work. :mad:
[Hero CDMA Q&A, Help & Troubleshooting] aiwetir:
Thanks both of you, next I need the tutorial on creating hercimgs ;)
[Hero CDMA Q&A, Help & Troubleshooting] vayman:
No problem! From what I know though and what I learned from duce, you need an android-info.txt file and the file you want to flash (ie. recovery.img, radio.img, etc.) zip them together and name the .zip HERCIMG. But as I stated in my last post after flashing the spl I have been unable to flash a HERCIMG. YMMV
[Hero CDMA Q&A, Help & Troubleshooting] aiwetir:
Haha another case of not reading closely enough.

So I could basically zip up a nandroid with an android-info.txt and call it HERCIMG.zip and that would flash in hboot?

If I get the eng-spl then I can "fastboot flash recovery recovery.img" without root?
[Hero CDMA Q&A, Help & Troubleshooting] vayman:
Yes, if you zip up the individual files inside the nand folder along w/ an android-info.txt file that should flash in hboot.

As far as your second question goes I'm thinking that would work, but I've never tried it myself. I'm still somewhat noobish when it comes to s-off. If you do give it a shot post back your findings. :)
[Hero CDMA Q&A, Help & Troubleshooting] aiwetir:
See this is where I get stuck. I'm s-off so I can hercimg anything? If I add the eng-spl then I lose hercimg but fastboot works? Can I undo the eng-spl or is that permanent too?
[Hero CDMA Q&A, Help & Troubleshooting] vayman:
AFAIK and what I learned from duce is that you can HERCIMG any image that is created/stored by a nandroid (recovery.img, system.img, splash1.nbo, boot.img, userdata.img, cache.img, android_secure.img)

As far as losing the ability to flash HERCIMG's after flashing the eng-spl that may not happen to you. It may just be an isolated thing w/ my device. I know duce and a few others that I've talked to have had success flashing them w/ the double s-off. So that's where YMMV but yes, if you add the eng-spl that will enable fastboot.

Eng-spl can be removed by RUU whereas unrevoked is permanent AFAIK. I think they just moved on to newer gen devices w/ unrevoked and never wrote a patch for s-on. :(
[Hero CDMA Q&A, Help & Troubleshooting] aiwetir:
This doesn't help any :p :confused:
[Hero CDMA Q&A, Help & Troubleshooting] vayman:
Sorry about that man, I'm at work and it's been one of those days. :) I edited my post.
[Hero CDMA Q&A, Help & Troubleshooting] aiwetir:
Oh it was perfectly clear, but I just can't make a decision on it is all I'm saying. Maybe I'll stop messing altogether ;)
[Hero CDMA Q&A, Help & Troubleshooting] vayman:
My bad, I thought you were saying that what I said wasn't helpful. :o Like I said, one of those days. I'm kinda in the same boat as you as far as messing around, but I have fastboot working and I figure since I'm not a kernel dev/dev/themer fastboot satisfies the needs that I have. ;)

I don't know if it will be of anymore help to you or maybe you've already looked at this, but I found this thread in Q&A on creating a HERCIMG.

http://xdaforums.com/showthread.php?t=1031970
[Hero CDMA Q&A, Help & Troubleshooting] il Duce:
Yes but you would need to change data.img to userdata.img and remove the md5, stayclean and I were pming back and forth on that. He flashed a whole nand that way :) You don't need fastboot to flash a recovery, just put the .img with a android-info.txt into a HERCIMG.zip and flash that way. Unrevoked is forever, but the spl is undone by an RUU. I have flashed both and can still flash HERCs and use fastboot. I have never RUUed.

sent from a series of tubes.
[Hero CDMA Q&A, Help & Troubleshooting] aiwetir:
I apologize profusely to the OP for hijacking his thread.
[Hero CDMA Q&A, Help & Troubleshooting] wesssider:
It's all good. I'll settle for a 'thanks'. :D
[Touch Pro2, Tilt 2 Android Development] toadlife:
SOLVED: The file had Windows EOL formatting. *nix no likely that.

In the init script there are several instances of if statements like this:

testvar=1
if [ "$testvar" = "1" ] ; then
echo "Testvar is equal to one"
fi

Yet, when I put if statements exactly like this into a shell script and execute them in an adb shell (or connectbox shell), I get the following error:

line 4: syntax error: unexpected "fi" (expecting "then")

I've also taken if statements directly from init and they throw the same error.

Any busybox gurus here know what's up with this?
[Touch Pro2, Tilt 2 Android Development] Christiaan91:
Remove the ; and enter the then

testvar=1
if [ "$testvar" = "1" ]
then
echo "Testvar is equal to one"
fi
[Touch Pro2, Tilt 2 Android Development] toadlife:
Nope. Still throws the same error.

This is driving me nuts. What I'm doing is editing the /init script. The loops work just fine when executed at bootup in / init, but remounting the filesystem, editing /init and rebooting just the test a change takes forever.

For now I've got my changes to init working, but it would be nice to be able to test before editing /init
[Touch Pro2, Tilt 2 Android Development] toadlife:
I just realized that I forgot to put `#!/bin/sh` at the top of my script. But doing so doesn't seem to help. Instead I get not found error.

Weird!
[Touch Pro2, Tilt 2 Android Development] Christiaan91:
testvar=1
if [ $testvar = `1` ] (`=~ key)
then
echo "Testvar is equal to one"
fi

[/QUOTE]

It gives the echo, but also 1: not found.
[Touch Pro2, Tilt 2 Android Development] toadlife:
Here is the actual code I put into my init:

(this works)

#Super cool battery thingy
RUNSCBS=`/bin/grep -o "run.scbs=.*" /proc/cmdline | /bin/sed -e "s/.*run.scbs=//g" -e "s/ .*//g"`
if [ "$RUNSCBS" = "1" ] ; then
dev=$(cat /sys/class/scbs/0/dev | sed -e "s/:/ /g")
mknod /dev/scbs0 c $dev

scbs -d -co /sdcard/scbs.conf
fi

# Debug logs
TAKELOGS=`/bin/grep -o "take.logs=.*" /proc/cmdline | /bin/sed -e "s/.*take.logs=//g" -e "s/ .*//g"`
if [ "$TAKELOGS" = "1" ] ; then
logfiledate=`expr substr \`date -Iseconds|tr -d :|tr -d \+|tr -d \-|tr -d T\` 1 14`
tar -cz -f "$card"/debuglogs_"$logfiledate".tar.gz "$card"/debuglogs_*.txt
cat /proc/kmsg>"$card"/debuglogs_kmsg_"$logfiledate".txt &
logcat -v time >"$card"/debuglogs_logcat_time_"$logfiledate".txt &
logcat -v time -b radio>"$card"/debuglogs_logcat_time_radio_"$logfiledate".txt &
fi
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
Ooooo I really like the idea of having logging running from init. Does that work well? Do the logs ever 'loop' and you end up missing things, or do they just keep on churnin?
[Touch Pro2, Tilt 2 Android Development] toadlife:
AFAIK, they go forever. I started doing it last night by just putting the static command in the /init and the logging was still going when I got up this morning.

This morning wanted to see if I could make logging and scbs triggerable by an option in the command line.

Both are working for me now.
[Touch Pro2, Tilt 2 Android Development] Christiaan91:
Know if where talking about scripts, i have a question too.

This is my RIL logs script:

#! /system/bin/sh
i="0"
while [ $i -lt 2 ]
do
date=`date +%Y%m%d%H%M`
if [ -d /sdcard/logs/ril/$date/ ]
then
echo "/sdcard/logs/ril/$date/ exists!"
else
mkdir /sdcard/logs/ril/$date/
echo " Made direction /sdcard/logs/ril/$date!"
fi
logcat -v time > /sdcard/logs/ril/$date/logcat-time.txt &
logcat -v time -b radio > /sdcard/logs/ril/$date/logcat-time.txt &
sleep 18000 && kill -0 $! && kill $!
cd /sdcard/logs/ril/
tar -czf ril$date.tar.gz $date
rm -r $date
cd /
done

The thing, i believe, is that only the logcat -v time -b radio is killed and when it's sleeping it's not doing that in the background.

Sleeping for 18000 seconds (5h), because if it's running for a day the logcat log will be more than 10 mb or so.
[Touch Pro2, Tilt 2 Android Development] toadlife:
lol.

Your date string...

date +%Y%m%d%H%M

...is a bit simpler than mine...

expr substr `date -Iseconds|tr -d :|tr -d \+|tr -d \-|tr -d T` 1 14

(I couldn't figure out the `date` syntax)
[Touch Pro2, Tilt 2 Android Development] Entropy512:
Hmm. I haven't set up gscript myself yet, but you might need to nohup the logcats to get them to stay once gscript shuts down.
[Touch Pro2, Tilt 2 Android Development] toadlife:
I have found one issue. It's seems that whenever scbs runs, locat fails to open the log devices. I just disabled scbs and logcat worked. I'm going to try swapping the code around so scbs runs after the logging starts.
[Touch Pro2, Tilt 2 Android Development] toadlife:
It seems scbs blows up logcat, even when it is triggered after logging starts. Ughhh.
[Touch Pro2, Tilt 2 Android Development] Christiaan91:
logcat will be going, even when you close the terminal, but when you deleted the files they stop. So that's not a problem, cuz i won't delete.

BTW: is it possible to silently run scripts? Like this one?

./pathtoscript1 & ./pathtoscript2 & ./pathtoscript3
[Touch Pro2, Tilt 2 Android Development] Entropy512:
What do you mean "silently run" - do you mean disable any printing to stdout?

./pathtoscript1 &>/dev/null & ; ./pathtoscript2 &>/dev/null &

should do the trick The &>/dev/null routes all output to /dev/null
[Touch Pro2, Tilt 2 Android Development] highlandsun:
Man, you guys go way overboard on this stuff. This is my gscript logging script.

cd /sdcard
mv logg.txt logg.0.txt
mv logr.txt logr.0.txt
nohup logcat -v time > logg.txt &
nohup logcat -v time -b radio > logr.txt &
nohup klogd > klog.txt
[Touch Pro2, Tilt 2 Android Development] toadlife:
Yeah, well we don't all have kung-fu coding ablities like you, so we go overboard with what we can overboard with. :)

Besides, I think it might be beneficial to put something like the code I wrote into the official init, so noobs can more easily provide debug logs.
[Touch Pro2, Tilt 2 Android Development] Starfox:
One thing to keep in mind, busybox = /bin/sh, statically compiled sh is /system/bin/sh. I got tired of not having arrow key support whenever I su'ed (since /bin/su spawns a root /system/bin/sh regardless of what's in /etc/passwd) so I bind mounted /bin/sh (which is a symlink to busybox) over the one in /system in my user.conf. I haven't come across any ill effect, but if you feel that the shell difference may be causing issues, you could try that route, since it's very easy to undo.

-- Starfox
[Touch Pro2, Tilt 2 Android Development] toadlife:
Thanks for the tip. I'll give that a shot.
[Touch Pro2, Tilt 2 Android Development] toadlife:
LOL. I'm an idiot

Figured out what the problem was. The file had Windows EOL formatting.

That's what I get for using Windows to edit shell scripts. :P
[Touch Pro2, Tilt 2 Android Development] helicopter88:
Naah,you aren't an idiot,took me 2 days to figure the cause of failed to execute init..

****ty windows
[Touch Pro2, Tilt 2 Android Development] hillz:
This is driving me nuts too, thanks mate :D
[Galaxy 3 General] Tianhe:
This is my journey from Eclair to Froyo - read only if you have ample time. You have been warned ! :)

I had never tried even rooting my Galaxy I5801 so I was a bit hesitant to upgrade my DDJG6 Eclair to DDJP2 FROYO even via Kies. After some days of the official release I finally plugged my phone to update. But alas, Kies constantly showed "operation timed out" (poor connectivity ?) and I was left with no other choice but Odin

DAY 1:

Downloaded the flashing package and the relevant firmware, connected and fired up Odin as per the tutorial. Loaded the packages and started the process with a prayer on my lips. The first boot nearly gave me a panic attack but the tutorial did calm me down and voila ! I had successfully flashed Froyo. Thereafter I also loaded my backed up contacts & memo data through Kies sync.

DAY 2:

I was happy with my effort and started explorin the possibilities of FROYO including app2sd. All fine until I decided to install a flashlite plugin later that day. The system starting freezin so I rebooted. The problem recurred and I again rebooted. This my boot screen got stuck on the "GTI5801 - Samsung" screen. I knew I was screwed but since I could access download / recovery mode (even though wipe data or cache didnt work) I knew it was only a "soft brick"

Day 3:

Geared up to reflash my phone through Odin. This time I took some unusual steps - removed bootloader & sbl and extracted dats.rfs from DDJG6 & added it to DDJP2 tar package. Flashing was succesful and I had started to sort of like the entire process.

Day 4:

Was disappointed with the improper implementation of swype so I decided to install swype beta. Root, delete, register and install - simple ? That's what everybody says.... Downloaded superoneclick, enabled USB debugging and rooted (Z4root didnt work). Now the delete process was tricky. Couldnt make sense of titanium backup so tried another method. Since root explored is paid app and terminal emulator is beyond my scope, installed super manager from market. Gave superuser permission and started deleting relevant swype files - I think it was 2 from /system/app, 1 from /system/lib and 1 from /data/data. Registered for swype beta and downloaded it as advised on the website. I write this post with swype beta.

Everything is working fine now - almost !

PROS - learnt flashing, knew the benefits of rooting, now can manage my apps and memory a bit better

CONS - My music player is screwed. For that matter, any music player I have downloaded and tried is having the same problem. The player doesnt play some music files, skips it or even if forced to play remains mute although the music play status bar moves. I checked the file properties and played them on PC. They are either Mp3 or M4a. Do I need to reinstall the music player coz it sounds like its become corrupted ? But then it plays some tracks flawlessly

I am in debt to XDA Galaxy 3 forum members and rudolf in particular for helping me out at crucial junctures. Now if only I could solve this problem !
[Galaxy 3 General] stubborn_d0nkey:
jg6 is an eclair rom right? That could be causing problems, mizing eclair and froyo.

Did you do a factory reset after flashing (I suspect you did if you followed a tutorial).

Also, removing boot and spl is not unusal, it is HIGHLY RECOMMENDED, always do it! (this is mostly for other people reading this thread)
[Galaxy 3 General] kyrillos13:
Nice story... Waiting for day 5+ :)
[Galaxy 3 General] Tianhe:
@stubborn - yup, i did a reset but the music player problem persists. I included the data.rfs file from eclair to froyo coz I was somehow convinced that its absence in the DDJP2 had causes my system to freeze the first time

@kyrillos - Day 5+ testing isnt exactly detailed. The only thing I noticed is that the battery drain was more than DDJG6 eclair or maybe its the battery bug acting whimsically (as it usually does). Havn't modified or tested the GPS so no comments. Installed Gingerbread keyboard but not exactly to my taste. Still using a combo of swype and regular tap.

BTW - ur ROMS are damn good judging by the features, performance feedbacks and screenshots. However, It will take me another leap of faith to flash one of those since the complexity involved is beyond my current level of expertise (or rather the lack of it !)

Any ideas / tutorials on deleting the stock music player app and reinstalling it (with apk files, if possible) ?
[Palm Treo 750] gmend:
Hi everybody it's been few months right now that I'm having problems with my treo 750; the device it's sluggish and does often freeze; yesterday, casually surfing in the net, I've seen the exsitance of roms that u can upgrade on the treo 750 device, I've been an entire night trying to figure out how to do that, I've read that the 6.1 rom work faster and fawlessy on the treo, and I will like to now how to upgrade my phone "on the hair" with that rom; I don't have my laptop with me and I will like to kno all the steps I need to follow in order to have everything done successfully and I need to do that without the use of the pc, just by phone.. It is possible to do so? If it is someone can please show me the best way to do that? I need to find everything on a cab, for example need to find a cab of the cheetahunlocker (cuz I really think that my phone it is locked) plus, my phone is in spanish and I hopefully think that, once upgraded a english wm6.1 rom, it will be in english without any issues. My phone it's a treo 750 cingular (if this matter) please I really need somebody help me sort this thing out. Anticipate thanks.