[MOD] Galaxy Core 2 Boot logo / Boot animation SM-G355HN

Search This thread

StratOS_HTC

Senior Member
Sep 25, 2007
697
439
Celje
Realme 8 Pro
Greeting every1

This is gor Galaxy Core 2 phones ( SM-G355HN )

Been messing about the logo on my GC2. As mentioned it's in the param.lfs (for flashing with Odin) or /dev/block/mmcblk0p13.
You can do it with emulator,root explorer , adb or any other way ...
With the adb :

Code:
C:\ADB>cmd /k cd "C:\ADB\adt-bundle-windows-x86_64-20140702\sdk\platform-tools"
C:\ADB\adt-bundle-windows-x86_64-20140702\sdk\platform-tools>adb shell
shell@kanas3gnfc:/ $ su
su
root@kanas3gnfc:/ # cat /dev/block/mmcblk0p13>/mnt/extSdCard/param
cat /dev/block/mmcblk0p13>/mnt/extSdCard/param
root@kanas3gnfc:/ # cd /mnt/extSdCard
cd /mnt/extSdCard
root@kanas3gnfc:/mnt/extSdCard # ls
ls
Android
Apk's
DCIM
LOST.DIR
bluetooth
device.nng
iGO
iGO primo 9.6.29.404739 - 30 jun 2014
param
root@kanas3gnfc:/mnt/extSdCard # tar
tar
BusyBox v1.22.1-Stericson (2014-01-25 17:27:18 CET) multi-call binary.
Usage: tar -[cxtZzJjahmvO] [-X FILE] [-T FILE] [-f TARFILE] [-C DIR] [FILE]...
Create, extract, or list files from a tar file

Operation:
        c       Create
        x       Extract
        t       List
        f       Name of TARFILE ('-' for stdin/out)
        C       Change to DIR before operation
        v       Verbose
        Z       (De)compress using compress
        z       (De)compress using gzip
        J       (De)compress using xz
        j       (De)compress using bzip2
        a       (De)compress using lzma
        O       Extract to stdout
        h       Follow symlinks
        m       Don't restore mtime
        exclude File to exclude
        X       File with names to exclude
        T       File with names to include

1|root@kanas3gnfc:/mnt/extSdCard # tar -t -f param
tar -t -f param
adv-env.img
ani_upload_1_kernel_panic.jpg
ani_upload_2_cp_crash.jpg
ani_upload_3_forced_upload.jpg
ani_upload_4_hardware_reset.jpg
ani_upload_4_smpl.jpg
ani_upload_4_unknown_reset.jpg
ani_upload_4_watchdog_reset.jpg
ani_upload_4_wtsr.jpg
ani_upload_4_wtsr_smpl.jpg
ani_upload_5_user_fault.jpg
ani_upload_6_hsic_disconnected.jpg
download.jpg
download_error.jpg
logo.jpg
lpm.jpg
sud_0.jpg
sud_1.jpg
sud_2.jpg
sud_3.jpg
sud_4.jpg
sud_5.jpg
sud_6.jpg
sud_7.jpg
sud_8.jpg
sud_9.jpg
warning.jpg
root@kanas3gnfc:/mnt/extSdCard #

After changing logo, messing with photos,sizes of the file and other stuff and when i copy new image and replace the original after booting I get default logo.
The tar files in this case doesn't follow the user and file permissions ?
Have check the image and block after changing logo and image, the image/logo is accepted and installed into, but guess there is some checking or something else while booting. The installed image isn't accepted during boot,guess It's missplaced with the original ("from where ?") or am I missing some other possible way the image is/can be stored ina any other image/partition.
Has any1 tried this with our phone ?

The files for flash the param partition and self flashing archive is included as attachement.
The boot logo (logo.jpg) is the file download.jpg.

The animation "Samsung" is in the /system/media inside bootsamsung.qmg
You can check it via bootanimation in /system/bin, use it via adb or u will have to take the battery out to stop the animation or get to the home screen.
 

Attachments

  • UPDATE-logo.zip
    795.6 KB · Views: 3,100
  • param.zip
    604.6 KB · Views: 2,062
Last edited:

Cocolopes

Senior Member
Sep 29, 2010
2,346
1,581
39
Rosario
good....some developing for this phone.

I read that the HTC desire 700 have the same SOC as the core2...they have cwm and Twrp...if I dont read bad...maybe we can use some files for the core2.

I play a little with my gilrdfriend core2...and Im trying to make custom recovery...but no luck. I cant play to much cuz of I broke the phone...my GF will kill me. :D
 
  • Like
Reactions: thekrishna

StratOS_HTC

Senior Member
Sep 25, 2007
697
439
Celje
Realme 8 Pro
Boot animation, boot sound ...

Ok, here is the deal for my GC2 Samsung SM-G355HN :

If u have a original firmware (mine is G355HNXXU0ANH3) the boot animation and boot sound are not stored in kernel,ramdisk any other zip (bootanimation ...)

Samsung has made their own qmf's for animation. You can check your bootanimation preferably throught adb with 'bootanimation' in /system/bin/.

If u start the program in phone U'll have to take the battery out to get your phone usable, the animation is top moded aplication.

...In adb mode press just cancel '<Ctrl>+C' or exit/quit adb shell.

Ok, the bootanimation source (qmf's) are in system/media

Code:
C:\ADB\adt-bundle-windows-x86_64-20140702\sdk\platform-tools>adb shell
shell@kanas3gnfc:/ $ cd system/media
cd system/media
shell@kanas3gnfc:/system/media $ ls -l boot*
ls -l boot*
-rw-r--r-- root     root       307252 2014-08-27 14:56 bootanimation.zip
-rw-r--r-- root     root      2597636 2008-08-01 14:00 bootsamsung.qmg
-rw-r--r-- root     root      1213332 2008-08-01 14:00 bootsamsungloop.qmg
-rw-r--r-- root     root        49319 2014-08-27 14:56 bootsound.mp3
shell@kanas3gnfc:/system/media $
bootanimation.zip as told doesn't do nothing, some chinese leftover stuff here.

'Bootsamsung.qmg' is the boot file while booting after the end the 'bootsamsungloop.qmg' file is loading/showing until the anroid system is fully loaded and activated.
Check the shutdown.qmg ...

Ok, it took me a little bit to find that the sound is not the usual visible bootsound.mp3.

The animation is only for graphical animation, the boot sound is located in system/media/audio/ui (user interface).
Code:
shell@kanas3gnfc:/system/media/audio/ui $ ls -l
ls -l
-rw-r--r-- root     root         7577 2014-08-27 14:56 Alert_on_call.ogg
-rw-r--r-- root     root         5146 2014-08-27 14:56 Auto_focus.ogg
-rw-r--r-- root     root       571497 2014-08-27 14:56 Birdsong_by_the_Lake.ogg
-rw-r--r-- root     root         8059 2014-08-27 14:56 Call_Connect.ogg
-rw-r--r-- root     root         6566 2014-08-27 14:56 Cam_Start.ogg
-rw-r--r-- root     root         7567 2014-08-27 14:56 Cam_Stop.ogg
-rw-r--r-- root     root         6262 2014-08-27 14:56 Camera_Timer.ogg
-rw-r--r-- root     root        26266 2014-08-27 14:56 Camera_Timer_2sec.ogg
-rw-r--r-- root     root         6210 2014-08-27 14:56 Camera_click_short.ogg
-rw-r--r-- root     root         3726 2014-08-27 14:56 Camera_empty.ogg
-rw-r--r-- root     root        14351 2014-08-27 14:56 Charger_Connection.ogg
-rw-r--r-- root     root         6773 2014-08-27 14:56 Dialer_new.ogg
-rw-r--r-- root     root        18648 2014-08-27 14:56 Dock.ogg
-rw-r--r-- root     root       786319 2014-08-27 14:56 Fairy_Fountain.ogg
-rw-r--r-- root     root       637833 2014-08-27 14:56 Gentle_Spring_Rain.ogg
-rw-r--r-- root     root         4713 2014-08-27 14:56 Highlight.ogg
-rw-r--r-- root     root         4705 2014-08-27 14:56 HoverPointer.ogg
-rw-r--r-- root     root        10937 2014-08-27 14:56 Lock.ogg
-rw-r--r-- root     root         6907 2014-08-27 14:56 Lock_none_effect.ogg
-rw-r--r-- root     root         8559 2014-08-27 14:56 Lock_tension.ogg
-rw-r--r-- root     root        14323 2014-08-27 14:56 LowBattery.ogg
-rw-r--r-- root     root       470154 2014-08-27 14:56 Media_preview_Over_the_horizon.ogg
-rw-r--r-- root     root         6687 2014-08-27 14:56 New_chat.ogg
-rw-r--r-- root     root        97411 2008-08-01 14:00 PowerOn.ogg
-rw-r--r-- root     root        11242 2014-08-27 14:56 S_Beam_end.ogg
-rw-r--r-- root     root        12070 2014-08-27 14:56 S_Beam_error.ogg
-rw-r--r-- root     root        13673 2014-08-27 14:56 S_Beam_start.ogg
-rw-r--r-- root     root         9922 2014-08-27 14:56 S_HW_Touch.ogg
-rw-r--r-- root     root         4766 2014-08-27 14:56 S_SIP_Backspace.ogg
-rw-r--r-- root     root         6830 2014-08-27 14:56 Sent_chat.ogg
-rw-r--r-- root     root       558556 2014-08-27 14:56 Serenity.ogg
-rw-r--r-- root     root         9520 2014-08-27 14:56 Shutter.ogg
-rw-r--r-- root     root         6210 2014-08-27 14:56 Shutter_multiple.ogg
-rw-r--r-- root     root         7294 2014-08-27 14:56 SideSync_Connected.ogg
-rw-r--r-- root     root       838441 2014-08-27 14:56 Sparkling_Mist.ogg
-rw-r--r-- root     root        15785 2014-08-27 14:56 TW_Battery_caution.ogg
-rw-r--r-- root     root         8350 2014-08-27 14:56 TW_Call_Disconnect.ogg
-rw-r--r-- root     root         4789 2014-08-27 14:56 TW_SIP.ogg
-rw-r--r-- root     root         7868 2014-08-27 14:56 TW_Silent_mode_off.ogg
-rw-r--r-- root     root         9926 2014-08-27 14:56 TW_Touch.ogg
-rw-r--r-- root     root         5515 2014-08-27 14:56 TW_Volume_control.ogg
-rw-r--r-- root     root        16795 2014-08-27 14:56 Tap_tension.ogg
-rw-r--r-- root     root         5176 2014-08-27 14:56 TextSelection.ogg
-rw-r--r-- root     root       816576 2014-08-27 14:56 The_Secret_Forest.ogg
-rw-r--r-- root     root        18669 2014-08-27 14:56 Undock.ogg
-rw-r--r-- root     root        10939 2014-08-27 14:56 Unlock.ogg
-rw-r--r-- root     root         7287 2014-08-27 14:56 Unlock_none_effect.ogg
-rw-r--r-- root     root        15468 2014-08-27 14:56 Unlock_tension.ogg
-rw-r--r-- root     root        12860 2014-08-27 14:56 Voice_processing.ogg
-rw-r--r-- root     root         8038 2014-08-27 14:56 Voice_start.ogg
-rw-r--r-- root     root        10141 2014-08-27 14:56 Voice_stop.ogg
-rw-r--r-- root     root        10235 2014-08-27 14:56 Zero_Clickr_Ready.ogg
-rw-r--r-- root     root         9520 2014-08-27 14:56 camera_click.ogg
-rw-r--r-- root     root        13878 2014-08-27 14:56 lens_flare_lock.ogg
-rw-r--r-- root     root         4407 2014-08-27 14:56 lens_flare_unlock_silence.ogg
shell@kanas3gnfc:/system/media/audio/ui $

Here and in the /audio/ dir you can insert other music for alarms,notification,ringtones and ui interfaces like :Auto_focus,Undock,Unlock,Camera sounds ...
We are interested in PowerOn.ogg - our boot song :)

It's the ogg format. Save your favourite boot - Power On sound as PowerOn.ogg in /system/media/audio/ui.

You can do it manually or throught ADB,Terminal emulator :
Here is for the ADB :

First make your /system/ is rw (readwrite) :
Code:
shell@kanas3gnfc:/ $ su
su
root@kanas3gnfc:/ # mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
root@kanas3gnfc:/ #

Copy your files to SD root (bootsamsung.qmg,bootsamsungloop.qmg,PowerOn.ogg) or anywhere in the phone, local ADB folder on comp...

overwite *.qmg files in /system/media/ and PowerOn.ogg in /system/media/audio/ui/
Code:
root@kanas3gnfc:/system/media # cd /storage/extSdCard
cd /storage/extSdCard
root@kanas3gnfc:/storage/extSdCard # cp bootsamsung.qmg /system/media/bootsamsung.qmg
system/media/bootsamsung.qmg
root@kanas3gnfc:/storage/extSdCard # cp bootsamsungloop.qmg /system/media/bootsamsungloop.qmg
g /system/media/bootsamsungloop.qmg
root@kanas3gnfc:/storage/extSdCard # cp PowerOn.ogg /system/media/audio/ui/PowerOn.ogg
m/media/audio/ui/PowerOn.ogg
root@kanas3gnfc:/storage/extSdCard #

remount back to ro (readonly) and run bootanimation throught adb to check graphic Power ON sequence only:
Code:
root@kanas3gnfc:/storage/extSdCard # mount -o remount,ro -t ext4 /dev/block/mmcblk0p1 /system
root@kanas3gnfc:/ # bootanimation
bootanimation
^C
C:\ADB\adt-bundle-windows-x86_64-20140702\sdk\platform-tools>

You can also change the permission of the files before ro remount :
chmod 644 is the primary for those 3 files ( -rw-r--r-- root@root ) but not needed if su (#) enabled
Power Off phone and enjoy ... U can change other stuff PowerOff, shutdown ...
Have also provided mine bootanim, loop and sound as update zip recovery package included.

... for now I'm working on to change the boot logo before boot animation.Help or any other infos are mostly wanted.
And about the *.qmg files, check and search the xda, there are lot about it ...
The animations I used are original files from other Samsung devices, PoverOn wav found and converted from the internet.
The update script :
Code:
ui_print("********************************");
ui_print("* StratOS boot animation,sound *");
ui_print("********************************");
ui_print("");
ui_print("For SM-G355H*");
run_program("/xbin/busybox", "mount", "/system");
run_program("/xbin/busybox", "mount", "-o", "rw,remount", "/system", "/system");
ui_print("Deleting files");
delete("/system/media/audio/ui/PowerOn.ogg");
delete("/system/media/bootsamsung.qmg");
delete("/system/media/bootsamsungloop.qmg");
ui_print("Extracting files");
package_extract_dir("system", "/system");
ui_print("");
ui_print("Finished");
run_program("/xbin/sleep", "5");
unmount("/system");

Sent from my SM-G355HN using XDA Free mobile app
 
Last edited:
  • Like
Reactions: Cyborg Ninja

Cocolopes

Senior Member
Sep 29, 2010
2,346
1,581
39
Rosario
Ok, here is the deal for my GC2 Samsung SM-G355HN :



If u have a original firmware (mine is G355HNXXU0ANH3) the boot animation and boot sound are not stored in kernel,ramdisk any other zip (bootanimation ...)

Samsung has made their own qmf's for animation. You can check your bootanimation preferably throught adb with 'bootanimation' in /system/bin/.

If u start the program in phone U'll have to take the battery out to get your phone usable, the animation is top moded aplication.

...In adb mode press just cancel '<Ctrl>+C' or exit/quit adb shell.



Ok, the bootanimation source (qmf's) are in system/media

Code:
C:\ADB\adt-bundle-windows-x86_64-20140702\sdk\platform-tools>adb shell

shell@kanas3gnfc:/ $ cd system/media

cd system/media

shell@kanas3gnfc:/system/media $ ls -l boot*

ls -l boot*

-rw-r--r-- root     root       307252 2014-08-27 14:56 bootanimation.zip

-rw-r--r-- root     root      2597636 2008-08-01 14:00 bootsamsung.qmg

-rw-r--r-- root     root      1213332 2008-08-01 14:00 bootsamsungloop.qmg

-rw-r--r-- root     root        49319 2014-08-27 14:56 bootsound.mp3

shell@kanas3gnfc:/system/media $



bootanimation.zip as told doesn't do nothing, some chinese leftover stuff here.

'Bootsamsung.qmg' is the boot file while booting after the end the 'bootsamsungloop.qmg' file is loading/showing until the anroid system is fully loaded and activated.

Check the shutdown.qmg ...



Ok, it took me a little bit to find that the sound is not the usual visible bootsound.mp3.



The animation is only for graphical animation, the boot sound is located in system/media/audio/ui (user interface).

Code:
shell@kanas3gnfc:/system/media/audio/ui $ ls -l

ls -l

-rw-r--r-- root     root         7577 2014-08-27 14:56 Alert_on_call.ogg

-rw-r--r-- root     root         5146 2014-08-27 14:56 Auto_focus.ogg

-rw-r--r-- root     root       571497 2014-08-27 14:56 Birdsong_by_the_Lake.ogg

-rw-r--r-- root     root         8059 2014-08-27 14:56 Call_Connect.ogg

-rw-r--r-- root     root         6566 2014-08-27 14:56 Cam_Start.ogg

-rw-r--r-- root     root         7567 2014-08-27 14:56 Cam_Stop.ogg

-rw-r--r-- root     root         6262 2014-08-27 14:56 Camera_Timer.ogg

-rw-r--r-- root     root        26266 2014-08-27 14:56 Camera_Timer_2sec.ogg

-rw-r--r-- root     root         6210 2014-08-27 14:56 Camera_click_short.ogg

-rw-r--r-- root     root         3726 2014-08-27 14:56 Camera_empty.ogg

-rw-r--r-- root     root        14351 2014-08-27 14:56 Charger_Connection.ogg

-rw-r--r-- root     root         6773 2014-08-27 14:56 Dialer_new.ogg

-rw-r--r-- root     root        18648 2014-08-27 14:56 Dock.ogg

-rw-r--r-- root     root       786319 2014-08-27 14:56 Fairy_Fountain.ogg

-rw-r--r-- root     root       637833 2014-08-27 14:56 Gentle_Spring_Rain.ogg

-rw-r--r-- root     root         4713 2014-08-27 14:56 Highlight.ogg

-rw-r--r-- root     root         4705 2014-08-27 14:56 HoverPointer.ogg

-rw-r--r-- root     root        10937 2014-08-27 14:56 Lock.ogg

-rw-r--r-- root     root         6907 2014-08-27 14:56 Lock_none_effect.ogg

-rw-r--r-- root     root         8559 2014-08-27 14:56 Lock_tension.ogg

-rw-r--r-- root     root        14323 2014-08-27 14:56 LowBattery.ogg

-rw-r--r-- root     root       470154 2014-08-27 14:56 Media_preview_Over_the_horizon.ogg

-rw-r--r-- root     root         6687 2014-08-27 14:56 New_chat.ogg

-rw-r--r-- root     root        97411 2008-08-01 14:00 PowerOn.ogg

-rw-r--r-- root     root        11242 2014-08-27 14:56 S_Beam_end.ogg

-rw-r--r-- root     root        12070 2014-08-27 14:56 S_Beam_error.ogg

-rw-r--r-- root     root        13673 2014-08-27 14:56 S_Beam_start.ogg

-rw-r--r-- root     root         9922 2014-08-27 14:56 S_HW_Touch.ogg

-rw-r--r-- root     root         4766 2014-08-27 14:56 S_SIP_Backspace.ogg

-rw-r--r-- root     root         6830 2014-08-27 14:56 Sent_chat.ogg

-rw-r--r-- root     root       558556 2014-08-27 14:56 Serenity.ogg

-rw-r--r-- root     root         9520 2014-08-27 14:56 Shutter.ogg

-rw-r--r-- root     root         6210 2014-08-27 14:56 Shutter_multiple.ogg

-rw-r--r-- root     root         7294 2014-08-27 14:56 SideSync_Connected.ogg

-rw-r--r-- root     root       838441 2014-08-27 14:56 Sparkling_Mist.ogg

-rw-r--r-- root     root        15785 2014-08-27 14:56 TW_Battery_caution.ogg

-rw-r--r-- root     root         8350 2014-08-27 14:56 TW_Call_Disconnect.ogg

-rw-r--r-- root     root         4789 2014-08-27 14:56 TW_SIP.ogg

-rw-r--r-- root     root         7868 2014-08-27 14:56 TW_Silent_mode_off.ogg

-rw-r--r-- root     root         9926 2014-08-27 14:56 TW_Touch.ogg

-rw-r--r-- root     root         5515 2014-08-27 14:56 TW_Volume_control.ogg

-rw-r--r-- root     root        16795 2014-08-27 14:56 Tap_tension.ogg

-rw-r--r-- root     root         5176 2014-08-27 14:56 TextSelection.ogg

-rw-r--r-- root     root       816576 2014-08-27 14:56 The_Secret_Forest.ogg

-rw-r--r-- root     root        18669 2014-08-27 14:56 Undock.ogg

-rw-r--r-- root     root        10939 2014-08-27 14:56 Unlock.ogg

-rw-r--r-- root     root         7287 2014-08-27 14:56 Unlock_none_effect.ogg

-rw-r--r-- root     root        15468 2014-08-27 14:56 Unlock_tension.ogg

-rw-r--r-- root     root        12860 2014-08-27 14:56 Voice_processing.ogg

-rw-r--r-- root     root         8038 2014-08-27 14:56 Voice_start.ogg

-rw-r--r-- root     root        10141 2014-08-27 14:56 Voice_stop.ogg

-rw-r--r-- root     root        10235 2014-08-27 14:56 Zero_Clickr_Ready.ogg

-rw-r--r-- root     root         9520 2014-08-27 14:56 camera_click.ogg

-rw-r--r-- root     root        13878 2014-08-27 14:56 lens_flare_lock.ogg

-rw-r--r-- root     root         4407 2014-08-27 14:56 lens_flare_unlock_silence.ogg

shell@kanas3gnfc:/system/media/audio/ui $

Here and in the /audio/ dir you can insert other music for alarms,notification,ringtones and ui interfaces like :Auto_focus,Undock,Unlock,Camera sounds ...

We are interested in PowerOn.ogg - our boot song :)

It's the ogg format. Save your favourite boot - Power On sound as PowerOn.ogg in /system/media/audio/ui.



You can do it manually or throught ADB,Terminal emulator :

Here is for the ADB :



First make your /system/ is rw (readwrite) :

Code:
shell@kanas3gnfc:/ $ su

su

root@kanas3gnfc:/ # mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system

mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system

root@kanas3gnfc:/ #



Copy your files to SD root (bootsamsung.qmg,bootsamsungloop.qmg,PowerOn.ogg) or anywhere in the phone, local ADB folder on comp...

overwite *.qmg files in /system/media/ and PowerOn.ogg in /system/media/audio/ui/

Code:
root@kanas3gnfc:/system/media # cd /storage/extSdCard

cd /storage/extSdCard

root@kanas3gnfc:/storage/extSdCard # cp bootsamsung.qmg /system/media/bootsamsung.qmg

ystem/media/bootsamsung.qmg

root@kanas3gnfc:/storage/extSdCard # cp bootsamsungloop.qmg /system/media/bootsamsungloop.qmg

g /system/media/bootsamsungloop.qmg

root@kanas3gnfc:/storage/extSdCard # cp PowerOn.ogg /system/media/audio/ui/PowerOn.ogg

m/media/audio/ui/PowerOn.ogg

root@kanas3gnfc:/storage/extSdCard #



remount back to ro (readonly) and run bootanimation throught adb to check graphic Power ON sequence only:

Code:
root@kanas3gnfc:/storage/extSdCard # mount -o remount,ro -t ext4 /dev/block/mmcblk0p1 /system

root@kanas3gnfc:/ # bootanimation

bootanimation

^C

C:\ADB\adt-bundle-windows-x86_64-20140702\sdk\platform-tools>



You can also change the permission of the files before ro remount :

chmod 644 is the primary for those 3 files ( -rw-r--r-- root@root ) but not needed if su (#) enabled

Power Off phone and enjoy ... U can change other stuff PowerOff, shutdown ...

Have also provided mine bootanim, loop and sound as update zip recovery package included.



... for now I'm working on to change the boot logo before boot animation.Help or any other infos are mostly wanted.



And about the *.qmg files, check and search the xda, there are lot about it ...

The animations I used are original files from other Samsung devices, PoverOn wav found and converted from the internet.



The update script :

Code:
ui_print("********************************");


ui_print("* StratOS boot animation,sound *");


ui_print("********************************");


ui_print("");


ui_print("For SM-G355H*");




run_program("/xbin/busybox", "mount", "/system");


run_program("/xbin/busybox", "mount", "-o", "rw,remount", "/system", "/system");





ui_print("Deleting files");


delete("/system/media/audio/ui/PowerOn.ogg");


delete("/system/media/bootsamsung.qmg");


delete("/system/media/bootsamsungloop.qmg");





ui_print("Extracting files");


package_extract_dir("system", "/system");



ui_print("");


ui_print("Finished");




run_program("/xbin/sleep", "5");



unmount("/system");

Sent from my SM-G355HN using XDA Free mobile app

Why you use adb? its easy to use a root file manager like ESfilemanager....and just copy and give permissions. Im doing it like that and no problems...:D....just an idea.

p/s: I send you a PM....I make a zip to deodex the rom...so we can use the TW mods in xda (all the mods are for Deodex roms). I cant test it, but maybe its a good start point to mod the phone.

Thanks for your hardwork! :good:
 

StratOS_HTC

Senior Member
Sep 25, 2007
697
439
Celje
Realme 8 Pro


Why you use adb? its easy to use a root file manager like ESfilemanager....and just copy and give permissions. Im doing it like that and no problems...:D....just an idea.

p/s: I send you a PM....I make a zip to deodex the rom...so we can use the TW mods in xda (all the mods are for Deodex roms). I cant test it, but maybe its a good start point to mod the phone.

Thanks for your hardwork! :good:

Yes it would be great.
Some folders are not visible on different carriers,manufacturers, because they have to be manualy mounted into partition of folder, just like /system/media/, but you can manualy mount it for rw if you know where to link to/mount to.
It's good to post some code to enforce other users to see what's begind ...
Have checked the PM, will try something tomorrow ...
 
  • Like
Reactions: Cocolopes

Cocolopes

Senior Member
Sep 29, 2010
2,346
1,581
39
Rosario
Yes it would be great.
Some folders are not visible on different carriers,manufacturers, because they have to be manualy mounted into partition of folder, just like /system/media/, but you can manualy mount it for rw if you know where to link to/mount to.
It's good to post some code to enforce other users to see what's begind ...
Have checked the PM, will try something tomorrow ...

well...I just did it...and everything works great. (I have to manualy delete de odex files cuz stock recovery dont use the script to do it in the zip)

now I will try some mods for other samsung phones...
 
  • Like
Reactions: StratOS_HTC

StratOS_HTC

Senior Member
Sep 25, 2007
697
439
Celje
Realme 8 Pro
well...I just did it...and everything works great. (I have to manualy delete de odex files cuz stock recovery dont use the script to do it in the zip)

now I will try some mods for other samsung phones...
Well after quick view there is I guess an error in update binnary in zip :
Code:
ui_print("------------------------------------------");
ui_print("  Installing Deodexed Apps and Framework  ");
ui_print("------------------------------------------");
ui_print("           Deleting odex-files            ");
run_program("/sbin/busybox", "mount", "/data");
run_program("/sbin/busybox", "mount", "/system");
package_extract_file("del_odex.sh", "/data/local/tmp/del_odex.sh");
set_perm(0, 0, 0777, "/data/local[COLOR="Red"][B]//[/B][/COLOR]tmp/del_odex.sh");
run_program("/data/local[COLOR="Red"][B]//[/B][/COLOR]tmp/del_odex.sh");

You should manually edit it

the *.sh is :
Code:
#!/sbin/sh
rm -rf /system/app/*.odex
rm -rf /system/framework/*.odex
rm -rf /system/priv-app/*.odex
exit 0

Think in sh U have to set the fs /system/ to rw again before deleting
Yes, thing are doing ok. I could upload the SIO version of latest rom, it contains some usefull apps ... if u want to.
So the update will have to clear those *.odex :)
 
Last edited:
  • Like
Reactions: Cocolopes

Cocolopes

Senior Member
Sep 29, 2010
2,346
1,581
39
Rosario
Well after quick view there is I guess an error in update binnary in zip :
Code:
ui_print("------------------------------------------");
ui_print("  Installing Deodexed Apps and Framework  ");
ui_print("------------------------------------------");
ui_print("           Deleting odex-files            ");
run_program("/sbin/busybox", "mount", "/data");
run_program("/sbin/busybox", "mount", "/system");
package_extract_file("del_odex.sh", "/data/local/tmp/del_odex.sh");
set_perm(0, 0, 0777, "/data/local[COLOR="Red"][B]//[/B][/COLOR]tmp/del_odex.sh");
run_program("/data/local[COLOR="Red"][B]//[/B][/COLOR]tmp/del_odex.sh");

You should manually edit it

the *.sh is :
Code:
#!/sbin/sh
rm -rf /system/app/*.odex
rm -rf /system/framework/*.odex
rm -rf /system/priv-app/*.odex
exit 0

Think in sh U have to set the fs /system/ to rw again before deleting
Yes, thing are doing ok. I could upload the SIO version of latest rom, it contains some usefull apps ... if u want to.
So the update will have to clear those *.odex :)

Great...I just replace some system apps like systemIU, secSetting, SecSettingProvider and other to get some new options...like 7 effects in lock screen....;) so options dont work...and I need to fix it...but Its something....
 
  • Like
Reactions: StratOS_HTC

StratOS_HTC

Senior Member
Sep 25, 2007
697
439
Celje
Realme 8 Pro
boot logo ?? where

Trying to get something for boot logo,as mentioned before param have the logo,but this thing doesn't work or it has to be changed.It has to be somewhere in low level of boot sequence.
Messing with decompilation of kernel and bootloader,spl to check for the image.
 

StratOS_HTC

Senior Member
Sep 25, 2007
697
439
Celje
Realme 8 Pro
Boot logo

Trying to get something for boot logo,as mentioned before param have the logo,but this thing doesn't work or it has to be changed.It has to be somewhere in low level of boot sequence.
Messing with decompilation of kernel and bootloader,spl to check for the image.
As mentioned before, have made a sorted tar ball but it won't work. The file is accepted in block ( dev/block/mmcblk0p13 ), but as told before the logo must be extracted from somwhere else before. The question is from where and why ?
On other Samsung devices it is in the param (dev/block/mmcblk0p13). If any1 wants to check it with odin and create your own tar & md5 checksum feel free to visit : http://www.rwilco12.com/forum/showthread.php?tid=92 but I guess it will be the same .

Buying a beer if some1 get this right or find out where the hell is it ...
 

StratOS_HTC

Senior Member
Sep 25, 2007
697
439
Celje
Realme 8 Pro
mmcblk0p13 - Samsung leftover ?

Update : The param.lfs / PARAM/ mmcblk0p13 is leftover.
Original files ( Even download logo ... ) is/are stored somewhere else.

Have deleted / changed mmvblk0p13 to 0 b file, at boot it shows logo, so the logo must be somwhere in low level.
sboot.bin / SPRDCP.img / SPRDDSP.img / nvitem.bin / hidden.img ???

Help appriciated
 

StratOS_HTC

Senior Member
Sep 25, 2007
697
439
Celje
Realme 8 Pro
Samsung osrc comments delivery notification

[SAMSUNG OSRC COMMENTS DELIVERY NOTIFICATION]

classification : Mobile Phone
model name : SM-G355HN_EUR

Dear Customer,

Thank you for your interest in our product.

There are some proprietary which we developed by ourselves in kernel.
When you make custom ROM, it will be different from our offical ROM because of not opening our proprietary.

Our offical ROM is optimized for our device, so we don't recommand and guarantee to execute custom ROM.
So, we can't officially give you information how to execute or download your custom ROM.
However you can easily find it through internet because there are lot's of information regarding what you want.


It would be appreciated if you can understand our situation.
Please accept our apology for not being able to handle your request up to your satisfaction.

Thank you. Sincerely yours,


Select URL below to evaluate satisfaction for our reply.
http://opensource.samsung.com/satisfaction/mail_satisfaction.do?mailId=???????



----- Original Message -----
Sender : StratOS_HTC#####
Date : 2015-03-21 19:28:42 (GMT+09:00)

Greetings.

I have created the custom rom based on stock release and modified by my needs, even changed kernel,ramdisk and recovery sucessfully.
I have a problem : Cannot find resource to edit boot logo.
The param partition/ param.lfs files are just leftovers. Just want to know where can I find resources to edit boot logo ( not boot animation ).
I'm asking this because I really don't want to get messed with bootloader and other low level boot sources.
I'm just asking for reveal of the resources to edit / how to recompile the boot logo for Samsung G355HN Galaxy Core 2 model.

Waiting for your reply.
Thx in advance.

Regards

Samsung Open Source Release Center
http://opensource.samsung.com
 

jasbinkarki

Member
Jan 3, 2015
42
26
kathmandu
need original bootlogo for core 2

Greeting every1

This is gor Galaxy Core:) 2 phones ( SM-G355HN )

Been messing about the logo on my GC2. As mentioned it's in the param.lfs (for flashing with Odin) or /dev/block/mmcblk0p13.
You can do it with emulator,root explorer , adb or any other way ...
With the adb :

Code:
C:\ADB>cmd /k cd "C:\ADB\adt-bundle-windows-x86_64-20140702\sdk\platform-tools"
C:\ADB\adt-bundle-windows-x86_64-20140702\sdk\platform-tools>adb shell
shell@kanas3gnfc:/ $ su
su
root@kanas3gnfc:/ # cat /dev/block/mmcblk0p13>/mnt/extSdCard/param
cat /dev/block/mmcblk0p13>/mnt/extSdCard/param
root@kanas3gnfc:/ # cd /mnt/extSdCard
cd /mnt/extSdCard
root@kanas3gnfc:/mnt/extSdCard # ls
ls
Android
Apk's
DCIM
LOST.DIR
bluetooth
device.nng
iGO
iGO primo 9.6.29.404739 - 30 jun 2014
param
root@kanas3gnfc:/mnt/extSdCard # tar
tar
BusyBox v1.22.1-Stericson (2014-01-25 17:27:18 CET) multi-call binary.
Usage: tar -[cxtZzJjahmvO] [-X FILE] [-T FILE] [-f TARFILE] [-C DIR] [FILE]...
Create, extract, or list files from a tar file

Operation:
        c       Create
        x       Extract
        t       List
        f       Name of TARFILE ('-' for stdin/out)
        C       Change to DIR before operation
        v       Verbose
        Z       (De)compress using compress
        z       (De)compress using gzip
        J       (De)compress using xz
        j       (De)compress using bzip2
        a       (De)compress using lzma
        O       Extract to stdout
        h       Follow symlinks
        m       Don't restore mtime
        exclude File to exclude
        X       File with names to exclude
        T       File with names to include

1|root@kanas3gnfc:/mnt/extSdCard # tar -t -f param
tar -t -f param
adv-env.img
ani_upload_1_kernel_panic.jpg
ani_upload_2_cp_crash.jpg
ani_upload_3_forced_upload.jpg
ani_upload_4_hardware_reset.jpg
ani_upload_4_smpl.jpg
ani_upload_4_unknown_reset.jpg
ani_upload_4_watchdog_reset.jpg
ani_upload_4_wtsr.jpg
ani_upload_4_wtsr_smpl.jpg
ani_upload_5_user_fault.jpg
ani_upload_6_hsic_disconnected.jpg
download.jpg
download_error.jpg
logo.jpg
lpm.jpg
sud_0.jpg
sud_1.jpg
sud_2.jpg
sud_3.jpg
sud_4.jpg
sud_5.jpg
sud_6.jpg
sud_7.jpg
sud_8.jpg
sud_9.jpg
warning.jpg
root@kanas3gnfc:/mnt/extSdCard #

After changing logo, messing with photos,sizes of the file and other stuff and when i copy new image and replace the original after booting I get default logo.
The tar files in this case doesn't follow the user and file permissions ?
Have check the image and block after changing logo and image, the image/logo is accepted and installed into, but guess there is some checking or something else while booting. The installed image isn't accepted during boot,guess It's missplaced with the original ("from where ?") or am I missing some other possible way the image is/can be stored ina any other image/partition.
Has any1 tried this with our phone ?

The files for flash the param partition and self flashing archive is included as attachement.
The boot logo (logo.jpg) is the file download.jpg.

The animation "Samsung" is in the /system/media inside bootsamsung.qmg
You can check it via bootanimation in /system/bin, use it via adb or u will have to take the battery out to stop the animation or get to the home screen.


The process seems.quite complicated n i didnt understand..
Will you plz upload the original stock boot logo and procedure to flast it
 

Y300-0100

Senior Member
Aug 11, 2014
311
269
Podgorica
As mentioned before, have made a sorted tar ball but it won't work. The file is accepted in block ( dev/block/mmcblk0p13 ), but as told before the logo must be extracted from somwhere else before. The question is from where and why ?
On other Samsung devices it is in the param (dev/block/mmcblk0p13). If any1 wants to check it with odin and create your own tar & md5 checksum feel free to visit : http://www.rwilco12.com/forum/showthread.php?tid=92 but I guess it will be the same .

Buying a beer if some1 get this right or find out where the hell is it ...

Try for boot animation:
framework-res/assets/sounds/bootanim0.raw and bootanim1.raw

about samsung splash boot img:
http://xdaforums.com/galaxy-s2/themes-apps/logo-img-param-lfs-t1315401
 
Last edited:

StratOS_HTC

Senior Member
Sep 25, 2007
697
439
Celje
Realme 8 Pro
Try for boot animation:
framework-res/assets/sounds/bootanim0.raw and bootanim1.raw
Boot animation/boot sounds for our device has allready been changed along time ago in this post by me :

http://xdaforums.com/showpost.php?p=56610974&postcount=3


The splash / lfs is just another leftower. The splash is located in kernel itself. The beer for boot logo for our devices is still in my fridge :)
http://xdaforums.com/showpost.php?p=59556505&postcount=11


The process seems.quite complicated n i didnt understand..
Will you plz upload the original stock boot logo and procedure to flast it
The "process" is simple, it's not a process. The boot logo is hidden/integrated in lower level kernel:confused:
I cannot get source or resource to handle it. So for now still no knowable option how to do it.

Boot anims,boot sounds are simple to change, see previous post in this thread.

BEER :fingers-crossed:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Greeting every1

    This is gor Galaxy Core 2 phones ( SM-G355HN )

    Been messing about the logo on my GC2. As mentioned it's in the param.lfs (for flashing with Odin) or /dev/block/mmcblk0p13.
    You can do it with emulator,root explorer , adb or any other way ...
    With the adb :

    Code:
    C:\ADB>cmd /k cd "C:\ADB\adt-bundle-windows-x86_64-20140702\sdk\platform-tools"
    C:\ADB\adt-bundle-windows-x86_64-20140702\sdk\platform-tools>adb shell
    shell@kanas3gnfc:/ $ su
    su
    root@kanas3gnfc:/ # cat /dev/block/mmcblk0p13>/mnt/extSdCard/param
    cat /dev/block/mmcblk0p13>/mnt/extSdCard/param
    root@kanas3gnfc:/ # cd /mnt/extSdCard
    cd /mnt/extSdCard
    root@kanas3gnfc:/mnt/extSdCard # ls
    ls
    Android
    Apk's
    DCIM
    LOST.DIR
    bluetooth
    device.nng
    iGO
    iGO primo 9.6.29.404739 - 30 jun 2014
    param
    root@kanas3gnfc:/mnt/extSdCard # tar
    tar
    BusyBox v1.22.1-Stericson (2014-01-25 17:27:18 CET) multi-call binary.
    Usage: tar -[cxtZzJjahmvO] [-X FILE] [-T FILE] [-f TARFILE] [-C DIR] [FILE]...
    Create, extract, or list files from a tar file
    
    Operation:
            c       Create
            x       Extract
            t       List
            f       Name of TARFILE ('-' for stdin/out)
            C       Change to DIR before operation
            v       Verbose
            Z       (De)compress using compress
            z       (De)compress using gzip
            J       (De)compress using xz
            j       (De)compress using bzip2
            a       (De)compress using lzma
            O       Extract to stdout
            h       Follow symlinks
            m       Don't restore mtime
            exclude File to exclude
            X       File with names to exclude
            T       File with names to include
    
    1|root@kanas3gnfc:/mnt/extSdCard # tar -t -f param
    tar -t -f param
    adv-env.img
    ani_upload_1_kernel_panic.jpg
    ani_upload_2_cp_crash.jpg
    ani_upload_3_forced_upload.jpg
    ani_upload_4_hardware_reset.jpg
    ani_upload_4_smpl.jpg
    ani_upload_4_unknown_reset.jpg
    ani_upload_4_watchdog_reset.jpg
    ani_upload_4_wtsr.jpg
    ani_upload_4_wtsr_smpl.jpg
    ani_upload_5_user_fault.jpg
    ani_upload_6_hsic_disconnected.jpg
    download.jpg
    download_error.jpg
    logo.jpg
    lpm.jpg
    sud_0.jpg
    sud_1.jpg
    sud_2.jpg
    sud_3.jpg
    sud_4.jpg
    sud_5.jpg
    sud_6.jpg
    sud_7.jpg
    sud_8.jpg
    sud_9.jpg
    warning.jpg
    root@kanas3gnfc:/mnt/extSdCard #

    After changing logo, messing with photos,sizes of the file and other stuff and when i copy new image and replace the original after booting I get default logo.
    The tar files in this case doesn't follow the user and file permissions ?
    Have check the image and block after changing logo and image, the image/logo is accepted and installed into, but guess there is some checking or something else while booting. The installed image isn't accepted during boot,guess It's missplaced with the original ("from where ?") or am I missing some other possible way the image is/can be stored ina any other image/partition.
    Has any1 tried this with our phone ?

    The files for flash the param partition and self flashing archive is included as attachement.
    The boot logo (logo.jpg) is the file download.jpg.

    The animation "Samsung" is in the /system/media inside bootsamsung.qmg
    You can check it via bootanimation in /system/bin, use it via adb or u will have to take the battery out to stop the animation or get to the home screen.
    1
    good....some developing for this phone.

    I read that the HTC desire 700 have the same SOC as the core2...they have cwm and Twrp...if I dont read bad...maybe we can use some files for the core2.

    I play a little with my gilrdfriend core2...and Im trying to make custom recovery...but no luck. I cant play to much cuz of I broke the phone...my GF will kill me. :D
    1
    Boot animation, boot sound ...

    Ok, here is the deal for my GC2 Samsung SM-G355HN :

    If u have a original firmware (mine is G355HNXXU0ANH3) the boot animation and boot sound are not stored in kernel,ramdisk any other zip (bootanimation ...)

    Samsung has made their own qmf's for animation. You can check your bootanimation preferably throught adb with 'bootanimation' in /system/bin/.

    If u start the program in phone U'll have to take the battery out to get your phone usable, the animation is top moded aplication.

    ...In adb mode press just cancel '<Ctrl>+C' or exit/quit adb shell.

    Ok, the bootanimation source (qmf's) are in system/media

    Code:
    C:\ADB\adt-bundle-windows-x86_64-20140702\sdk\platform-tools>adb shell
    shell@kanas3gnfc:/ $ cd system/media
    cd system/media
    shell@kanas3gnfc:/system/media $ ls -l boot*
    ls -l boot*
    -rw-r--r-- root     root       307252 2014-08-27 14:56 bootanimation.zip
    -rw-r--r-- root     root      2597636 2008-08-01 14:00 bootsamsung.qmg
    -rw-r--r-- root     root      1213332 2008-08-01 14:00 bootsamsungloop.qmg
    -rw-r--r-- root     root        49319 2014-08-27 14:56 bootsound.mp3
    shell@kanas3gnfc:/system/media $
    bootanimation.zip as told doesn't do nothing, some chinese leftover stuff here.

    'Bootsamsung.qmg' is the boot file while booting after the end the 'bootsamsungloop.qmg' file is loading/showing until the anroid system is fully loaded and activated.
    Check the shutdown.qmg ...

    Ok, it took me a little bit to find that the sound is not the usual visible bootsound.mp3.

    The animation is only for graphical animation, the boot sound is located in system/media/audio/ui (user interface).
    Code:
    shell@kanas3gnfc:/system/media/audio/ui $ ls -l
    ls -l
    -rw-r--r-- root     root         7577 2014-08-27 14:56 Alert_on_call.ogg
    -rw-r--r-- root     root         5146 2014-08-27 14:56 Auto_focus.ogg
    -rw-r--r-- root     root       571497 2014-08-27 14:56 Birdsong_by_the_Lake.ogg
    -rw-r--r-- root     root         8059 2014-08-27 14:56 Call_Connect.ogg
    -rw-r--r-- root     root         6566 2014-08-27 14:56 Cam_Start.ogg
    -rw-r--r-- root     root         7567 2014-08-27 14:56 Cam_Stop.ogg
    -rw-r--r-- root     root         6262 2014-08-27 14:56 Camera_Timer.ogg
    -rw-r--r-- root     root        26266 2014-08-27 14:56 Camera_Timer_2sec.ogg
    -rw-r--r-- root     root         6210 2014-08-27 14:56 Camera_click_short.ogg
    -rw-r--r-- root     root         3726 2014-08-27 14:56 Camera_empty.ogg
    -rw-r--r-- root     root        14351 2014-08-27 14:56 Charger_Connection.ogg
    -rw-r--r-- root     root         6773 2014-08-27 14:56 Dialer_new.ogg
    -rw-r--r-- root     root        18648 2014-08-27 14:56 Dock.ogg
    -rw-r--r-- root     root       786319 2014-08-27 14:56 Fairy_Fountain.ogg
    -rw-r--r-- root     root       637833 2014-08-27 14:56 Gentle_Spring_Rain.ogg
    -rw-r--r-- root     root         4713 2014-08-27 14:56 Highlight.ogg
    -rw-r--r-- root     root         4705 2014-08-27 14:56 HoverPointer.ogg
    -rw-r--r-- root     root        10937 2014-08-27 14:56 Lock.ogg
    -rw-r--r-- root     root         6907 2014-08-27 14:56 Lock_none_effect.ogg
    -rw-r--r-- root     root         8559 2014-08-27 14:56 Lock_tension.ogg
    -rw-r--r-- root     root        14323 2014-08-27 14:56 LowBattery.ogg
    -rw-r--r-- root     root       470154 2014-08-27 14:56 Media_preview_Over_the_horizon.ogg
    -rw-r--r-- root     root         6687 2014-08-27 14:56 New_chat.ogg
    -rw-r--r-- root     root        97411 2008-08-01 14:00 PowerOn.ogg
    -rw-r--r-- root     root        11242 2014-08-27 14:56 S_Beam_end.ogg
    -rw-r--r-- root     root        12070 2014-08-27 14:56 S_Beam_error.ogg
    -rw-r--r-- root     root        13673 2014-08-27 14:56 S_Beam_start.ogg
    -rw-r--r-- root     root         9922 2014-08-27 14:56 S_HW_Touch.ogg
    -rw-r--r-- root     root         4766 2014-08-27 14:56 S_SIP_Backspace.ogg
    -rw-r--r-- root     root         6830 2014-08-27 14:56 Sent_chat.ogg
    -rw-r--r-- root     root       558556 2014-08-27 14:56 Serenity.ogg
    -rw-r--r-- root     root         9520 2014-08-27 14:56 Shutter.ogg
    -rw-r--r-- root     root         6210 2014-08-27 14:56 Shutter_multiple.ogg
    -rw-r--r-- root     root         7294 2014-08-27 14:56 SideSync_Connected.ogg
    -rw-r--r-- root     root       838441 2014-08-27 14:56 Sparkling_Mist.ogg
    -rw-r--r-- root     root        15785 2014-08-27 14:56 TW_Battery_caution.ogg
    -rw-r--r-- root     root         8350 2014-08-27 14:56 TW_Call_Disconnect.ogg
    -rw-r--r-- root     root         4789 2014-08-27 14:56 TW_SIP.ogg
    -rw-r--r-- root     root         7868 2014-08-27 14:56 TW_Silent_mode_off.ogg
    -rw-r--r-- root     root         9926 2014-08-27 14:56 TW_Touch.ogg
    -rw-r--r-- root     root         5515 2014-08-27 14:56 TW_Volume_control.ogg
    -rw-r--r-- root     root        16795 2014-08-27 14:56 Tap_tension.ogg
    -rw-r--r-- root     root         5176 2014-08-27 14:56 TextSelection.ogg
    -rw-r--r-- root     root       816576 2014-08-27 14:56 The_Secret_Forest.ogg
    -rw-r--r-- root     root        18669 2014-08-27 14:56 Undock.ogg
    -rw-r--r-- root     root        10939 2014-08-27 14:56 Unlock.ogg
    -rw-r--r-- root     root         7287 2014-08-27 14:56 Unlock_none_effect.ogg
    -rw-r--r-- root     root        15468 2014-08-27 14:56 Unlock_tension.ogg
    -rw-r--r-- root     root        12860 2014-08-27 14:56 Voice_processing.ogg
    -rw-r--r-- root     root         8038 2014-08-27 14:56 Voice_start.ogg
    -rw-r--r-- root     root        10141 2014-08-27 14:56 Voice_stop.ogg
    -rw-r--r-- root     root        10235 2014-08-27 14:56 Zero_Clickr_Ready.ogg
    -rw-r--r-- root     root         9520 2014-08-27 14:56 camera_click.ogg
    -rw-r--r-- root     root        13878 2014-08-27 14:56 lens_flare_lock.ogg
    -rw-r--r-- root     root         4407 2014-08-27 14:56 lens_flare_unlock_silence.ogg
    shell@kanas3gnfc:/system/media/audio/ui $

    Here and in the /audio/ dir you can insert other music for alarms,notification,ringtones and ui interfaces like :Auto_focus,Undock,Unlock,Camera sounds ...
    We are interested in PowerOn.ogg - our boot song :)

    It's the ogg format. Save your favourite boot - Power On sound as PowerOn.ogg in /system/media/audio/ui.

    You can do it manually or throught ADB,Terminal emulator :
    Here is for the ADB :

    First make your /system/ is rw (readwrite) :
    Code:
    shell@kanas3gnfc:/ $ su
    su
    root@kanas3gnfc:/ # mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
    mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
    root@kanas3gnfc:/ #

    Copy your files to SD root (bootsamsung.qmg,bootsamsungloop.qmg,PowerOn.ogg) or anywhere in the phone, local ADB folder on comp...

    overwite *.qmg files in /system/media/ and PowerOn.ogg in /system/media/audio/ui/
    Code:
    root@kanas3gnfc:/system/media # cd /storage/extSdCard
    cd /storage/extSdCard
    root@kanas3gnfc:/storage/extSdCard # cp bootsamsung.qmg /system/media/bootsamsung.qmg
    system/media/bootsamsung.qmg
    root@kanas3gnfc:/storage/extSdCard # cp bootsamsungloop.qmg /system/media/bootsamsungloop.qmg
    g /system/media/bootsamsungloop.qmg
    root@kanas3gnfc:/storage/extSdCard # cp PowerOn.ogg /system/media/audio/ui/PowerOn.ogg
    m/media/audio/ui/PowerOn.ogg
    root@kanas3gnfc:/storage/extSdCard #

    remount back to ro (readonly) and run bootanimation throught adb to check graphic Power ON sequence only:
    Code:
    root@kanas3gnfc:/storage/extSdCard # mount -o remount,ro -t ext4 /dev/block/mmcblk0p1 /system
    root@kanas3gnfc:/ # bootanimation
    bootanimation
    ^C
    C:\ADB\adt-bundle-windows-x86_64-20140702\sdk\platform-tools>

    You can also change the permission of the files before ro remount :
    chmod 644 is the primary for those 3 files ( -rw-r--r-- root@root ) but not needed if su (#) enabled
    Power Off phone and enjoy ... U can change other stuff PowerOff, shutdown ...
    Have also provided mine bootanim, loop and sound as update zip recovery package included.

    ... for now I'm working on to change the boot logo before boot animation.Help or any other infos are mostly wanted.
    And about the *.qmg files, check and search the xda, there are lot about it ...
    The animations I used are original files from other Samsung devices, PoverOn wav found and converted from the internet.
    The update script :
    Code:
    ui_print("********************************");
    ui_print("* StratOS boot animation,sound *");
    ui_print("********************************");
    ui_print("");
    ui_print("For SM-G355H*");
    run_program("/xbin/busybox", "mount", "/system");
    run_program("/xbin/busybox", "mount", "-o", "rw,remount", "/system", "/system");
    ui_print("Deleting files");
    delete("/system/media/audio/ui/PowerOn.ogg");
    delete("/system/media/bootsamsung.qmg");
    delete("/system/media/bootsamsungloop.qmg");
    ui_print("Extracting files");
    package_extract_dir("system", "/system");
    ui_print("");
    ui_print("Finished");
    run_program("/xbin/sleep", "5");
    unmount("/system");

    Sent from my SM-G355HN using XDA Free mobile app
    1


    Why you use adb? its easy to use a root file manager like ESfilemanager....and just copy and give permissions. Im doing it like that and no problems...:D....just an idea.

    p/s: I send you a PM....I make a zip to deodex the rom...so we can use the TW mods in xda (all the mods are for Deodex roms). I cant test it, but maybe its a good start point to mod the phone.

    Thanks for your hardwork! :good:

    Yes it would be great.
    Some folders are not visible on different carriers,manufacturers, because they have to be manualy mounted into partition of folder, just like /system/media/, but you can manualy mount it for rw if you know where to link to/mount to.
    It's good to post some code to enforce other users to see what's begind ...
    Have checked the PM, will try something tomorrow ...
    1
    Yes it would be great.
    Some folders are not visible on different carriers,manufacturers, because they have to be manualy mounted into partition of folder, just like /system/media/, but you can manualy mount it for rw if you know where to link to/mount to.
    It's good to post some code to enforce other users to see what's begind ...
    Have checked the PM, will try something tomorrow ...

    well...I just did it...and everything works great. (I have to manualy delete de odex files cuz stock recovery dont use the script to do it in the zip)

    now I will try some mods for other samsung phones...