Zip into apk - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

How to install a file with *.zip extension as normal apk???????? Instruction says as to install file as normal apk but when i downloaded i could retrive a zip file format only Plzzzzzzzzzzz do help

Sathub4u said:
How to install a file with *.zip extension as normal apk???????? Instruction says as to install file as normal apk but when i downloaded i could retrive a zip file format only Plzzzzzzzzzzz do help
Click to expand...
Click to collapse
2 things can be happening. Either after you exctract the zip file with Winrar and it contains an apk file which you can transfer to your phone and using a file explorer just run it.
Or you have to go into CMW clockwork mode recovery (if you have it) and select flash a zip file.

Sathub4u said:
How to install a file with *.zip extension as normal apk???????? Instruction says as to install file as normal apk but when i downloaded i could retrive a zip file format only Plzzzzzzzzzzz do help
Click to expand...
Click to collapse
if the apk is signed as zip then open that zip with some editor like notepad++ and save it as "*.apk"

There is no apk inside zip file.Its like meta file and system..But its just an app,is it necessary to install via CWM!!!!!!!!!!! in thread it was given as instal file as normal apk!!!!!!!!!!!!!!!!

Sathub4u said:
There is no apk inside zip file.Its like meta file and system..But its just an app,is it necessary to install via CWM!!!!!!!!!!! in thread it was given as instal file as normal apk!!!!!!!!!!!!!!!!
Click to expand...
Click to collapse
Search all the folders for a apk file
Sent from my Xperia Ray using Tapatalk 2

Just rename file's extension from .zip to .apk then. Depending on your OS configuration, you may have to edit 1 setting, if you can not change the extension. For that - Control Panel, Folder Options, View, untick Hide extensions for known file types.

Someguyfromhell said:
Just rename file's extension from .zip to .apk then. Depending on your OS configuration, you may have to edit 1 setting, if you can not change the extension. For that - Control Panel, Folder Options, View, untick Hide extensions for known file types.
Click to expand...
Click to collapse
:good: 1st on this thread who knows what about he talks :good:

bejunk said:
:good: 1st on this thread who knows what about he talks :good:
Click to expand...
Click to collapse
If u dont knw jst remain silent..Its clear..

Someguyfromhell said:
Just rename file's extension from .zip to .apk then. Depending on your OS configuration, you may have to edit 1 setting, if you can not change the extension. For that - Control Panel, Folder Options, View, untick Hide extensions for known file types.
Click to expand...
Click to collapse
Ya i have tried this bro,it works with certain apps..but few say problem in the package,could not install. tis is the download link http://d-h.st/mCp. it is downloaded as zip

How to install tis link
http://d-h.st/mCp tis link downloads a zip file..the thread says that it has to installed as normal apk..I tried renaming file extension into apk..Any help by Android lovers.................

Sathub4u said:
http://d-h.st/mCp tis link downloads a zip file..the thread says that it has to installed as normal apk..I tried renaming file extension into apk..Any help by Android lovers.................
Click to expand...
Click to collapse
got it as apk bro
btw what browser are you using
am using chromium(chrome)

smarthavoc said:
got it as apk bro
btw what browser are you using
am using chromium(chrome)
Click to expand...
Click to collapse
dear chrome user can u tell me if this browser gettting lags when openend many tabs i would likely use it but this happens on many browsers

bejunk said:
dear chrome user can u tell me if this browser gettting lags when openend many tabs i would likely use it but this happens on many browsers
Click to expand...
Click to collapse
nope it is better without lags and crashes
am on Ubuntu 13.10, i have issues with Firefox(some crashes), so i use chromium no lags at all for me

smarthavoc said:
nope it is better without lags and crashes
am on Ubuntu 13.10, i have issues with Firefox(some crashes), so i use chromium no lags at all for me
Click to expand...
Click to collapse
thank u for review.. hope it works same for me....
i only used stock browser until now bcuz like said after to many opened sites most browser get bad lag (oom)

bejunk said:
thank u for review.. hope it works same for me....
i only used stock browser until now bcuz like said after to many opened sites most browser get bad lag (oom)
Click to expand...
Click to collapse
guess it is not that memory problem, chrome&firefox renders on quality than speed, so most animations lag if more than 10-15 tabs(content also matters may be) are opened at once
anyway we were off the topic
did you got it @Sathub4u

smarthavoc said:
guess it is not that memory problem, chrome&firefox renders on quality than speed, so most animations lag if more than 10-15 tabs(content also matters may be) are opened at once
anyway we were off the topic
did you got it @Sathub4u
Click to expand...
Click to collapse
no from my brain, bro ;D i dont talk same as somebody else said :/ i get behind myself im pretty sure its oom, bcuz if i usng stock browser he holds 2 sites loaded, now when open more sites , he only holds the current one. so if i switch to other site he (re)load data. on it. memory usage is some higher but okay. now when i use some browser that usaally tries to holds all the data my memory decreases very hard until to some mb left, on early legacy xperia buils my phone restarted more often if i used other browser hard. i faced this issues on nearly all new browser's... sometimes even my device stops responding so must take off battery i never faced this on stock browser but more site-reloads.
i had seen this behaviour on several roms like stock ics and cm's JB. ...
ahh YES OFFTOPIC! sry ur right bro but thanks for help

Related

[Q] Downloading files from Internet?

Hi guys,
I'm curious why I cannot download any files from Internet on my S2 using the default browser. I tried a .zip and .rpm file link, both don't work. Is there a specific file restriction, or did I missed some setting? I'm trying to determine the real HSPA+ speed I get on Bell network and I think the best way is to simply download a 1MB file. I'm not familiar, do we have some sort of stats or details when we download a file?
I'm not interested to install some third party downloader.
Thanks for your help.
In cant download, do you mean it saves the file as a .htm file?
Sent from my GT-I9100 using xda premium
Get a different browser from the market.
CM7, Nightly. Captivate
bruflot said:
In cant download, do you mean it saves the file as a .htm file?
Click to expand...
Click to collapse
No, you download a .zip file from mediafire for example. If it can't download, why the Downloads app has a tab called Internet Downloads?
shadow65781 said:
Get a different browser from the market.
Click to expand...
Click to collapse
I'm not interested to download third party apps, I just want to know WHY the Internet Downloads are not enabled on S2 with the default browser, even if we have a system app that monitors this part.
Stock browser does not work with all files, just use downloadallfiles and it will download all files. Does not harm the system in any way and a useful tool.
nikzDHD said:
Stock browser does not work with all files, just use downloadallfiles and it will download all files. Does not harm the system in any way and a useful tool.
Click to expand...
Click to collapse
Sorry, I don't want to sound rude but... did you guys read my OP question?
I don't CARE about third apps, I just want to know WHY I cannot download files with stock apps and what file types I can download.
If anyone could let me know what files can be downloaded and managed by Downloads app, I would appreciate it. Thanks.
Download "ASTRO" manager from market.
open>
settings>
more>
preference>
-Enable browser download
.......chill
yqed said:
Sorry, I don't want to sound rude but... did you guys read my OP question?
I don't CARE about third apps, I just want to know WHY I cannot download files with stock apps and what file types I can download.
If anyone could let me know what files can be downloaded and managed by Downloads app, I would appreciate it. Thanks.
Click to expand...
Click to collapse
Well it's to do with android it'll only download files android recognizes and something to do with http.
Has always been the case hence all these download options are available.
Google is your friend mate.
Sent from my GT-I9100 using XDA App
avetny said:
Download "ASTRO" manager from market.
open>
settings>
more>
preference>
-Enable browser download
.......chill
Click to expand...
Click to collapse
Heh, you're a funny guy.
Whoever wonders what file types are handled by Android, here it is an example:
Code:
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="filename.{ZIP,PDF}"
Yes, the filename is case sensitive. Android does not use file extensions, so you need to supply an appropriate MIME type in your HTTP responses.
As a side note, I thought XDA is a developer forum where questions like the ones I asked are something normal.
If you haven't already understood, there are options you can enable to allow stock browser to download all file types, they have been mentioned now on this thread.
tonymy01 said:
If you haven't already understood, there are options you can enable to allow stock browser to download all file types, they have been mentioned now on this thread.
Click to expand...
Click to collapse
I understood very well, but let me quote you my OP question so you understand better.
yqed said:
I'm curious why I cannot download any files from Internet on my S2 using the default browser.
...
I'm not interested to install some third party downloader.
Click to expand...
Click to collapse
Ok, maybe you are French first language, let me explain this, you can patch the browser to download any file type with astro etc.very easy solution and you don't give up the stock browser!
Ie NOT a third party downloader, but a stock browser enabler.
I really have no idea what is so hard to understand what I asked.
For the Nth time, I wanted to know "WHY" I cannot make the Android browser download a .zip file (for example).
All you have to do is send the proper headers to your Android browser (that is the WHY part), it will work. I can upload a zip archive to one of my servers and create a php file with a header like that:
Code:
$file = 'mytestfile';
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename="' . $file . '.ZIP"');
I don't CARE there are programs, patches or dancing cowboys that can enable file downloads into my phone.
I simply wanted to know the "WHY" part. Man I'm exhausted...
Why is it worth worrying about when the fix is a piece of piss?
Without the fix, the phone can only download a minimal number of file types, with the fix, it can download all, what are you waiting for?

help me on dual touch...

since I can not post directly in the discussion, I have to open a separate thread.
I used the file for dual touch using insmod and it worked.
Now I wanted to make sure that it is fixed with the phone, I read the procedure and tried to follow her, but I do not find any files bulid.prop ....
Where is it?
Please help me.
build.prop is in
root, system folder
tell me if it works for you, I tried this and I couldn't get it to work.
Ray_jai said:
build.prop is in
root, system folder
tell me if it works for you, I tried this and I couldn't get it to work.
Click to expand...
Click to collapse
using it without changing the files, it works QuickPic, Copilot.
In google maps does not work. Not even in browsers like Opera or Ninesky.
But I thought that by modifying these files, worked in the rest.
Thanks! I found the file "build.prop",
Where is the other file "hw_config.sh"? Because what I found I had no voice "insmod" ...
DomusX10 said:
using it without changing the files, it works QuickPic, Copilot.
In google maps does not work. Not even in browsers like Opera or Ninesky.
But I thought that by modifying these files, worked in the rest.
Thanks! I found the file "build.prop",
Where is the other file "hw_config.sh"? Because what I found I had no voice "insmod" ...
Click to expand...
Click to collapse
hw_config.sh is in ur "etc" folder... are you using root explorer???
You do know you can use the search function OF the root editor too...
DomusX10 said:
using it without changing the files, it works QuickPic, Copilot.
In google maps does not work. Not even in browsers like Opera or Ninesky.
But I thought that by modifying these files, worked in the rest.
Click to expand...
Click to collapse
Not sure what ROM you're using, but you may need this file to get the other apps using dualtouch:
http://forum.xda-developers.com/showpost.php?p=13497850&postcount=49
teapea said:
Not sure what ROM you're using, but you may need this file to get the other apps using dualtouch:
http://forum.xda-developers.com/showpost.php?p=13497850&postcount=49
Click to expand...
Click to collapse
this is the problem?? I've Stock ROM 2.1update1 with firmware 2.1.1.A.06
then, I have to create that file and copy it into /system/etc/permissions with rootexplorer...
now I try this...and you know I do!
EDIT: NOT WORKING...I have create that file (copy and paste the code in the frame in a txt file, and renamed android.hardware.touchscreen.multitouch.xml) then I've paste it into /system/etc/permissions and associated it permission rw-r-r
rebooted and not working...single touch.
yet launched from the console does the dual touch working in some applications ... why?
EDIT 2: Please do not send me to hell, but by creating the file and rebooting, if I launch "insmod" from the console, dual touch works in all apps!
How is it possible, however, that the changes to make it start with phone not work?
I want to work "even" when I restart the phone!
Did you try this version?
http://forum.xda-developers.com/showpost.php?p=13498769&postcount=56
I couldn't get it to work when doing it manually. but when I load it from the SD card through adb it works.
I ended up using the AAIS script and replacing the module in the AAIS with the one in the link.
Ray_jai said:
I ended up using the AAIS script and replacing the module in the AAIS with the one in the link.
Click to expand...
Click to collapse
I use that on the first post dedicated at my firmware 2.1.0.A.06
http://forum.xda-developers.com/showthread.php?t=1064558
manually loaded by terminal emulator work in every app. But, the procedure to autorun this module with telephone when start, don't work.
I do not know which is doing a script AAIS, because I'm not well prepared ... I do not know how to do it ...
use this.
http://forum.xda-developers.com/showthread.php?t=951274
Ray_jai said:
use this.
http://forum.xda-developers.com/showthread.php?t=951274
Click to expand...
Click to collapse
thanks!
With this script you can enable and disable a lot of things ... I can just see if it works ...and let you know ...
I wanted to ask, but what is JIT? what does it do?
thank you in advance for availability ..
EDIT: Works!!! without launching the script, I went just to see how the command was written in the file "hw_config.sh" ...
I corrected, and after restarting, it works!
I was wrong because we put the quotes, but no need to write.
The correct lines of code to be included in the file "hw_config.sh" (at bottom) are:
# load multi touch driver
insmod /system/lib/modules/cy8ctma300_ser.ko
sleep 1
After you have copied into system/lib/modules "cy8ctma300_ser.ko" , mounted it as rw-rr , and edit the file "build.prop" as indicated in the post.
works!!!
thanks!!!!

Status bar background

How to change the status-bar background?
i want to change the transparent black background with the image in attachment so that it match my theme.
So which files i have to replace with this background?
Using xPeria Mini with stock ICS ROM
So no help?:crying:
piousheart said:
So no help?:crying:
Click to expand...
Click to collapse
Try to post in Themes and Apps section.
Publiuss said:
Try to post in Themes and Apps section.
Click to expand...
Click to collapse
What is this thread?
mobilephone01 said:
What is this thread?
Click to expand...
Click to collapse
Actually this thread was in general but i moved it
And guys will you all please stick to the topic..any help?
maybe this ??
http://forum.xda-developers.com/showthread.php?t=1786889
iiandskater said:
maybe this ??
http://forum.xda-developers.com/showthread.php?t=1786889
Click to expand...
Click to collapse
See here is my systemUI.apk please add the image at OP (opaque)
piousheart said:
See here is my systemUI.apk please add the image at OP (opaque)
Click to expand...
Click to collapse
Why not do it yourself? There is plenty of TUT's around that help you decompile and recompile apks.
evilbarcode said:
Why not do it yourself? There is plenty of TUT's around that help you decompile and recompile apks.
Click to expand...
Click to collapse
I tried but when i recompile it & push it in system\app with proper permission, after rebooting phone it stuck bootlogo..
The same happens when i tried to decompile DefaultThemes.apk & MusicWidget.apk they both were not installed...
then i searched & found that we have to compress the resources.arc blablablaaa... & signing with recompiling system apk..
Still after giving a lot of tries i dont understand how to use signing & compress resources.arc blablaballl idk..
If you know than may be you can teach
Rebooted my phone 100z of time to check every method i found but no success
Now i dont wana harm my phone, rebooting it again & again for the things that isn't working for me...
See this thread, i asked on xda but people aren't explaining properly, they just stop answering after certain question:crying:
piousheart said:
See this thread, i asked on xda but people aren't explaining properly, they just stop answering after certain question:crying:
Click to expand...
Click to collapse
Well, I am a bit on the busy side.... I assume you didn't try my tool then?
To do this manually, you need to first recompile your apk after you've done all your changes. You already know this bit.
Then:
Make a copy of the old apk
Use 7zip to open both the copy and the recompiled apk
Drag the 'res' folder from the recompiled apk to the copy
Close the copy
Extract 'resources.arsc' from the recompiled apk
Add 'resources.arsc' to the copy, selecting 'STORE' compression
Close the recompiled apk
Open the copy and check that resources.arsc has the same size and packed size
Reboot the phone and go into recovery
Mount the /system partition
Push the apk straight to the right folder
Unmount the /system partition
Reboot the phone
Wait for it all to load
Wait a bit longer
Wait a bit longer still
And you're done.
If you've pulled the app from the phone to a Windows PC then you don't need to worry about permissions. That's only when you copy the app to your sdcard or pull the app using Linux.
Going into recovery might not be needed. Pushing system apps while the phone is running can cause some nasty bugs so I always use recovery just to play it safe. You'll need to reboot most of the time anyway to see the changes you've made.
Instead of pushing, you could make a flashable zip. As an amazing coincidence, Tickle My Android can do that too.
Ticklefish said:
Well, I am a bit on the busy side.... I assume you didn't try my tool then?
To do this manually, you need to first recompile your apk after you've done all your changes. You already know this bit.
Then:
Make a copy of the old apk
Use 7zip to open both the copy and the recompiled apk
Drag the 'res' folder from the recompiled apk to the copy
Close the copy
Extract 'resources.arsc' from the recompiled apk
Add 'resources.arsc' to the copy, selecting 'STORE' compression
Close the recompiled apk
Open the copy and check that resources.arsc has the same size and packed size
Reboot the phone and go into recovery
Mount the /system partition
Push the apk straight to the right folder
Unmount the /system partition
Reboot the phone
Wait for it all to load
Wait a bit longer
Wait a bit longer still
And you're done.
If you've pulled the app from the phone to a Windows PC then you don't need to worry about permissions. That's only when you copy the app to your sdcard or pull the app using Linux.
Going into recovery might not be needed. Pushing system apps while the phone is running can cause some nasty bugs so I always use recovery just to play it safe. You'll need to reboot most of the time anyway to see the changes you've made.
Instead of pushing, you could make a flashable zip. As an amazing coincidence, Tickle My Android can do that too.
Click to expand...
Click to collapse
Thank you brother i will try it
and yes i have your tool too, it helped me to restore system fonts when i messed with it & had a bootloop:victory:
Great tool:good:
BTW can i use winrar instead of 7zip?
Where is 'STORE' compression can be found in winrar?
How to check that resources.arsc has the same size ( same size compared to with file? ) and packed size?
piousheart said:
Thank you brother i will try it
and yes i have your tool too, it helped me to restore system fonts when i messed with it & had a bootloop:victory:
Great tool:good:
BTW can i use winrar instead of 7zip?
Click to expand...
Click to collapse
Excellent. I'm glad it helped.
Technically, you could use any archival program but it has to be one that lets you add files to an archive without compressing them. I find 7zip to be fairly quick and user-friendly. Plus, it's free which is always a good thing.
Ticklefish said:
Excellent. I'm glad it helped.
Technically, you could use any archival program but it has to be one that lets you add files to an archive without compressing them. I find 7zip to be fairly quick and user-friendly. Plus, it's free which is always a good thing.
Click to expand...
Click to collapse
Where is 'STORE' compression can be found in winrar?
How to check that resources.arsc has the same size ( same size compared to with file? ) and packed size?
piousheart said:
Where is 'STORE' compression can be found in winrar?
How to check that resources.arsc has the same size ( same size compared to with file? ) and packed size?
Click to expand...
Click to collapse
I don't know. I don't even know if winrar can do it. That's why I suggested using 7zip instead.
To check sizes, just open the app (again, this is using 7zip) and look at the numbers to the right of resources.arsc. One is the original size of the file, the other is the size it's been compressed to. These need to be the same.
Ticklefish said:
I don't know. I don't even know if winrar can do it. That's why I suggested using 7zip instead.
To check sizes, just open the app (again, this is using 7zip) and look at the numbers to the right of resources.arsc. One is the original size of the file, the other is the size it's been compressed to. These need to be the same.
Click to expand...
Click to collapse
Leme have my hands on some app..
Edit : I tried this but when ever i put it back to sdcard and look at it the app loses its icon ( just a green android logo ) and when i put it in syste\app with proper permission & then restart it doesn't install and even i tried to install as normal apk then it says parse problem..
What i am doing wrong i followed the same procedure above & also the size of resources is same.
piousheart said:
Leme have my hands on some app..
Edit : I tried this but when ever i put it back to sdcard and look at it the app loses its icon ( just a green android logo ) and when i put it in syste\app with proper permission & then restart it doesn't install and even i tried to install as normal apk then it says parse problem..
What i am doing wrong i followed the same procedure above & also the size of resources is same.
Click to expand...
Click to collapse
I got your pm asking me to reply to this. I do most of my android modding stuff during spare moments at work because I don't have the time at home so I'd have gotten round to answering this in time.
I'm not sure what you're doing wrong here. Since you're got my tool installed, try using that first. If that works, then we know that there's something going wrong with the manual procedure and we can fix it.
If it doesn't work, then there's something wrong with the mod you're doing and we need to fix that instead.
Ticklefish said:
I got your pm asking me to reply to this. I do most of my android modding stuff during spare moments at work because I don't have the time at home so I'd have gotten round to answering this in time.
I'm not sure what you're doing wrong here. Since you're got my tool installed, try using that first. If that works, then we know that there's something going wrong with the manual procedure and we can fix it.
If it doesn't work, then there's something wrong with the mod you're doing and we need to fix that instead.
Click to expand...
Click to collapse
Okay thanks..
So i tried to mod even after knowing that it wont work as before..
So what i did in DefaultThemes.apk is edited the Androidmanifest & string files to change the name & nothing else
is i am doing it editing wrong file and yes how can i use your tool for this?
Originally Posted by Ticklefish<br />
I got your pm asking me to reply to this. I do most of my android modding stuff during spare moments at work because I don't have the time at home so I'd have gotten round to answering this in time.<br />
<br />
I'm not sure what you're doing wrong here. Since you're got my tool installed, try using that first. If that works, then we know that there's something going wrong with the manual procedure and we can fix it.<br />
If it doesn't work, then there's something wrong with the mod you're doing and we need to fix that instead.
Click to expand...
Click to collapse
<br />
<br />
Okay thanks..<br />
So i tried to mod even after knowing that it wont work as before..<br />
So what i did in DefaultThemes.apk is edited the Androidmanifest & string files to change the name & nothing else<br />
is i am doing it editing wrong file and yes how can i use your tool for this?
Click to expand...
Click to collapse
To be honest, I don't know how to change the name of an app. It's something I've never done before.
I suspect that you've gotten the mod wrong somewhere but unfortunately I can't advise on where that could be.
Sorry, mate.

[GAPPS][CM&Cyanmobile]MVIP-GAPPS-23/3/2014

For Clean Install use my script there
http://forum.xda-developers.com/showthread.php?t=2685838
Apps List
Code:
1-[COLOR="red"][B][I][U]HOT [/U][/I][/B][/COLOR][B][COLOR="Blue"]play store 4.6.16 With Batch install
2-play service 4.2.4.3
3-hangouts 2.0.303
4-youtube v2.0.2 (more faster and no adds unlike v5)
5-other google core and sync tools[/COLOR][/B]
6-[COLOR="red"][B][I][U]HOT [/U][/I][/B][/COLOR][COLOR="blue"][B]Google Play Music Beats Edition[/B][/COLOR]
DownloaDS--https://www.mediafire.com/?mbto8z42bnsoj5u
​
myaservip said:
Latest G Apps Including :
.........
​
Click to expand...
Click to collapse
can not open archive,the file is damaged
Worked!!
http://www7.0zz0.com/2014/03/10/07/765778971.jpg
Can`t Install Bro,
installing Aborted ..
can`t install via CWM ..
Lemon_Lime`s said:
Can`t Install Bro,
installing Aborted ..
can`t install via CWM ..
Click to expand...
Click to collapse
I haven't tested this, but did you mount system before flashing this?
Change update bin with one of your device roms
If I Helped You Please Press ThankS
HellBoy.007 said:
I haven't tested this, but did you mount system before flashing this?
Click to expand...
Click to collapse
yes . already mount .
myaservip said:
Change update bin with one of your device roms
If I Helped You Please Press ThankS
Click to expand...
Click to collapse
ok thanks i try it later .
EDIT: how i supposed change update bin and u zip file cant even be open ?
EDIT: how i supposed change update bin and u zip file cant even be open ?
Click to expand...
Click to collapse
Unpack and put update script then recompress
myaservip said:
Unpack and put update script then recompress
Click to expand...
Click to collapse
can u updated u zip files . it just for future user . i think
Updater binary depends on device used - Next relase may do that
when there is updates i will Make a new zip
Reciving Error reports somebody download and try to install tell me if there is currption
myaservip said:
Reciving Error reports somebody download and try to install tell me if there is currption
Click to expand...
Click to collapse
your zip file is corrupted - unexpected end of archive which probably means it wasnt uploaded fully or there was a packing error
repack and reupload the zip
marcussmith2626 said:
your zip file is corrupted - unexpected end of archive which probably means it wasnt uploaded fully or there was a packing error
repack and reupload the zip
Click to expand...
Click to collapse
Thanks also Adding surprise in it
playstore is getting forced closed -_-
Puru007 said:
playstore is getting forced closed -_-
Click to expand...
Click to collapse
Remove Goolge play store before Using thr zip /qnd clear data
marcussmith2626 said:
your zip file is corrupted - unexpected end of archive which probably means it wasnt uploaded fully or there was a packing error
repack and reupload the zip
Click to expand...
Click to collapse
Try Now Tell Me if Store force closes I Just added PlayMusic Beats Edition idk how he got that proplem it works for me all
myaservip said:
Try Now Tell Me if Store force closes I Just added PlayMusic Beats Edition idk how he got that proplem it works for me all
Click to expand...
Click to collapse
the zip looks ok
the only way the playstore would force close is if the user had installed another playstore before but changed the name of the playstore apk
for example in your script you have got delete vending apk and replace with com.android.vending-4.5.10.apk (this should be named vending.apk)
so if the user has updated their playstore themselves and have a different name then I spose technically you will now have two playstores installed which maybe the problem but normally if you install and apk it would just replace the old version if the manifest names are the same
I cant really test it as I im on cm7 and I use official gapps
all I can say is in my experience of installing gapps you should either
1 - not have any gapps installed to begin with
2 - or if you are in a stock rom with gapps already installed clear data first to avoid bootloops/any problems
marcussmith2626 said:
the zip looks ok
the only way the playstore would force close is if the user had installed another playstore before but changed the name of the playstore apk
for example in your script you have got delete vending apk and replace with com.android.vending-4.5.10.apk (this should be named vending.apk)
so if the user has updated their playstore themselves and have a different name then I spose technically you will now have two playstores installed which maybe the problem but normally if you install and apk it would just replace the old version if the manifest names are the same
I cant really test it as I im on cm7 and I use official gapps
all I can say is in my experience of installing gapps you should either
1 - not have any gapps installed to begin with
2 - or if you are in a stock rom with gapps already installed clear data first to avoid bootloops/any problems
Click to expand...
Click to collapse
Incoming Update Will remove all G-Apps On device Soon Thanks for Your Help I will Credit u in that Thread
I don't care about newest Goggle Play or wtf. But 'Google Play Music Beats Edition'. It's sound good. :good: Downloading

Flashing ZIP Folder Containing APK's via TWRP Recovery

Hi
I've started around three other threads here on XDA but I never seem*to get anyone answering my questions for something that should be so simple.
Anyway I've been trying to flash a ZIP folder containing third party APK files via TWRP to go alongside my fresh install of Lineage OS. All of the user apps install perfectly fine to the '/data/app' directory, however, system apps that are installing to the '/system/app' directory are only getting half installed. Basically when I boot into the ROM I can see all of the system apps in the app launcher, and even navigating through the phone with a root explorer I can see that I can see the correctly copied folder and file from inside the ZIP folder. For example the Google Snapseed app is stored as the following:-
/system/app/com.niksoftware.snapseed
>niksoftware.snapseed.apk
What's weird is that if I open the apk file and install it with the Package Installer*successfully*installs it but with a '1' suffixed to the end and two folders and a re-named apk file
/data/app/com.niksoftware.snapseed-1
> lib
> oat
> base.apk
For a little test I moved the 'niksoftware.snapseed-1' folder from '/data/app' to '/system/app', deleted the original 'niksoftware.snapseed'*folder and rebooted my phone. As expected the app continued to work perfectly fine with no force crashes.
If you're wondering why I'm installing the apps under a system app, it's because the user(s) I'll be passing the phone onto will be non-technical Android users. When the user needs to do a factory reset, the apps I pre-installed will survive if they're installed as system apps compared user apps that will get wiped.
There is literally nothing on any forums anywhere explaining how to flash system apps via recovery taking the more recent Android the OS' that have been released in the last few years. Could someone please help me out here?
Many thanks
Will
willowen100 said:
Hi
...
Will
Click to expand...
Click to collapse
Personally I never tried to install third party apps like that , but it could be interesting to test this out .
But I think you've made a mistake while trying to create the system folder :
You created this :
/system/app/com/niksoftware.snapseed
But the /com is not needed , I mean it maybe the reason of you issue .
So try to remove the /com :
/system/app/niksoftware.snapseed
Let me know if it worked
RaiZProduction said:
Personally I never tried to install third party apps like that , but it could be interesting to test this out .
But I think you've made a mistake while trying to create the system folder :
You created this :
/system/app/com/niksoftware.snapseed
But the /com is not needed , I mean it maybe the reason of you issue .
So try to remove the /com :
/system/app/niksoftware.snapseed
Let me know if it worked
Click to expand...
Click to collapse
Hi
Thank you for your reply. I've only just realised there is a typo in the directory. The 'com/' should be 'com.' However, I will give removing 'com' altogether to see if that makes any difference.
willowen100 said:
Hi
Thank you for your reply. I've only just realised there is a typo in the directory. The 'com/' should be 'com.' However, I will give removing 'com' altogether to see if that makes any difference.
Click to expand...
Click to collapse
Let me know if it worked , happy to see I helped :highfive:
RaiZProduction said:
Let me know if it worked , happy to see I helped :highfive:
Click to expand...
Click to collapse
I renamed all of the folders inside the zip folder so there is no '.' (dots) in the folder and file names and unfortunately the apps still crash. It's a shame there is no command that extracts the .APK files into their correct directories. I'd love to know how the OpenGApps package works because that basically does the same thing as my ZIP folder.
Sent from my LG-H930 using Tapatalk
willowen100 said:
I renamed all of the folders inside the zip folder so there is no '.' (dots) in the folder and file names and unfortunately the apps still crash. It's a shame there is no command that extracts the .APK files into their correct directories. I'd love to know how the OpenGApps package works because that basically does the same thing as my ZIP folder.
Click to expand...
Click to collapse
GApps does the same thing .
Basically it's a zip file with a script that copy all the file and the directories to the root directory of your phone.
I think the problem is the signature used bybthe third party apps. But that's just an hypothesis , I could be wrong I'll let you search more deep on that subject with Google , hope this helped a bit
:highfive:
RaiZProduction said:
GApps does the same thing .
Basically it's a zip file with a script that copy all the file and the directories to the root directory of your phone.
I think the problem is the signature used bybthe third party apps. But that's just an hypothesis , I could be wrong I'll let you search more deep on that subject with Google , hope this helped a bit
:highfive:
Click to expand...
Click to collapse
I've found a couple of APK/ZIP folder signing utilities but unfortunately they've made no difference.
The part that's going wrong somewhere is the folders that should be created alongside the APK files are not being created.
Sent from my LG-H930 using Tapatalk
I made some videos explaining the situation.
The first video shows the app crashing on launch. The APK file is installed at
Code:
/system/app/Snapseed
I then proceed to install it which is successful and installs itself as a user app found at
Code:
/data/app/com.niksoftware.snapseed-1
Next I rename it and move it to system directory and delete the original directory so there isn't a clash of identical apps. Finally I reboot the phone.
https://youtu.be/mL6ePOMnDQw
The second video I show that it opens up perfectly fine. To show that the two folders inside the
Code:
/system/app/com.niksoftware.snapseed
directory are important, I move them to the internal storage Downloads folder and then relaunch the app. It now crashes. I restore the folders and then app once again works again.
https://youtu.be/hL60APHTV7Q
Will
willowen100 said:
I made some videos explaining the situation.
...
Will
Click to expand...
Click to collapse
Hi , the videos you made made me understand better your issue , but I've a question , when you moved the oat and lib folders to the system , you opened the Snapseed app successfully without any bugs isn't it ?
And because the installation folders are in the system , the factory reset won't affect them .
So is your problem solved ?
RaiZProduction said:
Hi , the videos you made made me understand better your issue , but I've a question , when you moved the oat and lib folders to the system , you opened the Snapseed app successfully without any bugs isn't it ?
And because the installation folders are in the system , the factory reset won't affect them .
So is your problem solved ?
Click to expand...
Click to collapse
Yes you could say I have solved the problem but it's not the solution I'm looking for. I want to be able to install the apps in bulk during the flashing stage using a custom recovery like TWRP I'm using. The order I would flash would be:-
1) Flash Lineage OS
2) Flash OpenGApps
3) Flash additional apps (essentially third party apps from the Google Play Store)
Sent from my LG-H930 using Tapatalk
willowen100 said:
Yes you could say I have solved the problem but it's not the solution I'm looking for. I want to be able to install the apps in bulk during the flashing stage using a custom recovery like TWRP I'm using. The order I would flash would be:-
1) Flash Lineage OS
2) Flash OpenGApps
3) Flash additional apps (essentially third party apps from the Google Play Store)
Click to expand...
Click to collapse
Ok , now flashable zips are field so I can help you
If you want me to do it for you , just upload those files to Google drive and send me the link , I'll make your flashable zip and upload it to Dropbox so you can download it :good:.
The files you should upload :
• Libs folder of every third party apps you want to install
• Oat Folder of every third party apps you want to install
• Base.apk file of every third party apps you want to install
If you want to do it yourself , I'll make you a guide on how to do it ( you require a PC to do it with RAR and Notepad++ or another text editor installed on it )
RaiZProduction said:
Ok , now flashable zips are field so I can help you
If you want me to do it for you , just upload those files to Google drive and send me the link , I'll make your flashable zip and upload it to Dropbox so you can download it :good:.
The files you should upload :
• Libs folder of every third party apps you want to install
• Oat Folder of every third party apps you want to install
• Base.apk file of every third party apps you want to install
If you want to do it yourself , I'll make you a guide on how to do it ( you require a PC to do it with RAR and Notepad++ or another text editor installed on it )
Click to expand...
Click to collapse
I'd rather do it myself please if that's okay with you creating a guide, as I would like to learn how to do it for future reference? I use Notepad++ quite frequently and I use 7-zip to archive everything so I'm all setup there.
This is going to sound stupid but where do I get the Libs and Oat folders from except for copying them from Android? I am aware you can open the APK files themselves but I've never seen the Oat folders inside.
Many thanks again for your help so far.
Will
Sent from my LG-H930 using Tapatalk
willowen100 said:
I'd rather do it myself
...
Will
Click to expand...
Click to collapse
I meant I need the Content of this folder for each apps you want to install as system apps:
/data/app/com.niksoftware.snapseed-1
> lib
> oat
> base.apk
Click to expand...
Click to collapse
You will need this to make the flashable zip.
Copy and paste those files to your download folder ( Internal storage ) , then transfer those folders (and the APK file to your PC in order to use it .
I'm preparing the guide and I'll post it in around 10 min , don't forget to press the thank button on the posts
willowen100 said:
I'd rather do it myself please if that's okay with you creating a guide
...
Sent from my LG-H930 using Tapatalk
Click to expand...
Click to collapse
So , let's start with what you need :
- The folder /data/app/com.niksoftware.snapseed-1 and its content on your desktop
Now what you should do :
1) Extract the 2 folders in the template I made you
2) Open the system folder and create a folder called "app" into it
3) Copy the com.niksoftware.snapseed-1 folder (with the content inside it) and paste it into the app folder newly created
4) Repeate the step above for each and every app you want to install as system app
5) Exit the folders
6) Select the META-INF folder and the system folder and compress them with 7-Zip
7) You are ready to flash the zip to your phone !
My Advice is to do this in your Desktop in first place, because it's more easy to see what you're doing.
When you get used to this, you may do it everywhere (even on your phone).
Don't forget to disable signature verification in TWRP ( if there is the option , I don't remember well)
And make a backup of your phone before every modification , we never know what can happen (but in this case, it'll be okay since we're modifying nothing)
Hope this helped you , don't forget to press the thank button
RaiZProduction said:
I meant I need the Content of this folder for each apps you want to install as system apps:
You will need this to make the flashable zip.
Copy and paste those files to your download folder ( Internal storage ) , then transfer those folders (and the APK file to your PC in order to use it .
I'm preparing the guide and I'll post it in around 10 min , don't forget to press the thank button on the posts
Click to expand...
Click to collapse
I'm just trying to find out if there a more time saving tool that will extract the the lib, oat and base.apk from the containing .apk file so I can do it in bulk on a PC.
The problem I have is that I have about 20+ APK's that will be flashed additionally on top of the Lineage OS ROM and OpenGApps. Thinking how long it took to do one installing it as a user app, renaming it, moving it to the system partition, I would have to do that for everyone. Even if I was to do this method the contents I extracted for one Android architecture (CPU chipset type) used on one device may be completely incompatible on another.
Sent from my LG-H930 using Tapatalk
willowen100 said:
I'm just trying to find out if there a more time saving tool that will extract the the
...
on one device may be completely incompatible on another.
Click to expand...
Click to collapse
Unfortunately I don't know any tool able to do that.
And for the architecture , that's not really a problem
Because there are only 4 architecture :
x86 (rare)
x86_64 (very rare , mostly used on emulators)
arm (most common)
arm64 (common)
And the arm APKs work for arm64 devices , so you just have to do this for arm APKs and it'll be okay for almost every Android device . (Edit 1 : Not really sure of this info, should be good but I can't certify it 100%)
And I know myself that doing that takes time , but if you really want to do that , that's the only way I can suggest.
Do as you feel it , I hope my answers were clear and useful for you.
Let me know what's your decision,
Have a nice day
RaiZProduction said:
Unfortunately I don't know any tool able to do that.
And for the architecture , that's not really a problem
Because there are only 4 architecture :
x86 (rare)
x86_64 (very rare , mostly used on emulators)
arm (most common)
arm64 (common)
And the arm APKs work for arm64 devices , so you just have to do this for arm APKs and it'll be okay for almost every Android device . (Edit 1 : Not really sure of this info, should be good but I can't certify it 100%)
And I know myself that doing that takes time , but if you really want to do that , that's the only way I can suggest.
Do as you feel it , I hope my answers were clear and useful for you.
Let me know what's your decision,
Have a nice day
Click to expand...
Click to collapse
I'm going to go ahead with it. Like you said ARM will work for ARM64. Even if the apps become slightly outdated if I were to flash my ZIP onto future devices, as soon as the Play Store is installed it will hopefully update anyway.
Sent from my LG-H930 using Tapatalk
willowen100 said:
I'm going to go ahead with it. Like you said ARM will work for ARM64. Even if the apps become slightly outdated if I were to flash my ZIP onto future devices, as soon as the Play Store is installed it will hopefully update anyway.
Click to expand...
Click to collapse
Good luck my friend

Categories

Resources