yashsingh1/xdaforums huggingface dataset:
[HTC Desire S] madmaxx82:
If by Terminal Emulator you mean on your phone then it is much simpler.

Just download the zip file you can flash from inside recovery and use recovery or even rom manager to install it.

But if you really want to do it with a terminal emulator on your phone:

Download the OneClick zip file.

Extract it somewhere on your phone.

Let's assume you extracted it to /data/local/tmp

In the zip file is a file called "flash_image" (but it also exists somewhere on your phone already (if you have rom manager), just can't tell you its exact path, so just use the one from the OneClick zip archive you extracted)

You need to make flash_image executable.

assuming you extracted all the files from the zip file into /data/local/tmp:

chmod 777 /data/local/tmp/flash_image

then type:

/data/local/tmp/flash_image recovery /data/local/tmp/recovery.img

Finished..

You might want to clean up your files in /data/local/tmp now..

rm /data/local/tmp/*

and you are done ;)
[HTC Desire S] codryn:
madmaxx82 I`m asking for your help seeing that you are so good in what you are doing. Others with knowlege pls help to

Some minutes ago I made an zip with system/usr/keylayout for testing some things. When I choosed install zip from sd card from recovery at update bar I saw something with failed and boot.img message and quickly I made restart but now I`m on HTC boot screen ... now I`m afraid to pull out the battery because I saw that this kind of thing can brick desire s. What should I do?

btw in zip file was only keylyout files no boot.img so why I saw that msg? Ty for your time :(

ps: after touching volume up + volume down + power button and making restart I can`t go in recovery menu. :(((((( how can I make a restore/clean rom without recovery?

ps2: when connecting usb i hear some sound. tried RUU_Saga_HTC_Europe_1.47.401.4_Radio_20.28I.30.085AU_3805.06.02.03_M_release_199410_signed but it say that is not conected through usb.
[HTC Desire S] madmaxx82:
Ok, boot into bootloader menu.

And flash recovery via fastboot.

Do you have the fastboot binaries?

BTW: Why did you reboot after that message was shown? It would be good to know what happened. Maybe the log can still be obtained from /cache.

I suspect its just your boot or /system partition got messed up. Very interesting how that could have happened.

But now let's fix that first.

So.. do you have fastboot?
[HTC Desire S] madmaxx82:
Could you come to irc?

Then we could sort your problem easier.

either use your favourite irc client and connect to freenode and join channel #4ext, or simply use webchat:

http://webchat.freenode.net

joing channel #4ext
[HTC Desire S] codryn:
madmaxx82 ty but maybe I solved it out :P

Made some adb commands and restarted in recovery...I have wiped/formated everything and now lets see if I can install ROM.

update: yeeees after adb reboot recovery I went in recovery>mount sd>copy ROM> now is booting

I`m happy that I didn`t pulled out the battery.

ps: whos is in similar position first install HTCDriver 3.0.0.007 then android sdk ... in cmd write adb reboot recovery and you are in RECOVERY !
[HTC Desire S] madmaxx82:
Great you solved it ;)

BTW: If adb worked, then boot was ok and system was at least "working" as much as it could start the adb daemon ;)
[HTC Desire S] codryn:
I...strange though ..anyway I was so happy when I saw that I could enter in your recovery...man...
[HTC Desire S] madmaxx82:
Must have been quite a shock..

Happy too :)
[HTC Desire S] madmaxx82:
New version, more theming options

Because the next major version will take *at least* an additional week to be ready and will be a Beta when it arrives,

as it will be *quite* different to any previous version, here is a little unsupported update of the soon to be outdated code used in v2.x

It's not the update with promised changes/additions, but introduces more theming options and some little improvements.
​

Changelog v2.1.2

Improvements

:

Startuptime when there were themes with lots of different icons improved:

Except of the main background image, all images are loaded in the background after the recovery is ready.

-> so you can use it already even if the theme contained big background images which slowed down startup time even more on the Desire in previous versions.

Startup delay will be improved further, but this won't happen anymore for v2.x.

Yaffs2 partitions and their remaining free space values are now displayed too.

Filesystem info is now written to /cache/4ext/vol_info for any scripts that might want to check it.

New theming options

:

It's now possible to define a background image for any menu_item and its corresponding category.

While the user moves up/down any menu_items in main menu the background image changes "on the fly" to represent the item.

Menu item in 4EXT menu to reload the current theme.. so no restart is necessary any more when you change themes.

Of course the flashable zip of the theme must not reboot recovery, because it would render that option useless ;)

​

This version is neither stable nor unstable.

Not much has changed so I hope it's as stable as 2.1.0 final, but this must be evaluated by you ;)

md5sum: 511d1681467a6a18ff6cd0fe053912e8 4EXTRecovery_v2.1.2_saga_OneClick.zip

md5sum: 105f22637b14dc2870c7292eefa50ae4 4EXTRecovery_v2.1.2_saga.zip
[HTC Desire S] madmaxx82:
Anyone who already downloaded, please re download and reflash.

I forgot to comment a line which caused recovery to reboot as soon as you entered it on the DHD.

Nothing dangerous, but of course it would be nice to be able to get inside recovery after all..

I think the problem was exclusive to the Desire HD, but in case it was not: Please re download.
[HTC Desire S] madmaxx82:
Whiskey already has done some changing on the fly themes:

http://xdaforums.com/showthread.php?t=1174898&page=6
[HTC Desire S] neomis:
@madmaxx82:

Thx for your great work =)

I guess you are a member of the android revolution team and since you post in desire s-section my question is:

Do you guys have any plan to develop a android revolution rom for DS like you did for DHD? Would be great!

I think we need a little more competition in here =)
[HTC Desire S] codryn:
yes was strange because is not the first time doing that update.zip and all time worked but in that night I saw that msg with error (something with boot.img and I ignored that because in update.zip I didn`t had any boot.img) and I was thinking that if I`m doing an restart and try again maybe will work.

ON topic...good job updating your recovery :P
[HTC Desire S] madmaxx82:
v2.1.3

v2.1.3 unsupported

Released: Aug/6

Fixed a bug that sometimes occured with 2.1.2 (unsupported) where Rom Manager couldn't run a backup.

New: Backups will now error and stop if there isn't enough available space on sdcard instead of just printing a warning message which could be overlooked easily.

This was the case with any previous 4EXT version and with CWMR at least until version 4.0.0.5 (haven't yet checked if this behaviour has changed in newer versions)​

Text output now doesn't cover the progressbar anymore as was the case in 2.1.2 (unsupported)

Download:

4EXTRecovery v2.1.3 flashable zip

md5sum: 1cbabb26bddd773318ed502bbef9d88e

4EXTRecovery v2.1.3 OneClick version

md5sum: cf73cf54892b359523d387ca1b4e7132

​
[HTC Desire S] madmaxx82:
I'm sorry I didn't reply earlier.

Yes I'm in ARHD team, but I'm really not up to date concerning the roms.

Most of the time I'm just in recovery ;)

You would need to ask Mike or another member.. best would be to come to irc freenode and join the official channel:

http://tinyurl.com/426ebw9

Thank you very much :)
[HTC Desire S] tonylai2000:
Nice work, thanks a lotl
[HTC Desire S] ben_pyett:
Thanks

EDIT: was on mobile earlier and therefore couldn't use the THANKS button (well until now)
[HTC Desire S] vampire36:
K a bit basic doubt...

With desire s we have 768 ram and 1.1 gb internal memory...

So is there a need to partition the sd card fat32 into 2 partitions sd-ext and sd-ext2 along with swap...

Cos i guess sd-ext acts as extra ram...and sd-ext2 acts as memory for app2sd which now is supported...

So what exactly is the need...

Also what will be the best values for 8gb card...if i create just 1 or 2 partitions...???
[HTC Desire S] ben_pyett:
I personally don't use an additional sd partition and agree that we have easily enough internal memory
[HTC Desire S] madmaxx82:
No sd-ext 1 and 2 if exists is for extending the limited internal storage on devices like the Desire and Legend. Swap has the same meaning as on a PC.

You have no use of that on a Desire S and on no other device if the rom does not support it!
[HTC Desire S] Kamal_halder:
Installation Process please... would be of great help..
[HTC Desire S] ben_pyett:
It's in post #1 and besides I gave it to you earlier, in the LBC thread
[HTC Desire S] madmaxx82:
If you have drivers for your phone on your pc, you can download the OneClick zip, extract it on your pc and start "runme", like it's explained on the first post.

If you already have a custom recovery like CWMR installed, use the other download and flash it like you would flash a rom via Recovery or Rom Manager.
[HTC Desire S] deadwasp:
sorry but when i try to set up it it says

su:permission denied

what should i do
[HTC Desire S] Kamal_halder:
Thanks, But I have a recovery already installed and if I install another one it will never boot again, has suffered earlier with Motorola Defy ..
[HTC Desire S] madmaxx82:
??? If you really think that, then why do you want to install 4ext anyway? :D

You can always flash another recovery as it will replace the one you had.
[HTC Desire S] madmaxx82:
Ok so you don't have root yet.

Then reboot into bootloader, download any of the zip files, extract them so you get to the recovery.img.

Then open a console/command prompt, change into that directory where you extracted the files, and then type:

fastboot flash recovery recovery.img

Edit: if it says command not found when you try that with fastboot, you need to get the fastboot binary first.

Download it here: http://developer.htc.com/adp.html
[HTC Desire S] deadwasp:
one more question:

how can i root it.

i have already s-off

thanks a lot
[HTC Desire S] madmaxx82:
If you do it like that (fastboot...) you just install a custom rom afterwards and you will have root ;)
[HTC Desire S] Kamal_halder:
For the sake of speed as 4ext is better in Handling partition isn't it so if I flash using CMW recovery it will replace the earlier ...
[HTC Desire S] ben_pyett:
Yes and Yes
[HTC Desire S] codryn:
hmm.. let`s see if I understand. Currently have all my DS partitions 4ext. All good until now yes? So on SD card I have one partition 4ext (for moving app), 1 swap and the rest of 6 gb fat32 for maps/music/videos... Only "bad" thing here is the swap thing? From what I read here DS don`t need a swap partition.
[HTC Desire S] ben_pyett:
It's not bad it's just that D S has so much internal memory that you don't really need the swap or sd-ext (Unless you have hundreds/thousands of applications). Although it's not doing any harm.

If any applications are on it, then they could probably be relocated to the internal memory where they will run faster.
[HTC Desire S] codryn:
ty for reply ben I have only one q to make... before when I had only fat32 on sd...in recovery when I checked partitions for sd card I saw miss aligned partition but when I made partitions withing recovery (4ext/swap/fat 32) it give me info that all partitions are aligned :| What that means? I`m newb...
[HTC Desire S] ben_pyett:
I believe "Aligning the partition means to align the disk to match the true, underlying block structure that the OS uses" so that basically when read/write operations occur they don't have to performed multiple times - reducing the work and therefore improving performance.
[HTC Desire S] madmaxx82:
Minor Update: bugfix: offmode charge icons missing errormessages now gone ;)

+ better implementation of the file system info export done to /cache/4ext/vol_info (will survive any format/wipe now)
[HTC Desire S] Sib64:
Could you upload a zip or Qr Code versions for the last version..Please
[HTC Desire S] madmaxx82:
What's wrong with that on the first post?

Download

:

Latest: 4EXTRecovery v2.1.3 RC2

-> download for installing from within recovery

NOTE: Always take a look at known issues!

​
[HTC Desire S] Sib64:
Apologize, I haven't seen the link for upload on the first post.

I've seen just the MD5 sum link :(

Sorry
[HTC Desire S] madmaxx82:
;)

No problem
[HTC Desire S] Vorbeth:
I would be interested in seeing the source for this on github still.
[HTC Desire S] madmaxx82:
This might happen.
[HTC Desire S] lttldvl:
Isn't the source under GPL since it relates to the kernel?

Unless I am wrong, you must provide it.
[HTC Desire S] madmaxx82:
No there is no GPL involved at all!

http://www.koushikdutta.com/2008/07/code.html

There's also the Apache License involved, which is one of the most permissive licenses.

Regarding kernel: if I modified the kernel source, I would need to publish the modified kernel source.. but not my code which is unrelated to any GPL.
[HTC Desire S] lttldvl:
Thanks for the clarification. I figured because it was an element of the kernel, that it was GPL as well.
[HTC Desire S] madmaxx82:
It's no element of the kernel ;)

The kernel is completely separate.
[HTC Desire S] palkens:
ok im newbie in flashing adnroid etc (only wm phones)

and now i got s-off

i wanted to flash new rom and in almost all rom's thread is written to use 4EXTRecovery

but how to install it?

on this thread it is only:

Installing:

Integrated md5sum checking option

so not much really...

in guide it is not straight for me so

what do i have to do to install it from these points:

do i make 1-6 but with zip of 4EXTrecovery or i do NOT do point 5?

(i think i install software to backup i do not whipe device am i correct?)

please fast reply guys:)
[HTC Desire S] madmaxx82:
Sorry the reply was not really fast at all.

Did you already root your phone or install a custom recovery (something like or even 4extrecovery)?

If not, you need a zip you can flash via bootloader or fastboot! Or use any tools for root exploits out there to get root and then install the custom recovery.
[HTC Desire S] madmaxx82:
To anyone interested:

Here is the alpha of something that will get more features and is still rough around the edges, but it might ease the installation/updating/flashing of 4extrecovery already ;)

http://www.4ext.net/get.php?apk

It needs S-OFF and root..

Please be aware that this is an alpha and it was only tested on the incredible s, the desire hd and desire.. not the Desire S. But it shouldn't be any different..

Anyway, use at your own risk (like always anyway)..
[HTC Desire S] ben_pyett:
Tried it installed and worked fine, although couldn't download files as was already I latest version, reboot to recovery needed to download additional helper files

Found the orange back ground colour a bit bright ;)

If the application could automatically inform us when new version of ext4 are ready that would be great

Thanks great software, could be a good place for user guides and help files, which may cut down the amount of repetitive questions for you to answer in forum

Swyped from HTC Desire S using XDA Premium
[HTC Desire S] palkens:
i go s-off now - revolutionary

so i need root too ok i will do it and then flash 4ext but WITHOUT whiping device?
[HTC Desire S] madmaxx82:
Thank you ben!

But didn't it list some different versions in the Finals and Latest & Others tab?

Of course there might be not so much use to install another version if you already have the latest, but in "Browse available versions" you can few all the changelogs and download/install different versions (for example trying the final if the rc2 had problems) et.c.

Yes this is all a bit rough as it is yet. Not sure about the colours and I definitely must change the text colour.

The colours have the only purpose to indicate which version you have now, which ones are older and which ones newer.

Of course it doesn't make sense without any information telling that.

You can flash a recovery like 4extrecovery without wiping..

It's inside recovery where you wipe after all..

So when you first install a custom rom after you got s-off (coming from stock firmware), then you need to wipe inside recovery before you install the new custom rom.

Otherwise: when upgrading the same custom rom you most often don't need to wipe, but you always need to read the installation instructions of that particular rom.. when switching to another custom rom, the chance is very high that you need to wipe again!
[HTC Desire S] ben_pyett:
Had another try of software. Noticed tabs this time, was obviously too late last night.

Downloaded same version that I was using and re flashed that just to prove that it all worked fine, impressed that you can flash recovery while booted?

Change log and issues all show up fine

Swyped from HTC Desire S using XDA Premium
[HTC Desire S] ben_pyett:
Tried updated apk the colours and fonts are improved.

although while using original apk it told me that an updated apk was available but I couldn't download it through the application, had to un install and then download and re install, is there another way?

Swyped from HTC Desire S using XDA Premium
[HTC Desire S] madmaxx82:
Hi mate ;)

Thanks for your feedback!

Yes, flashing while booted is not a big thing.. as you know rom manager does it too :)

Yes that's not a good solution, but it's temporary anyway..

In the next update I will at least let the user chose to download it straight to the sdcard.

Easiest would be to put it into the market, but that's far too early.. too much is missing.
[HTC Desire S] amonrei:
I got this error when charging with phone off.

(code -1)
E:Missing bitmap charging_full_00059
(code -1)
E:Missing bitmap charging_full_00061
(code -1)
E:Missing bitmap charging_full_00065
(code -1)
E:Missing bitmap charging_full_00067
(code -1)
E:Missing bitmap charging_full_00071
(code -1)
E:Missing bitmap charging_full_00073
(code -1)
E:Missing bitmap charging_full_00077
(code -1)
E:Missing bitmap charging_full_00079
(code -1)
E:Missing bitmap charging_full_00083
(code -1)
E:Missing bitmap charging_full_00085
(code -1)
E:Missing bitmap charging_full_00089
(code -1)
E:Missing bitmap charging_full_00091
(code -1)
E:Missing bitmap charging_full_00095
(code -1)
E:Missing bitmap charging_full_00099
(code -1)
E:Missing bitmap battery_error
(code -1)

Searched around and i read that it's probably related to recovery. So that's why i posted here. Any ideas?

edit: uh nevermind should've read the first post... :P
[HTC Desire S] cadkey:
amonrei, perhaps have you changed your framework-res.apk and there are some mismatch in battery icon name.
[HTC Desire S] amonrei:
It's fine now with RC2. :o
[HTC Desire S] Sib64:
I've got one question than I cannot resolve. After a lot of tries.

I want to use Ext4 with Rom manager, but my recovery is CWM 3.0.0.6.

I havent got the possibility to flash an another recovery by Rom manager.

No problem, for install EXT4 by flash on the recovery, but when I want to use it, I cannot.

By the bootloader => recovery => CWM

I try to erase CWM by rom manager and flash EXt4 => CWM

So could you explain if that's possible, and what's the procedure.

Thank's
[HTC Desire S] madmaxx82:
That's strange, please try doing that with 4ext updater
[HTC Desire S] Sib64:
Thk's madmaxx82 for your new .apk.

it's work's well , and I've got same reproach about the orange back is very so bit bright :p

And your fonts are so little small for the older user ;)

But great software and exactly same report than @ben_Pyett

Well done :)
[HTC Desire S] madmaxx82:
Thank you :)

Where do you think is the text too small inside the app?

Will try to improve it if you can tell me where..

Text sizes vary inside, that's why I ask :)

BTW: Beta 3 very soon.
[HTC Desire S] Sib64:
When you are on "View partition data"

Orange and Blue cobalt for the fonts, it's not very aesthetic ;)...

Edit: Sorry for the size of the fonts, it's not your .apk, it's my rom, with a new font. But I confirm for the colour
[HTC Desire S] madmaxx82:
Ohh that!

Those colours resemble exactly the ones you have when you boot into recovery!

You can change all colours there to what ever you like!

Just tap on the screen! :)

Best would be to install a theme to get another background too!

Just download one of the themes and install them with the app. You can also change all colours of the theme before installing ;) ..and afterwards too of course ;)
[HTC Desire S] madmaxx82:
Beta 4 is up :)
[HTC Desire S] Sib64:
Ok, I'm trying ;)

downloaded and flashed RC3.

Well done Mate ;)

[Edit] All working well and theme is changed ;)
[HTC Desire S] shrome99:
hmm, seems like Clockworkmod Recovery 5.0.1.9 is out. Can you make an update for this version?
[HTC Desire S] Sib64:
You can download "Beta 4" who's the 4EXTRecovery Updater.apk.

Install, and with this apk you can download the new RC3. ;)

and changed the theme or the colours etc...
[HTC Desire S] Silverbullet09:
how can i use the Rom-Manager with 4ext-recovery?

Rom-Manager say on every versions "must be install CWM"?
[HTC Desire S] madmaxx82:
Already noticed :D

Of course I will as soon/if the source is available :)
[HTC Desire S] madmaxx82:
Let it install cwmr one time, then reflash 4extrecovery and it won't complain anymore :)

You can use the new Beta5 of Recovery Control for easy and save installing/online updating 4EXTRecovery.
[HTC Desire S] ben_pyett:
There is an option in ROM Manager called Manual Flash override select that, always worked for me.
[HTC Desire S] Sib64:
Sorry @ben_pyett but for me it doesn't work. I have this option, but it does'nt work for me. I always return to CWM.

This is why I use 4EXT Recovery updater
[HTC Desire S] ben_pyett:
I think that we're talking across purposes here..:)

4EXT Recovery updater is for updating the version of 4EXT that you are running when you already have 4EXT installed (I use this tool myself).

The advice I was giving is for when ROM Manager for some reason doesn't recognize EXT4 as being your recovery, then you can tell it you have manually overridden using the option I gave above.

If you're returning to CWM that suggests that that is because CWM is the recovery that you have installed.

I have just tried the new version of ROM Manager and I see that it also has the latest version of CWM 5.x.x.x available. Although I ignored its prompts and continued to use EXT4, even though it says reboot into CWM it still goes to my install of EXT4.

I am still able to take backup using ROM Manager using EXT4 recovery.
[HTC Desire S] Sib64:
I tried to understand why Rom Manager does'nt take into account the recovery 4EXTRecovery, then that could crush the recovery.

Cause in the end some users are faced with this problem.

Sorry for my english, it's not really good.
[HTC Desire S] ben_pyett:
Your English is so much better than my French would be, so don't worry, we will understand each other in the end. :)
[HTC Desire S] madmaxx82:
Everyone using the app to do backups and use its functionality to select the partitions you want to include/exclude in the backup, please upgrade to 4EXT-Recovery v2.1.3 RC4!

This version also fixes a very very rare bug I stumbled upon by accident :p
[HTC Desire S] ben_pyett:
good evening!

May well have caught you between tasks... Already upgraded recovery to RC4 through the App earlier to night by chance...

But noticed tha the links and labels on post #1 not as yet updaded.

keep up the good work

Good night!
[HTC Desire S] madmaxx82:
Hahaha, yes I wondered how fast you had updated your signature :D

Thank you!

And also have a good night :)
[HTC Desire S] madmaxx82:
Beta 7 is up :)
[HTC Desire S] Sib64:
My DS said Ty dear @madmaxx82 for your job :)

...and the next step, the automatic update by OTA ;)
[HTC Desire S] madmaxx82:
RC1 uploaded :)

Recovery Control RC1