yashsingh1/xdaforums huggingface dataset:
[Samsung Mesmerize] mesmerbelly:
I was making that mistake but even with the correcttion I still get permission denied. I hate love this phone
[Samsung Mesmerize] mesmerbelly:
Got it I needed to put / before the last code thanks to everyone
[Samsung Mesmerize] ganzhimself:
I kept having problems with my SuperOneClick rooted Mesmerize. What I had to do was remove the SuperOneClick root and install z4root from the Market and use the Permanent Root. It takes a minute or two, then the system asks for permissions to allow Super User access. The SuperOneClick root might be the problem, as I was able to use my limited knowledge of the linux command shell to navigate the file system to the proper places on the phone to change permissions and execute the script. I outlined my process below to the best of my memory. You might have to tweak a few things, and to make things easier I had recovery.bin and redbend_ua in the same folder as adb.

I believe the steps I had to do to get this to work on my Mesmerize are as follows:

Copy redbend_ua to the SD card

adb shell
su
mv redbend_ua /sdcard/redbend_ua
exit
exit

Change permissions on redbend_ua

adb shell
su
chmod 777 /sdcard/redbend_ua
exit
exit

Move redbend_ua to /system/xbin -> I still received the cross-device link error, so I tried using the cat command.

cat /sdcard/redbend_ua > /system/xbin/redbend_ua

So... The commands are:

adb shell
su
cat /sdcard/redbend_ua > /system/xbin/redbend_ua
exit
exit

Push recovery.bin to SD card

adb push path/to/recovery.bin /sdcard/recovery.bin

Then, I attempted to run this command:

redbend_ua restore /sdcard/recovery.bin /dev/block/bml8

Received a permissions error... So...

Change permissions on redbend_ua in the /system/xbin/redbend_ua folder

adb shell
su
cd /system/xbin
chmod 777 redbend_ua
exit
exit

Flash the recovery.bin file.

adb shell
su
cd /system/xbin
redbend_ua restore /sdcard/recovery.bin /dev/block/bml8

That will flash the recovery.bin file and it will reboot your phone. Then you can install ROM Manager from the Market.

redbend_ua then ran and the console spit out:

redbend_ua restore /sdcard/recovery.bin /dev/block/bml8
RedBend Update Agent 6,1,14,1

FOTA : Make Block Device Nodes
lcd_init(498): start!
lcd_init(507): fb0 open success
lcd_init(514): width = 480, height = 800
page_msize: 4096, phy_unit_size: 262144
src: /sdcard/recovery.bin
dst: /dev/block/bml8 partition size: 0x780000
part_size: 0x780000
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 221432 bytes
read finished

After that finished, the phone restarted, and I was able to install Rom Manager. You can probably run the whole set of commands within the same adb session instead of exiting and starting a new session for each command. Now I'm just waiting on a good ROM. Thanks to everyone who worked so hard to get the Mesmerize this far.
[Samsung Mesmerize] Flip260z:
Anyway this might possibly work on the Showcase version from Cellular South?
[Samsung Mesmerize] Sophos1:
Hey gaz, Pretty cool you got it working. Thx for sharing your method. I am running into issues in the last step flashing the recovery.bin. Im getting this error:

redbend_ua restore /sdcard/recovery.bin /dev/block/bm18
RedBend Update Agent 6,1,14,1

FOTA : Make Block Device Nodes
lcd_init(498): start!
lcd_init(507): fb0 open success
lcd_init(514): width = 480, height = 800
open device file: No such file or directory
bmldevice_get_size: bmldevice_open failed!src: /sdcard/recovery.bin
dst: /dev/block/bm18 partition size: 0x0
part_size: 0x0

I dont get it, because the recovery.bin IS on the root of my sd card. Any thoughts?

Thx

Nevermind. I got it. Stupid Typo. Thanks again for the instructions.
[Samsung Mesmerize] mesmerbelly:
I had that problem then rooted z4 and ran the command through emulator and it worked fine the only thing is to put before / before the last step let me know if this helped
[Samsung Mesmerize] mesmerbelly:
roms

Anyone close to getting a Rom with a kernel running
[Samsung Mesmerize] phidelt82:
your typo is bm18 it should be bml8, the third character is a small "L"
[Samsung Mesmerize] Sophos1:
Thanks Mesmerbelly,

It was actually just a typo on my part.
[Samsung Mesmerize] phidelt82:
The first kernel is on the bottom of page 2 of this thread. ROMs are sure to follow soon, but I have no clue when. I flashed the kernel last night. It's working nicely. Battery life is improved.
[Samsung Mesmerize] mesmerbelly:
i flashed it thanks

Its on the phone now can you overclock it thanks
[Samsung Mesmerize] phidelt82:
You can overclock with setCPU, not sure I would just yet. I don't know everything about this kernel yet. Still waiting to hear back on what all it does. Right now I know that it is undervolt, so it saves battery. I just got it put in last night myself. This came from jt1134 via thescorpion420.

Personally I haven't messed with overclocking on the Mesmerize yet, as I haven't seen the need for it. If you do try it, I would be careful with your settings though and don't overdo it.
[Samsung Mesmerize] jt1134:
The posted kernel is *not* overclocked, that would require a complete recompile or someone whipping up a kernel module to adjust the cpu frequencies/voltages.

The kernel is the same as the ones I have been sharing for the fascinate. It is highly optimized for speed, undervolted to conserve on battery life, includes supercurio's voodoo colorfix and neldar's backlight notification mod. The backlight hack requires the use of neldar's BLN control app, which is available on the market.
[Samsung Mesmerize] ganzhimself:
Thanks for this. My Mesmerize is noticeably quicker now, hopefully the battery life is improved too, that would be great.
[Samsung Mesmerize] mesmerbelly:
overclock

Can't seem to raise it over 1gig with set cup and linpack score 8.5Sam as it was im not complaining at all the phone seems to respond better than it had before thanks scorpion 420 &jt1134 can't wait for some roms.
[Samsung Mesmerize] Adr0it:
Looks like there's some confusion among some of you so I'll try to clear it up real quick.

SetCPU won't overclock your device unless you're running a kernel that is overclocked. That's why it's limited to 1 GHz.
[Samsung Mesmerize] mesmerbelly:
That's what i thought but i asked bc i didn't know what the kernal was thanks tho
[Samsung Mesmerize] phidelt82:
Good to know. Personally, I don't need the overclocking, but I know a lot of people want it. Thanks for the info.
[Samsung Mesmerize] mesmerbelly:
Still no word on a kernal? Anyone
[Samsung Mesmerize] mesmerbelly:
I meant Rom sorry
[Samsung Mesmerize] phidelt82:
jt is working on it.
[Samsung Mesmerize] mesmerbelly:
Sweet can't wait to see it im sure it will be awesome
[Samsung Mesmerize] mesmerbelly:
So how exactly do you make a Rom anyway sdk tools?
[Samsung Mesmerize] elijahblake:
Anyone out there tried this on a cellular south showcase?
[Samsung Mesmerize] ganzhimself:
I wouldn't try it. It probably will not work, as there are differences in the software (possibly the hardware?) on the CDMA Galaxy S (SCH-I500) devices, which is why the Fascinate ROMS & kernels don't work on the Mesmerize.
[Samsung Mesmerize] Wyman881:
Thanks this helped alot! i just got rom manager today and didnt wanna do anything without there being a mesmerize option for devices. but now that i know fascinate may work, im gonna go try! thanks again.
[Samsung Mesmerize] ganzhimself:
The Fascinate roms won't work on the Mesmerize. You risk bricking your device if you flash the wrong rom.
[Samsung Mesmerize] phidelt82:
As ganzhimself stated, DO NOT flash anything that isn't specifically stated to work with the Mesmerize. If you are unsure, ask about specific files first and wait for a response before doing anything if you don't want to take the chance of bricking your device.

There is a kernel on page 2 of this thread. A ROM is also being worked on currently. I'm sure it will also be posted in this thread, too. Other than that, I don't know about anything else just yet.
[Samsung Mesmerize] cloudstrife7:
Glad to hear progress is being made. Kudos to the people that can make this happen. Once someone makes new roms available let me know where to buy them a beer - I'd love to get rid of touch wiz and samsung's ui tweaks.
[Samsung Mesmerize] elijahblake:
So the roms aren't interchangeable but what about the kernels? I really just want to know if I can do the lag fix
[Samsung Mesmerize] GeekMouse:
I was able to flash both the recovery.bin and the kernel that was posted in this thread and I have a Showcase, not a Mesmerize.

I also contacted Samsung about getting the source for the Showcase and I was told that they use the same source for both. So the mesmerize and showcase might actually be the same phone as far as hardware and software.
[Samsung Mesmerize] phidelt82:
I'm glad to hear that it worked out for you. What will be different is where things show up in a ROM that have to do with carrier specifics, obviously. In those instances, you would just probably need the .apk files for your own versions of the app if you even wanted them back on the phone. In instances where the problem isn't just an app, you may need to have the open source or copies from your phone so you can see what needs to be replaced.

At least now you know that you have a complete backup if something does go wrong, you can most likely get back from it.
[Samsung Mesmerize] wmedlin:
Ok so i did everything the form said to installed rom manager and tryied to back up my rom befor i do anything this is what i get can anyone give me a hand on this.

--Installing from package...

FInding update package...

Opening update package...

Verifying update package...

E:failed to seek in /cache/update.zip (Invalid argument)

E:signatur verification failed

Installation aborted
[Samsung Mesmerize] phidelt82:
When you did the last step, did it look something like this:

redbend_ua restore /sdcard/recovery.bin /dev/block/bml8

RedBend Update Agent 6,1,14,1

FOTA : Make Block Device Nodes

lcd_init(498): start!

lcd_init(507): fb0 open success

lcd_init(514): width = 480, height = 800

page_msize: 4096, phy_unit_size: 262144

src: /sdcard/recovery.bin

dst: /dev/block/bml8 partition size: 0x780000

part_size: 0x780000

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 221432 bytes

read finished

If not, then something went wrong before then.
[Samsung Mesmerize] wmedlin:
what is the 1124_test_novoodoo.zip and how is it used
[Samsung Mesmerize] phidelt82:
That is a kernel. It is flashed using ROM Manager, but that can't be done until after you get the first part working. You have to be able to get to the custom recovery.
[Samsung Mesmerize] wmedlin:
Yeah i think i got it working by reflashing clockworkmod recovery i just did a back up and it looks to have worked

what is the 1124_test_novoodoo.zip and how is it used
[Samsung Mesmerize] phidelt82:
That's a kernel. You put it in the root of your sdcard, and then you can flash it by going into recovery mode through ROM Manager. First, boot into recovery. Once in recovery (green words) using volume up/down go to install zip from sdcard and select using power button. Then go to choose zip from sdcard and select using power button. Then go to 1124_test_novoodoo.zip and select using power button. Then go to Yes - Install 1124_test_novoodoo.zip and select using power button. After the install is complete, reboot.
[Samsung Mesmerize] wmedlin:
Ok i did all that and it looked to work what dose that kernal do and is there anything i can do to help with rom dev. i a noob but i am willing to help all i can thank you for all your help also.
[Samsung Mesmerize] phidelt82:
No problem, I help where I can.

Per jt1134 "The posted kernel is *not* overclocked, that would require a complete recompile or someone whipping up a kernel module to adjust the cpu frequencies/voltages.

The kernel is the same as the ones I have been sharing for the fascinate. It is highly optimized for speed, undervolted to conserve on battery life, includes supercurio's voodoo colorfix and neldar's backlight notification mod. The backlight hack requires the use of neldar's BLN control app, which is available on the market."

He is currently working on a ROM from source and recovery files. I'm not sure exactly when it will be done, but he seems to work pretty quickly from what I've seen so far. I'm still new to the platform, and trying to figure it out myself.
[Samsung Mesmerize] wmedlin:
Awesome thanks for all your help cant wate to see whats in store maybe i can get my benchmark from a 898 up to a 1250 oneday.
[Samsung Mesmerize] wmedlin:
How can i tell if it worked sorry i know im a noob please forgive me.
[Samsung Mesmerize] phidelt82:
You may not notice a speed change with Quadrant. I didn't. I noticed it more in real time activities and battery life.

Download BLN control from the market. When you open it up, you should be able to activate it. If it gives you an error telling you that you have to have a kernel with BLN, then you know it didn't flash. You will also be able to test using the Led notification under Test section.
[Samsung Mesmerize] wmedlin:
BLN worked so i guess now its just a wating game and i hope to see a diff in battery life it has really sucked thanks for all your help.
[Samsung Mesmerize] Firedog7881:
I am trying to get all my ducks in a row and learn as much as possible before actually doing any serious damage. Can someone point me to a HOWTO on how to go about replacing the kernel on my Mesmerize?

I know I need to root. Need to install this Clockworkmod, backup my current ROM. and now I want to replace the kernel. Any assistance would be appreciated.
[Samsung Mesmerize] wmedlin:
I just did this with some help its like 3 or 4 post up i did this with no problems and my phone is running faster.
[Samsung Mesmerize] Firedog7881:
I don't know how I missed that. Thanks. I read every post in here too.
[Samsung Mesmerize] wmedlin:
No problem let me know if I can be of any help im a noob but I just did it so its fresh in my mind.
[Samsung Mesmerize] mesmerbelly:
Cant wait to see jt rom
[Samsung Mesmerize] Firedog7881:
Working

In my defense, I looked on this post and then went away to look for instructions for flashing the kernel. And when I came back I didn't look to see if there were any new posts and just posted my question.

After reading the instructions and having everything set up I was able to successfully get all this done. I am watching my battery usage today, and I love the backlight inclusion with the kernel, that is awesome.
[Samsung Mesmerize] wmedlin:
I check this site every 1hr to see if there is anything new i am so ready to play i cant stand it.
[Samsung Mesmerize] wmedlin:
I got 12hr from my battery not bad i had been getting 8hr. I also love the backlight inclusion it is awesome.
[Samsung Mesmerize] wmedlin:
maybe one day the mesmerize will get its own page.
[Samsung Mesmerize] Firedog7881:
battery

So far so good on the battery. It has been unplugged for 6 hours and I am at 68% (no phone usage, minimal web surfing over wifi). It has been a light usage day though, so we'll have to see an average over time.
[Samsung Mesmerize] chidesd:
Just read through every post going to attempt to do all this stuff tonight wish me good luck....

Im having some trouble I got redbend_ua pushed to my sd but cmd wont let me change permissions

i go

C:\AndroidSDK\tools

adb shell the a $ comes up and I enter su

then I enter chmod 777 /sdcard/redbend_ua

and it always says Permission denied

$ Unable to chmod /sdcard/redbend_ua: Operation not permitted

what should I do?
[Samsung Mesmerize] ganzhimself:
Give this a shot. I'd suggest using Root Explorer from the Market...
[Samsung Mesmerize] alaindesjardins:
Will there be a proper step by step thread for people who just got their first android and it happens to be a mesmerize and they want to do this whole procedure for the first time? I personally just got my very first android phone through US Cellular and I am interested in doing all of this so I can improve it.

Any references with links to guides/threads on what i need to know to get this done would be appreciated. Or if/when there is a proper way to do this, will someone write a guide with step by step instructions on how to do this?

I'm just curious... from what I understand you need to root the phone, then a new kernal and the benefits are something along the lines of better performance, the ability to overclock and battery life increase due to undervolting the processor. If thats the case then I'm definitely interested and will be wandering patiently until i am confortable enough to do this.

Thanks for everyone who put an effort on this, it is much appreciated by more people than you think!
[Samsung Mesmerize] Firedog7881:
I performed everything needed over the last month. I went in baby steps as this is my first Android phone and I'm not very savvy with Linux. I rooted first, that was easy. Use the z4mod, it is very easy. Then install Root Explorer and Terminal Emulator. These will allow you to move the files where they need to be and execute the functions necessary for ROM Manager. After you have ROM Manager installed the rest is easy.

All of this can be done with out a computer. Where the post says to push the files where they need to go and other commands, just use Root Explorer to move the files and use Terminal Emulator to execute the commands.

I was able to do all of this without a computer. These are all available in the Market. Also, go slowly. You can cause some serious issues by doing any of these. I, or anybody on this forum, is not responsible for what you do to your phone.
[Samsung Mesmerize] wmedlin:
I just got my first android and I used the earlyer post to get my phone rooted and backedup and a kernal flashed but theres not alot that has been done from what I have read with this phone they are working on it. I had some help a few post back to get this one going you can start there and if you run in to trouble I can try and give you a hand I am a noob but will do what I can for you. Im sure as the phone gets out there more there will be an easer way to do things but till thin this has been the most help.
[Samsung Mesmerize] chidesd:
I downloaded Astro from the market but i cant figure out how to chmod 777 redbend_ua, it from Astro also does Root explorer cost?
[Samsung Mesmerize] Firedog7881:
I couldn't figure out how to do it that way either. I used Terminal Emulator to perform chmod.
[Samsung Mesmerize] chidesd:
when I use terminal Emu i enter the chmod line and click enter and nothing happens.
[Samsung Mesmerize] phidelt82:
That usually means that it worked. If you chmod and it says something, it's usually a fail.
[Samsung Mesmerize] alaindesjardins:
Thanks Firedog... Is there anything I should back up in the case that I want to revert back to what it came with? If I need to backup anything... what app do i use to do that?
[Samsung Mesmerize] Firedog7881:
Use ROM Manager to perform a backup of your current ROM. This will put the backup on your SD card and then you can copy it off of there to a computer for safe keeping. The option is "Backup Current ROM". When you choose this it will reboot your phone into the recovery mode to perform the backup.
[Samsung Mesmerize] chidesd:
I look in the xbin folder and redbend isnt there and Im trying to move it with astro but astro wont copy anything to system folders
[Samsung Mesmerize] phidelt82:
Astro doesn't have permissions for writing to the root, from what I'm finding out. Root Explorer does, but it is a pay app. Well worth it, I might add, if you're going to be doing anything with your phone like this in the future. I use it daily.
[Samsung Mesmerize] Firedog7881:
I think I remember having to use Root Explorer to do this.
[Samsung Mesmerize] alaindesjardins:
ROM Manager said I had to install Clockwork Mod Recovery... its asking me the model of my phone but all it lists is Galaxy S i9000, Fascinate, Vibrant, Captivate or Samsung Epic. Which one do i choose? I don't see an option there for Mesmerize.
[Samsung Mesmerize] Firedog7881:
Use the Fascinate option, they are the same phones, both i500s.
[Samsung Mesmerize] chidesd:
Im tryin Android Mate and can move files in system to system but I cant moe files form sdcard to system. Will root explorer be abloe to or is Android mate just as effective
[Samsung Mesmerize] Firedog7881:
I don't have any experience with Android Mate so I can't speak to the functionality of it.
[Samsung Mesmerize] alaindesjardins:
Whenever I try to backup ROM it reboots in recovery and says at the bottom in yellow

-- Install from package...

Finding update package...

Opening update package...

Verifying update package...E:failed to verify whole-file signature

E:signature verification failed

Installation aborted.

At the top it says,

Android system recovery <2e>

Samsung Recovery Utils

- for BML -

reboot system now

apply sdcard:update.zip

wipe data/factory reset

wipe cache partition

----------------------------

What do i do now? looks like it failed to backup my rom...
[Samsung Mesmerize] chidesd:
just bought root explorer worked great
[Samsung Mesmerize] phidelt82:
Root Explorer can definitely move files from the sdcard to the system.
[Samsung Mesmerize] phidelt82:
Did your last step in the setup look like this:

redbend_ua restore /sdcard/recovery.bin /dev/block/bml8

RedBend Update Agent 6,1,14,1

FOTA : Make Block Device Nodes

lcd_init(498): start!

lcd_init(507): fb0 open success

lcd_init(514): width = 480, height = 800

page_msize: 4096, phy_unit_size: 262144

src: /sdcard/recovery.bin

dst: /dev/block/bml8 partition size: 0x780000

part_size: 0x780000

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 262144 bytes

read 221432 bytes

read finished

If not, something went wrong. Probably a typo in your last line of code. It should be bml8 not bm18 ---- third character is an L
[Samsung Mesmerize] alaindesjardins:
I was just trying to backup the rom before I did anything... not trying to flash anything or change. I installed z4root and rooted... then i installed ROM Manager, which installed Clockwork Mods Recovery... and I went to backup current ROM so i could back up my rom to the sdcard and thats the screen i got.
[Samsung Mesmerize] chidesd:
trying to push recovery to sdcard

what would my command line be?

my recovery.bin is in

C:\AndroidSDK

NM I got it keep forgetting a line
[Samsung Mesmerize] phidelt82:
If you haven't done any of the stuff from the beginning of this thread, then Clockworkmod won't work on your phone yet. That's what this whole thread is about.
[Samsung Mesmerize] alaindesjardins:
Misunderstanding on my part... I was trying to be cautious before I did anything drastic and I thought I could backup before I did what was in this thread. Ill read carefully and attempt this later.
[Samsung Mesmerize] phidelt82:
Not a problem. You're probably one of few that didn't just start doing it and actually trying to be cautious. Sorry, if my last post sounded rude, I was rushing out the door.
[Samsung Mesmerize] chidesd:
alright got eerything running but How do I back up my rom after installing the clockworkmod from the facinate?
[Samsung Mesmerize] phidelt82:
Once you have everything working, you should be able to go into Rom Manager and go to Backup Current ROM.
[Samsung Mesmerize] chidesd:
everytime I click backup rom ask for the backup name then I click ok and nothing happens? could superuse be messing it up?