Go Back   Android Forums > Android Phones > Samsung Exhibit 2 4G > Exhibit 2 4G - All Things Root

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old January 26th, 2012, 01:56 PM   #1 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Dec 2011
Posts: 48
 
Device(s):
Carrier: Not Provided

Thanks: 8
Thanked 19 Times in 5 Posts
Default Recovery mode and memory tweaks

Before discussing memory tweaks, I will discuss a little how to enter the recovery mode as I've seen several posts on xda suggesting weird ways to enter the recovery mode. I wanted to post pictures but my camera does not focus well on the screen and the pictures are blurred for some reason.

Usual disclaimer: you are responsible of what you do with your system and if you follow any of what is written here, it is your choice. The more you go at low level, the more risk to break your phone...

What is the recovery mode for ?
Basically, you have no more warranty, you have played too much with your phone and it is soft bricked (boot loop, etc). The recovery mode offers the possibility to do a factory reset which may help you (I did not do it but I think you loose most of the phone apps and your data). If your phone works and you enter this mode, be careful as you can erase everything...

How to enter (stock) recovery mode.
1) Press an hold volume up
2) Press and hold power (do not release volume up)
3) When you see the samsung logo release the power button (if you don't release power, the phone may reboot several time and may end up to boot as usual).
3 bis) It may be ok to release volume up after you see the samsung logo but I usually keep it pressed until I see the android with the white open box.
4) After T-mobile exhibit II logo, you will see an android with a white open box. This is recovery
4bis) if you do nothing else, your phone will reboot.
5) Press the menu button (left button at the bottom of the screen), the screen will get darker. If it does not go darker, you probably missed the button and have to press again. If you pressed twice, the screen will go dark then back to normal and the phone will probably reboot normally.
6) After the screen goes dark, do nothing for a few seconds, the recovery menu will appear with the following options
- reboot system now
- apply update from sdcard
- wipe data/factory reset
- install fota

The reboot option is selected by default. To go down on the menu use volume down. To go up use volume up. To action the selected option, press home button (second button from the left at the bottom of the screen). If you press the menu button, the menu will disappear but the phone does not seem to reboot normally. If you can press menu again the see the recovery menu.

That's it !

Note: phone on battery vs phone plugged. It seems easier to boot in any mode when the phone is on battery. When it is plugged, pushing power does not work all the time, you may have to try several time. The problem to be on battery is if you are low on battery, you make a factory reset and you get out of battery in the middle of the process, I think you may be in really really big trouble.


Memory tweaks:

v6 supercharger (http://forum.xda-developers.com/showthread.php?t=991276)

I simply downloaded the version RC4 here V6_SuperCharger_for_Android-update9_RC4.sh.pdf (http://forum.xda-developers.com/showpost.php?p=18703418&postcount=5021)

and followed the tutorial here

http://forum.xda-developers.com/showthread.php?t=1126940

I recommend to read and follow the tutorial and read what the script says !

Just in case, I give a few more details that may be different from the tutorial and could be helpful:
I renamed V6_SuperCharger_for_Android_update9_RC4.sh.pdf into V6_SuperCharger_for_Android_update9_RC4.sh (that does not matter apparently) and put it into /mnt/sdcard (or /sdcard, it's the same place)

I downloaded busybox v1.18.2 (in /system/bin) through busybox installer

When the script told me if I wanted to create local.prop (or else I would have a small chance of boot loop), I said yes.

I've been choosing option 6 (since then, I've used 7 and nitro lag nullifier by launching the script again)

Then I browse with script manager to /data/99Supercharger.sh and set it to launch as root and on boot.

I launched again supercharger but not sure it's useful.


Disabling verify-bytecode
Thanks for GVC to have mentioned this memory tweak some time ago (phone memory/storage)

The full description is here. What I have written is basically a copy/paste adapted to the specifics of our phone
http://forum.xda-developers.com/showthread.php?t=1263119

I've done it (few months ago, this comes from the notes I took at that time) but stock ROM is odexed so it's not really useful for me but I can confirm that I had no problem with any apps since I've done this. So either I totally messed up or most of the apps are working fine... This is supposed to give a speed boost for deodexed ROMs (a lot of custom ROMs are deodexed).

I advise caution when you modify build.prop I have no idea what happens if you make a mistake with the file but I would say it's very very bad.

1) Open Terminal Emulator on phone or adb shell from PC and type the following.
adb shell (this is not needed from the terminal)
su
setprop dalvik.vm.verify-bytecode false
setprop dalvik.vm.dexopt-flags v=n,o=v
rm /data/dalvik-cache/*

2) Add these to /system/build.prop
dalvik.vm.verify-bytecode = false
dalvik.vm.dexopt-flags=v=n,o=v

(Copy local.prop or build.prop to SD and edit them. Copy back afterwards. If lines starting with dalvik.vm.verify-bytecode or dalvik.vm.dexopt-flags exist already, please modify them as above. )

For me, the end of the build.prop looks like this
#dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.verify-bytecode = false
dalvik.vm.dexopt-flags=v=n,o=v

Also type following in adb shell or terminal emulator.

adb shell (this is not needed from the terminal)
su
rm /data/dalvik-cache/*
reboot



Reversing the change/undo tweak (I DID NOT TRY, I assume you have to revert the build.prop file first).
adb shell (this is not needed from the terminal)
su
setprop dalvik.vm.verify-bytecode true
rm /data/dalvik-cache/*
reboot

Nilpotent is offline  
Last edited by Nilpotent; February 20th, 2012 at 08:37 PM. Reason: adding disabling verify-bytecode
Reply With Quote
The Following 2 Users Say Thank You to Nilpotent For This Useful Post:
OmgitzFire (January 27th, 2012), surgerush (February 15th, 2012)
sponsored links
Old January 26th, 2012, 09:46 PM   #2 (permalink)
New Member
 
Join Date: Nov 2011
Posts: 14
 
Device(s):
Carrier: Not Provided

Thanks: 3
Thanked 0 Times in 0 Posts
Default

Will booting into this recovery allow me to install cwm if I have the .zip ? is apply update from sdcard the correct way to do it ?
OmgitzFire is offline  
Reply With Quote
Old January 26th, 2012, 11:40 PM   #3 (permalink)
Junior Member
 
Join Date: Nov 2011
Posts: 34
 
Device(s):
Carrier: Not Provided

Thanks: 3
Thanked 17 Times in 7 Posts
Default

Quote:
Originally Posted by OmgitzFire View Post
Will booting into this recovery allow me to install cwm if I have the .zip ? is apply update from sdcard the correct way to do it ?
Worked that way for me. The zip must be in internal sd though.
sirphilk is offline  
Reply With Quote
The Following User Says Thank You to sirphilk For This Useful Post:
OmgitzFire (January 27th, 2012)
Old January 27th, 2012, 02:16 AM   #4 (permalink)
New Member
 
Join Date: Nov 2011
Posts: 14
 
Device(s):
Carrier: Not Provided

Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by sirphilk View Post
Worked that way for me. The zip must be in internal sd though.
Ok great thanks.
But what do you mean internal sd? Can I just put the zip anywhere on the sd card or does it have to be in a specific folder ?
OmgitzFire is offline  
Reply With Quote
Old January 27th, 2012, 08:56 AM   #5 (permalink)
New Member
 
Join Date: Jan 2012
Location: NC
Posts: 10
 
Device(s): Samsung Exhibit ii
Carrier: Not Provided

Thanks: 3
Thanked 0 Times in 0 Posts
Default

i think i just put the cwm file on the "phone drive" not in any folder. so when your pc reads your phone when you connect it, the main phone directory. (anyway i went through terminal emulator to install cwm)
teerout is offline  
Reply With Quote
Old January 27th, 2012, 09:15 AM   #6 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Dec 2011
Posts: 48
 
Device(s):
Carrier: Not Provided

Thanks: 8
Thanked 19 Times in 5 Posts
Default

I think he meant either /mnt/sdcard or /sdcard (same thing), but not /sdcard/external_sd
Nilpotent is offline  
Reply With Quote
Old January 28th, 2012, 12:34 AM   #7 (permalink)
New Member
 
Join Date: Nov 2011
Posts: 14
 
Device(s):
Carrier: Not Provided

Thanks: 3
Thanked 0 Times in 0 Posts
Default

Alright thanks guys , I couldn't get into recovery mode using this but I was able to by using rom toolbox
thanks again
OmgitzFire is offline  
Reply With Quote
Old January 28th, 2012, 06:39 AM   #8 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Dec 2011
Posts: 48
 
Device(s):
Carrier: Not Provided

Thanks: 8
Thanked 19 Times in 5 Posts
Default

Quote:
Originally Posted by OmgitzFire View Post
Alright thanks guys , I couldn't get into recovery mode using this but I was able to by using rom toolbox
thanks again
Interesting. I can go in recovery each time... Can you describe what is the phone doing? Does it boot in normal mode?
Nilpotent is offline  
Reply With Quote
Old January 28th, 2012, 02:49 PM   #9 (permalink)
New Member
 
Join Date: Nov 2011
Posts: 14
 
Device(s):
Carrier: Not Provided

Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Nilpotent View Post
Interesting. I can go in recovery each time... Can you describe what is the phone doing? Does it boot in normal mode?
I tried to follow the directions but it seems to boot up normally every time I tried .. I prolly wasn't doing something right .
OmgitzFire is offline  
Reply With Quote
Old January 28th, 2012, 09:30 PM   #10 (permalink)
Junior Member
 
Join Date: Nov 2011
Posts: 34
 
Device(s):
Carrier: Not Provided

Thanks: 3
Thanked 17 Times in 7 Posts
Default

Quote:
Originally Posted by Nilpotent View Post
I think he meant either /mnt/sdcard or /sdcard (same thing), but not /sdcard/external_sd
Sorry, yes that is what I meant. Also when you connect to PC you will get two drives. One is the internal memory and the other is the External SD Card.
sirphilk is offline  
Reply With Quote
sponsored links
Old February 1st, 2012, 01:26 PM   #11 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Dec 2011
Posts: 48
 
Device(s):
Carrier: Not Provided

Thanks: 8
Thanked 19 Times in 5 Posts
Default

Added a link and a short description on how to use v6 supercharger.
Nilpotent is offline  
Reply With Quote
Old February 1st, 2012, 07:21 PM   #12 (permalink)
New Member
 
Join Date: Nov 2011
Posts: 14
 
Device(s):
Carrier: Not Provided

Thanks: 3
Thanked 0 Times in 0 Posts
Default

Thanks for the supercharger link
I haven't used it on my exhibit (I don't think it needs it yet) but I did on my bro s samsung intercept and there's lots of improvement there .
OmgitzFire is offline  
Reply With Quote
Old February 4th, 2012, 03:40 AM   #13 (permalink)
New Member
 
Join Date: Feb 2012
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default I'm a n00b

I have looked everywhere on my exhibit 2 4g and cannot find /mnt/sdcard.

I have gotten as far as rooting my phone, but then I am stuck. This is my first time doing any phone hacks so any help would be greatly appreciated.
CMViking1 is offline  
Reply With Quote
Old February 15th, 2012, 01:57 PM   #14 (permalink)
Member
 
surgerush's Avatar
 
Join Date: Oct 2011
Location: New York State
Posts: 454
 
Device(s): Samsung Galaxy S II T-Mobile
Carrier: Not Provided

Thanks: 43
Thanked 70 Times in 58 Posts
Default

Does ROM manager support our phone yet to flash CWM? I still haven't done it yet. If not, where is the .zip to do so in recovery?

Edit: Never mind, I got it, found it here in case anybody else hasn't.

Edit: Ok, I went into recovery, applied update from sd card, but rom manager still isn't recognizing that it has been installed. I've never done anything with CWM before, what am I missing or doing wrong?

Edit: Ok, when I got into Script Manager and hit the cwm5504.zip, it takes me to rom manager and asks if I want to reboot into CWM recovery and continue the installation... Is this what I doi? I thought I already did that by going into recovery and applying the update from the sd card.

Edit: Lol, nevermind again, went back into recovery and everything wortked fine, currently making a backup onto my external sd. So I just can't do any of this through rom manager then? Which makes rom manager pretty much useless as of now?
surgerush is offline  
Last edited by surgerush; February 15th, 2012 at 03:50 PM.
Reply With Quote
Old February 16th, 2012, 06:24 AM   #15 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Dec 2011
Posts: 48
 
Device(s):
Carrier: Not Provided

Thanks: 8
Thanked 19 Times in 5 Posts
Default

Quote:
Originally Posted by surgerush View Post
Does ROM manager support our phone yet to flash CWM?
Yes, I think some work is needed to get something interesting through ROM manager. Seems to me the main interest is to boot into recovery and there are other ways to do that !
Nilpotent is offline  
Reply With Quote
Old February 20th, 2012, 03:18 PM   #16 (permalink)
Member
 
surgerush's Avatar
 
Join Date: Oct 2011
Location: New York State
Posts: 454
 
Device(s): Samsung Galaxy S II T-Mobile
Carrier: Not Provided

Thanks: 43
Thanked 70 Times in 58 Posts
Default

I just installed the most recent version of V6, I just wanted to let you guys know that thew newest version recommended that I use one of the 512 settings for this phone. So if you're using one of the older versions of V6, using one of the 512 settings may work better with the phone.

I ended up going with the lowest 512 setting it had, just to be safe.

Edit: I just realized I had update 5 installed, not 6... I just tried 6 and it would not work. So I'm back on 5.
surgerush is offline  
Last edited by surgerush; February 20th, 2012 at 06:20 PM.
Reply With Quote
Old February 20th, 2012, 08:39 PM   #17 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Dec 2011
Posts: 48
 
Device(s):
Carrier: Not Provided

Thanks: 8
Thanked 19 Times in 5 Posts
Default

I made the guinea pig for the disabling verify-bytecode tweak. I added how I did it on the first post.
Nilpotent is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > Samsung Exhibit 2 4G > Exhibit 2 4G - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 01:30 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.