[TUTORIAL] How to set boot sound - XPERIA X8 General

You want to set a bootsound? Then here you go.
1- Download the attachment, Extract it.
Copy the bootsound to System/bin
2- Set permissions
x x x
x 0 x
x 0 x
3- Rename your boot sound in to android_audio.mp3 (Remember this file must be .mp3)
4- Set it's permissions to
x x 0
x 0 0
x 0 0
5- Go to System/etc and open init.local.rc
6- Check if those lines exist,
# Bootsound - Safe to Delete: Start
service bootsound /system/bin/bootsound
user media
group audio
disabled
oneshot
on property:init.svc.bootanim=running
# to correct timin
start bootsound
on property:dev.bootcomplete=1
stop bootsound
# Bootsound - Safe to Delete: End
If isn't just add.
7- If you need to know it's working, Restart your phone or Go to Terminal Emulator then Type su then type bootsound .

I only tried this in only a one rom. Cause I sent my phone to repair.
Try this and feedback.
Enjoy

Dont forget the edits to init_rc and build.prop

Yeah, I forget it. Thanks rohin
I will post it now.

Alright, anyone test it.
sent from my mango

ScatteredHell said:
Alright, anyone test it.
sent from my mango
Click to expand...
Click to collapse
Great work, but the sound starts too late on my x8. I use miniCM7 (7.1.0) with 2.6.29.6-nAa-14 kernel(cpu oc 748Mhz).

jagdtigger said:
Great work, but the sound starts too late on my x8. I use miniCM7 (7.1.0) with 2.6.29.6-nAa-14 kernel(cpu oc 748Mhz).
Click to expand...
Click to collapse
Sorry I tested it only on stock kernel. Maybe it's related to the kernel u use :thumbup:
Sent from using fundamental Particles π™

Working on GDX v030...
But sound plays for just 5-10 seconds
Sent from my X8 using xda app-developers app

Gogeta said:
Working on GDX v030...
But sound plays for just 5-10 seconds
Sent from my X8 using xda app-developers app
Click to expand...
Click to collapse
It depend on your sound file. Make it shorter. I doubt, u want to keep longer?

Sound file is 30 seconds
Sent from my X8 using xda app-developers app

That bootsound file you attached is already in GDX with same codes
No need to change
Sent from my X8 using xda app-developers app

Gogeta said:
Sound file is 30 seconds
Sent from my X8 using xda app-developers app
Click to expand...
Click to collapse
haha....the code is written to when boot completes then boot sound stops. You have to short it.
Sent from the HEll using fundamental Particles π™

Cool
Sent from my X8 using xda app-developers app

nice

Thanks bro
It is very important

Very good and util!,thanks!!

Not working in my xperia z3 plus 7.1.1
ScatteredHell said:
You want to set a bootsound? Then here you go.
1- Download the attachment, Extract it.
Copy the bootsound to System/bin
2- Set permissions
x x x
x 0 x
x 0 x
3- Rename your boot sound in to android_audio.mp3 (Remember this file must be .mp3)
4- Set it's permissions to
x x 0
x 0 0
x 0 0
5- Go to System/etc and open init.local.rc
6- Check if those lines exist,
# Bootsound - Safe to Delete: Start
service bootsound /system/bin/bootsound
user media
group audio
disabled
oneshot
on property:init.svc.bootanim=running
# to correct timin
start bootsound
on property:dev.bootcomplete=1
stop bootsound
# Bootsound - Safe to Delete: End
If isn't just add.
7- If you need to know it's working, Restart your phone or Go to Terminal Emulator then Type su then type bootsound .
Click to expand...
Click to collapse
pls pls pls help me... Not working on my xperia z3 plus 7.1.1

Related

Change Bootscreen in FroYo

Why im unable to change my bootscreen,even with adb push or the boot app changer, with adb it send the .zip and say ok and when i reboot i got the same bootscreen as usual and same with the app.
Sent from my HTC Desire using XDA App
Witch ROM do you use?
Official froyo 2.2 ,rooted phone
Sent from my HTC Desire using XDA App
Non ota froyo 2.2
Sent from my HTC Desire using XDA App
I would do a clear reinstallation.
And try it again. push and boot animation changer should working.
Greetz David
Humpf i will keep my actual boot so
Sent from my HTC Desire using XDA App
With Froyo, bootscreen has change location. Now it's system/customize/resources. The problem is that you can't overwrite it, it's protected...... If anyone knows how to fix it .....
If your rooted download Root Explorer (£2.50) from the market, copy bootanimation.zip to SD card then move it to the correct folder using Root Explorer. (mine's is in /data/local) I'm using Pinky Desire v1.3 ROM
http://www.appbrain.com/app/com.speedsoftware.rootexplorer
jungoed said:
Why im unable to change my bootscreen,even with adb push or the boot app changer, with adb it send the .zip and say ok and when i reboot i got the same bootscreen as usual and same with the app.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Have you been in recovery and mounted /data ?
Reboot into recovery,select partitions menu ,select mount system then push to /system/customize/resource
This worked for me
snear said:
Reboot into recovery,select partitions menu ,select mount system then push to /system/customize/resource
This worked for me
Click to expand...
Click to collapse
works once but cant change the one i push now lol
Have a look inside the file, some bootimages are flashable, some have to be pushed. And if the folder structure is wrong/old in the ones to flash it won't work - extract bootanimation.zip and push it.
Sent from my DeVillain with BIOS bootanimation
yea and how we know its pushable or flashable bootscreens ...
anyway it has stuck my desire in the HTC bootscreen
will keep the actual bootscreen till someone can tell me how to
thanxs
Open the zip, if it has a folder structure eg, /data/local it is flashable
Sent from my DeVillain
I trie this: forum.xda-developers.com/showthread.php?t=745189 and it works

[Guide] Expanding the limit of multitouch points (root needed)

Let's cut the crap. Seems like somebody on a Chinese forum figured out the way to apply the mod to MM2. I just translate it into English.
1. Download the attachment and unzip milestone2_more.ko to the root of sd
2. mount /system/ r/w
3. copy milestone2_more.ko to /system/lib/modules/
4. open terminal emulator
5. input the following command
su
chmod 644 /system/lib/modules/milestone2_more.ko
insmod /system/lib/modules/milestone2_more.ko touch_num=6
(the guy said if you choose a number greater than 6 the system will crash)
now you should get a 6-point-multitouch
original thread: http://bbs.gfan.com/android-1997547-1-1.html
Thank you soooooooo much! )))
Works but MT is still buggy...
oh my god.. thank you, it works.
5 is more than enough
OMG!! You made my day!
Sent from my A953 using XDA Premium App
Is this permanent? Or it'll go away when we reboot?
Sent from my A953 using XDA App
It will go away when you reboot, but its not a big deal to use the command again
Sent from my A953 using XDA Premium App
Just make a init.d script to load it up when the system boots and you won't have to worry about it again..
Just did this, but I think i wrote it wrong. Please correct me
I created a blank file and wrote inside it:
insmod /system/lib/modules/multitouchfix.ko (I replaced the name)
And saved the file as 99multitouchfix inside /system/etc/init.d/
I also fixed permissions for both files
Sent from my A953
Is it working Aragorn?
Thank you. I'll try it when I get home!
inheme said:
Is it working Aragorn?
Click to expand...
Click to collapse
Nope. The module works, but not the init.d script
you can use autostart from Market
AragornPE said:
Nope. The module works, but not the init.d script
Click to expand...
Click to collapse
Try this script:
Code:
#!/system/bin/sh
# Load 5 finger multitouch module
insmod /system/lib/modules/defy_more.ko
Also note that the first touch after reboot is delayed.
dangpzanco said:
Try this script:
Code:
#!/system/bin/sh
# Load 5 finger multitouch module
insmod /system/lib/modules/defy_more.ko
Also note that the first touch after reboot is delayed.
Click to expand...
Click to collapse
I'll try that as soon as my M2 wakes up, long day for it today =P
Actually,the patch is developed by korean , the XDA thread is http://forum.xda-developers.com/showthread.php?t=1162327
Autoload after reboot: copy install-recovery.sh to /system/etc and set rwxr-xr-x .
If you wanna change the touch point limit , open install-recovery.sh with text editor , change the number that follows "touch_num=". The range is 1~10.
My own test shows more than 6 touch points will NOT lead to system crash , but make it back to 2 points...orz. Since the same patch on D2/D2G/DEFY enable up to 10 points, why
m2 cound not
Ah, forgot to say , the autoload patch is ported from http://bbs.gfan.com/android-1997547-1-1.html
Neither autostart or init.d script worked. Going to try the install recovery
Sent from my A953
Install recovery didn't work either
Maybe I'm doing something wrong?
Sent from my A953
AragornPE said:
Neither autostart or init.d script worked. Going to try the install recovery
Sent from my A953
Click to expand...
Click to collapse
Did you set the permission properly,both milestone2_more.ko and install.sh.
All works fine, both the milestone2_more.ko and the install recovery, no problem at all, have 4 MT points now

[OUTDATED GUIDE]Make Custom Rom Easier Than Cycling

Things you need:
Base firmware (i'm use Gingerbread S5830SERKPH 2.3.4)
Windows (I'm use windows 7 X64 service pack 1)
Linux (Ubuntu recommended)
And the last thing is, You need enough experience in android world
step-step :
Flash your phone with your desired base firmware.
Make required modifications at your phone.
After that, do hard reset to your phone.
Next back up system.rfs .
put system.rfs with boot.img, data.rfs, recovery.img from PDA base firmware in one folder.
After that, repack your custom rom.
what should we do to modify it :
Remove useless widgets
Add more apps
Change theme
How to back up System.rfs :
Download at market "terminal emulator"
next run this code:
Code:
su
dd if=/dev/stl12 of=/sdcard/system.rfs
How to hard reset your phone :
Move by root explorer your modification apps to system/app then change permission like this :
Code:
User:Read, Write
group:Read
Others:Read
Next change the owner to "root" by root explorer
At least boot into recovery mode "HOME+POWER" and choose "wipe data/factory reset" be sure your contact data already backup
How to repack your custom rom :
PDA by running this code via terminal at linux:
Code:
tar -H ustar -c boot.img recovery.img data.rfs system.rfs >> ROMNAME.tar
md5sum -t ROMNAME.tar >> ROMNAME.tar
mv ROMNAME.tar ROMNAME.tar.md5
change ROMNAME to your desired, of course, ROM name.
If you want to build One-Package ROM, just use 1st and 2nd command and don't forget to include all files on all *.tar.md5 (such as modem, csc, apboot) like this :
Code:
tar -H ustar -c *.* >> ROMNAME.tar
md5sum -t ROMNAME.tar >> ROMNAME.tar
How to change your rom name :
At root explorer you see at folder system "build.prop"
Open it in text editor edit "ro.build.display.id=GINGERBREAD.XXKPH" with your rom name
Another Handy Modification Guide:
How to edit system.rfs on your Pc :
importan : if you want to edit system.rfs at windows, DON'T use Magic Iso, why? because i was use it, then my system.rfs corrupt.
you must have linux (ubuntu recommended)
run it from terminal :
Code:
sudo mount -o loop system.rfs /some_dir
make required modification
then Unmount it
How to Unpacking & repacking the image :
Note: below I give you the details for unpacking and repacking manually, but I have attached two perl scripts that do most of this for you
If you are good with a hex editor, you can open up any of these images and strip off the first 2k of data. Then, look for a bunch of zeroes followed by the hex 1F 8B (which is the magic number of a gzip file). Copy everything from the first line of the file, through the zeroes, and stopping at the 1F 8B. That is the kernel. Everything from the 1F 8B through the end is the ramdisk. You could save each of these files separately. In order to see the contents of the ramdisk, you need to un-gzip it and then un-cpio it. You could use a command like this (ideally after creating a new directory and cd'ing into it):
Code:
gunzip -c ../your-ramdisk-file | cpio -i
That will place all of the files from the ramdisk in your working directory. You can now edit them.
In order to re-create the ramdisk, you need to re-cpio them and re-gzip those files, with a command like the following (remember, cpio will include everything in the current working directory, so you probably want to remove any other cruft you might have in there):
Code:
find . | cpio -o -H newc | gzip > ../newramdisk.cpio.gz
The final step is to combine the kernel and your new ramdisk into the full image, using the mkbootimg program (which you should download and compile from the git repository):
Code:
mkbootimg --cmdline 'no_console_suspend=1 console=null' --kernel your-kernel-file --ramdisk newramdisk.cpio.gz -o mynewimage.img
Now, there's a lot of hassle in pulling apart files in hex editors and remembering all of these commands, so I wrote unpack and repack perl scripts for you (attached). Hooray.
How to Manually deodex your phone :
What you'll need:
xUltimate v2.2
Unzip xUltimate v2.2, and launch "Main.exe"
If everything goes well xUlt should recognize the phone and make a connection. You now should see a list of options.
Run option 1. After option 1 is done, run option 2.
Now these well take a while. Run option 3.
IMPORTANT: After you have run option 3, you MUST navigate to the xUltimate folder and find "origi_frame" folder, and delete "guava.odex". It's a bad file, and interferes with deodexing process.
Now run option 4, and wait.
Exit xUltimate, and put the phone in USB mass storage.
Go back into the xUltimate folder and copy "done_frame", and "done_app", and move them to the root of the sdcard.
Put the phone in PC mode
Open a command prompt, and do the following:
Code:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
Your phone should now be deodexed!
You may notice an increase in speed, and you now have the ability to edit certain files with greater effects.
How to change bootanimation :
using a Root explorer goto the /system/media directory.
Copy bootanimation.zip to your SD Card.
Connect your droid to your computer with usb and mount the SD Card
Copy bootanimation.zip to your computer.
extract bootanimation.zip to a folder
Inside you will find 2 folders with all the individual PNG files in them.
With photoshop or paint modify the png files to add your custom graphics, OR make/download your own pictures. (Make sure they are match with your phone device)
Highlight the two folders and the desc file.
Right click the highlighted files.
Select add files to archive.
Select Zip check box
In the compression method drop down box select Store. (this is key if you dont do this it wont play the animation)
save the archive as bootanimation.zip
copy the new bootanimation.zip to your SD Card
Select the bootanimation.zip file from your SD Card and move it... system>media>paste
________________
i'm just 12 years old if i can do it, why you can't
Advantages of this way is :
More efficient
Reduce your internet usage (dont need kitchen, apk manager, etc)
Easy to modification (You can see the direct result)
Reduce your time (only 2 hours i can do this way)
More soon
You steal my IDEAS Univos! No, just kidding, there are incorrect guide on "how to hard reset" lol. Anyway, try to build a ROM before creating this guide, my friend.
Wow Kids!
are doing development now a days
fla.sh said:
You steal my IDEAS Univos! No, just kidding, there are incorrect guide on "how to hard reset" lol. Anyway, try to build a ROM before creating this guide, my friend.
Click to expand...
Click to collapse
im not steal it.
Where is incorrect guide i'm try to fix it?
Sent from my GT-S5830 using XDA App
GadgetCheck said:
Wow Kids!
are doing development now a days
Click to expand...
Click to collapse
Thanks
Sent from my GT-S5830 using XDA App
This guide tested by me, and i have get result from this.
Sent from my GT-S5830 using XDA App
If you have question just ask me!
Sent from my GT-S5830 using XDA App
I think this guide is the same with fla.sh's guide.
devilsking said:
I think this guide is the same with fla.sh's guide.
Click to expand...
Click to collapse
Different, Fla.sh make guide for cooking his rom.
in this thread i tell you how to make your own custom rom.
with Phone device Samsung Galaxy Ace.
Univos said:
Different, Fla.sh make guide for cooking his rom.
in this thread i tell you how to make your own custom rom.
with Phone device Samsung Galaxy Ace.
Click to expand...
Click to collapse
ya ya. I see tks for your guide
devilsking said:
ya ya. I see tks for your guide
Click to expand...
Click to collapse
Please press thanks button, if i helped you
Sent from my GT-S5830 using XDA App
Univos said:
This guide tested by me, and i have get result from this.
Sent from my GT-S5830 using XDA App
Click to expand...
Click to collapse
Now that you're awesome like fla.sh , I'll be quietly tucking in a corner thinking how young teenagers get their knowledge . XD jkjk
EmoBoiix3 said:
Now that you're awesome like fla.sh , I'll be quietly tucking in a corner thinking how young teenagers get their knowledge . XD jkjk
Click to expand...
Click to collapse
Just kept reading, ask people, don't feel has a lot of knowledge, kept countinue to learn
Sent from my GT-S5830 using XDA App
EmoBoiix3 said:
Now that you're awesome like fla.sh , I'll be quietly tucking in a corner thinking how young teenagers get their knowledge . XD jkjk
Click to expand...
Click to collapse
Maybe this holiday i will developt a simple custom rom.
Sent from my GT-S5830 using XDA App
Univos said:
Maybe this holiday i will developt a simple custom rom.
Sent from my GT-S5830 using XDA App
Click to expand...
Click to collapse
I am thinking about a kid with two or more different XDA ID.
ketut.kumajaya said:
I am thinking about a kid with two or more different XDA ID.
Click to expand...
Click to collapse
No, the real name Fla.sh is "Aver..." my real name is "iz..." we are student of junior high school at surabaya. I'm "Aver..." friend.
Sent from my GT-S5830 using XDA App
Univos said:
No, the real name Fla.sh is "Aver..." my real name is "iz..." we are student of junior high school at surabaya. I'm "Aver..." friend.
Sent from my GT-S5830 using XDA App
Click to expand...
Click to collapse
I'm swear.
Sent from my GT-S5830 using XDA App
ketut.kumajaya said:
I am thinking about a kid with two or more different XDA ID.
Click to expand...
Click to collapse
ROFLAMO
Jukirdolly said:
ROFLAMO
Click to expand...
Click to collapse
??????
Sent from my GT-S5830 using XDA App

How to change atmel touchscreen sensitivity ?

I'm using aurora and I want the touchscreen to be a little sensitive and adjust it manually
Thks
Good question
Sent from my U8800 using Tapatalk 2
Try this with caution :
https://play.google.com/store/apps/details?id=br.shop4apps.touchscreenbooster.com
Sent from my U8800 using xda premium
But it says it's only for sgs....
Sent from my U8800 using xda premium
Look this:
#!/system/bin/sh
# Tweak Synaptics Touchsreen sensitivity, values 1 to 8, default=4
# Uncomment the following line and set your desired value.
echo 4 > /sys/module/synaptics_i2c_rmi_1564/parameters/sensitivity
You must create init.d folder with this file inside .Install scriptmanager apk.(Give it su permissions and run at boot.)
The second way is to find a patch named icsaddon2 .(you can install it via cwm recovery.After Look on init.d folder for a file 'synaptic '. and change with text editor the value from 4 to 7 or 8.(delete #)
I thing it will works.
U8800 using xda app-developers app
http://www.mediafire.com/?d2742g4zm4fg3da
Touch Screen Tune - Works with u8800
maneet21 said:
But it says it's only for sgs....
Sent from my U8800 using xda premium
Click to expand...
Click to collapse
I used it before.but that is your call
Sent from my U8800 using xda premium
is me or i dont see any difference.:S
gyankamp1 said:
Look this:
#!/system/bin/sh
# Tweak Synaptics Touchsreen sensitivity, values 1 to 8, default=4
# Uncomment the following line and set your desired value.
echo 4 > /sys/module/synaptics_i2c_rmi_1564/parameters/sensitivity
You must create init.d folder with this file inside .Install scriptmanager apk.(Give it su permissions and run at boot.)
The second way is to find a patch named icsaddon2 .(you can install it via cwm recovery.After Look on init.d folder for a file 'synaptic '. and change with text editor the value from 4 to 7 or 8.(delete #)
I thing it will works.
U8800 using xda app-developers app
Click to expand...
Click to collapse
That only works for synaptics screens.
Sent from my U8800

[GUIDE][ALL DEVICES + ALL ROMS] How To Add Init.d Support To Rom/Kernel

What is init.d ?
Init.d is a feature which allows you to run brunch of scripts at boot . Thats really useful while you want to set values which reset at boot or run/do any thing at every boot or install tweaks , engines and....
There are some ways to add this feature to you rom but always best way is to add init.d support directly by your kernel . I want to help you to do this
Requirements
1- Ability to unpack boot.img & ramdisk
2- Some basic linux shell knowloedge
3- Having Busybox located in /system/bin/busybox at your rom
Step 1: Making kernel ready
1- Unpack kernel then ramdisk
2- Open Init.rc with a text editor
3- Add this codes at the end , before the paragraph which there is "stop bootanim" command in it :
Code:
service sysinit /system/bin/sysinit
oneshot
4- Save , Exit and repack ramdisk and boot.img
Step 2 : Making Rom Ready !
1- Open /system/bin/sysinit
2- Add this codes :
Code:
#!/system/bin/sh
export PATH=${PATH}:/system/bin:/system/xbin
chmod 777 /system/etc/init.d/*
logwrapper busybox run-parts /system/etc/init.d/
3- Set permissions of sysinit to 777 or 755 ( rwxrwxr-x | rwxrwxrwx )
4- Make a directory at system/etc and name it init.d
Now you have init.d support !
Reserved for future changes !
Pls tell me about this '' init'' on my supersu dialog box...
It's my first time to see this and I don't know what is this for?
Is this harmful? Or very important not to loose it...
Educate me... I really don't know what is is for...
... What? why? how?
Thanks much!
Sent from my GT-I9300 using XDA Premium HD app
'' Init '' or '' init.d''
Pls differentiate....
What is this for?
Sent from my GT-I9300 using XDA Premium HD app
leio rusher said:
'' Init '' or '' init.d''
Pls differentiate....
What is this for?
Sent from my GT-I9300 using XDA Premium HD app
Click to expand...
Click to collapse
leio rusher said:
Pls tell me about this '' init'' on my supersu dialog box...
It's my first time to see this and I don't know what is this for?
Is this harmful? Or very important not to loose it...
Educate me... I really don't know what is is for...
... What? why? how?
Thanks much!
Sent from my GT-I9300 using XDA Premium HD app
Click to expand...
Click to collapse
Read in the op what is init.d section...
Inviato dal mio GT-I9070 con Tapatalk 2

Categories

Resources