• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [GUIDE][CTmod] Rooting the Prevail [SPH-M820] for Dummies (written by a dummy)

I got the Samsung to mount on the PC with an adapter, but it gave up the ghost as soon as I tried to copy the files...
Luckily I haven't lost anything but time so far. Everything can be re-acquired.

[[UPDATE:: I spoke too soon, after connecting the failing SD card to a linux box I was able to copy the files onto my network share. Linux has the soft touch :) ]]
 
Yeah, I guess you';re right and really, a class2 card is wayyyyyyy to slow to run your phone with CTMod in DATA mode..... Maybe a good class4 or class6 would do, however, with the class10 card's really cheap right now, there's no need to save a penny.....

Just posted his morning a couplke of good deals on 32GB class10 cards..... I'll look for it and edit this post with the links in a few minute......
 
Firstly I'd like to say thank you to everyone that makes this possible i really appreciate it.

This is my first time posting here. Been lurking for a year+ so far. I've never come across a problem i couldn't googlefu.
Maybe someone can help me with my problem. After partitioning my SD card (16gb class4) my USB transfer speeds slow down to 150ish k. Sometimes they freeze and just don't complete the transfer (like right now). If i don't partition i get normal speeds. Does anyone have any ideas why this happens.
 
Hi,

well, I also have a 16GB/class4 card which is acting very strangely on the comp as well as in the phone....partitioned or not, I can put this card into ANY other device and it plays fine, just can't use it with the phone.... And yes, the transfer speed is also real slow.

I bet your card might goes bad.... But as you can see in the link above, there are really good deals of 32GB/class10 cards which is a big performance increase when used with CTMod and Koumamod in DATA..... I bet, you can pickup a 16GB/class10 card for like 10-20 bucks....... SD-Cards go bad sometimes, I wouldn't waste my time on it....... ;)
 
That's what i feared, thanks man.

Ha, i just formatted it in CTmod (i had to download it) and now it runs perfect. Time to go shopping.
 
Yeah, I guess you';re right and really, a class2 card is wayyyyyyy to slow to run your phone with CTMod in DATA mode..... Maybe a good class4 or class6 would do, however, with the class10 card's really cheap right now, there's no need to save a penny.....

Just posted his morning a couplke of good deals on 32GB class10 cards..... I'll look for it and edit this post with the links in a few minute......

Using the working Kingston SD card(from the Wii), I formatted, repartitioned, and copied the previous SD card data back onto it.

The phone booted up just fine after that. Seems there is no need to flash or restore.
Now I need to go buy a class 10 and do it again!

Thanks again for all of your help!
 
Hey dude, thanks for the easy write up. I'm experiencing a short inconvenience at the moment. I'm stuck in chapter 3 I completed step 5 and am just waiting for my phone to boot but it is stuck in the first initial bootup. The screen is stuck in the "Kouma Kernel 2.5" bootup message. 30 minutes have passed and it's still not moving. I chose the partition on my sd card to be about 2gb, and my sd is a class 6. Can u please tell me wat is wrong? Did I do something wrong ? please let me know thank you
 
Hi,

wellllll, could it be that you missed ONE important step ? After you installed CTMod, you had to go to koumasettings and select "DATA and put the checkmark in"..........

NOTE : IMPORTANT...... after you changed to DATA mod, you NEED to Reboot into CWM Recovery ( hold Power button and select "Recovery" and format your sdext ( NOT SD-CARD ) again !!!! Then again reboot system ( it may goes once back to CWM, just "Reboot System" again... THIS INITIAL BOOT MIGHT TAKES 10 - 15 minutes !!!!

At this point, you need to re-flash CTMOD again.
 
Hi,

wellllll, could it be that you missed ONE important step ? After you installed CTMod, you had to go to koumasettings and select "DATA and put the checkmark in"..........

NOTE : IMPORTANT...... after you changed to DATA mod, you NEED to Reboot into CWM Recovery ( hold Power button and select "Recovery" and format your sdext ( NOT SD-CARD ) again !!!! Then again reboot system ( it may goes once back to CWM, just "Reboot System" again... THIS INITIAL BOOT MIGHT TAKES 10 - 15 minutes !!!!

At this point, you need to re-flash CTMOD again.

Actually reflashing may not be yet necessary..... he could still try to wipe the sdext first... but if that doesn't work... then he probably needs a reflash
 
Thanks to all the op's and members that make this thread so great... my question is... is there a link or step by step or a log of the "sdparted -i" and "SDparter.apk" processes with the answers and entries for the ssm partitions... following the prompts allows for mistakes and bad entries thanks again to everyone
 
Hi,

I think you'll get a great answer, once one of the great guys here ( cwhatever ) sees your post. He might be busy boating around, listening to music and having fun in the sun, but he'll check in frequently....... ;)

He runs CTMod with SSM and probably can answer all your questions. Just be patient !!!
 
I'm running a 32gb c10 30ms card in my prevail they are on sale at radio shack for 29.99 my partitions do not look like the examples on this thread in terminal emulator
 
Thanks to all the op's and members that make this thread so great... my question is... is there a link or step by step or a log of the "sdparted -i" and "SDparter.apk" processes with the answers and entries for the ssm partitions... following the prompts allows for mistakes and bad entries thanks again to everyone

READ ALL OF THIS FIRST !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


There may be an easier way but I KNOW THIS WAY WORKS ! :-D


Save all data on your sd card to your computer because your card is gonna get wiped . :-)

Install CTMod . After install , go in to CWM . Go to advanced and clear the Dalvik cache then
reboot in to recovery and do a factory wipe then REBOOT .

Go back in to CWM , go to advanced and partition your card . 1024 mb then 0 swap . Reboot


After that

Put your phone in CWM mode , plug it in to computer .

You are gonna need to have Kouma's Odin Packer .
Unzip it and place in a folder on your desktop . It contains a GingerBread folder inside it .

You will then need to open the Gingerbread folder from the folder you just unzipped .

Do not click on anything in the folder
Just move your mouse pointer to an open area in the Gingerbread folder window .

Hold the down the SHIFT key on your keyboard and RIGHT CLICK YOUR MOUSE .
A menu will appear , select OPEN COMMAND WINDOW HERE . A command widow will appear , type adb shell and hit ENTER

a # sign will appear Type sdparted -i then hit ENTER

You should now be in the phone ,ready to wipe and partition your card .

You will then go through the motions of wiping your sd card . Just follow the prompts and wipe the card .

You will then be asked to choose a size for your new partitions . Enter mb's when asked for sizes 2 gigs =2048mb 1 gig = 1024mb
( if you have a large card , choose 2048 for the first two partition sizes that it will ask for )
( if you have a smaller card , use a lesser size . 1024 or 512 ).

When it is done performing the actions, copy and paste the commands below to the ADB window and hit ENTER .

MAKE SURE TO LET THE ACTIONS COMPLETE BEFORE ENTERING A NEW COMMAND . YOU WILL SEE THE #
SIGN WHEN IT COMPLETES EACH COMMAND .



After reboot , go back in to CWM , go in to ADVANCED and CLEAR THE DALVIK CACHE .

You're DONE !!! You should now be able to go in to the menu/settings/Storage .... Under available space, you should have over 150mb free.


Here are Kouma's directions . NOTE ! Do not select anything for EXT PARTITION TYPE or FAT PARTITION SIZE . Just hit ENTER .
ONLY PARTITION SWAP AND EXT .

1) Boot into Recovery
2) ADB shell into the phone
3) Run "sdparted -i"
4) Pick a size for a swap partition (CWM doesn't let you make them big)
5) Pick a size for your EXT partition. Let the fat partiton have the rest.
6) When sdparted completes, manually convert the swap partion to ext4 by performing the following:
Code:
mkfs.ext2 /dev/block/mmcblk0p3
e2fsck -p /dev/block/mmcblk0p3
tune2fs -c0 -i0 -j /dev/block/mmcblk0p3
tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p3
e2fsck -fpDC0 /dev/block/mmcblk0p3

Hope this all helps but the easier is the way to go!!!
 
i used koma packer.zip unzipped to desktop but when i opened the folder the only way i could get the open command window was just to right click on the gingerbread folder itself and then i ran sdparted -i but knowing when to say Y or 0 or no or just enter confuses me
 
i used koma packer.zip unzipped to desktop but when i opened the folder the only way i could get the open command window was just to right click on the gingerbread folder itself and then i ran sdparted -i but knowing when to say Y or 0 or no or just enter confuses me

If you follow the directions I posted above, you should have no problem and if you mess up you can always just redo it. The yes no and amounts are what you want. I'll check in after work today.
 
i think i have it but on my kouma settings i don't know where to put my swap file here is what i did everything is running fine

15. For those who pick SSM
1) Boot into Recovery
2) ADB shell into the phone
3) Run "sdparted -i"
Example of Script from ADB:
C:\Documents and Settings\default\Desktop\Kouma_Pacler\Gingerbread>adb shell
~ # sdparted -i
sdparted -i
checking script requirements...done
unmounting all partitions...done
to continue, all existing partitions must be removed.
this action will remove all data from your sdcard.
do you want to continue? (Y/n) Y
Y
removing all partitions...done
sdparted interactive mode
rules:
1. no answer means you accept default value
2. enter '0' for no partition
C:\Documents and Settings\default\Desktop\Kouma_Pacler\Gingerbread>adb shell
~ # sdparted -i
sdparted -i
checking script requirements...done
unmounting all partitions...done
to continue, all existing partitions must be removed.
this action will remove all data from your sdcard.
do you want to continue? (Y/n) Y
Y
removing all partitions...done
sdparted interactive mode
rules:
1. no answer means you accept default value
2. enter '0' for no partition
do you want to continue? (Y/n) Y
Y
swap partition size [default=32]: 512
512
ext partition size [default=512]: 2048
2048
ext partition type [default=ext2]: ext4
ext4
fat partition size [default=30379]:
total size of sdcard=31915MB
the following actions will be performed:
-create 30379MB fat32 partition
-create 2048MB ext2 partition
-create 512MB swap partition
-ext2 partition will be upgraded to ext4
do you want to continue? (Y/n) Y
Y
performing selected actions...
creating fat32 partition...done
creating ext2 partition...done
creating swap partition...done
adding journaling to /dev/block/mmcblk0p2...done
converting /dev/block/mmcblk0p2 to ext4 filesystem...done
retrieving current sdcard information...
Model: SD SU32G (sd/mmc)
Disk /dev/block/mmcblk0: 31.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 512B 30.4GB 30.4GB primary fat32 lba
2 30.4GB 30.9GB 512MB primary ext4
3 30.9GB 31.9GB 1024MB primary linux-swap(v1)
script log is located @ /data/sdparted.log
~ #
 
Yeah, yeah, yeah......... just keep doing that to me and I'll soon need the guys in white clothes and white tennis shoes to come and get me since I am totally confused about the FF/FA/FE thingies !!! LOL LOL Grinzzzzz
 
Hi,
I didn't want to bother you guys since this is my first time posting here but im kind of stuck in step eight of chapter one. I got one question, normally how long does it take after you press start in odin for it to be finished? i did all of the other steps correctly and hit start at 3:40 am last night and its 9:16 in the morning and odin is not finished yet. I havent tampered with it, touch it or so much as looked at it like you said "Now leave it alone. It will take a couple minutes, you will become concerned and want to mess with it. Resist the urge. Once the phone restarts, and Odin says Reset, the process is complete." but it has taken a long time and im desperate because i dont now how long its supposed to take. The screen in my phone says downloading and the screen in odin, above COM Port Mapping Says "RECOVERY" and below that says the time it has been running, currently 352:11 and counting.
This is what it says in the message box
Download Start
<0>Create File...
<1>Start Thread Detected:1
<2>Start Thread Detected:0
<3>Start Thread Detected:0
<4>Start Thread Detected:0
<5>Start Thread Detected:0
<6>Start Thread Detected:0
<7>Start Thread Detected:0
<8>Start Thread Detected:0
<1>Setup connection...
<1> odin mode.. Check plcatform verification.
<1>VerifyPlatform:V76, P73,R16710
<1>START!!!
<1>Set download environment.
<1>big partition Size!!
<1>big partition Size!!
<1>big partition Size!!
<1>big partition Size!!
<1>big partition Size!!
<1>amss download.
<1>1/5 Finished
<1>boot.img download..
<1>2/5 Finished.
<1>recovery.img download...

And thats it. Everything else is just like in the picture in your manual. ( I could've upload a screenshot but since im new im not allowed)
I hope you guys can help me... sorry to be a bother and a dumbass...lol

Ps.
Sorry about my grammar... im puertorican

Thanks in advance.
 
Yea, its definitely stuck on the recovery partition... It should have taken much less time than that... Since it got past the scary parts (amms & boot) i THINK you're safe to unplug the phone, close poison and try again... personally i would redownload the Odin image before you try again. Your dl may have been incomplete/corrupt


also- you're not a dumbass (you were smart enough to ask for assistance) and your grammar is fine ;)



Edit -Got beaten again... Stupid site crash
 
Back
Top Bottom