I noticed earlier that m:zombie and m:vampire are not in the market. Any other programs that any of you have noticed are missing?
jlem26 said:
I noticed earlier that m:zombie and m:vampire are not in the market. Any other programs that any of you have noticed are missing?
Click to expand...
Click to collapse
it's because the ruu is signed with test keys, not the release keys, so not everything is showing up.
regaw_leinad said:
it's because the ruu is signed with test keys, not the release keys, so not everything is showing up.
Click to expand...
Click to collapse
That's what I figured but these are the only two apps I have seen missing so far. I was just wondering if anyone else came across more.
jlem26 said:
That's what I figured but these are the only two apps I have seen missing so far. I was just wondering if anyone else came across more.
Click to expand...
Click to collapse
Most of my purchased apps are gone, and they include Basketball, Toss It, Flight Control, and a few others..quite disappointed as I did the RUU install via the .exe file and so far, haven't found a way to undo it and go back to DamageControl 2.1...
spatel9114 said:
Most of my purchased apps are gone, and they include Basketball, Toss It, Flight Control, and a few others..quite disappointed as I did the RUU install via the .exe file and so far, haven't found a way to undo it and go back to DamageControl 2.1...
Click to expand...
Click to collapse
Not to laugh about this, but maybe if that RUU had been kept hidden in the bowles of someones computer that wouldn't have happened. This is what drama does....
Kcarpenter said:
Not to laugh about this, but maybe if that RUU had been kept hidden in the bowles of someones computer that wouldn't have happened. This is what drama does....
Click to expand...
Click to collapse
lol very,very true!
RUU has test-key. thats means no protected apps. You should have flashed one of the many roms based on this RUU(damage,fresh or darchlegend even though its based on the Legend RUU). There already set to go.
Anyway I can do that now?
Lol, not to sound like a jerk but we knew this. I started the thread because I was wondering if anyone else knew which programs were affected. The whole idea behind loading the RUU was to test it out. It would be great if everyone didn't come in here and tell us how we should have loaded a custom ROM. Most of us probably came from a custom ROM to this, like myself.
jlem26 said:
Lol, not to sound like a jerk but we knew this. I started the thread because I was wondering if anyone else knew which programs were affected. The whole idea behind loading the RUU was to test it out. It would be great if everyone didn't come in here and tell us how we should have loaded a custom ROM. Most of us probably came from a custom ROM to this, like myself.
Click to expand...
Click to collapse
Sorry, that was just your first post to the forum, and it had no implications that you knew how to do anything whatsoever. I was just going on what I read from your post. I was guessing you just joined and saw the RUU and flashed it. I am sorry.
regaw_leinad said:
Sorry, that was just your first post to the forum, and it had no implications that you knew how to do anything whatsoever. I was just going on what I read from your post. I was guessing you just joined and saw the RUU and flashed it. I am sorry.
Click to expand...
Click to collapse
Don't be sorry, I wasn't really aiming that at anyone in particular, I was just hoping to head off the thread turning into a point and laugh at the RUU users.
spatel9114 said:
Anyway I can do that now?
Click to expand...
Click to collapse
Manually push flash_image to /system/bin >> You have to give flash_image permissions with adb
Code:
adb shell chmod 0755 /system/bin/flash_image
>> Root and reflash recovery (use this guide, except substitute 1.6.2 instead of 1.5.2 recovery (or use whatever recovery you want)>> Then reboot into recovery and nandroid back to your original build. You can even nandroid back to Fresh 2.0d and you will retain your new PRI.
If you have never made a backup, then download whatever ROM you want to try and use flash from .zip in recovery to flash the new ROM.
I included flash_image if you need it to push. This is not a .zip file, but I had to add .zip to attach it here. Rename it without the .zip or push it by typing
Code:
adb push flash_image.zip /system/bin/flash_image
Well I modified the build.prop last night and now all the apps are showing up in the market.
jlem26 said:
Well I modified the build.prop last night and now all the apps are showing up in the market.
Click to expand...
Click to collapse
Wow, is this easily done? I'm missing root manager, but otherwise am liking the leak (minus sprint crap).
Also.notice quick boot isn't working, but I'm sure its fixable, I just haven't looked or may not have the experience to get it going.
MILH0U5E said:
Wow, is this easily done? I'm missing root manager, but otherwise am liking the leak (minus sprint crap).
Also.notice quick boot isn't working, but I'm sure its fixable, I just haven't looked or may not have the experience to get it going.
Click to expand...
Click to collapse
Yeah it is pretty easy, just need to get your build.prop, then in wordpad, if using windows use wordpad not notepad, just have to make a few changes. After that you clear the market cache. When I did this last night, none of the protected apps showed up, however this morning they all did. So for reason it may take a bit to work right but it did work. Just checked and root manager is showing in my market too.
I'll just post one I found online. If you adb push this to /system/ it should work.
Kcarpenter said:
Not to laugh about this, but maybe if that RUU had been kept hidden in the bowles of someones computer that wouldn't have happened. This is what drama does....
Click to expand...
Click to collapse
@Kcarpenter, maybe dont post inflammatory stuff like this and instead be helpful and we wont have drama?
@Jlem
Good to see you got it going. You should share your build.prop (or link to instructions) so others that may have made the early (and quite risky) install of the RUU could get it going. That would be a nice thing to do
Personally I think you're crazy for trying that RUU!!! hahaha ! I'm glad someone did, and I hope it all works out for you.
edit:And you did! good work
Kcarpenter said:
Not to laugh about this, but maybe if that RUU had been kept hidden in the bowles of someones computer that wouldn't have happened. This is what drama does....
Click to expand...
Click to collapse
+1 Truth.
I have a feeling many people will do this.
danknee said:
Manually push flash_image to /system/bin >> You have to give flash_image permissions with adb
Code:
adb shell chmod 0755 /system/bin/flash_image
>> Root and reflash recovery (use this guide, except substitute 1.6.2 instead of 1.5.2 recovery (or use whatever recovery you want)>> Then reboot into recovery and nandroid back to your original build. You can even nandroid back to Fresh 2.0d and you will retain your new PRI.
If you have never made a backup, then download whatever ROM you want to try and use flash from .zip in recovery to flash the new ROM.
I included flash_image if you need it to push. This is not a .zip file, but I had to add .zip to attach it here. Rename it without the .zip or push it by typing
Code:
adb push flash_image.zip /system/bin/flash_image
Click to expand...
Click to collapse
Alright, so when I go to do that, I get an error "Read-Only File System"..How can I make it read/write?
spatel9114 said:
Alright, so when I go to do that, I get an error "Read-Only File System"..How can I make it read/write?
Click to expand...
Click to collapse
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
jlem26 said:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
Click to expand...
Click to collapse
or adb remount first.
Related
Hi everybody!
Sorry my english &probably stupid question.
Does anyone know how to delit this apk? I hate it, and don't use it...
Ps I have root, but don`t know alot about codding
hr00st said:
Hi everybody!
Sorry my english &probably stupid question.
Does anyone know how to delit this apk? I hate it, and don't use it...
Ps I have root, but don`t know alot about codding
Click to expand...
Click to collapse
Assuming you have JFv1.3 (or an earlier version),
open up terminal emulator and type:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock03 /system
rm /system/app/com.amazon.mp3.apk
JesusFreke said:
Assuming you have JFv1.3 (or an earlier version),
open up terminal emulator and type:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock03 /system
rm /system/app/com.amazon.mp3.apk
Click to expand...
Click to collapse
sweet!! thanks.. What about myfaves? Does this free up space? Just curious, mainly I'm just kind of ocd and don't like the programs I don't need and will never use eying me all the time.
gottifour said:
sweet!! thanks.. What about myfaves? Does this free up space? Just curious, mainly I'm just kind of ocd and don't like the programs I don't need and will never use eying me all the time.
Click to expand...
Click to collapse
do *not* try to delete myfaves. your phone will be very unstable. if you don't want myfaves, use the RC8 or ADP1 builds
JesusFreke said:
do *not* try to delete myfaves. your phone will be very unstable. if you don't want myfaves, use the RC8 or ADP1 builds
Click to expand...
Click to collapse
I almost used the ADP1 build but I went with the rc30 for that reason alone. Other then the im thing are there alot of other differences?
gottifour said:
I almost used the ADP1 build but I went with the rc30 for that reason alone. Other then the im thing are there alot of other differences?
Click to expand...
Click to collapse
the myfaves and IM thing are the main ones. There is also less space available in /data and more in /system (which I may be able to fix in an soon-to-be-upcoming update)
JesusFreke said:
the myfaves and IM thing are the main ones. There is also less space available in /data and more in /system (which I may be able to fix in an soon-to-be-upcoming update)
Click to expand...
Click to collapse
cool..thanks for all of your hard work. I may switch to the ADP1 soon. One more quick question and I'll stop de railing this thread. Lets say you do update your already awesome images. Will a full wipe be necessary every time?
gottifour said:
cool..thanks for all of your hard work. I may switch to the ADP1 soon. One more quick question and I'll stop de railing this thread. Lets say you do update your already awesome images. Will a full wipe be necessary every time?
Click to expand...
Click to collapse
only when switching between builds. i.e. from ADP1 to RC30
JesusFreke said:
only when switching between builds. i.e. from ADP1 to RC30
Click to expand...
Click to collapse
Thank you..
JesusFreke said:
Assuming you have JFv1.3 (or an earlier version),
open up terminal emulator and type:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock03 /system
rm /system/app/com.amazon.mp3.apk
Click to expand...
Click to collapse
Thanks a lot!!!!!!!!!!!!!!!!
JesusFreke said:
Assuming you have JFv1.3 (or an earlier version),
open up terminal emulator and type:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock03 /system
rm /system/app/com.amazon.mp3.apk
Click to expand...
Click to collapse
Thanks for this jf
JesusFreke said:
Assuming you have JFv1.3 (or an earlier version),
open up terminal emulator and type:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock03 /system
rm /system/app/com.amazon.mp3.apk
Click to expand...
Click to collapse
I just deleted the amazon app the way you described. It worked great. so, would I be able to use the same command to remove say... the alarm clock, sound recorder, voice dialer etc? obviously leaving any needed system apps on the phone. Just wondering as that would help strip my OS down a bit.
Duncan79 said:
I just deleted the amazon app the way you described. It worked great. so, would I be able to use the same command to remove say... the alarm clock, sound recorder, voice dialer etc? obviously leaving any needed system apps on the phone. Just wondering as that would help strip my OS down a bit.
Click to expand...
Click to collapse
you can remove ANYTHING you want using this command. This is one reason Tmobile locked people out of root. Keep in mind, deleting some .apk's is going to make your phone unstable. This was discussed in another thread when someone deleted the mfavs.apk. After deleting myfav's they could no longer sync their contacts.
Make a back up and go for it. Worse case you will be reloading your phone. If I had a 2nd Dream I'd be stripping it down, but I don't so I'm going to leave this for someone that has a spare phone.
It's ok. I can see which apps are important.
I might test this process and make a help thread detailing which apps are safe to remove, and which ones really shouldn't be touched. Like you said, rsfaze, I can always flash the image again if anything goes wrong.
Duncan79 said:
It's ok. I can see which apps are important.
I might test this process and make a help thread detailing which apps are safe to remove, and which ones really shouldn't be touched. Like you said, rsfaze, I can always flash the image again if anything goes wrong.
Click to expand...
Click to collapse
so very true. I "should" experiment myself but after moving my Browser,market and streetview to my sdcard. I have installed all of the applications I use and still have 51 MB of space so I'm cool for now. I did delete the amazon.apk too.
JesusFreke said:
Assuming you have JFv1.3 (or an earlier version),
open up terminal emulator and type:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock03 /system
rm /system/app/com.amazon.mp3.apk
Click to expand...
Click to collapse
Nice! I just gave it a try and worked like a charm.
rsfaze said:
so very true. I "should" experiment myself but after moving my Browser,market and streetview to my sdcard. I have installed all of the applications I use and still have 51 MB of space so I'm cool for now. I did delete the amazon.apk too.
Click to expand...
Click to collapse
I'd love to move things like that to the SDcard. I think I'll study the relivent post for that first though. Heck, I spent about a week studying the rc8 thread before taking the plunge. Better safe than sorry, huh?
Duncan79 said:
I'd love to move things like that to the SDcard. I think I'll study the relivent post for that first though. Heck, I spent about a week studying the rc8 thread before taking the plunge. Better safe than sorry, huh?
Click to expand...
Click to collapse
yep. It's pretty simple..few lines for each thing. Scroll down this link to the quoted section. Follow those steps and you are good.
http://forum.xda-developers.com/showthread.php?t=443336&page=2
Thanks. I must say that this is by far the most helpful place, and everyone seems really friendly.
And a big thanks to JF for giving us late UKers root access. Thanks man.
So I did a backup and went to town.
Alarm Clock - fine
Calculator - fine
Voice Dialer - fine
Amazon - fine
Email - fine
After those, I rebooted and everything ran as expected. Then I got greedy.
IM - fine
A reboot yielded a successful and functional update to the installed packages.
Im* - NOT FINE
Talk about loads of errors Oddly enough, I could still use my phone but I had to constantly ignore errors.
I tossed my rc30 backup aside and just installed ADP1 for kicks. So far I'm enjoying what I'm experiencing. Will I go back to rc30 though? No idea. Tis why backups are a nice thing!
I am tempted to see if I can't remove a few others...surely sound recorder and music can be removed. What interests me though is Talk. I don't think that is tied into any services (like calendar, gmail, etc)...thoughts?
Not my work, sed took ivan's rom and added the the sholes fingerprint.
Full Market should work fine in it now.
http://www.multiupload.com/X0LZ3W1RSL
Awesome. Thanks for uploading this.
jcase said:
Not my work, sed took ivan's rom and added the the sholes fingerprint.
Full Market should work fine in it now.
http://www.multiupload.com/X0LZ3W1RSL
Click to expand...
Click to collapse
Thanks sed .......
and jcase
are there a few specific files that were changed so i could manually push those instead? done my own customizing and, if possible, would like to avoid pushing all those edits again
but thanks for the work
gohamstergo said:
are there a few specific files that were changed so i could manually push those instead? done my own customizing and, if possible, would like to avoid pushing all those edits again
but thanks for the work
Click to expand...
Click to collapse
For existing roms, use my script.
jcase said:
For existing roms, use my script.
Click to expand...
Click to collapse
ah alrighty. ill search for it. since i dont see a link in the OP.
edit: got it. twas in the later pages of your market fix thread.
EDIT2: flashing over an existing Ivan .8 with a dalvik-only wipe works great. got all my previously purchased apps now and no apps wiped
gohamstergo said:
ah alrighty. ill search for it. since i dont see a link in the OP.
edit: got it. twas in the later pages of your market fix thread.
EDIT2: flashing over an existing Ivan .8 with a dalvik-only wipe works great. got all my previously purchased apps now and no apps wiped
Click to expand...
Click to collapse
Without it working, I'm 1" away from doing a wipe.
Some claim success without a wipe, some say they need it, and some say they wait a couple of days.
I'm playing the waiting game.
gohamstergo said:
ah alrighty. ill search for it. since i dont see a link in the OP.
edit: got it. twas in the later pages of your market fix thread.
EDIT2: flashing over an existing Ivan .8 with a dalvik-only wipe works great. got all my previously purchased apps now and no apps wiped
Click to expand...
Click to collapse
I tried a dalvik-wipe then flash but I still couldn't find tapatalk in the market. I had to do a full wipe.
pkopalek said:
I did this, exactly, only using dalvik, from my existing 0.8t2.
adb shell
su
cd system
cd app
rm -r VVMStub_v3.apk
.... says it's Read Only.
trying to chmod it, can't it's Read-Only (despite my superuser access)
All in system/app is Read-Only. I can't even chmod.
Can't remove VVMStub_v3.apk
teeter.apk
com.android.launcher2.apk
that's all I tried, then I quit and I flashed my nandroid restore point back to the original 0.8t2 from BEFORE market fix.
Now I can manipulate my apps again.
Click to expand...
Click to collapse
you forgot to mount
adb remount
adb shell
rm -r /system/app/VVMStub_v3.apk
that's it
Using the Market Fix Ivan's ROM. Having an issue with app updates now.
About 1/2 a dozen of apps had updates pop up for me today. The update would download then go into "install" then return an "insufficient memory" error. Strange thing is that if the update was 700kb or less, the update would install. Larger updates like Handcent (~1.7M) would error out.
An uninstall and redownload/install of the problematic apps would work so I wasn't stuck other than resetting up apps like Handcent.
jcase did try to help me on IRC but I'm a tard when it comes to trying to copy/paste from the cmd window.
OK, I made a zip. Who wants to be my guinea pig? It's at the bottom of the post. (erase -signed and put it on the internal sd)
blackjackboy said:
I guess my idea would be to take the settings.apk from either the Vibrant dump or cyanogenmod 5.0 and push it to /system/app or wherever the settings.apk is located. Does anyone think that this would work or be willing to try it? I'm just worried that this will brick the touchwiz, and without an "original ROM" or RUU and custom recovery, I'm afraid to try it. Is there anyone braver than me?
Click to expand...
Click to collapse
Did you check this thread?
http://forum.xda-developers.com/showthread.php?t=728121
tbae2 said:
Did you check this thread?
http://forum.xda-developers.com/showthread.php?t=728121
Click to expand...
Click to collapse
The thing is, root explorer isn't free. I want to give people an easy, free solution (maybe flashing something from recovery?). For now, ADB will work for me, but in the future I want to provide something flashable from recovery.
Well, the best thing to do, simply run a sql command along with the rooting update.zip.
I will work on this today and get back to you guys soon.
http://androidforums.com/samsung-ca...e-sideloading-apps-captivate.html#post1178618
Been done.
blackjackboy said:
The thing is, root explorer isn't free. I want to give people an easy, free solution (maybe flashing something from recovery?). For now, ADB will work for me, but in the future I want to provide something flashable from recovery.
Click to expand...
Click to collapse
It isn't free but it isn't expensive either. You just dropped a large wad of cash for the phone, seems like another $3 to get it the way you want it wouldn't be such a big deal.
blackjackboy said:
The thing is, root explorer isn't free. I want to give people an easy, free solution (maybe flashing something from recovery?). For now, ADB will work for me, but in the future I want to provide something flashable from recovery.
Click to expand...
Click to collapse
Droid Explorer is.
I'm an android noob but experienced linux user, so I came up with my own free solution: download a terminal emulator app (the one i got was free, and called, simply, Terminal Emulator, I think).
Then (in the terminal emulator):
Copy the settings.db file to the SD card:
To get superuser access so you can get to the settings.db file (need a rooted phone, obv):
Code:
$su
And confirm the popup allowing access.
Code:
#busybox cp /dbdata/databases/com.android.providers.settings/settings.db /sdcard/settings.db
Then hook up your phone via USB (mass storage method) and use your window manager to copy that from the phone to the computer, edit with an SQL database browser, save it, verify it's still good, move it back to the SD card, then, back on the phone in the terminal emulator:
To get superuser access again:
Code:
$su
Shouldn't have to confirm the popup allowing access again, as the first time appears to do it.
Move the original file to a backup name (just to be safe):
Code:
#busybox mv /dbdata/databases/com.android.providers.settings/settings.db /dbdata/databases/com.android.providers.settings/settings.db.old
Copy the new (edited) file into place:
Code:
#busybox cp /sdcard/settings.db /dbdata/databases/com.android.providers.settings/settings.db
Then reboot, and enjoy the ability to install non-market apps. My first install was Flash 10.1. Works fine on the Captivate.
blackjackboy said:
The thing is, root explorer isn't free. I want to give people an easy, free solution (maybe flashing something from recovery?). For now, ADB will work for me, but in the future I want to provide something flashable from recovery.
Click to expand...
Click to collapse
Grab Android Mate from the market, it is free and has root level exploration
blackjackboy said:
OK, I made a zip. Who wants to be my guinea pig? It's at the bottom of the post. (erase -signed and put it on the internal sd)
Click to expand...
Click to collapse
This might also work, I have used it, pretty simple
http://m.androidcentral.com/sideload-android-apps-all-you-want-sideload-wonder-machine
Superoneclickroot has a one click enable non market apps next to the root button, fyi.
terrymc said:
This might also work, I have used it, pretty simple
http://m.androidcentral.com/sideload-android-apps-all-you-want-sideload-wonder-machine
Click to expand...
Click to collapse
Smasher816 said:
Superoneclickroot has a one click enable non market apps next to the root button, fyi.
Click to expand...
Click to collapse
:faceplam:
bump a year old thread? with these no less....
whats wrong with bumping a (insert # here) old thread? it hasnt been closed or deleted. as long as info pertaining to the OP is being posted shouldnt it be a non-issue? now if it was bumped with something like 'why bump this fossil thread?' then that would be a pointless bump. i gained info from the 1 year late post about superoneclick and thanked the guy for posting it.
EDIT: you spelled 'facepalm' wrong.
Well first it shouldn't even be here in development. And second thread closed.
As the title suggest, I have a 2.21 based Nexus One. And I use a Mac. Is ther an easy way to root it?
ajaffarali said:
As the title suggest, I have a 2.21 based Nexus One. And I use a Mac. Is ther an easy way to root it?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=8315805&postcount=2
He's right. There is nothing really different about the mac rooting process since the SDK tools are generally the same.
efrant said:
http://forum.xda-developers.com/showpost.php?p=8315805&postcount=2
Click to expand...
Click to collapse
This guide was for the main 2.2.1 update. Since the last time that post was edited, there was a second 2.2.1 OTA pushed, which I believe was a small fix for adjusting partitions or something similar and gave a slightly different build number. You know if this still works for FRG83D?
Xel'Naga said:
This guide was for the main 2.2.1 update. Since the last time that post was edited, there was a second 2.2.1 OTA pushed, which I believe was a small fix for adjusting partitions or something similar and gave a slightly different build number. You know if this still works for FRG83D?
Click to expand...
Click to collapse
Rooting by the method quoted works on all Android builds to date.
Ok- finally found some time for this but I'm getting a permission error at the step:
./busybox cp busybox /system/bin
Everything above that works well but when I reach this step, it messes up.
ajaffarali said:
Ok- finally found some time for this but I'm getting a permission error at the step:
./busybox cp busybox /system/bin
Everything above that works well but when I reach this step, it messes up.
Click to expand...
Click to collapse
The guide is prob missing a step. Make sure you change the permissions on busybox to allow it to run before you try using it. Try chmod 755 busybox
ajaffarali said:
Ok- finally found some time for this but I'm getting a permission error at the step:
./busybox cp busybox /system/bin
Everything above that works well but when I reach this step, it messes up.
Click to expand...
Click to collapse
Make sure you actually did get root, I had to run the first step a few times until I got the root prompt on my friends phone.
efrant said:
The guide is prob missing a step. Make sure you change the permissions on busybox to allow it to run before you try using it. Try chmod 755 busybox
Click to expand...
Click to collapse
Thanks! That did the trick. Nexus One is now rooted. Now to make the hard decision on which ROM to flash it with
ajaffarali said:
Thanks! That did the trick. Nexus One is now rooted. Now to make the hard decision on which ROM to flash it with
Click to expand...
Click to collapse
First thing to do after rooting is to make a backup. You would be surprised as to how many people forget to do this.
ajaffarali said:
Thanks! That did the trick. Nexus One is now rooted. Now to make the hard decision on which ROM to flash it with
Click to expand...
Click to collapse
First, flash any custom recovery if you already hadn't.
Then make a nandroid backup. It's a 'must' so you can go back if custom ROM flashing goes wrong. Also, backup your applications and their data is recommended.
Hey guys, need some help with this one from some of you with more android/linux experience than me.
In my continuing quest to make Blackhole as customizable as possible I've been working on a way for users to easily install paid apps (legally downloaded of course), and stuff that I don't have available in rom manager in one easy step at the same time the rom is installed. In pursuit of this goal I've found that it's possible for the update-script file inside a clockworkmod zip to call a script in the zip as well. I've gotten it to say it's run the script, but it doesn't do what it's supposed to. here's what i've got:
#! /bin/
busybox cp /sdcard/app/* /system/app/
When I type the command into a terminal on the phone it works. When I open an adb shell and type "bash install.sh" it works. But when I get the update.zip to run the script, or run it in root explorer it just says it's run it, but doesn't do anything.
Is there something I'm missing about how to call the script? Do I need to somehow add the bash program to the zip file so it can run the script right? Has anyone ever done something like this who can point me in the right direction?
do you have an output you can show us?
Sent from my SCH-I500 using XDA App
This is a shot in the dark but does writing to /system/app require root permissions? It could be that you've given your terminal app root, so it runs under su. But when the script is being executed it does not have root and fails, but perhaps the output is being held back a bit and you're not seeing the permission denied.
Steve_ ?!
whoa, didn't expect it to be you of all people
Anyhoo, this is a bit off topic, but I've got a small request, can you somehow make BlackHole 2.4 an option on Rom manager? I don't have DL09 so I can't use 3.0, but I really like the ability to select everything to customize, instead of me going and installing one thing at a time....
Why not just add the following to the end of the update-script:
Code:
copy_dir /sdcard/app SYSTEM:
Also, is the SDCard mounted by default when the phone boots to recovery? If it isn't, or it isn't mounted while the update is processing, that will also cause the problem.
wizang said:
This is a shot in the dark but does writing to /system/app require root permissions? It could be that you've given your terminal app root, so it runs under su. But when the script is being executed it does not have root and fails, but perhaps the output is being held back a bit and you're not seeing the permission denied.
Click to expand...
Click to collapse
Could very well be, it's not showing me any output when i run it the two ways it doesn't work, just says it's been run.
vegittoss15 said:
Steve_ ?!
whoa, didn't expect it to be you of all people
Anyhoo, this is a bit off topic, but I've got a small request, can you somehow make BlackHole 2.4 an option on Rom manager? I don't have DL09 so I can't use 3.0, but I really like the ability to select everything to customize, instead of me going and installing one thing at a time....
Click to expand...
Click to collapse
Haha, caught me. I was trying to remain incognito Yeah, i'll get 2.4 loaded back up on rom manager for you today. But if you flash 3.0 it will upgrade you to DL09 and the DJ05 kernels and modem are compatible, or at least no one i know of has had issues.
imnuts said:
Why not just add the following to the end of the update-script:
Code:
copy_dir /sdcard/app SYSTEM:
Also, is the SDCard mounted by default when the phone boots to recovery? If it isn't, or it isn't mounted while the update is processing, that will also cause the problem.
Click to expand...
Click to collapse
sdcard is mounted when you go to recovery, because it's got to access the update.zip file on it to install anything. I'll try your code, do you know what to put after SYSTEM: to make it go to the /app directory? thanks for the idea, it's a different way to go, i didn't think about the fact the update-script could access the device if you don't use the "package" tag.
Don't you need to add "sh" to the bin directory and define the script as so:
#! /bin/sh
if you want it to execute properly..
dcow90 said:
Don't you need to add "sh" to the bin directory and define the script as so:
#! /bin/sh
if you want it to execute properly..
Click to expand...
Click to collapse
normally yes, but there doesn't seem to be a /bin/sh directory on my fascinate, only /bin and that's where the cp and mv and cat, etc. are.
I made a script to do this forever ago on my G1 when it first came out... Let me see if I can find it.
This has been done lots of times before. If you look around on xda there are some backup scripts which do the same thing.
Sent from my SCH-I500
imnuts said:
Why not just add the following to the end of the update-script:
Code:
copy_dir /sdcard/app SYSTEM:
Also, is the SDCard mounted by default when the phone boots to recovery? If it isn't, or it isn't mounted while the update is processing, that will also cause the problem.
Click to expand...
Click to collapse
Well I gave that a shot, and i think it could work, but the recovery wouldnt do it. it says "non-package source path not yet supported" good idea tho.
yutsoku said:
I made a script to do this forever ago on my G1 when it first came out... Let me see if I can find it.
Click to expand...
Click to collapse
If you can that would be great.
n0yd said:
This has been done lots of times before. If you look around on xda there are some backup scripts which do the same thing.
Sent from my SCH-I500
Click to expand...
Click to collapse
I spent a good bit of time searching and most of the scripts I found were much more complex than what i need, or were written to run on a computer, which i've already done.
sonofskywalker3 said:
normally yes, but there doesn't seem to be a /bin/sh directory on my fascinate, only /bin and that's where the cp and mv and cat, etc. are.
Click to expand...
Click to collapse
Thats not the point. You need to set a shell interpreter, not a path. Cwm uses busybox sh, which is in /bin in recovery mode. Google search shebang
Sent from my SCH-I500 using XDA App
jt1134 said:
Thats not the point. You need to set a shell interpreter, not a path. Cwm uses busybox sh, which is in /bin in recovery mode. Google search shebang
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
Going to go ahead and parade my stupidity in front of everyone here:
so does that mean i'm right using #! /bin/ or that it should be #! /bin/sh/ or something else entirely? I'm so confused.
sonofskywalker3 said:
Going to go ahead and parade my stupidity in front of everyone here:
so does that mean i'm right using #! /bin/ or that it should be #! /bin/sh/ or something else entirely? I'm so confused.
Click to expand...
Click to collapse
#!/bin/sh for scripts in recovery. #!/system/bin/sh for scripts in android.
Sent from my SCH-I500 using XDA App