[MOD] QuickMemo and Memo for CM 10.1 - LG Optimus 4X HD

I've grown attached to these proprietary LG apps, so I de-odexed, resigned with CM platform keys, etc. so I can continue using them on CyanogenMod.
Hope it's useful for someone else.
Do this first
Copy this to /system/etc/permissions/com.lge.app.floating.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<library name="com.lge.app.floating"
file="/system/framework/com.lge.app.floating.res.apk"/>
</permissions>
Put com.lge.app.floating.res.apk in /system/framework/
Reboot.
For Memo
You can just install Memobin.apk like a normal apk.
For QuickMemo
You need to copy QMemobin.apk to /system/app/
You need to overwrite /system/framework/android.policy.jar with the one attached.
Old Information Below. DISREGARD
In order for QuickMemo to work properly, you need another app to launch QuickMemo like this:
Code:
sendBroadcast(new Intent("com.lge.QuickClip.action.START_QUICKCLIP"));
If you just add the QuickMemo activity to Apex or Nova launcher, it will look like it works, but it will only show your scribbling with a black background instead of the screenshot.
Same if you use startActivity() instead of sendBroadcast().
I spent a whole afternoon figuring this out.
I am going to look at hooking that up to the usual Vol+ + Vol- hotkeys somehow. Hopefully will only take a couple of days.

arararagi said:
I've grown attached to these proprietary LG apps, so I de-odexed, resigned with CM platform keys, etc. so I can continue using them on CyanogenMod.
Hope it's useful for someone else.
Copy this to /system/etc/permissions/com.lge.app.floating.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<library name="com.lge.app.floating"
file="/system/framework/com.lge.app.floating.res.apk"/>
</permissions>
Put com.lge.app.floating.res.apk in /system/framework/
For Memo, you can just install Memobin.apk like a normal apk.
For QuickMemo, you need to copy QMemobin.apk to /system/app/
In order for QuickMemo to work properly, you need another app to launch QuickMemo like this:
Code:
sendBroadcast(new Intent("com.lge.QuickClip.action.START_QUICKCLIP"));
If you just add the QuickMemo activity to Apex or Nova launcher, it will look like it works, but it will only show your scribbling with a black background instead of the screenshot.
Same if you use startActivity() instead of sendBroadcast().
I spent a whole afternoon figuring this out.
I am going to look at hooking that up to the usual Vol+ + Vol- hotkeys somehow. Hopefully will only take a couple of days.
Click to expand...
Click to collapse
I love you.
Sent from my LG-P880 using xda app-developers app

I install Memobin.apk , Unsuccessful
- - .oh .....................

Hansey said:
I install Memobin.apk , Unsuccessful
- - .oh .....................
Click to expand...
Click to collapse
If you are on CM and if you get parse error, move apk to data/media and install from there. It works for me, I think is the problem in permissions.

Hansey said:
I install Memobin.apk , Unsuccessful
- - .oh .....................
Click to expand...
Click to collapse
Do what LGaljo said, or see the Official CyanogenMod thread for a fix for permissions or use adb install.

Thanx arararagi,
I will test this app.
And if you have the time and opportunety can you please also make a CM version of the dual view LG calendar?

arararagi said:
Do what LGaljo said, or see the Official CyanogenMod thread for a fix for permissions or use adb install.
Click to expand...
Click to collapse
I use adb install , Unsuccessful
memo,
X app not installed

Hansey said:
I use adb install , Unsuccessful
memo,
X app not installed
Click to expand...
Click to collapse
Can you copy and paste the whole error message?

Hansey said:
I use adb install , Unsuccessful
memo,
X app not installed
Click to expand...
Click to collapse
Use terminal. If you want to use adb you must use adb shell command.

Can't install the required apk, tried all methods, I can't seem to install it on nightly 4/20
Sent from my LG-P880 using xda app-developers app

can you do something like that but fr LG FM Radio APP?

juanacevedo said:
Can't install the required apk, tried all methods, I can't seem to install it on nightly 4/20
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
Did you install the framework xml + apk first? Are you able to install apk from other places? What is the error message when you do adb install?

arararagi said:
Did you install the framework xml + apk first? Are you able to install apk from other places? What is the error message when you do adb install?
Click to expand...
Click to collapse
I already set the xml and pushed QMemobin apk to system/app. I tried installing the apk memobin through device but I get a failed install and when I tried installing via adb I get 'device offline' error. I can't install apks from other places either because of the CM bug.
Sent from my LG-P880 using xda app-developers app

juanacevedo said:
I already set the xml and pushed QMemobin apk to system/app. I tried installing the apk memobin through device but I get a failed install and when I tried installing via adb I get 'device offline' error. I can't install apks from other places either because of the CM bug.
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
Device offline is because of new adb security features in 4.2.
You need the new version of adb from the Android SDK Tools: http://developer.android.com/sdk/index.html
You only need to select and install the platform tools from the SDK Manager to get the latest adb.

arararagi said:
Device offline is because of new adb security features in 4.2.
You need the new version of adb from the Android SDK Tools: http://developer.android.com/sdk/index.html
You only need to select and install the platform tools from the SDK Manager to get the latest adb.
Click to expand...
Click to collapse
Downloaded the new sdk but now i get this error.
Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]

Ok, nevermind
Got it to install finally, I just had to reboot and then try it again and it finally worked. Thanks!
Sent from my LG-P880 using xda app-developers app

juanacevedo said:
Ok, nevermind
Got it to install finally, I just had to reboot and then try it again and it finally worked. Thanks!
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
Thanks for testing. I'll add the reboot instruction to the main post.

juanacevedo said:
I already set the xml and pushed QMemobin apk to system/app. I tried installing the apk memobin through device but I get a failed install and when I tried installing via adb I get 'device offline' error. I can't install apks from other places either because of the CM bug.
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
+1

donkanmcklaus said:
can you do something like that but fr LG FM Radio APP?
Click to expand...
Click to collapse
I'll at it after I get the hotkeys for QuickMemo working.

Can you port the Optimus G Lockscreen? Which also has been ported to O4X's stock.
That's one feature I've grown to love from the Stock

Related

Help with Pushing apps

Ok so I am trying to get friend stream to work in the new fresh rom. I got the apk from damages rom along with the widget. In cmd I successfully push the apps /system/app/ after typing in adb remount. However after I reboot the app is not there. How do I get this to work? Also was wondering how to port a system app from a darchlegend rom to work on any other rom. Any advice is welcome.
-------------------------------------
Sent via the XDA Tapatalk App
Wont work, period. It needs an .odex for both the widget and the normal .apk for it to work in the latest release.
Wont work, period. It needs an .odex for both the widget and the normal .apk for it to work in the latest release.
Click to expand...
Click to collapse
Ok I can pull the odex file but where does that go? Or is that something created when the apk is compiled if so any good tuts for editing and recompiling?
-------------------------------------
Sent via the XDA Tapatalk App
rejectedkid said:
Ok I can pull the odex file but where does that go? Or is that something created when the apk is compiled if so any good tuts for editing and recompiling?
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
If you want to learn, you tell me where you think it goes...
Ok I can pull the odex file but where does that go? Or is that something created when the apk is compiled if so any good tuts for editing and recompil
Click to expand...
Click to collapse
If you want to learn, you tell me where you think it goes...
Click to expand...
Click to collapse
I suppose I will search the forums. Was just being lazy.
-------------------------------------
Sent via the XDA Tapatalk App
I was kind of hoping TitaniumBackup would give me this one...
I can't find the odex...
But I read from the other Hero forum that Friendstream may require an update package.

[Q] App not installed

Some apps just won't install. Tried multiple sources, releases etc. Rooted, not rooted. Always the same message: "application not installed"
My only guess is permission conflicts may be blocking complete installation?
Anyone found a work around for this?
luckystrikes23 said:
Some apps just won't install. Tried multiple sources, releases etc. Rooted, not rooted. Always the same message: "application not installed"
My only guess is permission conflicts may be blocking complete installation?
Anyone found a work around for this?
Click to expand...
Click to collapse
What apps are you trying to install?
I've found a few that wouldn't install & it was because of missing .jar files & libs that the Kindle doesn't ship with, after finding out what an app needed I added them required files & it installed OK but many still have compatibility issues & just stop working, mainly those that rely on Google Maps & location services, not much can be done I don't think.
I would like to install voxer on here but it doesn't let me. Would you know how to?
Sent from my SPH-D710 using xda premium
whitelight said:
I would like to install voxer on here but it doesn't let me. Would you know how to?
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Have you tried manually placing the .apk in the /system/app/ folder and changing the permissions?
Krsmqn said:
Have you tried manually placing the .apk in the /system/app/ folder and changing the permissions?
Click to expand...
Click to collapse
Well I'm not rooted so I can't do that. I haven't came around to doing it on this device.
Sent from my KFTT using xda premium

OTA Update App needed

Hi all
I think that in few days the official Jelly Bean will come to our phones.
I would like to upgrade it using the LG OTA Update App installed in our phones.
But there's one problem: I deleted the app. I don't want to reinstall the system.
So If someone would post me the apk of this app, i would be very grateful .
Thanks in advance
AW: OTA Update App needed
Here My Dropbox Link:
Download what you need.
http://db.tt/nNduvjs2
Sent from my LG-P880 using xda app-developers app
Thanks, but...
Nemeziz 56th said:
Here My Dropbox Link:
Download what you need.
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
Thank you vey much, i moved the apk's into system/app/ but there is still no FOTA App in my menu, after restart. How to enable it? I tried to install the app, but it says: "app not installed".
Thanks in advance
AW: OTA Update App needed
1.Just download the LG FOTA Client.apk and the LG FOTA Client.odex
And the LGFOTA.apk.
2.Move the 3 Files into /system.
3.Set the permission (look the other file and set the same).
4.Reboot.
And is completed
Sent from my LG-P880 using xda app-developers app
Well, I guess I made everything correctly...
I copied the apk files and odex in /system/app (also tried /system). Set the permissions to 644 - as other files in the folder (using Total Commander). Reboot and nothing happened. I still don't have the app in my menu. I don;t know how to make it work...
Edit: i pressed the wrong buttons lol, now i have poster a message.
Sent from my LG-P880 using xda app-developers app
AW: OTA Update App needed
Well, I guess I made everything correctly... <br />
I copied the apk files and odex in /system/app (also tried /system). Set the permissions to 644 - as other files in the folder (using Total Commander). Reboot and nothing happened. I still don't have the app in my menu. I don;t know how to make it work...
Click to expand...
Click to collapse
Hmmmm.
My last Idea is install the apk,s manual.
Sent from my LG-P880 using xda app-developers app
AW: OTA Update App needed
DidierDrigbi said:
Well, I guess I made everything correctly...
I copied the apk files and odex in /system/app (also tried /system). Set the permissions to 644 - as other files in the folder (using Total Commander). Reboot and nothing happened. I still don't have the app in my menu. I don;t know how to make it work...
Click to expand...
Click to collapse
When you are from Germany the app called software-update
Greetings
Sent from my LG-P880 using xda premium
Mguttsche said:
When you are from Germany the app called software-update
Greetings
Sent from my LG-P880 using xda premium
Click to expand...
Click to collapse
Well, I'm not from the Germany, but I have the phone from German distribution.
If anyone has this German version (software-update), please post the files.
I would be very greatful.
AW: OTA Update App needed
http://db.tt/EXHNmKDH
Here is my Dropbox link.
Copy it to /system/app and restart.
But Backup your File first
Edit: I forgot the other files.
Here is the New link
http://db.tt/5yw6IJEl
Sent from my LG-P880 using xda premium
DidierDrigbi said:
Well, I'm not from the Germany, but I have the phone from German distribution.
If anyone has this German version (software-update), please post the files.
I would be very greatful.
Click to expand...
Click to collapse
Just re-flash the phone with the same version using "UpTestEX_mod2_marwin", choose the option "DIAG".
Takes 7 minutes and if the app is missing or the files corrupted will re-install them. All other apps/files and settings will remain.
RuedasLocas said:
Just re-flash the phone with the same version using "UpTestEX_mod2_marwin", choose the option "DIAG".
Takes 7 minutes and if the app is missing or the files corrupted will re-install them. All other apps/files and settings will remain.
Click to expand...
Click to collapse
So, I can be sure, that other apps, contacts and settings will remain after flashing it? Of course, I made a backup, but if I wanted to reinstall whole system I would have done it. But I just want to make this app work, because when the official update will come, I will update system using this app .

Dark Holo Theme for Messaging?

any chance of porting a darker holo version of messaging for stock jb? is there such a possibility without getting the whole rom? if yes, how?
Extract the mms.apk from blackbean 6
Sent from my Nexus S using xda app-developers app
http://db.tt/eXuXuvuY
There you go.
Sent from my Nexus S 4G using xda premium
noloukos said:
Extract the mms.apk from blackbean 6
Sent from my Nexus S using xda app-developers app
Click to expand...
Click to collapse
bro that's cool, but how do i flash it? how do i overwrite it? i have had issues with the nexus boot in the past i've had to reinstall the entire os.
michaelandrew said:
http://db.tt/eXuXuvuY
There you go.
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
thanks bro. how do i flash it? i am on stock jellybean though :angel:
is it only mms or the entire messaging app?
is your phone rooted?
mms.apk is the entire messaging app
thanks for replying dude, yes my phone rooted on stock jb 4.1.1
:good:
noloukos said:
is your phone rooted?
mms.apk is the entire messaging app
Click to expand...
Click to collapse
thanks for replying dude, yes my phone rooted on stock jb 4.1.1 :good:
copy and replace the mms.apk i uploaded in /system/app folder with a file manager and set permissions to read-write for user and read for group and other. after that reboot
ps: before you change anything do a backup
noloukos said:
copy and replace the mms.apk i uploaded in /system/app folder with a file manager and set permissions to read-write for user and read for group and other. after that reboot
ps: before you change anything do a backup
Click to expand...
Click to collapse
ok its showing this
owner - read , write, execute (no ticks)
group - read, write, execute (all three ticks)
others - read, write, execute (read and execute only ticked)
i tried ticking all the empty ones it gives an error that changing permissions wasn't successful ... some system apps don't allow permission changes
jafferkhan said:
ok its showing this
owner - read , write, execute (no ticks)
group - read, write, execute (all three ticks)
others - read, write, execute (read and execute only ticked)
i tried ticking all the empty ones it gives an error that changing permissions wasn't successful ... some system apps don't allow permission changes
Click to expand...
Click to collapse
you have to mount system as read-write
noloukos said:
you have to mount system as read-write
Click to expand...
Click to collapse
mount system? what's that? i'm using the built in file browser from Rom Manager
ok i used es file explorer and it copied, restarted the phone and now messaging doesn't work, it has unortunately stopped
jafferkhan said:
ok i used es file explorer and it copied, restarted the phone and now messaging doesn't work, it has unortunately stopped
Click to expand...
Click to collapse
ok, flash this in recovery
made a backup, now i hope this doesn't spoil it again
noloukos said:
ok, flash this in recovery
Click to expand...
Click to collapse
should i flash it as a zip or unzip it, take out the mms apk and then install it through recovery?
jafferkhan said:
should i flash it as a zip or unzip it, take out the mms apk and then install it through recovery?
Click to expand...
Click to collapse
install it as zip
noloukos said:
ok, flash this in recovery
Click to expand...
Click to collapse
dude it happened again, i can see the icon but it says it has unfortunately stopped, the file's corrupted or something .... restoring back AGAIN
Anyone?
Sent from my Nexus S using Xparent Skyblue Tapatalk 2
jafferkhan said:
Anyone?
Sent from my Nexus S using Xparent Skyblue Tapatalk 2
Click to expand...
Click to collapse
I guess you are flashing a 4.2.2 MMS.apk on a 4.1.1 rom so it's not going to work.
Try this: http://forum.xda-developers.com/showthread.php?t=1637121
It's for 4.0.4 but should work on 4.1.1, if it not work then restore the original MMS.apk you can get it from one of the 4.1.1 roms on the forum.

Decompiling apk

Every time i try to recompile or decompile i get this error it looks like a java error but i have tried reinstalling in and on other computers so i dont know what it is if anybody could help that would be great.
You need to install the framework-res.apk and tw-framework.apk both of them in the framework folder. Google how to install framework for apktool.
Sent from my SM-N900A
RErick said:
You need to install the framework-res.apk and tw-framework.apk both of them in the framework folder. Google how to install framework for apktool.
Sent from my SM-N900A
Click to expand...
Click to collapse
Will try and report back thanks for the reply
Musgrove99 said:
Will try and report back thanks for the reply
Click to expand...
Click to collapse
i am still getting the same error. I thought it might be the rom so i downloaded a new stock rom and a new systemui.apk and try to decompile it and and i am i getting the same error but i decompiles it i dont know if it is missing something or not.
Musgrove99 said:
i am still getting the same error. I thought it might be the rom so i downloaded a new stock rom and a new systemui.apk and try to decompile it and and i am i getting the same error but i decompiles it i dont know if it is missing something or not.
Click to expand...
Click to collapse
Tell me the steps you're doing
It's because your using an old version of apktool. Don't use the automated programs they suck. Do it manually with aptool.jar just Google how to use it properly. Should have no issues. And make sure java is installed properly.
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
drakeymcmb said:
It's because your using an old version of apktool. Don't use the automated programs they suck. Do it manually with aptool.jar just Google how to use it properly. Should have no issues. And make sure java is installed properly.
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Not necessarily. I use an outdated apktool only has api up to 4.3 works fine. You can clearly see that its not getting framework info from the screenshot he took
RErick said:
Not necessarily. I use an outdated apktool only has api up to 4.3 works fine. You can clearly see that its not getting framework info from the screenshot he took
Click to expand...
Click to collapse
I have tried apktool.jar it does same thing.
Musgrove99 said:
I have tried apktool.jar it does same thing.
Click to expand...
Click to collapse
Yeah I know. It doesn't matter. What are your exact steps?
RErick said:
Yeah I know. It doesn't matter. What are your exact steps?
Click to expand...
Click to collapse
I download java files and installed I got the systemui.apk and put in in the put files and I put twframework.apk in framework I opened .bat file and tried to decompile it and I get that error but I get a systemui decompile but I think it is missing something
Yep. You have to install both frameworks. Framework-res.apk AND tw-framework.apk. They also have to be installed. See this website
http://bit.ly/LLKRja look for a YouTube video or a guide and THEN try decompiling
Edit: the second hit that comes up there will help you a lot
Sent from my SM-N900A
RErick said:
Yep. You have to install both frameworks. Framework-res.apk AND tw-framework.apk. They also have to be installed. See this website
http://bit.ly/LLKRja look for a YouTube video or a guide and THEN try decompiling
Edit: the second hit that comes up there will help you a lot
Sent from my SM-N900A
Click to expand...
Click to collapse
Will try this afternoon and report back thanks
I did the command for the framework and it installed the framework but i am getting the same result.
Did you put the java path in the correct environmental path? for your apk tool?
tankxx said:
Did you put the java path in the correct environmental path? for your apk tool?
Click to expand...
Click to collapse
I did.
It is only when i try to do systeyui.apk i get a error

Categories

Resources