yashsingh1/xdaforums huggingface dataset:
[Captivate Android Development] hayslett4:
Wow, that took a few minutes but it was smooooth and painless. Just make sure all of your files are in the same directory and it's a snap. Now, I'm taking off the rest of the AT&T stuff after installing Froyo. Good stuff!! Thanks!

Just finished taking off the apps. Used the Android System Info app to get all of the file names as stated earlier in the post. Worked like a charm using adb. However, I did have to reinstall Google Maps after taking it off by mistake. I downloaded the Quadrant app and scored a 951.

All in all, I have Froyo, rooted, bloatware removed, and everything looking pretty good. Thanks!
[Captivate Android Development] it2swbrown:
Simple question here...How long does it take shell to kick you out. I read the entire thread and I am still sitting at the $ after chmod?

Thanks
[Captivate Android Development] Dave the Knave:
It won't kick you out after chmod. There's another command under it.

./rageagainstthecage-arm5.bin

Enter that now.
[Captivate Android Development] ahyl:
I felt like a pro when I did this by myself.

YES! thank you!
[Captivate Android Development] it2swbrown:
Wow. I am really blind. Thanks for the quick reply. Gave me a chance to read the entire thread though. lol
[Captivate Android Development] Dave the Knave:
Subscribed to this thread, instant email notifications. Surprisingly, my phone really doesn't go off anymore then it usually does.
[Captivate Android Development] it2swbrown:
Well, that is why I am constantly on this forum. You guys are the best.
[Captivate Android Development] Dave the Knave:
We try our best.
[Captivate Android Development] Dino.:
You helped me! lol, I did this like 4 times >.<

Thanks :D
[Captivate Android Development] jlirgg:
I did that once with Handcent on 2.1 after deleting the other messaging program I was unable to receive picture mail. Reflash back to stock and picture mail worked again.
[Captivate Android Development] erezak:
Great post.

One note: PowerOn file has a .snd extension, at least on my phone.
[Captivate Android Development] FrozenComa:
I ran OCLF 2.1+ with 1024mb and now I get "The process com.android.phone has stopped unexpectedly. Please try again." I ran the undo after and it's still giving me the error. Phone was working fine with froyo and root before I tried. Any idea without me having to re-run Odin?

EDIT: Ended up running Odin. Figured I would run my TB batch without any system data after a fresh start. I still want to know if you used OCLF 2.1+ or 1.0.
[Captivate Android Development] yundragon:
Hi guys,

Would someone be kind enough to get me the exact file name for the nook application please?

Thanks!

EDIT: NVM, /system/app/bn.ereader.apk
[Captivate Android Development] SeriousBizznass:
Trying to use the SDK but it keeps telling me more than one device or emulator is running. I've got no clue.
[Captivate Android Development] Zilch25:
Try typing: adb kill-server

then trying to attach your phone

Alternatively reboot your computer
[Captivate Android Development] SeriousBizznass:
Zilch,

It's still giving me that error. I'll try and reboot my PC. Do you think it could possibly have anything to do with me being behind a firewall at work? I read something to that over on Android Forums.

EDIT:

Still doing it after the reboot. When I type adb devices it lists as follows:

emulator-5554 office

i897ff655290 device
[Captivate Android Development] nizbot:
Thanks!

This was a great thread. After deciding that I wasn't gonna wait any longer for Samsung/AT&T to push out 2.2 I decided to pull the trigger and flash the recent 2.2 leak. In doing so all previous rooting was removed since I flashed back to stock 2.1 first. This thread helped me a) Root my device without installing unnecessary apps on my phone. And more importantly b) learn quite a bit about what I'm actually doing to my device :)

I actually learned a ton, so Thanks!
[Captivate Android Development] Aphex13:
Wrong thread... My bad. lol
[Captivate Android Development] Zilch25:
Weird... emulator-5554 O_o

That makes it look as if you have the SDK emulator running...
[Captivate Android Development] SeriousBizznass:
Am I doing something wrong?

I have USB debugging on. However any time I typd adb devices even if I'm not plugged in I get the emulator thing saying offline.
[Captivate Android Development] Dave the Knave:
FrozenComa, I sent you a PM with the solution to your problem. Follow my instructions and tell me how it works out.
[Captivate Android Development] yundragon:
I was able to root my 2.2 by following the other method using Odin but was having trouble enabling side apps. I keep on getting:

adb shell

su

cd /dbdata/databases/com.android.providers.settings

# cd /dbdata/databases/com.android.providers.settings

cd: can't cd to /dbdata/databases/com.android.providers.settings

I downloaded the Captivate2.2RootPack that was on the OP & not sure if I missed a step? Any help would be much appreciated. Thanks!
[Captivate Android Development] Dave the Knave:
I'll bet 10 bucks that you never looked at your phone after you typed su in the prompt. When you do that, there will be a popup on your phone saying allow or deny. You must click allow or else it won't work.

Edit: It might a little disconcerting because it says Unknown is asking for root access, but it is safe and ok.
[Captivate Android Development] yundragon:
Miztaken, thanks for the reply, but I did in fact allow the "Unknown" root access. It's funny because I was able to rename the PowerOn file & rm all the bloatware apps in the command prompt(shell).
[Captivate Android Development] Dave the Knave:
That is a little odd then... Your shell looks correct in your steps. Try restarting the phone and try it again. I'm not quite sure what the problem could be. But a restart usually fixes most of mine.
[Captivate Android Development] yundragon:
Well I'll be darn'ed. I think the device reboot worked? Now I can continue on with the steps from the OP. Thanks again for holding my hand :o

adb shell

su

# cd/dbdata/databases/com.android.providers.settings

cd/dbdata/databases/com.android.providers.settings

#
[Captivate Android Development] Dave the Knave:
I wouldn't call it holding your hand as much as I would call it showing you the way/light.

But you're welcome and I'm glad it's all working for you
[Captivate Android Development] yundragon:
Ok, I hate to be a pain, but i just typed:

sqlite3 settings.db

Then I received sqlite3: not found

I have the extracted files from the Captivate2.2RootPack zip in my C:\android-sdk-windows\tools directory....am i supposed to put it somewhere else?
[Captivate Android Development] Dave the Knave:
Did you forget to enter this command outside of the shell?

adb push sqlite3 /system/bin/sqlite3
[Captivate Android Development] yundragon:
Indeed I did.

I receive this error:

C:\android-sdk-windows\tools\adb push sqlite3 /system/bin/sqlite3

failed to copy 'sqlite3' to '/system/bin/sqlite3': Permission denied.

But siince I rooted the device via the Odin / Flash method, would that cause me any trouble? No new popups to ask for root access either.
[Captivate Android Development] Dave the Knave:
You're going to have to run the mount command again before you can push that file
[Captivate Android Development] yundragon:
Just ran everything over again & it worked this time around. Thanks again for your help. Now I can enable sideloading.
[Captivate Android Development] Dave the Knave:
No problem. If you ever need anything again, just PM me.
[Captivate Android Development] EvolutionSurf:
can anyone tell me how to change the value and enable sideloading...using sqlite through adb in command prompt? i cannot figure it out and i tried pulling the settings.db and just change it using sqlite through windows but the comman "cp" is not found when i try it through adb.
[Captivate Android Development] Dave the Knave:
Surf, I sent you a couple PMs answering your questions. Let me know if that does it for you.
[Captivate Android Development] Roism:
I read through all 27 pages and found that I would have to wait to do the oneclick step of rooting the phone after upgrading to 2.2 this morning since all the coding talks and two methods of doing it is too out of my league right now

I am totally new to android and upgrading it made me so nervous but at the same time made me want to learn more....so

My question in regards to bloatware...

1) If the phone was already rooted under 2.1, once the software is upgraded to 2.2 why would the root change? Should it not go from where it was before?

2) When I rooted it, I thought the entire apps of ATT were removed once I used the titanium backup

3)When I hook up the Captivate as Samsung Kies to my PC, I see the orignal files I had including apps from 2.1 on it...but not on the phone for example, I see the folder for Titanimum Backup but I have not downloaded it after the upgrade to 2.2

Could this be because I had the phone for 4 days and the TB was not able to do its schedule backups before I made the change.....being new at it and trying to learn at the same time maybe I am over saturated with information

Regards,
[Captivate Android Development] Dave the Knave:
1) The root disappears because when you flash to the new firmware, Odin overwrites the file system on the phone deleting anything that is under it.

2) I'm not quite sure what you're saying here... The version of Titanium that's in the market now, can't uninstall the AT&T apps from 2.2. There is however a new updated test version that I got from Joel who makes Titanium and he gave me a link for download. Only thing is you must have sideloading enabled first before you can use this version. The link for download is here: http://matrixrewriter.com/tmp/TitaniumBackup-2010-10-05.apk

3) The internal sd card does not get over written when you flash a new firmware, which is why you still see all your apps, files, and backups there from 2.1
[Captivate Android Development] halfbrainhunter9000:
alright, I've been at this for hours and couldn't feel more stupid. I can't figure out how to push the sqlite3 file, everytime i do, i get a "failed to copy 'sqlite3' to 'system/bin/sqlite3': Permission denied" error. I have tried copying the file over an ftp server and i got a permission denied error there too. I'm fairly new to adb so I'm sure it's just something that I'm not understanding. any help would be great, thanks
[Captivate Android Development] Dave the Knave:
I've seen this happen before to most of the ~10 people I've helped over the last few days and it's because they missed this step and then went back and tried to put it on. For whatever reason, you just can't. You have to push sqlite3 at the same time as su, busybox, and superuser.apk and the only way I've had work so far as to getting it on, is to reflash JI6
[Captivate Android Development] Justin.Harral:
I am having some issues, when I attempt to browse to the location I extracted the .zip file on my sdcard in terminal I receive the message "permission denied"

Any Ideas???
[Captivate Android Development] Pirateghost:
why would you extract them to your sdcard?

these commands are run through ADB which needs to be running on a computer.....
[Captivate Android Development] sevenvt:
Edit: see above
[Captivate Android Development] ChaosFromAbove:
Hey guys...i made a video for those of you who are having trouble with figuring out what to do with the files downloaded from the root pack.

Original URL http://www.youtube.com/watch?v=vnFJV3zppEo&hd=1

[YOUTUBE]vnFJV3zppEo[/YOUTUBE]
[Captivate Android Development] soulposter:
Rooted my Captivate with Froyo 2.2. Then did a Ryan lag fix 2.1.. Everything went pretty well Until...I performed the comand for the Non market app. Now the phone will not reboot. I see the ATT Logo, then it goes black, while still vibirating ever few seconds. Anyway, I can solve this issue, or can I go back to stock. And I do I get my old stock back. Thanks guys!!! Or any other way to fix it?

#2 Non market apps

adb shell

su

cd /dbdata/databases/com.android.providers.settings

sqlite3 settings.db

update secure set value = "1" where name = "install_non_market_apps";

.quit

reboot
[Captivate Android Development] Dave the Knave:
OMG! I had the same problem with the vibrating. I've noticed the phone also does that when an app FC's. Unfortunately, the only thing you can do is reflash. It will still go into download mode without a fight. Pull the battery, hold the volume keys, plug in the usb cable.

To avoid this again, you need to root, then IMMEDIATELY enable sideloading right after. Do NOT install the lagfix before you finish modding the system files.
[Captivate Android Development] kaygee3:
Can someone please help.... I managed to get 2.2 on my captivate and I have all the files to root in my tools folder.... im a little confused when u start typing in the code.... do u hit enter after each line?? please explain as I am truly a Noobie thanks in advance
[Captivate Android Development] erezak:
Connect the phone and put it in USB debugging mode. Then start typing away :) Press Enter after each line.
[Captivate Android Development] ChaosFromAbove:
check out the video I posted, it'll get you started if you need more help:

http://xdaforums.com/showthread.php?p=8500471#post8500471
[Captivate Android Development] kaygee3:
watched your video very good job, just was not sure how to type each line of code.....In addition to hitting enter after each line how do i start each line off? exactly as i see it or does something always go before it
[Captivate Android Development] kaygee3:
help with typing code

after I hit enter i get la dollar sign symbol on some lines is that ok?......thanks in advance

by the way i'm copying and pasting each line then I hit enter
[Captivate Android Development] ChaosFromAbove:
yea the $ is telling you that you are in the "adb shell" It should reset itself back to the tools folder location after you type "./rageagainstthecage-arm5.bin" once it does that you'll type "adb shell" again and be back to the $ (or # i cant remember).

You'll start it off exactly as you see it in CL ShortFuse's code. The only thing that will appear before it will be your location in the computer (or $/# if you're using other permissions)
[Captivate Android Development] ziphoward:
Im confused on the part I put in bold. Everything goes fine until I get kicked from the adb shell. After im kicked out do I just type adb shell again? And then do I need to use cd c:/android-sdk/dev/block/stl9 /system or do I leave the c:/android-sdk out and just use /dev/block/stl9 /system??? Im a complete noob to this.

Oh, and when I type exit, is it supposed to exit the cmd prompt totally and then restart it??
[Captivate Android Development] ChaosFromAbove:
Knew I should have done a full how to lol...ok so here's what you're going to do/ going to happen:

You get kicked from the adb shell it should bring you back to wherever your tools folder is located. now all you have to do is type adb shell again which at this time i believe it will be a # sign instead of $ (don't quote me on that).

now type "mount -o rw,remount /dev/block/stl9 /system" exactly like that, with spaces commas dashes and all.

after that's completed (you'll know its completed by seeing "mount -o rw,remount /dev/block/stl9 /system" out-putted right below where u typed it) you now type "exit". all the exit command is doing is backing you out of the "adb shell" and back into you're tools folder again. from there you will continue with the rest of the code.
[Captivate Android Development] ziphoward:
Okay i seemed to get it rooted correctly, but when i try and take off bloat ware I get permission denied. Im working in c:\android-sdk\tools

Should I just take off the \tools? Or did I not root correctly?? I have to go to work and dont have time to mess with it.. so I thought id just ask for some help instead of wasting more time when I come home. Thanks!!
[Captivate Android Development] ChaosFromAbove:
your location is fine...are you sure ur running as a superuser? when you type SU look at ur phone and see if it asks to allow superuser permissions you have to click allow, otherwise it will time out and you'll get that error.

Also, when you go to remove the bloatware DO NOT delete everything in the list provided, not all of it is bloatware. I am going to try and create a list that describes what each thing is, using the most common things removed from the phone.
[Captivate Android Development] ChaosFromAbove:
Seeing that people are still having trouble I'm going to try to make a full how to (for everything). I hope to have the videos online by saturday, latest sunday.
[Captivate Android Development] Justinph5:
Thanks for the root, sideload, and build.prop guides, they all worked quick and easy :)
[Captivate Android Development] ElCamino:
I followed and running 2.2 Froyo with the market hack from pg 1. Question. Does the no market let you install apk apps that normally wouldn't be in the market place? or just for sideloading? Also do you guys recommend to clear all data when doing the one click odin froyo? Everything seems to be running good on my Captivate and didn't do the clear data, but just do notice once in awhile some slight delays.
[Captivate Android Development] shane.kelly55:
Ok guys here is what i get:

C:\Users\skelly\Downloads\android-sdk_r07-windows\android-sdk-windows\tools>adb

push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage-arm5.bin

87 KB/s (5392 bytes in 0.060s)

C:\Users\skelly\Downloads\android-sdk_r07-windows\android-sdk-windows\tools>adb

shell

$ cd /data/local/tmp

cd /data/local/tmp

$ chmod 0755 rageagainstthecage-arm5.bin

chmod 0755 rageagainstthecage-arm5.bin

$ ./rageagainstthecage-arm5.bin

./rageagainstthecage-arm5.bin

[*] CVE-2010-EASY Android local root exploit (C) 2010 by 743C

[*] checking NPROC limit ...

[+] RLIMIT_NPROC={2409, 2409}

[*] Searching for adb ...

[+] Found adb as PID 21620

[*] Spawning children. Dont type anything and wait for reset!

[*]

[*] If you like what we are doing you can send us PayPal money to

[*] 7-4-3-C@web.de so we can compensate time, effort and HW costs.

[*] If you are a company and feel like you profit from our work,

[*] we also accept donations > 1000 USD!

[*]

[*] adb connection will be reset. restart adb server on desktop and re-login.

$ adb shell

adb shell

adb: not found

$ mount -o rw,remount /dev/block/stl9 /system

mount -o rw,remount /dev/block/stl9 /system

mount: Operation not permitted

$ adb shell

adb shell

adb: not found

$

$ mount -o rw,remount /dev/block/stl9 /system

mount -o rw,remount /dev/block/stl9 /system

mount: Operation not permitted

**i'm fairly certain the bold stuff isnt a good thing. I havent gone any farther and just waiting for someone to bail me out.
[Captivate Android Development] ChaosFromAbove:
Ur already in adb shell...that's what the $ means. You have to wait until ./rageagainstthecage-arm5.bin resets ur shell access...you'll be back to the location of your tools folder...after that then you type adb shell and it'll be a # instead of a $.

Sent from my Captivate running Froyo =]
[Captivate Android Development] shane.kelly55:
Yep you were right. I needed more patience. I am now rooted!

Now i am installing lagfix and hopefully my device gets a little turbo charge!
[Captivate Android Development] shane.kelly55:
Lagfix installed and i went from 915 to 1710!!!!

Not complaining but how are you guys getting 2100+ scores?

Anything else i could be doing to ramp this bad boy up?
[Captivate Android Development] ChaosFromAbove:
congrats...amazing what patience does for u, right? lol
[Captivate Android Development] shane.kelly55:
ok i am now lagfixed, and all ATT bloatware is gone (except Yellow Pages which i actually like).

THANKS TO ALL.

Ryan you should have mu donation already!
[Captivate Android Development] shane.kelly55:
Update.... removed alot of the att crap and my quadrant score is 1881. I dont have anything else to remove cause i like/want whats remaining.

But i want higher a quadrant score!!!!!
[Captivate Android Development] Pirateghost:
quadrant scores mean nothing. stop chasing after them
[Captivate Android Development] ziphoward:
So after removing bloatware and enabling non market apps, I cannot download apps from the market place anymore. It tries to start downloading but the green bar never changes to the DL progress bar and nothing every happens. Anyone know what might be up??
[Captivate Android Development] Justinph5:
Try toggling wifi on and off. That happened once to me, and toggling wifi got the download going.
[Captivate Android Development] ziphoward:
Thanks!! It worked immediately after turning wifi off.
[Captivate Android Development] Dave the Knave:
Another thing that sometimes helps is logging in and out of Google Talk on your phone since the market uses Talk protocols.

Sent from my Captivate
[Captivate Android Development] erezak:
Another thing that can help is deleting the Market cache.
[Captivate Android Development] ElCamino:
For those that applied the lagfix, did you guys use RyanZA's OCLF 2.1.2 apk from market place? Also do you guys still have apps on your SD card? From reading it seems that they don't recommend that you run apps from your SD card. I know they run slower from the SD card, but I only have a couple of apps that don't require speed, like AppBrain... Just want to make sure that it won't be a problem down the road.
[Captivate Android Development] Dave the Knave:
I used the oclf from the market. Worked just fine. And I do have apps installing to the SD card but I just move them manually over to the phone

Sent from my Captivate
[Captivate Android Development] ElCamino:
Thanks for the reply miztaken. I see you have the same phone I have. Have you tried installing apps to the SD card after the lagfix? I'm going to go ahead and install the OCLF from market place. Just moved the two apps I had on the SDCard, which were Appbrain, and a Live Wall paper app. I was hoping to save space by installing to the SDCard. By the way Miztaken, what setting did you leave for the space amount when you applied the lagfix? I'm hoping to speed up the browser, which is pretty laggy now with Froyo 2.2.
[Captivate Android Development] ElCamino:
What did all you Captivate users use for the lagfix scheduler? Noop, anticipatory, deadline, or cfq?
[Captivate Android Development] Dave the Knave:
I set it to 1028 which was as close to a gig as I could get it. That left me 618mb left lying around. I haven't used even close to half the gig I allotted.

Sent from my Captivate
[Captivate Android Development] ziphoward:
What was the allotment for? I was wondering when I installed it last night.
[Captivate Android Development] ElCamino:
Thanks set it to 1028 as well; pretty tricky sliding the slider, but now score is 1856, compare to 850 I was getting without lagfix. Now I'm ready to configure all my apps, since I really haven't installed all my apps because I just go the phone last week and have been doing all the rooting and installing Froyo.

@ziphoward I believe this is for installing your apps when you make the amout of space, and the left over is for future apps? Don't know if you can increase the space once you create it, maybe you have to uninstall lagfix and then increase it. Maybe someone else can explain it better.
[Captivate Android Development] ChaosFromAbove:
Ok guys, for those of you not using the one click root I added 2 new vids:

[YOUTUBE]VDesRCiETJo[/YOUTUBE]

[YOUTUBE]OmOBSx_DBRA[/YOUTUBE]
[Captivate Android Development] erezak:
Nice one. Thank you.