Jump to content


Automatic Elfpack Lib Porter


  • Please log in to reply
23 replies to this topic

#1 OFFLINE   Stonos

Stonos
  • VIP
  • SVP

  • 1,687 posts
  • Gender:Male
  • Location:Thessaloniki, Greece
  • Mobile:T630/K800
  • Tutorials Submitted:1

Posted 12 August 2008 - 11:20 AM

Here's something small I've been working on...

This little app automatically ports libraries using IDA and PATSearch.

Please read the instructions before using!

  • Open IDA and load the raw firmware you want to port from as described in this thread
  • Press Alt-G, select T and enter 1 as Value
  • Disable Auto Analysis
  • Make sure the cursor in IDA is in the beginning of the first line:
    Posted Image
  • Open PATSearch, load the raw firmware you want to port to and select the base address for your platform
  • Set focus (click) on the big textbox in PATSearch!
  • Open Elfpack lib porter and click Add Alt Keycodes to PATSearch
  • Copy the (part of the) lib you want to port into the first box and press Port it!
  • The ported lib will show on the second box


Some notes:
Do not minimize IDA or PATSearch!
Do not use your computer while a lib is being ported!
This won't port all functions, but it should port most of them.
Some functions will be wrongly ported!
Do not try to port from DB2010 to DB2020 or vice-versa.
The program will connect to the internet on launch to check for updates.

This is still a beta and many things can go wrong.
I will try to improve the way it works in future versions.


Download: http://mike.thedt.ne...load.php?id=103

Edited by Stonos, 12 August 2008 - 12:02 PM.


#2 OFFLINE   den_po

den_po
  • New Members
  • PipPipPipPipPipPip
  • Se-nse-ual

  • 882 posts
  • Gender:Male
  • Location:Russia/Chuvashia/Cheboksary

Posted 12 August 2008 - 11:51 AM

i have 294 new autoported functions. but they are not checked. and they will be uploaded to svn only after check.
only idiots have large signatures

my jabber online status: Posted Image


#3 OFFLINE   Nick14

Nick14
  • VIP
  • Bless You ??

  • 3,280 posts
  • Gender:Male
  • Location:Approx. 1.12 cm from Boysie
  • Mobile:Boysie ate mine
  • Tutorials Submitted:1

Posted 12 August 2008 - 12:42 PM

seems good

I'm VIP
VERY IMPORTANT PIMP
Posted Image


#4 OFFLINE   amnher

amnher
  • VIP
  • SVP

  • 1,982 posts
  • Gender:Male
  • Location:Manila, Philippines
  • Mobile:Xperia Mini ST15i

Posted 12 August 2008 - 12:47 PM

This tool is quite good thanks
Xperia Mini ST15i  - Official ICS 4.1.B.0.587, Locked Bootloader

#5 OFFLINE   Nick14

Nick14
  • VIP
  • Bless You ??

  • 3,280 posts
  • Gender:Male
  • Location:Approx. 1.12 cm from Boysie
  • Mobile:Boysie ate mine
  • Tutorials Submitted:1

Posted 12 August 2008 - 01:14 PM

so can this port elf lib from r1bd001 to r1bc002 becouse the elfpatch work but not the lib

I'm VIP
VERY IMPORTANT PIMP
Posted Image


#6 OFFLINE   Stonos

Stonos
  • VIP
  • SVP

  • 1,687 posts
  • Gender:Male
  • Location:Thessaloniki, Greece
  • Mobile:T630/K800
  • Tutorials Submitted:1

Posted 13 August 2008 - 06:43 AM

View Postnick14, on 2008-08-12 16:14, said:

so can this port elf lib from r1bd001 to r1bc002 becouse the elfpatch work but not the lib
Try it, it should work.

#7 OFFLINE   D-Man

D-Man
  • New Members
  • PipPipPipPip
  • Makes Se-nse

  • 284 posts
  • Gender:Male
  • Location:Argentina
  • Mobile:K310@W200

Posted 13 August 2008 - 07:48 PM

good work man, i'll check the lib faster now.
I'LL MAKE YOU FAMOUS...

#8 OFFLINE   diezil

diezil
  • VIP
  • SVP

  • 1,647 posts
  • Gender:Male
  • Location:Newcastle Upon Tyne, England
  • Mobile:w800i, w810i, w580, w850, k770, k800, k850i, c902, xperia u
  • Tutorials Submitted:4

Posted 15 August 2008 - 07:40 AM

If you could add a find by xref feature it could add more accuracy and find more functions... if you could get it to work in that way :)

Off topic... does anyone have a working (patched) FindXRef plug for IDA 5.2?
System sends: 0100100101100100011001010110111001110100011010010110011001111001
User responds: 011001000110100101100101011110100110100101101100

diezil: born 9-12-1998 laid to rest 2-8-2012 you'll always be loved, never forgotten.

#9 OFFLINE   Stonos

Stonos
  • VIP
  • SVP

  • 1,687 posts
  • Gender:Male
  • Location:Thessaloniki, Greece
  • Mobile:T630/K800
  • Tutorials Submitted:1

Posted 15 August 2008 - 05:39 PM

View Postdiezil, on 2008-08-15 10:40, said:

If you could add a find by xref feature it could add more accuracy and find more functions... if you could get it to work in that way :)

Off topic... does anyone have a working (patched) FindXRef plug for IDA 5.2?
Can you give an example?

#10 OFFLINE   photographer

photographer
  • VIP
  • gone...

  • 5,331 posts
  • Gender:Can't decide
  • Location:Koninkrijk der Nederlanden
  • Mobile:iPhone 4S 32GB, iPad 3 32GB

Posted 15 August 2008 - 07:26 PM

wow! this is goood! Too bad I dont have an elfpack enabled phone right now lol!

#11 OFFLINE   Nick14

Nick14
  • VIP
  • Bless You ??

  • 3,280 posts
  • Gender:Male
  • Location:Approx. 1.12 cm from Boysie
  • Mobile:Boysie ate mine
  • Tutorials Submitted:1

Posted 16 August 2008 - 02:34 PM

i started IDA 5.02 and added rom and everything but it wants ram code for r1bc002 anyone know it's ram??

I'm VIP
VERY IMPORTANT PIMP
Posted Image


#12 OFFLINE   kirpeace

kirpeace
  • VIP
  • SVP

  • 1,325 posts
  • Mobile:K550i with w610 main

Posted 16 August 2008 - 03:23 PM

patsearch closes down in my pc when it tries to search dont know why

#13 OFFLINE   thugz mafia

thugz mafia
  • VIP
  • bullfunter

  • 1,289 posts
  • Gender:Male
  • Location:Up North..
  • Mobile:Interchanging
  • Tutorials Submitted:1

Posted 18 August 2008 - 01:12 PM

you :censored: genius..

Yo.

View Postscotsboyuk, on 2008-10-09 23:33, said:

You just want to see my legs.


#14 OFFLINE   Nick14

Nick14
  • VIP
  • Bless You ??

  • 3,280 posts
  • Gender:Male
  • Location:Approx. 1.12 cm from Boysie
  • Mobile:Boysie ate mine
  • Tutorials Submitted:1

Posted 31 May 2009 - 07:45 PM

Anyone can give me the link to Patsearch ?

I'm VIP
VERY IMPORTANT PIMP
Posted Image


#15 OFFLINE   mojsa

mojsa
  • VIP
  • SeCrEt PoRt-aL

  • 2,868 posts
  • Gender:Male
  • Location:Croatia
  • Mobile:w705
  • Tutorials Submitted:1

Posted 31 May 2009 - 08:14 PM

Here you go =)

Attached Files



#16 OFFLINE   Nick14

Nick14
  • VIP
  • Bless You ??

  • 3,280 posts
  • Gender:Male
  • Location:Approx. 1.12 cm from Boysie
  • Mobile:Boysie ate mine
  • Tutorials Submitted:1

Posted 01 June 2009 - 08:20 PM

Thanks :D

I'm VIP
VERY IMPORTANT PIMP
Posted Image


#17 OFFLINE   blacklizard

blacklizard
  • SE-NSE Awards '11
  • Retired

  • 3,909 posts
  • Gender:Male
  • Location:Malaysia
  • Mobile:W995 R1HA035
  • Twitter:icodewithlizard
  • Tutorials Submitted:1

Posted 22 March 2010 - 11:07 AM

Not working for A2..  :newhere:
Will port/create patch/elf for money
All support question sent to my email/PM will be ignored

#18 OFFLINE   DAHLIANA

DAHLIANA
  • VIP
  • SVP

  • 1,491 posts
  • Gender:Male
  • Location:Thailand
  • Mobile:HTC Desire HD, W810 , W705

Posted 22 March 2010 - 05:29 PM

View Postblacklizard, on 22 March 2010 - 11:07 AM, said:

Not working for A2..  :newhere:
Hi master.
You have working elfpack on your W705?
:)
MY PHONE : HTC Desire HD
ROM : Android Revolution HD 3.2 , Radio 26.06.04.14_M
Accessory : Stereo headset MW600 , microSD™ 32 GB.
Spare Phone : W810 , W705
My Gallery : http://forums.se-nse...lianas-gallery/

#19 OFFLINE   Boysie

Boysie
  • Super Moderators
  • Mrs Miggins

  • 37,164 posts
  • Gender:Can't decide
  • Location:Between a rock and a hard place
  • Mobile:X10 (CM10.1 v10) - K800
  • Tutorials Submitted:One or two

Posted 22 March 2010 - 05:43 PM

Yes he has. ;)

Personal messages that have no need to be private will not be answered. We have a forum for asking questions so please use it.


#20 OFFLINE   mysteryagr

mysteryagr
  • Members
  • PipPipPipPip
  • Makes Se-nse

  • 422 posts
  • Gender:Male
  • Location:Egypt - Cairo
  • Mobile:V630 @ W660 / Xperia mini / Xperia Ray
  • Twitter:@AhmedRahmy1

Posted 17 August 2011 - 12:47 PM

ok the ported lib appear like that 0C90: 00000000 yyyyyyyy
Does that mean that nothing is ported?

Edited by mysteryagr, 17 August 2011 - 06:41 PM.

Mysterious Love Boy


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users