yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] cyansmoker:
Well, I seem to have it working both on OS X and Linux (Ubuntu)

Questions:

1.

ifframework creates this in my home directory:

apktool/framework/1.apk

Is this its expected location?

2.

When I sign an apk, it ends up in _INPUT_APK with the name:

<my_apk_filename>_Signedapk

No dot between "Signed" and "apk"

It this what's supposed to happen?

-Chris.
[Desire Android Development] Gunthermic:
Doing nothing in value folder. Only adding png's to drawable-hpdi folder, and replacing some png's in same folder. And then adding new xml's into drawable folder.

All directly into the res folder

Standard mms.apk for froyo for thunderbolt.
[Desire Android Development] xavierjohn22:
mine is always here

C:\Users\cad3dmdd\apktool\framework\1.apk

ill look at the APK Singning, i cant remember the difference between what i am using now between what is posted, but zip works well
[Desire Android Development] xavierjohn22:
Try using the _CUSTOM_RES folder,

In the instruction in first post after recompile, copy the files that was added or changed, in the folder of _CUSTOM_RES, those xmls are binaries i presume so it should work as in the first post.
[Desire Android Development] Gunthermic:
So do a compile the copy the xml's into the custom folder and do a 7?

What if there aren't changed xml's but all new ones? (just adding)? Does this make a differance?
[Desire Android Development] xavierjohn22:
Here try this framework, i always use the stock framework from the chinese site
[Desire Android Development] xavierjohn22:
yeah after recompile, copy to custom res folder, get the one in the build since those are binaries,

Yes it makes a difference, i rember sometimes the -u switch of 7za does not work as i expected, i changed it to -a,

CUSTOM RES folder kinda force anything you want to overwrite in the apk, just watch what is being put there, that is why i advice after recompile, go to the build folder which already has the binary of some xml, and use those in the custom res, then do a build usable (7)
[Desire Android Development] 1982Strand:
Thanks!! It worked :)
[Desire Android Development] xavierjohn22:
yeah, always get the latest framework from the chinese rom, since most of us already added some stuffs in the framework file. thats why sometimes i also have problem downloading the chinese rom, so slow server, lol.
[Desire Android Development] Gunthermic:
Awesome! Worked like a Champ! Wow this tool is the best one out there..

Two Questions:

1. I have noticed that upon decompile of say resources.apk if there are what the command line version of apktool see's broken .9.png's, your tool doesn't show those inthe logs. So upon re-compile you have the (lack of better terms) the stock .9.png's. Cant that be fixed?

2. Can your tool be written say to have another menu item to apply those .9.png(broken ones) back into the zip? What i meaning is after compiling and option takes broken .9.pngs and adds them back in the compiled apk.. that would be huge!

okay third one.. just dreamign here.. An option that can backup the changes made. For example.. i change abunch of png's, and xmls, option on menu to create a back up of those changes them sleves without havign to basically copy the whole framework folder to ensure you get it all?

You tool has made it possible for me to Mod,when I couldn't get it to work just using apktool or apk Manager.. Kudos to you!
[Desire Android Development] Raffie75:
Can you tell me which programm you use to compare folders?

I still doing something wrong but i can't figure out that is yet.

Feeling that i'm comming closer to the solution every day.
[Desire Android Development] Ganii:
@xavierjohn22

Tried this steps with "framework-res.apk:

But one problem,don`t know why!

As I said,tried steps above with framework-res.apk

and edited the "arrays.xml" (config_autoBrightnessKeyboardBacklightValues)

to have hardware-keyboard lights.

After finished I included the new framework-res.apk from _OUT_APK folder

to my custom ROM.

Then I signed the custom ROM zip and flashed with wipe dalvik and cache,

but this takes no effect.Hardware-Keyboard lights not working.

After tried a Full Wipe and flashed custom ROM again,it works and I have

Hardware-Keyboard lights.

Don`t know exactly but it seems there are problems with "resources.arsc"

at framework-res.It don`t overwrite after wipe dalvki/cache and flashing ROM,

only after full wipe.

This don`t happens with other apk`s.
[Desire Android Development] fritzgerald:
That screenshot looks like "Beyond Compare"
[Desire Android Development] Raffie75:
Thnx FG, will look for it and check it... hope its free to use. :)

EDIT: Looks like it is "Beyond Compare" now i have to learn how to use it, i'm a little tired so i will look to it tomorrow or the day after...

Thnx fritzgerald for giving me the anwser.
[Desire Android Development] xavierjohn22:
Ill get back to this in detail buddy after the miui fever these couple of days.

Ill look at it and post it here on what can be done.

Welcome.
[Desire Android Development] xavierjohn22:
Wowa that one is really weird,

Thats alreadt related to full wipe and flashing. How come. Resources.arsc is alrwady inside framework apk so why could it not be carried there. Try comparing resources.arsc from original to out apk.
[Desire Android Development] xavierjohn22:
Yeah I think I already posted that somewhere here or the miui thread.

Beyond compare works best, folders, files, edits. I got a pretty old version, lol.

Then windows grep for finding "\u" text, mostly smalis
[Desire Android Development] Ganii:
Hm,maybe something wrong with attributes inside framework-res?

There are "AC" for resources.arsc.Sometimes saw other modified apk`s

and there are the attributes after building new apk are "A".

Otherwise how should I compare the resources.arsc from both apk`s?

For what I have to looking for?

Thanks for help!
[Desire Android Development] tonymontezuma:
Hi Xavier

I did a tutorial in portuguese teaching how to use your tool, I hope this tutorial helps people understand how it works.

http://www.vimeo.com/23744348

I think you dont understand what I say in video but I hope you enjoy the pictures. =)

Tks a lot
[Desire Android Development] xavierjohn22:
Wow, cool, thanks mate, nice video even if it's pt.
[Desire Android Development] Gunthermic:
Thank you for you response. Yea, that would be cool if you could do something. Even an option called Mod, where you apply all the xml's/png's to said framework/resource.. Have a folder that has all that needs to be changed for given mod. Hit 25, then hit 3 or 6 wham done...
[Desire Android Development] xavierjohn22:
yeah maybe on 26, i have 25 on here for "Single: Recompile then Build" already, lol

I want to understand better what your thoughts are, as in detailed steps so i can have a picture of it in my mind. from the beginning an apk is decompile to recompiling if you have time to post. i dont want to misunderstand for english is not my primary language, i may not get it.

Its not the same as using the custom res folder right?
[Desire Android Development] Gunthermic:
What I am thinking is a this:

Another directory: under main directory, lets say Mods

Then under Mods, you would have your Mods, like so

_sign_zip

_Mods

\ModA

\ModB

\ModC

Okay here's where you magic, you could do... Within each folder (ModA, ModB, ModC) would be what ever files to modify:

\ModA

Framework-res (for example the files for animated sync)

\res\drawable\*.xml's

\res\drawanle=hpdi\*.png's

\ModB

com.htc.resources (for example changing of buttons)

\res\drawable-hpdi\*.png's

mms

\res\drawable-hpdi\*.png's

You get the point. With in these is all png's, xmls, language paks, what ever you need to apply that mod..

Hit a Menu option (26) and it list your Folders(mods) select the correct number and you copy them into the correct folder within the _INPUT_APK, bamm instance Mod!!!!

Does this make sense? So really you are doing a copy of ModA\Framework-res\res\drawable to _INPUT_APK\Framework-Res\Res\Drawable folder etc...

So the only thing would be to read the Mods Folder for each subdirectoy, like ApkManager does.

I hope that all makes sense. It would add some serious dimesnions to this..
[Desire Android Development] 1982Strand:
Sorry for joining in your conversation with XJ, but i just find it interesting :)

If i get you right, what you mean is that ALL edits of your apk should be in those MODS folders, right? I mean, now we can edit in INPUT_APK folder, but also add pngs to overwrite originals in CUSTOM_RES, meaning we need to use 2 folders for the editing.. And i guess the trouble can be finding exactly what to edit/add directly in INPTU_APK and then what to put in CUSTOM_RES

But as far as i know, ANYTHING you put in CUSTOM_RES will add/overwrite content in the apk.. (Am i right XJ?)

Well.. Nevermind me, I'll just follow you guys and see what comes of it, but i'm sure it'll be good ;)
[Desire Android Development] xavierjohn22:
That is why i wanted it to be described exactly, he he, i thought it might be different.

Yeah exactly as Dan said, it is already there and it is enabled by default,

Overwrite res using _CUSTOM_RES

You can also use it as you describe

Though watch out for binaries, xmls, png's are okay

With MIUI my set-up is this below

And anything i put in there overwrites the images and xml binaries

(the xml i put there after it was recompiled, sample are the menu.xml in gallery and default workspace in setttings)

I do this because i wanted to overwrite those Chinese images, so if morelocale is use in my rom, they will get English images.

Basically yes, anything you put in there will be put into the apk

I believe its also the same purpose as you describe
[Desire Android Development] xavierjohn22:
By the way i am adding adb functionality, he he

Pull, Push, adb device, adb install etc...
[Desire Android Development] Gunthermic:
Sorry, is it the same? Every thing is applied outnof custom_res folder to the current apk. I under stand this..

Think of it this way. I have 10 mods, someone ask me to add 5, if they are in a list and I can select which one to add...

26

Select

1. Moda

2. Mosb

3. Modc

Selected 3 copy into the input_apk folder

Hit 26

Select modc.

So I just applied two mods..

The custom_rses would have applied all three in this case...
[Desire Android Development] xavierjohn22:
Ah now i understand, so selective build usable apk

Though it keep me thinking would it really make sense to go through the list of what you want to add to the flashable zip or what you wanna build or something?

I have like 54 APKS in _INPUT_APK as always and everything is needed in my flashable zip, I think that is why i did not see the option to do that.

All mods i made are needed.

I just have another working directory for project files which contains selective project apks, i just copy whatever mods i have from the previous working directory maybe that is why i did not see through it. And maybe because we are at miui is Modding every week so it did not make sense to keep our mods because we have to check each xmls if it is still the same one.

But yeah now i understand your post completely, i looked back and read your explanation and got it head on why you wanted to do that.

I'll take a look at it before this week ends.

EDIT:

Actually i am looking at it now, LOL

I think my issue before was when the files are in the drawable like xmls directly, apk FCs

So what my workaround is not to copy all the files anymore in the build folder

That is why i made the CustOM Res

Anyways, you can always try the APKS in _OUT_APKTOOL_DIST when i did include this feature request
[Desire Android Development] Gunthermic:
How is it different in the _custom_res? Do you not copy these over into the build? (xml's that is)

I do understand what you are saying. However as we do more mods, there are usually differnet flavors, becuas eone person wants, this part and that part. Or in this flavor of framework, is a certain kind of battery mod, plus sync animation, but in another flavor we have a totally differnet battery mod, but same sync animation. So having a selectable mods menu would make more sense.

However I understand as you have written this to work for your senerio and how you do things. So I will leave it alone.

This is still the best apk tol out there... Only thing better is putting it into a windows based program.. LOL

Thank you for taking the time to discuss the option. Maybe I wil get in there and see what I can do myself..
[Desire Android Development] xavierjohn22:
Yeah as i mentioned i already have the option in my screen right now. I think this is pretty much what you have in mind

_MODS

--MIUI MODS

--MOD B

--MOD C

as option (31)

--Then It can be chosen to be copied to the _INPUT_APK files, all the mod files will be copied to the INPUT_APK decompiled folders right?

What i describe is why i came up with two OUT Folders, i remember now why i did that.

1) _OUT_APK = Mods coming from _CUSTOM_RES because some of my APKs FC when using the dist folder apk, whatever is needed to be overriden in the original apk strucuture needs to be put in _CUSTOM_RES

The _CUSTOM_RES works like this

ORIGINAL APK as BASE > Then copy resource.arsc > then copy classes.dex > then overwrite all files inside the original apk (whatever is in _CUSTOM_RES)

2) _OUT_APKTOOL_DIST = Mods coming straight from the input folder when dev wants to do direct edit, all images replaced, xmls, etc will be carried out, I think this is where your (31) option comes in handy, I dont have FCs in APKS here when using 1.3.1 version, anyways right now i put the 1.4.1 and i havent tried it yet to build apks and flash. LOL, caught up in modding apks with MIUI CM Updater

The _OUT_APKTOOL_DIST works as apktool does because it's apktool generated apk, no need to worry about anything missed out, all edits made in the decompiled folder is inside apk (as i have said, no fc on 1.3.1 for me on miui)
[Desire Android Development] Gunthermic:
Option 31 on mine is Display How-To?

I am confused. LOL I am sure something is being lost in the tranlation..
[Desire Android Development] xavierjohn22:
LOL, sorry it's only in my Version right now because i have just added it and testing what you have described. It is not yet release, we are just talking about this for some hours right. ha ha

See my prior post sreen shot. ha ha ha
[Desire Android Development] Gunthermic:
Okay. i thought so. Sorry can't see the screens shots from work, those are blocked. can only see text. LOL

Your awesome! Cant wait to try it out...
[Desire Android Development] MvSt:
Found an error in line 476 of your script: go to restart.

I think it must be: goto restart.

Question: How about to place the exit in menu to number 99?
[Desire Android Development] xavierjohn22:
Yeah thanks mate, will do just as that, farther is better, its like on 35+ now. ha ha
[Desire Android Development] Gunthermic:
Well where is it then?? We only have 31.. LOL
[Desire Android Development] xavierjohn22:
Redownload V1.0.6, OP
[Desire Android Development] Gunthermic:
Awesome!!! Thank you. Will be tryign this out pronto.

Question what is the program that is displaying you folders list, with colored folders and such?

When typing 34 I get the following:

1) Apply Data

2) Apply Data

The folder names under _MODS are Data Blue and Data Red
[Nexus S Q&A, Help & Troubleshooting] ghost010:
hey i have Netarchy kernel on my stock 2.3.3

but now thing come to question.

is it needed to reflash my stock kernel back on?

or could i wait until Netarchy has a 2.3.4 kernel and than update to 2.3.4?

how did this go with the previews updates?
[Nexus S Q&A, Help & Troubleshooting] zephiK:
When 2.3.4 comes out, you'll have to manually flash it. It'll be fine, then when the 2.3.4 kernel is released just flash it over.
[Nexus S Q&A, Help & Troubleshooting] leerobson99:
Anyone know what is coming in this update? I read somewhere about google video chat but is there any other additions??
[Nexus S Q&A, Help & Troubleshooting] ghost010:
we will have to wait for google i/o for that i geus
[Xperia Play General] axiomjunglist:
Anybody planning on buying the off contract Rogers version of the Xperia Play (R800a) to use on AT&T? The big release day is tomorrow...
[Xperia Play General] TheChancellor:
Im wondering about this too. Ive been wanting a xperia play since before it was announced. Problem is, Im with Bell. Just want to be sure I can unlock it and use it with my current carrier instead of Rogers.
[Xperia Play General] axiomjunglist:
I emailed Mobileincanada.com if they could do it and they replied yes. I was referred to them by a fairly knowledgeable guy on Howard Forums who used them in the past. They will purportedly refund your unlock if it doesn't work...

I would go buy one and try but I don't live in Canada, heh. The nearest Rogers store is over 6 hours away from me and no guarantee they will have stock when I get there.

http://www.mobileincanada.com/How-To-Unlock-Your-Cellphone
[Xperia Play General] TheChancellor:
Looks like im gonna have to do a little recon mission. I think they have a Xperia play on display in my mall. Ill have to see if I can get the IMEI and check that website to be sure.
[Xperia Play General] theclueless:
anyone know any shops that sells this phone and ships to US? as far as i know, future shop nor best buy ca does not ship to US.
[Xperia Play General] TheChancellor:
Also noticed this...

http://www.youtube.com/watch?v=sLkEZJm0aBQ&feature=channel_video_title

A tutorial on how to unlock your Xperia Play phone. Rogers Xperia Play is amongst the list of phones in the descriptions. So I'm guessing that it can be unlocked, unless cellunlocker.net is a scam {highly doubt it based on brief research}
[Xperia Play General] emann56:
Guys I have a question :

I won a free xperia play from sony ericsson canada and I can't connect it to fastboot. I tried holding search then plug in usb but no blue light. I tried back and i get green light but the drivers dont work. :( I just wanna see if I unlock the bootloader
[Xperia Play General] axiomjunglist:
What model number is your Xperia Play? R800a? I believe all Rogers models (R800a) are SIM/Network locked, which can't use the official bootloader according to Sony's docs.

http://unlockbootloader.sonyericsson.com/which-phones

People have explained a way to get root even with a locked bootloader in the forums though.

I too am looking for an outlet to buy a Canadian Play from. I assume at this point all 'official' distributors of the phone can't export it outside the country since it is SIM locked to Rogers.

TheChancellor... please post your results!
[Xperia Play General] emann56:
WOW! Even tho I won it from sony ericsson it's still rogers branded! Good thing im with rogers :P
[Xperia Play General] tanquef:
Just bought it from ebay, the white version as i wanted, and i save the trip (FL to Canada would take a bit longer than 6 hours lol)

http://cgi.ebay.com/ws/eBayISAPI.dl...2y%2FWfoTofmlrs05zRVcl1vxBU%3D#ht_5245wt_1129
[Xperia Play General] axiomjunglist:
Lol, damnit... I was totally looking at that last night too. You snooze, you lose.

Please post your results of bootloader unlocking/root access when you get it will you?
[Xperia Play General] tanquef:
Sure, i will do, but it will be after May 13th, because i'm out of town till that day
[Xperia Play General] Stief21774:
Planning on getting this phone.

A co-worker is in Canada this week and is flying back to the US in a few hours. I asked him to pick up an Xperia Play for me. He went to Best Buy, and they wouldn't sell him one without a contract. He is gonna go to a Rogers store on the way to the airport and try to get one.

The first thing I will need to do if/when I get it is to Sim Unlock it. I have been looking for a site to do it that is less shady and not that expensive.

I will probably go with the site mentioned above unless someone suggests something better in the next few hours.

Afterwards I will reply here with the results.

If any one else has any success or failure getting their Xperia Play Sim Unlocked let us know.
[Xperia Play General] senh7:
I used this site a few time: mobileincanada. Very fast (less than 1 hour normally). Got my Rogers Xperia play unlocked today and now I use it with Telus, so should work with any network (assuming it's the right frequency)
[Xperia Play General] axiomjunglist:
Been refreshing eBay all day but nothing coming up. Sad. I really want one. Judging by the number of hits this post is getting so does everyone else, lol.

That sucks reports are coming in that Best Buy won't sell without a contract. I called them just last week to confirm they could sell one contract free and they said they could. Must be totally hit and miss right now. No way in hell I'm driving 6 hours across the border just to get the run around...
[Xperia Play General] emann56:
Go to sony style canada, they will sell you one contract free but!!! still locked(shouldnt be a problem tho). Also heard that walmart is gonna sell them.
[Xperia Play General] tanquef:
here you have another one on ebay

http://cgi.ebay.com/SONY-ERICSSON-X...ell_Phones&hash=item19c515efeb#ht_2161wt_1129
[Xperia Play General] persain:
BestBuy.ca has the non-contract xperia play online. just do a buy online and pick-up in store, they cant make u sign up if u already have bought it at 550.

doesnt help me though i dont want to drive 11 hours to get the phone, im still trying to find it online non ebay.

the sonly style ca sight doesnt sell cell phones from what i can tell.
[Xperia Play General] axiomjunglist:
Lol, no way I'm paying close to a grand with shipping for that. Seller has lost his marbles. But hey someone is probably more desperate than I am.

I do have a lead I'm following... We'll see how it goes.

I'll have to also check and see if SonyStyle Canada will ship to the US. Betting probably not though.
[Xperia Play General] theclueless:
as far as i know, sonystyle doesnt sell phone over their site, and they only ship to their respective region
[Xperia Play General] axiomjunglist:
I'm in the same boat. 6 hours each way is almost $175 in gas for me. I'd rather pay less to ship. If I procrastinate long enough, maybe the Verizon model will come out first :P
[Xperia Play General] axiomjunglist:
Figures... Oh well, back to scanning eBay, heh.
[Xperia Play General] AverageCanadian:
A lot R800i's but not many A's. Might have to get some and throw them up on ebay myself:), but I'm not that cruel. Might actually use my HUP for one though and actually sell it.
[Xperia Play General] axiomjunglist:
Yeah the one reasonable auction lasted a whole 6 hours with only 3 in stock. The only guy left is obviously looking to rob someone blind.

/twiddle
[Xperia Play General] persain:
for anyone still interested it looks like gsmnation is carrying both the r800i and the r800a now though i cant tell if the 800a is unlocked. I'll call friday after work
[Xperia Play General] axiomjunglist:
Not bad, wish I would have seen that before I went through some hassle to get mine. Granted I saved $50 in the end though... and got the white model instead of black.
[Xperia Play General] axiomjunglist:
If anyone is in the SF area, there's a guy selling his brand new for $600. Not sure if it's unlocked, but I bought one from another bay area seller (now in transit) and he told me he won it at a Qualcomm Industry Event. This guy says his was also a gift so probably from the same event.

http://sfbay.craigslist.org/eby/mob/2362565256.html
[Xperia Play General] axiomjunglist:
Somebody should definitely snap this deal up. I just got mine and it came fully unlocked and unbranded. Just popped in my AT&T Sim and was surfing 3G in seconds. Rooted it a few mins later via gingerbreak with no problems.

This phone rocks!!
[Xperia Play General] MechaBouncer:
Too bad I'm just about on the other side of the country. I'm hesitant to buy something that expensive from someone on Craigslist over that kind of distance. Plus, even $600 is a lot more than I'm used to spending, but this wait is killing me. I may break down and buy one soon after all. :(

EDIT:

I forgot to ask, did you happen to find out if they were unlocked at gsmnation?