yashsingh1/xdaforums huggingface dataset:
[Captivate Android Development] Red_81:
I've seen a number of new captivate owners who seem to have issues obtaining root or CWM on their phones for the first time. I wrote this batch file to help them get over those first hurdles with a helping hand. I am not a programmer (as you can tell by my coding skills) but I hope this will help a few people out.

Requirements:

Captivate i897 device on Gingerbread

Working USB port

Working Power Button

Preview:

This batch file uses a menu to select the operation. For Root, it uses ADB commands to get a user to download mode and then launches and Odin 1-click to replace the Kernel with the Corn 7.0A Kernel. After flashing, it reboots the user to Recovery and walks them through installing Root from the Corn Kernel CWM options (requires a working power button!). After the user is done, it will take them back to the menu to return to the Stock Kernel if they wish. There are a few extra menu options thrown in for fun.

Instructions for use:

Turn on USB Debugging

Connect Phone

Extract contents of zip to a folder

Run Batch file

Follow on screen instructions

??????????????

Profit!

Screenshots:

http://dl.dropbox.com/u/7368116/Images/Capture1.JPG

http://dl.dropbox.com/u/7368116/Images/Capture1.JPG

Download:

http://db.tt/Dz4fPI7N V1.1

Credits:

Thanks to Vashypooh for the Kindle Fire Utility which gave me the inspiration for this.

Thank you to 4-2ndtwin for the Odin One Click Creator that I was too lazy to download for myself.

Thank you to MTCarey for his Corn Kernel that I use in this batch file.

Thank you to all the devs and others that helped me along the way.

If this helps you or a friend out in any way please donate or Join Dropbox and get me some extra space.
[Captivate Android Development] Red_81:
Revisions:

V1.1 - Added the missing pause functions in the Root Procedure to give users time to read the instructions (thanks Machavity!)

V1.0 - Original (Here goes nothing)
[Captivate Android Development] Red_81:
Here is an alternative file to just install the Corn 7.0A Kernel.

1. Download an put in the root directory of KK4_Root

2. Run
[Captivate Android Development] 4-2ndtwin:
Nice job on putting this utility together. Should be very helpful.

I will have to attach this thread to my sig.

Mirror: Dropbox download link... http://dl.dropbox.com/u/39937043/KK4_Root_v1_1.zip
[Captivate Android Development] Red_81:
And thank you for the files. They were the last piece I needed. I do need some real world testing on devices and computers other than mine to make sure I got all bugs worked out.
[Captivate Android Development] jmtheiss:
Took a look at the code, and this looks like it's going to be a handy piece of software for people who just need to do some common commands and don't want to wade through a lot of additional steps.

Well done.
[Captivate Android Development] Red_81:
Thanks. That was my idea. I've noticed many of the questions resolve around the simple tasks. By allowing a menu-driven batch file to take care of it, hopefully the users won't have as many issues.

This will allow a stock KK4 user to get root and CWM which will help them start their flashing journey.
[Captivate Android Development] 4-2ndtwin:
Weekend-Thread-Bump for those who haven't seen this yet... :D
[Captivate Android Development] takeoutttt:
the download link don't work :confused:
[Captivate Android Development] Red_81:
Fixed! I think the L was supposed to be an I in the link. I copied it from the email this time. Work blocks dropbox which makes it hard to test the link. I tested it this time! :D
[Captivate Android Development] crt60:
Cool, added this to my toolbox, thanks...
[Captivate Android Development] Red_81:
And thank you again for Legend. I'm working on learning more Unix/Linux so I can contribute more in the future.
[Captivate Android Development] takeoutttt:
That was a huge file hehe. I'll try this later :)

---------- Post added at 09:50 AM ---------- Previous post was at 09:11 AM ----------

after using the utility my kernel version is CORNv70A is this correct?
[Captivate Android Development] Red_81:
Yep. That's the correct version. I wish I could get the file size lower but it's already zipped at Ultra compression. The two kernel files make up most of the size with the driver file making up the rest. I wanted to add in more files/options but it would have made the file even larger.
[Captivate Android Development] takeoutttt:
I recommend this. Very accurate and helpful. I just want to ask, why do you you pick 7.0a instead of 7.06
[Captivate Android Development] Red_81:
Some people have stated that the 7.06 kernel causes issues on their phone. I use it on mine with no problems. I just went with the safe bet for the first time users.
[Captivate Android Development] takeoutttt:
Can I use the tool as an updater for example im running corn kernel 7.03 and i want to upgrade to the latest corn kernel using your tool
[Captivate Android Development] Red_81:
The tool will only give you Corn 7.0A or the Stock KK4 Kernel.

If you want to update to 7.06 you will need to download the Odin or CWM package for that version.
[Captivate Android Development] takeoutttt:
What if Corn 7.03 to 7.0a?
[Captivate Android Development] Red_81:
Yes. It will work just fine for 7.03.

You'll need to select the Root option which will install the 7.0A Kernel, but not actually follow any of the steps for adding root.

Select Root Option

Let it boot to download mode

Install it via Odin 1-click that script launched

Hit Ctrl+C to break out of script

You don't need the script to put you back into recovery which is why you break out.

Alternative Method:

Unzip downloaded file

Go to EXE Folder

Put phone into download mode

Run KK4_Root.exe

The ADB command to put your phone in download mode is: adb reboot download

Just open a command prompt to the downloaded/unzipped tools folder and type the above command with your phone plugged in.

Alternative #2

I added a new batch file to Post #3 to do just what you are asking.
[Galaxy Note GT-N7000 General] *assa*:
Hi!

In nightly build May 22 the smartassv2 governor was built for the first time as a loadable kernel module in both galaxy note and galaxys2 kernel.

I have posted information regarding how to load smartassv2 in the nightlies thread, but that thread grows very fast, it is very hard to follow and discuss a specific feature for a longer time.

That's why I'm adding this thread.

Instructions:

To use the smartassv2 governor, even after rebooting your device, copy paste the following into a "adb shell":

su
mount -o remount,rw /system
echo "#!/system/bin/sh" > /etc/init.d/99smartassv2
echo "modprobe cpufreq_smartass2" >> /etc/init.d/99smartassv2
echo "echo smartassV2 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" >> /etc/init.d/99smartassv2
chown root.shell /etc/init.d/99smartassv2
chmod 755 /etc/init.d/99smartassv2
mount -o remount,ro /system

Now, reboot your phone (or run the 99smartassv2 script manually)

Note: There might be a bug that makes the phone restart sometimes when the smartass2 module is loaded but another governor (ondemand for example) is used. If you want to use another governor, just unload the smartass module (by removing the 99smartassv2 script and rebooting).

I hope you get the same positive performance/battery experience as I've had so far (it depends how you are using your phone of course)!
[Galaxy Note GT-N7000 General] gedster314:
I had to look up what the difference in governors were. Is #11 correct as to what smartassv2 does?

http://androidforums.com/xperia-mini-all-things-root/513426-android-cpu-governors-explained.html
[Galaxy Note GT-N7000 General] *assa*:
Yes it is, but with default values more suited for galaxy note and galaxy s2.

It works really good for me. I have used the May 22 build for a week now without any crashes or reboots and with both better performance and battery than with the default ondemand governor.
[Galaxy Note GT-N7000 General] *assa*:
I have used smartassv2 for a long time now and it's great!

Each time I upgrade to the latest nightly, I have to do the steps in the OP.

I now made a script instead that does the above.

I have also made a script that checks and downloads the latest NIGHTLY-n7000 to the working directory. Nothing fancy, but I will share these two scripts and maybe someone else will have use for them.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] HeadCracc:
Hello everyone I kind of a noob... I've flashed many rooms from sky ics to alien, nexusmod, and now using cm9 as daily driver... my only major issue with cm9 other than the obvious low call volume... is that whenever I try to send a text message with more than 160 characters its says send failed... does anyone else get this... is there a fix... cuz its kinda annoying
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] tomtommy306:
It is a known problem. It has a fix coming in alpha 4.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] HeadCracc:
O OK thanks that's the only issue I have with the rom... its becoming annoying I may just reflash seanz rom until alpha4
[T-Mobile Sidekick 4G] magnoidgoat:
Anyone think it would be possible to play GTA 3 on this phone? If so, any guide or something?

Thank you.
[T-Mobile Sidekick 4G] orange808:
I'll borrow a term from Chris Rock and answer you this way:

"Not really."
[T-Mobile Sidekick 4G] senrai180:
trust me, you can't. Even with Chainfire3D trying to help,overclocking to 1.3, and anything else you try, it won't work. I tried, and my phone rebooted many,MANY, times. Don't waste $ or Time.
[AT&T, Rogers HTC One X, Telstra One XL] rohan32:
I didn't make this, the original creator is "DooMLoRD", I just found that it works for our version of the One X as well!

So just follow the instructions after downloading the package below. I'll try making a CWM flashable file when I get home.

I will also port over some nice CPU scaling tweaks from my other devices and some nice maintenance scripts.
[AT&T, Rogers HTC One X, Telstra One XL] Scott:
So how does this do this without modding init.rc in ramdisk? Or does it? I cant look, just wondering how it works.
[AT&T, Rogers HTC One X, Telstra One XL] Turge:
He's running sysinit via /system/etc/install-recovery.sh

Very nice!
[AT&T, Rogers HTC One X, Telstra One XL] nDman.sk:
Thanks for sharing this useful script. it worked for me on MIUI Sensation sense base rom.
[Samsung Epic 4G Touch] demonovation:
OK, so a week or so ago I saw this page

w w w dot androidauthority dot com/galaxy-s2-epic-4g-touch-d710-ics-stock-firmware-fc15-pre-rooted-68214/

and downloaded the Odin OneClick application and rooted my Epic 4g Touch and flashed the FC15 ICS rom at one time. It seemed easy enough and I had never messed around with rooting before. I didn't instal ClockworkMod or any other recovery thing because I didn't know what it did or how to use it.

I rooted because I wanted to try to use ORBOT to TOR everything on my phone to try and get around my company's web filter so I could actually use my phone while at work. Well that didn't work but I figured WTH ICS is pretty cool and now I have it early. Well then I realized that there seemed to be many, many newer versions of the ROM out there and then I started to see the posts about there being an issue with the ICS ROMS and that I could brick my phone for good. So I figured I'd just stay put. Well now my phone runs SUPER HOT and the battery drains within 30 mins or so of regular use from a full charge.

I am going to recalibrate my battery, but if that doesn't work (because I've been reading that is doesn't really do anything) what options are there?

Keep in mind that I am a TOTAL NOOB at this, and most of the direction I have been reading go WAAAYYY over my head. I realize I was dumb to jump into this without doing my research, but I figured it was as easy as Jailbreaking my old iPhone and I could just restore to go back to factory settings. Clealy rooting is more in depth than that! At this point I don't care if I lose everything on my phone either if I have to.

Help!

Here is what my phone says right now:

Model Number: SPH-D170

Android VersionL 4.0.3

Baseband Version: S:D710.10 S.FC15

Kernal Version: 3.0.15-SPH-D710.FC15-CL256308 se.infra@SEP-99 #3

Build number: IML74K.FC15

Hardware version: D710.10

Thank you so much!
[Samsung Epic 4G Touch] j0hnnyth3f0x:
Yeah that was dumb not researching more...but check out sfhub's el29 odin one click, you'll restore back to stock rooted el29, which was the last OTA update for this phone. You'll still be rooted, but back safely on gingerbread. Then you can do you're own research from there.

Sent from my SPH-D710 running agat's tFE16
[Samsung Epic 4G Touch] Esoteric68:
You can use any of sfhub's one-click applications (these things should be classified as a national treasure) to either go back to GB or move forward with ICS. The latest is FE22. The heating up issue has been reported by a number of people over different builds but usually a reboot fixes it.
[Samsung Epic 4G Touch] demonovation:
So the superbricking issue won't effect me if I flash the new ICS ROM straight from my current ROM? I thought the warning posted on here was saying it wasn't a good idea to do that.
[Samsung Epic 4G Touch] garwynn:
You're fine as long as you use ODIN to install the new ICS build. To avoid the "superbrick" just don't wipe from recovery or factory reset and you'll be fine. (If you really want to use sfhub's new utility or calk's format all to do the job safely.)
[Samsung Epic 4G Touch] demonovation:
Thanks guys! I was able to use Odin to flash back to EL29 successfully. From there I installed Clockworkmod-Rouge and flashed to Calkulin's E4GT v3.0. Things are much better now. Thanks for all your help!
[Xperia Play Q&A, Help & Troubleshooting] calar714:
Hi, I've been wondering what baseband versions are for each ROM or build. Is there a list somewhere where I can find out which basebands are in each rom? Thanks.
[Android Apps and Games] dmnchief001:
First tutorial ever... so bear with me...

I am writing how I got true analog on n64oid with a sixaxis ps3 controller, while also using the c-buttons. This configuration works perfectly for Mario and Zelda, but not Goldeneye.

I originally had a problem where when I wanted to use true analog in N64oid, I couldn't use the D-pad. This is how I fixed it.

Firstly, I'd like to say that Sixaxis Pair Tool did not work at all on my Windows 8 x64 computer. Therefore, I installed Motioninjoy and followed this well written tutorial:

http : // www . motioninjoy . com / wiki / en / install / latest

Until I got to the "Getting it working - Bluetooth mode" step. Instead, I entered a "Custom MAC," my phone's "Local Bluetooth Address." I had to enter the MAC in reverse. For example, my phone said something like "00:15:83:4f:6c:b0," and I entered "b0.6c.83.4f.6c.b0"

Take note that I replaced the colons with periods. Then I pressed "Pair now." I then unplugged my phone from my computer and followed the instructions from inside the Sixaxis Controller apk on my phone.

To get Sixaxis Controller 0.5.4 to work with Pure Analog, I went into Sixaxis Controller's Preferences, Gamepad Settings. I checked "Enable Gamepad." Then I went into Edit Mappings. I realized that I had to change the D-pad buttons to values other than what the analog was set to, becuase in n64oid, the left analog registers as the D-pad. Also, I realized that an N64 doesn't use buttons like L3, R3, L2, R2, Square, Circle, and Select.

Therefore, I changed:

Up: L2

Right: R2

Down: Y

Left: X

I left everything else as default.

I wanted the C-buttons to function as the D-pad on my ps3 controller. Therefore, in N64oid, I think I pressed R3 for all four d-pad buttons and I mapped controller 1 as:

D-pad Left: Unknown 106 <--Again, the D-pad buttons can be any button on the controller you won't use; I used R3 for all the buttons.

D-pad Right: Unknown 106

D-pad Up: Unknown 106

D-pad Down: Unknown 106

C-left: Button X

C-Right: Button R2

C-Up: Button L2

C-Down: Button Y

Start: Button Start

Button A: Button B

Button B: Button A

L trigger: Unknown 106 <--Who uses the L trigger. I've always used the z-trigger; Therefore, I pressed R3 for the L trigger as well.

R trigger: Button R1

Z trigger: Button L1

Analog Left: DPAD left

Analog Right: DPAD Right

Analog Up: DPAD Up

Analog Down: DPAD Down

As a result, I have full analog support on N64oid. I can finally walk as Mario and controlling Link is PERFECT!

Also, my appologies if this post is in the wrong section.
[Android Apps and Games] felleese:
I play n64 on my phone a fair bit so an optimum solution would be nice. I will give what you have said a try.

Currently my set up is to have the analogues using the touch emulation for both the n64 analogue and c-buttons.

like this:
[Android Apps and Games] dmnchief001:
I can't stand the touchscreen's simulated controller. I purchased an iControlPad, but its analog nubs are worse than the PSP's analog nubs.

I might consider purchasing the Fling Mini though! It provides feedback to the touchscreen.

I can tell you that using the ps3 controller with full analog support with the phone feels PERFECT.

Also, there are two ways that I found where you can attach your phone to your ps3 controller similar to the way the icontrolpad attaches to your phone. One way was as simple as using a PS3 controller keyboard and mounting the phone to the keyboard with sticky tack. The other way was posted here on xda-developers where a guy made a 3d model in solidworks and a 3d printing website prints the holder for 30 bucks. The guy who made the 3d model doesn't get paid for the purchases.
[Android Apps and Games] felleese:
What is wrong with mapping the analogue to the touchscreen? (I do make the on screen buttons invisible when playing)

Currently I have DIY-ed a phone mount onto my contoller using some cardboard! I am considering using a rubber phone case and a couple of thin long hinges in my newer 'prototype' for a more refined look :-)
[Android Apps and Games] sir_earl:
You can also use the right analog stick as the C buttons by mapping the 'Right Analog x-axis' and 'Right Analog y-axis' to 'Disabled' in the Sixaxis Controller app. They will now fall back to keyboard emulation, so you can set the IME to Sixaxis Controller and map them as keys in the emulator.
[Android Apps and Games] Warrhorse:
Will these mappings work with BT/USB joystick center???

please need to know . thanks !
[Android Apps and Games] rferrett:
I fin I can't play songs on the Ocarina in Zelda for some reason when doing this. Is annoying as I have to switch to another ocntroller just for that. Grr!
[Android Apps and Games] Xdaoscar996:
Thanks
[Android Apps and Games] ARPwizard:
My x button keeps activating my phones back button! Help! I fixed this with my wiimote but I don't know what to do with the six axis. Says x is 3 but its actually the back button...
[Android Apps and Games] scammer12:
im having this problem too! on some emulators it wont even let me map the button im pressing on the controller because the phone registers it as BACK and backs me out of the key map screen. any solution to this????
[Android Apps and Games] scammer12:
anyone????????????
[Android Apps and Games] OneZeroEight:
c button mapping to right analog stick... done deal.

hey. this is my first post on this forum. i had to help people out with this problem, as i too, had problems figuring this out.

here's how to set the c buttons to your right analog stick for use in n64oid.

this is what i found after a whole crapload of searching... this dude is awesome. and saved me from going nuts trying to figure it out myself.

this if from a guy named zachary. he wrote this on nov 1st of this year. thanks zach.

heres the site its from. hope this complies with your rules, xda dudes.

------scrach that... cant post links yet. oh well. at least i can still get the message across.

"After a ton of tinkering

I finally got everything to work perfectly in N64oid. I even got the C buttons to link up to the right analog stick up down left right which was a massive relief.

You need to go into Gamepad Setting> Edit Mappings> Disable Right Analog X and Y's. ------(x and y axis is what he means)

Then go to Keyboard Emulation> Key Mappings> 1st> Edit> Analog 2 L R U D, put in something like U I O P. ------(L-left, R-right etc... U I O P-letters on the keyboard)

Plug in a keyboard via USB OTG. ------(or connect a bluetooth keyboard... im assuming that would work too. if not please correct me)

Head over to N64oid> Settings> Input > Key Mappings> "> and in C- L R U D, put in your U I O P. Voila! Enjoy!" ------(by "put in" he means press the u, i, o, and p buttons on the keyboard into the corresponding c-left, c-right, c-up, c-down key maps)

one thing he didnt mention is you have to have the "Use input method" box checked in n64oid for it to recognize the right analog stick as the "U I O P" (or c-l, c-r, c-u, c-d) buttons. the "use input method" option is in the "other settings" menu of n64oid.

i hope this helps anyone who has been frustrated with this issue. im off now... gotta play some zelda on my s3. (;
[Android Apps and Games] muadong200474:
my xperia s

my xperia s haven't enought energy to use some gamepad :|
[Android Apps and Games] SirVilhelm:
Where do you download N64oid? I cannot find it in the play store
[Android Apps and Games] Xdaoscar996:
Blackmart or aptoide
[Android Apps and Games] curney:
Cant get n64oid to recognize second ps3 controller. HELP

I cannot for the life of me get 2 ps3 controllers set up with N64oid. I have 1 working great but I cant get my N64oid to recognize the second controller even though it shows #2 on the controller itself. It just acts like a #1 controller. I am using Sixaxis. I REALLY want to play mario kart against someone. Please help.
[Android Apps and Games] ermacwins:
Would of been good if you uploaded your profile
[Android Apps and Games] Xdaoscar996:
Yes, please upload profile for your fellow xda'ers :)
[Android Apps and Games] jay_magica:
Right analog stick for C-buttons via USB OTG

Hello!

I am currently trying to figure out how to configure the right analog stick from a PS3 controller to use as the c buttons. I am connecting it via USB OTG. I had everything else working except for the right analog stick. I read the forums that it works if you use the Sixaxis Controller app but I DO NOT want to root my device (Galaxy Note 2). I am assuming there is a way to do this effectively without having to root the device and to use the controller with the OTG cable. I would gladly appreciate any help!
[Android Apps and Games] ermacwins:
sixaxis will not work without root, how did you get this far?
[Android Apps and Games] swirv1:
Solution

Hello all. Kind of a noob here, but I figured out a solution that seems to work well for me. It wasn't too hard to get going, so I thought that I would share so that I can help others.

What I did was kind of like what OneZeroEight posted above, except I mapped all of the buttons (through the Sixaxis control app) to keyboard keys. It doesn't really matter what you set them to, as long as they are all unique. Then when you go in to the N64oid program, you map them again to the N64 buttons.

Some other things to be aware of:

In the Sixaxis app:

set the "Native gamepad" option as off

Under keyboard emulation, enable "Bypass IME"

That's about it I think. This seems to work well. I have the "d pad" working as intended, the left analog as the N64 analog and the right analog as the "c pad". X and square are my A and B, L1 and R2 and the N64 shoulder buttons, and L2 is the Z button.

Any questions, let me know and I will try to help!
[Android Apps and Games] :
Can anyone help me. I'm trying to add 2 controllers to my imito mx1. I have successfully connected my ps3 controller. It works fine. I connected another controller (generic ps3 WIRED gamestop brand) through the usb. It also works fine but the thing is it reads it reads it as player 1.

How can i pair it as player 2? When i Try to map the keys, the app reads them the same as player 1( example: dpad left is the same "dpad left " on the second player when im mapping keys.
[Android Apps and Games] :
Nobody has mapped 2 Controllers?
[Android Apps and Games] j00manji:
do you have to re-map the controller every time you start up the emulator?