Workaround for the annoying "Parse error" apk - Moto G General

Hi guys,
Just got one of this cheap phones and after unlocking and rooting it (txs to PaulOBrien for that) I got the annoying:
Code:
Parse error
There was a problem while parsing the package
Tried a couple of things, reboots, settings, factory reset but nothing helped but found some easy workaround (Google Drive is not an option for me, not when I'm with no network)
Looks like all these problems are due some fancy security crap in new 4.2/.3 versions (never got it before in any of my previous devices)
Just move the APK to some other directory, adjust the permissions (need group read but just do 777) and install it from there.
"/mnt/obb" is a tmp dir, so anything there will disappear on the next book.
"/data/local/tmp" is what "adb install" uses so it is a good choice.
old post below
So for whoever still has the problem, go and try these steps:
1. Create a directory inside /mnt/obb/ (e.g: /mnt/obb/Apks)
Code:
d:\ADB>adb shell
[email protected]_umts:/ $ su
su
[email protected]_umts:/ # mount -o rw,remount /system
mount -o rw,remount /system
[email protected]_umts:/ # mkdir /mnt/obb/Apks
mkdir /mnt/obb/Apks
[email protected]_umts:/ # chmod 777 /mnt/obb/Apks
chmod 777 /mnt/obb/Apks
[email protected]_umts:/ # ls -la /mnt/obb
ls -la /mnt/obb
drwxrwxrwx root root 2023-12-09 18:46 Apks
[email protected]_umts:/ #
[email protected]_umts:/ # exit
exit
127|[email protected]_umts:/ $ exit
exit
d:\ADB>
2. Now, from whatever file browser you already have on your phone (I'm using Total Commander)
just copy the apk from your "sdcard" to the /mnt/obb/Apks directory
3. Adjust the permissions for the apk file (744 or rwxr--r--)
(I could added some pictures but I'm too lazy
Now it should allow you to install without the bloody error.
So to summarize the trick is to create a directory somewhere else and install the apk from there. It is not good as before, but at least I don't need an internet connection, just move the file, change permissions and install.
Will try to find out why the normal method fails (whenever I have some free time). Tthe way that is mounting the 'external' storage is causing this issue.
I guess in a couple of weeks we will get new builds or a original Motorola fix, but in the meantime this is good enough for me.
Note: /mnt/obb may go after a reboot so try to find a "permanent" one
You don't need adb to create the directory, you can do all these from the phone, just remember to adjust the permissons for the directory.

Another workaround is also to copy the apks to a usb stick and mount the usb stick with a otg cable.
Install then as usual the apks with a file explorer.
I tried that and it works fine!

Or you can just use Astro explorer. Works for me...
Enviado desde mi XT1032 mediante Tapatalk

DaRkToU said:
Or you can just use Astro explorer. Works for me...
Enviado desde mi XT1032 mediante Tapatalk
Click to expand...
Click to collapse
If you can install with Astro you can install with any other file manager, so unfortunately this does not apply to you

I does. I have the same problem, I was using Google drive but I tried with Astro and it works.
Sent from my Moto G
---------- Post added at 09:52 PM ---------- Previous post was at 09:37 PM ----------
Quick update, I've just tried on another phone and it didn't work...
Sent from my Moto G

DaRkToU said:
I does. I have the same problem, I was using Google drive but I tried with Astro and it works.
Sent from my Moto G
---------- Post added at 09:52 PM ---------- Previous post was at 09:37 PM ----------
Quick update, I've just tried on another phone and it didn't work...
Sent from my Moto G
Click to expand...
Click to collapse
The problem is with the permissions of the apk so the file manager should make no difference.
I did also tried with Astro before and got the same "Parse error", to me the only way to avoid it is use a external as vampy2k5 said, or a different directory in the file system.

solution
just upload the apk file to google drive and intall from there. works every time, no permissions mod no nothing

tampitzel said:
just upload the apk file to google drive and intall from there. works every time, no permissions mod no nothing
Click to expand...
Click to collapse
Good, can I apply your "solution" if I have no internet connection?

dubidu said:
Good, can I apply your "solution" if I have no internet connection?
Click to expand...
Click to collapse
i totally see how this could be a problem. i guess you're better off with moving the app in a folder with permissions set?

I dont think this belongs to "ANDROID DEVELOPEMENT" SECTION.. It would do good in General section..
Thread Reported !!
thank you,
Mr.Gm

Factory reset solved it for me

For me the "upload to google drive" thing doesn't work.

same here, im working on a custom version of the stock rom to try getting around it

crondom said:
For me the "upload to google drive" thing doesn't work.
Click to expand...
Click to collapse
Guys i've noticed that only certain apps doesn't work with google drive, others (majority of them) works.

crondom said:
Guys i've noticed that only certain apps doesn't work with google drive, others (majority of them) works.
Click to expand...
Click to collapse
Also, logging onto GDrive via ES Explorer, or whatever, won't work either
However, logging on directly using the G Drive App works OK, accessing and installing the same apk...weird.

I ve got this bug - Moto G 16 GB tesco
(As far as I remember retail germans got OTA with bugfix for this)

After factory resetting it 3 times and getting no joy, I did this and it worked:
Didn't backup settings, skipped wifi, skipped Google login, connected mobile to PC, transferred apk to mobile, logged into Play Store, downloaded a browser, opened and it worked.
No idea if I got lucky, or did something relevant, but it worked

Piaer said:
I ve got this bug - Moto G 16 GB tesco
(As far as I remember retail germans got OTA with bugfix for this)
Click to expand...
Click to collapse
I have a Tesco 16GB, have no problems with installing APPS placed in the internal storage, hard to explain why some are having problems.

ilike123 said:
I have a Tesco 16GB, have no problems with installing APPS placed in the internal storage, hard to explain why some are having problems.
Click to expand...
Click to collapse
This is the real workaround without needing to upload to GDrive.....
just copy or move the apk from /sdcard/xxx folder [wherever it is] to a folder in the system, like /data/any_temp_folder.
The apk will install normally then.....

irishpancake said:
This is the real workaround without needing to upload to GDrive.....
just copy or move the apk from /sdcard/xxx folder [wherever it is] to a folder in the system, like /data/any_temp_folder.
The apk will install normally then.....
Click to expand...
Click to collapse
I place the apk's in XT1032 > Internal storage, they install just fine from here, no need for any extra folders

Related

VERY very long shot...

Hi all,
Love my HTC Desire so much i bought a Witstech A81E Android 2.2 Tablet. Which is pretty buggy to say the least though on the whole works well.
The one thing that is driving me crazy is a number of apps dont install with the logcat error:
"packagename.apk requires unavailable shared library com.google.android.maps"
Now from what i have read apparently this device does not come with Google Maps API so my question is how do i add it?
Can it be done? Do i need to modify a ROM to do it? can i push it via adb or apk?
A little help would be greatly appreciated.
It would need to have google apps installed to be able to access the libraries. Best bet is to find out if it has been rooted yet and try to install the proprietary applications they can't ship the device with.
appreciate the help mate. i've rooted the device though where can i find google maps api?
the unit already has google maps 5.0 installed but apparently doesnt have the API's.
Any idea what im looking for? will it be an APK or just some files i need to put in a system folder?
i think im over my head
additionally i have searched for any com.google.android.maps related data on my desire and have found the following:
/system/framework/com.google.android.maps.jar
/system/etc/permissions/com.google.android.maps.xml
/etc/permissions/com.google.android.maps.xml
/data/dalvik-cache/[email protected]@[email protected]
could it be as easy as copying this over to my tablet?
Ill try it out tonight.
If the application is installed correctly it should work because the api is stored in the data. Is the application on the tablet installed to the /system/ or /data/ partition. It might be looking for the data in /system/
not sure what you mean about where the application resides? you mean the app i am trying to install? The app i am trying to install is Tasker.
i have been doing some googling and saw someone else have the same problem and he managed to fix it:
When trying to install some apps, I would see this error message in logcat:
requires unavailable shared library com.google.android.maps
I had the Google Maps app installed and working, but that didn’t fix the issue. It turns out, I had to add two other files and restart the phone. I found those files in the google zip from Cyanogenmod. It took a little fiddling, but I was able to use these instructions to remount /system in write mode. First step was to take the following two files from the google apps zip (gapps-hdpi-20101114-signed.zip) and put them onto my sd card.
/system/etc/permissions/com.google.android.maps.xml
/system/framework/com.google.android.maps.jar
Then to load them onto the phone, I opened the terminal emulator and ran:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cp /mnt/sdcard/com.google.android.maps.xml /system/etc/permissions/
cp /mnt/sdcard/com.google.android.maps.jar /system/framework/
Then after I rebooted the phone, I was able to install apps that depend on Google Maps. I can now check bus and train times, and do all kinds of other cool stuff with maps!
Click to expand...
Click to collapse
i simply used root explorer to copy it across though still not working. surely someone smarter than me can tell me what i am doing wrong.
is copying with root explorer essentially the same as above?
damn i could have sworn someone here would have been switched on enough to help me on this
oh well back to random googling for me.
Well did you try using terminal emulator? And do what he did? B/c that looks like a remount to system to me easy as pie just do what he did you can find the files with root explorer or do it on your pc doesnt really matter. You can Not achieve what he did just using root explorer you need terminal emulator!
Sage said:
damn i could have sworn someone here would have been switched on enough to help me on this
oh well back to random googling for me.
Click to expand...
Click to collapse
I don't know how much it will help (or if its 100 percent true) but I was just told recently that moving a file via root explorer is the same as pushing it via adb.
sent from gv1.5 on g2
^correct
Sent from Enrique Iglesias.
now i am confused. can i use root explorer or not? i used root explorer and then reset the correct permissions on the files though its still not working.
I take it i can get a terminal emulator that runs on the device itself yeah?
Ill try that next.
If that fails i am going to try my first attempt at cooking a ROM
Appreciate all the help!
no more love for Sage?
i dont know why its so hard..
I did try to cook the original ROM though unyaffs couldnt extract the img.
looks like i might have to boot up a Virtual nix box.. damn this is so much harder than it should be.

[Q] "Download Unsuccessful"

Ho there, Im sure this has been posted a thousand times before. The best post I could find was s0be's fix but the instructions are not in regular English. Basically, I am unable to download any new apps/any app updates for no apparent reason. I have tried every solution under the sun except this one. Usually you guys know what your talking about so I have confidence in it.
http://forum.xda-developers.com/showpost.php?p=11055157&postcount=4647
can anyone translate? would be much appreciated.
We can forgo any contemptuousness by simply acknowledging my n00byness now.
Thanks
dburg84 said:
1. adb shell
This starts an interactive shell with the device. Every command from now on will run on the device and not on the computer.
2. su
su = Super User = the highest level of clearance. Once this is called you are running as root and have access to every little thing in the OS. You are now the boss. You need "root" to get access to this command.
3. mkdir /cache/download
mkdir = Make Directory = Create a new folder/directory with the name "download" in the path "/cache/".
"/" being the master/root path for all paths.
4. chown system:cache /cache/download
chown = Change owner = Change the persons who are recognized by the OS as being the owners of that particular directory.
system:cache = the user is "system" and the group is "cache".
Every file and directory on the OS always has 3 person categories attached. User (the owner), Group(the group), All (everyone else). You can change permissions for every one of those 3 as seen below.
5. chmod ug+rwx /cache/download
chmod = Change Mode = change the permissions for a specific file.
ug = both the User and the Group.
+rwx = Add (the +) Read, Write and eXecute permissions.
ug+rwx /cache/download = Add Read, Write and eXecute permissions to the user and group for the directory "/cache/download".
6. chmod a+x /cache/download
As above, but here you giving everybody else eXecute permission only.
Click to expand...
Click to collapse
I have edited the post you referred to.
My comments are in bold.
Good luck
http://en.wikipedia.org/wiki/Chmod
http://en.wikipedia.org/wiki/Chown
http://en.wikipedia.org/wiki/Mkdir
Thanks!
Thanks for clarifying!
/sacrifice lamb to the XDA gods
I had the same problem some days ago and i tried almost everything i found on the web, but nothing worked.
At least i solved the problem replacing the market app (vendor.apk) with a most recent one.
To do this you need a working vendor.apk (i grabbed from a most recent rom) and a file explorer who can use root to copy file in /system/app (like ES File Explorer or Root Explorer).
Now simply replace vendor.apk.
This worked for me
Or you could just re-install it.
Use my APK installer tool and check the "re-install" box.
This will overwrite the apk file but not mess with the configuration...
Just like what you suggested :0)
yes sure, nice tool mate
Thanks for all your help!
Thanks for all the help! I did what you suggested and tried to replace the android market with a newer version. I couldn't do a direct install with a new APK, someone said you have to uninstall the old APK. I decided to try just flashing a new gapps; I got the files from this thread http://forum.xda-developers.com/showthread.php?t=909067
It worked. The new market was able to update my apps successfully.
You guys rock!!! Thanks again!
no problem mate, i got crazy for the same problem last weeke so i'm happy to share the solution
Would it work if i do the same for "download unsuccessful. please try again" problem ?
the "please try again" problem should be a connection problem I suggest to check your wi-fi or apn settings
I made it just a minute ago.
-- Unmount SD Card. (Settings - Sd& Phone Storage)
-- Install any app from Market. (It will install without any error.)
-- Mount SD card back. And ta-daaa! You can install any app from market now.
Thanks anyway
jamiescott23 said:
I made it just a minute ago.
-- Unmount SD Card. (Settings - Sd& Phone Storage)
-- Install any app from Market. (It will install without any error.)
-- Mount SD card back. And ta-daaa! You can install any app from market now.
Thanks anyway
Click to expand...
Click to collapse
i having this issue atm i have tried this and it didn't work...
you can also try to clear data from "download manager" in the app manager
ok got a fix to this with rom manger i DL and install new gapps Im useing CM6 so i used 20101020 mdpi-tiny i let it back up and wipe all data and it worked but i wish i would have tried it with out wipe 1st but it works now...

Need To Install Facebook for Htc Sense on my HTC Desire (Bravo) gsm

Hi All,
I am a new bee in this area. I have a Htc Desire (Bravo) rooted with S-Off. I have installed "HiApk 1.1 ROM with sense" but did not found the app Facebook for Htc Sense. I love that app as it automatically sync you Fb contacts to your phone with Pictue and other details.
After searching and reading lot, I found the HtcFacebook.apk to install that app.
But, When I am trying to install that app from sdcard after a small processing it says "Can not install application".
I have no idea how to do that, Please help me..
I'll be great full..
Thanks In Advance
Why don't you just download it from the market?
stereoprologic said:
Why don't you just download it from the market?
Click to expand...
Click to collapse
The "Facebook for Htc Sense" in not a market app? That's Why I facing the prob!
itsmebhupendra said:
The "Facebook for Htc Sense" in not a market app? That's Why I facing the prob!
Click to expand...
Click to collapse
this is the place where u downloaded the ROM right?
http://forum.xda-developers.com/showthread.php?p=13622963
the developer said...
*FB & Twitter you can add from the attachment given below
Click to expand...
Click to collapse
i think you need to download the attachment that the dev is referring to.
i'll give you the link
http://forum.xda-developers.com/attachment.php?attachmentid=593627&d=1305172152
Hi k4spy!
Thanks for the help. Yes I have downloaded the rom from that thread only and also downloaded the social app package.
But that package only contains the .apk file nothing else, and when I just try to install those my phone through a message e.g. "Application not installed".
I want some update.zip type package, which I can update from my recovery...!
whats the difference between normal facebook and facebook for htc sense?
itsmebhupendra said:
Hi k4spy!
Thanks for the help. Yes I have downloaded the rom from that thread only and also downloaded the social app package.
But that package only contains the .apk file nothing else, and when I just try to install those my phone through a message e.g. "Application not installed".
I want some update.zip type package, which I can update from my recovery...!
Click to expand...
Click to collapse
The reason it says 'application not installed' is because it is supposed to be a system app and hence, is not signed. Thus, to 'install' that app, either create an update.zip yourself and flash via recovery or use a file explorer with the ability to access root folders (eg. root explorer) and copy the apk to /system/app or /data/app (if you do not have space in the system partition) and reboot the phone.
itachi1706 said:
The reason it says 'application not installed' is because it is supposed to be a system app and hence, is not signed. Thus, to 'install' that app, either create an update.zip yourself and flash via recovery or use a file explorer with the ability to access root folders (eg. root explorer) and copy the apk to /system/app or /data/app (if you do not have space in the system partition) and reboot the phone.
Click to expand...
Click to collapse
i needed that too
thank you
tarikg said:
whats the difference between normal facebook and facebook for htc sense?
Click to expand...
Click to collapse
There is none to my knowledge.
Before Sense 3.5, Facebook for HTC Sense application was syncing contact photos with contacts, birthdays and events with calender and so on... Normal facebook application wasnt doing those stuff. I think, thats why he needs that application.
With Sense 3.5, phone is getting information from regular facebook application which we can download from market. It is asking for permission and than syncing all data like old times
Thnaks to All
Hi All,
Thanks for the help. Now I have installed the "Facebook for Htc Sense" and its working fine.
just out of interest how did you manage it in the end? did you make your own flashable zip? if you did can you share it?
did't work for me
jameslsmith said:
just out of interest how did you manage it in the end? did you make your own flashable zip? if you did can you share it?
Click to expand...
Click to collapse
I tried downloading both signed and unsigned versions of the app (htcfacebook.apk) and pasting it into system/app and rebooting and nothing happened except for a force close message upon reboot.
I tried putting in data/app and nothing happened either.
I tried putting it in a zip file pasting it into the SD card and rebooted into recovery CWM. I chose instal zip from SD card and it showed some progress then said "installation aborted".
Any help?
tried with no avail
I tried copying the files to system/app using root explorer but nothing happened. I tried putting them in a zip file and renaming it update.zip then installed it from recovery. Still nothing. any ideas?
I tried this still nothing
I made a flash-able package with both system and META-INF folders and all that. Here it is. I tried installing it from recovery by applying sdcard/update.zip but it still says installation aborted. SOMEONE PLEASE HELP!
Install This Way
zaiddagamseh said:
I made a flash-able package with both system and META-INF folders and all that. Here it is. I tried installing it from recovery by applying sdcard/update.zip but it still says installation aborted. SOMEONE PLEASE HELP!
Click to expand...
Click to collapse
Run these command step by step in your terminal emulator window
# put HtcFacebook.apk in your sd card @ root
# su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
# cat /sdcard/HtcFacebook.apk > /system/app/HtcFacebook.apk
# cat /sdcard/HtcFacebook.apk > /sd-ext/app_s/HtcFacebook.apk
# mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
reboot the phone.
This helps me on different roms.
Press thanks if this works for you.
Not working.
It says it cannot create folder on # cat /sdcard/HtcFacebook.apk > /sd-ext/app_s/HtcFacebook.apk
Palla71 said:
Not working.
It says it cannot create folder on # cat /sdcard/HtcFacebook.apk > /sd-ext/app_s/HtcFacebook.apk
Click to expand...
Click to collapse
Please verify the rom's app's folder. Is it on the same path you are trying to install?
press thanks if this helped!
Hello,
I am also unable to reinstall facebook for htc sense. I have pasted htcfacebook.apk into system/app using Root explorer, then reboot. Nothing happens, still does not show facebook for htc sense in accounts & sync. Can anyone help please?
---------- Post added at 09:51 PM ---------- Previous post was at 09:43 PM ----------
itsmebhupendra said:
Hi All,
Thanks for the help. Now I have installed the "Facebook for Htc Sense" and its working fine.
Click to expand...
Click to collapse
Some of us are still having problems. Could you please let us know how you solved the issue?
facebook only in browser

Nook HD+ Google Play Store. GAPPS, modified 12/04.

ANNOUNCEMENT:
If you have a new Nook HD/HD+ and want to root and get the GAPPS running, you should follow the guide at the All-in-One thread instead. That said, I won't copy all the information here to there, so you should continue to read on.
Proof:
https://www.youtube.com/watch?v=MssQ25bnZnk
Okay this one is more interesting than the root I created. I don't think there will be a simple batch file for this one. I barely get this working and I'm going to try to write instruction for the people. I guess let me start off with the same disclaimer.
Disclaimer:
If something gone wrong, it's all your fault. I take ZERO responsibility for what happen to your device, your life, your wife/husband, your kids, your unborn child and etc. You get the idea.
Background:
I basically taking the installation process from the Kindle Fire HD and apply it it here. The original instruction which I "borrow" from is here. For the most part, the process is the same, but we have to be extra careful for writing into /system partition or we are toast.
What I found:
Well, since we didn't have "UNKNOWN SOURCE" option, we have to adapt and fix that first. You can thanks skyhawk21 for coming up with that idea. Since then, there have been other way to enable Unknown Source. LeapinLar have wrote an excellent here. And I have make it even simpler here. Also, I have found that trying to install Google Play store after some other stuff already installed is kinda pain and brought some error. So I would strongly start this fresh. I mean factory reset and apply root. If you don't know how to gain root on the Nook HD+, I wrote an excellent piece for it here.
Hugh big caution
I did all my stuff based off my root method. I also noticed that verygreen updated his root. While there are some similarlity in our methods, THERE ARE SOME DIFFERENCE ALSO. For example his root doesn't have a working superuser or he have busybox installed and symbolicly linked for all sub command. This mean the instruction I have may not work if you used his method to root.
Addendum 1: 11/19/[email protected]:50PM Pacific
I have been told that the first set of instruction is no longer necessary by leapinlar. This mean that if you only want the ability to install app via Google Play, you can do the first set of instruction and be done with it. But this means you won't be able to utilize the rest of Google's services. On the other hand, you can skip the first instruction and purely do 2nd instruction and get most of the stuff working. Well I say most because it doesn't include Google Maps and Chrome.
Addendum 2: 11/19/[email protected] Pacific
I have added Google Map below so you can download separately But Chrome Browser is like 20MB and over the filesize limit of the xda forum. Since most people don't use it, and there are many good alternative browser already, I won't bother. You can also look up both apk online if you want. they both should work on Nook. You don't have to make symbolic link on these two, but you can't have it on /system either. Either try install it via "adb install" command or open it using your favorite file browser. I forgot which method I use, probably the first.
Addendum 3: 11/30/[email protected]:25AM Pacific
I rewrite and hide unnecessary stuff and streamline the guide.
Addendum 4: 12/01/[email protected]:25PM Pacific
Adding gapps-ics-inst.sh.img which should be compatible for both my and verygreen root method.
Addendum 5: 12/02/[email protected] Pacific
Adding troubleshooting tips
Addendum 6: 12/04/[email protected]:45PM Pacific
Update with brand new easy to follow instruction.
Addendum 7: 12/07/[email protected] Pacific
The Google Map will no longer install as part of the script. I think Maps may not function properly if google framework weren't installed correctly first.
So, you will just have to install it manually after the Google Play updated.
EXTREMELY OUTDATED NOT FULLY WORKING Instruction is hidden since it's no longer necessary.
Instruction:
Optional, factory reset it. Seriously I cannot say this will work unless you start from scratch. If you already have rooted earlier, then install something like titanium backup and backup your porn(I mean data).
Gain root access. Follow this guide.
Follow my instruction here to enable "UNKNOWN SOURCE".
Upload 3 files to /data/su/ using "adb push" command
GoogleServicesFramework.apk - mediafire.com/?zaumfwhraxcifqf
Vending.apk - mediafire.com/?31bn3e258jjpj8d
Play.apk - mediafire.com/?wwcqrlfwt8o1gnv
If you have problem downloading this Play.apk I suggest try using this Vending_v3.9.17.apk instead. Be sure not to confuse with the earlier Vending.apk file, or better yet, rename it to something like Play3917.apk
adb install $your_choice_of_file_manager(must support root), I prefer ES File manager
using your file manager and browse to /data/su and install GoogleServicesFramework.apk (I'm not sure if you can just do adb install GoogleServicesFramework.apk from your PC, but since I didn't do it that way and this is a known result, so I recommend doing it this way)
adb shell
su
mount -o remount,rw /system
mv /data/su/Vending.apk /system/app/Vending.apk
chmod 644 /system/app/Vending.apk
chown 0.0 /system/app/Vending.apk
mount -o remount,ro /system (not sure if this is necessary, but I better safe than sorry)
using your file manager and navigate to /system/app and install Vending.apk
mount -o remount,rw /system (only if you did step 11)
rm /system/app/Vending.apk
mount -o remount,ro /system
using your file manager and go to /data/su and install Play.apk or Play3917.apk depending on what you download
now you can delete both GoogleServiceFramework.apk and Play.apk in the /data/su folder.
That's all, your Google Play Store should now be working.
Login and have fun. I manage to install some stuff through that.
Click the "THANKS" button below.
OK, now to get a more complete gapps. The below steps are to be only after you have Google Play Store, meaning all the above steps are done. The instruction below will let your other app sync and use google account. Meaning stuff like RSS reader sync with google reader or Youtube app access your personal account. Well, atleast those are the two I have tried and seem to be working.
OUTDATED Instruction:
Instructions:
Download these two files. gapps-ics-inst.sh.img and gapps-ics-system.zip (if you use verygreen root method use this gapps-ics-inst.sh.img , the one embedded on this post instead. This one should work universally but untested. I re-wrote it to adapt for verygreen root method also. If it works I'll rewrite this part of instruction again to use the new version of the shell script.)
adb push gapps-ics-inst.sh.img /data/su/gapps-ics-inst.sh
adb push gapps-ics-system.zip /data/su/
This step might take some time
adb shell
su
cd /data/su
chmod 755 gapps-ics-inst.sh
./gapps-ics-inst.sh
This step could take some time too, once it return to shell, then go to next step
(optional delete installation file to save space) rm gapps-ics-system.zip
(optional delete installation file to save space) rm gapps-ics-inst.sh
exit
exit
(you should be back to your OS by now, if not keep exiting until you are out of adb)
adb reboot
once your nook is rebooted, the screen may say updating some files, this is normal.
enjoy, everything should work now.
If you didn't hit that "THANKS" button, you better do now. If you did, do it again?
Thanks leapinlar for catching the typo, I have reupload the shell script file now. And thanks to him for hosting the gapps-system.zip
There have been some errors on my initial instruction. Certain things have been point out. I have updated the instruction accordingly. leapinlar have also fixed gapps files and the shell script for that in post #34. So big kudo to him. I haven't have much time to toy with this lately, but since people report that his script work. So here are the new instruction.
If you were using verygreen version of root, try running this first.
Code:
adb shell su -c "/data/su/busybox chown shell.shell /data/su"
FAQ:
Q: I don't see the Google Play Market on the list of apps.
A: If you use the "Skip OOBE" aka Test mode, then (reboot first or go into shell and kill the app launcher and then) you have to hold down the Vol-Up key and tap the word Apps on the top to see them. After that I recommend installing other launcher, then they can see all the apps.
Q: Some people are saying after they install an adblock app, after reboot it get into bootloop and wipe everything.
A: The way most adblock apps work is that they modify the hosts file which usually located at /system/etc/hosts Well, as we have discussed before this is not a good idea to make change directly to /system folder(directory). The only adblock I know of that work is AdAway with a specific setting.
When installed, first you have to go to menu > preferences > target hosts file > /data/data/hosts, it will then ask to create symbolic link, say yes and then you can reboot.
Troubleshooting Tips:
I had a little problem today, unrelated to the GAPPS install mod here. But the problem involved Google Play not working correctly. I kept getting Google Play error pop up. So, I use Titanium Backup ROOT to wipe the data and then uninstall all the apps which names start with Google. I'm not sure if this is enough, it might but I didn't want to take any chance. This maybe unnecessary but I did it anyway; I delete all the files that I created in the /data/su/system that have anything to do with google. Basically anything that was unzip there. Rebooted, then re-apply the same google mod here. And problem solved. I did have to re-login again, but yes I clear up that Google Play error.
Pre-Requisite:
ADB + ROOT + Enable Unknown Source.
1. ADB: leapinlar wrote a post to help you getting ADB to work here.
2. ROOT: I wrote a guide on how to get root the easy way here.
3. Enable Unknown Source: Again, I make an easy little tool for you here.
Brand New and Improve Instructions:
Download these three files. New.zip GoogleMaps.apk and gapps-ics-system.zip
Unzip New.zip (don't unzip gapps-ics-system.zip)
run install.bat
PS: Now I know how hard it's to write a guide in xda. Prop to all those dev that have been there b4 and after, especially the one I have use their works.
That's it, I'm going out to buy one ASAP. Thanks for your hard work!
thanks for you Howto
after that is it possible to use Youtube and Google Maps apps?
Youtube can be install from Play Store but you have to sideload the Google Maps since it's not available for download in Play Store. GMail works, but the authentication through google account on other apps still aren't working. I guess this problem may be beyond my current level of tinkering knowledge.
great job on getting google market somewhat working!!!! We need the manual nooter developer or author to make what we need for the Nook HD AND HD+. Anyhow I belwive you need more framework files to get google authentication working and unfortunately they need to be installed within root folders like the /system folders and sub folders... Also Barness and noble included frameworks for google authentication, probably just not working with google apps installed manually.... gotta figure it out...
---------- Post added at 05:49 PM ---------- Previous post was at 05:47 PM ----------
By the way youtube app works installed older version from my Motorola Droid 3 manually through es file explorer and it works and does HD fine
I have been thinking about that and wonder if we can put those lib files on diff folder and sym link them? I still afraid it might reset the thing.
someone0 said:
Instruction:
[*]Optional, factory reset it. Seriously I cannot say this will work unless you start from scratch. If you already have rooted earlier, then install something like titanium backup and backup your porn(I mean data).
Click to expand...
Click to collapse
I was able to do this with root explorer after rooting with no problem.
Thanks for this (and your rooting zip - both are super!)
issue was fixed, removed obnoxiously long quote
smatticus said:
still have the issue where i can't get the nookcolortools to run properly from /system/app. it just crashes. i googled this and it says that i need to reboot the nook to apply the system/app move BUT that supposedly creates the bootloop. i REALLY don't want to do that so can someone help me out here?
Click to expand...
Click to collapse
You probably shouldn't quote anything that big unless you very need to. As far as getting nook color tool to run, did you set the file to have proper permission, eg: chmod and chown the file? Your other option is factory reset and start from scratch. Sometime getting a clean slate to start with make things easiler to follow.
Thank you for the Google Play Store. It works great for me. I want to install Google Voice. Before I installed your framework apk, I was not able to get the credentials to come up. Now since installing that, it comes up with my Google credentials and tries to authenticate them. But immediately Android System force closes and the sign in screen just sits there. Any ideas on this one? This is the last thing I need to make this my everyday device.
Sent from my Nook HD+ using Tapatalk
someone0 said:
As far as getting nook color tool to run, did you set the file to have proper permission, eg: chmod and chown the file? Your other option is factory reset and start from scratch. Sometime getting a clean slate to start with make things easiler to follow.
Click to expand...
Click to collapse
turns out i wasn't supposed to install the app via adb. my fault for not following instructions. thanks for your hard work
Nice, I think I am getting the Nook HD+.. Hope there is custom ROM soon.. thanks man
leapinlar said:
Thank you for the Google Play Store. It works great for me. I want to install Google Voice. Before I installed your framework apk, I was not able to get the credentials to come up. Now since installing that, it comes up with my Google credentials and tries to authenticate them. But immediately Android System force closes and the sign in screen just sits there. Any ideas on this one? This is the last thing I need to make this my everyday device.
Sent from my Nook HD+ using Tapatalk
Click to expand...
Click to collapse
I'm thinking about that right now but as I suggested, putting the google lib in other place and make symbolic link in the appropriate /system sub. I won't be able to test that theory of mine until I get home later tonight. I will have to research where all the files suppose to go and their permission. Unless you want to do it, you are welcome to.
I agree, getting authentication would be tha last missing link to make this device fully enjoyable as day-to-day usage. And the we can wait for custom ROM from real developers. That is definitely out of my knowledge.
works without full reset
figured i'd put it out there that i DID NOT do a full factory reset (partly to be a guinea pig, partly because i'm lazy) and this method DOES WORK without it. It took 2 tries (it loaded up the first time, then crashed a few minutes later.) the second time it worked like a charm. One note: the chown command gave me an "operation not permitted" notice, but the market IS working, i grabbed a TON of apps and thankfully got updates to the ones i purchased through the nook shop that hadn't seen an update since they first launched (i'm looking at you, machinarium).
Thanks!
Thanks so much for your work on this! I can access the Google Play Store along with the Amazon App Store now and have loaded up my new Nook with my favorite apps. My only disappointment is that I still can't get Amazon Instant Video or Google Play Movies to work...once these work I'll be in heaven!
leapinlar said:
Thank you for the Google Play Store. It works great for me. I want to install Google Voice. Before I installed your framework apk, I was not able to get the credentials to come up. Now since installing that, it comes up with my Google credentials and tries to authenticate them. But immediately Android System force closes and the sign in screen just sits there. Any ideas on this one? This is the last thing I need to make this my everyday device.
Sent from my Nook HD+ using Tapatalk
Click to expand...
Click to collapse
BTW, I got that working now, my theory works. Now only if I have a place to store 60+MB file. Then I can update this guide to include that. I was able to use Youtube app to access my account and so is my RSS reader to sync with google reader.
Access Denied
I'm getting an error when I try to execute ./gapps-inst.sh. It's saying cannot execute - Permission denied. I've rooted and followed the instructions to install Google Play and all worked fine...I'm on this last step and it won't work! Advice is much appreciated!! I also keep having permission denied issues with the adb push command...I can paste the files manually via ES File Explorer and rename to remove the .bin but I still can't install from adb shell.
I've also tried chmod 777 on the gapps-inst.sh prior to doing ./gapps-inst.sh but that produces a giant string of errors.
I'm at a loss!
someone0:
I just rehosted your files on my MediaFire account.
Removed links. New links on OP.
Alright, so I have no idea what Nook HD/HD+ thread to put this is in... so here i go.
1. Will these steps get the play store on the Nook HD as well?
2. Will the apps show up in the Nook app section, or do we still need a launcher. I have sideloaded all my apps, but have to use a launcher to get at them.
Thanks!
someone0:
There is are a couple of typos in your gapps-inst.sh file -
Code:
ln -s /data/su/system/usr/srec/en-US/google_hotword_clg /system/usr/en-US/google_hotword_clg
ln -s /data/su/system/usr/srec/en-US/google_hotword_logistic /system/usr/en-US/google_hotword_logistic
are missing the /srec in the second /system link.
Also it seems the real /system has these files so the symlinks fail.
Code:
ln -s /data/su/system/etc/permissions/com.google.widevine.software.drm.xml /system/etc/permissions/com.google.widevine.software.drm.xml
ln -s /data/su/system/framework/com.google.widevine.software.drm.jar /system/framework/com.google.widevine.software.drm.jar
ln -s /data/su/system/usr/srec/en-US/acoustic_model /system/usr/srec/en-US/acoustic_model

Error while installing sqlite3

Hey guys, i am trying to install sqlite3 using sqlite3 installer for root (available on play store) to get the preferred network on GSM instead of WCDMA but i'm getting this error: "Error in install process: /system/xbin/sqlite3: open failed: EROFS (Read-only file system)" although i've granted root permissions to the app. Any ideas?
Latest sqlite3-3.7.16
Use the attached sqlite3...extract & copy it to the /system/xbin folder...give execute permissions and it should work...
Just tested today with my Nexus 4 to read out whatsapp notification message contents via tasker...
blsrbl said:
Hey guys, i am trying to install sqlite3 using sqlite3 installer for root (available on play store) to get the preferred network on GSM instead of WCDMA but i'm getting this error: "Error in install process: /system/xbin/sqlite3: open failed: EROFS (Read-only file system)" although i've granted root permissions to the app. Any ideas?
Click to expand...
Click to collapse
cod3warrior said:
Use the attached sqlite3...extract & copy it to the /system/xbin folder...give execute permissions and it should work...
Just tested today with my Nexus 4 to read out whatsapp notification message contents via tasker...
Click to expand...
Click to collapse
Thanks bro. I'll try it when get back home.
Sent from my Nexus 4 using Tapatalk 4
cod3warrior said:
Use the attached sqlite3...extract & copy it to the /system/xbin folder...give execute permissions and it should work...
Just tested today with my Nexus 4 to read out whatsapp notification message contents via tasker...
Click to expand...
Click to collapse
Thanks. It worked. But unfortunately, i can't set the preferred network for some reason. Thanks for your help anyway :good:.
Hi, I am also trying to do this and get the error /system/xbin/sqlite3: open failed: EROFS (Read-only file system) when trying to install sqlite3 via the app SQLite Installer for Root. I just tried the method of manually putting the file in xbin but it told me it's read only.. My nexus 4 is rooted so any ideas why it isn't working? (I used to have it working before going to 4.3.3)
Mount the system as RW
lilfellabob said:
Hi, I am also trying to do this and get the error /system/xbin/sqlite3: open failed: EROFS (Read-only file system) when trying to install sqlite3 via the app SQLite Installer for Root. I just tried the method of manually putting the file in xbin but it told me it's read only.. My nexus 4 is rooted so any ideas why it isn't working? (I used to have it working before going to 4.3.3)
Click to expand...
Click to collapse
I think the system partition is in Read-Only mode. Mount the system in RW mode, move the sqlite3 binary and then do remember to remount in RO mode.
Sqlite3 is already attached in this XDA thread i guess. Try this set of instruction - http://stackoverflow.com/a/5022363
Happy Querying !!
Edit:
I think you should be pushing it in '/system/xbin', NOT '/system/bin' as mentioned in the above set of instruction
badhri said:
I think the system partition is in Read-Only mode. Mount the system in RW mode, move the sqlite3 binary and then do remember to remount in RO mode.
Sqlite3 is already attached in this XDA thread i guess. Try this set of instruction - http://stackoverflow.com/a/5022363
Happy Querying !!
Edit:
I think you should be pushing it in '/system/xbin', NOT '/system/bin' as mentioned in the above set of instruction
Click to expand...
Click to collapse
Thanks for the reply! I was hoping I could do this somehow without needing my computer (I tried using es file explorer). I don't particularly want to install the sdk - could I use a terminal app on the phone?
(Sorry for being a bit of a noob )
I haven't tried it.. But I think it should work.. Besides., you don't need to install the entire SDK.. You just have to have the adb exe..
Sent from my Nexus 4 using Tapatalk 4
cod3warrior said:
Use the attached sqlite3...extract & copy it to the /system/xbin folder...give execute permissions and it should work...
Just tested today with my Nexus 4 to read out whatsapp notification message contents via tasker...
Click to expand...
Click to collapse
Could you please list what the permissions are supposed to be?
thanks,
use file manager in super user mode
ap1618 said:
Could you please list what the permissions are supposed to be?
thanks,
Click to expand...
Click to collapse
See attached screenshots. I used X-plore.
binary not working
cod3warrior said:
Use the attached sqlite3...extract & copy it to the /system/xbin folder...give execute permissions and it should work...
Just tested today with my Nexus 4 to read out whatsapp notification message contents via tasker...
Click to expand...
Click to collapse
Well, this binary is no longer working..
I am using a Nexus 4, android 4.4.2, rooted, moved the binary to xbin, when I try to execute it, fails with below error:
Code:
CANNOT LINK EXECUTABLE: empty/missing DT_HASH in "sqlite3" (built with --hash-style=gnu?)
---------- Post added 16th December 2013 at 12:37 AM ---------- Previous post was 15th December 2013 at 11:39 PM ----------
Well, spent a lot of time browsing and searching for binaries, uploading them to phone, making system rw, moving, changing permissions and checking if working, and finally have found a binary that it working on my Nexus 4.. And it was on my phone already.. the one that gets downloaded from within romtoolbox is working great.. when root browser from rom toolbox is opened it asks to download some extra files, these include busybox, zip, unrar and sqlite3! Out of frustration I searched the entire phone for sqlite3 and found this.. :laugh:
tks very much!
cod3warrior said:
Use the attached sqlite3...extract & copy it to the /system/xbin folder...give execute permissions and it should work...
Just tested today with my Nexus 4 to read out whatsapp notification message contents via tasker...
Click to expand...
Click to collapse
tks very much!
I am the developer of the app. Please use : https://groups.google.com/forum/#!forum/sqlite-installer-for-root for further help. I do not look at these forums very often, but get replies on the group.

Categories

Resources