Has anyone been able to deodex the vivid yet? I attempted with xUltimate but i got a variety of errors when trying. To my knowledge it was something to do with the phone not the program. Any other alternatives to doing so?
There are numerous deodexed roms out there.
Sent from my aokp_tenderloin using Tapatalk
i know, but currently i'm using RumRaider Beta 4 and i dont want to downgrade just for the deodex
Have you tried the kitchen yet? It does work.
Sent from my Transformer TF101 using xda premium
Jirv311 said:
Have you tried the kitchen yet? It does work.
Sent from my Transformer TF101 using xda premium
Click to expand...
Click to collapse
im installing it right now, it's a bit of a pain since xcode doesn't install GCC anymore so i have to get it manually. but i'll let you know
Only partly works, have to do some changes to it
Wild Child said:
Only partly works, have to do some changes to it
Click to expand...
Click to collapse
This. Sometimes it will get the whole way through. Otherwise you can do it manually with baksmali/smali. I bet someone could write a script, using the kitchen's brute force method (checking all .odex files against all .jar files for dependencies)..
The way I do it when I have to do it manually.. first dump all .apk, .jar, and .odex to the same directory (not necessary, just less changing directories with the following commands), and get baksmali and smali in the same directory, then open a command prompt there..
Decompile odex:
java -jar baksmali.jar -c :dependency:dependency -x <output directory> <.dex file, typically classes.dex>
(This part can be a real pain in the ass. But usually you can find the dependencies from the errors baksmali throws at you)
Compile to classes.dex:
java -Xmx512M -jar smali.jar <output directory from above step> -o classes.dex
Then change .jar to .zip and open with 7zip (or just open .apk with 7zip), add your classes.dex to the .zip (or .apk), change back to .jar, delete to .odex, classes.dex, and output folder, and move on to the next one. Once you're done, put the .jar files and framework-res.apk and com.htc.resources.apk back to /framework/ and the rest of the .apks to /app/
I didn't have to make any changes to the kitchen at all. Per PG's tip, I plucked the ATT VVM.jar temporarily and everything de-odexed just fine. This was using the ATT ICS RUU.
zacgoesrawr said:
i know, but currently i'm using RumRaider Beta 4 and i dont want to downgrade just for the deodex
Click to expand...
Click to collapse
Gotcha. From your wording I thought you were under the impression that there were no deodexed ROMs available. Sorry for the confusion.
Related
alright...ive got the classes.dex file open and able to make edits but when i try to close it and recompress it it gives me errors. can someone help please.
Gtalk is [email protected]
You need to use smali from avabox by avalaunch
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
danaff37 said:
You need to use smali from avabox by avalaunch
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
Click to expand...
Click to collapse
ok thats how i got the classes.dex file by breaking down the apk.
then ran a command to open up the classes.dex file.
it created a file called classout which had all the folders and files inside of the classes.dex file
i made it to the change i needed to make and edited and saved.
then ran a command that should close up the classes out folder back into the classes.dex file and it gives me errors. im changing colors of text in the keyboard and used hex codes to change the color
So whats the error and what command are you using?
Are you using the batch file or typing it in in command prompt.
Not sure which one you are doing so I will post what works for me
I double clicked backsmali.bat and when done editing smali.bat.
java -jar baksmali-1.2.1.jar -x blah.apk will deodex the .apk and make an out folder for the the classes.dex.
java -jar smali-1.2.1.jar out -o classes.dex will recompile the .smali files including the ones you edited. This will make a "New" classes.dex that you can drag and drop into your .apk. This is the best way rather than using a script that may or may not work...
&RoidRage said:
Are you using the batch file or typing it in in command prompt.
Not sure which one you are doing so I will post what works for me
I double clicked backsmali.bat and when done editing smali.bat.
Click to expand...
Click to collapse
i go to command prompt and type in this in the sdk/tools folder
java -jar baksmali.jar -o classout/ classes.dex
that pulls the files out into a classout file
do my editing
then
type in
java -Xmx512M -jar smali.jar classout/ -o new-classes.dex
then comes up with these errors afterward
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Chad Barlan>cd C:\android-sdk-windows\tools
C:\android-sdk-windows\tools>java -jar baksmali.jar -o classout/ classes.dex
Unable to access jarfile baksmali.jar
C:\android-sdk-windows\tools>java -jar baksmali.jar -o classout/ classes.dex
C:\android-sdk-windows\tools\classout\com\htc\android\htcime\ezsip\KeyboardView.
smali[0,0] -0xFF1874CD cannot fit into an int
C:\android-sdk-windows\tools\classout\com\htc\android\htcime\ezsip\KeyboardView.
smali[3889,4] mismatched tree node: I_STATEMENT_FORMAT35c_METHOD expecting I_CAT
CHES
C:\android-sdk-windows\tools\classout\com\htc\android\htcime\ezsip\KeyboardView.
smali[3892,4] mismatched tree node: I_STATEMENT_FORMAT11n expecting <UP>
these r the errors i get
im changing text color
using FF1874CD
whitch is just a shade of blue in a hex code form
Lol, that's not how it works .
Color codes, typically in decompiled code are in the form of ARGB bitwise shifted hex values, not standard hex.
R bitwise shifted 16 bits to the left
G bitwise shifted 8 bits to the left
B No shift
Here is a good explanation of how to handle color values in the code:
http://board.flashkit.com/board/archive/index.php/t-657269.html
cbarlan said:
i go to command prompt and type in this in the sdk/tools folder
java -jar baksmali.jar -o classout/ classes.dex
that pulls the files out into a classout file
do my editing
then
type in
java -Xmx512M -jar smali.jar classout/ -o new-classes.dex
then comes up with these errors afterward
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Chad Barlan>cd C:\android-sdk-windows\tools
C:\android-sdk-windows\tools>java -jar baksmali.jar -o classout/ classes.dex
Unable to access jarfile baksmali.jar
C:\android-sdk-windows\tools>java -jar baksmali.jar -o classout/ classes.dex
C:\android-sdk-windows\tools\classout\com\htc\android\htcime\ezsip\KeyboardView.
smali[0,0] -0xFF1874CD cannot fit into an int
C:\android-sdk-windows\tools\classout\com\htc\android\htcime\ezsip\KeyboardView.
smali[3889,4] mismatched tree node: I_STATEMENT_FORMAT35c_METHOD expecting I_CAT
CHES
C:\android-sdk-windows\tools\classout\com\htc\android\htcime\ezsip\KeyboardView.
smali[3892,4] mismatched tree node: I_STATEMENT_FORMAT11n expecting <UP>
these r the errors i get
im changing text color
using FF1874CD
whitch is just a shade of blue in a hex code form
Click to expand...
Click to collapse
By any chance do you have the .smali files still open? By the way, you dont have to use -o classout/ when you baksmali. Baksmali creates an out folder by default. It was designed that way. When you smali, you also dont need -Xmx512M. My suggestion is go here... http://code.google.com/p/smali/ Download the latest baksmali-1.2.2.jar and smali-1.2.2.jar. This will alleviate any errors. Also, do me a favor, pastebin both your edited and non edited .smali files. I'll take a look at them.
By the way, what Js said is correct. You need to use this value for .smali Smali color = -0x100. This is the shifted hex values converted from your standard hex.
JsChiSurf said:
Lol, that's not how it works .
Color codes, typically in decompiled code are in the form of ARGB bitwise shifted hex values, not standard hex.
R bitwise shifted 16 bits to the left
G bitwise shifted 8 bits to the left
B No shift
Click to expand...
Click to collapse
yeah i just figured that out when i looked at another file that has a different color already
so i dropped the transperency
And please FOR THE LOVE OF GOD, upgrade your baksmali and smali .jars
VinceOB said:
By any chance do you have the .smali files still open? By the way, you dont have to use -o classout/ when you baksmali. Baksmali creates an out folder by default. It was designed that way. When you smali, you also dont need -Xmx512M. My suggestion is go here... http://code.google.com/p/smali/ Download the latest baksmali-1.2.2.jar and smali-1.2.2.jar. This will alleviate any errors. Also, do me a favor, pastebin both your edited and non edited .smali files. I'll take a look at them.
By the way, what Js said is correct. You need to use this value for .smali Smali color = -0xe78b33. This is the shifted hex values converted from your standard hex.
Click to expand...
Click to collapse
yeah so im an idiot and got it to work.
thanks for ur help
i had already downloaded the newer smali and baksmali files and put them in the sdk tools folder. was typing to much in the commands and also used the transperency when i was putting in the hex color i.e. FF1874CD instead of just using 1874CD which is what worked and didnt give me any errors.
cbarlan said:
yeah so im an idiot and got it to work.
thanks for ur help
i had already downloaded the newer smali and baksmali files and put them in the sdk tools folder. was typing to much in the commands and also used the transperency when i was putting in the hex color i.e. FF1874CD instead of just using 1874CD which is what worked and didnt give me any errors.
Click to expand...
Click to collapse
So did it change the color for you?
VinceOB said:
And please FOR THE LOVE OF GOD, upgrade your baksmali and smali .jars
Click to expand...
Click to collapse
i upgraded them just changed the name of them to take of the numbers lol much less typing, im lazy lol
cbarlan said:
yeah so im an idiot and got it to work.
thanks for ur help
i had already downloaded the newer smali and baksmali files and put them in the sdk tools folder. was typing to much in the commands and also used the transperency when i was putting in the hex color i.e. FF1874CD instead of just using 1874CD which is what worked and didnt give me any errors.
Click to expand...
Click to collapse
That might have "fit" into the size of the variable defined in the code, but that is not how you calculate the color code. Odds are, if it works, you are going to end up with black, regardless of the color you are trying to achieve. See my previous post.
JsChiSurf said:
That might have "fit" into the size of the variable defined in the code, but that is not how you calculate the color code. Odds are, if it works, you are going to end up with black, regardless of the color you are trying to achieve...
Click to expand...
Click to collapse
what do u mean
im using codes from this site
http://www.december.com/html/spec/colorhex.html
cbarlan said:
what do u mean
im using codes from this site
http://www.december.com/html/spec/colorhex.html
Click to expand...
Click to collapse
What happened when you booted? Did you get the color you expected?
you should use the bat files for that. i only use cmd line codes for auto sign. i find the batch files for baksmali to be perfect for me.
good luck.
Avalaunchmods said:
you should use the bat files for that. i only use cmd line codes for auto sign. i find the batch files for baksmali to be perfect for me.
good luck.
Click to expand...
Click to collapse
Here's what I was getting at with Avabox. He has batch files in there and if you put the apk's in the folder called apk run backsmali.bat. It will create a folder inside the apk folder with the decompressed apk. You can go in there and edit all the .smali files and when you are done run smali.bat. It will recompress and put it back into the apk you originally put into the folder.
Am I correct Avalaunch?
This just makes it easier as you are not having to type anything in.
&RoidRage said:
Here's what I was getting at with Avabox. He has batch files in there and if you put the apk's in the folder called apk run backsmali.bat. It will create a folder inside the apk folder with the decompressed apk. You can go in there and edit all the .smali files and when you are done run smali.bat. It will recompress and put it back into the apk you originally put into the folder.
Am I correct Avalaunch?
This just makes it easier as you are not having to type anything in.
Click to expand...
Click to collapse
tadaa. but it depends on what your doing. i use it to extract the whole apk easily into afolder. then do edits to png's so forth. but it only re creates the classes.dex so png edits wont save. i just recreate the apk. archive to zip, sign, change to apk.
and im not gonna give to much away for free butttt you can also open and edit alot of different android files by changing their extensions and placing them into a folder.
What does deodex mean?
What is a deodexed rom/kernel?
Sent from my SAMSUNG-SGH-I897 using Tapatalk
Well since no one answered the question
from what i understand its like unzipping it so you can add stuff. Or fix things. But i may be way off here as im still a noob.
Http://lmgtfy.com/?q=What+is+a+deodexed+rom%
Sent from my SAMSUNG-SGH-I897
http://code.google.com/p/smali/wiki/DeodexInstructions
This tells you how to deodex a odex file. Basically an odex file is an optimized file that has device specific information regarding the dependencies of the BOOTCLASSPATH .jar files. They're primarily core.jar, ext.jar, framework.jar, android.policy.jar and services.jar. The process of deodexing is to extract all of that information for the odex file and create a classes.dex to put into the apk associated with the odex file. You have to basically tell the program, baksmali, what .jar files to look at but it takes a bit of research and trial and error to get a classes.dex file generated. You then need to add it to the apk and resign it, which requires yet another program autosign.
This process is not for the impatient or the faint of heart. You can actually do this on your PC with the correct files. Feel free to correct me if I'm wrong, I've just started messing around with deodexing.
Thanks!!!!
So I figured out I can use root explorer to extract framework-res.apk to edit the eri.xml file to change my carrier name....what I don't know is how to put it all back together to replace the current apk ...
Any tips?
Sent from my HERO200 using XDA App
7 zip on the pc is the best way. Right click on the apk, and just open archive, and drag and drop files as necessary. No need to rezip
Sent from my HERO200 using XDA App
Thanks!
Sent from my HERO200 using XDA App
Vandelay007 said:
So I figured out I can use root explorer to extract framework-res.apk to edit the eri.xml file to change my carrier name....what I don't know is how to put it all back together to replace the current apk ...
Any tips?
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
you can unzip and rezip but its not needed, you can also decompile and recompile with apktools but that is might not be needed. If your just replacing a file all you need to do is open it in 7zip or winrar and drag it in to the appropriate folder it will replace the old file. You will need to resign it though.
My question is how are you editing the xml file are you decompiling it and then editing it? if so you need to recompile the apk before you copy it back in other wise you'll most likely get boot loops since android compiles their xmls to binary format.
Root explorer is the easiest way to edit xml's. You can read and edit binary xml's without any hex editors and crap. Much easier.
Sent from my HERO200 using XDA App
Yeah - that's what I thought too - however - there is no option on the eri.xml file to edit it when you long press on it - you can extract it - but it just moves it to sdcard/extracted - which is what brought me to wonder how i could zip it back up -
danaff37 said:
Root explorer is the easiest way to edit xml's. You can read and edit binary xml's without any hex editors and crap. Much easier.
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Well technically you dont need to hex edit any of android xml's they just need to decompiled. They compile them to binary for speed and optomization purposes not like a java or c compilation where compile makes byte code.
Vandelay007 said:
Yeah - that's what I thought too - however - there is no option on the eri.xml file to edit it when you long press on it - you can extract it - but it just moves it to sdcard/extracted - which is what brought me to wonder how i could zip it back up -
Click to expand...
Click to collapse
So back to apk tool... use it to decompile the apk and edit your xml then recompile it. I don't use root explorer so there might be a way to use it to accomplish the same thing.
This works on JPY/JS3, and ought to work on any other i9000 ROM, with a bit of ingenuity.
Download the Home_Haptic_Editing.zip at the end of this post. Extract the files to somewhere of your choosing.
Now, look at the theme package. The file you'll need is android.policy.jar.
Open android.policy.jar inside a .zip program, such as 7-zip or WinRAR. Extract the file "classes.dex" to the same folder as baksmali.jar and smali.jar.
Open a command prompt and navigate to that folder. (Or, hold Shift and right click inside the folder and hit "Open command window here").
Enter into that command prompt the following:
Code:
java -jar baksmali.jar -o classout/ classes.dex
This will create a folder called "classout" filled with .smali files.
Delete the classes.dex file.
Replace the PhoneWindowManager.smali with the uploaded one.
Back inside the command prompt, enter the following:
Code:
java -Xmx512M -jar smali.jar classout/ -o classes.dex
This will generate a classes.dex file.
Delete the classout folder.
Using 7-zip or similar, replace the classes.dex inside the android.policy.jar.
Put the android.policy.jar back inside your theme, and you're done.
It compiled. Will test tomorrow, as I don't feel like dealing with forces closes if I ****ed up tonight.
x3nhydr4lutr1sx said:
It compiled. Will test tomorrow, as I don't feel like dealing with forces closes if I ****ed up tonight.
Click to expand...
Click to collapse
My first victim tester.
Works on JS3 and JPY.
can u explain more what should this mod does exactly ?? and ought to work on any other i9000 ROM, with a bit of ingenuity?? is that mean if i try to replace ur PhoneWindowManager.smali with mine could break my phone ???
ingvay2009 said:
can u explain more what should this mod does exactly ?? and ought to work on any other i9000 ROM, with a bit of ingenuity?? is that mean if i try to replace ur PhoneWindowManager.smali with mine could break my phone ???
Click to expand...
Click to collapse
It means that it adds haptic
feedback to the home key.
It means that if you try it on non-JPY/JS3, I don't know what will happen.
Sent from my Captivate.
Compilled, now testing... AFAIK it shouldn't **** up.
But it's android - sign for that file is now bad, so it will recompile dalvik-cache (yeah, crazy i know)
Edit: **** up DID not occured, replaced file via recovery and adb. JS3 firmware
So I take it it worked?
Yep, but feedback on home is a bit stronger than other buttons.this is weird
ive tried multiple times but the windows phone 7 theme woll not work
As always tha.ks for the guide. Think we might need to make a roll up of your guids so they are easy to find.
As far as the windows theme what is the theme built off?
Thanks for posting this info. Keep up all your great work my cappy would be bone stock if not for you
Can you point me in the direction in how to add haptic feedback for jvp or even jvq, I'm trying to port a I9000 to tmobile vibrant.
jrafael said:
Can you point me in the direction in how to add haptic feedback for jvp or even jvq, I'm trying to port a I9000 to tmobile vibrant.
Click to expand...
Click to collapse
It's the same.
Sent from my Infuse 4G
I did some some searching to no avail. Does anyone have an exchange email apk that is hacked so you don't have to use a PIN? Thanks
I would also like this for the Verizon Moto X.
There's a xposed module " by pass exchange email” but I have no idea if it works
Sent on my Moto X
The xposed bypass doesn't work I have tried it.
sent from my rooted at&t moto x
I know how to crack the Email.apk but only if it has the Classes.dex file in the APK. The one for verizon does not. Is this due to it being odex'd?
corywf said:
I know how to crack the Email.apk but only if it has the Classes.dex file in the APK. The one for verizon does not. Is this due to it being odex'd?
Click to expand...
Click to collapse
Haha. If I could answer that I probably wouldn't have to request the .apk. Hopefully some folks chime in.
thepolishguy said:
Haha. If I could answer that I probably wouldn't have to request the .apk. Hopefully some folks chime in.
Click to expand...
Click to collapse
lol yeah that's what I was hoping too. I'd like to get rid of the pin lock.
You have to deodex the apk. I had to re-install windows and don't really feel like doing anything right now.
Make sure adb is working test using adb devices. If you see a device your good. Also make sure you have Java installed.
Create new dir in your C:\ name it what ever in this case MotoX
Create two more dir's inside the MotoX dir
Framework
Apps
So you should have;
C:\MotoX
C:\MotoX\Framework
C:\MotoX\Apps
run these two commands using adb.
Code:
adb pull /system/framework C:\MotoX\Framework
adb pull /system/apps C:\MotoX\Apps
Download these two files attached.
baksmali.jar
smali.jar
Place them in C:\MotoX so like
C:\MotoX\baksmali.jar
C:\MotoX\smali.jar
In cmd prompt run these commands.
Code:
cd C:\MotoX
baksmali.jar -a 15 -x C:\MotoX\Apps\filename.odex -d C:\MotoX\Framework
This will create a folder called "out" so you will see this
C:\MotoX\out
THIS OUTPUT IS SMALI, YOU CAN MAKE CHANGES BEFORE COMPILING TO DEX.
To make this into a dex you run this in cmd
Code:
cd C:\MotoX
smali.jar out -o classes.dex
Copy C:\MotoX\Apps\filename.apk to C:\MotoX
Open filename.apk with 7-Zip, drag and drop classes.dex into the main dir of the 7zip apk.
You have a deodex apk.
Wow!
amoamare said:
You have to deodex the apk. I had to re-install windows and don't really feel like doing anything right now.
Make sure adb is working test using adb devices. If you see a device your good. Also make sure you have Java installed.
Create new dir in your C:\ name it what ever in this case...
Click to expand...
Click to collapse
Boom goes the dynamite!
corywf said:
I know how to crack the Email.apk but only if it has the Classes.dex file in the APK. The one for verizon does not. Is this due to it being odex'd?
Click to expand...
Click to collapse
@corywf - Will this post help you create the hacked .apk?
amoamare said:
You have to deodex the apk. I had to re-install windows and don't really feel like doing anything right now.
Make sure adb is working test using adb devices. If you see a device your good. Also make sure you have Java installed.
Create new dir in your C:\ name it what ever in this case MotoX...
...You have a deodex apk.
Click to expand...
Click to collapse
thepolishguy said:
@corywf - Will this post help you create the hacked .apk?
Click to expand...
Click to collapse
Also I didn't really spell check any of this so make sure you manually type it out and that your dir references are correct.
amoamare said:
You have to deodex the apk. I had to re-install windows and don't really feel like doing anything right now.
Make sure adb is working test using adb devices. If you see a device your good. Also make sure you have Java installed.
Create new dir in your C:\ name it what ever in this case MotoX
Create two more dir's inside the MotoX dir
Framework
Apps
So you should have;
C:\MotoX
C:\MotoX\Framework
C:\MotoX\Apps
run these two commands using adb.
Code:
adb pull /system/framework C:\MotoX\Framework
adb pull /system/apps C:\MotoX\Apps
Download these two files attached.
baksmali.jar
smali.jar
Place them in C:\MotoX so like
C:\MotoX\baksmali.jar
C:\MotoX\smali.jar
In cmd prompt run these commands.
Code:
cd C:\MotoX
baksmali.jar -a 15 -x C:\MotoX\Apps\filename.odex -d C:\MotoX\Framework
This will create a folder called "out" so you will see this
C:\MotoX\out
THIS OUTPUT IS SMALI, YOU CAN MAKE CHANGES BEFORE COMPILING TO DEX.
To make this into a dex you run this in cmd
Code:
cd C:\MotoX
smali.jar out -o classes.dex
Copy C:\MotoX\Apps\filename.apk to C:\MotoX
Open filename.apk with 7-Zip, drag and drop classes.dex into the main dir of the 7zip apk.
You have a deodex apk.
Click to expand...
Click to collapse
so I have accomplished all of this. I am currently working on the email.apk. there is also the exchange2.apk that i believe will need to be edited as well.
When I edited the email apk a couple of years ago I just went to these lines and returned true and false. These lines check to see if the policies are enabled I believe.
Code:
.method public isActive(Lcom/android/emailcommon/provider/Policy;)Z
.registers 1
.parameter "policy"
.prologue
const/4 v0, 0x1
return v0
.end method
.method public isActiveAdmin()Z
.registers 1
.prologue
const/4 v0, 0x0
return v0
.end method
I then tried to recompile it and i got an error stating that two registers were required for one of the two changes. I haven't looked at which line yet because I know I don't know enough to figure out why it needs to registers. Here is the error.
Code:
c:\MotoX>java -Xmx512M -jar smali.jar out -o classes.dex
out\com\android\email\SecurityPolicy.smali[1659,4] This method requires at least
2 registers, for the method parameters
so this is where i am and this is what im stuck on. Ill attach the entire smali file so anyone that can help can take a look at the entire code. Ill also attach the security admin smali in case that matters.
Ill also begin working on the exchange apk, but this apk didn't exist the last time i did this so I'm not sure what I'm going to do with it. Like I said, Im not good at this stuff I just really want an exchange security bypass for my Moto X.
edit: Verizon Moto X
If your exchange server only checks for pin on setup, try this:
adb shell
sqlite3 /data/system/locksettings.db
update locksettings set value=0 where name='lockscreen.password_type';
.exit
exit
That will set the lock to slide.
thepolishguy said:
I did some some searching to no avail. Does anyone have an exchange email apk that is hacked so you don't have to use a PIN? Thanks
Click to expand...
Click to collapse
There's already an email apk in xda but you must be rooted
Sent from my Nexus 4 using XDA Premium HD app
icase81 said:
If your exchange server only checks for pin on setup, try this:
adb shell
sqlite3 /data/system/locksettings.db
update locksettings set value=0 where name='lockscreen.password_type';
.exit
exit
That will set the lock to slide.
Click to expand...
Click to collapse
Ill try that later in the week when I have more time. I don't have the accounts set-up yet. But that workaround seems like it would still cripple some of the touchless control functionality. Appreciate the help though. It will be better than nothing when I finally decide to install these stupid exchange accounts.
paulo_cv said:
There's already an email apk in xda but you must be rooted
Click to expand...
Click to collapse
which apk's are you talking about? i tried two that I found on xda. The thread had 3 apk variants for 4.1 4.2 and 4,3. I tried the 4.2 and 4.3 apk's but they both crashed immediately on boot.
steps taken:
1.renamed email.apk, email.odex, exchange2.apk, exchange2.dex with ".bk" at the end instead of deleting them so i could undo what i did as easy as possible.
2. moved the new Email.apk and Exchnage2.apk from sd card to system/app
3. chmodd 755 both apk's
4. rebooted
RESULT: got constant failures notifications that exchange server had failed an email had failed. the email app would not open into anything.
link to the apk's I used: http://forum.xda-developers.com/showthread.php?t=1749921
The apk's are located in the zip files so I just pulled them from there.
Sent from my Nexus 4 using XDA Premium HD app
jayboyyyy said:
Ill try that later in the week when I have more time. I don't have the accounts set-up yet. But that workaround seems like it would still cripple some of the touchless control functionality. Appreciate the help though. It will be better than nothing when I finally decide to install these stupid exchange accounts.
Click to expand...
Click to collapse
It should have no affect on the touchless. Essentially, if you have it set to slide lock screen anyway (the default out of the box), you set up your account, set a pin/pattern/password/whatever. Once the account is setup and synching, you can run the above commands, which merely sets the value in the DB back to slide without actually turning off 'pin' in the settings. Apparently, the app only looks at the settings, not in the DB. I had to do this because I work for a certain 3 letter company (Think Watson), and we use Lotus Notes. To use them on a phone, they have ridiculous 8 character password requirements with a 30 second timeout as well as making them device administrators despite it being MY phone. I set it up, run the above commands, and its back to just being how I like it with no password to unlock. Their software thinks I'm in compliance, and I can do my job all the more easily.
icase81 said:
It should have no affect on the touchless. Essentially, if you have it set to slide lock screen anyway (the default out of the box), you set up your account, set a pin/pattern/password/whatever. Once the account is setup and synching, you can run the above commands, which merely sets the value in the DB back to slide without actually turning off 'pin' in the settings. Apparently, the app only looks at the settings, not in the DB. I had to do this because I work for a certain 3 letter company (Think Watson), and we use Lotus Notes. To use them on a phone, they have ridiculous 8 character password requirements with a 30 second timeout as well as making them device administrators despite it being MY phone. I set it up, run the above commands, and its back to just being how I like it with no password to unlock. Their software thinks I'm in compliance, and I can do my job all the more easily.
Click to expand...
Click to collapse
i see what you did there. will work on it right now. I was thinking you were changing the pin lock to just a swipe unlock but the phone would still assume it was a lock (which is why i was thinking touchless controls would still think that it was locked) but the way you explained it makes clears it up. Thanks for the quick response and easy workaround. Ill be needing to ask you for the correct code once 4.3 comes out though...
This is the one I use. You must remove exchange accounts before flashing and download the appropriate one for your android version
http://forum.xda-developers.com/showthread.php?t=1749921
I've been using it for a while with different devices/ROMs
Sent from my Nexus 4 using XDA Premium HD app
paulo_cv said:
This is the one I use. You must remove exchange accounts before flashing and download the appropriate one for your android version
http://forum.xda-developers.com/showthread.php?t=1749921
I've been using it for a while with different devices/ROMs
Sent from my Nexus 4 using XDA Premium HD app
Click to expand...
Click to collapse
yup yup. those are the ones i tried already. Ran the 4.2 variant and the 4.3. I ran the 4.3 because the apk's are named the same as the apk's on our 4.2.2 where as the hacked 4.2 apk's are not the same name. But neither worked anyway so it didn't really matter. They wouldn't even run. It could be because "chmod 755" didn't do the correct permissions??? I didn't go in and check to see what permissions were actually given to the apk's after i moved them from the sd card to the system/app directory and ran chmod 755.
jayboyyyy said:
yup yup. those are the ones i tried already. Ran the 4.2 variant and the 4.3. I ran the 4.3 because the apk's are named the same as the apk's on our 4.2.2 where as the hacked 4.2 apk's are not the same name. But neither worked anyway so it didn't really matter. They wouldn't even run. It could be because "chmod 755" didn't do the correct permissions??? I didn't go in and check to see what permissions were actually given to the apk's after i moved them from the sd card to the system/app directory and ran chmod 755.
Click to expand...
Click to collapse
If you flash them through a custom recovery the installer takes care of the permissions. I've never tried to push them manually so not sure if that works
Sent from my Nexus 4 using XDA Premium HD app