[Q] Request help installing updated libgps.so - G Tablet Q&A, Help & Troubleshooting

We have done the internal GPS hardware mods and want to see if we can activate the GPS module. We know we need to replace the default libgps.so with the Adam version. (obtained from http://forum.xda-developers.com/showpost.php?p=14111386&postcount=207 )
We have VEGAN-Tab installed with Super User and Root Explorer installed.
When we try to copy and paste the necessary libgps.so from the external SD card to over write /replace the default one located in system/lib we get a warning saying the file is read only. Attempts to change the permissions of the original with Root Explorer fail.
Are we noobs to think that the original file can be replaced with simple cut and paste actions?
Are we missing some basic step?
TIA
Gwyn

gwynethgh said:
Are we noobs to think that the original file can be replaced with simple cut and paste actions?
Are we missing some basic step?
Click to expand...
Click to collapse
Flash the new Froyo version I just added.

rajeevvp said:
Flash the new Froyo version I just added.
Click to expand...
Click to collapse
Thanx so much. We will try this soon.

Related

[Q] New kernels missing long SMS fix

I'd love to ask this in the Dev section so that it would get noticed, but one must follow rules: Adrenalyn's kernels have often included a patch to allow VZW SMSs over 160 characters to split rather than convert to MMS. I've noticed lately we're back to the converting method. Can this be made into a separate patch or can our great devs try to include this again into the latest kernels so that the SMSs will split again?
-edit- So I try to follow the rules and end up posting this in general rather than Q & A. I need my coffee
I second this. I'm actually on the search right now for the patch/fix that was posted.
tbeas said:
I second this. I'm actually on the search right now for the patch/fix that was posted.
Click to expand...
Click to collapse
I could be wrong, but I am fairly positive that the long SMS has nothing to do with the kernel, but with Messaging.apk. Which would make this a ROM issue. There is even a tutorial on here somewhere that tells you how to manually pull the .xml file from Messaging.apk, change the specific value to "7", which will make it so that your SMS is not converted to MMS until you reach 900 characters, then push it back. Again, I COULD be wrong, but I'm almost positive this has absolutely nothing to do with the kernel.
Its not the kernel.
Push this to your system/app directory
http://db.tt/qItV6uU
That worked very well. Thanks!
Worked just fine for me too!
Dalamar1320 said:
Its not the kernel.
Push this to your system/app directory
http://db.tt/qItV6uU
Click to expand...
Click to collapse
Just what i was looking for but couldn't remember where to find it, Thanks
MMS
Dalamar1320 said:
Its not the kernel.
Push this to your system/app directory
http://db.tt/qItV6uU
Click to expand...
Click to collapse
Wouldn't this mod from Adrynalyn's [ROM][3.23.2011] Superclean 2.9.2 EA15/EB01/EB16/EC10 Based thread also work:
Samsung MMS (stock, eb01)
eb01_mms.zip (http://www.mediafire.com/?4q3jk5vcdd29hjf)
Dalamar1320 said:
Its not the kernel.
Push this to your system/app directory
]
Click to expand...
Click to collapse
how do i push this to my system/app directory? kinda stumped
im running nitros ultimate honeycomb
Tanktak said:
how do i push this to my system/app directory? kinda stumped
im running nitros ultimate honeycomb
Click to expand...
Click to collapse
can anyone answer this for me?
Tanktak said:
can anyone answer this for me?
Click to expand...
Click to collapse
You use ADB to push any file from your PC to your phone. Or this free easy to use Linux/Windows/MAC GUI -> http://qtadb.wordpress.com/about/
beray5 said:
You use ADB to push any file from your PC to your phone. Or this free easy to use Linux/Windows/MAC GUI -> ht tp:// qtadb. wordpress.com/about/
Click to expand...
Click to collapse
i have seen this and read briefly on it before but not familiar with how to use this. any chance you can give me a walkthrough of how to use this in order to push the sms file to my phone?
please do reseach on ADB before using if youve never used it before.. u can ruin your phone beyond the point of saving it with odin
If you don't know adb then make it easy on yourself and get rootexplorer then you can copy and paste. Or you can use linux terminal commands in terminal emulator (free in the market) to "cp" (copy) the apk file to the system/app dir
Dalamar1320 said:
If you don't know adb then make it easy on yourself and get rootexplorer then you can copy and paste. Or you can use linux terminal commands in terminal emulator (free in the market) to "cp" (copy) the apk file to the system/app dir
Click to expand...
Click to collapse
tried this both ways and it still converts my messages to multimedia
Did you delete (or rename) the old mms.apk (i always rename to something like mms.bak) before moving the new mms.apk to the system/app directory?

[GUIDE] Correctly using Root Explorer to manually replace modded/stock system files

Here is the correct way to use root explorer for manually replacing system files:
1. Mount the system as r/w (read/write) per the top right corner. Navigate to the file that you plan to replace (e.g., system/framework/framework.jar).
2. Copy (not move) the file and paste it somewhere on your SD card (internal or external, doesn't matter - as long as you can locate it in case you need to put it back). Rename the file you just pasted, but very subtly. For example, when renaming framework.jar, I would only throw something in front of the file name, such as "Backup - framework.jar", so I can easily distinguish it from the new file if I put them in the same spot.
3. NANDROID BACKUP!
4. Download/put on your sd card (whatever you do) the new file that you want to replace the old one with.
5. Move the new file to /system (not in a subfolder yet). Here you will change the permissions, which is crucial to avoid FCs and problems. In root explorer, you would long press the file, press permissions, and set them to whatever the old file's permissions are. This may require going to verify what they are before starting this step. For example, in a lot of cases, the permissions will be RW-R-R. In Root Explorer, this would mean checking the first two boxes on the first line and only the first box on the next two lines. In any situation, confirm that the permissions you see after you've changed them (right below the file name) match exactly what you're replacing.
6. Ensure that your new file is correctly named to exactly what it is replacing (case actually matters) and double check the permissions.
7. Move your new file to the folder, root explorer will ask if you want to replace the file. Confirm.
8. Back out of root explorer and immediately reboot.
No force closes, no problems .
It may seem like a lot to someone who doesn't do it often but for me, I actually do this method faster than any other and fly through it every time. I got tired of seeing people explain ways to use Root Explorer which result in bootloops, FCs, etc. without fail. So, I decided to put an end to it.
Great post Simba501! Thank you for this...
Obviously a "noob" thing I'm over-looking but when I try and paste the file I'm moving into /system it's prompting me that it's "read-only"?
Audiochild said:
Obviously a "noob" thing I'm over-looking but when I try and paste the file I'm moving into /system it's prompting me that it's "read-only"?
Click to expand...
Click to collapse
Toggle "Mount R/W" button at the top.
Audiochild said:
Great post Simba501! Thank you for this...
Obviously a "noob" thing I'm over-looking but when I try and paste the file I'm moving into /system it's prompting me that it's "read-only"?
Click to expand...
Click to collapse
Sounds like you need to mount \system as read-write. There is a button in the upper right corner of root explorer to mount
Sent from my SGH-I777 using XDA App
Thanks wonner and kbilly70! That was the issue
Awsome. Bookmarked!
thanks for the awesome guide. worked great for me!
Thanks, that clears things up.
I'm still wondering, though, how does one handle certificate files etc? For example, the ones found in this fix provided by zdzihu, in the META-INF folder.
kZard said:
Thanks, that clears things up.
I'm still wondering, though, how does one handle certificate files etc? For example, the ones found in this fix provided by zdzihu, in the META-INF folder.
Click to expand...
Click to collapse
Those are only for flashing purposes. Not needed if you're not flashing it. You only need to pull everything besides that folder and place them appropriately.
Using this method resulted in "app not installed" tried it with black Google search box, and just now with Mms.apk rw-r--r-- backed up old one, but method didn't work... had to nandroid last time because phone wouldn't let me install backup or market version. Looks like I'm in for it again. fudge. what went wrong?
System folder was r/w and moved apk into system/app said OK to overwrite and used hard key back button to exit root explorer. Hard key power button and selected reboot within 1-4 seconds of moving apk over system app.
Edgarhighman said:
Using this method resulted in "app not installed" tried it with black Google search box, and just now with Mms.apk rw-r--r-- backed up old one, but method didn't work... had to nandroid last time because phone wouldn't let me install backup or market version. Looks like I'm in for it again. fudge. what went wrong?
System folder was r/w and moved apk into system/app said OK to overwrite and used hard key back button to exit root explorer. Hard key power button and selected reboot within 1-4 seconds of moving apk over system app.
Click to expand...
Click to collapse
You don't install it after placing it. Placing it in the folder does install it. If you put it there, ensure the permissions are correct, and reboot, it should work.
EDIT: I don't see any mention of setting the permissions, so that was probably the issue. Again, no need to "install" it; just put it in the appropriate folder and set the permissions.
Simba501 said:
You don't install it after placing it. Placing it in the folder does install it. If you put it there, ensure the permissions are correct, and reboot, it should work.
EDIT: I don't see any mention of setting the permissions, so that was probably the issue. Again, no need to "install" it; just put it in the appropriate folder and set the permissions.
Click to expand...
Click to collapse
I did state the permissions. It's in your quote lol. Your method caused my phone to say app not installed. I had trouble getting the default app back after your method failed. Why didn't it work? I'm telling you I followed it to a T.
Sgs2, android 2.3.6, unnamed rom, December 2011 entropy kernel
Edgarhighman said:
I did state the permissions. It's in your quote lol. Your method caused my phone to say app not installed. I had trouble getting the default app back after your method failed. Why didn't it work? I'm telling you I followed it to a T.
Sgs2, android 2.3.6, unnamed rom, December 2011 entropy kernel
Click to expand...
Click to collapse
If the apk is compatible, it will work. At no point should you get an "application not installed" prompt, unless you attempted to manually install it at some point. If it wouldn't work, it just wouldn't appear in the app drawer: no prompt.
I guess this should be mentioned in the OP, but some times, clearing data of the application may be necessary after finishing. Usually a force stop at the most will allow you to see changes (which is why the steps include a reboot). You've piqued my interest. Post the files of question and I'll see if they work on my device. There was a similar issue someone else was having; I told him to redownload the apk and that was the problem. Some kind of botched file/download.
Sent from my Galaxy S II (i777)
can you edit or create new folders in the /sys directory?
mikoal said:
can you edit or create new folders in the /sys directory?
Click to expand...
Click to collapse
No. Why would you want to?
Sent from my Galaxy Tab 10.1
Simba501 said:
No. Why would you want to?
Sent from my Galaxy Tab 10.1
Click to expand...
Click to collapse
just wondering what the limitations of root explorer are.
is it only that folder? and why that folder?
mikoal said:
just wondering what the limitations of root explorer are.
is it only that folder? and why that folder?
Click to expand...
Click to collapse
You can edit and create new folders in that directory, but there's just no need to, unless you want to break the functionality of your phone.
mikoal said:
just wondering what the limitations of root explorer are.
is it only that folder? and why that folder?
Click to expand...
Click to collapse
Idk: that's the only one I've seen. I've created folders in other directories. At any rate, virtually every modification you'll ever make will be in /data or /system.
dsmboost said:
You can edit and create new folders in that directory, but there's just no need to, unless you want to break the functionality of your phone.
Click to expand...
Click to collapse
It fails if attempting to create it within Root Explorer. You could use other means though (on a PC, an edited ROM zip, or potentially another root file manager). But again, no real reason to: other than for development purposes, perhaps. I'm no developer though, so I can't say.
Sent from my Galaxy Tab 10.1
Simba501 said:
Idk: that's the only one I've seen. I've created folders in other directories. At any rate, virtually every modification you'll ever make will be in /data or /system.
It fails if attempting to create it within Root Explorer. You could use other means though (on a PC, an edited ROM zip, or potentially another root file manager). But again, no real reason to: other than for development purposes, perhaps. I'm no developer though, so I can't say.
Sent from my Galaxy Tab 10.1
Click to expand...
Click to collapse
Ah okay, I was referring to ES file explorer, which can modify other files in that directory.
thanks to you both!

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!!!!

Neutrino TTS Addon?

Neutrino is my first custom ROM, and I love it!
I'd really like to enable TTS, and I'm not sure what I need to do. There was a multiupload link for the languages / tts .zip in the Neutrino thread, but it is now down. I see that people have had issues with it - although I understand that they've resolved it manually by copying over various files from CM7.
I'm at a loss, however, of where to obtain these files or which files are needed specifically.
I'd really like to get this done ASAP as I'm going on a road trip tomorrow, and really need my GPS functional! Does anyone have a .zip to flash to make this work, or is anyone able to me a rundown of what files to copy over?
Thank you so much!
- Andy
P.S. This would be posted in the Neutrino thread except as I am new XDA won't let me post in the Develpment Forum :-/
- Andy
For some reason he doesn't have it posted anymore, I have an early test one he made for me that I will post for you later(I use it still)
sent from my Atrix via XDA premium
Notorious544d responded, telling me what files I needed to copy over
But, what you should do is download CM7 and copy the following files in their respective folders:
/system/app --> PicoTTS.apk, ttsservice.apk
/system/lib --> libttspico.so, libttssynthproxy.so
/system/tts --> Copy whole TTS folder and place in system and set 644 (rw-r--r--) permissions to be safe.
Click to expand...
Click to collapse
The only thing is I don't know how to copy these over exactly. Where do I put them / how do I put them? There's no system folder on the SD card, so I take it I have to flash them? How do I do that exactly?
Nevermind - I figured out how to push the files up using adb after remounting as root
TTS works fine now!
phnord said:
Notorious544d responded, telling me what files I needed to copy over
The only thing is I don't know how to copy these over exactly. Where do I put them / how do I put them? There's no system folder on the SD card, so I take it I have to flash them? How do I do that exactly?
Click to expand...
Click to collapse
you would use ROOT explorer to do this look at the folders (outside the sdcard ) for the /system folder
Sent from my MB860 using Tapatalk

[Q] APK Creation

Well as many of you know we're over most of the hurdles we needed to jump with the CM7 build for Nook tablet.
Updates for the internal version are simple via CWM, the SD version is not so simple of course.
I'm assuming that it should be possible to built an APK that gains superuser permissions then copies the new files to the system. Can anybody confirm this is possible please?
We need to know that we can tell our SD user that they can update their version just as easy as the internal user
Thanks in advance for your help again everyone!
Well presumably this is how ROM Manager and Metamorph both do their thing, just in a slightly more round about way (as they don't come with the files they need to copy). I'm almost 100% sure this is possible, but I've never tried it personally.
EDIT: Looks like this is how you'd do it: http://developer.android.com/reference/java/io/File.html. Specifically the renameTo() method.
CelticWebSolutions said:
Well as many of you know we're over most of the hurdles we needed to jump with the CM7 build for Nook tablet.
Updates for the internal version are simple via CWM, the SD version is not so simple of course.
I'm assuming that it should be possible to built an APK that gains superuser permissions then copies the new files to the system. Can anybody confirm this is possible please?
We need to know that we can tell our SD user that they can update their version just as easy as the internal user
Thanks in advance for your help again everyone!
Click to expand...
Click to collapse
Well there are about a dozen ways to do this. First of one of the hardest things is comming up with the commands/script. I can defiantly do this. If you want an apk, there are a few guys whom could port my script to an apk. I'm going to make a script here that will format, and create partitions and extract directly from the nook, no need to go through the fancy formatting and such, just go into terminal and run the script. Ill post a prototype for you to have the testers test!
Do you think something like BacksideUpdater inside custom ROM for LG Optimus V?
made by JerryScript
JerryScript i very nice guy, I bet if you ask him, he will let you play with his code
if is it what you looking for
Yes, this is possible. I wrote an app that flashes the recovery partition for my older Froyo phone in the very rudimentary Basic4Android. Copying files under root privileges was part of this process. Fairly easy if you find the right coding examples in whatever your development platform of choice.
xdajunkman said:
Yes, this is possible. I wrote an app that flashes the recovery partition for my older Froyo phone in the very rudimentary Basic4Android. Copying files under root privileges was part of this process. Fairly easy if you find the right coding examples in whatever your development platform of choice.
Click to expand...
Click to collapse
So one of the problems is its not really copying. Its more of an extraction from one place to another. We are required to use dd, and fdisk(for formatting).
GREAT! I was worried updates would be to complicated for people
Sent from my Nook Tablet using xda premium
... and I was worried that I might have to wipe my NT clean again to get the updates. After a week with this wonderful upgrade, I've got a LOT of customization I don't want to lose...
Whoops, wrong button with the thanks. Anyway, it occurs to me you could just have people run a script from a terminal emulator. That would probably be the simplest way to do it. Make an Update folder on the SD card, add it to the PATH by default, and users could just copy over the update files and run the script. Just a thought.
Sycobob said:
Whoops, wrong button with the thanks. Anyway, it occurs to me you could just have people run a script from a terminal emulator. That would probably be the simplest way to do it. Make an Update folder on the SD card, add it to the PATH by default, and users could just copy over the update files and run the script. Just a thought.
Click to expand...
Click to collapse
Has to be simple, something like copy an update.zip onto the SD card then run the apk which will automatically run the update in the zip But my knowledge of such things is limited so I need help there
Same process. With the above method, the user would only have to copy over the file, open a terminal, and type 'update'. With the apk idea you just have to add a little more time for someone to actually write the app (not that it would take too long).
Sycobob said:
Same process. With the above method, the user would only have to copy over the file, open a terminal, and type 'update'. With the apk idea you just have to add a little more time for someone to actually write the app (not that it would take too long).
Click to expand...
Click to collapse
Hmm.... that sounds good.
Anybody know how to actually implement it ?
Dammit, idk why I keep hitting the thanks button thinking it's reply >.>
Anyway, it's just a matter of setting the PATH variable to include /sdcard/Update/ or something similar. To make an actual update, make a folder called Update, fill it with all the files that need to be copied over (probably in a directory structure), and write a script that actually copies everything over. You'll need to make sure sh is in /system/bin (I think it is by default).
You could zip the the files as well, using gunzip (busybox?) to extract them before copying them, then deleting them when you're done, just to keep it cleaner for the user.
The only downside to all this is that I don't know how you would flash a kernel.
Sycobob said:
Dammit, idk why I keep hitting the thanks button thinking it's reply >.>
Click to expand...
Click to collapse
That makes two of us!
Sycobob said:
Anyway, it's just a matter of setting the PATH variable to include /sdcard/Update/ or something similar. To make an actual update, make a folder called Update, fill it with all the files that need to be copied over (probably in a directory structure), and write a script that actually copies everything over. You'll need to make sure sh is in /system/bin (I think it is by default).
You could zip the the files as well, using gunzip (busybox?) to extract them before copying them, then deleting them when you're done, just to keep it cleaner for the user.The only downside to all this is that I don't know how you would flash a kernel.
Click to expand...
Click to collapse
I'm guessing you'd just flash it as usual, surely that one is the easiest? Copying stuff to boot partition would hopefully be just as simple, I was mainly worried about updating system files. I could do with building one for the current update to test the theory!

Categories

Resources