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!
Related
I'm attempting to make the EC05 Stock Deodex Theme Template for us. I'm not getting a successful flash doing it however. Here's the contents of my update script:
Code:
show_progress 0.1 0
delete_recursive DATA:dalvik-cache/
copy_dir PACKAGE:tools TMP:/tools
set_perm_recursive 0 0 0755 TMP:tools
run_program /tmp/tools/deodex.sh
copy_dir PACKAGE:system SYSTEM
show_progress 0.2 10
And here's the content of the deodex.sh
HTML:
#!/tmp/bash
rm -rf /system/app/*.odex
rm -rf /system/framework/*.odex
Note Bash is included with tools folder. This zip is saying system not mounted when it clearly is in cw and on top that the deodex.sh isn't executing. Any help would be appreciated.
dreamsforgotten said:
Note Bash is included with tools folder...the deodex.sh isn't executing.
Click to expand...
Click to collapse
if that's the case, then shouldn't the first line of your deodex.sh have the proper path to bash? (/tmp/tools/bash)
Ah good eye! Now how do I mount system in amend?
Sent from my SPH-D700 using Tapatalk
dreamsforgotten said:
Ah good eye! Now how do I mount system in amend?
Click to expand...
Click to collapse
that I wish I knew more about...I'm just an old school BSD administrator with a love of scripting ;-)
zentex said:
that I wish I knew more about...I'm just an old school BSD administrator with a love of scripting ;-)
Click to expand...
Click to collapse
Nevertheless thanks for catching the previous error I'm almost there!
Sent from my SPH-D700 using Tapatalk
wish i knew about this stuff dog i would definately help out! seems like it would be a simple fix but for me its like moving a mountain! lol! let me know when you get this working! cmon guys can we get a hell ya! lol!
stupid question maybe. why have the bash run? would it not be easier to delete app system/app and system/framework and reflash a deodexed app and framework... the reason u ask is that is how i got my system deodexed here is a copy of my zip....
http://www.4shared.com/file/VdcLevLi/EC05_deodex.html
sorry if i missed the whole point of the thread but it seemed like there was an easier way.
just trying to help.
spdwiz18 said:
stupid question maybe. why have the bash run? would it not be easier to delete app system/app and system/framework and reflash a deodexed app and framework... the reason u ask is that is how i got my system deodexed here is a copy of my zip....
http://www.4shared.com/file/VdcLevLi/EC05_deodex.html
sorry if i missed the whole point of the thread but it seemed like there was an easier way.
just trying to help.
Click to expand...
Click to collapse
LMAO, Once again I'm over complicating ****. No reason at all not to do it like you did. The simple method was to have the deodex.sh script in the zip, call it from the zip and flash system/framework; /app but that method isn't working for me anymore. I decided to move it all to the temp directory to fix the prob instead of thinking like you and just wiping the whole folders. You really need to post this, there is high demand for it my PMs have been stacking up!
spdwiz18 said:
stupid question maybe. why have the bash run? would it not be easier to delete app system/app and system/framework and reflash a deodexed app and framework... the reason u ask is that is how i got my system deodexed here is a copy of my zip....
http://www.4shared.com/file/VdcLevLi/EC05_deodex.html
sorry if i missed the whole point of the thread but it seemed like there was an easier way.
just trying to help.
Click to expand...
Click to collapse
ssswwweeeett!! thanks man!
question before i make official post?
updater script will run on admend and edify correct? at the moment im still on cmw2 im 100 % sure it will work on cmw3. this is the only reason i have not posted it.
posted......
http://forum.xda-developers.com/showthread.php?p=13039885#post13039885
spdwiz18 said:
question before i make official post?
updater script will run on admend and edify correct? at the moment im still on cmw2 im 100 % sure it will work on cmw3. this is the only reason i have not posted it.
Click to expand...
Click to collapse
it should work on both. I'm on 2.5 as well. It really doesn't matter, however, because most people want a stock deodex theme template for 1 or 2 reasons. To theme stock and never flash a rom or to use as a template to theme off of. One suggestion, put the stock font folder in there as well so when you flash a theme, you can flash this in between to wipe out all of the other traces of the old theme and prepare your phone for the new one. Thank you once again, my dumb ass has been stuck on stock for a week and it's been so long I didn't remember any amend commands!
i will add it in.
Confirmed working flawless
Sent from my SPH-D700 using Tapatalk
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.
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
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!
Having some trouble making an update.zip for our phone. I was making my first update.zip by trying to push an apk file into /system/app. Below is the content of updater-script.
ui_print("Installing Titanium Backup6.0.2");
package_extract_file("system/app/TitaniumBackup602.apk","/system/app/TitaniumBackup602.apk");
set_perm(1000, 1000, 0664, "/system/app/TitaniumBackup602.apk");
ui_print("Done.");
Everytime I flash it gives an Installation aborted error. also I am confused about the update-binary file.Some say we should just copy paste the working binary file into our update.zip but I have two files(each of different sizes) both working with the zips they came along but surprisingly I am still getting the same error.
Any more info required? Please help.This is really frustrating.
Re: [Q] Trouble making update.zip
just use Notepad++ for editing updater scripts otherwise u will allways have errors in cwm when you try to flash it....
Sent fom my S-II running Vanilla Rootbox >>Nightly (2013/03/31)<< powered with DorimanX kernel v. >>9.12<<
Re: [Q] Trouble making update.zip
I used gedit on ubuntu.
You read my post :what:click Thanks to undo