yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] dagnasty:
You will need to mount the file system with write privileges:

mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
[Hero CDMA Android Development] redram38:
Can you please tell me the steps and commands I use to push back a app
[Hero CDMA Android Development] herzzreh:
Ugh... This is exactly what I did, except for doing OTA update (though ROM already comes with it), and I don't see it. I didn't see anything that resembles it in App Manager either. Can you send me the file so I can try pushing it to the device?
[Hero CDMA Android Development] redram38:
When I do this I first do adb shell then su to get the #

I then do

mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

then type

push C:\directory filename.apk /system/app

I get push not found

If I start off wioth adb push it tells me adb not found
[Hero CDMA Android Development] jonnythan:
Has anyone been able to install apps with Fresh 0.4 or 0.2b + MR?
[Hero CDMA Android Development] jonnythan:
Push is part of the ADB command which must be run from the Windows prompt, not the phone linux prompt.

Don't do the mount -o remount thing. That's not what you want. From the Tools folder do:

adb remount

adb push c:\directory\SystemApp.apk /system/app

And then reboot the phone. That should work. Obviously replace "c:\directory\SystemApp.apk" with the actual full filename of the APK you want to install.
[Hero CDMA Android Development] herzzreh:
Hmm... weird. Can someone explain?

$ ./adb remount
remount failed: Operation not permitted

but

mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

works fine.

Also, when I try to push files, I get permission denied.

PS Yes, I did root the phone. Yes, I can delete stuff from /system/app
[Hero CDMA Android Development] gqukyo:
I'm getting the remount failed error also...
[Hero CDMA Android Development] antbarney:
SU Permissions

I Just noticed after doing a complete Wipe and Clean install of Fresh 0.4 that when running any app that requires root access does I do not get prompted by the SuperUser Permissions app to Allow or Deny and the apps are working correctly like Wifi Teather works properly without ever giveing it access. :confused:
[Hero CDMA Android Development] crake001:
Went from stock after factory reset, flashed fresh .4, then just finished adding sprint tv and voice recorder back by changing chmod to 777 then back to 755, but now I'm getting 100% wake time again. To clarify, I had all my apps loaded and it was still sleeping after adding Sprint TV and Voice recorder, 100% awake again. grrrrr....
[Hero CDMA Android Development] herzzreh:
I did the same thing and can confirm that my phone does the same thing.
[Hero CDMA Android Development] washjayb:
sorry for being vague. I lcopied the htctwitter.apk and .odex files from the removed apps zip to the sdk tools directory and used:

Adb remount

adb push c:\androidsdk\tools\htctwitter.apk \system\app

i get the error

failed to copy' c:\androidsdk\tools\htctwitter.apk to \system\app': read only file system

Where am i going wrong?
[Hero CDMA Android Development] x99percent:
For me, it's the fact the "adb remount" isn't working. I get "remount failed: Operation not permitted". If the remount doesn't happen, then the push *will* fail.

Even in a su shell, I can't cp (doesn't exist) or mv (failed... cross-device link) the files.
[Hero CDMA Android Development] zaquaz:
Sign in to google talk. It will start the downloads ... I promise, it works.
[Hero CDMA Android Development] herzzreh:
ok... Fresh install = no awake time

Anything pushed to the phone = 100% awake
[Hero CDMA Android Development] lorsoblu:
All right. Concerning the missing voice mail icon, I just booted back into recovery and did a full wipe from there, then rebooted the phone. Once it did the whole set up process again the icon came back.

However, I am also missing wireless tether entirely! Are the people who see wireless tether those that are coming from Modaco? In other words, is it already on the phone and when you flash 0.4 and it just continues to hang out?
[Hero CDMA Android Development] srkmagnus:
Good to see the thread of the first ROM I loaded after rooting come back to life after a year :) Flipz should update the ROM for laughs. lol
[Hero CDMA Android Development] :
/sigh. More thread necro. I wish threads would autolock themselves after a few months of inactivity.
[Hero CDMA Android Development] tango22203:
you can dl the wireless tether from your phone by going to google and search..

but there if your wish to dl from here.

http://android-wifi-tether.googlecode.com/files/wireless_tether_1_61-pre1_htc.apk
[Hero CDMA Android Development] jonnythan:
Weird. Works great for me, but I'm using Windows. I don't know why you would have that problem.
[Hero CDMA Android Development] jonnythan:
No dice, I'm afraid..
[Hero CDMA Android Development] Stevious:
OK, guys. I figured out the problem. The Peep icon came back after

rm -r *witt* from /data/boot-cache/, /data/dalvik-cache/ and for good measure, /data/data/ directories. Rebooted and Peep icon is back.

If you're inexperienced with the command line, be very careful with rm -r. Don't go deleting important files/directories, now!

Thanks again for the awesome ROM.
[Hero CDMA Android Development] Stevious:
Well, not sure about adb remount. Are you able to push if you first run adb shell, su to become root, then:

mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

?
[Hero CDMA Android Development] Negrito:
Okay, I am currently on fresh .1 what are the proper steps to get to fresh .4 so I still have root, and get the update in there? I tried to go straight to fresh .4 but run into force closes and had to revert to my Nandroid backup.
[Hero CDMA Android Development] jonnythan:
Does version 0.4 not have AppsToSD?

I restored the original ROM, ran the Sprint update, then applied Fresh 0.4. No AppsToSD. My ext2 partition is still there with the apps on it.

And no cp command? What the heck? I can't even copy stuff to make backups?

Appreciate the ROM, Fresh, but I think this iteration is slightly lacking.
[Hero CDMA Android Development] N0J:
How did you unlock /system/media/bootscreen to modify the boot files?

Anyway I can add busybox?
[Hero CDMA Android Development] CADroid:
Loading ROM from reboot recovery

Hi all. I am a noob but have found these forums to be EXTREMELY helpful in rooting my Hero.

1) i originally had Modaco ROM loaded but RUUd in order to load this ROM with the nifty Sprint updates and to have the Sprint apps removed

2) i've loaded this ROM (in .zip form) to sd root but when i go to reboot recovery screen, under apply sd card: choose.zip, nothing shows up but a blank green line

3) im on build 1.29 on recovery-RA-heroc-v1.2.3.img

Please assist if possible. Thank you in advance!
[Hero CDMA Android Development] elguapo76:
Is there any way you can make a separate ROM with the apps that were removed included? It would be very much appreciated! I'm having a really hard time pushing them to the phone.
[Hero CDMA Android Development] N0J:
if busybox was added more common commands would work with root.

I'm stuck right now, having trouble copying files
[Hero CDMA Android Development] gti337:
Just flashed to .4 from a stock rooted firmware. Looking at the phone info in the settings, it still shows the software version as 1.56. Is that normal?
[Hero CDMA Android Development] jonnythan:
Considering it was 1.29 before, yes that's normal ;)
[Hero CDMA Android Development] trentonmac:
Great ROM!

Works great for me as this was my first android ROM after making my own MurdaROM's for the touch pro.
[Hero CDMA Android Development] gti337:
Doh! Stupid mistake on my part:o
[Hero CDMA Android Development] herzzreh:
ok... My awake issue was being caused by Weatherbug. Even with stock rom, it keeps the phone awake at random times. There is no rhyme or reason when it does it. It didn't do this prior to the patch.
[Hero CDMA Android Development] davidboyd:
Fresh, I just loaded your .4 ROM with the Sprint MR. I had to wipe the data from the recovery image, then load your ROM. Works great. Thanks for your efforts.

I tried to load your other update on top of this one and the phone wouldn't fully boot afterwards. Went from HTC logo to black screen. The second update was the one with the boot animations, transitions and lock screen. Do you know of any conflicts loading the second update over the .4 ROM?

FYI, I just reloaded your .4 ROM to get the phone to boot again. I really liked your transitions and lock screen though. Any ideas on loading it back on .4?
[Hero CDMA Android Development] redcloud:
I get the same error with this ROM. Any ideas? I would like to put one or two of the sprint apps back on.

Regards-
[Hero CDMA Android Development] diesel556:
Adb remount is not the only way to mount /system rw

Do it from the shell as SU, either with adb shell or from the device using a terminal application.

mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

Then go back and try your adb push.
[Hero CDMA Android Development] athlet1c:
Also if you had the MoDaco rom installed prior to that , it could be the culprit
[Hero CDMA Android Development] yellowbean:
I'll quote an earlier post on this thread that might not be easy to find for people trying to reload some stock apps. If adb remount isn't working, you must go into the shell, su, and remount that way. BUT you also have to temporarily change permissions on /system and /system/app. This worked for me.
[Hero CDMA Android Development] Moguledyouth:
I just wanted to let you know that I was running a Rooted Stock Sprint Rom and Fresh Rom 0.4 worked FLAWLESSLY! Thank you SO MUCH, The only issue I did have was the chmod issue when trying to add some of the removed apps and that was answered right here in the forum for me so I am golden.

Thanks again for all your hard work.
[Hero CDMA Android Development] flipzmode:
Resolving some issues

Are you having a problem with the voicemail icon not showing up? Please try this and let me know if it works by responding to this thread. Send me a PM will also help to say yes or no about it working for voicemail icon.

1. Boot to recovery (black and green screen)

2. Open command prompt and type: adb shell

3. Type: mount /data

4: Type: rm -rf /data/boot-cache

5. If you get an error about sh: getcwd just ignore it. Reboot your phone. It will take a little longer than normal to boot up.

Are you having problems pushing apps back to the phone / problems with remount / folder permission errors?

First off make sure you are using the new 1.56 apk's and not old ones. http://bit.ly/3Edzb8

1. Boot to recovery (black and green screen)

2. Open command prompt and type: adb shell mount /system

3. Type: adb push c:\folder\folder\file.apk /system/app

4. Reboot phone. If you have any issues with the icon not showing up then you may also need to do the fix above this one.

I am going to add these to post #2 in this thread. PLEASE respond back (or PM me) and confirm for me that they work! Thanks.
[Hero CDMA Android Development] jonnythan:
I'm clearly missing something.

I installed the stock ROM, then updated, then formatted my SD card's EXT2 partition, then installed Fresh 0.4.

My /data/app directory is not on the SD card.

What am I doing wrong?
[Hero CDMA Android Development] flipzmode:
Apps2sd might not be (or I should say isn't) 100% working on this version. I don't use it myself and I have been looking in to other issues first.
[Hero CDMA Android Development] jonnythan:
OK, fair enough.

Can you tell me how I can move/copy my apps back? I backed up the entire /data directory from before I wiped. I can't push to /data/app because of a permission denied error, cp is not found, and "mv /sdcard/backup/app/* /data/app/" results in a "cross device link" error.

Thanks!
[Hero CDMA Android Development] flipzmode:
The cross-device link is normal when trying to move things from one place on the phone to another. I have tried researching why/what it means but haven't found out why. You have two options. Move it to /sdcard and then to /data/app (that should work, let me know) or pull it down to your computer first and then push it back to the phone using the instructions I put up a few posts up (or on post 2) to push a file or folder to the phone.
[Hero CDMA Android Development] jonnythan:
I tried to follow the instructions for pushing, but I can't push when the phone is booted because of a permissions error, and the /data partition doesn't seem to be mounted in the recovery partition. I might be able to manually mount it, I'll try that.

Thanks again.
[Hero CDMA Android Development] flipzmode:
Yea you need to do: adb shell mount /data :)

I'm working on fresh 0.5. I have adb remount working. Testing out apps2sd right now. So I encourage you to continue doing what you are doing for learning purposes, but don't kill yourself or get frustrated doing it. Hehe. Fixes coming!
[Hero CDMA Android Development] jonnythan:
ADB has all sorts of handy commands I didn't know about.

My actual frustration was coming from broken things ;) MoDaCo 1.1 -> 0.2b -> MR wasn't quite working properly. Installing the MR made Google stop working. Changes I made on the handset never got to gmail servers (sending, deleting, etc), Market apps wouldn't download, yadda yadda. Couldn't fix it so now I'm trying stock -> 0.4 and seeing if I can satisfactorily restore my apps and data. Seems to have worked OK.

I basically backed up the app, app-private, and data (/data/data) directories from my Frankenrom. Then did a fresh install, updated to 0.4, and pushed back the app and app-private directories using your method and a few of the data directories I wanted to keep. Seems to be working great after reinstalling an app or two that force-closed on me.

Thanks for all your hard work here. Seriously appreciated, and I'm looking forward to 0.5. I'm not even sure if I necessarily want AppsToSD back. I've actually got lots of internal memory after I got rid of those core dumps from /data/btips.

edit: Perhaps I spoke too soon. The apps I've pushed back don't appear in the Market. Must research.
[Hero CDMA Android Development] cmccracken:
Anyone know where I can find the update.zip to bump a rooted stock ROM to the MR bits? I found a few threads on xda-developers that referenced this thread, but I can't find a link in this thread. I can't use the OTA update since I have the nandroid recovery image, and I'd rather not reflash the whole phone back to stock. Loading the update.zip from nandroid seems like the way to go, if I can find the file.
[Hero CDMA Android Development] dom2114:
Fresh Bluetooth Issue Confirmed - Prevents Media Being played throgh B/T Speakers

OK, so Ive just confirmed that the Fresh 0.4 ROM has an issue with playing media through bluetooth speakers, and Sprint/HTC are 100% NOT responsible for it.

Originally, I restored back to my original Sprint ROM, updated to Fresh 0.4, and all worked perfectly; except for the fact that I was unable to play any media whatsoever through bluetooth speakers (making and receiving phone calls worked fine and all bluetooth ROM leak issues were fixed). What was weird was that the music app and podcast app i was using (BeyondPod) showed that they were playing, but they looked as if they were playing in fast forward i.e. for every second that past, 4 seconds of the song/podcast were played according to the app. NB: The phone and the speakers showed that the link was established perfectly (for whatever thats worth)

I then decided to go back to when I first got the Hero i.e. use the Sprint RUU to unroot and got back to original ROM. Then did the OTA MR.

Playing media through the speakers worked 100% perfectly.

So bottom line, something has been changed/removed in the Fresh ROM that messes up media via bluetooth.

I havent come across anyone else talking about this, but any additional info would be great.

All the best.
[Hero CDMA Android Development] flipzmode:
Thanks for the info. With fresh rom I have done little to actually modify/tweak the OS so much as just clean it up. I didn't want this to be a hacked up rom that has issues. So there isn't any real reason that it shouldn't work because I haven't removed anything audio. I don't even have bluetooth speakers to test with but I'll see what I can figure out for you.
[Hero CDMA Android Development] redram38:
Nothing works for me, esp from the tools dir. I can get the long remount to take inside the adb shell but have yet to be able to pull a file to the computer
[Hero CDMA Android Development] Negrito:
I have stereo bluetooth headphones. Whats the best way to get from Fresh.01 to Fresh.04 and i will confirm or deny, and even test if you need.
[Hero CDMA Android Development] flipzmode:
Just to update everyone on fresh 0.5 (not released yet)

- Fixed adb remount

- Fixed coming from Modaco to fresh issues (boot loops and force closes)

- Testing apps2sd right now. So far so good.

Things are looking good. The fixes required me to do a couple of things in command line before it would work, but I'm working on integrating those in to the install script so you don't have to do that.
[Hero CDMA Android Development] Negrito:
Sounds good, and Thanks again for all your hard work! :D
[Hero CDMA Android Development] flipzmode:
No problem. :) And just avoid fresh 0.4 for now. This fix coming out should fix all the problems people are having with updating.

Edit: Testers needed for 0.5. PM me please! I need people who are stock (rooted), people who are on modaco, and people who are on fresh of any version. Please PM me which one of those you fit in, and if you are using apps2sd. I also need you to be here and ready to test about 45 minutes from now because that's when it will be ready. Thanks!
[Hero CDMA Android Development] elguapo76:
I can confirm Dom2114's problem with Bluetooth. I have the exact same behavior fast ticker for audio and no sound output.
[Hero CDMA Android Development] atoy74:
Confirmed as well. Just tested on my Ford Sync and Motorola S9-HDs...neither are working (same behavior as stated above.)

This is a major issue for me.
[Hero CDMA Android Development] flaav8r:
This new ROM is great. Thank you for it. I am having trouble getting the voice recorder back on my phone. I downloaded the apps package, but when I try to push them back to the phone, I get permission denied. What am I doing wrong. Thank you for yor help.
[Hero CDMA Android Development] TurboZinc:
I wasn't able to push the files to /system/app either. I ended up being able to push them to /system/app/ap though. (i created /system/app/ap when deleting the stock apps. I was able to move and test and then delete that folder when everything worked)

After the files were pushed to /system/app/ap i moved the files using

ADB Shell

$ su

# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

# mv /system/app/ap/* /system/app/

Probably not the easiest or best way to do it, but it worked for me.
[Hero CDMA Android Development] TurboZinc:
Is there a reason Java was included with the Rom? Is it needed or used for anything?
[Hero CDMA Android Development] Kamar234:
I'm having an issue with this rom where my hero isn't receiving calls or texts. Today, randomly, I received tons of texts and calls from yesterday at the same time, and ever since then, radio silence. Definitely think something is up with the rom.
[Hero CDMA Android Development] Kamar234:
Actually, just did some more research and it looks like this is an issue with Sprint itself. I just switched to the Hero on Sprint for Android, and it looks like I may be going to Verizon for with the Droid. I refuse to deal with subpar service for things as basic as text messaging.
[Hero CDMA Android Development] diesel556:
I believe that text messages queue on the server if the device is unreachable. The same thing would happen if you went out of range on the Verizon network.

Unless you have a legitimate bug with the service.
[Hero CDMA Android Development] Kamar234:
Yeah, It's the strangest thing that I have ever seen. I randomly get texts and voicemails that were sent days ago. I send a text to myself and instead I get a text that someone sent me yesterday instead. Well enough hijacking this thread, I love your Freash rom, keep up the good work.
[Hero CDMA Android Development] elguapo76:
Make sure you have your network set to hybrid. For some reason I had mine set to EVDO only and missed various texts and voicemails. This may have been my oversight or the ROM changing settings, not sure.
[Hero CDMA Android Development] flaav8r:
Thanks, I'll give it a try.
[Hero CDMA Android Development] diesel556:
Interesting. You might try asking Sprint to reprovision your account or w/e.
[Hero CDMA Android Development] frostrunner:
I have the SAME issue... Please please address this issue for 0.5. I do love your rom very much
[Hero CDMA Android Development] tkirton:
It's not an issue with the ROM. The upgrade stock ROM is haivng the same issue.

The issue is the Google DRM. Signature for the new stock ROM was not setup. This is strictly a Google issue.

I think HTC is working on the issue (although some people have commented on the intelligence level of the people at HTC they were talking to). If not HTC, guarantee Sprint is (angry customer base is a great motivator to get something done).
[Hero CDMA Android Development] tkirton:
Fresh and the Gutted ROM both have the same issue. I think while they were optimizing the ROM, both may have messed with the Bluetooth.

I put both in my phone (did also a factory wipe just in case it was something else causing it). Audio over bluetooth didn't work and my music app was playing at somewhere between 3 and 4 times the amount. Streaming media was constantly rebuffering.

Updated ROM
[Hero CDMA Android Development] pitmanr2003:
Can you provide a link to this rom with out the sprint update. cant stand that i cant see all apps in market.
[Hero CDMA Android Development] diesel556:
Have you guys tried using Bluetooth audio on the stock rom after applying the MR?
[Hero CDMA Android Development] dom2114:
Yes...it works perfectly
[Hero CDMA Android Development] washjayb:
Ive been using .4 since 11/19. Only issue has been pushing system apps back to the device. Ive gotten it worked out.

Can anyone help with missing widgets. I pushed HTCTwitter.apk and HtcTwitter.odex back to system/app but am still missing the widget after multiple reboots. I have confimed that the file is in the directory but still unable to add the widget. Any Ideas?
[Hero CDMA Android Development] imb951:
I am unable to flash this rom on my rooted Hero from the recovery image. I am getting "Verification Failed" and the install aborts. I searched the thread and no one else has this issue.

What am I doing wrong?
[Hero CDMA Android Development] david279:
You didn't unzip the folder right? That will mess it up. My mac likes to unzip things and i had that prob.
[Hero CDMA Android Development] imb951:
No, the folder is still zipped up and is in the root of the SD card :confused:
[Hero CDMA Android Development] flipzmode:
Edit: Update released. Testers no longer needed for now.
[Hero CDMA Android Development] N0J:
dl'ing now..
[Hero CDMA Android Development] flipzmode:
The install is going to fail. My upload appears to be corrupted cause I just tested it. About to re-up. Sorry about that.
[Hero CDMA Android Development] watzone69:
I bought some bluetooth stereo headphones tonight but they have to charge for 8 friggin hours. If they get charged before I fall asleep then I will test them out on Fresh 0.5d.

Great work BTW!:D
[Hero CDMA Android Development] urinsane:
Just wanted to say thanks for the roms. I haven't noticed any problems with .4 but downloading .5 now.
[Hero CDMA Android Development] flipzmode:
Re-upping 0.5d because my upload was corrupted. Do me a favor and test those on 0.5c (to anyone wondering where 0.5c is, only beta testers got it) if you can. If it's going to work at all then I think it will be on that one.
[Hero CDMA Android Development] watzone69:
Yep, I got "Installation aborted" during the flash. Standing by...

EDIT: I mean, I got the error flashing 0.5d. I'll test the BT headphones on both versions and let you know what happens.
[Hero CDMA Android Development] flipzmode:
Ok, download links are back. Time for me to pass out!