yashsingh1/xdaforums huggingface dataset:
[XDA-University] Aman_Arora:
[IMG="Icon"]http://upload.wikimedia.org/wikipedia/commons/a/a0/APK_format_icon.png[/IMG]​

Let's start by know what's an APK

Android application package (APK) is the package file format used to distribute and install application software and middleware onto Google's Android operating system, and certain other operating systems, such as Blackberry 10 Devices with the OS version 10.2.1 or higher.

Read more here:http://en.wikipedia.org/wiki/Android_application_package

XDA PORTAL POST:http://www.xda-developers.com/apk-files-modifications/

What's inside an APK

AndroidManifest.xml It contains the valuable information for an application to function well.The permission it takes from the android system,the libraries it requires for proper functioning ,the minimum sdk version/api level/or in general the android version required and much more.

res(Resources) folder The most important folder inside an apk .It contains the all the things that an apk has.It got the xml codes which tell about diffrent sizes of things in apk the different colors ,labels ,icons ect.

lib folder this may or mayn't be present .It contains the few library files required especially for the application to work properly

assets folder

an odex apk also contains class.dex the java part of the apk.

smali folder the java part of the apk in deodexed apk

How to Re-Engineer or Decompile &Recompile an APK

There are many tools that you will find floating over the internet for this very purpose but actually the main tool over which these tools have been built is the APKTOOL .

check out:code.google.com/p/android-apktool/

Install your apktool.

I'll recommend you to install the Android SDK or use my reduced sdk in the attachments below (if you use windows)

Once you have installed the apktool.(I'm considering you have completly installed and configured java well)It's time to get started! :D

So we are going to pull the framework files from the system.

type in command prompt (cd it to the folder containing adb i.e. android-sdk/platform-tools or my the reduced sdk )

pull all the framework files from system/framework (only the apks) and systemui from the app folder .

Now let's install the framework

Open command prompt cd to the folder containing the pulled framework and type:-

Similarly install all resources.

Now let's decompile the an APK.

if you have an APK thats nice but if you don't let's pull some form the system

Lets say we are decompiling an APK names xxx.apk

Open cmd ,cd to the folder containg the apk and type

let's recompile the apk back

cd the cmd to the folder containing the decompile apk i.e. if /a/b/c contains folder xxx i.e. the decompiled apk then cd to a/b/c.

type

For more information on signing zipaling and other tools that were developed over apktool and offering more features checkout: http://xdaforums.com/showthread.php?t=2295002

Thanks to [MENTION=2735402]XperienceD[/MENTION] for this awesome write up. :)
[XDA-University] Aman_Arora:
Understanding the Decompiled apk

Let's get started :D

Apktool.yml :It contains some of the basic information regarding the apk it version the its file name(It's not the name that you see but you can say it be a like a code name of the apk that actually plays role in linking of the application).

It contains the min. sdk version and the sdk version which for which this application was actually made.It also the compression level to which this application was compiled and at times you also find some extra information related to the vendor.

Editting this you can change the version name the min sdk version so that the app. can run on lower versions of android aswell but it's always not possible to lower all application to a lower level or a very lower sdk level.

Android Manifest : Lets do this in bit detail.

1.

the UserLable is the App-Drawer Name of the application.It's the name or say the data in res/values/strings.xml and string app_label.

the package/codename for this application is "com.android.calendar"

2.the

Permissions

part

These permissions can be easily found in /system/etc/permissions the *.xmls most of the these are already integrated in the android system .. but the some especially the vendor related ..these permissions can be granted through applications .

If you see this " <category android:name="android.intent.category.LAUNCHER"/>" line in the manifest then you'll find the application in your lancher's apdrawer unless you have hid it :p

3.

Libraries

these permissions can be in the apk itself or in the /system/lib

Assets : The name says it's all the assets require for an application to do it all . :)

The res folderIt got most of the important part of the APK .The icon images you see in the apk are stored in the drawable-ydpi where y can be m,h,x,xx,xxx dpi.

now the /res/value folder contains the stylees :the design the theme of the APK ,bools are the boolean part of the APK enable/disable can be easily controlled by editing the bools.xml the dimensions part of the apk are in /res/values/dimens.xml

As I stated above the Appdrawer name of the application,

/res/values/strings.xml

search app_label and you find a line like this

Now replace the name as in here"calendar" with say your name

to make it

compile the application back install it and you'll see the apppdrawer name is now My name from Calendar

Smali folder It contains the java based codes for the apk file.
[XDA-University] Aman_Arora:
Understanding the framework-res

framework-res.apk is the most important apk of the android system.Without this android system wouldn't boot properly it will bootloop and if it is poorly edited it will still be the same i.e. bootloop.

To begin with the assets folder

1.It has a images and sound folder which contain the sound and the images which act as the bootup sound and bootanimation if the bootanimation.zip is missing from the system folder

2.It contains a webkit folder:if you open it you'll understand what are those yourself

The res folder :

Lets thing what all we can do with the android system by editing framework res..

The capabilities of the the bool.xml

->enable/disable WImax

->enable/disable nav bar

->enable/disable turning on of screen after plugging in or removing the charger.

each(most) line in bools.xml can help in enabling disabling some or the other feature

dimens.xml

These mods related to Bools.xml was part of a question at an event which was conducted by me and [MENTION=4697214]Dev Jaskirat[/MENTION] .And this was his question so thanks bro :good:

Dimens stands for dimensions so it makes it clears THAT it is used to change the dimestions of diffrent things eg. say nav bar the face unlock

now lets go to strings.xml

Have you ever wiped up dalik and seen Android is upgrading..??

If yes lets make it something new and classy :cool:

%1$d of %2$d is the app count .

Edit everything else as you wish :)
[XDA-University] mrkhokho:
nice!

NIce thread finally knew what i was doing wrong while decompiling apps. I wasn't pulling all frameworks but only framework-res and systemui. After reading this found that in system/framework was mediatek-res after installing this too my systemui decompiled succesfully :) :) and finally ported lolipop checkboxes
[XDA-University] Aman_Arora:
Keep Going!
[XDA-University] methuselah:
this post rocks

well a very great description for a newbie and very clearly mentioned.:)
[XDA-University] Aman_Arora:
The thread has been updated with few more information
[XDA-University] c0d3r!pp3r:
Nice compilation of commands.... highly appreciated...

can you add more variation? by providing with more details... it would be great
[XDA-University] Aman_Arora:
I know it is too late to comment here , but after attending a workshop and talking to some friends I feel that it's good that the guide is kinda incomplete .Android has no boundries and thus even one of the smallest part of our systen the APK can't be just explained with a guide .APK and its structure is a very vast topic and you must try things yourself .I am always here to help you out if and when needed .

If you think you should not post a question here then you can PM me :)
[XDA-University] c0d3r!pp3r:
i have been moved to more deep in to the ROM building.. but i would love to share my experiences as well.... :good:
[XDA-University] IPM devlopers(ethiopia):
hi Guys sent me

Apk tools new version
[HTC Breeze] etienne:
Ok...

where ? where ? where ? ;)

Etienne
[HTC Breeze] Royan:
YES!

Maybe this will finally fix the disconnect issues I've been having. :)

Please, please, please upload it :)

Royan
[HTC Breeze] jsp_m:
I will upload it within 12 hours, will send link (45 MEGS)
[HTC Breeze] smfa1965:
Yes! Please do. Can't wait to test.
[HTC Breeze] SecureGSM:
hmmm...

in Changes:

".. 17 Update Magneto O.S to AKU3.3 build 15671..."

in ROM info (?):

OS: AKU2.3 (14955)

Is that right?
[HTC Breeze] etienne:
Thaaaaanks

i'm installing it

3 % completed ;)

Etienne
[HTC Breeze] athenix:
Where's the link?

Where is the link please? I went home early from work today hoping to test this new ROM. :)
[HTC Breeze] jsp_m:
OK, it's up at

/Smartphone/Breeze MTeoR/

enjoy!!!!
[HTC Breeze] cioppi:
where ? where ?
[HTC Breeze] SecureGSM:
Radio 1.29 (!!)

AKU3.3

meaning:

1. great battery life in 2G and improved in 3G.

2. better call stability and reception quality in 3G

3. improved BT stack
[HTC Breeze] cioppi:
I was hoping to download the new ROM but the files are gone.

Any chance to upload them back?

Thank you
[HTC Breeze] jsp_m:
no, files are there, I just checked

Uploads folder,

/Smartphone/Breeze MTeoR

have fun!
[HTC Breeze] cioppi:
Perché non metti il link completo?

Non riesco a trovarlo.

Grazie
[HTC Breeze] jsp_m:
damn guys!

here's a direct link, woeking, tested:

ftp://xda:xda@ftp.xda-developers.co...eoR/RUU_BREE100_1.32.251.1_1.29.00.10_HTC.exe
[HTC Breeze] cioppi:
Finalmente ci sono riuscito.

Grazie e scusami per il fastidio.
[HTC Breeze] smfa1965:
New ROM is working fine. Just loaded it this morning. Hopfully the battery will last a bit longer now. I still went ahead and tweaked the display timeout as I've done in the past. This seems to help. I notice that it displays "Test ROM" during boot. Not that it's a biggie but thought I mention it. The EDGE icon still doesn't display as "E". Bummer. I really had hoped this was fixed but sadly no. Overall the ROM seems stable. It did go through the Cold Boot twice. For some reason after it booted the first time it must have had a problem cause on the second boot it did it again. No problems since and all of my apps are running as they should.
[HTC Breeze] ceevee369:
Under which bootloader is it running and if I have still the 1.04, can I upgrade directly?

Newbee you know, sorry:D
[HTC Breeze] Royan:
Well, the ROM works fine, but it didn't solve my problem of disconnecting from the GSM network.

I still get the "No Service" and "Searching..." messages, and I am still occasionally being disconnected while in call. :(

Oh well... I guess I'll just have to start the repair cycle, as it has to be a hardware fault in the phone. I don't care that HTC customer support insists that it must be a corrupt ROM, it's the fourth ROM version dammit...
[HTC Breeze] pkg40:
Can someone who has loaded the ROM post the bootloader version?
[HTC Breeze] TRJS:
Can someone who already installed the new rom tell me if the radio has the 1.0108-radio bootloader integrated (like Trinity's 1.29-radio)?* If so then it would probably mean no more flashing of radio roms in NBF-format...

(*: when in bootloader mode type "rtask a", then "rversion" - 0107=good, 0108=bad :p - "retuoR" if you want to return to normal bootloader mode)
[HTC Breeze] BarateaU:
So far so good.

Beta or something? "IU Test Only"?

Now testing the Push-mail, there is no "U" symbol like before, now it says "3g" :P

Going to switch of the 3G i think so the battery will last atleast one day.

Sync worked, calender and mail are synct.

Will not try my new bt headset.

:)
[HTC Breeze] staffann:
I'm on my second MTeoR, and both of them did that. You say it still isn't fixed? Aaarrrgh!:mad:

Both of them also lost the rubber thingy on the joystick. I sent the first one in for repair on that one, and got it back completely crushed because they had sent it in really bad packaging (basically an envelope with minimal padding)...

I normally live in Helsingborg, Sweden and have the "No service" problem occasionally. When I go across the sound to Denmark, I get it frequently. When I was in the north of Sweden, I didn't get it at all in the 3 weeks I was up there. So I suspect that the problems may be network dependent, and maybe my problems at home are due to the fact that danish signals are quite strong here.

The Brightpoint customer service has been helpful, but haven't been able to sort out the problem. The HTC Europe support dont even answer! Really annoying!:mad: :mad:
[HTC Breeze] BarateaU:
After the new firmware i still got my prob with the phone.

It cuts the calls or the no one can call me, comes to my answering matchine.

This morning i got a call and after a few sec it hangs up.

I can still hear the person on the other side for a sec or two, but he cant her me and then it hangs up.

And the push-function dosent work du to it cant use the gprs, but it say that its online.

So cant surf then ether, shut the phone off and on and it works again.

Its abit frustrating, my other mteor works fine, this one is a co-worker's that he wanted me to try to se if i got the same problem as him.

So i guess its some thing wrong with it.

Any one got a clue what it can be?

I also hav "shot of" the 3G and only use 2G net.

Will not try to have it one Auto and se if it have the same crap prob.

:(
[HTC Breeze] jsp_m:
hardware prob, goto sevice
[HTC Breeze] BarateaU:
Probably downgrade it firts to the old firmware so they dont get crasy when they se this firmware.
[HTC Breeze] GCLinde:
Reception ??

Can anyone confirm better reception with this version than with previous rom's. ?

I now use the 1.30 version but I always have 1 bar less signal than with my SPV C600.
[HTC Breeze] Royan:
I normally live in Bergen, Norway, and have the problem quite often.

I'm in Stockholm now, and don't seem to have the problem as often...

Back home I use NetCom, and here I'm roaming on the Telia network.

I think it's maybe because I "reset" the rado by switching to flight mode and back a cuple of times a day. I'm really quite dependent on the phone these days and can't afford a missed call.

Time to get a SE phone, and ship this p.o.s. off to the shop.

Royan
[HTC Breeze] staffann:
Royan: have you been in contact with HTC support? What did they tell you? For me 1st thing they told me to was to download the ROM from www.hughsymonstelecom.co.uk (no change). Then to try a sim-card from a different network (it's on its way, I'll try but dont have much hope). I'm going to push them as much as I can on this one. When you contact them over the phone, at least they apprear helpfull and polite.

If you have a call id with HTC, would you mind sending a PM with it? The more people I can show have the same problem, the higher the chance of them actually trying to fix it.

I also have wished from time to time that I had bought a phone from a company that knows how to make a phone work as a phone...
[HTC Breeze] Royan:
I've tried the ROM at www.hughsymonstelecom.co.uk (ver 1.16...), and it's the only time I've had the phone drop the connection while in a gprs data call...

I called HTC support on the phone once, they just gave me the number for a "local" repair shop, very helpful...

I've had a couple of mail conversations with what feels like about 15 people.

They've basically told me that I have a corrupt ROM on the phone. They don't seem to catch that I by now am on my fourth ROM. I mean... come on... all the ROMs can't be corrupt...

I have tried to tell them that it's more than just my phone that have this problem. I've even pinpointed forum posts for them, but it just blows right past them...

I haven't tried a different network SIM, as it's a company subscription that I can't change. However, I've had the same problem while roaming on several networks in Spain, Holland and Sweden.

Nah... I'm getting sick of HTC phones. This is my second, and I just got it as a replacement for my first HTC phone... I'm going back to a more reliable vendor...

Royan
[HTC Breeze] jsp_m:
bad luck guess.. so long!
[HTC Breeze] Royan:
So long, and thanks for all the fish... :)

- Douglas Adams
[HTC Breeze] TRJS:
Just wanted to add these informations:

This rom does indeed include radio bootloader 1.0108. And of course because it has SPL 1.07 the rtask-command is not available any more.

With flashing back to my original Orange rom - which didn't overwrite the new radio rom 1.29.00.10 - I got back SPL 2.05 (including the rtask-command), so I was able to test the GPS-commands. But contrary to the list of news from page 1 the GPS-commands are not included in this radio rom (as could have been guessed because of the version number ending with .10).

So anyway, I'm stuck with the 0108-radio bootloader now :/ so I can't get the GPS-enabled radio rom back (well, as long as des didn't finish the Breeze-version of his SSPL, which hopefully won't take long any more...).
[HTC Breeze] atom_guy:
Wireless Modem/Internet Sharing

To me, the best feature of the new ROM is the replacement of the "Wireless Modem" application with a much cleaner, simpler application called Internet Sharing.

This feature is very similar to the "Internet Connection Sharing" feature on any Windows PC, which means that you simply need to put the phone in that mode and your PC will route IP packets out through it directly. No more messing around with setting up GPRS modems (or hunting for the missing CD) on your PC - it all just works.
[HTC Breeze] jonkeren1:
Cannot synchronize with this ROM and Vista?

Hello!

I have installed this ROM (which works very good, the only strange thing is the 'test rom' message during boot).

I have Vista Ultimate and Office 2007.

I also have installed the new sync software from microsoft, for Vista.

It connects when I plug in, I can browse the files on my smartphone, but I get an error message when I press the Sync button. It says "synchronisation error" and "synchronisation failed".

Anyone else had this problem, and/or does anyone know the solution?
[HTC Breeze] exlixx:
Application Unlock

Need advice please !!!!

I have this rom installed on my Dopod 595:

RUU_BREE100_1.32.251.1_1.29.00.10_HTC_MteoR.exe

I failed to application unlock the device. I have used the following methods:

(1) manually tweak the registries

(2) using Tweaks2k2

(3) using SmartTweak

(4) using a desktop software (SDA_Application Unlock)

Has anyone managed to application unlock this ROM?

Many many thanks.
[HTC Breeze] xyzzyx:
I have not tested too much, but so far, it seems like my mteor runs cooler and use less battery than before.

Part of the reason might be that it seems like it might have started to disconnect itself automatically from the 3G network after some idle time, which it did not do before (I need more testing to confirm this for sure however).

I agree with another person posting here. The internet sharing thingy is really cool.

The negative side... I have had two hangs with this FW. One while making a call, one when answering a call.

In both cases I have had to take out the battery to get going again (the phone would not turn itself off using the power button). I have never had a hang with the previous FW, so I am reasonably sure there is some potential problems with this FW.

It also seems to update the "last sync time" for PC when it synchronizes with exchange over 3G, which it did not do before
[HTC Breeze] mumie:
where to download

Hi, this news is very interesting for me. But I must be blind, because I dont find download section for this new FW. Please give me a tip.

Thx:confused:
[HTC Breeze] atom_guy:
Struggled initially, but the first two posts in the following thread worked perfectly for me: http://www.modaco.com/index.php?showtopic=244205&st=0
[HTC Breeze] smhdlb:
AKU3.3 Location

As described in former posts, location of the AKU ROM should be in /Uploads/Smartphone/Breeze MTeoR

In my case, this directory is empty.

Has the file been moved to another location ?

Or is there another reason i cannot see the file?

Kind regards,

Stanley
[HTC Breeze] smhdlb:
Just read the announcement on the portal. Shame shame ....:(
[HTC Breeze] luca@sergi.com:
ROM V1.32.251.1 RUU: v3.13.0.0

Anyone know where we can find this rom now that the nice DBASE in this forum is not available anymore?

Regards
[HTC Breeze] guano:
Yes, I need this too.. Have been desperately looking for it all day!
[HTC Breeze] jonkeren1:
You can download from the bittorrent network

Hello guys,

you can download this ROM here:

http://thepiratebay.org/tor/3624831
[HTC Breeze] guano:
Thanx alot! I'll help you seed it!
[HTC Breeze] jonkeren1:
Alternative download locations

Or here:

http://snarf-it.org/viewTorrent/811590-HTC+Mteor+ROM+newest.html

http://fenopy.com/torrent/HTC_Mteor_ROM_newest/NTAxMDQw/index.html
[HTC Breeze] SteExp:
Someone of you have a complete link about that file? (italian or european software)

I never use torrent system...

Thanks a lot
[HTC Breeze] laurentg:
Still INVALID VENDOR ID ...

Hi All,

I've tried every possible way and search the forum quite thoroughly but my MetOr doesn't want to let me install this latest update...

Always this INVALID VENDOR ID thingy...

I've tried to run the installer 2-3 times in boot mode but nothing.

Any idea?

Thank you
[HTC Breeze] Sky_Lab:
HELP!!!

Please add a new link!!! There are only a torrent links---

Add a new link and i can upload the the new rom in my account in RAPISHARE or 4SHARED!!! :D

Byee

sky_Lab
[HTC Breeze] twbfox:
IF you know chinese you can download in this site.

http://www.ioicn.com.cn/bbs/index.php

http://www.ioicn.com.cn/bbs/thread-194774-1-1.html
[HTC Breeze] SteExp:
the link doesn't work...
[HTC Breeze] Sky_Lab:
Ok MY DEAR....

The right LINK:

1 ) http://rapidshare.com/files/18279099/RUU_BREE100_1.32.251.1_1.29.00.10_HTC.exe

2 ) http://www.4shared.com/file/11270145/d10baff8/RUU_BREE100_1322511_1290010_HTC.html

Byeee

Sky_Lab
[HTC Breeze] kongocui:
where????:)
[HTC Breeze] weasley:
Can anyone share me Dopod 595 CHT version, i prefer HK rom but TW rom will do as well

Thanks
[HTC Breeze] axelix:
where i can download ROM upgrade for SPV C700 (to unlock phone)
[HTC Breeze] futureshock:
do some reading in wiki first... when you then have questions then ask...
[General Topics] Swilly:
Hi all,

I am looking to change my phone in the not to distant future, so thought I'd start on my research and see what others think of the options available.

Basically, I am UK based, and a pre-requisite for me is having an SD Card slot. I am starting to do a lot more work on it that is browser based, so I'm looking at a bigger screen, but dont want to go up to Note 4 sizes ....

From what I can see at the moment, the current options are:

HTC One M8

Samsung Galaxy S5

Sony Xperia Z3

LG G3

What are the pros and cons of these, are there others that I should be considering ... what is rumoured to be coming to the UK in the near future in this area .... ??

Thanks for any assistance

Swilly
[General Topics] pokrajac:
Of the models you listed here, i'd def go for either the G3 or the Z3... Both are very good devices. If you're not uncomfortable with the two buttons on the back then go for the G3. Otherwise my choice would be the xperia Z3. Both of these phones should come to UK soon if they haven't already.
[Android Apps and Games] Shubham87:
[Disclaimer]

I'm not the developer of this app.​

I found this app in a thread and was instantly amazed. So I thought of sharing it.

This app is for CyanogenMod ROM, Paranoid Android ROM or OmniROM only.

CyanDelta lets you update your CyanogenMod ROM, Paranoid Android ROM or OmniROM by downloading just a small delta file (about 10 MB) instead of a big full zip file each time.

CyanDelta Supports TWRP and CWM-based recovery only​

Download from here. Its a free app.

Download and enjoy. ;)