Xperia X10 not recognizing APKs as APKs ? - XPERIA X10 General

I was in another thread trying to figure out how to install xRecovery and I'm starting to think that the problem is that my phone isn't recognizing the apks as apks. Has anyone else had this problem? It only recognizes the xRecovery file as a .zip and so I can't use the installer to install it.

Why you don't just use flashtool to root and install xRecovery? That's much easier.

bro why dont you try renaming the .zip to .apk it works!try it!

KInG GaME said:
bro why dont you try renaming the .zip to .apk it works!try it!
Click to expand...
Click to collapse
I tried that already thanks, tho...
I was hoping to not have to mess around with something else but I guess I will give flashtool a shot

you can always use Manual method,
just extract and copy these three files (busybox, chargemon, xrecovery.tar) from xrecovery.zip or xrecovery.apk to your Phone/system/bin directory, using root explorer (with r,w, rights)

PlayGunsta said:
Why you don't just use flashtool to root and install xRecovery? That's much easier.
Click to expand...
Click to collapse
this worked. still don't understand why i couldn't do it the other way but thank you!

hambino83 said:
this worked. still don't understand why i couldn't do it the other way but thank you!
Click to expand...
Click to collapse
You had to change to name of the .zip to .apk with a file manager on your phone. Maybe you had a setting turned on on your pc that prevents from displaying file extension.

PlayGunsta said:
You had to change to name of the .zip to .apk with a file manager on your phone. Maybe you had a setting turned on on your pc that prevents from displaying file extension.
Click to expand...
Click to collapse
i tried that and that didn't work. now i'm starting to think something is up with how my computer handles these .zip files though...now i'm trying to download install the .ftf file from this thread and when i put that file directly into the firmware folder in flashtool it doesn't recognize it as a .ftf file (and its listed as a .zip file when i download it)...this is frustrating the bajeezus out of me

zmbutt said:
you can always use Manual method,
just extract and copy these three files (busybox, chargemon, xrecovery.tar) from xrecovery.zip or xrecovery.apk to your Phone/system/bin directory, using root explorer (with r,w, rights)
Click to expand...
Click to collapse
that's the thing i can't!!!!

hambino83 said:
I was in another thread trying to figure out how to install xRecovery and I'm starting to think that the problem is that my phone isn't recognizing the apks as apks. Has anyone else had this problem? It only recognizes the xRecovery file as a .zip and so I can't use the installer to install it.
Click to expand...
Click to collapse
what firmware r u
Sent from my SEX10 using XDA App

ya know what, i'm not even sure right now since i've done so much ish to this dang phone in the past day lol i did figure out that i had to change the settings in windows to not hide the extensions of known file types so that i could change the .zip to .apk. Since I had already installed xRecovery I don't know if that would have solved the problem but I'm assuming it would have. Thanks for your help everyone!

Related

[Q] How to make modded app stay after using adb push?

Does anyone know how to push a modded app to the HTC Desire and make it stay?
Because obviously on the HTC Desire pushing files normally with adb push doesn't make them stay.
Anyone got a solution?
what do you mean it doesn't make them stay?
if you push a file to the system/framework then it will be there
if it's the same file as one already in the phone then it will overwrite it
is your device in recovery when writing to the system folder?
sorry if im missing something here
cgrec92 said:
what do you mean it doesn't make them stay?
if you push a file to the system/framework then it will be there
if it's the same file as one already in the phone then it will overwrite it
is your device in recovery when writing to the system folder?
sorry if im missing something here
Click to expand...
Click to collapse
Well I modded the smooth calender app and made the background transparent and then pushed it to /data/app where it was.
Works fine and shows up how it should.
But then when i restart my phone, it's gone, not in the app launcher or widgets menu but it's still there when I look for it in ROOT EXPLORER.
try pushing the file to system/app
cgrec92 said:
try pushing the file to system/app
Click to expand...
Click to collapse
I've done that too, doesn't work.
Do I have to do it in recovery when pushing apps?
Because it lets me push apps when the phone is normally on.
the phone must be in recovery in order to write to the system
boot into recovery
remove from data/app and system/app the old file
push to system/app the new file
reboot
cgrec92 said:
the phone must be in recovery in order to write to the system
boot into recovery
remove from data/app and system/app the old file
push to system/app the new file
reboot
Click to expand...
Click to collapse
Did all that, still didn't work.
I pushed the apps but they haven't come up at all.
try installing it instead
adb install file.apk
cgrec92 said:
try installing it instead
adb install file.apk
Click to expand...
Click to collapse
Won't install either, was the first thing I tried.
It needs to be signed and I've tried every guide possible on how to sign apk's but none of them work.
it doesnt have to be signed if youre pushing it to your phone
if only has to be signed if you want to be able to flash it
which is actually a good idea considering that adb push isnt working for you
if you send me or upload the file i can sign it for you and you can flash it in recovery
cgrec92 said:
it doesnt have to be signed if youre pushing it to your phone
if only has to be signed if you want to be able to flash it
which is actually a good idea considering that adb push isnt working for you
if you send me or upload the file i can sign it for you and you can flash it in recovery
Click to expand...
Click to collapse
Do you know how to make flashable zip files?
Because I've been asking around for bloody ages on how to do it but no one seems to want to reply!
im not sure on windows but i can have it done in a second on my mac
cgrec92 said:
im not sure on windows but i can have it done in a second on my mac
Click to expand...
Click to collapse
AHH ****!
I don't understand why people can't tell me how to do it on windows!
But yeh I've attached the apks!
UltraLinx said:
AHH ****!
I don't understand why people can't tell me how to do it on windows!
But yeh I've attached the apks!
Click to expand...
Click to collapse
enjoy
10chaaaaar
cgrec92 said:
enjoy
10chaaaaar
Click to expand...
Click to collapse
Yes they work!
Thank you for the help.
And i was wondering, couldn't I just take out the apps from that zip file and add more modded apps then flash them?
good good
if you unzip the file and then re-zip you'll lose the sign
i think you can add/remove files with a zip manager without actually unzipping
however the update script included in that zip will only allow flashing to /system/app
note that if you toggle signature verification in recovery then you can flash everything signed or not, although this is not good if you are distributing files.
cgrec92 said:
good good
if you unzip the file and then re-zip you'll lose the sign
i think you can add/remove files with a zip manager without actually unzipping
however the update script included in that zip will only allow flashing to /system/app
Click to expand...
Click to collapse
Yeh i'm only going to add to it, not actually unzip it.
Yeh that's cool don't mind it being flashed to /system/app.
Thanks for the help!
UltraLinx said:
Yeh i'm only going to add to it, not actually unzip it.
Yeh that's cool don't mind it being flashed to /system/app.
Thanks for the help!
Click to expand...
Click to collapse
no problem
UltraLinx said:
Do you know how to make flashable zip files?
Because I've been asking around for bloody ages on how to do it but no one seems to want to reply!
Click to expand...
Click to collapse
http://www.robmcghee.com/android/creating-an-android-update-zip-package/
or
http://forums.t-mobile.com/t5/Opera...ndroid-phone/m-p/241285/highlight/true#M26103
its amazing what google can do for you
copex said:
http://www.robmcghee.com/android/creating-an-android-update-zip-package/
or
http://forums.t-mobile.com/t5/Opera...ndroid-phone/m-p/241285/highlight/true#M26103
its amazing what google can do for you
Click to expand...
Click to collapse
In the first one it says, "- edit <workdir>/META-INF/com/google/android/update-script".
Where do i get an update script from?
In the second link it doesn't say anything about making flashable zip files.
I've been to both of those websites before, done hours of searching, come back here for help but no one seems to know.

[Q] Reinstalling Timescape

Hi. Been searching everywhere and cant find a way to reinstall timescape.
I have tried system/apps but the apk is not there anymore or anything that is connected to Timescape.
The reason I deleted timescape is because it is one of the reasons that the battery life is so bad on the X10.
Now I cant get to my contacts. I am using acontacts.apk but for some reason the resolution is very bag on my contacts pics.
I have found a timescape.apk but it says it cannot install on my device. Maybe the apk is compatible for certain builds?
Maybe someone can suggest another app for contacts with a better pic resolution.
Thanks in advance
Oh yes : using rooted 026
Here a the Timescape.apk file
Thanks man.
DL now will let you if everything is cool.
nizaamh said:
Thanks man.
DL now will let you if everything is cool.
Click to expand...
Click to collapse
You need to correct the permissions of the apk file once you have copied it over to system\app otherwise it will give you the error you stated in your earlier post.
@ dong2007 - Hi thanks man worked like a bomb.
@ Marylandcookie : I didnt have to change permissions just installed .apk
I thought that there were diff. versions of timescape.apk for diff. firmwares thats y it didnt work with the one I dl
hmm for some reason i cant install it =( how do u change the permission?
goodsmile said:
hmm for some reason i cant install it =( how do u change the permission?
Click to expand...
Click to collapse
it is not for installing but U have to copy it to System/App folder and set permision for it same as other files in that folder. I use Root explorer to copy and set permision
thanks alot!
kanchigo said:
it is not for installing but U have to copy it to System/App folder and set permision for it same as other files in that folder. I use Root explorer to copy and set permision
Click to expand...
Click to collapse
can i set permission with astro file manager?

[Q] editing framework-res.apk

Hey guys I need a bit of help..... I was trying to edit the drawables on my gf 's Eris in the framework-res.apk and when I recompiled the Rom and tried to flash my changes recovery tells me that the update script couldn't be verified due to framework-res.apk and aborts the installation.... what am I doing wrong? Do I need to sign this apk or something to make it work correctly? I did this on my Droid incredible the other day with no problem. I know there was another thread on this further down in Dec but unfortunately it didn't give me the answers I need...
Sent from my ADR6300 using XDA App
elixir911911 said:
Hey guys I need a bit of help..... I was trying to edit the drawables on my gf 's Eris in the framework-res.apk and when I recompiled the Rom and tried to flash my changes recovery tells me that the update script couldn't be verified due to framework-res.apk and aborts the installation.... what am I doing wrong? Do I need to sign this apk or something to make it work correctly? I did this on my Droid incredible the other day with no problem. I know there was another thread on this further down in Dec but unfortunately it didn't give me the answers I need...
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
I assume from reading your post that you updated the framework png's inside a Rom Zip package... You don't need to sign the framework, but you do have to resign the Rom Zip file. Try re-signing the rom file, that should get it working...
Macrodroid said:
I assume from reading your post that you updated the framework png's inside a Rom Zip package... You don't need to sign the framework, but you do have to resign the Rom Zip file. Try re-signing the rom file, that should get it working...
Click to expand...
Click to collapse
Any input on how to sign Rom files? I've never signed anything before
elixir911911 said:
Any input on how to sign Rom files? I've never signed anything before
Click to expand...
Click to collapse
You can sign it using gnarlycs kitchen.
Edit: another thing you could have done is just pushed your modded frameworkres to its folder and rebooted the phone.
Sent from my Incredible using Tapatalk
elixir911911 said:
Any input on how to sign Rom files? I've never signed anything before
Click to expand...
Click to collapse
find zip signer i believe its called u can use that
tazzpatriot said:
find zip signer i believe its called u can use that
Click to expand...
Click to collapse
Sterricson Zip Signer, or get SignApkTool from the market and sign it on your phone... Just make sure you use the test-keys for the rom file...
I used zip signer from the market.... is there anyway I can use this to sign apk 's like HTC messaging and HTC IME so that I can edit drawables in those apps?
Sent from my ADR6300 using XDA App
elixir911911 said:
I used zip signer from the market.... is there anyway I can use this to sign apk 's like HTC messaging and HTC IME so that I can edit drawables in those apps?
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Y don't u just download the kitchen so u can do it easier and do a bunch together...I think someone said this already I forget lol I need to look haha
Well I know how to sign sips I just want to know if I can sign apps like HTC messaging so they'll install on my device.... if I unzip and rezip afile it won't install on my device... will signing it fix this?
Sent from my ADR6300 using XDA App
i could never get that **** to recompile correctly. i gave up.
I use apk manager to decompile, compile, and sign apks. Unless I'm adding pngs I'm which case I use apktool. If your just editing or replacing what already exists apk manager is the easiest way in my opinion.
Sent from my ERIS using XDA App
elixir911911 said:
Well I know how to sign sips I just want to know if I can sign apps like HTC messaging so they'll install on my device.... if I unzip and rezip afile it won't install on my device... will signing it fix this?
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Those won't install...you need to push them to system/app and reboot. No need to sign them unless you resign a whole rom.zip
Conap said:
Those won't install...you need to push them to system/app and reboot. No need to sign them unless you resign a whole rom.zip
Click to expand...
Click to collapse
That's right.. thanks for adding that Conap. Also I was re-reading and just wanted to add as well that you don't want to unzip an apk to modify it and then zip it.. Use one of the other tools mentioned.. apktool or apkmanager
CondemnedSoul said:
That's right.. thanks for adding that Conap. Also I was re-reading and just wanted to add as well that you don't want to unzip an apk to modify it and then zip it.. Use one of the other tools mentioned.. apktool or apkmanager
Click to expand...
Click to collapse
Also for pc 7zip works good also. Just right click the file 7zip open archive drop your png where you want it. Close the apk and push it to system/app or where ever it came from.
If your on ubuntu just click your apk and drop your pngs. You don't even need an apk tool.
dinc¦rockin' the stock root
wildstang83 said:
Also for pc 7zip works good also. Just right click the file 7zip open archive drop your png where you want it. Close the apk and push it to system/app or where ever it came from.
If your on ubuntu just click your apk and drop your pngs. You don't even need an apk tool.
dinc¦rockin' the stock root
Click to expand...
Click to collapse
That does work as well but doing it that way you will need to optimize the .9's if you change them also. xultimate works great for that.
CondemnedSoul said:
That does work as well but doing it that way you will need to optimize the .9's if you change them also. xultimate works great for that.
Click to expand...
Click to collapse
Oh cool. I never really optimized any of them. What does that do?
dinc¦rockin' the stock root
ok big time mess up...I downloaded apk manager....I used the command prompt to adb pull Browser.apk. I put this in the modding folder and used the script.bat file to extract the apk....I edited my files annd hit re zip apk and chose the option to retain signature for system apps. Then when I adb push back it seems to work fine but when I reboot browser doesnt show up in my app list!!!!! help please!!! where did I mess up? I even tried to zip align to see if that would fix it.....If I try to use coommand prompt to adb push the original browser.apk back into place it says error read only file system.....I'm locked out! ah!
elixir911911 said:
ok big time mess up...I downloaded apk manager....I used the command prompt to adb pull Browser.apk. I put this in the modding folder and used the script.bat file to extract the apk....I edited my files annd hit re zip apk and chose the option to retain signature for system apps. Then when I adb push back it seems to work fine but when I reboot browser doesnt show up in my app list!!!!! help please!!! where did I mess up? I even tried to zip align to see if that would fix it.....If I try to use coommand prompt to adb push the original browser.apk back into place it says error read only file system.....I'm locked out! ah!
Click to expand...
Click to collapse
To push the original browser, /system needs to be mounted as r/w which can be done with the command "adb remount"
As for the problem with the modded browser not showing up, try this:
Code:
adb shell chmod 644 /system/app/Browser.apk
adb shell chown 0:0 /system/app/Browser.apk
#now reboot into recovery, wipe cache and dalvik-cache, and reboot
the string you typed for the modded browser....i type that into a normal command prompt not into apk manager correct? I tried to put my normal browser back with adb remount and it still doesnt show in my app list but if i look with a file explorer the apk is in the right place....why wont it show up?
OK i actually pushed my old browser successfully and it wouldnt show in my app list....I then followed your instructions and did adb shell chmod and chown and reboot wipe dalvik and cache and it still wouldnt show up. I really dont wanna have to flash a recovery image....
edit: If it has any importance this is actually on a droid incredible i was testing for my gf's eris. So idk if it changes anything that this is actually an inc.

Flashable File manager( ES Explorer)

Ok..Here it is flashable "ES Explorer". Might be useful for someone else also
Note : If it's illegal to do this then then just delete the post
mohitmoudgil said:
Can any one make a flashable zip with a free root file manager in it.
Click to expand...
Click to collapse
I've never used it but why not try es file explorer? It claims to have a root explorer included.
I need flash able zip...some roms does not include any file manager.. like aokp
Sent from my SGH-T959 using Tapatalk
You could always download one from the market.
Or use 7-zip to open another ROM.zip, system/app and pull it out. Then use 7-zip again to unzip AOKP, put the file manager into system/app, rezip it and then flash it.
File managers are freely available. Is there a reason why you can't get one from the market. No SIM or WIFI access, maybe?
thank you
OP-thank you.
Many timse now I have flashed on the run. Some times I am on limited data or in a no coverage area. And then the times I don't want to install gapps.... yes... this is very useful.
@woodrube- thanks for the tip on the 7zip trick... I don't know why but I never thought about that. I extract stuff like that all the time... I feel stupid not thinking of that. That will be most use full next time I pan fry bacon. thank you. :highfive:
Xplore is a pretty good file manager. Its user interface us really great for copying files and stuff
Sent from my SGH-T959 using Tapatalk 2
+1
Sent from my HTC One X using xda premium
The easiest way is to open a rom zip file with 7zip and simply drag your favorite file manager to to /system/app/ folder.
Or you can use this premade flashable zip file and put in your own apks to flash: http://forum.xda-developers.com/showthread.php?t=1572962
eksasol said:
The easiest way is to open a rom zip file with 7zip and simply drag your favorite file manager to to /system/app/ folder.
Or you can use this premade flashable zip file and put in your own apks to flash: http://forum.xda-developers.com/showthread.php?t=1572962
Click to expand...
Click to collapse
Thank you for linkng that . Just took a look at that. I am going to check this out later. I am on the galaxy s3 (T-Mobile US) and a lot of things that I use to do in dsixda's Android Kitchen I have to find new ways for.
A big Thank you... you saved me in time
hkfan said:
Ok..Here it is flashable "ES Explorer". Might be useful for someone else also
Note : If it's illegal to do this then then just delete the post
Click to expand...
Click to collapse
i found this quite helpful. i use wifi to connect to the market and having a file explorer from the get-go helps me enter my wifi credentials through a text file vs having to manually enter ridiculously complicated passwords by hand. not to mention my google account credentials. thanks
does this works on every phone?
Nope, just on Android phones
i was looking every where for this. hope works. ty
big thanks.worked perfect on my s advance (aicp rom,4.4)
hkfan said:
Ok..Here it is flashable "ES Explorer". Might be useful for someone else also
Note : If it's illegal to do this then then just delete the post
Click to expand...
Click to collapse
Do you know how this helped me...
I have installed ported android l n my cell and there is a bug that we cant install apps. So i flashed this.
You have no idea how handy this came in.. Thanks
hkfan said:
Ok..Here it is flashable "ES Explorer". Might be useful for someone else also
Note : If it's illegal to do this then then just delete the post
Click to expand...
Click to collapse
thanx a million for this, I've installed a custom ROM with no file file explore preinstalled and this helped a lot!
hkfan said:
Ok..Here it is flashable "ES Explorer". Might be useful for someone else also
Note : If it's illegal to do this then then just delete the post
Click to expand...
Click to collapse
5 years later I have found your little flashable lifesaver. thanks mate
Thank You
hkfan

APK Request - LiveWallapersPicker

Hi! so, when i was rooted, i actually removed this app right there accidentally, i was debloating but i didn't even noticed it... so now i need it and can't find anywhere, can anyone post it here? Thanks in advance.
Here you go. It goes into system/app as you probably know.
https://onedrive.live.com/redir?resid=42F161BAACA54FFA!330&authkey=!AIvddz9cedRaQA8&ithint=file,zip
@countryfolk07
Could you please reupload this file? I made the exact same mistake which guile50 did
I would be obliged.
Great many thanks in advance.
Sawik55 said:
@countryfolk07
Could you please reupload this file? I made the exact same mistake which guile50 did
I would be obliged.
Great many thanks in advance.
Click to expand...
Click to collapse
Here it is, from. MPHS24.49-18-8 build.
https://drive.google.com/file/d/0B1tb_AIZ5QUwRDFwLWRzS1lKanM/view?usp=drivesdk
Thank you, you awesome person. I am really a newbie to flashing and rooting, could you please explain what should i do with it? Do i flash the zip with twrp or extract it somewhere? I tried installing some generic livewalpaperpicker.apk found somewhere on the xda and obviously it didnt work. Also is there a way to download the zip from your google drive, because for some unknown reason my phone wants to add it as a dictionary? (If no solution i'll just download it via pc). I will be fullheartedly thankfull for instructions.
Sawik55 said:
Thank you, you awesome person. I am really a newbie to flashing and rooting, could you please explain what should i do with it? Do i flash the zip with twrp or extract it somewhere? I tried installing some generic livewalpaperpicker.apk found somewhere on the xda and obviously it didnt work. Also is there a way to download the zip from your google drive, because for some unknown reason my phone wants to add it as a dictionary? (If no solution i'll just download it via pc). I will be fullheartedly thankfull for instructions.
Click to expand...
Click to collapse
I'm not sure why it's giving you a hard time downloading the zip. Are you using the Google Drive app or Chrome from your phone?
Extract the zip and copy the folder to /system/app/ using a root file manager. I should ask though, is your system stock? What version/build number? This includes the stock .apk and .odex file.
quakeaz said:
I'm not sure why it's giving you a hard time downloading the zip. Are you using the Google Drive app or Chrome from your phone?
Extract the zip and copy the folder to /system/app/ using a root file manager. I should ask though, is your system stock? What version/build number? This includes the stock .apk and .odex file.
Click to expand...
Click to collapse
It's a rooted, stock 6.0.1 rom, with xposed framework and a bunch of modules including N-ify, If i am correct of what a build is then my build is "24.221.5.clark_reteu.en.EU reteu".
Edit:
I tried to do everything as instructed and it didn't help. And what is curious i found out that i actually already had this folder in my system/apps. I switched it with the new one, reboot and unfortunately still when i try to set any live walpaper it says "aplication is not installed". I guess i won't be able to try pixelwalpapers anytime soon.

Categories

Resources