Hi every one.
I am new here. So I'm writing with all the details I can think of.
I'm using HTC desire x jelly bean in India. I've temp rooted the device. Now I run with a twrp touch screen edition revovery. I run the stock version (with odex) Rom. The only changes I made is removal of some bloatware.
The main reason I've rooted my device is to save space by pushing non movable and frequently used apps to system/app .
Since I only have temp root, The way I'm making user apps as system app is as follows
1. creating a backup Apk file either by manually copying from data/app or by clean master.
2 uninstall the app.
3 after entering the twrp recovery, I move the Apk files to system/app ( I don't create any odex files for the moved app)
4 reboot after wiping dalvik & cache.
Its a working method. But my problem is that several apps both that I frequently uses and high size are cannot converted into system apps. After making such apps as system apps, when I try to open them it force closes, crashes, or misbehaving (eg. Shows No internet connectivity even if I'm connected to web). I tried odexing the user Apk. But it not seems to be the problem. I like to know
1 why is this happening.
2 can I identify such apps before moving it to the /system/app
3 how/can I solve this isue ( I don't own a pc).
4 I am writing a list of apps that I've already tried and failed to convert as system apps. If there is no general methods can you suggest methods for the following apps
Quick pick
Mx player
BS player
Chrome
Adobe reader
Google plus
Opera mini
Opera
Google Maps
RAR
Mozilla Firefox
Freecharge
Advance download manager
Google search
Dolphin browser Jetpack
Chess free
Thanks in advance.
Sent from my HTC Desire X using XDA Free mobile app
Probably those apps have and lib files
e.x
1.With root explorer hit a app and open it in view mode
2.Navigate to lib/armeabi..xxx
3.You will find lib(xxx.so) files
4.Extract them
5.Move those files to system/lib/and set them with rw-r--r-- permissions
6.Move and the app to system app with same permissions
7.Reboot
Sorry for my English..
Superuser_ said:
Probably those apps have and lib files
e.x
1.With root explorer hit a app and open it in view mode
2.Navigate to lib/armeabi..xxx
3.You will find lib(xxx.so) files
4.Extract them
5.Move those files to system/lib/and set them with rw-r--r-- permissions
6.Move and the app to system app with same permissions
7.Reboot
Sorry for my English..
Click to expand...
Click to collapse
Thank you very much for your answer. I was searching it for a very long time. It worked like a magic with my Google play services. Before moving the lib files apps like gmail, inbox by gmail, hangouts were showing "unknown problem with Google play". I couldn't afford the space for an non movable app with about 27 mb staying in my app storage.
I was really having a trouble for the same question in following thread.
http://forum.xda-developers.com/showthread.php?t=2956631
That is why I created this thread.
Sent from my HTC Desire X using XDA Free mobile app
@Superuser_
Can you please give me more advice or thread links regarding this subject.
Sent from my HTC Desire X using XDA Free mobile app
Tried with bs player too. Its really working. :thumbup:
Sent from my HTC Desire X using XDA Free mobile app
OMG the lib files of new Google chrome is about 38 MB.
Sent from my HTC Desire X using XDA Free mobile app
Let's make a lesson...
I don't know with witch method has du move apps in system before and first you must check in system/app folder if have you double apps.
ex.
when you move an update of YouTube.apk, the name of updated app must have exactly the same name of default system app to overwrite it.
check and delete the oldest apks.
when you install a app from play store, that app creates a data folder,a dalvik cache file and perhaps a sdcard folder or a sdcard/android/data/xxx.xxx folder
when you uninstall a app from play store,the app has a script where automatically delete any created file.
when you delete a system app do must manually delete those files.Those files are in:
/data/data /the app data folder
and
/data/cache/dalvik cache or /data/dalvik cache
You can do all this only with root explorer or with one root file manager
the installed apps from play store you can find them in:
/data/app
You can see witch apps are in internal memory installed and you can copy from there...
always check first if the app works without lib files and if not,then move and those libs files
edit:
The play store and Google services apks are updated automatically without your permission and you can see that only in installed apps
All these sounds tricky but with a little practice you will become expert
@Superuser_
When new updates releases should I delete the lib files I just copied along with the app and replace it with the new updated apk's lib file.
Or the lib files I copied for older version works for new versions too?
Sent from my HTC Desire X using XDA Free mobile app
The old copied lib files wil not work in a new version
you must again copy those files and when you paste them will automatically overwrite the old ones
don't forget each time to change the permissions
The thing is I'm temp rooted. (htc desire x). And I use touch version of twrp recovery for jelly bean. I do all the things we were discussing with my recovery. And I assume chmod_66 or something like that is the command to set the read write permission. But I think whenever I copy apps or lib files to system using my recovery it's permission is read write by default. I assume this because I never faced a single problem for not setting any permission. I am not sure about it though. And will you please tell me what is the fix permission option under advanced menu in twrp recovery is used for?
@ashifashraf5
I don't have HTC DX..but a LG p700
Just visited the thread because I was looking if 4.4.4 came out for my girlfriend desire
The only thing I know is, when you are root you are root
Temporary root,I haven't heard before
The permissions can be changed with root explorer app.long press on a apk/permissions
Google it the:
how i can change permissions with root explorer app
@Superuser_
I was testing this method with Google maps. I found more than one subfolders in lib folder. My processor is arm v7. Is it what the armeabi-v7a stands for ?. Should I move all the .so files in lib folder or should I only move the armeabi_v7a subfolder .so files ?
I also attached a screenshot for convenience
Sent from my HTC Desire X using XDA Free mobile app
I think Google maps working in system without libs or not?
The other folders is for different processors
You must copy only the v7 files
@Superuser_
If I delete the libraries from the Apk using an explorer the size of Apk will get reduced. My doubt is , since we are copying the lib files needed , to the system/lib , if I delete the Lib Files from Apk and move it to system/app would there be any problem?
I mean
1. Will the app work properly ?
2. Will there be any difficulty for updating such modified apps through Google play
Sorry for the constant questions. And thanks for helping
Sent from my HTC Desire X using XDA Free mobile app
I've never tried..
try it
work great. lg g2.
Choose armeabi-v7a
Ai type keyboard.
Thank you Superuser! Great. Thank you ashifashraf5 for this question.
Related
This is a work-in-progress report. I found a cool way to save internal memory: one can delete native libraries from apks after the apks have been installed. When an apk is installed, the native libraries are put in /data/data/*/lib, and if you delete the lib from the apk file in /data/app, everything works fine. Signatures don't seem to matter here.
This is particularly useful for apps most of whose memory usage is the native libraries.
OK, I've only tried it with one app.
Ooops: Normally, the /data/data/app.name/lib directory gets deleted on reboot to match the shorn apk file.
But this can be prevented by setting /data/data/app.name/lib and /data/data/app.name/lib/* to read only (chmod 555).
In case anybody wants to try with this, here's how you can do it. Of course, you need root.
Download my Android commandline build of zip. Install it in /bin and make it executable (chmod 755 /bin/zip). If you don't want to or can't make /bin writeable, install it in /data/local, and then call it explicitly as /data/local/zip
In the shell, do:
Code:
su
cd /data/data/app.name
(Where of course "app.name" is the name of the app.) Make sure there is something in the lib/ folder, or you won't save any space. Make the libraries read-only:
Code:
chmod 555 lib lib/*
Then delete the libraries from the apk:
Code:
cd /data/app
zip -d app.name*.apk lib lib/*
(You can replace the first * with a -1 or -2 or the like suffix, which gets added by the installer.)
And you're done. The apk is now thinner, and the libraries are still usable as they've already been extracted to /data/data/app.name/lib
If your app was moved to SD using Froyo (or higher?), you will need to do something a little more complicated. After you've made the libraries read-only, you'll need to remount the app directory read-write, and then zip:
Code:
mount -o rw,remount /mnt/asec/app.name*
cd /mnt/asec/app.name*
zip -d pkg.apk lib lib/*
Run the app, then reboot to see if it still works. If not, uninstall and reinstall the app.
You can save pretty serious amounts of memory this way. The libs in some graphics-intensive apps, like games, are most of the apk. I've seen apks that shrink from about 2mb to about 200k or from about 7mb to about 2mb after this procedure. Particularly bloated are apps that include two different versions of the libraries, for different CPUs.
A happy thing is that you can still move the shorn app to SD (at least with my Force2SD--I haven't tried with the OS's own function).
Interestingly, the uninstaller can still delete the app, despite the procedure, which is nice. I don't yet know what happens when you try to upgrade after this.
It would be easy to write an app that does this, or to integrate it into Force2SD. I am not sure I am going to bother.
For further savings, you can remount your sdcard as exec (I have a utility that does that if anybody is interested), move the library from /data/data/app.name/lib to your sdcard and then link to that. I have a script that automates that procedure. I've done it for a few apps that have large libraries (Angry Birds is a nice example).
Another update: This actually works very reliably. I've deleted the libraries from a bunch of apks using the above method, and things continue to work just fine.
is there an app or a script that can do this?
it is really painfull to do this with +100 apps :silly:
What happens when I update the app using play store. Is it works ?
And if it is working, does it download more data than usual to get an upgrade?
Sent from my HTC Desire X using XDA Free mobile app
ashifashraf5 said:
What happens when I update the app using play store. Is it works ?
And if it is working, does it download more data than usual to get an upgrade?
Sent from my HTC Desire X using XDA Free mobile app
Click to expand...
Click to collapse
When you update, this would need to be done again.
I have no idea if this still works on current Android versions anyway.
@arpruss
I'm doing this to my system apps currently. I use an zip explorer and just move the lib files needed to system/lib and deletes the lib folders from Apk. There is no problem of clearing of lib files at start up for this thogh. I Set the permissions to read write.
Sent from my HTC Desire X using XDA Free mobile app
---------- Post added at 05:21 PM ---------- Previous post was at 05:18 PM ----------
I like to know if the updates download more data than the normal case. What I mean is , when we updates app by play store it only download a portion of files. I like to know if this is affected by removing lib files
Sent from my HTC Desire X using XDA Free mobile app
ashifashraf5 said:
@arpruss
I'm doing this to my system apps currently. I use an zip explorer and just move the lib files needed to system/lib and deletes the lib folders from Apk. There is no problem of clearing of lib files at start up for this thogh. I Set the permissions to read write.
Click to expand...
Click to collapse
If you move the lib files to system/lib, the apps won't upgrade properly.
I have some more observations:
- On 2.3, the /data/data/*/lib directory gets cleared on reboot if the apk has had its libraries deleted. It doesn't matter what the permissions on the libraries are.
- On 4.3 and 4.4, things work great, and you don't need to change permissions at all. (I don't have rooted 4.0-4.2 devices for testing.)
- Many apps from the Amazon Appstore have a security check that makes them fail if the apk is modified.
- Moving the library-shorn apk to SD causes the libraries to disappear. I don't think the permissions matter here (but haven't tested).
It would be nice to have data from rooted 4.0, 4.1 and 4.2 devices. I guess I could play around with an emulator.
I am thinking of integrating this functionality into my Force2SD app. I would probably make this functionality available in the free version.
Anyone has tried this with 4.0 ?
benibela said:
Anyone has tried this with 4.0 ?
Click to expand...
Click to collapse
I think I tried something like this with 4.3 or 4.4 and it worked.
Yes, you said that already.
But I need to know it for 4.0.4. My stupid bank has a must-use-app for online banking with 20 MB libs that are only there to prevent it from running on a rooted device. And if it detects a modification, it self-destructs.
Nevermind. I tried it with my own app and it worked. With permission change, did not try without
I have Android 8.1.0, Xiaomi Redmi 5 Plus.
I am modifying the files in "lib" directories (such as /data/data/com.application.name/lib/) of few specified applications.
Rarely the files from the "lib" directory get overwritten with the content from APK archive of these applications. The "lib" gets restored from APK archive sometimes (maybe after 2 weeks or so).
It's important for my project to learn about the problem of Android restoring the "lib" directory.
I would like see what part of Android is responsible for this. I want to know which script or executable file in Android is responsible for restoration of "lib" directory.
Hopefully someone out there knows something about it.
i found a better way to remove lib folder from apk to get more free space https://forum.xda-developers.com/android/general/guide-t4080131
Hi
I'm getting the new s 3 and I want to install all the same software I currently have on my s 2. Some of the software is no longer available in the play store so I'm trying to find out where the apk files that you download from the play store are downloaded to. So does anybody know the file path... Oh i'm running OS 4 ice cream
If you phone is rooted then you can go into root\data\app and find the apks. And again, if you're rooted then a better way is to just use Titanium Backup. If not rooted then redownload the apps.
Play store will display all the apps you have downloaded, if u r going to use the same Google id. This has helped a lot while changing roms.
Go backup is available in the market, it doesn't require root for backing up apks.
I can't see them in this directory
ninjasstolemytv said:
If you phone is rooted then you can go into root\data\app and find the apks. And again, if you're rooted then a better way is to just use Titanium Backup. If not rooted then redownload the apps.
Click to expand...
Click to collapse
I can't see them in this directory
tommyga said:
I can't see them in this directory
Click to expand...
Click to collapse
The folder is actually /data/app. Not root/data/app.
And if you don't have root, I don't think you'll be able to see anything in the folder. (or in the data folder at all, for that matter)
Under /data/app you'll find a few hundred folders, one for each app you have installed. They also may have been moved to the external sdcard if you chose to do so.
The best option, IMO, to have the APK files readily available is to install ES Explorer (free, available at the Play Store), and use to backup all the applications to the external sdcard. This way you can simply get all the ready-to-be-installed APK files from a single location, instead of having to iterate through each of the directories in /data/app (which is a PITA).
I use ES Explorer not only to backup all the APKs to a single location, but also to backup different versions of the same app, because ES Explorer suffixes the name of the APK with its version number.
A lot easier and quite more practical.
BTW, you don't need root to use that feature of ES Explorer.
Simonetti2011 said:
Under /data/app you'll find a few hundred folders, one for each app you have installed. They also may have been moved to the external sdcard if you chose to do so.
Click to expand...
Click to collapse
There shouldn't be any folders in /data/app
pspec1 said:
Hi
I'm getting the new s 3 and I want to install all the same software I currently have on my s 2. Some of the software is no longer available in the play store so I'm trying to find out where the apk files that you download from the play store are downloaded to. So does anybody know the file path... Oh i'm running OS 4 ice cream
Click to expand...
Click to collapse
Try this: Install "Wondershare MobileGo" to PC,after you have installed, connect your SGS2 with WiFi or USB cable to PC and export app. to PC. Then Connect SGS3 with WiFi or USB cable to PC and install the same app from PC to your phone...It is easy to do...
Simonetti2011 said:
Under /data/app you'll find a few hundred folders, one for each app you have installed. They also may have been moved to the external sdcard if you chose to do so.
The best option, IMO, to have the APK files readily available is to install ES Explorer (free, available at the Play Store), and use to backup all the applications to the external sdcard. This way you can simply get all the ready-to-be-installed APK files from a single location, instead of having to iterate through each of the directories in /data/app (which is a PITA).
I use ES Explorer not only to backup all the APKs to a single location, but also to backup different versions of the same app, because ES Explorer suffixes the name of the APK with its version number.
A lot easier and quite more practical.
BTW, you don't need root to use that feature of ES Explorer.
Click to expand...
Click to collapse
Thanks for all the different methods I ended up use the explorer one.
Didn’t use ES Explorer as I had astro already installed so I used that.
One more function I didn’t know it had
Thanks again
Let's say you don't have internet access at the moment.
Let's say all you have is fresh install of CyanogenMod 9, which for some reason, does not come with a File Manager :face palm:
Let's say you have an apk file on your SD card.
How would you install the apk file? Terminal emulator, using which commands or another way?
By the way, ASTRO File Manager vs. ES File Explorer, which one and why?
- Put your apk file to sdcard (ex: es.apk)
- open internet browser
- type "file:///sdcard/es.apk" then press Go
Sent from MARVEL JellyScream
I just figured this out on my own and it worked:
How to install app called Example Name.apk from Android phone's Terminal Emulator:
This shows you how to change directory to SD card ; list contents ; change directory to folder called Google Play which contains file to be installed called Example Name.apk
cd sdcard/
ls
cd "google play"/
ls
su
pm install "Example Name.apk"
Yep there are many way to install apks
Sent from MARVEL JellyScream
Wow...exactly what I wanted to know.
Thanks for this! :cyclops:
No Explorer/No Playstore
This is a shameful noob problem. Can someone help me please? :fingers-crossed:
I deleted my file explorer app so I can't execute apks from my SD. Also I can not download them from Play Store because it crashes (probably cuz I deleted this system file that has something to do with managing Google Accounts. Currently, I only have the following Google apps installed - Google Backup Transport, Google Contacts Sync, Google Play Store, Google Services Framework)
I rooted my Sony Xperia Arc with the brilliant, super easy rooting kit found here
Putting down my phone details in case they are required -
Model: LT15i
Android: 4.0.4
Kernel: 2.6.32.9
Build: 4.1.B.0.587
Should I just try installing a ROM otherwise?
Thank you so much for reading!
Just in case anyone else comes by here.
If I were you (months ago), I would have reinstalled the exact same ROM, directly over the ROM.
Or, I would have installed GAAPS. Or I would have connected a cable and dropped the files I needed, like a playstore.apk onto the phones internal memory, and then executed it through the browser. file:///path/*.apk
I was going over ADB from my PC, via usb debugging.
System app is just copy to your system/app folder.
and set permition to 644 (rw-r--r--)
Adb push *.apk /system/app
Normal apk is
Adb install *.apk
ZenInsight said:
Just in case anyone else comes by here.
If I were you (months ago), I would have reinstalled the exact same ROM, directly over the ROM.
Or, I would have installed GAAPS. Or I would have connected a cable and dropped the files I needed, like a playstore.apk onto the phones internal memory, and then executed it through the browser. file:///path/*.apk
I was going over ADB from my PC, via usb debugging.
System app is just copy to your system/app folder.
and set permition to 644 (rw-r--r--)
Adb push *.apk /system/app
Normal apk is
Adb install *.apk
Click to expand...
Click to collapse
Thanks for this, but my pc using win8 i can using adb, and file:///sdcard/ not apply with myphone.
I try terminal to mount sdcard, and it working
installing google play store
hungpd00532 said:
This is a shameful noob problem. Can someone help me please?
I deleted my file explorer app so I can't execute apks from my SD. Also I can not download them from Play Store because it crashes (probably cuz I deleted this system file that has something to do with managing Google Accounts. Currently, I only have the following Google apps installed - Google Backup Transport, Google Contacts Sync, Google Play Store, Google Services Framework)
I rooted my Sony Xperia Arc with the brilliant, super easy rooting kit found here
Putting down my phone details in case they are required -
Model: LT15i
Android: 4.0.4
Kernel: 2.6.32.9
Build: 4.1.B.0.587
Should I just try installing a ROM otherwise?
Click to expand...
Click to collapse
I too experienced a similar problem.....but i have not installed a custom rom .....my sd card formatted unfortunately...
i have no play store and file manager...
i tried many alternatives
went to default internet application and install apps through playstore or some other android stores
tried adb bundle using windows
and finally WIPE DATA AND RESET from recovery mode in my rooted phone and got my playstore back
but be carefull every other apps,data in your phone will be erased(conntacts,call logs,messages)
Tried this method and it shows error
asdot said:
- Put your apk file to sdcard (ex: es.apk)
- open internet browser
- type "file:///sdcard/es.apk" then press Go
Sent from MARVEL JellyScream
Click to expand...
Click to collapse
Hello,
I tried your browser method and it gives me the following error-
net::ERR_FILE_NOT_FOUND
What shall I do? I have no wifi connection and I installed Android 5.0.2 GAAPS iso on my Samsung NC10 netbook
help me to install app.
i had rooted my device and deleted all the system apps like google play store, default browser, file manager, default launcher and used third party application. But when i reset my device everything is gone and i can't access play store, default browser, file manager, default launcher to install other apps. No please help me to install apps. (i can access to setting,alarm, galary, youtube and superuser using google search):
my device is Samsung galaxy tab 2
android version 4.2.
please help.
I tried to use wondershare mobile go app installer but my usb is not working.
Gapps
http://opengapps.org/
You need to select the correct platform, ARM, and correct Android version and variant, I prefer micro, definitely not full.
You need to know how to install this from your sdcard before booting in.
Hello Guys,
I am trying to make/edit my first custom rom (forgive my noob mistakes). As base i am using the Oxygen rom. This rom has all his apps stored in system/app. I inserted an launcher(hololauncher), keyboard(custom htcime) and gallery(quickpick) apk in this folder, but after the rom is flashed these apps are causing fc's and the gallery app isnt even flashed.
I know that not every apk can be placed in the system/app folder, but how can i ensure that these apps will install correctly during flashing.
Depends on apps.
The most common mistake is forgetting to set the permissions to rw-r-r.
Also some apps need their lib files (usually end in .so) in a specific location, like quickpic that can't be turned into a system app just by putting it in system/app address.
Edit: you can ensure these apps are installed correctly by testing.
1 install them normally and convert them to system apps.
2 write down where each of their parts end up (some will always need stuff in data/app or something similar.
4 use a root explorer or adb to copy those files to your pc.
5 modify the flashable zip. Add the files you just copied and modify the updater-script to make sure those files get flashed to the correct location (you might need to include mount data commands if any of the files flash to data/)
6 test!
Some apps might require actual edition by decompiling them, but the above should work for most.
dxppxd said:
Depends on apps.
The most common mistake is forgetting to set the permissions to rw-r-r.
Also some apps need their lib files (usually end in .so) in a specific location, like quickpic that can't be turned into a system app just by putting it in system/app address.
Edit: you can ensure these apps are installed correctly by testing.
1 install them normally and convert them to system apps.
2 write down where each of their parts end up (some will always need stuff in data/app or something similar.
4 use a root explorer or adb to copy those files to your pc.
5 modify the flashable zip. Add the files you just copied and modify the updater-script to make sure those files get flashed to the correct location (you might need to include mount data commands if any of the files flash to data/)
6 test!
Some apps might require actual edition by decompiling them, but the above should work for most.
Click to expand...
Click to collapse
How can I convert it to a system app when it already is installed normally ?
I also saw the option to make a data/app folder, isn't that easier ?
(Take in consideration that I don't use kitchen or adb tools, just winrar and notepadcc )
Sent from my HTC Desire using xda app-developers app
Not talking about adb and kitchen.
there are many app managing apps out there (titanium backup, link2sd) that can convert apps to system apps.
The updater script is in META-INF of the flashable zip (can be edited with notepad).
You only need a rooted device to see where the apps keep their data and copy those files.
dxppxd said:
Not talking about adb and kitchen.
there are many app managing apps out there (titanium backup, link2sd) that can convert apps to system apps.
The updater script is in META-INF of the flashable zip (can be edited with notepad).
You only need a rooted device to see where the apps keep their data and copy those files.
Click to expand...
Click to collapse
Ok that is clear, thanks. What do you think about data/app. Will this work ?
Sent from my HTC Desire using xda app-developers app
winesh said:
Ok that is clear, thanks. What do you think about data/app. Will this work ?
Sent from my HTC Desire using xda app-developers app
Click to expand...
Click to collapse
Yeah, flashing to data app is an option, but if a data wipe or factory reset is applied after flashing the rom (to correct a bootloop for example), those apps are gone.
1.- Move all these apks to the /system/priv-app folder of the android wear watch, and chmod 644 all apks with adb/terminal or change permissions to rw,r,r and change the owner to System and the group to System with file manager.
/system/Priv-app Apks -
ES filee explorer https://app.box.com/s/j4u1hiwymkbyvh4py2welvn88puyrn8w
Google Backup transport https://app.box.com/s/tvothkbt7yv0vw3fd6rcuxuf2vwa09qw
Google calendar sync https://app.box.com/s/i4ribv2kta4nhapb93tsesblgm3efvox
Google onetime init https://app.box.com/s/llxqniqy3thddj11g4jletk5qxpduw08
Google partner setup https://app.box.com/s/yg18h5rhs8d3ozdgmd2cufjgkynm55rs
UCBrowser https://app.box.com/s/misbdk8dg2nw1pz01ik8zrhxemvk5v9l
PlayStore https://app.box.com/s/cndzlazkq1z3599u39r842ocn7addlra
2.-Reboot watch to recovery and wipe dalvik and cache partitions.
3.- delete and move the dummy apks to system/priv-app folder
Google Play Store dummy apk https://app.box.com/s/thyhe4fscsbfnzacjpzh8ee5ufz5t8wu
UC Browser dummy apk https://app.box.com/s/epbyt8q2s1un5weigxeugphglbrjo01z
4.- Install these apks with ES file explorer -might not need to install all apks but that's what I use
Apks- https://app.box.com/s/rf5870pwmaeym7i132tlf5nt7uho72eg
4.- Reboot watch twice
Let me know how it goes!
Reserved
Hello,
thanks for this. But I need help.
I get this message: "com.google.process.gapps has stopped". Can you help me please ?
Thanks
mister-gwada97one said:
Hello,
thanks for this. But I need help.
I get this message: "com.google.process.gapps has stopped". Can you help me please ?
Thanks
Click to expand...
Click to collapse
Did you get apks installed ok?
iAppleDev said:
Did you get apks installed ok?
Click to expand...
Click to collapse
Yes I got all intalled ok. I did everything as you said.
I can't figure out what's wrong.
Does UCBrowser open and work?
"Google play services has stopped to work" after this process. I can´t get uc browser or play store working (installing as user apps as shown at step 3) If I move it to priv-app, UC browser works, but playstore´s still crashing. I don´t understand the dummy apks and its purpose...
If I install the dummy and before the user app UC browser, it doesn´t work. It needs to be pushed on priv-app to get networking
iAppleDev said:
Does UCBrowser open and work?
Click to expand...
Click to collapse
I got UC Browser working in system/app folder.
prototovsky said:
"Google play services has stopped to work" after this process. I can´t get uc browser or play store working (installing as user apps as shown at step 3) If I move it to priv-app, UC browser works, but playstore´s still crashing. I don´t understand the dummy apks and its purpose...
If I install the dummy and before the user app UC browser, it doesn´t work. It needs to be pushed on priv-app to get networking
Click to expand...
Click to collapse
Yes I guess it needs to be done first! If you use /system/app mover to move playStore to system then after it reboots install the newer PlayStore apk as an user with ES file explorer then delete the play store apk on the system/priv-app folder and add the older dummy apk again and it should work! I think it needs to be installed to system for real first then update it then move the older dummy apk to /system folder after you've updated it, the point of the dummy apk is to save space! if you want you could just leave the real apk in the System/folder
iAppleDev said:
Yes I guess it needs to be done first! If you use /system/app mover to move playStore to system then after it reboots install the newer PlayStore apk as an user with ES file explorer then delete the play store apk on the system/priv-app folder and add the older dummy apk again and it should work! I think it needs to be installed to system for real first then update it then move the older dummy apk to /system folder after you've updated it, the point of the dummy apk is to save space! if you want you could just leave the real apk in the System/folder
Click to expand...
Click to collapse
I don´t understand the steps. If I install something outside from priv-app, it won´t work on network, that´s a fact. I think google play services must be in priv-app also with play store and other google apps, but I don´t have space enought on /system partition (the play store crashes saying google play services has stopped, and I cannot install play services as user app because it says that already exists). Why it already exists? Must I delete the default Android wear Play services and replace with this new package? And what´s the installation order?
1- Install the dummy as user app and move it to /system with permissions, etc.
2- Reboot and install the real google play apk as user app
3- Reinstall the dummy on /system again (mantaining the real Gplay as user app and getting free space on /system)
Is this?
I only got UC browser working while being on priv-app, but nothing with play store... Really I´m trying to get it working
Yes any apps in the system folders get networking! And if you update that app it moves it to /data and still works as long as an dummy apk is in system folder. And yes I might have use the adb -r command to install play services or threw ES file explorer as an update? I'm not to sure
iAppleDev said:
Yes any apps in the system folders get networking! And if you update that app it moves it to /data and still works as long as an dummy apk is in system folder. And yes I might have use the adb -r command to install play services or threw ES file explorer as an update? I'm not to sure
Click to expand...
Click to collapse
Then, how I update an app for save space on /system? And how I install new play services without corrupting anything?
And what´s adb -r command for?
Sorry for all of that questions, but I´m interested in learning And thanks for all!
Have you tried to install play services apk with ES file explorer or threw adb? Android wear has play services installed already so it's just an update! It's called prebuiltGmsCoreForClockworkWearable.apk on my watch and is in the priv-app folder!
you have to install the app or apps to the /system/priv-app or /system/app folder first - you can use the app /system/app mover or adb or terminal or file manager. then you need to use ES File explorer and install an newer version of the same app and it will be updated and re-installed to the /Data partition where there is more space, it does not remove the apk from the /system folders but it's not used only checked for and wastes space so that's why the dummy apk is used. If you don't want to install other apps to system then just install PlayStore or UCBrowser and leave it in system but there isn't much space 30+mb.
adb install -r package.name.apk reinstalls the app without replacing the data like an update.
Ahh I found what was going on I forgot an apk GoogleAccountManager.apk it don't need to be in the system folder but if you reset the watch it will get deleted too unless it's in the system folder!
Can you upload it please? I'll try it
@iAppleDev : Hello, is there a way to store google contacts directly on the watch please ?
mister-gwada97one said:
@iAppleDev : Hello, is there a way to store google contacts directly on the watch please ?
Click to expand...
Click to collapse
Nope
iAppleDev said:
1.- Move all these apks to the /system/priv-app folder of the android wear watch, and chmod 644 all apks with adb/terminal or change permissions to rw,r,r and change the owner to System and the group to System with file manager.
/system/Priv-app Apks -
ES filee explorer https://app.box.com/s/j4u1hiwymkbyvh4py2welvn88puyrn8w
Google Backup transport https://app.box.com/s/tvothkbt7yv0vw3fd6rcuxuf2vwa09qw
Google calendar sync https://app.box.com/s/i4ribv2kta4nhapb93tsesblgm3efvox
Google onetime init https://app.box.com/s/llxqniqy3thddj11g4jletk5qxpduw08
Google partner setup https://app.box.com/s/yg18h5rhs8d3ozdgmd2cufjgkynm55rs
UCBrowser https://app.box.com/s/misbdk8dg2nw1pz01ik8zrhxemvk5v9l
PlayStore https://app.box.com/s/cndzlazkq1z3599u39r842ocn7addlra
2.-Reboot watch to recovery and wipe dalvik and cache partitions.
3.- delete and move the dummy apks to system/priv-app folder
Google Play Store dummy apk https://app.box.com/s/thyhe4fscsbfnzacjpzh8ee5ufz5t8wu
UC Browser dummy apk https://app.box.com/s/epbyt8q2s1un5weigxeugphglbrjo01z
4.- Install these apks with ES file explorer -might not need to install all apks but that's what I use
Apks- https://app.box.com/s/rf5870pwmaeym7i132tlf5nt7uho72eg
4.- Reboot watch twice
Let me know how it goes!
Click to expand...
Click to collapse
Hi, may I ask, what is the purpose of doing this? Is it for times when Android Wear becomes unstable?
I have put the apps to /system/priv-app. I chmod-ed them to 644. But i am not able to change user/group.
when in sdcard/Downloads the files are shown as root:sdcard_r. chown system:system filename result in no error, but ls -al still delivers root:sdcard_r
after putting the files in system/priv-app i am shown to have no rights to change user/group (no rights to write on system?). I dont know how to get these rights. Standard linux code doesnt work, necessary commands not integrated in wear?
In the file manager of twrp i dont find any option to change user/group. ES File Explorer is installed, but activation of root explorer returns an error. And yes, the device IS rooted
Edit:
When in /system/priv-app by adb shell su the files are shown root/root as user/group.
So the whole procedure results in:
I can start ES File Explorer (only through native GUI, not wear mini launcher, dont know why) - but i am not able to install an apk by it. Every try results in no app/no gesture. Now i am stuck...
Edit:
Ok, i made it by TWRP/Terminal. baaaaad work with that smaaaall keyboard and big fingers...
but it doesnt look as if that was the big point. File Explorer still cant get root explorer and i still cant install apps...
iAppleDev said:
1.- Move all these apks to the /system/priv-app folder of the android wear watch, and chmod 644 all apks with adb/terminal or change permissions to rw,r,r and change the owner to System and the group to System with file manager.
/system/Priv-app Apks -
ES filee explorer https://app.box.com/s/j4u1hiwymkbyvh4py2welvn88puyrn8w
Google Backup transport https://app.box.com/s/tvothkbt7yv0vw3fd6rcuxuf2vwa09qw
Google calendar sync https://app.box.com/s/i4ribv2kta4nhapb93tsesblgm3efvox
Google onetime init https://app.box.com/s/llxqniqy3thddj11g4jletk5qxpduw08
Google partner setup https://app.box.com/s/yg18h5rhs8d3ozdgmd2cufjgkynm55rs
UCBrowser https://app.box.com/s/misbdk8dg2nw1pz01ik8zrhxemvk5v9l
PlayStore https://app.box.com/s/cndzlazkq1z3599u39r842ocn7addlra
2.-Reboot watch to recovery and wipe dalvik and cache partitions.
3.- delete and move the dummy apks to system/priv-app folder
Google Play Store dummy apk https://app.box.com/s/thyhe4fscsbfnzacjpzh8ee5ufz5t8wu
UC Browser dummy apk https://app.box.com/s/epbyt8q2s1un5weigxeugphglbrjo01z
4.- Install these apks with ES file explorer -might not need to install all apks but that's what I use
Apks- https://app.box.com/s/rf5870pwmaeym7i132tlf5nt7uho72eg
4.- Reboot watch twice
Let me know how it goes!
Click to expand...
Click to collapse
Do you have root for this? If so how have you granted access if superuser doesnt work yet? Also how do you change the groups? And do the apks need to be in a folder in system/priv-app like they are in our phones? I moved all the apks but none of them installed I have TWRP but im still trying ti work out my root on Sony Smartwatch 3