2. Set permission for /cache/, /cache/dalvik-cache/, /data/dalvik-cache/ to 777 (full permissions).
3. Continue with part 2 of the setup guide.
Disclaimer!: the permission changes introduced were probably for additional security. After patching, I recommendcchanging the permissions back. If you've forgotten the original permissions, flashing your ROM again fixes them.
You're up to where I'm at when trying to fix it. I've discovered that you can not (even if with root and su) give anything in the sdcard space greater permissions than 775. The creator of Quick Patch (autophil) is working on making quick patch work. If you happen to find a work around in the mean time, please share.
Actually I wasn't working on it, since I couldn't get the CFW onto my phone to reproduce the problem, and I was busy with other stuff... I was hoping someone else would come up with a workaround, and it looks like you did!
I'm going to try out your fix, and if I can get it it working for me, I'll set it up for everyone, then double-check with you to make sure it's set up right, and give you credit for it in the top post of course. Thanks!
"/mnt/sdcard" is the storage location. You may change it to another writable location, for example, "/cache". See the last few posts. It will still work without changing the launcher script, but you'll be prompted for the storage location every time.
Read the top post again if you forgot what this is for.
DanXCI, please let me know if this works for you, and thanks again!
from what i read are we comming to the conclusion that QP does not work on cm10? cuz im useing a cm10 w/ stg7 enhancement moded rom called aliendroid for my kindle fire. PT works just fine but i want the more control and not having to uninstall is a added bonus and the different variety of mods. anyway i was wondering if i should switch roms or such, or som1 tell me to get around it. or even better lead me to a tut for dual boot
anyway thanks
XianTiell
EDIT:
Nevermind i got it to work all thanks to you guys i found what i was doing wrong and i second DanXCL's work i do not care if it is dirty or not (tho i really do not know im rather inexperienced in scripting) but it works im on a cm10 as i said and its working as of 1/26/2012 at 6:55 just to give a detailed report
from what i read are we comming to the conclusion that QP does not work on cm10? cuz im useing a cm10 w/ stg7 enhancement moded rom called aliendroid for my kindle fire. PT works just fine but i want the more control and not having to uninstall is a added bonus and the different variety of mods. anyway i was wondering if i should switch roms or such, or som1 tell me to get around it. or even better lead me to a tut for dual boot
anyway thanks
XianTiell
Hey, I just made some changes today based on suggestions by DanXCI... take a look at the previous page, you should hopefully be able to get it working under CM by following his instructions and using "/cache" instead of "/mnt/sdcard" in the launcher script.
DanXCI, please let me know if this works for you, and thanks again!
Works like a charm! If you could update the instructions to include the permission changes and changing the script to use /cache, you'll make a lot of jellybean users happy
Pro tip for people to flash nightly builds or updates to your ROMs and the script stops working, check your permissions as flashing a new/updated ROM can "fix" your permissions.
Works like a charm! If you could update the instructions to include the permission changes and changing the script to use /cache, you'll make a lot of jellybean users happy
Pro tip for people to flash nightly builds or updates to your ROMs and the script stops working, check your permissions as flashing a new/updated ROM can "fix" your permissions.
Happy patching!
Thanks for testing it out! I'm honestly not sure I want to formally recommend the permissions changing, as it could have undesired consequences. If there is a way to set it up where a new location can be created (like "/qp" or something) and permissions _only_ changed on that location, I'll recommend it (and probably just have the script automate it).
Hey, I just made some changes today based on suggestions by DanXCI... take a look at the previous page, you should hopefully be able to get it working under CM by following his instructions and using "/cache" instead of "/mnt/sdcard" in the launcher script.
I got it to work but I used Dans files I read the post from front to back then finally found Dans 2js files and the both work on my ROM so I'm happy thanks Dan but the /cache or /mint/sdcard or any of those in the "main ("...."); line did not work for me. Buuut I might just of had the permiions wrong. But thanks anyway I love it! Only problem is if u want a texture pack... install before u use it. Learnt that the hard way lol
I got it to work but I used Dans files I read the post from front to back then finally found Dans 2js files and the both work on my ROM so I'm happy thanks Dan but the /cache or /mint/sdcard or any of those in the "main ("...."); line did not work for me. Buuut I might just of had the permiions wrong. But thanks anyway I love it! Only problem is if u want a texture pack... install before u use it. Learnt that the hard way lol
XianTiell
Either way, I'm glad you got it working. If you follow Dan's instructions regarding permissions, but don't use his scripts, and then do the steps in the first post, you should be able to get my version working, and then you'll get any future updates... but I don't intend to update much, so if it's working for you as-is, I'd probably just stick with it.
Thanks for testing it out! I'm honestly not sure I want to formally recommend the permissions changing, as it could have undesired consequences. If there is a way to set it up where a new location can be created (like "/qp" or something) and permissions _only_ changed on that location, I'll recommend it (and probably just have the script automate it).
Having a /QP folder would be great but the permissions still need to be changed just for the scripts to run including the simple "hello world" example. Having QP do its business in /cache is also tidyer as the cache folder is cleared on reboots and needs full permissions for sl4a/rhino to work. So now its down to the guys that make SLA/rhino to work with android's new permission structure.
I got it to work but I used Dans files I read the post from front to back then finally found Dans 2js files and the both work on my ROM so I'm happy thanks Dan but the /cache or /mint/sdcard or any of those in the "main ("...."); line did not work for me. Buuut I might just of had the permiions wrong. But thanks anyway I love it! Only problem is if u want a texture pack... install before u use it. Learnt that the hard way lol
XianTiell
As excited as I am for you to use my scripts, I recommend you use autophils script on the last page. I'll be updating my instructions to include the updated script.
the permissions still need to be changed just for the scripts to run including the simple "hello world" example.
Ah, right, forgot about that... I knew there was a reason I was planning on abandoning SL4A at one point
Having QP do its business in /cache is also tidyer as the cache folder is cleared on reboots and needs full permissions for sl4a/rhino to work.
Crap, I made a mistake then, because I'm saving the settings (with all the patches and gists) there too... you were still saving them in /mnt/sdcard, but I thought I'd keep everything together. Do you know of a place besides /cache to put things where they won't get deleted? Or maybe I should just hard-code the settings path to /mnt/sdcard, I guess that part was working for you guys?
Crap, I made a mistake then, because I'm saving the settings (with all the patches and gists) there too... you were still saving them in /mnt/sdcard, but I thought I'd keep everything together. Do you know of a place besides /cache to put things where they won't get deleted? Or maybe I should just hard-code the settings path to /mnt/sdcard, I guess that part was working for you guys?
Just have a look through my script to see what I moved to the cache as those files were the only ones that needed to be moved. I'm on my phone so it'll be hard for me to do that right now
Just have a look through my script to see what I moved to the cache as those files were the only ones that needed to be moved. I'm on my phone so it'll be hard for me to do that right now
Yeah, you had all of the temporary stuff in /cache and the file with the actual patches and stuff (the .json file) in /mnt/sdcard, which is probably exactly what you want, since apparently /mnt/sdcard still works for the settings. I changed it so the settings are always stored in /mnt/sdcard/quickpatch.json (as before), and everything else is stored in whatever path you put in the launcher script. Hopefully this is fixed for good now...
At what point does this ask for root access? Anyone got this working on the Nexus 7 stock 4.2 (with ROOT and Custom kernel?)
It asks for SU when you select a patch, it checks the current state of your minecraft to see if you have or don't have the patch applied and then requests SU again when you decide to apply the patch.
Channces are you're running into the permissions problem others and myself have been experiencing. Look for my instructions on the previous page and make sure to read the disclaimer.
Well wil this be fixed? I was really excited about the all the new stuff... Thanks
I have no idea. It's been reported as a bug in both cyanogenmod and SL4A, and if it's fixed by either party, something should show up in one of those tickets. I have no plans to abandon SL4A at this point.
1. Follow part 1 instructions on the first page, take note of the note! Your script should look like this
load("https://raw.github.com/gist/2955835/quickpatch.js"); main("/cache");2. Set permission for /cache/, /cache/dalvik-cache/, /data/dalvik-cache/ to 777 (full permissions).
3. Continue with part 2 of the setup guide.
Disclaimer!: the permission changes introduced were probably for additional security. After patching, I recommendcchanging the permissions back. If you've forgotten the original permissions, flashing your ROM again fixes them.
Actually I wasn't working on it, since I couldn't get the CFW onto my phone to reproduce the problem, and I was busy with other stuff... I was hoping someone else would come up with a workaround, and it looks like you did!
I'm going to try out your fix, and if I can get it it working for me, I'll set it up for everyone, then double-check with you to make sure it's set up right, and give you credit for it in the top post of course. Thanks!
load("https://raw.github.com/gist/2955835/quickpatch.js"); main("/mnt/sdcard");"/mnt/sdcard" is the storage location. You may change it to another writable location, for example, "/cache". See the last few posts. It will still work without changing the launcher script, but you'll be prompted for the storage location every time.
Read the top post again if you forgot what this is for.
DanXCI, please let me know if this works for you, and thanks again!
anyway the reason why im here.
from what i read are we comming to the conclusion that QP does not work on cm10? cuz im useing a cm10 w/ stg7 enhancement moded rom called aliendroid for my kindle fire. PT works just fine but i want the more control and not having to uninstall is a added bonus and the different variety of mods. anyway i was wondering if i should switch roms or such, or som1 tell me to get around it. or even better lead me to a tut for dual boot
anyway thanks
XianTiell
EDIT:
Nevermind i got it to work all thanks to you guys i found what i was doing wrong and i second DanXCL's work i do not care if it is dirty or not (tho i really do not know im rather inexperienced in scripting) but it works im on a cm10 as i said and its working as of 1/26/2012 at 6:55 just to give a detailed report
Hey, I just made some changes today based on suggestions by DanXCI... take a look at the previous page, you should hopefully be able to get it working under CM by following his instructions and using "/cache" instead of "/mnt/sdcard" in the launcher script.
Works like a charm! If you could update the instructions to include the permission changes and changing the script to use /cache, you'll make a lot of jellybean users happy
Pro tip for people to flash nightly builds or updates to your ROMs and the script stops working, check your permissions as flashing a new/updated ROM can "fix" your permissions.
Happy patching!
Thanks for testing it out! I'm honestly not sure I want to formally recommend the permissions changing, as it could have undesired consequences. If there is a way to set it up where a new location can be created (like "/qp" or something) and permissions _only_ changed on that location, I'll recommend it (and probably just have the script automate it).
I got it to work but I used Dans files I read the post from front to back then finally found Dans 2js files and the both work on my ROM so I'm happy thanks Dan but the /cache or /mint/sdcard or any of those in the "main ("...."); line did not work for me. Buuut I might just of had the permiions wrong. But thanks anyway I love it! Only problem is if u want a texture pack... install before u use it. Learnt that the hard way lol
XianTiell
Either way, I'm glad you got it working. If you follow Dan's instructions regarding permissions, but don't use his scripts, and then do the steps in the first post, you should be able to get my version working, and then you'll get any future updates... but I don't intend to update much, so if it's working for you as-is, I'd probably just stick with it.
Having a /QP folder would be great but the permissions still need to be changed just for the scripts to run including the simple "hello world" example. Having QP do its business in /cache is also tidyer as the cache folder is cleared on reboots and needs full permissions for sl4a/rhino to work. So now its down to the guys that make SLA/rhino to work with android's new permission structure.
As excited as I am for you to use my scripts, I recommend you use autophils script on the last page. I'll be updating my instructions to include the updated script.
Ah, right, forgot about that... I knew there was a reason I was planning on abandoning SL4A at one point
Crap, I made a mistake then, because I'm saving the settings (with all the patches and gists) there too... you were still saving them in /mnt/sdcard, but I thought I'd keep everything together. Do you know of a place besides /cache to put things where they won't get deleted? Or maybe I should just hard-code the settings path to /mnt/sdcard, I guess that part was working for you guys?
Just have a look through my script to see what I moved to the cache as those files were the only ones that needed to be moved. I'm on my phone so it'll be hard for me to do that right now
Yeah, you had all of the temporary stuff in /cache and the file with the actual patches and stuff (the .json file) in /mnt/sdcard, which is probably exactly what you want, since apparently /mnt/sdcard still works for the settings. I changed it so the settings are always stored in /mnt/sdcard/quickpatch.json (as before), and everything else is stored in whatever path you put in the launcher script. Hopefully this is fixed for good now...
It asks for SU when you select a patch, it checks the current state of your minecraft to see if you have or don't have the patch applied and then requests SU again when you decide to apply the patch.
Channces are you're running into the permissions problem others and myself have been experiencing. Look for my instructions on the previous page and make sure to read the disclaimer.
Steps to install are in the first post... is that not working anymore, or are you looking for something more like a video?
Apparently SL4A just doesn't work under some CFW without those permission changes... sorry about that. =/
I have no idea. It's been reported as a bug in both cyanogenmod and SL4A, and if it's fixed by either party, something should show up in one of those tickets. I have no plans to abandon SL4A at this point.