Framework-res.apk & lge-res.apk need - G4 Q&A, Help & Troubleshooting

Someone could put me to spend or to link to a storage site or to my email address:
LG G4 - Framework-res.apk and lge-res.apk.
They are missing to me, thank you very much.
Email: [email protected]

I guess you have the H815?
Just download a system img of the H815 from here:
http://forum.xda-developers.com/g4/help/qa-tmo-vzw-intl-variants-soon-root-lg-t3164785
Mount it with linux or use a tool like "OFSMount" on windows to view the files.
Did you delete the apks or why do you need them?
Do you know that the stock rom use odex files?
I think you will find no source code inside the apks, if that is what you want.

dominik-p said:
I guess you have the H815?
Just download a system img of the H815 from here:
http://forum.xda-developers.com/g4/help/qa-tmo-vzw-intl-variants-soon-root-lg-t3164785
Mount it with linux or use a tool like "OFSMount" on windows to view the files.
Did you delete the apks or why do you need them?
Do you know that the stock rom use odex files?
I think you will find no source code inside the apks, if that is what you want.
Click to expand...
Click to collapse
Thanks for the tip. I will try the link & ofsmount. I edit & I develop apk files for 5.1 system, and this should be. Especially lg phones. apktool, etc... you know

Ok then I guess you know how to deodex the rom files.
But why do you just copy the files from your phone?
Don't you have a LG G4?
IMPORTANT:
I noticed that OFSMount doesn't show all files (maybe permission problem), but most of them. Don't use the program to edit the img file!
Only use it to copy the files you want from the imgae.
OFSMount doesn't support EXT4. Maybe another tool is able to do it.
I would recommend to use a linux system.

dominik-p said:
Ok then I guess you know how to deodex the rom files.
IMPORTANT:
I noticed that OFSMount doesn't show all files (maybe permission problem), but most of them. Don't use the program to edit the img file!
Only use it to copy the files you want from the imgae.
OFSMount doesn't support EXT4. Maybe another tool i able to do it.
I would recommend to use a linux system.
Click to expand...
Click to collapse
Yes, i know, and thank instructions :good: Thanks (has already downloaded the rom)

ok. no problem.

where do I find lge-res.apk ?

Goto /system/framework/lge-res
You will find the lge-res.apk

Related

[CWM][ALL] Base CWM zip packages - just add APPS!

Ok forum, so I got this idea: because a lot of people ask for CWM packages of this and that, why not let them create CWM flashable stuff without having to beg devs or other users to make them?
I think it saves them (yes, I am talking about YOU!) and us the trouble. So I created these two base CWM flashable zips to get everyone started:
Data_Skeleton.zip - Used for apps that you can uninstall afterwards.
System_Skeleton.zip - Used for anything that should be installed as a system app
Now, a short guide on how to use them:
1. Download the appropriate ZIP for what you plan to package. If you want to make a regular app package use Data_Skeleton.zip, for system apps, use System_Skeleton.zip.
2. Open the zip file with anything else other than Windows Explorer! Use 7zip, winzip, winrar or anything else, just not Explorer!
3. Look inside the zip! DO NOT DELETE ANYTHING! All you need to do is ADD STUFF!
4. Browse into the "data" or "system" zip folders, then down into the "app" folder inside.
5. After you get to the "app" folder, copy and paste the APKs you want to flash in the folder.
REMEMBER: do not DELETE anything! ADD APK files ONLY in the "app" folder.
6. Wait for the APK files you copy to get added to the archive.
7. Close the archive.
8. Rename and copy the archive to your SD card.
9. Boot into CWM and flash the copied zip file you just created.
10. Enjoy!!
Sooooo, quick 10-step process into cooking you own CWM Zips. You can do much more with them than flashing apps, but for general purpose usage, this should be enough!
Thanks and complaints go underneath.
PS: this idea was given to me by lambstone in a separate thread! Thanks a lot mate!!!
Peace,
C.
Nice thread, waiting for other..............
There's market apps that does this I.e apps2zip
Sent from my LG-P999 using Tapatalk 2 Beta-2
Ayysr,
App2zip works well for this purpose, but only when it works. There are apps that can't be zipped correctly, mainly those that rely on libs, media and/or other files that can't be included automagically. Needless to say that some apps (mainly games and such) store data on the SD card.
All of this can be easily accomplished by copying the files in a zip file; also learning something about Android in the process, wouldn't you say?
Peace,
C.
cheatman said:
Ayysr,
App2zip works well for this purpose, but only when it works. There are apps that can't be zipped correctly, mainly those that rely on libs, media and/or other files that can't be included automagically. Needless to say that some apps (mainly games and such) store data on the SD card.
All of this can be easily accomplished by copying the files in a zip file; also learning something about Android in the process, wouldn't you say?
Peace,
C.
Click to expand...
Click to collapse
Your right, I was not trying to deny your effort in any way
Sent from my LG-P999 using Tapatalk 2 Beta-2
I actually wasn't expecting anyone to comment on this thread to begin with
The fact that you mentioned app2zip is perfect! I know the intent is not to deny my effort, in fact, I am happy new information surfaced because it's useful and appropriate.
Very few contribute to such posts with relevant info for others. I think this is the point: sharing insightful and relevant stuff with others. But judging by the number of thanks you have, you already know this very well already
So, thanks! And glad to have you in my thread
Peace,
C.
cheatman said:
I actually wasn't expecting anyone to comment on this thread to begin with
The fact that you mentioned app2zip is perfect! I know the intent is not to deny my effort, in fact, I am happy new information surfaced because it's useful and appropriate.
Very few contribute to such posts with relevant info for others. I think this is the point: sharing insightful and relevant stuff with others. But judging by the number of thanks you have, you already know this very well already
So, thanks! And glad to have you in my thread
Peace,
C.
Click to expand...
Click to collapse
have trying to put 5 apk files on data/app exactly doing what it's in your post, then rename it to apk.zip, but when i'm trying flashing from cwm it's geting error
E:Can't open /sdcard/apk.zip
(bad)
Installation aborted
do I miss something??
edit: i'm using data_skeleton.zip
Make sure you don't extract the ZIP. Open it and add files. If you extract it, you get that error message (usually). That is a problem related to the unzip process in CWM, it's not very "compatible"
I have also re-upped the DATA CWM zip, maybe it got borked in the process. So download again from first post. It works on my tab. You can test it by just getting the zip and flashing it empty, like that.
cheatman said:
Make sure you don't extract the ZIP. Open it and add files. If you extract it, you get that error message (usually). That is a problem related to the unzip process in CWM, it's not very "compatible"
Click to expand...
Click to collapse
No dude, I do not extract the zip file, I do exzctly what you said in 1st post, just open it with winrar, look for Data-app, then adding apk files on app section/folder inside the zip files, i just try once again to make sure, and i just add 1 different apk file, but still not work, btw i always use this same method before when I' want to replace boot animation for ICS CM9 ROM and adding some apk file to ROM file, and it's always work.
cheatman said:
I have also re-upped the DATA CWM zip, maybe it got borked in the process. So download again from first post. It works on my tab. You can test it by just getting the zip and flashing it empty, like that.
Click to expand...
Click to collapse
will try this one..,
EDIT: have try your 2nd Data_skeleton.zip, it's work when flashing from cwm with or without add apk files, but not with previous zip file, thought the problem it's coming from your zip file..,
Glad the second one works!
Thanks for letting me know the first zip was borked!
Its a good thread man, makes creating flash able zips simple, you should also look into zipsigner2 on the play market
Sent from my LG-P999 using Tapatalk 2 Beta-2
Thx for the great work!!
Does this one only works for apks?? say i would like to add some files to system/bin or system/lib what do i need to add??
Thx again
You need to create the appropriate folder structure on your PC/Laptop/Mac drive (system/bin or system/lib as per your example) and add it to the archive.
Do not create the folders directly inside the archive as they seem to get borked. Instead archive the folders after you create them locally. It also works if you extract the skeleton archive as an example, delete the "system" folder from inside it and add to the archive the system folder from your drive to replace the original one.
Sounds more complicated than it is. With these CWM Zips you can create any zip that changes either "/data/*" or "/system/*"
Anything, including full ROMs, libs, firmware etc (i.e. except kernel!) can go inside. Play with them. You can't mess your tab with them. Worst case, you need to flash again your ICS copy and factory reset...
Peace,
C.
yeah jejeje i just mess up i am trying to flash a sound driver for my phone (by the way it works in my live with walkman) but they are not working so.
but it is great because i was able to use your file to flash my phone it seems to be universal.
thx again for your work.
Is it possible for this to work for radio images?
Sent from my Nexus S 4G using Tapatalk 2 Beta-5
No, it can't be used for radio images.
First off, radio images need to be flashed (i.e. not copied to a folder as this script does) and secondly because as far as I know with the latest versions of CWM don't support this anymore.
The old zips used to flash radio don't seem to be supported anymore. I recently encountered this problem while flashing a friend's HTC Buzz/Wildfire. So, no, I have no idea how to flash radio using CWM anymore. You can flash using Odin, though...
Peace,
C.
cheatman said:
You need to create the appropriate folder structure on your PC/Laptop/Mac drive (system/bin or system/lib as per your example) and add it to the archive.
Do not create the folders directly inside the archive as they seem to get borked. Instead archive the folders after you create them locally. It also works if you extract the skeleton archive as an example, delete the "system" folder from inside it and add to the archive the system folder from your drive to replace the original one.
Click to expand...
Click to collapse
Ah, this explains how come my /system/app zips were coming out fine but my /system/framework were messed up, thanks for the explanation.
I wonder if it's possible for a small tutorial in how to add our own text to a zip when it's being flashed.
I guess I could reupload the zips without the intro section (stating my nickname and galaxy tab / version etc.) if I weren't so lazy...
The problem with changing the text is that although a tutorial can be made, it requires external tools and such, which would make this waaay to complicated and out of the scope of this thread.
For your purposes (I assume you are using some version of Windows), here's my advice: extract the Zip archive, look for the "updater-script" file, change it and make sure you run it through a "dos2unix" tool to convert CR/LFs. Then add it back to the archive.
To everyone else: if this doesn't work for you, just stick to adding apps to the zip. You should be safe, there's no need to edit any files anyway!
Peace,
C.
Great, apparently it was just that simple, worked great, <3
Dumb question - is this only for Galaxy tab? Or can I use it on my Captivate?

Flashable zip

So I have a bunch apks that I add to every rom that I flash.... I was wondering if someone could lend some knowledge. I want to put them together in a flashable zip u can use in recovery, but do I just zip them in winzip and done? Or are there other steps I need to take? Should I use something besides winzip? Thanks in advance.
jwitt418 said:
So I have a bunch apks that I add to every rom that I flash.... I was wondering if someone could lend some knowledge. I want to put them together in a flashable zip u can use in recovery, but do I just zip them in winzip and done? Or are there other steps I need to take? Should I use something besides winzip? Thanks in advance.
Click to expand...
Click to collapse
You will need to make a folder called update,inside make a folder called META-INF,in the META make folders called com/google/android,so the structure looks like this... META-INF/com/google/android,this thread will tell you how to make an updater script... http://forum.xda-developers.com/showthread.php?t=641223 ,after you've created an updater and update scripts,after that in the same area you made the META folder,make a folder called system,inside system make one called apps,then put your apps in there and add the symlinks pointing to the apps,which is in the same thread as above.After you have finished that,right click the update folder and add to archive,in compression settings use "store" method and type of compression,use zip,then zip it up and theres your flashable update script.
jwitt418 said:
So I have a bunch apks that I add to every rom that I flash.... I was wondering if someone could lend some knowledge. I want to put them together in a flashable zip u can use in recovery, but do I just zip them in winzip and done? Or are there other steps I need to take? Should I use something besides winzip? Thanks in advance.
Click to expand...
Click to collapse
Or u could just find a flashable zip of a mod or apk in the themes and apk section for evo and then just add ur apps to it. Should work as long as updater script mounts and unmounts /system.
U can use 7zip or winrar to open the zip up. Open up system folder then app folder. Add ur apks and delete the things the script originally added unless u want them. Easy as that.
Name of flashable zip doesn't matter btw
XDA Moderator

[HELP]Implement Swipe to remove notification for GB

Someday I found this:
[HOWTO]Implement Swipe to Remove Notification
I like this function but my phone can't update to 4.1.2 (I8160-TGY don't have JellyBean Firmware...)
So I tried to modify it.
But deodex the whole ROM is a hard work.
So I found this:
[Toturial][Windows] How Editing The ODEX framework files? [Simplified]
I tried to decompile framework.odex ,and compile without modifications ,then my phone can boot normally.
So I'm sure this method is possible.
========================
So now I know how to decompile and compile.
And I find many thread about this but I still have no idea...
Even if I can compile it after modify, I still got bootloop.
Here is my deodexed framework.jar and SystemUI.apk:
https://www.dropbox.com/s/vj5u68g4qfo7zwp/Desktop.rar
Can any devs help me to modify it?
THANKS A LOT!!!
changes umanalm
I found that if I compile and decompile again, some string become different.
So now I don't know how to decompile correctly........
I use baksmali1.4.2 and decompile via command line:
java -jar baksmali-1.4.2.jar -a 10 -x framework.odex
When you compile apk your output is not signed. that is reason why you cant boot
here is what to do
1. Open output apk with 7-zip
2. Open original apk with 7-zip
3. Take meta-inf folder from original and drag to new apk
4. You will have signed apk and you can push it to your device
hope this will help you
btw. for decompiling i use
apktool d path\original.apk path\outputfolder
for compiling
apktool b path\outputfolder path\output.apk
Rox said:
When you compile apk your output is not signed. that is reason why you cant boot
here is what to do
1. Open output apk with 7-zip
2. Open original apk with 7-zip
3. Take meta-inf folder from original and drag to new apk
4. You will have signed apk and you can push it to your device
hope this will help you
btw. for decompiling i use
apktool d path\original.apk path\outputfolder
for compiling
apktool b path\outputfolder path\output.apk
Click to expand...
Click to collapse
I know that.
Because my phone haven't DEODEX, so I Just put classes.dex into framework.jar and odex it.
So it's not my question, but thank you for reply.
Why dont you just deodex rom using android kitchen and do your mods?
Sent from my GT-I8160
Rox said:
Why dont you just deodex rom using android kitchen and do your mods?
Sent from my GT-I8160
Click to expand...
Click to collapse
I tried.
But I can't boot after I deodex my rom.
I use system.tar.md5 to make CWM Flashable ROM.
These is my method: (Android Kitchen version is 0.223, I already download 0.224 but I never use it....)
1.Choose 1 to decompress system.tar.md5 and make Work Folder.
2.Then choose 0 to Advanced option, and choose 11 to de-odex the whole ROM.
3.Repack a CWM Flashabe ROM.
4.Format all partition and flash it.
5.Reboot, and the screen stay in "SAMSUNG GT-I8160".
Is there any wrong? or I have to use Android Kitchen 0.224?
You probably make some mistake.
Can you post updater script to see if problem is there.
Btw. You can try copying system folder to sd card from root directory and than use it as working folder for kitchen
Edit:
Oh, you formatted all partitions? You dont need to format them you possibly lost some device specific files required for boot. Try without formatting
Sent from my GT-I8160
Rox said:
You probably make some mistake.
Can you post updater script to see if problem is there.
Btw. You can try copying system folder to sd card from root directory and than use it as working folder for kitchen
Edit:
Oh, you formatted all partitions? You dont need to format them you possibly lost some device specific files required for boot. Try without formatting
Sent from my GT-I8160
Click to expand...
Click to collapse
Thanks!
This time I make a deodexed ROM via kitchen 0.224, And flash it without formatting.
It still can't boot, and when I enter to CWM, it can't mount any partition.
So I reflash stock ROM via Odin v3.07....
Oh, few days ago I tried to make a CWM flashable zip with only de-odexed /system/app and /system/framework.
It also can't boot.......

MusicFX deodex

have someone musicFX.apk and odex file for C1905? i don't understand when i deodex this file, my sound settings is brick and i forget to backup. have someone make backup for this app?
Nicklas Van Dam said:
have someone musicFX.apk and odex file for C1905? i don't understand when i deodex this file, my sound settings is brick and i forget to backup. have someone make backup for this app?
Click to expand...
Click to collapse
i have deodex one, do you want it?
thanks if you still have it
benn_seiei said:
i have deodex one, do you want it?
Click to expand...
Click to collapse
yap, very thanks if you have it, can you give me please? i think the sound mod is not fully working correctly. so i think i want to back it to the stock. thanks
Nicklas Van Dam said:
yap, very thanks if you have it, can you give me please? i think the sound mod is not fully working correctly. so i think i want to back it to the stock. thanks
Click to expand...
Click to collapse
here it is,
http://www.mediafire.com/download/ys2d00ok7pygchw/MusicFX[1].apk
i hope its helping
Thanks!!!
benn_seiei said:
here it is,
http://www.mediafire.com/download/ys2d00ok7pygchw/MusicFX[1].apk
i hope its helping
Click to expand...
Click to collapse
next time i will make any backup first, before make any change in system. but i still don't understand why ftf. file can't be open with any file exctrator or file manager. can someone tell me how to open or decompile that file?
but thanks for this file ya!!!:good:
Nicklas Van Dam said:
...but i still don't understand why ftf. file can't be open with any file exctrator or file manager. can someone tell me how to open or decompile that file?
Click to expand...
Click to collapse
FTF files are regular ZIP files. Open it with 7-Zip/WinRAR and you'll find some .sin files inside (.sin is a proprietary format used by Sony). Some of these .sin files (like system.sin) can be decrypted by Flashtool by going to Tools => Sin Editor => Extract data. This will leave you with an .ext4 file (like system.ext4). This file can be mounted and edited directly if you're on Linux or you can view and extract its contents by using ext2explore or another similar tool on Windows...
mbc07 said:
FTF files are regular ZIP files. Open it with 7-Zip/WinRAR and you'll find some .sin files inside (.sin is a proprietary format used by Sony). Some of these .sin files (like system.sin) can be decrypted by Flashtool by going to Tools => Sin Editor => Extract data. This will leave you with an .ext4 file (like system.ext4). This file can be mounted and edited directly if you're on Linux or you can view and extract its contents by using ext2explore or another similar tool on Windows...
Click to expand...
Click to collapse
ya i have heard that tools to, when i try to comple a md5 stock rom (samsung) in my s3 mini rom, so that tools can compile ftf. file too? what a amazing tools. thanks ya!!!:victory:

I need help if possible

Good Day fellow Xda users
Let me cut to the chase and ask if it's possible to re-download a #system application that you uninstall :crying:
#Edited My phone is LG G4 Stylus
you can extract kdz file, extract kz, merge the system.img and save whatever u want using ext2read tool(you can find the tutorial here>> https://forum.xda-developers.com/showthread.php?t=2600575) move that saved file to the right place afterward u just have to simply set permissions and reboot
datscoolmetoo said:
you can extract kdz file, extract kz, merge the system.img and save whatever u want using ext2read tool(you can find the tutorial here>> https://forum.xda-developers.com/showthread.php?t=2600575) move that saved file to the right place afterward u just have to simply set permissions and reboot
Click to expand...
Click to collapse
I'll try it out
Thanks

Categories

Resources