Help with creating a flashable zip - Samsung Galaxy S (4G Model)

Ok everything is good except ...
Inside my app folder there is 3 apks and only one flashes which is the systemui.apk and the geniewidget.apk and jobmanager.apk doesnt
---------------------------------------
Say Thanks If It Helped You

Paste your updater-script here and upload your zip file somewhere. What rom are you trying to install this on? What version of CWM are you trying to install this to?

Im using valhalla black final fixed and i just made a new edify script but i dont know how to make the binary because i signed it with the updater-script and it said aborted
---------------------------------------
Say Thanks If It Helped You

updater-script http://db.tt/4i250mx1
Zip file http://db.tt/sUrpVvoP
---------------------------------------
Say Thanks If It Helped You

Ok just took a different binary..put it in..signed zip..flashed and bootlooped me..flashed working uot theme..booted then it gave me what i wanted but it also gave me a bootloop
Ex. Gave me the widget and task manager but i had a bootloop
---------------------------------------
Say Thanks If It Helped You

Instead of
Code:
ui_print("DnickDominic's ICS Theme");
ui_print("Installing...");
mount("MTD", "system", "/system");
package_extract_dir("system", "/system");
ui_print("Successfully Installed");
ui_print("Enjoy!");
unmount("/system");
Try using:
Code:
ui_print("Performing update");
ui_print("");
ui_print("Mounting system");
run_program("/sbin/mount", "/dev/block/stl9 /system");
package_extract_dir("system", "/system");
ui_print("Unmounting /system");
run_program("/sbin/umount", "/system");
ui_print("");
ui_print("Update Complete.");
Note that if you're using CWM 5, there's a bug in the recovery that won't let you overwrite files that already exist, even if the partition is mounted. You might wanna throw in a few delete() lines in there if you're trying to replace files.

FBis251 said:
Instead of
Code:
ui_print("DnickDominic's ICS Theme");
ui_print("Installing...");
mount("MTD", "system", "/system");
package_extract_dir("system", "/system");
ui_print("Successfully Installed");
ui_print("Enjoy!");
unmount("/system");
Try using:
Code:
ui_print("Performing update");
ui_print("");
ui_print("Mounting system");
run_program("/sbin/mount", "/dev/block/stl9 /system");
package_extract_dir("system", "/system");
ui_print("Unmounting /system");
run_program("/sbin/umount", "/system");
ui_print("");
ui_print("Update Complete.");
Note that if you're using CWM 5, there's a bug in the recovery that won't let you overwrite files that already exist, even if the partition is mounted. You might wanna throw in a few delete() lines in there if you're trying to replace files.
Click to expand...
Click to collapse
OK thank you but one more thing..what should i do about the update-binary
---------------------------------------
Say Thanks If It Helped You

DnickDominic said:
OK thank you but one more thing..what should i do about the update-binary
---------------------------------------
Say Thanks If It Helped You
Click to expand...
Click to collapse
What's wrong with your update binary?

FBis251 said:
What's wrong with your update binary?
Click to expand...
Click to collapse
I didnt have one so i took one from a uot kitchen file..is that fine or does it cause issues
---------------------------------------
Say Thanks If It Helped You

DnickDominic said:
I didnt have one so i took one from a uot kitchen file..is that fine or does it cause issues
---------------------------------------
Say Thanks If It Helped You
Click to expand...
Click to collapse
Try it, though it should work fine.

Ok tryed it with what u gave me and didnt even flash it gave me an error 9 idk what that means butbim going to add deletes to my last bootloop one..mabye thats what caused the bootloop
---------------------------------------
Say Thanks If It Helped You

Error 9 means you didn't save the file with unix line endings. Try editing the file in notepad++, open the file, go to edit > EOL conversions > Unix format and save it.

FBis251 said:
Error 9 means you didn't save the file with unix line endings. Try editing the file in notepad++, open the file, go to edit > EOL conversions > Unix format and save it.
Click to expand...
Click to collapse
Well im doing this from my phone..im going to try one more thing and then get some rest and tomorrow(later today) i will go on the computer and try to get this figured out if it doesnt work so thanks for all your help and u should go look at my screenshots for the theme in the themes section for this flashable file im trying to make
---------------------------------------
Say Thanks If It Helped You

FBis251 said:
Error 9 means you didn't save the file with unix line endings. Try editing the file in notepad++, open the file, go to edit > EOL conversions > Unix format and save it.
Click to expand...
Click to collapse
Ok just tryed it and got an error and it said status 6
---------------------------------------
Say Thanks If It Helped You

Put the zip file in dropbox and send me a link. I want to test it.

Well i have to fix the battery because the color isnt right on it and ill put in dropbox now
---------------------------------------
Say Thanks If It Helped You

FBis251 said:
Put the zip file in dropbox and send me a link. I want to test it.
Click to expand...
Click to collapse
http://db.tt/sUrpVvoP
---------------------------------------
Say Thanks If It Helped You

Here is my theme+uot and its fully flashable i just wanted my own flash file..but this is it as of now tomorrow i will fix some bugs then let out to the public
http://db.tt/qLX3Z0TH
---------------------------------------
Say Thanks If It Helped You

DnickDominic said:
http://db.tt/sUrpVvoP
---------------------------------------
Say Thanks If It Helped You
Click to expand...
Click to collapse
This zip doesn't have the updater-script I told you to use.

Oh i must of uploaded the wrong one..sry im tierd and i have a bunch
---------------------------------------
Say Thanks If It Helped You

Related

[Q] Include Bali Kernel in a ROM I'm building?

I'm attempting to build my first ROM and I'm curious how to add a kernel to the ROM.
(more specifically, Bali)
Any help is appreciated.
i cant answer your question, but if you need any help, let me know and i will help out any way i can
In updater script
Code:
set_perm(0, 0, 755, "/tmp/updates/redbend_ua");
ui_print("++ Installing kernel");
run_program("/tmp/updates/redbend_ua", "restore", "/tmp/updates/zImage", "/dev/block/bml7");
You'll need redbend_ua and zImage which you can find in the updates folder of other roms. I'd ask a dev if you can use them. I can't believe it's not butter uses them.
FBis251 said:
In updater script
Code:
set_perm(0, 0, 755, "/tmp/updates/redbend_ua");
ui_print("++ Installing kernel");
run_program("/tmp/updates/redbend_ua", "restore", "/tmp/updates/zImage", "/dev/block/bml7");
You'll need redbend_ua and zImage which you can find in the updates folder of other roms. I'd ask a dev if you can use them. I can't believe it's not butter uses them.
Click to expand...
Click to collapse
Alright, but before doing that...I'm getting an error when trying to flash the custom ROM in CWM.
E: Error in /scard/test1.zip
(status 6)
Installation aborted.
Any ideas?
http://lmgtfy.com/?q=cwm+status+6
First thread 3rd post
FBis251 said:
http://lmgtfy.com/?q=cwm+status+6
First thread 3rd post
Click to expand...
Click to collapse
Yeah I saw that, except I have no idea how to fix it.
If you use notepad++, open the updater script, go to Edit > EOL Conversion > Unix format. Do that for any other text files/scripts you have.
Thanks, but where is the updater script?
hahah sorry this is my first time making a ROM
META-INF\com\google\android\updater-script
Thank you!

[ROM] [30 AUG] [UPD 0.5]Stock sense 3.0 android 2.3.5 (for new hboot users only!!!)

Leaked stock rooted ROM with new kernel for new hboot users only
Highlights:
- sense 3.0
- android 2.3.5
- root (su, app)
download:
http://narod.ru/disk/23383023001/signed-stock_saga_2.3.5_s3.0_v0.5.zip.html
Changes:
0.5
- added more languages (thx proxuser)
for obtaining new hboot plz read my guide
http://forum.xda-developers.com/showthread.php?t=1236890
I'm waiting ideas how to make better this rom....thx
hi biglsd is this the saga_v1_0822.zip if it is have you added the missing widgets and keyboard it only has a T9.?
Does this include all of the usual Sense widgets like FriendStream?
cool, i'm trying now for new hboot version.
i belive i got it
Code:
ui_print("Formatting System");
format("ext4", "EMMC", "/dev/block/mmcblk0p25");
ui_print("Formatting Lib");
format("ext4", "EMMC", "/dev/block/mmcblk0p28");
mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p28", "/lib");
ui_print("Copy Lib files");
package_extract_dir("lib", "/lib");
ui_print("Copy System files");
try'ed first time these method.
proxuser said:
cool, i'm trying now for new hboot version.
i belive i got it
Code:
ui_print("Formatting System");
format("ext4", "EMMC", "/dev/block/mmcblk0p25");
ui_print("Formatting Lib");
format("ext4", "EMMC", "/dev/block/mmcblk0p28");
mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p28", "/lib");
ui_print("Copy Lib files");
package_extract_dir("lib", "/lib");
ui_print("Copy System files");
try'ed first time these method.
Click to expand...
Click to collapse
you have one mistake
lib must be mounted to /system/lib
biglsd said:
you have one mistake
lib must be mounted to /system/lib
Click to expand...
Click to collapse
funny, because with this one (without flashing libs from PG88IMG.zip) got it fully working.
i think system mount /lib folder as /system/lib but files are localated in /lib folder.
am i right or ?
// edit: can you please upload your update-script here ?
Whats the difference between this and proxyuser's
proxuser said:
funny, because with this one (without flashing libs from PG88IMG.zip) got it fully working.
i think system mount /lib folder as /system/lib but files are localated in /lib folder.
am i right or ?
// edit: can you please upload your update-script here ?
Click to expand...
Click to collapse
format("ext4", "EMMC", "/dev/block/mmcblk0p25");
mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/system");
package_extract_dir("system", "/system");
format("ext4", "EMMC", "/dev/block/mmcblk0p28");
mount("ext4", "EMMC", "/dev/block/mmcblk0p28", "/system/lib");
package_extract_dir("lib", "/system/lib");
and don't forget create /system/lib in update package for successfully mounting mmcblk0p28 =)
pandollar said:
Whats the difference between this and proxyuser's
Click to expand...
Click to collapse
first of all it is stock, no theming. second it ONLY WORKS with newest HBOOT version.
i actually not know if all widgets are there...currently downloading the rom...
pandollar said:
Whats the difference between this and proxyuser's
Click to expand...
Click to collapse
1. it's only for new hboot
2. fully stock, nothing from me
3. proxuser's rom better in some little features because I deep system developer...proxuser great man in user features! =)
with same method i'll try other sense roms to flash.
maybe this feature help us to keep in system folder a little space.
tready said:
hi biglsd is this the saga_v1_0822.zip if it is have you added the missing widgets and keyboard it only has a T9.?
Click to expand...
Click to collapse
You're right...it's saga_v1_0822.zip.
I think that mixing different roms not good way.
In my opinion, better I have one stable rom without something features, but it would be fully working without any fixes
proxuser said:
with same method i'll try other sense roms to flash.
maybe this feature help us to keep in system folder a little space.
Click to expand...
Click to collapse
Yes, you're right, this brings to our roms +150Mb =)
biglsd said:
1. it's only for new hboot
2. fully stock, nothing from me
3. proxuser's rom better in some little features because I deep system developer...proxuser great man in user features! =)
Click to expand...
Click to collapse
Sounds to be me like you two should be working together....?
biglsd said:
Yes, you're right, this brings to our roms +150Mb =)
Click to expand...
Click to collapse
got booted sense 2.1 + sense 3.0 rom "base 1.48".
work fast what i can say
biglsd said:
Yes, you're right, this brings to our roms +150Mb =)
Click to expand...
Click to collapse
stock rom with almost 300mb of ram sounds nice
like custom roms
Adidas108 said:
stock rom with almost 300mb of ram sounds nice
like custom roms
Click to expand...
Click to collapse
not ram...rom
Sorry for the noobish question, but I'm quite new to the Desire S (I come from a Magic 32A).
In order to use this ROM I have just to update the HBOOT and flash the ROM, am I right?
My specs in signature.
Cheers
Dark_Elf said:
Sorry for the noobish question, but I'm quite new to the Desire S (I come from a Magic 32A).
In order to use this ROM I have just to update the HBOOT and flash the ROM, am I right?
My specs in signature.
Cheers
Click to expand...
Click to collapse
yes...and I recommend you flash new radio
biglsd said:
yes...and I recommend you flash new radio
Click to expand...
Click to collapse
The PG88IMG-2.3.5.zip file?

How to create a flashable zip file?

Just spent a few hours on modifying few files..
I have modified:
framework.jar
android.policy.jar
framework-res.apk
(All for the system/framework folder )
So, I wanna create a flashable zip file that can be flashed from CWM recovery...
Following this guide:
http://forum.xda-developers.com/showthread.php?t=732957
Looking at the fact that it's nearly 1AM for me presently and I'm sleepy, it's a bit hard to understand...
If anyone can tell me the contents of updater-script file...it'll be helpful
Also, some help there with the update-binary too..
Can I use the files created by UOT kitchen?
The updater-script is mainly text, since your 3 files are in the system folder, you're going to want to mount system, extract package, and then unmount system.
mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/system");
package_extract_dir("system", "/system");
unmount("/system");
The bolded text can vary. That goes in the updater script. the updater-script should be accompanied by update-binary, and should be placed in [projectname]/META-INF/com/google/android.
now, inside your [projectname] folder, you should have /system/framework/[your three files go here].
Now build that, sign it (CWM will throw an Error 7 for some odd reason if it's not signed and is not a full ROM), and flash it and see how that goes.
Thank you for the answer
Another thing, can you please those values which you have given in bold?
Also, what to put in the updater-binary file?
I wouldn't know, those values vary from phone to phone. What may work on mine may not work with yours. Also you don't have to modify the updater-binary, just place it there.

[GUIDE]Step by step guide file edits to port I9300-I9305+ CWM .zip Jkay mod for I9305

Hey guys,
**TESTING ONLY** ALPHA WARNING...NOT TESTED AS YET! PLEASE MAKE A BACKUP IN RECOVERY FIRST!!!!!
Tested and working. Some settings not implementer fully though? Unsure if this is a bug or if this is due to my mods, but will be investigating further.
*UPDATE* Updated the updater script to check the build.prop AFTER the file system has been mounted, this was causing a failure due to write protect and booting us out of the installation tested and the script is working fine
*UPDATE* updated the android.policy.jar to Jkay deluxe version as the main base. I will be looking into how the deluxe settings app checks this file to ensure it is the correct version, If this is smali textual based then we have no problems for future releases, however if it is somehow checking against MD5 hashes for this file and we make edits as what is descibed below then this is always going to break the settings app and put it in demo mode. I will report back here when I have more information.
Attached are some downloads for everyone. One is the Jkay Mod for XXELKC (only) port to our devices GT-I9305. I haven't had a chance to test it yet as I am very busy. The flashable zip does NOT include the Deluxe settings apk (it doesn't delete it from system app if you do have it though, must be version 14.3x to work though) you will still need to purchase this from the Google Play store.
Hence another reason why I have not tested this package (a long story) anyways...cause I don't have access to the Deluxe Settings apk.
Currently been testing this and its working fine but with some bugs? Unsure if these are port related or the fact that Jkay deluxe is alpha and buggy?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There is a step by step process on how to EDIT FILES jar files that are required for porting GT-I9300 ROMs to I9305. All other steps and configurations that a required for porting that do not involve file edits (only swapping files in and out) are not covered by this guide. There are many additional steps not covered by this guide that are required in addition to these steps in order to make full port of a ROM. Additional,libraries, binaries, build.prop edits, apks and permissions xmls are required
The above are mentioned additional requirements for a full port are outside the scope of this guide but maybe included in following updates
**UPDATE** please do not migrate or change anything in the android.policy.jar file for Jkay settings files if you are wanting to port them in the furture, The Deluxe settings application checks this file to ensure you are running the correct version and running the Jkay framework. If you are receiving framework mismatch type errors this is due to running an illegal copy of the Jkay Deluxe Settings application. The application checks back to GooglePlay store to see if your google account is a registered user or not, when this fails the app defaults into demo mode. Clearing application data results in settings being wipe and a reconfigure is required. Note: That none of your settings are retained by the deluxe settings app after a reboot if it has failed license checking.
I have also included all the smali and baksmali files and wrapper scripts along with the add and replace files to port the necessary files to make GT-I9300 ROMS work on our devices.
YOU MUST DO IT IN THIS ORDER!
*** please please do the remove smali files processes first!***
NOTE: The remove folders e.g framework2-remove are here *ONLY* as a references for you! What I mean is that you now have to navigate the folders of your decompiled files and remove these specific smali references from the GT-I9300 jar files.
There are 4 main files to change and several changes to be done, so please make sure you give thanks to developers like AusDim for his ahard work. When you see the amount of files you may appreciate this
I was working this port myself, but it wore thin on my patience, alas I diverse....
android.policy.jar please disregard the edits to this file as we have found that the standard Android.policy.jar file from standard I9300 seems to be all in order to work on the LTE device. More information regarding this file may come in future updates
framework.jar
framework2.jar
services.jar
HOW TO:
Use the open_commandprompt_here to launch cmd in the current directory.
decompile the specific file like following, in this example I have chosen services.jar file. NOTE: You may also wish to perform any other modifications to the services at this time i.e. V6Supercharger multi-tasking update for JB (thanks to zepplinrocks)
e.g
Code:
decompile services.jar
open the folder services-add and copy the "com" folder
open the out folder and you will see another "com" folder inside; hit paste. Accept any prompts to overwrite smali files or folders. click yes to all bla bla bla
recompile the smail code like this:
e.g
Code:
recompile out -o classes.dex
Right click your services.jar file and open it with say 7zip or WinRAR or what ever archive application you currently use; inside you will see a classes.dex file. You are now going to drag and drop your new compiled classes.dex file in over the top of the existing one.
Close your services.jar file
and you are done!
Now repeat to the other remaining jar files and Bob's ya aunty you're good to go
Special thanks goes out to:
_Jkay_ first and foremost for the awesome Jkay Deluxe framework
Thanks to AusDim who put in the hard yards to getting the initial port done for us I9305 users. Your work is very much appreciated by me mate.
Thanks to txr33 for his work in the back ground in the early stages as we both tried to nut out what the f#*% was going on with our stupid port :silly: ...
If I have left anyone off this list, then please contact me and I will be more than happy to add you (thats if you have helped and don't just want to be famous jks)
Thanks guys
Tutorial
HOW_TO_PORT_GT-I9300_TO_I9305.zip
Jkay deluxe for I9305 Note this link will produce a 404 error until such time as it has completed upload
XXELKC_JKay_Deluxe_v14_3_PORTI9305.zip
PS: I have a feeling that my dropbox account is going to get smashed after this, so can someone please re-upload and mirror after they have tested it? ThanksEDIT: *correction* I have a feeling that my dropbox is going to be a ghost town with zero downloads cause this is the I9305 section so no need to mirror as part of my initial request
reservered.
May take a while to actually be on dropbox, so please be patient
This was a rushed job. Please report any issues and I will do the best I can to sort them out for you. Please don't make any demands or tell me I have broken your phone or what ever. This is a developer forums, this is a place where people can come to share their work.
Jarmezrocks said:
reservered.
May take a while to actually be on dropbox, so please be patient
This was a rushed job. Please report any issues and I will do the best I can to sort them out for you. Please don't make any demands or tell me I have broken your phone or what ever. This is a developer forums, this is a place where people can come to share their work.
Click to expand...
Click to collapse
Good to see things start to pick up in the I9305 therad. Thanks.
stian230 said:
Good to see things start to pick up in the I9305 therad. Thanks.
Click to expand...
Click to collapse
There's still tumbleweeds blowing around this place (man it's the longest uptake that I have seen yet for a new device....that's not even new anymore) but we will get there eventually
Not surprised at all that your 1 comment is the only comment post so far lol.
This is awesome, thank you for the info
Sent from my GT-I9305 using xda app-developers app
Jarmezrocks said:
There's still tumbleweeds blowing around this place (man it's the longest uptake that I have seen yet for a new device....that's not even new anymore) but we will get there eventually
Not surprised at all that your 1 comment is the only comment post so far lol.
Click to expand...
Click to collapse
I bet it's more activity in the HTC G1 forum end this place and I'm still kinda surprised that we didn't get a dedicated forum for the I9305
Hi man you are as rock as your name!
P.S. I've seen you in Galaxy S Android Development before!
First of all, many thanks for this
Now for the noob questions
Can I flash this over the top of say Pandorium then use JKAY from the market or will I have to wait for one of the excellent ROM guys to make a JKAY compatible build ?
Thanks for this
Quick question though; what are these 'lte settings apks' that you speak of?
Ok, had some problems and need your help.
Im on xxelkc ausdim port.
First i booted into cwm and tried to flash the framework, but everytime cwm said that it cant find /system/build.prop
After serveral tries, i realized that i had to mount /system manually. Then it worked without problems.
Then i downloaded the deluxe settings from the play store and installed it. But when i run the apk, i tells me that no compatible framework is found. At the about screen it shows me:
Deluxe settings 14.4
Framework 14.3
SystemUI ?
ExtVersion ?
Android Policy ?
Can someone tell what i have to do to make it work?
Ok, i found out that the updater-script doesnt copy any of the files. After copying them manually in the right folder, everything worked well...
So the updater-script needs to be rewritten and with a mount /system command at the beginning.
MrGubby said:
First of all, many thanks for this
Now for the noob questions
Can I flash this over the top of say Pandorium then use JKAY from the market or will I have to wait for one of the excellent ROM guys to make a JKAY compatible build ?
Click to expand...
Click to collapse
Yes, you should be able to flash this over the top of Pandorium if you are using the latest XXELKC version. And yes the Jkay Settings app on the market from 14.3 upwards. I think there is only 14.3 and 14.3.1? No earlier versions will work for this framework.
I have noted that there is an issue with the Settings app not detecting the framework and it says you must be running Jkay framework. I was reading a few posts in Jkays thread and this does lead me to believe that there are still bugs in the alpha framework....hence it's alpha status.If you get this fault the XDA member mentioned that he just applied some of the settings anyway and then rebooted his phone and everything appeared as normal after a reboot.
Hope this helps
glowfinger said:
Ok, i found out that the updater-script doesnt copy any of the files. After copying them manually in the right folder, everything worked well...
So the updater-script needs to be rewritten and with a mount /system command at the beginning.
Click to expand...
Click to collapse
Um there is a mount command at the start of the script? all that I have changed in my updater script is that it does a grep for the build.prop to ensure that the user flashing this mod is flashing it to an LTE device, as they have a different partition layout to the stock I9300 as we are all aware. I knew that partition 13 is where we locate our system partition but was not aware of what this refers to on the I9300? Meaning that if the ways were reversed I didn't want someone accidently flashing this zip file and bricking or loosing the IMEI number due to corrupted efs directory or something like that.
Other than that, I just pasted my fancy bit of test above it (with no commands affecting it what so ever) and removed the delete command that tells the script to delete Jkay settings if it is in system already located. I assume that this was put in place to ensure that when a new framework was released by Jkay that the correct Deluxe settings app was used with it - or else you get SystemUI status bar crashes until it is removed. I removed it cause like me some users side load their apks and its a pain in the arse to re-add the Jkay settings app into system again .
here is the updater script
Code:
show_progress(0.500000, 0);
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("**********************************************");
ui_print("* *");
ui_print("* *");
ui_print("*.... JARMEZ'S SGS 3 LTE Jkay Port ....*");
ui_print("* *");
ui_print("* For the I9305 LTE SGS 3 only *");
ui_print("* *");
ui_print("**********************************************");
ui_print("* Checking your build.prop... *");
assert(file_getprop("/system/build.prop", "ro.product.model") == "GT-I9305");
ui_print("* Congrats your running I9305 AusDim Port *");
ui_print("* Deleting Old System Files... *");
run_program("/sbin/mount", "/dev/block/mmcblk0p13", "/system");
run_program("/sbin/mount", "/dev/block/mmcblk0p16", "/data");
show_progress(1.000000, 0);
ui_print("* Deleting JKay Deluxe data... *");
sleep (1);
run_program("/sbin/mount", "-t", "ext4", "-o","rw,nosuid,nodev,noatime,barrier=1,journal_async_commit,data=ordered,noauto_da_alloc,discard","/dev/block/mmcblk0p12", "/data");
set_progress(0.100000);
run_program("/sbin/rm", "-rf", "/data/dalvik-cache/[email protected]@com.jkaysoft.icsdeluxe*");
run_program("/sbin/rm", "-rf", "/data/app/com.jkaysoft.icsdeluxe*");
delete("/data/dalvik-cache/[email protected]@[email protected]");
delete("/data/dalvik-cache/[email protected]@[email protected]");
delete("/data/dalvik-cache/[email protected]@[email protected]");
delete("/data/dalvik-cache/[email protected]@[email protected]");
delete("/data/dalvik-cache/[email protected]@[email protected]");
set_progress(0.200000);
run_program("/sbin/rm", "-rf", "/data/data/com.jkaysoft.icsdeluxe");
run_program("/sbin/rm", "-rf", "/data/dalvik-cache/[email protected]@com.jkaysoft.icsdeluxe*");
run_program("/sbin/rm", "-rf", "/data/app/com.jkaysoft.icsdeluxe*");
set_progress(0.300000);
run_program("/sbin/sync");
sleep (1);
set_progress(0.400000);
run_program("/sbin/umount", "/data");
package_extract_dir("system_common", "/system");
sleep (1);
set_progress(0.600000);
ui_print("Setting Permissions");
set_perm_recursive(0, 0, 0755, 0644, "/system/framework");
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
sleep (1);
set_progress(0.700000);
sleep (1);
set_progress(0.800000);
sleep (1);
set_progress(0.900000);
sleep (1);
set_progress(1.000000);
show_progress(1.000000, 0);
ui_print("* Your device should reboot... *");
unmount("/system");
unmount("/data");
run_program("/sbin/sleep", "6s");
run_program("/sbin/reboot");
EDIT: I have just realised the issue. The grep command to assert the build.prop is before the system has been mounted, so recovery cannot locate the build.prop file when it asserts
rbimdxe said:
Thanks for this
Quick question though; what are these 'lte settings apks' that you speak of?
Click to expand...
Click to collapse
Umm unless you have attempted to port a ROM your self already then it's really not necessary for you to know. The LTE settings along with a string of different librarys and binary files as well as build prop edits, the jar file edits (described) in order to port non-LTE I9300 ROMs to LTE. If you have a snoop around in /system/app and look at the difference between the two devices you will notice that there are several apks that appear different/are different, among them are the aforementioned LTE settings.
glowfinger said:
Ok, had some problems and need your help.
Im on xxelkc ausdim port.
First i booted into cwm and tried to flash the framework, but everytime cwm said that it cant find /system/build.prop
After serveral tries, i realized that i had to mount /system manually. Then it worked without problems.
Then i downloaded the deluxe settings from the play store and installed it. But when i run the apk, i tells me that no compatible framework is found. At the about screen it shows me:
Deluxe settings 14.4
Framework 14.3
SystemUI ?
ExtVersion ?
Android Policy ?
Can someone tell what i have to do to make it work?
Click to expand...
Click to collapse
I think you will find that it does work, it's just that it is very buggy and alpha still and sometimes the settings don't stick after a reboot? Anyway it should improve in time. I am not certain if this is an issue with the Jkay Deluxe settings it's self or the framework....either way it is an issue that will still need to be resolved? Keep an eye on the Jkay thread for updates to this?
Jarmezrocks said:
EDIT: I have just realised the issue. The grep command to assert the build.prop is before the system has been mounted, so recovery cannot locate the build.prop file when it asserts
Click to expand...
Click to collapse
This is what i wanted to say....
Sorry for my bad english...
And yes, after putting the files manually in the right folder, its working fine for me... thanks for this :thumbup:
Hey guys,
I have updated the Jkay zip file. I had used the port base android.policy,jar file and this is what is needed to register against the Deluxe Settings app so I have found out. So with that I have reverted the android.policy.jar file to stock Jkays, however I am going to try port back the other way and see if that has any affects?
Is anyone experiencing framework type mismatch error in Deluxe Settings?
I may need to speak to Jkay about this as there maybe something within the framework.jar files that his app is dependent on for I9300 that we have changed or removed for our devices?
JRock... Big ups for creating this thread bro. Its got some great information and a wonderful place for ppl to start. We have some documents to share 're compiling , github, basic sysadmin stuffs etc. Pm me or talk me and id be happy to share ! [email protected]. (Yes the liquidsmooth port is still in works!
Sent from my GT-I9305 using xda premium
I almost tried to to flash the original jkay mod but then did a search on whether it is compatible with the i9305 at all. Glad I found this
Soo, is jkay mod working as intended with our device? I'm reading about issue here but the thread seems a bit deserted... anyways I'm eager to try this out and hope OP will continue to do ports! Thank you very much, good sir!

[MOD][Flashable] Remove all Bloatware apps from system/app Partition within 2 Seconds

What is this?
It's a zip file which can remove bloatware apps(found in system/app partition) from stock recovery. It can remove more than 20 apps within 2-3 seconds.
Why do I need it?
Assume you have flashed a new rom. You now have to go through the pain of removing dozens of apps from system/app which you might not need. eg: some people hardly use google maps/swype/youtube/email/weather.apk or those several samsung apps/widgets found in stock rom.
Okay fine, What else do I need to know
The system partition contains important apps required for android. if you remove an app which is essential for android then your device might get stuck in bootloop. So know what you're doing before trying this mod.
This is a complete list of apps found in stock indian rom(DDLK2).
Code:
AccountAndSyncSettings.apk
AccountAndSyncSettings.odex
AlertRecipients.apk
AlertRecipients.odex
ApplicationsProvider.apk
ApplicationsProvider.odex
AxT9IME.apk
AxT9IME.odex
BadgeProvider.apk
BadgeProvider.odex
BluetoothOpp.apk
BluetoothOpp.odex
BluetoothPbap.apk
BluetoothPbap.odex
BluetoothTestMode.apk
BluetoothTestMode.odex
BrcmBluetoothServices.apk
BrcmBluetoothServices.odex
Browser.apk
Browser.odex
Calculator.apk
Calculator.odex
Calendar.apk
Calendar.odex
CalendarProvider.apk
CalendarProvider.odex
Camera.apk
Camera.odex
CertInstaller.apk
CertInstaller.odex
ClockWidget.apk
ClockWidget.odex
Contacts.apk
Contacts.odex
ContactsProvider.apk
ContactsProvider.odex
CSC.apk
CSC.odex
DataCreate.apk
DataCreate.odex
DefaultContainerService.apk
DefaultContainerService.odex
DeskClock.apk
DeskClock.odex
DialerTabActivity.apk
DialerTabActivity.odex
DownloadProvider.apk
DownloadProvider.odex
DownloadProviderUi.apk
DownloadProviderUi.odex
DrmProvider.apk
DrmProvider.odex
DrmUA.apk
DrmUA.odex
DualClock.apk
DualClock.odex
Email.apk
Email.odex
EmailWidget.apk
EmailWidget.odex
FactoryTest.apk
FactoryTest.odex
FmRadio.apk
FmRadio.odex
fotaclient.apk
fotaclient.odex
Gallery3D.apk
Gallery3D.odex
GenieWidget.apk
Gmail.apk
GoogleBackupTransport.apk
GoogleCalendarSyncAdapter.apk
GoogleContactsSyncAdapter.apk
GoogleFeedback.apk
GooglePartnerSetup.apk
GoogleQuickSearchBox.apk
GoogleServicesFramework.apk
HTMLViewer.apk
HTMLViewer.odex
InputEventApp.apk
InputEventApp.odex
JobManager.apk
JobManager.odex
lcdtest.apk
lcdtest.odex
LiveWallpapersPicker.apk
LiveWallpapersPicker.odex
LogsProvider.apk
LogsProvider.odex
Maps.apk
MarketUpdater.apk
MediaProvider.apk
MediaProvider.odex
MediaUploader.apk
Memo.apk
Memo.odex
Mms.apk
Mms.odex
MmsProvisioning.apk
MmsProvisioning.odex
MobileTrackerEngineTwo.apk
MobileTrackerEngineTwo.odex
Music.apk
Music.odex
MyFiles.apk
MyFiles.odex
NetworkLocation.apk
PackageInstaller.apk
PackageInstaller.odex
PCWClientS.apk
Personalization.apk
Personalization.odex
Phone.apk
Phone.odex
PhoneErrService.apk
PhoneErrService.odex
Phonesky.apk
PicoTts.apk
PicoTts.odex
PopupuiReceiver.apk
PopupuiReceiver.odex
PowerOnOffTest.apk
PowerOnOffTest.odex
Preconfig.apk
Preconfig.odex
Protips.apk
Protips.odex
Quickoffice.apk
SamsungApps.apk
SamsungAppsUNA3.apk
SamsungWidget_ProgramMonitor.apk
SamsungWidget_ProgramMonitor.odex
SamsungWidget_StockClock.apk
SamsungWidget_StockClock.odex
SamsungWidget_WeatherClock.apk
SamsungWidget_WeatherClock.odex
ScreenCaptureService.apk
ScreenCaptureService.odex
SecDownloadProvider.apk
SecDownloadProvider.odex
SecurityProvider.apk
SecurityProvider.odex
SelfTest.apk
SelfTest.odex
SerialNumberLabelIndicator.apk
SerialNumberLabelIndicator.odex
serviceModeApp.apk
serviceModeApp.odex
Settings.apk
Settings.odex
SettingsProvider.apk
SettingsProvider.odex
SetupWizard.apk
ShareApp.apk
ShareApp.odex
signin.apk
signin.odex
SisoDrmProvider.apk
SisoDrmProvider.odex
SnsAccount.apk
SnsAccount.odex
SnsProvider.apk
SnsProvider.odex
Stk.apk
Stk.odex
Street.apk
Swype.apk
syncmldm.apk
syncmldm.odex
syncmlds.apk
syncmlds.odex
SystemUI.apk
SystemUI.odex
Talk.apk
talkback.apk
TelephonyProvider.apk
TelephonyProvider.odex
TouchWiz30Launcher.apk
TouchWiz30Launcher.odex
TtsService.apk
TtsService.odex
TwWallpaperChooser.apk
TwWallpaperChooser.odex
UnifiedInbox.apk
UnifiedInbox.odex
UserDictionaryProvider.apk
UserDictionaryProvider.odex
VoiceRecorder.apk
VoiceRecorder.odex
VoiceSearch.apk
VpnServices.apk
VpnServices.odex
wipereceiver.apk
wipereceiver.odex
WlanTest.apk
WlanTest.odex
wssomacp.apk
wssomacp.odex
wssyncmlnps.apk
wssyncmlnps.odex
YouTube.apk
What you'll need:
1) Winrar
2) Notepad++
Customizing your "updater-script" file:
1) Download bloatkill.zip from attachment
2) Open it with winrar
3) Browse over to META-INF\com\google\android\
4) Extract the file "updater-script" to desktop and open it with notepad++
5) It will look like this:
ui_print("Useless stuff cleaning start");
ui_print(" ");
ui_print("Partitions mount");
#Properly unmounting to avoid issues
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "umount", "/cache");
run_program("/sbin/busybox", "umount", "/data");
#Then mounting
run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/busybox", "mount", "/cache");
run_program("/sbin/busybox", "mount", "/data");
ui_print(" ");
ui_print("Useless system app removal");
delete("/system/app/ClockWidget.apk");
delete("/system/app/ClockWidget.odex");
delete("/system/app/DualClock.apk");
delete("/system/app/DualClock.odex");
delete("/system/app/Email.apk");
delete("/system/app/Email.odex");
delete("/system/app/EmailWidget.apk");
delete("/system/app/EmailWidget.odex");
delete("/system/app/Gmail.apk");
delete("/system/app/GoogleQuickSearchBox.apk");
delete("/system/app/Maps.apk");
delete("/system/app/Phonesky.apk");
delete("/system/app/Quickoffice.apk");
delete("/system/app/SamsungApps.apk");
delete("/system/app/SamsungWidget_ProgramMonitor.apk");
delete("/system/app/SamsungWidget_ProgramMonitor.odex");
delete("/system/app/SamsungWidget_StockClock.apk");
delete("/system/app/SamsungWidget_StockClock.odex");
delete("/system/app/SamsungWidget_WeatherClock.apk");
delete("/system/app/SamsungWidget_WeatherClock.odex");
delete("/system/app/signin.apk");
delete("/system/app/signin.odex");
delete("/system/app/SnsAccount.apk");
delete("/system/app/SnsAccount.odex");
delete("/system/app/Street.apk");
delete("/system/app/Swype.apk");
delete("/system/app/talkback.apk");
delete("/system/app/UnifiedInbox.apk");
delete("/system/app/UnifiedInbox.odex");
delete("/system/app/VoiceSearch.apk");
delete("/system/app/YouTube.apk");
ui_print(" ");
ui_print("Unmounting partitions");
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "umount", "/cache");
run_program("/sbin/busybox", "umount", "/data");
ui_print(" ");
ui_print("Finish");
Click to expand...
Click to collapse
6) The bold parts are important. As you can see that it deletes a number of apps from system/app in a row. This list is mine(not for you) so you have to edit it according to your liking. Refer through the first list in the beginning of stock apps and select those apps which you would like to delete.
For eg: If you want to delete swype.apk and youtube.apk(meaning swype keyboard and youtube) then replace the above bolded text with these bolded lines and so update-script will look like this:
ui_print("Useless stuff cleaning start");
ui_print(" ");
ui_print("Partitions mount");
#Properly unmounting to avoid issues
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "umount", "/cache");
run_program("/sbin/busybox", "umount", "/data");
#Then mounting
run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/busybox", "mount", "/cache");
run_program("/sbin/busybox", "mount", "/data");
ui_print(" ");
ui_print("Useless system app removal");
delete("/system/app/Swype.apk");
delete("/system/app/YouTube.apk");
ui_print(" ");
ui_print("Unmounting partitions");
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "umount", "/cache");
run_program("/sbin/busybox", "umount", "/data");
ui_print(" ");
ui_print("Finish");
Click to expand...
Click to collapse
7) Once you have finished editing delete rows in updater-script to your liking then hit save button(ctlr+s) on notepad++
8) Drag drop your custom "updater-script" file back inside META-INF\com\google\android\ folder in bloatkill.zip. Do not touch update-binary.
9) Winrar will automatically save the archive as soon as you do drag drop
10) Your custom bloatkill.zip is ready. You can use this everytime you flash your ddlk2 stock rom
Instruction of use:
1) Place your custom bloatkill.zip on root of sd card (root means outside; not within any folder of sd card)
3) Switch off you android device
4) Start your device in recovery mode by holding all three keys at once(up volume + middle menu + power key)
5) Select "apply zip from sd card"
6) Select bloatkill.zip
7) Select Yes
8) Reboot
Thanks, I was looking for a quick customizable way to do this.
Nice idea dude
Try my mod...
Xperia NxT MoD v1.2 For All GB
http://forum.xda-developers.com/showthread.php?t=1967172
Sent from my GT-5360 with Xperia NxT MoD using xda-premium
i see, its the same like my signature i guess
.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ sent using busybox command via Cytherea phone ~
Spoiler
LESSON 1: dont ask for ETA's, the mod-wanna-be-guy will report it
---------- Post added at 02:07 PM ---------- Previous post was at 02:06 PM ----------
delete Phonesky.apk? its google playstore, u only can delete it if u dont want to update or download any market apps...
.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ sent using busybox command via Cytherea phone ~
Spoiler
LESSON 1: dont ask for ETA's, the mod-wanna-be-guy will report it
encik_racun said:
i see, its the same like my signature i guess
Click to expand...
Click to collapse
The point of this thread is not give a ready made zip file.
Instead it aims to guide the reader to make his own custom updater-script file.
encik_racun said:
delete Phonesky.apk? its google playstore, u only can delete it if u dont want to update or download any market apps...
Click to expand...
Click to collapse
If you read my post again, i have clearly said that it is just an example.
This list is mine(not for you)
btw, I do personally delete google play. It's because I run another script after bloatkill.zip which installs an updated version of phonesky.apk and GooglePlayservices.apk on the system/app partition. Works okay for me.
broadways said:
The point of this thread is not give a ready made zip file.
Instead it aims to guide the reader to make his own custom updater-script file.
If you read my post again, i have clearly said that it is just an example.
btw, I do personally delete google play. It's because I run another script after bloatkill.zip which installs an updated version of phonesky.apk and GooglePlayservices.apk on the system/app partition. Works okay for me.
Click to expand...
Click to collapse
yes, and its the same lol, and this belong to general section coz its not developing...
.
.
Spoiler
LESSON 1: dont ask for ETA's, the mod-wanna-be-guy will report it
encik_racun said:
yes, and its the same lol
Click to expand...
Click to collapse
It's a guide to create your own custom updater-script file. What part of this english sentence do you not understand?
broadways said:
It's a guide to create your own custom updater-script file. What part of this english sentence do you not understand?
Click to expand...
Click to collapse
the "general section" sentence, i hope u know what is newbie and u know what is rules and regulation here
.
.
Spoiler
LESSON 1: dont ask for ETA's, the mod-wanna-be-guy will report it
encik_racun, you'll be talking to yourself from now on. take care
broadways said:
encik_racun, you'll be talking to yourself from now on. take care
Click to expand...
Click to collapse
ok, but i bet u post in wrong section bro
u are linux and windows guy (u said it not me) i expect more advance moding if u expert in linux but u share a basic thing in wrong section lol...
.
.
Spoiler
LESSON 1: dont ask for ETA's, the mod-wanna-be-guy will report it
I think you can join all your threads...
(3 threads)
Try my mod...
Xperia NxT MoD v1.2 For All GB
http://forum.xda-developers.com/showthread.php?t=1967172
Sent from my GT-5360 with Xperia NxT MoD using xda-premium
Ganesh Arivoli said:
I think you can join all your threads...
(3 threads)
Try my mod...
Xperia NxT MoD v1.2 For All GB
http://forum.xda-developers.com/showthread.php?t=1967172
Sent from my GT-5360 with Xperia NxT MoD using xda-premium
Click to expand...
Click to collapse
hey i liked your xperia mod but i don't like ur signature hahaha
Sent from my Android System using Busybox Command.
My work
========================
- AndroBot SGY tweaks
- Nandroid md5 Fixer
- Ext4 to RFS Converter
rio. said:
hey i liked your xperia mod but i don't like ur signature hahaha
Sent from my Android System using Busybox Command.
My work
========================
- AndroBot SGY tweaks
- Nandroid md5 Fixer
- Ext4 to RFS Converter
Click to expand...
Click to collapse
How is my signature now???
Try my mod...
-------------------------------------
Xperia NxT MoD v1.2 For All GB
-------------------------------------
http://forum.xda-developers.com/showthread.php?t=1967172
---------------------------------------
Sent from my GT-5360 with Xperia NxT MoD using xda-premium
This look so easy! I will try this method for sure.
Good job, man!
Excellent work... just the ticket... simple, and easy to understand instructions, not like others, and who's developers are somewhat arrogant and would not listen to suggestions...
Cheers
edit:
I'm guessing it will work on all Samsung Android phones including Note 2 and Galaxy Ace 2 ?
nm8 said:
Excellent work... just the ticket... simple, and easy to understand instructions, not like others, and who's developers are somewhat arrogant and would not listen to suggestions...
Cheers
edit:
I'm guessing it will work on all Samsung Android phones including Note 2 and Galaxy Ace 2 ?
Click to expand...
Click to collapse
I did try it out on my samsung sgw but it didnt work .I just flashed using example zip hehehe .
Anyway will try to make my own using the instructions later .
Thanks & salute :good:
broadways said:
encik_racun, you'll be talking to yourself from now on. take care
Click to expand...
Click to collapse
Don't mind the haters man. Thank you for taking the time to post this, I'll be putting it to good use :good:
One question though, if I needed to use a stock recovery to flash this would it not have to be named "update.zip"?
bavarianblessed said:
Don't mind the haters man. Thank you for taking the time to post this, I'll be putting it to good use :good:
One question though, if I needed to use a stock recovery to flash this would it not have to be named "update.zip"?
Click to expand...
Click to collapse
i think you got a wrong point here.
nobody haters here
everyone that had more experience in xda always reminding anybody if they post in wrong section.
as far i know,modifying updater script better go to general,cause it's more like a guide,and i think almost all devs in devs section already know that
and,using recovery?
you can use any name for the zip,as long the file in root of sdcard,android normal recovery will recognize that.
i think you shouldn't namet that update.zip and choose 'apply update.zip',cause i dunno if any side effect
just play safe
Sent by Schoolar Boy who wanna help and being a devs
Droid_beginner_student said:
i think you got a wrong point here.
nobody haters here
everyone that had more experience in xda always reminding anybody if they post in wrong section.
as far i know,modifying updater script better go to general,cause it's more like a guide,and i think almost all devs in devs section already know that
and,using recovery?
you can use any name for the zip,as long the file in root of sdcard,android normal recovery will recognize that.
i think you shouldn't namet that update.zip and choose 'apply update.zip',cause i dunno if any side effect
just play safe
Sent by Schoolar Boy who wanna help and being a devs
Click to expand...
Click to collapse
+1 on that, i or maybe others dev is expecting something more then this simple scripting, coz he is the linux expert...a linux expert show his simple script? Is he really an expert in linux? Or can he use android sdk? See all his thread, his showing us a simple mod and trick...and when we comment its simple he just get explode
Spoiler
LESSON #99: never ask for ETA's or the mod-wannabe-guy will report it
Whether it's considered advanced development or not isn't important really. The content of this how-to is obviously meant for begginers and I think he successfully achieved that mark. It probably is in the wrong section but the folks at XDA deemed it a news worthy post. That's the only reason I found it anyway.
Sent from my SPH-D710 using xda premium

Categories

Resources