CDMA Hero rooted

Noj

Well-known member
Nov 12, 2009
81
7
0
Visit site
update: I put in a copy command, but recieved and error cp: Not Found
Is cp not in the shell?

ex: cp /data/local/boot.gif /system/media/bootscreen
 

Jerry Hildenbrand

Space Cowboy
Staff member
Oct 11, 2009
5,569
2,797
113
Visit site
First of all, many many thanks gbhil!!
Your walkthroughs are excellent!

Question :
I want to replace my bootscreen files, but the folder and files are read only.
I am rooted and have verified it via Terminal, but how can I go about replacing the files?

Path to bootscreen files: data\system\media\bootscreen

I already have a new .gif ready to swap and test.
Any help is much appreciated!!
Your certainly welcome. We're all here to share and learn, and I happily do whatever I can.

"mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system"
without the quotes of course. This will remount the system as RW for root. Please be sure to share your findings.



update: I put in a copy command, but recieved and error cp: Not Found
Is cp not in the shell?

ex: cp /data/local/boot.gif /system/media/bootscreen
cp isn't in the shell. You'll need busybox, or push/pull through the adb shell. Mocado's rom has busybox in the shell, and is eaiser to setup than trying to track down busybox (that works) and getting it installed.
 

Noj

Well-known member
Nov 12, 2009
81
7
0
Visit site
Your certainly welcome. We're all here to share and learn, and I happily do whatever I can.

"mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system"
without the quotes of course. This will remount the system as RW for root. Please be sure to share your findings.

Thanks, I'll give that a shot.
Should I go through Terminal or adb?
 

Noj

Well-known member
Nov 12, 2009
81
7
0
Visit site
(via terminal)
cmd seem'd to take (nothing returned), tried to delete or override one of the files within bootscreen and it said it could not.

Think I should try to copy or push through terminal while in su?
I need help with the cmd if so, I'm not real familiar with linux
 

Jerry Hildenbrand

Space Cowboy
Staff member
Oct 11, 2009
5,569
2,797
113
Visit site
If you havent yet, load the RA recovery so you can run a complete backup. Not sure what will happen if your ani is a different size or format than the original. Be prepared for a boot loop :)

Reboot your phone, to make sure everything is mounted right.
Using your term emulator:

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

Using the term on device (or a file manager..sometimes they are handy) make a backup of
/system/media/bootscreen/
Delete /system/media/bootscreen/sprint.gif
Code:
mkdir /sdcard/boot_back/
cp /system/media/bootscreen/*.*  /sdcard/boot_back/
rm /system/media/bootscreen/sprint.gif

*edit
remembered you don't have busybox. Use a gui file browser and back the directory up somewhere.


reboot phone again.

name the new animation sprint.gif, and copy it to the tools dir in the sdk.
plug in the phone
open a console, navigate to your SDK/tools dir and:
Code:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
push sprint.gif /system/media/bootscreen/sprint.gif

and reboot. Let us all know what happens!
 

Noj

Well-known member
Nov 12, 2009
81
7
0
Visit site
sorry for the noob question, but how do I get and backup with RA recovery?

To start, I'm going to replace boot.gif. I just personalized it and kept everything else intact. The animation is the exact frame and length as the other, infact mine is a 1/3 the file size so it will probably load quicker.
 

Noj

Well-known member
Nov 12, 2009
81
7
0
Visit site
one thing, I've already ran 'mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system' and have not been able to delete any of the files. going to try again tho..
 

Jerry Hildenbrand

Space Cowboy
Staff member
Oct 11, 2009
5,569
2,797
113
Visit site
sorry for the noob question, but how do I get and backup with RA recovery?

To start, I'm going to replace boot.gif. I just personalized it and kept everything else intact. The animation is the exact frame and length as the other, infact mine is a 1/3 the file size so it will probably load quicker.
Don't be sorry man. We are all here to learn and share. You can flash the RA and backup by doing this:

Download
http://www.androidspin.com/downloads...roc-v1.2.3.img
and place it in your /AndroidSDK/tools directory.

Open the console in the AndroidSDK/tools dir and type:
Code:
adb shell
push recovery-RA-heroc-v1.2.3.img /sdcard/
then type:
Code:
su
flash_image recovery /sdcard/recovery-RA-heroc-v1.2.3.img


When it's all done type:
Code:
reboot recovery


The phone will reboot and you'll see the recovery screen. Use your trackball and select nandroid backup. Execute it by clicking the trackball.

When its done, from the adb shell:
Code:
exit
exit
reboot the phone from the recovery console. Plug it in to your PC and copy the nandroid directory from the sd card to your PC to keep it safe. This is your ticket to get back where you are fight now.

After it's installed, anythime you need to get to the recovery console
power off phone
Press and hold home button
press and release power button, but continue holding home.
You'll boot into the recovery console.
 

Jerry Hildenbrand

Space Cowboy
Staff member
Oct 11, 2009
5,569
2,797
113
Visit site
one thing, I've already ran 'mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system' and have not been able to delete any of the files. going to try again tho..

Might not be able to do it from the term on device, as most of the standard toolchain isn't there. Try it as root from adb shell.
 

Noj

Well-known member
Nov 12, 2009
81
7
0
Visit site
backup was successfull, many thanks for that!
now onto the next part

What would the cmd be to delete '/system/media/bootscreen/sprint.gif' from adb?
 

Noj

Well-known member
Nov 12, 2009
81
7
0
Visit site
adb shell
$ su
su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
# push boot.gif /system/media/bootscreen/boot.gif
push boot.gif /system/media/bootscreen/boot.gif
push: not found
#
 

supermanly

Member
Nov 7, 2009
14
1
0
Visit site
Got the Modaco rom to work as well after doing a Nandroid Backup, but I still can't get wireless tether to play nice with my DS. I set the SSID and WEP Key on the phone and entered that on the DS but it still doesn't want to connect. Are there any settings on the wireless tether that prevent something like a DS from not connecting?
 

Noj

Well-known member
Nov 12, 2009
81
7
0
Visit site
ok, got the file deleted through adb.
push does not work within su, now I just need to get my file in there.

maybe I'll try doing the whole directory
 

Noj

Well-known member
Nov 12, 2009
81
7
0
Visit site
I was able to delete the entire bootscreen directory, but I still can't add anything back in
I'm afraid to restart, lol, then again I'm curious...

su
# rm -r /system/media/bootscreen
rm -r /system/media/bootscreen
# /data/local /system/media
/data/local /system/media
/data/local: permission denied
 

Jerry Hildenbrand

Space Cowboy
Staff member
Oct 11, 2009
5,569
2,797
113
Visit site
Hmm try
adb push boot.gif /system/media/bootscreen/boot.gif

But I think you're going to have to rename it sprint.gif or edit the xml file.
 

Jerry Hildenbrand

Space Cowboy
Staff member
Oct 11, 2009
5,569
2,797
113
Visit site
Got the Modaco rom to work as well after doing a Nandroid Backup, but I still can't get wireless tether to play nice with my DS. I set the SSID and WEP Key on the phone and entered that on the DS but it still doesn't want to connect. Are there any settings on the wireless tether that prevent something like a DS from not connecting?

Does the DS connect if you leave it open? Tells you if it's a software error or a settings error..well sort of. First thing I'd try
 

Noj

Well-known member
Nov 12, 2009
81
7
0
Visit site
Hmm try
adb push boot.gif /system/media/bootscreen/boot.gif

But I think you're going to have to rename it sprint.gif or edit the xml file.

C:\Android\android-sdk-windows\tools>adb shell
$ adb push boot.gif /system/media/bootscreen/boot.gif
adb push boot.gif /system/media/bootscreen/boot.gif
adb: permission denied
$ su
su
# adb push boot.gif /system/media/bootscreen/boot.gif
adb push boot.gif /system/media/bootscreen/boot.gif
adb: not found
# boot.gif /system/media/bootscreen/boot.gif
boot.gif /system/media/bootscreen/boot.gif
boot.gif: not found
# /data/local/sprint.gif /system/media.bootscreen
/data/local/sprint.gif /system/media.bootscreen
/data/local/sprint.gif: permission denied
# /data/local/sprint.gif /system/media.bootscreen/sprint.gif
/data/local/sprint.gif /system/media.bootscreen/sprint.gif
/data/local/sprint.gif: permission denied
both files boot.gif and sprint.gif are in the tools directory
interestingly enough, when I rebooted, initial HTC screen came up and vibrated, went black instead of playing the bootscreen files (since folder was deleted) and then 5-15 seconds later the lock screen appears
 
Nov 13, 2009
7
0
0
Visit site
you have to tell it flash_image recovery /sdcard/recovery-RA-heroc-v1.2.3.img
But I wouldn't recommend this rom at this time if you like to use the usb mount feature. Breaks your card.... Btw anyone know a fix for this?


My bad was on page 3 and though I was on the last page..... oops lol
 

Forum statistics

Threads
943,150
Messages
6,917,533
Members
3,158,848
Latest member
kerokekerol