Newer apps on older Android version

Discussion in 'Android' started by JFTS, Feb 17, 2017.

  1. JFTS
    OP

    JFTS GBAtemp Regular

    Member
    166
    7
    May 10, 2011
    Fiji
    I'm trying to install CCleaner on my v2.2.1 Android phone and I'm getting the message "there is an error parsing the package". I also have a language learning app that refuses to install too. I guess it is because they both require a more recent Android version. So my question is, how can I bypass this incompatibility and install them on my phone?

    Processing power is obviously not an issue. These are mostly text driven applications and won't have any demanding graphics or realtime performance that could not be achieved on an older device. My phone is rooted. Any suggestions are welcome.
     


  2. ScarletDreamz

    ScarletDreamz [Debug Mode]

    Member
    2,458
    1,033
    Feb 16, 2015
    United States
    California
    2 easy solutions.

    1.- decrypt the APK, and modify the minimum API required.
    2.- download and older version of the app.
     
    JFTS likes this.
  3. JFTS
    OP

    JFTS GBAtemp Regular

    Member
    166
    7
    May 10, 2011
    Fiji
    Thanks for the quick answer.

    2. The older version of the app already exceeds my phone's Anroid version.
    1. Could you point me to the process that this method would require?
     
  4. ScarletDreamz

    ScarletDreamz [Debug Mode]

    Member
    2,458
    1,033
    Feb 16, 2015
    United States
    California
    What version is your OS?
     
  5. JFTS
    OP

    JFTS GBAtemp Regular

    Member
    166
    7
    May 10, 2011
    Fiji
    It's Android version 2.2.1

    I have the APKs because I download them manually on the PC.
     
  6. ScarletDreamz

    ScarletDreamz [Debug Mode]

    Member
    2,458
    1,033
    Feb 16, 2015
    United States
    California
    wow... such and old version... let me see what i can do x.x, have you tough on upgrading your OS via Custom Rom?
     
  7. JFTS
    OP

    JFTS GBAtemp Regular

    Member
    166
    7
    May 10, 2011
    Fiji
    Yes, but I always thought it would be better to keep the OS in its time frame because it wouldn't strain the hardware as much as a newer version.
     
  8. ScarletDreamz

    ScarletDreamz [Debug Mode]

    Member
    2,458
    1,033
    Feb 16, 2015
    United States
    California
    I would suggest to change to a Custom Rom, Froyo was targetd for already old devices, so it must be a pretty old device.

    After decompiling the APK i get this:
    sdkInfo:
    minSdkVersion: '15'
    targetSdkVersion: '19'

    SDK 15 is Android 4.0.3, 4.0.4, so i recompiled it with a version 8, which is froyo. if that does not work, you are going to need to change to a custom rom.

    Test Here and let me know what happened:
    http://s000.tinyupload.com/index.php?file_id=14291827411972043376
     
  9. tech3475

    tech3475 GBAtemp Advanced Fan

    Member
    549
    238
    Jun 12, 2009
    I would look at either getting a custom rom or a new phone, xda developers is a good place to look for custom roms.

    Google play no longer supports 2.2 and its just a risk now security wise.

    Changing the minimum api in theory will only work if it doesnt require something in the newer sdk.
     
    T3GZdev likes this.
  10. JFTS
    OP

    JFTS GBAtemp Regular

    Member
    166
    7
    May 10, 2011
    Fiji
    Well, the phone did recognize the package but it just says that the app could not be installed. I guess I have to update to a custom rom.

    I was thinking if there is a rom for Android devices similar to what Lubuntu is for Linux PCs. That is, a very light, up to date version that is ideal to run on old hardware. My phone is a Samsung GT-S5570.


    I don't use Google Play even on newer devices. Is there a particular custom rom that you would suggest?
     
    Last edited by JFTS, Feb 17, 2017
  11. yusuo

    yusuo GBAtemp Addict

    Member
    2,492
    846
    Oct 19, 2006
    what device are you running?
     
  12. ScarletDreamz

    ScarletDreamz [Debug Mode]

    Member
    2,458
    1,033
    Feb 16, 2015
    United States
    California
  13. JFTS
    OP

    JFTS GBAtemp Regular

    Member
    166
    7
    May 10, 2011
    Fiji
    I'm browing the XDA forums right now and t's a bit overwhelming with so many choices. I see there are unofficial ports of more recent Android versions, but I'm looking for a more lightweight solution.
     
  14. Tenshi_Okami

    Tenshi_Okami GBAtemp Maniac

    Member
    1,359
    556
    Nov 3, 2015
    Puerto Rico
    https://forum.xda-developers.com/showthread.php?t=2622069

    This seems the best, it uses CyanogenMod and it has Android 4.2.2

    Make sure of what your flashing, make a backup of your full phone with a custom recovery just in case anything happens!!!
     
  15. ScarletDreamz

    ScarletDreamz [Debug Mode]

    Member
    2,458
    1,033
    Feb 16, 2015
    United States
    California
  16. JFTS
    OP

    JFTS GBAtemp Regular

    Member
    166
    7
    May 10, 2011
    Fiji
    Thanks again for all the responses.

    I'll see what can I do with my device and I will report back.
     
  17. JFTS
    OP

    JFTS GBAtemp Regular

    Member
    166
    7
    May 10, 2011
    Fiji
    Well, I installed a custom recovery, tried two different Cyanogenmod versions (10.1 and 11) and none of them worked. The phone kept bootlooping I and had to install back the official 2.3.6 Gingerbread Android.

    The XDA forum is a damn mess of unfinished custom roms and more than half of the download links for them don't work...

    Still, could someone explain to me why can't these apps that I described work on older Android? What APIs, libraries or whatever this stuff is called could possibly be required for a cleaning app and a freaking dictionary?

    I'm not a programmer but I would like to know how compiling works. I would be grateful if someone could point me to a tutorial on how to compile for Android 2.3.6.
     
  18. zfreeman

    zfreeman GBAtemp Fan

    Member
    371
    108
    Mar 9, 2013
    United States
    Pennsylvania
    Are you doing a factory reset before flashing a custom rom?
     
  19. JFTS
    OP

    JFTS GBAtemp Regular

    Member
    166
    7
    May 10, 2011
    Fiji
    Always. Both factory reset and wipe cache data.
     
  20. tedmg091309131

    tedmg091309131 GBAtemp Regular

    Member
    111
    16
    Feb 17, 2016
    United States