[TIP] Run Higher Api required apks on your devixes - Android Software/Hacking General [Developers Only]

If your phone has Gingerbread you can't run apk requires more than ICS but there is a way
1. You should have Apktool or Apk manager you can get there from
Apktool: http://code.google.com/p/android-apktool/downloads/list
Apkmulti tool: http://forum.xda-developers.com/showthread.php?t=1310151
Thanks: Brut.alll(apktool). raziel23x(Apkmulti tool).
*I won't introduce how to install these tools just visit their site!!
2.Decompile apk
3.Go to file where apk is unzipped and find "AndroidManifest.xml"
4.Open "AndroidManifest.xml" with text editor and find line
uses-sdk minSdkVersion="number"
5.Change number to
Under your Api or just your Api
*Api Level*
2.0. level: 5
2.0.1 level: 6
2.1 level: 7
2.2~ 2.2.2 level: 8
2.3~2.3.1 level: 9
2.3.2~2.3.7 level: 10
3.0 level: 11
3.1 level: 12
3.2 level: 13
4.0~4.0.2 level: 14
4.0.3~4.0.4 level: 15
4.1. level:16
6. Save it and compile and sign apk
7. Install it and Enjoy!!
*I've tried various types of apks and almost every apks (execept games) worked and about 70%of games worked this way*
*Thus method is just forcing Api Level down so if there is a problem with Api apk may force close*
Thanks for reading

Related

[Q] Unable to launch my application in the AVD Emulator

Hi
I have created a sample Android application in Eclipse Indigo for Ubunto.
I have created an AVD with name : Sample, Target Name : Android 2.1,
Platform: 2.1, API Level : 7, CPU/ABI : ARM(armeabi).
When i run the project as android application, i am able to see the emulator with other icons on it except for my application.
Please help me to launch my application on the AVD.
Regards
Priya.

[Q] Simpe app from 4.0.1 mono for android isnt working on lg gt540 2.3.7

here's the problem :
installed
xp sp3
vs 2010 ultimate
monoandroid 4.0.1
installer_r18-windows
- android 4.0.3 (API 15)
- android 4.0 (API 14)
- android 2.2 (API 8)
LGDrivers (I think, that is not necessary)
after i create the default app (with Button and click) in VS 2010
1. run with no debugger
( I try with both API 14 and API 8 too )
And I get :
name.name.apk
name.name-Signed.apk
2. adb install -r name.name-Signed.apk
i receive a text saying "success" and it works on my emulator
BUT
when I run this on my LG GT540 currently running 2.3.7 version I get a message saying:
application has unexpectedly stopped ..
I also tried copying the apk to the phones sdcard and it still didnt work and i also rebooted the phone after instaling the app.
what am i doing wrong ?
why do i get a double name for my app ?
I wont give up from mono for android. Its wonderful and new for me like C# programmer.
I only wont to see default mono app running on my mobile device.

All Credits Goes TO Perceval from Hyrule

Al Credits Goes TO Perceval from Hyrule
Quote:
Originally Posted by Perceval from Hyrule
** Currently writing this, please wait !
Hello there,
here is a new tutorial I'm sure you'll like. As usual it took me LOTS of work to get all info and make this to work, so now I share it with you and show how to run custom ROMs within Android SDK Emulator.
Please note it's mainly for XPERIA X10, but process is the same for other Android-powered devices. It will show you the process for Linux.
1. Download the latest Android SDK.
2. Open the archive, and copy the folder android-sdk-linux-x86 to a safe place. You can also rename it to an easier name. Example : I placed it in ~/Home and renamed it androidsdk.
3. Go to the SDK folder, then in the folder Tools/. Double-click on Android and choose Run.
4. Go to Available packages, and choose to install (choose at your will !)
Android SDK Tools, revision 8
Android SDK Platform-tools, revision 1
SDK Platform Android {VERSION(S) YOU WANT} (!) You need at least one Platform. For X10, you can download 1.6, 2.1. You can also add 2.2, 2.3.
Once it's done, close the window.
5. Download Xperia X10 add-on for SDK. (?) Read the PDF add-on guide, it is helpful !
Copy the folder (from the archive) XPERIA-X10_r1 inside the folder add-ons of your Android SDK folder ({androidsdk}/add-ons/).
6. Run terminal, go to your Android SDK folder, then in tools folder, and run
Code:
./android list target
.
Note the id number of the Android you want to develop (ie for me, Android 2.3 is
Code:
id: 3 or "android-9"
). (?) You might also want to note the name ("android-X") as it might be useful later.
7. Now, create AVD (a profile for emulator). Usual command (assuming you are INSIDE the /tools/ folder !) is
Code:
android create avd -n NAMEYOUWANT -t {ID}
So, for us, it will be
Code:
./android create avd -n myx10 -t 3
8. To generate the AVD, you will be prompted several info. Type these for Xperia X10 :
Create custom hardware profile : yes
SD Card support : yes
Asbstracted LCD density : 160 (correct if I'm wrong ?)
DPad support : no (?)
Accelerometer : yes
Max camera pixels (H) : 3264
Cache partition size : 66 (?)
Audio playback : yes
Trackball : no (?)
Max cam pixels (V) : 2448
Camera support : yes
Battery support : yes
Touch screen : yes
Audio record : yes
GPS : yes
Cache partition : yes
Keyboard : no
heap size : 32
RAM : 280
GSM Modem : yes
(?) I recommend you to create one profile for each Android version you want to run (so : you just have to change the ID, and create same profile). If you don't, you won't be able to run custom ROMs using other versions of Android (ie your AVD profile is 2.3 and you run a 2.1 custom ROM).
9. Done ! Take your custom ROM (downloaded, compiled... In this case, files are in {YourAndroidRepoFolder}/out/target/product/generic/. It comes with about 3 files, including a file called system.img. Copy this file into the folder (hidden) .android/myx10{In fact, the name you've chosen earlier "NAMEYOUWANT"}.avd/
10. Run terminal, go to Android SDK folder/tools/ (if you didn't close your current terminal, you're already in and run this command to run emulator WITH your custom ROM :
Code:
./emulator -avd myx10{again the "NAMEYOUWANT" you've chosen before}
Wait and enjoy !
(?) First boot is long - it's NORMAL. Just like on a real device, the OS will be cached and will work faster and faster.

Offline system images & packages installation unsuccessful [Eclipse/Android SDK/Java]

Offline system images & packages installation unsuccessful [Eclipse/Android SDK/Java]
I am currently setting up Android SDK, eclipse and Java JDK for app development. Am fairly new to it so am not familiar with very technical jargons. I have managed to successfully setup Java JDK offline and eclipse partially. I say partially because I have been able to get it to recognize platforms, platform tools and build tools by creating recognizable folders and extracting the zip contents into them. I have not succeeded for the system images as I don't know what folder naming is requires for them to be recognized as installed in the android-sdk folder. My pc is currently located in a area where there is no cable or broadband internet since the facility is fairly new but 4G data is available but very expensive.
I tried the tutorial where you create a temp folder in android-sdk, then connect to 4G just to get the SDK manager to read the necessary packages, then disconnect, then run install packages so that it now sources them locally from the temp folder but it fails to install.
The packages I need installed but dont have their zips for offline installation are:-
- Android SDK Build-tools, revision 23.0.1
- Documentation for Android SDK, API 23, revision 1
- SDK Platform Android 6.0, API 23, revision 1
- Samples for SDK API 23, revision 2
- Android TV ARM EABI v7a System Image, Android API 23, revision 2
- Android TV Intel x86 Atom System Image, Android API 23, revision 2
- ARM EABI v7a System Image, Android API 23, revision 3
- Intel x86 Atom_64 System Image, Android API 23, revision 3
- Intel x86 Atom System Image, Android API 23, revision 3
- Google APIs, Android API 23, revision 1
- Google APIs ARM EABI v7a System Image, Google Inc. API 23, revision 7
- Google APIs Intel x86 Atom_64 System Image, Google Inc. API 23, revision 7
- Google APIs Intel x86 Atom System Image, Google Inc. API 23, revision 7
- Sources for Android SDK, API 23, revision 1
- Android Support Library, revision 23.0.1
- Google USB Driver, revision 11
Can anyone provide me with these zips and what folders to create in the android-sdk folder to get them installed?
offdroid
Hi
not sure what your operating system is, but I've built an offline installer for android sdk which works best on linux (it can be used on W*ndows too, provided that it has cygwin installed.) you might want to check it out at github.com/icefapper/offdroid.
my two cents.

.Studio folder question

What is the Android .Studio folder for? The fx file manager is showing that there are 6.3 GB of .jpg files in that folder on my Google Tab Pro. There are 416 files with names such as tempHistoryInfo1540106202844HistoryInfo.jpg. The numbers vary, but most of the files are the same size - 15.6 MiB dating from August 6, 2016 to Jan 21, 2019. There are two 26.1 MiB files dated July 8, 2016, one 2.4 MiB dated April 29, 2017.
I need to clear space on the device, but am unable to open a file to see what it is.
Any help is appreciated!

Categories

Resources