[Q] I Got RIL Problems - For Real ! - Desire HD Q&A, Help & Troubleshooting

Hello,
I began the Rooting / flashing custom Rom journey just 4 nights ago. I would not have thought it just a week ago…. nine months of all that damn bloatware…. five months of envying all those Sense 3.0 users…. but, a rooted, suited, un-bloated ROCKET DHD I now have
I have one last thing to accomplish, then, after monitoring all is okay for a little while I will revisit all the members here who's guides I followed and programmes I downloaded in order to help me get to this point and I'll show my thanks to each of them; a small donation to LeeDrOID must also be in order.
But first, my final step:
I'm trying to update my RIL but my old one simply refuses to budge, regardless of how many times I reflash it, can you help me please ?
I have installed Radio: 12.62.60.27U_26.13.04.19_M
The recommended RIL to go with this is: RIL_12.62.60.27_26.13.04.19_M
I downloaded both from here: http://forum.xda-developers.com/showthread.php?t=996630
I flash the RIL by booting into Recovery - scoll down to Mounts and Storage and enter - scroll down to Mount System and enter - scroll down to Go Back and enter - scroll down to Install Zip from SDcard and enter - enter Choose Zip from SDcard - scroll down to RIL_12.62.60.27_26.13.04.19_M.zip and enter - scroll down to Yes and enter.........
"Install from SDcard complete"
scroll down to Go Back and enter - enter Reboot System Now and enter.
Phone reboots normally.
I check RIL by using this app that I installed: Simple RIL Infos Displayer v1.1 by ZikHD
RIL always shows: HTC-RIL 2.2.0179HM (Aug 17 2011)
What am I doing wrong ?
Appreciate any help.
Many thanks.

This will work for you: Unzip your rom.zip and ril.zip, copy the 3 lib files (from your ril.zip in lib folder) in your rom (system/lib) if the files already excist delete them first, then zip your rom and flash it. You can also use another method by pushing the 3 libs in your system/lib folder by using root explorer for example.

MichDHD said:
This will work for you: Unzip your rom.zip and ril.zip, copy the 3 lib files (from your ril.zip in lib folder) in your rom (system/lib) if the files already excist delete them first, then zip your rom and flash it. You can also use another method by pushing the 3 libs in your system/lib folder by using root explorer for example.
Click to expand...
Click to collapse
Mich, thanks for your kind reply.
Interesting, regarding putting the 3 RIL files into the relevant Rom folder, zipping back up then reflashing, however, depite having Titanium BackUp, I would still rather not reflash my Rom; I have my phone all set-up nice and lovely and would rather not go down this route if I can avoid it, but thank you for offering me it, and explaining the process in simple terms, which I need
Now, what I am excited about is the Root Explorer way, which I also have installed on the phone.
Fancy taking 5 minutes to reply and writing (in dumbo terms - I'm the dumbo, not you) exactly how I go about doing it ?
Thank you, friend.

Put the 3 lib files from your ril.zip on your sd-card, open root explorer and go to your sd card, select multiselect and copy the 3 lib files, go back one folder and push Mount R/W buttom (you need Mount R/O) then open system and do the same (Need R/O), open lib folder and paste the 3 lib files you copied, after that reboot your phone and now you have your matching rils.

MichDHD said:
Put the 3 lib files from your ril.zip on your sd-card, open root explorer and go to your sd card, select multiselect and copy the 3 lib files, go back one folder and push Mount R/W buttom (you need Mount R/O) then open system and do the same (Need R/O), open lib folder and paste the 3 lib files you copied, after that reboot your phone and now you have your matching rils.
Click to expand...
Click to collapse
Perfect, simple instructions, thank you.
I have hit your "Thanks" button.
The 3 Lib files from the RIL Zip are now living in their new home.... my phone's System Lib folder. But my RIL is still showing as the HTC-RIL 2.2.0179HM.
Could it be that a Cache somewhere (I've no idea which one) needs clearing before the new RIL will show itself ?
Could it be that the HTC RIL keeps showing as my current RIL because it actually IS the one from the 3 Lib files; it's the new RIL after all ?
Signal strength seems unchanged (I only know how to gauge it by looking at the strength bars)
Internet speed seems unchanged (I only know how to gauge/test it by opening a few websites)
Sorry my phone, and me, and my RIL's have become a pain in the arse

Sir_Danny_Boy said:
The 3 Lib files from the RIL Zip are now living in their new home.... my phone's System Lib folder. But my RIL is still showing as the HTC-RIL 2.2.0179HM.
Click to expand...
Click to collapse
You did everything right, this IS the correct RIL for this radio

You can try reinstall that app but to be honest, forget about that app. Really, i don't care what it says because i know if you flashed your radio properly, and you replaced the libs properly, you are using latest radio+ril with certainty.
How did you flashed your radio?? And mayb its good for you to take a look at the updater-script (open with text editor) in the meta-inf folder in your ril.zip. This script shows you whats happening with your phone when you flash that ril.zip. As you can see, you did the things in the script manualy by using rool explorer.

@MichDHD: I flashed my Radio using the wonderful Radio Tool created by "leith51" - I downloaded it from here: http://forum.xda-developers.com/showthread.php?t=896597
I have just installed Text Editor app. I'm trying to follow your instructions on how to read the updater-script in the meta-inf folder of my RIL.Zip.... struggling ! I open the Text Editor on my phone, scroll to my RIL.Zip that is on my SDcard ? I tried this, and when Text Editor opens the RIL.Zip just a ton of crazy Chinese type symbols came up
And what do you make of "sigurd_LU's" comment ? So the HTC-RIL 2.2.0179HM (Aug 17 2011) is the correct RIL for Radio 12.62.60.27U_26.13.04.19_M after all it seems
@sigurd_LU: Thank you.

To be honest, i never heard of that app, but it seems to be that you did it properly.
I meant open the updater-script on your pc, If you'r running windows, download notepad++ for free, are you on linux then just open with texeditor. You can always find the updater-script in this folder:
(RIL_12.62.60.27_26.13.04.19_M) / META-INF / com / google / android (in unzipped ril.zip)

@MichDHD: Wow, friend, how the hell do you know all this stuff ?
So, I downloaded Notepad Plus Plus and using it I opened the RIL Zip that's still on my PC (I assume I don't need to keep RIL Zip, Radio Zip, Rom Zip once they've been flashed on my phone?) Navigating to META-INF / com / google / android this is what I saw.....
ui_print("Applying RIL files - by amresh");
run_program("/sbin/mount", "/dev/block/mmcblk0p25", "/system");
package_extract_dir("lib", "/system/lib");
unmount("/system");
Nothing more, nothing less.
Of course it goes without saying, that I have absolutely no idea what any of it means

Well done mate. that's what i wanted you to see.
ui_print("Applying RIL files - by amresh"); ---> ui_print tells the phone to show "Applying RIL files - by amresh"
run_program("/sbin/mount", "/dev/block/mmcblk0p25", "/system");---> This line mounts your system (mmcblk0p25=system) (Remember, you made R/O from R/W , so R/O is mounted)
package_extract_dir("lib", "/system/lib"); ---> This line extracts the libs from your ril.zip in system/lib folder (like you did by yourself by pushing the 3 libs in system/lib folder)
unmount("/system");--> I think you know what this line does
Anyway, my point with this is if you're flashing something and it won't work, check the updater-script and try it by yourself. I know flashing is the easiest way but when you do it by yourself, you really understand whats happening at all and make it easier to find where it goes wrong.
edit: That's right, yo don't need that files on your phone after flashing/installing/pushing.

Related

[Q] how to install adobe flash to system partition?

Hi all,
I'm trying to install adobe flash to the system partition to save space. I've done it by adding the flash apk and libs to the gapps addon (required for CM6 anyway).
I can see in root explorer that in /system/apps I've got com.adobe.flashplayer.apk, and in /system/lib i've got libflashplayer.so and libysshared.so.
Under settings->applications I can see that Adobe Flash Player 10.1 is present.
In browser settings, Enable plugins is set to "on demand".
But when I try a flash site that used to work, it no longer does. What am I missing?
Thanks for any help,
Phil
It seems if you leave the .so files where they were in /data/data/com.adobe.flashplayer/lib, eveything works. So it looks like the app doesn't bother to check /system/lib, but goes straight to its own data folder.
Any way to remedy this? I've saved 4-5 MB on /data by moving the apk to /system, but the .so files are 8MB between them, i'd like to get them on /system as well.
Before flashing a ROM, move the APK file into the /system/app folder in the ZIP file and then re-zip it
EddyOS said:
Before flashing a ROM, move the APK file into the /system/app folder in the ZIP file and then re-zip it
Click to expand...
Click to collapse
Hi Eddy, that's exactly what I did as I said in my first post. It didn't work initially, but I now have it working by restoring the /data/data/com.adobe.flashplayer/lib folder with the two libs in it.
So the apk is in /system/app, but there are still these two big libs on /data taking up about 8MB. I was wondering if there is any way to get the system to pick them up from /system/lib like with all the other libs.
Cheers for any help,
Phil
I just have the APK in /system/app and it's fine - got over 100MB of storage (but I only use 5 apps and have them all moved to /system/app)
really? can you do me a favour and check in /data/data/com.adobe.flashplayer/lib and see what you have in there? Should be one huge (~7mb) .so file and a smaller one.
you definitely have the latest flash 10.1 final? version 10.1.92.8? (check in settings->applications).
I'm thinking of creating symlinks in /data/data/com.adobe.flashplayer/lib to the two files in /system/lib and see if that works.
Yes I do have the latest it's there by default in Paul's MCR r8 ROM (first thing I did once it was out) - he normally has it set to go to /data/app but I move it (and the other 5 apps) to the /system/app folder and it's fine...I'll have to install Root Explorer again to check the folder, though...
EDIT: Checked that folder, there's nothing in there at all...
Oh. Huh. Can you check and see if they're in /system/lib? I wonder how paul's got this set up. Should probably just ask him
What file(s) am I looking for?
libflashplayer.so and libysshared.so. Cheers
libflashplayer.so is, libysshared.so isn't
ok thanks for your help i tried the symlinks and it works for now although i guess its a bit hacky. Don't know why yours picks it up from /system/lib and mine won't. I'll see if I can get one of the elder gods to give up their wisdom
wingphil said:
ok thanks for your help i tried the symlinks and it works for now although i guess its a bit hacky. Don't know why yours picks it up from /system/lib and mine won't. I'll see if I can get one of the elder gods to give up their wisdom
Click to expand...
Click to collapse
any progress on this? I also would like to push those shared objects into the /system/lib/ folder to save on space
You need to have the matching apk and libraries in /system for it to work.
teppic74 said:
You need to have the matching apk and libraries in /system for it to work.
Click to expand...
Click to collapse
Had the libs in /system whith fresh MCR r8 ROM .. once i upgraded via Market to latest version they were also in /data/data.
So is there a way to get them to /system again (so that they will really be taken from there by the apk) ?
I am S-Off so the moving itself is easy ;-)
Marcus
soory if i dug an ol thread but i cant make it work...
copy the apk file to /system/app via root explorer and reboot...
in settings/application/manage application/all/
Adobe flash player is in it but it is only 56kb..
set browser for enable plugin to be 'on-demand' and 'always on' but no go (tried surfing on adobe flash mobile showcase site).....
to think i am thinking to move adobe air using this method too..
what else is needed?
Running Nexus One, CM6.0
Hi everyone!
I see this thread is a a bit old, but I've been trying to do the exact same thing with installing Flash Player in /system. My device also won't find the libs in /system/lib, so I'm thinking about doing the symlink stuff as well, but I'm not quite sure how to do this, since I don't have a lot of linux experience. Could you please help out a little?
Will this work?
Code:
ln -s /data/data/com.adobe.flashplayer /system/lib/com.adobe.flashplayer
Also, just to check: is there anything else I should do besides copying the libs Adobe Flash installs in its /data/data folder to /system/lib and creating the link?
Thanks a lot!
Not needed to make symlinks.
Just create folder /system/lib/plugins/com.adobe.flashplayer and move libs to it.
..

Accidently deleted GoogleServicesFramework.apk, how can I fix the problem?

I searched the forum. It seems a rare case that misdeleting the service application.
The story is quite simple. I wish to maximize the use of internal memory so I moved some applications from /system/app to /vendor, where roughly has 120mb unused space. All these files had been created symbol links under /system/app. Most of them worked fine, except the GoogleServicesFramework.apk, which I reckon verifying its physical path.
So I moved it back. The sad part was that I forgot the symbol link was still there. The file overrode the symbol link which linked to itself therefore axed it to 0 byte. Soon I found how serious it was. All google related service were down, the play store, the talk, the map, etc. The google service must do some verification so I can't simply find a GoogleServicesFramework.apk to replace it. I can't install it either. It failed instantly.
I don't know the background of GoogleServicesFramework.apk. Maybe I should remove all related applications then find a package to install all of them. Is there anyone knowing how to fix this problem?
My Xperia Play is 800a, version 2.3.4 kernel 2.6.32.9-perf build 4.0.2.A.0.42. It is my first andriod device and here is my first post so please be kind.
Wait for someone here to upload the file for you or back up your files and reflash.
well as you said you tried to install it and it instantly failed, it will
you should get that app and copy paste it to system/framework and before that CHANGE ITS PERMISSIONS
how? copy it to system folder go to permissions using root explorer and change them to r-w-r-r i.e tick first three row buttons and 2 column buttons
creative_md said:
well as you said you tried to install it and it instantly failed, it will
you should get that app and copy paste it to system/framework and before that CHANGE ITS PERMISSIONS
how? copy it to system folder go to permissions using root explorer and change them to r-w-r-r i.e tick first three row buttons and 2 column buttons
Click to expand...
Click to collapse
yeah, I've checked the permission. It's rw-r-r. But every GoogleServicesFramework.apk I've downloaded are slightly different in size. I suspect this file is highly sensitive to versions.
xiyue077 said:
yeah, I've checked the permission. It's rw-r-r. But every GoogleServicesFramework.apk I've downloaded are slightly different in size. I suspect this file is highly sensitive to versions.
Click to expand...
Click to collapse
i think you should try them and what you have got to lose? if you want your system (without GSF.apk) back just make a nandroid backup.
and you always got option of flashing stock firmware......
Another thing you can try is download a stock .ftf file, extract it and look for the file within the system files.. Copy paste and Bobs your uncle!
albanezi said:
Another thing you can try is download a stock .ftf file, extract it and look for the file within the system files.. Copy paste and Bobs your uncle!
Click to expand...
Click to collapse
The problem has been fixed. Thanks to every one. You guys gave me a lot of hints. The solution was like that:
1, uninstalled the play store from setup and removed the incorrect version GoogleServicesFramework.apk under /system/app
2, extracted the GoogleServicesFramework.apk from a ftf package carried 2.3.4 version. It should be 2MB around. The previous downloaded one was only 1MB. Maybe that's the reason it failed to install.
3, installed it, not to copy to /system/app! Then there will be a file like com.xxx.gsp.apk under /data/app directory.
4, rebooted the phone and would see the google store appeared. All services returned normal. Hooray!
I didn't try to move it back to /system. Most apps in /data had been moved to /system and /vendor so there are 200mb left in /data, fare enough to me

[Q] HTC Locations' App. on other Custom ROMs

Hi,
I need to install HTC's Locations app on any custom ROM (ie: MyOneV or CM9/CM10)
So any1 can help me with this ?
(i tried it though, by moving these files (from MyOneV5.0FX Removed apks) htclocation.apk,locationpicker.apk,locatiooninstaller.apk in System/app folder bt it didn't worked)
When you move those files to system app manually, you need to put right permission rw-r--r-- then reboot.
Or the simplest way is, open the Removed_Apks_RC5.x.zip with 7-zip (not extract), delete all apks that you don't need and leave those location files in zip.
Then flash the zip in recovery.
And these files will not work on a CM rom.
ckpv5 said:
When you move those files to system app manually, you need to put right permission rw-r--r-- then reboot.
Or the simplest way is, open the Removed_Apks_RC5.x.zip with 7-zip (not extract), delete all apks that you don't need and leave those location files in zip.
Then flash the zip in recovery.
And these files will not work on a CM rom.
Click to expand...
Click to collapse
:good:
Thankz
I tried that too, by removing all apks from zip keeping the said three files & flash it in recovery, still it doesn't appeared in apps!
Though i'll try again may b missed something or some file..
I just tried it, it works.
Your filename looks different, attached here the files from the Removed_Apks_RC5.x.zip, I named it to location.zip. Flash in recovery.
It Worked: Thanx

[GUIDE]How to make your own rom

This is a simple guide to make your own custom rom……..(the other parts will be written…as soon as I become bothered to type for hours again)
PART 1:setup the kitchen and rom
1.Download java(java.com) and install the java JDK(www.oracle.com/technetwork/java/javase/downloads/index.html)
2.Download the kitchen(http://forum.xda-developers.com/showthread.php?t=633246) (thankyou DSIXDA for your amazing kitchen)
3.Download Cygwin(Cygwin.com)
3.extract the cygwin file(using winzip or winrar) in C drive only….dont put it into any folders
a.Enter a file called Cygwin(setup file)
b.click next>install from local directory
c.now it will ask you where to put the program….leave everything as default
d.now It will ask you where the location of the packages are so>click browse>click my computer >go to drive C>and you will fin the folder Cygwin-packages>so select that folder and click ok>next.
e.now it will extract the folders>a promt is going to pop up..>click ok
f.now you will see a list>go to the first line and you will see next to the word ALL ,two arrows>click on them so all files can be installed.
g.now it will install the program whick take from 5-10min.
h.when its done …select finish.
i.you can now delete the setup file and Cygwin-packages folder.
j.now enter the Cygwin program and it will create some files..>when its done exit the program….
Now Cygwin program is done installing .
3.To use the kitchen:
a.Enter Cygwin folder>home>your user name>so you will find 3 files
b.in the same folder>extract the kitchen zip file(Android-Kitchen-master.zip)
c.now enter the kitchen folder>you will find a folder called>put rom here.
d.so in that folder>either put a rom.zip file or put a system.img file if you want complete stock…..(which you get from the ruu of your phone)
e.now enter tools folder>edifly_......(something like that) and see if you mount points are in it…
f.to know go to your build.prop file>check ro.product.device>and if you see a txt file under the name of your device …..your device is supported…
g.if NOT,go to the original thread …where the dev has stated a way on how to add your device…..
Now we are done from the setup of the kitchen…..
To use the kitchen:
1.Enter Cygwin
2.type
a.cd kitchen>press enter
b. ./menu>press enter
Now a list of options will come infront of you ……
3.go to the option>setup working folder>enter its number and press enter…
4.now if you go to Cygwin folder >enter home>user name>kitchen.
5.you will find a folder called(working folder_8254897)
NOW YOU ARE DONE WITH SETTING UP THE KITCHEN……AND YOU CAN START PLAYING WITH THE ROM
PART 2:Clearing up the options
Explanation for each option:
1.creates you a working folder,which extracts the rom for you.
2. It gives you super user access aka SU, Some apps require root to work properly….so if your rom isn’t rooted … it’ll be useless.
3. Busy Box is something that you install on your phone to give you some additional handy LINUX / UNIX based commands. You need Busy Box installed because some commands are not available to you and you made need them for some root level tasks.
4.To disable sounds while phone is booting
5.To add you a tethering app…..and allow you do wireless tethering
6. Zipalign is an archive alignment tool. It optimizes the way an app is packaged. Doing so enables the operating system to interact with the application more efficiently, and has the potential to make the application and overall the whole system much faster. Execution time is minimized for zipaligned applications, resulting in a lower amount of RAM consumption when running the app.
7.If you want the rom to do a FULL WIPE while installing the rom
8.To change the name of the rom
9.Checks if the update script contains any errors….because if it did the rom wont be installed correctly,which may lead to a brick
10.To see all information about your rom..ex: if you have root access/if you aren’t using stock kernel/if you have app2sd support etc..
11. Apk files have respective odexes that devs use to supposedly save space. Deodexing means you convert it back to a .dex file and put it back inside the apk. This allows you to easily replace files (not having to worry about odexes), but the main point was to deodex services.jar so that you can change all text to different colors (such as the clock color to white) and to deodex services.jar, you need to deodex everything.
12.To add a task killer….which closes applications to free RAM
13.To add a /data/app folder so applications could be installed their rather than getting installed in system/app
14.To add text editor…for ex.if you want to edit build.prop or any txt file which is in system.
15.To add a command shell which allows you to use in in the terminal
16.To give the option of moving applications to sd card
17. To add /etc/init.d scripts support ….which allow you to add tweaks and stuff for the phone
18.To allow user to put the boot-animation that he desires.
19.To be able to extract the boot.img(kernel)
20.To extract data.img (which I don’t know what it is )
21.check this (http://developer.android.com/tools/publishing/app-signing.html)
22.To covert update script to updater script which is a must before you build the rom.
99.To build the rom when you finish editing and modding.
PART 3:How to mod apks
OK SO NOW SINCE YOU KNOW WHAT EACH OPTION DOES…..LETS START MODDING,and to start customizing,you have to use an apk extractor and zipper because the apks contain all the treasure …..for example:SystemUI.apk(contains battery icons ,signal icons, the location of the clock and many many more things)
So what were gonna use is apk manager,which is an very easy program to use,and helps a lot in apk extracting and zipping and signing.
Here are the steps to use it:
1.Extract the zip file(apk manager)
2.youll find a file called setup>enter it and select option 3 and press enter.
3.folders will be created
4.so to extract an apk>select an apk file and drop it into the folder (put apk here)
5.go into script file>press enter file>and after you’ve put the apk file in the specified folder>select option 2 >so the apk will be extracted
6.after you extract it you will find the extracted files it in the same folder(put apk here) in a new folder under the name of the apk file.
7.edit whatever you want
8.When you finish >select option 3>press enter.
9.then select option 5 and 6 to sign and zipalign the apk…..
And your done ,but to find the modded apk…..go into place apk here for signing and you will find it there.
.........................
RESERVVED
Reserved45
RESE8VED
Hayde reserved yaben 3amme
W hayde kamen yaben 5alte....................reserved
Sorry need help....
donhashem.dh said:
.........................
Click to expand...
Click to collapse
Hey dude/*****.....
Me again and loving yr tutorial. But do have a couple of questions that I hope you can help with.
Firstly the update version of Cygwin menu is not exactly as yours in the tutorial. Why is the allow Tethering function not there and could this be a problem.
Secondly i am nooooooB and are unsure on how to add remove system apk's from rom. Do I just dig in and delete them from windows. And can I pull apk's from another rom to put into the data app folder which was created using Cygwin.
I was wanting to add aroma installer as well but another story....
Really appreciate if you can advise. If I sound to noooobish then understrand that I am to much work.
veroby said:
Hey dude/*****.....
Me again and loving yr tutorial. But do have a couple of questions that I hope you can help with.
Firstly the update version of Cygwin menu is not exactly as yours in the tutorial. Why is the allow Tethering function not there and could this be a problem.
Secondly i am nooooooB and are unsure on how to add remove system apk's from rom. Do I just dig in and delete them from windows. And can I pull apk's from another rom to put into the data app folder which was created using Cygwin.
I was wanting to add aroma installer as well but another story....
Really appreciate if you can advise. If I sound to noooobish then understrand that I am to much work.
Click to expand...
Click to collapse
Ayyy take it easy cun*
I'll update the tutorial because I made it from a long time and posted it now
For the apks you just enter the rom.zip system>app and you'll find all the apks there..
The data folder cygwin creates is that when you use the Rom ..the apps won't be installed in system>app anymore,they will be installed the folder the kitchen created data
And for the aroma installer,leave it for later ...your still not ready for it ...
no signature....problem ?!?!?!
donhashem.dh said:
Ayyy take it easy cun*
I'll update the tutorial because I made it from a long time and posted it now
For the apks you just enter the rom.zip system>app and you'll find all the apks there..
The data folder cygwin creates is that when you use the Rom ..the apps won't be installed in system>app anymore,they will be installed the folder the kitchen created data
And for the aroma installer,leave it for later ...your still not ready for it ...
no signature....problem ?!?!?!
Click to expand...
Click to collapse
I was going to ask you about signature but didnt want to over do it. I am guessing you need to sign it after the 99 - Build ROM from working folder?
I have proceed with the Build rom and are at the recomend to sign rom stage. Its some thing I dont understand. Is it ok to proceed without?
Cool I have noticed the roms produced by dev's here xda are not signed so doesnt seem to matter for this purpose. I have hit thx ***** 5 or 6 times.
I will hit 500 s****y if you give share some knowledge in installing arroma installer. or do you recomend just trying things....cheers anyway its been awsome.....:good:

[Q] Install Google Talk (on Jelly King 2.0)

Hello!
I have installed Jelly King 2.0 on my Wildfire S (S-ON) and I really like it. But I miss the Google Talk app. I know that I could flash another GAPPS zip, but I think that would use too much space. So, how can I install just the Google Talk app without all the other gapps?
Here is what I already tried - and what didn't work:
0. Search for an solution in this Forum
1. Take the talk.apk from gapps and try to install
2. Put the talk.apk in /data/app
3. Put it in /system/app - couldn't move anything into that folder in spite of being root. I guess because of S-ON?
My next approach would be to create a flashable zip with just Google Talk - but I don't know how to do that. Or is there another way?
here you go.
i made zip of gtalk.
just boot to recovery and flash it.
Thanks!
Some more questions:
1. Shouldn't the Talk.apk be in the folder /system/app/ instead of just /app/? (I am comparing to a gapps zip in which it is located there)
2. How can I create such a zip-file myself? I don't know what the META-INF folder should content. Could I just copy this folder from any gapps.zip? And could I take the Talk.apk from there as well? (I would be more comfortable about using the app if I knew its source)
edit:
Okay, I took a look into the files in META-INF...and I think the answer to my first question is in this line of the file "updater-script":
package_extract_dir("app", "/system/app");
Anyway: Where did you get the "update-binary" file from? And I also can't see what the other three files (CERT.SF, CERT.RSA and MANIFEST:RSA) are for as the files they are providing a SHA1-checksum (?) for are not even in the zip-file.
vi!n said:
Thanks!
Some more questions:
1. Shouldn't the Talk.apk be in the folder /system/app/ instead of just /app/? (I am comparing to a gapps zip in which it is located there)
2. How can I create such a zip-file myself? I don't know what the META-INF folder should content. Could I just copy this folder from any gapps.zip? And could I take the Talk.apk from there as well? (I would be more comfortable about using the app if I knew its source)
Click to expand...
Click to collapse
first for your information.
s-on dosent mean you can't install apps in /system/app or anywhere else.i have s-on too.with s-on you can do alot of stuffs.you need s-off to just flashing some radios,dual-boot etc(mostly advanced stuff)
so,s-on isn't problem.probably mostly all people here has s-on.
1. yeah talk.apk is in /system/app & gapps also installed in /system/app.about your gapps zip i need to see it.but might you flashed wrong gapps.
2. you can make flashable zips easily.just you need to put apps,framework,scripts (anything you want in correct order)
then time for meta-inf file.all things in that file remained unchanged except updater-script.
you need to edit updater-script to make zip work..
e.g. you put talk.apk in zip then how phone know where to install and how to ?
so your updater script will like this:
Code:
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("app", "/system/app");
run_program("/sbin/busybox", "umount", "/system");
first line for mount system.
then zip will install contains of app in /system/app
and third line for unmounting system.
i sent you PM which contains more detailes about making zip.
if you need any other help,feel free to tell.
Thanks, that helped a lot! The problem is solved for me now.
I was just editing my last post when you answered - so everything below "edit" can be ignored.
vi!n said:
Thanks, that helped a lot! The problem is solved for me now.
I was just editing my last post when you answered - so everything below "edit" can be ignored.
Click to expand...
Click to collapse
yeah and about other files,they are common in every zip.
update binary is needed so phone can understand updater script.
all in one solution,when we make zip we just need to edit updater script all other files in meta-inf will be as it as.no change at all.just put whole folder in zip.

Categories

Resources