FORUMS
Remove All Ads from XDA
Honor 7x
Win an Honor 7X!

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

464 posts
Thanks Meter: 310
 
By StratOS_HTC, Senior Member on 6th November 2014, 10:12 PM
Post Reply Email Thread
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.
Attached Files
File Type: zip UPDATE-logo.zip - [Click for QR Code] (795.6 KB, 2438 views)
File Type: zip param.zip - [Click for QR Code] (604.6 KB, 1614 views)
The Following 2 Users Say Thank You to StratOS_HTC For This Useful Post: [ View ] Gift StratOS_HTC Ad-Free
 
 
8th November 2014, 06:46 AM |#2  
Cocolopes's Avatar
Senior Member
Flag Rosario
Thanks Meter: 1,570
 
Donate to Me
More
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.
The Following User Says Thank You to Cocolopes For This Useful Post: [ View ] Gift Cocolopes Ad-Free
9th November 2014, 11:06 AM |#3  
StratOS_HTC's Avatar
OP Senior Member
Flag Celje
Thanks Meter: 310
 
Donate to Me
More
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
Attached Files
File Type: zip UPDATE-boot animation,sound.zip - [Click for QR Code] (3.92 MB, 926 views)
The Following User Says Thank You to StratOS_HTC For This Useful Post: [ View ] Gift StratOS_HTC Ad-Free
9th November 2014, 03:56 PM |#4  
Cocolopes's Avatar
Senior Member
Flag Rosario
Thanks Meter: 1,570
 
Donate to Me
More
Thumbs up
Quote:
Originally Posted by StratOS_HTC

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.......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!
9th November 2014, 07:38 PM |#5  
StratOS_HTC's Avatar
OP Senior Member
Flag Celje
Thanks Meter: 310
 
Donate to Me
More
Quote:
Originally Posted by Cocolopes


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.......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!

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 ...
The Following User Says Thank You to StratOS_HTC For This Useful Post: [ View ] Gift StratOS_HTC Ad-Free
9th November 2014, 08:50 PM |#6  
Cocolopes's Avatar
Senior Member
Flag Rosario
Thanks Meter: 1,570
 
Donate to Me
More
Quote:
Originally Posted by StratOS_HTC

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...
The Following User Says Thank You to Cocolopes For This Useful Post: [ View ] Gift Cocolopes Ad-Free
9th November 2014, 09:05 PM |#7  
StratOS_HTC's Avatar
OP Senior Member
Flag Celje
Thanks Meter: 310
 
Donate to Me
More
Quote:
Originally Posted by Cocolopes

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//tmp/del_odex.sh");
run_program("/data/local//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
The Following User Says Thank You to StratOS_HTC For This Useful Post: [ View ] Gift StratOS_HTC Ad-Free
9th November 2014, 10:08 PM |#8  
Cocolopes's Avatar
Senior Member
Flag Rosario
Thanks Meter: 1,570
 
Donate to Me
More
Quote:
Originally Posted by StratOS_HTC

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//tmp/del_odex.sh");
run_program("/data/local//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....
The Following User Says Thank You to Cocolopes For This Useful Post: [ View ] Gift Cocolopes Ad-Free
10th November 2014, 02:43 PM |#9  
StratOS_HTC's Avatar
OP Senior Member
Flag Celje
Thanks Meter: 310
 
Donate to Me
More
Tutorial 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.
3rd December 2014, 07:58 PM |#10  
StratOS_HTC's Avatar
OP Senior Member
Flag Celje
Thanks Meter: 310
 
Donate to Me
More
Thumbs up Boot logo
Quote:
Originally Posted by StratOS_HTC

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 ...
19th March 2015, 09:06 PM |#11  
StratOS_HTC's Avatar
OP Senior Member
Flag Celje
Thanks Meter: 310
 
Donate to Me
More
Wink 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
Post Reply Subscribe to Thread

Tags
boot logo, g335, gc2, kitkat

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes