New Set of Emoticons? - Galaxy Ace S5830 Q&A, Help & Troubleshooting

Is anyone out there that has another set of emoticons for the Ace 2 and an easy way to get it into our Ace 2?
I would much appreciate it. The Android-Smileys are getting worse with each version of Android ...

wrong section bro ask mod to move it

Why? It's a kind of development, because it's not just copy and paste.

Der-Knuffi said:
Why? It's a kind of development, because it's not just copy and paste.
Click to expand...
Click to collapse
Actually. it IS its just a bunch of PNGs to change, its not that hard. Even a five-year old can do it.

Ok, than tell me how to do it on Ace 2. I searched XDA and found different solutions for different phones.

I have a blue set of emoticons...

1 - Download/create an emoticon pack
2 - Get 7-zip or WinRAR or whatever on your PC
3 - Open up YOUR framework-res.apk with 7-zip
(If you don't know what that is, make sure your phone is rooted and follow 2nd set of instructions)
4 - Inside framework-res.apk, go to /res/drawable-hdpi/
5 - Copy/Drag the emoticons from wherever folder you put them and drop them inside framework-res.apk (7-zip)
Taking framework-res.apk:
1 - Go to Settings > Applications > Development > USB Debugging (make sure its checked)
2 - Run ADB and pull framework-res.apk
Code:
adb pull /system/framework/framework-res.apk \[I]where\you\want\you\place\it[/I]
(If you still don't know what I'm talking about then I will no longer help you.)

Ok,I get it, but I have some last questions:
1. I think at the end I should put the new framwork-res.apk back to where it came from, right? Which command do I have to use? Is it "adb push"?
2. I have to download the SDK for using adb, correct?
3. Is it possible to use ES File Explorer with root access instead of push and pull?

Der-Knuffi said:
Ok,I get it, but I have some last questions:
1. I think at the end I should put the new framwork-res.apk back to where it came from, right? Which command do I have to use? Is it "adb push"?
2. I have to download the SDK for using adb, correct?
3. Is it possible to use ES File Explorer with root access instead of push and pull?
Click to expand...
Click to collapse
1.Yes, Yes "adb push"
2. No, you can download 3 files only (adb.exe & adbwinapi.dll & adbwinusbapi.dll) not all SDK
3. Yes you can

Related

.png question

Is there a way i can change png files on my phone from my phone? I want to change the calling icon in the framework-res.apk. i found out a way to change it with an app in the market. But i dont know how to put it back in the apk. Help please.
find the picture --> backup it --> put in your picture with the same name and exactly the same bigness (pixels) --> bingo
cheers, stephan1
its not that easy. any other ideas anybody please.
Well if the file is a .9.png then it won't be that easy because these files are compiled to binary. (correct me if I'm wrong devs) You will need to do a little more reading to figure this one out. Also, you can't just "unzip" an apk and mess around with the pics and think that it's going to work when you zip it backup. My understanding is that you have to place the file that you are replacing into the compressed(i.e. zipped) apk.
Once again, Devs, correct me if I am wrong but all my info comes straight from using the search button...Try it out
jballz0682 said:
Well if the file is a .9.png then it won't be that easy because these files are compiled to binary. (correct me if I'm wrong devs) You will need to do a little more reading to figure this one out. Also, you can't just "unzip" an apk and mess around with the pics and think that it's going to work when you zip it backup. My understanding is that you have to place the file that you are replacing into the compressed(i.e. zipped) apk.
Once again, Devs, correct me if I am wrong but all my info comes straight from using the search button...Try it out
Click to expand...
Click to collapse
You're right, and wrong. You can unzip an .apk and mess with the images, then rezip it back up and rename it to (yourapk).apk from (yourapk).zip, you just need to sign it when you're done.
I haven't messed with anything entitled ".9.png", but if it's binary then hex editing it is probably the quickest way to edit it, otherwise there is a program called 'apktool' that can decompile apk's and is pretty effective, I've used it a few times
dmullins80 said:
its not that easy. any other ideas anybody please.
Click to expand...
Click to collapse
Pull framework-res.apk from your phone, to your computer's desktop. Use Winrar, or a similar archive extracting program, to open the file, then click Extract -> (some folder on your desktop that has nothing else in it)
Find the picture you want to change, make sure your new picture is the same dimensions (e.g; 320x480) and is the same type of file (e.g; .png) and replace the stock image with your custom image.
Once that's done, highlight all files and folders in the root of the folder you extracted framework-res.apk to -> (if using Winrar) Right-Click -> Add to archive -> Change archive type to .zip and click OK -> Right click on your newly created framework-res.zip and change the extension to .apk (you might need to open a windows explorer window and select tools->folder options->view tab->uncheck 'hide extensions for known filetypes).
Once that's done, you'll need to sign your new framework-res.apk. You can do that with EasySign. Download EasySign to your desktop, extract the archive and open a Windows Command Prompt (Start->All Programs->Accessories->Command Prompt). You'll need the Java JDK installed.
Drag your newly created framework-res.apk file into your EasySign folder on your desktop and down the following;
Type the following, assuming you have Windows 7 or Vista:
Code:
cd C:\Users\(your username on your PC)\Desktop\EasySign
You should now see the following;
Code:
C:\Users\(your username on your PC)\Desktop\EasySign>
You should now type the following;
Code:
java -jar signapk.jar testkey.x509.pem testkey.pk8 framework-res.apk framework-res_signed.apk
It'll take a moment, then you'll see;
Code:
C:\Users\(your username on your PC)\Desktop\EasySign>java -jar signapk.jar testkey.x509.pem testkey.pk8 framework-res.apk framework-res_signed.apk
C:\Users\(your username on your PC)\Desktop\EasySign>
...and you should now have framework-res_signed.apk in your EasySign folder on your desktop.
Pull it to your desktop and rename it framework-res.apk and put it back where you got it, most likely using adb (if using adb, put it in C:\(your androidsdk folder)\tools and type the following;
Code:
adb remount
adb push framework-res.apk /system/framework
adb reboot
Alternatively, you can place it on your sdcard and use a program like Astro to move it to /system/framework and immediately reboot your phone for the changes to take effect.
Enjoy, it took me like 10 minutes to type this
-mak
Thanks for the wirte up, (i've been try to do something simaler to this for a while). I got to the end but then I get this error in the cmd window. Any thoughts?
'java' is not recognized as an internal or external command,
operable program or batch file.
jadesdan said:
Thanks for the wirte up, (i've been try to do something simaler to this for a while). I got to the end but then I get this error in the cmd window. Any thoughts?
'java' is not recognized as an internal or external command,
operable program or batch file.
Click to expand...
Click to collapse
Sorry, I should have mentioned you'll need the Java JDK installed.
.mak is that the same one by Stericson?
here
sorry if that is slightly OT, just rebuilding the PC setup and need the files, so not sure which one I want to use - his worked last time for me well.
thanks~
dianeofarcadia said:
.mak is that the same one by Stericson?
here
sorry if that is slightly OT, just rebuilding the PC setup and need the files, so not sure which one I want to use - his worked last time for me well.
thanks~
Click to expand...
Click to collapse
EasySign? I'm not sure, I've only downloaded it from grdlock's site. The one you linked to actually looks easier to use..
when you re-zip the file after editing do you use normal compression or store?
Magnum72 said:
when you re-zip the file after editing do you use normal compression or store?
Click to expand...
Click to collapse
Normal if you're in Windows, otherwise .gz (most compatible) under linux.
.mak said:
Sorry, I should have mentioned you'll need the Java JDK installed.
Click to expand...
Click to collapse
I've installed it, but I still get the same error. Do I need to set a system path within java?
If I get this working it will solve many of my 'problems' Thank you!
I used ubuntu... what I did was change the default unknown call icon... I opened the Phone.apk in ubuntu and replaced the pic with another icon from another rom of my choice making sure it had the exact same name.. then went back to windows, pushed phone.apk and got it no problem... ubuntu opens the apk's without having to unzip them...
droidfreak said:
I used ubuntu... what I did was change the default unknown call icon... I opened the Phone.apk in ubuntu and replaced the pic with another icon from another rom of my choice making sure it had the exact same name.. then went back to windows, pushed phone.apk and got it no problem... ubuntu opens the apk's without having to unzip them...
Click to expand...
Click to collapse
I did that with the numbers on the dialer and the home launcher icon in the Tainted Vanilla thread. But there are other apk's that are a bit touchy. Once I learn how to sign them, I think it might open up a whole new world of skinning for me.
Yeh it would be good to get that down... it would open a huge door.. make things easier..
Question; in order for the above process to work, must you be rooted? I would love to change icons...unfortunately my naive-impatient self flashed the leak when it was first brought public.
Ngmanis said:
Question; in order for the above process to work, must you be rooted? I would love to change icons...unfortunately my naive-impatient self flashed the leak when it was first brought public.
Click to expand...
Click to collapse
Unfortunately you do need to be rooted for these changes to occur, however you can still do some customization with apps like Bettercut or ones similar.
jadesdan said:
I've installed it, but I still get the same error. Do I need to set a system path within java?
If I get this working it will solve many of my 'problems' Thank you!
Click to expand...
Click to collapse
I didn't, and it works for me. Are you using the proper commands, exactly as shown in my tutorial?
.mak said:
I didn't, and it works for me. Are you using the proper commands, exactly as shown in my tutorial?
Click to expand...
Click to collapse
Yes! Even coy and paste (except for changing the name of the apk I'm trying to sign).
I've downloaded the java link that you provided and installed, redownloaded and installed the JRE, rebooted. THe java site tells me I have the latest and greatest of everything.
I know it's got to be something I'm doing wrong, I get the same error with Autosign and other batch signing tools. I just don't know what my problem is.
jadesdan said:
I've installed it, but I still get the same error. Do I need to set a system path within java?
If I get this working it will solve many of my 'problems' Thank you!
Click to expand...
Click to collapse
jadesdan said:
Yes! Even coy and paste (except for changing the name of the apk I'm trying to sign).
I've downloaded the java link that you provided and installed, redownloaded and installed the JRE, rebooted. THe java site tells me I have the latest and greatest of everything.
I know it's got to be something I'm doing wrong, I get the same error with Autosign and other batch signing tools. I just don't know what my problem is.
Click to expand...
Click to collapse
Did you make sure to cd into the proper folder from command prompt? I've made this mistake a time or two;
Code:
cd C:\Users\(your username on your PC)\Desktop\EasySign>
^^ assuming you have EasySign in a folder called EasySign on your desktop, and that you change (your username on your PC) to your actual username.

ADB help...

OK, I know how to use ADB to reboot and get into download mode on my phone, but I have a kind of emergency. I was attempting to replace a framework-res.apk file on my phone to change the battery icon, and now I am stuck FCing all over the place. So much that I can't put my backed up framework-res.apk file back in /system/framework via Root Explorer like I normally do.
I am connected to my phone, can list directories, but cannot seem to push the framework-res.apk file.
Can someone give me a step by step on how to do this and soon please...
EDIT: I think I got it. I needed to be in Recovery Mode, and then it seemed to copy fine.
While I do have someone's attention (hopefully), how do you change directories if the directory you want to change to is two names, IE 'Battery Mod'?
Demented71 said:
OK, I know how to use ADB to reboot and get into download mode on my phone, but I have a kind of emergency. I was attempting to replace a framework-res.apk file on my phone to change the battery icon, and now I am stuck FCing all over the place. So much that I can't put my backed up framework-res.apk file back in /system/framework via Root Explorer like I normally do.
I am connected to my phone, can list directories, but cannot seem to push the framework-res.apk file.
Can someone give me a step by step on how to do this and soon please...
Click to expand...
Click to collapse
Is your backed up framework on your sdcard? You could try adb shell.
from pc,
adb shell
su
cp XXXX/framework-res.apk system/framework <<<may need to use busybox cp
exit
exit
adb reboot
bobbylx said:
Is your backed up framework on your sdcard? You could try adb shell.
from pc,
adb shell
su
cp XXXX/framework-res.apk system/framework <<<may need to use busybox cp
exit
exit
adb reboot
Click to expand...
Click to collapse
My backed up framework file was on my PC. The first one I was trying to get to was on my phone, in a folder called Battery Mod, which I could not get into because ADB kept saying wrong substitution or something?
Either way, I was able to get it done, so I learned something new again.
EDIT: I think I got it. I needed to be in Recovery Mode, and then it seemed to copy fine.
While I do have someone's attention (hopefully), how do you change directories if the directory you want to change to is two names, IE 'Battery Mod'?
Click to expand...
Click to collapse
That makes sense, it may not let you Push to the file system while it's in use.
As for 2 names, do you mean from a windows command box or in the android command line. Windows you just type it as is. Linux is a little more picky, I usually try to remove spaces from directory names so I don't run into any problems with that. In linux a backslash works, ie, cd /sdcard/Battery\ Mod
Not sure if it will work on our phones.

How: can I mod the stock phone.app?

Ok, I must have posted this question somewhere but I would like to know the answer cause no one has answered it. "how do I get the stock phone app to modify?. How would I get it and put it back into my phone? please I would like to know.
38 views and no response?
the .png files for the phone are actually in the contacts.apk.
Are you asking how to modify the apk, or just specifically where are the phone images?
To copy the app from your phone just do: adb pull /system/app/Phone.apk
That will put a copy of the file in your "tools" directory in the android sdk folder
Then when you want to put it back on you should be able to overwrite it with: adb push /system/app/Phone.apk
What exactly are you planning on doing with this file?
Thank you. I want to create my own images to make it look different then the stock colors.
There are 2 apks that contain dialers, one is the Contacts.apk as stated bfore that brings up the phone when the phone icon is pressed the second is in the Phone.apk appears once a call is placed, and the persons picture appears of the person you are calling.
I don't know how to do a adb pull. can you explain?
johnny quest said:
I don't know how to do a adb pull. can you explain?
Click to expand...
Click to collapse
In terminal or command prompt, navigate to the tools directory in the android SDK and run the following commands:
Code:
adb remount
adb pull /system/app/Phone.apk
That will dump the file in you tools directory.
If you are having trouble with this, let me know what operating system you are using and if you have the android SDK installed.
synesthete said:
In terminal or command prompt, navigate to the tools directory in the android SDK and run the following commands:
Code:
adb remount
adb pull /system/app/Phone.apk
That will dump the file in you tools directory.
If you are having trouble with this, let me know what operating system you are using and if you have the android SDK installed.
Click to expand...
Click to collapse
This is confusing. I didn't think it would be so hard. I do UI's for iphone and ipod touch and this is way different. There are so many different things. Its discouraging in some ways. Sorry. I would love to create an app but of course its different. So, I stick to creating themes.
I would love to take a ROM and mod it myself or even modifying Launcher pro but it has that 9.pngs which makes it hard.
Ok, I have the Eris 2.1 rooted with Tenzo Rcmix2.0 installed. I have the SDK installed but don't know what to do with it. I appreciate you taking the time to help me out. I really want to create and mod lots of apps.
this is what I've done to a phone app I downloaded from the market:
-I created my images through Photoshop and saved them to a folder with its correct name used.
-I opened draw9patch and saved the images with the correct name again to a folder.
-I named the folder drawable-hdpi that belongs in the Res folder
-took the files and folder and created a zip out of it.
-opened the AvaboxV2 and signed it.
-loaded to my phone and changed the name to the correct name and installed it
but it keeps saying application not install, I just don't get it. What step did I messed up on?
Anybody? anybody?...............................
This is what you need to do:
1. Open Contacts.apk in 7-zip
2. Copy the images over top of the original images in drawable, drawable-mdpi, and drawable-mdpi-finger (notice I didn't say anything about hdpi)
3. Close the archive.
4. Copy it back onto the device with:
Code:
adb remount
adb push Contacts.apk /system/app
Your phone may not appreciate you pushing Contacts.apk while it is running, so it may become unstable at this point. I would recommend restarting.
icbeer said:
This is what you need to do:
1. Open Contacts.apk in 7-zip
2. Copy the images over top of the original images in drawable, drawable-mdpi, and drawable-mdpi-finger (notice I didn't say anything about hdpi)
3. Close the archive.
4. Copy it back onto the device with:
Code:
adb remount
adb push Contacts.apk /system/app
Your phone may not appreciate you pushing Contacts.apk while it is running, so it may become unstable at this point. I would recommend restarting.
Click to expand...
Click to collapse
thank you but I'm trying to understand what you mean by push ADB. is that the one in the sdk folder? if so, I open it and it just flashes for a few seconds then closes.
ADB is a command line program that allows you to debug and move/edit files on your phone. You need to run those commands from a command prompt (should be a link in the Accessories folder on the Start menu if you can't right-click on the sdk folder and open one). Navigate to the tools folder, then run the remount and push commands like icbeer said to get your modified .apk on your phone:
Code:
C:\users\brtnbrdr> cd c:\android-sdk-windows\tools
C:\android-sdk-windows\tools> adb remount
C:\android-sdk-windows\tools> adb push Contacts.apk /system/app

[MOD] Lower Auto-Brightness levels to save battery

This is best done after you flash a ROM as you might lose some settings.
(I noticed my wall paper changed and i had to sign back into Google account)
---This framework-res.apk file is different for every ROM---
Hi,
I wanted to share a little mod that could help in extending battery life - lowering default auto-brightness levels. As all of You know our big, bright SuperLCD is an excelent display but for that it uses most of our battery:/
I like the idea of auto-brightness but I find it too bright for most of the time. Setting brightness manualy to one level makes it either too dim or it uses too much battery and switching it all the time that You go outside or turn on the light is a little bit inconvenient.
In order to lower auto-brightness levels You have to change values in framework-res.apk/res/values/arrays.xml and here is how (read whole post first )
These are stock HTC Raider values:
Click to expand...
Click to collapse
Code:
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>75</item>
<item>75</item>
<item>75</item>
<item>97</item>
<item>120</item>
<item>142</item>
<item>170</item>
<item>198</item>
<item>227</item>
<item>255</item>
</integer-array>
These are values that I use and found best for me:
Code:
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>20</item>
<item>40</item>
<item>50</item>
<item>70</item>
<item>90</item>
<item>100</item>
<item>130</item>
<item>155</item>
<item>180</item>
<item>225</item>
</integer-array>
These brightness levels are corresponding to the amount of light that light sensor is getting - the lowest value is while in the low light the highest when for example your phone is in direct sunlight. Brightness values are defined by numbers 1 is the lowest possible setting and 255 is the maximum brightness that can be set.
As You can see I was pretty aggressive with lowering these values and yet the screen is still bright in every situation. You can set them a little bit higher or lower in order to suit your preferences.
Here is a guide on how to perform this mod on any framework-res.apk using apk manager (thanks for the guide goes to desean):
1. Download APK manager and unpack somewhere
2. Grab framework-res.apk from your phone under \system\framework\ (e.g. adb pull) and place it in the "place-apk-here-for-modding" folder
3. Run Script.bat and select option 9
4. Once done, go to projects\framework-res.apk\res\values\arrays.xml and edit your values as per first post.
5. Once edited, compile the apk using option 11
6. Qn: Is this a system apk. Ans: y
7. Qn: Aside from the signatures, would .... least. Ans: y
8. Prompt: In the apk manager folder u'll find a keep folder..... done then press enter on this script. Press any key to continue . . . You have to go to "keep" folder and delete resources.arsc because arrays.xml have been changed. After this You can press any key in apk manager window.
9. Once done, input 25 in apk manager and select "unsignedframework-res.apk" by entering the number that stands for it. After selecting it You should see in apk main window in the top right corner "Current-App: unsignedframework-res.apk".
10. Now press 5 to zipalign apk. You will find your completed, zipaligned apk under place-apk-here-for-modding\unsignedframework-res.apk.
11.Rename it back to framework-res.apk and adb push the file back to your phone
Click to expand...
Click to collapse
To send it back to your phone
Prerequisites have...
The file you are pushing must be placed in the platform-tools folder of adb so if you are pushing file "framework-res.apk" this needs to be downloaded/copy and pasted in C:\android-sdk-windows\platform-tools
1: go to run and type cmd (or just open your command prompt)
2: cd C:\android-sdk-windows\platform-tools
3: adb remount
4: adb devices *if everything is set up right this should output a serial number*
5: adb push FFFFFFF.FFF /#####/###### *i hope my notes help here you need to put the file name in for the F(s) and in the pound signs you put the destination on the devices:
Code:
adb push framework-res.apk /system/framework
7. adb reboot this is how you finish
Click to expand...
Click to collapse
You have to copy the file to your phone with ADB or you will get a boot loop and have to re install your ROM.
Link for APK Manager HERE
If you have problems with apk manager showing java error (like it did) this post helped me fix that
Sources:
http://forum.xda-developers.com/showthread.php?t=1235212
http://forum.xda-developers.com/showthread.php?t=695701
http://forum.xda-developers.com/showthread.php?t=642437
APK Manager 4.9 download link (currently original thread link down)
http://www.zshare.net/download/99034654c32618ba/
WOW! I was just about to ask if anyone knew how to accomplish this! Thanks dude!
Edit: Er..phone just went into a bootloop. Lemme try again..
Edit2: I first replaced the framework-res.apk using root explorer...big mistake, phone went into a bootloop and I couldnt adb to it to push the apk correctly, whoops. Just reinstalled the ROM I was using and pushed the apk using adb and all is well.
I noticed two other very similar looking values: config_autoBrightnessLcdBacklightValuesUp and config_autoBrightnessLcdBacklightValuesDown. Is it necessary to change these as well?
m0biusace said:
WOW! I was just about to ask if anyone knew how to accomplish this! Thanks dude!
Edit: Er..phone just went into a bootloop. Lemme try again..
Edit2: I first replaced the framework-res.apk using root explorer...big mistake, phone went into a bootloop and I couldnt adb to it to push the apk correctly, whoops. Just reinstalled the ROM I was using and pushed the apk using adb and all is well.
I noticed two other very similar looking values: config_autoBrightnessLcdBacklightValuesUp and config_autoBrightnessLcdBacklightValuesDown. Is it necessary to change these as well?
Click to expand...
Click to collapse
Yes you have to use adb ill put that in the first post,
to be honest i am not entirely sure what that is for i assume, that it is when you move the slider what values it displays when you slide it, i noticed a change without changing those values.
also i changed the button back lights to 200, i find it more than enough for me.
Is there a working mirror to APK manager? The link in the thread is down.
uploaded
sbddude said:
Is there a working mirror to APK manager? The link in the thread is down.
Click to expand...
Click to collapse
uploaded here
http://www.zshare.net/download/99034654c32618ba/
Serious props to you jul644 for detailing this process! I've always hated how the Hero, Evo, & now Vivid I've had never got dark enough in pitch black rooms, and now I'm excited to fix that problem. I was curious though since I just modded my battery meter using UOT Kitchen, if I could drop in the backlight-modded framework-res.apk via 7-zip replacing the UOT framework-res.apk file then flash it via recovery. I wonder if that would make me sign into Google and mess with settings like you mentioned. Thanks.
How-To with UOT
jul644 said:
You have to copy the file to your phone with ADB or you will get a boot loop and have to re install your ROM.
Click to expand...
Click to collapse
How, if it's possible, do we integrate this modded framework-res.apk into a UOT Kitchen zip flash file? I want to mod my battery icons and would like to install at the same time so one doesn't interfere with the other. Should I upload the framework-res.apk from this to UOT Kitchen (with my original SystemUI.apk) and then change the battery icons, then download and flash?
Thanks for your help!
*****EDIT - 2/15/2011*****
Ok so I did the framework-res.apk edits by decompiling/recompiling per jul644, uploaded that into UOT Kitchen along with original SystemUI.apk and com.htc.resources.apk. I chose my battery icon mod, downloaded, cleared all the caches and flashed in recovery with no problems ) Just wanted to let you guys know how to make it a recovery flashable zip instead of pushing via ADB.
ICS?
So can anyone confirm or deny if this still works wit ICS will be trying it myself, when I get a chance, but would rather not waste time if it wont work!
It does work, I have done it. ICS it's just more difficult to decompile & recompile. I added it & 1% stock-style battery icons into Pirateghost's CWM .56 flashable ROM.
Keep getting errors when recompiling using stock telstra ICS+ root
error on 1st line after selecting option 11 ie. step 5 above
could not find sources????
Any suggestions what I am doing wrong????
---------- Post added at 09:37 PM ---------- Previous post was at 09:24 PM ----------
okay also getting this error twice before it de-compiles
the system cannot find the path specified
then seems to decompile happily???????????
Any suggestions?
I'm getting an 'Operation not permitted' when I try to remount before pushing the file back. Anyone else having this problem? I'm running a WCX GB ROM (no ICS, I'm on Rogers).
formicae said:
I'm getting an 'Operation not permitted' when I try to remount before pushing the file back. Anyone else having this problem? I'm running a WCX GB ROM (no ICS, I'm on Rogers).
Click to expand...
Click to collapse
are you trying to remount your sd card? if so do not, just select charge only
No, just trying to remount as per the instructions in the first post, so /system is R/W. Setting it to charge only. No dice.
I tried doing it in recovery (by mounting /system, then going through the ADB commands, all of which are successful), but the result is a bootloop once I'm done.
Edit: It's also worth noting that newer versions of APK Manager/Multi-tool seem to have different numbering for the operations. In step 9, number 22 sets the compression level, whereas I think it used to set the active APK (which I think is 25 now).
I ended up taking the stock framework-res from the ROM, modifying the arrays.xml values as per the OP instructions, then going through the UOT Kitchen (I had a battery mod anyway). Worked perfectly.
Thanks to pauley for reporting success earlier, which provided me with the workaround.
Has anyone done this that could possibly create a flashable zipped version of it? I tried to do it myself but with the new APK Multi Tool things were different to the instructions of OP and I couldn't get it to work
Edit: Nvm managed to fix it and make my own flashable zip. Thanks for the effort OP
I have tried to do this... And I keep getting an error on the recompile side...
Just wondering... Does apkmanager require windows 7 or something... Or is there some reason it wouldn't work on windows xp?
Sent from my HTC PH39100 using Tapatalk 2
rignfool said:
I have tried to do this... And I keep getting an error on the recompile side...
Just wondering... Does apkmanager require windows 7 or something... Or is there some reason it wouldn't work on windows xp?
Sent from my HTC PH39100 using Tapatalk 2
Click to expand...
Click to collapse
The errors I encountered when compiling were solved by:
1) Putting Java in the windows path
2) Putting ADB in the windows path
3) Not having any spaces in the APK Manager file path
There are no OS dependencies that I'm aware of. Just open the log from within the APK manager and you should be able to identify the error.
The problem is I don't really speak java all that well...
Could I just move the java executable to the working directory?
Sent from my HTC PH39100 using Tapatalk 2
rignfool said:
The problem is I don't really speak java all that well...
Could I just move the java executable to the working directory?
Sent from my HTC PH39100 using Tapatalk 2
Click to expand...
Click to collapse
For java, all you have to do is download the JDK (i got the 32 bit version), and then add 'C:\Program Files (x86)\Java\jdk1.7.0_03\bin' to the windows path so it becomes something like:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\MATLAB\R2011a\runtime\win64;C:\Program Files\MATLAB\R2011a\bin;C:\Program Files (x86)\MKVToolNix;C:\Program Files (x86)\Java\jdk1.7.0_03\bin;C:\Android\android-sdk\platform-tools\;C:\Android\APKMultiTools\
For Windows XP, you'd probably be running 32 bit and so it would be installed in the regular program files.
pod0087 said:
For java, all you have to do is download the JDK (i got the 32 bit version), and then add 'C:\Program Files (x86)\Java\jdk1.7.0_03\bin' to the windows path so it becomes something like:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\MATLAB\R2011a\runtime\win64;C:\Program Files\MATLAB\R2011a\bin;C:\Program Files (x86)\MKVToolNix;C:\Program Files (x86)\Java\jdk1.7.0_03\bin;C:\Android\android-sdk\platform-tools\;C:\Android\APKMultiTools\
For Windows XP, you'd probably be running 32 bit and so it would be installed in the regular program files.
Click to expand...
Click to collapse
thanks for the help! can you tell me the new number system with apk manager?

(guide) how to deodex your stock lg g flex rom

GUIDE ON HOW TO "DEODEX"
YOUR STOCK ROM ON PC
THIS IS FOR LG G FLEX ON JELLY BEAN 4.2.2
HAS NOT BEEN TESTED ON KITKAT 4.4
THIS IS NOT FOR ANYONE WHO IS NOT
COMFORTABLE WITH "ADB" AND ITS COMMANDS!!!
IM NOT RESPONSIBLE FOR YOUR CHOICE TO FOLLOW THIS GUIDE OR IF YOU STRAY FROM THE GUIDE AND SCREW UP YOUR DEVICE BY JAMMING FORKS IN THE USB PORT OR USING IT AS A FLOATATION DEVICE (doesnt work, i tried, sinks right to the bottom)
So with that said lets begin.
​There are a few things youll need to do to get set up if you havent already implemented these. Things youll need : adb set up, android sdk, xUltimate v2.4.2, fresh stock phone (backed up), fairly descent understanding of adb and its commands, and one toothpick.
1.Download android-sdk & extract it. http://developer.android.com/sdk/index.html
2. Download xUltimate v2.4.2 & extract it. http://www.xeudoxus.com/android/xUltimate-v2.4.2.zip
3.Copy the extracted android-sdk contents to a new folder youre going to create in C:/Program Files/Android
4.Change name in this folder there is a folder named SDK change it to Android.sdk.
So that you end up with a folder inside C:/Program Files/Android named "Android.sdk" C:/Program Files/Android/Android.sdk
In that folder you should have :
build-tools
extras
platform-tools
system-images
tools
FOR THOSE OF YOU, IF YOURE LIKE ME AND HAVE HAD SDK/ADB INSTALLED FOR A WHILE ON YOUR PC YOU MAY NEED TO UPDATE TO VERSION 1.0.31 OR NEWER. I HAD TO AND THAT MADE ALL THE DIFFERENCE. JUST PULL THESE FILES OUT OF THE NEW VERSION AND PASTE WHERE YOU HAVE YOUR SDK/ADB SET UP
FILES TO COPY AND PASTE
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
THAT SHOULD HAVE YOU UP TO DATE
5. You need to flash back to stock and reroot. For this you can follow this thread to do so :
http://forum.xda-developers.com/showthread.php?t=2644083
6. I hope it goes with out saying, MAKE A BACKUP AND SAVE IT SOMEWHERE BESIDES YOU PHONE AS WELL AS ON YOUR PHONE !!!!!
7. Make sure usb debugging in enabled. If you dont no how to do this then you shouldnt be doing this and you best bet would be to go to the PLAY STORE and download GO LAUNCHER and some GO themes to make your phone "prettier" This is for themers out there to be able to have a deodexed rom (system/app folder & system/framework folder) to be able to theme and mod.
8. Connect your phone to your computer.
9. Launch Main.exe In the xultimate folder. (run as administrator)
10. Select option 1 (pull /system/app) wait till its done it will take 20+ mins
11. Select option 2 (pull /system/framework) wait till its done it will take about half as long
12. Select option 3 (Deodex /system/app) wait till its done
[If encounter any error. Find out which .odex file it is . Then remove .odex file from the origi_app in xUltimate folder]
13. Select option 4 (Deodex /system/framework) wait till its done
14. Now select EXIT.
15. Rename the folder "done_app" to "app" and the "done_frame" to "framework"
16. Copy the 2 files you just renamed to the root of your sdcard on you your LG G Flex.
17. Now youre done with the hard part and the time consuming part.
TIME TO GET THOSE FRESHLY DEODEXED FILES
PUT BACK WHERE THE BELONG
THIS IS WHERE YOULL NEED TO USE adb.
​1. Again make sure you have usb debugging eneabled, connect your phone to PC and make sure its in "MTP" mode.
2. Navigate to where you put your sdk files you extracted earlier.
C:/Program Files/Android/Android.sdk
3. Now in the Android.sdk folder hold "shift" and right click inside folder then select from the drop down menu "open command prompt here"
If this is the first time youve used adb on this phone then make sure you get the supersu prompt asking for permission to use adb from this PC.
4. Enter these commands one line at a time and hit enter after each line. Some lines may take several minutes to do their thing but be patient it will give you another cursor and cmd prmt line to type on. (VERY IMPORTANT TO DO THIS EXACTLY PER INSTRUCTIONS !!!!!) !!!!!! DONT ENTER ANYTHING IN RED ITS JUST EXPLANATION !!!
adb devices should see your device
adb shell
su
mount -o rw,remount /system/ /system/
cp /sdcard/app/* /system/app/
rm /system/app/*.odex
cp /sdcard/framework/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
NOW IF EVERYTHING WENT WELL YOU REBOOTED AND HAVE A DEODEXED ROM!!
6. Congradulations you have now deodexed your LG G Flex stock rom and can now begin theming. I suggest before you do anything else you reboot into recovery and make a back up so if anything gets fubared you dont have to restore to an odex rom and go thru this again.
UPDATE : THIS DOES WORK ON KITKAT 4.4
Reservered
Sent from my LG-D959 using Tapatalk
works
It works with 4.4
Thanks dude
mattwheat said:
GUIDE ON HOW TO "DEODEX"
YOUR STOCK ROM ON PC
THIS IS FOR LG G FLEX ON JELLY BEAN 4.2.2
HAS NOT BEEN TESTED ON KITKAT 4.4
THIS IS NOT FOR ANYONE WHO IS NOT
COMFORTABLE WITH "ADB" AND ITS COMMANDS!!!
IM NOT RESPONSIBLE FOR YOUR CHOICE TO FOLLOW THIS GUIDE OR IF YOU STRAY FROM THE GUIDE AND SCREW UP YOUR DEVICE BY JAMMING FORKS IN THE USB PORT OR USING IT AS A FLOATATION DEVICE (doesnt work, i tried, sinks right to the bottom)
So with that said lets begin.
​There are a few things youll need to do to get set up if you havent already implemented these. Things youll need : adb set up, android sdk, xUltimate v2.4.2, fresh stock phone (backed up), fairly descent understanding of adb and its commands, and one toothpick.
1.Download android-sdk & extract it. http://developer.android.com/sdk/index.html
2. Download xUltimate v2.4.2 & extract it. http://www.xeudoxus.com/android/xUltimate-v2.4.2.zip
3.Copy the extracted android-sdk contents to a new folder youre going to create in C:/Program Files/Android
4.Change name in this folder there is a folder named SDK change it to Android.sdk.
So that you end up with a folder inside C:/Program Files/Android named "Android.sdk" C:/Program Files/Android/Android.sdk
In that folder you should have :
build-tools
extras
platform-tools
system-images
tools
FOR THOSE OF YOU, IF YOURE LIKE ME AND HAVE HAD SDK/ADB INSTALLED FOR A WHILE ON YOUR PC YOU MAY NEED TO UPDATE TO VERSION 1.0.31 OR NEWER. I HAD TO AND THAT MADE ALL THE DIFFERENCE. JUST PULL THESE FILES OUT OF THE NEW VERSION AND PASTE WHERE YOU HAVE YOUR SDK/ADB SET UP
FILES TO COPY AND PASTE
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
THAT SHOULD HAVE YOU UP TO DATE
5. You need to flash back to stock and reroot. For this you can follow this thread to do so :
http://forum.xda-developers.com/showthread.php?t=2644083
6. I hope it goes with out saying, MAKE A BACKUP AND SAVE IT SOMEWHERE BESIDES YOU PHONE AS WELL AS ON YOUR PHONE !!!!!
7. Make sure usb debugging in enabled. If you dont no how to do this then you shouldnt be doing this and you best bet would be to go to the PLAY STORE and download GO LAUNCHER and some GO themes to make your phone "prettier" This is for themers out there to be able to have a deodexed rom (system/app folder & system/framework folder) to be able to theme and mod.
8. Connect your phone to your computer.
9. Launch Main.exe In the xultimate folder. (run as administrator)
10. Select option 1 (pull /system/app) wait till its done it will take 20+ mins
11. Select option 2 (pull /system/framework) wait till its done it will take about half as long
12. Select option 3 (Deodex /system/app) wait till its done
[If encounter any error. Find out which .odex file it is . Then remove .odex file from the origi_app in xUltimate folder]
13. Select option 4 (Deodex /system/framework) wait till its done
14. Now select EXIT.
15. Rename the folder "done_app" to "app" and the "done_frame" to "framework"
16. Copy the 2 files you just renamed to the root of your sdcard on you your LG G Flex.
17. Now youre done with the hard part and the time consuming part.
TIME TO GET THOSE FRESHLY DEODEXED FILES
PUT BACK WHERE THE BELONG
THIS IS WHERE YOULL NEED TO USE adb.
​1. Again make sure you have usb debugging eneabled, connect your phone to PC and make sure its in "MTP" mode.
2. Navigate to where you put your sdk files you extracted earlier.
C:/Program Files/Android/Android.sdk
3. Now in the Android.sdk folder hold "shift" and right click inside folder then select from the drop down menu "open command prompt here"
If this is the first time youve used adb on this phone then make sure you get the supersu prompt asking for permission to use adb from this PC.
4. Enter these commands one line at a time and hit enter after each line. Some lines may take several minutes to do their thing but be patient it will give you another cursor and cmd prmt line to type on. (VERY IMPORTANT TO DO THIS EXACTLY PER INSTRUCTIONS !!!!!) !!!!!! DONT ENTER ANYTHING IN RED ITS JUST EXPLANATION !!!
adb devices should see your device
adb shell
su
mount -o rw,remount /system/ /system/
cp /sdcard/app/* /system/app/
rm /system/app/*.odex
cp /sdcard/framework/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
NOW IF EVERYTHING WENT WELL YOU REBOOTED AND HAVE A DEODEXED ROM!!
6. Congradulations you have now deodexed your LG G Flex stock rom and can now begin theming. I suggest before you do anything else you reboot into recovery and make a back up so if anything gets fubared you dont have to restore to an odex rom and go thru this again.
Click to expand...
Click to collapse
Dang dude I just posted this and you've already done it. Wow maybe you should have written this thread. Lmao. It took me several hours to figure out my adb being older version was why it wasn't working.
Sent from my LG-D959 using Tapatalk
mattwheat said:
GUIDE ON HOW TO "DEODEX"
YOUR STOCK ROM ON PC
THIS IS FOR LG G FLEX ON JELLY BEAN 4.2.2
HAS NOT BEEN TESTED ON KITKAT 4.4
THIS IS NOT FOR ANYONE WHO IS NOT
COMFORTABLE WITH "ADB" AND ITS COMMANDS!!!
IM NOT RESPONSIBLE FOR YOUR CHOICE TO FOLLOW THIS GUIDE OR IF YOU STRAY FROM THE GUIDE AND SCREW UP YOUR DEVICE BY JAMMING FORKS IN THE USB PORT OR USING IT AS A FLOATATION DEVICE (doesnt work, i tried, sinks right to the bottom)
So with that said lets begin.
​There are a few things youll need to do to get set up if you havent already implemented these. Things youll need : adb set up, android sdk, xUltimate v2.4.2, fresh stock phone (backed up), fairly descent understanding of adb and its commands, and one toothpick.
1.Download android-sdk & extract it. http://developer.android.com/sdk/index.html
2. Download xUltimate v2.4.2 & extract it. http://www.xeudoxus.com/android/xUltimate-v2.4.2.zip
3.Copy the extracted android-sdk contents to a new folder youre going to create in C:/Program Files/Android
4.Change name in this folder there is a folder named SDK change it to Android.sdk.
So that you end up with a folder inside C:/Program Files/Android named "Android.sdk" C:/Program Files/Android/Android.sdk
In that folder you should have :
build-tools
extras
platform-tools
system-images
tools
FOR THOSE OF YOU, IF YOURE LIKE ME AND HAVE HAD SDK/ADB INSTALLED FOR A WHILE ON YOUR PC YOU MAY NEED TO UPDATE TO VERSION 1.0.31 OR NEWER. I HAD TO AND THAT MADE ALL THE DIFFERENCE. JUST PULL THESE FILES OUT OF THE NEW VERSION AND PASTE WHERE YOU HAVE YOUR SDK/ADB SET UP
FILES TO COPY AND PASTE
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
THAT SHOULD HAVE YOU UP TO DATE
5. You need to flash back to stock and reroot. For this you can follow this thread to do so :
http://forum.xda-developers.com/showthread.php?t=2644083
6. I hope it goes with out saying, MAKE A BACKUP AND SAVE IT SOMEWHERE BESIDES YOU PHONE AS WELL AS ON YOUR PHONE !!!!!
7. Make sure usb debugging in enabled. If you dont no how to do this then you shouldnt be doing this and you best bet would be to go to the PLAY STORE and download GO LAUNCHER and some GO themes to make your phone "prettier" This is for themers out there to be able to have a deodexed rom (system/app folder & system/framework folder) to be able to theme and mod.
8. Connect your phone to your computer.
9. Launch Main.exe In the xultimate folder. (run as administrator)
10. Select option 1 (pull /system/app) wait till its done it will take 20+ mins
11. Select option 2 (pull /system/framework) wait till its done it will take about half as long
12. Select option 3 (Deodex /system/app) wait till its done
[If encounter any error. Find out which .odex file it is . Then remove .odex file from the origi_app in xUltimate folder]
13. Select option 4 (Deodex /system/framework) wait till its done
14. Now select EXIT.
15. Rename the folder "done_app" to "app" and the "done_frame" to "framework"
16. Copy the 2 files you just renamed to the root of your sdcard on you your LG G Flex.
17. Now youre done with the hard part and the time consuming part.
TIME TO GET THOSE FRESHLY DEODEXED FILES
PUT BACK WHERE THE BELONG
THIS IS WHERE YOULL NEED TO USE adb.
​1. Again make sure you have usb debugging eneabled, connect your phone to PC and make sure its in "MTP" mode.
2. Navigate to where you put your sdk files you extracted earlier.
C:/Program Files/Android/Android.sdk
3. Now in the Android.sdk folder hold "shift" and right click inside folder then select from the drop down menu "open command prompt here"
If this is the first time youve used adb on this phone then make sure you get the supersu prompt asking for permission to use adb from this PC.
4. Enter these commands one line at a time and hit enter after each line. Some lines may take several minutes to do their thing but be patient it will give you another cursor and cmd prmt line to type on. (VERY IMPORTANT TO DO THIS EXACTLY PER INSTRUCTIONS !!!!!) !!!!!! DONT ENTER ANYTHING IN RED ITS JUST EXPLANATION !!!
adb devices should see your device
adb shell
su
mount -o rw,remount /system/ /system/
cp /sdcard/app/* /system/app/
rm /system/app/*.odex
cp /sdcard/framework/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
NOW IF EVERYTHING WENT WELL YOU REBOOTED AND HAVE A DEODEXED ROM!!
6. Congradulations you have now deodexed your LG G Flex stock rom and can now begin theming. I suggest before you do anything else you reboot into recovery and make a back up so if anything gets fubared you dont have to restore to an odex rom and go thru this again.
Click to expand...
Click to collapse
UPDATE : THIS DOES WORK ON KITKAT 4.4
Sent from my LG-D959 using Tapatalk
Wow that must be a good sign of a well explained tutorial when 80+ people read it and no questions or issues.
Sent from my LG-D959 using Tapatalk
mattwheat said:
Wow that must be a good sign of a well explained tutorial when 80+ people read it and no questions or issues.
Sent from my LG-D959 using Tapatalk
Click to expand...
Click to collapse
Is true guy, in my 6 years of xda is the device more boring i had, anybody react to our treads, neither with a simple thanks, i will try, or worked well, thanks
At least dont have people saying, how i open cmd?this will explode my device? Hehe
Enviado de meu LG-D958 usando Tapatalk
Maikeu Locatelli said:
Is true guy, in my 6 years of xda is the device more boring i had, anybody react to our treads, neither with a simple thanks, i will try, or worked well, thanks
At least dont have people saying, how i open cmd?this will explode my device? Hehe
Enviado de meu LG-D958 usando Tapatalk
Click to expand...
Click to collapse
right right I guess it could be bad and be getting bombarded with how to and dumb questions. I figured more people would want to have a deodexed ROM so that xtheme beta5 and hkthemer themed more of their system.
Sent from my LG-D959 using Tapatalk
removed odex
Ok, get ready for it here comes the dumb nOOb question: When i remove odex file in orig_app and rerun xultimate, app associated with odex is no longer in done app folder, is that how it goes down or should i be doing something differently when i run into errors?, thank you
Yes when you remove odex in orig folder then rerun some apps not necessary to have and any apps that error out that are you will have to Google them and find the deodex version. But if you used the lgflash back to stock then rerooted you shouldn't get any errors on any necessary apps. I didn't. There where 3 maybe five that I got errors on but they weren't necessary to have so I deleted them.
Sent from my LG-D959 using Tapatalk
mattwheat said:
Yes when you remove odex in orig folder then rerun some apps not necessary to have and any apps that error out that are you will have to Google them and find the deodex version. But if you used the lgflash back to stock then rerooted you shouldn't get any errors on any necessary apps. I didn't. There where 3 maybe five that I got errors on but they weren't necessary to have so I deleted them.
Sent from my LG-D959 using Tapatalk
Click to expand...
Click to collapse
I'm not trying to hijack your thread but if anybody is interested I found another similar method specifically for KK. I have used it and it works perfectly. The only apk that it wouldn't deodex was the stock LG keyboard. If anybody would like a link I could share. It does not work real well with 4.2 so this one here is the best option for 4.2.
No problem. If there's an easier method by all means. I didn't even know when I wrote this one if it worked on kk or not. I'm still on 4.2.2 for the recovery.
http://forum.xda-developers.com/showthread.php?t=2725930
I used this as instructed and it takes a while but worked perfectly. I will save you some time and tell you to remove lg stock keyboard. Tool does deodex but for some reason will not work. Just adb push using same method as stated in op except you will have to add a step for the priv app. I take no credit or responsibility but I've used it myself and it does work.
Sent from my LG-D950 using XDA Premium 4 mobile app
Matt check your pm plz
mattwheat said:
Wow that must be a good sign of a well explained tutorial when 80+ people read it and no questions or issues.
Sent from my LG-D959 using Tapatalk
Click to expand...
Click to collapse
This is the best explained way to deodex a ROM I've ever seen. Definitely going to try. Will be the first time I've read a how to on deodexing and feel confident enough to try it myself instead of installing someone elses deodexed ROM. But I may revisit with a question lol

Categories

Resources