[REQ] Stock samsung clock/alarm 1.0 for 4.0.4 AOKP based rom - Galaxy S II Themes and Apps

As the title says, im trying to look for a stock sammy clock 1.0 (alarm/clock in one) for 4.0.4 AOKP based roms. Been searching forums, only found one for nexus but it wont work for i9100. Does anyone have the zip/apk for it that works? If not, is it possible to port to AOKP? If not, is there an equivelant app in the store that does the same features as the sammy original?

Hello!
I'm also looking for the clock and fmradio applications from stock samsung roms.
I've been trying to extract and install fmradio - I've done the following:
Unzipped an official LP7 rom,
Converted the factoryfs.img to ext4 with sgs2toext4.jar
Mounted factoryfs.ext4.img with DiskInternals Linux Reader
Extracted FmRadio.apk and FmRadio.odex
Edited the FmRadio.odex with HEX editor (As shown here)
Renamed the edited FmRadio.odex to classes.dex and pushed that into the root of the FmRadio.apk (Means that I have a deodexed FmRadio apk)
But after these steps FmRadio.apk still failed to install on Hydrog3n ics 4.0.4 (aokp milestone 5)
I would be glad, if someone would say, that is it possible to use stock samsung apps on aokp, and if yes, what is the "method".

Look at this thread
Here is a possible solution, check it out

Gyebro said:
Hello!
I'm also looking for the clock and fmradio applications from stock samsung roms.
I've been trying to extract and install fmradio - I've done the following:
Unzipped an official LP7 rom,
Converted the factoryfs.img to ext4 with sgs2toext4.jar
Mounted factoryfs.ext4.img with DiskInternals Linux Reader
Extracted FmRadio.apk and FmRadio.odex
Edited the FmRadio.odex with HEX editor (As shown here)
Renamed the edited FmRadio.odex to classes.dex and pushed that into the root of the FmRadio.apk (Means that I have a deodexed FmRadio apk)
But after these steps FmRadio.apk still failed to install on Hydrog3n ics 4.0.4 (aokp milestone 5)
I would be glad, if someone would say, that is it possible to use stock samsung apps on aokp, and if yes, what is the "method".
Click to expand...
Click to collapse
The apk will never install, it will need to be pushed as it is a system app. And/or use a root browser/explorer and place in system/app then reset the permissions to match the app above it, set back to read-only -> reboot recovery -> clear dalvik -> reset permissions (do it anyway) and then boot. Ensure you are running a FMradio equiped kernel or else it won't work anyway.
PS: You can run the Gingerbread apk if you like, I tested a SGS1 gingerbread FMradio apk from JVS and it works perfectly fine and even looks the same as the ICS one....yell out if you get stuck and I will upload it.
PPS: You will also need the fmradio.so to push into /system/lib or else it won't work.
james

Gyebro said:
Here is a possible solution, check it out
Click to expand...
Click to collapse
That worked like a charm for me

Jarmezrocks said:
The apk will never install, it will need to be pushed as it is a system app. And/or use a root browser/explorer and place in system/app then reset the permissions to match the app above it, set back to read-only -> reboot recovery -> clear dalvik -> reset permissions (do it anyway) and then boot. Ensure you are running a FMradio equiped kernel or else it won't work anyway.
PS: You can run the Gingerbread apk if you like, I tested a SGS1 gingerbread FMradio apk from JVS and it works perfectly fine and even looks the same as the ICS one....yell out if you get stuck and I will upload it.
PPS: You will also need the fmradio.so to push into /system/lib or else it won't work.
james
Click to expand...
Click to collapse
Thanks for the instructions! What should I do with a freshly extracted stock GB FmRadio.apk (do i need to decompile it, remove dependencies, copy resources, remove tw references, recompile, test, etc) Or exracting and deodexing then pushing is enough?
Also I think, that when I extract the fmradio.apk from JVS rom, then only pushing (with the .so) is needed. Is this correct?

Jarmezrocks said:
The apk will never install, it will need to be pushed as it is a system app. And/or use a root browser/explorer and place in system/app then reset the permissions to match the app above it, set back to read-only -> reboot recovery -> clear dalvik -> reset permissions (do it anyway) and then boot. Ensure you are running a FMradio equiped kernel or else it won't work anyway.
james
Click to expand...
Click to collapse
I've placed my FmRadio.apk (extracted from a stock deodexed ics) to system/app and placed libfmradio_jni.so to system/lib. (With ES file explorer) then restored the read only permissions, then reboot recovery, wipe dalvik cache and fix permissions. After reboot (and some app optimizations) the radio did not show up : (
By the way spriritFm works, so I think my kernel is capable.
(Should I try with a GB stock deodexed apk?)

Gyebro said:
I've placed my FmRadio.apk (extracted from a stock deodexed ics) to system/app and placed libfmradio_jni.so to system/lib. (With ES file explorer) then restored the read only permissions, then reboot recovery, wipe dalvik cache and fix permissions. After reboot (and some app optimizations) the radio did not show up : (
By the way spriritFm works, so I think my kernel is capable.
(Should I try with a GB stock deodexed apk?)
Click to expand...
Click to collapse
No the kernel needs to support bcm4329.ko, if it doesn't then don't bother...trust me I have had a heap of SGS1 users try and they all get the same thing as you.
I would also check to see if you can get the app working touchwized first before you go to the efforts of de-touchwizing the app.
What I mean by this is including the twframework.apk and twframework.jar in the directiory /system/framework
Try this first, use a deodexed ICS FMradio apk and if the app works with a supported kernel.....THEN think about de-touchwizing it
Sorry to go off topic.

Jarmezrocks said:
No the kernel needs to support bcm4329.ko, if it doesn't then don't bother...trust me I have had a heap of SGS1 users try and they all get the same thing as you.
I would also check to see if you can get the app working touchwized first before you go to the efforts of de-touchwizing the app.
What I mean by this is including the twframework.apk and twframework.jar in the directiory /system/framework
Try this first, use a deodexed ICS FMradio apk and if the app works with a supported kernel.....THEN think about de-touchwizing it
Sorry to go off topic.
Click to expand...
Click to collapse
Thanks for the answer, I've placed the FmRadio.apk, libfmradio.so, twframework-res.apk and twframework.jar files to their appropriate folders in the system folder. I've set their permissions to rw-r--r--, then rebooted, entered recovery, wipe dalvik, fix permissions. -> After all these steps; Should I install the apk, or the radio is supposed to be in my app drawer? (And if the radio is not in the application list, this means, that my kernel does not support the mentioned .ko?)

is it possible that you update these files for me?
and by placing twframework files into their right places, the phone should be able to get sammy apps functioning with an aokp rom on?!

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

[Q] I Got RIL Problems - For Real !

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.

[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

[Q] Adding/replacing keyboard in CustomRom

How can I add or replace a keyboard in a custom ROM. I want to replace the samsung keyboard of this ROM: http://forum.xda-developers.com/showthread.php?t=2136550 for the CM7 keyboard (because the number of dictionaries).
Someone knows how can I do this?
aronk said:
How can I add or replace a keyboard in a custom ROM. I want to replace the samsung keyboard of this ROM: http://forum.xda-developers.com/showthread.php?t=2136550 for the CM7 keyboard (because the number of dictionaries).
Someone knows how can I do this?
Click to expand...
Click to collapse
Download the .apk file and push it to /system/app (to keep it in the ROM when you make a data wipe) or to /data/app (when you make a data wipe, you'll lose it).
Otherwise, easier method, find it on GooglePlay and install it.
MoltenMotherBoard said:
Download the .apk file and push it to /system/app (to keep it in the ROM when you make a data wipe) or to /data/app (when you make a data wipe, you'll lose it).
Otherwise, easier method, find it on GooglePlay and install it.
Click to expand...
Click to collapse
I already downloaded the apk of the stock markert and tried also to copied the apk file from a cyanogen rom....but didnt work
Anyone knows what files I have to copy from the CM7 to get its keypad??

Gapps replacing camera, how?

Well pretty much I downloaded a ROM with a bunch of camera features "smart capture, power shutter" etc. When I flash gapps over that it gets replaced by the stock camera. No options + photosphere. Now that behavior is normal and I know that.
The ROM apk in /system/app is Gallery2.apk and the gapps package has GalleryGoogle.apk.
After flashing I delete GalleryGoogle.apk from /system/app and replace it with Gallery2.apk that I extracted from the ROM zip. Reboot and it works fine. All the new options are there. Great.
HOWEVER. I deleted GalleryGoogle.apk from the gapps package system app folder, yet any time I flash that same package my camera still gets replaced... what else do I need to delete in gapps to keep the camera in the ROMs zip file? Thanks
So are you wanting gallerygoogle or galery2? And which gapps file are you using? Mine doesnt have gallery2 in it and has galleyrgoogle.apk inside an "optional" folder. I'm using gapps-jb-20130301-signed.zip
Inverted gapps from TeamBlackOut.
I want the Gallery2.apk which has all the extra features.
I deleted GalleryGoogle.apk (stock camera) from gapps, yet when I do a clean install I always have the stock camera and need to delete and replace it with Gallery2.apk.
I will check the optional folder though. Not sure how it keeps getting replaced aha
EDIT: That did it, thanks d00d. Haven't seen much of you since they closed the X2 OT thread... Bastards.....Or anyone else for that matter

Categories

Resources