yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] shabbypenguin:
Shabbypenguin and the OUDHS

presents to you

OUDHS Touch CWM-based Recovery 1.0.3.3

for your AT&T Samsung Galaxy Express

Read this whole post before doing anything :)​

Enjoy

Odin Flashable - OUDHS CWM-based Recovery 1.0.3.3

Odin 3.04

Drivers

Directions

:

1) Download the above files

2) Extract Odin3-3.04.zip and copy the tar that you downloaded into the folder

3) Run Odin as an administrator

4) Power your device off

5) Press and hold volume down and power to enter download mode

6a) Connect your phone to your computer

6b) Wait for drivers to finish installing if they need to be

7) You should see Odin find your device by marking a blue square in the ID COM box

8) Click on PDA and choose the recovery tar you downloaded

9) Click start

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

Congrats you now have CWM now if you wish to root youll need to follow these instructions :)

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

SuperSU+ 1.25

Directions

:

1) Download the above file

2) Connect your phone and copy them to your phone

3) Once they are copied power down your device

4) Hold volume up and power to enter Clockworkmod recovery

5) Navigate recovery by using the volume keys and power to select

6) Choose install zip from sdcard, then pick internal or external (where you copied it to)

7) Scroll down to the SuperSU+.zip and select it to install

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

Congrats you are rooted! this procedure will work on any firmware update you guys get :)

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

If you enjoyed getting root/recovery and want to show appreciation you can always buy me a coke​

​

Source​

Credits:

Members of the Official Unloved Devices Hit Squad (OUDHS)

For being the best we can for those whom need us

rdawson28

For being an awesome tester

BlindArtisan

For providing the stock recovery, thanks man :)
[Miscellaneous Android Development] JDC2389:
I can't use the cwm because no matter what I try I can't get my goddamn phone to be recognized properly in download mode. It's seen perfectly when powered up on com3. When I go into download mode it's listed as an unspecified device and the usb modem driver doesn't turn on for the phone like it does when it's on.
[Miscellaneous Android Development] BlindArtisan:
Thank you for doing this it has been long overdue. Do you think you could provide the recovery image (and other files needed for installation?) without having to use the exe?
[Miscellaneous Android Development] shabbypenguin:
www.shabbypenguin.com/OUDstuff/Samsung/ATT/Express/Express-OUDHS-CWM.tar
[Miscellaneous Android Development] BlindArtisan:
Thank you. An alternate way to install for those who are rooted and don't want to use Odin.

Create a copy of the recovery on your sdcard.

In the android terminal or adb with shell type dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p18

To make the recovery permanent.

Find /system/etc/install-recovery.sh

Rename the file install-recovery.sh.backup

Reboot into recovery and enjoy the glory.
[Miscellaneous Android Development] Sworder:
I had the same issue, and I narrowed it down to this: If you installed the samsung usb driver WINDOWS UPDATE then you are screwed. What you really need is a laptop with no phone drivers on it, and just plug your phone while it's on download mode and then it will be seen by ODIN. I had to use another laptop to install the recovery correctly.
[Miscellaneous Android Development] BlindArtisan:
You could always uninstall the drivers then install fresh ones from Samsung. Or use the in phone method.

Sent from my rooted SAMSUNG-SGH-I437
[Miscellaneous Android Development] rdawson28:
I has to uninstall then put the fresh drivers on thats the easiest way
[Miscellaneous Android Development] invert_nexus:
Anyone else's recovery think it's march 13, 1970?

Also, I'm curiuos as to why it tries to fix root when I reboot and what, exactly, would it do to fix it. After reboot, root is not broken, so a fix is apparently not needed.
[Miscellaneous Android Development] BlindArtisan:
I have the exact same issue with the date.

I don't quite understand what you are saying, but It doesn't try to fix root on boot it tries to fix the recovery.img

Sent from my rooted SAMSUNG-SGH-I437
[Miscellaneous Android Development] JDC2389:
Thanks blind you came through for me, that way I didn't have to worry about my phone being recognized in download mode. Nice job on the recovery it looks fantastic.

---------- Post added at 04:57 PM ---------- Previous post was at 04:32 PM ----------

Someone needs to make a video about this root method to spread the word and upload it to youtube!
[Miscellaneous Android Development] carpboy:
Worked flawlessly on a new phone. A 6 month old one, all appears ok, it sees the phone, odin loads the image, phone reboots ok. When I try try to reboot into recovery mode I get the stock recovery, not CWM.

Any ideas?
[Miscellaneous Android Development] shabbypenguin:
guys i am so sorry, i had to reinstall linux and thought i lost teh device t ree, anyways i compiled a new version of OUDHS recovery for yall. and finally uploaded source
[Miscellaneous Android Development] invert_nexus:
Carpboy,

Did you delete/rename install-recovery.sh as referenced earlier in thus thread?

Shabby,

Thanks a lot. What changes are there in this new version? Also are you still planning on making the source public?
[Miscellaneous Android Development] shabbypenguin:
source is at the link :)

and there is a good deal different in the latest version. honestly i suggest everyone upgrades :)
[Miscellaneous Android Development] invert_nexus:
Just tried it.

Two things:

1.) The colors are off. I'm guessing it's identical to the issue rdawson detailed in the earlier debugging process. Also, the display jumps from side to side with each display change. I.e. each scroll up or down in a menu, also when the backup moves from file to file.

2.) The date of the backed up file is still 1970. Although, oddly, the properties of the files are dated 1979.
[Miscellaneous Android Development] rdawson28:
Havent updated yet but sounds like the same problem as before ill test tomorrow been really busy also gonna work on the cooked up rom more when I get a chance im sure the recovery issues will be fixed shortly
[Miscellaneous Android Development] shabbypenguin:
the time will always be off, recovery doesnt talk to the rest of the phone. crap, did that get fixed? or was it always broken?
[Miscellaneous Android Development] invert_nexus:
Odd. Is that just an ussue with this phone?

You're talking about the display corruption?

Your previous version worked fine. Something must have reverted.
[Miscellaneous Android Development] shabbypenguin:
the time this is android wide afaik. twrp and official cwm have teh same bug :/

and crap that means some of the new features broke stuff for yall :/ ill put the old on back up in the OP :( i was really hoping to give you guys touch recovery
[Miscellaneous Android Development] carpboy:
No, I hadn't tried that. I just tried again with the tar in the OP and got the same reult, all looks ok but stock recovery is what comes up.

I then in Odin unchecked reset. I loaded it again and then this time pulled the battery when done. Booting into recovery now shows CWM.

Thanks Shabby.
[Miscellaneous Android Development] carpboy:
Correction: Not working. First boot if done above gives cwm but others after that don't. I've looked and there is no install-recovery.sh file.

Thanks.
[Miscellaneous Android Development] invert_nexus:
Odd. I've used cwm on several phones and this is the first time I've had this issue. I did some quick googling and found scattered references to some having this bug and others not. Is it model specific, I wonder, and ghus far I've simply been lucky? I've seen some mention of this being fixed by starting cwm through rom manager. Question: is this version of cwm compatible with rom manager? And, if not, what would be required?
[Miscellaneous Android Development] shabbypenguin:
you would need t o subm,it the device files in the OP to koush. as far as the bug and how to fix it and why it happens to some and not others i dont know.
[Miscellaneous Android Development] invert_nexus:
Carpboy,

Go back to the first page in this thread and follow blindartisan's instructions on dealing with install-recovery.sh. it's rewriting your recovery partition on boot.

Edit: whooops. Just noticed you said you looked for the file. Are you rooted and using root browser or es file browser with root permissions?

---------- Post added at 05:43 PM ---------- Previous post was at 05:40 PM ----------

Well, I just wanted to say thanks for helping us out as you've really jump started the prospects of our little phone here. I really appreciate the help you've given.

Do you think you'll be able to fix the display corruption?
[Miscellaneous Android Development] shabbypenguin:
Not at all a problem, its why we made the OUDHS in the first place, to help the devices that tend to get overlooked :)

as far as the display goes i have the same files as i did before and something i modified in oudhs recovery messed it up, ive changed so much in the past few days i would spend days rewriting all the code i merged in in an effort to try and and fix it for this one phone and prolly break it for 3-4 others :/
[Miscellaneous Android Development] invert_nexus:
Thanks again.

I tried the source link in the op and it says these are not the droids i'm looking for. (Error 404.) Are you sure the link is right? Can I only access it using git? I plan on setting up in linux and playing with this stuff when I have time, but tempus fugit.
[Miscellaneous Android Development] carpboy:
Something weird going on here. When I tried to rename the .sh file, it wasn't taking (of course), so using the one boot into cwm trick (mentioned earlier) I was able to get rooted and put in Root Explorer.

After going through all that is when I noticed that the .sh file was no longer present.

So then I start booting into recovery and every time now goes into cwm.

However, when I make a backup it takes FOREVER, like 30 minutes, then it fails anyway, never goes to completion.

All this has been done with Odin loading the recovery partition. Would there be any expectation of anything different using the other method mentioned in the early part of the thread?

Thanks.
[Miscellaneous Android Development] invert_nexus:
Mine takes forever to backup, too. The reason, I think, is because the size of the partitions are so big. This phone bas the largest internal memory of any phone I've had. It's never failed though.

Question: how much free space do you have on your external memory card? Is there a possibility that you're running out of space.

As to whether it would be different using dd at a terminal rather than odin... probably not.
[Miscellaneous Android Development] carpboy:
I put in my 16 G card from my G3, about 5G free. I would think 5 would be plenty - any idea how big your nandroids are?

I can try freeing up more space, I have to schedule these things though - it's my daughter's phone and is IMPOSSIBLE to get from her for more than 5 minutes at a time.

My brand new one (there are two that I am playing with), a virgin system made a nandroid of about 1.1 G.
[Miscellaneous Android Development] invert_nexus:
4.05 GB.

Damn. That's freakin' huge. Almost too big to be useful.
[Miscellaneous Android Development] carpboy:
Holy crap. OK, knowing that I'll try again with 10G free.

Thanks.
[Miscellaneous Android Development] shabbypenguin:
crap my bad thought i upped it, turns out i forgot to make teh repo on the site. its up and live now :)
[Miscellaneous Android Development] carpboy:
That was the trick. Opened up more space and got it to complete at 5+G, very slow.

I then looked and saw 3 G of media, moved that out and re-ran, now about 2.5 G and not as slow.
[Miscellaneous Android Development] invert_nexus:
Thanks.

One more question.

Is this for the version that works for our phone or the broke version?
[Miscellaneous Android Development] shabbypenguin:
the device files work with cwm, its oudhs recovery that is breaking it
[Miscellaneous Android Development] invert_nexus:
Ah. So. What we've been referring to as cwm is actually oudhs recovery then?

I knew it was modified (i.e. the shabbypenguin logo, etc.) But thought it was still basically cwm. So, we should be able to use these files to build a working version of official cwm?
[Miscellaneous Android Development] shabbypenguin:
the oudhs recovery i built for you guys ages ago was basically cwm with a few minor tweaks, now its becoming its own full fledged thing, still based on cwm but different enough to mess things up apparently :/
[Miscellaneous Android Development] shabbypenguin:
there is no cyanogenmod for this device, you guys have to work and port it. cwm is not official so rom manager wont work.
[Miscellaneous Android Development] Everhez:
I have doubts with the procedure, do not need to have the bootloader unlocked?, someone could record a video step by step please

Send from LG P870 Jelly Bean+Root SuperSu
[Miscellaneous Android Development] caine0001:
Which procedure do you doubt?

Which procedure is it you are doubting and want on video?
[Miscellaneous Android Development] Everhez:
to install the recovery

Send from LG P870 Jelly Bean+Root SuperSu
[Miscellaneous Android Development] caine0001:
The instructions I put together a couple of posts back were taken from everybody's posts on how to do the CWM recovery and make it stick. I did it after rooting my Express. If you are rooted already just follow the instructions from that point, if not rooted follow every step exactly. The rooting takes only seconds and then installing the recovery only takes a minute or 2 and that includes starting ODIN and finding the recovery file to install. If you follow the steps it will work without incident. It is way simple. I don't see where a video will help. It would take way longer to make the video and post it than it would to just follow the instructions. You would be done by the time a video was ready for posting. Plus, if it is me, i am not going to rerun the rooting process and the installation of the recovery again on my Express. It is just too simple to do this to have to go through making a video and posting it. If someone else wants to do it, then they can do it. But believe me, when you are done you will be shaking your head for feeling like you needed a video. Seriously, that's why I gathered all the directions and put them into one place was so that it would be absolutely impossible to mess up if you follow them exactly. If there is a particular step that you have doubts about and is causing you to think you need a video, post it and me or someone else will explain it in detail. But I can't figure out which step would be giving you trouble even if you are new to doing this. The link to the rooting file will get you the motochopper.zip file. Unzip it and double-click run.bat to root your phone in about 60 seconds, and that includes the reboot. Once rooted, or if you are already rooted, the instructions for installing the CWM based recovery are extremely simple. After using a rooted file explorer such as Root Explorer to rename those files its just a matter of running ODIN and choosing the recovery file and let it install and reboot. You don't even have to untick the reboot box in ODIN once you have renamed those files, which many people had assumed you needed to do before one of the experts discovered it was just a matter of renaming those files. And also, thanks to the one who originated this thread for providing us with the recovery that works flawlessly on our Express phones. I have used it repeatedly since installing it and not one hiccup.

---------- Post added at 06:19 PM ---------- Previous post was at 06:03 PM ----------

BTW, if your phone isn't rooted and you don't want to root it but just want the CWM based recovery installed you will need to know your Linux and manually figure out a way that works for you where you can mount the system partition and access the /system folder and /system/etc folder as R/W and rename the files on your own and then do the recovery install. It is just so much easier to root the phone first like is written in the instructions.
[Miscellaneous Android Development] Everhez:
Need to have the bootloader unlocked?

Send from LG P870 Jelly Bean+Root SuperSu
[Miscellaneous Android Development] caine0001:
Didn't mess with it at all. Please believe me, I simply followed those instructions EXACTLY and was rooted and had the CWM based recovery installed in less than 10 minutes. Just for emphasis, once again, my phone is the Samsung Galaxy Express i437 with Jelly Bean version 4.1.2. It was a breeze, believe me. I know what it feels like being afraid to dive right in, heck it is my only phone. But I took a leap of faith and was amazed at how quick and easy it was. Again, that is thanks to the hard work of a lot of other people way more experienced than me, including the person who started this thread with the version of recovery that actually works on our phone. Things are moving slowly as far as getting all the bells and whistles ported for the Express, but as far as rooting and a CWM based recovery with its lifesaving options, their time has arrived. Follow the instructions, put your bootloader fears to rest, and you will be ecstatic in about 10 minutes. Promise.
[Miscellaneous Android Development] Everhez:
Thanks you man :thumbup:

Send from LG P870 Jelly Bean+Root SuperSu
[Miscellaneous Android Development] caine0001:
Just so you don't forget, and I know it is mentioned in the instructions, make sure that you have the latest Samsung drivers installed. I used the drivers that are on the Samsung website. The installation file name is "Samsung_USB_Driver_for_Mobile_Phones_v1.5.14.0.exe". I installed it and turned off searching Windows Update for any updates. After installing these drivers I simply hooked up the phone and made sure it was recognized, that way you know the drivers are working properly. Once the drivers are installed, you can proceed with confidence. I just wanted to make sure that you didn't overlook the importance of having the latest drivers installed.

---------- Post added at 09:20 PM ---------- Previous post was at 09:18 PM ----------

Not a problem. If anyone knows what if feels like to want to cover every base, its me. Come back and post once you have it done.
[Miscellaneous Android Development] Everhez:
Custom roms?

Send from LG P870 Jelly Bean+Root SuperSu
[Miscellaneous Android Development] caine0001:
None I have heard of as of yet. Cyanogenmod, as mentioned earlier in this thread, will have to be ported to the Express before it can be compatible.
[Miscellaneous Android Development] aureljared:
How does one port CM?

EDIT:

Just read up a little about porting CM. Seems like a tedious and time-consuming task. But I would love to do it except that I don't have the time, I don't know Linux commands much, and what's more, my parents don't want Linux on the PC.

Also I've heard that syncing the entire CM repo will take about 19GB+. Damn large.
[Miscellaneous Android Development] caine0001:
Porting essentially means to make it compatible with the Express. And if you want Linux on the computer just install a Linux Virtual Machine on the computer and it will never interfere with the main OS. I have Windows 7 as my host on my laptop and have Fedora, Ubuntu, and Backtrack linux distros installed as VM's. Just a suggestion and off topic I know. But if it gets another person working on Custom ROMs for the Express, it is definitely on-topic.
[Miscellaneous Android Development] aureljared:
How do I setup a VM?
[Miscellaneous Android Development] caine0001:
For a different thread for sure, so I will just say briefly that you need to Google how to install a Virtual Machine. But I will say, to help you out, if you aren't familiar with setting up a VM, I would have reservations about taking on the task of building or porting ROMs. Just my opinion. But Google it because it is way too off topic for this thread.
[Miscellaneous Android Development] Everhez:
New notices??? Update for the cwm or custom rom??

also wanted to see because they work so much, sometimes I see the ram consumption is 90% of total
[Miscellaneous Android Development] aureljared:
Try to freeze apps. Might free some ram
[Miscellaneous Android Development] JDC2389:
Use Greenify to stop the apps from stealing all the ram.
[Miscellaneous Android Development] caine0001:
I have frozen every unneeded app on my Express and once I even tried uninstalling them and it did not add any measurable RAM to what is available. My understanding on the operating system that is on the Express is that it puts a certain amount of RAM into reserve and thus no matter how many apps you unfreeze it will always look like you are using almost all of it up. Just because it says 90% doesn't mean that 90% is being used by apps. My experience of freezing and uninstalling so many apps seems to back this up. I may have been misinformed but that is what I was told and experienced myself. If I have been misinformed, I apologize for even bothering to post this up.
[Miscellaneous Android Development] aureljared:
I think you are referring to the dex files that go to RAM at startup. Yes that is correct, devs design APKs to put a certain part of their apps into RAM at boot in the form of dex files, so the apps will launch faster. Maybe deodexing and zipaligning will release more RAM but apps will launch slower.
[Miscellaneous Android Development] caine0001:
CWM based Recovery for the Express...Hope this helps someone

In keeping with the title of this thread I thought I would tell you guys that I have a CWM-based recovery for the Samsung Express. I installed CWM on a brand new phone that had never been fully booted up and ran CWM backup. So I now have an image of the Express with JellyBean 4.1.2 that puts your phone back to the same condition it was in when you first took it out of the box. You will only have the factory installed apps and settings and you will have to go through the setup process for the phone. This is a barebones out of the box, unrooted, recovery. It is pristine, with nothing except for what you would get when you open the box for the first time. I restored it to an Express and it worked perfectly and booted the phone up to the setup screen. Everything worked including the wifi, GPS, etc. If anyone is in need of this recovery I have it and will help anybody out if they need it. I wasn't aware of anyone who had posted a stock recovery for the Express with JB 4.1.2, especially one from before the phone had been touched or even setup and I had access to a brand new phone so I figured I would get one for any of us who needed it. And once again, I have personally restored it to an Express phone and it did work flawlessly, so unless you have something else going on with your phone, it should get you back to out of the box condition for your Express. Since I am new to this forum and the recovery is over 643MB, which is not small, I didn't know what is preferred here as to attachment sizes. So to be safe, if you need it, I subscribe to this thread, so just leave a message and we will figure out how to get it to you.

I decided to come back and edit this message and go ahead and put a link to the CWM recovery image I created for the Express. I encourage anyone who is willing , to give it a try. It works on the two phones I tried it on, but as you can see below it is not allowing fantom35 to turn on WiFi. I want to know if it works for anyone else. Here is the link:

https://docs.google.com/file/d/0B5Z4Qi00TO4PM19ySkN3bnlZaVU/edit?usp=sharing
[Miscellaneous Android Development] aureljared:
I know of a user named fantom35 here on XDA who needs JB image. Try uploading to devhost, dropbox, etc. XDA has a quite small attachment size limit. :good: