Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
oblika
Old
#1  
Senior Member - OP
Thanks Meter 0
Posts: 61
Join Date: Jun 2008
Default mkswap and swapon missing on Hero

As I was trying to create a swap file on my Hero I noticed that both mkswap and swapon are missing. HTC might have removed them from the ROM.

So I was wondering. Is is possible to take these binaries out from a, let's say, Magic ROM and put them in Hero. In theory it should work because of the same architecture. So If anyone is willing to share these binaries, I would give it a try

Can you look inside your Heros and let me know if this is just on mine. (Of course you must root it, mine done without a problem).

Have fun with hero!!
 
Dayzee
Old
#2  
Dayzee's Avatar
Senior Member
Thanks Meter 10
Posts: 328
Join Date: Jan 2008
Location: Manchester UK
Aren't swap apps always hacks? Thought you'd only get that in cooked ROM

Daisy xxx
G1 - Google Ion - HTC Hero - Milestone - Nexus One - Desire Z - Samsung Galaxy S II currently using Westcrips REMIX 1.1 ICS Rom

Twitter : @daized

My Amazon Author's Profile
 
oblika
Old
#3  
Senior Member - OP
Thanks Meter 0
Posts: 61
Join Date: Jun 2008
Quote:
Originally Posted by Dayzee View Post
Aren't swap apps always hacks? Thought you'd only get that in cooked ROM
Makes sense. However as android being linux, it could be done just by adding the binaries and the appropriate libs. In theory it should work. Someone should try it

I'm not so up-to-date, are there any cooked ROMs for Hero (I'd flash mine, but I would like to keep the senseUI)?
 
-nickx-
Old
#4  
Member
Thanks Meter 0
Posts: 38
Join Date: Sep 2007
Nothing yet
 
oblika
Old
#5  
Senior Member - OP
Thanks Meter 0
Posts: 61
Join Date: Jun 2008
ok...

I have decided to start editing the Htc Hero wiki page here on xda-devs, so I'd be grateful if anyone could help. For example: for cooked roms and stuff like that. I'm already adding rooting methods so other users don't need to search in the forum, just go to the wiki page. So if anyone is interested, please help me edit the wiki page. (Oh this was a little of-topic:S - I'll make new thread)

Peace!
 
paulobrien
Old
#6  
paulobrien's Avatar
Senior Member
Thanks Meter 5239
Posts: 4,390
Join Date: Nov 2003
Location: Norwich
This will give you swapon etc.:

http://www.modaco.com/index.php?showtopic=291345

I'll add it to an update.zip shortly.

P
 
oblika
Old
#7  
Senior Member - OP
Thanks Meter 0
Posts: 61
Join Date: Jun 2008
What exactly does the hybrid method update.zip does? I have seen it does something with the boot partition... Just asking because I don't want to brick my hero.
 
paulobrien
Old
#8  
paulobrien's Avatar
Senior Member
Thanks Meter 5239
Posts: 4,390
Join Date: Nov 2003
Location: Norwich
If updates the boot.img one to one that lets you adb remount.

P

 
Post Reply+
Tags
hero, missing, swap
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Go to top of page...

XDA PORTAL POSTS

Windows-Based Multi-Tool for the Sony Xperia U

If you are a flashaholic and an owner of the Sony Xperia U, you may be interested in the … more

XDA University: Crafting Recovery-Flashable Packages

Those of us who use Linux on a day to day basis don’t think twice about sinking … more

Side-Swiping Multitasking with Kakudo

Recovering iPad users may still remember the multitasking function where you can swipe left or right to … more