[Q] Need 2.1-update1 syste, files - Droid X General

For some hackery on a DEFY I'd needed some files off a Droid X, mainly /system/lib (libcamera.so and the various OMX files for starters).
Anybody could help me out there ?

BizzaBoy said:
For some hackery on a DEFY I'd needed some files off a Droid X, mainly /system/lib (libcamera.so and the various OMX files for starters).
Anybody could help me out there ?
Click to expand...
Click to collapse
Here are the libcamera.so files to get you started. If you can let me know which files exactly you need, I can pull them out.

SysAdmin-X said:
Here are the libcamera.so files to get you started. If you can let me know which files exactly you need, I can pull them out.
Click to expand...
Click to collapse
The files I need are:
libcamera.so
libOMX_core.so
libstagefright*.so

Here are your files! =)

Related

[HELP]How can I odex file to .apk and .odex?

Anyone can help me odex this attachment 'services.jar' to 'services.jar' and 'services.odex'?
I have read many articles, but it seems really complicate for me to make it work.
thx in advance!!
merckey said:
Anyone can help me odex this attachment 'services.jar' to 'services.jar' and 'services.odex'?
I have read many articles, but it seems really complicate for me to make it work.
thx in advance!!
Click to expand...
Click to collapse
Deodex:
Code:
java -Xmx512m -jar /usr/bin/baksmali-1.2.2.jar -d ./framework -x services.odex -o services.odex-new
Extract services.jar with unzip tool.
Create a classes.dex from the services.odex-new directory:
Code:
java -Xmx512m -jar /usr/bin/smali-1.2.2.jar services.odex-new/ -o ./classes.dex
Put the classes.dex into the root dir of the extracted services.jar and zip it up. Rename it to .jar. Sign it. Good to go.
I think he wants the other direction.
Basically, you can use dexopt-wrapper to generate the odex file again. I assume that you have an odex ROM, which is a big problem, because if you change one ODEX file you need to rebuild them all (they rely on the "signatures" of others).
You should try to find a deodexed ROM and apply your change there, because working with the odex files is a lot of work.
Btw, If you really want to change the odex file, and running the dexopt-wrapper is not too complicated for you, there is a work around for the odex signatures problem - let me know if you are interested.
erasmux said:
I assume that you have an odex ROM, which is a big problem, because if you change one ODEX file you need to rebuild them all
Click to expand...
Click to collapse
That is not true, as long as you're not touching the framework.
Well, in this particular case, since this IS framework (services), he DOES need to do it.
You can try an express method:
cd /system/framework
for x in *.jar;do dexopt-wrapper "$x" /sdcard/"$x".odex;done
Mount your sdcard and copy over your odex'; remember to strip the .jar with sed from the filename.
thanks for all your help, guys!
I just noticed that there's no attachment uploaded
This is a file I extracted from an deodex Rom. I am trying to apply it in an odex rom to change the color of the front on the status-bar.Don't know if it works, but I just wanna try it.
I am really a newbie here haha, and these codes makes me Crazy~
So... wish you can odex it for me! thanks!
I really have to study some basic knowledge about java and linux.
Maybe odex/classes.dex is the problem too,which I posted
here http://forum.xda-developers.com/showthread.php?t=716506
why some apps don`t work
But for Deodex,I found this:
http://code.google.com/p/smali/wiki/DeodexInstructions
I get a error message that reads no odex file found. what's up with that

[SCRIPT] Signing made easy (Zip files, recovery)

I know theres a TON of these out there, but I couldn't find one that was easy and useful for me..
This script will simply sign your zip files (and possibly apk files) so you can use it for recovery.
Please read & edit setclass.bat & sign.bat.
Java is required.
Download:
http://hotfile.com/dl/91849944/44ac4b7/EasySign.zip.html
Click to expand...
Click to collapse

how do i deoxed single apks?

iv been looking but cant figure it out, no one gives instructions on how to use there deodex tools
Download AvaboxV2 Here
Unzip the download somewhere, open up the 'De-odexer' and view the readme.
I think you just put the apk and odex file inside the "de-odexer" folder and double-click the ''deodexall.bat" or "deall.bat", something along those lines.
Can't check right now since I'm on my phone
i down loaded an used but its not creating a Classes.dex
DubsideWICKED said:
i down loaded an used but its not creating a Classes.dex
Click to expand...
Click to collapse
AvaboxV2 won't do that, it will take both the APPNAME.apk & APPNAME.odex files and make it into a single de-odexed APPNAME.apk
If you want the classes.dex file check out smali tools I believe that should do it for you. It may decompile as out.dex, if it does just rename it back to classes.dex
Edit: instructions for it are HERE
I think apk manager will let you deodex files as well.... I think....
theimpaler747 said:
I think apk manager will let you deodex files as well.... I think....
Click to expand...
Click to collapse
if it does i have never seen it
i thought when u de-odexed a file that it created a classes dex. im still having problemswith all methods mentioned
attach the apk and the odex files in a zip so I can download them. when I have time I'll see if I can get the classes.dex file for you and let you know what I did to get it
kyouko said:
attach the apk and the odex files in a zip so I can download them. when I have time I'll see if I can get the classes.dex file for you and let you know what I did to get it
Click to expand...
Click to collapse
i think its the systemUI he is trying to deodex everything i have tried to deodex it errors out.
however i have circumvented it and i am excited
ya im tryin to do what kyle said. i just wanna edit the signal bars. is it possible to make a odex file for a apk.

[Q] Can anybody try to get Android 4,0 to work on ZTE?

Hi all!
can anybody try to get the Android 4.0 Ice Cream Sandwich to work on ZTE Blade?
http://forum.xda-developers.com/showthread.php?t=1309598
That would be great
support!!i hope this phone can be use until 2012^ ^"
cyclothunder said:
That would be great
Click to expand...
Click to collapse
tcwhk said:
support!!i hope this phone can be use until 2012^ ^"
Click to expand...
Click to collapse
=)
It need only init files and boot files which needs editing also build.prop and other files in lib and bin folder needs editing...
but I can not find the init files and boot file for 4.0 and I can not edit boot.img file or extract it... :/
but soon ZTE Blade have 4.0/or newer android ROM
Wow, didn't take this thread long to surface.
The SDK system image is for armv7, so it's not going to work at all. When we get source code for ICS there will be CM9 not long after, hopefully it wont be too hard to make that work.
wbaw said:
The SDK system image is for armv7, so it's not going to work at all. When we get source code for ICS there will be CM9 not long after, hopefully it wont be too hard to make that work.
Click to expand...
Click to collapse
okay! but always can edit the files for ARMv6
or can the boot work if editing them?
ARMv7: init files needs editing and ARMv6 text and ZTE BLADE's Kernel text..
then the boot file: I don't know what is is on Blade: u-boot.bin, zImage, uImage, or something other...
it needs editing with right text for Blade ARMv6 phone!
then it works or what?
manumanfred said:
okay! but always can edit the files for ARMv6
or can the boot work if editing them?
ARMv7: init files needs editing and ARMv6 text and ZTE BLADE's Kernel text..
then the boot file: I don't know what is is on Blade: u-boot.bin, zImage, uImage, or something other...
it needs editing with right text for Blade ARMv6 phone!
then it works or what?
Click to expand...
Click to collapse
It's pretty hard to edit the files in that way if you don't have the source code, but good luck!
wbaw said:
It's pretty hard to edit the files in that way if you don't have the source code, but good luck!
Click to expand...
Click to collapse
OK
I can't edit because I can edit only init files and other files but no boot files.. :/
I have never tried to edit boot files!
It's hard but can work if using Blade 3.0, 3.2 boot.img and editing it for 4.0.. or if using other 3.2 Honeycomb boot.img ...
I try to edit it for JetDroid when the init files is released!

[Guide]Complete Android ROM development and essential tutorials ~~ By Nero Young ~~

Hi,
If you willing to learn to build custom ROM then you should have following things
Basic Knowledge about handling Command Promt
Basic Windows software knowledge
PC with all tools properly installed
And a mobile with bootloader unlocked
This tutorial is for "Windows OS (Windows 7 x64 in my case)" And Android 2.3+ OS (2.3.4 GingerBread in my case).
But Dxda Kitchen also supports Ubuntu/Linux and also can support Ice cream sandwich
In this whole post you will learn How To -
Make custom ROM - Done
Unpack .ftf packages - Done
Use Cygwin - Done
Setup Android Kitchen - Done
Edit .apk files - Done
Edit .jar files - Done
Edit .9.png files - Done
Rooting System - Done
Writing scripts
Making flashable zips - Done
Porting apk software
A2SD Techs - Dropped ( Outdated now )
Editing build.prop - Done
Editing init.d tweaks
Information of every customizable file
Making Hosts
apn configs
editing boot.img
converting png to rle or vice versa
Writing updater-script
Making Aroma Installer
How to set default Settings after ROM installations
more and more things to arrive
Tools Required : (Update them manually and report me dead links please)
Download the tools as per your need.Link is given in the name itself below....
Flashtool - For Flashing stock ROM if anything goes wrong (Download link in the installation tab of website)
apktool Direct Download- for editing apk files and jar files (you can use APK manager but apktool is simpler)
Cywign Direct Download- Linus Terminal For Windows
ROM Kitchen (ROM Development Tool) Direct Download- For Cooking custom ROM + boot.img related tools - to edit boot.img files (Its inside the ROM Kitchen Files, Please update this Kitchen to latest version its out dated now,for this use inbuilt updater of kitchen)
Official Link to kitchen dxda Kitchen - Official Thread and Github source Please refer FAQ on official thread for Kitchen related problems
ftf-extractor Direct Download- It will extract system files from the ftf package which you will use to make your ROM
fastboot Direct Download- For flashing kernel to your device
DoomLords Easy Root Kit v4 Direct Download- To Root Stock/Custom ROM
Demo META-INF Folder Direct Download- For Making Flashable zip files
DroidExplorer - For advance tools regarding real time phone memory handling through windows.
Flashable Zip Demo Direct Download- For those who want to just apply some stuffs through CWM
Customized build.prop demo - Download Build.prop
Post #9 download link - All In One Tweaker By Nero Young
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Special Thanks to -
dsixda for his awesome kitchen Please Hit Thanks button for him
DooMLoRD for providing root files
Please kindly remind me if i have forgotten to write your name in thanks section, i have collected all things from many many sources and with modification.
Tools Overview​
Introduction​
This video gives information about the basic tools for ROM development.
Tools will be uploaded once the tutorial is completed.And the links will be posted in 1st post.This tutorial is for all kinds of devices.No matter what your device is ... you can use this tutorial...
Though ftf files are only for Xperia devcies which are used in flashtool to flash stock ROMs to Xperia devices.If you have other device the don't get confused if you will not ftf file for your device.Try other sources to get system files.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Settings Up Cygwin And Kitchen​
This video teaches you how to setup Cygwin And Kitchen.The softwares told in this video can be downloaded from first post
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Setting Up Remaining Tools (ftf extractor,flashtool,fastboot etc)​
This video teaches you how to setup all remaining files and folders...
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Getting System Folder​
Universal method for obtaining system folder (Root needed)​This tutorial guides you how to extract system folder from .ftf packages and get system folder for your custom ROM easily.
For this we have used ftf extractor.
Though you can flash your device,install stock ROM root it and then copy all system file to SD Card and get the system folder.This is universal method and can be done easily using terminal emulator.
For this simply download Terminal Emulator from Android Market.
Install it on your freshly flashed device as stated above.
Open it and type:
su
This will give root permission to your terminal emulator.
Then type:
tar -c system/* >> sdcard/system.tar
This will copy all your /system folder to your SDcard with name System.tar
This will take some time to finish so be patient.
After it's done you should have a tar file in your /sdcard named system.tar
You can extract it using Winrar or 7zip software. But yes this will have huge size , as it has other useless folders so you will have to delete them. After extracting this system.tar file you will get following folders (Similar one)
Code:
/app
/bin
/etc
/fonts
/framework
/lib
[COLOR="Red"]/lost-found[/COLOR]
/media
[COLOR="Red"]/sd[/COLOR]
/semc
/usr
/xbin
build.prop
[COLOR="Red"]And some other files and folders like ""autorooted,kernel files" etc[/COLOR]
Now simply delete the folders marked in red color and its done.Don't worry if you don't have folders with red colors above,we don't need them.
And the final files that we will have in our system folders will be
Code:
/app
/bin
/etc
/fonts
/framework
/lib
/media
/semc
/usr
/xbin
build.prop
Now thats all...
Use this pre rooted ROM as your base now and have fun in tweaking and customizing .... Hope this is simplest method that you could ever find...
Click to expand...
Click to collapse
Extracting .FTF File
Only For GB ROM AND XPERIA DEVICES !​Try this method if ftf extractor is failing for ICS. And note that ftf files are only for sony models.
You can optinally try flashtool to edit .sin files from ftf files. Just install latest flashtool and go to advance menu. then choose sin file editor, choose desired ftf file and then dump the system folder.
Another methods to get system folder.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Working With Android Kitchen​
Getting Started​This tutorial will tell you how to setup working folder in kitchen and how to root your ROM,change name,add busy box etc.
This is pre requirement on ROM development.So this video will continue after total customization is done !
After this video you can jump to next post to proceed with customization and then come back to setup to second video in this post so you can continue packing of system folder in flashable zip
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Finalizing ROM​This video shows you how to finalize making zip file of your ROM and use it for flashing.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Working With APKTOOL​
Editing .APK Files​​
This video teaches you how to setup APKTOOL folder as well as teaches you how to edit .apk files.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Editing .JAR Files​In this next video you will get information on how to edit .jar files like services.jar using APKTOOL.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Customization Tutorials​
Dealing With .9.png Files​​
This video teaches you how to edit draw9 i.e .9.png image files easily without any errors.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Performance,Battery Life Using Build.prop Tweaks!​
Editing Build.prop​​
This video will guide you for editing build.prop of your device but make sure you don't copy my build.prop.Edit yours build.prop and use syntax from my build.prop
Here is download link for you - Download Build.prop
Click to expand...
Click to collapse
Click to expand...
Click to collapse
GIMP Tutorial
Using GIMP For Editing Images​
Refer This Thread !​​
Remaining posts​
This post contains​​
Editing init.d tweaks
Making Hosts
apn configs
How to set default Settings after ROM installations
Download Link in 1st Post
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Reserved for more work 9
Looks super awesome MSN, just what I've been looking for! Gonna have a closer look when I'm out of bed
Sent from my Desire HD using XDA
Very nice!!! This is the first time I have searched for Android ROM development and look what I find, the KING, of all Android ROM development posts! Thank you SO much for the time you have put in to this...
Very nice, will take a look at it for a nice refreshment.
Looks pretty good and detailed, nice guide.
How about finding another file host. I don't like being forced to download crap that I don't need.
"The way is known to all, but not all know it."
Sent from my modded LG-P506 using XDA App
Here is how tolearn to compile rom from sources if anyone is interested http://forum.xda-developers.com/showthread.php?t=1667551
Sent from my Optimus Me using xda premium
Awesome Tut!
Waiting for more!
Just great!
Thanks a lot for awesome Tut.
In the ftf-extractor.rar i found only the aIUP.exe. what about the other file 'SKI7i.....ftf'
Also when i execute the './menu' in the cgwin/kitchen folder, i have "error: The application "clear" is not installed ...
wilowfr said:
Thanks a lot for awesome Tut.
In the ftf-extractor.rar i found only the aIUP.exe. what about the other file 'SKI7i.....ftf'
Also when i execute the './menu' in the cgwin/kitchen folder, i have "error: The application "clear" is not installed ...
Click to expand...
Click to collapse
That SK17i...ftf package is stock firmware for my Xperia Mini Pro.By opeing it i have extracted system.sin file.
You will need ftf package of stock firmware of your Galaxy3 as you mentioned in your signature.
Also re install cygwin Completely and add kitchen files in cygwin/home/<YourUserNameOf PC>/kitchen to remove that error.
Great!! Thank u!!!

Categories

Resources