[Q] How Shall I deodex Milestone 2? - Droid 2 General

Hi all,
Recently I got the official Chinese ROM for Milestone 2, which comes with stock MKV+RMVB support, correctly-ordered Chinese contacts and call recorder. However, the Chinese ROM has no moto blur support for facebook & twitter, so I'm trying to port these things to my phone running UK ROM.
The media support seems harder to me, so I start with apps. AFAIK, odex+apk system apps cannot be substituted directly, and they should be deodexed. But when using baksmali how can I get the dependency of those odex? Shall I do manual/brutal search?
Edit:
I tried dsixda's linux kitchen, which successfully handles most of the odex files by brutal search, however, it fails to locate com/android/internal/policy/impl/LockScreen, how can I dig into this?
I have little experience in rom hacking so any help would greatly appreciated

found out the answer myself - when invoke baksmaili the order of files in BOOTCLASSPATH matters.
Now I got all files in /system/framework deodexed, and I think I could do /system/app without problem now

cyaniris said:
found out the answer myself - when invoke baksmaili the order of files in BOOTCLASSPATH matters.
Now I got all files in /system/framework deodexed, and I think I could do /system/app without problem now
Click to expand...
Click to collapse
QQ:251116444
can you help me~?

Can I ask where you got the ROM without the MotoBlur etc? I got my MS2 in China and want to use Chinese with an English OS, and also want to get rid of the whole MotoBlur thing and use the real AndroidMarket. Sounds like your custom ROM can do just that.

Related

*OUT NOW* DRIOD/EVO/HERO/MOMENT Android ROM Kitchen

HERE IT IS
INFO​
Now what does this do. Well people we all hate having to re install our apps when we do new roms. We hate having to using programs like astro it back up and restore well this does it all for us.
How to use is simple place the applications you want in the APPS folder
Place the un zipped rom you want to install the system folder
Run the batch file and it will add the apps where its needed.
If it asked to hit a key click D and A when needed.
Zip up the 2 folders in YOUR-ROM and flash the rom if you get errors try re-zipping the rom again and install.
Future updates i want is this.
GUI screen
Ways to get updated roms that will download for people so they dont need to do anything but select like the online rom maker.
I will be getting this a lot better once I get more free time it only took me about an hour to get everything set up. It will be better soon.
I want to thank jombeewoof for the updated kitchen.
PHONES/ROMS​
DROID​
[ROM]SimplyStunning v4.6 notheme
[ROM]SimplyStunning v4.6 theme
HERO​
[ROM] 07/05/10 | Fresh Rom 2.3.3 | New RUU + 270 rotation + FriendStream + lots more
[ROM] 05/18/10 | Fresh Toast v2.1 | BFS + Overclock + EXT4 | Newest RUU
EVO​
[ROM] OTA 1.47.651.1 Rooted - De-odex'd
[ROM] 8/3/10 | Fresh Evo 3.1.0.1 | FroYo | OFFICIAL 3.26.651.6 OTA + fresh goodies
[ROM] DamageControl v3.5 - Froyo with all the damaged goods!
[ROM] Burnt Droid - 1.0 - by netarchy
MOMENT​
Noobnls1.8.11
[ROM]TitaniumX1.2.3 w/JIT
[ROM]TitaniumX1.2.3 no JIT
[ROM]PwnX2.0 w/JIT
[ROM]PwnX2.0 noJIT
[ROM]Infernal1.0
[ROM]Amstel_v2.0
DOWNLOAD
KITCHEN DOWNLOAD
This will always be the most up to date kitchen​
CHANGE LOG​
1.0
Bare can add apps to a rom and be able to be uninstalled.
1.0.1
Added kernel folder for custom kernels.
Batch file checks for existence of a kernel in your rom.
Option to choose the kernel that comes with your rom or one you've loaded into the folder.
Folder structure can live anywhere.
7zip added to build the zip. 7zip application included.
1.0.3
BUG FIXED **It has come to my attention that this does not work on XP due to the removal of choice.exe"
You can download the exe and place it in the folder. I'm working on another way to display the choices.
proof of concept to be able to pull kernels, roms, apps, bootloaders etc...
1.0.5
Currently mostly working, and now fully compatible with windows xp.
Also and express version that does not download anything, this is if you have already downloaded your rom and kernel.
That should work flawlessly at this point.
1.0.9
Little better to look at.
1.2.1
Choose a Boot Animation
Choose APPS
Wehn back to Moment only at this time.
HELP​
Ok android guys I am over at SDX since I'm a moment guy but I have been really wanting to have a Android Kitchen just like we have for windows BuildOS. Looking at a few roms for the hero, moment, evo, and droid to me its looking like its the same basic set up for all roms.
My friend and I have been making a CLI kitchen but we would like to have a GUI screen like BuildOS.
So Im asking for some help with coders to help make this.
How we have it set up right now is.
One folder for the ROM you want
Another folder for all the apps you want in it.
if you want a custom kernel.
then it will make all the required files and ZIP everything up.
then you can flash it in recovery.
I want people to select what device they have
what apps they want
if they like a rom all the roms to that phone. that are updated every week.
Im willing to go around looking for roms for the phones if people can help me get this program up and running.
Can some people help? I want this to be a great as Build OS for use android people.
I'd like to have the app coded in html so that as the roms update it is a super easy fix. I have a folder on my web site with a lot of APKs that I can get links to also free apps no paid. And Im willing to even download even more if needed. Please help I want this to be the greatest kitchen ever.
First of all thanks for your hard work, I'd really like to see a kitchen like the Ervius Visual Kitchen for Android.
I'm no programmer, but if you need any help testing our whatever just let me know.
Regards
http://forum.sdx-developers.com/roms/rom-kitchen/
Here is a link to what is going on with jombeewoof and I.
thats all we have at this time but its getting there
dc13 said:
http://forum.sdx-developers.com/roms/rom-kitchen/
Here is a link to what is going on with jombeewoof and I.
thats all we have at this time but its getting there
Click to expand...
Click to collapse
That looks like a good start! Very similar to the EVKitchen for WM. I did notice though that in your how to section on the first post it says to place the ROM you want to flash into the system folder, but there is no system folder that I can see in version 0.1.5
I have APPS, OLD-ROM, KERNEL, and YOUR-ROM. No system folder in the kitchen.
if you extract your rom you want there will be a meta-inf folder and a system folder take the system folder and place it in the old-rom folder. I just added a new version of the kitchen to have my friend look at and if so then you should be able to select a droid with a few roms and a evo option also with some roms. i will be updating more as i find direct links to rom not on sites like rapid share or mediafire places.
DC13
At this time im going to just focus on samsung phones since im not getting a lot of help from any one but samsung people. Once i get done with the samsung part depending on what i have option wise ill do droid or htc.
If you can code it would help me a lot as there are only 2 people and we really want this.
hope i can get this set up
I can't code to save my life, but I have a samsung phone (captivate) and volunteer for a tester if needed. Would love to have this.
Evo people are very helpful and they just put up an online based kitchen this could be helpful to that cause
ya i saw joey's kitchen go up about 2days ago. im trying to get him to help with a few things.
we did get the moment all set up now its just time to work on other phones. so for the next little bit to day i will be getting download links for a few more phones and add then to it. if you can help post up download links to roms. mediafire type sites some times have issues so if the rom uses it some times the rom wont download.
Ok so I was able to get some EVO/Droid/HERO roms/radios in this kitchen still would like to have a GUI screen but for now this will work. Uping tonight should have it out for tomorrow reason it takes so long is because im in the middle of the ocean on deployment.
just a question. can i add apps to automatically be installed into the ext partition with apps2sd
not at this time. thats going to be in the near future. we are trying to get a base of a few phones then start working on others
alright, thats still brilliant. keep up the good job guys!
Ok every one its out try it now.
dc13 said:
Ok every one its out try it now.
Click to expand...
Click to collapse
I'm getting this error:
Error:
7-Zip cannot find the code that works with archives.
dang, windows only......
Wish it worked for LG Devices
Does anyone have a how-to for using this? I'd like to play around with it and I don't know where to start...

Android Language files ?

Hi all,
I'm trying to compile Android with full Hebrew support (inc. menus)
I need the language files so I can translate them, or to get from somewhere the HEB files and push them in to the system.
Can someone help me ?
anyone ???
Send a pm to capychimp. He should have them.
Sent from my HTC Magic using XDA App
hedcayce said:
Send a pm to capychimp. He should have them.
Sent from my HTC Magic using XDA App
Click to expand...
Click to collapse
Waiting ... request from the kind
I'm not sure what did you mean by "language files". Before the expert -- capychimp, answer your question, you might want to try the followings:
1. go grab a copy of Rogers Magic stock 2.1 rom with root.
2. go grab a copy of RCMagic v2.0
3. use kitchen to create a working directory based on stock 2.1 rom
4. deodex all apk files
5. extract RCMagic v2.0
6. compare any apk file in /system/app/ or /system/framework/ (one from kitchen's working directory and another from RCMagic v2.0)
7. let's assume that A.apk from kitchen is renamed as stock-A.apk and A.apk from RCMagic is rename as RC-A.apk
8. use apktool to decode both apk files
9. after decoding, check out stock-A/res/values* and RC-A/res/values*. As far as I know, values/* are for English and, take zh_TW (Traditional Chinese) as an example, values-zh-rTW/* are for Traditional Chinese.
So, I guess you can create a values-XXXX for your language code and put whatever needed into values-XXXX/*
threeeye said:
Hi all,
I'm trying to compile Android with full Hebrew support (inc. menus)
I need the language files so I can translate them, or to get from somewhere the HEB files and push them in to the system.
Can someone help me ?
Click to expand...
Click to collapse
Requirements:
JRE 1.6 (Java Runtime Environment)
aapt command in a PATH
basic knowledge of what is SDK, aapt, PATH, smali and Google search engine may be useful
Must learn more.
Thank man
when compiling we are talking aosp, that something else, i have no clue of aosp roms, i can ml up any sense rom, but aosp, acts different, so if you mean compile from aosp source i am noob
sharpt71 said:
I'm not sure what did you mean by "language files". Before the expert -- capychimp, answer your question, you might want to try the followings:
1. go grab a copy of Rogers Magic stock 2.1 rom with root.
2. go grab a copy of RCMagic v2.0
3. use kitchen to create a working directory based on stock 2.1 rom
4. deodex all apk files
5. extract RCMagic v2.0
6. compare any apk file in /system/app/ or /system/framework/ (one from kitchen's working directory and another from RCMagic v2.0)
7. let's assume that A.apk from kitchen is renamed as stock-A.apk and A.apk from RCMagic is rename as RC-A.apk
8. use apktool to decode both apk files
9. after decoding, check out stock-A/res/values* and RC-A/res/values*. As far as I know, values/* are for English and, take zh_TW (Traditional Chinese) as an example, values-zh-rTW/* are for Traditional Chinese.
So, I guess you can create a values-XXXX for your language code and put whatever needed into values-XXXX/*
Click to expand...
Click to collapse
to make it easier, you have 84 apks you need to decode to make a full sense rom multilanguage
Google has some good resources on this topic. I can't find them right now but I am finding some interesting stuff.
http://developer.android.com/guide/topics/resources/localization.html
http://groups.google.com/group/android-developers/web/localizing-android-apps-draft
well thats the apks thats the same for all roms, but how to activate them on aosp no idea, cause in sense you do it in CID/default.xml
I have an Hebrew apk, I unpacked it using apktool.
I got the Hebrew xml file, so I think I'm set, but to translate 84 apk's to make a full Hebrew Android, WOW that's alot !!!
I've attached a flashable ZIP with apk's in Hebrew (I didn't do it).
Is this the only whey to translate Android, or is there a EZer way to do it ?
p.s. thanks for the reply and help...
i am working on a script so you can just unpack a rom, and by menu select to make it ml
well i see you have some of it, but still alot to go
and you would need the rtl support in framework.jar also
In Froyo with a little help from a guide I get RTL in Internet and SMS.
So I think I have full RTL...
Tell me which files do I need to translate and we will work together on this...
O.K, I have the .xml files that I need to translate.
I know there is a program for translating file.po (value on one side and translation on the other side)
But is there a program like that for file.xml ?
Hello ..
1st of all I've Alcatel 985D with gingerbread 2.3.6 and I've its stock rom backup with Arabic locale language support, but I'm using a custom rom that isn't support Arabic so I wanna find a way to copy system language files from stock rom and paste it into custom rom so I can get Arabic language for system ?! is there a way to do that .. any general ideas ?!
delete

[Q] Install proprietary apk on others ROMs ?

My problem : I'd like to install the Browser.apk (really, really !! smoother than Opera Mini, even with flash ON) and HTC_IME.apk (no arrows, biggers letters) from MyTouch 4G ROM to Incredible S ROM.
I searched and founded that it was related to the proprietary framework. Is there any way to modify them ?
Thanks,
Files need to be deodexed. Use search function for more information/instructions.
Thanks, it works for the HTC_IME.apk
Thanks Meter +1.
Unfortunatly, Browser.apk have FC when launching. Here's the crashlog.
The most important was the keyboard, so, thanks again.
You're moving HTC apps to a device that (according to the crash logs) doesn't run Sense UI. Without Sense and the frameworks that support it you can't run any application built for it. Your best bet would be to find someone who's hacked together a Sense ROM for your phone (but this is easier said than done).

[Q] Custom ROM from stock, just add language

Hi,
Can someone point me to procedure or guide how to take stock rom fromthe unit and just addnadditional interface language.
Thanx,
DiNo
Well, you are still looking?
Ok, I popped open a rom, and what I saw, was in the /system/usr/xt9/databases/ldb, were ldb files in multiple languages. (LanguageDataBase)
My guess, is that this is part of the multi-system language based on region.
So my guess, is that if you find a rom (any rom), that contains your regional language, you should be able to copy that Ldb file, into the custom rom zip, and let it re-compress the zip file, then try flashing it. This may give you the language support you are looking for.
It's a guess for me, but, it may work. Maybe something else is needed.
I have a feeling, finding a custom rom in Croatian, will be extremely difficult. So, sometimes, you have to do it yourself. Find your regional HC 3.2, and unzip it, and look inside.
Hi,
Thanks for reply.
I found out that motorola Xoom latest stock rom has Croatian language built in.
Would it work to copy ldb file from it or there will be issues since it is for another device ?
Thanks for tutoring but this are my first steps
Regards,
DiNo
dnovak said:
Hi,
Thanks for reply.
I found out that motorola Xoom latest stock rom has Croatian language built in.
Would it work to copy ldb file from it or there will be issues since it is for another device ?
Thanks for tutoring but this are my first steps
Regards,
DiNo
Click to expand...
Click to collapse
Usually, we don't copy files from a rom other than acer. Not without doing a recovery backup first.
It's possible you will be ok. I think at the most, it will force close, or reboot. Or, it may work. I would be interested to know.
Also, you may want to take a look around and see if there are other files that may be linked to language. I was just lucky finding what I found.
I guess it will all depend on if the zoom ldb uses the exact same format as the Acer roms. 50/50 chance.
Seems I have found additional info on changing to a different language. Hope you want to learn a little programming
http://www.freeyourandroid.com/guide/how_to_translate_any_rom_to_any_language

Apk Moding?

Apk Moding?
Hi I am little new to android although I know some stuff I still have alot to learn and anyway I have some questions.
I have sucsessfuly ported some apks over from other devices buy modifyeing the apks.
and that is what my question is in regards to.
I have some apk's that require premissions.xml files and also framework files.
and i was wondering if it is possible to make these apk's work without thoes file buy simply includding them inside the apk's them self?

Categories

Resources