[Q] How to modify lenovo-res.apk? - General Questions and Answers

Hi, I'm trying translate lenovo-res.apk for my lenovo a850 but I still can't do it. I always get only bootloop. I try apktool, kitchen, jBart... I'm trying it many days. Can anyone help me? Thanks

Tedruart said:
Hi, I'm trying translate lenovo-res.apk for my lenovo a850 but I still can't do it. I always get only bootloop. I try apktool, kitchen, jBart... I'm trying it many days. Can anyone help me? Thanks
Click to expand...
Click to collapse
I have the same problem on Lenovo P770....

I can help. Try the following steps:
1. Make a full backup of your device!
2. Get the lenovo-res.apk file onto your PC. Copy it to a safe place as a backup.
3. Download an archive manager (WinRAR, 7zip), and open it.
4. While in the archiver, navigate to the directory where the lenovo-res.apk file is located (not the backup one!).
5. Extract lenovo-res.apk to an empty folder of your choice (name suggestion - "lenovo-res modding").
6. Go back to your regular file explorer and open the folder you just extracted the files to. Open and modify what you like.
7. Now, open up your archiver program again, and navigate to the directory inside the lenovo-res.apk file where the files you modified belong (for example, lenovo-res.apk\res\drawable-mdpi).
8. Back in your regular file explorer, select and drag the modified files from the file explorer window into the archiver window. Drop the files in the archiver window.
9. Hit "Yes" or "OK" if asked if you're sure.
10. Repeat steps 6-9 as many times as necessary.
11. When done, close the archiver window to finalize the changes.
12, Now, you can ADB push the modded lenovo-res.apk file to your device, but don't replace the one on your system with the push! You will get a bootloop!
13. Instead, push it to your external sdcard (for example, /mnt/sdcard).
14. On your device, open up your file explorer app (I use ES File Explorer), and navigate to where you pushed the lenovo-res.apk. Copy it, and paste it directly into the directory where the system file is (for example, /system/framework).
15. If the paste succeeds, you did it. Your device will hot reboot itself after the replacement, and will then boot up using the new lenovo-res.apk.
16. Done!
If the above steps are helpful, please, please click the Thanks button below!
:good:

Thanks, but this will not help me. Because I need give to lenovo-res.apk new slovak and czech translates (folders values-sk and values-cs). If I unzip the apk file, as you wrote, there is no all subdirectories in "res" directory, where language files are.
All Subdirectories in "res" directory are creates only when you use JBart or Apktool:
color\
drawable\
drawable-hdpi\
layout\
values\
values-in\
values-ms\
values-ru\
values-vi\
values-zh-rCN\
If you will use 7ZIP, there are only:
color\
drawable\
drawable-hdpi\
layout\
I need to add values-sk and values-cs subdirectories. Normaly I use jBart or Apktool, make lenovo-res.apk file, no errors. Then install ROM file, but phone will stop on bootloop. On all other apk files procedure with jBart/Apktool works well, except lenovo-res.apk not.
I do not know how to compile this one apk. Please help me. Thanks.

I know this is a little bit off topic..Kindly help.. am trying to locate the systemUI apk on my lenovo k80m.. cant seem to find it in priv- app or app folders.

Related

How to make a CWM file

Hello, I have searched everywhere and cant find the answer to my question. I wanted to replace a file using CWM .zip how in the heck do I do that? Most of all I just wanted to learn how to do it as well...
Thanks,
Chad
Well to begin with you can take an existing zip with the file path you need, delete everything in the folders not touching the META-inf folder at all, those are the install instructions, and put the file you want to flash in the correct folder. I think thats how everyone starts out.
studacris said:
Well to begin with you can take an existing zip with the file path you need, delete everything in the folders not touching the META-inf folder at all, those are the install instructions, and put the file you want to flash in the correct folder. I think thats how everyone starts out.
Click to expand...
Click to collapse
but your update-script has to match what you are flashing via cwm. if you take a rom zip and just pop in a few files in place of the whole rom structures, your flash will fail because your update-script is looking for specific structures.
Oxicottin said:
Hello, I have searched everywhere and cant find the answer to my question. I wanted to replace a file using CWM .zip how in the heck do I do that? Most of all I just wanted to learn how to do it as well...
Thanks,
Chad
Click to expand...
Click to collapse
One way would be to use: Update Zip creator/modifier (Requires Windows)
yeah it would be bad mojo if you used a wipe rom zips META INFO to make an update zip.....
Thanks a million everyone......
Sorry for being late to the party again.. Here goes my attempt at an explanation though:
Essentially, a CWM flashable zip is just a zip file with the file system replicated in it. So for example, if you wanted to add swype, and you know Swype.apk would regularly go in /system/app, then you would create a blank folder called 'system', and another folder inside system called 'app', and put your Swype.apk inside that. (/system/app/Swype.apk)
After that, all that's left is to build an update script. So, from your root directory (where your system folder is), you would make another directory called META-INF, with a folder inside called 'com', another one inside that called 'google', and finally one called 'android' inside that (/META-INF/com/google/android), you put a text file in there called 'update-script' that tells recovery what you want to do (in this case, copy swype over to the corresponding directory on the file system).
http://forum.xda-developers.com/showthread.php?t=641223
^There's a guide for how to make those. You can also pick apart any rom you find in the dev section and check out the update script for reference.
After that, it's just a matter of zipping up all the contents in your root directory, then signing the zip with testsign.jar
modest_mandroid said:
Sorry for being late to the party again.. Here goes my attempt at an explanation though:
Essentially, a CWM flashable zip is just a zip file with the file system replicated in it. So for example, if you wanted to add swype, and you know Swype.apk would regularly go in /system/app, then you would create a blank folder called 'system', and another folder inside system called 'app', and put your Swype.apk inside that. (/system/app/Swype.apk)
After that, all that's left is to build an update script. So, from your root directory (where your system folder is), you would make another directory called META-INF, with a folder inside called 'com', another one inside that called 'google', and finally one called 'android' inside that (/META-INF/com/google/android), you put a text file in there called 'update-script' that tells recovery what you want to do (in this case, copy swype over to the corresponding directory on the file system).
http://forum.xda-developers.com/showthread.php?t=641223
^There's a guide for how to make those. You can also pick apart any rom you find in the dev section and check out the update script for reference.
After that, it's just a matter of zipping up all the contents in your root directory, then signing the zip with testsign.jar
Click to expand...
Click to collapse
Is there a way from the CWM interface to do the same with a backup you create? I noticed backups are not in the same format, they are usually .img, .tar, and an md5 file?

10 cycle battery mod

Here is a 10 cycle battery mod
Instructions:copy "framework-res.apk"to your PC
Rename .apk to .rar(zip) then right click"framework-res.rar"then extract it with WinRAR(WinZip)
Enter framework-res\res\drawable-hdpi and select"stat_sys_battery_0.png" to "stat_sys_battery_100.png",total 101 pictures which from your sources folder and copy all of them to the destination,replace older files like these
When you finish doing that back to find folder"framework-res",then use WinRAR to compress it to a .APK file the"archive name" is end with .apk And "Compression method" is "Store"
Modify the attribution of this apk!Its attribution is "rw-r--r--"
Modify with Root Explorer or other programs and now copy "framework-res .apk in system/app
Reboot and enjoy.
I think that there are easier ways to do this,but i'm a beginner.
Here is link:www.abcdownload.ro/lbuqftrgc938.html]circle battery mod.rar
Thank you very much, but the link it's broken. Could you repair it?
Uan_ar said:
Thank you very much, but the link it's broken. Could you repair it?
Click to expand...
Click to collapse
Here is the link:http://www.mediafire.com/?6o7r6wy2gu3bnyw
Thank you very much.
Let me tell you my experience:
I tried this method but it didn't work out in my case, i got bootloop always. After some research, it seems that i got a problem with the sign of the file, and this is what i did and worked out:
Fase 1:
a) be root;
b.) copy with root explorer (or somelike app) from system/framework the file framework-res.apk to the SD;
c) move it to the PC;
d) in the PC, you have to got all the icons you wish to change into a folder;
e) there, open with winrar or 7zip (this is wich i used) the file framework-res (don't rename, just choose 7zip to open that file), go to \res\drawable-hdpi (you browse with 7zip);
f) with Windows Explorer open the folder in wich you have the icons you want to put into framework-res, select all the files, and just drag and drope it into the window within 7zip and where you have open framework-res\res\drawable-hdpi;
g) close the window of winrar o 7zip.
Fase 2:
h) copy the file framework-res.apk from PC to SD;
i) there move it with Root Explorer to System and chane permissions to rw-, r--, r-- (you can´t change permissions in SD);
j) then move the file framework-res.apk from system to system/framework
k) reboot and done!!
Advice: altaugh the icons you copy are ready to go from 1% to 1%, it doesn't mean it will work in your device. You have to modify something else that (yet) i don't Know.
See you all.
password
umarian said:
Here is the link:http://www.mediafire.com/?6o7r6wy2gu3bnyw
Click to expand...
Click to collapse
password protected
pepooh696 said:
password protected
Click to expand...
Click to collapse
Hi! Me too!
JaviLerma said:
Hi! Me too!
Click to expand...
Click to collapse
You can download
Uan_ar said:
Thank you very much.
Let me tell you my experience:
I tried this method but it didn't work out in my case, i got bootloop always. After some research, it seems that i got a problem with the sign of the file, and this is what i did and worked out:
Fase 1:
a) be root;
b.) copy with root explorer (or somelike app) from system/framework the file framework-res.apk to the SD;
c) move it to the PC;
d) in the PC, you have to got all the icons you wish to change into a folder;
e) there, open with winrar or 7zip (this is wich i used) the file framework-res (don't rename, just choose 7zip to open that file), go to \res\drawable-hdpi (you browse with 7zip);
f) with Windows Explorer open the folder in wich you have the icons you want to put into framework-res, select all the files, and just drag and drope it into the window within 7zip and where you have open framework-res\res\drawable-hdpi;
g) close the window of winrar o 7zip.
Fase 2:
h) copy the file framework-res.apk from PC to SD;
i) there move it with Root Explorer to System and chane permissions to rw-, r--, r-- (you can´t change permissions in SD);
j) then move the file framework-res.apk from system to system/framework
k) reboot and done!!
Advice: altaugh the icons you copy are ready to go from 1% to 1%, it doesn't mean it will work in your device. You have to modify something else that (yet) i don't Know.
See you all.
Click to expand...
Click to collapse
Thanks bro, working grate
sad, that not by 1%

[Guide] Extracting .apk files from your Installed Apps

Ok, so the story behind this mini-tutorial is that I upgrade their phones periodically, as part of the upgrade process I have to wipe the phones and a nandroid backup doesn't always work.
Titanium Back Up is another option, But sometime i really would like to extract the .apk files from the Apps downloaded from Market.
Hence, I had to figure out a way to extract the .apk files from my phone so I could install them on theirs.
Here's how it's done:
There are two ways of extracting .apk files from your device:
Using a file manager like "EStrongs File Manager" or "ASTRO File Manger" (downloadable from the Market), or
Manually extracting .apk files through the Android SDK.
Method #1 - Using a file manager​Prerequisite: Rooted device
Using ES File Manager
1) Open ES File Manager
2) Click on the menu button of your device
3) Click on "Manager"
4) Click on "App Manager"
5) Long press on app you want to extract
6) Click on "backup"
7) Extracted .apk files will be placed on the "backups" directory of your sd card
Using ASTRO
1) Open ASTRO File Manager
2) Click on the menu button of your device
3) Click on "tools"
4) Click on "Application Manager/Backup"
5) Choose apps to backup and click on "backup" to finish
6) Extracted .apk files will be placed on the "backups" directory of your sd card
Method #2 - Using the Android SDK​
Prerequisites:
- Rooted phone
- Android SDK
- Android USB driver
To extract a .apk file from your device using the Android SDK:
1) Plug your “Rooted” Android device into your computer via the included USB cable.
2) From your adb command line (usually C:\android-sdk-windows\tools\) type “adb shell“ and press enter
3) Switch to root user, type “su“ and press enter
4) type “cd data/app“ and press enter
5) List all the installed apk files, type “ls“ and press enter (find the one you want to extract)
In another command window, pull one of the files on to your computer by typing:
“adb pull /data/app/application.apk name.apk” and press enter
Example:
“adb pull data/app/com.mauri.aplikeishon.apk aplikeishon.apk”
You can find the extracted .apk files in the /tools/ directory of your SDK (usually C:\android-sdk-windows\tools\)
Man the Sensation General forum is on fire with good post right now, this is the third one I have read in 45 minutes. I would have hit the thanks button but I am out of thanks right now. I just hope people do not use this for piracy.
That will be really useful for me, but wouldn't it be easier to use App2zip?
T-Macgnolia said:
Man the Sensation General forum is on fire with good post right now, this is the third one I have read in 45 minutes. I would have hit the thanks button but I am out of thanks right now. I just hope people do not use this for piracy.
Click to expand...
Click to collapse
Yeah hope so.. :angel: :angel:
ridder215215 said:
That will be really useful for me, but wouldn't it be easier to use App2zip?
Click to expand...
Click to collapse
Depends on ur choice and need boss..!! There are 100 ways to do a thing and i have mentioned three, and u mentioned 4th :victory:
This is my post!
This is MY POST! Some credit and a link to the original post would be the right thing to do. What a ****!
mauweb.net/3.0/en/technology/17-android/100-icon-androidextracting-apk-files-from-your-android .html
Super-Android said:
Ok, so the story behind this mini-tutorial is that I upgrade their phones periodically, as part of the upgrade process I have to wipe the phones and a nandroid backup doesn't always work.
Titanium Back Up is another option, But sometime i really would like to extract the .apk files from the Apps downloaded from Market.
Hence, I had to figure out a way to extract the .apk files from my phone so I could install them on theirs.
Here's how it's done:
There are two ways of extracting .apk files from your device:
Using a file manager like "EStrongs File Manager" or "ASTRO File Manger" (downloadable from the Market), or
Manually extracting .apk files through the Android SDK.
Method #1 - Using a file manager​Prerequisite: Rooted device
Using ES File Manager
1) Open ES File Manager
2) Click on the menu button of your device
3) Click on "Manager"
4) Click on "App Manager"
5) Long press on app you want to extract
6) Click on "backup"
7) Extracted .apk files will be placed on the "backups" directory of your sd card
Using ASTRO
1) Open ASTRO File Manager
2) Click on the menu button of your device
3) Click on "tools"
4) Click on "Application Manager/Backup"
5) Choose apps to backup and click on "backup" to finish
6) Extracted .apk files will be placed on the "backups" directory of your sd card
Method #2 - Using the Android SDK​
Prerequisites:
- Rooted phone
- Android SDK
- Android USB driver
To extract a .apk file from your device using the Android SDK:
1) Plug your “Rooted” Android device into your computer via the included USB cable.
2) From your adb command line (usually C:\android-sdk-windows\tools\) type “adb shell“ and press enter
3) Switch to root user, type “su“ and press enter
4) type “cd data/app“ and press enter
5) List all the installed apk files, type “ls“ and press enter (find the one you want to extract)
In another command window, pull one of the files on to your computer by typing:
“adb pull /data/app/application.apk name.apk” and press enter
Example:
“adb pull data/app/com.mauri.aplikeishon.apk aplikeishon.apk”
You can find the extracted .apk files in the /tools/ directory of your SDK (usually C:\android-sdk-windows\tools\)
Click to expand...
Click to collapse
maurinet said:
This is MY POST! Some credit and a link to the original post would be the right thing to do. What a ****!
mauweb.net/3.0/en/technology/17-android/100-icon-androidextracting-apk-files-from-your-android .html
Click to expand...
Click to collapse
thanks for informing this ..and it was reported
OP has been notified.
Cheers big-ears!
Easier Method
Why not just use a root file manager and navigate to the file and copy it?
root>data>app
- tom
or just use Titanium Backup... haha
Some backup apps like Android Assistant also allows to create .apk from installed apps
https://play.google.com/store/apps/...wxLDEsImNvbS5hZHZhbmNlZHByb2Nlc3NtYW5hZ2VyIl0.
tnx dude
it was helpful for unrooted phones.
"Share apps" also do this
Mobogenie
Well years have passed and android has now embarked on the L journey but I recently saw this post and remembered i too had the need to backup the apps on my phone so I used a function of the desktop version of the mobogenie software.:good:
You can use my this tool to extract apk file
https://play.google.com/store/apps/details?id=com.andatsoft.myapk.fwa
Its very light and fast.
How to extract apk files in Android
Here's how I extract apk files in android:
1. Download and install APK Extractor in your device. It is free, and is compatible in almost all of the Android devices. Another plus point is it does not even require root or anything to work.
2. After you have it installed, launch it. There you will see a list of apps which are in your device, which include the apps you’ve installed later, along with the system apps. Long press any app you want to extract (you can select multiple or all apps at once), and click on the extract option you see in the top. You will also have the option to share via Bluetooth or messaging.
3. You’re done, you will see the extracted apps as AppName_AppPackage_AppVersionName_AppVersionCode.apk, which will be saved in the path /sdcard/ExtractedApks/ by default.
Related Posts
Source: http://appslova.com/how-to-extract-apk-files-in-android/
:cyclops:

How To Theme The Dialer Of A110 Without PC.

Hello Friends,
I'm going to share a simple way to theme your dialer screen(Change Its Background) without using PC.
Requirements:-
Your A110 For Sure
And A Few Apps Installed In That They Are :
1.X-plore File Manager
2.Batch Image Converter(Optional)
(You Will Find Both Apps On Play Store)
But Hey Keep In Mind This Tutorial Is For Rooted Devices Only.
Now How To Do This :
Step-1) First Of All Open X-plore.
1.1)Press Menu Button Choose Configuration In The Pop-Up Menu.
1.2)In That Menu Change The Root Access From Normal To SuperUser+Mount Writable.
Note: If Already Done Skip This Step.
Step-2)Open "Root/system/apps" .
Step-3)Look For The "Contacts.apk" File There.
Step-4)Copy That File Somewhere In The SD Card.
Step-5)Now Move To The Location In The SD Card Where You Pasted The "Contacts.apk" .
Step-6)Now Touch & Hold The File For A While & A Drop Down Menu Will Appear, From That Menu Choose The Option "Open Apk As Zip" .
Step-7)Now The "Contacts.apk" Will Open As A Zip File & A List Of A Few Folders And Files Will Be Shown Below.
Step-8)In The Folders There Will Be A Folder Named "res" Open That Folder, Again A List Of Folders Will Appear, Select "drawable-nodpi" Folder From Them.
Step-9)In That Folder There Will Be A File Named As "background_dial_holo_dark.png"
Now Replace This File With Any File Of Your Choice.
Note:- The New File Should Be Renamed As "background_dial_holo_dark" & Should Have The Extension As ".png" And Its Resolution Would Be Same As That Of The Original File (480x854 In Most Cases).
You Can Download A ".png" File From Internet, But If You Are Not Able To Find Any File With That Extension And Resolution, Then Use "Batch Image Converter to Convert Any Image File To A ".png" File.
Step-10)When You Are Done, Once Again Touch And Hold On The "Contacts.apk" (The Same File You Are Working On) And From The Drop Down Menu Choose"Zip Back To Apk".
Step-11)Now Place Your Modified "Contacts.apk" File In "Root/system/apps" After Deleting Original "Contacts.apk" From There (Make A Backup Of The Original App In Case You Need That).
Step-12)Now Set The Permissions Of This (New/Modified) "Contacts.apk" As rw-r--r--. (By Touching & Holding The File & Selecting "Permissions" From The Drop Down Menu When You Are In Root/sytem/apps).
Done.
Reboot Your Phone Now !!!
And See The New Dialer.
Hit Thanks If You Find It Helpful.
Sent From My A110

[Q] how to fix parsing error when trying to install modified app ?

here's what I did.
I don't have a computer. I changed apk to zip and unzipped it. Then I used Axel xml/editor viewer to change things. Then saved it and compressed file to zip then changed to apk. I tried using Zip Signer from app store. I still get the same parsing error when I click app to install.
What do I do to fix it ? apk editor pro works and installs the modded app but won't load the modded app to change things again so I don't want to use that.
Anyone have an answer ?
Try this process, instead. It works famously for me.
First, copy the .apk to a safe place just in case!
1. Extract your .apk to a folder.
2. Edit what you want.
3. Open up your original .apk in an archive manager (7zip, WinRAR).
4. Navigate to the directory where your edited files will go while in the archive manager.
5. Drag-and-drop your edited files into the archiver window which has the .apk open. Click "OK" if it asks if you're sure.
6. Close that window, ADB push it to /[wherever], and install.
Done! :good:
thenookieforlife3 said:
Try this process, instead. It works famously for me.
First, copy the .apk to a safe place just in case!
1. Extract your .apk to a folder.
2. Edit what you want.
3. Open up your original .apk in an archive manager (7zip, WinRAR).
4. Navigate to the directory where your edited files will go while in the archive manager.
5. Drag-and-drop your edited files into the archiver window which has the .apk open. Click "OK" if it asks if you're sure.
6. Close that window, ADB push it to /[wherever], and install.
Done! :good:
Click to expand...
Click to collapse
I said I don't have a computer. I can't do that.
I read the problem is the apk is lot aligned. Can I run commands in a Terminal Emulator on my phone ?
1. Compress back to zip. 2 sign zip. 3 change to apk. 4 zipalign apk.
How do I zipalign ? I tried spme things I read for commands but don't know if I'm doing it right.
ryan012 said:
I said I don't have a computer. I can't do that.
I read the problem is the apk is lot aligned. Can I run commands in a Terminal Emulator on my phone ?
1. Compress back to zip. 2 sign zip. 3 change to apk. 4 zipalign apk.
How do I zipalign ? I tried spme things I read for commands but don't know if I'm doing it right.
Click to expand...
Click to collapse
Oops. Missed that part.
I have no experience with the commands you are referring to, therefore I cannot help you.
Sorry.
thenookieforlife3 said:
Oops. Missed that part.
I have no experience with the commands you are referring to, therefore I cannot help you.
Sorry.
Click to expand...
Click to collapse
It's like this, http://stackoverflow.com/questions/...apk-with-7zip-cause-error-during-installation
I don't know how to do the commands or which ones. I tried the ones shown but didn't do anything. I don't know if I did it right.
Stealthy App
Hi there i want to modify an app( Want add stealth Option in menu) please tell my how i can modify app with some easy editor softwares not complicated. Share some links.
Thanks in advance. hoping you will help me!
Scarface47 said:
Hi there i want to modify an app( Want add stealth Option in menu) please tell my how i can modify app with some easy editor softwares not complicated. Share some links.
Thanks in advance. hoping you will help me!
Click to expand...
Click to collapse
For reading all the xml files I use Axel (XML Editor / Viewer)
https://play.google.com/store/apps/...aystore&pcampaignid=APPU_pzkdVL_aBcmONsKggsgE
You have to click open as on xml and choose axel then click Save As... save it somewhere with the same name as the file name as it is.
then copy the saved file into the folder of where you got it from and overwrite it. Make sure name is same. Now open the saved xml again in Axel ans now you can modify it, then click Save before exiting it.
For changing other things like button images I haven't done that.
I changed what app says inside and what some buttons says. The Strings.XML file is where buttons are or some other things
there's one called APK Editor Pro but it only lets you change app one time. It won't load modified one.
Here, https://play.google.com/store/apps/...aystore&pcampaignid=APPU_pzkdVL_aBcmONsKggsgE
is anyone able to tell me how to fix it ? How to get the apk aligned not using a computer ?

Categories

Resources