[GUIDE] How to Fix your Rotation Lag on GB..for windows - Epic 4G Android Development

This is a guide to show you how to modify your own framework.jar to fix your rotation lag!!!!!
I am in NO way responsible for anything that happens to your device or PC in this process
This is my own experience and I will not guarantee that this will work for you but more was discussed in this thread by AmericanJedi001 http://forum.xda-developers.com/showthread.php?t=1347012 and this thread by chris41g http://forum.xda-developers.com/showthread.php?t=1143221
and Thanks to Americanjedi001 and Chris41g for their work into the rotation lag fix and making this guide possible
REQUIREMENTS
1.Java JDK 7u2 installed on your PC
2.AutoSmali to decompress/rebuild classes.dex(attached)
3.Rooted device
4.ES file explorer (or some other root explorer but I am using ES for this guide)
(I suggest wiping x3 first then doing a horizontal calibration. Don't calibrate after. Then I suggest fixing permissions once you are done)
Steps
1.Ok, so first you will need to download the Java JDK if you don't have it already. Here is a link:http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u2-download-1377129.html
When installing make sure to note where it is installing to. Usually C:/Program Files/Java/jre7/jdk1.7.0_02 Let it install.
2.Browse to your Java folder in Program Files. Browse to the "jre7" folder. Move the jdk1.7.0_02 folder and all it's contents to C:
3. Make a new folder on your C: drive named "framework" without the quotes.
4.Download the ES file explorer or use another root explorer. If using ES once it is installed open it up and hit the menu button, then settings, scroll down and make sure your home directory is just "/" without the quotes and the box ROOT EXPLORER is checked.
5.In ES browse to /system/framework and long press on the file framework.jar and select "copy". You will see a white box with a blue arrow appear at the bottom.
6.Now in ES browse to /sdcard and press the white box with the arrow and then press the framework.jar file and it will copy the file.
7.Now exit ES and plug your Epic into your PC. Browse to your Epic and you will see the framework.jar file that we just copied. Copy this file to the C:/framework folder we made earlier and after that you can delete it off of your sdcard from within windows.
8.Now open up command prompt and browse to the framework folder by using the command
cd C:\framework
Click to expand...
Click to collapse
then we will use the command
C:\jdk1.7.0_02\bin\jar -xvf framework.jar
Click to expand...
Click to collapse
This will extract 1 folder and 2 files into the framework folder we created. Meta-INF, preloaded-classes, and classes.dex and it's easier to leave cmd open at this point
9.DELETE framework.jar from the framework folder and LEAVE the other 3. Download the AutoSmali.zip attached below and make a new folder on your desktop and name it AutoSmali. Extract the files from the zip into the AutoSmali folder. Also move the classes.dex file from the framework folder to the AutoSmali folder.
10.Open the AutoSmali folder and run baksmali.bat and it will open another command prompt window telling you to make sure that the .dex file is the only .dex file in this folder and press any key to continue.. after pressing any key it will start creating a new folder inside the AutoSmali folder named AutoBakSmali_Out. Wait for it to decompile and when it's done it will tell you to press any key and it will close.
11.Open the AutoBakSmali_Out folder and browse to /android/view/ and scroll to the bottom to find a file named "WindowOrientationListener.smali" Right-click this file and open with notepad.
12.In notepad you are looking for this line.
.method public constructor <init>(Landroid/content/ContextV
.registers 3
.parameter "context"
.prologue
.line 54
const/4 v0, 0x3
Click to expand...
Click to collapse
Now where it says .line 54 could also be .line 67. In CM7 it's 67 and in legendary rc2.2 it was 54 for me. So use the find function in notepad CTRL+F and search for either .line 54 or .line 67 because there is only one .line 54 or .line 67 in the whole file.
Once you find that line right under it, it will say const/4 v0, 0x3 and you will need to change and ONLY change the 3 in 0x3 to a 0 so it now looks like this.
.method public constructor <init>(Landroid/content/ContextV
.registers 3
.parameter "context"
.prologue
.line 54 (or 67)
const/4 v0, 0x0
Click to expand...
Click to collapse
13.Once you changed the 3 to a 0 you can now press CTRL+S and make sure it saves and then close out of Notepad. Now go back all the way to the AutoBakSmali_Out folder and you will see 3 different folders inside. These must be moved to the AutoSmali_In folder. The easiest way to do this is to highlight all three folders and an option to move the selected items will appear on the left side of the window. This will open another window. Browse to the AutoSmali_In folder and select move.
14.Run smali.bat and it will say make sure the folders you want compiled is in AutoSmali_In and to press any key... it will say it is being compiled so just wait and when it's done it will say press any key to exit. This will create a new file in the AutoSmali folder called "AutoSmali_Out.dex
15.Delete the classes.dex file from the AutoSmali folder and rename AutoSmali_Out.dex to classes.dex move this classes.dex back to the framework folder on your C: drive
16.Now either open back up cmd and browse to your framework folder or if you were a good boy you left it up. Now you have to recompile the framewrok.jar so make sure your old one is deleted and not still in there then run this command
C:\jdk1.7.0_02\bin\jar -cvf framework.jar *
Click to expand...
Click to collapse
This will make a new framework.jar file in the framework folder. Plug your Epic back in and copy this new framework.jar file to the root of your sd card.
17.Open ES file explorer on your Epic and browse to /system/framework and rename your old framework.jar to something else so you have a backup. Then browse to /sdcard and you will see the framework.jar file we just created. Long press and choose "move to" this time. It will open a small window and you will have to browse to /system/framework then press ok.
18.Now enjoy your lag-free rotation. You can delete all the files in the AutoSmali_In folder and the framework folder. I keep the rest because flashing to different roms or way different kernels seem to break this. I only use this framework.jar for the exact ROM and KERNEL I got the original framework.jar from. I switch back to the backup one before flashing. Then make a new one from tat framework.jar
Happy Hacking!!!!!!!!!​

Wow great detail. Even people with no experience whatsoever with this kind of stuff should be able to follow that with no problem at all! Excellent tutorial!

flastnoles11 said:
Wow anybody having rotation lag should be able to do this very easily with the detailed instructions you gave. Great job!
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
Thank You!!!

flastnoles11 said:
Wow great detail. Even people with no experience whatsoever with this kind of stuff should be able to follow that with no problem at all! Excellent tutorial!
Click to expand...
Click to collapse
+ 2 ;-)
Thanks man!
Sent via Decadent Epic 4G CM7

Nice Guide!
A note though, changing it from 3 all the way to 0 could be unwanted. Some rotation delay can be desirable to keep the phone from rotating non-stop.
That's just my 2 cents.

The_Legendary said:
This is a guide to show you how to modify your own framework.jar to fix your rotation lag!!!!!
I am in NO way responsible for anything that happens to your device or PC in this process
This is my own experience and I will not guarantee that this will work for you but more was discussed in this thread by AmericanJedi001 http://forum.xda-developers.com/showthread.php?t=1347012 and this thread by chris41g http://forum.xda-developers.com/showthread.php?t=1143221
and Thanks to Americanjedi001 and Chris41g for their work into the rotation lag fix and making this guide possible
REQUIREMENTS
1.Java JDK 7u2 installed on your PC
2.AutoSmali to decompress/rebuild classes.dex(attached)
3.Rooted device
4.ES file explorer (or some other root explorer but I am using ES for this guide)
(I suggest wiping x3 first then doing a horizontal calibration. Don't calibrate after. Then I suggest fixing permissions once you are done)
Steps
1.Ok, so first you will need to download the Java JDK if you don't have it already. Here is a link:http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u2-download-1377129.html
When installing make sure to note where it is installing to. Usually C:/Program Files/Java/jre7/jdk1.7.0_02 Let it install.
2.Browse to your Java folder in Program Files. Browse to the "jre7" folder. Move the jdk1.7.0_02 folder and all it's contents to C:
3. Make a new folder on your C: drive named "framework" without the quotes.
4.Download the ES file explorer or use another root explorer. If using ES once it is installed open it up and hit the menu button, then settings, scroll down and make sure your home directory is just "/" without the quotes and the box ROOT EXPLORER is checked.
5.In ES browse to /system/framework and long press on the file framework.jar and select "copy". You will see a white box with a blue arrow appear at the bottom.
6.Now in ES browse to /sdcard and press the white box with the arrow and then press the framework.jar file and it will copy the file.
7.Now exit ES and plug your Epic into your PC. Browse to your Epic and you will see the framework.jar file that we just copied. Copy this file to the C:/framework folder we made earlier and after that you can delete it off of your sdcard from within windows.
8.Now open up command prompt and browse to the framework folder by using the command
then we will use the command
This will extract 1 folder and 2 files into the framework folder we created. Meta-INF, preloaded-classes, and classes.dex and it's easier to leave cmd open at this point
9.DELETE framework.jar from the framework folder and LEAVE the other 3. Download the AutoSmali.zip attached below and make a new folder on your desktop and name it AutoSmali. Extract the files from the zip into the AutoSmali folder. Also move the classes.dex file from the framework folder to the AutoSmali folder.
10.Open the AutoSmali folder and run baksmali.bat and it will open another command prompt window telling you to make sure that the .dex file is the only .dex file in this folder and press any key to continue.. after pressing any key it will start creating a new folder inside the AutoSmali folder named AutoBakSmali_Out. Wait for it to decompile and when it's done it will tell you to press any key and it will close.
11.Open the AutoBakSmali_Out folder and browse to /android/view/ and scroll to the bottom to find a file named "WindowOrientationListener.smali" Right-click this file and open with notepad.
12.In notepad you are looking for this line.
Now where it says .line 54 could also be .line 67. In CM7 it's 67 and in legendary rc2.2 it was 54 for me. So use the find function in notepad CTRL+F and search for either .line 54 or .line 67 because there is only one .line 54 or .line 67 in the whole file.
Once you find that line right under it, it will say const/4 v0, 0x3 and you will need to change and ONLY change the 3 in 0x3 to a 0 so it now looks like this.
13.Once you changed the 3 to a 0 you can now press CTRL+S and make sure it saves and then close out of Notepad. Now go back all the way to the AutoBakSmali_Out folder and you will see 3 different folders inside. These must be moved to the AutoSmali_In folder. The easiest way to do this is to highlight all three folders and an option to move the selected items will appear on the left side of the window. This will open another window. Browse to the AutoSmali_In folder and select move.
14.Run smali.bat and it will say make sure the folders you want compiled is in AutoSmali_In and to press any key... it will say it is being compiled so just wait and when it's done it will say press any key to exit. This will create a new file in the AutoSmali folder called "AutoSmali_Out.dex
15.Delete the classes.dex file from the AutoSmali folder and rename AutoSmali_Out.dex to classes.dex move this classes.dex back to the framework folder on your C: drive
16.Now either open back up cmd and browse to your framework folder or if you were a good boy you left it up. Now you have to recompile the framewrok.jar so make sure your old one is deleted and not still in there then run this command
This will make a new framework.jar file in the framework folder. Plug your Epic back in and copy this new framework.jar file to the root of your sd card.
17.Open ES file explorer on your Epic and browse to /system/framework and rename your old framework.jar to something else so you have a backup. Then browse to /sdcard and you will see the framework.jar file we just created. Long press and choose "move to" this time. It will open a small window and you will have to browse to /system/framework then press ok.
18.Now enjoy your lag-free rotation. You can delete all the files in the AutoSmali_In folder and the framework folder. I keep the rest because flashing to different roms or way different kernels seem to break this. I only use this framework.jar for the exact ROM and KERNEL I got the original framework.jar from. I switch back to the backup one before flashing. Then make a new one from tat framework.jar
Happy Hacking!!!!!!!!!​
Click to expand...
Click to collapse
You also may want to mention in the Title that this is for EH17 and CM7... As i'm pretty sure line numbers for GB builds have changed over the last few... Don't quote me here, though.
EDIT: DERP! Guess the line numbers haven't changed... Either way, maybe add in that it's for GB builds. =)

hoffman1984 said:
You also may want to mention in the Title that this is for EH17 and CM7... As i'm pretty sure line numbers for GB builds have changed over the last few... Don't quote me here, though.
EDIT: DERP! Guess the line numbers haven't changed... Either way, maybe add in that it's for GB builds. =)
Click to expand...
Click to collapse
Ok I do fine with everything up to the point of step 13. I go back to the Autosmail_out folder and there is five files not 3. then next there is no autosmali_In folder.
Am i doing something wrong??

Aloth600 said:
Ok I do fine with everything up to the point of step 13. I go back to the Autosmail_out folder and there is five files not 3. then next there is no autosmali_In folder.
Am i doing something wrong??
Click to expand...
Click to collapse
It's ok just move all the files and folders rather 3 or 5 into Autosmali_In, if you don't have the Autosmali_In folder just create it in the same folder that smali.bat is in.

Related

Help signing Apk?

I had a mod done to my widgetlocker apk , but i cant adb push it. Can someone please sign it for me so i can install using root explorer? Im not sure how difficult it is , so if its insanely hard or something im sorry for asking haha . Thanks .
Get apkmanager and it will sign it for you. Plus apk manager will let you decompile and recompile then sign so you can mod anything and it's a whole lot easier.
Sent from my Incognito Droid using Tapatalk
1. Add your JDK Directory to the Path variable (Right click on My Computer, Properties, Advanced, Environment Variables)
2. At the command prompt, navigate to the containing folder
3. keytool -genkeypair
4. jarsigner -verbose APPNAME.apk mykey
5. Push the signed app
sorry guys but im not real sure what a JDK directory is or anything. I didnt do the mod myself. i made a donation and had it done by someone on here. Once they returned it to me via email they told me to adb push it.. but i do not have any exp doing that and was hoping someone could help me out... there would be a nicely themed widgetlocker.apk in it for you haha
Different problem, same answer.
I have been trying to install a custom framework res for a while now. I am on a Mac. I simply have been changing ext to zip, unzipping, making changes, rezipping, using mv command in terminal to change to apk, and pushing to phone. It hasn't even kind of worked. Could someone please help? Are there any steps I'm missing? Do I need to sign the framework res apk?
Please help
lucas.scott said:
I had a mod done to my widgetlocker apk , but i cant adb push it. Can someone please sign it for me so i can install using root explorer? Im not sure how difficult it is , so if its insanely hard or something im sorry for asking haha . Thanks .
Click to expand...
Click to collapse
Post it or post a link to it and I'll sign it.
That said, if you modify one apk it is highly unlikely you will not modify others (which is a good thing). Therefore, I would highly recommend getting acquainted with the proper tools.
First you will need to install the Android SDK on your computer. Here is the link:
http://developer.android.com/sdk/index.html Bear in mind that to use it you will also need to install the JDK (Java Developers Kit) on your computer but the links are in the instructions so it is very easy.
In addition to the SDK download 7zip if you do not already have it. It is a free archive utility that enables opening and editing the contents of archives without extracting them.
Lastly, if you just plan on editing images download Stericson's autosign tool so that once you finish changing images you can resign the apk which is necessary to install. However, if you want to delve a little deeper into apps I highly recommend Apk Manager. Not only does it include a signing tool but can also decompile apks so that you can do deeper editing.
dkdude36 said:
I have been trying to install a custom framework res for a while now. I am on a Mac. I simply have been changing ext to zip, unzipping, making changes, rezipping, using mv command in terminal to change to apk, and pushing to phone. It hasn't even kind of worked. Could someone please help? Are there any steps I'm missing? Do I need to sign the framework res apk?
Please help
Click to expand...
Click to collapse
The framework-res.apk does not need to be resigned. In fact, there are few, if any, reasons why any system app would need to be resigned. Therefore, that should not be your issue.
That said, in the steps you listed above I see several areas which could problems so, it would be beneficial if you provided more information. Here are my initial comments:
1)When you are rezipping the apk are you recompressing the folder created when you unzipped the apk OR, are you selecting the contents of the folder (e.g. AndroidManifest.xml, res folder, etc. ) and compressing them? It is important to do it the second way I described.
2)No need to bother with the mv command as you are using it. Once you've rezipped the apk (it will likely be named Archive.zip) you will need to rename it "framework-res.apk" at which point you should only need to push the apk back to the phone. The process would go like this:
a)put modified framework-res.apk into the tools folder (located in the SDK folder)
b)open up terminal.app
c)type "cd " (without the quotes) and drag the tools folder located in the sdk folder into the terminal terminal window, and press Enter
d)type "./adb remount" (without the quotes) and press Enter
e)type "./adb push framework-res.apk /system/framework/" (without the quotes) and press Enter
f)type "./adb reboot" (without the quotes) and press Enter. (The phone will reboot which is necessary to see your changes)
g)Marvel at your accomplishment
Obviously, you should make a nandroid backup of your phone first so that in case you mess anything up you can restore it as if nothing happened.
If you have any more questions simply post them and I'd be happy to answer them. I bought and rooted my EVO the day it first came out which was before there were any Mac tutorials and have since become fluent in adb due to lots of trial and error.
could you possibly help me with my widgetlocker apk? i have adb pushed ( finally learned how to do that on mac) and it still wont install . have contacted ultralynx (he did the mod) but im not getting a response...thank you .
lucas.scott said:
could you possibly help me with my widgetlocker apk? i have adb pushed ( finally learned how to do that on mac) and it still wont install . have contacted ultralynx (he did the mod) but im not getting a response...thank you .
Click to expand...
Click to collapse
Hmmm... If ultralynx did the mod for you it is probably already signed. I've seen some of his threads and he clearly knows what he is doing. And, signing is apk-modding-101.
Where did you ./adb push the widget locker to? /system/app/ or /data/app/? Adb push does not install the apk if you push to /data/app/
My recommendation would be to do the following:
1)Using root explorer, find and delete the widgetlocker.apk from wherever you adb pushed it on your phone. Exit out of Root Explorer.
2)Reboot phone
3)Confirm that you don't have any previously installed versions of WIdget Locker on your phone. From your home screen press the menu button and navigate to Settings-->Applications-->Manage Applications-->All and look for Widget Locker. If you find it select and uninstall it.
4)Assuming the modified widget locker.apk was signed you should not need to mess with adb. You certainly can but it is not necessary and I'd hate to confuse you with the commands. So... Instead, connect the EVO to your computer and mount as disk drive. Put the widget locker.apk you want to install on your sdcard. Personally, I would recommend creating a folder named Apps and putting it in there.
5)Unmount phone as disk drive and unplug phone from computer
6) Using any file manager (Root explorer is fine) navigate to the apk on your sdcard and select install.
If that doesn't work let me know
Found problem, need answer
okolowicz said:
The framework-res.apk does not need to be resigned. In fact, there are few, if any, reasons why any system app would need to be resigned. Therefore, that should not be your issue.
That said, in the steps you listed above I see several areas which could problems so, it would be beneficial if you provided more information. Here are my initial comments:
1)When you are rezipping the apk are you recompressing the folder created when you unzipped the apk OR, are you selecting the contents of the folder (e.g. AndroidManifest.xml, res folder, etc. ) and compressing them? It is important to do it the second way I described.
2)No need to bother with the mv command as you are using it. Once you've rezipped the apk (it will likely be named Archive.zip) you will need to rename it "framework-res.apk" at which point you should only need to push the apk back to the phone. The process would go like this:
a)put modified framework-res.apk into the tools folder (located in the SDK folder)
b)open up terminal.app
c)type "cd " (without the quotes) and drag the tools folder located in the sdk folder into the terminal terminal window, and press Enter
d)type "./adb remount" (without the quotes) and press Enter
e)type "./adb push framework-res.apk /system/framework/" (without the quotes) and press Enter
f)type "./adb reboot" (without the quotes) and press Enter. (The phone will reboot which is necessary to see your changes)
g)Marvel at your accomplishment
Obviously, you should make a nandroid backup of your phone first so that in case you mess anything up you can restore it as if nothing happened.
If you have any more questions simply post them and I'd be happy to answer them. I bought and rooted my EVO the day it first came out which was before there were any Mac tutorials and have since become fluent in adb due to lots of trial and error.
Click to expand...
Click to collapse
Thanks for the help okolwoiz. I am fluent in adb and have been hacking for a while. I think I know the problem. The mod I was trying to theme (drop down notifications bar) is a .9.png, which means it is automatically resized to fit the phone. These are different than normal .png files. I know i need to use a draw9 something file in the sdk, but I don't know how. Any help would be great. Thanks
Dk
yeah i have tried all of that . It always just says "Application not installed" . No matter how i get it on the phone . ore than happy to send it to you to see if its the file or my phone .
Thanks this thread has helped me and I was just wondering through aimlessly.. And stumbled upon tis thread.
Sent from my netarchy_toast, froyo beast of a machine evo!
glad it helped someone haha

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%

Amazingly simple method to zero shift meid\pesn for repair

Ok, I'm going to try to keep this brief and to the point. The simple method is this:
1) Put shifty in diag mode.
2) Open QPST's EFS Explorer
3) Create a empty folder off of root called "open sesame door", minus the quotes
4) Reboot phone
5) Put her back in diag mode
6) Open QPST's EFS Explorer again.. You'll notice your NVM directory is now unlocked.
7) Go to the sub dir "NUM" under NVM, and copy files 0, 1 and 1943 to wherever
8) File 0 is your pesn (reversed), file 1 is the checksum for pesn (reversed), and file 1943 is your meid. Attached to this are these files 0'ed out, with proper pesn checksum. Delete the originals off of phone, copy mine in their place, delete open sesame door dir and reboot. PRESTO! Both zero'ed and ready to be repaired.
Any help for someone who has none of those files in the folder? Thanks in advance.
Possibly..
Did you create the folder "open sesame door" off of your phones EFS root? If you did, did you spell sesame correctly? If you did, did you reboot your phone after creating said directory, then checked NVM dir only after rebooting? If the answer is yes to all of the above, then no I probably cannot help you =/
what baseband
what baseband is your shift?

[Q] How to modify lenovo-res.apk?

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.

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

Categories

Resources