Related
Hey guys. I am creating a mod for the i9001. It's called iPhone sounds. I making this mod because I like the iPhone lock sounds, Ringtones, shutter sounds, etc.
This is just my first mod so please dont blame me if you don't like it.
Please don't blame me if you dont like the iPhone sounds.
Download Link 1.1:
http://sourceforge.net/projects/iphonesounds/files/iPhone-Sounds.zip/download
Changelog 1.0.0:
First Version! Only Lock sounds yet.
1.1
Added Camera shutter sounds and Charger Connecter sound.
INSTALLATION:
Download the .zip to your Galaxy s plus.
reboot in CWM/Feamod recovery by holding the power button and the volume up button. Choose install zip from sdcard and choose the .zip
When its done just reboot. Enjoy!
thanks to crybert for creating the update-script
287 downloads
Use this to mount /system:
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p15", "/system");
Rest of the script seems ok but I think you should also set permissions using this:
Code:
set_perm_recursive(0, 0, 0755, 0644, "/system/media/audio/ui");
Try this if the update-binary only needs 3 arguments for mounting the partition /dev/block/mmcblk0p15 as EXT4 under system:
Code:
mount("ext4", "/dev/block/mmcblk0p15", "/system");
If the binary needs 4 arguements look one post above.
For unmounting system use this:
Code:
unmount("/system");
Code:
ui_print("iPhone-Sounds by FlorisNL");
show_progress(1.000000, 0);
mount("ext4", "/dev/block/mmcblk0p15", "/system");
set_progress(0.400000);
Please dont blame me if you dont like the iPhone sounds...
package_extract_dir("system/media/audio/ui", "/system/media/audio/ui");
set_progress(0.800000);
unmount("/system");
set_progress(0.900000);
ui_print("Installed Iphone-Sounds. Enjoy.");
set_progress(1.000000);
and 'Please dont blame me if you dont like the iPhone sounds...' has to be inside ui_print
sakindia123 said:
and 'Please dont blame me if you dont like the iPhone sounds...' has to be inside ui_print
Click to expand...
Click to collapse
No, I deleted it..
Sent from my GT-I9001 using XDA App
Nevermind
Neverminddddddd
Good work! It would be nice to see more sounds added
I dont like iphone very much, but is really nice to have more sounds on our GS.
Good work,thanks for sharing
Sent from my GT-I9000 using XDA App
Hello,Is it possible to install in mo0nrom deodex?Thank you
Hi, this mod works on sgs which have 4.0.4 ? Thx
Thanks for sharing! !Support you,i like it
v 1.2???
i heard something about v.1.2. it is that true?
oh,thanks!
faust.deaconu said:
i heard something about v.1.2. it is that true?
Click to expand...
Click to collapse
Yep. I already included it in LionROM. I will upload it in this topic soon. It includes notification sounds, ringtones and tap sounds.
Sent from my GT-I9001 using xda premium
Good day sir! can i flash this over ICS roms of i9003?
Thank You! Cheers
FlorisNL said:
Yep. I already included it in LionROM. I will upload it in this topic soon. It includes notification sounds, ringtones and tap sounds.
Sent from my GT-I9001 using xda premium
Click to expand...
Click to collapse
So when is that going to be?
Sent from my GT-I9001
Can I flash this over I9000 cm9 nightly?
thanks for sharing, but i don't like iPhone at all, SGS3 sounds are better for me. thanks anyway
Sent from my GT-I9000 using XDA
I love Facebook notification sounds, keyboard clicking etc.
Sent from my GT-I9000 using XDA
Awsome, Just built my first Rom and works good. BUT... I can't seem to figure out how to add root, superSu, and busybox, add the right permissions, symlinks etc to to the Rom BEFORE Flashing. I know these are the things that are needed, but do not want to use a kitchen such as dsixda's.
jzero88 said:
Awsome, Just built my first Rom and works good. BUT... I can't seem to figure out how to add root, superSu, and busybox, add the right permissions, symlinks etc. I know these are the things that are needed, but do not want to use a kitchen such as dsixda's.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1392310
acloh0411 said:
http://forum.xda-developers.com/showthread.php?t=1392310
Click to expand...
Click to collapse
Thanks, but I am looking to Root, ad superSU and Busybox to the Rom BEFORE flashing.
Old and dead thread
Yet another abandoned, dead thread. Never finished. Anyone have answers? I would like to busybox and add supersu to my rom as well :crying:
You have to pace the files in the right directories in your ROM & then set the correct permissions & install busybox.
Code:
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 0644, "/system/app/Superuser.apk");
set_perm(0, 0, 04755, "/system/xbin/busybox");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
Fallon9111 said:
Yet another abandoned, dead thread. Never finished. Anyone have answers? I would like to busybox and add supersu to my rom as well :crying:
Click to expand...
Click to collapse
dont necro bump.
you need to override android build system for PRODUCT_COPY_FILES to work again.
busybox is easy, no need to use binaries here. git clone cyanogenmod's project and build.
sent from my i9250
Where do i get the latest busybox binares?
albinoman887 said:
Where do i get the latest busybox binares?
Click to expand...
Click to collapse
i think your talking about this: http://www.mediafire.com/download/gyd9b6j556vhkv6/busybox-1.17.2.zip
hi guys....
Time similar to the time galaxy s3 or xperia
It is my job and dedicate your time to your friends
falsh in CWM
new versin
And how we do it? Flash it through cwm/twrp or somethink else?
Sent from my GT-I8190 using xda app-developers app
The least you could do is to edit the updater script so people don't brick their phones flashing this.
antrikkos said:
And how we do it? Flash it through cwm/twrp or somethink else?
Sent from my GT-I8190 using xda app-developers app
Click to expand...
Click to collapse
flash cwm
p_a_r_s_a7 said:
flash cwm
Click to expand...
Click to collapse
mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/preload");
That's what's in your updater script, it's completely wrong. So don't tell people to flash if you haven't a clue on how to fix it. It could brick your device...
Benzonat0r said:
mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/preload");
That's what's in your updater script, it's completely wrong. So don't tell people to flash if you haven't a clue on how to fix it. It could brick your device...
Click to expand...
Click to collapse
Mr.benzonator ....I tried to make a phone that works on 3....My intention is only to help and nothing else... folders drawable-hdpi drawable-hdpi-960x540 drawable-xhdpi What you get with the same problem and have tried many times on my phone...
Anyone who is willing can use .. Photos from my phone and I have no responsibility for anyone
WTF are you talking about?
I guess its not ready yet?
Sent from my GT-I8190 using Xparent Skyblue Tapatalk 2
Benzonat0r said:
WTF are you talking about?
Click to expand...
Click to collapse
...if you take a look on his other threads you will see that he is only providing things made by others "for other devices" ..... "he just flashed the .zips and if they doesn't bricked his phone he provides it here ..."
enox.co said:
...if you take a look on his other threads you will see that he is only providing things made by others "for other devices" ..... "he just flashed the .zips and if they doesn't bricked his phone he provides it here ..."
Click to expand...
Click to collapse
Well that's stupid.
Benzonat0r said:
Well that's stupid.
Click to expand...
Click to collapse
updat post 1
Much better.
Hey, i want to downgrade my phone from cm7 to android 2.3.5 and i wondered, is there is a flashable version of the stock rom because that is a lot easier to use than odin imo.
0nemisis0 said:
Hey, i want to downgrade my phone from cm7 to android 2.3.5 and i wondered, is there is a flashable version of the stock rom because that is a lot easier to use than odin imo.
Click to expand...
Click to collapse
I think it's kind of an dead end for us non developers to convert from EXT4 to RFS (The filesystem stock uses). Guide on how to do it with odin can be found here. Note that u can use Enhanced236. It's based on stock 2.3.6 and uses EXT4 as internal filesystem, the same as CM. Alot of people think it's the most bugfree ROM for GIO. Here is the link to the thread where u can download a flashable .zip based on AROMA Installer :laugh:
Regards
X-Zone
RFS , not RTF
formula01 said:
RFS , not RTF
Click to expand...
Click to collapse
Oh yeah typo. :laugh:
BTW: Use quotes, makes everything much easier.
X-zone said:
I think it's kind of an dead end for us non developers to convert from EXT4 to RFS (The filesystem stock uses). Guide on how to do it with odin can be found here. Note that u can use Enhanced236. It's based on stock 2.3.6 and uses EXT4 as internal filesystem, the same as CM. Alot of people think it's the most bugfree ROM for GIO. Here is the link to the thread where u can download a flashable .zip based on AROMA Installer :laugh:
Regards
X-Zone
Click to expand...
Click to collapse
But can use stock kernel in zip package. Clean 2.3.6 RFS zip package is a good idea but idk how to properly edit update-script file.
WYPIERDAALAAC said:
But can use stock kernel in zip package. Clean 2.3.6 RFS zip package is a good idea but idk how to properly edit update-script file.
Click to expand...
Click to collapse
why do need to edit the script file? if you really want to reflash your phone back to the original use odin and follow this GUIDE but if whant a flashable stock rom download this STOCK ROM this is a 2.3.6 gio stock made by Peteragent5
badagila said:
why do need to edit the script file? if you really want to reflash your phone back to the original use odin and follow this GUIDE but if whant a flashable stock rom download this STOCK ROM this is a 2.3.6 gio stock made by Peteragent5
Click to expand...
Click to collapse
For no format and i do not want i just wrote about good idea. Peteragent5 ROM has custom kernel so its not the same as clean firmware from samsung.
WYPIERDAALAAC said:
For no format and i do not want i just wrote about good idea. Peteragent5 ROM has custom kernel so its not the same as clean firmware from samsung.
Click to expand...
Click to collapse
ahhh you are trying to build your own flashable rom and rdit your own script?
badagila said:
ahhh you are trying to build your own flashable rom and rdit your own script?
Click to expand...
Click to collapse
Not really, I am just a user, time ago I tried to edit script because there are lines for format ext4 and idk how to change it for good working.
now i do not care.
WYPIERDAALAAC said:
Not really, I am just a user, time ago I tried to edit script because there are lines for format ext4 and idk how to change it for good working.
now i do not care.
Click to expand...
Click to collapse
i am not sure but i think all flashable firmwares are using custom kernel
badagila said:
i am not sure but i think all flashable firmwares are using custom kernel
Click to expand...
Click to collapse
and i do not know why, in md5 is boot.img file like in zip package for extract so can use samsung kernel.
WYPIERDAALAAC said:
and i do not know why, in md5 is boot.img file like in zip package for extract so can use samsung kernel.
Click to expand...
Click to collapse
in custom rom and all other flashable rom's kernel is always in boot.img file
badagila said:
in custom rom and all other flashable rom's kernel is always in boot.img file
Click to expand...
Click to collapse
exactly i talk about it man so i think can use it instead phiexz stock kernel.
WYPIERDAALAAC said:
exactly i talk about it man so i think can use it instead phiexz stock kernel.
Click to expand...
Click to collapse
not so sure dude i already try to change the boot.img after cooking but it is still installation aborted but i keep on trying to create a successful flashable rom and if it be done i will create one for you
It's for updater-script for RFS but how to edit updater-script from custom rom based on 2.3.6 (how to replace ext4 commands correctly)?
Code:
unmount("/system");
unmount("/data");
unmount("/cache");
ui_print("- please wait...");
package_extract_dir("tools", "/tmp");
set_perm(0, 0, 0755, "/tmp/rfs.sh");
set_perm(0, 0, 0755, "/tmp/fat.format");
run_program("/tmp/rfs.sh");
ui_print("- done!");
ui_print("- mounting all partitions");
run_program("/sbin/busybox mount", "-t", "rfs", "/dev/block/stl9", "/system");
run_program("/sbin/busybox mount", "-t", "rfs", "/dev/block/stl11", "/data");
run_program("/sbin/busybox mount", "-t", "rfs", "/dev/block/stl10", "/cache");
run_program("/sbin/busybox mount", "-a");
run_program("mount", "-t", "rfs", "/dev/block/stl9", "/system");
run_program("mount", "-t", "rfs", "/dev/block/stl11", "/data");
run_program("mount", "-t", "rfs", "/dev/block/stl10", "/cache");
0nemisis0 said:
Hey, i want to downgrade my phone from cm7 to android 2.3.5 and i wondered, is there is a flashable version of the stock rom because that is a lot easier to use than odin imo.
Click to expand...
Click to collapse
if you really want the original from samsung try this link, it odin flash able md5 file so you will need to know how to flash with odin
Original Stock Rom Samsung Galaxy Gio all Country
As well as my own MoDaCo Custom ROM for the 5X, I've created a custom ROM starter template for anyone who wants to have a go. It's a bit different.
Basically, this ROM template will let you create your own custom ROM VERY easily. Easier than ever before. All you have to do is...
download my ROM template zip
make the changes to the system of your phone just as you'd like them for your custom ROM
run some commands on your device via ADB
add the 2 resulting files to the template zip
That's it! No messaging around with install scripts, no rebuilding anything complex, just mod - and go!
Preparation
ONLY if you are completing the process for the first time, you need to set up a file on your microSD card - so launch and ADB shell and type the following commands...
Code:
touch /sdcard/exclude
echo app > /sdcard/exclude
echo priv-app >> /sdcard/exclude
echo delapp >> /sdcard/exclude
ROM build
Once you have your system up and running how you want it, and you're ready to distribute it (just the system and cust dirs mind, it won't pull the data dir, so your personal data is safe), reboot to recovery, launch an ADB shell and type the following commands:
Code:
mount /system
tar -X /sdcard/exclude -zcvpf /sdcard/system.therest.tar.gz /system/
tar -zcvpf /sdcard/system.apps.tar.gz /system/app /system/priv-app /system/delapp
mount /cust
tar -zcvpf /sdcard/cust.tar.gz /cust
You'll then end up with 3 new files on your SD card - system.apps.tar.gz (which is apps and priv-apps from system), system.therest.tar.gz (which, as the name suggests, is the rest of the system partition!) and cust.tar.gz with is the cust partition contents.
Update the template zip with these 3 files and that's it. It's ready to distribute for people to flash via TWRP! If you have updated the boot image, you'll need to replace that too, the easiest way is to do a TWRP backup then pull that file from the SD card and drop it into the template zip as boot.img. That's really it!
I hope this inspires a few people to start playing around with custom ROMs for the 5X... more cool things coming soon!
Oh and the all important template file...
DOWNLOAD - customromtemplate-5x-plk21-b330-r4.zip [ROMRAID] MD5: 524ef13ab773859245c2488ab8271bc0
P
Changelog
r4:
Updated to B330
r3:
Updated to format partitions rather than delete
r2:
Updated to include /cust partition support
r1:
Initial release
Thank you for this your work is much appreciated
Thnx a lot...
Sent from my KIW-L21 using Tapatalk
Thankyou, can I use this script for L-22? And will your MoDaCo rom will work with L-22?
I don't think this one will in its entirety, but you can make your own template by pulling the boot image from the TWRP backup and using the commands above to create the files to put in the zip.
P
Sent from my SM-G928F using Tapatalk
paulobrien said:
I don't think this one will in its entirety, but you can make your own template by pulling the boot image from the TWRP backup and using the commands above to create the files to put in the zip.
P
Sent from my SM-G928F using Tapatalk
Click to expand...
Click to collapse
Oh, I see. I will try after my exams. And MoDaCo rom will support all versions or only L-21?
praxant said:
Oh, I see. I will try after my exams. And MoDaCo rom will support all versions or only L-21?
Click to expand...
Click to collapse
L21 is the only model I can test on currently.
P
Sent from my SM-G928F using Tapatalk
Looking forward to rooting and trying your ROM MoDaCo thanks for your efforts
Sent from my KIW-L21 using Tapatalk
paulobrien said:
L21 is the only model I can test on currently.
P
Sent from my SM-G928F using Tapatalk
Click to expand...
Click to collapse
I tested it on my L24-B140 and it worked just fine. Thanks for sharing
I think it's going to be worth integrating /cust into this too, as they are a lot of things pulled from there (such as the build.prop changes). It'll be simple enough though.
re: non KIW-L21 devices, creating a template for other models shouldn't be any issue at all. I'm getting a US spec Honor 5X, so that'll be helpful.
P
paulobrien said:
I think it's going to be worth integrating /cust into this too, as they are a lot of things pulled from there (such as the build.prop changes). It'll be simple enough though.
re: non KIW-L21 devices, creating a template for other models shouldn't be any issue at all. I'm getting a US spec Honor 5X, so that'll be helpful.
P
Click to expand...
Click to collapse
Are you referring to the cust/hw/USA/prop/local.prop
the rest of the stuff in cust seems pretty standard like (media/bootanimation.zip)
Might as well make all of /cust changeable.
P
paulobrien said:
Might as well make all of /cust changeable.
P
Click to expand...
Click to collapse
so just add tar -zcvpf /sdcard/system.apps.tar.gz /system/app /system/priv-app /cust
or does it need it's own line and an updater-script edit to include it
That should probably work. updater-script will need to include mounting /cust too.
P
paulobrien said:
That should probably work. updater-script will need to include mounting /cust too.
P
Click to expand...
Click to collapse
yeah that worked as expected, only question is their any user info stored in /cust that we might not want to share ?
I didn't check every file in their
No, /cust is read only.
P
Sent from my SM-G928F using Tapatalk
paulobrien said:
No, /cust is read only.
P
Sent from my SM-G928F using Tapatalk
Click to expand...
Click to collapse
So just to be sure, if I want to remove facebook and twitter from /cust/preinstalled/public
I would need to add --> run_program("/sbin/busybox", "rm", "-rf", "/cust/*");
to erase the /cust folder first ? the same way /system is erased / formated
Exactly.
P
paulobrien said:
Exactly.
P
Click to expand...
Click to collapse
Alright, here's my updater-script with all the changes
Code:
ui_print("Flashing boot...");
package_extract_file("boot.img", "/tmp/boot.img");
write_raw_image("/tmp/boot.img", "/dev/block/bootdevice/by-name/boot");
delete("/tmp/boot.img");
ui_print("Mounting system...");
mount("ext4","EMMC","/dev/block/bootdevice/by-name/system", "/system");
mount("ext4","EMMC","/dev/block/bootdevice/by-name/cust", "/cust");
ui_print("Erasing system...");
run_program("/sbin/busybox", "rm", "-rf", "/system/*");
run_program("/sbin/busybox", "rm", "-rf", "/cust/*");
ui_print("Extract Apps...");
package_extract_file("system.apps.tar.gz", "/tmp/system.apps.tar.gz");
run_program("/sbin/busybox", "tar", "zxvf", "/tmp/system.apps.tar.gz", "-C", "/");
delete("/tmp/system.apps.tar.gz");
ui_print("Extract System Files...");
package_extract_file("system.therest.tar.gz", "/tmp/system.therest.tar.gz");
run_program("/sbin/busybox", "tar", "zxvf", "/tmp/system.therest.tar.gz", "-C", "/");
delete("/tmp/system.therest.tar.gz");
sync();
unmount("/system");
unmount("/cust");
ui_print("Done Enjoy !!");
set_progress(1.000000);
For completeness here's the boot.img for the KIW-L24 B140 for any USA users who want to join in
https://www.androidfilehost.com/?fid=24438995911973056