Just started playing with my Aria a few days ago. Thanks to some cool posts here I was able to root and change my boot animation easily. I've also been able to change the sound that plays with the boot animation. There seemed to be some question as to how to do this so thought I'd post how I did it.
I didn't invent anything new. Just followed the "How to Add Audio to Your Boot Animation" down at the end of this post: androidforums.com/incredible-tips-tricks/93514-htc-incredible-boot-animation-guide.html
The bootanimation.zip file I was using did not have android as one of the directory names. I unzipped the file and changed the first directory name to android. Then used jEdit to edit the desc.txt file to change the directory name in it. Pushed the new bootanimation.zip to /data/local and, voila, I now have sound.
Both my bootanimation.zip and android_audio.mp3 are in the /data/local directory.
One other quick thing I noticed. A lot of the posts I've seen use this syntax to remount the /system file system: "mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system". On the HTC the device for /system seems to be /dev/block/mtdblock3. Using mtdblock4 in the command seems to work, but I wonder if you could get inconsistent results.
Hope this helps someone.
David
thank you
works but also I had to have both files in sdcard/media/ aswell
yeah, i know, major bump, but did all this, and instructions in linked thread by OP, still no sound. followed ALL directions, MANY times, no go. tried adb pushing, using root explorer, and any other thing you can think of, still no sound.
Sent from my HTC Aria running CM 6.0.2.1
DavidM17 said:
Just started playing with my Aria a few days ago. Thanks to some cool posts here I was able to root and change my boot animation easily. I've also been able to change the sound that plays with the boot animation. There seemed to be some question as to how to do this so thought I'd post how I did it.
I didn't invent anything new. Just followed the "How to Add Audio to Your Boot Animation" down at the end of this post: androidforums.com/incredible-tips-tricks/93514-htc-incredible-boot-animation-guide.html
The bootanimation.zip file I was using did not have android as one of the directory names. I unzipped the file and changed the first directory name to android. Then used jEdit to edit the desc.txt file to change the directory name in it. Pushed the new bootanimation.zip to /data/local and, voila, I now have sound.
Both my bootanimation.zip and android_audio.mp3 are in the /data/local directory.
One other quick thing I noticed. A lot of the posts I've seen use this syntax to remount the /system file system: "mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system". On the HTC the device for /system seems to be /dev/block/mtdblock3. Using mtdblock4 in the command seems to work, but I wonder if you could get inconsistent results.
Hope this helps someone.
David
Click to expand...
Click to collapse
b_atman said:
thank you
works but also I had to have both files in sdcard/media/ aswell
Click to expand...
Click to collapse
Which ROM are you guys running because this is not working for me at all. I've been trying to get audio to work and it just doesn't. I'm running CM6.0.2.1.
Here is what I've done so far.
I made the changes to the desc.txt file by renaming "p 1 0 part0" to "p 1 0 android". I then also renamed the part0 folder to android. Created a zip file of all three (desc.txt, part0, part1) without compressing.
I then set the phone to debugging and pushed both the bootanimation.zip/android_audio.mp3 to /data/local and to /sdcard/media. I reboot and nothing. The bootanimation works but still no darn sound!
Has anyone else have any luck with getting custom boot sound ? I really think it has to do with which ROM you're running.
boot sound
i think david is on stock rom from att, which would useless to like a cm rom
Related
Hey guys i went and added a bootanimation.zip i made into /data/local directory but i noticed that my rom overlooks it and boots the default animation...the animation i tried wasworking with the mcr3.1 so it's not animation's fault.....is this feature disabled in this rom version ??????
lambrospower said:
Hey guys i went and added a bootanimation.zip i made into /data/local directory but i noticed that my rom overlooks it and boots the default animation...the animation i tried wasworking with the mcr3.1 so it's not animation's fault.....is this feature disabled in this rom version ??????
Click to expand...
Click to collapse
Doesn't work on any FroYo Sense roms, and either does flashing the zip. Adb works though I think.
Sent from my Desire using XDA App
try pushing it to system/media, without running that ROM, I can't tell where it has to be pushed, but all it means is that it must be pushed somewhere else
ok i pushed it to /system/customize/resource and it's working great
try my solution i postet @ modaco forums
just boot up your desire in recovery mode and first mount the system
mount system
Click to expand...
Click to collapse
change directory to /system/customize/resource
cd /system/customize/resource
Click to expand...
Click to collapse
then just setup the syslink
(if you get an error that there is already a bootanimation.zip just delete it with)
rm -r bootanimation.zip
Click to expand...
Click to collapse
ln -s /data/local/bootanimation.zip bootanimation.zip
Click to expand...
Click to collapse
CHECK TWICE THE CORRECT PATH. THE SYMLINK MUST BE MADE IN /system/customize/resource
check it simply with
ls -l
Click to expand...
Click to collapse
scroll a bit up and you should see: bootanimation.zip -> data/local/bootanimation.zip
if thats fine, your are done.
just put any bootanimation.zip to data/local and it should be shown @ startup. I only tested it @ The MCR r5 so im not sure if it works for other roms as well.
just push your favorite boot animation to /data/local and it *should* work.
Please confirm if it works.
hey man i used the guide in modaco but by mistake you told me to do the opposite one.........i symlinked the /data/local/bootanimation.zip to follow /system/customize/resource/bootanimation.zip
how do i delete this one ????? and if this works then i guess the opposite works too so i think we might have a solution
ok man so let's go
the command to delete the symlink is
ln -f instead of ln -s so problem fixed
then i created the correct symlink and pushed my bootanimation.zip and android_audio.mp3 (i symlinked that too) into /data/local
and now EVERYTHING WORKS AWSOMELY even the sound
Thanks a lot my friend!!!!!
nice to hear it works
if you made some mistake just go to /data/local and /system/customize/resource
and delete bootanimation.zip
rm -r bootanimation.zip
Click to expand...
Click to collapse
you can check it with ls -l should be gone then.
Its kinda weird. If i Push the Bootanimation to /data/local and /system/customize/resource it seems not to work. But if i symlink its working.
Whatever. No need Recovery anymore. Just push whatever you want to /data/local
@warrie87:
Thanks!!!
Works great with your tutorial ! tested on ModaCo R7.
Gaspedal said:
@warrie87:
Thanks!!!
Works great with your tutorial ! tested on ModaCo R7.
Click to expand...
Click to collapse
Or.....
Download boot animation changer from the market, then goto the web site Simproduction, where you will find a handy update.zip that has the exact symlink in it, in a flashable zip.
Handy
I updated JID6 using ODIN
Rooted using OCLF One click
Using Root Explorer I am unable to modify these files after JID6 update.
Previously i was able to move/delete these files. Not anymore.
Current Permission is rw-r--r--
I tried to modify my permsission, but it does not permanently apply. Does anybody else have this problem.. Even after its been rooted, i can't make these permission changes therefore i can't move/delete these files.
Bootup: system/etc/PowerOn.wav
Shutdown: system/media/audio/ui/Shutdown_128.ogg
Did you remount /system rw?
busybox mount -o rw,remount /system
samlot said:
I updated JID6 using ODIN
Rooted using OCLF One click
Using Root Explorer I am unable to modify these files after JID6 update.
Previously i was able to move/delete these files. Not anymore.
Current Permission is rw-r--r--
I tried to modify my permsission, but it does not permanently apply. Does anybody else have this problem.. Even after its been rooted, i can't make these permission changes therefore i can't move/delete these files.
Bootup: system/etc/PowerOn.wav
Shutdown: system/media/audio/ui/Shutdown_128.ogg
Click to expand...
Click to collapse
I have the exact same problem. I posted a thread pretty much identical to this one. Still no answer...
busybox mount -o rw,remount /system
worked for me. Once remounted I could rename the startup/shutdown sounds.
Thanks guys for responding, Thats it. Once I installed Busy Box i was able to move those files again. I guess after the JI6 update, it removes your previously installed busy box. I coulda swear i had busy box already installed when i was using titanium backup. But then I remember i had to Re-Root the phone as well.
rmeden said:
busybox mount -o rw,remount /system
worked for me. Once remounted I could rename the startup/shutdown sounds.
Click to expand...
Click to collapse
So just to be clear....type that string exactly as shown into terminal on the phone and that's it? Then I can delete (not rename) the sound files?
yes. you should have needed to do it the first time, too... /system is always mounted read-only.
and you also need a root shell (su)
chui101 said:
yes. you should have needed to do it the first time, too... /system is always mounted read-only.
and you also need a root shell (su)
Click to expand...
Click to collapse
Sweet! That worked for me! I had to change back to the samsung keyboard because everytime I used the , key in terminal SwiftKey would crash.
No more obnoxious startup/shutdown sounds! Woooo hoooo! Made my Friday!
I'm kinda new to android
I've started to delete useless apps through Titanium Backup(acer staff,games etc) , and exidently deleted smth connected with honeycomb stock keyboard.
Now every time when i want to use stock keyboard, pops up a messege "The application Android keyboard (process com.google.android.inputmethod.latin) has stopped unexpectedly. plz try again".
Ive tryied to reset factory data but it wont helped. Is thera any solution for this problem? if there no, plz tell how to completely reset tablet) ive read "system Images " thread but i didn understand some things
here is my recover steps: (for a500 which is bricked)
for a500 is normal:
root it
put the system.img into a500
connect to the computer with adb and follow the codes:
su
dd if=/sdcard/system.img of=/dev/block/mmcblk0p3
then reboot
Click to expand...
Click to collapse
connect to the computer with adb and follow the codes:
su
dd if=/sdcard/system.img of=/dev/block/mmcblk0p3
what that means)
You might very well have ruined your tablet.
I'm not a developer or coder so I can't make any sense of the code you posted but if a reset didn't fix it then you've certainly deleted something important. Hopefully someone has some ideas.
If not, then maybe you can return it? And next time, don't delete something unless you know what it is you're deleting.
ok ive recovered from image, but now wifi is not working , what should i do?
There are posts about having to change file permissions to fix wifi. Search this forum, there are a few.
edit - linked post
http://forum.xda-developers.com/showthread.php?t=1074449&highlight=wifi+permission
yeah ive read this but i dont know how to move that files to system folder on devide, wifi is down , so i cant download any file managing apps from market and theres no any file managers on stock Rom
If you've got the adb working, you can use the command mv to move the file.
I'm not sure of the exact path involved, but for example. the file is in /mnt/sdcard/filetobemoved and needs to go into /sytem/lib/modules
mv /mnt/sdcard/filetobemoved /system/lib/modules
That'd put it in the location you need. To change the permissions, you'd use the command chmod
chmod 655 /system/lib/modules/filetobemoved
The 655 is an octal(0-7) representation of the file's permissions. I'm not sure what permissions it needs, but you could try 655 as a start unless someone else knows for sure.
if you want, hit me up on msn, I can try to walk you through it: [email protected]
Glebaka said:
ok ive recovered from image, but now wifi is not working , what should i do?
Click to expand...
Click to collapse
Ah *phew* Good to hear.
gammaRascal said:
Ah *phew* Good to hear.
Click to expand...
Click to collapse
lol How'd he get in that shape to begin with? Any idea what exactly it was he deleted that bonked his system?
muqali said:
lol How'd he get in that shape to begin with? Any idea what exactly it was he deleted that bonked his system?
Click to expand...
Click to collapse
No clue. I really should start reading up on HC app development and at least familiarize myself with that environment.
I haven't rooted yet cause I'm e'scarded to.
ahh i cant replace that files , somehow installed astro manager(through docsttogo) but i cant remove/replace/rename that files in system/lib/modules it says i dont have permission to do this.
tryed in connectbot type "mv /mnt/sdcard/filetobemoved /system/lib/modules"
got this "failed on '/system/lib/modules/filename' - cross-device link"
im rooted what if
Glebaka said:
ahh i cant replace that files , somehow installed astro manager(through docsttogo) but i cant remove/replace/rename that files in system/lib/modules i dont have permission to do this.
tried connectbot tryied "mv /mnt/sdcard/filetobemoved /system/lib/modules"
got this "failed on '/system/lib/modules/filename' - cross-device link"
im rooted
Click to expand...
Click to collapse
type mount and paste/retype the line that has /system in it. It might be mounted read only.
or try the cp command in place of mv
edit - also, the filetobemoved is just an example. I think one of the filenames is bcm4329.ko but I'm not sure. so /system/lib/modules/bcm4329.ko would be the full path
ah im total noob tried cp instead of mv it said permission denied .
t
ype mount and paste/retype the line that has /system in it. It might be mounted read only.
Click to expand...
Click to collapse
i didnt get that (
edit - also, the filetobemoved is just an example. I think one of the filenames is bcm4329.ko but I'm not sure. so /system/lib/modules/bcm4329.ko would be the full path
Click to expand...
Click to collapse
yeah thats i know)
Are you logged into the tablet using adb's shell? I've only used that once on a different tablet, but iirc the commands are standard Unix/Linux commands. Someone correct me if I'm wrong but aren't you already logged in as superuser like this? You don't need to 'sudo' or 'su' to switch over do you?
I'm not familiar enough with this specific environment to figure out what might be keeping you from placing those files in that location. The command to check the partitions mount options is
mount
It should return a bunch of text, one line of which is gonna be the /system partition. If it's ro(read only) then you can't write to it and would need to remount it.
yeah it looks like it is "ro"
ive got /system ext4 ro
how to remount)
My knowledge of adb is limited as well. All I know is that I can connect to it, type: adb devices (in the command prompt) to make sure it sees my tab then 'adb push filename.extension /directory/structure' to force files... Conversly, I think adb pull filename.extension /directory/structure will grab files on the tab if you know what they are called and where they are located.
Glebaka said:
yeah it looks like it is "ro"
ive got /system ext4 ro
how to remount)
Click to expand...
Click to collapse
what was the /dev/block/mtdblock for /system?
there is a number after it...for example /dev/block/mtdblock1
mount -o rw,remount -t ext4 /dev/block/mtdblock1 /system
would remount it read/write, provided that it is mtdblock1, change the number depending on what your device has.
yeah now /system have "rw", but it anyway refuses to copy using mv(failed on '/system/lib/modules/filename' - cross-device link"
) or astro manager
Glebaka said:
yeah now /system have "rw", but it anyway refuses to copy using mv(failed on '/system/lib/modules/filename' - cross-device link"
) or astro manager
Click to expand...
Click to collapse
If cp won't put it there either, I'm out of ideas. Maybe ask in the other thread how they were able to copy/move the file and set the permissions?
I know it may not be really classy, but how about downloading an .apk That will let you mount the drive, to an sd card in a computer then transfer that to the Acer. (If it's an extreme case and nothing else will work..not condoning piracy, but don't know what would work...)
or is it possible to copy the system data from a Titanium backup and send it over so he can restore the missing files?
This following step I can't be responsible for it's safety. It looks safe to my eyes, but proceed having been forewarned. I did some research and you might be able to use dd to get the file there.
dd if=/mnt/sdcard/filname of=/system/lib/modules/filename
I'm having an issue with wi-fi. I'm running Andromadus Audacity 2. Yesterday I ran into an issue where my phone was randomly rebooting. I decided to reflash the rom and when I did so I could no longer connect to Wi-Fi. I can turn Wi-Fi on but it will immediately turn back off. In settings it will only say turning wi-fi on and hang up there.
I don't think that the issue is the router since my wife's G2 and other devices we have in the house still work fine on wi-fi.
Also it's not the rom because I have superwiped and reinstalled, then tried installing cm7, and ilwt. The issue persists on each rom. I have superwiped each time before installing.
I am really at a loss for what to do, I didn't change any settings on the phone and regardless, I don't know what I could have changed that would have carried over through flashing a new rom. I would appreciate any ideas on what to do.
ETA - I have changed the radio and the kernel and still no luck.
Check
Sent from my HTC Vision using XDA
Sorry accidental send, check the /etc/wifi/wpa*.conf permissions and ownership. This happened to me when that file was off.
Sent from my HTC Vision using XDA
A_Elizondo said:
Sorry accidental send, check the /etc/wifi/wpa*.conf permissions and ownership. This happened to me when that file was off.
Sent from my HTC Vision using XDA
Click to expand...
Click to collapse
When you say off do you mean it was absent?
When I got to /etc/wifi/ there is a file named wpa_supplicant.conf, it is the only file in the folder
the text file says:
update_config=1
ctrl_interface=wlan0
eapol_version=1
ap_scan=1
fast_reauth=1
mbrentrowe said:
When you say off do you mean it was absent?
When I got to /etc/wifi/ there is a file named wpa_supplicant.conf, it is the only file in the folder
the text file says:
update_config=1
ctrl_interface=wlan0
eapol_version=1
ap_scan=1
fast_reauth=1
Click to expand...
Click to collapse
Sorry my English is not as great as I wished it would be, this is what happens when I try to use "slang". When I say off I mean not correct. That is the correct file "wpa_supplicant.conf"
/etc/wifi/wpa_supplicant.conf --> needs rw-r--r--
/system/bin/wpa_supplicant --> needs rwxr-xr-x
I just checked my files and they are both owned by root and all works well so I guess its not an issue that wifi does not own them.
A_Elizondo said:
Sorry my English is not as great as I wished it would be, this is what happens when I try to use "slang". When I say off I mean not correct. That is the correct file "wpa_supplicant.conf"
/etc/wifi/wpa_supplicant.conf --> needs rw-r--r--
/system/bin/wpa_supplicant --> needs rwxr-xr-x
I just checked my files and they are both owned by root and all works well so I guess its not an issue that wifi does not own them.
Click to expand...
Click to collapse
Sorry I just misunderstood.
I checked both files and they had the same permissions that you wrote out.
mbrentrowe said:
Sorry I just misunderstood.
I checked both files and they had the same permissions that you wrote out.
Click to expand...
Click to collapse
Not sure if this helps but this is what's under my /etc/wifi/wpa_supplicant.conf file
update_config=1
ctrl_interface=eth0
eapol_version=1
ap_scan=1
fast_reauth=1
Notice my ctrl_interface=eth0 (thats a zero) I'd test that out see if it fixes it, if not then I'd download another rom and extract both /etc/wifi/wpa_supplicant.conf and /system/bin/wpa_supplicant files from it and replace yours. Again verify permissions are correct.
A_Elizondo said:
Not sure if this helps but this is what's under my /etc/wifi/wpa_supplicant.conf file
update_config=1
ctrl_interface=eth0
eapol_version=1
ap_scan=1
fast_reauth=1
Notice my ctrl_interface=eth0 (thats a zero) I'd test that out see if it fixes it, if not then I'd download another rom and extract both /etc/wifi/wpa_supplicant.conf and /system/bin/wpa_supplicant files from it and replace yours. Again verify permissions are correct.
Click to expand...
Click to collapse
Hey I'm on lunch now, in that file it says for ctrl_interface=wlan0. I am using es file explorer, it won't let me change it there but I think I read somewhere I can create a text file saying what I want it to and place it in the folder. Not sure if that will work.
As for the other roms, wifi doesn't work on any rom that I use.
mbrentrowe said:
Hey I'm on lunch now, in that file it says for ctrl_interface=wlan0. I am using es file explorer, it won't let me change it there but I think I read somewhere I can create a text file saying what I want it to and place it in the folder. Not sure if that will work.
As for the other roms, wifi doesn't work on any rom that I use.
Click to expand...
Click to collapse
You can replace the file using a terminal emulator here are the steps
Open terminal emulator and log in as super user by typing the following
su
Make the System Partition have read/write access by typing the following
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Now you can modify the file using es file explorer
When complete make the system partition read only by doing the following
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
You can also copy and replace the file using adb, not sure how familiar you are with that but the above should work.
A_Elizondo said:
You can replace the file using a terminal emulator here are the steps
Open terminal emulator and log in as super user by typing the following
su
Make the System Partition have read/write access by typing the following
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Now you can modify the file using es file explorer
When complete make the system partition read only by doing the following
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
You can also copy and replace the file using adb, not sure how familiar you are with that but the above should work.
Click to expand...
Click to collapse
Hmmm, I went into terminal emulator and did just as you said. This is what it says after I pasted in what you wrote to give me read/write access:
Usage: mount [-r] [-w] [-o options] [-t type] device directory
After I did that it still won't let me change that file.
Sorry you are correct that command only works in adb do this instead of the above command
mount -o remount,rw /system
then when you are done do this instead of the other read only command
mount -o remount,r /system
A_Elizondo said:
Sorry you are correct that command only works in adb do this instead of the above command
mount -o remount,rw /system
then when you are done do this instead of the other read only command
mount -o remount,r /system
Click to expand...
Click to collapse
Thanks I will try it, but I'm becoming more convinced this is a hardware issue.
I was on the phone today and the phone froze and I had to pull the battery. When I restarted the phone Wi-Fi was working for the first time in a week. While it was working I checked that file and it said the same exact thing. The phone then froze again (I think it was my fault because in the excitement of having Wi-Fi again I tried to update all of my apps and other things I can't do on the crappy 2g data I have at home) when I turned it back on Wi-Fi was no longer working.
So now I'm thinking that this has to be hardware. I will give your method a try.
Yea I think you are correct especially since you tried different roms. If you have warranty just unroot it and return it else keep posting here about the status and a will find a work around eventually
Sent from my HTC Vision using XDA
Well I finally switched back to ilwt and my wifi isn't working all of the time but it has worked for a few hours each day since I flashed it. Whereas on andromadus it didn't work at all for two months. Still haven't figured out what happened but at least I get to keep my G2. Although I'll probably move on the first time they put the note on sale later this year. Thanks aeliizondo for trying to help me!
Sent from my HTC Vision using XDA
I can't figure out how to delete some of the system apks off my rooted Nook Simpletouch. Running 1.2.1, and Nootered it. Tried to ADB uninistall Phone.apk, but it just reports failure. I could use some help.
/system is usually read-only.
To make changes in its content you need to remount it read/write:
Code:
stop
mount -o rw,remount /dev/block/mmcblk0p5 /system
The stop is to be on the safe side, it stops the android subsystem.
After you are done making changes it's best to:
Code:
reboot
Renate NST said:
/system is usually read-only.
To make changes in its content you need to remount it read/write:
Code:
stop
mount -o rw,remount /dev/block/mmcblk0p5 /system
The stop is to be on the safe side, it stops the android subsystem.
After you are done making changes it's best to:
Code:
reboot
Click to expand...
Click to collapse
Just rename them. add ",bak:" to the end or similar. This will disable them, and if you notice instabilities because of getting rid of them you can just remove the appended extension. If everything runs well, you can then delete them with no worries.
I've renamed some of the recommended ones and have an error that comes up. "A problem has occurred, contact support". I need to figure out what is causing that to happen. its annoying but doesn't seem to be an actual problem.
What does "mmcblk0p5" represent?
mmcblk = multimedia card block device, 0 = first device, p5 = fifth partition
Thanks Renate, but It's not working. In order to rename or delete an apk off my Nook simpletouch, would someone please give me step instructions? I feel I'm missing something.
Code:
stop
mount -o rw,remount /dev/block/mmcblk0p5 /system
cd /system/app
mv BoringApp.apk BoringApp.bak
mv TediousApp.apk TediousApp.bak
reboot
And don't tell me that you have no boring or tedious apps!
The advice here is correct, better to rename sysapp extensions (.bak or .ap_) than delete as some might be needed by future apps/sys hacks/kernels. For those who can't adb by cable or keep it up wifi-wise, this is the easiest way even easier than root explorer:
https://play.google.com/store/apps/details?id=com.ghisler.android.TotalCommander
for sys or user app removal if you have to and can't use adb or even total commander, but then you shouldn't if not knowing sys file structures (I use Pro version, for removing many apps i just tested in a batch, sorted reminder):
https://play.google.com/store/apps/details?id=com.jumobile.manager.systemapp
I renamed talk telephone music audio etc apks on nst but Gallery is the only one I removed on all android devices & nst as it's just nasty which has never been missed by later hacks and quickpic is much better anyway:
https://play.google.com/store/apps/details?id=com.alensw.PicFolder
I created another directory under /system called archive. I move apps I don't what to use and fonts I change into /system/archive then I can just move them back if I have issues.
This still isn't working. My commands keep getting rejected. It isnt allowing stop to work. Also, I tried "adb cd /system/apps" and when that didn't work, I tried
"adb shell"
"#cd /system/apps"
No dice.
EDIT: Got it. needed to call it shell instead of adb. I also accidentally wrote "apps" instead of "app".