After hours of decompiling and things alike, I finally managed to extract the Oppo Colour OS 2.1.x files from the .dat file. But Once I extracted the folders and other things. I come to the launcher folder which has 3 things in the root of the Oppolauncher folder. A folder names "arm", another folder named "lib", and the launcher apk file itself. I know by past experience (Haven't tested myself.) That the apk needs those two folders. (theres also a folder names "oppolaunchersystem" with an arm folder and "oppolaunchersystem.apk.") In order to port these apk files for use with Lollipop devices (Colour OS 2.1.x I believe is lollipop.) Do I have to implement the lib and arm folders (maybe the launchersystem apk)? And if so, how? Thanks for anyone willing to help me with creating the system dump.
I attached the two folders in a Zip file for anyone who wants to examine it.
Sorry for my bad English if I made any errors.
{EDIT} I tried installing OppoLauncher.apk through ADB and I got back [INSTALL_FAILED_DEXOPT] and with OppoLauncherSystem.apk I got back [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE]. So it seems that OppoLauncher will work on the device I tested it on (Droid Ultra on 4.4.4) but It needs some sort of resource within the Colour OS 2.1 .x ROM.
Related
Howdy.
I'm trying to modify a .so file (libflashplayer.so), but have run into a few problems:
I first tried editing the file after it was installed from an .apk. This appears to work at first, but the edited file is quickly replaced with the original.
I then tried editing the file in the .apk package. This causes the package to fail to install (I'm guessing because the md5 in the certificates no longer matches)
Aldo tried moving a folder with the .so files from the .apk (com.adobe.flashplayer-1 which is what is created when the .apk installs correctly) directly into /data/app-lib/.The directory was created successfully but appears to be immediately deleted.
Is there a way to accomplish what I'm trying to do? If so how?
Other possibly relevant info:
My device is rooted
I did not write the code for anything in the .apk, I got it from a link on xda (pretty dubious i know but I couldn't find another option)
I'm using cyanogenmod 10.2 (based on android 4.2 I believe).
I'm editing the file with a hex editor to change a a few characters ("AND" to "WIN")
Hey I need your help , thanks in advance
I have lg p765 4.1.2 v20c
How to know corresponding lib file of system/apk in system/lib ….
I tried decompiling apk but I didn’t found any relation with lib file by seeing android manifest.xml
Or u have any list that *.apk uses *.so files or something
for example old chrome apk uses lib file system/lib/libchromeview.so
but update uses different lib files (as I have removed system/lib/libchromeview.so with never lib file found in apk/lib folder and removing from apk saves space(both on system partion and internal memory) and so far I have no force close works perfect)
this things I want to know because want to remove unwanted app and update gms
Here you go.
http://forum.xda-developers.com/showthread.php?t=2737126
[TUTORIAL] Find out which shared libs (.so) are missing
If you have an detailed list of library files for in build apps (especially for HTC) like the one you mentioned of the chrome library file please share it with me.
HTC desire X, JB , TWRP
Hello,
I need to find a way to edit factory firmware:
1. insert one or two app to be preinstalled, and placed on home screen
2. change default ringtone
I tryed android kitchen, repack system.img file (which is one of many parts files of firmware i have to edit, like boot.img etc) then i edited just one thing, e.g background or place one app. And then I get stuck, i cant find way to restore system.img. Kitchen makes update.zip file..which cant be installed becouse of signature.. So my main problem is how to edit system.img? (unpacked or packed)
Basicly every advice is how to repack, open *.img file, non is to repack.
I have PAP4500DUO and A538 Lenovo. And Windows envirement. I am a rookie too.. :/
Hello,
I bought a Umi Diamond X and i just found out that it came with adware.
Since i could not find any custom roms for it, i tried editing the recovery image. Manged to remove some APK files, but SystemUI is giving me some problems.
What I did until now:
1) Used simg2img to convert system.img to a mountable image
2) mounted the previously generated image and deleted suspicious folders from system/app and system/priv-app.
3) Use SPFT to flash the edited image to the device.
However, I found that SystemUI.apk is also making dubious requests in the background, so I need to replace it with a stock version. I tried taking SystemUI.apk from different roms of similar phones, with a similar SoC, and copy-paste it into my edited system.img. However, everytime i do this, SystemUI crashes when the phone starts up.
Going into the stock recovery, i have the option to "check root integraty". This appears to scan (among others) all APK files in system/app and system/priv-app. I see it detects the deleted APKs and the 1 modified APK. Could the installer have a signature of the expected APKs and not install if the file doesn't match that signature?
Is there any way I can replace SystemUI.apk with a known good version?
Bump..
Bump again..
Hello
I have an Android device based on Tegra CPU and with 5.1 Lollipop installed.
It has few own apps installed on it that basically are a custom menu and few apps that run on it.
I downloaded an update of it which contains:
boot.img, file_contexts, system.new.dat, system.patch.dat and system.transfer.list
I managed to extract the system.new.dat file to obtain a system folder which I don't know if it's only an update of the system folder on the device or the full folder instead.
Whithout root I copied the system folder out of the device with the apps that I want.
I'd like to run theese apps on another android device.
What do I need to get out of the device in order to try this apps to run?
Only the apps in system/app folder or there are also libraries that I need?
By don't know about, I copied out of the device also the lib folder.
I'd like to try on android studio the apps firstly.
Is there any way to know if an app needs libraries and which ones?
Thank you so much
Giulio
You can learn how to port app here : https://forum.xda-developers.com/showthread.php?t=2476050