January 4, 2013

Can i somehow emulate my androids screen on my pc? the screen is completely broken?

Q. My android (Rooted cm7 HTC incredible) Has a broken screen. I cannot select any options like turn on usb debugging,or mass storage. Is there a way i can emulate my phone so i can use it to retreive files from locked or hidden folders and apps?

A. of course, as long as you have android debugging bridge and its set up once your phone boots up you have total control, my original droid fell and the screen doesnt turn on
just go to your command prompt -> type in adb devices to make sure your device is there -> then type in
adb pull / /sdcard/(Folder name for total backup)
Let it run, it will copy everything and anything you want and don't want
Special files u will want to keep would mostly be the data/app (All of your regular apps you downloaded)
/data/data/com. android. providers. telephony/databases/mmssms.db (Your text messages)
If you have other areas of the phone you want to keep you can mostly google them up
Best of luck

PS. A ton of people have an issue with using adb, just make sure after installing it that you add adb to your enviroment variables, the platform tools folder (Your cmd adds the folder to its local commands basically)


How do I install an ADB driver on my computer?
Q. I want to be able to take Screen Shots on my android phone, but in order to accomplish this, I need to install an ADB driver on my computer. Can anyone give me the "how to" steps on how to do this?

A. Great step-by-step guide can be found at the link below.


How do i set up the Android SDK?
Q. Hi, I want to start developing apps on the Google Android platform but I do not know how to set the SDK up. Can anyone give me a step-by-step guide?

A. After downloading the SDK, unpack the .zip archive to a suitable location on your machine. By default, the SDK files are unpacked into a directory named android_sdk_<platform>_<release>_<build>. The directory contains a link to a local copy of the documentation and the subdirectories tools/, samples/, and others.

Make a note of the name and location of the unpacked SDK directory on your system � you will need to refer to the SDK directory later, when setting up the Android plugin or using SDK tools.

Optionally, you can add the path to the SDK tools directory to your path. As mentioned above, the tools/ directory is located in the SDK directory.

In the home directory locate the .bash_profile and locating the PATH variable add the location to your $SDK_ROOT/tools folder.

Adding tools to your path lets you run Android Debug Bridge (adb) and the other command line tools without needing to supply the full path to the tools directory. Note that, if you update your SDK, you should remember to update your PATH settings to point to the new location, if different.


Is there a way to resize android app ?
Q. Is there a way to resize android app ?
From one res to another ? Say from quarter HD to a smaller resolution ? (Not a developer , What I mean is to resize apps meant for quarter high definition to smallers)

I will choose a best answer.

A. Its just like changing resolution of a PC game. ;)

Now Tools you need.....

Latest version of JDK (Java Development Kit) (Search Google)

Apk Manager. (Search Google)

Now extract Apk Manager. Folder will be created (Apk_Manager_5.0)

Now In that folder you can see (place-apk-here-for-modding)

Put the apk you want to port in that. Now open Script.bat.

You will get messege ADB was not found ( Maybe). Press enter... x)

Type 22 and press enter for selecting your project. Now select which project you want to work by typing its number and enter.

OK now type 9 (Decompile apk) and press enter. It will take some time.

Now When work is done minize apk manager.

Example you are porting N.O.V.A (So your project is ready in folder (Apk-Manager-5.0 \ projects \ and NOVA.apk)

Go to Apk-Manager-5.0 \ projects \ and NOVA.apk \ Smali \ com \ gameloft \ android keep opening till you reach some txt files.

Now find Gamerenderer.smali or NOVArenderer.smali

Now scroll down deep and find (getWidth()I and getHeight()I)

Now First lets do work on Width (There is a line after Landroid/view/Display;->getWidth()I)

Something like const/4 v1, 0x1 , Change this to const/4 v1, 0x320 (Just change 0x1 to 0x320)

Now lets work on Height (There is a line after Landroid/view/Display;->getHeight()I)

Something like const/2 v2, 0x1 , Change this to const/2 v2, 0x1E0 (Just Change 0x1 to 0x1E0)

Save it.

Now open the Apk Manager Window you minimized. Type 11 and press enter to compile apk.

Now an apk will be created in project folder. Move it to (place-apk-here-for-signing) folder.

Type 12 and press entre to Sign Apk.

There is no need to change cache.

Voilaaaa.......

Game resolution is changed to HVGA .......... Hahahahahahahaha

(Note : It will only change resolution of ARM V6 optimized games)

There is a program called (IDA pro) which could optimize V7 games to V6 processors. (But it costs hell of money)

Also it will only change resolution of games not RAM usage.

All games which were playable on Samsung Galaxy Ace are already ported.

No further Gameloft Games are playable on Ace because of RAM usage.

I tried so many games but all uses too much RAM and two vibrates and force close.

I hope you get the IDEA of how developers port Games to HVGA.

I made these steps Damn simple that a small KID can understand.





Powered by Yahoo! Answers

No comments:

Post a Comment